:root {
  color-scheme: dark;
  --bg: #09090b;
  --panel: #111113;
  --panel-2: #18181b;
  --line: #27272a;
  --muted: #a1a1aa;
  --text: #fafafa;
  --accent: #f4f4f5;
  --page: 1120px;
}

* { box-sizing: border-box; }
html { -webkit-font-smoothing: antialiased; }
body { min-width: 320px; margin: 0; background: var(--bg); color: var(--text); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 14px; line-height: 1.5; }
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; }

.site-header, .page-shell, .site-footer { width: min(calc(100% - 32px), var(--page)); margin-inline: auto; }
.site-header { display: flex; align-items: center; justify-content: space-between; min-height: 56px; border-bottom: 1px solid var(--line); }
.brand { color: var(--text); font-weight: 600; text-decoration: none; letter-spacing: -0.01em; }
.header-actions { display: flex; align-items: center; gap: 12px; color: var(--muted); font-size: 12px; }
.checked { display: none; }
.source-link { color: var(--muted); text-decoration: none; }
.source-link:hover { color: var(--text); }

.hero { display: flex; align-items: end; justify-content: space-between; gap: 24px; padding: 64px 0 36px; }
.eyebrow { margin: 0 0 8px; color: var(--muted); font-size: 12px; }
h1, h2, p { margin: 0; }
h1 { font-size: clamp(34px, 6vw, 58px); font-weight: 600; letter-spacing: -0.06em; line-height: 1; }
h1 em { font-style: normal; color: var(--muted); }
h2 { font-size: 16px; font-weight: 600; letter-spacing: -0.02em; }
.hero-copy, .hero-note { display: none; }

.day-switcher { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: 1px solid var(--line); }
.day-copy .eyebrow { display: none; }
.day-buttons { display: flex; gap: 4px; }
.day-button { min-width: 116px; min-height: 40px; padding: 7px 12px; border: 1px solid transparent; border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; text-align: left; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, scale 120ms ease; }
.day-button span, .day-button small { display: block; }
.day-button span { font-size: 13px; font-weight: 500; }
.day-button small { color: #71717a; font-size: 12px; }
.day-button.is-active { border-color: var(--line); background: var(--panel-2); color: var(--text); }
.day-button.is-active small { color: var(--muted); }
.include-c-toggle { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; color: var(--muted); font-size: 12px; cursor: pointer; white-space: nowrap; }
.include-c-toggle input { width: 16px; height: 16px; margin: 0; accent-color: #a1a1aa; }

.workspace { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(420px, 1.14fr); gap: 48px; align-items: start; padding-top: 28px; }
.showtimes-column, .map-column { min-width: 0; }
.map-column { position: sticky; top: 16px; }
.section-intro, .map-header { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.section-intro .eyebrow, .map-header .eyebrow { display: none; }
.match-count { color: var(--muted); font-size: 12px; }
.section-description { margin: 7px 0 18px; color: var(--muted); font-size: 13px; }
.showtime-list { display: grid; gap: 6px; }
.showtime-item { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 10px; min-height: 60px; padding: 7px 8px 7px 12px; border: 1px solid var(--line); border-radius: 6px; background: var(--panel); transition: border-color 120ms ease, background-color 120ms ease; }
.showtime-item:hover { background: var(--panel-2); }
.showtime-item.is-selected { border-color: #52525b; background: var(--panel-2); }
.time-button { min-width: 0; padding: 8px 0; border: 0; background: none; cursor: pointer; text-align: left; }
.time-value { display: block; font-size: 15px; font-variant-numeric: tabular-nums; font-weight: 600; }
.time-hint { display: block; margin-top: 2px; color: #71717a; font-size: 12px; }
.showtime-item.is-selected .time-hint { color: var(--muted); }
.row-options { display: flex; flex-wrap: wrap; justify-content: end; gap: 4px; }
.row-chip { display: inline-flex; align-items: center; justify-content: center; gap: 4px; min-width: 42px; min-height: 38px; padding: 5px 8px; border: 1px solid var(--line); border-radius: 6px; background: transparent; color: var(--muted); cursor: pointer; transition: background-color 120ms ease, color 120ms ease, border-color 120ms ease, scale 120ms ease; }
.row-chip span { font-weight: 600; }
.row-chip small { color: #71717a; font-size: 11px; font-variant-numeric: tabular-nums; }
.row-chip:hover { border-color: #52525b; color: var(--text); }
.row-chip.is-active { border-color: var(--accent); background: var(--accent); color: #09090b; }
.row-chip.is-active small { color: #52525b; }

.map-column { padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: var(--panel); }
.map-header .eyebrow { margin: 0; }
.ticket-link { color: var(--muted); font-size: 12px; text-decoration: none; }
.ticket-link:hover { color: var(--text); }
.selection-summary { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 24px 0 20px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.selection-summary strong { font-size: 20px; font-variant-numeric: tabular-nums; letter-spacing: -0.04em; }
.selection-summary span { color: var(--muted); font-size: 12px; text-align: right; }
.theater-map { padding: 18px 12px; border: 1px solid var(--line); border-radius: 6px; background: #0d0d0f; }
.screen-label { color: #71717a; font-size: 11px; text-align: center; }
.screen { width: 56%; height: 2px; margin: 8px auto 28px; background: #71717a; }
.theater-row { display: grid; grid-template-columns: 18px minmax(0, 1fr) 18px; align-items: center; gap: 8px; min-height: 32px; padding: 3px 6px; border-radius: 5px; transition: background-color 120ms ease, border-color 120ms ease; }
.theater-row + .theater-row { margin-top: 4px; }
.theater-row.is-focused { background: #27272a; box-shadow: inset 0 0 0 1px #52525b; }
.row-label { color: #71717a; font-size: 11px; font-weight: 600; text-align: center; }
.theater-row.is-focused .row-label { color: var(--text); }
.theater-seats { display: grid; grid-template-columns: repeat(14, minmax(5px, 1fr)); gap: 5px; }
.theater-seat { height: 13px; border-radius: 3px; background: #27272a; box-shadow: inset 0 -2px 0 #18181b; transition: background-color 120ms ease, box-shadow 120ms ease, scale 120ms ease; }
.theater-seat.is-open { background: #52525b; }
.theater-seat.is-highlighted { background: #fafafa; box-shadow: 0 0 0 1px #fafafa, inset 0 -2px 0 #a1a1aa; scale: 1.06; }
.map-legend { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 16px; color: #71717a; font-size: 11px; }
.map-legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend-seat { width: 9px; height: 9px; border-radius: 2px; background: #27272a; }
.legend-available { background: #52525b; }
.legend-selected { background: #fafafa; }

.site-footer { display: none; }
button:focus-visible, a:focus-visible { outline: 2px solid #a1a1aa; outline-offset: 2px; }

@media (max-width: 850px) {
  .workspace { grid-template-columns: 1fr; gap: 24px; }
  .map-column { position: relative; top: auto; }
}
@media (max-width: 560px) {
  .site-header, .page-shell { width: min(calc(100% - 24px), var(--page)); }
  .hero { padding-top: 46px; }
  .hero h1 { font-size: 42px; }
  .day-switcher { align-items: start; flex-direction: column; }
  .day-buttons { width: 100%; }
  .day-button { min-width: 0; flex: 1; }
  .include-c-toggle { align-self: flex-start; }
  .showtime-item { grid-template-columns: 1fr; }
  .row-options { justify-content: start; padding-bottom: 3px; }
  .selection-summary { display: block; }
  .selection-summary span { display: block; margin-top: 4px; text-align: left; }
}
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-duration: 0.01ms !important; } }
