*, *::before, *::after { -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }
input, textarea, [contenteditable] { -webkit-user-select: text; user-select: text; }
:root {
  --ink: #05070c;
  --text: #f3f1ec;
  --muted: rgba(232, 240, 247, 0.64);
  --faint: rgba(232, 240, 247, 0.4);
  --hair: rgba(220, 230, 255, 0.16);
  --edge: rgba(220, 230, 255, 0.38);
  --volt: #edff31;
  --volt-2: #b1d913;
  --cyan: #36daff;
  --red: #ff4d3d;
  --green: #5cf2a3;
  --amber: #edff31;
  --display: 'Racing Sans One', Impact, sans-serif;
  --ui: 'Oxanium', sans-serif;
  --mono: 'Oxanium', monospace;
  --skew: -20deg;
  --pad: clamp(22px, 4.3vw, 84px);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --strip-bg: rgba(6, 12, 24, 0.55);
  --strip-ticks: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(233, 243, 255, 0.16) calc(10% - 2px) 10%);
  --hatch-lines: repeating-linear-gradient(-55deg, rgba(255, 255, 255, 0.22) 0 4px, transparent 4px 13px);
  --volt-fill: linear-gradient(90deg, #8aa918, #e8ff31);
  --glass-text: linear-gradient(174deg, #fff 0%, rgba(255, 255, 255, 0.96) 38%, rgba(196, 212, 236, 0.5) 50%, rgba(255, 255, 255, 0.78) 74%, rgba(255, 255, 255, 0.96) 100%);
  --volt-text: linear-gradient(174deg, #fbffd0 0%, #edff31 40%, rgba(177, 217, 19, 0.62) 51%, #e2f83a 76%, #f6ffa0 100%);
}

* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--text); font-family: var(--ui); -webkit-font-smoothing: antialiased; }
body { -webkit-user-select: none; user-select: none; }
button { font-family: inherit; cursor: pointer; color: inherit; -webkit-tap-highlight-color: transparent; }
button:focus-visible { outline: none; }
svg { display: block; }
.hidden { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

#gl { position: fixed; inset: 0; }
#gl canvas { display: block; width: 100%; height: 100%; }

#grain {
  position: fixed; inset: -50%; z-index: 60; pointer-events: none; opacity: 0.018; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.gt {
  background: var(--glass-text); -webkit-background-clip: text; background-clip: text;
  color: transparent; -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.4));
}

kbd {
  display: inline-grid; place-items: center; min-width: 26px; height: 22px; padding: 0 7px;
  font: 700 10px/1 var(--ui); letter-spacing: 0.08em; color: var(--text);
  background: var(--strip-bg); border: 1px solid var(--edge);
  transform: skewX(var(--skew));
}

#menu { position: fixed; inset: 0; z-index: 20; }
.scrim {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(0deg, rgba(4, 6, 12, 0.78) 0%, rgba(4, 6, 12, 0.4) 34%, rgba(4, 6, 12, 0) 58%),
    linear-gradient(180deg, rgba(4, 6, 12, 0.5) 0%, rgba(4, 6, 12, 0) 24%);
  animation: fadeIn 1.2s ease backwards;
}
.brand {
  position: absolute; left: 50%; top: clamp(22px, 6vh, 60px); transform: translateX(-50%);
  width: clamp(220px, 21vw, 330px); height: auto;
  filter: drop-shadow(0 4px 14px rgba(0, 0, 0, 0.55));
  animation: dropIn 0.8s var(--ease) 0.1s backwards;
}

