/* All rules are scoped to Stuntcykel. */
.bike-page{--bike-ink:#eff6f6;--bike-muted:#9eafbd;--bike-accent:#ffad73;color:var(--bike-ink);font-family:system-ui,sans-serif;background:#101e2a;border:1px solid #304554;border-radius:24px;padding:24px;box-sizing:border-box}.bike-page *{box-sizing:border-box}.bike-page button{font:inherit;cursor:pointer;border:1px solid #4c606e;background:#223746;color:#e8f0ed;border-radius:10px;padding:10px 14px}.bike-page button:hover{background:#314b5b}.bike-page button:focus-visible{outline:3px solid #ffc68d;outline-offset:3px}.bike-page button:disabled{opacity:.5;cursor:default}.bike-page [hidden]{display:none!important}.bike-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 24px}.bike-eyebrow{font-size:9px;font-weight:850;letter-spacing:2.2px;color:#f2b481}.bike-heading h2{color:#f0f4ed;font-size:clamp(30px,4vw,46px);line-height:1.1;letter-spacing:-1.5px;margin:10px 0}.bike-heading h2 em{font-style:normal;font-size:.55em;color:#9db5c3;letter-spacing:-.5px;display:block;margin-top:6px}.bike-heading p{font-size:12px;color:#9dafbc;margin:12px 0 0}.bike-tools{display:flex;gap:7px;flex-wrap:wrap;justify-content:end}.bike-tools button{font-size:11px;font-weight:700}.bike-track-tabs{display:flex;gap:6px;margin-bottom:14px;overflow-x:auto;padding:2px 2px 8px;scrollbar-width:thin}.bike-track-tabs button{font-size:10px;white-space:nowrap;flex:1;padding:11px 10px;text-align:left;border-color:#344a59;background:#172a38;min-width:105px}.bike-track-tabs b{display:block;color:#8ca4b4;font-size:9px;margin-bottom:5px;letter-spacing:1px}.bike-track-tabs [aria-pressed=true]{background:#ebac78;color:#142737;border-color:#ffc38f}.bike-track-tabs [aria-pressed=true] b{color:#5f4b3c}.bike-field{position:relative;isolation:isolate;overflow:hidden;border:1px solid #4f6878;border-radius:18px;background:#afdce8;box-shadow:0 15px 35px #0004}.bike-field canvas{display:block;width:100%;height:clamp(420px,48vw,580px);outline:none;touch-action:none}.bike-hud{position:absolute;left:16px;right:16px;top:16px;display:flex;justify-content:space-between;gap:9px;pointer-events:none;z-index:2}.bike-hud>div{min-width:115px;padding:10px 14px;border:1px solid #ffffff38;border-radius:10px;background:#142b3bc9;backdrop-filter:blur(8px)}.bike-hud>div:nth-child(2){text-align:center}.bike-hud>div:last-child{text-align:right}.bike-hud small{font-size:8px;letter-spacing:1.4px;font-weight:800;color:#d3e1e7}.bike-hud strong{display:block;font-size:25px;line-height:1.3;margin-top:2px;color:#fff7ea;font-variant-numeric:tabular-nums}.bike-hud i{font-size:10px;color:#b8cbd5;font-style:normal}.bike-progress{position:absolute;top:91px;left:18px;right:18px;height:3px;background:#15354833;z-index:2}.bike-progress i{display:block;height:100%;background:#ffc886;transition:width .15s linear}.bike-toast{position:absolute;top:110px;left:10px;right:10px;text-align:center;font-size:clamp(14px,2vw,23px);font-weight:900;letter-spacing:.7px;color:#fff3bd;text-shadow:0 2px 8px #102f48;pointer-events:none;z-index:2}.bike-bottom{position:absolute;bottom:12px;left:16px;right:16px;display:flex;justify-content:space-between;gap:10px;z-index:2;pointer-events:none;font-size:8px;font-weight:800;letter-spacing:1px}.bike-bottom span{background:#132d3cc4;padding:7px 9px;border-radius:6px;color:#e2edf0}.bike-overlay{position:absolute;inset:0;z-index:3;display:grid;align-items:center;justify-items:start;padding:28px;background:linear-gradient(90deg,#0c203879,transparent);overflow:auto}.bike-modal{width:320px;max-width:100%;padding:25px;border:1px solid #8ba2b65c;border-radius:17px;background:#132b3ceF;box-shadow:0 12px 40px #10202c55;backdrop-filter:blur(15px)}.bike-modal h3{font-size:32px;line-height:1.05;letter-spacing:-1px;margin:15px 0;color:#fff6e8}.bike-modal p{font-size:12px;color:#b7c9d3;line-height:1.7;margin:0 0 19px}.bike-modal-buttons{display:grid;gap:8px}.bike-modal-buttons>button{font-size:12px}.bike-page .bike-primary{background:#f0b27e;border-color:#ffc797;color:#19313f;font-weight:850;padding:14px}.bike-page .bike-primary:hover{background:#ffd2a8}.bike-controls{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:16px;touch-action:none}.bike-controls>div{display:flex;gap:9px}.bike-page .bike-controls button{display:flex;flex-direction:column;gap:1px;align-items:center;justify-content:center;min-width:68px;height:61px;background:#243e50;border:1px solid #597080;box-shadow:0 3px 0 #0b1720;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none}.bike-controls button b{font-size:26px;line-height:1}.bike-controls button small{font-size:9px;letter-spacing:.5px;color:#ccdae2}.bike-page .bike-controls [data-bike-control=gas]{background:#ecae79;color:#152e3c;border-color:#ffcf9d}.bike-controls [data-bike-control=gas] small{color:#32434b}.bike-page .bike-controls .pressed{transform:translateY(2px);box-shadow:none;background:#4a7387}.bike-footer{display:flex;gap:15px;align-items:center;justify-content:space-between;margin-top:22px;padding-top:15px;border-top:1px solid #334957;color:#a4bac8;font-size:10px;line-height:1.7}.bike-footer button{font-size:10px;white-space:nowrap}.bike-legacy{margin-top:15px;font-size:10px;color:#8fa5b4}.bike-legacy summary{cursor:pointer}.bike-legacy div{margin-top:8px;line-height:1.8}.bike-garage-options{display:grid;grid-template-columns:repeat(2,1fr);gap:6px}.bike-garage-options button{padding:8px;text-align:left;font-size:11px}.bike-garage-options i{display:block;height:5px;border-radius:3px;margin-bottom:6px}.bike-garage-options small{display:block;font-size:8px;margin-top:5px}.bike-garage-options [aria-pressed=true]{border-color:#ffbb84}.bike-modal-buttons>div>button{font-size:10px;padding:8px}
@media(max-width:650px){.bike-page{padding:12px;border-radius:16px}.bike-heading{display:block;margin-bottom:17px}.bike-heading h2{font-size:32px}.bike-heading h2 em{display:inline;margin-left:7px}.bike-heading p{font-size:10px}.bike-tools{justify-content:start;margin-top:14px}.bike-tools button{padding:8px 12px}.bike-field canvas{height:430px}.bike-hud{top:10px;left:8px;right:8px;gap:5px}.bike-hud>div{min-width:0;padding:8px;flex:1}.bike-hud small{font-size:6px;letter-spacing:.6px}.bike-hud strong{font-size:19px}.bike-hud i{font-size:7px}.bike-progress{top:73px;left:10px;right:10px}.bike-toast{top:88px;font-size:13px}.bike-bottom{left:8px;right:8px;font-size:6px;letter-spacing:.2px}.bike-overlay{padding:14px;align-items:end;justify-items:center;padding-bottom:45px}.bike-modal{padding:18px;width:280px}.bike-modal h3{font-size:26px;margin:10px 0}.bike-modal p{font-size:11px;margin-bottom:13px}.bike-controls{gap:6px}.bike-controls>div{gap:6px}.bike-page .bike-controls button{min-width:44px;width:46px;height:57px;padding:5px}.bike-controls button small{font-size:7px}.bike-footer{font-size:8px;gap:8px;margin-top:16px}.bike-footer button{font-size:9px;padding:8px}.bike-track-tabs button{min-width:100px}}
@media(max-height:520px) and (orientation:landscape){.bike-field canvas{height:340px}.bike-overlay{align-items:center;justify-items:start;padding:15px}.bike-modal{width:285px;padding:15px}.bike-modal h3{font-size:23px}.bike-modal p{font-size:10px}.bike-hud strong{font-size:17px}}
@media(prefers-reduced-motion:reduce){.bike-progress i{transition:none}}

.bike-page[data-mode=garage] .bike-hud,.bike-page[data-mode=garage] .bike-progress,.bike-page[data-mode=garage] .bike-bottom{visibility:hidden}

@media(max-width:650px){.bike-page[data-mode=garage] .bike-field canvas{height:760px}.bike-page[data-mode=garage] .bike-overlay{align-items:end;padding-bottom:15px}.bike-page[data-mode=garage] .bike-modal p{font-size:10px;line-height:1.5}}

/* Urban motocross presentation — glass HUD and orange throttle. */
.bike-page{--bike-accent:#ff850a;background:#14191d;border-color:#343a3d;padding:18px;border-radius:20px}.bike-heading{margin-bottom:15px}.bike-heading h2 em{color:#b5b8b8}.bike-tools button,.bike-track-tabs button{background:#22282d;border-color:#42494e;text-align:center}.bike-track-tabs [aria-pressed=true]{background:#fb870f;color:#fff;border-color:#ffb649}.bike-track-tabs [aria-pressed=true] b{color:#fff1dd}.bike-field{border-color:#555e64;border-radius:16px}.bike-field canvas{height:clamp(430px,47vw,680px)}.bike-hud>div{background:linear-gradient(145deg,#242b30e8,#0d171fe8);border:1px solid #8d999b80;border-radius:18px;box-shadow:0 4px 9px #0005,inset 0 1px #ffffff35;min-width:145px;text-align:center;padding:12px 20px}.bike-hud>div:last-child{text-align:center}.bike-hud small{font-size:11px;letter-spacing:1px;color:#e1e1e1}.bike-hud strong{font-size:36px;color:#fff}.bike-hud i{font-size:16px}.bike-progress{top:auto;bottom:0;height:3px;left:0;right:0}.bike-progress i{background:#ff930f}.bike-bottom span{background:#10171de8;border:1px solid #63707866;padding:10px 14px;border-radius:12px;font-size:10px}.bike-page .bike-controls button{background:linear-gradient(#2c3339,#151b21);border:2px solid #636e75;border-radius:18px;box-shadow:inset 0 2px #ffffff35,0 4px 7px #0005;width:100px;height:74px}.bike-controls button b{font-size:36px}.bike-controls button small{font-size:12px;color:white;letter-spacing:0}.bike-page .bike-controls [data-bike-control=gas],.bike-page .bike-primary{color:white;background:linear-gradient(#ff9f14,#f35a00);border-color:#ffc275;box-shadow:0 0 14px #f8750038,inset 0 2px #ffe9b766}.bike-controls [data-bike-control=gas] small{color:white}.bike-footer{border-color:#41474b;margin-top:15px;padding-top:10px}.bike-modal{background:#171f27f2}.bike-sound-panel{margin:12px 0;padding:16px;background:#1d242b;border:1px solid #535e65;border-radius:12px}.bike-sound-panel label{display:grid;grid-template-columns:100px 1fr 40px;align-items:center;gap:12px;font-size:12px;margin:10px 0}.bike-sound-panel input{width:100%;accent-color:#ff8b0c}.bike-sound-panel output{text-align:right}.bike-sound-panel p,.bike-sound-panel a{font-size:11px;color:#c0cbd1}.bike-sound-panel summary{cursor:pointer;font-size:12px}.bike-sound-status{font-size:11px;color:#d9b778;min-height:1em}.bike-sound-panel button{font-size:12px}.bike-tools{align-items:center}
@media(max-width:650px){.bike-page{padding:8px}.bike-field canvas{height:460px}.bike-hud{left:6px;right:6px;gap:5px}.bike-hud>div{min-width:0;padding:9px 4px;border-radius:11px}.bike-hud small{font-size:7px;letter-spacing:.3px}.bike-hud strong{font-size:23px}.bike-hud i{font-size:10px}.bike-bottom span{font-size:7px;padding:7px}.bike-page .bike-controls button{min-width:44px;width:clamp(44px,13vw,72px);height:65px;border-radius:12px}.bike-controls button b{font-size:29px}.bike-controls button small{font-size:9px}.bike-sound-panel label{grid-template-columns:75px 1fr 35px;gap:7px}.bike-heading h2 em{display:block;margin-left:0}}
@media(max-height:520px) and (orientation:landscape){.bike-field canvas{height:340px}.bike-hud strong{font-size:24px}.bike-hud small{font-size:8px}.bike-hud>div{padding:7px 15px}.bike-page .bike-controls button{height:56px}}
