/* Bordeaux velvet: wine-red header with a thin gold rule, gold links in dark mode. */
:root {
  --bg: #f7f1ea;
  --surface: #fffdf9;
  --surface-2: #efe5da;
  --text: #22151a;
  --muted: #6c585d;
  --line: #e3d6cc;
  --bar: #571126; --bar-ink: #f8ecd9; --bar-rule: #b8913f;   /* header */
  --accent: #6b1530;      /* buttons */
  --accent-ink: #ffffff;
  --link: #7d1a36;
  --accent-soft: #f3e1e4;
  --gold: #93701f;
  --hs: #2e6a4e; --college: #2c5488; --community: #8a5622; --regional: #7a1832; --touring: #5a3a88; --other: #555;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0,0,0,.06), 0 4px 14px rgba(0,0,0,.05);
  --gutter: 16px;
  --tap: 44px;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #130a0d; --surface: #1d1115; --surface-2: #2a181e; --text: #f3e6e2; --muted: #b49ea2; --line: #3b252c;
    --bar: #400b1e; --bar-ink: #f3e3c6; --bar-rule: #a9843a;
    --accent: #8e2342; --accent-ink: #ffffff; --link: #e2b86b; --accent-soft: #37191f; --gold: #dcb15f;
    --hs: #7cc6a2; --college: #8fb8ea; --community: #e2ad72; --regional: #e3a3b9; --touring: #bda5ee; --other: #aaa;
    --shadow: none; color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #130a0d; --surface: #1d1115; --surface-2: #2a181e; --text: #f3e6e2; --muted: #b49ea2; --line: #3b252c;
  --bar: #400b1e; --bar-ink: #f3e3c6; --bar-rule: #a9843a;
  --accent: #8e2342; --accent-ink: #ffffff; --link: #e2b86b; --accent-soft: #37191f; --gold: #dcb15f;
  --hs: #7cc6a2; --college: #8fb8ea; --community: #e2ad72; --regional: #e3a3b9; --touring: #bda5ee; --other: #aaa;
  --shadow: none; color-scheme: dark;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 16px/1.45 system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  padding-bottom: env(safe-area-inset-bottom);
}
a { color: var(--link); }
img { max-width: 100%; display: block; }
h1, h2, h3 { line-height: 1.2; margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
[hidden] { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* -- top bar ------------------------------------------------------------------ */
.topbar {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
  gap: 8px; padding: 10px var(--gutter); padding-top: max(10px, env(safe-area-inset-top));
  background: var(--bar); color: var(--bar-ink);
  border-bottom: 2px solid var(--bar-rule);
}
.brand { color: inherit; text-decoration: none; font-weight: 800; font-size: 1.15rem; letter-spacing: .01em; white-space: nowrap; }
.brand-word { font-weight: 500; letter-spacing: .03em; }
/* Desktop: "Hometown Theater | Cleveland", the bar in the header's gold. Phones use the stacked lockup. */
.brand-city { font-weight: 500; letter-spacing: .03em; }
.brand-sep { color: var(--bar-rule); font-weight: 400; margin: 0 0 0 .4em; }
/* Narrower screens: no room for "| Cleveland" beside the nav, so a gold CLE stands in. */
.brand-cle { display: none; color: var(--bar-rule); }
@media (max-width: 700px) { .brand-city { display: none; } .brand-cle { display: inline; } }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { color: inherit; text-decoration: none; padding: 8px 10px; border-radius: 10px; font-weight: 600; font-size: .95rem; }
.topnav a[aria-current="page"] { background: rgba(255,255,255,.18); }
@media (max-width: 560px) {
  .topbar { gap: 4px; padding-left: 10px; padding-right: 10px; }
  /* Stacked lockup on phones, like the app icon: HOMETOWN over a gold rule over THEATER,
     with a gold CLE beside the pair, as tall as both lines. Sizes follow the screen width so
     the logo and all three links fit from 320px up. */
  .brand { display: inline-flex; align-items: center; }
  .brand-stack { display: inline-flex; flex-direction: column; align-items: stretch; text-align: center; line-height: 1;
    font-size: clamp(.74rem, 3.5vw, .95rem); letter-spacing: .06em; text-transform: uppercase; }
  .brand-word { font-size: .59em; font-weight: 700; letter-spacing: .32em; text-transform: uppercase;
    border-top: 1.5px solid var(--bar-rule); margin-top: 3px; padding-top: 3px; padding-left: .32em; }
  /* A thin gold rule between the pair and CLE, like the "|" in the desktop logo. */
  .brand-cle { display: inline-flex; align-items: center; align-self: stretch; font-size: clamp(1.05rem, 4.9vw, 1.38rem); font-weight: 800;
    line-height: 1; letter-spacing: .01em; margin-left: 8px; padding-left: 8px; border-left: 1.5px solid var(--bar-rule); }
  .topnav { gap: 0; }
  .topnav a { padding: 8px clamp(3px, .8vw, 6px); font-size: clamp(.8rem, 3.6vw, .9rem); }
}
/* CLE only where it has room: narrower phones keep the plain stack and all three links. */
@media (max-width: 419px) {
  .brand-cle { display: none; }
  .topnav { gap: clamp(2px, 1.6vw, 8px); }
}
@media (max-width: 340px) {
  .topnav a[data-nav="list"] { display: none; }  /* the logo already goes to Shows */
}

/* -- filters ------------------------------------------------------------------ */
.filters { padding: 12px var(--gutter) 4px; max-width: 980px; margin: 0 auto; }
.search-row { display: flex; gap: 8px; }
.search-row input {
  flex: 1; min-width: 0; height: var(--tap); padding: 0 14px; border-radius: 12px;
  border: 1px solid var(--line); background: var(--surface);
}
.chips { display: flex; gap: 8px; overflow-x: auto; padding: 10px 0 4px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.chips::-webkit-scrollbar { display: none; }
.chip {
  flex: none; min-height: 36px; padding: 6px 14px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--surface); cursor: pointer; font-size: .92rem; white-space: nowrap;
}
.chip[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.chip .n { opacity: .6; margin-left: 4px; font-size: .85em; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: var(--tap);
  padding: 0 16px; border-radius: 12px; border: 0; background: var(--accent); color: var(--accent-ink);
  font-weight: 700; text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn-small { min-height: 36px; padding: 0 12px; font-size: .9rem; }
.btn-ghost { background: var(--surface); color: var(--text); border: 1px solid var(--line); }
.btn-quiet { background: var(--surface-2); color: var(--text); }
.btn[disabled] { opacity: .5; cursor: default; }
.count { background: var(--accent); color: var(--accent-ink); border-radius: 999px; padding: 0 7px; font-size: .8rem; }
.icon-btn { width: var(--tap); height: var(--tap); border: 0; background: transparent; font-size: 1.2rem; cursor: pointer; border-radius: 10px; }

/* -- sheet (filters) ---------------------------------------------------------- */
.sheet { position: fixed; inset: 0; z-index: 50; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.45); }
.sheet-panel {
  position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; display: flex; flex-direction: column;
  background: var(--surface); border-radius: 18px 18px 0 0; padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 720px) { .sheet-panel { left: auto; top: 0; width: 420px; max-height: none; border-radius: 0; } }
.sheet-head, .sheet-foot { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px var(--gutter); }
.sheet-head { border-bottom: 1px solid var(--line); }
.sheet-foot { border-top: 1px solid var(--line); }
.sheet-foot .btn { flex: 1; }
.sheet-body { overflow-y: auto; padding: 8px var(--gutter) 16px; }
fieldset { border: 0; padding: 0; margin: 14px 0; }
legend { font-weight: 700; margin-bottom: 8px; }
.opt-grid { display: flex; flex-wrap: wrap; gap: 8px; }
select { width: 100%; height: var(--tap); border-radius: 12px; border: 1px solid var(--line); background: var(--surface); padding: 0 10px; }
.check { display: flex; align-items: center; gap: 10px; min-height: var(--tap); }
.check input { width: 20px; height: 20px; }

/* -- list --------------------------------------------------------------------- */
main { max-width: 980px; margin: 0 auto; padding: 4px var(--gutter) 24px; outline: none; }
.result-meta { color: var(--muted); font-size: .9rem; margin: 6px 0 10px; }
.group-head { position: sticky; top: 60px; z-index: 5; background: var(--bg); padding: 10px 0 6px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.cards { display: grid; gap: 12px; grid-template-columns: 1fr; }
@media (min-width: 720px) { .cards { grid-template-columns: 1fr 1fr; } }
.card { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.card-link { display: flex; gap: 12px; padding: 12px; color: inherit; text-decoration: none; flex: 1; }
.thumb { position: relative; flex: none; width: clamp(96px, 28vw, 120px); height: 88px; border-radius: 10px; overflow: hidden; background: var(--surface-2); }
.thumb img { position: relative; width: 100%; height: 100%; object-fit: contain; }
.thumb .thumb-bg { position: absolute; inset: 0; object-fit: cover; filter: blur(10px) saturate(1.15); transform: scale(1.3); opacity: .8; }
.thumb.empty { display: grid; place-items: center; font-size: 2.2rem; font-weight: 800; color: var(--muted); letter-spacing: -.02em; }
.thumb.empty.high_school { color: var(--hs); } .thumb.empty.college { color: var(--college); }
.thumb.empty.community { color: var(--community); } .thumb.empty.regional { color: var(--regional); }
.thumb.empty.touring { color: var(--touring); }
.card-body { min-width: 0; }
.card-title { font-size: 1.05rem; margin: 4px 0 2px; overflow-wrap: anywhere; }
.card-org, .card-when { margin: 0; color: var(--muted); font-size: .9rem; }
.card-when { color: var(--text); font-weight: 600; margin-top: 4px; }
.card-actions { display: flex; gap: 8px; padding: 0 12px 12px; }
.card-actions .btn { flex: 1; min-height: 40px; }
.badges { display: flex; flex-wrap: wrap; gap: 6px; }
.badge { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; padding: 2px 8px; border-radius: 999px; background: var(--surface-2); color: var(--muted); }
.badge.kind { color: #fff; }
.badge.kind.high_school { background: var(--hs); } .badge.kind.college { background: var(--college); }
.badge.kind.community { background: var(--community); } .badge.kind.regional { background: var(--regional); }
.badge.kind.touring { background: var(--touring); } .badge.kind.other { background: var(--other); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.kind { color: #111; } }
:root[data-theme="dark"] .badge.kind { color: #111; }
.badge.reviews { background: var(--accent-soft); color: var(--link); }
.empty-state { text-align: center; color: var(--muted); padding: 48px 12px; }
.more { display: flex; justify-content: center; margin: 18px 0; }

/* -- calendar (agenda) -------------------------------------------------------- */
.day { margin-bottom: 8px; }
.day-head { display: flex; align-items: baseline; gap: 8px; position: sticky; top: 60px; background: var(--bg); padding: 10px 0 6px; z-index: 5; }
.day-head .dow { font-weight: 800; }
.day-head .date { color: var(--muted); }
.slot { display: flex; gap: 12px; align-items: flex-start; padding: 10px 12px; margin-bottom: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; }
.slot .time { flex: none; width: 70px; font-weight: 800; font-variant-numeric: tabular-nums; }
.slot .time small { display: block; font-weight: 500; color: var(--muted); }
.slot .info { min-width: 0; }
.slot .info strong { display: block; overflow-wrap: anywhere; }
.slot .info .meta { display: block; color: var(--muted); font-size: .9rem; }
.week-nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin: 8px 0; }

/* -- detail ------------------------------------------------------------------- */
.detail-hero { margin: 0 calc(var(--gutter) * -1); background: var(--surface-2); aspect-ratio: 16 / 9; max-height: 360px; overflow: hidden; }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 720px) { .detail-hero { margin: 0; border-radius: var(--radius); } }
.back { display: inline-flex; align-items: center; gap: 4px; min-height: var(--tap); text-decoration: none; font-weight: 600; }
.detail h1 { font-size: 1.6rem; margin: 14px 0 4px; overflow-wrap: anywhere; }
.detail .subtitle { color: var(--muted); margin: 0 0 8px; }
.facts { display: grid; gap: 8px; margin: 14px 0; padding: 0; list-style: none; }
.facts li { display: flex; gap: 12px; align-items: baseline; }
.facts .k { flex: none; width: 72px; font-size: .75rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 16px 0; }
.cta .btn.wide { grid-column: 1 / -1; }
section.block { margin: 24px 0; }
section.block h2 { font-size: 1.1rem; margin-bottom: 10px; }
.perf-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.perf-list li { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.perf-list li.past { opacity: .5; }
.perf-list .note { color: var(--gold); font-size: .85rem; }
.desc p { white-space: pre-line; margin: 0 0 .8em; overflow-wrap: anywhere; }
.desc p:last-child { margin-bottom: 0; }
.facts .estimate { display: block; color: var(--muted); font-size: .85rem; margin-top: 2px; }
.review { padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; }
.review .outlet { font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--link); }
.review .paywall { color: var(--muted); font-weight: 600; text-transform: none; letter-spacing: 0; }
.review h3 { font-size: 1rem; margin: 4px 0; }
.review .by { color: var(--muted); font-size: .88rem; margin: 0 0 6px; }
.review blockquote { margin: 0 0 8px; padding-left: 10px; border-left: 3px solid var(--line); color: var(--text); }
.links-row { display: flex; flex-wrap: wrap; gap: 8px; }
.muted { color: var(--muted); }

/* -- theater directory -------------------------------------------------------- */
.org-list { display: grid; gap: 8px; }
@media (min-width: 720px) { .org-list { grid-template-columns: 1fr 1fr; } }
.org { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 12px; padding: 12px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.org-main { display: grid; min-width: 0; }
.org-main strong { overflow-wrap: anywhere; }
.org-links { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.org-none { font-size: .85rem; }
.org-fix { font-size: .82rem; color: var(--muted); margin-left: 4px; }
.fix-link { font-size: .9rem; color: var(--muted); margin-top: 18px; }
.listed-as { padding: 10px 12px; border-radius: 12px; background: var(--surface-2); font-size: .92rem; overflow-wrap: anywhere; }
.topics { display: grid; gap: 2px; margin: 0; }
.topics .check { font-weight: 400; }
.form .check input { width: 20px; height: 20px; min-height: 0; flex: none; }
.form label.check { display: flex; }

/* -- form --------------------------------------------------------------------- */
.form { display: grid; gap: 14px; max-width: 640px; }
.form h1 { margin-top: 14px; }
.form label { display: grid; gap: 6px; font-weight: 600; }
.form label span.hint { font-weight: 400; color: var(--muted); font-size: .88rem; }
.form input, .form textarea, .form select { width: 100%; min-height: var(--tap); padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); }
.form textarea { min-height: 110px; }
.form .row { display: grid; gap: 14px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .form .row { grid-template-columns: 1fr 1fr; } }
.perf-input { display: flex; gap: 8px; }
.perf-input input { flex: 1; }
.hp { position: absolute; left: -9999px; }
.notice { padding: 12px 14px; border-radius: 12px; background: var(--accent-soft); }
.error { color: #b3261e; }

.submit-cta { margin: 0 0 18px; padding: 16px; border-radius: var(--radius); background: var(--surface-2); color: var(--text);
  font-size: 1rem; font-weight: 600; text-align: center; }
.submit-cta a { font-weight: 800; white-space: nowrap; }
.donate { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 14px; }
.donate .btn span { color: #c2185b; margin-right: 4px; }
.footer { max-width: 980px; margin: 0 auto; padding: 20px var(--gutter) 40px; color: var(--muted); font-size: .85rem; border-top: 1px solid var(--line); }

/* -- list tools, strips, saved, dialogs --------------------------------------- */
.list-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin: 6px 0 10px; }
.list-tools .result-meta { margin: 0; }
.elsewhere { margin: 24px 0 8px; font-size: .88rem; color: var(--muted); }
.elsewhere a { font-weight: 600; }
.tool-links { display: flex; gap: 6px; }
.row-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.strip-wrap { margin: 10px 0 8px; }
.strip-head { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; margin-bottom: 8px; }
.strip-head h2 { font-size: 1.15rem; }
.strip-head .muted { font-size: .85rem; }
.strip { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; scroll-padding-inline: var(--gutter); padding-bottom: 6px; margin: 0 calc(var(--gutter) * -1); padding-left: var(--gutter); padding-right: var(--gutter); scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.tile { flex: none; width: 210px; scroll-snap-align: start; display: grid; gap: 3px; align-content: start; padding: 10px 12px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); border-top: 4px solid var(--other); color: inherit; text-decoration: none; }
.tile.high_school { border-top-color: var(--hs); } .tile.college { border-top-color: var(--college); }
.tile.community { border-top-color: var(--community); } .tile.regional { border-top-color: var(--regional); }
.tile.touring { border-top-color: var(--touring); }
.tile-when { font-weight: 800; font-size: .9rem; font-variant-numeric: tabular-nums; }
.tile strong { font-size: .98rem; line-height: 1.25; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tile-meta { color: var(--muted); font-size: .82rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.badge.closing { background: var(--gold); color: #fff; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .badge.closing { color: #111; } }
:root[data-theme="dark"] .badge.closing { color: #111; }
.card-actions .save { flex: 0 0 auto; min-width: 72px; }
.save[aria-pressed="true"] { background: var(--accent-soft); color: var(--link); border-color: var(--accent-soft); }
.past-cards { opacity: .65; }
.dialog { border: 0; padding: 0; border-radius: 18px; width: min(460px, calc(100vw - 24px)); background: var(--surface); color: var(--text); box-shadow: 0 10px 40px rgba(0,0,0,.3); }
.dialog::backdrop { background: rgba(0,0,0,.45); }
.dialog-body { padding: 4px var(--gutter) 18px; }
.dialog .btn.wide { width: 100%; }
.feed-url { font-size: .85rem !important; font-family: ui-monospace, Menlo, monospace; }
.toast { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); opacity: 0; pointer-events: none; z-index: 80; background: var(--text); color: var(--bg); padding: 10px 16px; border-radius: 999px; font-weight: 600; font-size: .92rem; max-width: calc(100vw - 32px); transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* -- ticket status ------------------------------------------------------------ */
.badge.avail { background: var(--surface-2); color: var(--text); border: 1px solid var(--line); }
.badge.avail.limited { background: var(--accent-soft); color: var(--link); border-color: var(--accent-soft); }
.perf-right { display: inline-flex; gap: 8px; align-items: baseline; flex-wrap: wrap; justify-content: flex-end; text-align: right; }
.perf-status { font-size: .72rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; border-radius: 999px; padding: 1px 8px; background: var(--surface-2); color: var(--muted); white-space: nowrap; }
.perf-status.limited { background: var(--accent-soft); color: var(--link); }
.slot .time .perf-status { display: inline-block; margin-top: 4px; }
.perf-list li.sold > span:first-child { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 1px; }
.status-note { font-size: .82rem; margin: 8px 0 0; }

/* -- accessibility ------------------------------------------------------------ */
.perf-status.access { background: var(--surface-2); color: var(--college); }
.access-lines { display: grid; gap: 2px; }

/* -- list/calendar switch, auditions ------------------------------------------ */
.view-switch { display: inline-flex; margin: 6px 0 2px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--surface); }
.view-switch a { padding: 6px 14px; font-weight: 600; font-size: .9rem; color: var(--text); text-decoration: none; min-height: 34px; display: inline-flex; align-items: center; }
.view-switch a[aria-current="page"] { background: var(--text); color: var(--bg); }
.aud-excerpt { margin: 6px 0 0; color: var(--muted); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; overflow-wrap: anywhere; }
.hint-small { margin: 6px 0 0; font-size: .8rem; color: var(--muted); }

/* -- distance, theater pages -------------------------------------------------- */
.near-row { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.near-row select { flex: 1; min-width: 160px; width: auto; }
#near-me[aria-pressed="true"] { background: var(--text); color: var(--bg); border-color: var(--text); }
.org-name { font-weight: 700; color: var(--text); text-decoration: none; overflow-wrap: anywhere; }
.org-name:hover { text-decoration: underline; }
.badge.managed { background: var(--hs); color: #fff; }
.past-list { margin: 0; padding-left: 18px; display: grid; gap: 4px; }

/* -- theater logo -------------------------------------------------------------- */
.theater-logo { display: flex; width: fit-content; align-items: center; justify-content: center; margin: 12px 0 4px; padding: 10px 14px; border-radius: 12px; background: #fff; border: 1px solid var(--line); max-width: min(300px, 100%); }
.theater-logo img { display: block; max-height: 84px; max-width: 100%; width: auto; height: auto; object-fit: contain; }
.theater-logo.on-dark { background: #2a2522; }

/* -- now playing (feature window) --------------------------------------------- */
/* The picture on one side, the show on a Bordeaux panel with a gold rule on the other.
   Phones stack them; wider screens put them side by side. */
.feature-slot { max-width: 980px; margin: 0 auto; padding: 0 var(--gutter); }
.feature-slot:empty { display: none; }
.feature { --feature-gold: #dcb76c; margin: 14px 0 0; }
.feature-org { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.feature-head { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.feature-head h2 { font-size: 1.15rem; white-space: nowrap; }
.feature-head .muted { font-size: .85rem; }
.feature-ctls { margin-left: auto; display: flex; gap: 4px; }
.feature-ctl { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); color: var(--text); cursor: pointer; padding: 0; }
.feature-ctl svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.feature.paused .feature-ctl svg path[d^="M8 5.5"] { fill: currentColor; }
.feature-track { position: relative; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; overscroll-behavior-x: contain;
  border-radius: var(--radius); background: var(--bar); box-shadow: var(--shadow); }
.feature-track::-webkit-scrollbar { display: none; }
.feature-slide { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; display: grid; grid-template-rows: auto 1fr; background: var(--bar); color: var(--bar-ink); min-width: 0; }
.feature-media { position: relative; display: block; aspect-ratio: 16 / 9; max-height: 260px; width: 100%; overflow: hidden; background: #1a0a10; }
.feature-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(18px) brightness(.55) saturate(1.1); transform: scale(1.15); }
.feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.feature-media.empty { display: grid; place-items: center; background: var(--surface-2); }
.feature-media.empty span { font-size: 4.5rem; font-weight: 800; letter-spacing: -.02em; color: var(--muted); }
.feature-media.empty.high_school span { color: var(--hs); } .feature-media.empty.college span { color: var(--college); }
.feature-media.empty.community span { color: var(--community); } .feature-media.empty.regional span { color: var(--regional); }
.feature-media.empty.touring span { color: var(--touring); }
.feature-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px 16px; border-top: 2px solid var(--bar-rule); min-width: 0; }
.feature-kicker { margin: 0; font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--feature-gold); }
.feature-title { font-size: 1.45rem; line-height: 1.15; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.feature-title a { color: inherit; text-decoration: none; }
.feature-title a:hover { text-decoration: underline; text-decoration-color: var(--feature-gold); }
.feature-org, .feature-when, .feature-price { margin: 0; font-size: .92rem; }
.feature-org { opacity: .88; }
.feature-when { font-weight: 700; font-variant-numeric: tabular-nums; }
.feature-price { opacity: .88; }
.feature-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: auto; padding-top: 10px; }  /* slides share a height: buttons sit at the bottom */
.feature-btn { background: var(--bar-ink); color: var(--bar); }
.feature-btn-quiet { background: transparent; color: var(--bar-ink); border: 1px solid rgba(248, 236, 217, .45); }
.feature :focus-visible { outline-color: var(--feature-gold); }
.feature-dots { display: flex; justify-content: center; gap: 2px; margin-top: 6px; }
.feature-dot { width: 22px; height: 24px; padding: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.feature-dot-fill { display: block; width: 8px; height: 8px; border-radius: 999px; background: var(--line); overflow: hidden; position: relative; transition: width .2s; }
/* The current dot stretches into a bar that fills until the next show comes up. */
.feature-dot[aria-current] { width: 40px; }
.feature-dot[aria-current] .feature-dot-fill { width: 32px; }
.feature-dot[aria-current] .feature-dot-fill::after { content: ""; position: absolute; inset: 0; background: var(--link); transform-origin: left; transform: scaleX(var(--p, 0)); }
.feature.paused .feature-dot[aria-current] .feature-dot-fill::after { transform: none; }
@media (min-width: 720px) {
  .feature-slide { grid-template-columns: 3fr 2fr; grid-template-rows: none; height: 340px; }
  .feature-media { aspect-ratio: auto; max-height: none; height: 100%; }
  .feature-body { justify-content: center; border-top: 0; border-left: 2px solid var(--bar-rule); padding: 22px 24px; }
  .feature-title { font-size: 1.9rem; }
  .feature-actions { margin-top: 6px; }
}
@media (max-width: 480px) {
  .feature-head .muted { display: none; }  /* the dots already say how many */
  .feature-title { -webkit-line-clamp: 2; }
}
@media (prefers-reduced-motion: reduce) { .feature-dot-fill { transition: none; } }
.form :disabled { opacity: .5; cursor: not-allowed; }
