:root {
  --bg: #0d0e1a;
  --bg-2: #161829;
  --ink: #e8dcc4;
  --ink-dim: #8a8270;
  --line: #3a3550;
  --hp: #d94d4d;
  --hp-dim: rgba(217,77,77,0.35);
  --gold: #e6b94d;
  --party: #8ed98e;
  --foe: #d97a4d;
  --crit: #ffe066;
  --threat: rgba(255,255,100,0.85);
  --outgoing: rgba(120,255,120,0.8);
  --heal-preview: rgba(142,217,142,0.7);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: 'JetBrains Mono', monospace;
  height: 100%;
  overflow: hidden;
  overflow-y: auto;
  user-select: none;
  -webkit-user-select: none;
}
body {
  background:
    radial-gradient(circle at 20% 0%, #1a1d3a 0%, transparent 50%),
    radial-gradient(circle at 80% 100%, #2a1d2a 0%, transparent 50%),
    var(--bg);
  background-attachment: fixed;
}
body::after {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(0,0,0,0.12) 0px, rgba(0,0,0,0.12) 1px, transparent 1px, transparent 3px);
  z-index: 1000;
  mix-blend-mode: multiply;
}

/* LAYOUT */
.arena {
  height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  gap: 10px;
}
.arena.hidden { display: none; }

/* MAP SCREEN */
.map-screen {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
  padding: 14px;
  gap: 16px;
}
.map-screen .header { width: 100%; }
.map-screen.hidden { display: none; }

.map-party {
  display: flex;
  gap: 16px;
  width: 100%;
  justify-content: center;
}
.map-ally {
  display: flex;
  gap: 8px;
  font-family: 'VT323', monospace;
  font-size: 16px;
  letter-spacing: 1px;
}
.map-ally .map-ally-hp {
  color: var(--hp);
}
.map-ally.dead {
  opacity: 0.3;
  text-decoration: line-through;
}

.dungeon-grid {
  display: grid;
  gap: 0;
  width: fit-content;
}
.map-cell {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  font-family: 'VT323', monospace;
  font-size: 32px;
  border: 1px solid rgba(58, 53, 80, 0.2);
  transition: background 0.1s, border-color 0.15s;
}
.map-cell.map-empty {
  color: var(--line);
  cursor: default;
}
.map-cell.map-wall {
  color: var(--line);
  background: rgba(58, 53, 80, 0.25);
  cursor: default;
}
.map-cell.map-adjacent {
  border-color: rgba(230, 185, 77, 0.3);
  cursor: pointer;
}
.map-cell.map-adjacent:hover {
  background: rgba(230, 185, 77, 0.1);
  border-color: var(--gold);
}
.map-cell.map-player {
  color: var(--gold);
  font-size: 36px;
  text-shadow: 0 0 10px rgba(230, 185, 77, 0.6);
}
.map-cell.map-enemy {
  color: var(--foe);
  text-shadow: 0 0 6px rgba(217, 122, 77, 0.4);
  flex-direction: column;
  line-height: 1;
  gap: 0;
}
.map-enemy-glyph {
  font-size: inherit;
}
.map-reward-icon {
  font-size: 14px;
  opacity: 0.7;
}
.map-cell.map-stairs {
  color: var(--party);
  text-shadow: 0 0 6px rgba(142, 217, 142, 0.4);
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding-bottom: 6px;
  gap: 16px;
  flex-shrink: 0;
}
.title {
  font-family: 'VT323', monospace;
  font-size: 26px;
  letter-spacing: 4px;
  color: var(--gold);
}
.title::before { content: "▌ "; color: var(--ink-dim); }
.hint {
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 1px;
  margin-top: 2px;
}
.header-btns {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}
.reset-btn, .undo-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink-dim);
  padding: 6px 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 2px;
  cursor: pointer;
}
.reset-btn:hover, .undo-btn:hover { color: var(--ink); border-color: var(--ink); }
.undo-btn { border-color: var(--gold); color: var(--gold); }
.undo-btn:hover { background: rgba(230,185,77,0.1); }
.undo-btn.hidden { display: none; }

/* BATTLEFIELD */
.battlefield {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
  min-height: 0;
  position: relative;
}

/* SVG target lines */
.target-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
}

.foe-row, .ally-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  flex: 1;
  min-height: 0;
  align-content: center;
}

.intent-row {
  height: 24px;
  flex-shrink: 0;
}

