:root {
  --ink: #18232f;
  --muted: #71808d;
  --paper: #f7f5ef;
  --line: #d9dedf;
  --lime: #c7f36b;
  --coral: #ff806d;
  --blue: #6ed2e8;
  --shadow: 0 18px 50px rgba(30, 43, 56, .12);
}

* { box-sizing: border-box; }
html, body { margin: 0; min-height: 100%; }
html { background: #263641; }
body { background: #dce9e6; color: var(--ink); font-family: "Arial Narrow", "Noto Sans SC", system-ui, sans-serif; overscroll-behavior: none; }
button { font: inherit; }
.app-shell { min-height: 100vh; min-height: 100svh; overflow: hidden; }
.screen { min-height: 100vh; min-height: 100svh; padding: clamp(24px, 5vw, 64px); padding-bottom: max(clamp(24px, 5vw, 64px), env(safe-area-inset-bottom)); }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.splash-screen { position: relative; display: grid; place-items: center; min-height: 100svh; padding: 0; overflow: hidden; isolation: isolate; background: #8ed9ed; }
.splash-screen::before { content: ""; position: absolute; z-index: -2; inset: -30px; background: url("assets/media/game-start-cover-new.jpg") center / cover no-repeat; filter: blur(22px) saturate(.9); opacity: .68; }
.splash-screen::after { content: ""; position: absolute; z-index: 1; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 45%, rgba(17, 37, 50, .14) 70%, rgba(17, 37, 50, .42)); }
.splash-art { position: absolute; z-index: 0; inset: 0; display: grid; place-items: center; }
.splash-art img { display: block; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 50px rgba(20, 62, 77, .24)); }
.splash-panel { position: absolute; z-index: 2; left: 50%; bottom: max(clamp(18px, 4vh, 44px), env(safe-area-inset-bottom)); display: flex; width: min(980px, calc(100% - 32px)); align-items: center; justify-content: space-between; gap: 30px; padding: 20px 22px; border: 1px solid rgba(255,255,255,.52); background: rgba(247, 250, 246, .92); color: var(--ink); box-shadow: 0 22px 70px rgba(18, 49, 64, .28); backdrop-filter: blur(14px); transform: translateX(-50%); }
.splash-heading-row { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.splash-heading-row .eyebrow { flex: 1; }
.install-button { min-height: 30px; padding: 0 10px; border: 1px solid var(--ink); background: var(--ink); color: white; font-size: 11px; font-weight: 800; cursor: pointer; white-space: nowrap; }
.install-button:hover { background: var(--coral); border-color: var(--coral); }
.install-hint { min-height: 0; margin: 5px 0 0; color: #687a7d; font-size: 10px; line-height: 1.4; }
.splash-copy { margin: 8px 0 12px; font-size: 14px; font-weight: 700; }
.asset-progress { width: min(370px, 100%); height: 4px; overflow: hidden; background: rgba(24,35,47,.12); }
.asset-progress i { display: block; width: 0; height: 100%; background: var(--coral); transition: width .2s ease; }
.asset-load-status { margin: 7px 0 0; color: var(--muted); font-size: 10px; }
.mode-choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: min(550px, 62%); gap: 10px; }
.mode-button { display: flex; min-width: 0; min-height: 94px; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; padding: 12px 15px; border: 1px solid transparent; color: white; text-align: left; cursor: pointer; transition: transform .18s ease, filter .18s ease; }
.mode-button:not(:disabled):hover { transform: translateY(-3px); filter: brightness(1.08); }
.mode-button:disabled { opacity: .48; cursor: wait; }
.pk-mode { background: #263641; }
.runner-mode { background: #d96555; }
.mode-index { font-size: 9px; font-weight: 800; letter-spacing: 0; opacity: .7; }
.mode-button strong { font-size: 19px; }
.mode-button small { font-size: 10px; opacity: .78; }

.select-screen { position: relative; background: var(--paper); }
.select-screen::before { content: ""; position: absolute; width: 44vw; height: 44vw; max-width: 570px; max-height: 570px; right: -8vw; top: -17vw; border-radius: 50%; background: var(--lime); opacity: .66; }
.select-screen::after { content: ""; position: absolute; width: 170px; height: 170px; left: 3vw; bottom: 3vw; border-radius: 50%; border: 20px solid var(--coral); opacity: .2; }
.title-block, .select-layout { position: relative; z-index: 1; max-width: 1220px; margin: 0 auto; }
.select-topline { display: flex; align-items: center; justify-content: space-between; }
.text-button { padding: 8px 0 8px 12px; border: 0; background: transparent; color: #53636d; font-size: 12px; font-weight: 800; cursor: pointer; }
.text-button:hover { color: var(--coral); }
.eyebrow, .tiny-label { margin: 0; color: #70808a; font-size: 11px; font-weight: 800; letter-spacing: .17em; }
h1 { max-width: 760px; margin: 14px 0 10px; font-size: clamp(36px, 6vw, 78px); line-height: .96; letter-spacing: -.04em; }
h1 span { color: var(--coral); font-size: .55em; letter-spacing: .02em; vertical-align: middle; }
.subtitle { max-width: 620px; margin: 0; color: #61717a; font-size: 16px; line-height: 1.65; }
.select-layout { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(300px, .8fr); gap: clamp(20px, 4vw, 62px); margin-top: clamp(38px, 7vh, 86px); align-items: start; }
.character-panel, .match-panel { border-top: 2px solid var(--ink); }
.panel-heading { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; font-size: 14px; font-weight: 800; }
.panel-heading small { color: var(--muted); font-size: 11px; font-weight: 500; }
.character-grid { display: grid; grid-template-columns: minmax(220px, 360px); gap: 13px; }
.character-card { min-height: 300px; padding: 18px; border: 1px solid var(--line); background: rgba(255,255,255,.62); cursor: pointer; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease; text-align: left; }
.character-card:hover { transform: translateY(-5px); border-color: var(--ink); box-shadow: var(--shadow); }
.character-card.selected { border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--lime); transform: translateY(-5px); }
.portrait { display: grid; place-items: center; height: 170px; margin-bottom: 17px; background: var(--portrait-bg); overflow: hidden; }
.portrait svg { width: 145px; height: 145px; }
.portrait img { width: 184px; height: 152px; object-fit: contain; transform: translateY(4px); filter: drop-shadow(0 10px 7px rgba(56,54,34,.16)); }
.card-index { color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .15em; }
.character-card h3 { margin: 5px 0 3px; font-size: 24px; letter-spacing: -.03em; }
.character-card p { min-height: 36px; margin: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.tag-row { display: flex; gap: 5px; margin-top: 12px; flex-wrap: wrap; }
.tag { padding: 4px 7px; background: #edf1ee; color: #50616b; font-size: 10px; }
.match-panel { padding: 14px 0 0; }
.versus-mark { display: flex; align-items: center; justify-content: space-between; font-size: 14px; }
.versus-mark b { display: grid; place-items: center; width: 60px; aspect-ratio: 1; border-radius: 50%; background: #e8edeb; font-size: 28px; }
.versus-mark span { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .18em; }
.match-copy { margin-top: 24px; }
.match-copy h2 { margin: 8px 0; font-size: 30px; letter-spacing: -.04em; }
.match-copy p:not(.tiny-label) { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.stat-preview { display: grid; gap: 10px; margin: 26px 0; }
.stat-line { display: grid; grid-template-columns: 40px 1fr 32px; align-items: center; gap: 9px; color: var(--muted); font-size: 10px; font-weight: 800; }
.stat-track { height: 6px; background: #e5ebe8; overflow: hidden; }
.stat-track i { display: block; height: 100%; background: var(--ink); }
.primary-button, .ghost-button { min-height: 48px; border: 0; cursor: pointer; font-size: 13px; font-weight: 800; transition: transform .18s ease, opacity .18s ease; }
.primary-button { display: flex; width: 100%; align-items: center; justify-content: space-between; padding: 0 16px; background: var(--ink); color: white; }
.primary-button:not(:disabled):hover { transform: translateY(-3px); }
.primary-button:disabled { opacity: .35; cursor: not-allowed; }
kbd { padding: 4px 6px; border: 1px solid rgba(255,255,255,.35); color: inherit; font-size: 10px; font-weight: 700; }
.control-note { margin: 13px 0 0; color: var(--muted); font-size: 10px; line-height: 1.5; }
.ghost-button { padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--ink); }

.battle-screen { display: flex; flex-direction: column; padding: clamp(14px, 3vw, 34px); background: #263641; color: #fff; }
.battle-hud, .stage-wrap, .battle-footer { width: min(1100px, 100%); margin: 0 auto; }
.battle-hud { display: grid; grid-template-columns: 1fr 90px 1fr; align-items: end; gap: 20px; margin-bottom: 14px; }
.fighter-hud { min-width: 0; }
.fighter-name-row { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 6px; color: #e5efed; font-size: 14px; font-weight: 800; }
.enemy-hud .fighter-name-row { flex-direction: row-reverse; }
.combo-readout { min-width: 66px; color: rgba(255,255,255,.5); font-size: 10px; font-weight: 900; letter-spacing: .08em; text-align: center; transition: color .16s ease, transform .16s ease; }
.combo-readout.active { color: var(--lime); transform: scale(1.08); }
.bar { height: 13px; margin-top: 4px; background: rgba(255,255,255,.14); overflow: hidden; }
.bar i { display: block; width: 100%; height: 100%; transition: width .15s ease; }
.health-bar i { background: var(--coral); }
.energy-bar { height: 5px; }
.energy-bar i { background: var(--lime); }
.helper-status { display: flex; align-items: center; gap: 6px; min-height: 28px; margin-top: 5px; color: rgba(255,255,255,.78); font-size: 10px; font-weight: 800; }
.helper-status img { width: 28px; height: 28px; object-fit: contain; filter: brightness(1.16) saturate(1.08); }
.helper-status b { margin-left: 3px; color: var(--lime); font-size: 9px; }
.helper-status.used { opacity: .42; }
.helper-status.used b { color: var(--coral); }
.enemy-helper-status { flex-direction: row-reverse; justify-content: flex-start; }
.round-clock { display: grid; place-items: center; width: 64px; height: 58px; margin: 0 auto; border: 1px solid rgba(255,255,255,.25); color: var(--lime); font-size: 28px; font-weight: 900; }
.stage-wrap { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 180px); border: 1px solid rgba(255,255,255,.18); box-shadow: 0 25px 70px rgba(0,0,0,.2); }
#game-canvas { display: block; width: 100%; height: 100%; background: #bfe4e1; image-rendering: auto; touch-action: none; }
.battle-banner { position: absolute; inset: 42% 0 auto; text-align: center; color: var(--ink); font-size: clamp(28px, 5vw, 64px); font-weight: 900; letter-spacing: .09em; opacity: 0; pointer-events: none; text-shadow: 3px 3px 0 rgba(255,255,255,.5); }
.battle-banner.show { animation: banner-pop 1.25s ease both; }
@keyframes banner-pop { 0% { opacity: 0; transform: scale(.7); } 20%, 70% { opacity: 1; transform: scale(1); } 100% { opacity: 0; transform: scale(1.08); } }
.result-panel { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; background: rgba(24,35,47,.82); text-align: center; }
.result-panel h2 { margin: 10px 0 5px; color: var(--lime); font-size: clamp(40px, 8vw, 76px); letter-spacing: -.05em; }
.result-panel p:not(.tiny-label) { margin: 0 0 26px; color: #d6e2df; }
.result-actions { display: flex; gap: 10px; width: min(370px, 90%); }
.result-actions .primary-button { justify-content: center; gap: 12px; }
.battle-footer { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; color: rgba(255,255,255,.56); font-size: 10px; letter-spacing: .06em; }
.mobile-controls { display: none; }

.runner-screen { display: flex; flex-direction: column; gap: 18px; background: #263641; color: #f7f5ef; }
.runner-header, .runner-stage-wrap, .runner-controls-row { width: min(1100px, 100%); margin: 0 auto; }
.runner-header { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 30px; }
.runner-title .eyebrow { color: #a4bbb3; letter-spacing: 0; }
.runner-title h1 { margin: 5px 0 0; font-size: 30px; line-height: 1.1; letter-spacing: 0; }
.runner-scoreboard { display: flex; gap: 24px; }
.runner-scoreboard div { display: grid; gap: 3px; min-width: 84px; }
.runner-scoreboard span { color: rgba(255,255,255,.58); font-size: 10px; }
.runner-scoreboard strong { color: #c7f36b; font-size: 20px; font-variant-numeric: tabular-nums; }
.runner-menu-button { min-height: 40px; padding: 0 13px; border: 1px solid rgba(255,255,255,.28); background: transparent; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.runner-menu-button:hover { background: rgba(255,255,255,.1); }
.runner-stage-wrap { position: relative; aspect-ratio: 16 / 9; max-height: calc(100vh - 200px); overflow: hidden; border: 1px solid rgba(255,255,255,.18); background: #c6e4d9; box-shadow: 0 24px 64px rgba(0,0,0,.24); }
#runner-canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.runner-result { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(27,42,46,.78); text-align: center; backdrop-filter: blur(3px); }
.runner-result h2 { margin: 8px 0; color: #ff9b80; font-size: clamp(38px, 7vw, 66px); }
.runner-result p:not(.tiny-label) { margin: 0 0 23px; color: #f7f5ef; }
.runner-result p strong { color: #c7f36b; font-variant-numeric: tabular-nums; }
.runner-result-actions { display: flex; width: min(380px, calc(100% - 30px)); gap: 9px; }
.runner-action { display: flex; min-height: 46px; flex: 1; align-items: center; justify-content: center; gap: 10px; border: 1px solid rgba(255,255,255,.42); background: transparent; color: #fff; font-size: 12px; font-weight: 800; cursor: pointer; }
.runner-action:hover { background: rgba(255,255,255,.1); }
.runner-action.primary-action { border-color: #c7f36b; background: #c7f36b; color: #18232f; }
.runner-action kbd { border-color: rgba(24,35,47,.3); }
.runner-controls-row { display: flex; align-items: center; justify-content: space-between; color: rgba(255,255,255,.63); font-size: 11px; }
.runner-controls-row p { margin: 0; }
.runner-controls-row p span { margin-left: 18px; }
.runner-controls-row kbd { margin-left: 3px; border-color: rgba(255,255,255,.3); }
.runner-touch-controls { display: none; gap: 8px; }
.runner-touch-controls button { min-width: 72px; min-height: 40px; border: 1px solid rgba(255,255,255,.28); background: rgba(255,255,255,.08); color: white; font-weight: 800; touch-action: none; }

@media (max-width: 800px) {
  .splash-panel { align-items: stretch; }
  .mode-choices { width: 58%; }
  .mode-button { padding: 10px; }
  .select-layout { grid-template-columns: 1fr; }
  .character-grid { grid-template-columns: minmax(150px, 360px); padding-bottom: 10px; }
  .character-card { min-width: 150px; min-height: 265px; padding: 12px; }
  .portrait { height: 135px; }
  .portrait svg { width: 118px; height: 118px; }
  .match-panel { padding-bottom: 20px; }
  .stage-wrap { width: 100%; max-height: none; }
  .mobile-controls { display: flex; justify-content: space-between; width: min(1100px, 100%); margin: 12px auto 0; }
  .mobile-controls button { min-width: 48px; height: 40px; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.09); color: #fff; font-size: 13px; }
  .mobile-move, .mobile-actions { display: flex; gap: 7px; }
  .mobile-actions { flex-wrap: wrap; justify-content: flex-end; }
  .runner-screen { gap: 14px; }
  .runner-header { grid-template-columns: 1fr auto; gap: 10px; }
  .runner-title { grid-column: 1 / -1; display: flex; align-items: baseline; justify-content: space-between; }
  .runner-title h1 { font-size: 25px; }
  .runner-scoreboard { grid-column: 1; grid-row: 2; }
  .runner-menu-button { grid-column: 2; grid-row: 2; }
  .runner-stage-wrap { width: 100%; max-height: none; }
  .runner-controls-row { align-items: flex-start; }
  .runner-touch-controls { display: flex; }
}
@media (max-width: 500px) {
  .splash-art { inset: 0 0 36%; }
  .splash-panel { bottom: 12px; flex-direction: column; gap: 12px; padding: 14px; }
  .splash-copy { margin: 5px 0 8px; font-size: 13px; }
  .mode-choices { width: 100%; gap: 8px; }
  .mode-button { min-height: 82px; padding: 9px; }
  .mode-button strong { font-size: 16px; }
  .mode-button small { font-size: 9px; }
  .asset-load-status { margin-top: 5px; }
  .screen { padding: 22px 16px; }
  .splash-screen { padding: 0; }
  h1 { font-size: 43px; }
  .subtitle { font-size: 14px; }
  .character-grid { grid-template-columns: minmax(145px, 1fr); }
  .battle-hud { grid-template-columns: 1fr 54px 1fr; gap: 8px; }
  .round-clock { width: 48px; height: 45px; font-size: 21px; }
  .fighter-name-row { font-size: 11px; }
  .bar { height: 10px; }
  .helper-status { min-height: 24px; font-size: 9px; }
  .helper-status img { width: 23px; height: 23px; }
  .helper-status b { font-size: 8px; }
  .battle-footer { font-size: 9px; }
  .battle-footer span:last-child { display: none; }
  .mobile-actions { max-width: 190px; gap: 5px; }
  .mobile-controls button { min-width: 42px; padding: 0 6px; font-size: 11px; }
  .runner-screen { padding: 15px 12px; gap: 13px; }
  .runner-title .eyebrow { font-size: 9px; letter-spacing: 0; }
  .runner-title h1 { font-size: 22px; }
  .runner-scoreboard { gap: 14px; }
  .runner-scoreboard div { min-width: 70px; }
  .runner-scoreboard strong { font-size: 17px; }
  .runner-stage-wrap { width: calc(100vw - 24px); aspect-ratio: 16 / 9; }
  .runner-controls-row { align-items: center; }
  .runner-controls-row p { display: none; }
  .runner-touch-controls { width: 100%; }
  .runner-touch-controls button { flex: 1; }
}

/* 选人页 · 技能说明 */
.control-note a { color: var(--ink); font-weight: 800; text-underline-offset: 3px; }
.control-note a:hover { color: var(--coral); }
.icon-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.skill-guide { position: relative; z-index: 1; max-width: 1220px; margin: clamp(42px, 7vh, 80px) auto 0; border-top: 2px solid var(--ink); scroll-margin-top: 20px; }
.skill-group-title { margin: 30px 0 12px; font-size: 13px; letter-spacing: .12em; }
.skill-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 12px; }

.energy-guide { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 20px 36px; align-items: center; padding: 18px 20px; background: var(--ink); color: #f4f7f2; }
.energy-guide h3 { display: flex; align-items: center; gap: 7px; margin: 0 0 6px; font-size: 18px; }
.energy-guide h3 svg { width: 20px; height: 20px; color: var(--lime); }
.energy-guide p { margin: 0; color: #b7c3c7; font-size: 12px; line-height: 1.6; }
.energy-meter { position: relative; height: 12px; margin: 28px 0 14px; background: rgba(255,255,255,.14); }
.energy-meter::after { content: "100"; position: absolute; right: 0; top: -20px; color: #8fa0a6; font-size: 10px; font-weight: 800; }
.energy-start { display: block; height: 100%; background: var(--lime); }
.energy-mark { position: absolute; top: -5px; bottom: -5px; width: 2px; margin-left: -1px; background: #fff; }
.energy-mark span { position: absolute; left: 50%; bottom: calc(100% + 3px); transform: translateX(-50%); color: #dfe7e2; font-size: 10px; font-weight: 800; white-space: nowrap; }
.energy-mark.below span { top: calc(100% + 3px); bottom: auto; }
.energy-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px 16px; margin: 30px 0 0; padding: 0; list-style: none; color: #dfe7e2; font-size: 11px; }
.energy-facts li, .skill-stats li { display: flex; align-items: center; gap: 5px; }
.energy-facts svg { flex: none; width: 13px; height: 13px; color: var(--lime); }

.skill-card { --skill-color: var(--lime); display: grid; grid-template-columns: 92px minmax(0, 1fr); grid-template-rows: 1fr auto; align-items: start; gap: 0 14px; padding: 14px; border: 1px solid var(--line); border-left: 5px solid var(--skill-color); background: rgba(255,255,255,.9); }
.skill-art { position: relative; display: grid; place-items: center; width: 92px; height: 92px; overflow: hidden; background: color-mix(in srgb, var(--skill-color) 32%, #fffdf4); }
.skill-art img { width: 100%; height: 100%; object-fit: contain; }
.sheet-frame { display: block; width: 110px; aspect-ratio: 290 / 240; background-repeat: no-repeat; }
.art-kick img, .art-foot img { transform: scaleX(-1); }
.art-kick img { width: 150%; height: 150%; }
.art-foot img { width: 82%; height: 82%; }
.art-jump img { transform: translateY(-6px); }
.art-pounce img { width: 128%; height: 128%; transform: rotate(-12deg) translateY(6px); }
.art-dash::before { content: ""; position: absolute; inset: 30% 56% 30% 6%; background: repeating-linear-gradient(180deg, var(--ink) 0 3px, transparent 3px 11px); opacity: .5; }
.skill-body { min-width: 0; }
.skill-body header { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.skill-body h3 { margin: 0; font-size: 17px; letter-spacing: -.02em; }
.skill-tag { flex: none; padding: 2px 6px; background: var(--skill-color); color: var(--ink); font-size: 10px; font-weight: 800; }
.skill-keys { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 8px 0 7px; }
.skill-keys kbd { min-width: 22px; padding: 3px 6px; border: 1px solid #b9c3c4; border-bottom-width: 3px; border-radius: 4px; background: #fff; color: var(--ink); text-align: center; }
.key-player { color: var(--muted); font-size: 9px; font-weight: 800; letter-spacing: .08em; }
.skill-keys { column-gap: 12px; }
.key-group { display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; }
.skill-body p { margin: 0; color: #53636d; font-size: 12px; line-height: 1.55; }
.skill-stats { display: flex; flex-wrap: wrap; gap: 5px 12px; margin: 9px 0 0; padding: 0; list-style: none; font-size: 11px; font-weight: 800; }
.skill-stats svg { width: 14px; height: 14px; color: var(--ink); }
.skill-range { grid-column: 1 / -1; margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); }
.skill-range svg { display: block; width: 100%; height: auto; overflow: visible; }
.skill-range figcaption { margin-top: 3px; color: var(--muted); font-size: 10px; font-weight: 800; }
.range-ground { stroke: #b9c3c4; stroke-width: 1; }
.range-body { fill: #e5c27a; stroke: var(--ink); stroke-width: 1.5; }
.range-body.enemy { fill: #cfd8da; }
.range-arrow { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linecap: round; }
.range-arrow.dashed { stroke: #ff8eb3; stroke-width: 2.5; stroke-dasharray: 5 5; }

@media (max-width: 800px) {
  .energy-guide { grid-template-columns: 1fr; }
}
@media (max-width: 500px) {
  .skill-grid { grid-template-columns: 1fr; }
  .skill-card { grid-template-columns: 72px minmax(0, 1fr); }
  .skill-art { width: 72px; height: 72px; }
  .sheet-frame { width: 88px; }
  .energy-facts { grid-template-columns: 1fr; }
}
