.brand{background:linear-gradient(#071727dc,#07172788);box-shadow:none}.brand strong{font-size:12px}.brand span{font-size:9px}.brand button{width:39px;height:39px}.hud{top:72px}.stats{gap:8px}.stats>div,.target{background:#0a1a2dba;border-color:#ffffff35;box-shadow:none;backdrop-filter:blur(6px)}.target{max-width:260px}.target small{color:#f3d678}.camera-tools{display:flex;gap:6px;margin-top:8px;pointer-events:auto}.camera-tools button{background:#091c31bf;color:#e8edf2;border:1px solid #ffffff40;border-radius:8px;padding:9px 11px;font-size:10px;min-height:38px}.camera-tools button:hover{background:#2b4c68}.attribution{font-size:8px;background:#08172b99}#mini{opacity:.9}.banner{top:26%;font-size:13px}.veil{background:linear-gradient(110deg,#061428e8,#06142855);backdrop-filter:blur(2px)}.menu-card{width:min(580px,100%);border-color:#ffffff40;background:#0c2038e8}.menu-card h1{font-size:42px;font-weight:800;letter-spacing:-.045em}.menu-card .intro{max-width:440px}#free-drive{margin:14px 0 18px;background:#eaece3}.categories button{background:#173147;font-size:10px}.controls-hint{margin-top:12px;color:#abbfce}.source-note a{color:#f2dc91}.touch-controls button{background:#0b244699;border-color:#ffffff6b;backdrop-filter:blur(4px)}.pedals button:last-child{background:#e6c35bda}.stats>div:last-child b{font-size:24px}.menu-card{scrollbar-width:thin}.camera-tools button:focus-visible{outline:2px solid white}
@media(min-width:900px){.touch-controls{opacity:.5}.touch-controls:hover{opacity:1}.stats{position:fixed;right:22px;bottom:48px;max-width:none}.target{margin:0}.camera-tools{position:fixed;right:22px;top:72px}#mini{position:fixed;left:22px;bottom:45px;top:auto;right:auto;width:155px;height:155px}.hud{left:22px}.touch-controls{bottom:215px}.veil{place-items:center start;padding-left:6vw}}
@media(max-width:650px){.hud{top:55px}.camera-tools{margin-top:5px;max-width:calc(100% - 120px);flex-wrap:wrap;gap:4px}.camera-tools button{padding:5px 6px;font-size:9px;min-height:32px}.camera-tools button:last-child{display:none}.stats>div:last-child b{font-size:16px}.menu-card h1{font-size:31px}.target span{font-size:9px}.touch-controls button{width:58px;height:58px}.brand i{display:none}}
@media(max-height:500px){.hud{top:55px}.target{max-width:215px;padding:7px 9px}.target strong{font-size:12px}.target span{font-size:10px}.target small{font-size:8px}.stats{position:fixed;right:8px;top:auto;bottom:89px;max-width:none;gap:5px}.stats>div{padding:6px 8px;min-width:52px}.stats b,.stats>div:last-child b{font-size:17px}.stats small{font-size:8px}.camera-tools{position:fixed;left:8px;top:140px;right:auto;margin:0}.camera-tools button{padding:6px 8px;font-size:9px;min-height:32px}.touch-controls{bottom:23px}.touch-controls button{width:53px;height:53px}.hud #mini{width:90px;height:90px;top:0;right:0}.brand{padding-top:3px;padding-bottom:3px}.menu-card h1 br{display:none}.menu-card h1{font-size:26px}}

/* Loading bar on the menu and soft street-name label above the controls. */
.loadbar{margin:0 0 10px}.loadbar>div{height:8px;border-radius:99px;background:#ffffff1f;overflow:hidden}
.loadbar i{display:block;height:100%;width:0;border-radius:inherit;background:linear-gradient(90deg,#d8aa29,#f5d35e);transition:width .35s ease}
.loadbar span{display:block;margin-top:6px;font-size:12px;color:#dfe8ee;font-variant-numeric:tabular-nums}
.loadbar.done span{color:#f5d35e;font-weight:800}
.street{position:absolute;z-index:3;left:50%;bottom:calc(max(27px,env(safe-area-inset-bottom)) + 84px);transform:translate(-50%,6px);max-width:calc(100% - 40px);
  white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;font-weight:600;letter-spacing:.03em;color:#fffffff0;
  text-shadow:0 1px 3px #000c,0 0 12px #0008;opacity:0;transition:opacity .45s,transform .45s;pointer-events:none}
.street.show{opacity:.82;transform:translate(-50%,0)}

/* Game screen: no pinch/double-tap zoom, text selection, callouts or tap highlight while driving. */
html,body,#game{touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;overscroll-behavior:none}
.veil{touch-action:pan-y}

.site-back{display:grid;place-items:center;text-decoration:none;text-align:center}
