:root {
  --bg: rgba(10, 12, 16, 0.86);
  --bg2: rgba(22, 25, 31, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --text: #eef1f5;
  --muted: #9aa3ad;
  --accent: #ffcc00;
  --red: #e5322d;
  --green: #2bd96b;
  --blue: #3aa0ff;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: #000; color: var(--text); font-family: 'Segoe UI', Roboto, Arial, sans-serif; user-select: none; }
#gl { position: fixed; inset: 0; width: 100%; height: 100%; display: block; }
.hidden { display: none !important; }

.btn { background: #232830; color: var(--text); border: 1px solid var(--line); border-radius: 8px; padding: 9px 14px; font-weight: 700; font-size: 14px; cursor: pointer; letter-spacing: .3px; transition: background .12s, transform .08s; }
.btn:hover { background: #2f3640; }
.btn:active { transform: scale(.97); }
.btn.accent { background: var(--accent); color: #111; border-color: var(--accent); }
.btn.accent:hover { background: #ffd83a; }
.btn.green { background: #1d8f4a; border-color: #1d8f4a; }
.btn.red { background: #8f1d1d; border-color: #8f1d1d; }
.btn:disabled { opacity: .4; cursor: not-allowed; }
.btn.big { font-size: 20px; padding: 14px 30px; }

.logo { font-family: Impact, 'Arial Black', sans-serif; font-size: 64px; letter-spacing: 2px; color: #fff; text-shadow: 0 4px 0 #000; font-style: italic; }
.logo span { color: var(--accent); }
.logo.small { font-size: 24px; text-shadow: 0 2px 0 #000; }

#splash { position: fixed; inset: 0; display: grid; place-items: center; background: radial-gradient(circle at 50% 40%, rgba(30, 20, 10, .55), rgba(0, 0, 0, .9)); z-index: 20; }
.splash-box { text-align: center; padding: 16px; }
.splash-box .sub { color: var(--muted); margin: 6px 0 26px; font-size: 16px; }
.splash-box .hint { color: var(--muted); margin-top: 18px; font-size: 13px; }

/* menu */
#menu { position: fixed; inset: 0; pointer-events: none; }
#menu > * { pointer-events: auto; }
#topbar { position: absolute; top: 0; left: 0; right: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px; background: linear-gradient(#000c, #0000); }
#car-title { font-weight: 800; font-size: 20px; text-align: center; }
#car-title small { display: block; color: var(--muted); font-weight: 600; font-size: 12px; }
#money { font-weight: 800; font-size: 22px; color: var(--green); background: #0009; padding: 6px 14px; border-radius: 8px; border: 1px solid var(--line); }
#nav { position: absolute; left: 16px; top: 72px; display: flex; flex-direction: column; gap: 8px; width: 210px; }
.nav-btn { text-align: left; padding: 12px 14px; font-size: 15px; }
.nav-btn.active { outline: 2px solid var(--accent); }
#panel { position: absolute; left: 240px; top: 72px; bottom: 16px; width: min(560px, calc(100vw - 520px)); min-width: 360px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 16px; overflow-y: auto; }
#panel:empty { display: none; }
#panel h2 { margin: 0 0 4px; font-size: 22px; }
#panel h3 { margin: 16px 0 8px; font-size: 15px; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
#panel .desc { color: var(--muted); font-size: 13px; margin-bottom: 10px; }
#stats { position: absolute; right: 16px; bottom: 16px; width: 270px; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 14px; font-size: 13px; }
#stats .row { display: flex; justify-content: space-between; padding: 3px 0; border-bottom: 1px solid var(--line); }
#stats .row b { color: var(--accent); }
#stats canvas { width: 100%; margin-top: 8px; background: #0a0c10; border-radius: 6px; }

.tabs { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.tab { padding: 7px 10px; font-size: 13px; }
.tab.active { background: var(--accent); color: #111; }
.item { display: flex; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--bg2); }
.item .info { flex: 1; }
.item .name { font-weight: 800; }
.item .meta { color: var(--muted); font-size: 12px; margin-top: 2px; }
.item .price { font-weight: 800; color: var(--green); white-space: nowrap; }
.item.installed { border-color: var(--accent); }
.item.locked { opacity: .5; }
.badge { display: inline-block; font-size: 11px; padding: 2px 6px; border-radius: 4px; background: #333; margin-left: 6px; vertical-align: middle; }
.badge.ok { background: #1d8f4a; }
.badge.y { background: var(--accent); color: #111; }
.lv { display: inline-flex; gap: 3px; margin-left: 6px; vertical-align: middle; }
.lv i { width: 10px; height: 6px; background: #444; border-radius: 2px; }
.lv i.on { background: var(--accent); }

.swatches { display: flex; flex-wrap: wrap; gap: 8px; }
.sw { width: 42px; height: 42px; border-radius: 8px; border: 2px solid #fff3; cursor: pointer; }
.sw.active { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }

.rival { display: grid; grid-template-columns: 52px 1fr auto; gap: 12px; align-items: center; padding: 12px; border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; background: var(--bg2); }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 20px; color: #111; }
.rival .quote { font-style: italic; color: var(--muted); font-size: 12px; margin-top: 3px; }
.rival.beaten { border-color: #1d8f4a; }

.opt-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); gap: 10px; }
.cmp { font-size: 12px; color: var(--muted); }
.cmp b.up { color: var(--green); }
.cmp b.down { color: var(--red); }

/* HUD */
#hud { position: fixed; inset: 0; pointer-events: none; }
#hud-top { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: min(720px, 92vw); text-align: center; }
#timer { font-family: Consolas, monospace; font-size: 34px; font-weight: 800; text-shadow: 0 2px 4px #000; }
#names { font-size: 13px; color: var(--muted); }
#names .me { color: var(--accent); font-weight: 800; }
#names .op { color: #ff6a5a; font-weight: 800; }
.prog-track { position: relative; height: 8px; background: #0008; border-radius: 4px; border: 1px solid var(--line); margin-bottom: 6px; }
.prog-dot { position: absolute; top: -4px; width: 14px; height: 14px; border-radius: 50%; transform: translateX(-50%); border: 2px solid #000; }
.prog-dot.me { background: var(--accent); }
.prog-dot.op { background: #ff6a5a; top: -4px; }
.prog-mark { position: absolute; top: -3px; width: 2px; height: 12px; background: #fff8; }
#tree-hud { position: absolute; left: 20px; top: 50%; transform: translateY(-50%); background: #111c; padding: 10px 8px; border-radius: 10px; display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--line); }
.lamp { width: 28px; height: 28px; border-radius: 50%; background: #2a2a2a; border: 2px solid #000; }
.lamp.on { background: #ffe14a; box-shadow: 0 0 14px #ffe14a; }
.lamp.amber.on { background: #ff9d00; box-shadow: 0 0 16px #ff9d00; }
.lamp.green.on { background: #22ff55; box-shadow: 0 0 18px #22ff55; }
.lamp.red.on { background: #ff2222; box-shadow: 0 0 18px #ff2222; }
#msg { position: absolute; top: 28%; left: 0; right: 0; text-align: center; font-family: Impact, 'Arial Black', sans-serif; font-size: 72px; font-style: italic; text-shadow: 0 4px 0 #000, 0 0 24px #000; opacity: 0; transition: opacity .2s; }
#msg.show { opacity: 1; }
#submsg { position: absolute; top: 40%; left: 0; right: 0; text-align: center; font-weight: 800; font-size: 22px; text-shadow: 0 2px 4px #000; color: var(--accent); }
#cam-label { position: absolute; top: 90px; right: 20px; font-size: 13px; color: var(--muted); background: #0008; padding: 4px 10px; border-radius: 6px; }
#dash { position: absolute; right: 18px; bottom: 14px; display: flex; flex-direction: column; align-items: center; }
#tach { width: 280px; height: 280px; }
#shiftlight { display: flex; gap: 4px; margin-bottom: 4px; }
#shiftlight i { width: 16px; height: 16px; border-radius: 50%; background: #222; border: 1px solid #000; }
#shiftlight i.g { background: #22ff55; box-shadow: 0 0 8px #22ff55; }
#shiftlight i.y { background: #ffd000; box-shadow: 0 0 8px #ffd000; }
#shiftlight i.r { background: #ff2a2a; box-shadow: 0 0 8px #ff2a2a; }
#shiftlight.flash i { background: #3aa0ff; box-shadow: 0 0 12px #3aa0ff; }
#bars { width: 280px; background: #000a; border-radius: 8px; padding: 6px 10px; border: 1px solid var(--line); }
.bar-row { display: flex; align-items: center; gap: 8px; font-size: 11px; font-weight: 800; color: var(--muted); margin: 3px 0; }
.bar-row span { width: 44px; }
.bar-row b { width: 46px; text-align: right; color: var(--text); font-family: Consolas, monospace; }
.bar { flex: 1; height: 10px; background: #222; border-radius: 5px; overflow: hidden; }
#boost-bar { height: 100%; width: 0; background: linear-gradient(90deg, #3aa0ff, #ff3a3a); }
#nitro-bar { height: 100%; width: 0; background: linear-gradient(90deg, #6a5cff, #b0f0ff); }
#help { position: absolute; left: 50%; transform: translateX(-50%); bottom: 12px; font-size: 13px; background: #000a; padding: 6px 14px; border-radius: 8px; color: var(--muted); white-space: nowrap; }
#help b { color: var(--text); }

#results { position: fixed; inset: 0; display: grid; place-items: center; background: #000a; z-index: 10; }
.res-box { width: min(640px, 94vw); background: var(--bg2); border: 1px solid var(--line); border-radius: 14px; padding: 22px; }
.res-title { font-family: Impact, 'Arial Black', sans-serif; font-size: 56px; font-style: italic; text-align: center; }
.res-title.win { color: var(--green); }
.res-title.lose { color: var(--red); }
.res-box table { width: 100%; border-collapse: collapse; margin: 12px 0; font-size: 15px; }
.res-box td, .res-box th { padding: 6px 8px; border-bottom: 1px solid var(--line); text-align: right; }
.res-box td:first-child, .res-box th:first-child { text-align: left; color: var(--muted); }
.res-box th { color: var(--accent); }
.res-prize { text-align: center; font-size: 24px; font-weight: 800; color: var(--green); margin: 8px 0; }
.res-btns { display: flex; gap: 10px; justify-content: center; margin-top: 12px; }
.res-notes { text-align: center; color: var(--muted); font-size: 13px; }

#toast { position: fixed; left: 50%; bottom: 30px; transform: translateX(-50%); background: #000d; padding: 10px 18px; border-radius: 8px; border: 1px solid var(--line); font-weight: 700; opacity: 0; transition: opacity .25s; z-index: 30; pointer-events: none; }
#toast.show { opacity: 1; }

@media (max-width: 1000px) {
  #nav { width: 150px; }
  .nav-btn { font-size: 13px; padding: 10px; }
  #panel { left: 176px; width: calc(100vw - 192px); min-width: 0; bottom: 200px; }
  #stats { width: calc(100vw - 192px); left: 176px; height: 170px; overflow: auto; }
  .logo { font-size: 40px; }
  #help { display: none; }
}

/* ===== Menu lateral estilo oficina do GTA ===== */
#lsc { position: absolute; left: 16px; top: 64px; display: flex; gap: 10px; align-items: flex-start; }
.lsc-col { width: 300px; display: flex; flex-direction: column; opacity: .55; transition: opacity .15s; }
.lsc-col.active { opacity: 1; }
.lsc-banner { height: 76px; display: flex; flex-direction: column; justify-content: center; padding: 0 16px;
  background: linear-gradient(135deg, #b30d0d 0%, #e5322d 45%, #ff9a1f 100%); border-radius: 6px 6px 0 0;
  font-family: Impact, 'Arial Black', sans-serif; font-style: italic; color: #fff; text-shadow: 0 3px 0 #0007; }
.lsc-banner div { font-size: 34px; line-height: 1; letter-spacing: 1px; }
.lsc-banner small { font-family: 'Segoe UI', Arial, sans-serif; font-style: italic; font-weight: 700; font-size: 14px; text-shadow: none; opacity: .95; }
.lsc-banner.ghost { background: transparent; }
.lsc-bar { display: flex; align-items: center; gap: 8px; background: #000; color: #9fd3ff; font-weight: 800; font-size: 13px; letter-spacing: 1px; padding: 8px 12px; }
.lsc-bar .lsc-count { margin-left: auto; color: #fff; }
.lsc-back { cursor: pointer; color: #fff; font-size: 18px; line-height: 1; padding-right: 4px; }
.lsc-list { max-height: calc(100vh - 312px - var(--top-safe)); overflow-y: auto; background: rgba(0, 0, 0, .62); }
.lsc-list::-webkit-scrollbar { width: 6px; } .lsc-list::-webkit-scrollbar-thumb { background: #fff4; }
.lsc-item { display: flex; align-items: center; gap: 8px; padding: 9px 12px; font-size: 14px; font-weight: 600; color: #f2f2f2; cursor: pointer; border-bottom: 1px solid #ffffff0d; }
.lsc-item .lsc-right { margin-left: auto; font-weight: 800; color: #6fe08f; white-space: nowrap; }
.lsc-item.inst .lsc-right { color: #fff; }
.lsc-item.sel { background: #f2f2f2; color: #111; }
.lsc-item.sel .lsc-right { color: #0a7a33; }
.lsc-item.dis { color: #777; cursor: default; }
.lsc-item.dis .lsc-right { color: #777; }
.lsc-sw { width: 16px; height: 16px; border-radius: 3px; border: 1px solid #fff6; flex: none; }
.lsc-sep { padding: 7px 12px 4px; font-size: 11px; font-weight: 800; letter-spacing: 1.5px; color: #ffcc00; background: rgba(0, 0, 0, .78); }
.lsc-desc { background: rgba(0, 0, 0, .78); border-top: 2px solid #000; padding: 10px 12px; font-size: 13px; color: #ddd; line-height: 1.4; border-radius: 0 0 6px 6px; }
#panel { left: 332px; }
@media (max-width: 1000px) {
  .lsc-col { width: 230px; }
  .lsc-col:not(.active) { display: none; }
  #panel { left: 256px; width: calc(100vw - 272px); }
}

/* posição na faixa */
#lane { position: absolute; left: 50%; bottom: 48px; transform: translateX(-50%); width: 260px; height: 26px; background: #0009; border: 1px solid #ffffff22; border-radius: 6px; --x: 50%; --r: 0deg; }
#lane .ln { position: absolute; top: 3px; bottom: 3px; width: 3px; background: #f2f2f2; }
#lane .ln.l { left: 25%; background: #d9a514; } #lane .ln.r { right: 25%; }
#lane i { position: absolute; top: 4px; left: var(--x); width: 12px; height: 18px; margin-left: -6px; background: #ffcc00; border-radius: 3px; transform: rotate(var(--r)); transition: background .1s; }
#lane.warn i { background: #ff8a1f; box-shadow: 0 0 10px #ff8a1f; }
#lane.dq i { background: #ff2a2a; }

/* ===== Celular / toque ===== */
html, body { touch-action: none; -webkit-tap-highlight-color: transparent; overscroll-behavior: none; }
#gl { touch-action: none; }
#stats-toggle { display: none; position: absolute; right: 10px; bottom: 10px; z-index: 5; }
#touch { position: absolute; inset: 0; pointer-events: none; }
#touch .tb { position: absolute; pointer-events: auto; border: 2px solid #ffffff55; background: #0008; color: #fff; font-weight: 900; border-radius: 16px; font-size: 22px; touch-action: none; user-select: none; -webkit-user-select: none; }
#touch .tb.on { background: #ffcc00cc; color: #111; border-color: #ffcc00; }
#touch .steer { bottom: calc(18px + env(safe-area-inset-bottom)); width: 92px; height: 92px; font-size: 34px; }
#touch .steer.l { left: calc(16px + env(safe-area-inset-left)); }
#touch .steer.r { left: calc(122px + env(safe-area-inset-left)); }
#touch .gas { right: calc(16px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 120px; height: 150px; font-size: 15px; background: #1d8f4acc; border-color: #2bd96b; }
#touch .gas.on { background: #2bd96b; color: #111; }
#touch .launch { right: calc(148px + env(safe-area-inset-right)); bottom: calc(18px + env(safe-area-inset-bottom)); width: 110px; height: 80px; font-size: 16px; display: none; background: #8f1d1dcc; border-color: #ff5a5a; }
#touch.prelaunch .launch { display: block; }
#touch.green .launch { background: #22ff55; color: #111; border-color: #fff; animation: pulse .35s infinite alternate; }
@keyframes pulse { from { transform: scale(1); } to { transform: scale(1.08); } }
#touch .shift { width: 66px; height: 58px; font-size: 28px; display: none; right: calc(148px + env(safe-area-inset-right)); }
#touch .shift.up { bottom: calc(110px + env(safe-area-inset-bottom)); }
#touch .shift.dn { bottom: calc(40px + env(safe-area-inset-bottom)); right: calc(222px + env(safe-area-inset-right)); }
#touch.manual .shift { display: block; }
#touch.manual.prelaunch .shift { display: none; }
#touch .nitro { right: calc(16px + env(safe-area-inset-right)); bottom: calc(180px + env(safe-area-inset-bottom)); width: 70px; height: 52px; font-size: 15px; display: none; background: #3a2c8fcc; }
#touch.hasnitro .nitro { display: block; }
#touch .cam { right: calc(96px + env(safe-area-inset-right)); top: 10px; width: 52px; height: 44px; font-size: 20px; }
#touch .exit { right: calc(16px + env(safe-area-inset-right)); top: 10px; width: 52px; height: 44px; font-size: 20px; }
#rotate { display: none; position: fixed; inset: 0; z-index: 50; background: #000e; color: #fff; place-items: center; text-align: center; font-weight: 800; font-size: 22px; }

/* celular deitado (tela baixa) */
body.touch #help { display: none; }
@media (max-height: 520px) {
  #topbar { padding: 4px 10px; }
  .logo.small { font-size: 16px; }
  #car-title { font-size: 14px; } #car-title small { display: none; }
  #money { font-size: 15px; padding: 3px 10px; }
  #lsc { top: 40px; left: calc(8px + env(safe-area-inset-left)); gap: 6px; }
  .lsc-col { width: 250px; }
  .lsc-banner { height: 40px; } .lsc-banner div { font-size: 20px; } .lsc-banner small { display: none; }
  .lsc-banner.ghost { height: 0; }
  .lsc-bar { padding: 6px 10px; }
  .lsc-list { max-height: calc(100vh - 168px - var(--top-safe)); }
  .lsc-item { padding: 9px 10px; font-size: 13px; }
  .lsc-desc { font-size: 12px; padding: 6px 10px; max-height: 64px; overflow: hidden; }
  #panel { top: 40px; left: 270px; bottom: 8px; width: calc(100vw - 280px); padding: 10px; }
  #stats { display: none; width: 240px; right: 8px; bottom: 60px; font-size: 11px; }
  body.stats-open #stats { display: block; }
  #stats-toggle { display: block; }
  #tach { width: 150px; height: 150px; }
  #bars { width: 150px; padding: 3px 6px; }
  #dash { right: auto; left: 50%; transform: translateX(-50%); bottom: 4px; }
  #shiftlight i { width: 10px; height: 10px; }
  #timer { font-size: 22px; } #names { font-size: 11px; }
  #tree-hud { left: 8px; top: 40%; padding: 6px 5px; gap: 4px; } .lamp { width: 18px; height: 18px; }
  #msg { font-size: 44px; top: 22%; } #submsg { font-size: 15px; top: 34%; }
  #cam-label { display: none; }
  #lane { bottom: auto; top: 64px; width: 200px; height: 20px; }
  .res-box { padding: 12px; max-height: 96vh; overflow: auto; } .res-title { font-size: 34px; } .res-box table { font-size: 12px; margin: 6px 0; } .res-box td, .res-box th { padding: 3px 6px; }
  .res-btns .btn { padding: 12px 18px; }
}
/* mais de duas colunas não cabem: no celular mostra só a ativa */
@media (max-width: 900px) { .lsc-col:not(.active) { display: none; } #panel { left: 270px; } }
/* em pé no celular: pede pra girar */
@media (orientation: portrait) and (pointer: coarse) { #rotate { display: grid; } }
@media (max-height: 520px) {
  #tach { width: 118px; height: 118px; }
  #bars { width: 118px; padding: 2px 5px; }
  .bar-row { font-size: 8px; margin: 1px 0; } .bar-row span { width: 30px; } .bar-row b { width: 30px; }
  #shiftlight { gap: 2px; } #shiftlight i { width: 8px; height: 8px; }
  #names { display: none; }
  #lane { top: 52px; width: 170px; height: 16px; } #lane i { top: 2px; height: 12px; width: 9px; margin-left: -4px; }
  #dash { opacity: .92; }
}

/* pedal do acelerador e alavanca do freio de mão */
#touch .gas, #touch .launch { background: transparent !important; border: none; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; padding: 0; color: #fff; text-shadow: 0 1px 3px #000; }
#touch .gas svg { width: 100%; height: 86%; transform-origin: 50% 100%; transform: perspective(260px) rotateX(18deg); transition: transform .06s; filter: drop-shadow(0 6px 6px #000a); }
#touch .gas.on svg { transform: perspective(260px) rotateX(42deg) scale(.96); filter: drop-shadow(0 2px 2px #000a) brightness(1.25); }
#touch .gas span, #touch .launch span { font-size: 11px; font-weight: 900; letter-spacing: .5px; }
#touch .launch { display: none; width: 96px; height: 120px; }
#touch.prelaunch .launch { display: flex; }
#touch .launch svg { width: 100%; height: 86%; filter: drop-shadow(0 4px 5px #000a); }
#touch .launch .lv { transform-origin: 50px 108px; transform: rotate(-28deg); transition: transform .12s; }
#touch .launch.on .lv { transform: rotate(32deg); }
#touch.green .launch { animation: pulse .35s infinite alternate; background: transparent; }
#touch.green .launch span { color: #22ff55; }
#touch.green .launch circle { fill: #22ff55; }

/* celular: conta-giros no canto superior direito para não tampar o carro */
body.touch #dash { left: auto; transform: none; bottom: auto; right: calc(10px + env(safe-area-inset-right)); top: 60px; opacity: .88; pointer-events: none; }
body.touch #tach { width: 120px; height: 120px; }
body.touch #bars { width: 120px; padding: 2px 5px; }
body.touch .bar-row { font-size: 8px; margin: 1px 0; } body.touch .bar-row span { width: 30px; } body.touch .bar-row b { width: 30px; }
body.touch #shiftlight { gap: 2px; } body.touch #shiftlight i { width: 8px; height: 8px; }
body.touch #touch .nitro { right: auto; left: calc(16px + env(safe-area-inset-left)); bottom: calc(122px + env(safe-area-inset-bottom)); }
@media (max-height: 520px) {
  body.touch #dash { top: 58px; }
  body.touch #tach { width: 104px; height: 104px; }
  body.touch #bars { width: 104px; }
}

/* versão online dentro do app do Claude: a barra do app fica por cima do topo — empurra a interface pra baixo */
:root { --top-safe: 0px; }
body.embedded.touch { --top-safe: 56px; }
#menu, #hud, #results { top: var(--top-safe); }

/* logo da oficina */
.lsc-banner.logo { background: #000 url(../img/logo_faixa.jpg) center / contain no-repeat; height: 98px; padding: 0; }
.lsc-banner.ghost { height: 98px; }
.splash-logo { display: block; width: min(300px, 38vh); height: auto; margin: 0 auto 10px; border-radius: 10px; box-shadow: 0 6px 30px #000c; }
@media (max-height: 520px) { .lsc-banner.logo, .lsc-banner.ghost { height: 58px; } .splash-logo { width: 26vh; margin-bottom: 4px; } }

/* carregando o modelo do carro na oficina/concessionária */
#car-loading { position: absolute; left: 50%; top: 52%; transform: translate(-50%, -50%); display: flex; align-items: center; gap: 10px; background: #000b; color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; font-size: 14px; pointer-events: none; }
#car-loading.hidden { display: none; }
#car-loading i { width: 18px; height: 18px; border: 3px solid #fff3; border-top-color: #e3141c; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