/* UNIT CARDS */
.unit {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
  background: rgba(0,0,0,0.25);
  border: 2px solid var(--line);
  position: relative;
  transition: border-color 0.15s, box-shadow 0.15s, opacity 0.4s;
}
.unit.dead {
  opacity: 0.15;
  filter: grayscale(1);
  pointer-events: none;
}

/* Foe cards — clickable targets */
.unit.foe-unit {
  cursor: pointer;
}
.unit.foe-unit:hover:not(.dead) {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(230,185,77,0.25);
}
.unit.foe-unit.targeted {
  border-color: var(--outgoing);
  box-shadow: 0 0 12px rgba(255,220,80,0.2);
}

/* Ally cards */
.unit.ally-unit.assigning {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(230,185,77,0.3);
  animation: pulse-border 1.2s ease-in-out infinite;
}
.unit.ally-unit.assigned {
  border-color: var(--party);
  opacity: 0.7;
}
.unit.ally-unit[style*="cursor: pointer"] {
  border-color: #5ab4d9;
  box-shadow: 0 0 12px rgba(90,180,217,0.2);
}
.unit.ally-unit[style*="cursor: pointer"]:hover {
  border-color: #5ab4d9;
  box-shadow: 0 0 20px rgba(90,180,217,0.4);
}
@keyframes pulse-border {
  0%, 100% { box-shadow: 0 0 12px rgba(230,185,77,0.2); }
  50% { box-shadow: 0 0 24px rgba(230,185,77,0.45); }
}

.unit-top {
  display: flex;
  gap: 8px;
  align-items: center;
}
.sprite {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  font-family: 'VT323', monospace;
  font-size: 22px;
  background: var(--bg);
  border: 2px solid currentColor;
  flex-shrink: 0;
}
.unit-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  flex: 1;
}
/* SKILL BUTTONS */
.skill-row {
  display: flex;
  gap: 4px;
}
.skill-btn {
  flex: 1;
  padding: 5px 6px;
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--ink-dim);
  cursor: pointer;
  transition: all 0.1s;
}
.skill-btn:hover {
  border-color: var(--gold);
  color: var(--ink);
  background: rgba(230,185,77,0.08);
}
.skill-btn.active {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(230,185,77,0.15);
}

.unit-dmg {
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 1px;
}

.passive-label {
  font-family: 'VT323', monospace;
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 1px;
  opacity: 0.5;
  transition: opacity 0.2s, color 0.2s;
}
.passive-label.active {
  color: var(--gold);
  opacity: 1;
  text-shadow: 0 0 6px rgba(230, 185, 77, 0.5);
}

/* HP BARS */
.bars { display: flex; flex-direction: column; gap: 3px; }
.bar {
  height: 14px;
  background: rgba(0,0,0,0.5);
  position: relative;
  border: 1px solid var(--line);
}
.bar-fill {
  position: absolute; inset: 0;
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.6,.2,.3,1);
}
.bar-fill.draining {
  transition: transform 0.5s cubic-bezier(.1,.1,.25,1);
}
.bar-fill.draining-kill {
  transition: transform 0.55s cubic-bezier(.05,.05,.2,1);
}
.bar.hp .bar-fill { background: var(--hp); }
.bar-label {
  position: absolute; inset: 0;
  font-size: 10px; line-height: 14px;
  text-align: center; letter-spacing: 1px;
  text-shadow: 0 0 3px black, 0 0 3px black;
  color: var(--ink);
  z-index: 2;
}

/* Preview segments on bars */
.bar-preview-threat {
  position: absolute; top: 0; bottom: 0;
  background: var(--threat);
  z-index: 1;
  animation: threat-pulse 0.8s ease-in-out infinite;
}
.bar-preview-outgoing {
  position: absolute; top: 0; bottom: 0;
  background: var(--outgoing);
  z-index: 1;
  animation: threat-pulse 0.8s ease-in-out infinite;
}
@keyframes threat-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* FOE TARGET LABEL (on foe cards) */
.foe-target {
  font-family: 'VT323', monospace;
  font-size: 15px;
  letter-spacing: 2px;
  color: var(--foe);
  padding: 3px 6px;
  background: rgba(217,122,77,0.1);
  border: 1px solid rgba(217,122,77,0.25);
  text-align: center;
}
.foe-target .target-dmg {
  color: var(--hp);
  font-weight: 700;
  margin-left: 2px;
}
.foe-target.cancelled {
  opacity: 0.3;
  text-decoration: line-through;
}

