/* ===========================================================================
   Mediabox Radio — skin-drive.css — "Night Drive" (applied 2026-09-29)
   The phone is the family car's head unit at night: piano-black faceplate, a
   cool-white dot-matrix display that shows its unlit cells, key legends lit in
   coral-red instrument light, presets in banks of six, one endless knob.
   Rule of the faceplate: coral is light (lit legends and LEDs); gray is print.
   Ported from concepts/night-drive onto the shared page; scoped to
   html[data-skin="drive"]. Palette covenant: see skin-base.css.
   =========================================================================== */

[data-skin="drive"] {
  --plate-0: #040506;
  --plate-1: #090b0d;
  --plate-2: #101316;
  --plate-3: #191d22;
  --bevel: #2a3038;
  --key-top: #171a1f;
  --key-bot: #0c0e11;
  --key-hi: rgba(210, 224, 245, 0.10);
  --key-lo: rgba(0, 0, 0, 0.70);
  --lamp: #ff5b49;          /* instrument light: legends, lit LEDs */
  --lamp-hot: #ff8a7a;
  --lamp-off: #3a1411;
  --silk: #8e98a6;          /* printed legends */
  --glass: #030405;
  --dot: #eaf2ff;
  --dot-dim: #aebccd;
  --dot-ghost: #111820;
  --dot-rule: #2f3843;
  --info: #8fb8ff;          /* reconnecting */
  --knurl-a: #1d2127;
  --knurl-b: #08090b;
  --pip-off: #272d35;
  --gloss: rgba(214, 228, 250, 0.06);
  --gloss-hi: rgba(226, 236, 255, 0.16);
  --sweep: rgba(226, 236, 255, 0.07);
  --shade: rgba(0, 0, 0, 0.55);
  --shade-deep: rgba(0, 0, 0, 0.85);
  --clear: rgba(0, 0, 0, 0);
  --font-dot: "Doto", ui-monospace, monospace;
  --font-legend: "Saira", "Arial Narrow", sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  background: var(--plate-1);
  color: var(--dot);
  font-family: var(--font-legend);
}
[data-skin="drive"] :focus-visible { outline: 2px solid var(--dot); outline-offset: 2px; }

