@font-face {
  font-family: Barlow;
  src: url('./assets/fonts/barlow-medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: Barlow;
  src: url('./assets/fonts/barlow-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/barlow-condensed-black-italic.woff2') format('woff2');
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Barlow Condensed';
  src: url('./assets/fonts/barlow-condensed-bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ink: #12282c;
  --dark: #172f32;
  --deep: #0e2227;
  --white: #f4efdd;
  --paper: #ffedc5;
  --muted: #acc6bd;
  --mint: #a7efd7;
  --gold: #ffc484;
  --coral: #e88767;
  --line: #93c9bd42;
  --mono: ui-monospace, 'Courier New', monospace;
  --cut: polygon(0 0, calc(100% - 13px) 0, 100% 13px, 100% 100%, 13px 100%, 0 calc(100% - 13px));
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; overscroll-behavior: none; }
body {
  background: #0b171b;
  color: var(--white);
  font-family: Barlow, system-ui, sans-serif;
  font-weight: 500;
  -webkit-tap-highlight-color: transparent;
}
button, input { font: inherit; }
button {
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
}
button:disabled { cursor: default; }
button:focus { outline: none; }
button:focus-visible, input:focus-visible {
  outline: 2px solid #fff2bc;
  outline-offset: 4px;
}
.pad-nav button:focus, .pad-nav input:focus {
  outline: 2px solid #fff2bc;
  outline-offset: 4px;
}
h1, h2, h3, p { margin: 0; }
#stage {
  position: absolute;
  width: 1280px;
  height: 720px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--ui-scale, .75));
  overflow: hidden;
  isolation: isolate;
  user-select: none;
  -webkit-user-select: none;
  background: #142a2f;
}
#yard, .home, .cover, .hud, .overlay { position: absolute; inset: 0; width: 100%; height: 100%; }
#yard { touch-action: none; }
#stage.aiming #yard { cursor: none; }
.cover {
  background: #183639 url('./assets/title.webp') center / cover no-repeat;
}
.cover::before, .cover::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.cover::before {
  background: linear-gradient(90deg, #102629db 0%, #10292c98 31%, #10282b21 58%, transparent 78%),
    linear-gradient(0deg, #0c2024ee 0, #12252a69 90px, transparent 200px),
    linear-gradient(180deg, #0f202784 0%, transparent 20%);
}
.cover::after {
  border: 1px solid #f5daa333;
  box-shadow: inset 0 0 120px #071a2055;
}
.dock-header {
  position: absolute;
  inset: 31px 42px auto 47px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 47px;
}
.service {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #ffe4ab;
  font: 700 21px/.82 'Barlow Condensed', sans-serif;
  letter-spacing: .16em;
}
.service div > span {
  display: block;
  font: 500 9px/1.35 var(--mono);
  letter-spacing: .13em;
  margin-top: 6px;
  color: #c8d8ca;
}
.service-mark {
  display: inline-block;
  position: relative;
  width: 37px;
  height: 37px;
  border: 1px solid #eecfa3aa;
  border-radius: 50%;
  overflow: hidden;
}
.service-mark::before {
  content: '';
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: linear-gradient(to bottom, #f8d59b 0 44%, transparent 44% 51%,
    #f8d59b 51% 62%, transparent 62% 70%, #f8d59b 70% 79%, transparent 79% 87%, #f8d59b 87% 94%, transparent 94%);
}
.tabs {
  background: #102629d1;
  border: 1px solid #b1c9b443;
  display: flex;
  align-items: stretch;
  min-height: 43px;
  padding: 2px 3px;
  box-shadow: 0 3px 20px #1227283c;
}
.tab {
  font: 700 15px/1 Barlow, sans-serif;
  white-space: nowrap;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #f0eee0;
}
.tab + .tab { border-left: 1px solid #aebfb626; }
.tab:is(:hover, :focus-visible), .pad-nav .tab:focus { color: #ffe4ae; background: #dedab71a; }
.nav-glyph { display: inline-block; position: relative; width: 13px; height: 14px; opacity: .8; }
.armory-glyph::before {
  content: ''; position: absolute; left: 1px; top: 6px; width: 12px; height: 3px;
  border: 1px solid currentColor; transform: rotate(-37deg);
}
.armory-glyph::after { content: ''; position: absolute; bottom: 1px; left: 4px; width: 2px; height: 5px; background: currentColor; }
.record-glyph { border: 1px solid currentColor; border-radius: 1px; transform: scale(.85); }
.record-glyph::before { content: ''; position: absolute; inset: 3px 2px; background: repeating-linear-gradient(to bottom, currentColor 0 1px, transparent 1px 3px); }
.guide-glyph { background: currentColor; clip-path: polygon(0 10%, 46% 22%, 100% 10%, 100% 88%, 50% 100%, 0 88%, 0 23%, 12% 27%, 12% 80%, 44% 87%, 44% 31%, 57% 31%, 57% 87%, 88% 80%, 88% 24%, 48% 34%); }
.settings-glyph {
  background: linear-gradient(currentColor, currentColor) 0 4px / 13px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 0 10px / 13px 1px no-repeat,
    linear-gradient(currentColor, currentColor) 3px 2px / 2px 5px no-repeat,
    linear-gradient(currentColor, currentColor) 8px 8px / 2px 5px no-repeat;
}
.dock-content { position: absolute; left: 69px; top: 140px; width: 520px; }
.logo {
  font: italic 900 133px/.75 'Barlow Condensed', Impact, sans-serif;
  text-transform: uppercase;
  letter-spacing: -.025em;
  color: var(--paper);
  text-shadow: 1px 3px #111f23, 0 9px 29px #18252b70;
}
.logo span { display: block; }
.logo span + span { color: #ffb579; margin-top: 12px; }
.title-rule {
  background: linear-gradient(90deg, #ffe2aa99, #f6cca521);
  width: 324px;
  height: 1px;
  margin: 27px 0 19px 6px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.title-rule i { display: block; width: 13px; height: 3px; background: #ffd191; transform: skewX(-23deg); }
.title-rule i:nth-child(2) { width: 7px; opacity: .65; }
.title-rule i:nth-child(3) { width: 4px; opacity: .4; }
.dock-copy { color: #e6e9d8; font: 500 22px/1.2 Barlow, sans-serif; margin-left: 6px; text-shadow: 0 3px 10px #0e2127; }
.home-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
  margin: 24px 0 0 6px;
}
.launch {
  position: relative;
  width: 321px;
  height: 61px;
  padding: 8px 56px 10px 19px;
  text-align: left;
  background: #193438ed;
  border: 1px solid #a1d1c276;
  transition: background .16s, color .16s, transform .16s, border-color .16s;
}
.launch.primary {
  background: #ffca8e;
  color: #203034;
  border: 1px solid #ffe4b6;
  clip-path: var(--cut);
}
.launch.primary::after {
  content: ''; position: absolute; inset: 0;
  background: repeating-linear-gradient(130deg, #202b3212 0 2px, transparent 2px 7px);
  clip-path: polygon(83% 0, 100% 0, 100% 100%, 67% 100%);
  pointer-events: none;
}
.launch.secondary { color: #e4f4e3; width: 321px; }
.launch:is(:hover, :focus-visible) { transform: translateX(4px); }
.launch.primary:is(:hover, :focus-visible), .pad-nav .launch.primary:focus { background: #ffe3af; }
.launch.primary:focus-visible, .pad-nav .launch.primary:focus { box-shadow: inset 0 0 0 3px #fcf3d9, inset 0 0 0 5px #644326; }
.launch.secondary:is(:hover, :focus-visible), .pad-nav .launch.secondary:focus { background: #274c4d; border-color: #b6f3dd; }
.launch-main { display: block; font: italic 900 25px/1 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; letter-spacing: .015em; }
.launch-meta { display: block; font: 700 13px/1 Barlow, sans-serif; letter-spacing: .035em; margin-top: 4px; opacity: .82; }
.launch-arrow { position: absolute; right: 15px; top: 11px; font-size: 30px; line-height: 36px; }
.dock-footer {
  position: absolute; left: 47px; right: 43px; bottom: 22px; height: 30px; z-index: 1;
  display: flex; align-items: center; gap: 20px;
  color: #d3e1d3; font: 500 13px/1 var(--mono); letter-spacing: .04em;
}
.dock-progress { display: inline-flex; align-items: center; gap: 11px; }
#dock-pips { display: flex; gap: 6px; }
#dock-pips i { display: block; width: 8px; height: 8px; rotate: 45deg; border: 1px solid #89bcab83; background: #163438; }
#dock-pips i.lit { background: #b8f3d2; border-color: #e1ffdc; box-shadow: 0 0 10px #94fcdca1; }
.save-status { margin-left: auto; font-size: 12px; display: flex; align-items: center; gap: 8px; }
.save-status i { width: 6px; height: 6px; border-radius: 50%; background: #b8f3d2; box-shadow: 0 0 9px #88ffba78; }
.save-status.off { color: #ffc080; }
.save-status.off i { background: #ffc080; }
.high-link { color: #ffc785; padding: 6px 12px; border: 1px solid #edd09c62; font: 700 13px/1 Barlow, sans-serif; text-transform: uppercase; letter-spacing: .08em; }
.high-link:hover { background: #ffe1a92a; }
.high-link span { margin-left: 8px; }

.hud {
  pointer-events: none;
  z-index: 2;
  background:
    linear-gradient(180deg, #111e27 0, #122128e3 60px, #122128aa 95px, transparent 128px),
    linear-gradient(0deg, #102029 0, #11222bdd 37px, #13242e75 74px, transparent 108px);
  color: #e7eddf;
  font-variant-numeric: tabular-nums;
}
.hud-top {
  position: absolute; inset: 21px 31px auto;
  display: grid;
  grid-template-columns: 1fr 1.15fr 1fr;
  align-items: start;
}
.hull-panel { padding-top: 6px; max-width: 250px; }
.hud-small {
  font: 700 14px/1 'Barlow Condensed', sans-serif;
  text-transform: uppercase;
  letter-spacing: .11em;
  color: #c3d6c9;
}
.hull-panel .hud-small { display: flex; align-items: center; gap: 7px; }
.hull-icon { display: inline-grid; place-items: center; width: 15px; height: 15px; border: 1px solid #bbf0d7a1; font-style: normal; font-size: 13px; color: #a8eed4; }
#hull-count { margin-left: 6px; color: #f4ebcf; font: 500 12px/1 var(--mono); letter-spacing: -.02em; }
.fuse-tag { border: 1px solid #aae6fd68; color: #b3edff; font: 500 9px/1 var(--mono); padding: 2px 4px; }
.hull-pips { display: flex; gap: 4px; margin-top: 9px; }
.hull-pips i {
  display: block; width: 24px; height: 11px; background: #243941; transform: skew(-13deg); border: 1px solid #99bdb33b;
}
.hull-pips i.on { background: linear-gradient(180deg, #e0ffce, #82d9bc 72%); border-color: #e0ffd179; box-shadow: 0 0 9px #8df5c933; }
.hull-pips.low i.on { background: #f69a7c; border-color: #ffe3b87c; }
.objective { text-align: center; }
.mission-names {
  display: flex; align-items: center; justify-content: center; gap: 9px;
  font: 700 15px/1 'Barlow Condensed', sans-serif;
  text-transform: uppercase; color: #bdd9cd; letter-spacing: .14em;
}
#mission-route { color: #f0d2a4; }
.route-mark { width: 5px; height: 5px; background: #deb479; transform: rotate(45deg); }
.mission-goal { font: italic 900 29px/1 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; letter-spacing: .037em; color: #fff3d4; margin-top: 5px; }
.mission-goal.ready { color: #b8ffe0; }
.wave-pips { display: flex; align-items: center; justify-content: center; gap: 4px; margin-top: 8px; }
.wave-pips i { width: 31px; height: 4px; background: #afc8ba3e; display: block; transform: skew(-21deg); }
.wave-pips i.on { background: #ffd09b; box-shadow: 0 0 12px #f4c38b65; }
.wave-pips i.done { background: #c0f6d8; }
.scoring { justify-self: end; padding-top: 2px; min-width: 180px; }
.score-readout { display: flex; align-items: baseline; justify-content: flex-end; gap: 10px; }
.score-readout strong { font: italic 900 29px/1 'Barlow Condensed', Impact, sans-serif; color: #f7eacd; }
#combo { color: #ffc080; display: inline-block; font: italic 900 25px/1 'Barlow Condensed', Impact, sans-serif; min-width: 32px; text-align: right; }
.combo-track, .ammo-track, .dash-track { height: 4px; background: #a9c7bc30; margin-top: 6px; }
.combo-track { margin-left: auto; width: 129px; }
.station-clock { text-align: right; color: #b7cfc2; margin-top: 6px; font: 500 11px/1 var(--mono); }
.combo-track > div, .ammo-track > div, .dash-track > div, .boss-track > i { height: 100%; background: var(--fill, #ffc58d); width: 100%; transform: scaleX(var(--value, 1)); transform-origin: left center; }
.hud-bottom { position: absolute; left: 31px; right: 31px; bottom: 13px; height: 58px; display: flex; align-items: start; justify-content: space-between; }
.weapon-panel { width: 194px; padding-top: 2px; }
.weapon-heading { display: flex; align-items: center; justify-content: space-between; }
.ammo-readout { line-height: .8; color: #e4e9d7; white-space: nowrap; }
.ammo-readout b { font: italic 900 25px/.8 'Barlow Condensed', Impact, sans-serif; color: #ffe5b6; }
.ammo-readout span { font: 500 13px/1 var(--mono); margin-left: 5px; }
.ammo-track { height: 5px; }
.ammo-track.reloading > div { background: #a3ead2; }
.lower-caption { margin-top: 6px; color: #c2cfc0; font: 700 12px/1.3 Barlow, sans-serif; letter-spacing: .045em; }
kbd {
  display: inline-block; font: 500 12px/1.05 var(--mono);
  color: #f1e7cc; border: 1px solid #a8c0af74; border-bottom-width: 2px;
  background: #2a4145; min-width: 1.6em; padding: 2px 4px; border-radius: 2px;
  text-align: center; vertical-align: 1px;
}
.radio {
  position: absolute; left: 50%; transform: translateX(-50%); bottom: 0;
  width: fit-content; min-width: 288px; max-width: 574px;
  padding: 7px 17px 9px; border: 1px solid #9cc9bb55;
  text-align: center; background: #132d32f5;
}
.radio-header { display: flex; justify-content: center; gap: 7px; align-items: center; }
.radio-header i { width: 12px; height: 3px; background: repeating-linear-gradient(90deg, #96e5c4 0 2px, transparent 2px 4px); box-shadow: 0 0 12px #92e8c43d; }
.radio-header b { font: 700 10px/1 var(--mono); color: #9deccd; letter-spacing: .14em; }
.radio p { color: #f4ebd0; font: 500 17px/1.15 Barlow, sans-serif; margin-top: 4px; }
.action-hud { display: flex; align-items: start; gap: 15px; padding-top: 1px; }
.dash-panel { width: 106px; }
.dash-heading { display: flex; justify-content: space-between; align-items: baseline; }
.dash-heading b { color: #d5f5ce; font: 700 11px/1 'Barlow Condensed', sans-serif; letter-spacing: .06em; }
.dash-track { height: 5px; margin-top: 8px; --fill: #9be4c6; }
.charge-panel { min-width: 91px; }
.charge-pips { display: flex; gap: 3px; margin-top: 7px; }
.charge-pips i { display: block; width: 7px; height: 6px; transform: skew(-12deg); background: #a8c7bb3e; }
.charge-pips i.on { background: #9affcf; box-shadow: 0 0 7px #94ffe6ac; }
.pause-button {
  pointer-events: auto; display: grid; place-items: center;
  width: 38px; height: 40px; margin-left: 1px;
  background: #10292ecf; border: 1px solid #a5bdb26e;
}
.pause-button:hover { border-color: #d5ffe2; background: #23464b; }
.pause-button i { display: block; width: 12px; height: 14px; border: solid #e4f1d8; border-width: 0 4px; }
.boss-meter {
  position: absolute; left: 50%; transform: translateX(-50%); width: 355px;
  top: 98px; background: #192631ee; border: 1px solid #f4a28465; padding: 5px 11px 8px;
}
.boss-meter > div:first-child {
  display: flex; justify-content: space-between; gap: 12px;
  font: 700 14px/1 'Barlow Condensed', sans-serif; color: #ffd8b3; text-transform: uppercase; letter-spacing: .1em;
}
#boss-phase { color: #f5ab9a; font-size: 12px; }
.boss-track { height: 5px; background: #b8757445; position: relative; margin-top: 5px; --fill: #ff9a76; }
.boss-track > i { display: block; transition: transform .08s linear; }
.boss-track b { position: absolute; top: 0; bottom: 0; left: 32%; width: 2px; background: #273137; }
.boss-track b + b { left: 67%; }
.boss-meter.guarded { border-color: #9dcdeb9d; }
.boss-meter.guarded #boss-phase { color: #c4eeff; }
.boss-meter.guarded .boss-track { --fill: #9bd5f7; }
.boss-meter.elite .boss-track b { display: none; }
.announcement {
  position: absolute; left: 50%; top: 156px; transform: translateX(-50%);
  min-width: 320px; background: #15292de3; text-align: center; padding: 9px 23px 10px;
  border-top: 1px solid #d5a676b3; border-bottom: 1px solid #d5a67670;
  animation: notice-in .2s ease-out both;
}
.announcement span { display: block; color: #ffd9a3; font: 500 10px/1 var(--mono); letter-spacing: .14em; }
.announcement strong { display: block; margin-top: 4px; font: italic 900 31px/1 'Barlow Condensed', Impact, sans-serif; color: #fcefcd; text-transform: uppercase; }

.overlay {
  display: grid; place-items: center; z-index: 4;
  background: #0a191dd6;
}
.overlay.game-panel { background: #0b1c23b3; }
.overlay.game-panel.result-panel { background: #0d2429 none; }
.overlay.result-panel::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #0b2025e5, #0b20257a), linear-gradient(0deg, #0b1d21ee, transparent 83%),
    url('./assets/title.webp') center / cover no-repeat;
}
.panel {
  position: relative; width: 630px; max-height: 670px; padding: 34px 40px 30px;
  border: 1px solid #99c7b281;
  background: linear-gradient(146deg, #244246, #12292f 56%, #142e31);
  box-shadow: 0 0 0 6px #10282cab, 0 18px 68px #061418bd;
  animation: panel-in .19s ease-out both;
}
.panel::before, .panel::after {
  content: ''; height: 2px; width: 98px; background: #bcdfbf; position: absolute; top: -1px; left: -1px;
}
.panel::after { top: auto; left: auto; bottom: -1px; right: -1px; width: 40px; background: #e8ba86; }
.panel.wide { width: 1040px; }
.panel.slim { width: 510px; }
.panel.medium { width: 790px; }
.panel-head { padding-right: 36px; }
.panel-tag { display: flex; gap: 9px; align-items: center; text-transform: uppercase; color: var(--mint); font: 500 12px/1 var(--mono); letter-spacing: .13em; }
.panel-tag::before { content: ''; width: 6px; height: 6px; background: currentColor; display: inline-block; transform: rotate(45deg); flex: 0 0 auto; }
.panel h2 {
  font: italic 900 62px/.93 'Barlow Condensed', Impact, sans-serif;
  margin: 6px 0 13px; color: var(--paper); text-transform: uppercase; letter-spacing: -.01em;
}
.panel h2.small-title { font-size: 54px; }
.panel p { font: 500 19px/1.3 Barlow, sans-serif; color: #dce5d8; }
.panel-note { padding-top: 14px; border-top: 1px solid var(--line); color: #b8d5c9 !important; font-size: 15px !important; }
.x-button {
  position: absolute; right: 17px; top: 17px; width: 34px; height: 34px;
  color: #d6e8d9; border: 1px solid #9fc2b15d; font: 500 23px/.8 Barlow, sans-serif;
}
.x-button:hover { color: #fff0c8; background: #e5edd31d; }
.panel-actions { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 22px; }
.panel-actions.stack { flex-direction: column; align-items: stretch; }
.control {
  border: 1px solid #a7c9b378; color: #d9e8d9; background: #163238;
  padding: 13px 19px 13px; min-width: 100px;
  font: 700 16px/1 Barlow, sans-serif; letter-spacing: .034em;
}
.control:hover, .pad-nav .control:focus { background: #2b4c4e; border-color: #b2e8d1; }
.control.hot { background: #ffc58b; border-color: #ffe0aa; color: #1d3134; }
.control.hot:hover, .pad-nav .control.hot:focus { background: #ffe4ae; }
.control.soft { border-color: #7daba049; background: #1a303800; }
.control.soft:hover { background: #28515463; }
.control:disabled { opacity: .47; }

.settings-grid { display: grid; margin: 23px 0 4px; border-top: 1px solid var(--line); }
.setting { display: grid; grid-template-columns: 1fr 185px 40px; align-items: center; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.setting strong { display: block; font: 700 19px/1 Barlow, sans-serif; }
.setting span { font: 500 14px/1.2 Barlow, sans-serif; color: #b8d4c6; display: block; margin-top: 5px; }
.setting input[type=range] { width: 100%; accent-color: #b5ebd0; cursor: pointer; }
.setting output { text-align: right; color: #ffe0a6; font: 500 12px/1 var(--mono); }
.setting.toggle { grid-template-columns: 1fr auto; }
.toggle input { appearance: none; width: 43px; height: 23px; border: 1px solid #a4c4b571; background: #0d272c; cursor: pointer; position: relative; margin: 0 0 0 auto; }
.toggle input::before { content: ''; width: 13px; height: 13px; position: absolute; background: #9fafad; left: 4px; top: 4px; transition: transform .13s; }
.toggle input:checked { background: #3a695f; border-color: #a8f4d0; }
.toggle input:checked::before { transform: translateX(19px); background: #d8ffe1; }

.fields { display: grid; grid-template-columns: 1.03fr 1fr; gap: 30px; padding-top: 19px; }
.field-list { margin: 0; border-top: 1px solid var(--line); }
.field-list > div { display: grid; grid-template-columns: 82px 1fr; align-items: baseline; gap: 6px; padding: 8px 0; border-bottom: 1px solid var(--line); }
.field-list dt { font: 700 16px/1 Barlow, sans-serif; color: #e5ecd9; }
.field-list dd { margin: 0; color: #d8e9de; font-size: 15px; }
.field-steps { display: flex; flex-direction: column; gap: 11px; }
.field-steps > div { padding: 8px 0 13px 15px; border-left: 2px solid #92cbbd55; }
.field-steps h3 { font: italic 900 26px/.94 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; color: #ffc58d; }
.field-steps p { font-size: 16px; margin-top: 5px; }
.pad-guide { margin: 19px 0 0 !important; font-size: 16px !important; color: #bfd9ca !important; }
.pad-guide b { color: #ffddad; }

.card-grid { display: grid; gap: 14px; grid-template-columns: repeat(3, 1fr); margin-top: 20px; }
.card-grid.gear { grid-template-columns: repeat(4, 1fr); }
.option-card {
  display: block; position: relative; text-align: left;
  min-height: 222px; padding: 15px 16px 18px;
  border: 1px solid #91b9a97b; background: linear-gradient(145deg, #2a4548, #142f35 67%);
  transition: transform .14s, background .14s, border-color .14s;
}
.option-card:is(:hover, :focus-visible):not(:disabled), .pad-nav .option-card:focus:not(:disabled) {
  transform: translateY(-4px); background: linear-gradient(145deg, #335754, #20464a 72%); border-color: #c2edca;
}
.option-card.selected { border-color: #ffd293; box-shadow: inset 0 2px #ffd293; }
.option-card:disabled { background: #162f329a; border-color: #759b9060; }
.option-card:disabled canvas { opacity: .46; }
.option-card:disabled .card-title { color: #bdc9ba; }
.option-card .card-top { display: flex; justify-content: space-between; gap: 4px; color: #b4e9d2; font: 500 10px/1 var(--mono); letter-spacing: .075em; text-transform: uppercase; align-items: center; }
.option-card .card-top kbd { font-size: 11px; }
.option-card canvas { display: block; width: 100%; height: 73px; margin: 5px 0 2px; }
.card-title { display: block; color: #ffe5b5; font: italic 900 31px/.95 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; }
.card-copy { display: block; font: 500 16px/1.22 Barlow, sans-serif; color: #d8e9db; margin-top: 7px; }
.card-footer { color: #a4e5cf; display: block; margin-top: 11px; font: 700 13px/1 Barlow, sans-serif; }
.option-card:disabled .card-footer { color: #f4c394; }
.circuit-banner {
  display: flex; align-items: center; gap: 14px;
  color: #cde7d7; margin-top: 12px; font-size: 16px;
}
.medal {
  display: inline-grid; place-items: center; width: 36px; height: 37px;
  border: 1px solid #e5cba979; color: var(--paper); background: #9cae921b;
  font: italic 900 25px/.9 'Barlow Condensed', Impact, sans-serif; letter-spacing: -.07em;
}
.medal.s { background: #ffd28b; color: #1b3234; border-color: #fff0af; }
.medal.a { background: #93dabf; color: #1d3335; border-color: #c6ffe6; }
.medal.b { background: #9bb9c0; color: #1d333c; border-color: #bfd1d0; }
.medal.c { background: #8d9996; color: #20363a; }
.circuit-banner .next-stop { color: #ffd79a; }

.dispatch-strip { margin-top: 19px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.dispatch-stop { border: 1px solid #9ecab968; padding: 11px 12px; background: #0e282c7d; }
.dispatch-stop span { display: block; color: #95cec3; font: 500 11px/1 var(--mono); }
.dispatch-stop b { display: block; color: var(--paper); font: 700 20px/1 'Barlow Condensed', sans-serif; margin-top: 4px; text-transform: uppercase; }
.dispatch-rule { margin-top: 15px; padding: 12px 13px; background: #8aaa8e14; border-left: 2px solid #eeb785; }
.dispatch-rule b { color: #ffd5a1; }
.dispatch-rule p { font-size: 16px; }
.record-rows { margin-top: 16px; border-top: 1px solid var(--line); }
.record-row { display: grid; grid-template-columns: 1.36fr .75fr .69fr .65fr; gap: 9px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); color: #e0ecdf; font-size: 16px; }
.record-row span:first-child { font-weight: 700; }
.record-row span:last-child, .record-row span:nth-child(3) { font-family: var(--mono); font-size: 13px; }
.record-row .medal { width: 25px; height: 26px; font-size: 18px; }
.record-row.header { color: #a2cec3; font: 500 11px/1 var(--mono); text-transform: uppercase; }
.record-row.header span { font: inherit; }
.station-records { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-top: 17px; }
.station-record { display: flex; align-items: center; gap: 8px; border: 1px solid #91baac49; padding: 7px; color: #cce4d3; font: 700 16px/.92 'Barlow Condensed', sans-serif; text-transform: uppercase; }
.station-record .medal { width: 26px; height: 27px; font-size: 18px; flex: 0 0 auto; }
.record-empty { margin: 13px 0 0 !important; font-size: 15px !important; color: #b9d1c3 !important; }
.result-sheet { padding: 36px 39px 33px; width: 730px; }
.result-sheet h2 { font-size: 69px; }
.result-sheet.winner { background: linear-gradient(129deg, #234449f5, #142d35e7 70%); }
.result-medals { display: flex; align-items: center; gap: 9px; margin: 19px 0 14px; color: #e0e9d5; }
.result-medals .medal { width: 34px; height: 32px; font-size: 23px; }
.result-numbers { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0 0; padding: 15px 0 14px; border-bottom: 1px solid var(--line); border-top: 1px solid var(--line); }
.result-numbers span { display: block; font: 500 11px/1 var(--mono); text-transform: uppercase; color: #b7d9c8; letter-spacing: .06em; }
.result-numbers b { display: block; color: #ffe5b7; font: italic 900 35px/.94 'Barlow Condensed', Impact, sans-serif; margin-top: 5px; }
.record-toast { font-size: 15px !important; color: #b3f3d7 !important; margin-top: 13px !important; }
.pause-readout {
  display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px;
  border-block: 1px solid var(--line); padding: 12px 0; margin-top: 19px;
}
.pause-readout span { color: #9dd5c4; font: 500 10px/1 var(--mono); display: block; text-transform: uppercase; letter-spacing: .08em; }
.pause-readout b { margin-top: 4px; display: block; color: #ffe2ac; font: italic 900 25px/.95 'Barlow Condensed', Impact, sans-serif; }
.noscript { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); color: #fff0d4; z-index: 99; }
@keyframes panel-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes notice-in { from { opacity: 0; margin-top: -6px; } to { opacity: 1; margin-top: 0; } }
.reduce *, .reduce *::before, .reduce *::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