/* ALLY THREAT LABELS (on ally cards) */
.ally-threats {
  font-family: 'VT323', monospace;
  font-size: 14px;
  letter-spacing: 1px;
  color: var(--foe);
  padding: 3px 6px;
  background: rgba(217,77,77,0.08);
  border: 1px solid rgba(217,77,77,0.2);
  text-align: center;
}
.threat-source {
  color: var(--foe);
}
.threat-source.cancelled {
  opacity: 0.3;
  text-decoration: line-through;
}

/* COMBAT ANIMATIONS */
@keyframes strike-up {
  0% { transform: translateY(0) scale(1); }
  20% { transform: translateY(4px) scale(1.04); }
  45% { transform: translateY(-36px) scale(1.08); box-shadow: 0 8px 30px rgba(230,185,77,0.6); filter: brightness(1.3); }
  60% { transform: translateY(-30px) scale(1.02); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}
@keyframes strike-down {
  0% { transform: translateY(0) scale(1); }
  20% { transform: translateY(-4px) scale(1.04); }
  45% { transform: translateY(36px) scale(1.08); box-shadow: 0 -8px 30px rgba(217,77,77,0.6); filter: brightness(1.3); }
  60% { transform: translateY(30px) scale(1.02); }
  100% { transform: translateY(0) scale(1); filter: brightness(1); }
}
@keyframes shake {
  0%,100% { transform: translateX(0); }
  10% { transform: translateX(-8px) rotate(-1deg); }
  25% { transform: translateX(7px) rotate(0.8deg); }
  40% { transform: translateX(-6px) rotate(-0.6deg); }
  55% { transform: translateX(5px) rotate(0.4deg); }
  70% { transform: translateX(-3px); }
  85% { transform: translateX(2px); }
}
@keyframes shake-hard {
  0%,100% { transform: translateX(0); }
  8% { transform: translate(-10px, 2px) rotate(-2deg); }
  20% { transform: translate(9px, -2px) rotate(1.5deg); }
  32% { transform: translate(-8px, 1px) rotate(-1.2deg); }
  44% { transform: translate(6px, -1px) rotate(0.8deg); }
  56% { transform: translate(-4px, 1px) rotate(-0.5deg); }
  70% { transform: translate(3px, 0px); }
  85% { transform: translate(-1px, 0px); }
}
@keyframes flash-hit {
  0% { background: rgba(0,0,0,0.25); }
  15% { background: rgba(217,77,77,0.6); filter: brightness(1.4); }
  40% { background: rgba(217,77,77,0.35); }
  100% { background: rgba(0,0,0,0.25); filter: brightness(1); }
}
@keyframes flash-kill {
  0% { background: rgba(0,0,0,0.25); filter: brightness(1); }
  12% { background: rgba(255,255,255,0.5); filter: brightness(2); }
  30% { background: rgba(217,77,77,0.5); filter: brightness(1.2); }
  100% { background: rgba(0,0,0,0.25); filter: brightness(1); }
}
@keyframes defend-brace {
  0% { border-color: var(--line); box-shadow: none; transform: scale(1); }
  15% { transform: scale(1.04); }
  25%,65% { border-color: #5ab4d9; box-shadow: inset 0 0 16px rgba(90,180,217,0.4), 0 0 24px rgba(90,180,217,0.5); transform: scale(1.02); }
  100% { border-color: var(--line); box-shadow: none; transform: scale(1); }
}
@keyframes unit-die {
  0% { transform: scale(1); opacity: 1; filter: brightness(2) saturate(0.5); }
  25% { transform: scale(1.06); opacity: 0.9; filter: brightness(1.5) saturate(0.3); }
  100% { transform: scale(0.7) translateY(8px); opacity: 0; filter: brightness(0.5) saturate(0) blur(2px); }
}
@keyframes battlefield-shake {
  0%,100% { transform: translate(0,0); }
  15% { transform: translate(-3px, 2px); }
  30% { transform: translate(3px, -1px); }
  45% { transform: translate(-2px, 1px); }
  60% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, 0px); }
}
.unit.shake { animation: shake 0.35s cubic-bezier(.36,.07,.19,.97); }
.unit.shake-hard { animation: shake-hard 0.45s cubic-bezier(.36,.07,.19,.97); }
.unit.flash { animation: flash-hit 0.35s; }
.unit.flash-kill { animation: flash-kill 0.4s; }
.unit.dying { animation: unit-die 0.5s ease-in forwards; pointer-events: none; }
.battlefield.screen-shake { animation: battlefield-shake 0.3s cubic-bezier(.36,.07,.19,.97); }

