@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=Roboto+Condensed:wght@400;500;600;700;800&display=swap');
:root{color-scheme:light;--ink:#232923;--paper:#efe9da;--orange:#f25c2a;--yellow:#ffe16c;--green:#347566;--line:#2b3028}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:'Roboto Condensed','Arial Narrow',Arial,sans-serif;font-size:16px}button,a{-webkit-tap-highlight-color:transparent}button{font:inherit;color:inherit;cursor:pointer}button:disabled{cursor:default;opacity:.55}button:focus-visible,a:focus-visible{outline:3px solid #ff612b;outline-offset:4px}button{touch-action:manipulation}button svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.app{max-width:1440px;padding:0 42px;margin:auto}.topbar{height:91px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid #282d2930}.brand{display:flex;gap:12px;align-items:center;text-decoration:none;color:var(--ink);font-family:'Oswald',Impact,sans-serif;font-weight:700;font-size:23px;line-height:1.1}.brand-mark{display:grid;place-items:center;width:44px;height:48px;background:var(--orange);border:2px solid var(--ink);border-radius:7px 7px 12px 7px;transform:rotate(-7deg);font-size:28px;box-shadow:2px 3px 0 var(--ink)}.brand-sub{display:block;font-size:12px;letter-spacing:2px;margin-top:4px}.top-actions{display:flex;align-items:center;gap:20px}.edition{font-size:12px;letter-spacing:2px;color:#65685f;margin-right:10px}.icon-button,.help-button{background:transparent;border:0;display:flex;align-items:center;gap:12px;font-weight:600}.icon-button{height:40px;width:42px;justify-content:center;border-left:1px solid #282d2930;padding-left:14px}.help-button span{display:grid;place-items:center;border:1.7px solid var(--ink);width:23px;height:23px;border-radius:50%}.title-row{display:flex;justify-content:space-between;align-items:center;padding:30px 0 27px}.eyebrow{font-size:12px;letter-spacing:2.4px;font-weight:700;margin-bottom:8px}h1{font-family:'Oswald',Impact,'Arial Narrow',sans-serif;font-size:clamp(38px,5vw,68px);font-weight:700;letter-spacing:-1.7px;line-height:1.05;margin:0}h1 span{color:var(--orange)}.mission{border-left:3px solid var(--orange);padding-left:18px}.mission-label{font-size:11px;letter-spacing:1.8px;display:block;margin-bottom:8px;color:#64675e}.mission strong{font-size:20px;line-height:1.22;font-weight:600}.game-shell{border:2px solid var(--line);border-radius:12px;overflow:hidden;box-shadow:0 6px 0 #252b2220;background:var(--ink)}.game-topline{display:flex;align-items:center;justify-content:space-between;padding:12px 20px;color:#f4efd9;gap:20px;font-size:12px;letter-spacing:1px}.game-topline>span:first-child{white-space:nowrap;font-weight:700}.game-topline i{display:inline-block;width:7px;height:7px;background:var(--orange);border-radius:50%;margin-right:7px}.game-topline>span:nth-child(2){color:#c6c8b8;font-size:14px;letter-spacing:0}.timer{font-variant-numeric:tabular-nums;font-weight:700;font-size:17px;min-width:49px;text-align:right}.timer.urgent{color:#ff855d}.stage{position:relative;aspect-ratio:1.73;background:#78907a;overflow:hidden;isolation:isolate}canvas{display:block;width:100%;height:100%;object-fit:fill}.stage:after{content:'';position:absolute;inset:0;box-shadow:inset 0 0 90px #26352320;pointer-events:none;z-index:2}.station-markers{position:absolute;inset:0;pointer-events:none;z-index:3}.station-marker{position:absolute;transform:translate(-50%,-50%);background:#fbf0d6;border:2px solid var(--ink);border-radius:4px;box-shadow:3px 3px 0 #222a2360;padding:5px 10px;text-align:left;pointer-events:auto;min-width:100px;transition:transform .15s}.station-marker:hover{transform:translate(-50%,-50%) scale(1.07)}.station-marker .name{font-family:'Oswald',Impact,sans-serif;font-size:17px;display:block}.station-marker .status{font-size:10px;font-weight:700;letter-spacing:1px}.station-marker .number{position:absolute;left:-12px;top:-12px;width:25px;height:25px;border:2px solid var(--ink);border-radius:50%;background:var(--yellow);text-align:center;line-height:21px;font-size:12px;font-weight:700}.station-marker.empty{background:#dbd7c8;color:#565d55}.station-marker.found{background:#ffe16c}.station-marker.target{outline:3px dashed #fff3ad;outline-offset:5px}.station-marker.visiting{transform:translate(-50%,-50%) scale(1.05)}.start-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:0;background:linear-gradient(90deg,#253c2633,#253c261a);z-index:8;padding-bottom:65px}.start-character{height:81%;max-width:40%;object-fit:contain;filter:drop-shadow(10px 12px 1px #27342a35);transform:rotate(-5deg);position:relative;z-index:2;margin-right:-18px;margin-top:22px}.start-card{width:355px;max-width:45%;background:#fff3d5;border:3px solid var(--ink);border-radius:4px;box-shadow:7px 8px 0 #263124b3;padding:29px;transform:rotate(2deg);position:relative}.paper-label{display:inline-block;color:#b74824;letter-spacing:1.3px;font-weight:700;font-size:12px;margin-bottom:9px}h2{font-family:'Oswald',Impact,'Arial Narrow',sans-serif;font-size:36px;line-height:1.08;letter-spacing:-.7px;margin:0 0 12px}.start-card p{font-size:22px;line-height:1.23;margin:14px 0}.start-card .start-goal{font-size:16px;color:#5c6054;line-height:1.4;margin-bottom:20px}.primary{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;background:var(--orange);border:2px solid var(--ink);border-radius:5px;padding:14px 18px;box-shadow:0 4px 0 var(--ink);font-family:'Oswald',Impact,sans-serif;font-size:21px;font-weight:600;transition:transform .1s,box-shadow .1s}.primary:hover{background:#ff7338;transform:translateY(-1px)}.primary:active,.primary.pumping{transform:translateY(3px);box-shadow:0 1px 0 var(--ink);background:var(--yellow)}.start-hint{display:block;font-size:12px;text-align:center;margin-top:15px;color:#66685b}.hud{position:absolute;bottom:17px;left:20px;right:20px;display:flex;align-items:stretch;justify-content:space-between;gap:14px;z-index:6;pointer-events:none}.hud-cell{background:#fff4dbee;border:2px solid var(--ink);border-radius:6px;box-shadow:3px 4px 0 #242e2866;padding:13px 17px;width:25%}.hud-label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:1px;font-weight:700}.hud-label strong{font-size:14px;letter-spacing:0}.bar{height:11px;background:#d5d3ba;border-radius:2px;overflow:hidden;margin:8px 0 5px;border:1px solid #2831293d}.bar div{height:100%;width:100%;background:var(--green);transition:width .15s}.fuel-bar{background-image:repeating-linear-gradient(90deg,transparent,transparent calc(10% - 2px),#f9edd5 calc(10% - 2px),#f9edd5 10%)}.stress-bar div{background:var(--orange);width:0%}.hud-caption{font-size:12px;color:#5d6255}.can-cell{display:flex;align-items:center;gap:11px;width:225px;padding:8px 15px;background:var(--yellow);position:relative}.can-cell img{width:48px;height:64px;object-fit:contain;transform:rotate(-9deg)}.can-number{display:flex;align-items:baseline;gap:6px}.can-number strong{font-family:'Oswald',Impact,sans-serif;font-size:36px;line-height:1.2}.can-number span{font-size:18px}.can-pips{display:flex;gap:3px;position:absolute;right:15px;bottom:11px}.can-pips i{height:6px;width:8px;background:#c8aa56;border-radius:1px}.can-pips i.filled{background:#344f37}.controls{padding:16px 18px;display:flex;justify-content:space-between;align-items:center;gap:15px;background:#fbf5e6;min-height:78px}.keyboard-hints{display:flex;align-items:center;gap:22px;font-size:14px;color:#63665c}.keyboard-hints>span{display:flex;align-items:center;gap:5px}kbd{font-family:inherit;background:#e7e3d6;border:1px solid #d2d1c1;border-bottom:3px solid #c8c9b9;border-radius:4px;padding:3px 5px;font-size:12px;color:#3c4439;min-width:22px;text-align:center}.action-controls{display:flex;gap:10px}.horn-button,.action-button{display:flex;justify-content:center;align-items:center;gap:12px;border:1.5px solid var(--ink);border-radius:5px;padding:11px 15px;background:#f5edd9;font-weight:700;font-size:15px}.horn-button:hover{background:var(--yellow)}.action-button{background:var(--ink);color:#fff3d3;min-width:195px}.action-button span{font-size:11px;border:1px solid #798274;padding:2px 5px;border-radius:3px}.under-game{display:flex;justify-content:space-between;gap:15px;font-size:13px;color:#6d7165;padding:21px 3px}.tip b{color:#3e463c;font-weight:600}.chapter{font-size:10px;letter-spacing:1.5px;white-space:nowrap}footer{border-top:1px solid #282d2923;margin-top:20px;padding:20px 0 28px;display:flex;justify-content:space-between;font-size:11px;color:#8c8e80}footer span:first-child{letter-spacing:1.3px}.pause-button{position:absolute;top:16px;right:17px;z-index:5;width:36px;height:35px;font-size:20px;border:2px solid var(--ink);border-radius:5px;background:#fff3d9e6}.speech{position:absolute;z-index:5;background:#fff7dd;border:2px solid #283029;border-radius:14px 14px 14px 1px;box-shadow:2px 3px 0 #25312850;padding:7px 12px;font-size:15px;font-weight:700;pointer-events:none;transform:translate(-50%,-100%);opacity:0;transition:opacity .2s;max-width:240px;text-align:center}.speech.visible{opacity:1}.world-notice{position:absolute;z-index:7;top:20px;left:50%;transform:translate(-50%,-15px) rotate(-2deg);background:var(--yellow);border:2px solid var(--ink);padding:9px 18px;box-shadow:3px 4px 0 #28342b66;font-size:20px;font-family:'Oswald',Impact,sans-serif;opacity:0;transition:opacity .2s,transform .2s;pointer-events:none;white-space:nowrap}.world-notice.visible{opacity:1;transform:translate(-50%,0) rotate(-2deg)}.interaction{position:absolute;z-index:9;right:6%;top:13%;width:310px;max-width:46%;padding:20px;background:#fff3d8;border:3px solid var(--ink);border-radius:5px;box-shadow:6px 7px 0 #27342b88}.interaction-head{display:flex;justify-content:space-between;align-items:center;font-size:11px;letter-spacing:1.5px;font-weight:700;color:#a94829;margin-bottom:10px}.interaction-head button{font-family:Arial;font-size:25px;border:0;padding:0 3px;background:none;line-height:1}.interaction h2{font-size:30px}.interaction p{line-height:1.4;margin:12px 0 15px;color:#50594e;font-size:17px;min-height:48px}.interaction .primary{font-size:19px;padding:11px 14px}.interaction-foot{font-size:12px;text-align:center;margin-top:12px;color:#737466}.pump-track{height:12px;background:#ded8bc;border:1px solid #323c3033;border-radius:2px;margin-bottom:15px;overflow:hidden}.pump-track div{height:100%;width:0;background:var(--green)}.queue-line{display:flex;justify-content:space-between;font-size:14px;padding-bottom:14px}.pause-screen,.end-screen{position:absolute;inset:0;z-index:12;background:#25312799;display:grid;place-items:center;padding:20px 20px 100px;backdrop-filter:blur(3px)}.pause-screen>div,.end-card{background:#fff3d8;border:3px solid var(--ink);border-radius:6px;padding:29px;width:370px;max-width:100%;box-shadow:7px 8px 0 #1e2826a0}.pause-screen p,.end-card p{font-size:18px;line-height:1.45}.end-card h2{font-size:43px}.end-stats{display:flex;justify-content:space-between;gap:20px;border-top:1px dashed #aaa58a;padding:15px 0 20px;font-size:15px}.hidden{display:none!important}.touch-controls{display:none;gap:7px}.touch-controls button{font-size:25px;font-weight:bold;border:1.5px solid var(--ink);border-radius:5px;background:#ece5d2;width:48px;height:44px;touch-action:none}.touch-controls button:active{background:var(--yellow)}dialog{color:var(--ink);max-width:min(480px,calc(100% - 30px));background:#fff2d5;padding:33px;border:3px solid var(--ink);border-radius:6px;box-shadow:8px 9px 0 #25312680}dialog::backdrop{background:#223126a8;backdrop-filter:blur(4px)}dialog p,dialog li{font-size:17px;line-height:1.5}dialog ul{padding-left:20px}dialog li{margin-bottom:9px}.close-help{position:absolute;right:16px;top:12px;font-size:29px;line-height:1;background:none;border:0}.asset-error{position:absolute;inset:0;background:#fff2d5;display:grid;place-items:center;text-align:center;z-index:30;padding:30px}.hud.low .fuel-bar div{background:var(--orange)}.game-shell.shake{animation:shake .3s}@keyframes shake{20%{transform:translateX(-4px)}40%{transform:translateX(4px)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}@media(min-width:1500px){.app{max-width:1500px}.stage{aspect-ratio:1.85}}@media(max-width:1100px){.app{padding:0 25px}.keyboard-hints{gap:12px}.keyboard-hints>span:last-child{display:none}.stage{aspect-ratio:1.6}.start-card{padding:22px;width:330px}.start-card h2{font-size:31px}.hud-cell{width:28%}.can-cell{width:210px}.interaction{top:9%}}@media(max-width:760px){.app{padding:0 13px}.topbar{height:72px}.edition{display:none}.top-actions{gap:10px}.title-row{padding:23px 0 20px}.mission{padding-left:12px}.mission strong{font-size:15px}.mission-label{font-size:9px;letter-spacing:1px}.eyebrow{font-size:10px;letter-spacing:1.5px}h1{font-size:43px}.game-topline{padding:10px 12px}.game-topline>span:nth-child(2){display:none}.stage{aspect-ratio:1.07}.start-screen{padding-bottom:90px}.start-character{height:68%;max-width:45%;margin-right:-36px;margin-left:-20px}.start-card{width:265px;max-width:57%;padding:20px 15px;transform:rotate(1deg)}.start-card h2{font-size:28px}.paper-label{font-size:9px;letter-spacing:1px}.start-card p{font-size:19px;margin:10px 0}.start-card .start-goal{font-size:14px;margin-bottom:15px}.primary{font-size:19px;padding:12px 13px}.start-hint{font-size:10px;line-height:1.4}.hud{left:9px;right:9px;bottom:10px;gap:6px}.hud-cell{width:33%;padding:10px 9px}.hud-label{font-size:9px;letter-spacing:.3px;gap:3px;flex-wrap:wrap}.hud-label strong{font-size:12px}.hud-caption{font-size:9px}.can-cell{gap:5px}.can-cell img{width:31px;height:46px}.can-number strong{font-size:26px}.can-number span{font-size:13px}.can-pips{right:8px;bottom:7px;gap:2px}.can-pips i{width:5px;height:4px}.controls{padding:11px 10px;gap:8px;min-height:68px}.keyboard-hints{display:none}.touch-controls{display:flex}.action-controls{gap:7px;flex:1;justify-content:flex-end}.horn-button{padding:9px}.horn-button span{display:none}.action-button{min-width:0;flex:1;max-width:185px;font-size:13px;padding:10px 9px;gap:7px}.action-button span{display:none}.under-game{font-size:12px;padding:16px 0}.chapter{display:none}footer{margin-top:5px;font-size:9px;gap:16px}.station-marker{padding:4px 6px;min-width:66px;border-width:1.5px;max-width:90px}.station-marker .name{font-size:12px}.station-marker .status{font-size:8px;letter-spacing:.3px}.station-marker .number{width:20px;height:20px;line-height:17px;font-size:9px;left:-8px;top:-11px;border-width:1.5px}.station-markers{top:3%}.interaction{right:5%;top:15%;width:280px;max-width:76%;padding:16px}.interaction h2{font-size:27px}.interaction p{font-size:15px;min-height:35px}.interaction .primary{font-size:17px}.speech{font-size:12px;padding:6px 9px;max-width:180px}.world-notice{font-size:16px;top:14px;max-width:85%;white-space:normal;text-align:center}.pause-button{top:9px;right:9px;width:29px;height:29px;font-size:16px}.pause-screen,.end-screen{padding:20px 20px 85px}.end-card{padding:21px}.end-card h2{font-size:33px}.end-card p{font-size:16px}.end-stats{font-size:12px}.help-button{font-size:14px;gap:6px}.brand{font-size:19px}.brand-mark{width:37px;height:40px;font-size:24px}.brand-sub{font-size:10px;letter-spacing:1.3px}}@media(max-width:390px){h1{font-size:36px}.mission strong{font-size:13px}.title-row{gap:7px}.start-card{padding:15px 11px}.start-card h2{font-size:23px}.start-card .start-goal{font-size:12px}.start-card p{font-size:17px}.hud-caption{display:none}.hud-cell{padding:8px 6px}.can-cell img{width:23px}.action-button{font-size:12px}.touch-controls button{width:39px}.can-pips{display:none}}@media(pointer:coarse) and (min-width:761px){.touch-controls{display:flex}.keyboard-hints{display:none}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

/* Keep game controls and readouts legible on small screens. */
.hud-label,.station-marker .status,.mission-label,.chapter,.brand-sub,footer{font-size:12px}.station-marker .status{letter-spacing:.3px}.hud-caption{font-size:12px}
@media(max-width:760px){.stage{aspect-ratio:auto;height:clamp(430px,68vw,520px)}.start-card{max-width:63%;width:285px}.start-character{max-width:42%;margin-right:-22px;margin-left:-16px}.start-screen{padding-bottom:80px}.station-markers{top:0}.station-marker{max-width:120px;min-width:82px}.station-marker .name{font-size:14px}.station-marker .status,.station-marker .number{font-size:12px}.station-marker .number{width:23px;height:23px;line-height:20px}.hud-label,.hud-label strong{font-size:12px}.hud-caption{display:none}.paper-label,.start-hint,.eyebrow,.mission-label,.brand-sub{font-size:12px}.paper-label{letter-spacing:.6px}.start-hint{font-size:12px}.can-cell{padding:8px}.can-number strong{font-size:27px}.hud-cell{min-height:75px}.hud-label{letter-spacing:0}.brand-sub{letter-spacing:.5px}footer{font-size:12px;line-height:1.4}.action-button{font-size:14px}.start-card .start-goal{font-size:15px}.start-card h2{font-size:28px}}
@media(max-width:390px){.start-card{padding:16px 12px}.start-card h2{font-size:26px}.start-card .start-goal{font-size:14px}.mission-label{display:none}.hud-label,.hud-label strong{font-size:12px}.hud-cell{padding:8px 6px}.can-cell img{width:23px}.action-button{font-size:13px}.can-number span{font-size:12px}}

/* Expanded district, character selection, and three-lane controls. */
.route-map{display:flex;gap:5px;padding:9px 12px;background:#e1dbc9;overflow-x:auto;scrollbar-width:thin;border-bottom:2px solid var(--ink)}.route-stop{flex:1;min-width:90px;display:flex;align-items:center;gap:7px;padding:8px;border:1px solid #8e947e;border-radius:4px;background:#f8efd7;text-align:left}.route-stop b{font-size:14px}.route-stop span{font-size:12px;line-height:1.15}.route-stop.found{background:var(--yellow)}.route-stop.empty{background:#c7c8bc;color:#50574f}.route-stop.target{outline:2px solid var(--orange);outline-offset:-2px}.route-stop:disabled{opacity:1;cursor:default}.route-stop.target b{color:#b63f17}.stage.choosing .hud,.stage.choosing .station-markers,.stage.choosing .pause-button{visibility:hidden}.hero-start.start-card{width:850px;max-width:94%;padding:22px 26px;transform:none}.start-screen{padding:22px;overflow:auto;align-items:safe center}.hero-start h2{font-size:32px}.hero-start .paper-label{font-size:14px}.hero-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;border:0;padding:0;margin:15px 0 8px;min-width:0}.hero-option{display:flex;flex-direction:column;align-items:center;position:relative;cursor:pointer;min-width:0;border:2px solid #b0ad95;border-radius:5px;background:#e9dfc5;overflow:hidden;padding:9px 8px 13px}.hero-option.selected{border-color:var(--orange);background:#ffe7a3;box-shadow:0 0 0 2px var(--orange)}.hero-option:has(input:focus-visible){outline:3px solid var(--ink);outline-offset:4px}.hero-option input{position:absolute;top:10px;left:10px;accent-color:#cb4b1b;width:18px;height:18px}.hero-option img{height:145px;width:100%;object-fit:contain;margin-bottom:6px}.hero-option b{font-family:'Oswald',Impact,sans-serif;font-size:20px;display:block;text-align:center}.hero-option small{display:block;font-size:14px;margin-top:5px;text-align:center;color:#58604f;line-height:1.2}.hero-start .hero-quote{font-size:17px;text-align:center;color:#92402c;line-height:1.3;margin:12px 0;min-height:24px}.hero-start .start-goal{font-size:16px;line-height:1.35;margin:10px 0 14px}.hero-start .primary{font-size:21px;padding:11px 18px}.hero-start .start-hint{font-size:14px;margin-top:12px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}.lane-controls{display:flex;gap:6px}.lane-controls button{width:42px;height:44px;font-size:24px;font-weight:700;border:2px solid var(--ink);background:var(--yellow);border-radius:5px}.lane-controls button:active{background:var(--orange)}.keyboard-hints{gap:12px;flex-wrap:wrap}.controls{gap:10px;flex-wrap:wrap}.hud-label{font-size:14px;letter-spacing:0}.hud-label strong{font-size:15px;white-space:nowrap}.hud-cell{width:29%}.can-cell{width:225px}.hud-caption,.station-marker .status{font-size:14px}.game-topline{font-size:14px}.world-notice{max-width:85%;white-space:normal;text-align:center}.action-controls{margin-left:auto}
@media(max-width:1050px){.keyboard-hints{display:none}.touch-controls{display:flex}.stage{min-height:560px}.hero-option img{height:130px}.hero-start.start-card{max-width:95%}}
@media(max-width:760px){.stage{height:560px;min-height:560px}.start-screen{padding:16px 10px}.hero-start.start-card{width:460px;max-width:100%;padding:16px}.hero-start h2{font-size:26px;margin-bottom:8px}.hero-start .paper-label{font-size:12px;margin-bottom:6px}.hero-picker{grid-template-columns:1fr;gap:7px;margin:8px 0}.hero-option{flex-direction:row;text-align:left;gap:12px;padding:4px 10px;min-height:83px}.hero-option input{left:9px;top:31px;width:16px;height:16px}.hero-option img{height:75px;width:78px;margin:0 0 0 18px;flex-shrink:0}.hero-option b{font-size:19px;text-align:left}.hero-option small{text-align:left;font-size:14px;line-height:1.2;margin-top:3px}.hero-start .hero-quote{font-size:15px;margin:10px 0;min-height:38px}.hero-start .start-goal{font-size:14px;line-height:1.3;margin:8px 0 12px}.hero-start .primary{font-size:19px;padding:10px 14px}.hero-start .start-hint{font-size:13px;line-height:1.35;margin-top:10px}.route-map{padding:7px 8px}.route-stop{min-width:79px;max-width:95px}.route-stop span{font-size:12px}.controls{padding:10px 8px;gap:7px}.touch-controls{gap:5px}.touch-controls button,.lane-controls button{width:43px;height:45px}.lane-controls{gap:5px}.action-controls{gap:6px;flex:1 1 150px}.horn-button{padding:9px}.action-button{font-size:14px}.hud{gap:5px;left:7px;right:7px}.hud-cell{width:33%;padding:8px 6px;min-height:77px}.hud-label,.hud-label strong{font-size:12px}.hud-caption{display:none}.can-cell{gap:3px}.can-cell img{width:24px}.can-number span{font-size:13px}.can-number strong{font-size:26px}.station-marker .status{font-size:12px}.game-topline{font-size:12px;padding:10px;gap:8px}.game-topline>span:nth-child(2){font-size:12px}.interaction{top:13%;max-width:88%;right:6%}.speech{font-size:14px}.under-game{font-size:14px}.hero-option b{line-height:1.15}}
@media(max-width:390px){.hero-start.start-card{padding:13px}.hero-option{gap:5px}.hero-option img{width:69px}.hero-option b{font-size:18px}.hero-option small{font-size:13px}.touch-controls button,.lane-controls button{width:38px}.action-controls{flex-basis:125px}.can-cell img{display:none}.hud-label{font-size:12px}}

.road-status{position:absolute;z-index:7;left:50%;top:70px;transform:translateX(-50%);width:max-content;max-width:85%;background:#fff3d5f5;color:#263328;border:2px solid var(--ink);border-radius:5px;padding:10px 14px;font-size:16px;line-height:1.3;text-align:center;pointer-events:none;box-shadow:3px 4px 0 #26332855}.stage.choosing .road-status{display:none}@media(max-width:760px){.road-status{top:74px;font-size:14px;max-width:90%;padding:8px 11px}}

/* Four heroes and the bridge finale. */
.hero-picker{grid-template-columns:repeat(4,minmax(0,1fr))}.hero-start.start-card{width:960px}.hero-option img{height:130px}.hero-option b{font-size:19px}.can-cell{width:255px}.stage.on-bridge .station-markers{visibility:hidden}.stage.on-bridge .speech{display:none}.stage{user-select:none}.end-stats{flex-wrap:wrap;gap:9px}
@media(max-width:760px){.hero-picker{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.hero-option{flex-direction:column;gap:0;padding:6px;min-height:0}.hero-option img{height:96px;width:100%;margin:0}.hero-option input{top:8px;left:8px}.hero-option b,.hero-option small{text-align:center}.hero-option b{font-size:17px}.hero-option small{font-size:12px}.hero-start .hero-quote{min-height:0}.hero-start .start-hint{font-size:12px}.can-cell{width:34%}.can-cell img{display:none}.can-number strong{font-size:26px}.can-number span{font-size:12px}.can-pips{display:none}}

.hero-music{display:block;text-align:center;font-size:14px;color:#79542b;margin-top:9px}.hero-start .hero-quote{margin-top:7px}

/* Five selectable characters. */
.hero-picker{grid-template-columns:repeat(5,minmax(0,1fr))}.hero-start.start-card{width:1080px}.hero-option small{overflow-wrap:anywhere}
@media(max-width:760px){.hero-picker{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.hero-option img{height:84px}.hero-option b{font-size:16px}.hero-option small{font-size:12px}.hero-option{padding:5px}.hero-start.start-card{padding:13px}}

.fuel-transfer,.coffee-button{border:2px solid var(--ink);border-radius:5px;background:var(--yellow);padding:10px 12px;font-size:14px;font-weight:700;min-height:44px}.fuel-transfer:not(:disabled):hover,.coffee-button:not(:disabled):hover{background:#ffdc4d}.fuel-transfer:disabled,.coffee-button:disabled{opacity:.5;cursor:default}.reserve-actions{display:flex;gap:8px;flex-wrap:wrap}.reserve-actions button{flex:1;min-width:140px}.coffee-button{background:#ead6b4;line-height:1.2}.coffee-button small{display:block;font-size:12px;font-weight:400;margin-top:3px}@media(max-width:760px){.reserve-actions{order:3;flex:1 1 100%}.reserve-actions button{min-width:120px;font-size:14px}.controls .action-controls{margin-left:auto}}

.station-marker.closed,.route-stop.closed{background:#a8422e;color:#fff4de;border-color:#642c24}.stage.airraid .road-status{background:#a82d20;color:#fff5de;border-color:#ffd04f}.stage.airraid .interaction{border-color:#b92e20}.stage.airraid .interaction h2{color:#aa2d1f}