/* ---------- faceplate ---------- */
[data-skin="drive"] .shell {
  position: relative;
  max-width: 430px;
  min-height: 100dvh;
  margin: 0 auto;
  padding: max(10px, env(safe-area-inset-top)) 12px max(16px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(158deg, var(--gloss) 0%, var(--clear) 34%),
    linear-gradient(122deg, var(--clear) 54%, var(--gloss) 62%, var(--clear) 71%),
    linear-gradient(180deg, var(--plate-2) 0%, var(--plate-1) 34%, var(--plate-0) 100%);
}
/* one highway lamp passes over the gloss once after load; off for reduced motion */
[data-skin="drive"] .shell::after {
  content: "";
  position: absolute;
  inset: -10% -80%;
  pointer-events: none;
  background: linear-gradient(104deg, var(--clear) 45%, var(--sweep) 50%, var(--clear) 55%);
  transform: translateX(-60%);
  animation: drive-lamp-pass 7s linear 3s 1;
}
@keyframes drive-lamp-pass {
  0% { transform: translateX(-60%); }
  28%, 100% { transform: translateX(60%); }
}

/* ---------- top strip: the look switch as two small keys ---------- */
[data-skin="drive"] .bar {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 4px;
}
[data-skin="drive"] .bar .wordmark,
[data-skin="drive"] .bar .onair { display: none; }
[data-skin="drive"] .look { gap: 6px; }
[data-skin="drive"] .look-btn {
  position: relative;
  min-width: 76px;
  padding: 8px 12px 0;
  border-radius: 7px;
  color: var(--silk);
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  box-shadow: inset 0 1px 0 var(--key-hi), inset 0 -1px 0 var(--key-lo), 0 0 0 1px var(--plate-0), 0 3px 6px var(--shade);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
[data-skin="drive"] .look-btn::before {
  content: "";
  position: absolute;
  top: 5px;
  left: 50%;
  width: 14px;
  height: 3px;
  margin-left: -7px;
  border-radius: 2px;
  background: var(--lamp-off);
}
[data-skin="drive"] .look-btn[aria-pressed="true"] { color: var(--lamp); }
[data-skin="drive"] .look-btn[aria-pressed="true"]::before { background: var(--lamp-hot); }

/* ---------- which parts this look uses ---------- */
[data-skin="drive"] .unit { display: flex; flex-direction: column; flex: 1; }
[data-skin="drive"] .peek,
[data-skin="drive"] .numeral,
[data-skin="drive"] .volume,
[data-skin="drive"] .st-freq .fm,
[data-skin="drive"] .ic-chev,
[data-skin="drive"] .lbl-num { display: none; }

/* ---------- the dot-matrix display ---------- */
[data-skin="drive"] .display {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  column-gap: 8px;
  border-radius: 10px;
  padding: 16px 16px 10px;
  background: var(--glass);
  box-shadow: 0 0 0 2px var(--plate-0), 0 0 0 3px var(--bevel), inset 0 4px 12px var(--shade-deep);
  font-family: var(--font-dot);
  font-variation-settings: "ROND" 100;
}
[data-skin="drive"] .display::after { /* the smoked glass in front of the dots */
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(174deg, var(--gloss) 0%, var(--clear) 24%);
}
[data-skin="drive"] .dm-main   { grid-column: 1 / -1; grid-row: 1; }
[data-skin="drive"] .st-format { grid-column: 1 / -1; grid-row: 2; }
[data-skin="drive"] .r1        { grid-column: 1 / -1; grid-row: 3; }
[data-skin="drive"] .slot      { grid-column: 1 / -1; grid-row: 4; }
[data-skin="drive"] .r2        { grid-column: 1 / -1; grid-row: 5; }
[data-skin="drive"] .nb-line   { display: contents; }
[data-skin="drive"] .nb-prev   { grid-column: 1; grid-row: 6; }
[data-skin="drive"] .st-freq   { grid-column: 2; grid-row: 6; }
[data-skin="drive"] .nb-next   { grid-column: 3; grid-row: 6; justify-self: end; }
[data-skin="drive"] .tuner     { grid-column: 1 / -1; grid-row: 7; }

/* main line: character cells of 5x7 dots; unlit dots stay faintly visible. skins.js sets --cells to
   max(11, name length) and fills the ghost layers ("#", "$" and "H" together light all 35 dots). */
[data-skin="drive"] .dm-main {
  position: relative;
  margin-top: -6px;
  font-size: clamp(20px, calc((min(100vw, 430px) - 58px) / (var(--cells, 11) * 0.61)), 50px);
  font-weight: 760;
  line-height: 1;
  white-space: nowrap;
}
[data-skin="drive"] .ghost { position: absolute; left: 0; top: 0; color: var(--dot-ghost); }
[data-skin="drive"] .st-name {
  position: relative;
  font: inherit;
  text-transform: uppercase;
  color: var(--dot);
}
[data-skin="drive"] .display:not([data-tune="center"]) .station-hero { color: var(--dot-dim); }
[data-skin="drive"] .st-format {
  margin-top: 8px;
  min-height: 2.5em;
  font-size: 16px;
  font-weight: 860;
  line-height: 1.25;
  color: var(--dot-dim);
}
[data-skin="drive"] .rule {
  height: 3px;
  margin: 12px 0;
  background: radial-gradient(circle, var(--dot-rule) 0 0.9px, var(--clear) 1.2px) 0 0 / 4px 3px repeat-x;
}
[data-skin="drive"] .slot { height: 92px; overflow: hidden; }   /* W3: 12 px taller so the FE-35 exit fits without moving the dial */
[data-skin="drive"] .standby { font-size: 20px; font-weight: 820; line-height: 1.25; color: var(--dot-dim); }
[data-skin="drive"] .standby b { font-weight: 900; color: var(--dot); }
[data-skin="drive"] .display-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.2;
  color: var(--dot);
}
[data-skin="drive"] .display-status:empty { display: none; }
[data-skin="drive"] .display-status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; flex: none; }
[data-skin="drive"] .display-status[data-state="connecting"] { color: var(--dot-dim); }
[data-skin="drive"] .display-status[data-state="reconnecting"] { color: var(--info); }
[data-skin="drive"] .display-status[data-state="reconnecting"]::before { animation: lamp-blink 1.1s steps(2, jump-none) infinite; }
[data-skin="drive"] .display-status[data-state="bad"] { color: var(--lamp-hot); }
[data-skin="drive"] .now .artist,
[data-skin="drive"] .now .title {
  font-size: 26px;
  font-weight: 820;
  line-height: 1.2;
  color: var(--dot);
  padding-left: 1.2em;     /* hang the title under the artist, on the cell grid */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  unicode-bidi: plaintext;
}
[data-skin="drive"] .dm { fill: currentColor; display: inline-block; }
[data-skin="drive"] .dm-note { width: 0.5em; height: 0.7em; margin-left: -1.2em; margin-right: 0.7em; vertical-align: 0; }
[data-skin="drive"] .now.changed .artist,
[data-skin="drive"] .now.changed .title { animation: drive-flicker 420ms steps(3, jump-none); }
@keyframes drive-flicker { 0% { opacity: 0.2; } 100% { opacity: 1; } }

