.mart-hud,.tread-panel {
  position:absolute;left:var(--side);top:calc(var(--top) + 90px);z-index:2;
  display:flex;align-items:center;gap:12px;max-width:calc(100% - var(--side)*2);
  padding:10px 11px 10px 14px;border:1px solid #749c81;border-radius:13px;
  background:linear-gradient(125deg,#203b30f6,#122c27ee);box-shadow:0 10px 28px #0c221c51;
}
.mart-hud strong,.tread-panel strong { display:block;color:#d8f7bb;font-size:12px;letter-spacing:.10em; }
.mart-hud small,.tread-panel small { display:block;color:#ccdcd0;font-size:11px;margin-top:5px; }
.mart-hud .ghost,.tread-panel button { min-height:42px; }
.tread-panel { left:50%;top:auto;bottom:calc(var(--bottom) + 98px);transform:translateX(-50%);min-width:min(340px,90vw);justify-content:space-between; }
.tread-panel>div:last-child { display:flex;gap:5px; }
.tread-panel .ghost { width:40px;padding:0; }
.in-mart :is(#weather-layer,#snow-layer,#city-bulletin,.map-card,.instrument,.horn-key,.crawl-key) { display:none; }
.in-mart .map-wrap .fps-hud { top:46px;right:0; }
.in-room #snow-layer { display:none; }

.speech-caption {
  position:absolute;z-index:4;pointer-events:none;left:50%;bottom:calc(var(--bottom) + 175px);
  transform:translateX(-50%);width:max-content;max-width:min(560px,85vw);
  background:#11251eea;color:#f4faec;border:1px solid #90b89c77;border-radius:11px;
  padding:9px 15px;text-align:center;font-size:13px;line-height:1.4;text-wrap:balance;
}
.touch-mode .speech-caption { bottom:calc(var(--bottom) + 151px);max-width:92vw; }
.mart-product,.detail-row { display:flex;justify-content:space-between;gap:10px;align-items:center;padding:10px 0;border-bottom:1px solid #d8ebcd24; }
.mart-product strong,.mart-product small { display:block; }
.mart-product small,.detail-row span { color:#c3d7c9;font-size:12px;margin-top:3px; }
.detail-row strong { text-align:right; }
.mart-qty { display:flex;align-items:center;gap:7px; }
.mart-qty button { width:43px;height:43px;padding:0;font-size:17px; }
.mart-qty b { width:18px;text-align:center; }
.mart-checkout progress { width:100%;height:9px;accent-color:#9bd181; }
.vehicle-card-stats { grid-column:2/-1;display:grid;gap:2px; }
.vehicle-card-actions { grid-column:2/-1;display:flex;flex-wrap:wrap;gap:7px; }
.vehicle-list .list-row { grid-template-columns:auto minmax(0,1fr) auto; }
.vehicle-compare { overflow-x:auto; }
.vehicle-compare table { border-collapse:collapse;width:100%;text-align:left;min-width:300px; }
.vehicle-compare :is(td,th) { border-bottom:1px solid #d8ebcd24;padding:8px; }
.vehicle-compare td { white-space:nowrap;color:#deecd9; }
.vehicle-compare th { color:#b6d6b8;font-size:12px; }

.touch-pedals .boost-pedal { width:clamp(43px,11vw,63px);height:clamp(60px,17vw,79px);border-color:#e9ce7e91;color:#fff1b0; }
.touch-pedals .boost-pedal span { font-size:9px;line-height:1.1; }
.touch-pedals .gas-pedal span,.touch-pedals .brake-pedal span { font-size:11px; letter-spacing:.025em; }
.touch-pedals .gas-pedal.is-held { background:#b8f487; color:#112c20; }
.touch-pedals .brake-pedal.is-held { background:#ffd1ae; color:#482818; }
:is(.boost-key,.touch-pedals .boost-pedal).boosting { color:#203227;background:#edc877;border-color:#fff1ba; }
#gear-read { white-space:normal; }
#weather-layer[data-weather=drizzle] { opacity:.24;animation-duration:.82s; }
#weather-layer[data-weather=storm] { opacity:.61;animation-duration:.30s; }
#weather-layer[data-weather=wind] { background:repeating-linear-gradient(167deg,transparent 0 46px,#e3f4f416 47px,transparent 49px 115px);opacity:.35;animation:wind317 2.8s linear infinite; }
@keyframes wind317 { to { transform:translateX(-55px); } }
#snow-layer { position:absolute;inset:0;pointer-events:none;background-image:
  radial-gradient(circle,#f5fbff 0 1.2px,transparent 1.8px),
  radial-gradient(circle,#e0efff 0 1.4px,transparent 2.25px),
  radial-gradient(circle,#f2f9ffe0 0 2px,transparent 3.1px);
  background-size:89px 117px,151px 139px,231px 171px;
  background-position:17px 0,63px 11px,91px 38px;
  animation:snow317 8.6s linear infinite;
}
@keyframes snow317 { to { background-position:106px 351px,214px 417px,322px 551px; } }
#meteor-trail { position:absolute;height:3px;transform-origin:0 50%;border-radius:50%;background:linear-gradient(90deg,transparent,#a4d3fd73 45%,#d9edff 86%,#fff4d1);box-shadow:2px 0 12px #bfdfffaa; }
@media(max-width:480px) {
  .mart-hud { top:calc(var(--top) + 74px); }
  .vehicle-card-actions button { min-height:39px; }
  .touch-pedals .boost-pedal,.touch-pedals .reverse-pedal,
  body.touch-mode[data-control-size="large"] .touch-pedals .boost-pedal { width:43px;min-width:43px; }
}
body.reduced #snow-layer { animation:none; }
@media(prefers-reduced-motion:reduce) { #snow-layer { animation:none; } }

.places-filters { display:flex;flex-wrap:wrap;gap:6px; }
.places-filters button { min-height:42px;padding:0 10px; }
.place-title { display:flex;align-items:center;gap:11px; }
.place-title>span { display:grid;place-items:center;width:39px;height:39px;border-radius:11px;background:#315444;color:#d6f4aa;flex:none; }
.place-title h3 { margin:0 0 3px; }
.place-title small,.place-hours { display:block;color:#c1d7c9;font-size:12px; }
.place-hours+.place-hours { margin-top:5px; }
.place-card .action-row,.place-saved .action-row { margin-top:12px; }
.vehicle-price del { display:block;color:#b4c4b7;font-size:10px;font-weight:500; }
