.arcade-page { background: var(--dark); }
/* This game has a permanent settings link in its footer instead of a floating icon. */
.arcade-page #silktide-wrapper #silktide-cookie-icon { display: none !important; }
.cabinet-home { display: none; }
.arcade-header { height: 80px; padding: 0 var(--gutter); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ffffff0c; }
.exit-link { font-size: 13px; color: #a1adb2; display: flex; gap: 14px; align-items: center; }
.exit-link span { color: var(--accent); font-size: 20px; }
.arcade-layout { max-width: 1320px; padding: 56px var(--gutter) 64px; margin: auto; display: grid; grid-template-columns: 1fr minmax(300px, 420px); align-items: center; gap: clamp(36px, 7vw, 110px); }
.arcade-eyebrow, .mission-spec, .made-with, .overlay-kicker, .control-hint, .cabinet-bar, .cabinet-foot, .game-hud, .flight-hud, .boss-hud, .result-score-label { font-family: 'Geist Mono', monospace; }
.arcade-eyebrow { font-size: 10px; letter-spacing: .12em; color: #9aa7ac; display: flex; gap: 10px; align-items: center; }
.live-dot, .cabinet-bar i { display: inline-block; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; box-shadow: 0 0 14px #19d3d580; }
.mission-brief h1 { font-size: clamp(60px, 7.6vw, 104px); line-height: .94; letter-spacing: -.065em; margin: 28px 0; white-space: normal; }
.mission-brief h1 span { color: var(--accent); }
.arcade-tagline { color: #d5dddf; font-size: clamp(17px, 1.9vw, 23px); line-height: 1.5; letter-spacing: -.03em; }
.mission-spec { display: flex; flex-wrap: wrap; gap: 10px 20px; padding: 25px 0; margin: 12px 0 24px; border-bottom: 1px solid #ffffff20; color: #84949b; font-size: 9px; letter-spacing: .04em; }
.brief-copy { color: #929fa6; font-size: 14px; line-height: 1.8; max-width: 400px; }
.enemy-legend { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; max-width: 340px; margin: 26px 0; color: #cad3d6; font-size: 12px; }
.game-help { color: #96a6ad; font-size: 12px; line-height: 1.7; max-width: 400px; }
.game-help summary { cursor: pointer; padding: 12px 0; border-top: 1px solid #ffffff20; color: #d5dddf; display: flex; justify-content: space-between; }
.game-help summary span { color: var(--accent); }.game-help p { margin: 10px 0; }
.made-with { color: #65767f; font-size: 8px; letter-spacing: .09em; margin-top: 35px; }
.game-cabinet { border: 1px solid #ffffff24; border-radius: 16px; overflow: hidden; background: #0d141d; box-shadow: 0 28px 100px #0006, 0 0 80px #19d3d508; width: 100%; }
.cabinet-bar { display: flex; justify-content: space-between; align-items: center; padding: 0 10px 0 16px; height: 48px; color: #a0adb5; font-size: 9px; letter-spacing: .06em; border-bottom: 1px solid #ffffff14; }
.cabinet-bar > span { display: flex; align-items: center; gap: 8px; }
.cabinet-controls { display: flex; gap: 0; }.cabinet-controls button { display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 7px; background: transparent; color: #9caeb9; }
.cabinet-controls button:hover, .cabinet-controls button[aria-pressed="true"] { color: var(--accent); background: #19d3d50a; }
.cabinet-controls button:disabled { opacity: .3; cursor: default; }.cabinet-controls svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.game-hud { height: 66px; display: flex; align-items: center; justify-content: space-between; padding: 0 19px; background: #101a24; border-bottom: 1px solid #ffffff12; }
.game-hud > div { display: flex; flex-direction: column; gap: 5px; min-width: 75px; }
#carry { font-style: normal; color: #f6cf78; font-size: 8px; letter-spacing: 0; }.game-hud span { font-size: 8px; color: #8b9eaa; letter-spacing: .08em; }.game-hud strong { font-size: 18px; font-weight: 500; letter-spacing: -.03em; }
.game-hud .hud-center { text-align: center; }.game-hud .hud-center strong { color: #afc2ce; font-size: 16px; }.hud-energy { text-align: right; }.hud-energy strong { display: flex; gap: 4px; justify-content: flex-end; height: 22px; align-items: center; }.hud-energy i { width: 15px; height: 7px; border-radius: 2px; background: var(--accent); box-shadow: 0 0 8px #19d3d522; }.hud-energy i.empty { background: #35414b; box-shadow: none; }
.stage-wrap { position: relative; width: 100%; aspect-ratio: var(--game-aspect, 3 / 5); background: #080f18; overflow: hidden; isolation: isolate; }
#game { display: block; width: 100%; height: 100%; outline-offset: -3px; }
.is-playing #game { touch-action: none; cursor: crosshair; }
.flight-hud { position: absolute; left: 15px; right: 15px; top: 12px; display: flex; align-items: center; justify-content: space-between; pointer-events: none; color: #a1beca; font-size: 11px; }
.backlog-hud { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; padding: 6px 9px; border: 1px solid #f6cf7833; border-radius: 9px; background: #080f18e8; color: #8d9ba7; font: 9px 'Geist Mono', monospace; pointer-events: none; }
#backlog-letters { display: flex; gap: 4px; }
#backlog-letters span { display: grid; place-items: center; width: 18px; height: 22px; border: 1px solid #ffffff20; border-radius: 4px; color: #8595a1; font-size: 11px; }
#backlog-letters .is-collected { color: #fff0c8; background: #f6cf7822; border-color: #f6cf78aa; }
.backlog-hud.is-complete { border-color: #19d3d5; color: #7cebe7; }
.backlog-hud.is-complete #backlog-letters span { border-color: #19d3d5aa; background: #19d3d518; color: #bafff1; }
#combo { color: var(--accent); font-size: 16px; }#power { font-size: 9px; }
.boss-hud { position: absolute; top: 40px; left: 30px; right: 30px; text-align: center; font-size: 7px; letter-spacing: .06em; color: #e0adff; pointer-events: none; }.boss-hud > div { height: 4px; background: #382643; margin-top: 7px; border-radius: 3px; overflow: hidden; }.boss-hud i { display: block; height: 100%; width: 100%; background: #bc9aff; transform-origin: left; }
.game-overlay { position: absolute; inset: 0; padding: 32px 24px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; background: linear-gradient(#08111ae8, #0b1521f7); z-index: 3; }
.overlay-kicker { color: #7c9aa9; letter-spacing: .14em; font-size: 8px; margin-bottom: 18px; }
.intro-rocket { font-size: 57px; filter: drop-shadow(0 10px 24px #19d3d533); transform: rotate(-25deg); margin: 5px 0 23px; }
.game-overlay h2 { font-size: 47px; line-height: 1.02; letter-spacing: -.055em; font-weight: 600; }.game-overlay h2 span { color: var(--accent); }
.game-overlay > p:not(.overlay-kicker) { font-size: 12px; line-height: 1.7; color: #9db0bb; margin: 20px 0 24px; }
.arcade-primary { border: 0; border-radius: 7px; padding: 0 18px; min-height: 48px; background: var(--accent); color: #071219; font-size: 13px; font-weight: 600; display: flex; width: 100%; max-width: 270px; justify-content: space-between; align-items: center; gap: 18px; }
.arcade-primary:hover { background: #68eeeb; }.arcade-primary span { font-size: 20px; font-weight: 400; }
.arcade-secondary { border: 1px solid #ffffff26; border-radius: 7px; padding: 12px 20px; min-height: 44px; background: transparent; color: #cad9e0; font-size: 12px; width: 100%; max-width: 270px; margin-top: 12px; }
.control-hint { font-size: 7px; letter-spacing: .025em; color: #708b9b; margin-top: 20px; }
.game-cue { position: absolute; top: 32%; left: 0; right: 0; text-align: center; font: 600 20px Geist, sans-serif; letter-spacing: -.03em; color: #d2fefe; text-shadow: 0 0 25px #19d3d555; pointer-events: none; opacity: 0; transition: opacity .2s; }.game-cue.visible { opacity: 1; }
.countdown { position: absolute; inset: 0; background: #08111ab8; display: grid; place-items: center; font: 600 64px Geist, sans-serif; color: var(--accent); z-index: 4; pointer-events: none; }
.mission-progress { position: absolute; bottom: 0; left: 0; right: 0; height: 2px; background: #ffffff0b; pointer-events: none; }.mission-progress i { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.cabinet-foot { display: flex; align-items: center; justify-content: space-between; padding: 12px 16px; color: #6a8597; font-size: 7px; letter-spacing: .03em; border-top: 1px solid #ffffff12; min-height: 34px; }.status-dot { color: #73aaa8; }
.result-overlay { padding: 24px; }.result-overlay h2 { font-size: 37px; }.result-overlay .overlay-kicker { margin-bottom: 12px; }.result-overlay > p:not(.overlay-kicker) { margin: 12px 0; max-width: 260px; font-size: 11px; }.result-score { color: var(--accent); font-size: 46px; letter-spacing: -.06em; line-height: 1.15; }.result-score-label { color: #8fa5b3; font-size: 7px; letter-spacing: .14em; margin-top: 3px; }
.result-stats { width: 100%; max-width: 270px; margin: 18px 0; padding: 12px 0; border-block: 1px solid #ffffff19; display: grid; grid-template-columns: 1fr 1fr; gap: 9px 16px; font-size: 10px; }.result-stats div { display: flex; justify-content: space-between; gap: 8px; }.result-stats dt { color: #90a4b1; }.result-stats dd { margin: 0; color: #d4e0e7; font-variant-numeric: tabular-nums; }.result-link { font-size: 10px; color: #9ab5c2; margin-top: 18px; text-decoration: underline; text-underline-offset: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.result-link { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; margin-top: 8px; }
.result-ghost { border: 0; background: transparent; color: #7f93a0; font-size: 11px; text-decoration: underline; text-underline-offset: 3px; min-height: 44px; margin-top: 2px; cursor: pointer; }
.briefing-list { list-style: none; padding: 0; margin: 4px 0 18px; text-align: left; width: min(100%, 280px); }
.briefing-list li { color: #c5d2dc; font-size: 12px; line-height: 1.45; padding: 8px 0 8px 2px; border-top: 1px solid #ffffff16; }
#result-report-row, #result-campaign-row { grid-column: 1 / -1; }
#result-report { text-align: right; }
.game-cabinet.level-2 { background: #12111f; box-shadow: 0 28px 100px #0006, 0 0 80px #bc9aff18; }
.game-cabinet.level-2 .game-hud { background: #161427; }
.game-cabinet.level-2 .stage-wrap { background: #0b0e1c; }
.game-cabinet.level-2 .boss-hud { color: #f6cf78; }
.game-cabinet.level-2 .boss-hud > div { background: #3a3422; }
.game-cabinet.level-2 .boss-hud i { background: #f6cf78; }
.game-cabinet.level-2 .game-overlay { background: linear-gradient(#0c1020ea, #12101cf8); }
.game-cabinet.level-2 .countdown { background: #0c1020c4; }
.game-cabinet.is-slow .game-hud { box-shadow: inset 0 -3px 0 #f6cf78; }
.game-cabinet.level-2 .result-overlay { overflow: auto; background: #100e1cf6; }
.arcade-page .footer { margin-top: 16px; }
@media (max-width: 760px) {
  .arcade-header { height: 64px; padding: 0 24px; }.exit-link { font-size: 11px; }
  .arcade-layout { display: flex; flex-direction: column; gap: 24px; padding: 28px 16px 24px; }
  .mission-brief { width: 100%; max-width: 420px; }.arcade-eyebrow { font-size: 8px; }
  .mission-brief h1 { font-size: 46px; line-height: 1; margin: 15px 0 12px; }.mission-brief h1 br { display: none; }.mission-brief h1 span { margin-left: .12em; }
  .arcade-tagline { font-size: 13px; }.arcade-tagline br { display: none; }.arcade-tagline br::after { content: ' '; }
  .mission-spec, .brief-copy, .enemy-legend, .made-with { display: none; }.game-help { font-size: 11px; margin-top: 12px; max-width: none; }
  .game-help summary { padding: 8px 0; }.game-cabinet { max-width: 390px; }
  .arcade-page.is-engaged .mission-brief, .arcade-page.is-engaged .arcade-header { display: none; }
  .arcade-page.is-engaged .arcade-layout { padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px); gap: 0; }
  .arcade-page.is-engaged .game-cabinet { width: min(100%, calc((100svh - 88px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) * var(--game-ratio, .6))); max-width: none; border: 0; border-radius: 0; }
  .arcade-page.is-engaged .game-hud { height: 44px; padding: 0 12px; }.arcade-page.is-engaged .game-hud > div { min-width: 54px; }.arcade-page.is-engaged .game-hud strong { font-size: 15px; }.arcade-page.is-engaged .game-hud span { font-size: 7px; }
  .arcade-page.is-engaged .cabinet-bar { height: 44px; padding: 0 6px 0 12px; font-size: 8px; }
  .arcade-page.is-engaged .cabinet-foot, .arcade-page.is-engaged .cabinet-bar > span { display: none; }
  .arcade-page.is-engaged .cabinet-home { display: flex; align-items: center; gap: 8px; min-height: 44px; color: #a0adb5; }
  .arcade-page.is-engaged .cabinet-home span { font-size: 8px; letter-spacing: .03em; }
  .result-overlay { padding: 16px; }.result-overlay h2 { font-size: clamp(25px, 8vw, 37px); }
  .arcade-page .footer { padding-bottom: max(24px, env(safe-area-inset-bottom)); }
}
@media (max-width: 380px), (max-height: 730px) and (max-width: 760px) {
  .is-engaged .cabinet-bar > span { font-size: 6px; }.is-engaged .cabinet-controls button { width: 44px; }
  .is-engaged .game-overlay { padding: 14px; }.is-engaged .game-overlay h2 { font-size: 28px; }.is-engaged .game-overlay > p:not(.overlay-kicker) { font-size: 10px; margin: 10px 0; }.is-engaged .result-score { font-size: 32px; }.is-engaged .result-stats { font-size: 8px; gap: 7px 10px; margin: 10px 0; padding: 9px 0; }.is-engaged .overlay-kicker { font-size: 7px; margin-bottom: 8px; }.is-engaged .arcade-primary { min-height: 44px; font-size: 11px; }.is-engaged .result-link { margin-top: 12px; font-size: 9px; }
  .is-engaged .briefing-list li { font-size: 11px; padding: 6px 0; }
  .is-engaged .result-ghost { font-size: 10px; }
}
@media (max-height: 500px) and (max-width: 760px) {
  .arcade-page.is-engaged .game-cabinet { width: 240px; }
}
@media (prefers-reduced-motion: no-preference) {
  .intro-rocket { animation: idle-rocket 3s ease-in-out infinite; }
  @keyframes idle-rocket { 50% { transform: translateY(-8px) rotate(-25deg); } }
}
.reduced-effects .intro-rocket { animation: none; }

[data-site-variant="b"] .game-cabinet { background:#281a20; box-shadow:0 28px 100px #0006, 0 0 80px #ff987a16; }
[data-site-variant="b"] .game-hud { background:#352127; }
[data-site-variant="b"] .stage-wrap { background:#211219; }
[data-site-variant="b"] .game-overlay { background:linear-gradient(#24131cea,#301a22fa); }
[data-site-variant="b"] .countdown { background:#24131cb8; }
[data-site-variant="b"] .arcade-primary:hover { background:var(--accent-hover); }
[data-site-variant="b"] .hud-energy i { background:var(--accent); box-shadow:0 0 8px #ff987a44; }
[data-site-variant="b"] .hud-energy i.empty { background:#554047; box-shadow:none; }
[data-site-variant="b"] :is(.arcade-eyebrow,.overlay-kicker,.control-hint,.cabinet-foot,.result-link,.game-overlay > p:not(.overlay-kicker)) { color:#ccb1a7; }
[data-site-variant="b"] .live-dot,
[data-site-variant="b"] .cabinet-bar i { box-shadow:0 0 14px #ff987a80; }
