/* Course 1 drive-in theme. Loaded only on /course1/.
   Offline release1 build. Do not publish until approved.
   Lesson wording lives in course1.js and must stay unchanged. */

.drive-in {
  --sky0: #071416;
  --sky1: #0B1E22;
  --sky2: #14343A;
  --lot: #1A1410;
  --screen: #FFF6E4;
  --screen-ink: #1C1410;
  --screen-muted: #4A3A30;
  --frame: #241C16;
  --frame-edge: #3A2C22;
  --bulb-on: #FFF6E4;
  --bulb-hot: #FFD66A;
  --bulb-off: #8F6500;
  --ok: #0E5C3A;
  --ok-bg: #E7F4EC;
  --ok-border: #0B6F6D;
  --bad: #8B1520;
  --bad-bg: #F8E8E8;
  --bad-border: #8B1520;
  --q-band: #8B1520;
  position: relative;
  color: #FFF6E4;
  overflow: clip;
  padding: 0 0 2.5rem;
}

/* Beat the shared main#content cream wash from site.css */
main#content.drive-in {
  background:
    radial-gradient(ellipse 80% 45% at 50% -10%, #1A4A4A 0%, transparent 60%),
    linear-gradient(180deg, #0B1E22 0%, #071416 48%, #1A1410 100%);
  color: #FFF6E4;
}

.drive-in a {
  color: #FFE9B8;
}

.drive-in a:hover {
  color: #FFF6E4;
}

.drive-in h1,
.drive-in h2,
.drive-in h3 {
  color: inherit;
  max-width: none;
  letter-spacing: 0;
}

.drive-stars,
.drive-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.drive-stars {
  background-image:
    radial-gradient(1px 1px at 8% 12%, #fff8, transparent),
    radial-gradient(1.5px 1.5px at 22% 28%, #fff6, transparent),
    radial-gradient(1px 1px at 36% 8%, #ffd66a99, transparent),
    radial-gradient(1px 1px at 48% 22%, #fff7, transparent),
    radial-gradient(1.5px 1.5px at 63% 14%, #fff8, transparent),
    radial-gradient(1px 1px at 78% 30%, #fff5, transparent),
    radial-gradient(1px 1px at 88% 10%, #ffd66a88, transparent),
    radial-gradient(1.5px 1.5px at 14% 48%, #fff6, transparent),
    radial-gradient(1px 1px at 70% 44%, #fff7, transparent),
    radial-gradient(1px 1px at 92% 52%, #fff5, transparent);
  animation: star-twinkle 5s ease-in-out infinite;
}

.drive-glow {
  background: radial-gradient(ellipse 50% 28% at 50% 38%, rgba(201, 149, 10, 0.16), transparent 70%);
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.85; }
  50% { opacity: 1; }
}

.lot-inner {
  position: relative;
  z-index: 1;
  padding: 1.25rem 0 0;
}

/* ----- Now Showing marquee ----- */
.drive-hero {
  margin: 0 0 1.25rem;
}

.marquee {
  background: #8B1520;
  border: 4px solid #C9950A;
  border-radius: 10px;
  box-shadow:
    0 0 0 3px #6E1018,
    0 12px 28px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}

.bulb-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4px;
  padding: 6px 8px;
  background: #6E1018;
}

.bulb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bulb-off);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex: 0 0 auto;
  animation: bulb-chase 1.2s linear infinite;
}

.bulb:nth-child(4n+1) { animation-delay: 0s; }
.bulb:nth-child(4n+2) { animation-delay: 0.3s; }
.bulb:nth-child(4n+3) { animation-delay: 0.6s; }
.bulb:nth-child(4n+4) { animation-delay: 0.9s; }

@keyframes bulb-chase {
  0%, 100% { background: var(--bulb-off); box-shadow: inset 0 1px 1px rgba(255,255,255,.2); }
  40%, 65% { background: var(--bulb-hot); box-shadow: 0 0 8px #FFD66A, inset 0 1px 1px #fff; }
}

.marquee-board {
  padding: 1.35rem 1.35rem 1.5rem;
  background:
    linear-gradient(180deg, #9B1C28 0%, #8B1520 40%, #6E1018 100%);
}

.now-showing {
  margin: 0 0 0.65rem;
  font-family: var(--diner);
  font-size: clamp(1.35rem, 1rem + 2vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #FFD66A;
  text-align: center;
  text-shadow: 0 0 12px rgba(255, 214, 106, 0.45);
}

.drive-in .badge,
.drive-in .eyebrow {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  border: 1px solid #C9950A;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: #FFF6E4;
  margin: 0 0 0.85rem;
  background: rgba(0, 0, 0, 0.18);
}

.drive-hero h1 {
  font-family: var(--diner);
  font-size: clamp(1.7rem, 1.2rem + 2.4vw, 2.6rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.15;
  margin: 0 0 0.85rem;
  color: #FFF6E4;
  text-align: center;
}

.drive-hero h1 em {
  font-style: normal;
  color: #FFD66A;
}

.drive-hero .promise {
  color: #FFF6E4;
  font-size: 1.15rem;
  max-width: 52ch;
  margin: 0 auto 1.1rem;
  text-align: center;
}

.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 auto 1.1rem;
  justify-content: center;
}

.drive-in .pill {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  border: 1px solid #C9950A;
  color: #FFF6E4;
  background: rgba(28, 20, 16, 0.28);
}

.drive-in .pill.free {
  border-color: #7BC4A0;
  color: #D9FFE9;
  background: rgba(14, 92, 58, 0.4);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
  align-items: center;
}

.drive-hero .hero-actions {
  flex-direction: column;
}

.jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.25rem 0.5rem;
  border: 0;
  background: none;
  box-shadow: none;
  color: #FFE9B8;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

.jump-link:hover,
.jump-link:focus-visible {
  color: #FFF6E4;
  outline: none;
}

.jump-link:focus-visible {
  box-shadow: 0 0 0 2px #FFD66A;
  border-radius: 6px;
}

.drive-in .cta,
.drive-in a.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 44px;
  min-width: 44px;
  padding: 0.65rem 1.15rem;
  border-radius: 10px;
  border: 2px solid #C9950A;
  background: #C9950A;
  color: #1C1410;
  font: inherit;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  text-align: center;
  box-shadow: 0 3px 0 #6b4b00;
}

.drive-in .cta:hover,
.drive-in a.cta:hover {
  background: #FFD66A;
  color: #1C1410;
}

.drive-in .cta.ghost {
  background: transparent;
  border-color: #FFF6E4;
  color: #FFF6E4;
  box-shadow: none;
}

.drive-in .cta.ghost:hover {
  background: rgba(255, 246, 228, 0.12);
  color: #FFF6E4;
}

.welcome-note {
  margin-top: 1.15rem;
  padding: 1rem 1.15rem;
  border-left: 4px solid #C9950A;
  background: rgba(28, 20, 16, 0.28);
  border-radius: 0 12px 12px 0;
  color: #FFF6E4;
  font-size: 1.05rem;
}

.welcome-note cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-weight: 700;
  color: #FFD66A;
  font-size: 0.95rem;
}

.booth-note {
  max-width: 58ch;
  margin: 1.1rem auto 1.35rem;
  padding: 0.9rem 1.15rem 1rem;
  background: rgba(20, 52, 58, 0.72);
  border: 1px solid rgba(201, 149, 10, 0.65);
  border-radius: 12px;
  color: #FFF6E4;
  font-size: 1.05rem;
  line-height: 1.65;
}

.booth-note .booth-kicker {
  margin: 0 0 0.4rem;
  font-family: var(--diner);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFD66A;
  text-align: center;
}

.booth-note p {
  margin: 0;
  color: #FFF6E4;
}

.booth-note cite {
  display: block;
  margin-top: 0.55rem;
  font-style: normal;
  font-weight: 700;
  color: #FFD66A;
  font-size: 0.95rem;
}

.advice-note {
  margin: 1.25rem auto 0.25rem;
  max-width: 65ch;
  padding: 0.85rem 1.05rem;
  border-radius: 12px;
  background: rgba(11, 111, 109, 0.28);
  border: 1px solid #0B6F6D;
  color: #FFF6E4;
  font-size: 1.05rem;
  line-height: 1.65;
  position: relative;
  z-index: 1;
}

.attractions {
  margin: 0 0 0.15rem;
}

.resume-row {
  display: flex;
  justify-content: center;
  margin: 0.85rem 0 0;
}

.resume-row.hidden {
  display: none !important;
}

.screen .badge,
.screen .eyebrow {
  color: #8B1520;
  border-color: #C9950A;
  background: #F8E7C0;
}

/* ----- Ticket tabs ----- */
.drive-in .tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin: 0 0 1.15rem;
}

.drive-in .tab {
  border: 2px dashed #C9950A;
  background: #FFF8E0;
  color: #1C1410;
  padding: 10px 16px;
  min-height: 44px;
  min-width: 44px;
  border-radius: 6px;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  box-shadow: 0 2px 0 #8F6500;
}

.drive-in .tab:hover {
  background: #FFE9B8;
}

.drive-in .tab.active {
  background: #8B1520;
  border-style: solid;
  border-color: #C9950A;
  color: #FFF6E4;
  box-shadow: 0 2px 0 #6E1018;
}

/* ----- Coming Attractions / progress ----- */
#progress-pin {
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.progress-card {
  margin: 0 0 1.25rem;
}

.progress-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 0.85rem 1.05rem;
  background: #14343A;
  border: 2px solid #C9950A;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.progress-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin-bottom: 8px;
  color: #FFF6E4;
}

.progress-top strong {
  font-size: 1rem;
  font-family: var(--diner);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #FFD66A;
}

.progress-top span {
  font-size: 0.95rem;
  color: #FFF6E4;
}

.bar {
  height: 10px;
  background: rgba(255, 246, 228, 0.15);
  border-radius: 999px;
  overflow: hidden;
}

.bar > i {
  display: block;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #0B6F6D, #C9950A);
  border-radius: inherit;
  transition: width 0.35s ease;
}

.attractions-label {
  margin: 0.15rem 0 0.6rem;
  font-family: var(--diner);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #FFD66A;
  text-align: center;
}

.lesson-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(124px, 1fr));
  gap: 8px;
}

.lesson-pill {
  position: relative;
  border: 2px solid #C9950A;
  background: #FFF8E0;
  color: #1C1410;
  border-radius: 6px;
  padding: 10px 12px;
  min-height: 44px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  background-image: repeating-linear-gradient(
    90deg,
    transparent,
    transparent 6px,
    transparent 6px
  );
  box-shadow: inset 8px 0 0 #8B1520;
  padding-left: 18px;
}

.lesson-pill small {
  display: block;
  color: #4A3A30;
  font-weight: 500;
  margin-top: 2px;
}

.lesson-pill.active {
  background: #FFF6E4;
  box-shadow: inset 8px 0 0 #0B6F6D, 0 0 0 2px #0B6F6D;
}

.lesson-pill.active::after {
  content: "Now showing";
  display: block;
  margin-top: 4px;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B6F6D;
}

.lesson-pill.done {
  background: #E7F4EC;
  border-color: #0B6F6D;
}

/* ----- Big screen ----- */
.theater {
  position: relative;
  margin-top: 0.5rem;
}

.screen-frame {
  background: #241C16;
  border: 12px solid #2A221C;
  border-bottom-width: 22px;
  border-radius: 6px;
  box-shadow:
    0 0 0 4px #C9950A,
    0 18px 40px rgba(0, 0, 0, 0.5);
  padding: 10px;
}

.screen {
  background: var(--screen);
  color: var(--screen-ink);
  min-height: 260px;
  padding: 1.35rem 1.25rem 1.4rem;
  border-radius: 2px;
  box-shadow: inset 0 0 40px rgba(28, 20, 16, 0.06);
}

.screen a {
  color: #8B1520;
}

.screen a:hover {
  color: #6E1018;
}

.screen h2,
.screen h3 {
  color: #1C1410;
}

.title-card {
  text-align: center;
  padding: 1.6rem 1rem;
  color: #1C1410;
}

.title-card .now-showing {
  color: #8B1520;
  text-shadow: none;
}

.title-card .title-kicker {
  margin: 0 0 0.5rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0B6F6D;
}

.title-card h2 {
  font-family: var(--diner);
  font-weight: 400;
  letter-spacing: 0.03em;
  margin: 0 0 0.75rem;
}

.title-card p {
  margin: 0 auto;
  max-width: 56ch;
  color: #4A3A30;
}

/* Lesson panels sit on the cream screen */
.drive-in .card {
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
  margin: 0;
}

.drive-in .card h2 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 0 0 0.35rem;
  color: #1C1410;
}

.drive-in .card h3 {
  margin: 1.35rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1410;
}

.drive-in .meta {
  color: #4A3A30;
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.drive-in .card > p,
.lesson-body p {
  margin: 0 0 14px;
  color: #1C1410;
}

.checklist {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #1C1410;
}

.checklist li {
  margin-bottom: 6px;
}

.watch {
  margin: 16px 0;
  padding: 16px;
  border-radius: 12px;
  border: 1px dashed #8F6500;
  background: #F8E7C0;
  color: #1C1410;
}

.watch strong {
  display: block;
  margin-bottom: 4px;
  color: #1C1410;
}

.watch span {
  color: #4A3A30;
  font-size: 0.95rem;
}

.scenario {
  margin: 16px 0;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #E4CFA0;
  background: #FFFDF6;
}

.scenario-head {
  background: #0B6F6D;
  color: #FFF6E4;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 1rem;
}

.scenario-body {
  padding: 16px;
  color: #1C1410;
  font-size: 1.05rem;
}

.scenario-body p {
  margin: 0 0 10px;
}

.scenario-body p:last-child {
  margin-bottom: 0;
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 16px 0;
}

.compare-card {
  border-radius: 14px;
  padding: 14px 16px;
  border: 1px solid #E4CFA0;
  font-size: 1rem;
  background: #FFFDF6;
}

.compare-card.weak {
  border-color: #8B1520;
  background: var(--bad-bg);
}

.compare-card.strong {
  border-color: #0B6F6D;
  background: var(--ok-bg);
}

.compare-card .label {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 8px;
  padding: 3px 8px;
  border-radius: 999px;
}

.weak .label {
  background: #8B1520;
  color: #FFF6E4;
}

.strong .label {
  background: #0E5C3A;
  color: #FFF6E4;
}

.compare-card .prompt {
  font-weight: 600;
  color: #1C1410;
  margin-bottom: 8px;
  font-style: italic;
}

.compare-card .why {
  color: #4A3A30;
  margin: 0;
  line-height: 1.5;
}

.trybox {
  margin: 18px 0;
  border-radius: 14px;
  border: 1px solid #0B6F6D;
  background: #E7F4EC;
  overflow: hidden;
}

.trybox-head {
  padding: 12px 16px;
  border-bottom: 1px solid #0B6F6D;
  font-weight: 700;
  font-size: 1rem;
  background: #0B6F6D;
  color: #FFF6E4;
}

.trybox-body {
  padding: 16px;
}

.trybox-body p {
  margin: 0 0 10px;
  color: #1C1410;
  font-size: 1.05rem;
}

.copy-prompt {
  margin: 10px 0 0;
  padding: 14px 16px;
  border-radius: 12px;
  background: #FFF6E4;
  border: 1px dashed #8F6500;
  color: #1C1410;
  font-size: 1rem;
  line-height: 1.65;
}

.copy-prompt::before {
  content: "Copy-ready prompt";
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #8F6500;
  margin-bottom: 6px;
}

.myth {
  margin: 16px 0;
  display: grid;
  gap: 10px;
}

.myth-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.myth-card,
.fact-card {
  border-radius: 14px;
  padding: 14px 16px;
  font-size: 1rem;
  border: 1px solid #E4CFA0;
  background: #FFFDF6;
  color: #1C1410;
}

.myth-card strong,
.fact-card strong {
  display: block;
  font-size: 0.85rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.myth-card strong {
  color: #8B1520;
}

.fact-card strong {
  color: #0B6F6D;
}

.takeaway {
  margin: 20px 0 8px;
  padding: 16px 18px;
  border-radius: 14px;
  background: #F8E7C0;
  border-left: 4px solid #C9950A;
  color: #1C1410;
}

.takeaway strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
  color: #1C1410;
}

.takeaway ul {
  margin: 0;
  padding-left: 18px;
  color: #1C1410;
  font-size: 1rem;
}

.takeaway li {
  margin-bottom: 4px;
}

.teaser {
  margin: 18px 0 6px;
  padding: 14px 16px;
  border-radius: 14px;
  background: #E7F4EC;
  border: 1px solid #0B6F6D;
  font-size: 1rem;
  color: #1C1410;
}

.teaser b {
  color: #1C1410;
}

.terms {
  display: grid;
  gap: 10px;
  margin: 14px 0 8px;
}

.term {
  background: #FFFDF6;
  border: 1px solid #E4CFA0;
  border-radius: 14px;
  padding: 14px 16px;
  color: #1C1410;
}

.term b {
  color: #1C1410;
}

.term span {
  color: #4A3A30;
  display: block;
  margin-top: 4px;
  font-size: 0.95rem;
}

.glossary {
  display: grid;
  gap: 10px;
}

/* Quiz */
.q {
  margin-top: 18px;
  border-radius: 16px;
  border: 1.5px solid #E4CFA0;
  background: #FFFDF6;
  overflow: hidden;
}

.q-band {
  background: #8B1520;
  color: #FFF6E4;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.q-band .q-num {
  background: rgba(255, 246, 228, 0.18);
  padding: 3px 9px;
  border-radius: 999px;
}

.q-prompt {
  margin: 0;
  padding: 16px 16px 12px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #1C1410;
  line-height: 1.5;
}

.choices {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.choice {
  text-align: left;
  border: 2px solid #E4CFA0;
  background: #FFF6E4;
  border-radius: 12px;
  padding: 12px 15px;
  min-height: 44px;
  cursor: pointer;
  font: inherit;
  color: #1C1410;
  font-size: 1.05rem;
  line-height: 1.5;
}

.choice:hover:not(:disabled) {
  border-color: #0B6F6D;
  background: #E7F4EC;
}

.choice:disabled {
  cursor: default;
}

.choice.correct {
  background: var(--ok-bg);
  border-color: var(--ok-border);
  color: #0E5C3A;
  font-weight: 600;
}

.choice.wrong {
  background: var(--bad-bg);
  border-color: var(--bad-border);
  color: #8B1520;
}

.feedback {
  margin: 0 16px 16px;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1rem;
  display: none;
  line-height: 1.55;
  border: 1px solid transparent;
}

.feedback.show {
  display: block;
}

.feedback.ok {
  background: var(--ok-bg);
  color: #0E5C3A;
  border-color: var(--ok-border);
}

.feedback.bad {
  background: var(--bad-bg);
  color: #8B1520;
  border-color: var(--bad-border);
}

.feedback .fb-label {
  display: block;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.nav-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.screen .cta {
  background: #8B1520;
  border-color: #8B1520;
  color: #ffffff;
  box-shadow: 0 3px 0 #6E1018;
}

.screen .cta:hover {
  background: #6E1018;
  color: #ffffff;
}

.screen .cta.ghost {
  background: #ffffff;
  border-color: #8B1520;
  color: #8B1520;
  box-shadow: none;
}

.screen .cta.ghost:hover {
  background: #F8E7C0;
  color: #8B1520;
}

.placeholder-note {
  margin-top: 14px;
  font-size: 0.95rem;
  color: #4A3A30;
  background: #F8E7C0;
  border: 1px dashed #8F6500;
  border-radius: 12px;
  padding: 12px 14px;
}

.score-box {
  text-align: center;
  padding: 28px 20px;
  border-radius: 16px;
  margin-top: 20px;
  background: #F8E7C0;
  border: 2px solid #C9950A;
  color: #1C1410;
}

.score-box .big {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 8px 0;
  color: #8B1520;
}

.ticket-wrap {
  margin-top: 22px;
  text-align: center;
}

.ticket-label {
  margin: 0 0 0.65rem;
  font-family: var(--diner);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #8B1520;
}

.ticket-stub {
  display: grid;
  grid-template-columns: 6.6rem 1fr;
  max-width: 32rem;
  margin: 0 auto;
  background: #FFFDF6;
  color: #1C1410;
  border: 2px solid #8B1520;
  box-shadow: 4px 4px 0 rgba(139, 21, 32, 0.18);
  overflow: hidden;
  text-align: left;
}

.ticket-stub-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 1rem 0.55rem;
  background: #8B1520;
  color: #FFD66A;
  text-align: center;
  border-right: 2px dashed #C9950A;
}

.ticket-admit {
  margin: 0;
  font-family: var(--diner);
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #FFD66A;
}

.ticket-side-title {
  margin: 0;
  font-family: var(--diner);
  font-size: 1.35rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #FFF6E4;
}

.ticket-stub-body {
  padding: 1rem 1.15rem 1.05rem;
}

.ticket-kicker {
  margin: 0 0 0.35rem;
  font-family: var(--diner);
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0B6F6D;
}

.ticket-stub-body h3 {
  margin: 0 0 0.45rem;
  font-size: 1.15rem;
  line-height: 1.35;
  color: #1C1410;
}

.ticket-stub-body p {
  margin: 0;
  color: #4A3A30;
  font-size: 1rem;
}

.ticket-date {
  margin-top: 0.65rem !important;
  font-weight: 700;
  color: #1C1410 !important;
}

.ticket-blurb {
  max-width: 42ch;
  margin: 0.85rem auto 0;
  color: #4A3A30;
  font-size: 1rem;
  line-height: 1.55;
}

.ticket-blurb.muted {
  font-size: 0.95rem;
}

.ticket-actions {
  justify-content: center;
  margin-top: 14px;
}

@media print {
  @page {
    margin: 0.6in;
  }

  body * {
    visibility: hidden;
  }

  #ticket-stub,
  #ticket-stub * {
    visibility: visible;
  }

  #ticket-stub {
    position: absolute;
    left: 50%;
    top: 0.8in;
    transform: translateX(-50%);
    width: 6.5in;
    max-width: none;
    box-shadow: none;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  #print-stub,
  .ticket-actions,
  .ticket-label,
  .ticket-blurb {
    display: none !important;
  }
}

.drive-in .hidden {
  display: none !important;
}

.screen code {
  font-size: 0.9em;
  color: #8B1520;
}

/* Views that reuse .card inside the screen */
#view-donate .card,
#view-buy .card {
  color: #1C1410;
}

/* ----- Convertible + bot ----- */
.lot-foreground {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: -0.35rem;
  pointer-events: none;
}

.car-scene {
  width: min(540px, 100%);
  position: relative;
  margin: 0 auto;
}

.speech-bubble {
  position: absolute;
  left: 6%;
  top: 0;
  z-index: 3;
  max-width: 16rem;
  margin: 0;
  padding: 0.7rem 0.9rem;
  background: #FFF6E4;
  color: #1C1410;
  border: 3px solid #1C1410;
  border-radius: 18px;
  font-family: var(--chalk-font);
  font-size: 1.2rem;
  line-height: 1.3;
  font-weight: 600;
  box-shadow: 4px 4px 0 rgba(28, 20, 16, 0.15);
}

.speech-bubble::after {
  content: "";
  position: absolute;
  left: 28%;
  bottom: -14px;
  width: 16px;
  height: 16px;
  background: #FFF6E4;
  border-right: 3px solid #1C1410;
  border-bottom: 3px solid #1C1410;
  transform: rotate(45deg);
}

.car-art {
  display: block;
  width: 100%;
  height: auto;
  margin-top: 3.2rem;
}

.car-bob {
  transform-origin: 50% 80%;
  animation: car-bob 4s ease-in-out infinite;
}

@keyframes car-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.car-eyes {
  transform-origin: 50% 40%;
  transform-box: fill-box;
  animation: car-blink 4s infinite;
}

@keyframes car-blink {
  0%, 90%, 100% { transform: scaleY(1); }
  93%, 96% { transform: scaleY(0.12); }
}

.pop-accent {
  width: min(90px, 22vw);
  position: absolute;
  right: 4%;
  bottom: 18%;
  z-index: 3;
}

/* Small drive-in sign after the lesson screen. Support TeamZ is live; Course 2 stays coming soon. */
.coming-soon {
  max-width: 28rem;
  margin: 1.75rem auto 1.5rem;
  padding: 1.05rem 1.2rem 1.15rem;
  text-align: center;
  background: #1C1410;
  border: 3px solid #C9950A;
  border-radius: 8px;
  box-shadow:
    0 0 0 3px #3A2C22,
    0 8px 20px rgba(0, 0, 0, 0.4);
  position: relative;
  z-index: 1;
}

.coming-soon .soon-kicker {
  margin: 0 0 0.5rem;
  font-family: var(--diner);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFD66A;
  text-shadow: 0 0 10px rgba(255, 214, 106, 0.35);
}

.coming-soon p {
  margin: 0;
  color: #FFF6E4;
  font-size: 1rem;
  line-height: 1.6;
}

.coming-soon .soon-actions {
  margin: 0.85rem 0 0;
}

.coming-soon .support-cta,
.coming-soon a.support-cta {
  padding: 0.4rem 0.95rem;
  font-size: 0.95rem;
  border-radius: 8px;
  box-shadow: 0 2px 0 #6b4b00;
}

.coming-soon .support-cta:focus-visible,
.coming-soon a.support-cta:focus-visible {
  outline: 2px solid #FFD66A;
  outline-offset: 3px;
}

/* Legal note kept from the live course, above the shared site footer */
.course-disc {
  max-width: 720px;
  margin: 2rem auto 0.5rem;
  font-size: 1rem;
  line-height: 1.7;
  color: #FFF6E4;
  text-align: center;
  position: relative;
  z-index: 1;
}

.course-disc p {
  margin: 0.45rem auto;
  color: #FFF6E4;
  font-size: 1rem;
  max-width: 65ch;
}

@media (max-width: 700px) {
  .compare,
  .myth-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .marquee-board,
  .screen {
    padding: 1.1rem 0.95rem 1.2rem;
  }

  .drive-in .tabs {
    width: 100%;
  }

  .drive-in .tab {
    flex: 1;
    text-align: center;
    padding: 10px 8px;
    font-size: 0.95rem;
  }

  .q-prompt {
    font-size: 1.05rem;
  }

  .choice {
    font-size: 1rem;
    padding: 12px 13px;
  }

  .progress-sticky {
    border-radius: 10px;
  }

  .screen-frame {
    border-width: 8px;
    border-bottom-width: 16px;
  }

  .speech-bubble {
    font-size: 1.05rem;
    max-width: 70%;
    left: 4%;
  }

  .nav-row .cta {
    width: 100%;
  }

  .ticket-stub {
    grid-template-columns: 1fr;
  }

  .ticket-stub-side {
    flex-direction: row;
    justify-content: center;
    gap: 0.75rem;
    padding: 0.7rem 0.85rem;
    border-right: 0;
    border-bottom: 2px dashed #C9950A;
  }
}

@media (prefers-reduced-motion: reduce) {
  .drive-in .bulb,
  .drive-stars,
  .car-bob,
  .car-eyes {
    animation: none !important;
  }

  .bar > i {
    transition: none;
  }
}

html.shot .drive-in .bulb,
html.shot .drive-stars,
html.shot .car-bob,
html.shot .car-eyes,
html.shot .get-bot,
html.shot .get-bot-orb .eye {
  animation: none !important;
}

html.shot .bar > i {
  transition: none !important;
}


/* Host greeter under the Drive-In marquee — no animation */
.drive-hero .section-greeter {
  justify-content: center;
  margin: 1.1rem 0 0.25rem;
}


/* Contrast pass (Nov 28, 2026): the page sits on a light background, so these
   labels use dark text; the dark "booth note" panel stays dark with light text. */
.drive-in h2.attractions-label { color: #15263D; }
.booth-note { background: rgba(20, 52, 58, 0.96); }
.course-disc, .course-disc p { color: #15263D; }
.advice-note { color: #15263D; }
