/* Classic 66 cinematic menu + premium customization upgrade.
   Load after play-DTlxzHak.css. All selectors are scoped with c66-* names or
   explicit existing surfaces to avoid changing drive/shop behavior. */
:root {
  --c66-black: #050706;
  --c66-paper: #f3efe3;
  --c66-acid: #ddff38;
  --c66-orange: #ff5a1f;
  --c66-muted: rgba(243, 239, 227, .62);
  --c66-line: rgba(255, 255, 255, .16);
  --c66-orbit-angle: 0deg;
}

/* ── Cinematic front menu ─────────────────────────────────────────────── */
#start[data-upgraded="true"] {
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, .72fr);
  align-items: center;
  gap: clamp(32px, 7vw, 130px);
  padding: clamp(88px, 10vh, 132px) clamp(28px, 6vw, 108px) clamp(72px, 9vh, 110px);
  background:
    linear-gradient(90deg, rgba(2, 4, 3, .97) 0%, rgba(3, 6, 4, .82) 43%, rgba(3, 6, 4, .22) 72%, rgba(3, 6, 4, .36) 100%),
    linear-gradient(0deg, rgba(2, 4, 3, .7), transparent 38%);
  isolation: isolate;
  overflow: hidden;
}
#start[data-upgraded="true"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 30% 54% at 69% 56%, rgba(221, 255, 56, .11), transparent 67%),
    linear-gradient(112deg, transparent 58%, rgba(255, 255, 255, .06) 58.1%, transparent 58.45%);
}
#start[data-upgraded="true"]::after {
  content: "66";
  position: absolute;
  z-index: -2;
  right: -2vw;
  top: 48%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, .026);
  font: 900 min(42vw, 670px)/.75 "Barlow Condensed", sans-serif;
  letter-spacing: -.1em;
  pointer-events: none;
}
#start[data-upgraded="true"] .start-card {
  position: relative;
  z-index: 2;
  width: min(660px, 100%);
  max-width: none;
}
.c66-menu-copy { max-width: 650px; }
.c66-menu-topline {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-bottom: clamp(30px, 6vh, 70px);
  color: rgba(255,255,255,.58);
  font: 700 10px/1 Inter, sans-serif;
  letter-spacing: .18em;
}
.c66-menu-topline i { width: 34px; height: 1px; background: var(--c66-acid); }
#start[data-upgraded="true"] .eyebrow { color: var(--c66-acid); font-size: 11px; }
#start[data-upgraded="true"] h1 {
  margin: 9px 0 0;
  color: var(--c66-paper);
  font: 800 clamp(86px, 10vw, 176px)/.75 "Barlow Condensed", sans-serif;
  letter-spacing: -.065em;
  text-transform: uppercase;
  white-space: nowrap;
}
#start[data-upgraded="true"] h1 em {
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(221,255,56,.8);
  font-style: normal;
}
.c66-tagline {
  margin: clamp(20px, 3vh, 34px) 0 9px;
  color: #fff;
  font: 700 clamp(21px, 2.2vw, 31px)/1 "Barlow Condensed", sans-serif;
  letter-spacing: .01em;
  text-transform: uppercase;
}
#start[data-upgraded="true"] .lede {
  width: min(500px, 100%);
  margin: 0;
  color: var(--c66-muted);
  font-size: 14px;
  line-height: 1.65;
}
.c66-actions { gap: 8px; margin: 28px 0 0; }
.c66-actions button {
  min-height: 50px;
  border-radius: 0;
  padding: 0 21px;
  font: 800 13px/1 Inter, sans-serif;
  letter-spacing: .02em;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.c66-actions button:focus-visible,
.c66-build-link:focus-visible,
.c66-feature-dot:focus-visible,
.c66-modal button:focus-visible,
.c66-modal input:focus-visible,
.c66-modal select:focus-visible,
.c66-modal textarea:focus-visible { outline: 2px solid var(--c66-acid); outline-offset: 3px; }
.c66-actions .c66-drive {
  position: relative;
  min-width: 166px;
  justify-content: flex-start;
  padding-right: 45px;
  background: var(--c66-acid);
}
.c66-actions .c66-drive::after { content: "→"; position: absolute; right: 19px; font-size: 18px; }
.c66-actions .secondary:hover { background: #fff; color: var(--c66-black); border-color: #fff; transform: translateY(-1px); }
.c66-build-link {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 28px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c66-paper);
  text-align: left;
}
.c66-build-link span { color: rgba(255,255,255,.43); font-size: 11px; }
.c66-build-link b { border-bottom: 1px solid rgba(221,255,56,.5); color: var(--c66-acid); font-size: 12px; padding-bottom: 2px; }
.c66-build-link i { font-style: normal; }

.c66-feature-rail {
  position: relative;
  align-self: end;
  width: min(465px, 100%);
  margin-bottom: clamp(30px, 8vh, 90px);
  padding-left: 30px;
  border-left: 1px solid rgba(255,255,255,.22);
}
.c66-feature-stage { position: relative; min-height: 150px; }
.c66-feature {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  opacity: 0;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity .65s ease, transform .65s ease;
}
.c66-feature.is-active { opacity: 1; transform: none; pointer-events: auto; }
/* The cinematic menu remains in the DOM after Start. Its interactive children must
   not sit invisibly above portrait controls once the menu has faded out. */
#start.off,
#start.off * { pointer-events: none !important; }
.c66-feature p { margin: 0 0 13px; color: var(--c66-acid); font: 800 10px/1 Inter, sans-serif; letter-spacing: .2em; }
.c66-feature h2 { margin: 0 0 12px; color: #fff; font: 700 clamp(34px, 3.3vw, 56px)/.9 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.c66-feature > span { display: block; max-width: 390px; color: var(--c66-muted); font-size: 13px; line-height: 1.55; }
.c66-feature-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 25px; }
.c66-feature-count { font: 700 10px/1 Inter, sans-serif; letter-spacing: .12em; color: rgba(255,255,255,.55); }
.c66-feature-controls > div { display: flex; gap: 6px; }
.c66-feature-dot { width: 44px; height: 3px; min-height: 3px; padding: 0; border: 0; background: rgba(255,255,255,.22); }
.c66-feature-dot.is-active { background: var(--c66-acid); }
.c66-camera-label { display: flex; align-items: center; gap: 9px; margin: 24px 0 0; color: rgba(255,255,255,.36); font: 700 9px/1 Inter, sans-serif; letter-spacing: .17em; }
.c66-camera-label span { display: block; width: 7px; height: 7px; border: 1px solid var(--c66-acid); border-radius: 50%; box-shadow: 0 0 0 3px rgba(221,255,56,.08); animation: c66-pulse 2.4s infinite; }
.c66-grain { position: absolute; z-index: -1; inset: 0; pointer-events: none; opacity: .12; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 160 160' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.26'/%3E%3C/svg%3E"); }
.c66-menu-footer { position: absolute; left: clamp(28px,6vw,108px); right: clamp(28px,6vw,108px); bottom: 26px; display: flex; justify-content: space-between; color: rgba(255,255,255,.3); font: 700 9px/1 Inter,sans-serif; letter-spacing: .19em; }
@keyframes c66-pulse { 50% { opacity: .35; box-shadow: 0 0 0 7px rgba(221,255,56,0); } }

/* ── Premium in-game customizer ──────────────────────────────────────── */
#shop[data-upgraded="true"] {
  width: min(430px, 39vw);
  min-width: 360px;
  padding: 76px 30px 35px;
  background: rgba(6, 9, 7, .965);
  border-left: 1px solid rgba(255,255,255,.14);
  box-shadow: -40px 0 100px rgba(0,0,0,.32);
}
#shop[data-upgraded="true"]::before { content: "CUSTOM / 66"; position: absolute; top: 25px; left: 30px; color: rgba(255,255,255,.28); font: 700 9px/1 Inter,sans-serif; letter-spacing: .2em; }
#shop[data-upgraded="true"] > .eyebrow { font-size: 10px; }
#shop[data-upgraded="true"] > h2 { margin: 8px 0 7px; font-size: 49px; text-transform: uppercase; letter-spacing: -.025em; }
.c66-shop-intro { margin: 0 0 22px; color: var(--c66-muted); font-size: 12px; line-height: 1.55; }
#shop[data-upgraded="true"] .content { padding-bottom: 4px; }
#shop[data-upgraded="true"] .tiers { gap: 5px; }
#shop[data-upgraded="true"] .tier { min-height: 76px; border-radius: 0; padding: 10px; background: #0c110e; }
#shop[data-upgraded="true"] .tier.on { border-color: var(--c66-acid); box-shadow: inset 0 -3px var(--c66-acid); }
#shop[data-upgraded="true"] .shop-sec { padding: 16px 0; }
#shop[data-upgraded="true"] .sw { width: 35px; height: 35px; }
#shop[data-upgraded="true"] .plate,
#shop[data-upgraded="true"] select { border-radius: 0; }
body.c66-customizing .start:not(.off) { opacity: 0; pointer-events: none; }
body.c66-customizing .topbar,
body.c66-customizing .minimap,
body.c66-customizing .hud,
body.c66-customizing .prompt,
body.c66-customizing .status { opacity: 0; pointer-events: none; }
body.c66-customizing #c66p-hud,
body:has(#start:not(.off)) #c66p-hud,
body:has(.drawer.open) #c66p-hud,
body:has(.bigmap.open) #c66p-hud { opacity: 0; pointer-events: none; }
#shop[data-upgraded="true"] .content .order { display: none; }
body.c66-customizing::before {
  content: "";
  position: fixed;
  z-index: 5;
  inset: 0 430px 0 0;
  pointer-events: none;
  background: radial-gradient(ellipse 55% 38% at 52% 70%, rgba(221,255,56,.09), transparent 72%), linear-gradient(90deg, rgba(0,0,0,.22), transparent 28%, transparent 72%, rgba(0,0,0,.28));
}
.c66-orbit-guide {
  display: none;
  position: fixed;
  z-index: 29;
  left: calc((100vw - min(430px, 39vw))/2);
  bottom: 30px;
  transform: translateX(-50%);
  align-items: center;
  gap: 10px;
  pointer-events: none;
  color: rgba(255,255,255,.78);
  font: 800 10px/1 Inter,sans-serif;
  letter-spacing: .14em;
}
body.c66-customizing .c66-orbit-guide { display: flex; }
.c66-orbit-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.28); border-radius: 50%; color: var(--c66-acid); font-size: 17px; }
.c66-orbit-guide small { color: rgba(255,255,255,.35); font-size: 8px; }
.c66-angle { margin-left: 4px; color: var(--c66-acid); font-style: normal; font-variant-numeric: tabular-nums; }
body.c66-orbiting .c66-orbit-icon { background: var(--c66-acid); color: var(--c66-black); }
.c66-shop-request { margin: 24px -8px 0; padding: 22px; background: var(--c66-paper); color: #111; }
.c66-shop-request > span { color: #54574e; font: 800 9px/1 Inter,sans-serif; letter-spacing: .16em; }
.c66-shop-request h3 { margin: 8px 0; font: 800 26px/.95 "Barlow Condensed",sans-serif; text-transform: uppercase; }
.c66-shop-request p { margin: 0 0 16px; color: #50544b; font-size: 11px; line-height: 1.55; }
.c66-shop-request p b { color: #111; }
.c66-shop-request .primary { width: 100%; border-radius: 0; justify-content: space-between; font-size: 12px; }
.c66-shop-request i { font-style: normal; }

/* ── Honest car-build request flow ───────────────────────────────────── */
.c66-modal {
  width: min(820px, calc(100vw - 28px));
  max-height: min(860px, calc(100vh - 28px));
  padding: 0;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 0;
  background: #090c0a;
  color: var(--c66-paper);
  box-shadow: 0 28px 100px rgba(0,0,0,.75);
  overflow: auto;
}
.c66-modal::backdrop { background: rgba(1,3,2,.82); backdrop-filter: blur(8px); }
.c66-request { padding: clamp(24px, 5vw, 54px); }
.c66-request > header { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.c66-request h2 { max-width: 580px; margin: 10px 0 25px; font: 800 clamp(39px,6vw,67px)/.85 "Barlow Condensed",sans-serif; letter-spacing: -.035em; text-transform: uppercase; }
.c66-modal-close { flex: 0 0 auto; width: 42px; height: 42px; border: 1px solid var(--c66-line); border-radius: 0; background: transparent; color: #fff; font-size: 24px; }
.c66-price-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.c66-price-row button { display: grid; grid-template-columns: 1fr auto; gap: 5px 16px; padding: 17px; border: 1px solid var(--c66-line); border-radius: 0; background: #0d120f; color: #fff; text-align: left; }
.c66-price-row button:hover,
.c66-price-row button.is-selected { border-color: var(--c66-acid); box-shadow: inset 0 -3px var(--c66-acid); }
.c66-price-row span { font: 800 12px/1 Inter,sans-serif; letter-spacing: .08em; }
.c66-price-row b { color: var(--c66-acid); font: 800 18px/1 "Barlow Condensed",sans-serif; }
.c66-price-row small { grid-column: 1 / -1; color: var(--c66-muted); }
.c66-price-note { margin: 11px 0 25px; color: rgba(255,255,255,.48); font-size: 11px; line-height: 1.5; }
.c66-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 17px 14px; }
.c66-fields label { display: flex; flex-direction: column; gap: 8px; }
.c66-fields label > span { color: rgba(255,255,255,.65); font: 800 9px/1 Inter,sans-serif; letter-spacing: .14em; }
.c66-fields label > span i { color: var(--c66-acid); font-style: normal; letter-spacing: .04em; }
.c66-field-wide { grid-column: 1 / -1; }
.c66-fields input,
.c66-fields select,
.c66-fields textarea { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid rgba(255,255,255,.18); border-radius: 0; background: #101512; color: #fff; outline: 0; }
.c66-fields textarea { min-height: 94px; resize: vertical; }
.c66-fields input::placeholder,
.c66-fields textarea::placeholder { color: rgba(255,255,255,.3); }
.c66-consent { display: flex; align-items: flex-start; gap: 11px; margin: 20px 0 24px; color: rgba(255,255,255,.58); font-size: 11px; line-height: 1.5; }
.c66-consent input { width: 17px; height: 17px; flex: 0 0 auto; accent-color: var(--c66-acid); }
.c66-request-status { min-height: 20px; margin: -10px 0 14px; color: var(--c66-acid); font-size: 12px; line-height: 1.45; }
.c66-request footer { display: flex; justify-content: flex-end; gap: 8px; padding-top: 20px; border-top: 1px solid var(--c66-line); }
.c66-request footer button { min-height: 48px; border-radius: 0; }
.c66-request footer i { font-style: normal; }

/* ── Mobile driving HUD ─────────────────────────────────────────────── */
.tbar .touch-action svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.tbar .touch-action span { display: block; }
.tbar .rew svg { fill: currentColor; stroke: none; }

@media (pointer: coarse), (max-width: 560px), (max-width: 1200px) and (max-height: 600px) {
  .touch { display: block; }
  .touch button { position: fixed; z-index: 9; border: 1px solid rgba(255,255,255,.13); color: #fff; touch-action: none; -webkit-tap-highlight-color: transparent; font: 800 12px Barlow Condensed, sans-serif; letter-spacing: .08em; }
  .stick { position: fixed; z-index: 9; touch-action: none; }
  .knob { position: absolute; left: 50%; top: 50%; }
  .tbar { position: fixed; z-index: 9; left: 50%; transform: translateX(-50%); display: flex; }
  .topbar { height: 54px; padding: 0 max(10px, env(safe-area-inset-left)); gap: 7px; background: linear-gradient(180deg, rgba(7,11,9,.96), rgba(7,11,9,.8)); }
  .brand b { font-size: 20px; letter-spacing: .12em; }
  .brand span { font-size: 8px; }
  .mode-pill { min-height: 32px; padding: 0 11px; }
  .topbar nav { gap: 4px; }
  .topbar nav .hud-btn { min-height: 36px; padding: 0 11px; border-radius: 10px; font-size: 12px; background: rgba(14,21,18,.86); box-shadow: none; }

  .minimap { top: 60px; right: 8px; width: 92px; padding: 4px; border-radius: 15px; }
  #minimap { width: 82px; height: 82px; }
  .minimap .mm-foot { display: none; }
  .compass { transform-origin: 11px 45px; }

  .hud { inset: 60px auto auto 50% !important; width: auto; min-width: 86px; padding: 3px 10px; transform: translateX(-50%) !important; border: 1px solid rgba(255,255,255,.12); border-radius: 999px; background: rgba(7,11,9,.78); box-shadow: none; backdrop-filter: blur(8px); }
  .hud .bars, .hud .route, .hud .drift { display: none; }
  .hud .speedo { display: flex; align-items: baseline; justify-content: center; gap: 4px; border: 0; padding: 0; }
  .hud .speedo #speed { font-size: 27px; line-height: 1; }
  .hud .speedo small { font-size: 8px; }
  .hud .gear { font-size: 8px; margin-left: 4px; }

  .stick { left: max(10px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); width: 180px; height: 70px; border: 1px solid rgba(255,255,255,.18); border-radius: 20px; background: rgba(7,11,9,.76); box-shadow: 0 7px 22px rgba(0,0,0,.22); }
  .stick::before { content: "TAP OR DRAG"; position: absolute; left: 50%; bottom: 5px; transform: translateX(-50%); color: rgba(255,255,255,.42); font: 800 7px Inter, sans-serif; letter-spacing: .14em; white-space: nowrap; }
  .stick:active { border-color: rgba(221,255,56,.72); background: rgba(13,20,16,.9); }
  .steer-side { position: absolute; top: 50%; transform: translateY(-55%); color: rgba(255,255,255,.58); font: 900 9px Barlow Condensed, sans-serif; letter-spacing: .1em; pointer-events: none; }
  .steer-left { left: 12px; }
  .steer-right { right: 12px; }
  .knob { z-index: 2; width: 48px; height: 48px; margin: -24px 0 0 -24px; border: 2px solid rgba(221,255,56,.82); box-shadow: 0 5px 16px rgba(0,0,0,.35); }

  .pedal { right: max(10px, env(safe-area-inset-right)); width: 68px; border-radius: 14px; background: rgba(7,11,9,.72) !important; }
  .pedal.gas { bottom: max(10px, env(safe-area-inset-bottom)); height: 84px; }
  .pedal.brake { right: calc(max(10px, env(safe-area-inset-right)) + 76px); bottom: max(10px, env(safe-area-inset-bottom)); height: 62px; }
  .touch .tb.drift { display: block !important; right: calc(max(10px, env(safe-area-inset-right)) + 76px); width: 58px !important; min-width: 58px !important; height: 36px; padding: 0 !important; border-radius: 11px; }
  .touch .tb.drift { bottom: calc(max(10px, env(safe-area-inset-bottom)) + 70px); }

  .tbar { bottom: max(10px, env(safe-area-inset-bottom)); gap: 4px; }
  .tbar button, .tbar .touch-action { position: static; display: grid; place-items: center; align-content: center; gap: 1px; width: 44px; height: 44px; padding: 2px; border-radius: 10px; background: rgba(7,11,9,.76); box-shadow: none; }
  .tbar .touch-action svg { width: 17px; height: 17px; }
  .tbar .touch-action span { font: 800 6px/1 Inter, sans-serif; letter-spacing: .08em; color: rgba(255,255,255,.68); }
}

@media (pointer: coarse) and (max-height: 430px), (max-width: 1200px) and (max-height: 430px) {
  .brand span, .mode-pill, .topbar nav [data-open="help"] { display: none; }
  .topbar nav .hud-btn { min-height: 34px; padding-inline: 10px; }
  .minimap { width: 86px; }
  #minimap { width: 76px; height: 76px; }
}

@media (max-width: 560px) and (orientation: portrait) {
  .topbar { height: 50px; padding: env(safe-area-inset-top) 7px 0; gap: 4px; }
  .brand b { font-size: 16px; letter-spacing: .09em; }
  .brand span, .mode-pill, .topbar nav [data-open="help"], .topbar nav kbd { display: none !important; }
  .topbar nav { gap: 3px; margin-left: auto; }
  .topbar nav .hud-btn { min-height: 34px; padding: 0 7px; border-radius: 9px; font-size: 9px; letter-spacing: .02em; }

  .minimap { top: calc(56px + env(safe-area-inset-top)); right: 7px; width: 76px; padding: 3px; border-radius: 13px; }
  #minimap { width: 68px; height: 68px; }
  .compass { transform-origin: 10px 38px; }

  .hud { top: calc(112px + env(safe-area-inset-top)) !important; min-width: 92px; padding: 3px 8px; }
  .hud .speedo #speed { font-size: 24px; }

  .stick { left: max(9px, env(safe-area-inset-left)); bottom: max(14px, env(safe-area-inset-bottom)); width: min(46vw, 180px); height: 90px; border-radius: 22px; }
  .steer-side { font-size: 10px; }
  .knob { width: 52px; height: 52px; margin: -26px 0 0 -26px; }

  .pedal { right: max(9px, env(safe-area-inset-right)); width: 70px; }
  .pedal.gas { bottom: max(14px, env(safe-area-inset-bottom)); height: 108px; }
  .pedal.brake { right: calc(max(9px, env(safe-area-inset-right)) + 78px); bottom: max(14px, env(safe-area-inset-bottom)); width: 70px; height: 72px; }
  .touch .tb.drift { right: calc(max(9px, env(safe-area-inset-right)) + 78px); bottom: calc(max(14px, env(safe-area-inset-bottom)) + 80px); width: 62px !important; height: 40px; }

  .tbar { bottom: calc(max(14px, env(safe-area-inset-bottom)) + 124px); width: min(292px, calc(100vw - 22px)); justify-content: center; gap: 4px; }
  .tbar button, .tbar .touch-action { width: 44px; height: 44px; flex: 0 0 44px; }

  #toast { top: calc(156px + env(safe-area-inset-top)); max-width: calc(100vw - 26px); font-size: 11px; }
  .prompt { bottom: calc(190px + env(safe-area-inset-bottom)); max-width: calc(100vw - 24px); }

  .drawer { width: 100vw; max-width: none; }
  #bigmap .bigmap-card { width: calc(100vw - 16px); height: min(82vh, 680px); margin: 8px; }
  #bigmap-canvas { max-height: 38vh; }
  #travel .results { max-height: 46vh; }

  .c66-request-dialog { align-items: flex-end; padding: 8px; }
  .c66-request { width: 100%; max-height: calc(100dvh - 16px); overflow-y: auto; border-radius: 18px 18px 8px 8px; }
}

/* ── Responsive + motion safety ──────────────────────────────────────── */
@media (max-width: 900px) {
  #start[data-upgraded="true"] { grid-template-columns: 1fr; align-content: end; gap: 32px; padding-bottom: 62px; }
  #start[data-upgraded="true"] h1 { font-size: clamp(76px, 19vw, 132px); }
  .c66-menu-topline { margin-bottom: 28px; }
  .c66-feature-rail { align-self: auto; width: min(620px, 100%); min-height: 0; margin: 0; }
  .c66-feature-stage { min-height: 88px; }
  .c66-feature h2 { font-size: 30px; }
  .c66-feature > span { display: none; }
  .c66-feature-controls { margin-top: 10px; }
  .c66-camera-label { display: none; }
  .c66-menu-footer { display: none; }
  #shop[data-upgraded="true"] { width: min(430px, 100vw); min-width: 0; }
  body.c66-customizing::before { right: min(430px, 100vw); }
  .c66-orbit-guide { left: calc((100vw - min(430px, 100vw))/2); }
}
@media (max-width: 560px) {
  #start[data-upgraded="true"] { display: flex; flex-direction: column; justify-content: flex-end; align-items: stretch; gap: 22px; padding: max(76px, env(safe-area-inset-top)) 19px max(24px, env(safe-area-inset-bottom)); overflow-y: auto; }
  #start[data-upgraded="true"]::after { top: 31%; font-size: 75vw; }
  #start[data-upgraded="true"] h1 { font-size: clamp(68px, 24vw, 112px); }
  .c66-menu-topline { margin-bottom: 20px; font-size: 8px; }
  .c66-tagline { margin-top: 18px; font-size: 21px; }
  #start[data-upgraded="true"] .lede { display: none; }
  .c66-actions { display: grid; grid-template-columns: 1fr 1fr; margin-top: 20px; }
  .c66-actions .c66-drive { grid-column: 1 / -1; width: 100%; min-width: 0; }
  .c66-actions button { min-height: 48px; padding-inline: 15px; }
  .c66-build-link { justify-content: space-between; margin-top: 18px; }
  .c66-build-link span { max-width: 120px; }
  .c66-feature-rail { padding-left: 16px; }
  .c66-feature-stage { min-height: 66px; }
  .c66-feature p { margin-bottom: 8px; font-size: 8px; }
  .c66-feature h2 { margin: 0; font-size: 26px; }
  .c66-feature-dot { width: 31px; }
  #shop[data-upgraded="true"] { padding: 66px 18px 30px; }
  body.c66-customizing::before,
  body.c66-customizing .c66-orbit-guide { display: none; }
  .c66-price-row, .c66-fields { grid-template-columns: 1fr; }
  .c66-field-wide { grid-column: auto; }
  .c66-request { padding: 25px 18px; }
  .c66-request h2 { font-size: 42px; }
  .c66-request footer { display: grid; grid-template-columns: .7fr 1.3fr; }
}
@media (max-height: 690px) and (min-width: 561px) {
  #start[data-upgraded="true"] { padding-top: 75px; padding-bottom: 45px; }
  .c66-menu-topline { margin-bottom: 22px; }
  #start[data-upgraded="true"] h1 { font-size: clamp(80px, 9vw, 130px); }
  .c66-tagline { margin-top: 18px; }
  .c66-feature-rail { margin-bottom: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .c66-camera-label span { animation: none; }
  .c66-feature, #start[data-upgraded="true"], #shop[data-upgraded="true"] { transition-duration: .01ms !important; }
}
