/* Tutorial lettering directly on the scene; no panel around the instructions. */
.studio-guide{position:absolute;z-index:8;left:50%;top:22px;transform:translateX(-50%);width:min(520px,calc(100% - 600px));text-align:center;pointer-events:none;text-shadow:0 2px 20px #08060eee}
.guide-top{display:flex;align-items:center;justify-content:center;gap:20px}.guide-top>span{font-size:10px;letter-spacing:.18em;color:#cbb8e1;font-weight:800}.guide-top b{letter-spacing:0;margin-left:9px;font-size:10px;color:#a7ebd1}.guide-top button{pointer-events:auto;background:transparent;font-size:11px;color:#d6c9e2;padding:5px}.guide-top button:hover{color:white;text-decoration:underline}
.guide-progress{position:relative;width:168px;margin:11px auto 15px}#guide-checkpoints{display:flex;justify-content:space-between;position:relative;z-index:1}#guide-checkpoints span{width:19px;height:19px;display:grid;place-items:center;background:#17121e;border-radius:50%;font-size:9px;color:#9686a6;border:1px solid #bca6cc32}#guide-checkpoints .current{color:white;border-color:#c2a6ed;background:#583f7a}#guide-checkpoints .done{color:#11291f;background:#90e8c1;border-color:#90e8c1;font-weight:800}#guide-progress{position:absolute;top:9px;left:0;width:100%;height:1px;appearance:none;border:0;background:#c6add52a;z-index:0}#guide-progress::-webkit-progress-bar{background:#c6add52a}#guide-progress::-webkit-progress-value{background:#90e8c1}#guide-progress::-moz-progress-bar{background:#90e8c1}
.guide-current h2{font-size:clamp(27px,2.45vw,42px);font-weight:650;letter-spacing:-.055em;line-height:1.13;margin:0 0 11px}.guide-current p{font-size:14px;line-height:1.6;color:#e2d6ed;margin:0 auto;max-width:440px}.step-done .guide-current h2{color:#9bedce}.guide-action{pointer-events:auto;display:inline-flex;align-items:center;justify-content:center;margin-top:13px;min-height:36px;padding:9px 19px;border-radius:25px;background:linear-gradient(110deg,#964591,#6451aa);border:1px solid #d9bcf44a;color:white;font-size:12px;font-weight:650;box-shadow:0 5px 30px #8d438c20}.guide-action:hover{filter:brightness(1.2)}
.guide-open{position:absolute;left:50%;top:25px;transform:translateX(-50%);z-index:8;background:transparent;border-bottom:1px solid #c6a5e34a;padding:8px 3px;font-size:12px;color:#dfcde9}.vehicle-arrow{position:absolute;z-index:8;top:47%;transform:translateY(-50%);width:78px;min-height:100px;display:flex;flex-direction:column;justify-content:center;align-items:center;gap:13px;background:radial-gradient(ellipse,#aa80db15,transparent 70%);color:#e0d2ef;transition:color .2s,filter .2s}.vehicle-arrow.previous{left:2.8%}.vehicle-arrow.next{right:2.8%}.vehicle-arrow svg{width:30px;height:45px;stroke-width:1.4;filter:drop-shadow(0 0 10px #bca3ec4d)}.vehicle-arrow span{font-size:8px;letter-spacing:.16em;font-weight:700}.vehicle-arrow:hover,.vehicle-arrow.hand-hover{color:#b5f2d7;filter:drop-shadow(0 0 12px #87ebc44a)}.vehicle-changing .vehicle-arrow svg{opacity:.3}
.vehicle-selector{position:absolute;left:4%;bottom:44px;z-index:8;max-width:230px}.vehicle-index{font-size:9px;letter-spacing:.18em;color:#ad98c2}.vehicle-selector h2{font-size:39px;font-weight:550;letter-spacing:.04em;line-height:1;margin:10px 0 9px}.vehicle-tagline{font-size:11px;color:#c2b0cf;margin:0 0 12px}.vehicle-selector [role=group]{display:flex;gap:18px}.vehicle-selector [data-vehicle]{padding:4px 0 7px;background:transparent;border-bottom:1px solid transparent;color:#91829f;font-size:10px;letter-spacing:.14em;font-weight:700}.vehicle-selector [aria-pressed=true]{border-color:#c5a6ee;color:#fff}.vehicle-swipe-hint{position:absolute;left:50%;top:77px;transform:translateX(-50%);z-index:7;display:flex;align-items:center;gap:11px;margin:0;color:#d9cce5;pointer-events:none;font-size:11px;line-height:1.6;max-width:400px}.vehicle-swipe-hint svg{color:#cfb3ed;width:30px;height:30px}.vehicle-swipe-hint strong{display:block;color:#f4eefa;font-size:12px;font-weight:650}.guide-active .vehicle-swipe-hint{top:auto;bottom:142px;text-align:center;font-size:10px;line-height:1.6}.guide-active .vehicle-swipe-hint strong{font-size:10px}
.vehicle-specs{position:absolute;right:4%;bottom:43px;z-index:7;width:220px;text-shadow:0 2px 12px #000}.vehicle-specs>p{font-size:8px;font-weight:700;letter-spacing:.13em;color:#bda6cb;margin:0 0 13px}.spec-numbers{display:flex;gap:25px;margin-bottom:15px}.spec-numbers>div{display:flex;align-items:baseline;gap:6px}.spec-numbers strong{font-size:29px;font-weight:550;line-height:1;font-variant-numeric:tabular-nums}.spec-numbers span{font-size:10px;color:#bfaccd}.vehicle-specs label{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:10px;color:#dbcce5;margin-top:10px}.vehicle-specs meter{appearance:none;display:block;width:112px;height:4px;background:#e2cbed1f;border:0;border-radius:8px;overflow:hidden}.vehicle-specs meter::-webkit-meter-bar{background:#e2cbed1f;border:0;border-radius:8px}.vehicle-specs meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#9b6ed0,#cfb7ea);border-radius:8px}.vehicle-specs meter::-moz-meter-bar{background:#c7a0ec}.vehicle-specs label:last-child meter::-webkit-meter-optimum-value{background:linear-gradient(90deg,#498f87,#95e1c9)}
.paint-palette{left:4%;right:auto;top:17px}.swatches{gap:3px}.swatch{height:48px;width:41px;border-radius:15px;padding:9px 7px}.swatch>i{width:25px;height:31px;transform:rotate(45deg);border-radius:7% 58% 60% 58%;outline-offset:4px;background:linear-gradient(135deg,#ffffff80,#ffffff00 46%),var(--swatch);box-shadow:inset 1px 1px 2px #ffffff54,inset -2px -2px 5px #0004,0 5px 10px #0003}.swatch:hover>i{transform:rotate(45deg) scale(1.13)}.swatch.picked>i{transform:rotate(45deg) scale(.65)}.paint-palette p{font-size:12px;margin:10px 3px 0;line-height:1.55}.palette-alternative{margin-left:3px;font-size:9px}.reset-view{right:4%;top:19px}.camera-preview{top:82px;width:190px}.feedback,.camera-on .feedback{left:50%;top:auto;bottom:220px;transform:translateX(-50%);max-width:400px;background:#1c1521e8;font-size:12px;text-align:center}.gesture-legend,.navigation-hint{display:none}#viewport,.guide-active #viewport{inset:100px 5% 157px}
.bottom-controls{bottom:51px;gap:10px}.scene-actions{align-items:center;border-radius:25px;padding:7px 12px;background:#17101bd4;gap:8px}.scene-actions button{font-size:11px;padding:10px 15px;min-height:38px}.scene-actions #engine-toggle{position:relative;width:74px;height:74px;padding:0;min-height:74px;margin:-11px 10px;border-radius:50%;display:flex;flex-direction:column;gap:2px;border:3px solid #675e71;background:radial-gradient(circle at 38% 27%,#aa3e50,#5f1b30 61%,#230e1b);box-shadow:0 0 0 2px #15111b,0 0 0 3px #bea7d134,inset 0 0 0 3px #19111b,0 7px 23px #0008;color:#fff;letter-spacing:.08em;font-size:13px;font-weight:800}.scene-actions #engine-toggle small{font-size:6px;letter-spacing:.18em;color:#ffc8d4}.scene-actions #engine-toggle:after{content:'';position:absolute;inset:7px;border:1px solid #ff729c54;border-radius:50%;pointer-events:none}.scene-actions #engine-toggle:hover{filter:brightness(1.2)}.scene-actions #drive-launch,.drive-entry-hint{display:none!important}
.snap-control{position:absolute;left:50%;bottom:10px;transform:translateX(-50%);z-index:8;text-align:center}.snap-control button{display:inline-flex;align-items:center;gap:7px;padding:4px 8px;border-radius:10px;background:transparent;font-size:10px;color:#d3bedf}.snap-control>span{display:block;font-size:8px;color:#91829d;margin-top:2px}.mic-light{width:5px;height:5px;border-radius:50%;background:#8b789b}.snap-control button[aria-pressed=true] .mic-light{background:#88e9bc;box-shadow:0 0 9px #88e9bc77}.guide-active .snap-control{visibility:hidden}.guide-active [data-guide-step="5"] .snap-control{visibility:visible}
.driving .studio-guide,.driving .guide-open,.driving .vehicle-selector,.driving .snap-control,.driving .vehicle-arrow,.driving .vehicle-specs,.driving .vehicle-swipe-hint{display:none}.entering-drive .bottom-controls,.entering-drive .studio-guide,.entering-drive .vehicle-selector,.entering-drive .paint-palette,.entering-drive .guide-open,.entering-drive .snap-control,.entering-drive .vehicle-arrow,.entering-drive .vehicle-specs,.entering-drive .vehicle-swipe-hint{opacity:0;pointer-events:none;transition:opacity .3s}.entering-drive #viewport{transition:inset .8s;inset:0}.entering-drive .camera-preview{opacity:.2}.experience[data-guide-step="3"] .swatches{filter:drop-shadow(0 0 12px #c39ed751)}
@media(max-width:1100px) and (min-width:701px){.studio-guide{width:calc(100% - 470px)}.guide-current h2{font-size:28px}.guide-current p{font-size:12px}.paint-palette{left:3%}.swatch{width:34px}.paint-palette p{font-size:11px}.camera-preview{width:155px}.vehicle-specs{width:180px;right:3%}.vehicle-specs meter{width:85px}.vehicle-selector{left:3%;max-width:190px}.vehicle-selector h2{font-size:33px}.spec-numbers{gap:16px}.vehicle-arrow{width:54px}.vehicle-arrow.previous{left:1.5%}.vehicle-arrow.next{right:1.5%}.guide-active .vehicle-swipe-hint{max-width:310px;font-size:9px}.vehicle-swipe-hint strong{font-size:10px}.scene-actions button{padding:10px 12px}}
@media(max-width:700px){.paint-palette{left:5%;top:7px}.swatches{gap:2px}.swatch{width:31px;height:37px;padding:6px}.swatch>i{width:20px;height:25px;outline-offset:3px}.paint-palette p{font-size:10px;margin-top:8px;line-height:1.5}.paint-palette p br{display:none}.paint-palette p strong{display:block}.palette-alternative{display:none}.camera-preview{top:9px;right:5%;width:81px;border-radius:9px}.camera-caption{font-size:6px;padding:9px 4px 4px}.camera-caption i{width:3px;height:3px}.reset-view{left:auto;right:5%;top:89px;width:28px;height:28px}.reset-view svg{width:15px;height:15px}.studio-guide{top:112px;width:90%;left:50%}.guide-top{gap:18px}.guide-top>span{font-size:9px}.guide-top button{font-size:10px}.guide-progress{margin:8px auto 11px;width:146px}#guide-checkpoints span{width:17px;height:17px;font-size:8px}#guide-progress{top:8px}.guide-current h2{font-size:25px;margin-bottom:7px}.guide-current p{font-size:12px;line-height:1.5;max-width:330px}.guide-action{margin-top:9px;min-height:30px;font-size:11px;padding:7px 15px}.guide-open{top:105px;font-size:11px}.vehicle-swipe-hint{top:157px;width:85%;max-width:310px;font-size:10px;line-height:1.5}.vehicle-swipe-hint strong{font-size:11px}.vehicle-swipe-hint svg{width:25px;height:25px}.guide-active .vehicle-swipe-hint{bottom:245px;top:auto;font-size:9px;max-width:290px}.guide-active .vehicle-swipe-hint strong{display:none}.guide-active .vehicle-swipe-hint svg{width:20px;height:20px}.vehicle-arrow{top:51%;width:38px;min-height:65px;gap:6px}.vehicle-arrow.previous{left:1%}.vehicle-arrow.next{right:1%}.vehicle-arrow svg{width:20px;height:33px}.vehicle-arrow span{font-size:5px;letter-spacing:.08em}.vehicle-selector{bottom:130px;left:5%;width:132px}.vehicle-index{font-size:8px}.vehicle-selector h2{font-size:29px;margin:8px 0}.vehicle-tagline{font-size:9px;line-height:1.5;margin-bottom:7px}.vehicle-selector [role=group]{gap:13px}.vehicle-selector [data-vehicle]{font-size:9px}.vehicle-specs{right:5%;bottom:132px;width:142px}.vehicle-specs>p{font-size:6px;letter-spacing:.07em;margin-bottom:11px}.spec-numbers{gap:16px;margin-bottom:12px}.spec-numbers strong{font-size:23px}.spec-numbers span{font-size:8px}.spec-numbers>div{gap:4px}.vehicle-specs label{font-size:9px;gap:8px;margin-top:9px}.vehicle-specs meter{width:63px;height:3px}.bottom-controls{bottom:53px}.scene-actions{gap:3px;padding:5px 8px}.scene-actions #engine-toggle{width:64px;height:64px;min-height:64px;font-size:12px;margin:-8px 8px}.scene-actions button{padding:9px 12px;font-size:10px;gap:5px}.scene-actions button svg{width:17px;height:17px}.snap-control{bottom:9px;width:90%}.snap-control button{font-size:9px}.snap-control>span{font-size:7px}.feedback,.camera-on .feedback{top:auto;bottom:250px;left:50%;max-width:88%;font-size:10px;white-space:normal}#viewport,.guide-active #viewport{inset:228px 0 242px}.app:not(.guide-active) #viewport{top:170px}}
@media(max-width:370px){.guide-current h2{font-size:22px}.guide-current p{font-size:11px}.vehicle-selector{width:112px}.vehicle-specs{width:133px}.vehicle-selector h2{font-size:26px}.spec-numbers{gap:11px}.vehicle-specs label{font-size:8px}.paint-palette p{font-size:9px}.camera-preview{width:74px}}
@media(max-height:660px) and (min-width:701px){.studio-guide{top:12px}.guide-progress{margin:5px auto 9px}.guide-current h2{font-size:28px}.guide-current p{font-size:12px}.guide-action{margin-top:8px;min-height:30px;font-size:10px;padding:6px 16px}.vehicle-selector,.vehicle-specs{bottom:25px}.vehicle-selector h2{font-size:30px}.vehicle-specs>p{margin-bottom:8px}.spec-numbers{margin-bottom:8px}.vehicle-specs label{margin-top:7px}.bottom-controls{bottom:37px}.scene-actions #engine-toggle{height:62px;width:62px;min-height:62px;font-size:11px}.snap-control{bottom:2px}.snap-control>span{display:none}.guide-active .vehicle-swipe-hint{bottom:122px}.camera-preview{width:140px;top:67px}#viewport,.guide-active #viewport{inset:85px 6% 128px}}
.app.driving #viewport{inset:0}.app.driving .camera-preview{top:auto}
.guide-paint-prompt .swatch>i{animation:invite-paint 1.9s ease-in-out infinite}.guide-paint-prompt .swatch:nth-child(2n)>i{animation-delay:.15s}.guide-paint-prompt .swatch:nth-child(3n)>i{animation-delay:.3s}.paint-carrying .studio-gesture-example{opacity:0}.paint-carrying .studio-gesture-example *{animation-play-state:paused!important}.studio-gesture-example{transition:opacity .2s}.guide-paint-prompt.paint-carrying .swatch:not(.picked)>i{animation:none}.guide-paint-prompt .swatch.picked>i{animation:held-paint 1.5s ease-in-out infinite}.studio-gesture-example .gesture-demo{margin-top:8px}.driving .gesture-demo,.entering-drive .studio-gesture-example{pointer-events:none}
@keyframes invite-paint{0%,100%{transform:rotate(45deg) scale(1);filter:brightness(1)}50%{transform:rotate(45deg) scale(1.17);filter:brightness(1.32);box-shadow:0 0 15px #c4a3f559,inset 1px 1px 3px #fff9}}@keyframes held-paint{0%,100%{transform:rotate(45deg) scale(.72);filter:brightness(1)}50%{transform:rotate(45deg) scale(.9);filter:brightness(1.3)}}
@media(prefers-reduced-motion:reduce){.guide-paint-prompt .swatch>i{animation:none;outline:1px solid #e2c7ff}.studio-gesture-example{transition:none}}
@media(prefers-reduced-motion:reduce){.entering-drive #viewport{transition:none}.vehicle-arrow{transition:none}}

/* Teach against the scene itself. The demonstration never supplies sensor input. */
.guide-directions{display:flex;justify-content:center;gap:8px;margin:13px auto 0}.guide-directions span{display:flex;align-items:center;gap:5px;padding:5px 8px;border:1px solid #e3cfff40;border-radius:20px;font-size:11px;color:#e8dff0;background:#211729a8}.guide-directions b{font-size:15px}.guide-directions .done{color:#abefd0;border-color:#abefd070;background:#153529b8}
.guide-demo-replay{pointer-events:auto;display:inline-block;margin-top:12px;padding:7px 13px;border-radius:20px;border:1px solid #dec5f04d;background:#241a32b8;color:#e9dff4;font-size:12px}.guide-demo-replay:hover{background:#413050}
.studio-camera-gate{position:absolute;inset:0;z-index:35;display:grid;place-items:center;background:#100b1b69;backdrop-filter:blur(3px);text-align:center}.studio-camera-gate>div{max-width:440px;padding:26px;background:#191021b3;border:1px solid #dec9eb30;border-radius:22px;margin:20px}.studio-camera-gate span{font-size:10px;letter-spacing:.16em;color:#e7c8fa}.studio-camera-gate h2{font-size:30px;line-height:1.15;margin:13px 0}.studio-camera-gate p{font-size:14px;line-height:1.6;color:#eee3f6}.studio-camera-gate button{display:block;margin:13px auto 0;border-radius:24px;background:linear-gradient(110deg,#aa3783,#7950bb);padding:12px 20px;font-size:14px}.studio-camera-gate #studio-camera-dismiss{background:transparent;font-size:12px;color:#d5c7e0;padding:6px}
.studio-paint-demo{position:absolute;inset:0;z-index:16;pointer-events:none;overflow:hidden}.studio-paint-hand{position:absolute;left:0;top:0;will-change:transform;filter:drop-shadow(0 8px 12px #0008)}.studio-paint-hand svg{display:block;width:100%;height:auto;overflow:visible}.large-hand-open,.large-hand-pinch{transition:opacity .65s}.large-hand-pinch{opacity:0}.pinched .large-hand-open{opacity:0}.pinched .large-hand-pinch{opacity:1}.studio-demo-droplet{position:absolute;left:0;top:0;width:22px;height:28px;border-radius:50% 50% 55% 55%;background:var(--demo-paint);border:1px solid #d4ecffcc;box-shadow:0 0 24px var(--demo-paint)}.studio-demo-target{position:absolute;width:62px;height:62px;transform:translate(-50%,-50%);border:1px solid #b5f4d9;border-radius:50%;box-shadow:0 0 35px #95f3ca48,inset 0 0 24px #b5f4d92a}.studio-demo-badge{position:absolute;bottom:26%;left:50%;transform:translateX(-50%);color:#d8ece5;font-size:10px;font-weight:700;letter-spacing:.1em;background:#161523b8;border:1px solid #d6c1ed2d;padding:7px 11px;border-radius:15px;white-space:nowrap}.demo-picked>i{outline:2px solid #c8f9e0;filter:brightness(1.3)}.paint-demonstrating .studio-guide{z-index:18}.paint-demonstrating .guide-demo-replay{visibility:hidden}.paint-demonstrating .vehicle-swipe-hint{visibility:hidden}.paint-demonstrating .studio-demo-path{display:none}
.driving .studio-camera-gate,.driving .studio-paint-demo,.entering-drive .studio-camera-gate,.entering-drive .studio-paint-demo{display:none!important}.experience[data-guide-step="2"] .vehicle-swipe-hint,.experience[data-guide-step="3"] .vehicle-swipe-hint,.experience[data-guide-step="4"] .vehicle-swipe-hint{visibility:hidden}.experience[data-guide-step="5"] .vehicle-arrow{color:#b6f3d5;filter:drop-shadow(0 0 10px #9fe1cf55)}
@media(max-width:700px){.guide-directions{gap:5px;margin-top:10px}.guide-directions span{font-size:10px;padding:4px 7px}.guide-demo-replay{font-size:11px;padding:6px 11px;margin-top:9px}.studio-demo-badge{bottom:31%;font-size:8px}.studio-camera-gate h2{font-size:26px}.studio-camera-gate p{font-size:13px}.studio-gesture-example .gesture-demo svg{height:112px}.studio-gesture-example .gesture-demo{width:230px}.guide-current p{font-size:13px}}
@media(prefers-reduced-motion:reduce){.large-hand-open,.large-hand-pinch{transition:none}}

/* The sensor explanation is a brief, readable success moment, not permanent small print. */
.sensor-explanation .guide-current h2{color:#fff}
.sensor-explanation .guide-current p{max-width:480px;font-size:clamp(18px,1.7vw,24px);font-weight:550;line-height:1.35;color:#fff;text-wrap:balance;text-shadow:0 2px 22px #080a10}
.studio-guide.guide-finished{display:grid;grid-template-columns:minmax(0,1fr) 104px;column-gap:20px;align-items:center}
.guide-finished .guide-top,.guide-finished .guide-progress{grid-column:1/-1}
.guide-finished .guide-current{grid-column:1;text-align:left}
.guide-finished .guide-current h2{font-size:clamp(25px,2.1vw,36px)}
.guide-finished .guide-current p{font-size:14px;line-height:1.45;margin-left:0}
.guide-action.start-button{grid-column:2;grid-row:3;display:flex;flex-direction:column;gap:3px;width:104px;height:104px;min-height:104px;padding:0;margin:0;position:relative;isolation:isolate;border-radius:50%;border:4px solid #827885;background:radial-gradient(circle at 38% 26%,#b84f61,#791c36 54%,#270f1c 82%);box-shadow:0 0 0 3px #15121b,0 0 0 4px #ded1ed40,inset 0 0 0 4px #23121e,0 10px 28px #0009;color:#fff;cursor:pointer;text-shadow:0 1px 4px #380514}
.guide-action.start-button:before{content:'';position:absolute;inset:8px;border:1px solid #ffa6bc70;border-radius:50%;pointer-events:none}
.guide-action.start-button strong{font-size:21px;line-height:1.1;letter-spacing:.08em;font-weight:850}
.guide-action.start-button .start-engine,.guide-action.start-button .start-caption{font-size:7px;letter-spacing:.18em;font-weight:650;color:#ffd4dc}
.guide-action.start-button:hover{filter:brightness(1.16);box-shadow:0 0 0 3px #21131f,0 0 0 4px #f1d9e775,inset 0 0 0 4px #23121e,0 0 26px #e9628955}
.guide-action.start-button:active{transform:scale(.96)}
.guide-action.start-button:focus-visible{outline:3px solid #a8f1d0;outline-offset:6px}
@media(max-width:1100px) and (min-width:701px){.studio-guide.guide-finished{grid-template-columns:minmax(0,1fr) 88px;column-gap:12px}.guide-action.start-button{width:88px;height:88px;min-height:88px}.guide-finished .guide-current h2{font-size:25px}.guide-finished .guide-current p{font-size:12px}}
@media(max-width:700px){.sensor-explanation .guide-current h2{font-size:25px}.sensor-explanation .guide-current p{font-size:18px;line-height:1.35;max-width:330px}.studio-guide.guide-finished{grid-template-columns:minmax(0,1fr) 84px;column-gap:18px}.guide-action.start-button{width:84px;height:84px;min-height:84px;border-width:3px}.guide-action.start-button strong{font-size:18px}.guide-action.start-button .start-engine,.guide-action.start-button .start-caption{font-size:6px}.guide-finished .guide-current h2{font-size:25px}.guide-finished .guide-current p{font-size:12px}}
@media(max-width:370px){.sensor-explanation .guide-current p{font-size:17px}.guide-finished .guide-current h2{font-size:22px}.studio-guide.guide-finished{column-gap:12px}}
.studio-gesture-example .gesture-demo-swipe{width:350px;max-width:100%;margin-top:12px}
.studio-gesture-example .gesture-demo-swipe svg{height:148px}
.studio-gesture-example .gesture-demo-swipe .gesture-demo-tag{font-size:9px;color:#ede7f4}
@media(max-width:700px){.studio-gesture-example .gesture-demo-swipe{width:290px;margin-top:7px}.studio-gesture-example .gesture-demo-swipe svg{height:120px}.studio-gesture-example .gesture-demo-swipe .gesture-demo-labels{font-size:9px;gap:9px}.studio-gesture-example .gesture-demo-swipe .gesture-demo-tag{font-size:8px}}
/* Finished-guide grid must never override hidden or survive the cockpit transition. */
.studio-guide[hidden],.driving .studio-guide,.entering-drive .studio-guide,.driving .guide-open,.entering-drive .guide-open{display:none!important}
/* START stands alone; the former multi-button pill is no longer a panel. */
.bottom-controls .scene-actions{padding:0;gap:0;border:0;border-radius:0;background:none;box-shadow:none;backdrop-filter:none}
.scene-actions #engine-toggle{margin:0}

/* V19: one short journey, optional discoveries and unobtrusive diagnostics. */
.guide-progress #guide-checkpoints{grid-template-columns:repeat(3,1fr)}
.guide-sensor-note{color:#fff;font-size:14px;line-height:1.45;max-width:420px;margin:10px 0 0}
.guide-active .gesture-legend,.guide-active .vehicle-swipe-hint,.guide-active .snap-control{display:none!important}
.guide-active .bottom-controls .scene-actions{visibility:hidden}
.guide-active .vehicle-arrow{opacity:.55}

.experience[data-guide-step="3"] .vehicle-arrow{opacity:1}
.experience[data-guide-step="3"] .vehicle-swipe-hint{visibility:visible}
.guide-finished .guide-sensor-note{grid-column:1/-1}
.topbar .camera-toggle{margin-right:104px}
.experience-tools{position:fixed;right:24px;top:20px;z-index:85;color:#f5edf9;font:inherit}
.tools-buttons{display:flex;gap:8px;justify-content:flex-end}
.tools-buttons>button{display:grid;place-items:center;width:38px;height:38px;padding:8px;border:1px solid #e8d4fa35;border-radius:50%;background:#16111ed9;color:#f5edf9;font-size:19px;cursor:pointer}
.tools-buttons>button:hover,.tools-buttons>button[aria-expanded=true]{border-color:#bc93e2;background:#392547}
.tools-buttons svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.tools-panel{position:absolute;right:0;top:50px;width:310px;max-width:calc(100vw - 32px);max-height:calc(100dvh - 120px);overflow:auto;padding:20px;border:1px solid #e5c5fa32;border-radius:18px;background:#17111ff5;box-shadow:0 18px 60px #0008;backdrop-filter:blur(14px);font-size:13px;line-height:1.55}
.tools-panel[hidden],.fps-readout[hidden]{display:none!important}
.tools-panel header{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:17px}
.tools-panel header button{background:none;color:#fff;font-size:25px;padding:0 6px;cursor:pointer}
.tools-panel p{color:#d9cfe1;margin:10px 0}.tools-panel a{color:#b9eddc}
.quality-options{display:flex;gap:6px;margin:16px 0}.quality-options button{flex:1;padding:10px 4px;background:#211929;border:1px solid #897c9755;border-radius:12px;color:#fff;cursor:pointer;font-weight:700}
.quality-options small{display:block;font-size:10px;font-weight:400;margin-top:4px;color:#d7c7e6}.quality-options button[aria-pressed=true]{background:#654085;border-color:#c49fe6}
.fps-switch{display:flex;gap:8px;align-items:center;cursor:pointer}.fps-switch input{accent-color:#b391d9;width:16px;height:16px}.tools-panel output{font-size:11px;color:#b7e4d7;display:block;min-height:18px}
.fps-readout{position:absolute;right:0;top:44px;white-space:nowrap;font:11px ui-monospace,monospace;color:#b7e4d7;background:#11171be0;padding:4px 7px;border-radius:7px;pointer-events:none}
.tools-panel~.fps-readout{top:auto}.help-panel ol{padding-left:18px}.help-panel li{margin:10px 0}.help-panel details{border-top:1px solid #cdaeee25;padding-top:12px;margin-top:15px}.help-panel summary{cursor:pointer;color:#fff;font-weight:600}.help-panel .gesture-demo{max-width:100%;width:240px}.help-panel .gesture-demo svg{height:110px}.help-race{display:none}.driving .help-race{display:block}.driving .help-studio{display:none}
.driving .experience-tools{top:20px;right:calc(50% - 128px)}
.driving .tools-panel{right:-100px}
@media(max-width:700px){.experience-tools{right:14px;top:16px}.tools-buttons{gap:5px}.tools-buttons>button{width:33px;height:33px;padding:6px}.topbar .camera-toggle{margin-right:82px}.tools-panel{width:286px;padding:16px}.driving .experience-tools{right:14px;top:84px}.driving .tools-panel{right:0}.guide-sensor-note{font-size:12px;margin-top:7px}.guide-active #viewport{top:220px;bottom:120px}.guide-active .bottom-controls{pointer-events:none}.guide-active .navigation-hint{display:none}}
@media(prefers-reduced-motion:reduce){}

/* V20: visible lessons, permanent vehicle identity and performance. */
.studio-guide{width:min(620px,calc(100% - 560px))}
.guide-current p,.guide-finished .guide-current p{font-size:17px;line-height:1.45;color:#eee8f5}
.guide-current h2{font-size:clamp(28px,2.5vw,40px)}
.guide-directions span{font-size:14px;padding:7px 10px}.guide-directions b{font-size:18px}
.vehicle-specs label{font-size:13px}.vehicle-specs{width:235px}.spec-numbers strong{font-size:32px}
.guide-finished .studio-gesture-example{grid-column:1/-1;grid-row:4}.guide-finished .gesture-demo-swipe{margin:0 auto;width:260px}.guide-finished .gesture-demo-swipe svg{height:80px}.guide-finished .gesture-demo-tag{display:none}
.experience[data-guide-step="4"] .bottom-controls{display:none}.experience[data-guide-step="4"] .vehicle-swipe-hint{display:none}.experience[data-guide-step="4"] .guide-open{top:auto;bottom:10px;left:50%;transform:translateX(-50%)}
@media(max-width:1100px) and (min-width:701px){.studio-guide{width:calc(100% - 440px)}.guide-current p,.guide-finished .guide-current p{font-size:15px}.vehicle-specs{width:205px}}
@media(max-width:700px){.studio-guide{width:calc(100% - 32px)}.guide-current p,.guide-finished .guide-current p{font-size:15px}.guide-current h2{font-size:27px}.guide-directions{gap:4px}.guide-directions span{font-size:12px;padding:5px 7px}.vehicle-specs{width:160px;bottom:34px;right:16px}.vehicle-specs label{font-size:11px}.vehicle-selector{bottom:38px;left:16px;width:145px}.vehicle-selector h2{font-size:30px}.guide-active #viewport{top:250px;bottom:155px}.experience[data-guide-step="4"] #viewport{top:300px;bottom:155px}.guide-finished .gesture-demo-swipe svg{height:65px}.guide-finished .gesture-demo-labels{display:none}.guide-finished .guide-current h2{font-size:24px}.guide-finished .guide-current p{font-size:14px}.sensor-explanation .guide-current p{font-size:18px}}

@media(max-height:660px) and (min-width:701px){.guide-finished .studio-gesture-example{display:none}}

.experience[data-guide-step="4"] .guide-open{bottom:35px}
.experience[data-guide-step="4"] .snap-control>span{display:none}
@media(max-width:700px){.experience[data-guide-step="4"] .guide-open{top:88px;bottom:auto}.experience[data-guide-step="4"] .snap-control{bottom:7px}.experience[data-guide-step="4"] .vehicle-specs,.experience[data-guide-step="4"] .vehicle-selector{bottom:42px}}

/* V21: short instructions and one permanent start control. */
.studio-guide,.studio-guide.guide-finished{width:min(940px,calc(100% - 340px));display:block;text-align:center}
.sensor-explanation .guide-current p{max-width:850px;font-size:clamp(18px,1.8vw,25px);text-wrap:pretty}
.guide-finished .guide-current{text-align:center}.guide-finished .guide-current h2{font-size:clamp(28px,3vw,44px)}.guide-finished .guide-current p{max-width:780px;margin:10px auto;font-size:clamp(17px,1.6vw,22px)}
.guide-finished .guide-top,.guide-finished .guide-progress,.guide-finished #guide-action{display:none!important}
.bottom-controls,.experience[data-guide-step="4"] .bottom-controls{display:block;position:absolute;top:47%;bottom:auto;left:auto;right:7%;transform:none;z-index:12;pointer-events:auto}
.guide-active .bottom-controls .scene-actions{visibility:visible}.scene-actions #engine-toggle{width:114px;height:114px;min-height:114px;font-size:22px}
.driving .bottom-controls,.entering-drive .bottom-controls{display:none!important}
.start-hand-hint{position:absolute;top:60px;left:-100px;width:150px;pointer-events:none;filter:drop-shadow(0 8px 14px #0007)}.start-hand-hint[hidden]{display:none}.start-hand-hint svg{width:130px;transform:rotate(25deg);animation:start-hand-press 2.5s ease-in-out both}.start-hand-hint span{display:block;width:200px;margin-left:-35px;text-align:center;font-size:15px;color:white;text-shadow:0 2px 8px black}
.glove-demo{display:block;overflow:visible}.glove-palm{opacity:0}.glove-opening .glove-point{animation:glove-close 2.5s ease-in-out infinite}.glove-opening .glove-palm{animation:glove-open 2.5s ease-in-out infinite}
@keyframes start-hand-press{0%{opacity:0;transform:translate(-25px,40px) rotate(25deg)}25%{opacity:1;transform:translate(8px,-20px) rotate(25deg)}40%,70%{transform:translate(20px,-35px) rotate(25deg) scale(.88)}55%,85%{opacity:1;transform:translate(8px,-20px) rotate(25deg)}100%{opacity:0;transform:translate(-10px,10px) rotate(25deg)}}
@keyframes glove-open{0%,25%,95%,100%{opacity:0}45%,75%{opacity:1}}@keyframes glove-close{0%,25%,95%,100%{opacity:1}45%,75%{opacity:0}}
@media(max-width:700px){.studio-guide,.studio-guide.guide-finished{width:calc(100% - 26px)}.sensor-explanation .guide-current p{font-size:18px;max-width:none;line-height:1.3}.guide-finished .guide-current h2{font-size:28px}.guide-finished .guide-current p{font-size:17px;max-width:360px}.bottom-controls,.experience[data-guide-step="4"] .bottom-controls{top:auto;bottom:172px;right:22px}.scene-actions #engine-toggle{width:86px;height:86px;min-height:86px;font-size:18px}.start-hand-hint{top:45px;left:-80px;width:110px}.start-hand-hint svg{width:100px}.start-hand-hint span{font-size:13px;width:180px}.experience[data-guide-step="4"] #viewport{top:235px;bottom:158px}}
@media(prefers-reduced-motion:reduce){.start-hand-hint svg{animation:none}.glove-opening .glove-point{animation:none}.glove-opening .glove-palm{animation:none}}

.start-hand-hint{left:-25px}@media(max-width:700px){.start-hand-hint{left:-20px}}

.start-hand-hint svg{height:auto;max-height:none}.scene-actions:has(.start-hand-hint:not([hidden])) #engine-toggle{animation:start-target-press 2.5s ease-in-out both}
@keyframes start-target-press{0%,25%,55%,85%,100%{filter:brightness(1)}40%,70%{filter:brightness(1.55);box-shadow:0 0 0 7px #ffffff44,0 0 30px #f49aad88}}
@media(min-width:701px){.bottom-controls,.experience[data-guide-step="4"] .bottom-controls{right:12%}}

.start-hand-hint{left:-64px;top:0}.start-hand-hint svg{transform:rotate(90deg)}
@keyframes start-hand-press{0%{opacity:0;transform:translate(-35px,0) rotate(90deg)}25%,55%,85%{opacity:1;transform:translate(-8px,0) rotate(90deg)}40%,70%{opacity:1;transform:translate(4px,0) rotate(90deg) scale(.95)}100%{opacity:0;transform:translate(-25px,0) rotate(90deg)}}
@media(max-width:700px){.start-hand-hint{left:-49px;top:0}}

/* V22: readable filled hands, with a moving index rather than a whole-hand tap. */
.guide-finished .studio-gesture-example:not([hidden]){display:block;position:relative;width:310px;height:130px;margin:4px auto 0;pointer-events:none}
.studio-gesture-example .glove-swipe{width:85px;height:98px;max-height:none;margin:0 auto;animation:glove-sweep 4.8s ease-in-out infinite}
.glove-swipe .glove-point{display:none}.glove-swipe .glove-palm{opacity:1}
.studio-gesture-example>span{display:block;font-size:14px;color:#eee8f5;text-align:center}
@keyframes glove-sweep{0%,12%{transform:translateX(-65px) rotate(-12deg)}40%,55%{transform:translateX(65px) rotate(12deg)}83%,100%{transform:translateX(-65px) rotate(-12deg)}}
.glove-click .glove-index{transform-origin:75px 102px;animation:index-bend 2.5s ease-in-out both}
@keyframes index-bend{0%,25%,55%,85%,100%{transform:scaleY(1) skewX(0deg)}40%,70%{transform:scaleY(.38) skewX(-18deg)}}
@keyframes start-hand-press{0%{opacity:0;transform:translate(-28px,0) rotate(90deg)}25%,85%{opacity:1;transform:translate(-8px,0) rotate(90deg)}100%{opacity:0;transform:translate(-28px,0) rotate(90deg)}}
.studio-camera-gate>div{border:0;border-radius:0;box-shadow:none;background:radial-gradient(ellipse,#10111ded,transparent 74%);padding:70px;max-width:900px}
@media(max-width:700px){.guide-finished .studio-gesture-example:not([hidden]){height:105px;width:280px}.studio-gesture-example .glove-swipe{width:65px;height:75px}.studio-gesture-example>span{font-size:12px}.experience[data-guide-step="4"] #viewport{top:300px}.studio-camera-gate>div{padding:35px 20px}}
@media(prefers-reduced-motion:reduce){.studio-gesture-example .glove-swipe,.glove-click .glove-index{animation:none}}

.start-hand-hint span{position:absolute;bottom:100%;left:-40px;margin:0 0 8px;width:230px}.studio-gesture-example>span{position:absolute;top:0;width:100%}.studio-gesture-example .glove-swipe{padding-top:23px;box-sizing:content-box}
