#rm-touring .racer{background:#16212a;color:#e6e9e6;border-radius:14px;overflow:hidden;margin-bottom:30px}#rm-touring .racer *{box-sizing:border-box}#rm-touring .racer button{font:inherit;color:#e8edeb;background:#2e424c;border:1px solid #71838a;min-height:46px;padding:9px 14px;border-radius:5px;font-size:13px;cursor:pointer;touch-action:manipulation}#rm-touring .racer button:focus-visible,#rm-touring .racer input:focus-visible,#rm-touring .orbit-stage:focus-visible{outline:3px solid #f0cc83;outline-offset:-3px}#rm-touring .racer button[aria-pressed=true]{background:#d9c28f;border-color:#d9c28f;color:#20313a}#rm-touring .racer button:active{background:#667d83}#rm-touring .mode-bar{padding:14px 18px;display:flex;gap:8px;align-items:center;justify-content:space-between;scroll-margin-top:80px}#rm-touring .mode-bar strong{font-size:11px;letter-spacing:.12em}#rm-touring .mode-bar>div{display:flex;gap:5px}#rm-touring .mode-bar button{font-size:11px;padding:7px 10px;min-height:40px}#rm-touring .race-screen{aspect-ratio:16/10;position:relative;overflow:hidden;background:#758e99;outline:none}#rm-touring .race-screen canvas,#rm-touring .scene-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#rm-touring .race-screen:has(canvas[data-distance]) .scene-poster{display:none}#rm-touring .top-hud{position:absolute;inset:12px 14px auto;display:flex;align-items:start;gap:12px}#rm-touring .top-hud>div{padding:6px 9px;background:#152936bd;border-top:1px solid #d2dbcc66;border-radius:3px}#rm-touring .top-hud small{font-size:8px;letter-spacing:.09em;display:block;color:#c1d0ce}#rm-touring .top-hud b{font-size:25px;font-variant-numeric:tabular-nums;color:#f3e7c8;line-height:1.1}#rm-touring .top-hud em{font-size:12px;font-style:normal}#rm-touring .top-hud button{margin-left:auto;min-height:36px;font-size:10px;padding:5px 8px;background:#152936bd}#rm-touring .speed{position:absolute;left:14px;bottom:17px;display:flex;gap:6px;align-items:baseline;flex-wrap:wrap;max-width:170px;padding:7px 11px;background:#182c38c9;border-bottom:2px solid #d6bf86;border-radius:4px}#rm-touring .speed b{font-size:43px;line-height:1;font-variant-numeric:tabular-nums}#rm-touring .speed span{font-size:10px}#rm-touring .speed small{flex-basis:100%;font-size:9px;color:#c9d5d0}#rm-touring .telemetry{position:absolute;right:14px;bottom:17px;background:#172b37b8;padding:8px;width:112px;font-size:9px;display:flex;flex-direction:column;gap:4px}#rm-touring .telemetry i{display:block;height:3px;background:#b8c7a1;max-width:100%}#rm-touring .pause-overlay{position:absolute;inset:0;background:#13212add;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:20px}#rm-touring .pause-overlay h2{color:#e9dbc0}#rm-touring .exit-bar{display:flex;align-items:center;justify-content:space-between;padding:14px 18px;border-top:3px solid #657974;gap:12px;background:#2b4149}#rm-touring .exit-bar.available{background:#29544b;border-color:#e3c78e}#rm-touring .exit-bar>div{display:flex;flex-direction:column}#rm-touring .exit-bar small{font-size:9px;letter-spacing:.08em}#rm-touring .exit-bar strong{font-size:22px;color:#f4e2b8}#rm-touring .exit-bar>span{font-size:11px;max-width:145px;text-align:right;color:#d3dfd9}#rm-touring .race-notice{font-size:12px;line-height:1.65;padding:0 16px;min-height:40px;margin:12px 0}#rm-touring .driving-controls{display:grid;grid-template-columns:1fr 1fr 1.3fr 1.3fr;gap:8px;padding:0 16px}#rm-touring .driving-controls button{min-height:59px;touch-action:none;user-select:none;-webkit-user-select:none;font-weight:600}#rm-touring .driving-controls button:nth-child(-n+2){font-size:22px}#rm-touring .driving-controls button:nth-child(3){background:#654445}#rm-touring .driving-controls button:last-child{background:#3d6559}#rm-touring .drive-options{display:flex;flex-wrap:wrap;gap:8px;padding:12px 16px 0}#rm-touring .drive-options button{font-size:11px;flex:1}#rm-touring .instructions{font-size:11px;line-height:1.7;color:#b5c6c8;padding:0 16px}#rm-touring .under-road{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:0 16px 16px;font-size:10px;color:#adbdbe}#rm-touring .under-road button{font-size:10px;padding:7px}#rm-touring .garage-nav{display:flex;gap:6px;flex-wrap:wrap;padding:14px 16px;border-top:1px solid #465a63}#rm-touring .garage-nav button{font-size:10px;background:transparent;padding:7px 10px}#rm-touring .garage-scene{background:radial-gradient(ellipse at 50% 0,#738c8c55,transparent),#1f2b34;padding-top:32px;position:relative}#rm-touring .garage-scene:before{content:'';position:absolute;top:10px;left:25%;width:50%;height:5px;background:#dfecdc;box-shadow:0 0 22px #d7e8bf}#rm-touring .hanging-panel{position:relative;z-index:2;width:85%;margin:0 auto;background:linear-gradient(135deg,#dae0d4,#b7c9c1);padding:20px 24px;color:#243b40;border:5px solid #738a88;box-shadow:0 8px 22px #09151d77}#rm-touring .hanging-panel:before,#rm-touring .hanging-panel:after{content:'';position:absolute;bottom:100%;left:12%;width:3px;height:35px;background:repeating-linear-gradient(#b1beb3 0 4px,#465b60 4px 7px)}#rm-touring .hanging-panel:after{left:auto;right:12%}#rm-touring .hanging-panel small{font-size:9px;letter-spacing:.1em;font-weight:600}#rm-touring .hanging-panel h2{color:#253e43;font-size:28px;margin:10px 0;line-height:1.15}#rm-touring .hanging-panel h3{font-size:14px;margin:10px 0 4px}#rm-touring .hanging-panel p{font-size:14px;line-height:1.6;margin:8px 0}#rm-touring .orbit-stage{position:relative;height:380px;touch-action:pan-y;overflow:hidden;outline:none}#rm-touring .orbit-stage canvas{width:100%;height:100%;display:block}#rm-touring .racer .hotspot{position:absolute;width:32px;min-height:32px;padding:0;border-radius:50%;transform:translate(-50%,-50%);background:#edd59de8;color:#233841;border:2px solid #f2e5bf;font-size:11px;box-shadow:0 0 0 5px #e7d5a122;z-index:3}#rm-touring .scene-label{position:absolute;bottom:10px;left:0;right:0;font-size:8px;text-align:center;letter-spacing:.13em;color:#a6b8b9;pointer-events:none}#rm-touring .workshop-controls{display:flex;align-items:center;gap:10px;padding:12px 16px;background:#2b424c}#rm-touring .workshop-controls button{font-size:23px;min-width:48px}#rm-touring .workshop-controls p{flex:1;text-align:center;font-size:13px;margin:0;line-height:1.5}#rm-touring .workshop-controls small{display:block;font-size:10px;color:#afc4c5}#rm-touring .workshop-tabs{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:16px 16px 0}#rm-touring .workshop-tabs button{font-size:12px;padding:7px}#rm-touring .workshop-tools{padding:14px 16px;min-height:125px}#rm-touring .workshop-tools p{font-size:12px;line-height:1.7;color:#bed0d0;margin:0 0 12px}#rm-touring .content-choices,#rm-touring .paint-choices{display:flex;gap:7px;flex-wrap:wrap}#rm-touring .content-choices button{font-size:12px;text-align:left}#rm-touring .paint-choices{margin-bottom:12px}#rm-touring .paint-choices button{display:flex;align-items:center;gap:7px;font-size:11px}#rm-touring .paint-choices i{width:15px;height:15px;border-radius:50%;border:1px solid #d0d0c3}#rm-touring .workshop-tools>button{margin:0 7px 12px 0}#rm-touring .workshop-tools label{display:flex;gap:12px;align-items:center;flex-wrap:wrap;font-size:12px;margin:5px 0 15px}#rm-touring .workshop-tools input{accent-color:#c8bd91;flex:1;min-width:130px;min-height:44px}#rm-touring .workshop-bottom{padding:0 16px 22px}#rm-touring .workshop-bottom .back-road{display:block;background:#d9c28f;color:#25383e;margin:8px 0 18px}#rm-touring .workshop-bottom a{color:#b9d8d6;font-size:13px}#rm-touring .workshop-bottom p{font-size:10px;line-height:1.7;color:#9fb4b9;margin:14px 0 0}#rm-touring .web-mode{padding:26px 20px;min-height:360px}#rm-touring .web-mode small{font-size:10px;color:#d9c28f}#rm-touring .web-mode h2{font-size:28px;line-height:1.2;color:#eddfc4}#rm-touring .section-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:22px 0}#rm-touring .section-grid button{display:flex;gap:14px;text-align:left;align-items:center;min-height:64px}#rm-touring .section-grid span{font-size:11px;color:#d9c28f}@media(max-width:600px){#rm-touring .mode-bar{padding:12px}#rm-touring .mode-bar strong{font-size:9px;letter-spacing:.06em}#rm-touring .mode-bar button{font-size:10px;padding:6px 8px}#rm-touring .race-screen{aspect-ratio:5/6}#rm-touring .top-hud{inset:9px 8px auto;gap:5px}#rm-touring .top-hud>div{padding:5px}#rm-touring .top-hud small{font-size:7px;letter-spacing:.01em}#rm-touring .top-hud b{font-size:18px}#rm-touring .top-hud button{font-size:9px;padding:5px}#rm-touring .speed{left:9px;bottom:13px;padding:6px 8px;max-width:125px}#rm-touring .speed b{font-size:32px}#rm-touring .telemetry{right:9px;width:87px;font-size:8px}#rm-touring .exit-bar{padding:12px;gap:10px}#rm-touring .exit-bar small{font-size:8px}#rm-touring .exit-bar strong{font-size:20px}#rm-touring .exit-bar>span{max-width:92px;font-size:10px}#rm-touring .race-notice{padding:0 12px}#rm-touring .driving-controls{padding:0 12px;gap:6px}#rm-touring .driving-controls button{font-size:11px;padding:7px;min-height:57px}#rm-touring .drive-options{padding:10px 12px 0}#rm-touring .instructions{padding:0 12px}#rm-touring .under-road{padding:0 12px 14px}#rm-touring .garage-nav{padding:12px}#rm-touring .garage-nav button{padding:6px 9px}#rm-touring .hanging-panel{width:92%;padding:17px 15px;border-width:4px;min-height:240px}#rm-touring .hanging-panel h2{font-size:24px}#rm-touring .hanging-panel small{font-size:8px}#rm-touring .hanging-panel p{font-size:13px}#rm-touring .orbit-stage{height:300px}#rm-touring .workshop-controls,#rm-touring .workshop-tools,#rm-touring .workshop-bottom{padding-left:12px;padding-right:12px}#rm-touring .workshop-tabs{padding:12px 12px 0}#rm-touring .workshop-tabs button{font-size:11px;padding:6px}#rm-touring .section-grid{grid-template-columns:1fr}#rm-touring .racer .hotspot{width:44px;min-height:44px}#rm-touring .content-choices button{font-size:11px}}
@media(prefers-reduced-motion:reduce){#rm-touring *{scroll-behavior:auto}}#rm-touring .scene-poster img{display:block;width:100%;height:100%;object-fit:cover}#rm-touring .workshop .hanging-panel{min-height:250px}#rm-touring .orbit-stage{touch-action:none}#rm-touring .garage-poster{position:absolute;width:100%;height:100%;object-fit:cover}#rm-touring .orbit-stage:has(canvas[data-distance]) .garage-poster{display:none}#rm-touring .orbit-stage canvas{position:relative}#rm-touring .hanging-panel{min-height:270px}#rm-touring .hanging-panel{height:310px;min-height:0!important;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#738a88 #c9d4cb;scrollbar-width:thin;scroll-padding:16px}#rm-touring .hanging-panel p{white-space:pre-line}#rm-touring .hanging-panel .panel-copy p+p{border-top:1px solid #839b9350;padding-top:12px}#rm-touring .scroll-hint{display:block;position:sticky;bottom:-20px;background:#c3d0c7;padding:8px 0;color:#365352;letter-spacing:0!important}#rm-touring .hanging-panel:before,#rm-touring .hanging-panel:after{display:none}#rm-touring .garage-scene:after{content:'';position:absolute;top:0;left:26%;right:26%;height:34px;border-left:3px dashed #b1beb3;border-right:3px dashed #b1beb3;pointer-events:none}@media(max-width:600px){#rm-touring .hanging-panel{height:300px}#rm-touring .scroll-hint{bottom:-17px}#rm-touring .hanging-panel p{font-size:13px;line-height:1.65}}#rm-touring .panel-block+.panel-block{border-top:1px solid #839b9350;margin-top:14px;padding-top:10px}#rm-touring .panel-block h3{font-weight:600;font-size:14px}#rm-touring .hanging-panel .panel-copy .panel-block p+p{border:0;padding:0}#rm-touring .panel-block p{margin:6px 0}#rm-touring .auto-gas{font-size:11px;align-self:center;color:#cbd4c6;padding:4px}#rm-touring .driving-controls{grid-template-columns:repeat(3,1fr)}#rm-touring .auto-gas{grid-column:1/-1;text-align:center}

#rm-touring{max-width:1100px;margin:auto;padding:24px 16px;font:16px/1.6 system-ui,sans-serif;color:#e6e9e6}body.rm-touring-shell{margin:0;background:#102029}#rm-touring a{color:#d7e4d9}#rm-touring .racer{margin-top:16px}#rm-touring .hanging-panel{padding:8px;width:94%;height:auto!important;overflow:visible}#rm-touring .reader{width:100%;height:560px;border:0;background:white;display:block}#rm-touring .reader-toolbar{display:flex;gap:10px;flex-wrap:wrap;align-items:center;padding:8px;color:#243b40}#rm-touring .reader-toolbar a{color:#243b40}#rm-touring .reader-toolbar select{max-width:100%;flex:1;min-width:160px;min-height:44px;font:inherit}#rm-touring .catalog{max-height:220px;overflow:auto;display:flex;gap:8px;flex-wrap:wrap;padding:12px}#rm-touring .catalog button{text-align:left}#rm-touring .workshop[hidden],#rm-touring .road[hidden],#rm-touring .start-screen[hidden]{display:none}#rm-touring .header{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}#rm-touring .header h1{font-size:clamp(26px,4vw,42px);color:#efdfbd;margin:12px 0}#rm-touring .orbit-stage{height:330px}#rm-touring .mode-bar{flex-wrap:wrap}#rm-touring button:disabled{opacity:.6;cursor:default}#rm-touring :focus-visible{outline:3px solid #f0cc83;outline-offset:2px}#rm-touring .sr-only{position:absolute;clip:rect(0,0,0,0);height:1px;width:1px;overflow:hidden}#rm-touring .start-screen{padding:32px 20px}#rm-touring .start-screen h2{color:#efdfbd}#rm-touring .reader-note{padding:0 12px;font-size:12px}#rm-touring .reader-fallback{color:#243b40;padding:12px}#rm-touring .reader-fallback a{color:#243b40}@media(max-width:600px){#rm-touring{padding:12px 8px}#rm-touring .reader{height:480px}#rm-touring .hanging-panel{width:96%}#rm-touring .orbit-stage{height:280px}}@media(prefers-reduced-motion:reduce){#rm-touring *{scroll-behavior:auto!important}}

#rm-touring [hidden]{display:none!important}

/* v1.1: full-width reading without replacing or reloading its document. */
body.rm-reader-expanded{overflow:hidden}#rm-touring #rm-touring-app.reader-expanded .hanging-panel{position:fixed;inset:0;z-index:10000;width:100%;height:100dvh!important;border:0;margin:0;padding:0;display:flex;flex-direction:column;background:#e0e7e0}#rm-touring #rm-touring-app.reader-expanded .reader-toolbar{flex:0 0 auto;padding:8px;max-height:35dvh;overflow:auto}#rm-touring #rm-touring-app.reader-expanded .reader{flex:1;min-height:0;height:auto}#rm-touring #rm-touring-app.reader-expanded .reader-fallback{font-size:11px;margin:0;padding:3px 10px}#rm-touring .reader-toolbar button{background:#243b40;color:#fff}#rm-touring .arcade-hud{position:absolute;top:77px;left:14px;right:14px;display:flex;justify-content:space-between;font-size:12px;color:#fff2d1;text-shadow:0 1px 3px #000}#rm-touring .route-cue{position:absolute;right:14px;bottom:17px;max-width:47%;padding:8px 10px;background:#234c43ed;border:2px solid #d3c79b;border-radius:5px;color:#fff3d0;display:flex;gap:8px;align-items:center;font-size:12px}#rm-touring .route-cue b{font-size:36px;line-height:1}#rm-touring .route-cue.near{background:#245d48;border-color:#ffe092;box-shadow:0 0 0 3px #172b37}#rm-touring .game-over{position:absolute;inset:0;background:#13212aee;z-index:4;display:flex;align-items:center;justify-content:center;flex-direction:column;text-align:center;padding:16px}#rm-touring .game-over h2{color:#f2dfb9}#rm-touring .game-over p{color:#f2dfb9}@media(max-width:600px){#rm-touring .workshop .hanging-panel{width:100%;padding:4px;border-width:0}#rm-touring .reader-toolbar{gap:6px;padding:5px}#rm-touring .reader-toolbar a{font-size:12px}#rm-touring .reader-toolbar select{min-width:120px}#rm-touring .arcade-hud{top:65px;left:10px;right:10px;font-size:11px}#rm-touring .route-cue{right:9px;max-width:48%;font-size:11px;padding:6px}#rm-touring .route-cue b{font-size:28px}}

#rm-touring .leaderboard{padding:12px 18px;border-top:1px solid #465a63}#rm-touring .leaderboard h2{font-size:17px;color:#efdfbd;margin:8px 0}#rm-touring .leaderboard p{font-size:11px;line-height:1.5}#rm-touring .leaderboard ol{font:14px/1.9 monospace;padding-left:30px}#rm-touring .game-over{overflow:auto;justify-content:safe center}#rm-touring .game-over h2{font-size:22px;margin:6px}#rm-touring .game-over p{font-size:12px;margin:6px 0}#rm-touring .score-form{max-width:370px;font-size:12px}#rm-touring .score-form input{width:140px;min-height:44px;font:16px monospace}#rm-touring .score-form button{margin:8px}#rm-touring .score-form label{display:block}

/* Desktop Game is a viewport, not a page containing a game. */
#rm-touring .desktop-menu-toggle{display:none}#rm-touring .game-menu{display:block}
@media(min-width:900px){
body.rm-touring-shell{height:100dvh;overflow:hidden}body.rm-touring-shell #rm-touring{position:fixed;inset:0;width:100%;max-width:none;padding:0;margin:0;height:100dvh}body.rm-touring-shell #rm-touring>.header{display:none}#rm-touring #rm-touring-app,#rm-touring .racer{height:100%;margin:0;border-radius:0}#rm-touring .racer{position:relative;overflow:hidden}
#rm-touring .mode-bar{position:absolute;top:12px;left:14px;z-index:8;background:#142a34e8;border-radius:8px;padding:6px 9px}#rm-touring .mode-bar strong{display:none}#rm-touring .mode-bar button{min-height:38px}#rm-touring .desktop-menu-toggle{display:block;position:absolute;top:18px;right:108px;z-index:10;background:#142a34ed}#rm-touring .game-menu{display:none;position:absolute;top:76px;right:108px;bottom:24px;width:min(460px,50vw);z-index:9;background:#162b35f5;overflow-y:auto;border:1px solid #71838a;border-radius:12px;box-shadow:0 8px 30px #0008}#rm-touring .menu-open .game-menu{display:block}
#rm-touring .road{height:100%;position:relative}#rm-touring .race-screen{position:absolute;inset:0;aspect-ratio:auto;height:100%;width:100%}#rm-touring .top-hud{top:78px;left:16px;right:108px}#rm-touring .arcade-hud{top:148px;left:16px;right:108px}#rm-touring .speed{bottom:150px;left:18px}#rm-touring .route-cue{bottom:150px;right:110px}#rm-touring .exit-bar{position:absolute;bottom:92px;right:110px;max-width:420px;border-radius:6px;padding:8px 12px;background:#234c43ed}#rm-touring .exit-bar strong{font-size:17px}#rm-touring .race-notice{position:absolute;bottom:91px;left:18px;max-width:45vw;background:#142a34cc;padding:5px 10px;min-height:0;margin:0;border-radius:4px}#rm-touring .driving-controls{position:absolute;bottom:16px;left:18px;width:280px;padding:0;gap:7px;grid-template-columns:repeat(3,1fr)}#rm-touring .driving-controls button{min-height:48px}#rm-touring .auto-gas{display:none}#rm-touring .drive-options{position:absolute;bottom:16px;left:318px;right:110px;padding:0;gap:7px;justify-content:flex-end}#rm-touring .drive-options button{flex:0 1 150px;min-height:48px}#rm-touring .instructions{position:absolute;bottom:66px;left:18px;margin:0;font-size:10px;background:#142a34b8;padding:3px 6px;border-radius:4px}#rm-touring .start-screen{height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;background:radial-gradient(ellipse at 50% 60%,#385c65,#102029);padding:90px max(15%,40px);text-align:center}#rm-touring .start-screen h2{font-size:clamp(28px,4vw,56px);margin:12px}#rm-touring .start-screen p{max-width:650px}#rm-touring .workshop{position:absolute;inset:0;overflow-y:auto;padding:76px 110px 24px 14px}#rm-touring .workshop .hanging-panel{width:96%}#rm-touring .game-over{padding-top:80px;padding-bottom:110px}#rm-touring .game-over .score-form{max-width:440px}#rm-touring .pause-overlay{padding-bottom:120px}#rm-touring .reader-note{font-size:11px}
}

#rm-touring .racer{position:relative}#rm-touring .start-screen{position:absolute;inset:0;z-index:12;background:#102029e8;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;overflow-y:auto;padding:24px}#rm-touring .start-screen h2{font-size:clamp(24px,3vw,38px);margin:8px}#rm-touring .start-screen p{max-width:640px;font-size:14px;line-height:1.6}#rm-touring .start-screen>button{flex-shrink:0}#rm-touring .start-screen{bottom:auto;height:min(100%,100dvh)}
@media(min-width:900px){#rm-touring .start-screen{height:100%;padding:72px max(14%,32px)}#rm-touring .drive-options{left:300px}#rm-touring .drive-options button{font-size:10px;flex:1;max-width:150px}#rm-touring .instructions{max-width:80%;white-space:normal}}

#rm-touring .start-screen{background:#10202970;backdrop-filter:blur(2px)}#rm-touring .instructions-card{background:#142a34f5;border:1px solid #71838a;border-radius:16px;padding:24px;max-width:700px;box-shadow:0 12px 50px #0005}#rm-touring .instructions-card p:last-child{font-size:12px;color:#bdcfcc}@media(max-width:600px){#rm-touring .instructions-card{padding:16px}#rm-touring .instructions-card p{font-size:12px}#rm-touring .start-screen{padding:12px}}

/* Hidden overflow is scrollable by focus; clip keeps the desktop canvas fixed. */
@media(min-width:900px){#rm-touring .racer{overflow:clip}#rm-touring .racer>.sr-only{top:0;left:0}}

/* Section choices belong beside the reader, including expanded reading. */
#rm-touring .workshop-nav{margin:0;border-top:1px solid #849a9f;padding:8px;flex:0 0 auto;gap:6px;background:#d6e1dc}#rm-touring .workshop-nav button{color:#203c46;background:#f6f9f5;font-size:11px}#rm-touring .reader-expanded .workshop-nav{max-height:18dvh;overflow:auto}
#rm-touring .game-over{z-index:11;padding:18px 100px 18px 18px;justify-content:flex-start;gap:6px}#rm-touring .game-over>.leaderboard{width:min(100%,520px);text-align:left;flex:0 0 auto;background:#203a46;border-radius:8px;padding:10px 16px}#rm-touring .game-over .leaderboard ol{font-size:12px;margin:5px 0;line-height:1.6}#rm-touring .game-over .leaderboard p{font-size:11px}#rm-touring .game-over .score-form{flex:0 0 auto}#rm-touring .run-ended .driving-controls,#rm-touring .run-ended .drive-options,#rm-touring .run-ended .mode-bar,#rm-touring .run-ended .desktop-menu-toggle{visibility:hidden}@media(max-width:899px){#rm-touring .game-over{padding:12px 66px 12px 10px}}

#rm-touring .run-ended>.game-menu{display:none}#rm-touring .run-ended .race-screen{min-height:600px}@media(min-width:900px){#rm-touring .run-ended .race-screen{min-height:0}}

#rm-touring .run-ended .game-menu{display:none}#rm-touring .game-over{width:100%;min-width:0}#rm-touring .game-over>.leaderboard{width:100%;max-width:520px;min-width:0}#rm-touring .game-over .score-form{max-width:100%;min-width:0}#rm-touring .game-over .leaderboard li{overflow-wrap:anywhere}

#rm-touring .run-ended .race-screen{aspect-ratio:auto;width:100%}#rm-touring .game-over .score-form label{display:flex;flex-direction:column;align-items:center;gap:6px}

/* Existing workshop controls live in an in-game left settings panel. */
#rm-touring .workshop-config{background:#1b323e;border:1px solid #71838a;border-radius:10px;color:#e8edeb;padding:10px;margin:0 0 12px;max-width:100%}#rm-touring .workshop-config summary{font-size:14px;font-weight:600;cursor:pointer;min-height:36px;line-height:36px}#rm-touring .workshop-config .workshop-tools{padding:6px 0 0;min-height:0}#rm-touring .workshop-config .workshop-tools label{display:flex;flex-direction:column;align-items:stretch;gap:5px;margin:6px 0 12px}#rm-touring .workshop-config select{min-height:44px;width:100%;font:inherit}#rm-touring .workshop-config .workshop-tools input{min-width:0;width:100%;flex:0 0 auto}#rm-touring .workshop-config button{width:100%;margin:0 0 9px}#rm-touring .workshop-config button:last-child{margin-bottom:0}@media(min-width:900px){#rm-touring .workshop{padding-left:224px;padding-right:76px}#rm-touring .workshop-config{position:absolute;left:14px;top:82px;width:190px}#rm-touring .workshop .hanging-panel{width:100%}#rm-touring .workshop-config .workshop-tools label{font-size:12px}#rm-touring .workshop-config .workshop-tools button{font-size:11px}#rm-touring .workshop-config .workshop-tools input{margin:0}}@media(max-width:899px){#rm-touring .workshop-config .workshop-tools{display:grid;grid-template-columns:1fr 1fr;gap:8px;align-items:center}#rm-touring .workshop-config .workshop-tools label{font-size:11px;margin:0}#rm-touring .workshop-config button{font-size:11px;margin:0}#rm-touring .workshop-config .workshop-tools input{margin:0}#rm-touring .workshop-config{margin:8px}}

@media(max-width:700px){body.rm-touring-shell #rm-touring{padding-right:64px}}

@media(max-width:700px){#rm-touring .game-over{padding:12px}}

@media(min-width:900px){#rm-touring .workshop-config{position:fixed;z-index:7;max-height:calc(100dvh - 94px);overflow-y:auto;overscroll-behavior:contain}#rm-touring .reader-expanded .workshop-config{display:none}}

/* Integrated overlay controls. Neither scene reserves layout for options. */
body.rm-touring-shell{height:100dvh;overflow:hidden}body.rm-touring-shell #rm-touring{position:fixed;inset:0;width:100%;max-width:none;height:100dvh;padding:0!important;margin:0}#rm-touring>.header{display:none}#rm-touring #rm-touring-app,#rm-touring .racer{height:100%;margin:0;border-radius:0}#rm-touring .racer{overflow:clip}#rm-touring .road,#rm-touring .workshop,#rm-touring .garage-scene,#rm-touring .orbit-stage{position:absolute;inset:0;height:100%;width:100%;padding:0;overflow:hidden}#rm-touring .race-screen{position:absolute;inset:0;width:100%;height:100%;aspect-ratio:auto;min-height:0!important}#rm-touring .garage-scene:before,#rm-touring .garage-scene:after{display:none}#rm-touring .desktop-menu-toggle{display:block;position:absolute;top:max(14px,env(safe-area-inset-top));right:max(14px,env(safe-area-inset-right));z-index:10;min-width:86px;background:#142a34ed}#rm-touring .top-hud{top:14px;left:14px;right:116px;gap:8px}#rm-touring .top-hud button,#rm-touring .exit-bar,#rm-touring .race-notice,#rm-touring .instructions,#rm-touring .auto-gas{display:none}#rm-touring .arcade-hud{top:82px;left:14px;right:14px}#rm-touring .speed{bottom:22px;left:14px}#rm-touring .route-cue{bottom:22px;right:14px}#rm-touring .driving-controls{display:none}#rm-touring .workshop-controls{position:absolute;bottom:14px;left:14px;right:14px;z-index:3;padding:0;background:none;pointer-events:none}#rm-touring .workshop-controls button{pointer-events:auto;background:#142a34cd}#rm-touring .workshop-controls p{color:#fff;text-shadow:0 1px 4px #000}#rm-touring .scene-label{bottom:78px}#rm-touring .hanging-panel{display:none}#rm-touring .reader-expanded .hanging-panel{display:flex!important;inset:0;height:100dvh!important;width:100%;padding:0;z-index:20}#rm-touring .reader-expanded .desktop-menu-toggle{display:none}#rm-touring .reader-toolbar{justify-content:space-between;flex-wrap:nowrap}#rm-touring .reader-fallback{margin:0;font-size:11px}#rm-touring .game-over{padding:18px;width:100%;z-index:11}#rm-touring .start-screen{height:100%;padding:14px}#rm-touring .pause-overlay{padding:20px;background:#13212a90}#rm-touring .run-ended .desktop-menu-toggle{visibility:hidden}
#rm-touring dialog.options-modal{color:#e8edeb;background:#162c36;border:1px solid #71838a;border-radius:18px;width:min(560px,calc(100vw - 24px));max-width:none;max-height:calc(100dvh - 24px);padding:0;overflow:hidden;box-shadow:0 18px 70px #0008;font:14px/1.6 system-ui,sans-serif}#rm-touring dialog.options-modal[open]{display:flex;flex-direction:column}#rm-touring dialog.options-modal::backdrop{background:#0a182aaa;backdrop-filter:blur(3px)}#rm-touring .options-modal header{padding:16px 20px;display:flex;justify-content:space-between;align-items:center;gap:12px;border-bottom:1px solid #45606a;flex:0 0 auto}#rm-touring .options-modal header small{font-size:10px;letter-spacing:.12em;color:#c6d6d6}#rm-touring .options-modal h2{margin:0;font-size:26px;color:#efdfbd}#rm-touring .menu-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:6px;padding:12px;flex:0 0 auto}#rm-touring .menu-tabs button{padding:8px 4px}#rm-touring .menu-body{overflow-y:auto;overscroll-behavior:contain;padding:0 20px 16px;min-height:0}#rm-touring .menu-body h3{margin:4px 0 10px;font-size:18px;color:#efdfbd}#rm-touring .menu-body p{font-size:13px}#rm-touring .options-modal footer{border-top:1px solid #45606a;display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;padding:12px 20px;flex:0 0 auto}#rm-touring .options-modal footer a{font-size:12px;min-height:44px;display:flex;align-items:center}#rm-touring .options-modal .drive-options{position:static;display:grid;grid-template-columns:1fr 1fr;padding:12px 0;gap:8px}#rm-touring .options-modal .drive-options button{font-size:13px;max-width:none}#rm-touring .options-modal .workshop-tools{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 0;min-height:0}#rm-touring .options-modal .workshop-tools label{grid-column:1/-1;flex-direction:column;align-items:stretch;margin:0;gap:4px}#rm-touring .options-modal input,#rm-touring .options-modal select{min-height:44px;width:100%;font:inherit}#rm-touring .options-modal .workshop-tools button{margin:0}#rm-touring .options-modal .garage-nav{padding:0 0 12px;border:0;display:grid;grid-template-columns:1fr 1fr;margin-top:12px}#rm-touring .options-modal .garage-nav button{text-align:left;font-size:13px;background:#2e424c}#rm-touring .options-modal .catalog{max-height:none;padding:12px 0;display:grid;grid-template-columns:1fr 1fr}#rm-touring .options-modal [data-reader-link]{display:block;padding-top:12px;font-size:12px}#rm-touring .options-modal .leaderboard{padding:0;border:0}#rm-touring .options-modal [data-panel=sections]>label{display:block;margin:12px 0 4px}
@media(max-width:899px),(pointer:coarse){#rm-touring .driving-controls{display:grid;position:absolute;bottom:max(12px,env(safe-area-inset-bottom));left:12px;right:12px;width:auto;padding:0;gap:8px;grid-template-columns:repeat(3,1fr)}#rm-touring .driving-controls button{min-height:52px;background:#19313dd9}#rm-touring .speed,#rm-touring .route-cue{bottom:84px}#rm-touring .top-hud b{font-size:20px}#rm-touring .top-hud small{font-size:8px}#rm-touring .arcade-hud{top:72px}#rm-touring .speed b{font-size:32px}#rm-touring .route-cue{max-width:54%;font-size:11px}#rm-touring .options-modal header{padding:12px 16px}#rm-touring .menu-body{padding:0 16px 12px}#rm-touring .options-modal footer{padding:10px 16px}#rm-touring .menu-tabs{gap:4px;padding:8px}#rm-touring .menu-tabs button{font-size:12px}#rm-touring .game-over{padding:12px}}
@media(max-height:350px){#rm-touring .options-modal header{padding:6px 12px}#rm-touring .options-modal header small{display:none}#rm-touring .options-modal h2{font-size:20px}#rm-touring .menu-tabs{padding:6px 12px}#rm-touring .options-modal footer{padding:6px 12px}#rm-touring .menu-body{padding:0 12px 8px}}
body.rm-touring-shell #rm-mode-pill{display:none!important}#rm-touring .options-modal .orbit-options{display:flex;gap:10px;margin-top:10px}#rm-touring .orbit-options button{flex:1}#rm-touring .workshop-controls{bottom:22px}#rm-touring .workshop-controls p{margin:0}#rm-touring .scene-label{bottom:52px}
/* v1.3 HUD icons and in-scene workshop poster. */
#rm-touring .hud-help{position:absolute;top:12px;left:12px;z-index:10;width:46px;font-size:22px;font-weight:600}#rm-touring .hud-icons{position:absolute;right:12px;top:12px;display:flex;gap:7px;z-index:10}#rm-touring .hud-icons button{width:46px;padding:8px;font-size:22px}#rm-touring .hud-icons svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;vertical-align:middle}#rm-touring .desktop-menu-toggle{top:auto;bottom:14px;right:14px}#rm-touring .top-hud{top:12px;left:70px;right:125px;align-items:center;flex-wrap:wrap}#rm-touring .top-hud .level-box{display:flex;align-items:center;gap:14px;padding:8px 10px}#rm-touring [data-hud=level]{font-size:12px}#rm-touring [data-hud=lives]{font-size:27px;line-height:1;color:#efdfb3;letter-spacing:3px}#rm-touring .pause-overlay{display:none!important}#rm-touring .pause-actions{display:flex;gap:16px;justify-content:center;padding:28px}#rm-touring .pause-actions button{width:76px;height:68px;font-size:32px}#rm-touring .instructions-card header{display:flex;justify-content:space-between;align-items:center;gap:12px}#rm-touring .environment-picker{display:block;font-size:13px;padding:12px 0}#rm-touring .hanging-panel{display:flex;position:absolute;right:20px;top:100px;width:36%;height:52%!important;max-height:520px;margin:0;padding:8px;flex-direction:column;overflow:hidden;transform:rotate(-2deg);border:7px solid #c2b898;box-shadow:0 15px 28px #0008;background:#e0e7e0}#rm-touring .hanging-panel .reader{flex:1;min-height:0;height:auto;width:100%}#rm-touring .hanging-panel .reader-toolbar{display:none}#rm-touring .poster-toggle{margin:0 0 6px;flex-shrink:0;background:#243b40!important}#rm-touring .reader-expanded .hanging-panel{transform:none;border:0;max-height:none;right:0;top:0}#rm-touring .reader-expanded .poster-toggle{display:none}#rm-touring .reader-expanded .reader-toolbar{display:flex}#rm-touring .scene-car-tools{position:absolute;left:14px;top:112px;width:178px;z-index:4;padding:12px;border:1px solid #8da1a5;border-radius:10px;background:#142a34d9}#rm-touring .scene-car-tools .workshop-tools{padding:0;min-height:0}#rm-touring .scene-car-tools label{display:flex;flex-direction:column;align-items:stretch;font-size:12px;gap:5px;margin:0 0 10px}#rm-touring .scene-car-tools input,#rm-touring .scene-car-tools select{width:100%;min-width:0;min-height:44px;font:inherit}#rm-touring .scene-car-tools button{width:100%;margin:0 0 10px}#rm-touring .workshop-actions{position:absolute;top:12px;left:70px;display:flex;gap:8px;z-index:10}#rm-touring [data-mode=garage] .top-hud,#rm-touring [data-mode=garage] .hud-icons{display:none}#rm-touring .reader-expanded .scene-car-tools,#rm-touring .reader-expanded .workshop-actions,#rm-touring .reader-expanded .hud-help{display:none}#rm-touring .speed,#rm-touring .route-cue{bottom:78px}#rm-touring .game-over{z-index:15}
@media(max-width:899px){#rm-touring .top-hud{left:66px;right:116px;gap:5px}#rm-touring .top-hud>div{padding:4px 6px}#rm-touring .top-hud b{font-size:17px}#rm-touring .top-hud .level-box{padding:3px 6px;gap:8px}#rm-touring [data-hud=lives]{font-size:23px}#rm-touring .hud-icons{gap:4px}#rm-touring .desktop-menu-toggle{bottom:76px;right:12px;min-width:74px}#rm-touring .route-cue{bottom:137px;max-width:55%}#rm-touring .speed{bottom:84px}#rm-touring .hanging-panel{width:54%;right:10px;top:165px;height:36%!important;border-width:4px;padding:4px}#rm-touring .scene-car-tools{width:128px;left:10px;top:165px;padding:8px}#rm-touring .scene-car-tools label{font-size:11px}#rm-touring .scene-car-tools button{font-size:11px;padding:7px}#rm-touring .workshop-actions{left:66px;right:10px;top:70px}#rm-touring .workshop-actions button{font-size:11px;padding:8px}#rm-touring [data-mode=garage] .desktop-menu-toggle{bottom:14px}#rm-touring .poster-toggle{font-size:10px;min-height:38px;padding:5px}#rm-touring .scene-label{display:none}}
@media(max-height:450px){#rm-touring .scene-car-tools{top:70px;max-height:calc(100dvh - 84px);overflow:auto}#rm-touring .hanging-panel{top:80px;height:65%!important}#rm-touring .workshop-actions{top:12px}#rm-touring .top-hud b{font-size:17px}#rm-touring .speed,#rm-touring .route-cue{bottom:70px}}
#rm-touring .workshop .hanging-panel{width:36%;left:auto;right:20px}#rm-touring .reader-expanded .workshop .hanging-panel{width:100%;right:0}#rm-touring .scene-car-tools{max-height:calc(100dvh - 130px);overflow:auto}
@media(max-width:899px){#rm-touring .workshop .hanging-panel{width:54%;right:10px}#rm-touring .reader-expanded .workshop .hanging-panel{width:100%;right:0}}
#rm-touring .workshop .hanging-panel{width:34%;height:68%!important;top:72px}#rm-touring .reader-expanded .workshop .hanging-panel{width:100%;height:100dvh!important;top:0}
#rm-touring .poster-toggle{width:44px;height:44px;min-width:44px;min-height:44px;padding:0;margin:0 0 8px;display:inline-flex;align-items:center;justify-content:center;border-radius:8px;flex-shrink:0}
#rm-touring .poster-toggle svg{width:22px;height:22px;display:block}
#rm-touring .reader-fallback[hidden]{display:none!important}
#rm-touring .hanging-panel .reader-fallback{display:none}
#rm-touring .hanging-panel .reader-fallback:not([hidden]){display:block;font-size:11px;margin:0;padding:4px 6px;color:#365352}
@media(max-width:899px){#rm-touring .workshop .hanging-panel{width:50%;height:52%!important;top:130px}#rm-touring .reader-expanded .workshop .hanging-panel{width:100%;height:100dvh!important;top:0}#rm-touring .scene-car-tools{top:145px}#rm-touring .poster-toggle{width:40px;height:40px;min-width:40px;min-height:40px}}
/* v2.0.4 poster height wins over earlier rules */
body.rm-touring-shell #rm-touring .workshop .hanging-panel{height:68%!important;max-height:none;width:34%}
body.rm-touring-shell #rm-touring .reader-expanded .workshop .hanging-panel{height:100dvh!important;width:100%}
@media(max-width:899px){body.rm-touring-shell #rm-touring .workshop .hanging-panel{height:54%!important;width:52%}}
#rm-touring .instructions-card{max-height:calc(100dvh - 28px);overflow-y:auto;overscroll-behavior:contain}#rm-touring .hud-icons button:focus-visible,#rm-touring .hud-help:focus-visible{outline:3px solid #f0cc83;outline-offset:2px}

/* Smooth canvas upscale (avoid crisp-edges / pixel look) */
#rm-touring canvas{image-rendering:auto;image-rendering:high-quality;-ms-interpolation-mode:bicubic}
#rm-touring .race-screen canvas,#rm-touring .orbit-stage canvas{width:100%;height:100%;display:block}
#rm-touring .racer button{border-radius:999px}

/* Start: translucent card over a live road preview (not a dead void) */
#rm-touring-app[data-mode=start] .road,#rm-touring .racer[data-mode=start] .road{display:block!important}
#rm-touring-app[data-mode=start] .top-hud,
#rm-touring-app[data-mode=start] .arcade-hud,
#rm-touring-app[data-mode=start] .speed,
#rm-touring-app[data-mode=start] .route-cue,
#rm-touring-app[data-mode=start] .driving-controls,
#rm-touring-app[data-mode=start] .drive-options,
#rm-touring-app[data-mode=start] .hud-icons,
#rm-touring-app[data-mode=start] .mission-bar,
#rm-touring-app[data-mode=start] .exit-bar,
#rm-touring-app[data-mode=start] .race-notice,
#rm-touring .racer[data-mode=start] .top-hud,
#rm-touring .racer[data-mode=start] .arcade-hud,
#rm-touring .racer[data-mode=start] .speed,
#rm-touring .racer[data-mode=start] .route-cue,
#rm-touring .racer[data-mode=start] .driving-controls,
#rm-touring .racer[data-mode=start] .drive-options,
#rm-touring .racer[data-mode=start] .hud-icons,
#rm-touring .racer[data-mode=start] .mission-bar,
#rm-touring .racer[data-mode=start] .exit-bar,
#rm-touring .racer[data-mode=start] .race-notice{display:none!important}
#rm-touring .start-screen{background:linear-gradient(180deg,#1a304088 0%,#24384844 45%,#1a283499 100%);backdrop-filter:blur(1.5px)}
#rm-touring .instructions-card,#rm-touring .start-card{background:#1e3240f0;border-color:#c8a86a55;box-shadow:0 18px 48px #0a142088}
#rm-touring .start-card{max-width:640px;background:#1a2a34f2;border:1px solid #6f879066;border-radius:28px;padding:26px 28px;box-shadow:0 24px 60px #0008;backdrop-filter:blur(10px)}
#rm-touring .start-card h2{font-size:28px;letter-spacing:.02em;color:#f0e2c0;margin:0 0 8px}
#rm-touring .start-card p{font-size:14px;line-height:1.55;margin:8px 0;color:#d2ddd8}
#rm-touring .start-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:18px 0 6px}
#rm-touring .start-actions-play{grid-template-columns:1fr}
#rm-touring .start-actions button{min-height:48px;font-weight:600;border-radius:999px}
#rm-touring .start-play,#rm-touring .start-actions button[data-action=arcade]{background:linear-gradient(180deg,#e4cfa0,#c9a86a);color:#1a2830;border-color:#d9c28f;font-size:18px;min-height:56px}
#rm-touring .start-actions-play button[data-action=read]{background:#2a3e48;font-size:13px;min-height:44px;font-weight:500}

#rm-touring .hud-stack{padding:10px 16px;background:linear-gradient(180deg,#1a2e38d6,#132430e8);border:1px solid #8aa39a55;border-radius:999px;min-height:46px;display:flex;flex-direction:column;justify-content:center;box-shadow:0 10px 28px #0005;backdrop-filter:blur(8px)}
#rm-touring .hud-stack b{font-size:17px;font-variant-numeric:tabular-nums;color:#f4ead0;line-height:1.15;font-weight:650}
#rm-touring .hud-icons{position:absolute;top:max(12px,env(safe-area-inset-top));right:max(12px,env(safe-area-inset-right));display:flex;gap:8px;z-index:10;align-items:center}
#rm-touring .hud-icons button,#rm-touring .hud-icons .desktop-menu-toggle{position:static;width:48px;min-width:48px;min-height:48px;padding:0;margin:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:linear-gradient(180deg,#1a2e38ee,#132430f5);border:1px solid #8aa39a66;box-shadow:0 10px 22px #0005}
#rm-touring .hud-icons [data-action=help],#rm-touring .hud-icons [data-action=pause-icon]{font-size:20px;font-weight:600}
#rm-touring .hud-help{display:none!important}
#rm-touring .desktop-menu-toggle{top:auto;bottom:auto;right:auto}
#rm-touring .top-hud{top:max(12px,env(safe-area-inset-top));left:14px;right:190px;align-items:stretch;gap:8px}
#rm-touring .top-hud .level-box{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px 16px;min-height:46px;background:linear-gradient(180deg,#1a2e38d6,#132430e8);border:1px solid #8aa39a55;border-radius:999px;box-sizing:border-box;box-shadow:0 10px 28px #0005;backdrop-filter:blur(8px)}
#rm-touring [data-hud=lives]{font-size:18px;line-height:1;color:#f0b8a0;letter-spacing:3px}
#rm-touring .speed,#rm-touring .speed.gauge,#rm-touring .route-cue{bottom:max(14px,env(safe-area-inset-bottom))}
#rm-touring .speed.gauge{border-radius:50%;width:96px;height:96px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:0;gap:0;border:3px solid #d8c090;background:radial-gradient(circle at 40% 35%,#2a4050f5,#121c24f8);box-shadow:0 12px 30px #0007}
#rm-touring .speed.gauge b{font-size:26px;color:#f4ead0}#rm-touring .speed.gauge span{font-size:9px;letter-spacing:.1em;color:#c9d5d0}
#rm-touring .route-cue{background:linear-gradient(180deg,#1e3f38f2,#16352ff8);border:1px solid #d3c79b88;border-radius:999px;padding:10px 16px;box-shadow:0 10px 24px #0005}
#rm-touring .mission-bar{position:absolute;left:50%;transform:translateX(-50%);bottom:max(16px,env(safe-area-inset-bottom));max-width:min(70%,420px);padding:10px 18px;background:linear-gradient(180deg,#1a303cec,#142630f5);border:1px solid #8aa39a66;border-radius:999px;font-size:11px;text-align:center;z-index:3;box-shadow:0 10px 24px #0005;backdrop-filter:blur(8px)}
#rm-touring .mission-bar small{display:block;font-size:8px;letter-spacing:.12em;color:#c9d5d0}
#rm-touring .hud-toast{position:absolute;top:22%;left:50%;transform:translateX(-50%);padding:10px 18px;background:linear-gradient(180deg,#2a5a4ef5,#1e463cf5);border:1px solid #e3c78e88;border-radius:999px;color:#fff6dc;font-size:14px;font-weight:600;z-index:5;pointer-events:none;box-shadow:0 12px 30px #0006}
#rm-touring .scene-car-tools{border-radius:22px;background:linear-gradient(180deg,#1a2e38f0,#132430f5);border:1px solid #8aa39a55;box-shadow:0 12px 30px #0006}
#rm-touring .scene-car-tools button,#rm-touring .workshop-actions button{border-radius:999px}
#rm-touring .poster-toggle{border-radius:14px!important}
#rm-touring dialog.options-modal{border-radius:28px;background:linear-gradient(180deg,#1a2e38,#142430);border:1px solid #6f879088}
#rm-touring .game-over-card{border-radius:28px}
#rm-touring .game-over .score-row input,#rm-touring .game-over .score-row button{border-radius:999px}
#rm-touring .driving-controls button{border-radius:18px}
#rm-touring .menu-burger{display:flex;flex-direction:column;justify-content:center;gap:5px;width:18px;height:14px;margin:0 auto}#rm-touring .menu-burger i{display:block;height:2px;background:currentColor;border-radius:1px}
#rm-touring .hud-icons .desktop-menu-toggle{min-width:46px;padding:10px}
#rm-touring .scene-car-tools{display:block;position:absolute;left:14px;top:112px;width:190px;z-index:4;padding:12px;border:1px solid #8aa39a55;border-radius:22px;background:linear-gradient(180deg,#1a2e38f0,#132430f5);max-height:calc(100dvh - 130px);overflow:auto;box-shadow:0 12px 30px #0006}
#rm-touring .scene-car-tools .workshop-tools{display:flex;flex-direction:column;gap:10px;padding:0;min-height:0}
#rm-touring .scene-car-tools label{display:flex;flex-direction:column;align-items:stretch;font-size:12px;gap:5px;margin:0;color:#e8edeb}
#rm-touring .scene-car-tools input,#rm-touring .scene-car-tools select{width:100%;min-width:0;min-height:44px;font:inherit;color:#20313a;background:#eef3f1;border:1px solid #71838a;border-radius:14px;padding:6px 8px}
#rm-touring .scene-car-tools button{width:100%;margin:0}
#rm-touring .reader-expanded .scene-car-tools,#rm-touring .reader-expanded .workshop-actions{display:none}
#rm-touring .menu-tabs{grid-template-columns:repeat(5,1fr)}#rm-touring .options-modal [data-panel=settings] label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:13px}#rm-touring .options-modal [data-panel=drive] label{display:flex;flex-direction:column;gap:6px;margin:10px 0;font-size:13px}
#rm-touring .game-over{display:flex;align-items:center;justify-content:center;padding:20px;background:#0c1820e8;backdrop-filter:blur(4px)}
#rm-touring .game-over[hidden]{display:none}
#rm-touring .game-over-card{width:min(100%,480px);background:#1a303c;border:1px solid #6f8790;border-radius:16px;padding:22px 22px 18px;box-shadow:0 18px 50px #0008;display:flex;flex-direction:column;gap:14px}
#rm-touring .game-over-head{text-align:center}
#rm-touring .game-over-head h2{margin:0 0 8px;font-size:26px;color:#efdfbd}
#rm-touring .game-over .final-score{margin:0;font-size:28px;font-weight:700;color:#f3e7c8}
#rm-touring .game-over .final-stats{margin:4px 0 0;font-size:13px;color:#c1d0ce}
#rm-touring .game-over .leaderboard{padding:12px 14px;border:0;background:#152936;border-radius:10px}
#rm-touring .game-over .leaderboard h3{margin:0 0 8px;font-size:15px;color:#efdfbd}
#rm-touring .game-over .leaderboard ol{margin:0;padding-left:22px;font:13px/1.7 monospace}
#rm-touring .game-over .score-form{margin:0}
#rm-touring .game-over .score-row{display:flex;gap:8px;align-items:stretch;width:100%}
#rm-touring .game-over .score-row input{flex:1;min-width:0;min-height:46px;font:16px monospace;padding:8px 12px;border-radius:999px;border:1px solid #71838a;background:#eef3f1;color:#20313a}
#rm-touring .game-over .score-row button{flex:0 0 auto;margin:0;min-height:46px;background:#d9c28f;color:#20313a;border-color:#d9c28f;font-weight:600}
#rm-touring .game-over-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:space-between}
#rm-touring .game-over-actions button{flex:1;min-width:140px}
#rm-touring .game-over-actions .web-return{display:inline-flex;align-items:center;min-height:46px;padding:0 12px;font-size:13px;color:#d7e4d9;text-decoration:none;border-bottom:1px solid #d7e4d966}
#rm-touring [data-mode=garage] .hud-icons{display:flex}#rm-touring [data-mode=garage] .hud-icons [data-action=pause-icon]{display:none}
@media(max-width:899px),(pointer:coarse){#rm-touring .top-hud{left:12px;right:168px}#rm-touring .hud-icons{top:max(10px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));bottom:auto}#rm-touring .hud-icons button,#rm-touring .hud-icons .desktop-menu-toggle{min-height:42px;min-width:42px;padding:6px 8px;font-size:13px}#rm-touring .speed.gauge{width:72px;height:72px}#rm-touring .speed.gauge b{font-size:20px}#rm-touring .mission-bar{bottom:max(78px,calc(env(safe-area-inset-bottom) + 66px));font-size:10px}#rm-touring .speed,#rm-touring .route-cue{bottom:max(78px,calc(env(safe-area-inset-bottom) + 66px))}#rm-touring .menu-tabs{grid-template-columns:repeat(3,1fr)}#rm-touring .menu-tabs button{font-size:11px}#rm-touring .driving-controls{bottom:max(8px,env(safe-area-inset-bottom))}}
@media(prefers-reduced-motion:reduce){#rm-touring .hud-toast{transition:none}}

/* Final HUD language: win over older .top-hud>div { border-radius:3px } */
#rm-touring .top-hud>div,
#rm-touring .top-hud .hud-stack,
#rm-touring .top-hud .level-box{
  border-radius:999px!important;
  border:1px solid #8aa39a55;
  border-top-color:#8aa39a55;
  background:linear-gradient(180deg,#1a2e38d6,#132430e8);
  box-shadow:0 10px 28px #0005;
  backdrop-filter:blur(8px);
  padding:10px 16px;
}
#rm-touring .route-cue,
#rm-touring .mission-bar,
#rm-touring .hud-toast{
  border-radius:999px!important;
}
#rm-touring .hud-icons button,
#rm-touring .hud-icons .desktop-menu-toggle{
  border-radius:50%!important;
}
#rm-touring .speed.gauge{
  border-radius:50%!important;
}
#rm-touring .game-over-card,
#rm-touring .start-card,
#rm-touring dialog.options-modal{
  border-radius:28px!important;
}
#rm-touring .racer button,
#rm-touring .game-over .score-row input,
#rm-touring .game-over .score-row button{
  border-radius:999px!important;
}
#rm-touring .driving-controls button{
  border-radius:18px!important;
}
#rm-touring .scene-car-tools{
  border-radius:22px!important;
}