.main-nav {
  position: absolute; left: 50%; top: 66%; transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  transition: opacity 0.3s ease, transform 0.45s var(--ease);
}
.nav-item {
  position: relative; isolation: isolate; display: flex; align-items: center; justify-content: center; gap: 14px;
  min-width: 400px; height: 58px; padding: 0 56px; border: 0; background: none; outline: none;
  animation: navIn 0.7s var(--ease) backwards;
}
.nav-item:nth-child(1) { animation-delay: 0.25s; height: 84px; }
.nav-item:nth-child(2) { animation-delay: 0.32s; }
.nav-item:nth-child(3) { animation-delay: 0.39s; }
.nav-item::before {
  content: ""; position: absolute; inset: 7px 0; z-index: -1; transform: skewX(var(--skew));
  background:
    var(--hatch-lines) left / 9% 100% no-repeat, var(--volt-fill) left / 9% 100% no-repeat,
    var(--hatch-lines) right / 9% 100% no-repeat, linear-gradient(270deg, #8aa918, #e8ff31) right / 9% 100% no-repeat,
    var(--strip-ticks), var(--strip-bg);
  border: 1px solid var(--edge); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(6px);
  opacity: 0; clip-path: inset(0 50% 0 50%); transition: opacity 0.2s ease, clip-path 0.4s var(--ease);
}
.nav-item.sel::before { opacity: 1; clip-path: inset(0 0 0 0); }
.ni-l { font: 400 38px/1 var(--display); letter-spacing: 0.02em; opacity: 0.5; transition: opacity 0.25s ease, transform 0.35s var(--ease); white-space: nowrap; }
#btn-start .ni-l { font-size: 60px; }
.nav-item.sel .ni-l { opacity: 1; transform: scale(1.04); }
.ni-v { padding: 5px 9px; font: 700 11px/1 var(--ui); letter-spacing: 0.16em; color: var(--volt); border: 1px solid rgba(237, 255, 49, 0.5); background: var(--strip-bg); transform: skewX(var(--skew)); opacity: 0.6; transition: opacity 0.25s ease; }
.nav-item.sel .ni-v { opacity: 1; }
#btn-mute.off .ni-v { color: var(--muted); border-color: var(--edge); }
@keyframes navIn { from { opacity: 0; transform: translateY(14px); } }

.hints {
  position: absolute; left: 50%; bottom: clamp(16px, 3.6vh, 36px); transform: translateX(-50%);
  display: flex; flex-wrap: nowrap; justify-content: center; gap: 8px 22px; white-space: nowrap;
  font: 600 10.5px/1 var(--ui); letter-spacing: 0.18em; color: var(--muted);
  animation: fadeIn 0.8s ease 0.6s backwards;
}
.hints span { display: inline-flex; align-items: center; gap: 6px; }
.hints kbd { margin-right: 4px; }
.hints .h-lr, .hints .h-back { display: none; }
#menu.setup-open .hints .h-lr, #menu.setup-open .hints .h-back { display: inline-flex; }

#menu.setup-open .main-nav { opacity: 0; transform: translate(-50%, -44%); pointer-events: none; }
#menu.setup-open .brand { opacity: 0; transition: opacity 0.3s ease; }
#menu.leaving #setup, #menu.leaving .brand, #menu.leaving .hints, #menu.leaving .main-nav { opacity: 0; transition: opacity 0.3s ease; }
#fade { position: fixed; inset: 0; background: #000; opacity: 0; pointer-events: none; z-index: 5; }

.panel { position: relative; isolation: isolate; width: min(980px, calc(100vw - 32px)); padding: 26px 70px 26px; }
.panel::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24) 0 1px, rgba(255, 255, 255, 0.06) 1px, rgba(255, 255, 255, 0) 40%),
    linear-gradient(105deg, rgba(10, 15, 28, 0.66), rgba(10, 15, 28, 0.44));
  backdrop-filter: blur(18px) saturate(135%); -webkit-backdrop-filter: blur(18px) saturate(135%);
  clip-path: polygon(36px 0, 100% 0, calc(100% - 36px) 100%, 0 100%);
}
.panel::after { content: ""; position: absolute; left: 52px; top: -3px; width: 150px; height: 6px; transform: skewX(var(--skew)); background: var(--hatch-lines), var(--volt-fill); }
.panel > * { animation: fadeIn 0.4s ease backwards; }
.panel > :nth-child(2) { animation-delay: 0.05s; }
.panel > :nth-child(3) { animation-delay: 0.1s; }
.panel > :nth-child(n+4) { animation-delay: 0.15s; }
.panel-head { text-align: center; }
.panel-head h2 { margin: 0; font: 400 38px/1 var(--display); letter-spacing: 0.02em; }
.panel-head p { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 10px; margin: 10px 0 0; font: 600 10.5px/1 var(--ui); letter-spacing: 0.18em; color: var(--muted); }
.panel-head p i { width: 10px; height: 2px; background: var(--edge); transform: skewX(var(--skew)); }
.panel-head p b { color: var(--text); font-weight: 700; letter-spacing: 0.08em; }

