:root {
  --bg: #05060c;
  --card: rgba(8, 14, 26, 0.88);
  --ink: #041018;
  --tooth: #e7f6ff;
  --muted: #8ea4bc;
  --green: #3dffe0;
  --orange: #3df3ea;
  --purple: #8b5cff;
  --magenta: #ff2ea6;
  --cyan: #3df3ea;
  --acid: #d6ff4a;
  --line: rgba(61, 243, 234, 0.22);
  --display: "Orbitron", "Rajdhani", sans-serif;
  --ui: "Rajdhani", "Outfit", sans-serif;
  --font: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --mono: "Share Tech Mono", ui-monospace, monospace;
  --jp: "Noto Sans JP", sans-serif;
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --glow: 0 0 0 1px rgba(255, 46, 166, 0.18), 0 0 28px rgba(80, 40, 180, 0.22);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scrollbar-width: none; }
html::-webkit-scrollbar, body::-webkit-scrollbar { display: none; }
body { scrollbar-width: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  min-height: 100vh;
  color: var(--tooth);
  font-family: var(--font);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(61, 243, 234, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 243, 234, 0.045) 1px, transparent 1px),
    radial-gradient(900px 480px at -8% -10%, rgba(61, 243, 234, 0.12), transparent 55%),
    radial-gradient(820px 460px at 110% -12%, rgba(255, 46, 166, 0.14), transparent 50%),
    radial-gradient(700px 420px at 80% 110%, rgba(139, 92, 255, 0.16), transparent 48%);
  background-size: 32px 32px, 32px 32px, auto, auto, auto;
  overflow-x: hidden;
}
body::before {
  content: "";
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.14;
  background: repeating-linear-gradient(to bottom, transparent 0 3px, rgba(0, 0, 0, 0.45) 3px 4px);
  mix-blend-mode: multiply;
  z-index: 1;
}
a { color: var(--cyan); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--magenta); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 2px; }