[data-skin="drive"] .nb,
[data-skin="drive"] .st-freq {
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: nowrap;
  min-width: 0;
}
[data-skin="drive"] .nb { color: var(--dot); overflow: hidden; }
[data-skin="drive"] .st-freq { color: var(--dot-dim); justify-self: center; gap: 0.5em; }
[data-skin="drive"] .dm-arrow { width: 0.9em; height: 0.7em; flex: none; }

/* the station strip is the dial: drag it, and the live station stands inverted under the cursor */
[data-skin="drive"] .tuner {
  position: relative;
  height: 50px;
  margin: 12px -16px 0;
  overflow: hidden;
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
  outline: none;
}
[data-skin="drive"] .tuner:focus-visible { outline: 2px solid var(--dot); outline-offset: -2px; }
[data-skin="drive"] .tuner.dragging { cursor: grabbing; }
[data-skin="drive"] .tuner .needle,
[data-skin="drive"] .tuner .ticks,
[data-skin="drive"] .detent-freq,
[data-skin="drive"] .detent-stalk { display: none; }
[data-skin="drive"] .band { position: absolute; left: 50%; top: 0; bottom: 0; width: 0; will-change: transform; }
[data-skin="drive"] .detents { position: absolute; left: 0; top: 0; bottom: 0; width: 0; }
[data-skin="drive"] .detent {
  position: absolute;
  top: 4px;
  bottom: 4px;
  transform: translateX(-50%);
  width: calc(var(--sp) - 6px);
  display: grid;
  place-content: center;
  border-radius: 4px;
  text-align: center;
}
[data-skin="drive"] .detent-name {
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
  color: var(--dot-dim);
  max-width: calc(var(--sp) - 14px);
  text-wrap: balance;
}
[data-skin="drive"] .detent.near .detent-name { color: var(--dot); }
[data-skin="drive"] .detent.live { background: var(--dot); }
[data-skin="drive"] .detent.live .detent-name { color: var(--glass); }
[data-skin="drive"] .seam {
  position: absolute;
  top: 10px;
  bottom: 10px;
  width: 0;
  border-left: 2px dotted var(--dot-rule);
  transform: translateX(-50%);
}