#setup { position: absolute; inset: 0; z-index: 3; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 9, 0.22); animation: fadeIn 0.3s ease backwards; }
#setup .panel { animation: panelIn 0.45s var(--ease) backwards; }
@keyframes panelIn { from { transform: translateY(18px) scale(0.98); } }

.field { position: relative; margin-top: 18px; }
.f-label { display: flex; justify-content: center; align-items: center; gap: 10px; margin: 0 0 10px; font: 600 10px/1 var(--ui); letter-spacing: 0.26em; color: var(--faint); transition: color 0.2s ease; }
.f-label::before, .f-label::after { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; opacity: 0; transition: opacity 0.2s ease; }
.f-label::before { border-right: 7px solid var(--volt); }
.f-label::after { border-left: 7px solid var(--volt); }
.field.sel .f-label { color: var(--volt); }
.field.sel .f-label::before, .field.sel .f-label::after { opacity: 1; }

.garage { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; height: 206px; }
#garage-gl { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 1; }
.car-tile { position: relative; display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0 10px 12px; border: 0; background: none; outline: none; text-align: center; container-type: inline-size; }
.car-tile::before {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: radial-gradient(ellipse 70% 40% at 50% 70%, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0) 70%), linear-gradient(0deg, rgba(6, 12, 24, 0.62), rgba(6, 12, 24, 0.28) 75%);
  border: 1px solid rgba(220, 230, 255, 0.2); border-top-color: rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 0 0 4px rgba(6, 12, 24, 0.35), inset 0 0 0 5px rgba(220, 230, 255, 0.07);
  transition: border-color 0.2s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.car-tile::after {
  content: ""; position: absolute; inset: -3px; z-index: 0; pointer-events: none; opacity: 0; transition: opacity 0.2s ease;
  background:
    linear-gradient(var(--volt), var(--volt)) left top / 18px 2px no-repeat, linear-gradient(var(--volt), var(--volt)) left top / 2px 18px no-repeat,
    linear-gradient(var(--volt), var(--volt)) right top / 18px 2px no-repeat, linear-gradient(var(--volt), var(--volt)) right top / 2px 18px no-repeat,
    linear-gradient(var(--volt), var(--volt)) left bottom / 18px 2px no-repeat, linear-gradient(var(--volt), var(--volt)) left bottom / 2px 18px no-repeat,
    linear-gradient(var(--volt), var(--volt)) right bottom / 18px 2px no-repeat, linear-gradient(var(--volt), var(--volt)) right bottom / 2px 18px no-repeat;
}
.car-tile.on::before { border-color: rgba(237, 255, 49, 0.55); background: radial-gradient(ellipse 70% 40% at 50% 70%, rgba(237, 255, 49, 0.1), rgba(237, 255, 49, 0) 70%), linear-gradient(0deg, rgba(237, 255, 49, 0.1), rgba(6, 12, 24, 0.3) 60%); box-shadow: inset 0 0 0 4px rgba(6, 12, 24, 0.3), inset 0 0 0 5px rgba(237, 255, 49, 0.16); }
.car-tile.on::after { opacity: 1; }
.ct-view { flex: 1; }
.ct-name, .ct-meta, .ct-strip { position: relative; z-index: 2; }
.ct-name { font: 400 min(20px, 9.4cqi)/1.1 var(--display); letter-spacing: 0.02em; white-space: nowrap; opacity: 0.7; transition: opacity 0.2s ease; }
.car-tile.on .ct-name { opacity: 1; background-image: var(--volt-text); }
.ct-meta { display: flex; justify-content: center; gap: 8px; margin-top: 5px; font: 600 min(8.5px, 4.2cqi)/1 var(--ui); letter-spacing: 0.14em; color: var(--faint); white-space: nowrap; }
.ct-meta b { color: var(--muted); }
.car-tile.on .ct-meta b { color: var(--text); }
.ct-strip { display: block; height: 8px; margin: 9px 8px 0; transform: skewX(var(--skew)); background: var(--strip-ticks), var(--strip-bg); border: 1px solid var(--edge); overflow: hidden; }
.ct-strip i { display: block; height: 100%; background: var(--hatch-lines), var(--volt-fill); transform-origin: left; transform: scaleX(0); transition: transform 0.45s var(--ease); }
.car-tile.on .ct-strip i { transform: scaleX(1); }

