/* Full visible viewport; native HTML controls float above the live Canvas. */
.rush-live-screen{position:relative;isolation:isolate;width:100%;height:var(--app-height);max-width:820px;margin:auto;overflow:hidden;background:#07101b;color:#f6dfae;font-family:Arial,sans-serif}
.rush-live-screen .game.world-rush{position:absolute;inset:0;max-width:none;height:100%;padding:0;border:0;margin:0;background:none;box-shadow:none;overflow:hidden;display:block}.rush-live-screen .game.world-rush canvas{display:block;position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;border:0;border-radius:0;margin:0;touch-action:none}
.rush-chrome{position:absolute;z-index:3;top:0;left:0;right:0;padding:calc(8px + env(safe-area-inset-top)) max(12px,env(safe-area-inset-right)) 10px max(12px,env(safe-area-inset-left));pointer-events:none;background:linear-gradient(#07111df5 0%,#07111de8 80%,#07111d00)}
.rush-chrome nav{display:grid;grid-template-columns:1fr 1.3fr 1.2fr;align-items:start;gap:8px;margin:0 0 8px}.rush-chrome nav button{pointer-events:auto;min-height:44px;min-width:44px;padding:8px 6px;margin:0;border:1px solid #d2a563;border-radius:28px;background:#07111be8;font-size:clamp(14px,2.5vw,16px);color:#ffe1a0;letter-spacing:.03em;box-shadow:inset 0 1px 0 #ffe3aa55,0 0 8px #f2b85822;white-space:nowrap}.rush-logo{text-align:center;line-height:1;color:#ffe9ad;filter:drop-shadow(0 0 7px #f3a94f77)}.rush-logo strong{display:block;font-size:clamp(35px,8vw,62px);font-style:italic;letter-spacing:-.06em;background:linear-gradient(#fff7da,#ecc281 40%,#6c4425 52%,#ffe0a1 70%,#d49641);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}.rush-logo span{display:block;font-size:clamp(10px,2.6vw,16px);letter-spacing:.15em;border-bottom:1px solid #c79751;padding-bottom:4px}
.rush-kicker{margin:0 0 5px;font-size:12px;letter-spacing:.28em;text-align:center;font-style:italic}.rush-chrome h1{font-size:clamp(18px,4.1vw,30px);line-height:1.1;font-style:italic;letter-spacing:.1em;text-align:center;margin:0 0 14px;color:#ffe2a0;text-shadow:0 0 12px #eead5455}.rush-chrome h1:after{display:none}
.rush-track-badge{display:flex;align-items:center;gap:10px;border:1px solid #edbc77;border-radius:14px;padding:8px 12px;margin:0 0 7px;background:#08111de8;box-shadow:inset 0 0 14px #f5b65c11,0 0 8px #f2b45444}.rush-track-badge>img{width:30px;height:30px;margin:0;border:0;flex:none}.rush-track-badge>h2{font-size:clamp(18px,4vw,28px);font-style:italic;letter-spacing:.06em;margin:0;flex:1;line-height:1.15}.rush-track-badge>span{font-size:14px;white-space:nowrap}.rush-stage-bars{display:flex;gap:3px}.rush-stage-bars i{height:12px;width:9px;border:1px solid #bc975a88;transform:skewX(-30deg)}.rush-stage-bars .is-active{background:#ffe0a0;box-shadow:0 0 7px #ffb85c55}
.rush-live-hud{display:grid;grid-template-columns:1.2fr 1fr 1fr .8fr 1fr;align-items:center;gap:0;min-height:42px;margin:0 0 7px;padding:6px;border:1px solid #d3aa6b;border-radius:13px;background:#08111de8;box-shadow:none;font-size:14px;line-height:1.1}.rush-metric{display:flex;align-items:center;justify-content:center;gap:4px;padding:3px;border-right:1px solid #b88d4b55}.rush-metric:last-child{border:0}.rush-metric img{width:20px;height:20px;border:0;margin:0;flex:none}.rush-metric strong{font-size:clamp(14px,2.7vw,18px);font-weight:500;color:#f9dfab;white-space:nowrap}.rush-instruction{display:flex;align-items:center;gap:10px;border:1px solid #c3a576aa;border-radius:12px;padding:8px 10px;background:#0a1420ee}.rush-instruction>span{font-size:26px;line-height:1}.rush-instruction>p{font-size:14px;line-height:1.35;margin:0;color:#e7d9b8}
.rush-live-screen .rush-actions{position:absolute;z-index:4;left:max(16px,env(safe-area-inset-left));right:max(16px,env(safe-area-inset-right));bottom:calc(80px + env(safe-area-inset-bottom));display:flex;gap:18px;padding:0;margin:0;pointer-events:none}.rush-actions>button{flex:1;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:68px;margin:0;padding:7px 10px 10px;border:2px solid #f2c582;border-radius:12px;background:linear-gradient(#6e4c2677,#09121ce8 28%,#09121cf5 70%,#75502888);color:#ffe8b7;box-shadow:inset 0 0 0 2px #151b23,0 0 10px #eeb26055;font-size:clamp(19px,4.6vw,30px);font-style:italic;letter-spacing:.1em;font-weight:700;touch-action:manipulation;clip-path:polygon(10% 0,90% 0,100% 75%,93% 100%,7% 100%,0 75%)}.rush-actions img{width:30px;height:30px;margin:0;border:0}.rush-actions>button:disabled{opacity:.5;cursor:default}
.rush-live-screen .zone-toolbar{position:absolute;z-index:4;bottom:calc(15px + env(safe-area-inset-bottom));right:max(14px,env(safe-area-inset-right));display:flex;gap:10px;margin:0;padding:0;background:none}.rush-live-screen .zone-toolbar button{display:flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0;padding:8px 12px;border:1px solid #e2b576;border-radius:14px;background:#07121ce8;color:#ffe3aa;font-size:14px;box-shadow:0 0 8px #e8b05c22}.rush-live-screen .zone-toolbar img{width:22px;height:22px;margin:0;border:0}.rush-live-screen button:focus-visible{outline:2px solid #fff1cb;outline-offset:2px}.rush-live-screen .rush-failure{position:absolute;z-index:6;top:40%;left:8%;right:8%;background:#08121df5;border:1px solid #e7bd80;border-radius:16px;padding:22px;text-align:center;color:#ffe7bb}
@media(max-height:700px){.rush-chrome nav{margin-bottom:4px}.rush-logo strong{font-size:32px}.rush-logo span{font-size:10px}.rush-kicker{font-size:11px;margin-bottom:3px}.rush-chrome h1{font-size:17px;margin-bottom:8px}.rush-track-badge{padding:5px 10px}.rush-track-badge h2{font-size:17px}.rush-track-badge>img{width:25px;height:25px}.rush-live-hud{min-height:36px;padding:4px}.rush-instruction{padding:6px 8px}.rush-instruction p{font-size:12px;line-height:1.25}.rush-live-screen .rush-actions{bottom:calc(70px + env(safe-area-inset-bottom))}.rush-actions>button{min-height:58px;font-size:18px}.rush-actions img{width:24px;height:24px}.rush-live-screen .zone-toolbar{bottom:calc(12px + env(safe-area-inset-bottom))}}

@media(max-width:420px){.rush-metric-speed img{display:none}.rush-metric{gap:2px;padding:3px 1px}.rush-metric img{width:17px;height:17px}}