/* ---------- keys ---------- */
[data-skin="drive"] .key,
[data-skin="drive"] .dot {
  position: relative;
  min-width: 44px;
  min-height: 44px;
  border-radius: 7px;
  color: var(--lamp);
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  box-shadow: inset 0 1px 0 var(--key-hi), inset 0 -1px 0 var(--key-lo), 0 0 0 1px var(--plate-0), 0 3px 6px var(--shade);
  font-family: var(--font-legend);
  font-weight: 600;
  display: grid;
  place-items: center;
  transition: transform 90ms var(--ease);
}
[data-skin="drive"] .key:active,
[data-skin="drive"] .dot:active { transform: translateY(1px); }
[data-skin="drive"] .led::before,
[data-skin="drive"] .dot i { /* indicator slit; lit when the key's state is on */
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 16px;
  height: 3px;
  margin-left: -8px;
  border-radius: 2px;
  background: var(--lamp-off);
}
[data-skin="drive"] .led[aria-pressed="true"]::before,
[data-skin="drive"] .dot[aria-current="true"] i { background: var(--lamp-hot); }

/* presets: banks of six; skins.js sets data-bank on #dots and numbers each key within its bank */
[data-skin="drive"] .presets { margin-top: 8px; }
[data-skin="drive"] .dots { display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
[data-skin="drive"] .dots[data-bank="1"] .dot:nth-child(n+7),
[data-skin="drive"] .dots[data-bank="2"] .dot:nth-child(-n+6),
[data-skin="drive"] .dots[data-bank="2"] .dot:nth-child(n+13),
[data-skin="drive"] .dots[data-bank="3"] .dot:nth-child(-n+12) { display: none; }
[data-skin="drive"] .dot {
  height: 60px;
  padding-top: 8px;
  gap: 1px;
  align-content: center;
}
[data-skin="drive"] .dot-num-abs,
[data-skin="drive"] .dot-kbd { display: none; }
[data-skin="drive"] .dot-num-bank { font-size: 24px; line-height: 1; }
[data-skin="drive"] .dot-name {
  font-size: 11px;
  font-weight: 600;
  font-stretch: 75%;
  letter-spacing: 0.02em;
  color: var(--silk);
  white-space: nowrap;
}
[data-skin="drive"] .dot[aria-current="true"] .dot-name { color: var(--dot-dim); }

/* function row: FM1 FM2 FM3, MUTE, the VOL rocker */
[data-skin="drive"] .fn { margin-top: 8px; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px; }
[data-skin="drive"] .fn .key { height: 56px; font-size: 15px; letter-spacing: 0.05em; padding-top: 6px; }
[data-skin="drive"] .mute { gap: 2px; padding-top: 8px; }
[data-skin="drive"] .mute svg { width: 20px; height: 18px; }
[data-skin="drive"] .mute .spk { fill: currentColor; }
[data-skin="drive"] .mute .wave,
[data-skin="drive"] .mute .slash { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
[data-skin="drive"] .mute .slash { display: none; }
[data-skin="drive"] .mute.off .wave { display: none; }
[data-skin="drive"] .mute.off .slash { display: inline; }
[data-skin="drive"] .mute-lbl { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
[data-skin="drive"] .rocker {
  grid-column: span 2;
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 56px;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--key-top), var(--key-bot));
  box-shadow: inset 0 1px 0 var(--key-hi), inset 0 -1px 0 var(--key-lo), 0 0 0 1px var(--plate-0), 0 3px 6px var(--shade);
}
[data-skin="drive"] .rocker button { color: var(--lamp); display: grid; align-items: center; min-height: 44px; padding: 0 14px; }
[data-skin="drive"] .rocker button:first-child { justify-items: start; }
[data-skin="drive"] .rocker button:last-of-type { justify-items: end; }
[data-skin="drive"] .rocker button svg { width: 16px; height: 16px; fill: currentColor; }
[data-skin="drive"] .vol-lbl {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding-left: 0.2em;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--lamp);
  pointer-events: none;
}