/* KILLED overlay */
.unit.will-die::after {
  content: 'KILLED';
  position: absolute; inset: 0;
  display: grid; place-items: center;
  font-family: 'VT323', monospace;
  font-size: 28px; letter-spacing: 6px;
  color: var(--hp);
  background: rgba(13,14,26,0.7);
  z-index: 5;
  animation: threat-pulse 0.7s ease-in-out infinite;
}

/* DAMAGE POPS */
.pop {
  position: absolute;
  font-family: 'VT323', monospace;
  font-size: 28px; font-weight: 700;
  pointer-events: none;
  animation: popup 1s ease-out forwards;
  z-index: 50;
  text-shadow: 2px 2px 0 black, 0 0 6px rgba(0,0,0,0.8);
  left: 50%;
}
.pop.dmg { color: var(--hp); }
.pop.heal { color: var(--party); }
.pop.crit { color: var(--crit); }
.pop.foe-hit { color: var(--foe); }
.pop.kill-pop {
  color: var(--crit);
  font-size: 36px;
  text-shadow: 2px 2px 0 black, 0 0 12px rgba(255,224,102,0.6);
  animation: popup-kill 1.2s ease-out forwards;
}
@keyframes popup {
  0% { transform: translate(-50%, 0) scale(0.5); opacity: 0; }
  12% { transform: translate(-50%, -8px) scale(1.3); opacity: 1; }
  25% { transform: translate(-50%, -14px) scale(1); }
  100% { transform: translate(-50%, -56px); opacity: 0; }
}
@keyframes popup-kill {
  0% { transform: translate(-50%, 0) scale(0.3); opacity: 0; }
  10% { transform: translate(-50%, -6px) scale(1.6); opacity: 1; }
  22% { transform: translate(-50%, -14px) scale(1.1); }
  40% { transform: translate(-50%, -24px) scale(1); opacity: 1; }
  100% { transform: translate(-50%, -70px) scale(0.8); opacity: 0; }
}

/* LOG */
.log {
  height: 52px;
  overflow-y: auto;
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--line);
  padding: 6px 12px;
  font-size: 11px;
  color: var(--ink-dim);
  line-height: 1.5;
  flex-shrink: 0;
}
.log-entry { margin-bottom: 2px; }
.log-entry::before { content: "› "; color: var(--gold); }
.log-entry.hit { color: var(--ink); }
.log-entry.kill { color: var(--crit); font-weight: 700; }
.log-entry.heal { color: var(--party); }
.log-entry.foe-hit { color: var(--foe); }

/* REWARD SCREEN */
.reward-screen {
  position: fixed; inset: 0;
  background: rgba(13,14,26,0.95);
  display: grid; place-items: center;
  z-index: 500;
  backdrop-filter: blur(4px);
}
.reward-screen.hidden { display: none; }
.reward-inner {
  text-align: center;
  padding: 32px;
  max-width: 520px;
  width: 90vw;
}
.reward-title {
  font-family: 'VT323', monospace;
  font-size: 42px; letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 8px;
}
.reward-subtitle {
  font-size: 12px; color: var(--ink-dim);
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.reward-party {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 20px;
  font-family: 'VT323', monospace;
  font-size: 14px;
  color: var(--ink-dim);
}
.reward-options {
  display: flex;
  gap: 12px;
  justify-content: center;
}
.reward-card {
  flex: 1;
  max-width: 220px;
  padding: 16px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-align: center;
}
.reward-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 20px rgba(230,185,77,0.3);
  transform: translateY(-2px);
}
.reward-card-name {
  font-family: 'VT323', monospace;
  font-size: 22px;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 8px;
}
.reward-card-desc {
  font-size: 11px;
  color: var(--ink);
  letter-spacing: 0.5px;
  line-height: 1.5;
}
.reward-card-target {
  font-size: 10px;
  color: var(--ink-dim);
  margin-top: 8px;
  letter-spacing: 1px;
}

