:root { color-scheme: dark; --ink: #f7f0d9; --muted: #9ba9b0; --gold: #f4cd77; --line: #2a3a44; --panel: #101d28; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: #0c151e; color: var(--ink); font: 15px/1.5 system-ui, -apple-system, "Segoe UI", sans-serif; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
button:disabled { cursor: wait; opacity: .65; }
button:focus-visible, a:focus-visible, canvas:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.game-shell { width: min(1480px, 100%); margin: 0 auto; padding: 0 36px; }
.topbar { height: 90px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.wordmark { text-decoration: none; color: var(--ink); font-size: 16px; font-weight: 850; letter-spacing: -.025em; white-space: nowrap; }
.wordmark > span:first-child { font: italic 16px Georgia, serif; color: var(--muted); padding: 0 4px; }
.title-dot { color: var(--gold); }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.edition { font: 10px ui-monospace, Consolas, monospace; letter-spacing: .15em; color: #7e949e; margin-right: 18px; }
.icon-button { background: transparent; border: 1px solid var(--line); border-radius: 7px; color: #c6cfd0; padding: 8px 12px; min-height: 40px; font-size: 12px; }
.icon-button:hover { color: var(--gold); border-color: #687362; }
.icon-button span { font-size: 10px; margin-left: 6px; }
.game-stage { position: relative; overflow: hidden; border: 1px solid #33444b; border-radius: 14px; width: 100%; aspect-ratio: 16 / 9; background: #173044; box-shadow: 0 26px 80px #0005; isolation: isolate; }
canvas { width: 100%; height: 100%; display: block; image-rendering: pixelated; outline-offset: -5px !important; touch-action: none; }
.screen { position: absolute; inset: 0; z-index: 4; }
.menu-screen { background: linear-gradient(90deg, #101d2beb 0%, #101d2bca 34%, #101d2b08 67%); }
.menu-copy { position: absolute; left: 6%; top: 10%; max-width: 56%; }
.eyebrow { margin: 0 0 24px; color: var(--gold); font: 10px ui-monospace, Consolas, monospace; letter-spacing: .16em; font-weight: 600; }
.menu-copy .eyebrow { display: flex; gap: 10px; align-items: center; }
.eyebrow > span { width: 7px; height: 7px; background: var(--gold); display: inline-block; }
h1 { font-size: clamp(44px, 7.2vw, 108px); letter-spacing: -.065em; line-height: .98; font-weight: 850; margin: 0; text-shadow: 0 5px 20px #0c172452; }
h1 em { font: italic .5em Georgia, serif; color: var(--gold); vertical-align: 13%; letter-spacing: -.07em; }
h1 > span { color: var(--gold); }
.tagline { margin: 22px 0 28px; color: #c4d0cf; font-size: clamp(12px, 1.3vw, 18px); line-height: 1.7; }
.menu-actions { display: flex; align-items: center; gap: 24px; }
.menu-details { display: flex; align-items: center; gap: 20px; margin-top: 15px; }
.menu-details .level-tag { margin: 0; }
.menu-details .text-button { color: var(--muted); font-size: 11px; }
.button { border: 1px solid transparent; border-radius: 6px; min-height: 50px; padding: 13px 27px; font-weight: 750; font-size: 14px; letter-spacing: -.02em; transition: background .15s, transform .15s; }
.button:hover { transform: translateY(-2px); }
.primary { background: var(--gold); color: #172331; box-shadow: 0 3px 0 #b88d43; }
.primary:hover { background: #ffdda0; }
.secondary { background: #243746; color: var(--ink); border-color: #42545d; }
.text-button { min-height: 44px; padding: 10px 0; border: 0; background: none; color: #d7dfdb; font-size: 13px; text-underline-offset: 5px; }
.text-button:hover { color: var(--gold); text-decoration: underline; }
.text-button span { margin-left: 7px; color: var(--gold); }
.level-tag { margin-top: 27px; color: #9eafaf; font: 9px ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.level-tag span { margin: 0 10px; color: #627c84; }
.menu-bottom { position: absolute; bottom: 5%; left: 6%; right: 5%; display: flex; justify-content: space-between; font: 9px ui-monospace, Consolas, monospace; color: #b6c8bd; letter-spacing: .13em; }
.hud { position: absolute; z-index: 2; left: 0; top: 0; right: 0; height: 92px; padding: 25px 34px; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; background: linear-gradient(#101c2bd9, transparent); }
.world-label { display: flex; align-items: center; gap: 12px; text-shadow: 0 2px #132330; }
.world-label strong { font: 800 26px ui-monospace, Consolas, monospace; letter-spacing: -.08em; }
.world-label > span { color: #dfebdc; font: 8px/1.5 ui-monospace, Consolas, monospace; letter-spacing: .13em; }
.world-label > span { max-width: 96px; }
.power-status { position: absolute; right: 34px; top: 91px; padding: 6px 11px; border: 1px solid #82c9aa; background: #173f3be6; color: #b8f0ce; font: 700 11px ui-monospace, Consolas, monospace; border-radius: 5px; }
.hud-stats { display: flex; align-items: center; gap: 30px; font: 700 17px ui-monospace, Consolas, monospace; }
.coins-stat { display: flex; align-items: center; gap: 10px; }
.coin-icon { display: inline-block; width: 15px; height: 19px; border: 3px solid #f6cd6e; background: #bc802b; box-shadow: inset 2px 0 #ffeab0; }
.health { color: #f09688; letter-spacing: 4px; font-size: 20px; white-space: nowrap; }
.time-stat { color: #dae3d8; min-width: 45px; }
.pause-button { pointer-events: auto; color: var(--ink); font-size: 20px; border: 1px solid #ffffff3b; background: #1424319c; width: 38px; height: 36px; border-radius: 6px; line-height: 1; }
.level-progress { position: absolute; left: 34px; right: 34px; height: 2px; top: 77px; background: #9fb9b42b; }
.level-progress > div { width: 0; height: 100%; background: #f4cd77; }
.centered-screen { background: #0b1826c9; backdrop-filter: blur(5px); display: flex; justify-content: center; align-items: center; padding: 22px; overflow-y: auto; }
.screen-card { max-width: 510px; width: 100%; padding: 34px 36px; background: #102333f5; border: 1px solid #3d535b; border-radius: 12px; box-shadow: 0 20px 60px #0004; }
.screen-card .eyebrow { margin-bottom: 16px; }
h2 { font-size: clamp(26px, 3.7vw, 44px); line-height: 1.1; letter-spacing: -.055em; margin: 0 0 18px; }
.screen-card p:not(.eyebrow) { color: #b5c5c6; font-size: 13px; }
.screen-card .small-note { color: #8da5ad !important; font-size: 11px !important; }
.control-list { margin: 20px 0; }
.control-list > div { display: flex; align-items: center; gap: 10px; padding: 7px 0; font-size: 11px; color: #91a8b0; }
.control-list > div > span:first-child { color: #e4e6d9; width: 65px; font-size: 13px; }
kbd { border: 1px solid #46606b; border-radius: 4px; padding: 3px 7px; background: #213441; color: #d5dfda; font: 10px ui-monospace, Consolas, monospace; box-shadow: 0 2px #0a1720; }
.compact { max-width: 470px; text-align: center; }
.screen-card { margin: auto; }
.journey-card { max-width: 920px; }
.level-options { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 24px 0 18px; }
.level-option { text-align: left; display: flex; flex-direction: column; gap: 13px; padding: 23px; border: 1px solid #536a64; border-radius: 8px; min-height: 204px; background: linear-gradient(145deg, #315649, #182d37); color: var(--ink); }
.factory-option { background: linear-gradient(145deg, #455346, #1b303c); border-color: #827555; }
.hq-option { background: linear-gradient(145deg, #624c4b, #24333e); border-color: #a78361; }
.roof-option { background: linear-gradient(145deg, #415875, #1d2c3d); border-color: #7497ae; }
.sewer-option { background: linear-gradient(145deg, #365a4e, #162f39); border-color: #6b9471; }
.dock-option { background: linear-gradient(145deg, #725d48, #203947); border-color: #ae9165; }
.world-switch { display: flex; gap: 8px; margin-bottom: 14px; }
.world-switch button { min-height: 40px; padding: 7px 18px; border: 1px solid #52666b; background: #1b303f; color: var(--ink); border-radius: 5px; font-size: 12px; }
.world-switch button[aria-pressed="true"] { background: var(--gold); color: #172331; border-color: var(--gold); }
.screen-card .world-description { font: 9px ui-monospace, Consolas, monospace; color: var(--gold) !important; letter-spacing: .08em; }
.hat-status { top: 126px; border-color: #e5bc72; color: #f5dc9e; background: #493f2ce8; }
.boss-hud { position: absolute; left: 34px; top: 91px; width: min(430px, 58%); background: #172a35ee; border: 1px solid #92785c; border-radius: 6px; padding: 9px 13px; }
.boss-label { display: flex; justify-content: space-between; align-items: center; gap: 12px; font: 9px ui-monospace, Consolas, monospace; }
.boss-label strong { color: #f3d197; white-space: nowrap; }
.boss-label > span { color: #d5ba9e; font-size: 8px; text-align: right; }
.boss-pips { display: flex; gap: 6px; margin-top: 7px; }
.boss-pips > span { height: 7px; flex: 1; background: #eab07a; }
.boss-pips > .lost { background: #34444a; }
.boss-hud.vulnerable { border-color: var(--gold); }
.boss-hud.vulnerable .boss-label > span { color: var(--gold); }
.campaign-summary { margin-top: 20px; }
.campaign-summary .eyebrow { margin: 0; font-size: 9px; }
.campaign-summary .results { margin-top: 12px; padding: 12px 0; }
.campaign-summary .results strong { font-size: 23px; }
.level-option:hover:not(:disabled) { border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold); }
.level-option:disabled { cursor: default; opacity: .55; }
.level-number { font: 9px ui-monospace, Consolas, monospace; letter-spacing: .05em; color: #e2d49d; }
.level-option strong { font-size: 22px; line-height: 1.1; letter-spacing: -.035em; }
.level-option > span:not(.level-number):not(.level-state) { font-size: 12px; color: #c2d1c8; }
.level-state { margin-top: auto; padding-top: 10px; font: 9px ui-monospace, Consolas, monospace; color: #bfe8bb; }
.stacked-actions { display: flex; flex-direction: column; align-items: stretch; gap: 10px; margin-top: 27px; }
.results { display: grid; grid-template-columns: 1fr 1.2fr 1fr; border-top: 1px solid #39505a; border-bottom: 1px solid #39505a; margin-top: 22px; padding: 18px 0; }
.results strong { font: 700 26px ui-monospace, Consolas, monospace; display: block; color: var(--gold); }
.results span { font: 8px ui-monospace, Consolas, monospace; color: #9eb5b7; letter-spacing: .07em; }
.toast { position: absolute; z-index: 6; bottom: 40px; left: 50%; transform: translate(-50%, 15px); max-width: 85%; padding: 10px 20px; color: #163144; background: #f4cd77; font-size: 12px; font-weight: 700; border-radius: 5px; opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s; text-align: center; }
.toast.visible { opacity: 1; transform: translate(-50%, 0); }
.loading-error { position: absolute; bottom: 14px; left: 5%; right: 5%; z-index: 8; background: #793d3c; padding: 12px; text-align: center; font-size: 13px; border-radius: 6px; }
.footer { min-height: 74px; display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #7e969f; font-size: 10px; }
.keyboard-hint { display: inline-flex; align-items: center; gap: 8px; }
.keyboard-hint > span { color: #4b6571; margin: 0 4px; }
.footer-right { font: 9px ui-monospace, Consolas, monospace; letter-spacing: .09em; }
.footer-right > span { margin: 0 8px; color: #4b6571; }
.mobile-hint { display: none; }
.touch-controls { margin: 14px 0 0; display: flex; justify-content: space-between; gap: 12px; }
.touch-controls > div { display: flex; gap: 10px; }
.touch-controls button { touch-action: none; user-select: none; -webkit-user-select: none; border: 1px solid #3d545c; background: #203542; color: #e8eddc; border-radius: 12px; width: 62px; height: 56px; font: 700 26px system-ui, sans-serif; }
.touch-controls button:active { background: #41615d; }
.touch-controls .jump-control { background: #f4cd77; color: #182836; }
.touch-controls .sprint-control { font-size: 11px; letter-spacing: .07em; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
.game-shell:fullscreen { width: 100%; height: 100%; padding: 0; background: #0c151e; display: flex; flex-direction: column; justify-content: center; }
.game-shell:fullscreen .game-stage { max-height: calc(100svh - 60px); width: auto; max-width: 100%; align-self: center; height: calc((100vw) * 9 / 16); aspect-ratio: 16 / 9; border-radius: 0; }
.game-shell:fullscreen .topbar { height: 48px; padding: 0 20px; }
.game-shell:fullscreen .footer { display: none; }
@media (pointer: coarse) { .keyboard-hint { display: none; } .mobile-hint { display: inline; } }
@media (max-width: 900px) { .game-shell { padding: 0 18px; } .topbar { height: 70px; } .edition { display: none; } .menu-copy { top: 8%; } .menu-copy .eyebrow { font-size: 8px; margin-bottom: 17px; } h1 { font-size: clamp(36px, 7.5vw, 68px); } .tagline { margin: 14px 0 20px; font-size: 12px; } .button { min-height: 42px; padding: 9px 20px; font-size: 12px; } .level-tag { font-size: 7px; margin-top: 20px; } .menu-bottom { font-size: 7px; } .hud { padding: 16px 20px; } .hud-stats { gap: 18px; font-size: 14px; } .world-label strong { font-size: 22px; } .level-progress { top: 65px; left: 20px; right: 20px; } .screen-card { padding: 24px; } .footer-right { display: none; } .centered-screen { align-items: flex-start; } .screen-card { margin: auto; } }
@media (max-width: 600px) { .game-shell { padding: 0 10px; } .topbar { height: 62px; gap: 8px; } .wordmark { font-size: 12px; } .wordmark > span:first-child { font-size: 13px; padding: 0 2px; } .topbar-right { gap: 6px; } .icon-button { padding: 7px 8px; min-height: 36px; font-size: 10px; } .icon-button span { margin-left: 2px; font-size: 9px; } .fullscreen-label { display: none; } .game-stage { border-radius: 9px; } .menu-copy { top: 8%; left: 5%; max-width: 63%; } .menu-copy .eyebrow { font-size: 5px; margin-bottom: 9px; letter-spacing: .12em; gap: 5px; } .eyebrow > span { height: 4px; width: 4px; } h1 { font-size: clamp(27px, 8.6vw, 50px); } .tagline { margin: 8px 0 9px; font-size: 8px; line-height: 1.4; } .menu-actions { gap: 12px; } .button { min-height: 34px; padding: 7px 13px; font-size: 10px; } .text-button { min-height: 32px; font-size: 9px; padding: 5px 0; } .level-tag { margin: 10px 0 0; font-size: 5px; } .level-tag span { margin: 0 5px; } .menu-bottom { display: none; } .hud { padding: 10px 12px; height: 65px; } .world-label { gap: 6px; } .world-label strong { font-size: 17px; } .world-label > span { font-size: 5px; } .hud-stats { gap: 10px; font-size: 11px; } .health { font-size: 12px; letter-spacing: 1px; } .coin-icon { width: 10px; height: 13px; border-width: 2px; } .coins-stat { gap: 5px; } .time-stat { min-width: 30px; } .pause-button { width: 28px; height: 27px; font-size: 16px; } .level-progress { left: 12px; right: 12px; top: 48px; } .footer { min-height: 50px; font-size: 9px; } .screen-card { padding: 18px; margin: 0 auto; } .screen-card .eyebrow { font-size: 7px; margin-bottom: 10px; } h2 { font-size: 25px; margin-bottom: 12px; } .screen-card p:not(.eyebrow) { font-size: 10px; } .control-list { margin: 10px 0; } .control-list > div { padding: 4px 0; } .control-list > div > span:first-child { font-size: 10px; } .results { padding: 10px 0; margin-top: 12px; } .results strong { font-size: 20px; } .results span { font-size: 6px; } .stacked-actions { margin-top: 14px; gap: 7px; } .toast { bottom: 15px; padding: 7px 10px; font-size: 9px; } }
@media (max-height: 600px) and (min-width: 600px) { .game-shell { width: min(100%, calc((100svh - 64px) * 16 / 9 + 28px)); padding: 0 14px; } .topbar { height: 40px; } .wordmark { font-size: 12px; } .icon-button { min-height: 30px; padding: 3px 8px; } .footer { min-height: 24px; font-size: 8px; } .game-stage { border-radius: 7px; } .screen-card { padding: 20px 25px; } .screen-card .eyebrow { margin-bottom: 10px; } .control-list { margin: 10px 0; } .stacked-actions { margin-top: 16px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition: none !important; } }
@media (max-width: 600px) { .keyboard-hint { display: none; } .mobile-hint { display: inline; } .menu-actions .button { min-height: 40px; } .topbar .icon-button { min-height: 40px; } }
@media (max-width: 900px) { .menu-details { margin-top: 7px; gap: 12px; } .menu-details .text-button { font-size: 9px; } .level-options { margin: 15px 0; gap: 10px; } .level-option { padding: 16px; min-height: 180px; gap: 10px; } .level-option strong { font-size: 20px; } .power-status { top: 76px; right: 20px; } }
@media (max-width: 600px) { .menu-details { margin-top: 2px; gap: 10px; } .menu-details .text-button { min-height: 24px; font-size: 7px; } .menu-details .level-tag { font-size: 4px; letter-spacing: .06em; } .journey-card { padding: 13px; } .journey-card h2 { font-size: 20px; } .level-options { gap: 8px; margin: 10px 0; } .level-option { min-height: 141px; padding: 10px; gap: 8px; } .level-number { font-size: 6px; } .level-option strong { font-size: 16px; } .level-option > span:not(.level-number):not(.level-state) { font-size: 8px; } .level-state { font-size: 6px; padding-top: 3px; } .journey-card .small-note { font-size: 8px !important; } .power-status { right: 12px; top: 57px; font-size: 8px; padding: 4px 7px; } }
@media (max-width: 900px) { .boss-hud { left: 20px; top: 76px; padding: 7px 10px; } .boss-label { font-size: 8px; gap: 7px; } .boss-label > span { font-size: 7px; } }
@media (max-width: 600px) { body[data-game-state="levels"] .game-stage, body[data-game-state="win"] .game-stage { aspect-ratio: auto; height: min(650px, calc(100svh - 130px)); } .level-options { grid-template-columns: 1fr; } .level-option { min-height: 116px; } .level-number { font-size: 9px; } .level-option > span:not(.level-number):not(.level-state) { font-size: 11px; } .level-state { font-size: 8px; } .boss-hud { top: 57px; left: 12px; padding: 5px 7px; } .boss-label { display: block; font-size: 7px; } .boss-label > span { display: block; margin-top: 2px; text-align: left; font-size: 6px; } .boss-pips { margin-top: 4px; gap: 4px; } .boss-pips > span { height: 4px; } .campaign-summary { margin-top: 15px; } .campaign-summary .results strong { font-size: 20px; } }
@media (max-width: 900px) { .hat-status { top: 109px; } .world-switch { margin-bottom: 10px; } }
@media (max-width: 600px) { .hat-status { top: 82px; } .world-switch button { padding: 6px 15px; min-height: 38px; font-size: 10px; } .screen-card .world-description { font-size: 7px; } }
.thermos-status { top: 161px; border-color: #e7b67c; color: #ffe0af; background: #543f32ed; }
.touch-controls .brew-control { font-size: 11px; background: #644b39; color: #ffe0af; }
.snow-option { background: linear-gradient(140deg, #2b5675, #172e48); }
.iceworks-option { background: linear-gradient(140deg, #365f73, #193645); }
.fortress-option { background: linear-gradient(140deg, #414c73, #242b45); }
@media (max-width: 900px) { .thermos-status { top: 142px; } }
@media (max-width: 600px) { .thermos-status { top: 107px; } .world-switch button { padding: 6px 11px; } .touch-controls button { width: 57px; } .touch-controls > div { gap: 7px; } }
.pound-status { top: 196px; border-color: #deb875; color: #f8db9e; background: #534735ed; }
.touch-controls .pound-control { font-size: 10px; background: #68553b; color: #ffe3a8; }
.outpost-option { background: linear-gradient(140deg, #815e51, #3c3544); }
.canyon-option { background: linear-gradient(140deg, #936848, #493d42); }
.citadel-option { background: linear-gradient(140deg, #6f5963, #32304a); }
.world-switch { flex-wrap: wrap; }
@media (max-width: 900px) { .pound-status { top: 175px; } }
@media (max-width: 600px) { .pound-status { top: 132px; } .world-switch button { padding: 6px 8px; } .touch-controls button { width: 49px; min-width: 44px; } .touch-controls > div { gap: 5px; } .touch-controls { gap: 5px; } }
.hurricane-option { grid-column: 1 / -1; min-height: 140px; background: linear-gradient(130deg, #884d46, #442d42); border-color: #c18a69; }
.mission-status { position: absolute; top: 105px; left: 28px; padding: 8px 12px; background: #132e38ed; border: 1px solid #8ce0c4; border-radius: 5px; color: #cbf6d9; font: 700 12px ui-monospace, Consolas, monospace; }
.airship-option { background: linear-gradient(140deg, #416f7b, #203b51); }
.engine-option { background: linear-gradient(140deg, #96604b, #303c50); }
.wardrobe-card { width: min(100%, 1060px); max-width: 1060px; }
.wardrobe-heading { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.wardrobe-heading h2 { margin-bottom: 0; }
.wallet { color: var(--gold); white-space: nowrap; }
.wardrobe-layout { display: grid; grid-template-columns: 270px 1fr; gap: 24px; }
.wardrobe-preview { text-align: center; }
.wardrobe-preview canvas { width: 100%; height: 235px; object-fit: contain; background: #142b35; border-radius: 10px; }
.wardrobe-preview > strong { display: block; margin-top: 10px; }
.wardrobe-preview p { min-height: 26px; margin: 8px 0; }
.wardrobe-preview #shopFeedback { color: var(--gold); font-size: 12px; }
.wardrobe-preview #previewEmoteButton { display: block; margin: 8px auto 0; min-height: 40px; }
.wardrobe-preview #previewEmoteButton[hidden] { display: none; }
.wardrobe-items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; max-height: min(340px, 42svh); overflow-y: auto; align-content: start; scrollbar-gutter: stable; padding: 4px; }
.wardrobe-item { display: flex; min-height: 86px; flex-direction: column; align-items: flex-start; gap: 7px; padding: 12px; text-align: left; border: 1px solid #43616b; border-radius: 7px; background: #1a3541; color: #edf0dc; cursor: pointer; }
.wardrobe-item[aria-pressed="true"] { border-color: var(--gold); background: #354b46; }
.wardrobe-item strong { font-size: 12px; }
.wardrobe-item > span:last-child { color: #b9d4bf; font: 9px ui-monospace, Consolas, monospace; }
.cosmetic-icon { color: var(--gold); font-size: 24px; line-height: 30px; }
button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
@media (max-width: 900px) { .wardrobe-layout { grid-template-columns: 200px 1fr; gap: 15px; } .wardrobe-items { grid-template-columns: repeat(2, 1fr); } .mission-status { left: 20px; top: 105px; font-size: 10px; } }
@media (max-width: 600px) { body[data-game-state="shop"] .game-stage, body[data-game-state="help"] .game-stage { aspect-ratio: auto; height: min(720px, calc(100svh - 130px)); } .wardrobe-heading { align-items: flex-start; } .wardrobe-heading h2 { font-size: 22px; } .wardrobe-layout { grid-template-columns: 1fr; } .wardrobe-preview { display: grid; grid-template-columns: 100px 1fr; gap: 0 12px; text-align: left; } .wardrobe-preview canvas { grid-row: span 5; height: 160px; } .wardrobe-preview p { min-height: 0; margin: 5px 0; } .wardrobe-preview .button { justify-self: start; min-height: 40px; } .wardrobe-preview #previewEmoteButton { grid-column: 2; justify-self: start; margin: 4px 0; } .wardrobe-items { grid-template-columns: repeat(2, 1fr); } .wardrobe-item { min-height: 86px; } .wardrobe-card .world-switch button { min-height: 44px; } .mission-status { top: 57px; left: 12px; font-size: 8px; padding: 5px 7px; } .menu-details { flex-wrap: wrap; max-width: 230px; gap: 2px 10px; } }
.mode-picker { padding: 0; margin: 17px 0; border: 0; max-width: 390px; }
.mode-picker legend { padding: 0; color: var(--gold); font-size: 11px; margin-bottom: 6px; }
.mode-options { display: flex; gap: 9px; }
.mode-options button { text-align: left; min-height: 52px; padding: 8px 13px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink); background: var(--panel); }
.mode-options button[aria-pressed="true"] { border-color: var(--gold); background: #35433c; box-shadow: inset 0 0 0 1px var(--gold); }
.mode-options strong, .mode-options span { display: block; }
.mode-options strong { font-size: 13px; }
.mode-options span, .mode-picker p { color: var(--muted); font-size: 10px; }
.mode-picker p { margin: 7px 0 0; }
.menu-copy { top: 6%; }
.menu-copy h1 { font-size: clamp(40px, 6.4vw, 92px); }
.menu-copy .tagline { margin: 14px 0; }
.arsenal-status { position: absolute; left: 28px; top: 170px; max-width: 70%; padding: 7px 12px; background: var(--panel); color: var(--gold); border: 1px solid var(--gold); border-radius: 5px; font: 700 11px ui-monospace, Consolas, monospace; }
.touch-controls .attack-control { font-size: 9px; background: #784c3f; color: var(--ink); }
@media (max-width: 900px) { .menu-copy h1 { font-size: clamp(35px, 6.6vw, 65px); } .menu-copy .eyebrow { margin-bottom: 12px; } .mode-picker { margin: 10px 0; } .mode-options button { min-height: 46px; padding: 6px 10px; } .mode-options strong { font-size: 11px; } .mode-options span, .mode-picker p { font-size: 8px; } .mode-picker legend { font-size: 9px; } }
@media (max-width: 600px) { body[data-game-state="menu"] #game { object-fit: cover; object-position: right bottom; } body[data-game-state="menu"] .game-stage { aspect-ratio: auto; height: 535px; } .menu-screen { overflow-y: auto; background: linear-gradient(90deg, #101d2bf5, #101d2b99); } .menu-copy { position: relative; top: auto; left: auto; padding: 26px 20px; max-width: 100%; } .menu-copy h1 { font-size: 55px; } .menu-copy .eyebrow { font-size: 8px; margin-bottom: 18px; } .menu-copy .tagline { font-size: 12px; margin: 14px 0; } .mode-picker { margin: 18px 0; } .mode-picker legend { font-size: 12px; margin-bottom: 7px; } .mode-options { gap: 8px; } .mode-options button { min-height: 56px; padding: 8px 12px; } .mode-options strong { font-size: 13px; } .mode-options span, .mode-picker p { font-size: 10px; } .menu-copy .button { min-height: 44px; font-size: 12px; } .menu-copy .text-button { min-height: 44px; font-size: 11px; } .menu-details { flex-wrap: wrap; } .menu-details .level-tag { font-size: 7px; } .arsenal-status { left: 12px; top: 112px; font-size: 7px; padding: 4px 7px; max-width: 85%; } .touch-controls { flex-wrap: wrap; } .touch-controls > div { flex-wrap: wrap; } .touch-controls button { width: 44px; height: 48px; } }
.midway-option { background: linear-gradient(140deg, #6d5278, #2b304c); }
.coaster-option { background: linear-gradient(140deg, #567a7d, #2c3c54); }
.ringmaster-option { background: linear-gradient(140deg, #865267, #34334c); }
.vehicle-boost { position: absolute; top: 201px; left: 28px; width: 235px; height: 12px; accent-color: #b9e7cb; }
body[data-vehicle="bumper"] .mission-status { top: 160px; }
body[data-vehicle="coaster"] .touch-controls > div:empty { display: none; }
@media (max-width: 600px) { body[data-vehicle="bumper"] .mission-status { top: 103px; } .vehicle-boost { top: 82px; left: auto; right: 12px; width: 95px; height: 8px; } body[data-vehicle="coaster"] .touch-controls { justify-content: flex-end; } }

.menu-copy { top: 7%; max-width: 49%; }
.menu-copy h1 { font-size: clamp(48px, 6.4vw, 88px); }
.menu-copy .eyebrow { margin-bottom: 16px; }
.menu-copy .tagline { margin: 15px 0 20px; font-size: clamp(12px, 1.2vw, 17px); line-height: 1.5; }
.mode-picker { margin: 14px 0; }
.mode-options button { min-width: 112px; min-height: 46px; text-align: center; }
.mode-options button[aria-pressed="true"] { background: #354b47; border-color: var(--gold); box-shadow: inset 0 0 0 1px var(--gold), 0 0 20px #f4cd7714; }
.menu-details { flex-wrap: wrap; column-gap: 18px; row-gap: 0; margin-top: 9px; }
.menu-details .text-button { min-height: 44px; }
.menu-welcome { position: absolute; right: 7%; top: 6.5%; margin: 0; color: var(--gold); font: 500 clamp(24px, 3vw, 42px)/1.5 "Segoe UI", Tahoma, sans-serif; text-shadow: 0 3px 16px #101d2b; }
.menu-tea-sign { position: absolute; left: 90.2%; top: 79.8%; transform: translate(-50%, -50%); color: var(--ink); font: 600 clamp(12px, 1.3vw, 20px)/1.3 "Segoe UI", Tahoma, sans-serif; pointer-events: none; }
body:not([data-game-state="menu"]) .menu-arabic { display: none; }
.menu-tour-controls { position: absolute; right: 5%; bottom: 3%; display: flex; flex-direction: column; align-items: flex-end; gap: 7px; }
.menu-scene-label { color: var(--ink); font: 9px ui-monospace, Consolas, monospace; letter-spacing: .08em; text-shadow: 0 2px 6px #101d2b; }
.menu-tour-controls > div { display: flex; gap: 8px; }
.menu-tour-controls button { min-height: 44px; padding: 8px 12px; border: 1px solid #80968c; border-radius: 6px; color: var(--ink); background: #102333de; font-size: 11px; }
.menu-tour-controls button:hover { border-color: var(--gold); background: #29453f; }
.menu-tour-controls button:disabled { cursor: default; opacity: .75; }
@media (max-width: 1100px) and (min-width: 901px) { .menu-copy h1 { font-size: 58px; } .menu-copy .eyebrow { margin-bottom: 10px; } .menu-copy .tagline { margin: 10px 0; } .mode-picker { margin: 10px 0; } .menu-details .level-tag { flex-basis: 100%; } }
@media (max-width: 900px) {
  body[data-game-state="menu"] .game-stage { height: auto; min-height: 0; aspect-ratio: auto; }
  body[data-game-state="menu"] #game { position: absolute; bottom: 70px; left: 0; width: 100%; height: 280px; object-fit: cover; object-position: right bottom; }
  .menu-screen { position: relative; padding-bottom: 350px; overflow: visible; background: linear-gradient(180deg, #101d2b 0%, #101d2b 55%, #101d2b00 70%); }
  .menu-copy { position: relative; top: auto; left: auto; max-width: 100%; padding: 28px 24px 0; }
  .menu-copy h1 { font-size: 64px; }
  .menu-copy .eyebrow { font-size: 9px; margin-bottom: 16px; }
  .menu-copy .tagline { font-size: 14px; margin: 16px 0; }
  .mode-picker { margin: 16px 0; }
  .mode-picker legend { font-size: 11px; margin-bottom: 8px; }
  .mode-options button { min-height: 48px; min-width: 122px; padding: 10px 15px; }
  .mode-options strong { font-size: 14px; }
  .menu-copy .button, .menu-copy .text-button { min-height: 44px; font-size: 12px; }
  .menu-details { gap: 0 18px; }
  .menu-details .level-tag { font-size: 8px; }
  .menu-bottom { display: none; }
  .menu-welcome { top: auto; bottom: 302px; right: 24px; font-size: 25px; }
  .menu-tea-sign { top: auto; left: auto; right: 7%; bottom: 118px; transform: none; font-size: 16px; }
  .menu-tour-controls { bottom: 0; left: 0; right: 0; min-height: 70px; padding: 12px 18px; flex-direction: row; justify-content: space-between; align-items: center; gap: 10px; background: var(--panel); border-top: 1px solid var(--line); }
  .menu-scene-label { max-width: 42%; font-size: 8px; line-height: 1.7; }
  .menu-tour-controls button { font-size: 10px; padding: 8px 10px; }
}
@media (max-width: 600px) {
  .menu-copy { padding: 25px 20px 0; }
  .menu-copy h1 { font-size: 55px; }
  .menu-copy .eyebrow { font-size: 8px; }
  .menu-copy .tagline { font-size: 12px; }
  .menu-details .level-tag { flex-basis: 100%; margin-top: 5px; }
  .menu-tour-controls { padding: 10px; gap: 6px; }
  .menu-tour-controls > div { gap: 6px; }
  .menu-tour-controls button { padding: 8px; }
  .menu-scene-label { max-width: 34%; font-size: 7px; }
}