.sponsor-strip {
  background: rgba(4, 8, 16, 0.92);
  border-bottom: 1px solid rgba(61, 243, 234, 0.45);
  box-shadow: 0 0 18px rgba(61, 243, 234, 0.12);
  overflow: hidden;
  height: 58px;
}
.marquee {
  display: flex;
  gap: 10px;
  width: max-content;
  padding: 8px 10px;
  animation: ticker 36s linear infinite;
}
@keyframes ticker { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@media (prefers-reduced-motion: reduce) { .marquee { animation: none; } }
.chip-ad {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 250px;
  padding: 4px 12px 4px 6px;
  background: rgba(8, 16, 28, 0.85);
  border: 1px solid rgba(61, 243, 234, 0.4);
  box-shadow: inset 0 0 12px rgba(61, 243, 234, 0.08);
  color: var(--tooth);
  clip-path: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
}
.chip-ad b { font-family: var(--ui); font-size: 14px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.chip-ad span { color: var(--muted); font-size: 12px; }
.mark {
  width: 36px; height: 36px; display: grid; place-items: center;
  font-family: var(--display); font-size: 11px; letter-spacing: 0.04em; color: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.mark.a { background: var(--cyan); }
.mark.b { background: var(--magenta); color: white; }
.mark.c { background: var(--acid); }
.mark.d { background: var(--purple); color: white; }

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 20px;
  position: sticky;
  top: 0;
  z-index: 35;
  background: rgba(5, 6, 12, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(61, 243, 234, 0.35);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}
.brand { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.brand-shark {
  display: block;
  height: 176px;
  width: auto;
  max-width: none;
  flex: 0 0 auto;
  object-fit: contain;
  object-position: center bottom;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  padding: 0;
}
@media (max-width: 720px) {
  .brand-shark { height: 144px; max-width: none; }
}
.brand-name { line-height: 0.85; flex: 1; min-width: 0; }
.brand-name strong {
  display: block;
  font-family: var(--display);
  font-size: clamp(42px, 5.6vw, 88px);
  letter-spacing: 0.06em;
  font-weight: 700;
  white-space: nowrap;
  text-shadow: 0 0 18px rgba(61, 243, 234, 0.45);
}
.brand-name strong i { font-style: normal; color: var(--purple); }
.brand-name strong em { font-style: normal; color: var(--cyan); }
.brand-name small {
  color: var(--cyan);
  letter-spacing: 0.28em;
  font-size: clamp(12px, 1.2vw, 16px);
  font-family: var(--mono);
}
.kanji {
  font-family: var(--jp);
  font-weight: 900;
  color: var(--magenta);
  font-size: 22px;
  text-shadow: 0 0 10px rgba(255, 46, 166, 0.65);
}
nav { display: flex; flex-wrap: wrap; gap: 10px 8px; align-items: center; padding-bottom: 4px; }
nav a {
  text-decoration: none;
  color: var(--cyan);
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 15px;
  padding: 7px 12px;
  border: 1px solid rgba(140, 255, 248, 0.72);
  border-bottom-color: rgba(6, 36, 44, 0.95);
  background: linear-gradient(180deg, rgba(90, 255, 246, 0.28) 0%, rgba(16, 28, 46, 0.55) 46%, rgba(5, 8, 16, 0.85) 100%);
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 255, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #07141c,
    0 8px 12px rgba(0, 0, 0, 0.45),
    0 0 12px rgba(61, 243, 234, 0.2);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, color 0.08s ease;
}
nav a:hover {
  color: var(--tooth);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 6px 0 #07141c,
    0 10px 16px rgba(0, 0, 0, 0.5),
    0 0 16px rgba(61, 243, 234, 0.35);
}
nav a:active {
  color: var(--tooth);
  transform: translateY(4px);
  box-shadow:
    inset 0 2px 4px rgba(0, 0, 0, 0.5),
    0 1px 0 #07141c,
    0 2px 6px rgba(0, 0, 0, 0.4);
}
nav a.active {
  color: #fff;
  border-color: rgba(255, 180, 220, 0.85);
  background: linear-gradient(180deg, rgba(255, 90, 180, 0.55) 0%, rgba(90, 16, 60, 0.55) 48%, rgba(12, 6, 16, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 245, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #2a0a1c,
    0 8px 14px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(255, 46, 166, 0.32);
}

.frame {
  width: calc(100% - 20px);
  margin: 20px auto 32px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}
main { min-width: 0; }
.rail { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 92px; }
.slot-kicker {
  margin: 0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  font-weight: 400;
}
.banner {
  display: block; width: 100%; text-align: left; cursor: pointer;
  padding: 14px; min-height: 118px; position: relative; overflow: hidden;
  border: 1px solid rgba(61, 243, 234, 0.45);
  box-shadow: var(--glow);
  clip-path: var(--cut);
  color: var(--tooth);
}
.banner small { display: block; letter-spacing: 0.18em; font-size: 10px; font-weight: 700; font-family: var(--mono); }
.banner strong { display: block; font-family: var(--display); font-size: 16px; line-height: 1.15; margin: 8px 0; letter-spacing: 0.06em; }
.banner em { font-style: normal; font-size: 13px; color: rgba(231, 246, 255, 0.82); }
.banner i {
  position: absolute; right: 10px; bottom: 8px;
  font-family: var(--display); font-size: 22px; font-style: normal; opacity: 0.35; letter-spacing: 0.12em;
}
.b1 { background: linear-gradient(135deg, rgba(61, 243, 234, 0.22), rgba(5, 10, 20, 0.2) 42%, rgba(255, 46, 166, 0.28)); }
.b2 { background: linear-gradient(160deg, rgba(139, 92, 255, 0.45), rgba(5, 8, 18, 0.2) 55%, rgba(61, 243, 234, 0.2)); }
.b3 { background: linear-gradient(135deg, #140818, rgba(255, 46, 166, 0.55) 60%, #3a1460); }
.b4 { background: linear-gradient(120deg, #04141c, rgba(61, 243, 234, 0.55)); color: var(--tooth); }
.b4 em, .b4 small { color: #c5d8e6; }
.sample-pill {
  display: block;
  border: 1px dashed rgba(61, 243, 234, 0.7);
  color: var(--muted);
  padding: 10px;
  font-size: 12px;
  line-height: 1.45;
  background: rgba(0, 0, 0, 0.28);
}

.hero, .panel, .card, .result, .ticket, .stage, .total-bar, .empty {
  border: 1px solid rgba(61, 243, 234, 0.38);
  box-shadow: var(--glow);
  clip-path: var(--cut);
}
.hero {
  position: relative;
  padding: 28px 24px 22px;
  background:
    linear-gradient(160deg, rgba(61, 243, 234, 0.1), transparent 38%),
    linear-gradient(20deg, rgba(255, 46, 166, 0.1), transparent 42%),
    linear-gradient(180deg, rgba(12, 18, 32, 0.95), rgba(5, 7, 14, 0.92));
  overflow: hidden;
}
.hero::after {
  content: "3040";
  position: absolute;
  right: 18px;
  bottom: -8px;
  font-family: var(--display);
  font-size: 92px;
  letter-spacing: 0.08em;
  color: transparent;
  -webkit-text-stroke: 1px rgba(61, 243, 234, 0.18);
  pointer-events: none;
}
.hero-art { position: absolute; right: 18px; top: 16px; width: 120px; height: 148px; filter: drop-shadow(0 0 8px rgba(61, 243, 234, 0.35)); }
.kicker {
  font-family: var(--mono);
  color: var(--magenta);
  margin: 0 0 8px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 12px;
}
h1, h2, h3 { font-family: var(--display); letter-spacing: 0.06em; font-weight: 700; margin: 0; }
.hero h1 {
  font-size: clamp(52px, 7vw, 88px);
  line-height: 0.92;
  text-shadow: 0 0 18px rgba(61, 243, 234, 0.35);
}
.hero h1 .bite { color: var(--cyan); text-shadow: 0 0 16px rgba(61, 243, 234, 0.7); }
.hero h1 .night { color: var(--magenta); }
.lede { max-width: none; color: var(--muted); font-size: 16px; line-height: 1.55; position: relative; z-index: 1; }
.hazard {
  height: 2px;
  margin: 16px 0;
  background: linear-gradient(90deg, var(--cyan), var(--magenta), var(--purple), var(--cyan));
  box-shadow: 0 0 12px rgba(255, 46, 166, 0.45);
  position: relative;
  z-index: 1;
}

.search-bar { display: flex; gap: 8px; width: 100%; max-width: none; position: relative; z-index: 1; }
.search-bar input, .stack input, .stack select, .stack textarea {
  width: 100%;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.4);
  padding: 12px 14px;
  outline: none;
  font-family: var(--mono);
}
.search-bar input:focus, .stack input:focus, .stack select:focus, .stack textarea:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta), 0 0 16px rgba(255, 46, 166, 0.25);
}
.btn {
  border: 1px solid rgba(140, 255, 248, 0.75);
  border-bottom-color: rgba(6, 36, 44, 0.95);
  cursor: pointer;
  background: linear-gradient(180deg, rgba(90, 255, 246, 0.32) 0%, rgba(16, 28, 46, 0.55) 46%, rgba(5, 8, 16, 0.9) 100%);
  color: var(--cyan);
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 16px;
  padding: 9px 16px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 255, 0.6),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    0 5px 0 #07141c,
    0 8px 14px rgba(0, 0, 0, 0.48),
    0 0 14px rgba(61, 243, 234, 0.22);
  transform: translateY(0);
  transition: transform 0.08s ease, box-shadow 0.08s ease, color 0.08s ease, background 0.08s ease;
}
.btn:hover {
  color: var(--tooth);
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 6px 0 #07141c,
    0 11px 16px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(61, 243, 234, 0.38);
}
.btn:active {
  color: var(--tooth);
  transform: translateY(4px);
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 #07141c,
    0 2px 6px rgba(0, 0, 0, 0.4);
}
.btn.ghost {
  color: var(--magenta);
  border-color: rgba(255, 150, 210, 0.8);
  border-bottom-color: rgba(48, 8, 32, 0.95);
  background: linear-gradient(180deg, rgba(255, 80, 170, 0.34) 0%, rgba(40, 10, 32, 0.55) 50%, rgba(10, 6, 14, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 240, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #2a0a1c,
    0 8px 14px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(255, 46, 166, 0.22);
}
.btn.ghost:hover {
  color: white;
  background: linear-gradient(180deg, rgba(255, 120, 190, 0.5) 0%, rgba(90, 12, 50, 0.55) 55%, rgba(16, 6, 14, 0.92) 100%);
}
.btn.ghost:active {
  box-shadow:
    inset 0 2px 5px rgba(0, 0, 0, 0.5),
    0 1px 0 #2a0a1c,
    0 2px 6px rgba(0, 0, 0, 0.4);
}
.btn.tiny { font-size: 14px; padding: 6px 10px; box-shadow: inset 0 1px 0 rgba(230, 255, 255, 0.5), 0 3px 0 #07141c, 0 5px 10px rgba(0, 0, 0, 0.4); }
.btn.tiny:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.65), 0 4px 0 #07141c, 0 7px 12px rgba(0, 0, 0, 0.45); }
.btn.tiny:active { transform: translateY(2px); }
.btn.tiny.ghost { box-shadow: inset 0 1px 0 rgba(255, 220, 240, 0.45), 0 3px 0 #2a0a1c, 0 5px 10px rgba(0, 0, 0, 0.4); }
.btn.danger {
  color: #ffd0ea;
  border-color: rgba(255, 120, 180, 0.85);
  background: linear-gradient(180deg, rgba(255, 46, 166, 0.4), rgba(40, 6, 24, 0.85));
  box-shadow: inset 0 1px 0 rgba(255, 210, 230, 0.4), 0 4px 0 #3a0a22, 0 6px 10px rgba(0, 0, 0, 0.4);
}
.btn-row, .filters { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.examples { color: var(--muted); font-size: 13px; position: relative; z-index: 1; font-family: var(--mono); }
.examples a { margin-right: 8px; }

.section-head { display: flex; justify-content: space-between; gap: 12px; align-items: end; margin: 22px 0 10px; }
.section-head h2 { font-size: 28px; text-shadow: 0 0 12px rgba(61, 243, 234, 0.35); }
.grid-cards, .car-grid, .swatches, .slot-options, .market-grid { display: grid; gap: 12px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.car-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.card, .panel { background: var(--card); padding: 14px; }
.card:nth-child(3n) { box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.28), 0 0 22px rgba(255, 46, 166, 0.12); }
.card:nth-child(3n+2) { box-shadow: 0 0 0 1px rgba(61, 243, 234, 0.35), 0 0 22px rgba(61, 243, 234, 0.12); }
.card h3, .panel h2, .panel h3 { font-size: 22px; }
.card p, .panel p { color: var(--muted); line-height: 1.45; }
.chassis { font-family: var(--mono); color: var(--cyan); }

.picker { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 8px; }
.picker button, .slot-options button, .swatch {
  cursor: pointer;
  background: rgba(6, 10, 18, 0.9);
  border: 1px solid rgba(61, 243, 234, 0.28);
  color: var(--tooth);
  text-align: left;
}
.picker button { min-width: 138px; padding: 8px 10px; }
.picker button strong, .slot-options strong {
  display: block;
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.picker button.on, .slot-options button.on, .swatch.on {
  background: rgba(61, 243, 234, 0.1);
  border-color: var(--cyan);
  box-shadow: 0 0 16px rgba(61, 243, 234, 0.28);
}

.stage {
  background:
    linear-gradient(180deg, rgba(10, 16, 28, 0.4), rgba(5, 7, 12, 0.2)),
    repeating-linear-gradient(90deg, rgba(61, 243, 234, 0.05) 0 1px, transparent 1px 28px),
    repeating-linear-gradient(0deg, rgba(61, 243, 234, 0.05) 0 1px, transparent 1px 28px),
    #070910;
  padding: 8px;
  box-shadow: 0 0 0 1px rgba(139, 92, 255, 0.35), 0 0 24px rgba(61, 243, 234, 0.12);
}
.stage svg { width: 100%; height: auto; display: block; }
.stage-meta {
  display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap;
  padding: 6px 4px 2px; color: var(--muted); font-size: 13px; font-family: var(--mono);
}
.total-bar {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  margin-top: 10px; padding: 10px 14px;
  background: rgba(6, 10, 18, 0.92);
}
.total-bar strong { font-family: var(--display); font-size: 32px; color: var(--cyan); font-weight: 700; }
.total-bar small, .muted { color: var(--muted); }

.paint-panel.focus { box-shadow: 0 0 0 1px var(--magenta), 0 0 24px rgba(255, 46, 166, 0.28); }
.swatches { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
.swatch { padding: 8px; }
.chip { height: 46px; border: 1px solid rgba(231, 246, 255, 0.35); margin-bottom: 6px; box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.35); }
.swatch b { display: block; font-family: var(--mono); font-size: 14px; }
.swatch span { color: var(--muted); font-size: 12px; }

.slots { display: flex; flex-direction: column; gap: 14px; margin-top: 14px; }
.slot h3 { font-size: 22px; }
.slot h3 span { color: var(--muted); font-family: var(--font); font-size: 13px; margin-left: 8px; letter-spacing: 0; }
.slot-options { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.slot-options button { padding: 10px; }
.pn { font-family: var(--mono); color: var(--cyan); font-size: 13px; }
.price { color: var(--acid); font-weight: 700; font-family: var(--mono); }
.tag {
  display: inline-block;
  border: 1px solid rgba(61, 243, 234, 0.45);
  padding: 1px 6px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tooth);
  margin: 0 4px 4px 0;
  background: rgba(20, 10, 36, 0.8);
  font-family: var(--mono);
}
.tag.hot { background: rgba(61, 243, 234, 0.16); color: var(--cyan); border-color: var(--cyan); }
.tag.sample { background: transparent; color: var(--acid); border-color: var(--acid); }

.results {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 10px;
  width: 100%;
}
.result {
  padding: 12px 14px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  background: var(--card);
}
.result h3 { font-size: 20px; }
.fit-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.fit-chips a, .mini-link {
  text-decoration: none;
  border: 1px solid rgba(61, 243, 234, 0.4);
  padding: 3px 7px;
  color: var(--tooth);
  font-size: 12px;
  background: rgba(6, 10, 18, 0.9);
  font-family: var(--mono);
}
.fit-chips a:hover, .mini-link:hover { border-color: var(--magenta); color: var(--magenta); }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; font-size: 14px; }
th, td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
th { color: var(--cyan); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; font-family: var(--ui); }

.market-grid { grid-template-columns: 1.1fr 0.9fr; }
.ticket { padding: 14px; background: var(--card); display: grid; gap: 6px; }
.stack { display: grid; gap: 8px; }
.stack label {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--cyan);
  display: grid;
  gap: 4px;
  font-family: var(--ui);
  font-weight: 700;
}
.flash {
  padding: 10px 12px;
  background: rgba(61, 243, 234, 0.08);
  border: 1px solid var(--cyan);
  color: var(--tooth);
}
.flash.bad { background: rgba(255, 46, 166, 0.1); border-color: var(--magenta); }
.toast {
  position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
  background: rgba(6, 8, 16, 0.94);
  color: var(--cyan);
  border: 1px solid var(--magenta);
  padding: 12px 14px;
  z-index: 40;
  max-width: min(560px, calc(100% - 24px));
  box-shadow: 0 0 22px rgba(255, 46, 166, 0.35);
  font-family: var(--mono);
}
.site-footer {
  width: calc(100% - 20px);
  margin: 0 auto 28px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
  border-top: 1px solid rgba(61, 243, 234, 0.4);
  padding-top: 14px;
}
.empty { padding: 16px; color: var(--muted); background: rgba(0, 0, 0, 0.28); }

@media (max-width: 1100px) {
  .frame { grid-template-columns: 1fr; }
  .rail { position: static; display: grid; grid-template-columns: 1fr 1fr; }
  .market-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-header { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: 48px; }
  .hero::after { font-size: 56px; }
  .search-bar, .result { display: grid; grid-template-columns: 1fr; }
  .rail { grid-template-columns: 1fr; }
  .hero-art { display: none; }
}

.filters .btn.on {
  color: var(--ink);
  background: linear-gradient(180deg, #e9fffd, var(--cyan) 42%, #149e92);
  transform: translateY(3px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.28), 0 2px 0 #063038;
}

.tag.oem { background: rgba(61, 255, 224, 0.16); color: var(--green); border-color: var(--green); }
.tag.after { background: rgba(61, 243, 234, 0.12); color: var(--cyan); border-color: var(--cyan); }
.tag.custom { background: rgba(139, 92, 255, 0.2); color: #d8c8ff; border-color: var(--purple); }
.tag.buy { background: rgba(255, 46, 166, 0.16); color: var(--magenta); border-color: var(--magenta); }
.tag.swap { background: rgba(139, 92, 255, 0.16); color: #c9b6ff; border-color: var(--purple); }
.tag.sell { background: rgba(214, 255, 74, 0.12); color: var(--acid); border-color: var(--acid); }

.meter { height: 8px; background: #070b14; border: 1px solid rgba(61, 243, 234, 0.35); }
.meter > span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), var(--purple));
  max-width: 100%;
  box-shadow: 0 0 8px rgba(61, 243, 234, 0.6);
}
.meter.over > span { background: var(--magenta); box-shadow: 0 0 8px rgba(255, 46, 166, 0.6); }
.auth-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.clock { font-family: var(--mono); font-size: 28px; color: var(--cyan); text-shadow: 0 0 10px rgba(61, 243, 234, 0.45); }
.over { color: var(--magenta); font-weight: 700; }
.ok { color: var(--green); font-weight: 700; }
@media (max-width: 720px) { .auth-grid { grid-template-columns: 1fr; } }

.hero { overflow: visible; clip-path: none; }
.card.on { box-shadow: 0 0 0 1px var(--magenta), 0 0 22px rgba(255, 46, 166, 0.35); }

.orbit {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-areas:
    "sponsors"
    "top"
    "core";
  gap: 14px 12px;
  align-items: center;
  margin: 8px 0 4px;
}
.orbit-top {
  grid-area: top;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.orbit-top .hub-btn,
.orbit-top .hub-tile { grid-area: auto; letter-spacing: 0.04em; padding-left: 6px; padding-right: 6px; font-size: 14px; line-height: 1.15; text-align: center; white-space: normal; }
.import-row { margin: 8px 0 4px; }
.import-row .hub-btn { width: 100%; }
.result.motor-card { grid-template-columns: minmax(0, 1fr); }
.result.motor-card .price { font-size: 22px; margin: 8px 0 0; }

.hub-btn { width: 100%; min-height: 52px; }
.at-home { grid-area: home; }
.at-paint { grid-area: paint; }
.at-parts { grid-area: parts; }
.at-build { grid-area: build; }
.at-market { grid-area: market; }
.at-garage { grid-area: garage; }
.orbit-core { grid-area: core; min-width: 0; }
.orbit-sponsors {
  grid-area: sponsors;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
  min-width: 0;
}
.orbit-sponsors .slot-kicker, .orbit-sponsors .sample-pill { margin: 0; }
.page-sponsors { grid-area: auto; grid-column: 1 / -1; width: 100%; }
.reel { overflow: hidden; width: 100%; }
.reel-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: sponsor-reel 70s linear infinite;
}
.reel:hover .reel-track, .reel:focus-within .reel-track { animation-play-state: paused; }
@keyframes sponsor-reel { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.reel-track .banner {
  flex: 0 0 380px;
  width: 380px;
  min-height: 156px;
  padding: 18px 18px 16px;
}
.reel-track .banner strong { font-size: 22px; }
.reel-track .banner em { font-size: 15px; }
.reel-track .banner i { font-size: 28px; }
@media (prefers-reduced-motion: reduce) {
  .reel-track { animation: none; flex-wrap: wrap; width: 100%; }
  .reel-track .banner { flex-basis: min(380px, 100%); }
}
.frame main, .frame .panel, .photo-stage { width: 100%; }
.photo-stage .car-photo, .orbit-car .photo-link, .orbit-car .car-photo {
  width: 100%;
  margin: 0;
}
.photo-stage .car-photo img, .orbit-car .car-photo img {
  width: 100%;
  height: min(420px, 48vw);
  object-fit: cover;
}

.hero-shark {
  display: block;
  width: 100%;
  max-height: 440px;
  object-fit: cover;
  object-position: center 30%;
  border: 1px solid rgba(61, 243, 234, 0.5);
  box-shadow:
    0 0 0 1px rgba(139, 92, 255, 0.45),
    0 16px 40px rgba(0, 0, 0, 0.45),
    0 0 28px rgba(255, 46, 166, 0.22);
}
.orbit-car {
  display: grid;
  grid-template-columns: auto minmax(220px, 1fr) auto;
  grid-template-areas:
    "prev photo next"
    "meta meta meta";
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 10px;
}
.orbit-car .btn:first-of-type { grid-area: prev; }
.orbit-car .photo-link { display: block; color: inherit; text-decoration: none; }
.photo-link .car-photo { cursor: pointer; transition: box-shadow 0.15s ease, transform 0.15s ease; }
.photo-link:hover .car-photo, .photo-link:focus-visible .car-photo {
  box-shadow: 0 0 0 1px var(--cyan), 0 0 24px rgba(61, 243, 234, 0.35);
}
.photo-cta {
  position: absolute;
  left: 10px;
  bottom: 10px;
  padding: 6px 10px;
  background: rgba(5, 8, 14, 0.82);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  font-family: var(--ui);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.photo-stage { position: relative; }
.spots { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.spot {
  text-decoration: none;
  color: var(--tooth);
  border: 1px solid rgba(61, 243, 234, 0.45);
  padding: 6px 10px;
  font-family: var(--ui);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.spot:hover { color: var(--ink); background: var(--cyan); }
.car-photo { grid-area: photo; }
.orbit-car .btn:last-of-type { grid-area: next; }
.orbit-car-meta { grid-area: meta; text-align: center; }
.orbit-car-meta strong {
  display: block;
  font-family: var(--display);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}
.orbit-car-meta label { display: block; color: var(--muted); font-size: 12px; font-family: var(--mono); }
.orbit-car-meta select, .card select {
  margin-top: 4px;
  width: 100%;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.4);
  padding: 8px 10px;
  font-family: var(--mono);
}

.car-photo {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #070910;
  border: 1px solid rgba(61, 243, 234, 0.35);
  box-shadow: 0 0 18px rgba(61, 243, 234, 0.12);
}
.car-photo img {
  display: block;
  width: 100%;
  height: 320px;
  object-fit: cover;
  object-position: center;
}
.car-photo.compact img { height: 300px; object-fit: cover; }
.car-photo.card-shot img { height: 150px; }
.paint-wash {
  position: absolute;
  inset: 0;
  mix-blend-mode: color;
  opacity: 1;
  pointer-events: none;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  mask-mode: alpha;
}
.stage { clip-path: none; overflow: visible; }
.stage .car-photo { transition: transform 0.18s ease; }
.stage .car-photo img { height: min(420px, 52vw); }
.photo-fallback {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 16px;
  text-align: center;
  border: 1px dashed var(--magenta);
  color: var(--magenta);
  font-family: var(--mono);
}
.photo-credit { font-size: 12px; margin-top: 8px; }
.card .car-photo { margin: -14px -14px 10px; border: 0; border-bottom: 1px solid rgba(61, 243, 234, 0.28); }

@media (max-width: 720px) {
  .orbit {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "sponsors sponsors"
      "top top"
      "core core";
  }
  .orbit-top { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .orbit-car { grid-template-columns: auto minmax(0, 1fr) auto; }
  nav a { box-shadow: inset 0 1px 0 rgba(230, 255, 255, 0.45), 0 3px 0 #07141c; }
}

.hero, .panel, .card, .result, .ticket, .stage { clip-path: none; overflow: visible; }
.btn-row, .filters { gap: 12px 10px; }


/* Catalog guide — corner panel. Not part of the page shell, so route renders do not wipe it. */
.tps-guide {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 50;
  width: min(400px, calc(100vw - 16px));
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  pointer-events: none;
}
.tps-guide > * { pointer-events: auto; }
.tps-guide-toggle {
  gap: 8px;
}
.tps-guide-toggle img {
  width: 36px;
  height: 28px;
  object-fit: cover;
  object-position: 70% 20%;
  border: 1px solid rgba(231, 246, 255, 0.35);
}
.tps-guide-toggle[hidden], .tps-guide-panel[hidden] { display: none; }
.tps-guide-panel {
  width: 100%;
  max-height: min(640px, calc(100vh - 92px));
  display: flex;
  flex-direction: column;
  background: rgba(6, 10, 18, 0.96);
  border: 1px solid rgba(61, 243, 234, 0.45);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.22), 0 16px 40px rgba(0, 0, 0, 0.55), 0 0 24px rgba(61, 243, 234, 0.12);
}
.tps-guide-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 10px 8px 12px;
  border-bottom: 1px solid rgba(61, 243, 234, 0.28);
}
.tps-guide-head img {
  width: 54px;
  height: 42px;
  object-fit: cover;
  object-position: 68% 22%;
  flex: 0 0 auto;
  border: 1px solid rgba(61, 243, 234, 0.45);
}
.tps-guide-head strong {
  display: block;
  font-family: var(--display);
  font-size: 14px;
  letter-spacing: 0.08em;
}
.tps-guide-head small {
  display: block;
  color: var(--acid);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
}
.tps-guide-x {
  margin-left: auto;
  align-self: flex-start;
}
.tps-guide-log {
  overflow-y: auto;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-height: 180px;
}
.tps-bubble {
  padding: 8px 10px;
  line-height: 1.45;
  font-size: 14px;
}
.tps-bubble.user {
  align-self: flex-end;
  max-width: 92%;
  background: rgba(255, 46, 166, 0.12);
  border: 1px solid rgba(255, 46, 166, 0.45);
  color: var(--tooth);
}
.tps-bubble.guide {
  align-self: stretch;
  background: rgba(61, 243, 234, 0.05);
  border: 1px solid rgba(61, 243, 234, 0.28);
  color: var(--tooth);
}
.tps-bubble p { margin: 0 0 8px; color: var(--muted); }
.tps-bubble p:last-child { margin-bottom: 0; }
.tps-bubble strong { color: var(--tooth); font-family: var(--ui); letter-spacing: 0.04em; }
.tps-bubble .pn { font-size: 12px; }
.tps-bubble ul { margin: 4px 0 8px; padding-left: 18px; }
.tps-bubble li { margin: 2px 0; }
.tps-guide-starters {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.tps-guide-starters .btn { width: 100%; text-align: left; justify-content: flex-start; }
.tps-guide-form {
  display: flex;
  gap: 8px;
  padding: 8px;
  border-top: 1px solid rgba(61, 243, 234, 0.28);
}
.tps-guide-form input {
  flex: 1;
  min-width: 0;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.4);
  padding: 10px 12px;
  font-family: var(--mono);
  outline: none;
}
.tps-guide-form input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta);
}

.part-sheet {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 8px 28px;
  align-items: start;
  width: 100%;
}
.part-buy { display: grid; align-content: start; gap: 8px; }
.part-buy .price { font-size: 40px; margin: 0; }
.part-buy .btn { width: 100%; }
.car-copy {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 0.6fr);
  gap: 8px 24px;
  margin-top: 12px;
  width: 100%;
}
.car-actions { display: flex; flex-direction: column; gap: 10px; align-content: start; }
.car-actions .btn { width: 100%; }
.part-group { margin-top: 18px; width: 100%; }
.part-group h3 { margin: 0 0 8px; text-transform: uppercase; }
main > .panel, main > section, main > article, main > .section-head, main > .filters, main > .results { width: 100%; }
@media (max-width: 860px) {
  .part-sheet, .car-copy { grid-template-columns: 1fr; }
  .results { grid-template-columns: 1fr; }
}

.home-hero { padding: 14px 16px 16px; }
.home-hero .lede { margin: 0 0 8px; }
.home-hero .orbit { margin-top: 0; }

.orbit-car .photo-cta {
  left: 50%;
  right: auto;
  bottom: 18px;
  transform: translateX(-50%);
  padding: 12px 22px;
  font-size: 20px;
  letter-spacing: 0.16em;
  color: #041018;
  background: linear-gradient(180deg, #e9fffd, var(--cyan) 46%, #149e92);
  border-color: rgba(230, 255, 255, 0.8);
  box-shadow: 0 6px 0 #063038, 0 10px 18px rgba(0, 0, 0, 0.45);
}

.car-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
  gap: 16px;
  align-items: start;
}
.car-layout .photo-stage { min-width: 0; }
.car-layout .car-copy {
  margin-top: 0;
  grid-template-columns: 1fr;
  align-content: start;
}
.centre-live, .centre-live .photo-link, .centre-live .car-photo { width: 100%; }
.orbit-core, .orbit-car, .orbit { width: 100%; }
@media (max-width: 860px) {
  .car-layout { grid-template-columns: 1fr; }
}


/* Ease pass: softer neon, readable type, less glare. Layout unchanged. */
:root {
  --tooth: #e4ebf3;
  --muted: #b4c5d6;
  --glow: 0 0 0 1px rgba(255, 46, 166, 0.1), 0 0 10px rgba(80, 40, 180, 0.07);
}
body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--tooth);
  background-image:
    linear-gradient(rgba(61, 243, 234, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 243, 234, 0.028) 1px, transparent 1px),
    radial-gradient(900px 480px at -8% -10%, rgba(61, 243, 234, 0.055), transparent 55%),
    radial-gradient(820px 460px at 110% -12%, rgba(255, 46, 166, 0.06), transparent 50%),
    radial-gradient(700px 420px at 80% 110%, rgba(139, 92, 255, 0.07), transparent 48%);
}
body::before { opacity: 0.06; }
button, .btn, nav a, .chip-ad, .banner, input, select, textarea, .tag, .kicker, .slot-kicker {
  line-height: 1.2;
}
p, li, .lede, .sample-pill, .banner em {
  text-transform: none;
  letter-spacing: 0.004em;
}
.lede, .panel p, .card p, .ticket p, .result p, .tps-bubble, .tps-bubble p {
  color: #dbe3ee;
  line-height: 1.68;
  font-size: 1.02rem;
}
.muted, .total-bar small, .card .muted, .panel .muted, .result .muted, .examples, .stage-meta, .swatch span {
  color: #b4c5d6;
}
h1, h2, h3 { letter-spacing: 0.035em; line-height: 1.22; }
.brand-name strong { text-shadow: 0 0 8px rgba(61, 243, 234, 0.16); }
.kanji { text-shadow: 0 0 4px rgba(255, 46, 166, 0.22); }
.hero h1 { text-shadow: none; }
.hero h1 .bite { text-shadow: 0 0 6px rgba(61, 243, 234, 0.22); }
.section-head { margin: 32px 0 16px; }
.section-head h2 { text-shadow: none; }
.clock { text-shadow: none; }
.site-header {
  border-bottom-color: rgba(61, 243, 234, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.28);
}
.sponsor-strip {
  height: auto;
  box-shadow: none;
  border-bottom-color: rgba(61, 243, 234, 0.2);
}
.marquee { padding: 8px 12px; align-items: center; }
.chip-ad { clip-path: none; }
.chip-ad {
  border-color: rgba(61, 243, 234, 0.28);
  box-shadow: none;
}
nav a {
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 255, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 4px 0 #07141c,
    0 6px 10px rgba(0, 0, 0, 0.32);
}
nav a:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 5px 0 #07141c,
    0 8px 12px rgba(0, 0, 0, 0.36);
}
nav a.active {
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 245, 0.4),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 4px 0 #2a0a1c,
    0 6px 10px rgba(0, 0, 0, 0.32);
}
.btn {
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 255, 0.42),
    inset 0 -2px 0 rgba(0, 0, 0, 0.38),
    0 4px 0 #07141c,
    0 6px 10px rgba(0, 0, 0, 0.36);
}
.btn:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.55),
    0 5px 0 #07141c,
    0 8px 12px rgba(0, 0, 0, 0.38);
}
.btn.ghost {
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 240, 0.38),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 4px 0 #2a0a1c,
    0 6px 10px rgba(0, 0, 0, 0.34);
}
.btn.tiny { box-shadow: inset 0 1px 0 rgba(230, 255, 255, 0.4), 0 3px 0 #07141c, 0 4px 8px rgba(0, 0, 0, 0.32); }
.btn.tiny.ghost { box-shadow: inset 0 1px 0 rgba(255, 220, 240, 0.35), 0 3px 0 #2a0a1c, 0 4px 8px rgba(0, 0, 0, 0.32); }
.frame { margin: 16px auto 56px; gap: 22px; }
.grid-cards, .car-grid, .swatches, .slot-options, .market-grid { gap: 18px; }
.results { gap: 16px; }
.card, .panel { padding: 16px 16px 14px; }
.card h3, .panel h2, .panel h3, .result h3 { line-height: 1.28; }
.card h3 { margin: 8px 0 6px; }
.card p, .panel p { margin: 0 0 10px; }
.part-group h3 { text-transform: none; letter-spacing: 0.04em; }
.result {
  align-items: start;
  gap: 12px 18px;
  padding: 16px;
}
.result > div:first-child { min-width: 0; }
.result > div:last-child { align-self: start; text-align: right; }
.result h3 { overflow-wrap: anywhere; margin: 0 0 6px; }
.result .price, .part-buy .price, .result.motor-card .price {
  display: block;
  position: static;
  margin: 0 0 8px;
  line-height: 1.2;
  white-space: nowrap;
}
.result.motor-card .price { margin-top: 12px; }
.orbit { gap: 18px 16px; margin: 16px 0 10px; }
.orbit-car { margin-top: 18px; gap: 14px; }
.orbit-sponsors { margin-bottom: 4px; gap: 8px; }
.slots { gap: 20px; margin-top: 18px; }
.banner {
  border-color: rgba(61, 243, 234, 0.26);
  box-shadow: none;
  clip-path: none;
}
.reel-track .banner {
  min-height: 100px;
  padding: 10px 16px 10px;
}
.reel-track .banner strong { font-size: 18px; text-shadow: none; }
.reel-track .banner em { font-size: 14px; color: #d5deea; }
.hazard { box-shadow: none; }
.hero-art { filter: none; }
.hero-shark {
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
  border-color: rgba(61, 243, 234, 0.28);
}
.car-photo { box-shadow: none; }
.photo-link:hover .car-photo, .photo-link:focus-visible .car-photo {
  box-shadow: 0 0 0 1px rgba(61, 243, 234, 0.4);
}
.stage { box-shadow: 0 0 0 1px rgba(139, 92, 255, 0.18); }
.card:nth-child(3n), .card:nth-child(3n+2) { box-shadow: 0 0 0 1px rgba(61, 243, 234, 0.16); }
.card.on { box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.4); }
.meter > span, .meter.over > span { box-shadow: none; }
.toast { box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4); }
.paint-panel.focus { box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.45); }
.picker button.on, .slot-options button.on, .swatch.on { box-shadow: 0 0 0 1px rgba(61, 243, 234, 0.4); }
.search-bar input:focus, .stack input:focus, .stack select:focus, .stack textarea:focus, .tps-guide-form input:focus {
  box-shadow: 0 0 0 1px var(--magenta);
}
.sample-pill { color: #b4c5d6; line-height: 1.5; font-size: 13px; padding: 6px 10px; }
.tps-guide {
  right: 6px;
  bottom: 6px;
  width: auto;
  max-width: 36px;
}
.tps-guide-toggle {
  font-size: 0;
  line-height: 0;
  letter-spacing: 0;
  padding: 4px;
  gap: 0;
  min-height: 0;
  box-shadow: inset 0 1px 0 rgba(230, 255, 255, 0.35), 0 2px 0 #07141c;
}
.tps-guide-toggle:hover, .tps-guide-toggle:active {
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.4), 0 2px 0 #07141c;
}
.tps-guide-toggle:active { transform: translateY(1px); }
.tps-guide-toggle img { width: 20px; height: 14px; }
.tps-guide-panel {
  position: absolute;
  right: 0;
  bottom: 36px;
  width: min(300px, calc(100vw - 20px));
  max-height: min(380px, calc(100vh - 96px));
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
}
.tps-guide-log { min-height: 0; }
.photo-cta { box-shadow: 0 4px 0 #063038, 0 8px 14px rgba(0, 0, 0, 0.35); }

.book-slot {
  text-transform: none;
  letter-spacing: 0.02em;
  margin-left: 10px;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
}
.footer-links { margin: 0 0 8px; }
.footer-links a { font-family: var(--ui); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; }
.view-count {
  margin: 10px 0 0;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  letter-spacing: 0.01em;
}
.view-count strong {
  color: #dbe3ee;
  font-family: var(--mono);
  font-weight: 500;
}
.rate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  width: 100%;
  margin-top: 4px;
}
.rate-card ul { margin: 8px 0 0; padding-left: 18px; line-height: 1.65; color: #dbe3ee; }
.rate-card .price { font-size: 32px; margin: 8px 0 4px; }
.ad-book { margin-top: 18px; }
.ad-copy {
  width: 100%;
  min-height: 168px;
  margin-top: 6px;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.35);
  color: #e4ebf3;
  font-family: var(--mono);
  font-size: 14px;
  line-height: 1.55;
  padding: 12px;
  resize: vertical;
}
.stack-label {
  display: grid;
  gap: 4px;
  margin-top: 12px;
  color: var(--cyan);
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 12px;
}
@media (max-width: 860px) {
  .rate-grid { grid-template-columns: 1fr; }
}

/* Cut-out cars sit on one generic plate. Colour, tint, ride, and wheels are on the picture. */
.car-photo {
  background-color: #05060c;
  background-image:
    linear-gradient(rgba(61, 243, 234, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(61, 243, 234, 0.07) 1px, transparent 1px),
    radial-gradient(520px 280px at 0% 0%, rgba(61, 243, 234, 0.10), transparent 60%),
    radial-gradient(480px 260px at 100% 100%, rgba(139, 92, 255, 0.12), transparent 55%);
  background-size: 32px 32px, 32px 32px, auto, auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.car-rig {
  position: relative;
  height: 320px;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}
.car-photo.compact .car-rig { height: 300px; }
.car-photo.card-shot .car-rig { height: 150px; }
.stage .car-photo .car-rig { height: min(420px, 52vw); }
.car-photo .car-rig img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
}
.ov-glass {
  position: absolute;
  border-radius: 40%;
  background: #02060c;
  pointer-events: none;
}
.ov-glass.tint-light { opacity: 0.28; }
.ov-glass.tint-medium { opacity: 0.55; }
.ov-glass.tint-dark { opacity: 0.82; }
.ov-wheel {
  position: absolute;
  aspect-ratio: 1;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  box-shadow: 0 0 0 2px #d5dbe3, inset 0 0 0 2px #111;
  background:
    radial-gradient(circle at 50% 50%, #111 0 16%, #cfd6de 17% 26%, transparent 27%),
    repeating-conic-gradient(from 0deg, #e7edf2 0 8deg, #1c2128 8deg 28deg);
}
.ov-wheel.wh-six {
  background:
    radial-gradient(circle at 50% 50%, #111 0 18%, #f2f5f8 19% 30%, transparent 31%),
    repeating-conic-gradient(from 8deg, #f4f7fa 0 16deg, #161a20 16deg 60deg);
}
.ov-wheel.wh-mesh {
  background:
    radial-gradient(circle at 50% 50%, #111 0 14%, #dfe5eb 15% 24%, transparent 25%),
    repeating-conic-gradient(from 0deg, #e8eef3 0 3deg, #222830 3deg 16deg);
}
.ov-wheel.wh-dish {
  box-shadow: 0 0 0 5px #f2f4f6, inset 0 0 0 8px #1a1d22;
  background:
    radial-gradient(circle at 50% 50%, #0e1014 0 20%, #3c424a 21% 36%, transparent 37%),
    repeating-conic-gradient(from 0deg, #d7dde4 0 10deg, #1a1e24 10deg 72deg);
}
.ov-wheel.wh-steel {
  box-shadow: 0 0 0 3px #8d939a;
  background:
    radial-gradient(circle at 50% 50%, #2a2e32 0 18%, transparent 19%),
    repeating-conic-gradient(from 0deg, transparent 0 16deg, #6e747b 16deg 30deg, transparent 30deg 45deg),
    #a7adb4;
}
.ov-wheel.wh-bead {
  box-shadow: 0 0 0 5px #e2c56a, inset 0 0 0 3px #111;
  background:
    radial-gradient(circle at 50% 50%, #111 0 16%, #ddd 17% 28%, transparent 29%),
    repeating-conic-gradient(from 0deg, #f0f0f0 0 6deg, #222 6deg 24deg);
}
.ov-tag, .ov-ride, .ov-paint {
  position: absolute;
  left: 8px;
  z-index: 4;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #e7f6ff;
  background: rgba(4, 8, 16, 0.82);
  border: 1px solid rgba(61, 243, 234, 0.45);
  padding: 3px 8px;
  pointer-events: none;
}
.ov-tag { bottom: 8px; max-width: calc(100% - 16px); }
.ov-ride { bottom: 32px; }
.ov-paint { top: 8px; right: 8px; left: auto; }
.pic-controls {
  position: absolute;
  z-index: 6;
  top: 8px;
  right: 8px;
  left: auto;
  width: min(280px, 48%);
  bottom: 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 8px 10px;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.5);
  overflow: auto;
}
.pic-row { display: flex; gap: 8px; align-items: center; }
.pic-row > span {
  flex: 0 0 78px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9fe;
}
.pic-row em { font-style: normal; color: #b4c5d6; letter-spacing: 0; text-transform: none; }
.pic-btns { display: flex; flex-wrap: wrap; gap: 4px; }
.pic-btns button, .mini-swatch {
  border: 1px solid rgba(61, 243, 234, 0.45);
  background: rgba(8, 16, 28, 0.9);
  color: #e7f6ff;
  font-family: var(--mono);
  font-size: 11px;
  padding: 3px 6px;
  cursor: pointer;
}
.pic-btns button.on, .mini-swatch.on { outline: 2px solid #3df3ea; }
.mini-swatch { width: 22px; height: 22px; padding: 0; }
.car-photo.card-shot .ov-tag, .car-photo.card-shot .ov-ride, .car-photo.card-shot .ov-paint { display: none; }

#stage { scroll-margin-top: 120px; }

.car-rig { transition: transform 0.18s ease; }
@media (prefers-reduced-motion: reduce) {
  .car-rig { transition: none; }
}
.car-photo .car-rig canvas.bay-canvas { width: 100%; height: 100%; display: block; }
.bay-ground {
  position: absolute;
  left: 8%;
  right: 8%;
  bottom: 16px;
  height: 2px;
  background: rgba(61, 243, 234, 0.75);
  box-shadow: 0 0 8px rgba(61, 243, 234, 0.35);
  pointer-events: none;
  z-index: 0;
}
.bay-hot {
  position: absolute;
  z-index: 4;
  pointer-events: none;
  border: 2px solid #3df3ea;
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.4), 0 0 14px rgba(61, 243, 234, 0.45);
}
.bay-hot::after {
  content: attr(data-label);
  position: absolute;
  left: 2px;
  top: 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #041018;
  background: #3df3ea;
  padding: 1px 6px;
}
.bay-readout {
  margin-top: 8px;
  padding: 8px 10px;
  background: rgba(4, 8, 16, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.45);
}
.bay-engine { margin: 0 0 4px; font-family: var(--mono); font-size: 13px; color: var(--cyan); }
.est-grid { display: flex; gap: 14px; flex-wrap: wrap; }
.est-grid div { display: flex; flex-direction: column; min-width: 72px; }
.est-grid span {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--acid);
}
.est-grid strong { font-family: var(--display); font-size: 22px; line-height: 1.1; }
.est-grid em { font-style: normal; font-family: var(--mono); font-size: 12px; color: var(--muted); }
.est-note { margin: 4px 0 0; color: var(--muted); font-size: 12px; }
.motor-panel .pic-row { margin-top: 8px; }
.track-box {
  margin: 12px 0 0;
  max-width: 460px;
  padding: 10px 12px;
  background: rgba(6, 10, 18, 0.92);
  border: 1px solid rgba(61, 243, 234, 0.45);
}
.track-box h3 { margin: 4px 0; font-size: 16px; }
.track-box p { margin: 4px 0; font-size: 14px; }
.finder-link { margin: 8px 0 0; font-family: var(--mono); }

.result.search-hit { grid-template-columns: 240px minmax(0, 1fr); align-items: center; }
.result.search-hit > div:last-child, .search-copy { text-align: left; }
.search-hit .car-photo { margin: 0; }
.search-hit .btn-row { justify-content: flex-start; margin-top: 8px; }
.search-focus .search-hit { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 12px; align-items: center; }
.part-hit .fit-chips { margin-top: 4px; }
@media (max-width: 720px) {
  .result.search-hit, .search-focus .search-hit { grid-template-columns: 1fr; }
}

.stage .car-photo.bay-photo { overflow: hidden; }
.stage .car-photo .car-rig { height: 300px; overflow: hidden; }
.search-hit .car-rig { height: 120px; }

.bay-est-line { margin: 0 0 6px; font-family: var(--mono); font-size: 12px; color: #e7f6ff; }
.bay-est-line span { display: block; color: var(--acid); letter-spacing: 0.12em; font-size: 10px; }

/* Page scroll controls — the native page scrollbar stays hidden. */
.tps-scroll-controls {
  position: fixed;
  z-index: 40;
  left: max(8px, env(safe-area-inset-left));
  top: 10px;
  bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  pointer-events: none;
}
.tps-scroll-button {
  pointer-events: auto;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 1px solid rgba(61, 243, 234, 0.72);
  border-bottom-color: rgba(255, 46, 166, 0.78);
  border-radius: 2px;
  color: var(--tooth);
  background: linear-gradient(145deg, rgba(61, 243, 234, 0.22), rgba(255, 46, 166, 0.2));
  box-shadow: 0 0 10px rgba(61, 243, 234, 0.2), inset 0 0 8px rgba(255, 46, 166, 0.12);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
}
.tps-scroll-button:hover,
.tps-scroll-button:focus-visible {
  color: #fff;
  border-color: var(--magenta);
  background: linear-gradient(145deg, rgba(61, 243, 234, 0.38), rgba(255, 46, 166, 0.38));
}
.tps-scroll-button:active { transform: translateY(1px); }

/* Keep chrome clear of the fixed arrow column on every width (phone tightens further below). */
.sponsor-strip { padding-left: 36px; }
.site-header { padding-left: 46px; }
.frame, .site-footer { padding-left: 38px; }

.results > .search-hit { grid-column: 1 / -1; }

.finder-link.home-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  align-items: center;
  font-size: 16px;
}
.finder-link.home-extra a { font-weight: 700; }
.home-hero .lede strong {
  color: var(--cyan);
  font-family: var(--ui);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.86rem;
}
.orbit-car-meta label { color: #d5e6f4; font-size: 14px; }
.orbit-car-meta strong { font-size: 22px; color: #f3fbff; }
.hunt-status {
  font-family: var(--ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--magenta);
}
.shark-rig {
  position: relative;
  display: flex;
  align-items: flex-end;
  flex: 0 0 auto;
}
.shark-rig .brand-shark { position: relative; z-index: 1; }
.learn-list p { margin: 0 0 12px; }
.learn-list strong { color: #f2fbff; }
.ride-grid { align-items: start; }
.ride-card .ride-photo .car-photo { margin: 0 0 8px; }
.ride-parts { margin: 6px 0; padding-left: 18px; }
.ride-parts li { margin: 2px 0; }


/* Mid-narrow title shrink — avoid clipping before the phone stack rules. */
@media (max-width: 860px) {
  .brand-name strong {
    font-size: clamp(22px, 4.2vw, 42px);
    letter-spacing: 0.04em;
  }
  .brand-shark { height: 128px; }
}
/* Phone only. Desktop rules above stay as they are. */
@media (max-width: 480px) {
  .site-header {
    flex-direction: row;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 8px 42px;
  }
  .brand { gap: 8px; }
  .brand-shark { height: 104px; }
  .brand { min-width: 0; gap: 6px; }
  .brand-name { min-width: 0; overflow: visible; }
  .brand-name strong {
    font-size: clamp(14px, 4.7vw, 22px);
    letter-spacing: 0;
    white-space: nowrap;
    line-height: 1.05;
  }
  .kanji { flex: 0 0 auto; align-self: center; }
  .brand-shark { height: 80px; }
  .brand-name small {
    display: block;
    margin-top: 2px;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: #e7fffb;
  }
  .kanji { font-size: 16px; }
  .orbit-car .photo-cta {
    font-size: 14px;
    letter-spacing: 0.06em;
    white-space: nowrap;
    padding: 8px 12px;
    bottom: 8px;
    max-width: calc(100% - 20px);
    text-align: center;
  }
  .sponsor-strip { height: auto; overflow: hidden; }
  .marquee { width: max-content; max-width: none; flex-wrap: nowrap; }
  .chip-ad { min-width: 220px; max-width: none; flex: 0 0 auto; }
  .frame {
    width: calc(100% - 12px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 34px;
  }
  .orbit {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "sponsors"
      "top"
      "core";
    gap: 10px;
  }
  .orbit-top { grid-template-columns: 1fr 1fr; }
  .orbit-sponsors, .orbit-core, .reel { min-width: 0; width: 100%; }
  .reel-track .banner {
    flex: 0 0 calc(100vw - 72px);
    width: calc(100vw - 72px);
    max-width: calc(100vw - 72px);
  }
  .orbit-car {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "prev next"
      "meta meta";
    width: 100%;
    min-width: 0;
  }
  .orbit-car > .photo-link,
  .orbit-car > .photo-stage,
  .orbit-car > .car-photo { grid-area: photo; min-width: 0; width: 100%; }
  .orbit-car .btn { min-height: 44px; width: 100%; }
  .car-photo .car-rig,
  .car-photo.compact .car-rig,
  .car-photo.card-shot .car-rig,
  .stage .car-photo .car-rig {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 100%;
  }
  .orbit-car .car-photo img,
  .photo-stage .car-photo img,
  .car-photo img,
  .car-photo.compact img,
  .car-photo .car-rig img,
  .car-photo .car-rig canvas.bay-canvas {
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
  }
  .hub-btn, .btn, nav a { min-height: 44px; }
  .btn.tiny { min-height: 44px; padding: 8px 12px; font-size: 15px; }
  .search-bar, .result { grid-template-columns: 1fr; }
  .search-bar .btn { width: 100%; }
  input, select, textarea { font-size: 16px; }
  .lede, .panel p, .card p { font-size: 16px; }
  .pic-controls {
    position: static;
    width: 100%;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    max-height: none;
  }
  .stage .car-photo.bay-photo,
  .car-photo.bay-photo {
    flex-direction: column;
    align-items: stretch;
    overflow: visible;
  }
  .stage .car-photo .car-rig { flex: 0 0 auto; width: 100%; }
  .grid-cards { grid-template-columns: 1fr; }
  .picker { flex-wrap: wrap; }
  .picker button { min-width: 0; flex: 1 1 140px; }
  .footer-links { display: flex; flex-wrap: wrap; gap: 8px 12px; }
  .section-head { flex-wrap: wrap; }
  .section-head h2 { font-size: 22px; }
  .table-wrap { max-width: 100%; }
  .tps-guide { width: min(400px, calc(100vw - 16px)); }
}

/* opt1: contrast and control readability. Home orbit grid is unchanged. */
.pic-controls {
  width: min(336px, 46%);
  gap: 8px;
  padding: 10px 12px;
  background: rgba(4, 8, 16, 0.96);
  border-color: rgba(170, 255, 248, 0.78);
}
.pic-row { align-items: flex-start; gap: 8px; }
.pic-row > span {
  flex: 0 0 64px;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: #f3fffd;
  line-height: 1.25;
  padding-top: 5px;
}
.pic-row em { color: #d5e0ec; }
.pic-btns { flex: 1 1 auto; min-width: 0; gap: 5px; }
.pic-btns button {
  font-size: 13px;
  line-height: 1.25;
  padding: 5px 8px;
  color: #f7fcff;
  background: rgba(8, 18, 32, 0.96);
  border-color: rgba(170, 255, 248, 0.72);
  white-space: normal;
  overflow-wrap: anywhere;
  max-width: 100%;
  text-align: center;
}
.pic-btns button.on {
  color: #041018;
  background: #7af6ee;
  border-color: #e9fffd;
  outline: 2px solid #fff;
}
.mini-swatch {
  width: 24px;
  height: 24px;
  border-color: #f4fbff;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.65);
}
.mini-swatch.on { outline: 2px solid #fff; box-shadow: 0 0 0 2px #3df3ea, inset 0 0 0 1px rgba(0, 0, 0, 0.65); }
.bay-est-line { font-size: 13px; color: #f4fbff; }
.bay-est-line span { color: #eaff9a; }
.stage { padding: 10px 10px 12px; }
.stage .car-photo .car-rig { height: 440px; }
.stage-meta { padding: 10px 2px 2px; gap: 8px 16px; color: #d7e3ef; }
.picker { gap: 10px; margin: 2px 0 6px; }
.picker button.on strong { color: #f7fdff; }
.tps-scroll-button {
  color: #f7fdff;
  background: rgba(4, 10, 18, 0.94);
}
@media (max-width: 480px) {
  .stage .car-photo .car-rig { height: auto; }
  .pic-controls { width: 100%; }
  .pic-row > span { flex-basis: 72px; }
}


/* frame2: contain the complete bay car inside its desktop media box. */
@media (min-width: 481px) {
  .stage .car-photo.bay-photo .car-rig canvas.bay-canvas {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }
}


/* frame1: keep the complete bay car clear of the readable control panel. */
@media (min-width: 481px) {
  .stage .car-photo.bay-photo {
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
  }
  .stage .car-photo.bay-photo .car-rig {
    flex: 0 1 auto;
    width: auto;
    height: 440px;
    aspect-ratio: 16 / 9;
    min-width: 0;
  }
  .stage .car-photo.bay-photo .pic-controls {
    position: static;
    flex: 0 0 336px;
    width: 336px;
    max-width: 336px;
    max-height: none;
    align-self: stretch;
    box-sizing: border-box;
  }
}

/* ui1: polish — hierarchy, sentence case, selected states, spacing. Layout locked. */
:root {
  --tooth: #e8eef6;
  --muted: #b7c6d6;
  --label: #e6edf5;
}

/* Sentence case on UI chrome. Brand wordmark stays as authored. */
.btn,
nav a,
.photo-cta,
.spot,
.chip-ad b,
.kicker,
.slot-kicker,
.tag,
.stack label,
.stack-label,
.footer-links a,
.home-hero .lede strong,
.hunt-status,
.picker button strong,
.slot-options strong,
.pic-row > span,
.bay-hot::after,
th {
  text-transform: none;
  letter-spacing: 0.02em;
}
.pic-row > span {
  color: var(--label);
  font-size: 13px;
  letter-spacing: 0.01em;
  text-transform: none;
}
.btn,
nav a {
  letter-spacing: 0.04em;
  font-size: 15px;
}
.btn.tiny { font-size: 14px; letter-spacing: 0.03em; }
.photo-cta {
  letter-spacing: 0.06em;
  font-size: 18px;
}
.home-hero .lede strong {
  color: var(--tooth);
  font-family: var(--ui);
  letter-spacing: 0.02em;
  text-transform: none;
  font-size: 1.05rem;
}
.home-hero .lede .next-step {
  color: #f4fbff;
  background: none;
  padding: 0;
  border: 0;
  box-shadow: none;
  white-space: nowrap;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--cyan);
  text-underline-offset: 3px;
}

/* Consistent control sizes */
.btn {
  min-height: 44px;
  padding: 10px 16px;
}
.btn.tiny {
  min-height: 36px;
  padding: 7px 12px;
}
.hub-btn {
  min-height: 52px;
  padding: 12px 14px;
  font-size: 16px;
}
.orbit-car .btn.tiny {
  min-height: 44px;
  min-width: 64px;
  padding: 10px 12px;
}
.pic-btns button {
  min-height: 32px;
  padding: 6px 10px;
  font-size: 13px;
}
.picker button {
  min-height: 58px;
  padding: 10px 12px;
}

/* Selected / active states — obvious without neon-on-neon */
/* Current page: magenta edge, still readable — not the primary CTA. */
.hub-btn.on,
.hub-btn.active,
nav a.active {
  color: #fff;
  border-color: rgba(255, 180, 220, 0.95);
  background: linear-gradient(180deg, rgba(255, 90, 180, 0.42) 0%, rgba(70, 16, 50, 0.72) 48%, rgba(12, 6, 16, 0.94) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 230, 245, 0.45),
    0 0 0 2px rgba(255, 46, 166, 0.35),
    0 4px 0 #2a0a1c,
    0 6px 12px rgba(0, 0, 0, 0.35);
}
/* Next-step path on home — matches the photo CTA. */
.hub-btn.hub-primary {
  color: #041018;
  border-color: rgba(230, 255, 255, 0.9);
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.7),
    0 4px 0 #063038,
    0 8px 14px rgba(0, 0, 0, 0.38);
}
.hub-btn.hub-primary:hover {
  color: #041018;
  background: linear-gradient(180deg, #ffffff, #9ff8f1 46%, #1ab3a6);
}
.hub-btn.on.hub-primary {
  /* If both apply, keep the next-step treatment. */
  color: #041018;
  border-color: rgba(230, 255, 255, 0.9);
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
}
/* Ghost stops looking like "selected magenta" */
.btn.ghost,
.hub-btn.ghost {
  color: var(--tooth);
  border-color: rgba(200, 140, 220, 0.55);
  background: linear-gradient(180deg, rgba(139, 92, 255, 0.22) 0%, rgba(24, 12, 40, 0.72) 55%, rgba(8, 6, 14, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(230, 210, 255, 0.28),
    0 4px 0 #1a0a28,
    0 6px 10px rgba(0, 0, 0, 0.34);
}
.btn.ghost:hover,
.hub-btn.ghost:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(180, 120, 255, 0.38) 0%, rgba(50, 20, 80, 0.7) 55%, rgba(12, 6, 18, 0.92) 100%);
}
.picker button.on,
.slot-options button.on,
.swatch.on,
.card.on {
  border-color: var(--cyan);
  background: rgba(61, 243, 234, 0.14);
  box-shadow: 0 0 0 2px rgba(61, 243, 234, 0.55), 0 0 0 1px rgba(4, 16, 24, 0.9);
}
.picker button.on strong { color: #f7fdff; }
.filters .btn.on {
  color: #041018;
  background: linear-gradient(180deg, #e9fffd, var(--cyan) 42%, #149e92);
  border-color: rgba(230, 255, 255, 0.85);
  transform: translateY(2px);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.22), 0 2px 0 #063038;
}
.pic-btns button.on {
  color: #041018;
  background: #7af6ee;
  border-color: #f4fffd;
  outline: 2px solid #fff;
  outline-offset: 1px;
  font-weight: 700;
}
.mini-swatch.on {
  outline: 2px solid #fff;
  box-shadow: 0 0 0 2px #3df3ea, inset 0 0 0 1px rgba(0, 0, 0, 0.65);
}

/* Less visual noise; readable body text */
.btn:not(.on):not(.hub-primary):not(.ghost),
nav a:not(.active),
.hub-btn:not(.on):not(.hub-primary):not(.ghost) {
  color: #e7f6ff;
}
.lede, .panel p, .card p, .ticket p, .result p {
  color: #dce4ee;
}
.kicker, .slot-kicker {
  color: #f0a8d0;
  letter-spacing: 0.08em;
}
.banner i { opacity: 0.18; }
.reel-track .banner {
  min-height: 92px;
  padding: 10px 14px;
}
.sample-pill {
  padding: 8px 12px;
  border-style: solid;
  border-color: rgba(61, 243, 234, 0.28);
}

/* Spacing where controls felt cramped */
.pic-controls {
  gap: 12px;
  padding: 14px 14px 16px;
}
.pic-row {
  gap: 10px;
  padding-bottom: 2px;
}
.pic-btns { gap: 8px; }
.orbit-top { gap: 14px; }
.orbit { gap: 20px 16px; }
.btn-row, .filters { gap: 12px; }
.slots { gap: 22px; }
.slot-options { gap: 12px; }
.swatches { gap: 14px; }
.picker { gap: 12px; margin-bottom: 10px; }
.stage { padding: 12px 12px 14px; }
.home-hero { padding: 18px 18px 20px; }
.home-hero .lede { margin: 0 0 14px; max-width: 52rem; }
.import-row { margin: 14px 0 6px; }
.import-row .hub-btn {
  min-height: 44px;
  opacity: 0.92;
  font-size: 15px;
}
.finder-link.home-extra {
  margin-top: 12px;
  gap: 12px 16px;
}
.finder-link.home-extra .btn.tiny {
  background: rgba(8, 16, 28, 0.75);
}
.orbit-car-meta { padding-top: 4px; }
.orbit-car-meta label {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.02em;
}

/* Home: one primary path — photo CTA + Build */
.orbit-car .photo-cta {
  font-size: 18px;
  letter-spacing: 0.05em;
  padding: 12px 20px;
  color: #041018;
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
  border: 1px solid rgba(255, 255, 255, 0.85);
  box-shadow: 0 6px 0 #063038, 0 12px 20px rgba(0, 0, 0, 0.4);
  z-index: 3;
}
.at-home:not(.on),
.at-parts,
.at-market {
  opacity: 0.95;
}

/* Build bay: keep full car visible beside roomier controls */
@media (min-width: 481px) {
  .stage .car-photo.bay-photo {
    gap: 16px;
    padding: 4px;
  }
  .stage .car-photo.bay-photo .car-rig {
    height: 460px;
  }
  .stage .car-photo.bay-photo .pic-controls {
    flex: 0 0 348px;
    width: 348px;
    max-width: 348px;
  }
  .stage .car-photo.bay-photo .car-rig canvas.bay-canvas {
    object-fit: contain;
    object-position: center;
  }
}

/* Soften neon labels that fought the body text */
.pn, .chassis { color: #9fe8e2; }
.price { color: #e2ff7a; }
.total-bar strong { color: #d9fffb; text-shadow: none; }

@media (max-width: 480px) {
  .btn, .hub-btn, nav a { min-height: 44px; }
  .orbit-car .photo-cta {
    font-size: 14px;
    padding: 8px 12px;
    letter-spacing: 0.04em;
  }
  .home-hero .lede .next-step { white-space: normal; }
}

/* ui1b: distinguish current-page vs next-step; ease wheel label wrap */
.at-home, .at-parts, .at-market { width: 100%; }
.pic-btns button {
  max-width: 100%;
  line-height: 1.3;
}
.pic-controls .pic-row:has([data-touch="wheels"]) .pic-btns,
.pic-controls .pic-row .pic-btns {
  width: 100%;
}
.picker button.on {
  border-width: 2px;
}


/* ui1c: bay framing — full car in view, clear of sticky header */
#stage { scroll-margin-top: 120px; }
@media (min-width: 481px) {
  .stage .car-photo.bay-photo .car-rig {
    height: 480px;
    max-height: calc(100vh - 200px);
  }
  .stage .car-photo.bay-photo .car-rig canvas.bay-canvas {
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    object-position: center center;
  }
}


/* ui1d: sentence-case chrome must not look like all-caps walls */
.btn, .hub-btn, nav a, .photo-cta, .spot, .pic-btns button, .picker button strong {
  font-family: var(--ui);
  text-transform: none !important;
  letter-spacing: 0.03em;
  font-variant: normal;
  font-feature-settings: normal;
}
.pic-row > span, .kicker, .slot-kicker, .stack label, .stack-label, .tag, th, .footer-links a {
  text-transform: none !important;
  letter-spacing: 0.04em;
  font-variant: normal;
}
.brand-name strong {
  /* brand stays display / authored casing */
  font-family: var(--display);
}


/* click1: paint/build bay — click the car, no side button stack. */
.stage .car-photo.bay-photo {
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  width: 100%;
  overflow: hidden;
}
.stage .car-photo.bay-photo .pic-controls {
  display: none !important;
}
.stage .car-photo.bay-photo .car-rig {
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  min-width: 0;
  overflow: hidden;
}
.stage .car-photo.bay-photo .car-rig canvas.bay-canvas {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}
.bay-choice {
  margin: 8px 2px 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
  text-align: center;
}
.bay-hit {
  position: absolute;
  z-index: 5;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: transparent;
  color: transparent;
  cursor: pointer;
  touch-action: manipulation;
}
.bay-hit-body { z-index: 2; }
.bay-hit-bonnet { z-index: 3; }
.bay-hit-glass { z-index: 4; }
.bay-hit-cabin, .bay-hit-seat, .bay-hit-trim { z-index: 5; }
.bay-hit-ride { z-index: 6; }
.bay-hit-wheel { z-index: 7; }
.bay-hit-hoist {
  z-index: 8;
  min-width: 72px;
  min-height: 44px;
}
.bay-hit::after {
  content: attr(data-label);
  position: absolute;
  left: 6px;
  top: 6px;
  z-index: 2;
  padding: 2px 7px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: #041018;
  background: #d9fffb;
  border-radius: 2px;
  white-space: nowrap;
  opacity: 1;
  pointer-events: none;
}
.bay-hit-hoist::after {
  top: auto;
  bottom: calc(100% + 4px);
}
.bay-hit:hover,
.bay-hit:focus-visible {
  background: rgba(61, 243, 234, 0.16);
  box-shadow: inset 0 0 0 1px rgba(217, 255, 251, 0.85);
}
.bay-hit:hover::after,
.bay-hit:focus-visible::after {
  opacity: 1;
}
@media (max-width: 720px) {
  .stage .car-photo.bay-photo {
    flex-direction: column;
  }
  .stage .car-photo.bay-photo .pic-controls {
    display: none !important;
  }
  .stage .car-photo.bay-photo .car-rig {
    width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 9;
  }
}

/* stats1: keep the inline bay estimate legible beneath the choice summary. */
.bay-est-line {
  font-size: 15px;
  line-height: 1.3;
  letter-spacing: 0.02em;
}
.bay-est-line strong {
  display: block;
  color: #f4fbff;
  font-family: var(--mono);
  font-size: 15px;
  line-height: 1.3;
}


/* polish2: picker scrollbar hidden, readable bay status, hoist hit stays tappable */
.picker {
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.picker::-webkit-scrollbar { display: none; height: 0; }
.bay-choice {
  color: #dce6f0;
  font-size: 15px;
  line-height: 1.5;
  text-align: center;
  max-width: 54rem;
  margin-left: auto;
  margin-right: auto;
  padding: 0 8px;
}
.bay-est-line {
  color: #c5d2df;
}
.bay-est-line span {
  color: #f0a8d0;
}
.stage .car-photo.bay-photo {
  overflow: visible;
}
.stage .car-photo.bay-photo .car-rig {
  overflow: hidden;
}
.bay-hit-hoist {
  min-height: 48px;
}
.search-copy .btn-row {
  flex-wrap: wrap;
  gap: 8px;
}
.hunt-status { display: none; }

.car-photo .car-rig img.bay-still {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 0;
  pointer-events: none;
}
.car-photo .car-rig canvas.bay-canvas { position: relative; z-index: 1; }

/* polish3: sponsor ticker — neon badge letters stay dark; titles brighter than blurbs */
.chip-ad span.mark {
  color: var(--ink);
  font-size: 11px;
}
.chip-ad span.mark.b,
.chip-ad span.mark.d {
  color: #fff;
}
.chip-ad b {
  color: var(--tooth);
}


/* opt2: bay tap labels stay on the car; full shut Supra in frame; readable status */
.stage .car-photo.bay-photo {
  overflow: visible;
  padding-bottom: 6px;
}
.stage .car-photo.bay-photo .car-rig {
  overflow: visible;
}
.stage .car-photo.bay-photo .car-rig canvas.bay-canvas,
.stage .car-photo.bay-photo .car-rig img.bay-still {
  object-fit: contain;
  object-position: center center;
}
.bay-hit {
  min-height: 44px;
}
.bay-hit-body { min-width: 72px; }
.bay-hit-ride {
  min-height: 44px;
}
.bay-hit-hoist {
  min-height: 48px;
  min-width: 72px;
}
.bay-hit::after {
  left: 4px;
  top: 4px;
  padding: 3px 8px;
  font-size: 13px;
  font-weight: 700;
  color: #031018;
  background: #e8fffc;
  border: 1px solid rgba(4, 24, 32, 0.55);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.35), 0 2px 8px rgba(0, 0, 0, 0.35);
}
.bay-hit-hoist::after {
  top: auto;
  bottom: calc(100% + 2px);
  left: 50%;
  transform: translateX(-50%);
}
.bay-choice {
  color: #e8eef6;
  font-size: 15px;
  margin-top: 10px;
}
.bay-est-line {
  color: #d5e0ec;
}
.muted,
.photo-credit,
.est-note,
.stage-meta {
  color: #c2d0e0;
}
.home-hero .lede {
  color: #d5e0ec;
}
.picker {
  gap: 8px;
  margin-bottom: 10px;
}
.stage {
  margin-top: 4px;
}
@media (max-width: 480px) {
  .stage .car-photo.bay-photo .car-rig {
    overflow: visible;
  }
  .bay-hit {
    min-height: 44px;
  }
  .bay-choice {
    font-size: 14px;
    padding: 0 4px;
  }
  .orbit,
  .frame,
  .site-header,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }
}


/* tidy4: Catalog guide toggle icon-only again; bay estimate label acid for contrast. */
.tps-guide {
  width: auto;
  max-width: 36px;
}
.tps-guide-toggle {
  font-size: 0 !important;
  line-height: 0 !important;
  letter-spacing: 0 !important;
  padding: 4px !important;
  gap: 0;
  min-height: 0 !important;
  min-width: 0;
  width: 28px;
  height: 22px;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent !important;
}
.tps-guide-toggle img {
  width: 20px;
  height: 14px;
  display: block;
  flex: 0 0 auto;
}
.bay-est-line span {
  color: #eaff9a;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.bay-est-line strong {
  color: #f4fbff;
}

/* wing1: sample stats sit inside the bay frame. Phone frame only grows under 480px. */
.car-rig > .bay-readout {
  position: absolute;
  z-index: 9;
  top: 8px;
  left: 8px;
  margin: 0;
  max-width: min(340px, 42%);
  padding: 6px 8px 7px;
  pointer-events: none;
  background: rgba(4, 8, 16, 0.9);
  border: 1px solid rgba(61, 243, 234, 0.55);
}
.car-rig > .bay-readout .bay-engine {
  font-size: 13px;
  color: #9ff6f0;
}
.car-rig > .bay-readout .est-grid {
  gap: 10px;
  flex-wrap: nowrap;
}
.car-rig > .bay-readout .est-grid div { min-width: 0; }
.car-rig > .bay-readout .est-grid span {
  color: #eaff9a;
  letter-spacing: 0.08em;
}
.car-rig > .bay-readout .est-grid strong {
  font-size: 18px;
  color: #f7fbff;
}
.car-rig > .bay-readout .est-grid em { color: #d5e0ec; }
.car-rig > .bay-readout .est-note {
  max-width: 32rem;
  font-size: 11px;
  line-height: 1.3;
  color: #d5e0ec;
}
.bay-hit-fuel,
.bay-hit-ecu { z-index: 6; }
.bay-hit-ecu::after {
  left: auto;
  right: 4px;
}
@media (max-width: 480px) {
  .stage .car-photo.bay-photo .car-rig {
    aspect-ratio: 5 / 6;
    height: auto !important;
  }
  .stage .car-photo.bay-photo .car-rig canvas.bay-canvas,
  .stage .car-photo.bay-photo .car-rig img.bay-still {
    object-fit: contain;
    object-position: center bottom;
  }
  .car-rig > .bay-readout {
    max-width: calc(100% - 16px);
  }
  .car-rig > .bay-readout .est-grid strong { font-size: 16px; }
}


/* fact1: modification controls in one row under the picture. Phone wraps only under 480px. */
.stage .car-photo.bay-photo .bay-controls {
  position: relative;
  z-index: 12;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: stretch;
  gap: 4px;
  width: 100%;
  box-sizing: border-box;
  margin: 0;
  padding: 6px 6px 8px;
  background: rgba(4, 8, 16, 0.94);
  border-top: 1px solid rgba(61, 243, 234, 0.45);
}
.stage .car-photo.bay-photo .bay-controls .bay-hit {
  position: static;
  flex: 1 1 0;
  width: auto;
  height: auto;
  min-width: 0;
  min-height: 44px;
  margin: 0;
  padding: 4px 3px;
  border: 1px solid rgba(4, 24, 32, 0.55);
  border-radius: 2px;
  background: #e8fffc;
  color: #031018;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  white-space: normal;
  cursor: pointer;
  box-shadow: none;
}
.stage .car-photo.bay-photo .bay-controls .bay-hit::after {
  content: none;
}
.car-rig > .bay-readout.is-published {
  max-width: min(460px, 62%);
}
.car-rig > .bay-readout.is-published .est-grid strong {
  font-size: 16px;
}
.car-rig > .bay-readout.is-published .est-note {
  color: #eaff9a;
  letter-spacing: 0.04em;
}
@media (max-width: 480px) {
  .stage .car-photo.bay-photo .bay-controls {
    flex-wrap: wrap;
  }
  .stage .car-photo.bay-photo .bay-controls .bay-hit {
    flex: 1 1 30%;
  }
}


/* tidy5: shorter Fuel/ECU bay labels stay readable in one row; sticky header no longer eats search copy. */
html {
  scroll-padding-top: 200px;
}
@media (max-width: 720px) {
  html { scroll-padding-top: 150px; }
}
@media (max-width: 480px) {
  html { scroll-padding-top: 120px; }
}
.stage .car-photo.bay-photo .bay-controls .bay-hit-fuel,
.stage .car-photo.bay-photo .bay-controls .bay-hit-ecu {
  flex: 1.15 1 0;
  font-size: 12px;
  letter-spacing: 0;
}
.bay-choice {
  overflow-wrap: anywhere;
  word-break: break-word;
}
main > .panel:first-child,
main > section.panel:first-child {
  scroll-margin-top: 180px;
}

/* full2: stock and now figures stay readable and do not cover the whole car. */
.stat-kicker {
  margin: 8px 0 2px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #eaff9a;
}
.stat-line {
  margin: 0;
  font-size: 14px;
  line-height: 1.4;
  color: #f7fbff;
}
.stat-line span {
  color: #9ff6f0;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.03em;
}
.car-rig > .bay-readout {
  max-width: min(390px, 48%);
}
.car-rig > .bay-readout .stat-kicker {
  margin: 5px 0 1px;
  font-size: 10px;
}
.car-rig > .bay-readout .stat-line {
  font-size: 13px;
  line-height: 1.35;
}
.car-rig > .bay-readout.is-published {
  max-width: min(390px, 48%);
}

/* issue1: local tell-us form. Stays on this browser. */
.issue-launch { margin: 12px 0 0; }
.issue-btn { min-height: 48px; }
.issue-icon-btn {
  width: 52px;
  min-width: 52px;
  height: 52px;
  padding: 7px;
  display: inline-grid;
  place-items: center;
}
.car-actions .issue-icon-btn,
.issue-launch .issue-icon-btn,
.footer-issue .issue-icon-btn { width: 52px; min-width: 52px; }
.issue-icon { width: 36px; height: 36px; display: block; overflow: visible; }
.issue-icon path { vector-effect: non-scaling-stroke; }
.issue-wrench {
  fill: rgba(61, 243, 234, 0.08);
  stroke: var(--cyan);
  stroke-width: 3.2;
  stroke-linejoin: round;
  stroke-linecap: round;
}
.issue-hammer-handle {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 4.2;
  stroke-linecap: round;
}
.issue-hammer-head {
  fill: var(--magenta);
  stroke: #ffd4ed;
  stroke-width: 1.5;
  stroke-linejoin: round;
}
.footer-issue { margin: 12px 0 10px; }
.issue-layer {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(2, 6, 14, 0.78);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 12px 32px;
  display: grid;
  align-items: start;
  justify-items: center;
}
.issue-sheet {
  width: min(560px, 100%);
  margin: 8px 0 24px;
  border: 1px solid rgba(61, 243, 234, 0.55);
  box-shadow: 0 0 28px rgba(255, 46, 166, 0.28), 0 0 0 1px rgba(61, 243, 234, 0.2);
}
.issue-sheet h2 { text-shadow: 0 0 12px rgba(61, 243, 234, 0.35); }
.issue-actions .btn { min-height: 48px; flex: 1 1 180px; }
.issue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.issue-list li {
  border: 1px solid rgba(61, 243, 234, 0.28);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
}
.issue-list strong { color: var(--cyan); }
.issue-list p { margin: 4px 0 0; }
@media (max-width: 720px) {
  .issue-actions .btn { width: 100%; flex-basis: 100%; }
  .issue-sheet input,
  .issue-sheet textarea { font-size: 16px; }
}

/* pledge1: sample sponsor pledges. This browser only. No payment. */
.pledge-launch { margin: 12px 0 0; }
.pledge-btn { min-height: 48px; }
.pledge-launch .pledge-btn { min-width: min(100%, 280px); }
.footer-issue {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}
.footer-issue .pledge-btn { min-width: min(100%, 280px); }
.pledge-layer {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(2, 6, 14, 0.78);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 12px 32px;
  display: grid;
  align-items: start;
  justify-items: center;
}
.pledge-sheet {
  width: min(560px, 100%);
  margin: 8px 0 24px;
  border: 1px solid rgba(61, 243, 234, 0.55);
  box-shadow: 0 0 28px rgba(255, 46, 166, 0.28), 0 0 0 1px rgba(139, 92, 255, 0.35);
}
.pledge-sheet h2 {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(255, 46, 166, 0.45);
}
.pledge-builds,
.pledge-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.pledge-builds li,
.pledge-list li {
  border: 1px solid rgba(61, 243, 234, 0.28);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
}
.pledge-builds strong,
.pledge-list strong { color: var(--cyan); font-family: var(--ui); letter-spacing: 0.04em; }
.pledge-builds p,
.pledge-list p { margin: 4px 0 0; }
.pledge-builds .tag { margin-left: 6px; }
.pledge-actions .btn { min-height: 48px; flex: 1 1 180px; }
@media (max-width: 480px) {
  .footer-issue .pledge-btn,
  .pledge-launch .pledge-btn,
  .pledge-actions .btn { width: 100%; flex-basis: 100%; }
  .pledge-sheet input,
  .pledge-sheet select { font-size: 16px; }
}


/* tidy6: 鮫 lives inside .brand beside the title; header never stacks; phone title wraps full SHARK; Sponsor a build magenta beside cyan Tell us an issue; sample-pill brighter. */
.site-header {
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
}
.brand .kanji {
  flex: 0 0 auto;
  align-self: flex-start;
  margin-top: 0.35em;
  margin-left: 4px;
}
@media (max-width: 480px) {
  .brand-name strong {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .brand .kanji {
    margin-top: 0.2em;
    font-size: 16px;
  }
}
.sample-pill {
  color: #d5e0ec;
  font-size: 14px;
  line-height: 1.45;
}
.footer-issue .pledge-btn,
.pledge-launch .pledge-btn {
  color: var(--magenta);
  border-color: rgba(255, 150, 210, 0.8);
  border-bottom-color: rgba(48, 8, 32, 0.95);
  background: linear-gradient(180deg, rgba(255, 80, 170, 0.34) 0%, rgba(40, 10, 32, 0.55) 50%, rgba(10, 6, 14, 0.9) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 220, 240, 0.5),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #2a0a1c,
    0 8px 14px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(255, 46, 166, 0.22);
}
.footer-issue .pledge-btn:hover,
.pledge-launch .pledge-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(255, 120, 190, 0.5) 0%, rgba(90, 12, 50, 0.55) 55%, rgba(16, 6, 14, 0.92) 100%);
}

/* keepfree1: sample pledge for the site itself. This browser only. No payment. */
.keepfree-btn { min-height: 48px; }
.keepfree-launch { margin: 12px 0 0; }
.keepfree-launch .keepfree-btn,
.footer-issue .keepfree-btn { min-width: min(100%, 280px); }
.footer-issue .keepfree-btn,
.keepfree-launch .keepfree-btn {
  color: #e9fffd;
  border-color: rgba(170, 255, 248, 0.85);
  border-bottom-color: rgba(4, 40, 42, 0.95);
  background: linear-gradient(180deg, rgba(61, 243, 234, 0.34) 0%, rgba(8, 36, 48, 0.62) 50%, rgba(6, 10, 16, 0.92) 100%);
  box-shadow:
    inset 0 1px 0 rgba(220, 255, 252, 0.55),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #063038,
    0 8px 14px rgba(0, 0, 0, 0.45),
    0 0 14px rgba(61, 243, 234, 0.28);
}
.footer-issue .keepfree-btn:hover,
.keepfree-launch .keepfree-btn:hover {
  color: #fff;
  background: linear-gradient(180deg, rgba(120, 255, 246, 0.48) 0%, rgba(10, 70, 78, 0.62) 55%, rgba(6, 12, 16, 0.94) 100%);
}
.keepfree-layer {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(2, 6, 14, 0.78);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 18px 12px 32px;
  display: grid;
  align-items: start;
  justify-items: center;
}
.keepfree-sheet {
  width: min(560px, 100%);
  margin: 8px 0 24px;
  border: 1px solid rgba(61, 243, 234, 0.55);
  box-shadow: 0 0 28px rgba(61, 243, 234, 0.28), 0 0 0 1px rgba(255, 46, 166, 0.28);
}
.keepfree-sheet h2 {
  font-family: var(--display);
  letter-spacing: 0.06em;
  text-shadow: 0 0 12px rgba(61, 243, 234, 0.45);
}
.keepfree-total {
  margin: 0;
  font-family: var(--ui);
  letter-spacing: 0.04em;
}
.keepfree-total strong { color: var(--cyan); }
.keepfree-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
}
.keepfree-list li {
  border: 1px solid rgba(61, 243, 234, 0.28);
  background: rgba(0, 0, 0, 0.35);
  padding: 10px 12px;
}
.keepfree-list strong { color: var(--cyan); font-family: var(--ui); letter-spacing: 0.04em; }
.keepfree-list p { margin: 4px 0 0; }
.keepfree-actions .btn { min-height: 48px; flex: 1 1 180px; }
@media (max-width: 480px) {
  .footer-issue .keepfree-btn,
  .keepfree-launch .keepfree-btn,
  .keepfree-actions .btn { width: 100%; flex-basis: 100%; }
  .keepfree-sheet input { font-size: 16px; }
}

/* keepfree2: Keep the page free control and its panel only. Dark blood red with a pearl sheen. */
.footer-issue .keepfree-btn,
.keepfree-launch .keepfree-btn {
  color: #f7efe8;
  border-color: rgba(244, 226, 216, 0.78);
  border-bottom-color: rgba(42, 4, 10, 0.95);
  background:
    linear-gradient(148deg, rgba(255, 246, 240, 0.55) 0%, rgba(255, 228, 216, 0.12) 18%, transparent 36%),
    linear-gradient(180deg, #7a1020 0%, #5c0a16 46%, #4a0610 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 240, 0.72),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4),
    0 5px 0 #2a040a,
    0 8px 14px rgba(0, 0, 0, 0.45),
    0 0 16px rgba(122, 16, 32, 0.38);
}
.footer-issue .keepfree-btn:hover,
.keepfree-launch .keepfree-btn:hover {
  color: #fffaf7;
  background:
    linear-gradient(148deg, rgba(255, 250, 246, 0.68) 0%, rgba(255, 230, 220, 0.16) 20%, transparent 38%),
    linear-gradient(180deg, #8a1828 0%, #6a1020 48%, #4a0610 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 246, 0.82),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 6px 0 #2a040a,
    0 11px 16px rgba(0, 0, 0, 0.5),
    0 0 18px rgba(122, 16, 32, 0.45);
}
.footer-issue .keepfree-btn:focus-visible,
.keepfree-launch .keepfree-btn:focus-visible {
  outline-color: #f0d4c8;
}
.keepfree-layer {
  background: rgba(18, 2, 6, 0.8);
}
.keepfree-sheet {
  border: 1px solid rgba(244, 226, 216, 0.55);
  background:
    linear-gradient(128deg, rgba(255, 246, 240, 0.28) 0%, rgba(255, 226, 214, 0.07) 18%, transparent 36%),
    linear-gradient(214deg, transparent 58%, rgba(255, 236, 226, 0.1) 74%, transparent 88%),
    linear-gradient(180deg, rgba(122, 16, 32, 0.78) 0%, rgba(74, 6, 16, 0.62) 42%, rgba(16, 3, 6, 0.96) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 240, 0.42),
    0 0 28px rgba(74, 6, 16, 0.55),
    0 0 0 1px rgba(122, 16, 32, 0.55);
}
.keepfree-sheet h2 {
  color: #f7efe8;
  text-shadow: 0 0 14px rgba(244, 210, 196, 0.38);
}
.keepfree-sheet h3 { color: #f3e4dc; }
.keepfree-total strong { color: #f6e4dc; }
.keepfree-list li {
  border-color: rgba(186, 96, 108, 0.45);
  background:
    linear-gradient(145deg, rgba(255, 244, 236, 0.1) 0%, transparent 28%),
    rgba(28, 4, 8, 0.55);
}
.keepfree-list strong { color: #f6e4dc; }
.keepfree-sheet .stack input {
  color: #f7efe8;
  background: rgba(22, 4, 8, 0.9);
  border-color: rgba(168, 78, 90, 0.62);
}
.keepfree-sheet .stack input:focus {
  border-color: rgba(244, 226, 216, 0.88);
  box-shadow: 0 0 0 1px rgba(122, 16, 32, 0.85), 0 0 16px rgba(122, 16, 32, 0.35);
}
.keepfree-sheet .stack input:focus-visible,
.keepfree-sheet .keepfree-actions .btn:focus-visible {
  outline-color: #f0d4c8;
}
.keepfree-sheet .keepfree-actions .btn,
.keepfree-sheet .keepfree-actions .btn.ghost {
  color: #f7efe8;
  border-color: rgba(244, 226, 216, 0.72);
  border-bottom-color: rgba(42, 4, 10, 0.95);
  background:
    linear-gradient(148deg, rgba(255, 246, 240, 0.48) 0%, rgba(255, 228, 216, 0.1) 20%, transparent 38%),
    linear-gradient(180deg, #7a1020 0%, #5c0a16 48%, #4a0610 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 246, 240, 0.66),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4),
    0 4px 0 #2a040a,
    0 6px 10px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(122, 16, 32, 0.28);
}
.keepfree-sheet .keepfree-actions .btn:hover,
.keepfree-sheet .keepfree-actions .btn.ghost:hover {
  color: #fffaf7;
  background:
    linear-gradient(148deg, rgba(255, 250, 246, 0.62) 0%, rgba(255, 230, 220, 0.14) 22%, transparent 40%),
    linear-gradient(180deg, #8a1828 0%, #6a1020 50%, #4a0610 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 250, 246, 0.78),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #2a040a,
    0 8px 12px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(122, 16, 32, 0.4);
}

.keepfree-sheet .stack label { color: #f3e0d8; }
.keepfree-sheet .empty {
  color: #e7d5ce;
  border-color: rgba(186, 96, 108, 0.5);
  background:
    linear-gradient(145deg, rgba(255, 244, 236, 0.08) 0%, transparent 30%),
    rgba(28, 4, 8, 0.55);
}

/* keepfree3: open Keep the page free sheet only. Deep green with a pearl sheen. Launch button stays blood red. */
.keepfree-layer {
  background: rgba(2, 14, 10, 0.82);
}
.keepfree-sheet {
  border: 1px solid rgba(232, 250, 240, 0.52);
  background:
    linear-gradient(128deg, rgba(244, 255, 248, 0.32) 0%, rgba(206, 240, 220, 0.08) 18%, transparent 36%),
    linear-gradient(214deg, transparent 58%, rgba(226, 255, 238, 0.12) 74%, transparent 88%),
    linear-gradient(180deg, rgba(16, 86, 54, 0.94) 0%, rgba(10, 52, 34, 0.86) 42%, rgba(4, 20, 14, 0.97) 100%);
  box-shadow:
    inset 0 1px 0 rgba(244, 255, 248, 0.48),
    0 0 28px rgba(8, 48, 30, 0.55),
    0 0 0 1px rgba(18, 72, 46, 0.55);
}
.keepfree-sheet h2 {
  color: #f4fbf7;
  text-shadow: 0 0 14px rgba(210, 240, 222, 0.36);
}
.keepfree-sheet h3 { color: #e7f4ec; }
.keepfree-sheet p { color: #e8f5ee; }
.keepfree-total strong { color: #f3faf6; }
.keepfree-list li {
  border-color: rgba(150, 196, 168, 0.42);
  background:
    linear-gradient(145deg, rgba(244, 255, 248, 0.12) 0%, transparent 28%),
    rgba(4, 28, 18, 0.55);
}
.keepfree-list strong { color: #f3faf6; }
.keepfree-sheet .muted { color: #d5ebe0; }
.keepfree-sheet .stack label { color: #e6f4ec; }
.keepfree-sheet .stack input {
  color: #f4fbf7;
  background: rgba(4, 22, 14, 0.9);
  border-color: rgba(130, 176, 150, 0.62);
}
.keepfree-sheet .stack input:focus {
  border-color: rgba(232, 250, 240, 0.88);
  box-shadow: 0 0 0 1px rgba(16, 86, 54, 0.85), 0 0 16px rgba(16, 86, 54, 0.35);
}
.keepfree-sheet .stack input:focus-visible,
.keepfree-sheet .keepfree-actions .btn:focus-visible {
  outline-color: #d7f0e4;
}
.keepfree-sheet .keepfree-actions .btn,
.keepfree-sheet .keepfree-actions .btn.ghost {
  color: #f4fbf7;
  border-color: rgba(232, 250, 240, 0.72);
  border-bottom-color: rgba(4, 28, 18, 0.95);
  background:
    linear-gradient(148deg, rgba(244, 255, 248, 0.5) 0%, rgba(206, 240, 220, 0.12) 20%, transparent 38%),
    linear-gradient(180deg, #146844 0%, #0c4a30 48%, #083422 100%);
  box-shadow:
    inset 0 1px 0 rgba(244, 255, 248, 0.66),
    inset 0 -2px 0 rgba(0, 0, 0, 0.4),
    0 4px 0 #062418,
    0 6px 10px rgba(0, 0, 0, 0.4),
    0 0 12px rgba(16, 86, 54, 0.28);
}
.keepfree-sheet .keepfree-actions .btn:hover,
.keepfree-sheet .keepfree-actions .btn.ghost:hover {
  color: #fbfffc;
  background:
    linear-gradient(148deg, rgba(248, 255, 250, 0.64) 0%, rgba(214, 245, 226, 0.16) 22%, transparent 40%),
    linear-gradient(180deg, #18784e 0%, #0e5638 50%, #083422 100%);
  box-shadow:
    inset 0 1px 0 rgba(248, 255, 250, 0.78),
    inset 0 -2px 0 rgba(0, 0, 0, 0.35),
    0 5px 0 #062418,
    0 8px 12px rgba(0, 0, 0, 0.42),
    0 0 16px rgba(16, 86, 54, 0.38);
}
.keepfree-sheet .empty {
  color: #e4f3ea;
  border-color: rgba(150, 196, 168, 0.48);
  background:
    linear-gradient(145deg, rgba(244, 255, 248, 0.1) 0%, transparent 30%),
    rgba(4, 28, 18, 0.55);
}


/* tidy7: tablet home orbit named the sponsors area (481–720) so the centre car no longer collapses; hub top stays one readable row. Phone rules unchanged. */
@media (max-width: 720px) and (min-width: 481px) {
  .orbit {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "sponsors sponsors"
      "top top"
      "core core";
  }
  .orbit-top {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}


/* parts1: car-page groups. No open/close animation. */
.part-folds { display: grid; gap: 10px; width: 100%; margin-top: 4px; }
.part-fold { margin: 0; }
.part-fold h3 { margin: 0; }
.part-fold-btn {
  width: 100%;
  justify-content: space-between;
  text-align: left;
  min-height: 48px;
}
.part-fold-btn .fold-meta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  letter-spacing: 0.04em;
  font-size: 14px;
}
.part-fold-btn.on {
  color: #f4fbff;
  border-color: rgba(255, 150, 210, 0.85);
  background: linear-gradient(180deg, rgba(255, 80, 170, 0.28) 0%, rgba(40, 16, 64, 0.55) 48%, rgba(8, 6, 18, 0.92) 100%);
}
.part-fold-panel { margin-top: 10px; }
.part-fold-panel[hidden] { display: none; }
.part-fold-panel .empty { margin: 0; }
@media (prefers-reduced-motion: reduce) {
  .part-fold-btn, .part-fold-panel { transition: none; animation: none; }
}


/* parts2: factory power and torque sit on the car photo. No animation. */
.photo-figs {
  position: absolute;
  z-index: 6;
  left: 8px;
  bottom: 8px;
  margin: 0;
  padding: 6px 8px;
  max-width: min(320px, 78%);
  background: rgba(4, 8, 16, 0.86);
  border: 1px solid rgba(61, 243, 234, 0.55);
  pointer-events: none;
}
.photo-figs p {
  margin: 0;
  font-size: 13px;
  line-height: 1.35;
  color: #f4fbff;
}
.photo-figs span {
  display: block;
  color: #9ff6f0;
  font-family: "Share Tech Mono", ui-monospace, monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.car-photo.card-shot .photo-figs,
.car-photo.compact .photo-figs { display: none; }
@media (prefers-reduced-motion: reduce) {
  .photo-figs { transition: none; animation: none; }
}


/* tidy8: build bay full car clear of sticky header; ESTIMATE contrast; phone home photo + 鮫 beside title; sponsor ticker edge soften. Keep parts2 .photo-figs. */
#stage,
.stage {
  scroll-margin-top: 220px;
}
.stage {
  padding-top: 12px;
}
.stage .car-photo.bay-photo {
  overflow: visible;
}
.stage .car-photo.bay-photo .car-rig {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 16 / 9;
  flex: 0 0 auto;
  min-width: 0;
  min-height: 220px;
  max-height: calc(100vh - 240px);
  overflow: hidden;
}
.stage .car-photo.bay-photo .car-rig canvas.bay-canvas,
.stage .car-photo.bay-photo .car-rig img.bay-still {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-height: none;
  object-fit: contain;
  object-position: center center;
  display: block;
}
.bay-est-line {
  margin: 4px 0 8px;
  text-align: center;
  font-family: var(--mono);
  font-size: 13px;
  line-height: 1.35;
  color: #f4fbff;
}
.bay-est-line span {
  display: block;
  color: #eaff9a;
  font-size: 13px;
  letter-spacing: 0.06em;
}
.bay-est-line strong {
  display: block;
  color: #f4fbff;
  font-weight: 600;
}
.brand {
  flex-wrap: nowrap !important;
  align-items: center;
  min-width: 0;
}
.brand .kanji {
  flex: 0 0 auto;
  align-self: center;
  margin-top: 0;
  margin-left: 6px;
  white-space: nowrap;
}
.sponsor-strip,
.orbit-sponsors,
.reel {
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}
.sponsor-strip {
  mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 18px, #000 calc(100% - 18px), transparent 100%);
}
.orbit-sponsors .reel,
.page-sponsors .reel {
  mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14px, #000 calc(100% - 14px), transparent 100%);
}
@media (max-width: 480px) {
  #stage,
  .stage {
    scroll-margin-top: 140px;
  }
  .stage .car-photo.bay-photo .car-rig {
    max-height: none;
    aspect-ratio: 16 / 9;
  }
  .brand-name {
    flex: 1 1 auto;
    min-width: 0;
  }
  .brand .kanji {
    flex: 0 0 auto;
    align-self: center;
    margin-top: 0;
    font-size: 16px;
  }
  .orbit-car {
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "photo photo"
      "prev next"
      "meta meta";
    width: 100%;
    min-width: 0;
  }
  .orbit-car > .photo-link,
  .orbit-car > .photo-stage,
  .orbit-car > .car-photo {
    grid-area: photo;
    display: block;
    min-width: 0;
    width: 100%;
    min-height: 180px;
  }
  .orbit-car .photo-stage.centre-live,
  .orbit-car .photo-link .car-photo,
  .orbit-car > .car-photo {
    width: 100%;
  }
  .orbit-car .car-photo .car-rig,
  .orbit-car .car-photo.compact .car-rig,
  .photo-stage .car-photo .car-rig,
  .photo-stage .car-photo.compact .car-rig {
    position: relative;
    width: 100%;
    max-width: 100%;
    height: auto !important;
    min-height: 180px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
  }
  .orbit-car .car-photo img,
  .orbit-car .car-photo.compact img,
  .orbit-car .car-photo .car-rig img,
  .photo-stage .car-photo img,
  .photo-stage .car-photo .car-rig img,
  .orbit-car .car-photo .car-rig canvas.bay-canvas {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: none;
    object-fit: contain;
    object-position: center center;
    display: block;
  }
  .sponsor-strip,
  .orbit-sponsors,
  .reel {
    padding-left: 10px;
    padding-right: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .sponsor-strip,
  .orbit-sponsors .reel,
  .page-sponsors .reel {
    mask-image: none;
    -webkit-mask-image: none;
  }
}


/* makes1: sample-car catalog folds by make. Same collapse as part groups. No animation. */
.make-folds { margin-top: 0; }
.make-models { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.make-model {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  padding: 8px 12px;
  text-decoration: none;
  color: var(--tooth);
  background: rgba(6, 10, 18, 0.9);
  border: 1px solid rgba(61, 243, 234, 0.28);
  font-family: var(--ui);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.make-model.on { border-color: rgba(255, 150, 210, 0.85); }
.make-model .chassis { font-size: 14px; font-weight: 500; }
@media (prefers-reduced-motion: reduce) {
  .make-model { transition: none; animation: none; }
}


/* find1 / search2: home catalog search sits directly under the header, above the sponsor reel. */
.orbit-find { grid-area: find; min-width: 0; width: 100%; }
.orbit-find .examples { margin: 8px 0 0; }
.search-follow { margin-top: 16px; }
.search-follow .more-like { margin: 12px 0 4px; }
.search-ads { margin-bottom: 4px; }


/* tidy9: Tell us an issue icon reads as hammer × spanner; search placeholders readable; home find bar obvious under ads. */
.issue-icon-btn {
  border-color: rgba(61, 243, 234, 0.9);
  box-shadow:
    inset 0 1px 0 rgba(220, 255, 252, 0.35),
    0 4px 0 #063038,
    0 0 14px rgba(61, 243, 234, 0.28);
}
.issue-wrench {
  fill: rgba(61, 243, 234, 0.12);
  stroke: #7af6ee;
  stroke-width: 2.6;
}
.issue-hammer-handle {
  stroke: #7af6ee;
  stroke-width: 4.6;
}
.issue-hammer-head {
  fill: var(--magenta);
  stroke: #ffd4ed;
  stroke-width: 1.4;
}
.search-bar input::placeholder,
.stack input::placeholder,
.stack textarea::placeholder,
.tps-guide-form input::placeholder {
  color: #9eb4c8;
  opacity: 1;
}
.search-bar input::-webkit-input-placeholder,
.stack input::-webkit-input-placeholder,
.stack textarea::-webkit-input-placeholder,
.tps-guide-form input::-webkit-input-placeholder {
  color: #9eb4c8;
}
.orbit-find .search-bar {
  padding: 8px;
  background: rgba(4, 10, 18, 0.72);
  border: 1px solid rgba(61, 243, 234, 0.55);
  box-shadow: 0 0 18px rgba(61, 243, 234, 0.14), inset 0 0 0 1px rgba(255, 46, 166, 0.12);
}
.orbit-find .search-bar input {
  color: #f4fbff;
  border-color: rgba(170, 255, 248, 0.55);
  min-height: 48px;
}
.orbit-find .search-bar .btn {
  min-height: 48px;
  min-width: 7.5rem;
  color: #041018;
  border-color: rgba(230, 255, 255, 0.9);
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
  box-shadow: 0 4px 0 #063038, 0 8px 14px rgba(0, 0, 0, 0.35);
}
.orbit-find .examples {
  color: #c2d0e0;
  font-size: 14px;
}
.orbit-find .examples a {
  color: var(--cyan);
  font-weight: 600;
}
.search-follow .more-like .btn {
  min-height: 48px;
  padding: 12px 22px;
  color: #041018;
  border-color: rgba(230, 255, 255, 0.9);
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
  box-shadow: 0 4px 0 #063038, 0 8px 14px rgba(0, 0, 0, 0.35);
}
.bay-choice {
  max-width: 48rem;
  text-wrap: pretty;
}

/* path1: search photo is the car link. ride1: one large entrant, sponsors under the breakdown. */
.search-hit .photo-link { display: block; color: inherit; text-decoration: none; }
.search-hit .photo-cta { font-size: 11px; letter-spacing: 0.08em; left: 6px; bottom: 6px; padding: 3px 6px; }
.ride-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.8fr);
  gap: 18px;
  align-items: start;
  margin: 8px 0 14px;
}
.ride-feature-photo .car-photo {
  width: 100%;
  margin: 0 auto;
}
.ride-feature-photo .car-rig {
  width: 100%;
  height: min(520px, 56vw);
  max-height: 560px;
}
.ride-breakdown h2 { margin: 4px 0 6px; }
.ride-breakdown h3 { margin: 14px 0 4px; font-size: 16px; letter-spacing: 0.06em; text-transform: uppercase; }
.ride-stats { margin: 0; padding-left: 18px; }
.ride-stats li { margin: 2px 0; }
.ride-stats span { color: var(--acid); font-family: var(--mono); font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }
.ride-others { margin: 0 0 12px; font-size: 15px; }
.ride-others span { font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-right: 8px; }
.ride-others a { margin-right: 14px; }
.ride-mail-row { margin: 0 0 4px; }
.ride-mail:disabled { opacity: 0.55; cursor: not-allowed; }
.ride-mail-note { margin: 0 0 14px; }
.ride-sponsors { margin-top: 8px; }
@media (max-width: 800px) {
  .ride-feature { grid-template-columns: 1fr; }
}

/* tidy10: bright cyan CTAs keep dark ink (the generic light-text .btn rule outranked them); example links never split mid-phrase */
.orbit-find .search-bar .btn.btn,
.orbit-find .search-bar .btn:not(.on):not(.hub-primary):not(.ghost),
.search-follow .more-like .btn:not(.on):not(.hub-primary):not(.ghost) {
  color: #041018;
  text-shadow: none;
}
.orbit-find .examples a { white-space: nowrap; display: inline-block; }

/* Special to this model (car page) */
.special-panel { margin-top: 12px; border-color: var(--magenta); box-shadow: 0 0 0 1px var(--magenta), 0 0 16px rgba(255, 46, 166, 0.2); }
.special-panel .kicker { color: var(--magenta); }
.special-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 6px; }
.special-list li { border-left: 3px solid var(--magenta); padding: 4px 0 4px 10px; overflow-wrap: anywhere; }
.special-list .special-jp { color: #9fe8e2; font-size: 0.9em; }
.special-list .special-src { font-size: 0.85em; margin-left: 4px; }

/* Reported exhaust gains in the build bay (gain1) */
.gain-line { margin: 4px 0 8px; padding: 8px 10px; border: 1px solid rgba(255, 79, 216, 0.55); background: rgba(255, 79, 216, 0.08); font-size: 12px; color: #f4fbff; line-height: 1.45; }
.gain-line span { display: block; color: #ff8fe6; font-family: var(--mono); letter-spacing: 0.08em; font-size: 10px; text-transform: uppercase; }
.gain-line strong { display: block; font-size: 13px; }
.gain-line em { font-style: normal; color: var(--muted); }
.gain-line a { color: #7ff3ff; text-decoration: underline; }
.photo-figs .fig-gain span { color: #ff8fe6; }
.photo-figs .fig-gain small { color: #b9c3cc; font-size: 0.85em; }

/* phone1: calmer phone layout + bigger car photo. Phone only (max-width: 480px); desktop untouched. */
@media (max-width: 480px) {
  /* One ad row only: drop the top chip ticker, slim the sponsor reel. */
  .sponsor-strip { display: none; }
  .orbit-sponsors, .page-sponsors { gap: 4px; margin: 0; padding-left: 0; padding-right: 0; }
  .orbit-sponsors .reel, .page-sponsors .reel { padding-left: 0; padding-right: 0; }
  .orbit-sponsors .slot-kicker { font-size: 11px; margin: 0; }
  .orbit-sponsors .sample-pill { display: none; }
  html body .reel-track .banner {
    min-height: 0;
    height: 44px;
    padding: 4px 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow: hidden;
  }
  html body .reel-track .banner small,
  html body .reel-track .banner i { display: none; }
  html body .reel-track .banner strong { margin: 0; font-size: 14px; white-space: nowrap; }
  html body .reel-track .banner em { font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  /* Near full-width content; slim floating scroll arrows. */
  .frame { width: calc(100% - 8px); padding-left: 0; margin-top: 8px; gap: 10px; }
  .site-footer { padding-left: 12px; padding-right: 12px; }
  .tps-scroll-button { width: 26px; height: 26px; font-size: 16px; opacity: 0.7; }
  .tps-scroll-controls { left: 2px; }

  /* Home: no long explainer, compact buttons, fewer boxes. */
  .home-hero { padding: 8px; }
  .home-hero .lede { display: none; }
  .home-hero .orbit { gap: 8px; }
  /* search2: keep the find bar obvious on phone — do not strip its border/glow. */
  .orbit-find .examples { margin: 6px 0 0; font-size: 13px; }
  .orbit-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    overflow: visible;
    padding-bottom: 0;
  }
  .orbit-top .hub-btn,
  .orbit-top .hub-tile {
    width: 100%;
    min-height: 64px;
    padding: 10px 8px;
    font-size: 13px;
    white-space: normal;
  }
  .orbit-top .hub-tile .hub-ico { width: 20px; height: 20px; }
  .orbit-car { margin-top: 4px; gap: 6px; }
  .orbit-car .btn { min-height: 40px; }
  .orbit-car-meta { gap: 4px; }
  .home-hero .finder-link.home-extra,
  .home-hero .keepfree-launch { display: none; }
  .track-box { padding: 10px; }
  .track-box p { font-size: 13px; }

  /* Bigger car photo: full width, no frame padding, figures sit under the car. */
  .car-photo, .car-photo.compact, .orbit-car .photo-link .car-photo { padding: 0; margin: 0; }
  .car-layout { padding: 6px; gap: 8px; }
  .stage { padding: 4px 4px 8px; }
  html body .orbit-car .car-photo .car-rig,
  html body .photo-stage .car-photo .car-rig { min-height: 0; aspect-ratio: 16 / 10; }
  html body .orbit-car .car-photo .car-rig img,
  html body .photo-stage .car-photo .car-rig img { object-position: center bottom; }
  html body .photo-stage .car-photo .car-rig:has(.photo-figs),
  html body .stage .car-photo.bay-photo .car-rig {
    aspect-ratio: auto;
    height: auto !important;
    min-height: 0;
    max-height: none;
    padding-top: 62.5%;
  }
  html body .stage .car-photo.bay-photo .car-rig canvas.bay-canvas,
  html body .stage .car-photo.bay-photo .car-rig img.bay-still,
  html body .photo-stage .car-photo .car-rig:has(.photo-figs) img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: auto;
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 10;
    object-fit: contain;
    object-position: center bottom;
  }
  html body .car-photo .photo-figs {
    position: relative;
    left: auto;
    bottom: auto;
    max-width: none;
    margin: 0;
    padding: 5px 8px;
    border: 0;
    border-top: 1px solid rgba(61, 243, 234, 0.3);
    background: rgba(4, 8, 16, 0.7);
    display: flex;
    flex-wrap: wrap;
    gap: 2px 12px;
  }
  html body .car-photo .photo-figs p { font-size: 12px; line-height: 1.3; }
  html body .car-photo .photo-figs span { display: inline; font-size: 10px; margin-right: 4px; }
  .bay-ground { bottom: auto; top: calc((100vw - 16px) * 0.6); }

  /* Photo credit: one tiny line. Build-bay explainer hidden. */
  .car-copy .photo-credit {
    font-size: 11px;
    line-height: 1.3;
    margin: 0 0 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    opacity: 0.75;
  }
  .stage + .photo-credit,
  main > .photo-credit { display: none; }
  .car-copy h2 { font-size: 22px; margin: 2px 0; }
  .car-copy p { margin: 2px 0; }
  .car-copy .tag.sample { font-size: 11px; padding: 2px 6px; }

  /* Build bay: one neat control row; shorter status lines. */
  html body .stage .car-photo.bay-photo .bay-controls {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 4px;
    padding: 4px;
    border-top-color: rgba(61, 243, 234, 0.3);
  }
  html body .stage .car-photo.bay-photo .bay-controls .bay-hit {
    flex: 1 0 auto;
    min-width: 46px;
    min-height: 40px;
    padding: 4px 6px;
    font-size: 12px;
    white-space: nowrap;
  }
  .stage .bay-choice {
    font-size: 12px;
    margin: 6px 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .stage .bay-est-line {
    font-size: 11px;
    margin: 4px 4px 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .stage .bay-est-line span { display: inline; margin-right: 6px; }
  .motor-panel > p.muted { display: none; }
  .main > .kicker, main > .kicker { font-size: 11px; margin: 0 0 4px; }

  /* Footer: one short line instead of the long disclaimer. */
  .site-footer { font-size: 0; }
  .site-footer > * { font-size: 14px; }
  .site-footer .view-count { display: none; }
  .site-footer::after {
    content: "Always confirm fitment with the retailer or maker before you buy. Market, accounts and My Garage are an early preview saved only on this device.";
    display: block;
    font-size: 11px;
    color: var(--muted, #9fb0c0);
    margin-top: 6px;
  }
  .footer-issue { margin: 8px 0; gap: 6px; }
  /* phone1 fixes */
  html body .car-layout { grid-template-columns: minmax(0, 1fr); }
  .car-layout > *, .car-layout .photo-stage, .car-layout .car-copy { min-width: 0; max-width: 100%; }
  .page-sponsors .slot-kicker { padding: 0 4px; }
  .car-actions { display: flex; flex-wrap: wrap; gap: 6px; }
  .car-actions { flex-direction: row; flex-wrap: nowrap; align-items: stretch; }
  .car-actions .btn.ghost { flex: 1 1 0; min-width: 0; width: auto; min-height: 42px; }
  .car-actions .issue-icon-btn { flex: 0 0 auto; }
  .orbit-find .search-bar { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
  .orbit-find .search-bar .btn { width: auto; min-height: 54px; padding: 0 18px; font-size: 16px; }
  .orbit-find .search-bar input { min-height: 54px; font-size: 17px; }
  .orbit-car-meta { margin-top: 2px; }
  .orbit-car-meta .chassis { margin: 0; font-size: 12px; }
  .orbit-car-meta strong { margin: 0; font-size: 20px; }
  .orbit-car-meta label { margin: 0; font-size: 12px; }
  .stage .bay-est-line strong { font-size: 11px; display: inline; }
  html body .car-layout .car-copy { grid-template-columns: minmax(0, 1fr); }
  .car-copy > div { min-width: 0; }
}


/* search2: bigger, obvious catalog search under the header (home, Parts, Market, Search). */
.home-hero > .catalog-find {
  grid-area: auto;
  width: 100%;
  margin: 0 0 12px;
}
.home-hero > .lede { margin-top: 0; }

.catalog-find,
.orbit-find {
  grid-area: find;
  min-width: 0;
  width: 100%;
  margin: 0 0 10px;
}
.frame > .catalog-find {
  grid-area: auto;
  margin: 0 0 14px;
  width: 100%;
}
.find-label {
  margin: 0 0 8px;
  font-family: var(--ui);
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f4fbff;
  text-shadow: 0 0 12px rgba(61, 243, 234, 0.45);
}
.orbit-find .search-bar,
.catalog-find .search-bar {
  display: flex;
  gap: 10px;
  align-items: stretch;
  width: 100%;
  padding: 10px;
  background: rgba(4, 10, 18, 0.88);
  border: 2px solid rgba(61, 243, 234, 0.95);
  border-radius: 4px;
  box-shadow:
    0 0 0 1px rgba(61, 243, 234, 0.35),
    0 0 28px rgba(61, 243, 234, 0.45),
    0 0 48px rgba(61, 243, 234, 0.18),
    inset 0 0 0 1px rgba(255, 46, 166, 0.12);
}
.orbit-find .search-bar input,
.catalog-find .search-bar input {
  flex: 1 1 auto;
  min-height: 64px;
  font-size: 20px;
  line-height: 1.2;
  color: #f4fbff;
  border-color: rgba(170, 255, 248, 0.65);
  padding: 14px 16px;
}
.orbit-find .search-bar .btn,
.orbit-find .search-bar .btn.btn,
.orbit-find .search-bar .btn:not(.on):not(.hub-primary):not(.ghost),
.catalog-find .search-bar .btn,
.catalog-find .search-bar .btn.btn,
.catalog-find .search-bar .btn:not(.on):not(.hub-primary):not(.ghost) {
  flex: 0 0 auto;
  min-height: 64px;
  min-width: 8.5rem;
  padding: 0 28px;
  font-size: 18px;
  letter-spacing: 0.14em;
  color: #041018;
  text-shadow: none;
  border-color: rgba(230, 255, 255, 0.95);
  background: linear-gradient(180deg, #ffffff, var(--cyan) 48%, #12988c);
  box-shadow: 0 4px 0 #063038, 0 8px 18px rgba(0, 0, 0, 0.4), 0 0 18px rgba(61, 243, 234, 0.35);
}
.orbit-find .examples,
.catalog-find .examples {
  margin: 10px 0 0;
  color: #c2d0e0;
  font-size: 15px;
}
.orbit-find .examples a,
.catalog-find .examples a {
  color: var(--cyan);
  font-weight: 700;
  white-space: nowrap;
  display: inline-block;
}
@media (max-width: 480px) {
  .find-label { font-size: 15px; letter-spacing: 0.1em; margin-bottom: 6px; }
  .orbit-find .search-bar,
  .catalog-find .search-bar {
    gap: 8px;
    padding: 8px;
    border-width: 2px;
    box-shadow:
      0 0 0 1px rgba(61, 243, 234, 0.4),
      0 0 22px rgba(61, 243, 234, 0.5),
      inset 0 0 0 1px rgba(255, 46, 166, 0.12);
  }
  .orbit-find .search-bar input,
  .catalog-find .search-bar input {
    min-height: 54px;
    font-size: 17px;
    padding: 12px 12px;
  }
  .orbit-find .search-bar .btn,
  .orbit-find .search-bar .btn.btn,
  .catalog-find .search-bar .btn,
  .catalog-find .search-bar .btn.btn {
    min-height: 54px;
    min-width: 5.5rem;
    padding: 0 16px;
    font-size: 16px;
  }
  .frame > .catalog-find { margin: 0 0 10px; }
}

/* ===== Search hunt (hunt6): black underwater oil trail + CG shark. Transforms/opacity only. ===== */
#hunt-fx {
  position: fixed;
  left: 0;
  right: 0;
  z-index: 72;
  pointer-events: none;
  overflow: visible;
  contain: layout style;
  /* Clip at the viewport sides (no sideways scroll while he is off the edge); the dorsal
     fin may still rise above the surface. */
  -webkit-clip-path: inset(-60px 0 -4px 0);
  clip-path: inset(-60px 0 -4px 0);
}
.hunt-water {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(30, 120, 150, 0.42) 0%, rgba(10, 52, 78, 0.76) 24%, rgba(4, 24, 42, 0.9) 55%, rgba(1, 8, 16, 0.97) 100%);
  -webkit-backdrop-filter: blur(2px) saturate(1.2);
  backdrop-filter: blur(2px) saturate(1.2);
  transform-origin: 50% 0;
  animation: hunt-water var(--hunt-ms, 6000ms) cubic-bezier(.3,.7,.3,1) forwards;
  -webkit-mask-image: linear-gradient(180deg, #000 0, #000 95%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0, #000 95%, transparent 100%);
}
@keyframes hunt-water {
  0% { transform: scaleY(0.02); opacity: 0; }
  5% { transform: scaleY(1); opacity: 1; }
  90% { transform: scaleY(1); opacity: 1; }
  100% { transform: scaleY(1); opacity: 0; }
}
.hunt-rays { position: absolute; inset: 0; }
.hunt-rays i {
  position: absolute;
  top: -10%;
  height: 130%;
  width: 9%;
  background: linear-gradient(180deg, rgba(150, 245, 255, 0.16), rgba(150, 245, 255, 0) 85%);
  transform: skewX(-22deg);
  filter: blur(3px);
  animation: hunt-ray 4200ms ease-in-out infinite alternate;
}
.hunt-rays i:nth-child(1) { left: 14%; width: 6%; }
.hunt-rays i:nth-child(2) { left: 37%; animation-delay: -1300ms; }
.hunt-rays i:nth-child(3) { left: 61%; width: 5%; animation-delay: -2500ms; }
.hunt-rays i:nth-child(4) { left: 82%; width: 8%; animation-delay: -700ms; }
@keyframes hunt-ray {
  from { opacity: 0.35; transform: translateX(-12px) skewX(-22deg); }
  to { opacity: 1; transform: translateX(14px) skewX(-18deg); }
}
.hunt-caustic {
  position: absolute;
  inset: 0 -120px 0 -120px;
  background:
    radial-gradient(ellipse 60px 10px at 20% 30%, rgba(120, 240, 255, 0.10), transparent 70%),
    radial-gradient(ellipse 80px 12px at 55% 55%, rgba(120, 240, 255, 0.08), transparent 70%),
    radial-gradient(ellipse 50px 8px at 80% 25%, rgba(120, 240, 255, 0.10), transparent 70%);
  background-size: 240px 100%;
  animation: hunt-caustic 5200ms linear infinite;
}
@keyframes hunt-caustic { from { transform: translateX(0); } to { transform: translateX(240px); } }
/* Black underwater oil trail at the shark's swimming depth, flowing in from the right.
   Inky plumes with a faint grey rim (and a faint backlight) so they read against dark water. */
.hunt-oil {
  position: absolute;
  inset: 0;
  animation: hunt-oil var(--hunt-ms, 6000ms) cubic-bezier(.22,.7,.25,1) forwards;
  will-change: transform, opacity;
}
@keyframes hunt-oil {
  0%, 2% { transform: translateX(100%); opacity: 0; }
  6% { opacity: 1; }
  36% { transform: translateX(0); opacity: 1; }
  60% { transform: translateX(-1.5%); opacity: 1; }
  86% { transform: translateX(-3%); opacity: 0.1; }
  100% { transform: translateX(-3%); opacity: 0; }
}
.oil-plumes { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 10%, #000 24%); mask-image: linear-gradient(90deg, transparent 10%, #000 24%); }
.oil-plumes b {
  position: absolute;
  border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%;
  background:
    radial-gradient(ellipse 30% 26% at 36% 34%, rgba(170, 185, 200, 0.10), transparent 70%),
    radial-gradient(closest-side, #000 0, rgba(0, 0, 0, 0.94) 45%, rgba(4, 6, 9, 0.8) 66%, rgba(70, 82, 94, 0.34) 82%, rgba(90, 120, 140, 0.12) 92%, transparent 100%);
  filter: blur(5px);
  animation: oil-plume 3200ms ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes oil-plume {
  0% { transform: translate(0, 0) scale(0.9, 0.82) rotate(-4deg); }
  100% { transform: translate(-22px, 6px) scale(1.2, 1.08) rotate(5deg); }
}
.oil-plumes b:nth-child(1) { left: 14%; top: 36%; width: 12%; height: 30%; animation-delay: -1850ms; animation-duration: 3640ms; }
.oil-plumes b:nth-child(2) { left: 22%; top: 28%; width: 15%; height: 31%; animation-delay: -756ms; animation-duration: 3648ms; }
.oil-plumes b:nth-child(3) { left: 30%; top: 27%; width: 12%; height: 32%; animation-delay: -385ms; animation-duration: 3514ms; }
.oil-plumes b:nth-child(4) { left: 38%; top: 24%; width: 11%; height: 24%; animation-delay: -2206ms; animation-duration: 2685ms; }
.oil-plumes b:nth-child(5) { left: 46%; top: 36%; width: 13%; height: 28%; animation-delay: -2678ms; animation-duration: 2922ms; }
.oil-plumes b:nth-child(6) { left: 54%; top: 38%; width: 13%; height: 22%; animation-delay: -258ms; animation-duration: 2721ms; }
.oil-plumes b:nth-child(7) { left: 62%; top: 29%; width: 9%; height: 25%; animation-delay: -2456ms; animation-duration: 2661ms; }
.oil-plumes b:nth-child(8) { left: 70%; top: 32%; width: 15%; height: 29%; animation-delay: -1804ms; animation-duration: 3000ms; }
.oil-plumes b:nth-child(9) { left: 79%; top: 31%; width: 13%; height: 25%; animation-delay: -2047ms; animation-duration: 2609ms; }
.oil-plumes b:nth-child(10) { left: 88%; top: 36%; width: 14%; height: 23%; animation-delay: -2682ms; animation-duration: 3169ms; }
.oil-plumes b:nth-child(11) { left: 97%; top: 24%; width: 12%; height: 30%; animation-delay: -2899ms; animation-duration: 3120ms; }
.oil-drops i {
  position: absolute;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 30%, rgba(210, 225, 240, 0.55) 0 10%, transparent 20%),
    radial-gradient(circle, #000 0 58%, rgba(80, 92, 104, 0.6) 74%, transparent 100%);
  animation: oil-drop 2600ms ease-in-out infinite;
}
.oil-drops i:nth-child(1) { left: 15.3%; top: 44%; width: 6px; height: 6px; animation-delay: -1183ms; }
.oil-drops i:nth-child(2) { left: 21.4%; top: 66%; width: 3px; height: 3px; animation-delay: -1640ms; }
.oil-drops i:nth-child(3) { left: 29.0%; top: 48%; width: 5px; height: 5px; animation-delay: -273ms; }
.oil-drops i:nth-child(4) { left: 39.7%; top: 30%; width: 4px; height: 4px; animation-delay: -859ms; }
.oil-drops i:nth-child(5) { left: 46.9%; top: 33%; width: 5px; height: 5px; animation-delay: -1537ms; }
.oil-drops i:nth-child(6) { left: 54.4%; top: 55%; width: 5px; height: 5px; animation-delay: -299ms; }
.oil-drops i:nth-child(7) { left: 60.1%; top: 42%; width: 7px; height: 7px; animation-delay: -1105ms; }
.oil-drops i:nth-child(8) { left: 66.4%; top: 49%; width: 4px; height: 4px; animation-delay: -62ms; }
.oil-drops i:nth-child(9) { left: 76.3%; top: 37%; width: 4px; height: 4px; animation-delay: -1009ms; }
.oil-drops i:nth-child(10) { left: 82.5%; top: 30%; width: 3px; height: 3px; animation-delay: -1904ms; }
.oil-drops i:nth-child(11) { left: 90.2%; top: 41%; width: 7px; height: 7px; animation-delay: -2290ms; }
.oil-drops i:nth-child(12) { left: 95.1%; top: 62%; width: 4px; height: 4px; animation-delay: -536ms; }
@keyframes oil-drop {
  0% { transform: translate(0, -6px); opacity: 0; }
  25% { opacity: 1; }
  100% { transform: translate(-12px, 14px); opacity: 0; }
}
.hunt-bubbles i {
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  opacity: 0;
  background: radial-gradient(circle at 35% 30%, rgba(255, 255, 255, 0.9) 0 18%, rgba(160, 250, 255, 0.25) 40%, rgba(160, 250, 255, 0.08) 70%, rgba(200, 255, 255, 0.6) 92%, transparent 100%);
  will-change: transform, opacity;
}
/* The shark: three segments of one image. Unflipped he faces right; cut points in image fractions. */
.hunt-shark {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  transform-origin: 50% 55%;
  will-change: transform, opacity;
}
.hs-flip, .hs-rear, .hs-front, .hs-tailwrap { position: absolute; inset: 0; }
.hs-flip { transform-origin: 50% 55%; filter: drop-shadow(0 0 6px rgba(61, 243, 234, 0.22)) drop-shadow(0 10px 12px rgba(0, 0, 0, 0.45)); }
.hs-rear { transform-origin: 32% 54%; }
.hs-tailwrap { transform-origin: 20% 54%; }
.hs-front { transform-origin: 62% 52%; }
.hs-seg, .hs-piston {
  position: absolute;
  -webkit-user-drag: none;
  user-select: none;
}
.hs-seg { inset: 0; width: 100%; height: 100%; }
.hs-tail { clip-path: inset(0 75% 0 0); }
.hs-mid {
  clip-path: inset(0 62% 0 15%);
  -webkit-mask-image: linear-gradient(90deg, transparent 16%, #000 22%);
  mask-image: linear-gradient(90deg, transparent 16%, #000 22%);
}
.hs-body {
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 34%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 34%);
}
/* Light play on the body, clipped to the shark's own silhouette. */
.hs-fx {
  position: absolute;
  inset: 0;
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}
.hs-caustic {
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.5;
  clip-path: inset(0 0 0 30%);
}
.hs-caustic::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: -60%;
  width: 220%;
  background:
    repeating-linear-gradient(115deg, rgba(140, 240, 255, 0) 0 22px, rgba(140, 240, 255, 0.22) 26px, rgba(140, 240, 255, 0) 31px 52px),
    repeating-linear-gradient(70deg, rgba(140, 240, 255, 0) 0 30px, rgba(140, 240, 255, 0.14) 34px, rgba(140, 240, 255, 0) 38px 70px);
  -webkit-mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.6) 45%, transparent 75%);
  mask-image: linear-gradient(180deg, #000 0, rgba(0, 0, 0, 0.6) 45%, transparent 75%);
  animation: hs-caustic 2400ms linear infinite;
}
@keyframes hs-caustic { from { transform: translateX(0); } to { transform: translateX(104px); } }
.hs-engine {
  mix-blend-mode: screen;
  background:
    radial-gradient(ellipse 9% 16% at 44% 58%, rgba(61, 243, 234, 0.75), transparent 70%),
    radial-gradient(ellipse 10% 15% at 58% 60%, rgba(255, 46, 166, 0.75), transparent 70%),
    radial-gradient(ellipse 16% 22% at 50% 52%, rgba(160, 90, 255, 0.25), transparent 75%);
  opacity: 0.6;
}
.hs-gill {
  mix-blend-mode: screen;
  background: repeating-linear-gradient(90deg, rgba(61, 243, 234, 0) 0 15%, rgba(61, 243, 234, 0.7) 17%, rgba(61, 243, 234, 0) 21%) 66.5% 52% / 6% 20% no-repeat;
  filter: blur(0.6px);
  animation: hs-gill 1700ms steps(1, end) infinite;
}
@keyframes hs-gill {
  0% { opacity: 0.25; } 12% { opacity: 0.8; } 18% { opacity: 0.35; } 46% { opacity: 0.6; } 52% { opacity: 0.15; } 80% { opacity: 0.5; }
}
.hs-eye {
  background: radial-gradient(circle at 88.9% 42.6%, rgba(255, 255, 255, 0.95) 0 0.35%, rgba(160, 250, 255, 0.55) 0.7%, transparent 1.4%);
  animation: hs-eye 2300ms ease-in-out infinite;
}
@keyframes hs-eye { 0%, 100% { opacity: 0.45; } 40% { opacity: 1; } 55% { opacity: 0.6; } }
/* Piston held crosswise: the crown sits in front of the teeth, the rod and big end are
   behind the head and hang out below the lower jaw. */
.hs-piston-back, .hs-bite {
  position: absolute;
  left: 79%;
  top: 43%;
  width: 21%;
  aspect-ratio: 200 / 186;
  transform: rotate(-42deg);
  transform-origin: 50% 50%;
  opacity: 0;
  transition: opacity 140ms linear;
}
.hs-piston-back { height: auto; filter: brightness(0.92); }
.hs-bite .hs-piston-front { position: absolute; inset: 0; width: 100%; height: 100%; clip-path: polygon(36% 0, 100% 0, 100% 64%); filter: brightness(1.08) drop-shadow(0 0 2px rgba(61, 243, 234, 0.45)); }
.hs-glint {
  position: absolute;
  left: 70%;
  top: 14%;
  width: 22%;
  height: 22%;
  background:
    linear-gradient(90deg, transparent 46%, rgba(255, 255, 255, 0.95) 50%, transparent 54%),
    linear-gradient(0deg, transparent 46%, rgba(255, 255, 255, 0.95) 50%, transparent 54%),
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 10%, rgba(160, 250, 255, 0.35) 25%, transparent 55%);
  transform: rotate(42deg) scale(0.2);
  opacity: 0;
  animation: hs-glint 1400ms ease-in-out infinite;
  animation-delay: 200ms;
}
@keyframes hs-glint {
  0%, 55%, 100% { opacity: 0; transform: rotate(42deg) scale(0.2); }
  70% { opacity: 1; transform: rotate(87deg) scale(1); }
  85% { opacity: 0; transform: rotate(120deg) scale(0.4); }
}
.hunt-shark.has-piston .hs-piston-back, .hunt-shark.has-piston .hs-bite { opacity: 1; }
/* Dorsal-fin V-wake on the surface. */
.hunt-vwake {
  position: absolute;
  left: 0;
  top: -5px;
  width: 46px;
  height: 12px;
  margin-left: -42px;
  transform-origin: 42px 50%;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 70 14'%3E%3Cpath d='M68 7 Q40 2 2 1' fill='none' stroke='%23d6fbff' stroke-width='1.6' stroke-opacity='0.55'/%3E%3Cpath d='M68 7 Q40 12 2 13' fill='none' stroke='%23d6fbff' stroke-width='1.6' stroke-opacity='0.35'/%3E%3Cpath d='M66 7 Q50 5 30 6' fill='none' stroke='%23ffffff' stroke-width='2' stroke-opacity='0.5'/%3E%3C/svg%3E") 0 0 / 100% 100% no-repeat;
  filter: drop-shadow(0 0 3px rgba(61, 243, 234, 0.6));
  opacity: 0;
  will-change: transform, opacity;
}
/* Surface ripples, two layers at different speeds. */
.hunt-ripple {
  position: absolute;
  left: -60px;
  right: -60px;
  top: -2px;
  height: 10px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='10' viewBox='0 0 60 10'%3E%3Cpath d='M0 5 Q15 1 30 5 T60 5' fill='none' stroke='%233df3ea' stroke-width='1.5' stroke-opacity='0.85'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 10px;
  filter: drop-shadow(0 0 3px rgba(61, 243, 234, 0.7));
  animation: hunt-ripple 1300ms linear infinite, hunt-fadeout var(--hunt-ms, 6000ms) linear forwards;
}
.hunt-ripple.b {
  top: 1px;
  opacity: 0.5;
  background-size: 34px 8px;
  height: 8px;
  animation: hunt-ripple-b 2100ms linear infinite, hunt-fadeout-b var(--hunt-ms, 6000ms) linear forwards;
}
@keyframes hunt-ripple { from { transform: translateX(0); } to { transform: translateX(-60px); } }
@keyframes hunt-ripple-b { from { transform: translateX(-34px); } to { transform: translateX(0); } }
@keyframes hunt-fadeout { 0% { opacity: 0; } 6%, 90% { opacity: 1; } 100% { opacity: 0; } }
@keyframes hunt-fadeout-b { 0% { opacity: 0; } 6%, 90% { opacity: 0.5; } 100% { opacity: 0; } }
/* Header mascot fades out for the hunt and back in after. */
.brand-shark { transition: opacity 520ms ease; }
body.hunt-gone .brand-shark { opacity: 0; transition: none; }
.hunt-diver { position: fixed; z-index: 71; margin: 0; pointer-events: none; transform-origin: 50% 50%; will-change: transform, opacity; }
@media (max-width: 600px) {
  .oil-drops i { scale: 0.7; }
  .oil-plumes b { filter: blur(2px); }
  .hunt-ripple { height: 8px; background-size: 40px 8px; }
  .hunt-vwake { width: 30px; height: 8px; margin-left: -27px; transform-origin: 27px 50%; }
}
@media (prefers-reduced-motion: reduce) {
  #hunt-fx { display: none !important; }
  body.hunt-gone .brand-shark { opacity: 1 !important; transform: none !important; }
}

/* hunt6: mascot dives in; dense splash hides the swap to the CG shark. */
.hunt-splash {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  opacity: 0;
}
.hunt-splash.is-on { opacity: 1; }
.sp-cloud {
  position: absolute;
  left: calc(var(--sp-w, 400px) * -0.5);
  top: calc(var(--sp-h, 160px) * -0.12);
  width: var(--sp-w, 400px);
  height: var(--sp-h, 160px);
  border-radius: 50%;
  background:
    radial-gradient(closest-side at 50% 40%, rgba(220, 245, 252, 0.95) 0, rgba(180, 232, 246, 0.88) 35%, rgba(130, 210, 232, 0.55) 62%, rgba(100, 190, 220, 0.2) 82%, transparent 100%);
  filter: blur(4px);
  opacity: 0;
  transform: scale(0.35, 0.3);
}
.sp-cloud.b {
  background:
    radial-gradient(closest-side at 30% 45%, rgba(255, 255, 255, 0.9), transparent 70%),
    radial-gradient(closest-side at 72% 55%, rgba(220, 250, 255, 0.85), transparent 72%),
    radial-gradient(closest-side at 50% 75%, rgba(170, 235, 250, 0.7), transparent 75%);
  filter: blur(6px);
}
.hunt-splash.is-on .sp-cloud { animation: sp-cloud 1150ms cubic-bezier(.2,.7,.3,1) forwards; }
.hunt-splash.is-on .sp-cloud.b { animation: sp-cloud-b 1300ms cubic-bezier(.2,.7,.3,1) forwards; }
@keyframes sp-cloud {
  0% { opacity: 0; transform: scale(0.3, 0.25); }
  10% { opacity: 1; transform: scale(0.85, 0.8); }
  42% { opacity: 0.95; transform: scale(1, 1); }
  100% { opacity: 0; transform: scale(1.18, 1.08); }
}
@keyframes sp-cloud-b {
  0% { opacity: 0; transform: translate(0, 0) scale(0.3); }
  14% { opacity: 1; transform: translate(0, 0) scale(0.9); }
  50% { opacity: 0.85; transform: translate(10px, 4px) scale(1.05); }
  100% { opacity: 0; transform: translate(26px, 8px) scale(1.25); }
}
.sp-column {
  position: absolute;
  left: calc(var(--sp-mw, 160px) * -0.5);
  bottom: -8px;
  width: var(--sp-mw, 160px);
  height: calc(var(--sp-mh, 50px) + 8px);
  border-radius: 50% 50% 18% 18% / 70% 70% 30% 30%;
  background: radial-gradient(ellipse 50% 70% at 50% 100%, rgba(235, 252, 255, 0.96) 0, rgba(190, 240, 252, 0.85) 45%, rgba(150, 225, 245, 0.35) 75%, transparent 100%);
  filter: blur(3px);
  transform-origin: 50% 100%;
  opacity: 0;
}
.hunt-splash.is-on .sp-column { animation: sp-column 700ms cubic-bezier(.2,.8,.3,1) forwards; }
@keyframes sp-column {
  0% { opacity: 0; transform: scale(0.5, 0.2); }
  14% { opacity: 1; transform: scale(1, 1); }
  45% { opacity: 0.9; transform: scale(1.08, 0.9); }
  100% { opacity: 0; transform: scale(1.25, 0.25); }
}
.sp-foam {
  position: absolute;
  left: calc(var(--sp-w, 400px) * -0.3);
  top: -6px;
  width: calc(var(--sp-w, 400px) * 0.6);
  height: 14px;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255, 255, 255, 0.95), rgba(200, 248, 255, 0.6) 60%, transparent 100%);
  filter: blur(1.5px);
  opacity: 0;
}
.hunt-splash.is-on .sp-foam { animation: sp-foam 1200ms ease-out forwards; }
@keyframes sp-foam {
  0% { opacity: 0; transform: scaleX(0.2); }
  12% { opacity: 1; transform: scaleX(0.7); }
  100% { opacity: 0; transform: scaleX(1.6); }
}
.sp-spray i {
  position: absolute;
  left: 0;
  top: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #fff 0 30%, rgba(190, 248, 255, 0.85) 60%, transparent 100%);
  opacity: 0;
  will-change: transform, opacity;
}
@media (prefers-reduced-motion: reduce) {
  .hunt-splash, .hunt-diver { display: none !important; }
}

/* nav4: modern glassy hub tiles on home (4 buttons) + Parts jump links */
.hub-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 78px;
  padding: 14px 12px;
  border-radius: 14px;
  text-decoration: none;
  color: #e8f7ff;
  font-family: "Rajdhani", "Orbitron", sans-serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.15;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(90, 220, 255, 0.12) 0%, rgba(8, 24, 36, 0.55) 42%, rgba(4, 14, 22, 0.72) 100%);
  border: 1px solid rgba(90, 230, 255, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(210, 255, 255, 0.14),
    0 0 0 1px rgba(0, 0, 0, 0.35),
    0 8px 22px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}
.hub-tile span {
  display: block;
  max-width: 11em;
}
.hub-tile .hub-ico {
  display: block;
  color: #7af0ff;
  filter: drop-shadow(0 0 6px rgba(90, 230, 255, 0.45));
  flex: 0 0 auto;
}
.hub-tile:hover,
.hub-tile:focus-visible {
  color: #f4ffff;
  border-color: rgba(120, 255, 236, 0.72);
  background:
    linear-gradient(160deg, rgba(110, 245, 255, 0.2) 0%, rgba(10, 32, 46, 0.62) 45%, rgba(4, 16, 24, 0.78) 100%);
  box-shadow:
    inset 0 1px 0 rgba(230, 255, 255, 0.22),
    0 0 0 1px rgba(90, 240, 255, 0.2),
    0 0 22px rgba(60, 230, 255, 0.28),
    0 10px 26px rgba(0, 0, 0, 0.4);
  transform: translateY(-1px);
  outline: none;
}
.hub-tile:hover .hub-ico,
.hub-tile:focus-visible .hub-ico {
  color: #b9fff7;
  filter: drop-shadow(0 0 10px rgba(120, 255, 236, 0.7));
}
.hub-tile:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(210, 255, 255, 0.12),
    0 0 14px rgba(60, 230, 255, 0.22),
    0 4px 14px rgba(0, 0, 0, 0.4);
}
.orbit-top .hub-tile.at-rides span {
  max-width: 9.5em;
}
.parts-jump {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 0 0 14px;
}
.parts-jump-btn {
  min-height: 68px;
}
@media (max-width: 480px) {
  .parts-jump {
    grid-template-columns: 1fr;
  }
  .hub-tile {
    min-height: 68px;
    padding: 12px 10px;
    font-size: 13px;
    border-radius: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hub-tile { transition: none; }
  .hub-tile:hover,
  .hub-tile:focus-visible { transform: none; }
}

/* chrome1: option B — dark blue-purple tiles with chrome part icons, magenta edge + glow */
.orbit-top.chrome-tiles .hub-tile {
  gap: 8px;
  min-height: 112px;
  padding: 12px 8px;
  border-radius: 14px;
  color: #e7f6ff;
  font-size: 15px;
  letter-spacing: 0.06em;
  opacity: 1;
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.28), transparent 60%),
    linear-gradient(180deg, #0e1830, #070c18);
  border: 1px solid rgba(255, 46, 166, 0.4);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 6px 18px rgba(0, 0, 0, 0.4);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
.orbit-top.chrome-tiles .hub-tile .chrome-ico {
  display: block;
  flex: 0 0 auto;
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6));
  transition: transform 0.18s ease, filter 0.18s ease;
}
.orbit-top.chrome-tiles .hub-tile:hover,
.orbit-top.chrome-tiles .hub-tile:focus-visible,
.orbit-top.chrome-tiles .hub-tile:active {
  color: #ffffff;
  border-color: var(--magenta);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.36), transparent 62%),
    linear-gradient(180deg, #121d3a, #080d1c);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.55), 0 0 24px rgba(255, 46, 166, 0.45), inset 0 0 20px rgba(255, 46, 166, 0.12);
  transform: translateY(-2px);
  outline: none;
}
.orbit-top.chrome-tiles .hub-tile:hover .chrome-ico,
.orbit-top.chrome-tiles .hub-tile:focus-visible .chrome-ico {
  transform: scale(1.06);
  filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 6px rgba(255, 46, 166, 0.35));
}
.orbit-top.chrome-tiles .hub-tile:active { transform: translateY(0); }

/* Build my car: chrome spanner + magenta edge */
.orbit-car .photo-cta.chrome-cta,
.chrome-cta.car-build-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #e7f6ff;
  font-family: var(--ui);
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  border-radius: 14px;
  background: linear-gradient(180deg, #16203a, #080d1a);
  border: 1px solid var(--magenta);
  box-shadow: 0 0 18px rgba(255, 46, 166, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 16px rgba(0, 0, 0, 0.45);
  clip-path: none;
  transition: box-shadow 0.18s ease, background 0.18s ease;
}
.orbit-car .photo-cta.chrome-cta {
  bottom: 12px;
  padding: 8px 20px 8px 14px;
  font-size: 18px;
  letter-spacing: 0.06em;
}
.chrome-cta .cta-ico { display: block; flex: 0 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.photo-link:hover .photo-cta.chrome-cta,
.photo-link:focus-visible .photo-cta.chrome-cta,
.chrome-cta.car-build-cta:hover,
.chrome-cta.car-build-cta:focus-visible {
  background: linear-gradient(180deg, #1c2848, #0a1020);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.55), 0 0 26px rgba(255, 46, 166, 0.55), inset 0 0 16px rgba(255, 46, 166, 0.14), 0 8px 16px rgba(0, 0, 0, 0.45);
}
.chrome-cta.car-build-cta { padding: 6px 16px 6px 10px; color: #e7f6ff; }
@media (max-width: 480px) {
  .orbit-top.chrome-tiles .hub-tile {
    min-height: 96px;
    padding: 10px 6px;
    font-size: 13px;
    border-radius: 12px;
  }
  .orbit-top.chrome-tiles .hub-tile .chrome-ico { width: 38px; height: 38px; }
  .orbit-car .photo-cta.chrome-cta {
    bottom: 8px;
    padding: 6px 14px 6px 10px;
    font-size: 14px;
    gap: 7px;
  }
  .orbit-car .photo-cta.chrome-cta .cta-ico { width: 20px; height: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .orbit-top.chrome-tiles .hub-tile,
  .orbit-top.chrome-tiles .hub-tile .chrome-ico { transition: none; }
  .orbit-top.chrome-tiles .hub-tile:hover,
  .orbit-top.chrome-tiles .hub-tile:focus-visible,
  .orbit-top.chrome-tiles .hub-tile:hover .chrome-ico { transform: none; }
}

/* chrome2: Build my car sits on the car-page photo (bottom-right), clear of the Power/Torque box (bottom-left). */
.car-rig .car-photo-cta {
  position: absolute;
  z-index: 7;
  right: 10px;
  bottom: 10px;
  left: auto;
  top: auto;
  transform: none;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 7px 16px 7px 11px;
  font-size: 16px;
  letter-spacing: 0.06em;
  text-decoration: none;
  color: #e7f6ff;
  border-radius: 14px;
  background: linear-gradient(180deg, #16203a, #080d1a);
  border: 1px solid var(--magenta);
  box-shadow: 0 0 18px rgba(255, 46, 166, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 8px 16px rgba(0, 0, 0, 0.45);
}
.car-rig .car-photo-cta:hover,
.car-rig .car-photo-cta:focus-visible {
  background: linear-gradient(180deg, #1c2848, #0a1020);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.55), 0 0 26px rgba(255, 46, 166, 0.55), inset 0 0 16px rgba(255, 46, 166, 0.14), 0 8px 16px rgba(0, 0, 0, 0.45);
  outline: none;
}
.car-rig:has(.car-photo-cta) .photo-figs { max-width: calc(100% - 215px); }
@media (max-width: 480px) {
  /* Phone: figures sit under the photo, so the button overlays the bottom-centre of the picture itself. */
  html body .car-rig .car-photo-cta {
    right: auto;
    bottom: auto;
    left: 50%;
    top: 0;
    margin-top: calc(62.5% - 42px);
    transform: translateX(-50%);
    padding: 5px 14px 5px 10px;
    font-size: 14px;
    gap: 7px;
    white-space: nowrap;
  }
  html body .car-rig .car-photo-cta .cta-ico { width: 20px; height: 20px; }
  html body .car-rig:has(.car-photo-cta) .photo-figs { max-width: none; }
}

/* rev1: option A rev-counter search bar — chrome bezel, tacho, shift lights, chrome spanner Search. */
.orbit-find .search-bar.rev-bar,
.catalog-find .search-bar.rev-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 10px;
  border-radius: 18px;
  border: 3px solid transparent;
  background:
    linear-gradient(#070c18, #070c18) padding-box,
    linear-gradient(180deg, #f4f8fc, #7d8ba0 35%, #3a4558 55%, #c9d4e2 80%, #6a788c) border-box;
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.25), 0 0 26px rgba(255, 46, 166, 0.22), 0 10px 24px rgba(0, 0, 0, 0.5), inset 0 0 18px rgba(0, 0, 0, 0.6);
}
.rev-gauge {
  flex: 0 0 auto;
  width: 72px;
  height: 72px;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6));
}
.rev-gauge .rev-nums text { font-family: var(--display); font-size: 5.2px; fill: #cfe9f5; text-anchor: middle; }
.rev-gauge .rev-rpm { font-family: var(--mono); font-size: 4px; fill: #8ea4bc; text-anchor: middle; }
.rev-gauge .rev-needle {
  transform-box: view-box;
  transform-origin: 32px 32px;
  transform: rotate(calc(-135deg + var(--rev, 0.06) * 270deg));
  transition: transform 0.25s cubic-bezier(0.3, 1.6, 0.5, 1);
}
.orbit-find .search-bar.rev-bar input,
.catalog-find .search-bar.rev-bar input {
  min-width: 0;
  border-radius: 12px;
  border: 1px solid rgba(61, 243, 234, 0.4);
  background: rgba(4, 8, 16, 0.95);
}
.orbit-find .search-bar.rev-bar input:focus,
.catalog-find .search-bar.rev-bar input:focus {
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px var(--magenta), 0 0 16px rgba(255, 46, 166, 0.3);
}
.rev-lights {
  flex: 0 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 11px);
  gap: 4px;
}
.rev-lights i {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #1a2232;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7);
  transition: background 0.15s ease, box-shadow 0.15s ease;
}
.rev-lights i:nth-child(1), .rev-lights i:nth-child(2) { --c: var(--cyan); }
.rev-lights i:nth-child(3), .rev-lights i:nth-child(4) { --c: var(--acid); }
.rev-lights i:nth-child(5), .rev-lights i:nth-child(6) { --c: var(--magenta); }
.rev-bar[data-lv="1"] .rev-lights i:nth-child(-n+1) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.rev-bar[data-lv="2"] .rev-lights i:nth-child(-n+2) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.rev-bar[data-lv="3"] .rev-lights i:nth-child(-n+3) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.rev-bar[data-lv="4"] .rev-lights i:nth-child(-n+4) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.rev-bar[data-lv="5"] .rev-lights i:nth-child(-n+5) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.rev-bar[data-lv="6"] .rev-lights i:nth-child(-n+6) { background: var(--c); box-shadow: 0 0 8px var(--c); }
.orbit-find .search-bar.rev-bar .btn.rev-btn,
.orbit-find .search-bar.rev-bar .btn.rev-btn:not(.on):not(.hub-primary):not(.ghost),
.catalog-find .search-bar.rev-bar .btn.rev-btn,
.catalog-find .search-bar.rev-bar .btn.rev-btn:not(.on):not(.hub-primary):not(.ghost) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 64px;
  min-width: 9rem;
  padding: 0 24px 0 18px;
  border-radius: 14px;
  clip-path: none;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 19px;
  letter-spacing: 0.1em;
  color: #e7f6ff;
  text-shadow: none;
  background: linear-gradient(180deg, #16203a, #080d1a);
  border: 1px solid var(--magenta);
  box-shadow: 0 0 16px rgba(255, 46, 166, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 6px 14px rgba(0, 0, 0, 0.45);
}
.rev-btn .rev-ico { display: block; flex: 0 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.orbit-find .search-bar.rev-bar .btn.rev-btn:hover,
.orbit-find .search-bar.rev-bar .btn.rev-btn:focus-visible,
.catalog-find .search-bar.rev-bar .btn.rev-btn:hover,
.catalog-find .search-bar.rev-bar .btn.rev-btn:focus-visible {
  background: linear-gradient(180deg, #1c2848, #0a1020);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.55), 0 0 26px rgba(255, 46, 166, 0.55), inset 0 0 16px rgba(255, 46, 166, 0.14), 0 6px 14px rgba(0, 0, 0, 0.45);
  outline: none;
}
/* Hover/focus Search: one sweep to redline with a bounce, then hold. */
.rev-bar:has(.rev-btn:hover) .rev-needle,
.rev-bar:has(.rev-btn:focus-visible) .rev-needle {
  animation: tps-rev-sweep 0.9s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}
.rev-bar:has(.rev-btn:hover) .rev-lights i,
.rev-bar:has(.rev-btn:focus-visible) .rev-lights i {
  animation: tps-rev-light 0.9s linear forwards;
}
.rev-lights i:nth-child(2) { animation-delay: 0.06s !important; }
.rev-lights i:nth-child(3) { animation-delay: 0.12s !important; }
.rev-lights i:nth-child(4) { animation-delay: 0.18s !important; }
.rev-lights i:nth-child(5) { animation-delay: 0.24s !important; }
.rev-lights i:nth-child(6) { animation-delay: 0.3s !important; }
@keyframes tps-rev-sweep {
  0% { transform: rotate(calc(-135deg + var(--rev, 0.06) * 270deg)); }
  55% { transform: rotate(130deg); }
  68% { transform: rotate(112deg); }
  80% { transform: rotate(127deg); }
  90% { transform: rotate(118deg); }
  100% { transform: rotate(122deg); }
}
@keyframes tps-rev-light {
  0%, 30% { background: #1a2232; box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.7); }
  45%, 100% { background: var(--c); box-shadow: 0 0 8px var(--c); }
}
@media (max-width: 480px) {
  .orbit-find .search-bar.rev-bar,
  .catalog-find .search-bar.rev-bar { display: flex; gap: 5px; padding: 5px; border-radius: 15px; }
  .rev-gauge { width: 42px; height: 42px; }
  .rev-lights { display: none; }
  .orbit-find .search-bar.rev-bar input,
  .catalog-find .search-bar.rev-bar input { min-height: 52px; font-size: 14px; letter-spacing: -0.02em; padding: 10px 7px; }
  .orbit-find .search-bar.rev-bar .btn.rev-btn,
  .orbit-find .search-bar.rev-bar .btn.rev-btn:not(.on):not(.hub-primary):not(.ghost),
  .catalog-find .search-bar.rev-bar .btn.rev-btn,
  .catalog-find .search-bar.rev-bar .btn.rev-btn:not(.on):not(.hub-primary):not(.ghost) {
    min-height: 52px; min-width: 0; width: auto; padding: 0 10px 0 8px; gap: 5px; font-size: 15px; letter-spacing: 0.04em;
  }
  .rev-btn .rev-ico { width: 17px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  .rev-gauge .rev-needle { transition: none; }
  .rev-bar:has(.rev-btn:hover) .rev-needle,
  .rev-bar:has(.rev-btn:focus-visible) .rev-needle,
  .rev-bar:has(.rev-btn:hover) .rev-lights i,
  .rev-bar:has(.rev-btn:focus-visible) .rev-lights i { animation: none; }
  .rev-lights i { transition: none; }
}

/* btn1: option B chrome button style everywhere (dark blue-purple fill, thin magenta edge,
   magenta glow + slight lift on hover/tap, normal-case label). :not(#_) lifts specificity
   over the older scattered .btn rules without !important. Search bar (.rev-btn), sponsor
   chips/banners, paint swatches and photo hot-spots keep their own look. */
:root {
  --b1-fill: radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.28), transparent 60%), linear-gradient(180deg, #0e1830, #070c18);
  --b1-fill-hi: radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.38), transparent 62%), linear-gradient(180deg, #13203e, #080d1c);
  --b1-fill-on: radial-gradient(120% 100% at 50% 0%, rgba(255, 46, 166, 0.42), transparent 72%), linear-gradient(180deg, #2a1446, #120a26);
  --b1-edge: rgba(255, 46, 166, 0.45);
  --b1-glow: 0 0 0 1px rgba(255, 46, 166, 0.55), 0 0 18px rgba(255, 46, 166, 0.42), inset 0 0 14px rgba(255, 46, 166, 0.12);
  --b1-rest: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 4px 12px rgba(0, 0, 0, 0.4);
}
.btn:not(.rev-btn):not(#_),
.parts-jump-btn:not(#_),
.picker button:not(#_),
.slot-options button:not(#_),
.pic-btns button:not(#_),
.fit-chips a:not(#_),
.mini-link:not(#_),
select:not(#_) {
  color: #e7f6ff;
  background: var(--b1-fill);
  border: 1px solid var(--b1-edge);
  box-shadow: var(--b1-rest);
  text-shadow: none;
  text-transform: none;
  clip-path: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease, color 0.16s ease;
}
.btn:not(.rev-btn):not(#_) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.03em;
  line-height: 1.15;
  padding: 9px 16px;
  min-height: 40px;
  border-radius: 12px;
  text-decoration: none;
}
.btn.tiny:not(.rev-btn):not(#_) { font-size: 14px; padding: 6px 12px; min-height: 34px; border-radius: 10px; }
.btn.ghost:not(#_) { border-color: rgba(255, 46, 166, 0.32); }
.btn.danger:not(#_) { border-color: rgba(255, 90, 110, 0.7); color: #ffe3e8; }
.picker button:not(#_), .slot-options button:not(#_) { border-radius: 12px; }
.pic-btns button:not(#_) { border-radius: 8px; font-weight: 700; }
.fit-chips a:not(#_), .mini-link:not(#_) { border-radius: 10px; color: #e7f6ff; text-decoration: none; }

.btn:not(.rev-btn):not(#_):hover,
.btn:not(.rev-btn):not(#_):focus-visible,
.btn:not(.rev-btn):not(#_):active,
.parts-jump-btn:not(#_):hover, .parts-jump-btn:not(#_):focus-visible, .parts-jump-btn:not(#_):active,
.picker button:not(#_):hover, .picker button:not(#_):focus-visible,
.slot-options button:not(#_):hover, .slot-options button:not(#_):focus-visible,
.pic-btns button:not(#_):hover, .pic-btns button:not(#_):focus-visible,
.fit-chips a:not(#_):hover, .fit-chips a:not(#_):focus-visible,
.mini-link:not(#_):hover, .mini-link:not(#_):focus-visible,
select:not(#_):hover, select:not(#_):focus {
  color: #ffffff;
  background: var(--b1-fill-hi);
  border-color: var(--magenta);
  box-shadow: var(--b1-glow);
  transform: translateY(-2px);
  outline: none;
}
.btn:not(.rev-btn):not(#_):focus-visible,
.parts-jump-btn:not(#_):focus-visible,
.picker button:not(#_):focus-visible,
.slot-options button:not(#_):focus-visible,
.pic-btns button:not(#_):focus-visible,
select:not(#_):focus-visible { outline: 2px solid rgba(255, 216, 77, 0.85); outline-offset: 2px; }
.btn:not(.rev-btn):not(#_):active,
.parts-jump-btn:not(#_):active { transform: translateY(0); }
.btn.danger:not(#_):hover, .btn.danger:not(#_):focus-visible {
  border-color: #ff5a6e;
  box-shadow: 0 0 0 1px rgba(255, 90, 110, 0.6), 0 0 18px rgba(255, 90, 110, 0.45), inset 0 0 14px rgba(255, 90, 110, 0.12);
}

/* Lit (active) state: filter chips, open group header, chosen build options. */
.btn.on:not(#_),
.btn[aria-pressed="true"]:not(#_),
.picker button.on:not(#_),
.slot-options button.on:not(#_),
.pic-btns button.on:not(#_) {
  color: #ffffff;
  background: var(--b1-fill-on);
  border-color: var(--magenta);
  box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.7), 0 0 16px rgba(255, 46, 166, 0.5), inset 0 0 12px rgba(255, 46, 166, 0.2);
  outline: none;
}
.picker button.on strong:not(#_), .slot-options button.on strong:not(#_) { color: #ffffff; }
.btn:disabled:not(#_), .btn[aria-disabled="true"]:not(#_) { opacity: 0.6; cursor: default; transform: none; }

/* Part-group dropdown headers: chrome icon, label, count + caret on the right. */
.part-fold-btn:not(#_) {
  width: 100%;
  justify-content: flex-start;
  gap: 12px;
  min-height: 52px;
  padding: 6px 16px 6px 10px;
  font-size: 17px;
  text-align: left;
}
.part-fold-btn:not(#_):hover, .part-fold-btn:not(#_):focus-visible { transform: translateY(-1px); }
.part-fold-btn .fold-ico { flex: 0 0 auto; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.part-fold-btn .fold-label { flex: 1 1 auto; }
.part-fold-btn .fold-meta { margin-left: auto; display: inline-flex; align-items: center; gap: 8px; color: #e7f6ff; }

/* Parts page Import parts / Motors-engines tiles: same as the home tiles, with chrome icons. */
.parts-jump-btn:not(#_) {
  min-height: 92px;
  border-radius: 14px;
  font-family: var(--ui);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.04em;
  gap: 6px;
}
.parts-jump-btn .chrome-ico { display: block; filter: drop-shadow(0 3px 4px rgba(0, 0, 0, 0.6)); transition: transform 0.16s ease; }
.parts-jump-btn:hover .chrome-ico, .parts-jump-btn:focus-visible .chrome-ico { transform: scale(1.06); }

/* Dropdowns (make / model / form selects): chrome skin with a magenta caret. */
select:not(#_) {
  -webkit-appearance: none;
  appearance: none;
  border-radius: 10px;
  padding-right: 34px;
  min-height: 40px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ff2ea6' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"), radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.28), transparent 60%), linear-gradient(180deg, #0e1830, #070c18);
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-position: right 12px center, 0 0, 0 0;
  background-size: 12px 8px, auto, auto;
}
select:not(#_):hover, select:not(#_):focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E"), radial-gradient(120% 90% at 50% 0%, rgba(139, 92, 255, 0.38), transparent 62%), linear-gradient(180deg, #13203e, #080d1c);
  transform: none;
}
select option { background: #0e1830; color: #e7f6ff; }

@media (max-width: 480px) {
  .btn:not(.rev-btn):not(#_), .btn.tiny:not(.rev-btn):not(#_), select:not(#_) { min-height: 44px; }
  .parts-jump-btn:not(#_) { min-height: 76px; font-size: 15px; }
  .parts-jump-btn .chrome-ico { width: 34px; height: 34px; }
  .part-fold-btn:not(#_) { min-height: 48px; font-size: 16px; }
  .part-fold-btn .fold-ico { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .btn:not(#_), .parts-jump-btn:not(#_), .picker button:not(#_), .slot-options button:not(#_), .pic-btns button:not(#_),
  .fit-chips a:not(#_), .mini-link:not(#_), select:not(#_), .parts-jump-btn .chrome-ico { transition: none; }
  .btn:not(#_):hover, .btn:not(#_):focus-visible, .btn:not(#_):active,
  .parts-jump-btn:not(#_):hover, .parts-jump-btn:not(#_):focus-visible,
  .picker button:not(#_):hover, .slot-options button:not(#_):hover, .pic-btns button:not(#_):hover,
  .fit-chips a:not(#_):hover, .mini-link:not(#_):hover,
  .parts-jump-btn:hover .chrome-ico { transform: none; }
}

/* btn1: build-page control row under the picture (Bonnet, Cabin, Ride, Wheels, Hoist, Fuel, ECU). */
.bay-controls .bay-hit:not(#_) {
  color: #e7f6ff;
  background: var(--b1-fill);
  border: 1px solid var(--b1-edge);
  border-radius: 10px;
  box-shadow: var(--b1-rest);
  font-family: var(--ui);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}
.bay-controls .bay-hit:not(#_):hover,
.bay-controls .bay-hit:not(#_):focus-visible,
.bay-controls .bay-hit:not(#_):active {
  color: #ffffff;
  background: var(--b1-fill-hi);
  border-color: var(--magenta);
  box-shadow: var(--b1-glow);
  transform: translateY(-2px);
  outline: none;
}
.bay-controls .bay-hit:not(#_):active { transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .bay-controls .bay-hit:not(#_) { transition: none; }
  .bay-controls .bay-hit:not(#_):hover, .bay-controls .bay-hit:not(#_):focus-visible { transform: none; }
}

/* btn2: home tiles use the same normal-case label as every other button. */
.orbit-top.chrome-tiles .hub-tile:not(#_) { text-transform: none; letter-spacing: 0.03em; font-size: 16px; }
@media (max-width: 480px) { .orbit-top.chrome-tiles .hub-tile:not(#_) { font-size: 14px; } }

/* About The Part Shark panel (home, below the tiles and car picture). */
.about-tps { margin: 14px 0 6px; padding: 16px 20px 15px; background: linear-gradient(135deg, rgba(10, 16, 32, 0.82), rgba(18, 10, 34, 0.78)); border: 1px solid rgba(61, 243, 234, 0.28); border-left: 3px solid var(--magenta); border-radius: 10px; box-shadow: 0 0 0 1px rgba(255, 46, 166, 0.10), 0 8px 26px rgba(0, 0, 0, 0.35); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); position: relative; z-index: 1; }
.about-tps h2 { margin: 0 0 6px; font-family: var(--ui); font-size: 19px; font-weight: 700; letter-spacing: 0.04em; color: var(--cyan); text-transform: none; }
.about-tps p { margin: 0; max-width: 72ch; font-family: var(--font); font-size: 15.5px; line-height: 1.6; color: #c9d8e8; }
@media (max-width: 640px) {
  .about-tps { margin: 10px 0 4px; padding: 12px 14px 12px; border-radius: 8px; }
  .about-tps h2 { font-size: 16.5px; margin-bottom: 4px; }
  .about-tps p { font-size: 14.5px; line-height: 1.55; }
}

/* Header tagline (under the 3040 subline). */
.brand-tag { display: block; margin-top: 10px; font-family: var(--font); font-size: clamp(14px, 1.25vw, 17px); font-weight: 400; line-height: 1.3; letter-spacing: 0.01em; color: #c9d8e8; white-space: nowrap; text-shadow: none; }
@media (max-width: 860px) { .brand-tag { font-size: 13px; margin-top: 6px; white-space: normal; } }
@media (max-width: 480px) { .brand-tag { font-size: 11.5px; line-height: 1.25; margin-top: 3px; max-width: 30ch; } }
/* About panel now sits at the foot of the home page. */
.home-hero .about-tps { margin: 18px 0 10px; }

/* ---- Launch prep (launch1): preview notices, footer legal row, info pages ---- */
.tag.soon { background: rgba(255, 46, 166, 0.14); color: #ff8fd0; border-color: var(--magenta); vertical-align: middle; }
h2 .tag.soon { font-size: 11px; margin-left: 8px; }
.preview-note { display: flex; gap: 10px; align-items: flex-start; margin: 10px 0 8px; padding: 10px 12px; border: 1px solid rgba(255, 46, 166, 0.45); border-left: 3px solid var(--magenta); border-radius: 8px; background: rgba(255, 46, 166, 0.07); }
.preview-note .tag { flex: 0 0 auto; margin: 2px 0 0; }
.preview-note p { margin: 0; font-size: 14px; line-height: 1.5; color: #d9e4ef; }
.footer-legal { margin-top: -2px; }
.footer-legal a { color: #c9d8e8; }
.footer-note { margin: 6px 0; max-width: 110ch; }
.footer-copy { margin: 6px 0; color: #c9d8e8; }
.footer-copy a, .contact-mail { color: var(--cyan); }
.fit-disclaimer { margin-top: 8px; font-size: 13px; color: #ffd27a; line-height: 1.45; }
.fit-disclaimer a { color: var(--cyan); }
.info-page { max-width: 860px; }
.info-page h2 { margin-top: 2px; }
.info-page h3 { margin: 16px 0 4px; color: var(--cyan); font-size: 16px; }
.info-page p, .info-page li { font-family: var(--font); font-size: 15px; line-height: 1.6; color: #c9d8e8; max-width: 75ch; }
.credit-list { padding-left: 18px; }
.credit-list li { margin: 0 0 10px; font-size: 14px; }
.credit-list a { color: var(--cyan); }
.ad-intro a.contact-mail { font-weight: 600; }
@media (max-width: 480px) {
  .preview-note { flex-direction: column; gap: 6px; }
  .info-page p, .info-page li { font-size: 14.5px; }
}
.site-footer .footer-links { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; }
@media (max-width: 640px) { .site-footer .footer-note { display: none; } .site-footer .footer-links { gap: 8px; } }
/* Advertise launch prices (ads1) */
.rate-terms { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 14px 0 12px; font-size: 14.5px; color: #dbe3ee; }
.rate-terms .tag { margin: 0; }
.rate-card { display: flex; flex-direction: column; }
.rate-card h3 { min-height: 2.4em; }
.rate-card .price .per { font-size: 14px; font-weight: 500; color: #b4c5d6; margin-left: 6px; letter-spacing: 0; font-family: var(--font); }
.rate-alt { margin: 0 0 6px; color: var(--cyan); font-size: 14px; }
@media (max-width: 900px) and (min-width: 641px) { .rate-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .rate-grid { grid-template-columns: 1fr; gap: 12px; }
  .rate-card h3 { min-height: 0; }
  .rate-card .price { font-size: 28px; }
  .rate-terms { font-size: 13.5px; }
}
.rate-card > .tag { align-self: flex-start; }