/* Ally selection for choose-who upgrades */
.reward-allies {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.reward-allies.hidden { display: none; }
.reward-ally-card {
  padding: 14px 20px;
  background: var(--bg-2);
  border: 2px solid var(--line);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.1s;
  text-align: center;
}
.reward-ally-card:hover {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(230,185,77,0.25);
  transform: translateY(-2px);
}
.reward-ally-card.dead {
  opacity: 0.3;
  pointer-events: none;
}
.reward-ally-name {
  font-family: 'VT323', monospace;
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 4px;
}
.reward-ally-stat {
  font-size: 10px;
  color: var(--ink-dim);
  letter-spacing: 1px;
}

/* END SCREEN */
.endscreen {
  position: fixed; inset: 0;
  background: rgba(13,14,26,0.92);
  display: grid; place-items: center;
  z-index: 500;
  backdrop-filter: blur(4px);
}
.endscreen.hidden { display: none; }
.endscreen-inner {
  text-align: center;
  padding: 40px;
  border: 1px solid var(--gold);
  background: var(--bg-2);
  max-width: 420px;
}
.endscreen h1 {
  font-family: 'VT323', monospace;
  font-size: 48px; letter-spacing: 8px;
  margin-bottom: 12px;
}
.endscreen.win h1 { color: var(--gold); }
.endscreen.lose h1 { color: var(--hp); }
.endscreen p {
  font-size: 12px; color: var(--ink-dim);
  margin-bottom: 24px; letter-spacing: 1px; line-height: 1.6;
}
.commit-btn {
  background: var(--gold);
  color: var(--bg);
  border: none;
  padding: 14px 24px;
  font-family: 'VT323', monospace;
  font-size: 22px; letter-spacing: 4px;
  cursor: pointer;
}
.commit-btn:hover {
  background: var(--ink);
  transform: translateY(-1px);
}

/* Color classes */
.knight { color: #c0c4d0; }
.mage   { color: #b59ad9; }
.cleric { color: #e8dcc4; }
.thief  { color: #8ed98e; }
.goblin { color: #8aa84d; }
.slime  { color: #5ab4d9; }
.ogre   { color: #d97a4d; }
.wisp   { color: #e6b94d; }

/* Tap-preview highlight (mobile) */
.unit.tap-preview {
  border-color: var(--gold);
  box-shadow: 0 0 16px rgba(230,185,77,0.3);
}
.tap-confirm-hint {
  text-align: center;
  font-family: 'VT323', monospace;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold);
  padding: 3px 0;
  animation: pulse-border 1.2s ease-in-out infinite;
}

/* Blast preview on skill button */
.skill-btn.confirming {
  background: rgba(230,185,77,0.25);
  border-color: var(--gold);
  color: var(--gold);
  animation: pulse-border 1.2s ease-in-out infinite;
}

@media (max-width: 720px) {
  .map-screen { padding: 8px; gap: 10px; }
  .map-cell { width: 48px; height: 48px; font-size: 24px; }
  .map-cell.map-player { font-size: 28px; }
  .map-reward-icon { font-size: 11px; }
  .map-ally { font-size: 13px; }
  .map-party { gap: 10px; }
  .reward-inner { padding: 20px; }
  .reward-title { font-size: 32px; letter-spacing: 4px; }
  .reward-options { flex-direction: column; align-items: center; }
  .reward-card { max-width: 100%; }
  .reward-card-name { font-size: 18px; }
  .reward-allies { flex-wrap: wrap; }
  .arena { padding: 8px; gap: 6px; }
  .header { flex-wrap: wrap; gap: 6px; }
  .title { font-size: 18px; letter-spacing: 2px; }
  .hint { font-size: 9px; }
  .foe-row, .ally-row { gap: 6px; }
  .intent-row { height: 4px; }
  .unit { padding: 6px; gap: 4px; border-width: 1px; }
  .unit-top { gap: 4px; }
  .sprite { width: 26px; height: 26px; font-size: 15px; }
  .unit-name { font-size: 9px; }
  .unit-dmg { font-size: 8px; }
  .bar { height: 12px; }
  .bar-label { font-size: 8px; line-height: 12px; }
  .foe-target { font-size: 12px; padding: 2px 4px; }
  .ally-threats { font-size: 11px; padding: 2px 4px; }
  .skill-row { gap: 3px; }
  .skill-btn { font-size: 12px; padding: 6px 4px; min-height: 36px; }
  .log { height: 40px; font-size: 9px; padding: 4px 8px; }
  .pop { font-size: 22px; }
  .unit.will-die::after { font-size: 18px; letter-spacing: 3px; }
  .reset-btn, .undo-btn { padding: 8px 10px; font-size: 9px; }
}

@media (max-width: 400px) {
  .title { font-size: 15px; letter-spacing: 1px; }
  .sprite { width: 22px; height: 22px; font-size: 13px; }
  .unit-name { font-size: 8px; }
  .foe-target { font-size: 11px; }
  .skill-btn { font-size: 11px; }
}
