:root{--rush-ink:#193e35;--rush-paper:#fff8e7;--rush-gold:#ffda67;--rush-muted:#657467;--rush-line:#ced6c6;--rush-red:#bb4b45}
*{box-sizing:border-box}body{margin:0;color:var(--rush-ink);background:#e8eddf;background-image:radial-gradient(#83977920 .7px,transparent .7px);background-size:7px 7px;font-family:"Segoe UI Variable Text","Segoe UI",sans-serif}.rush-shell{max-width:1190px;margin:auto;padding:20px 28px 24px}button,a,select{-webkit-tap-highlight-color:transparent}button,select{font:inherit}button{cursor:pointer}button:disabled{cursor:default}button:focus-visible,a:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #d29c18;outline-offset:4px}.rush-top{display:flex;align-items:center;gap:12px;min-height:38px}.rush-brand{display:grid;place-items:center;width:38px;height:38px;background:var(--rush-ink);color:var(--rush-gold);border-radius:10px;text-decoration:none;font-size:23px;font-weight:900}.rush-edition{font:700 10px/1.3 Consolas,monospace;letter-spacing:.12em}.rush-language{margin-left:auto;display:flex;align-items:center;gap:8px;font-size:11px;font-weight:700}.rush-language select{border:1px solid #becbb8;border-radius:8px;background:#fff8e7;padding:7px;color:var(--rush-ink)}.rush-heading{display:flex;align-items:end;justify-content:space-between;gap:12px;margin:18px 0 18px}.rush-heading p{margin:6px 0 0;font-size:14px;color:#56715e}.rush-heading h1{font-size:clamp(26px,3.8vw,43px);line-height:1.05;letter-spacing:-.055em;font-weight:850;margin:0}.rush-kicker{display:inline-block;font:800 10px Consolas,monospace;letter-spacing:.09em;background:var(--rush-gold);padding:7px 10px;transform:rotate(-2deg);white-space:nowrap;margin:0 1px 3px}.mission-tabs{display:flex;gap:8px;margin-bottom:13px}.mission-tabs button{flex:1;min-width:0;display:flex;align-items:center;gap:9px;padding:10px 12px;background:transparent;border:1px solid #becbb8;border-radius:9px;color:var(--rush-ink);text-align:left;transition:background .15s}.mission-tabs button>span{font:800 16px Consolas,monospace;opacity:.5}.mission-tabs b{font-size:12px;font-weight:700}.mission-tabs small{margin-left:auto;font:700 11px Consolas,monospace;white-space:nowrap}.mission-tabs [aria-pressed=true]{background:var(--rush-paper);border-color:var(--rush-ink);box-shadow:0 2px 0 var(--rush-ink)}.mission-tabs button:disabled:not([aria-pressed=true]){opacity:.5}.rush-hud{display:grid;grid-template-columns:116px 1fr auto;gap:18px;align-items:center;background:var(--rush-paper);border:2px solid var(--rush-ink);border-bottom:0;border-radius:17px 17px 0 0;padding:12px 17px 16px;position:relative}.eyebrow{font:800 9px/1.3 Consolas,monospace;letter-spacing:.1em;text-transform:uppercase}.clock-line{display:flex;align-items:baseline;gap:5px}.clock-line strong{font:800 47px/.98 Consolas,monospace;letter-spacing:-.08em}.clock-line span{font:700 14px Consolas,monospace}.clock[data-urgent=true]{color:var(--rush-red)}.mission-strip{display:flex;align-items:center;gap:9px;margin-bottom:7px}.mission-strip .eyebrow{color:#61715d}.mission-strip strong{font:700 12px Consolas,monospace;background:#e1e9d7;padding:3px 6px;border-radius:5px}.objectives{display:flex;flex-wrap:wrap;gap:5px}.objective{display:inline-flex;align-items:center;gap:5px;border:1px solid #d4dacb;background:#fffdf5;border-radius:6px;padding:5px 8px 5px 5px;font-size:12px;font-weight:700;white-space:nowrap}.objective i{display:grid;place-items:center;min-width:17px;height:17px;border-radius:50%;background:var(--rush-gold);font:normal 800 10px Consolas,monospace}.objective.done{color:#658365;background:#e2ecd9;border-color:#bed0b4}.objective.done i{background:#3d7755;color:#fff}.hud-tools{display:flex;gap:6px}.icon-button{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;border:1px solid #cbd3c2;color:var(--rush-ink);background:transparent;font-size:19px;font-weight:700}.icon-button:disabled{opacity:.4}.timer-track{height:5px;position:absolute;bottom:0;left:0;right:0;background:#dce4d3;overflow:hidden}.timer-track span{height:100%;display:block;background:#4c805c;transition:width .1s linear}.rush-arena{position:relative;border:2px solid var(--rush-ink);border-top:0;border-radius:0 0 17px 17px;overflow:hidden;box-shadow:0 7px 0 #cad2bd;background:#87a882}.rush-canvas{width:100%;height:min(60vh,580px);min-height:360px;display:block;touch-action:none;outline-offset:-4px}.rush-canvas:focus-visible{outline:3px solid #ffe69c}.target-line{position:absolute;bottom:0;left:0;right:0;background:#173e35ed;color:#fff4cc;display:flex;gap:8px;align-items:center;padding:8px 14px;font:700 11px/1.4 Consolas,monospace;pointer-events:none}.target-line>span:first-child{color:#ffe17c}.rush-screen{position:absolute;inset:0;display:flex;align-items:center;justify-content:flex-end;padding:22px;background:linear-gradient(90deg,transparent 20%,#193e3510);overflow:auto}.rush-screen[hidden],[hidden]{display:none!important}.screen-paper{width:360px;max-width:100%;background:#fff8e7f7;border:2px solid var(--rush-ink);padding:24px;border-radius:14px;box-shadow:5px 6px 0 #193e3526}.screen-paper h2{font-size:31px;line-height:1.06;letter-spacing:-.045em;margin:7px 0 12px;font-weight:850}.screen-eyebrow{margin:0;font:800 10px Consolas,monospace;letter-spacing:.13em}.screen-paper p{font-size:13px;line-height:1.5}.screen-paper .mission-copy{margin:0 0 15px;color:#516354}.how-three{counter-reset:steps;list-style:none;margin:0 0 19px;padding:0;display:grid;gap:9px}.how-three li{display:flex;gap:9px;align-items:center;font-size:12px;line-height:1.35;font-weight:600;counter-increment:steps}.how-three li:before{content:counter(steps);display:grid;place-items:center;flex:0 0 21px;height:21px;background:#eedfac;border-radius:50%;font:700 11px Consolas,monospace}.screen-paper button{width:100%;border-radius:8px;min-height:47px;padding:11px 14px;display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:14px;font-weight:800}.primary{background:var(--rush-ink);color:#fff8e7;border:2px solid var(--rush-ink);box-shadow:0 3px 0 #102e26}.primary>span{color:var(--rush-gold);font-size:22px}.primary:hover:not(:disabled){background:#2b5748}.primary:disabled{opacity:.6}.secondary{background:transparent;border:1px solid #bcc8b4;color:var(--rush-ink);margin-top:8px}.best-note{font:700 10px/1.4 Consolas,monospace!important;margin:14px 0 0!important;color:#5e725e}.best-note .stars{font-size:13px;margin-left:5px}.stars{color:#d49b1b;font-size:34px;letter-spacing:4px;font-family:"Segoe UI",sans-serif}.stars>span{color:#bdc8b4}.rush-screen.won,.rush-screen.lost,.rush-screen.paused{justify-content:center;background:#193e354a}.rush-screen:has(.result),.rush-screen:has(.compact){justify-content:center;background:#193e354a}.screen-paper.result,.screen-paper.compact{width:350px;text-align:center}.screen-paper.result button,.screen-paper.compact button{justify-content:center}.result-score{margin:12px 0 8px;display:flex;flex-direction:column}.result-score strong{font:800 43px Consolas,monospace;letter-spacing:-.06em}.result-score span{font-size:10px;text-transform:uppercase;letter-spacing:.14em}.result-facts{font:700 10px Consolas,monospace;display:flex;justify-content:center;gap:14px;margin-bottom:18px;color:#62725e}.late-bell{font-size:42px;margin:8px 0}.rush-toast{position:absolute;left:16px;top:16px;max-width:calc(100% - 130px);border-radius:8px;padding:10px 13px;background:#173e35ee;color:#fff8e7;font-size:12px;font-weight:700;line-height:1.35;pointer-events:none;box-shadow:0 3px 0 #173e3525}.rush-toast[data-kind=danger]{background:#a23f38}.rush-controls{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:18px}.keyboard-hint{font-size:12px;color:#526b58}.keyboard-hint b{display:block;font:700 11px Consolas,monospace;color:#294e3b;margin-bottom:5px}.abilities{display:flex;gap:8px}.ability{min-width:135px;min-height:50px;display:flex;align-items:center;justify-content:center;gap:9px;border:1px solid #9aaa90;border-radius:10px;color:var(--rush-ink);background:var(--rush-paper);padding:8px 13px;font-size:13px;font-weight:800;position:relative;overflow:hidden;touch-action:manipulation}.ability>span{position:relative;z-index:1}.ability small{display:block;font:700 9px Consolas,monospace;margin-top:4px;color:#66745a}.ability .ability-symbol{font-size:23px}.ability:disabled{color:#79846f;background:#dce2d1}.ability.sprint{background:var(--rush-gold);border-color:#b89e4b}.ability.sprint:disabled{background:linear-gradient(90deg,#ead999 var(--charge),#dbe2d1 var(--charge));color:#7b8068}.joystick{display:none;width:82px;height:82px;border:2px dashed #71876b;border-radius:50%;background:#f3f1dd95;position:relative;flex:0 0 auto;touch-action:none;user-select:none}.joystick-knob{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%) translate(var(--jx,0px),var(--jy,0px));width:38px;height:38px;border-radius:50%;background:var(--rush-ink);border:4px solid #f4ecce;box-shadow:0 2px 3px #193e3540;pointer-events:none}.joystick:before{content:'✣';position:absolute;inset:0;display:grid;place-items:center;font-size:58px;color:#a3b397}.touch-hint{display:none}.rush-guide{margin-top:16px;border-top:1px solid #cbd5c0;padding-top:10px;font-size:12px;color:#5d715a}.rush-guide summary{cursor:pointer;font-weight:700;width:max-content}.rush-guide p{line-height:1.6;max-width:660px}.rush-footer{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-top:16px;font-size:10px;color:#6c7c62}.rush-footer p{margin:0}.rush-footer nav{display:flex;gap:12px}.rush-footer a{color:#48634b;text-underline-offset:3px}.terms-needed{padding:9px 14px;background:#f1dfaf;border:1px solid #d5bd7e;border-radius:8px;font-size:12px}.skip{position:absolute;left:8px;top:-100px;background:#fff8e7;padding:10px;z-index:100}.skip:focus{top:8px}
@media(max-width:750px){.rush-shell{padding:13px 13px 20px}.rush-heading{margin:15px 0 14px}.rush-heading h1{font-size:30px;max-width:370px}.rush-heading p{font-size:12px;max-width:310px;line-height:1.4}.rush-kicker{display:none}.mission-tabs{gap:5px;margin-bottom:10px}.mission-tabs button{padding:8px;gap:6px;min-height:43px}.mission-tabs button>span{font-size:14px}.mission-tabs b{font-size:10px;line-height:1.15}.mission-tabs small{font-size:9px}.rush-hud{grid-template-columns:78px 1fr auto;gap:9px;padding:10px 10px 14px}.clock-line strong{font-size:39px}.eyebrow{font-size:8px}.mission-strip{gap:5px;margin-bottom:5px}.objective{font-size:10px;padding:3px 5px 3px 3px;gap:4px}.objective i{min-width:15px;height:15px;font-size:9px}.hud-tools{flex-direction:column;gap:4px}.icon-button{height:29px;width:30px;font-size:16px}.rush-canvas{height:clamp(320px,47vh,460px);min-height:320px}.rush-screen{padding:12px;align-items:center}.screen-paper{padding:20px;width:335px}.screen-paper h2{font-size:28px}.screen-paper .mission-copy{font-size:12px;margin-bottom:12px}.how-three{margin-bottom:15px;gap:7px}.how-three li{font-size:11px}.screen-paper button{min-height:43px;font-size:13px;padding:9px 12px}.screen-paper p{font-size:12px}.best-note{margin-top:11px!important}.rush-controls{margin-top:16px;gap:8px}.joystick{display:block}.keyboard-hint{display:none}.abilities{gap:7px;flex:1;justify-content:flex-end}.ability{min-width:0;width:110px;min-height:59px;gap:6px;padding:7px 8px;font-size:12px}.ability .ability-symbol{font-size:20px}.ability small{font-size:8px}.touch-hint{display:block;font-size:10px;line-height:1.4;color:#65765e;margin:7px 0 0}.rush-toast{left:10px;top:10px;font-size:11px;padding:8px 9px}.rush-guide{margin-top:12px}.rush-footer{font-size:9px}.target-line{font-size:10px;padding:7px 10px}}
@media(max-width:370px){.rush-shell{padding:10px}.rush-heading h1{font-size:26px}.mission-tabs b{font-size:9px}.mission-tabs small{display:none}.rush-edition{font-size:9px}.rush-language>span{display:none}.rush-hud{grid-template-columns:66px 1fr 28px;gap:7px}.clock-line strong{font-size:35px}.ability{width:94px;font-size:10px;padding:6px}.joystick{width:73px;height:73px}.rush-canvas{min-height:310px}.screen-paper{padding:16px}.screen-paper h2{font-size:25px}.screen-paper .mission-copy{margin-bottom:10px}.how-three{gap:6px;margin-bottom:12px}.how-three li{font-size:10px}.screen-paper button{min-height:42px}.best-note{font-size:9px!important}}
@media(pointer:coarse) and (min-width:751px){.joystick{display:block}.keyboard-hint{display:none}.touch-hint{display:block;font-size:11px;color:#65765e}.rush-canvas{height:58vh}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
.rush-footer button{font:inherit;border:0;background:none;color:#48634b;text-decoration:underline;text-underline-offset:3px;padding:0;min-height:24px}
@media(max-width:750px){.rush-shell[data-phase]:not([data-phase=ready]) :is(.rush-heading,.mission-tabs,.rush-guide,.rush-footer){display:none}.rush-shell[data-phase]:not([data-phase=ready]) .rush-top{margin-bottom:8px}.rush-shell[data-phase]:not([data-phase=ready]) .rush-canvas{height:clamp(220px,calc(100svh - 280px),590px);min-height:220px}.screen-paper{max-height:calc(100% - 6px);overflow:auto}.rush-footer button{min-height:36px}}
@media(max-height:540px) and (min-width:650px){.rush-shell{padding:6px;position:relative}.rush-shell :is(.rush-top,.rush-heading,.rush-guide,.rush-footer,.touch-hint){display:none}.rush-shell .mission-tabs{margin-bottom:6px}.rush-shell .mission-tabs button{min-height:31px;padding:6px 10px}.rush-shell .rush-hud{grid-template-columns:82px 1fr auto;padding:6px 10px 10px;gap:10px}.rush-shell .clock-line strong{font-size:32px}.rush-shell .rush-canvas{height:calc(100svh - 116px);min-height:170px}.screen-paper{padding:14px;max-height:calc(100% - 2px);overflow:auto}.screen-paper h2{font-size:24px}.screen-paper .mission-copy{font-size:11px;margin-bottom:8px}.how-three{gap:5px;margin-bottom:10px}.how-three li{font-size:11px}.screen-paper button{min-height:39px;padding:8px 12px}.rush-shell[data-phase]:not([data-phase=ready]) .mission-tabs{display:none}.rush-shell[data-phase]:not([data-phase=ready]) .rush-canvas{height:calc(100svh - 76px);min-height:170px}.rush-controls{display:none}.rush-shell[data-phase=playing] .rush-controls{display:flex;position:absolute;bottom:33px;left:20px;right:20px;pointer-events:none;margin:0}.rush-controls .joystick,.rush-controls .ability{pointer-events:auto}.rush-controls .joystick{display:block;width:66px;height:66px;opacity:.9}.rush-controls .keyboard-hint{display:none}.rush-controls .abilities{margin-left:auto}.rush-controls .ability{min-width:0;min-height:46px;width:110px;background-color:#fff8e7ed}.target-line{justify-content:center}.hud-tools{flex-direction:row}}

@media(max-height:540px) and (min-width:650px){.rush-controls .abilities{display:grid;grid-template-columns:130px;gap:5px;margin-left:auto}.rush-controls .ability{width:130px;min-height:42px;padding:6px 8px;font-size:12px;gap:6px}.rush-controls .ability small{font-size:8px;white-space:nowrap}.rush-controls .ability .ability-symbol{font-size:20px}}
.record-warning{font-size:10px!important;color:#7c562b;background:#f3e5bd;border-radius:5px;padding:7px}
@media(max-height:700px) and (max-width:750px),(max-height:540px) and (min-width:650px){.rush-screen[data-kind=won] .screen-paper{padding:13px 16px}.rush-screen[data-kind=won] h2{font-size:23px;margin:5px 0 7px}.rush-screen[data-kind=won] .stars{font-size:26px;line-height:1.1}.rush-screen[data-kind=won] .screen-eyebrow{font-size:8px}.rush-screen[data-kind=won] .result>p:not(.screen-eyebrow):not(.record-warning),.rush-screen[data-kind=won] .result-facts{display:none}.rush-screen[data-kind=won] .result-score{flex-direction:row;align-items:baseline;justify-content:center;gap:6px;margin:6px 0 8px}.rush-screen[data-kind=won] .result-score strong{font-size:29px}.rush-screen[data-kind=won] .result-score span{font-size:8px}.rush-screen[data-kind=won] .primary{min-height:38px;padding:7px 10px}.rush-screen[data-kind=won] .secondary{display:inline-flex;width:calc(50% - 4px);min-height:32px;font-size:11px;margin:6px 1px 0;padding:6px}.rush-screen[data-kind=won] .record-warning{font-size:9px!important;line-height:1.3}}
