@font-face { font-family: Roboto; font-weight: 300; src: url(fonts/roboto-latin-300-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Roboto; font-weight: 400; src: url(fonts/roboto-latin-400-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Roboto; font-weight: 500; src: url(fonts/roboto-latin-500-normal.woff2) format('woff2'); font-display: swap; }
@font-face { font-family: Roboto; font-weight: 700; src: url(fonts/roboto-latin-700-normal.woff2) format('woff2'); font-display: swap; }
:root { --or: #ff5722; --or2: #e64a19; --gr: #2e7d32; --gr2: #4caf50; --yl: #ffca28; --red: #ff5722; --dim: #93a0b4; --fg: #e8ecf1;
  --p1: #1e1e1e; --p2: #242424; --p3: #2a2a2a; --line: #333; }
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #0e0e10; color: var(--fg); font-family: Roboto, 'Segoe UI', Helvetica, Arial, sans-serif; font-size: 13px; overflow: hidden; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
svg { fill: currentColor; }
#app { display: flex; height: 100vh; height: 100dvh; }
.stage { position: relative; flex: 1; min-width: 0; overflow: hidden; background: radial-gradient(ellipse at 50% 60%, #26262a 0%, #141416 60%, #0e0e10 100%); }
.showroom { position: absolute; inset: 0; width: 100%; height: 100%; display: block; cursor: grab; }
.brand { position: absolute; left: 24px; top: 18px; z-index: 2; pointer-events: none; }
.brand-top { display: flex; align-items: center; gap: 6px; font-size: 11px; letter-spacing: .14em; color: var(--dim); font-weight: 500; }
.brand-w { color: var(--or); margin-right: 8px; }
.online-dot { width: 8px; height: 8px; background: var(--gr2); display: inline-block; }
.brand-title { font-size: 18px; font-weight: 500; margin-top: 4px; letter-spacing: .01em; }
.menu { position: absolute; left: 24px; top: 70px; z-index: 3; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.menu button { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px 0 12px; background: rgba(38,38,40,.92); font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: #cfd6e0; }
.menu button svg { width: 16px; height: 16px; }
.menu button:hover, .menu button.on { color: #6ab7ff; background: rgba(48,52,58,.95); }

.cab-col { position: absolute; left: 50%; top: 62px; width: min(520px, 58%); transform: translateX(-50%); z-index: 2; }
.cabinet { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border: 1px solid #4b6a92; box-shadow: 0 10px 40px rgba(0,0,0,.6); overflow: hidden; }
.cabinet > canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.loadbar { position: absolute; left: 10px; right: 10px; top: 8px; font-size: 10px; letter-spacing: .14em; font-weight: 500; color: #d7dde6; transition: opacity .4s; }
.loadbar.gone { opacity: 0; pointer-events: none; }
.lb-row { display: flex; justify-content: space-between; }
.lb-track { height: 3px; background: #2b2b2b; margin-top: 5px; } .lb-track i { display: block; height: 100%; width: 0; background: var(--or); transition: width .2s; }
.lb-sub { color: #666; letter-spacing: .02em; margin-top: 4px; font-weight: 400; }
.attract { position: absolute; left: 0; right: 0; top: 13%; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.play-solo { width: 67%; background: var(--or2); padding: 8px 10px 9px; display: flex; flex-direction: column; align-items: center; box-shadow: 0 4px 18px rgba(255,87,34,.25); }
.play-solo b { font-size: clamp(18px, 2.4vw, 30px); letter-spacing: .14em; font-weight: 500; line-height: 1.15; }
.play-solo small { font-size: 11.5px; margin-top: 3px; line-height: 1.35; max-width: 270px; }
.play-solo:hover { background: #ff6d3a; }
.online-vs { width: 67%; background: var(--gr); padding: 6px; font-size: 12.5px; letter-spacing: .12em; position: relative; font-weight: 500; }
.online-vs i { position: absolute; right: 8px; top: 8px; width: 6px; height: 6px; border-radius: 50%; background: #dfe; }
.online-vs:hover { background: #388e3c; }
.cooking { margin-top: 8px; background: rgba(66,55,20,.75); border-left: 3px solid var(--yl); padding: 8px 12px; display: flex; flex-direction: column; gap: 2px; transition: opacity .6s; }
.cooking b { color: var(--yl); font-size: 10px; letter-spacing: .14em; font-weight: 500; }
.cooking span { font-size: 11px; color: #d8d2bd; }
.cooking.gone { opacity: 0; pointer-events: none; }

.carname { position: absolute; left: 24px; bottom: 128px; z-index: 2; pointer-events: none; max-width: 40%; }
.cn-maker { color: var(--or); font-size: 11px; letter-spacing: .16em; font-weight: 500; }
.cn-model { font-size: clamp(26px, 3.3vw, 42px); font-weight: 300; line-height: 1.12; margin: 4px 0 6px; }
.cn-col { display: flex; align-items: center; gap: 8px; font-size: 12px; color: #aab3bf; }
.cn-col i { width: 11px; height: 11px; border: 1px solid #777; display: inline-block; }
.roomcard { position: absolute; right: 24px; bottom: 128px; width: 320px; z-index: 2; background: rgba(30,30,30,.96); border-left: 3px solid var(--gr2); padding: 10px 12px; }
.roomcard.gone { display: none; }
.rc-top { display: flex; justify-content: space-between; align-items: center; }
.rc-open { color: #81c784; font-size: 10px; letter-spacing: .14em; font-weight: 500; display: flex; align-items: center; gap: 6px; }
.rc-open i { width: 6px; height: 6px; border-radius: 50%; background: #81c784; }
.tag { font-size: 9.5px; letter-spacing: .12em; border: 1px solid #555; padding: 1px 5px; color: #c9d1db; text-transform: uppercase; }
.rc-body { display: flex; align-items: center; gap: 10px; margin-top: 6px; }
.rc-body > div { flex: 1; display: flex; flex-direction: column; } .rc-body b { font-size: 15px; } .rc-body small { color: var(--dim); font-size: 11px; margin-top: 2px; }
.btn-green { background: var(--gr); padding: 10px 18px; letter-spacing: .1em; font-size: 13px; } .btn-green:hover { background: #388e3c; }
.rc-x { color: #777; font-size: 12px; }
.volbar { position: absolute; left: 50%; transform: translateX(-50%); bottom: 64px; width: 300px; height: 38px; z-index: 2; background: rgba(30,30,30,.95); display: flex; align-items: center; gap: 14px; padding: 0 16px; }
.volbar svg { width: 18px; height: 18px; flex: none; } .volbar span { font-size: 11px; width: 32px; text-align: right; }
input[type=range] { -webkit-appearance: none; appearance: none; flex: 1; height: 4px; background: linear-gradient(var(--or), var(--or)) 0 / var(--v, 100%) 100% no-repeat, #555; border-radius: 2px; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 14px; height: 14px; border-radius: 50%; background: var(--or); }
input[type=range]::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: var(--or); border: 0; }
.bottombar { position: absolute; left: 0; right: 0; bottom: 0; height: 50px; z-index: 2; background: #121212; border-top: 1px solid #222; display: flex; }
.bb-new { color: var(--or); letter-spacing: .12em; font-size: 13px; padding: 0 18px; border-right: 1px solid #2a2a2a; width: 180px; text-align: left; flex: none; }
.bb-new:hover { background: #1a1a1a; }
.bb-cards { display: flex; overflow-x: auto; }
.bb-cards button { padding: 0 16px; border-right: 1px solid #222; display: flex; flex-direction: column; justify-content: center; text-align: left; min-width: 150px; }
.bb-cards button small { color: var(--dim); font-size: 10px; letter-spacing: .1em; } .bb-cards button b { font-size: 13px; font-weight: 500; white-space: nowrap; }
.bb-cards button.on { background: #1f1f1f; box-shadow: inset 0 -2px var(--or); }

.side { width: 380px; flex: none; background: #1b1b1c; display: flex; flex-direction: column; position: relative; z-index: 4; }
.side-pad { padding: 22px 22px 0; flex: 1; overflow-y: auto; }
.label { font-size: 11px; letter-spacing: .14em; color: #a8b0bb; font-weight: 500; }
.g-empty h2 { font-size: 30px; font-weight: 300; margin: 18px 0 14px; letter-spacing: .02em; }
.g-empty p { font-size: 12px; color: #b9c4d4; line-height: 1.5; margin: 0 0 14px; }
.btn-or { width: 100%; background: var(--or); padding: 16px; font-size: 13px; letter-spacing: .12em; box-shadow: 0 3px 10px rgba(0,0,0,.4); }
.btn-or:hover { background: #ff6d3a; }
.g-list { display: flex; flex-direction: column; gap: 8px; margin: 14px 0; }
.g-card { display: flex; gap: 10px; background: #242424; text-align: left; padding: 0; align-items: stretch; border-left: 3px solid transparent; }
.g-card.on { border-left-color: var(--or); background: #2a2a2a; }
.g-card img { width: 120px; height: 68px; object-fit: cover; display: block; }
.g-card div { padding: 8px 4px; display: flex; flex-direction: column; justify-content: center; }
.g-card small { color: var(--or); font-size: 10px; letter-spacing: .12em; } .g-card b { font-size: 14px; font-weight: 500; } .g-card span { color: var(--dim); font-size: 11px; }
.g-actions { display: flex; gap: 6px; margin-bottom: 14px; } .g-actions button { flex: 1; background: #2a2a2a; padding: 10px 6px; font-size: 11px; letter-spacing: .1em; } .g-actions button:hover { background: #333; }
.side-bottom { padding: 0 22px 10px; }
.crowncard { display: flex; background: #242424; min-height: 124px; }
.crowncard img { width: 140px; object-fit: cover; display: block; }
.cc-info { flex: 1; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; position: relative; }
.cc-area { color: var(--yl); font-size: 10px; letter-spacing: .12em; font-weight: 500; display: flex; align-items: center; gap: 5px; }
.cc-area svg { width: 12px; height: 12px; }
.cc-page { position: absolute; right: 12px; top: 10px; color: #8a94a2; font-size: 10px; letter-spacing: .1em; }
.cc-info b { font-size: 15px; font-weight: 500; margin-top: 3px; } .cc-info span { color: #aab3bf; font-size: 11px; } .cc-info em { color: var(--red); font-size: 11px; font-style: normal; font-weight: 500; }
.cc-dots { display: flex; gap: 4px; margin-top: auto; } .cc-dots i { flex: 1; height: 3px; background: #444; } .cc-dots i.on { background: var(--yl); }
.legal { font-size: 10px; color: #7f8894; padding: 8px 0 2px; }
.discord { display: flex; align-items: center; gap: 16px; background: #5865f2; color: #fff; text-decoration: none; padding: 18px 22px; height: 80px; }
.discord svg { width: 30px; height: 30px; flex: none; } .discord div { flex: 1; display: flex; flex-direction: column; } .discord b { font-size: 19px; letter-spacing: .1em; font-weight: 500; } .discord small { font-size: 11.5px; opacity: .9; }
.discord .ext { width: 18px; height: 18px; } .discord:hover { background: #4752c4; }

/* modals */
.modal-back { position: fixed; inset: 0; background: rgba(0,0,0,.62); z-index: 20; display: none; align-items: flex-start; justify-content: center; padding: 24px 16px; overflow-y: auto; }
.modal-back.on { display: flex; }
.modal { background: #222224; width: 540px; max-width: 100%; box-shadow: 0 20px 60px rgba(0,0,0,.6); position: relative; margin: auto 0; max-height: calc(100vh - 48px); display: flex; flex-direction: column; }
.modal.wide { width: 1040px; } .modal.newcar { width: 1180px; background: transparent; box-shadow: none; }
.m-head { padding: 22px 28px 6px; display: flex; justify-content: space-between; align-items: flex-start; }
.m-head h1 { margin: 0; font-size: 20px; font-weight: 400; } .m-head p { margin: 6px 0 0; color: #b9c4d4; font-size: 11.5px; }
.m-x { font-size: 22px; color: #ddd; line-height: 1; padding: 4px; } .m-x:hover { color: #fff; }
.m-body { padding: 8px 28px 24px; overflow-y: auto; }
.m-body h3 { font-size: 13px; font-weight: 500; margin: 16px 0 8px; } .m-body h4 { font-size: 10px; letter-spacing: .14em; color: #a8b0bb; font-weight: 500; margin: 16px 0 6px; }
.m-body p.note { color: #b9c4d4; font-size: 11.5px; margin: 8px 0 0; }
.m-sec { border-bottom: 1px solid #333; padding-bottom: 14px; }
select, input[type=text] { width: 100%; background: #2c2c2c; color: var(--fg); border: 0; border-bottom: 1px solid #555; padding: 10px; font: inherit; font-size: 13px; }
select:focus, input[type=text]:focus { outline: none; border-bottom-color: var(--or); }
.seg { display: flex; border: 1px solid #444; } .seg button { flex: 1; padding: 9px 6px; letter-spacing: .1em; font-size: 12px; text-transform: uppercase; border-right: 1px solid #444; } .seg button:last-child { border-right: 0; }
.seg button.on { background: var(--or); } .seg button:not(.on):hover { background: #2c2c2c; }
.vol-row { display: flex; gap: 14px; align-items: center; } .vol-row svg { width: 16px; height: 16px; } .vol-row span { width: 34px; text-align: right; font-size: 11px; }
.btn-or2 { background: var(--or); padding: 12px; width: 100%; letter-spacing: .12em; font-size: 12.5px; display: flex; justify-content: center; align-items: center; gap: 8px; } .btn-or2:hover { background: #ff6d3a; }
.btn-or2 svg { width: 16px; height: 16px; }
.btn-line { border: 1px solid #555; padding: 10px; width: 100%; letter-spacing: .12em; font-size: 12px; } .btn-line:hover { background: #2c2c2c; }
.row { display: flex; gap: 8px; align-items: stretch; } .row > * { min-width: 0; } .row .grow { flex: 1; } .row .btn-or2, .row .btn-sm { width: auto; padding: 0 22px; }
.chk { display: flex; align-items: center; gap: 10px; margin-top: 12px; font-size: 12.5px; cursor: pointer; }
.chk input { width: 16px; height: 16px; accent-color: var(--or); }
.rooms { margin-top: 10px; display: flex; flex-direction: column; gap: 4px; }
.room { display: flex; align-items: center; background: #2a2a2a; padding: 10px 12px; gap: 10px; text-align: left; } .room b { flex: 1; font-weight: 400; } .room:hover { background: #333; }
.times-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #1a1a1a; }
.tc { background: #2a2a2a; padding: 12px 12px 10px; } .tc h4 { margin: 0 0 8px; }
.tc ol { margin: 0; padding-left: 16px; } .tc li { margin: 0 0 7px; font-size: 12px; } .tc li div { display: flex; justify-content: space-between; } .tc li small { color: #8a94a2; font-size: 10.5px; display: block; }
.tc li.me { color: #ffab91; }
.crowns { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: #1a1a1a; }
.crown { background: #2a2a2a; text-align: left; padding: 0; display: flex; flex-direction: column; } .crown img { width: 100%; aspect-ratio: 16/8; object-fit: cover; display: block; }
.crown div { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 2px; } .crown b { font-size: 14px; font-weight: 500; } .crown span { color: #aab3bf; font-size: 11px; } .crown em { color: var(--red); font-size: 11px; font-style: normal; font-weight: 500; }
.crown:hover { background: #313131; } .crown .race-it { color: var(--or); font-size: 10px; letter-spacing: .12em; margin-top: 4px; }
/* controls modal */
.ctl { display: grid; grid-template-columns: 330px 1fr; min-height: 520px; border-top: 1px solid #333; }
.ctl-l { background: #1c1c1e; padding: 20px; position: relative; }
.ctl-r { display: flex; flex-direction: column; min-width: 0; }
.tabs { display: flex; border-bottom: 1px solid #333; } .tabs button { flex: 1; padding: 12px; letter-spacing: .12em; font-size: 12px; color: #cfd6e0; } .tabs button.on { color: var(--or); box-shadow: inset 0 -2px var(--or); }
.ctl-scroll { padding: 8px 18px 18px; overflow-y: auto; max-height: 470px; }
.bind { display: grid; grid-template-columns: 120px repeat(6, auto) 1fr; gap: 8px; align-items: center; margin: 8px 0; font-size: 12px; }
.kbtn { background: #2e2e30; min-width: 38px; padding: 8px 10px; font-size: 11.5px; text-align: center; } .kbtn:hover { background: #3a3a3c; } .kbtn.wait { background: var(--or); }
.slide { display: grid; grid-template-columns: 120px 1fr 40px; gap: 10px; align-items: center; margin: 6px 0; font-size: 12px; } .slide span { text-align: right; }
.ctl-foot { margin-top: auto; padding: 14px 18px; border-top: 1px solid #333; text-align: right; } .ctl-foot button { color: var(--or); letter-spacing: .12em; font-size: 12.5px; }
.intro { position: absolute; inset: 0; background: #1c1c1e; padding: 120px 20px 20px; z-index: 1; } .intro h5 { color: var(--or); letter-spacing: .14em; font-size: 10px; margin: 0 0 8px; font-weight: 500; } .intro h2 { font-weight: 400; font-size: 18px; margin: 0 0 14px; } .intro p { font-size: 12px; line-height: 1.55; color: #d0d6de; margin: 0 0 10px; }
.tester h5 { letter-spacing: .14em; font-size: 10px; color: #a8b0bb; margin: 14px 0 6px; font-weight: 500; }
.wheel { width: 120px; height: 120px; border-radius: 50%; border: 8px solid #444; margin: 6px auto; position: relative; } .wheel i { position: absolute; left: 50%; top: -8px; width: 6px; height: 22px; margin-left: -3px; background: var(--or); }
.wheel-wrap { text-align: center; font-size: 12px; }
.meter { height: 10px; background: #2e2e30; margin: 4px 0 8px; } .meter i { display: block; height: 100%; width: 0; background: var(--or); }
.btn-lamps { display: flex; gap: 6px; flex-wrap: wrap; } .btn-lamps span { padding: 5px 8px; background: #2e2e30; font-size: 10.5px; letter-spacing: .08em; } .btn-lamps span.on { background: var(--or); }
.shifter { display: grid; grid-template-columns: repeat(3, 30px); gap: 6px; justify-content: center; font-size: 12px; } .shifter span { background: #2e2e30; text-align: center; padding: 5px 0; } .shifter span.on { background: var(--or); }
.devs { font-size: 11px; color: #8a94a2; margin-top: 10px; }
/* new car */
.nc { display: grid; grid-template-columns: 1fr 300px; height: min(680px, calc(100vh - 48px)); }
.nc-left { background: #141416; position: relative; display: flex; flex-direction: column; }
.makers { display: flex; gap: 6px; padding: 14px 16px 0; z-index: 2; } .makers button { flex: 1; background: #232325; padding: 12px 4px; letter-spacing: .1em; font-size: 12.5px; } .makers button.on { background: var(--or); }
.nc-view { position: relative; flex: 1; } .nc-view canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.nc-name { position: absolute; left: 22px; bottom: 22px; pointer-events: none; } .nc-name .cn-model { max-width: 330px; font-size: 26px; }
.swatches { position: absolute; right: 22px; bottom: 22px; display: flex; gap: 10px; } .swatches button { width: 26px; height: 26px; outline: 1px solid #555; outline-offset: 2px; } .swatches button.on { outline: 2px solid var(--or); }
.nc-right { background: #232325; padding: 18px; display: flex; flex-direction: column; }
.models { display: flex; flex-direction: column; max-height: 250px; overflow-y: auto; background: #1b1b1c; }
.models button { text-align: left; padding: 6px 12px; font-size: 12.5px; border-left: 3px solid transparent; } .models button.on { border-left-color: #64b5f6; color: #90caf9; background: #262a30; } .models button:hover { background: #2a2a2c; }
.nc-right input[type=text] { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; }
.nc-save { margin-top: auto; background: var(--or); padding: 14px; display: flex; flex-direction: column; align-items: center; letter-spacing: .1em; } .nc-save small { font-size: 10px; letter-spacing: .04em; opacity: .85; margin-top: 3px; }
.nc-right .seg { margin-top: 10px; }
.toast { position: fixed; left: 50%; bottom: 70px; transform: translateX(-50%); background: #2a2a2a; padding: 10px 16px; border-left: 3px solid var(--or); z-index: 40; opacity: 0; transition: opacity .3s; pointer-events: none; font-size: 12.5px; }
.toast.on { opacity: 1; }

/* race */
.race-layer { position: fixed; inset: 0; z-index: 15; display: none; background: #000; }
.race-layer.on { display: flex; align-items: center; justify-content: center; }
.race-host { display: flex; align-items: center; justify-content: center; background: #000; }
.race-canvas { display: block; }
.hud { position: absolute; inset: 0; pointer-events: none; font-family: Roboto, Arial, sans-serif; text-shadow: 0 1px 3px rgba(0,0,0,.8); }
.hud-top { position: absolute; top: 14px; left: 20px; right: 20px; display: flex; justify-content: space-between; align-items: flex-start; }
.hud-course span { display: block; color: var(--or); font-size: 11px; letter-spacing: .16em; font-weight: 500; } .hud-course b { font-size: 20px; font-weight: 500; }
.hud-time { text-align: center; } .hud-time small { display: block; font-size: 10px; letter-spacing: .2em; color: #ccc; } .hud-time b { font-size: 34px; font-weight: 500; font-variant-numeric: tabular-nums; } .hud-time i { display: block; font-style: normal; font-size: 11px; color: var(--yl); letter-spacing: .1em; }
.hud-gap { text-align: right; min-width: 160px; } .hud-gap small { display: block; font-size: 11px; letter-spacing: .14em; color: #ccc; } .hud-gap b { font-size: 26px; font-weight: 500; } .hud-gap .ok { color: #81c784; } .hud-gap .bad { color: #ff8a80; }
.hud-prog { position: absolute; top: 84px; left: 50%; width: 40%; transform: translateX(-50%); height: 6px; background: rgba(255,255,255,.18); }
.hud-prog-fill { height: 100%; width: 0; background: var(--or); } .hud-prog i { position: absolute; top: -3px; width: 4px; height: 12px; background: var(--yl); margin-left: -2px; } .hud-prog i.ghost { background: #7fb2ff; }
.hud-map { position: absolute; left: 16px; bottom: 16px; width: 170px; height: 170px; background: rgba(0,0,0,.35); border-radius: 50%; }
.hud-speedo { position: absolute; right: 18px; bottom: 10px; width: 230px; height: 230px; } .hud-speedo canvas { width: 100%; height: 100%; }
.hud-kmh { position: absolute; left: 0; right: 0; top: 78px; text-align: center; } .hud-kmh b { display: block; font-size: 54px; font-weight: 500; font-variant-numeric: tabular-nums; line-height: 1; } .hud-kmh small { font-size: 12px; letter-spacing: .14em; color: #ccc; }
.hud-gear { position: absolute; left: 50%; transform: translateX(-50%); top: 150px; width: 40px; height: 40px; background: var(--or); font-size: 26px; text-align: center; line-height: 40px; font-weight: 700; }
.hud-boost { position: absolute; left: 50%; transform: translateX(-50%); bottom: 18px; width: 90px; height: 5px; background: rgba(255,255,255,.2); } .hud-boost i { display: block; height: 100%; width: 0; background: #64b5f6; }
.hud-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }
.cd { font-size: 140px; font-weight: 700; color: #fff; -webkit-text-stroke: 3px var(--or); } .cd.go { color: var(--or); -webkit-text-stroke: 0; }
.fin { text-align: center; background: rgba(0,0,0,.55); padding: 20px 50px; } .fin small { display: block; font-size: 22px; letter-spacing: .3em; color: var(--yl); } .fin.lose small { color: #ff8a80; } .fin b { font-size: 60px; font-weight: 500; }
.hud-help { position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%); font-size: 10.5px; color: rgba(255,255,255,.5); letter-spacing: .08em; }
.hud-quit { pointer-events: auto; position: absolute; top: 12px; right: 50%; margin-right: -340px; color: #fff; opacity: .5; font-size: 18px; } .hud-quit:hover { opacity: 1; }
.touch-pad { display: none; } .hud.touch .touch-pad { display: block; }
.tp-steer { pointer-events: auto; position: absolute; left: 0; bottom: 0; width: 45%; height: 45%; display: flex; justify-content: space-around; align-items: center; font-size: 40px; opacity: .45; }
.tp-ped { pointer-events: auto; position: absolute; right: 250px; bottom: 30px; display: flex; gap: 14px; } .tp-ped button { width: 86px; height: 120px; background: rgba(255,255,255,.12); border: 2px solid rgba(255,255,255,.3); font-weight: 700; letter-spacing: .1em; } .tp-ped #tpGas { background: rgba(255,87,34,.35); }
.hud.touch .hud-map { display: none; }
/* result panel shown over the stage */
.result { position: fixed; inset: 0; z-index: 18; background: rgba(0,0,0,.7); display: flex; align-items: center; justify-content: center; }
.result > div { background: #222224; width: 420px; padding: 26px; } .result h2 { margin: 0 0 4px; font-weight: 400; } .result .big { font-size: 44px; margin: 10px 0; font-variant-numeric: tabular-nums; } .result p { color: #b9c4d4; font-size: 12px; } .result .row { margin-top: 16px; } .result .row button { flex: 1; padding: 12px; }
@media (max-width: 900px) {
  #app { flex-direction: column; overflow-y: auto; height: auto; min-height: 100vh; } html, body { overflow: auto; }
  .stage { height: 100vh; flex: none; } .side { width: 100%; }
  .roomcard { display: none; } .volbar { width: 200px; } .carname { bottom: 110px; max-width: 70%; }
  .cab-col { width: 86%; top: 300px; } .cooking { display: none; } .menu { flex-direction: row; flex-wrap: wrap; top: 66px; right: 16px; } .menu button { height: 34px; font-size: 11px; }
  .nc { grid-template-columns: 1fr; height: auto; } .nc-view { min-height: 300px; } .ctl { grid-template-columns: 1fr; } .ctl-l { display: none; }
  .times-grid, .crowns { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .hud-speedo { transform: scale(.62); transform-origin: top right; top: 96px; bottom: auto; right: 6px; }
  .hud.touch .hud-help { display: none; }
  .tp-ped { right: 14px; bottom: 24px; } .tp-steer { width: 55%; height: 40%; }
  .hud-course b { font-size: 15px; } .hud-time b { font-size: 26px; } .hud-gap b { font-size: 18px; } .hud-gap { min-width: 0; }
  .hud-quit { right: 10px; margin: 0; top: auto; bottom: 170px; }
  .hud-prog { top: 70px; width: 70%; }
}
