/* Route 66 Copilot: Drive mode. Light "road by day" screen like Flighty: one huge number (miles to the next stop),
   the stop's photo, big buttons, yellow only on Play the story and Start. Travelers 50-75: text 1rem and up, targets 56px+. */
.drive {
  position: fixed; inset: 0; z-index: 250; overflow-y: auto; background: var(--paper); color: var(--ink);
  font-size: 1.1rem; padding-bottom: env(safe-area-inset-bottom, 0px);
}
.drive-top {
  position: sticky; top: 0; z-index: 2; display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; padding-top: calc(10px + env(safe-area-inset-top, 0px)); background: rgba(255, 255, 255, 0.96);
  max-width: 760px; margin: 0 auto;
}
.drive-banner {
  flex: 1; min-width: 0; min-height: 48px; display: flex; align-items: center; gap: 8px; padding: 6px 16px;
  border-radius: var(--r-pill); background: var(--sand); color: var(--ink); font-weight: 700; font-size: 0.95rem; line-height: 1.25;
}
.drive-banner .ico { color: var(--amber-ink); }
.drive-exit {
  width: 52px; height: 52px; flex-shrink: 0; border: 0; border-radius: 50%; background: var(--sand); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.drive-body { max-width: 760px; margin: 0 auto; padding: 12px 16px 32px; display: flex; flex-direction: column; gap: 18px; }
.drive-title { font-family: var(--head); font-weight: 700; font-size: 2.4rem; line-height: 1.05; letter-spacing: -0.02em; margin: 8px 0 0; }
.drive-lead { margin: 0; font-size: 1.1rem; color: var(--ink-2); }
.drive-q { margin: 8px 0 0; font-size: 1.2rem; font-weight: 700; }
.drive-dirs { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drive-btn { min-height: 60px; font-size: 1.1rem; border-radius: var(--r-pill); border-width: 1.5px; }
.drive .btn:not(.btn-primary) { background: var(--paper); color: var(--ink); border-color: #CFD0CB; box-shadow: none; }
.drive .btn:not(.btn-primary):hover { background: var(--sand); }
.drive .btn[aria-pressed="true"] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }
.drive .btn:disabled { background: var(--sand); color: var(--ink-2); border-color: var(--sand); cursor: not-allowed; }
.drive .btn-primary:disabled { background: var(--shell); color: var(--ink-2); border-color: var(--shell); }
.drive-dir { flex-direction: column; gap: 2px; padding: 12px; border-radius: 20px; font-family: var(--head); font-size: 1.4rem; font-weight: 700; min-height: 88px; }
.drive-dir span { font-family: var(--body); font-size: 0.95rem; font-weight: 600; }
.drive .drive-dir[aria-pressed="true"] span { color: #FFFFFF; }

/* Running: the next stop */
.drive-next { display: flex; flex-direction: column; gap: 4px; padding: 4px 0 0; }
.drive-label { margin: 0; font-weight: 700; font-size: 1rem; color: var(--ink-2); }
.drive-name { margin: 0; font-family: var(--head); font-weight: 700; font-size: clamp(2rem, 8vw, 2.8rem); line-height: 1.08; letter-spacing: -0.02em; overflow-wrap: anywhere; }
.drive-dist { margin: 10px 0 0; font-family: var(--head); font-weight: 700; font-size: clamp(4rem, 20vw, 5.6rem); line-height: 0.95; letter-spacing: -0.04em; }
.drive-dist small { font-size: 1.5rem; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.drive-meta { margin: 8px 0 0; font-size: 1.05rem; font-weight: 600; color: var(--ink-2); }
.drive-photo { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-shell); background: var(--sand); }

.drive-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drive-actions .drive-play { grid-column: 1 / -1; min-height: 68px; font-size: 1.25rem; }
.drive-actions .drive-exit-btn { grid-column: 1 / -1; }
.drive-hint { margin: -6px 0 0; font-size: 1rem; color: var(--ink-2); }
.drive-note { margin: 0; padding: 14px 16px; border-radius: 16px; background: var(--sand); font-weight: 600; }
.drive-offline { display: flex; align-items: center; gap: 10px; background: #FCF1D2; }

.drive-story { padding: 18px 20px; border-radius: 20px; background: var(--sand); color: var(--ink); }
.drive-story p { margin: 0; }
.drive-story .drive-label { margin-bottom: 6px; }
.drive-story-text { font-size: 1.25rem; line-height: 1.55; }

.drive-after { display: flex; flex-direction: column; gap: 8px; }
.drive-later { list-style: none; margin: 0; padding: 0 16px; border-radius: 20px; background: var(--sand); }
.drive-later li {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 60px;
  font-size: 1.15rem; font-weight: 700;
}
.drive-later li + li { border-top: 1px solid var(--hair); }
.drive-later li .num { color: var(--ink-2); font-weight: 600; }
.drive-later-name { min-width: 0; overflow-wrap: anywhere; }
.drive-navchoice { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.drive-switch {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 8px 4px; border: 0; background: transparent;
  color: var(--ink); font-weight: 700; font-size: 1.1rem; text-align: left;
}
.drive-knob { width: 56px; height: 32px; border-radius: 16px; background: #C9CAC6; position: relative; flex-shrink: 0; transition: background-color .25s var(--ease); }
.drive-knob::after { content: ""; position: absolute; top: 4px; left: 4px; width: 24px; height: 24px; border-radius: 50%; background: #FFFFFF; transition: transform .25s var(--ease); }
.drive-switch[aria-checked="true"] .drive-knob { background: var(--ink); }
.drive-switch[aria-checked="true"] .drive-knob::after { transform: translateX(24px); background: var(--yellow); }
.drive :focus-visible { outline-color: var(--ink); }
@media (max-width: 560px) {
  .drive-dirs, .drive-navchoice { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .drive-knob, .drive-knob::after { transition: none; } }