/* ---------- tuning cluster: seek, knob, seek ---------- */
[data-skin="drive"] .transport {
  flex: 1;
  display: grid;
  grid-template-columns: 52px 1fr 52px;
  align-items: center;
  min-height: 244px;
  padding-top: 14px;
}
[data-skin="drive"] .seek { height: 108px; gap: 8px; align-content: center; font-size: 11px; letter-spacing: 0.14em; }
[data-skin="drive"] .seek svg { width: 24px; height: 16px; fill: currentColor; }
[data-skin="drive"] .well { position: relative; height: 236px; }
[data-skin="drive"] .well > * { position: absolute; left: 50%; top: 50%; }
[data-skin="drive"] .tune-legend {
  top: -8px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.24em;
  color: var(--silk);
}
[data-skin="drive"] .tune-legend svg { width: 6px; height: 8px; fill: currentColor; }
[data-skin="drive"] .pips { list-style: none; margin: 0; padding: 0; }
[data-skin="drive"] .pips li {
  position: absolute;
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--pip-off);
  transform: rotate(calc(var(--i) * 24deg)) translateY(-102px);
}
[data-skin="drive"] .pips li.on { width: 8px; height: 8px; margin: -4px 0 0 -4px; background: var(--lamp); }
[data-skin="drive"] .knob {
  width: 176px;
  height: 176px;
  margin: -88px 0 0 -88px;
  border-radius: 50%;
  cursor: grab;
  touch-action: none;
  background:
    linear-gradient(180deg, var(--gloss-hi) 0%, var(--clear) 42%, var(--shade) 100%),
    repeating-conic-gradient(var(--knurl-a) 0deg 1.5deg, var(--knurl-b) 1.5deg 3deg);
  box-shadow: 0 0 0 1px var(--plate-0), 0 0 0 2px var(--bevel), 0 16px 30px var(--shade-deep);
}
[data-skin="drive"] .knob:active { cursor: grabbing; }
[data-skin="drive"] .knob::before { /* satin top face of the knob */
  content: "";
  position: absolute;
  inset: 15px;
  border-radius: 50%;
  background: conic-gradient(from 200deg, var(--plate-3), var(--plate-1) 22%, var(--plate-2) 48%, var(--plate-0) 74%, var(--plate-3));
  box-shadow: 0 0 0 1px var(--plate-0), inset 0 1px 0 var(--gloss-hi);
}
[data-skin="drive"] .pointer { /* lit notch: skins.js turns it with the dial (--knob-deg) */
  position: absolute;
  left: 50%;
  top: 50%;
  width: 4px;
  height: 16px;
  margin: -8px 0 0 -2px;
  border-radius: 2px;
  background: var(--lamp);
  transform: rotate(var(--knob-deg, 0deg)) translateY(-63px);
}
[data-skin="drive"] .cap {
  width: 100px;
  height: 100px;
  margin: -50px 0 0 -50px;
  border-radius: 50%;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 7px;
  color: var(--lamp);
  background: radial-gradient(circle at 50% 26%, var(--plate-3), var(--plate-1) 58%, var(--plate-0));
  box-shadow: 0 0 0 3px var(--plate-0), 0 0 0 4px var(--bevel), inset 0 1px 0 var(--gloss-hi), 0 6px 14px var(--shade);
  font-family: var(--font-legend);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding-left: 0.16em;
  text-transform: uppercase;
}
[data-skin="drive"] .cap svg { width: 16px; height: 16px; fill: currentColor; }
[data-skin="drive"] .cap:active { transform: translateY(1px); }
[data-skin="drive"] .shell:has(.display-status[data-state="connecting"]) .cap svg,
[data-skin="drive"] .shell:has(.display-status[data-state="reconnecting"]) .cap svg { animation: lamp-blink 1.1s steps(2, jump-none) infinite; }