.stats { list-style: none; margin: 16px auto 0; padding: 0; max-width: 470px; display: grid; gap: 8px; }
.stats li { display: grid; grid-template-columns: 112px 1fr 64px; align-items: center; gap: 12px; }
.stats span { font: 600 9.5px/1 var(--ui); letter-spacing: 0.22em; color: var(--faint); }
.stats .bar { position: relative; height: 9px; transform: skewX(var(--skew)); background: var(--strip-bg); border: 1px solid var(--hair); overflow: hidden; }
.stats .bar::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent 0 calc(10% - 2px), rgba(5, 8, 14, 0.85) calc(10% - 2px) 10%); }
.stats em { position: absolute; inset: 0; transform-origin: left; transform: scaleX(0); background: var(--volt-fill); transition: transform 0.6s var(--ease); }
.stats b { font: 700 11px/1 var(--ui); letter-spacing: 0.06em; text-align: right; color: var(--text); }

.toggle { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(3, 1fr); height: 56px; margin: 0 14px; --i: 1; }
.toggle::before { content: ""; position: absolute; inset: 0; z-index: -2; background: var(--strip-ticks), var(--strip-bg); border: 1px solid var(--edge); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }
.tg-ind {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); z-index: -1;
  --n: 3;
  transform: translateX(calc(var(--i) * 100%));
  background: var(--hatch-lines), var(--volt-fill); transition: transform 0.4s var(--ease);
}
.toggle.two { grid-template-columns: repeat(2, 1fr); --i: 0; }
.toggle.two .tg-ind { width: calc((100% - 8px) / 2); }
.f-note { margin: 8px 0 0; text-align: center; font: 600 9.5px/1 var(--ui); letter-spacing: 0.22em; color: var(--faint); }
.mode-clear { stroke: #e9ecf2; }
.mode-clear .road { stroke-dasharray: 3 3; animation: todHaze 1.6s linear infinite reverse; }
.mode-traffic { stroke: #ffd34a; }
.mode-traffic .lead { animation: todDrive 2.6s ease-in-out infinite alternate; }
.mode-traffic .trail { animation: todDrive 2.6s ease-in-out -1.3s infinite alternate; }
.toggle button { position: relative; display: flex; align-items: center; justify-content: center; gap: 10px; min-width: 0; border: 0; background: none; outline: none; font: 400 20px/1 var(--display); letter-spacing: 0.04em; white-space: nowrap; color: rgba(243, 241, 236, 0.62); transition: color 0.25s ease; }
.toggle button + button::before { content: ""; position: absolute; left: 0; top: 12px; bottom: 12px; width: 1px; background: var(--hair); }
.toggle button.on { color: #0b1006; }
.toggle .tod { width: 28px; height: 28px; transition: stroke 0.25s ease; }
.toggle button.on .tod { stroke: #0b1006; }
.toggle button.on .tod .core, .toggle button.on .tod .moon { fill: rgba(11, 16, 6, 0.18); }
.toggle button.on .tod .st { fill: #0b1006; }
.field.sel .toggle::before { border-color: rgba(237, 255, 49, 0.6); }

.panel-actions { display: flex; justify-content: center; align-items: center; gap: 22px; margin-top: 28px; }
.go {
  position: relative; display: inline-flex; align-items: center; gap: 16px; height: 58px; padding: 0 34px;
  border: 0; background: none; outline: none; isolation: isolate;
}
.go::before { content: ""; position: absolute; inset: 0; z-index: -2; transform: skewX(var(--skew)); background: var(--strip-ticks), var(--strip-bg); border: 1px solid rgba(237, 255, 49, 0.65); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4); }
.go-fill { position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)) scaleX(0); transform-origin: left; background: var(--hatch-lines), var(--volt-fill); transition: transform 0.35s var(--ease); }
.go-l { font: 400 27px/1 var(--display); letter-spacing: 0.03em; background: var(--volt-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.go kbd { border-color: rgba(237, 255, 49, 0.5); color: var(--volt); }
.go.sel .go-fill { transform: skewX(var(--skew)) scaleX(1); }
.go.sel .go-l { background: none; -webkit-text-fill-color: #0b1006; color: #0b1006; }
.go.sel kbd { color: #1b2408; border-color: rgba(11, 16, 6, 0.45); background: rgba(255, 255, 255, 0.25); }
.go.pressed { animation: press 0.35s var(--ease); }
@keyframes press { 40% { transform: scale(0.96); } }
.ghost {
  position: relative; isolation: isolate; display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px;
  border: 0; background: none; outline: none; font: 700 11px/1 var(--ui); letter-spacing: 0.22em; color: var(--muted); transition: color 0.2s ease;
}
.ghost::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); background: var(--strip-ticks), var(--strip-bg); border: 1px solid var(--hair); transition: border-color 0.2s ease; }
.ghost kbd { background: none; }
.ghost.sel { color: var(--text); }
.ghost.sel::before { border-color: var(--edge); }

.tod { flex: none; width: 34px; height: 34px; overflow: visible; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.tod-day { stroke: #ffe58a; }
.tod-day .rays { transform-origin: 16px 16px; animation: todSpin 40s linear infinite; }
.tod-day .core { fill: rgba(255, 229, 138, 0.22); animation: todGlow 5s ease-in-out infinite; }
.tod-sunset { stroke: #ffa45a; }
.tod-sunset .sun { animation: todSink 7s ease-in-out infinite alternate; }
.tod-sunset .haze { stroke-dasharray: 3 4; animation: todHaze 6s linear infinite; opacity: 0.7; }
.tod-night { stroke: #cfe0ff; }
.tod-night .moon { fill: rgba(207, 224, 255, 0.16); animation: todGlow 6s ease-in-out infinite; }
.tod-night .st { fill: #cfe0ff; stroke: none; animation: todTwinkle 3.6s ease-in-out infinite; }
.tod-night .st:nth-of-type(2) { animation-delay: 1.2s; }
.tod-night .st:nth-of-type(3) { animation-delay: 2.4s; }
@keyframes todSpin { to { transform: rotate(360deg); } }
@keyframes todGlow { 50% { opacity: 0.55; } }
@keyframes todSink { from { transform: translateY(-1px); } to { transform: translateY(1.5px); } }
@keyframes todDrive { from { transform: translateX(-1px); } to { transform: translateX(1.5px); } }
@keyframes todHaze { to { stroke-dashoffset: -14; } }
@keyframes todTwinkle { 0%, 100% { opacity: 0.25; } 50% { opacity: 1; } }

#howto { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(3, 5, 9, 0.34); backdrop-filter: blur(4px); animation: fadeIn 0.25s ease backwards; }
.sheet { width: min(700px, 100%); padding: 30px 70px 30px 66px; animation: panelIn 0.45s var(--ease) backwards; }
.sheet .panel-head { position: relative; }
.x { position: absolute; right: -10px; top: 0; display: grid; place-items: center; width: 38px; height: 34px; padding: 0; border: 0; background: none; outline: none; }
.x::before { content: ""; position: absolute; inset: 0; transform: skewX(var(--skew)); border: 1px solid var(--edge); background: var(--strip-bg); transition: border-color 0.2s ease, background 0.2s ease; }
.x svg { position: relative; width: 18px; height: 18px; stroke: #fff; fill: none; stroke-width: 2; }
.ctl { margin-top: 20px; display: grid; gap: 6px; }
.ctl .row { position: relative; isolation: isolate; display: grid; grid-template-columns: 170px 1fr; align-items: center; min-height: 42px; padding: 0 18px; }
.ctl .row::before { content: ""; position: absolute; inset: 0; z-index: -1; transform: skewX(var(--skew)); background: linear-gradient(90deg, rgba(6, 12, 24, 0.55), rgba(6, 12, 24, 0.2)); border-left: 3px solid rgba(237, 255, 49, 0.7); }
.ctl .row > span { font: 600 10px/1 var(--ui); letter-spacing: 0.24em; color: var(--muted); }
.ctl .row > div { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; }
.ctl kbd { min-width: 30px; height: 26px; font-size: 11px; }
.ctl kbd.w { min-width: 56px; }
.ctl p { margin: 0; font: 400 13px/1.45 var(--ui); color: var(--text); }
.ctl em { margin-left: 8px; font: 700 10px/1 var(--ui); font-style: normal; letter-spacing: 0.12em; color: var(--cyan); }
.sheet-note { margin: 18px 0 0; text-align: center; font: 400 13px/1.55 var(--ui); color: var(--muted); }
.sheet-note b { color: var(--volt); font-weight: 600; }
.sheet-note b.c { color: var(--cyan); }

.nojs { position: fixed; inset: 0; display: grid; place-items: center; }

@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } }
@keyframes dropIn { from { opacity: 0; transform: translate(-50%, -14px); } }

@media (max-height: 820px) {
  .panel { padding: 20px 66px 22px; }
  .panel-head h2 { font-size: 32px; }
  .field { margin-top: 12px; }
  .garage { height: 176px; }
  .stats { margin-top: 12px; gap: 6px; }
  .toggle { height: 50px; }
  .panel-actions { margin-top: 18px; }
}
@media (max-height: 700px) {
  .nav-item { height: 48px; }
  .nav-item:nth-child(1) { height: 68px; }
  .ni-l { font-size: 30px; }
  #btn-start .ni-l { font-size: 48px; }
  .panel { padding: 22px 60px; }
  .field { margin-top: 14px; }
  .garage { height: 150px; }
  .panel-actions { margin-top: 18px; }
}
@media (max-width: 760px) {
  .brand { width: 190px; }
  .nav-item { min-width: 300px; }
  .ni-l { font-size: 28px; }
  #btn-start .ni-l { font-size: 46px; }
  .panel { padding: 22px 40px; }
  .garage { height: 150px; gap: 12px; padding: 0; }
  .ct-meta span { display: none; }
  .stats li { grid-template-columns: 90px 1fr 56px; }
  .toggle button { gap: 7px; font-size: 16px; }
  .hints { display: none; }
  .ctl .row { grid-template-columns: 120px 1fr; }
}
@media (max-width: 480px) {
  .toggle button { font-size: 14px; }
  .toggle .tod { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}