/* ---------- foot: STATIC and the maker's badge ---------- */
[data-skin="drive"] .foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 2px; }
[data-skin="drive"] .hiss { height: 48px; padding: 8px 14px 0; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; }
[data-skin="drive"] .badge {
  font-size: 11px;
  font-weight: 600;
  font-stretch: 125%;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--silk);
}

/* ---------- W3 (2026-10-30): the tools row, the recovery exit and the dialogs on the head unit ---------- */
/* The tokens below feed the shared rules in skin-base.css, so this block adds no color of its own. */
[data-skin="drive"] {
  --w3-edge: transparent;
  --w3-r: 7px;
  --w3-btn-bg: linear-gradient(180deg, var(--key-top), var(--key-bot));
  --w3-btn-shadow: inset 0 1px 0 var(--key-hi), inset 0 -1px 0 var(--key-lo), 0 0 0 1px var(--plate-0), 0 3px 6px var(--shade);
  --w3-btn-ink: var(--lamp);
  --w3-font: var(--font-legend);
  --w3-note: var(--info);
  --w3-dlg-bg: var(--plate-1);
  --w3-dlg-ink: var(--dot);
  --w3-dlg-ink-2: var(--dot-dim);
  --w3-dlg-edge: var(--bevel);
  --w3-dlg-btn-bg: var(--w3-btn-bg);
  --w3-dlg-btn-shadow: var(--w3-btn-shadow);
  --w3-dlg-r: 12px;
  --w3-row-bg: var(--key-bot);
  --w3-sel-bg: var(--dot);
  --w3-sel-ink: var(--glass);
  --w3-sel-edge: var(--dot);
}
[data-skin="drive"] .tools { margin-top: 12px; padding-bottom: 4px; }
[data-skin="drive"] .tool { letter-spacing: 0.12em; }
[data-skin="drive"] .tools-msg,
[data-skin="drive"] .stale-text { color: var(--dot-dim); }
[data-skin="drive"] .recovery-time { font-family: var(--font-legend); color: var(--dot-dim); }
[data-skin="drive"] .rec-btn { letter-spacing: 0.06em; }
[data-skin="drive"] dialog.w3-dlg { box-shadow: 0 0 0 1px var(--plate-0), 0 30px 60px -20px var(--shade-deep); }
[data-skin="drive"] .w3-head h2 { font-size: 15px; font-weight: 900; letter-spacing: 0.16em; text-transform: uppercase; color: var(--dot); }
[data-skin="drive"] .guide-row[aria-pressed="true"] .g-desc,
[data-skin="drive"] .guide-row[aria-pressed="true"] .g-freq { color: var(--glass); }
[data-skin="drive"] .guide-name { font-family: var(--font-dot); font-variation-settings: "ROND" 100; font-weight: 760; text-transform: uppercase; }

/* ---------- small phones ---------- */
@media (max-width: 359px) {
  [data-skin="drive"] .look-btn { min-width: 64px; padding: 8px 8px 0; }
  [data-skin="drive"] .well { height: 220px; }
  [data-skin="drive"] .knob { width: 160px; height: 160px; margin: -80px 0 0 -80px; }
  [data-skin="drive"] .pips li { transform: rotate(calc(var(--i) * 24deg)) translateY(-94px); }
  [data-skin="drive"] .pointer { transform: rotate(var(--knob-deg, 0deg)) translateY(-57px); }
  [data-skin="drive"] .cap { width: 92px; height: 92px; margin: -46px 0 0 -46px; }
}

/* ---------- wide screens: the head unit sits in a dark dash ---------- */
@media (min-width: 700px) {
  [data-skin="drive"] body { background: var(--plate-0); padding: 20px 16px; }
  [data-skin="drive"] .shell {
    min-height: 0;
    border-radius: 18px;
    box-shadow: 0 0 0 1px var(--bevel), 0 30px 60px -30px var(--shade-deep);
  }
}
