/* Look: SPEC 2.4. Deep purple, glowing light text, at least 7/8 of the screen wide. Montserrat Black (weight 900, all caps,
   SPEC 2.8 N1) for the logo, headings, show names and big numbers; Poppins for everything else. */
:root {
  color-scheme: dark;
  --bg: #3b2862;       /* lifted 2026-11-19 (Rachel: dark, but not quite as dark); was #2b1a47 */
  --bg-2: #2f2050;     /* boxes darker than the page (Rachel 2026-11-23); were #46316f / #513b7d / #5d478b */
  --card: #281a45;
  --card-2: #34245a;
  --field: #1f1438;
  --line: #7d67a6;
  --ink: #f7f1ff;
  --ink-2: #d6c9ec;
  --ink-3: #c6b9de;
  --glow: #e9d8ff;
  --warm: #fff6d8;
  --gold: #f4c542;
  --gray: #8d8996;
  --black: #050308;
  --on-gold: #241600;
  --warn-bg: #4a3200;
  --warn-ink: #ffe29a;
  --warn-line: #8a6500;
  --series-1: #f0b829; /* brightened 2026-11-12 (was #b98a0c) */
  --series-2: #2f9fc0;
  --series-2-light: #6fc6de;
  --radius: 6px;  /* was 14px */
  --page-width: 92%; /* never under 7/8 of the screen */
  --font-display: Montserrat, "Arial Black", "Segoe UI Black", sans-serif;
  --font-body: Poppins, "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: radial-gradient(1200px 500px at 50% -120px, #5c3a94 0%, var(--bg) 70%) no-repeat, var(--bg);
  color: var(--ink);
  font: 15px/1.55 var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
}
a { color: var(--glow); }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; margin: 0; font-weight: 900; letter-spacing: 0; text-transform: uppercase; color: var(--ink); }
/* Page headlines in sentence case (Rachel 2026-11-12); show names stay in caps. */
h1.sentence { text-transform: none; }
h1 { font-size: 2.1rem; text-shadow: 0 0 14px rgba(233, 216, 255, .55); }
h2 { font-size: 1.4rem; text-shadow: 0 0 10px rgba(233, 216, 255, .35); }
h3 { font-size: 1.12rem; }
h4 { font-size: .95rem; }
p { margin: 0 0 .6em; max-width: 78ch; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }

.site-header, main, .site-footer { width: var(--page-width); margin-left: auto; margin-right: auto; }
.site-header {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 16px;
  padding: 14px 0 10px;
}
.brand {
  font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; line-height: 1;
  color: var(--warm); text-decoration: none;
  text-shadow: 0 0 6px rgba(244, 197, 66, .9), 0 0 20px rgba(244, 197, 66, .55);
}
.site-nav { display: flex; align-items: center; gap: 4px 14px; flex-wrap: wrap; }
.site-nav a { color: var(--ink-2); text-decoration: none; padding: 8px 2px; font-size: .95rem; }
.site-nav a[aria-current="page"] { color: var(--ink); text-shadow: 0 0 10px var(--glow); border-bottom: 2px solid var(--gold); }
.nav-button {
  background: transparent; color: var(--ink-2); border: 1px solid var(--line); border-radius: 4px; padding: 5px 14px; cursor: pointer;
  font-size: .95rem; min-height: 36px;
}
.nav-button:hover { color: var(--ink); border-color: var(--ink-3); }

main { padding: 4px 0 120px; }
main:focus { outline: none; }
.loading { color: var(--ink-2); padding: 40px 0; }
.lede { color: var(--ink-2); margin: 6px 0 14px; }

/* Day picker */
.day-picker { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin: 0 -2px; scrollbar-width: thin; }
.day-chip {
  flex: 0 0 auto; min-width: 66px; min-height: 58px; padding: 7px 10px; border-radius: 4px; cursor: pointer; text-align: center;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); line-height: 1.2;
}
.day-chip b { display: block; font-size: .78rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; }
.day-chip span { font-size: 1.05rem; }
.day-chip:hover { border-color: var(--ink-3); }
.day-chip[aria-pressed="true"] { background: var(--card-2); color: var(--warm); border-color: var(--gold); box-shadow: 0 0 12px rgba(244, 197, 66, .4); }

/* Sort and filters */
.controls { display: grid; gap: 8px; margin: 2px 0 12px; }
.control-row { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.control-name { font-weight: 600; font-size: .86rem; color: var(--ink-2); min-width: 96px; }
.chip {
  border: 1px solid var(--line); background: var(--bg-2); color: var(--ink); border-radius: 4px; padding: 4px 11px; min-height: 34px; cursor: pointer; font-size: .86rem;
}
.chip:hover:not(:disabled) { border-color: var(--ink-3); }
.chip[aria-pressed="true"] { background: var(--gold); color: var(--on-gold); border-color: var(--gold); font-weight: 600; }
.chip:disabled { opacity: .55; cursor: not-allowed; border-style: dashed; }
.control-note { color: var(--ink-2); font-size: .8rem; }
.filters { background: var(--bg-2); border: 1px solid var(--line); border-radius: 4px; padding: 4px 12px; }
.filters summary { cursor: pointer; font-weight: 600; min-height: 34px; padding: 5px 0; color: var(--ink); }
.filters[open] summary { margin-bottom: 4px; }
.filter-body { display: grid; gap: 8px; padding-bottom: 8px; }
.filters .control-name, .filters .control-note { color: var(--ink-2); }
.result-line { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; color: var(--ink-2); font-size: .9rem; }
.result-line b { color: var(--ink); }
.clear-all { background: none; border: 0; color: var(--ink); text-decoration: underline; cursor: pointer; padding: 4px; min-height: 30px; font-size: .9rem; }
.toggle { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; font-size: .92rem; color: var(--ink); min-height: 36px; }
.toggle input { width: 18px; height: 18px; accent-color: var(--gold); }

/* Tiles */
.group-title { margin: 22px 0 3px; }
.group-note { color: var(--ink-2); font-size: .9rem; margin: 0 0 10px; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(270px, 100%), 1fr)); gap: 12px; }
.tile {
  position: relative; display: flex; flex-direction: column; gap: 8px; padding: 14px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--line); min-width: 0;
}
.tile:hover { border-color: var(--ink-3); background: var(--card-2); }
.tile-top { display: flex; justify-content: space-between; gap: 10px; align-items: flex-start; }
.tile-name { min-width: 0; }
.tile-link { color: var(--ink); text-decoration: none; font-family: var(--font-display); font-weight: 900; letter-spacing: 0; text-transform: uppercase; font-size: 1.22rem; line-height: 1.15; overflow-wrap: break-word; }
.tile-link::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius); }
.tile-link:focus-visible { outline: none; }
.tile-link:focus-visible::after { outline: 2px solid var(--gold); outline-offset: 2px; }
.theater { display: block; color: var(--ink-3); font-size: .82rem; margin-top: 1px; }
.price { font-family: var(--font-display); font-weight: 900; letter-spacing: 0; text-transform: uppercase; color: var(--warm); white-space: nowrap; font-size: 1.3rem; line-height: 1.1; text-align: right; }
.price small { display: block; font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-3); font-size: .72rem; line-height: 1.3; }
.fav {
  position: relative; z-index: 1; align-self: flex-start; background: none; border: 0; padding: 0 4px; margin-left: -4px;
  min-width: 36px; min-height: 36px; font-size: 1.5rem; line-height: 1; color: var(--ink-3); cursor: pointer;
}
.fav:hover { color: var(--warm); }
.fav[aria-pressed="true"] { color: var(--gold); }
.stats { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; flex-wrap: wrap; }
.chance { font-family: var(--font-display); font-size: 1.8rem; line-height: 1; font-weight: 900; letter-spacing: 0; text-transform: uppercase; color: var(--ink); text-shadow: 0 0 10px rgba(233, 216, 255, .45); }
.chance small { font-family: var(--font-body); letter-spacing: 0; text-transform: none; font-size: .78rem; font-weight: 400; color: var(--ink-3); text-shadow: none; }
.arrival { font-weight: 600; color: var(--ink); }
.badges { display: flex; flex-wrap: wrap; gap: 5px; }
.badge { font-size: .72rem; padding: 2px 8px; border-radius: 4px; background: var(--bg-2); border: 1px solid var(--line); color: var(--ink-2); }
.badge.low { border-color: var(--warn-ink); color: var(--warn-ink); }
.rush-label { font-size: .72rem; font-weight: 600; padding: 2px 8px; border-radius: 6px; background: var(--ink-2); color: var(--bg); }
.rush-label.reported { background: transparent; color: var(--ink-2); box-shadow: inset 0 0 0 1px var(--ink-2); }
.simple-line { color: var(--ink-2); font-size: .92rem; }
.facts-line { color: var(--ink-3); font-size: .82rem; }
.seats { color: var(--ink-2); font-size: .88rem; font-weight: 600; }
.check-back { color: var(--ink-2); font-size: .88rem; font-style: italic; }

/* Links out: theater to Google Maps (N2), lottery and online rush (N4). They sit above the tile's whole-card link. */
.theater-link { position: relative; z-index: 1; color: var(--ink-3); text-decoration: underline dotted; text-underline-offset: 3px; align-self: flex-start; }
.theater-link:hover { color: var(--ink); text-decoration-style: solid; }
.tile .theater-link { display: inline-block; padding: 2px 0; }
.head-theater { color: inherit; }
a.rush-link { position: relative; z-index: 1; text-decoration: none; }
a.rush-link:hover { background: var(--warm); }
a.rush-link.reported:hover { background: var(--bg-2); }
.link-line { margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.out-link { color: var(--warm); font-weight: 600; }
/* Typical ticket crossed out next to the rush price (N3) */
/* Special deals (N10) and two-show days (N8) */
.badge.deal { border-color: var(--gold); color: var(--warm); }
.deal-row + .deal-row { margin-top: 10px; }
.two-show { font-size: .84rem; font-weight: 600; color: var(--glow); }
.two-show + .two-show { font-weight: 400; color: var(--ink-2); margin-top: -6px; }
.two-show-note { font-size: .84rem; color: var(--ink-2); margin: 4px 0 2px; }
.two-mark { font-size: .6rem; margin-left: 1px; }
.strip-day small.strip-two { color: var(--glow); font-size: .62rem; }
.showtime-section { margin-top: 18px; padding-top: 4px; border-top: 1px solid var(--line); }
.showtime-section:first-child { border-top: 0; }
.showtime-title { font-size: 1.6rem; margin: 14px 0 2px; color: var(--warm); text-shadow: 0 0 10px rgba(244, 197, 66, .45); }
.showtime-count { font-family: var(--font-body); font-weight: 400; text-transform: none; font-size: .9rem; color: var(--ink-3); text-shadow: none; }
.showtime-section h3.group-title { margin-top: 14px; }

/* High-profile stars (N5): label, leaving badge, Key appeals */
.badge.leaving { border-color: var(--gold); background: var(--warn-bg); color: var(--warn-ink); font-weight: 600; }
.appeal + .appeal { margin-top: 10px; }
.appeal-role { font-family: var(--font-body); font-weight: 400; text-transform: none; color: var(--ink-2); font-size: .9rem; }
.appeal.soon h3 { color: var(--warm); }
.appeal-soon { color: var(--warn-ink); font-weight: 600; font-size: .9rem; margin: 2px 0 0; }

/* Unusual box office opening (noon on Sundays): asterisk on the time, note under the picker (SPEC 2.2b) */
.open-mark { color: var(--gold); font-weight: 700; margin-left: 1px; }
.open-note { color: var(--ink-2); font-size: .86rem; margin: 0 0 10px; max-width: none; }
.open-note .open-mark { margin: 0; }

/* This week view (SPEC 2.2b) */
.strip-holder { margin: 2px 0 6px; }
.strip-title { font-size: 1.3rem; margin: 4px 0 6px; }
.week-strip { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-bottom: 8px; }
.strip-day {
  display: grid; justify-items: center; gap: 1px; padding: 7px 2px 8px; border-radius: 4px; text-decoration: none; text-align: center; min-width: 0;
  background: var(--bg-2); color: var(--ink-2); border: 1px solid var(--line); line-height: 1.15;
}
.strip-day:hover { border-color: var(--ink-3); }
.strip-day b { font-size: .74rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--ink); }
.strip-date { font-size: .74rem; color: var(--ink-3); }
.strip-num { font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: 1.45rem; line-height: 1; color: var(--ink); margin-top: 2px; }
.strip-day small { font-size: .68rem; color: var(--ink-3); }
.strip-day.best { background: var(--card-2); border-color: var(--gold); box-shadow: 0 0 12px rgba(244, 197, 66, .4); }
.strip-day.best .strip-num { color: var(--warm); text-shadow: 0 0 10px rgba(244, 197, 66, .55); }
.strip-day.off { opacity: .55; }
.tiles.week-tiles { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }
.best-day { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 8px; }
.best-label { font-size: .74rem; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--ink-3); }
.best-when { font-weight: 600; color: var(--warm); }
.week-row { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 3px; }
.week-cell {
  display: grid; justify-items: center; gap: 1px; padding: 4px 0 5px; border-radius: 3px; text-decoration: none; min-width: 0;
  font-variant-numeric: tabular-nums; line-height: 1.15; border: 1px solid transparent;
}
.week-cell-day { font-size: .66rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; }
.week-cell-val { font-size: .74rem; font-weight: 600; white-space: nowrap; }
.week-cell.dark, .week-cell.off { color: var(--ink-3); background: var(--bg-2); }
.week-cell.dark .week-cell-val, .week-cell.off .week-cell-val { font-weight: 400; }
.week-cell.tone-GO { background: var(--gold); color: var(--on-gold); }
.week-cell.tone-Maybe { background: var(--gray); color: var(--black); }
.week-cell.tone-Stay { background: var(--black); color: #fff; border-color: #cdbfe3; }
.week-cell .open-mark { color: inherit; }
.week-cell.best { outline: 2px solid var(--glow); outline-offset: 1px; box-shadow: 0 0 10px rgba(233, 216, 255, .6); }
a.week-cell:hover { filter: brightness(1.12); }

/* Worth-it bar: black to gray to gold, with a light outline so the black end shows on the dark purple */
.worth { display: flex; align-items: center; gap: 10px; }
.worth-track {
  position: relative; flex: 1; height: 12px; border-radius: 999px; border: 1px solid #cdbfe3; min-width: 60px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 20%, var(--gray) 55%, var(--gold) 85%, var(--gold) 100%);
}
.worth-marker {
  position: absolute; top: -5px; width: 6px; height: 20px; margin-left: -3px; border-radius: 3px; background: #fff;
  box-shadow: 0 0 0 2px var(--bg), 0 0 10px #fff;
}
.verdict { font-weight: 700; font-size: .86rem; letter-spacing: .03em; padding: 2px 10px; border-radius: 4px; white-space: nowrap; border: 1px solid transparent; }
.verdict-GO { background: var(--gold); color: var(--on-gold); }
.verdict-Maybe { background: var(--gray); color: var(--black); }
.verdict-Stay { background: var(--black); color: #fff; border-color: #cdbfe3; }

/* Details */
.back { display: inline-block; padding: 8px 0; color: var(--ink-2); text-decoration: none; }
.back:hover { color: var(--ink); }
.detail-head { display: flex; justify-content: space-between; gap: 14px; align-items: flex-start; flex-wrap: wrap; margin-bottom: 12px; }
.detail-head .muted { color: var(--ink-2); }
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
@media (min-width: 860px) { .detail-grid { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); align-items: start; } }
.col { display: grid; gap: 12px; min-width: 0; }
.panel { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px; min-width: 0; }
.panel h2 { margin-bottom: 8px; }
.statement { font-size: 1.22rem; line-height: 1.4; margin: 0 0 8px; }
.statement b { font-family: var(--font-display); font-weight: 900; font-size: 1.08em; letter-spacing: 0; text-transform: uppercase; line-height: 1; color: var(--warm); text-shadow: 0 0 10px rgba(244, 197, 66, .55); }
.muted { color: var(--ink-3); font-size: .88rem; }
.link-button {
  background: var(--bg-2); color: var(--ink); border: 1px solid var(--line); border-radius: 4px; padding: 8px 14px; cursor: pointer; min-height: 40px;
}
.link-button:hover { border-color: var(--ink-3); }
.slider-wrap { margin-top: 10px; }
.slider-wrap input[type="range"] { width: 100%; accent-color: var(--gold); height: 32px; }
.reasons { margin: 4px 0 8px; padding-left: 20px; max-width: 78ch; }
.reasons li { margin: 3px 0; }
.not-available { color: var(--ink-3); font-style: italic; }
.fact-list { display: grid; grid-template-columns: max-content minmax(0, 1fr); gap: 3px 14px; margin: 0; }
.fact-list dt { color: var(--ink-3); font-size: .88rem; }
.fact-list dd { margin: 0; }

/* Charts and tables */
.chart { position: relative; width: 100%; }
.chart svg { display: block; width: 100%; overflow: visible; touch-action: pan-y; }
.chart text { fill: var(--ink-3); font-size: 12px; }
.chart .value-label { fill: var(--ink); font-weight: 600; }
.chart .axis-title { fill: var(--ink-2); font-size: 11.5px; font-weight: 500; }
.legend { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: .85rem; color: var(--ink-2); margin: 2px 0 8px; }
.legend i { display: inline-block; width: 18px; height: 0; border-top: 2px solid; vertical-align: middle; margin-right: 6px; }
.legend i.dot { width: 12px; height: 12px; border: 0; border-radius: 50%; vertical-align: -1px; }
.legend i.dot.rush { background: var(--gold); }
.legend i.dot.typical { background: transparent; box-shadow: inset 0 0 0 2px var(--series-2-light); }
.legend i.dot.bar-a { background: var(--series-1); border-radius: 3px; }
.legend i.dot.bar-gray { background: var(--gray); border-radius: 3px; }
.tooltip {
  position: fixed; z-index: 30; pointer-events: none; background: #0f0719; border: 1px solid var(--line); border-radius: 8px;
  padding: 7px 10px; font-size: .84rem; max-width: 240px; box-shadow: 0 6px 18px rgba(0, 0, 0, .5);
}
.tooltip strong { display: block; color: var(--ink); }
.tooltip .tip-row { color: var(--ink-3); }
.table-wrap { overflow-x: auto; margin-top: 8px; }
table { border-collapse: collapse; width: 100%; font-size: .9rem; }
th, td { padding: 7px 10px; border-bottom: 1px solid var(--line); text-align: right; white-space: nowrap; }
th:first-child, td:first-child { text-align: left; white-space: normal; min-width: 130px; }
thead th { color: var(--ink-3); font-weight: 600; font-size: .8rem; vertical-align: bottom; white-space: normal; }
td.best { font-weight: 700; color: var(--gold); }
details summary { cursor: pointer; color: var(--ink-2); min-height: 32px; padding: 4px 0; }

.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin: 8px 0; }
.stat { background: var(--bg-2); border-radius: 4px; padding: 10px 12px; min-width: 0; }
.stat b { display: block; font-family: var(--font-display); font-weight: 900; letter-spacing: 0; text-transform: uppercase; font-size: 1.6rem; line-height: 1.15; }
.stat span { color: var(--ink-3); font-size: .82rem; }
.accuracy-grid { display: grid; gap: 12px; margin-top: 12px; grid-template-columns: repeat(auto-fit, minmax(min(520px, 100%), 1fr)); align-items: start; }
.panel.wide { grid-column: 1 / -1; }
.panel h3 { margin-bottom: 6px; }
.panel h4 { margin: 12px 0 2px; }
.numbers { margin-top: 6px; }

/* Nerd stats */
.ns-nav { position: sticky; top: 0; z-index: 10; display: flex; gap: 6px; overflow-x: auto; padding: 8px 0; background: var(--bg); scrollbar-width: thin; }
.ns-nav .chip { flex: 0 0 auto; }
.ns-section { margin-top: 26px; scroll-margin-top: 58px; }
.ns-section > .lede { margin-bottom: 0; }
.ns-section .accuracy-grid { display: flex; flex-direction: column; align-items: stretch; gap: 8px; margin-top: 10px; max-width: 900px; }
/* FAQ-style charts (2026-11-12): one closed question per row; click to open. */
.faq { padding: 0; }
.faq > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; min-height: 48px; }
.faq > summary::-webkit-details-marker { display: none; }
.faq > summary h3 { margin: 0; font-size: 1rem; }
.faq > summary::after { content: "+"; font: 400 1.5rem/1 var(--font-body); color: var(--gold); flex: 0 0 auto; }
.faq > summary::after { transition: transform .15s; }
.faq[open] > summary::after { transform: rotate(45deg); }
.faq > summary:hover { background: var(--card-2); border-radius: var(--radius); }
.faq[open] > summary:hover { border-radius: var(--radius) var(--radius) 0 0; }
.faq > summary:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; border-radius: var(--radius); }
.faq-body { padding: 0 16px 16px; max-width: 900px; }
.ns-section .accuracy-grid > .panel { margin-bottom: 0; }
.ns-section .accuracy-grid > .panel.wide { column-span: all; }

/* Bars made of plain elements */
.bars { display: grid; gap: 7px; margin-top: 4px; }
.bar-row { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr) 3.4em; gap: 8px; align-items: center; }
.bar-label { font-size: .84rem; line-height: 1.25; min-width: 0; overflow-wrap: anywhere; }
.bar-label small { display: block; color: var(--ink-3); font-size: .74rem; }
.show-name { font-family: var(--font-display); font-weight: 900; font-size: .84rem; letter-spacing: 0; text-transform: uppercase; line-height: 1.15; }
.bar-track { position: relative; height: 12px; }
.bar-track i { display: block; height: 100%; border-radius: 0 4px 4px 0; background: var(--series-1); }
.tone-gold .bar-track i { background: var(--gold); }
.tone-gray .bar-track i { background: var(--gray); }
.bar-track.has-ref::after { content: ""; position: absolute; left: var(--ref); top: -4px; bottom: -4px; border-left: 1px dotted var(--ink-2); }
.bar-label.show-name, .dumb-row .show-name { font-size: .74rem; overflow-wrap: normal; word-break: normal; hyphens: manual; }
.bar-value { text-align: right; font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; }

/* Show page: busiest days */
.day-bars { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.day-bar { display: grid; grid-template-rows: auto 90px auto; justify-items: center; gap: 4px; min-width: 0; }
.day-val { font-size: .84rem; font-weight: 600; }
.day-track { position: relative; width: 100%; max-width: 34px; height: 90px; }
.day-track i { position: absolute; left: 0; right: 0; bottom: 0; background: var(--gray); border-radius: 4px 4px 0 0; }
.day-name { font-size: .76rem; color: var(--ink-3); }
.day-bar.picked .day-track i { background: var(--gold); box-shadow: 0 0 10px rgba(244, 197, 66, .5); }
.day-bar.picked .day-val, .day-bar.picked .day-name { color: var(--warm); font-weight: 700; }

/* Show-by-day grid. One hue: the brighter the gold, the longer the line. */
.heat { table-layout: fixed; min-width: 300px; }
.heat th, .heat td { padding: 0; text-align: center; border: 2px solid var(--card); white-space: normal; }
.heat thead th { padding: 2px 0 4px; }
.heat th:first-child { width: 36%; min-width: 0; text-align: left; padding: 3px 6px 3px 0; }
.heat tbody th { color: var(--ink); }
.heat td { height: 30px; font-size: .84rem; font-weight: 600; font-variant-numeric: tabular-nums; border-radius: 6px; }
.heat td:first-child { min-width: 0; }
.heat-0 { color: var(--ink-3); background: transparent; }
.heat td.heat-0 { font-weight: 400; }
.heat-1 { background: color-mix(in srgb, var(--gold) 10%, var(--card)); color: var(--ink); }
.heat-2 { background: color-mix(in srgb, var(--gold) 24%, var(--card)); color: var(--ink); }
.heat-3 { background: color-mix(in srgb, var(--gold) 40%, var(--card)); color: var(--ink); }
.heat-4 { background: color-mix(in srgb, var(--gold) 66%, var(--card)); color: var(--on-gold); }
.heat-5 { background: var(--gold); color: var(--on-gold); }
.heat-key { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .8rem; color: var(--ink-2); margin: 2px 0 6px; }
.heat-key i { display: inline-block; width: 16px; height: 12px; border-radius: 3px; margin-right: 5px; vertical-align: -1px; }

/* Model vs. ground truth */
.method-toggle { margin: 2px 0 8px; }
.browse-filters { margin-top: 8px; gap: 8px 14px; }
.ns-select { display: inline-flex; align-items: center; gap: 6px; font-size: .84rem; color: var(--ink-2); }
.ns-select select { max-width: 210px; min-height: 36px; padding: 4px 8px; border-radius: 8px; border: 1px solid var(--line); background: var(--field); color: var(--ink); }
.browse-count { margin: 8px 0 0; }
.browse td { font-variant-numeric: tabular-nums; white-space: normal; vertical-align: top; padding: 7px 6px; }
.browse th { padding: 7px 6px; }
.browse td:first-child { min-width: 0; }
.browse th:first-child { min-width: 0; }
.browse small { display: block; color: var(--ink-3); font-size: .74rem; line-height: 1.3; }
.browse .show-name { display: block; }
.browse-more { margin-top: 10px; }

/* Rush price against typical ticket */
.dumbbells { display: grid; gap: 5px; margin-top: 4px; }
.dumb-row { display: grid; grid-template-columns: minmax(0, 36%) minmax(0, 1fr) 3.1em; gap: 10px; align-items: center; }
.dumb-head { color: var(--ink-3); font-size: .74rem; }
.dumb-axis { position: relative; height: 16px; }
.dumb-axis span { position: absolute; transform: translateX(-50%); }
.dumb-axis span:first-child { transform: none; }
.dumb-save { text-align: right; font-size: .84rem; font-weight: 600; }
.dumb-head .dumb-save { font-size: .74rem; font-weight: 400; }
.dumb-track { position: relative; height: 16px; }
.dumb-link { position: absolute; top: 7px; height: 2px; background: var(--line); }
.dumb-dot { position: absolute; top: 3px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; }
.dumb-dot.rush { background: var(--gold); }
.dumb-dot.typical { background: var(--card); box-shadow: inset 0 0 0 2px var(--series-2-light); }

.notice { background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); border-radius: 4px; padding: 10px 12px; font-size: .92rem; max-width: none; }
.notice.strong { font-weight: 700; }
.empty { color: var(--ink-2); padding: 18px; background: var(--card); border-radius: var(--radius); border: 1px dashed var(--line); max-width: none; }

.site-footer { padding: 0 0 90px; color: var(--ink-3); font-size: .82rem; }

/* Floating report button */
.report-fab {
  position: fixed; right: 12px; bottom: 14px; z-index: 20; display: inline-flex; align-items: center; gap: 8px;
  background: var(--gold); color: var(--on-gold); border: 0; border-radius: 6px; padding: 11px 16px; font-weight: 700; font-size: .92rem; cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, .55), 0 0 14px rgba(244, 197, 66, .45); min-height: 44px;
}
.report-fab:hover { background: #ffd65f; }

/* Forms in the modal */
dialog {
  width: min(560px, calc(100vw - 24px)); max-height: calc(100dvh - 24px); padding: 0; color: var(--ink); background: var(--bg-2);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: auto;
}
dialog::backdrop { background: rgba(8, 3, 16, .72); }
.modal-head { position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 12px 16px; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.modal-body { padding: 14px 16px 18px; display: grid; gap: 12px; }
.close { background: transparent; color: var(--ink); border: 1px solid var(--line); border-radius: 4px; width: 40px; height: 40px; cursor: pointer; font-size: 1.2rem; flex: none; }
.not-connected { display: inline-block; align-self: start; justify-self: start; background: var(--warn-ink); color: #2a1c00; font-weight: 700; font-size: .78rem; letter-spacing: .05em; padding: 3px 10px; border-radius: 6px; text-transform: uppercase; }
.field { display: grid; gap: 4px; min-width: 0; }
.field label, .field legend { font-weight: 600; font-size: .92rem; padding: 0; color: var(--ink); }
.field .req { color: var(--gold); }
.field input, .field select, .field textarea {
  width: 100%; min-width: 0; min-height: 42px; padding: 8px 10px; border-radius: 4px; border: 1px solid var(--line); background: var(--field); color: var(--ink);
}
.field input::placeholder, .field textarea::placeholder { color: var(--ink-3); }
.field .help { color: var(--ink-3); font-size: .8rem; }
fieldset.field { border: 0; margin: 0; padding: 0; }
.radios { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.radios label { display: inline-flex; align-items: center; gap: 6px; font-weight: 400; min-height: 32px; }
.radios input { width: 18px; height: 18px; min-height: 0; accent-color: var(--gold); }
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 12px; }
.primary { background: var(--gold); color: var(--on-gold); font-weight: 700; border: 0; border-radius: 4px; padding: 11px 16px; cursor: pointer; min-height: 44px; }
.primary:hover { background: #ffd65f; }
.result { padding: 10px 12px; border-radius: 4px; background: var(--warn-bg); color: var(--warn-ink); border: 1px solid var(--warn-line); max-width: none; }
.error { color: #ffb4a8; font-size: .86rem; }

@media (max-width: 520px) {
  h1 { font-size: 1.75rem; }
  .brand { font-size: 1.4rem; }
  .report-fab span { font-size: .84rem; }
  .statement { font-size: 1.12rem; }
  .control-name { min-width: 100%; }
}
@media (prefers-reduced-motion: no-preference) {
  .tile, .day-chip { transition: background .12s; }
}
@media (forced-colors: active) {
  .worth-track { background: Canvas; border-color: CanvasText; }
  .worth-marker { background: Highlight; }
}

/* Cleaning funnel, slide style (2026-11-12): centered gold bars to scale, number inside, what was cut on the right. */
.funnel { display: grid; gap: 10px; margin-top: 10px; }
.funnel-row { display: grid; grid-template-columns: minmax(0, 30%) minmax(0, 1fr) minmax(0, 30%); gap: 14px; align-items: center; }
.funnel-label { text-align: right; font-size: .88rem; color: var(--ink-2); line-height: 1.25; }
.funnel-track { display: flex; justify-content: center; }
.funnel-bar { height: 34px; border-radius: 6px; background: linear-gradient(180deg, #ffe07a, var(--gold)); display: flex; align-items: center; justify-content: center; box-shadow: 0 0 12px rgba(244, 197, 66, .35); min-width: 4.2em; }
.funnel-bar span { font: 900 1rem/1 var(--font-display); color: var(--on-gold); white-space: nowrap; }
.funnel-cut { font-size: .78rem; color: var(--ink-3); line-height: 1.3; }
.funnel-cut b { color: var(--ink-2); font-weight: 600; }
.funnel-row.final .funnel-bar { height: 42px; box-shadow: 0 0 10px rgba(244, 197, 66, .9), 0 0 26px rgba(244, 197, 66, .5); }
.funnel-row.final .funnel-label { color: var(--warm); font-weight: 600; }
@media (max-width: 640px) {
  .funnel-row { grid-template-columns: 1fr; gap: 4px; }
  .funnel-label { text-align: left; }
  .funnel-track { justify-content: flex-start; }
}
.no-data { margin-top: 18px; font-size: .84rem; }

/* Nerd stats: What did it cost? */
.spend { border-collapse: collapse; margin: 6px 0 4px; min-width: min(100%, 420px); }
.spend td { padding: 5px 10px 5px 0; border-bottom: 1px solid var(--line); }
.spend td.num { text-align: right; font-variant-numeric: tabular-nums; }
.spend tr.total td { font-weight: 700; border-bottom: 0; }

/* ---------- Nerd stats, Gradient Able–style dashboard in a SIX-cover palette (Rachel 2026-11-19) ----------
   Layout ideas from the MIT-licensed Gradient Able admin template (CodedThemes): gradient number cards, titled cards
   with soft shadows, decorative arcs. Colors: neon magenta, violet, teal and gold, with a rhinestone sparkle. */
.ns-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 14px; max-width: 1100px; }
.kpi {
  position: relative; overflow: hidden; color: #fff; border-radius: var(--radius); padding: 16px 18px 14px;
  box-shadow: 0 10px 24px -10px var(--kpi-glow), 0 2px 6px rgba(20, 8, 40, .35);
  background:
    radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .35) 1px, transparent 1.6px) 0 0 / 14px 14px,
    repeating-radial-gradient(circle at 115% -20%, transparent 0 22px, rgba(255, 255, 255, .13) 23px 24px),
    linear-gradient(135deg, var(--kpi-a), var(--kpi-b));
}
.kpi.k1 { --kpi-a: #ff4fb3; --kpi-b: #a42cf0; --kpi-glow: rgba(255, 79, 179, .7); }
.kpi.k2 { --kpi-a: #19d3c5; --kpi-b: #3a6ff0; --kpi-glow: rgba(25, 211, 197, .6); }
.kpi.k3 { --kpi-a: #ffd25a; --kpi-b: #ff8a1f; --kpi-glow: rgba(255, 186, 60, .6); color: #2a1400; }
.kpi.k4 { --kpi-a: #ff6f91; --kpi-b: #d4145a; --kpi-glow: rgba(255, 80, 120, .6); }
.kpi-title { margin: 0 0 6px; font-weight: 600; font-size: .92rem; letter-spacing: .02em; }
.kpi-main { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.kpi-main b { font-family: var(--font-display); font-weight: 900; font-size: 2.1rem; line-height: 1.1; text-shadow: 0 2px 10px rgba(0, 0, 0, .18); }
.kpi-main svg { opacity: .9; flex: 0 0 auto; }
.kpi-foot { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; margin-top: 8px; font-size: .8rem; opacity: .92; }

/* Section titles: SIX-style neon gradient text with a short glowing underline */
.ns-section > h2 {
  display: inline-block; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; letter-spacing: .02em;
  background: linear-gradient(90deg, #ff7ac6, #c58bff 55%, #ffd25a); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 8px rgba(255, 122, 198, .35));
}
.ns-section > h2::after { content: ""; display: block; width: 56px; height: 3px; margin-top: 6px; border-radius: 3px; background: linear-gradient(90deg, #ff4fb3, #a42cf0); }

/* Cards: template-style titled cards with a soft shadow, a neon edge and a faint arc in the corner */
.ns-section .panel {
  position: relative; overflow: hidden; border-color: transparent;
  box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8), inset 3px 0 0 #ff4fb3;
  background: repeating-radial-gradient(circle at 104% -30%, transparent 0 30px, rgba(255, 122, 198, .07) 31px 32px) no-repeat, var(--card);
}
.ns-section .panel:nth-child(3n+2) { box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8), inset 3px 0 0 #19d3c5; }
.ns-section .panel:nth-child(3n+3) { box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8), inset 3px 0 0 #ffd25a; }
.ns-section .faq > summary h3 { font-weight: 600; }

/* Tables: roomier, like the template */
.ns-section table { font-size: .92rem; }
.ns-section thead th { color: var(--ink-2); font-size: .82rem; text-transform: uppercase; letter-spacing: .04em; padding-bottom: 10px; }
.ns-section th, .ns-section td { padding: 10px 12px; }
.ns-section tbody tr:hover td { background: rgba(255, 255, 255, .04); }
.ns-nav { background: var(--bg); }

/* Show images (Rachel 2026-11-19): the show's Ticketmaster picture across the top of the tile */
.tile-img { display: block; width: calc(100% + 28px); max-width: none; margin: -14px -14px 2px; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius) var(--radius) 0 0; background: var(--bg-2); }

/* Carousel view: one swipeable row per group, snapping to each tile, with arrow buttons on wider screens */
.carousel { position: relative; }
.tiles.carousel-track { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 2px 12px; scrollbar-width: thin; overscroll-behavior-x: contain; }
.tiles.carousel-track > .tile { flex: 0 0 min(300px, 84%); scroll-snap-align: start; }
.tiles.week-tiles.carousel-track > .tile { flex-basis: min(340px, 88%); }
.carousel-arrow {
  position: absolute; top: 64px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line);
  background: var(--card-2); color: var(--ink); font-size: 1.6rem; line-height: 1; cursor: pointer; box-shadow: 0 4px 12px rgba(10, 4, 25, .5);
}
.carousel-arrow:hover { border-color: var(--gold); color: var(--gold); }
.carousel-arrow.prev { left: -20px; }
.carousel-arrow.next { right: -20px; }
@media (max-width: 699px) { .carousel-arrow { display: none; } }

/* ======================================================================================================
   N13 (SPEC 2.8, Rachel's UI round 2026-11-23). Each lettered block only applies under body.n13-<letter>,
   which app.js sets from its N13 switches. Undo a piece: set its switch to false in app.js, or delete its block.
   ====================================================================================================== */

/* ===== N13 a: big centered title, taller header, stars, gradient text ===== */
body.n13-a { --page-width: min(92%, calc(100% - 32px)); } /* 16px side gutters at phone width */
body.n13-a .site-header { flex-direction: column; justify-content: center; align-items: center; gap: 14px; padding: 40px 0 24px; text-align: center; }
body.n13-a .n13-title { display: flex; align-items: center; justify-content: center; gap: clamp(6px, 2.4vw, 28px); max-width: 100%; }
body.n13-a .brand {
  font-size: clamp(2.3rem, 7vw, 5.4rem); line-height: .95; text-align: center;
  background: linear-gradient(90deg, #ff7ac6, #c58bff 50%, #ffd25a); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 14px rgba(255, 79, 179, .4)) drop-shadow(0 0 32px rgba(164, 44, 240, .35));
}
body.n13-a .n13-stars { position: relative; flex: 0 0 auto; width: clamp(34px, 7vw, 96px); height: clamp(48px, 8vw, 110px); }
body.n13-a .n13-stars svg { position: absolute; animation: n13-twinkle 2.8s ease-in-out infinite; }
body.n13-a .n13-s1 { width: 56%; left: 22%; top: 24%; fill: #ffd25a; filter: drop-shadow(0 0 6px rgba(255, 210, 90, .8)); }
body.n13-a .n13-s2 { width: 26%; left: 0; top: 0; fill: #ff4fb3; animation-delay: .7s; filter: drop-shadow(0 0 5px rgba(255, 79, 179, .8)); }
body.n13-a .n13-s3 { width: 22%; right: 0; bottom: 4%; fill: #19d3c5; animation-delay: 1.4s; filter: drop-shadow(0 0 5px rgba(25, 211, 197, .8)); }
body.n13-a .n13-s4 { width: 18%; left: 8%; bottom: 0; fill: #c58bff; animation-delay: 2.1s; }
body.n13-a .n13-stars.right { transform: scaleX(-1); }
@keyframes n13-twinkle { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .45; transform: scale(.78); } }
@media (prefers-reduced-motion: reduce) { body.n13-a .n13-stars svg { animation: none; } }
body.n13-a .site-nav { justify-content: center; }
body.n13-a .brand:focus-visible { outline-offset: 6px; }
/* ===== end N13 a ===== */

/* ===== N13 b: centered page question + calendar-icon day strip across the full width ===== */
body.n13-b .page-q { text-align: center; margin-left: auto; margin-right: auto; }
body.n13-b .n13-cal { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: clamp(6px, 1vw, 14px); margin: 6px 0 16px; }
body.n13-b .n13-cal-day {
  display: flex; flex-direction: column; align-items: stretch; min-width: 0; padding: 0 0 8px; cursor: pointer; overflow: hidden;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); border-radius: 8px; text-align: center; font: inherit;
  box-shadow: 0 4px 12px rgba(10, 4, 25, .35); transition: transform .15s ease, box-shadow .15s ease;
}
body.n13-b .n13-cal-day:hover { transform: translateY(-2px); border-color: var(--ink-3); }
body.n13-b .n13-cal-band {
  display: block; padding: 4px 2px; background: #6a3fa6; color: #fff; font-weight: 700; font-size: clamp(.66rem, 1vw, .82rem);
  letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
body.n13-b .n13-cal-num { display: block; font-family: var(--font-display); font-weight: 900; font-size: clamp(1.6rem, 3.4vw, 2.9rem); line-height: 1.1; margin-top: 6px; }
body.n13-b .n13-cal-wd { display: block; font-size: clamp(.74rem, 1.05vw, .9rem); color: var(--ink-2); }
body.n13-b .n13-cal-day[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 0 18px rgba(244, 197, 66, .45); }
body.n13-b .n13-cal-day[aria-pressed="true"] .n13-cal-band { background: linear-gradient(90deg, #ff4fb3, #a42cf0); }
body.n13-b .n13-cal-day[aria-pressed="true"] .n13-cal-num { color: var(--warm); }
body.n13-b .n13-cal-day[aria-pressed="true"] .n13-cal-wd { color: var(--ink); font-weight: 600; }
@media (max-width: 640px) {
  body.n13-b .n13-cal { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body.n13-b .n13-cal-day:last-child { grid-column: span 2; }
}
@media (prefers-reduced-motion: reduce) { body.n13-b .n13-cal-day { transition: none; } }
/* ===== end N13 b ===== */

/* ===== N13 c: Sort + View side by side, filter groups side by side, Nerd stats colors on the buttons ===== */
/* Colors per group: the Nerd stats KPI gradients, darkened where white text sits on them (all 4.5:1 or better). */
body.n13-c .n13-sortview { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px 44px; }
body.n13-c .n13-sortview .control-name { min-width: 0; margin-right: 4px; }
body.n13-c .controls { justify-items: stretch; }
body.n13-c .controls > .control-row { justify-content: center; }
body.n13-c .result-line { justify-content: center; }
body.n13-c .chip { transition: background .15s ease, border-color .15s ease; }
body.n13-c .n13-sortview [data-sort][aria-pressed="true"] { background: linear-gradient(135deg, #ffd25a, #ff8a1f); color: #2a1400; border-color: transparent; }
body.n13-c .n13-sortview [data-sort]:not([aria-pressed="true"]) { border-color: #ffd25a; }
body.n13-c .n13-sortview [data-view][aria-pressed="true"] { background: linear-gradient(135deg, #0b7d75, #2c55c9); color: #fff; border-color: transparent; }
body.n13-c .n13-sortview [data-view]:not([aria-pressed="true"]) { border-color: #19d3c5; }
body.n13-c .fav-filter { border-color: #ff6f91; }
body.n13-c .fav-filter[aria-pressed="true"] { background: linear-gradient(135deg, #c8235f, #8e0f3e); color: #fff; border-color: transparent; }
body.n13-c .filters { padding: 6px 14px; }
body.n13-c .filter-body { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); gap: 10px; }
body.n13-c .filters .control-row {
  --c: #ff4fb3; --g: linear-gradient(135deg, #d4147a, #8a1fd0);
  align-content: flex-start; padding: 10px 12px; border-radius: 6px; background: rgba(255, 255, 255, .03); box-shadow: inset 3px 0 0 var(--c);
}
body.n13-c .filters .control-row:nth-child(6n+2) { --c: #c58bff; --g: linear-gradient(135deg, #7b3fe4, #4b2bb8); }
body.n13-c .filters .control-row:nth-child(6n+3) { --c: #19d3c5; --g: linear-gradient(135deg, #0b7d75, #2c55c9); }
body.n13-c .filters .control-row:nth-child(6n+4) { --c: #ffd25a; --g: linear-gradient(135deg, #ffd25a, #ff8a1f); }
body.n13-c .filters .control-row:nth-child(6n+5) { --c: #ff6f91; --g: linear-gradient(135deg, #c8235f, #8e0f3e); }
body.n13-c .filters .control-row:nth-child(6n+6) { --c: #7aa2ff; --g: linear-gradient(135deg, #2c55c9, #4b2bb8); }
body.n13-c .filters .control-name { flex: 1 0 100%; color: var(--c); font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }
body.n13-c .filters .chip:not([aria-pressed="true"]) { border-color: color-mix(in srgb, var(--c) 55%, var(--line)); }
body.n13-c .filters .chip[aria-pressed="true"] { background: var(--g); color: #fff; border-color: transparent; }
body.n13-c .filters .control-row:nth-child(6n+4) .chip[aria-pressed="true"] { color: #2a1400; }
/* ===== end N13 c ===== */

/* ===== N13 f: Nerd stats gradient text and colors on the customer pages ===== */
/* Same pink → violet → gold text gradient as the Nerd stats section titles (.ns-section > h2). */
body.n13-f h1.page-q, body.n13-f .group-title, body.n13-f .strip-title, body.n13-f .detail-head h1,
body.n13-f .detail-grid .panel > h2, body.n13-f .n13-dash .panel > h2 {
  background: linear-gradient(90deg, #ff7ac6, #c58bff 55%, #ffd25a); -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none; filter: drop-shadow(0 0 8px rgba(255, 122, 198, .35));
}
body.n13-f h1.page-q { display: table; } /* shrink to the text so the gradient spans the words, still centered by N13 b */
body.n13-f .group-title, body.n13-f .strip-title, body.n13-f .detail-head h1, body.n13-f .detail-grid .panel > h2, body.n13-f .n13-dash .panel > h2 { display: inline-block; }
body.n13-f .group-title::after, body.n13-f .strip-title::after {
  content: ""; display: block; width: 56px; height: 3px; margin-top: 6px; border-radius: 3px; background: linear-gradient(90deg, #ff4fb3, #a42cf0);
}
body.n13-f .detail-grid .panel h3, body.n13-f .n13-dash .panel h3 { color: #ffd25a; }
/* Panels on the show page: the Nerd stats card look, a neon edge cycling magenta / teal / gold / violet. */
body.n13-f .detail-grid .panel, body.n13-f .n13-dash .panel {
  position: relative; overflow: hidden; border-color: transparent; --edge: #ff4fb3;
  box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8), inset 3px 0 0 var(--edge);
  background: repeating-radial-gradient(circle at 104% -30%, transparent 0 30px, rgba(255, 122, 198, .07) 31px 32px) no-repeat, var(--card);
}
body.n13-f .detail-grid .panel:nth-child(4n+2), body.n13-f .n13-dash .panel:nth-child(4n+2) { --edge: #19d3c5; }
body.n13-f .detail-grid .panel:nth-child(4n+3), body.n13-f .n13-dash .panel:nth-child(4n+3) { --edge: #ffd25a; }
body.n13-f .detail-grid .panel:nth-child(4n+4), body.n13-f .n13-dash .panel:nth-child(4n+4) { --edge: #c58bff; }
/* Tiles: a neon edge along the bottom, cycling the same four colors. */
body.n13-f .tile { --edge: #ff4fb3; box-shadow: inset 0 -3px 0 var(--edge), 0 8px 20px -14px rgba(10, 4, 25, .9); }
body.n13-f .tile:nth-child(4n+2) { --edge: #19d3c5; }
body.n13-f .tile:nth-child(4n+3) { --edge: #ffd25a; }
body.n13-f .tile:nth-child(4n+4) { --edge: #c58bff; }
body.n13-f .tile:hover { border-color: var(--edge); }
body.n13-f .tile .chance { color: var(--warm); }
body.n13-f .back { color: #ff9ad3; }
/* ===== end N13 f ===== */

/* ===== N13 g: the show page as a dashboard ===== */
body.n13-g .n13-head { align-items: flex-start; }
body.n13-g .n13-head-right { display: grid; justify-items: end; gap: 10px; margin-left: auto; }
body.n13-g .n13-head .price { font-size: 1.8rem; }
body.n13-g .n13-nerd-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 9px 16px; border-radius: 6px; font-weight: 700; color: #fff; text-decoration: none;
  background: linear-gradient(135deg, #7b3fe4, #4b2bb8); box-shadow: 0 6px 18px -8px rgba(164, 44, 240, .9); white-space: nowrap;
}
body.n13-g .n13-nerd-btn:hover { filter: brightness(1.15); }
body.n13-g .n13-dash { display: grid; gap: 14px; }
body.n13-g .n13-dash .panel { font-size: 1rem; }
body.n13-g .n13-kpis { max-width: none; grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr)); }
body.n13-g .n13-kpis .kpi-main b { font-size: 2.4rem; }
body.n13-g .n13-row { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: start; }
@media (min-width: 860px) {
  body.n13-g .n13-row.n2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.n13-g .n13-row.n3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body.n13-g .n13-row.about-side.n2 { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
body.n13-g .n13-stack { display: grid; gap: 14px; align-content: start; min-width: 0; }
body.n13-g .n13-pic { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); box-shadow: 0 10px 26px -12px rgba(255, 79, 179, .55); }
body.n13-g .n13-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* About this show: a short colored table */
body.n13-g .n13-about-table { width: 100%; border-collapse: separate; border-spacing: 0 6px; font-size: 1rem; margin: 4px 0 6px; table-layout: fixed; }
body.n13-g .n13-about-table th, body.n13-g .n13-about-table td { overflow-wrap: anywhere; white-space: normal; border-bottom: 0; }
body.n13-g .n13-about-table tr { --c: #ff7ac6; }
body.n13-g .n13-about-table tr:nth-child(5n+2) { --c: #19d3c5; }
body.n13-g .n13-about-table tr:nth-child(5n+3) { --c: #ffd25a; }
body.n13-g .n13-about-table tr:nth-child(5n+4) { --c: #c58bff; }
body.n13-g .n13-about-table tr:nth-child(5n+5) { --c: #7aa2ff; }
body.n13-g .n13-about-table th, body.n13-g .n13-about-table td { padding: 9px 12px; background: rgba(255, 255, 255, .04); text-align: left; vertical-align: top; }
body.n13-g .n13-about-table th { width: 38%; color: var(--c); font-weight: 600; box-shadow: inset 3px 0 0 var(--c); border-radius: 4px 0 0 4px; }
body.n13-g .n13-about-table td { color: var(--ink); font-weight: 600; border-radius: 0 4px 4px 0; }
body.n13-g .n13-small { font-size: .82rem; margin: 4px 0 0; }
/* Rush policy: full width, its offers in two columns */
body.n13-g .n13-policy { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
@media (min-width: 700px) {
  body.n13-g .n13-policy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.n13-g .n13-policy > h2, body.n13-g .n13-policy > p { grid-column: 1 / -1; justify-self: start; }
}
body.n13-g .n13-why-cols { display: grid; gap: 4px 32px; }
@media (min-width: 700px) { body.n13-g .n13-why-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.n13-g .n13-why .n13-nerd-btn { margin-top: 8px; }
@media (max-width: 520px) { body.n13-g .n13-head-right { margin-left: 0; justify-items: start; } }
@media (max-width: 600px) {
  body.n13-g .n13-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  body.n13-g .n13-kpis .kpi { padding: 12px 12px 10px; }
  body.n13-g .n13-kpis .kpi-main svg { display: none; }
  body.n13-g .n13-kpis .kpi-main b { font-size: 1.6rem; }
  body.n13-g .n13-kpis .kpi-foot { font-size: .72rem; }
  body.n13-g .n13-about-table th { width: 42%; }
}
/* ===== end N13 g ===== */

/* ===== N13 e: Nerd stats as a dashboard grid, jump buttons centered ===== */
body.n13-e main > h1.sentence:not(.page-q), body.n13-e main > h1.sentence:not(.page-q) + .lede { text-align: center; margin-left: auto; margin-right: auto; }
body.n13-e .ns-nav { justify-content: safe center; }
body.n13-e .ns-section > h2 { display: table; margin: 0 auto; }
body.n13-e .ns-section > .lede { text-align: center; margin-left: auto; margin-right: auto; }
body.n13-e .ns-section .accuracy-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; max-width: none; align-items: stretch; margin-top: 14px; }
body.n13-e .ns-section .accuracy-grid > * { grid-column: span var(--span, 6); min-width: 0; }
body.n13-e .faq-body { max-width: none; }
body.n13-e .ns-kpis { max-width: none; }
@media (max-width: 860px) { body.n13-e .ns-section .accuracy-grid > * { grid-column: 1 / -1; } }
/* ===== end N13 e ===== */

/* ===== N13 d: 3D coverflow carousel (geometry from docs/reference/glassy-coverflow-carousel.md) ===== */
body.n13-d .cf { margin: 6px 0 10px; }
body.n13-d .cf-stage {
  position: relative; overflow: hidden; transform-style: preserve-3d; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  min-height: 360px; border-radius: var(--radius); outline-offset: 4px; cursor: grab;
}
body.n13-d .cf-stage:active { cursor: grabbing; }
body.n13-d .cf-deck { position: absolute; inset: 0; transform-style: preserve-3d; }
body.n13-d .cf-card {
  position: absolute; left: 50%; top: 14px; margin-left: 0; translate: -50% 0; transform-style: preserve-3d; will-change: transform;
  transition: transform .7s cubic-bezier(.22, 1, .36, 1), opacity .5s ease;
}
body.n13-d .cf-card > .tile { box-shadow: 0 18px 40px -18px rgba(10, 4, 25, .95); }
body.n13-d .cf-card::after {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius); background: #12081f; opacity: var(--dim, 0); pointer-events: none;
  transition: opacity .5s ease;
}
body.n13-d .cf-card.is-center > .tile { border-color: #ff7ac6; box-shadow: 0 0 0 1px #ff7ac6, 0 18px 44px -14px rgba(255, 79, 179, .6); }
body.n13-d .cf-card:not(.is-center) { cursor: pointer; }
body.n13-d .cf-floor {
  position: absolute; left: 18%; right: 18%; bottom: 2px; height: 34px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(164, 44, 240, .55), transparent); filter: blur(8px);
}
body.n13-d .cf-info { display: grid; justify-items: center; gap: 6px; text-align: center; margin-top: 8px; }
body.n13-d .cf-title {
  margin: 0; font-family: var(--font-display); font-weight: 900; text-transform: uppercase; font-size: clamp(1.2rem, 2.6vw, 1.7rem); line-height: 1.15;
  background: linear-gradient(90deg, #ff7ac6, #c58bff 55%, #ffd25a); -webkit-background-clip: text; background-clip: text; color: transparent;
  max-width: 100%;
}
body.n13-d .cf-sub { margin: 0; color: var(--ink-2); font-size: .9rem; }
body.n13-d .cf-dock {
  display: inline-flex; align-items: center; gap: 6px; padding: 4px 6px 4px 14px; border-radius: 999px;
  background: var(--card); border: 1px solid #a42cf0; box-shadow: 0 6px 18px -8px rgba(164, 44, 240, .8);
}
body.n13-d .cf-count { font-variant-numeric: tabular-nums; font-weight: 700; color: var(--ink); letter-spacing: .04em; }
body.n13-d .cf-sep { width: 1px; height: 22px; background: var(--line); margin: 0 4px; }
body.n13-d .cf-btn {
  width: 40px; height: 40px; border-radius: 50%; border: 0; cursor: pointer; font-size: 1.5rem; line-height: 1; color: #fff;
  background: linear-gradient(135deg, #d4147a, #8a1fd0);
}
body.n13-d .cf-btn:hover { filter: brightness(1.15); }
body.n13-d .cf-hint { margin: 0; color: var(--ink-3); font-size: .8rem; }
body.n13-d .cf-live { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { body.n13-d .cf-card, body.n13-d .cf-card::after { transition: none; } }
/* ===== end N13 d ===== */

/* ======================================================================================================
   N14 (SPEC 2.8, Rachel's UI round 2, 2026-11-23). Same rules as N13: each block only applies under
   body.n14-<letter>, set from the N14 switches in app.js. Undo a piece: switch it off, or delete its block.
   ====================================================================================================== */

/* ===== N14 d: show page, predictions first; gold headings; no side stripes; no holes; middle 2/3 ===== */
@media (min-width: 1100px) { body.n14-d main.n14-narrow { width: min(var(--page-width), 66.6vw); } }
body.n14-d .n14-page { display: grid; gap: 14px; }
body.n14-d .n14-head { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; align-items: center; margin-bottom: 0; }
@media (min-width: 700px) { body.n14-d .n14-head { grid-template-columns: minmax(180px, 34%) minmax(0, 1fr) auto; } }
body.n14-d .n14-head-right { display: grid; justify-items: end; gap: 10px; align-self: start; }
@media (max-width: 699px) { body.n14-d .n14-head-right { justify-items: start; } }
body.n14-d .n14-head .price { font-size: 1.8rem; }
body.n14-d .n14-show-pic { margin: 0; border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(244, 197, 66, .45); box-shadow: 0 10px 26px -14px rgba(10, 4, 25, .9); }
body.n14-d .n14-show-pic img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
/* Top row: the prediction and the line, side by side, same height */
body.n14-d .n14-top { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 760px) { body.n14-d .n14-top:not(.single) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.n14-d .n14-predict .statement { font-size: 1.3rem; line-height: 1.35; margin-top: 4px; }
body.n14-d .n14-predict .statement b { font-family: var(--font-display); font-weight: 900; font-size: 2.6rem; color: var(--warm); text-shadow: 0 0 14px rgba(244, 197, 66, .45); }
body.n14-d .n14-predict .statement span { font-size: .92rem !important; }
@media (max-width: 600px) { body.n14-d .n14-predict .statement { font-size: 1.1rem; } body.n14-d .n14-predict .statement b { font-size: 1.9rem; } }
body.n14-d .n14-predict .notice { background: rgba(244, 197, 66, .08); color: var(--ink-2); border: 0; box-shadow: inset 2px 0 0 var(--gold); font-size: .84rem; }
body.n14-d .n14-line > p:first-of-type { font-size: 1.05rem; color: var(--ink); }
/* Below: two columns that end at the same height (the last panel in each stretches) */
body.n14-d .n14-cols { display: grid; gap: 14px; grid-template-columns: minmax(0, 1fr); align-items: stretch; }
@media (min-width: 760px) { body.n14-d .n14-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
body.n14-d .n14-col { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
body.n14-d .n14-col:empty { display: none; }
body.n14-d .n14-cols.dealt .n14-col > :last-child { flex-grow: 1; }
body.n14-d .n14-cols.single, body.n14-d .n14-cols:not(.dealt):not(.measuring) { grid-template-columns: minmax(0, 1fr); }
body.n14-d .n14-cols.measuring { grid-template-columns: repeat(2, minmax(0, 1fr)); } /* measure panels at their real (half) width */
/* Gold headings and no colored side lines on this page (the show name keeps its gradient) */
body.n14-d .n14-page .panel { box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8); border: 1px solid rgba(244, 197, 66, .16); }
body.n14-d .n14-page .panel > h2 {
  display: block; background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--gold);
  filter: none; text-shadow: 0 0 10px rgba(244, 197, 66, .3);
}
body.n14-d .n14-page .panel h3 { color: var(--warm); }
body.n14-d .n14-page .n13-about-table tr { --c: var(--gold); }
body.n14-d .n14-page .n13-about-table th { color: var(--ink-2); }
/* Rush policy across the full width, its offers in two columns */
body.n14-d .n14-policy { display: grid; grid-template-columns: minmax(0, 1fr); column-gap: 32px; }
@media (min-width: 700px) {
  body.n14-d .n14-policy { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.n14-d .n14-policy > h2, body.n14-d .n14-policy > p { grid-column: 1 / -1; }
}
/* ===== end N14 d ===== */

/* ===== N14 a: gold marquee sign around the title, gently chasing bulbs (replaces N13 a's side stars) ===== */
body.n14-a .site-header { padding-top: 30px; }
body.n14-a .n14-marquee {
  position: relative; display: inline-block; max-width: 100%; padding: 34px clamp(30px, 4.5vw, 62px) 32px; border-radius: 18px; text-align: center;
  background: radial-gradient(120% 150% at 50% 0%, #4b2a7a 0%, #2d1852 58%, #241345 100%);
  border: 3px solid #e0a92a;
  box-shadow: inset 0 0 0 1px rgba(255, 230, 160, .35), 0 0 34px rgba(244, 197, 66, .28), 0 16px 34px -14px rgba(10, 4, 25, .95);
}
/* A thin pink inner frame inside the bulbs: the little bit of pink */
body.n14-a .n14-marquee::after {
  content: ""; position: absolute; inset: 22px; border: 1px solid rgba(255, 122, 198, .55); border-radius: 8px; pointer-events: none;
  box-shadow: 0 0 12px rgba(255, 79, 179, .18) inset;
}
body.n14-a .brand {
  position: relative; z-index: 1; font-size: clamp(2.1rem, 6.2vw, 5rem); line-height: .98; letter-spacing: .015em;
  background: linear-gradient(180deg, #fff7d6 0%, #ffe07a 34%, #f4c542 56%, #e9a23a 82%, #d9812c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none;
  filter: drop-shadow(0 0 10px rgba(255, 210, 90, .5)) drop-shadow(0 2px 0 rgba(110, 45, 10, .75));
}
body.n14-a .n14-bulbs { position: absolute; inset: 0; pointer-events: none; }
body.n14-a .n14-bulb {
  position: absolute; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%;
  background: radial-gradient(circle at 38% 35%, #fffdf0 0 22%, #ffe08a 50%, #e9a422 100%);
  box-shadow: 0 0 7px 2px rgba(255, 214, 110, .7);
  animation: n14-chase 3.6s ease-in-out infinite;
}
body.n14-a .n14-bulb.b1 { animation-delay: 1.2s; }
body.n14-a .n14-bulb.b2 { animation-delay: 2.4s; }
@keyframes n14-chase { 0%, 100% { opacity: 1; } 50% { opacity: .62; box-shadow: 0 0 3px 1px rgba(255, 214, 110, .35); } }
@media (prefers-reduced-motion: reduce) { body.n14-a .n14-bulb { animation: none; } }
@media (max-width: 500px) {
  body.n14-a .n14-marquee { padding: 30px 26px 28px; border-radius: 14px; }
  body.n14-a .n14-marquee::after { inset: 20px; }
  body.n14-a .n14-bulb { width: 8px; height: 8px; margin: -4px 0 0 -4px; }
}
/* ===== end N14 a ===== */

/* ===== N14 b: a bit bigger Sort / View / Filters text; Show favorites on the Sort and View row ===== */
body.n14-b .n13-sortview, body.n14-b .controls > .control-row { gap: 12px 40px; }
body.n14-b .n13-sortview .control-name, body.n14-b .controls > .control-row > .control-name { font-size: 1rem; }
body.n14-b .n13-sortview .chip, body.n14-b .n14-favrow .chip { font-size: .98rem; min-height: 40px; padding: 6px 14px; }
body.n14-b .filters summary { font-size: 1.08rem; }
body.n14-b .filters .control-name { font-size: .88rem; }
body.n14-b .filters .chip { font-size: .94rem; min-height: 38px; padding: 5px 13px; }
body.n14-b .n14-favrow { gap: 6px; }
/* ===== end N14 b ===== */

/* ===== N14 c: one image shape everywhere (16:9, cropped to fill) + the stage drawing for shows without a photo ===== */
body.n14-c .tile-img, body.n14-c .n14-show-pic img, body.n14-c .n13-pic img { aspect-ratio: 16 / 9; object-fit: cover; object-position: center; height: auto; }
body.n14-c .n14-img.n14-stage { background: #241240; }
/* ===== end N14 c ===== */

/* ===== N14 f: busiest-shows grid: light-pink hover that keeps the level, pink info line, bigger show names ===== */
body.n14-f .heat td.heat-0 { --lvl: transparent; }
body.n14-f .heat td.heat-1 { --lvl: color-mix(in srgb, var(--gold) 10%, var(--card)); }
body.n14-f .heat td.heat-2 { --lvl: color-mix(in srgb, var(--gold) 24%, var(--card)); }
body.n14-f .heat td.heat-3 { --lvl: color-mix(in srgb, var(--gold) 40%, var(--card)); }
body.n14-f .heat td.heat-4 { --lvl: color-mix(in srgb, var(--gold) 66%, var(--card)); }
body.n14-f .heat td.heat-5 { --lvl: var(--gold); }
/* Row hover no longer paints over the levels */
body.n14-f .ns-section .heat tbody tr:hover td, body.n14-f .heat tbody td { background: var(--lvl); }
body.n14-f .heat tbody td { cursor: default; transition: background .12s ease; }
body.n14-f .ns-section .heat tbody tr td:hover, body.n14-f .ns-section .heat tbody tr td:focus, body.n14-f .ns-section .heat tbody tr td.n14-hot {
  background: color-mix(in srgb, #ffc9e6 64%, var(--lvl)); color: #3a0d27; box-shadow: inset 0 0 0 2px #ff7ac6; outline: none;
}
body.n14-f .n14-heat-info {
  margin: 4px 0 10px; padding: 8px 12px; border-radius: 6px; min-height: 2.6em; max-width: none;
  background: rgba(255, 79, 179, .16); border: 1px solid rgba(255, 122, 198, .6); color: var(--ink); font-size: .92rem;
}
body.n14-f .n14-heat-info b { color: #ffb3dc; }
body.n14-f .heat th:first-child { width: 27%; padding-right: 10px; }
body.n14-f .heat tbody th { font-size: .95rem; line-height: 1.2; }
@media (max-width: 600px) { body.n14-f .heat th:first-child { width: 34%; } body.n14-f .heat tbody th { font-size: .8rem; } }
/* ===== end N14 f ===== */

/* ===== N14 e: Refresh icon top right with a hover label; bigger Nerd stats jump buttons ===== */
body.n14-e .site-header { position: relative; }
body.n14-e .n14-refresh {
  position: absolute; top: 10px; right: 0; width: 40px; height: 40px; min-height: 0; padding: 0; border-radius: 50%;
  display: grid; place-items: center; color: var(--ink-2); background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
body.n14-e .n14-refresh:hover, body.n14-e .n14-refresh:focus-visible { color: var(--gold); border-color: var(--gold); }
body.n14-e .n14-refresh:hover svg { transform: rotate(-40deg); }
body.n14-e .n14-refresh svg { transition: transform .3s ease; }
body.n14-e .n14-refresh-label {
  position: absolute; right: 0; top: calc(100% + 6px); padding: 3px 9px; border-radius: 4px; white-space: nowrap; font-size: .8rem;
  background: var(--card); color: var(--ink); border: 1px solid var(--line); opacity: 0; pointer-events: none; transition: opacity .15s ease;
}
body.n14-e .n14-refresh:hover .n14-refresh-label, body.n14-e .n14-refresh:focus-visible .n14-refresh-label { opacity: 1; }
@media (max-width: 600px) { body.n14-e .site-header { padding-top: 56px; } body.n14-e .n14-refresh { top: 8px; } }
@media (prefers-reduced-motion: reduce) { body.n14-e .n14-refresh svg { transition: none; } }
body.n14-e .ns-nav { gap: 8px; padding: 10px 0; }
body.n14-e .ns-nav .chip { font-size: 1.02rem; min-height: 44px; padding: 8px 18px; border-color: rgba(244, 197, 66, .55); }
body.n14-e .ns-nav .chip:hover { border-color: var(--gold); color: var(--warm); }
/* ===== end N14 e ===== */

/* ===== N14 g: Nerd stats as a real dashboard: paired panels, gold headings, things to click ===== */
body.n14-g .ns-section .accuracy-grid.n14-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; max-width: none; align-items: stretch; margin-top: 14px; }
body.n14-g .ns-section .accuracy-grid.n14-grid > * { grid-column: span var(--span, 6); min-width: 0; }
@media (max-width: 860px) { body.n14-g .ns-section .accuracy-grid.n14-grid > * { grid-column: 1 / -1; } }
body.n14-g .ns-section { margin-top: 30px; }
/* Gold question headings and gold panel edges (no pink or teal stripes) */
body.n14-g .ns-section .faq > summary h3 { color: var(--gold); font-size: 1.05rem; text-shadow: 0 0 10px rgba(244, 197, 66, .25); }
body.n14-g .ns-section .panel, body.n14-g .ns-section .panel:nth-child(3n+2), body.n14-g .ns-section .panel:nth-child(3n+3) {
  box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8); border: 1px solid rgba(244, 197, 66, .18);
}
body.n14-g .faq-body { max-width: none; }
/* Score tables: bigger text, less air */
body.n14-g .ns-section table { font-size: .98rem; }
body.n14-g .ns-section th, body.n14-g .ns-section td { padding: 8px 10px; }
body.n14-g .ns-section td { white-space: normal; }
/* A panel you jumped to glows briefly */
body.n14-g .n14-flash { animation: n14-flash 1.6s ease-out; }
@keyframes n14-flash { 0% { box-shadow: 0 0 0 3px var(--gold), 0 0 30px rgba(244, 197, 66, .5); } 100% { box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8); } }
@media (prefers-reduced-motion: reduce) { body.n14-g .n14-flash { animation: none; } }
body.n14-g .n14-click { cursor: pointer; }
body.n14-g .kpi.n14-click { transition: transform .15s ease; }
body.n14-g .kpi.n14-click:hover, body.n14-g .kpi.n14-click:focus-visible { transform: translateY(-3px); }
/* Line growth: chart with its toggles on the side */
body.n14-g .n14-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(150px, 34%); gap: 16px; align-items: start; margin-bottom: 8px; }
@media (max-width: 600px) { body.n14-g .n14-split { grid-template-columns: minmax(0, 1fr); } }
body.n14-g .n14-chartbox { min-width: 0; }
body.n14-g .n14-side { display: grid; gap: 10px; align-content: start; font-size: .92rem; }
body.n14-g .n14-side p { margin: 0; }
body.n14-g .n14-toggles { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
body.n14-g .n14-side-label { flex: 1 0 100%; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; color: var(--ink-2); }
body.n14-g .n14-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; min-height: 36px; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .04); color: var(--ink); border: 1px solid var(--line); font-size: .9rem;
}
body.n14-g .n14-toggle i { width: 18px; height: 0; border-top: 3px solid var(--c); }
body.n14-g .n14-toggle i.dashed { border-top-style: dashed; }
body.n14-g .n14-toggle[aria-pressed="false"] { opacity: .5; text-decoration: line-through; }
body.n14-g .n14-toggle[aria-pressed="true"] { border-color: var(--gold); }
/* Info lines and the show card */
body.n14-g .n14-info {
  margin: 10px 0 0; padding: 8px 12px; border-radius: 6px; max-width: none; font-size: .92rem; min-height: 2.6em;
  background: rgba(244, 197, 66, .08); border: 1px solid rgba(244, 197, 66, .4); color: var(--ink);
}
body.n14-g .n14-info b { color: var(--warm); }
body.n14-g .n14-card-links { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 6px; }
body.n14-g .n14-card-links a { color: var(--gold); font-weight: 600; }
body.n14-g .funnel-row { cursor: default; border-radius: 6px; }
body.n14-g .funnel-row.n14-hot, body.n14-g .funnel-row:focus-visible { background: rgba(244, 197, 66, .1); outline: none; }
body.n14-g .bar-row.n14-click:hover, body.n14-g .bar-row.n14-hot, body.n14-g .bar-row.n14-click:focus-visible { background: rgba(244, 197, 66, .1); outline: none; border-radius: 4px; }
body.n14-g .n14-show-link { color: inherit; text-decoration: none; }
body.n14-g .n14-show-link:hover, body.n14-g .n14-show-link:focus-visible { color: var(--gold); text-decoration: underline; }
/* ===== end N14 g ===== */

/* ========== LIVE: Refresh results (SPEC 6.3, 2026-11-29). Only appears after a Refresh. ========== */
.live-line { margin: 6px 0 0; font-size: .84rem; line-height: 1.4; color: var(--text, #f3ecff); }
.live-line.full { margin: 0 0 14px; padding: 10px 12px; border: 1px solid #f4c542; border-radius: 6px; background: rgba(244, 197, 66, .08); font-size: .95rem; }
.live-dot { display: inline-flex; align-items: center; gap: 5px; color: #f4c542; text-transform: uppercase; letter-spacing: .05em; font-size: .78em; }
.live-dot::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #f4c542; box-shadow: 0 0 6px #f4c542; }
.live-good { color: #8ef0c0; font-weight: 600; }
.live-warn { color: #ffd27a; font-weight: 600; }
.live-bad { color: #ff9db5; font-weight: 600; }
/* ========== end LIVE ========== */

/* ===================== N15: Rachel's UI round 3 (2026-11-30). Switches: const N15 in app.js ===================== */

/* ===== N15 a: no blue anywhere. Purple, pink and gold, with orange as the extra accent ===== */
body.n15-a { --series-2: #ff6fb5; --series-2-light: #ff9fd0; }
body.n15-a .kpi.k2 { --kpi-a: #ffb347; --kpi-b: #ff5e3a; --kpi-glow: rgba(255, 140, 60, .6); }
body.n15-a:not(.n14-g) .ns-section .panel:nth-child(3n+2) { box-shadow: 0 8px 22px -12px rgba(10, 4, 25, .8), inset 3px 0 0 #ff9a3c; }
body.n15-a .n13-sortview [data-view][aria-pressed="true"] { background: linear-gradient(135deg, #d4147a, #8a1fd0); color: #fff; border-color: transparent; }
body.n15-a .n13-sortview [data-view]:not([aria-pressed="true"]) { border-color: #c58bff; }
body.n15-a .filters .control-row:nth-child(6n+3) { --c: #ff9a3c; --g: linear-gradient(135deg, #ff9a3c, #e0442a); }
body.n15-a .filters .control-row:nth-child(6n+6) { --c: #c58bff; --g: linear-gradient(135deg, #7b3fe4, #4b2bb8); }
body.n15-a.n13-f .detail-grid .panel:nth-child(4n+2), body.n15-a.n13-f .n13-dash .panel:nth-child(4n+2) { --edge: #ff9a3c; }
body.n15-a.n13-f .tile:nth-child(4n+2) { --edge: #ff9a3c; }
body.n15-a.n13-g .n13-about-table tr:nth-child(5n+2) { --c: #ff9a3c; }
body.n15-a.n13-g .n13-about-table tr:nth-child(5n+5) { --c: #c58bff; }
body.n15-a .live-good { color: #ffd75e; }
/* ===== end N15 a ===== */

/* ===== N15 b: Nerd stats columns that fold on their own ===== */
body.n15-b .ns-section .accuracy-grid.n14-grid.n15-cols { display: flex; flex-direction: column; gap: 14px; }
body.n15-b .n15-band { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; align-items: start; }
body.n15-b .n15-col { grid-column: span var(--span, 6); display: flex; flex-direction: column; gap: 14px; min-width: 0; }
body.n15-b .n15-cols > .panel, body.n15-b .n15-col > * { min-width: 0; }
@media (max-width: 860px) { body.n15-b .n15-band { grid-template-columns: minmax(0, 1fr); } body.n15-b .n15-col { grid-column: 1 / -1; } }
/* ===== end N15 b ===== */

/* ===== N15 c: brighter gold that glows (like the cleaning funnel), not too much ===== */
body.n15-c { --gold: #ffcf4a; --series-1: #ffc531; }
body.n15-c .ns-section .faq > summary h3, body.n15-c .n14-page .panel > h2, body.n15-c td.best, body.n15-c .faq > summary::after,
body.n15-c .n14-card-links a, body.n15-c .open-mark {
  color: #ffd75e; text-shadow: 0 0 8px rgba(255, 205, 80, .55), 0 0 18px rgba(255, 185, 60, .25);
}
body.n15-c.n14-d .n14-page .panel > h2 { filter: none; }
body.n15-c .verdict-GO { box-shadow: 0 0 8px rgba(255, 205, 80, .75), 0 0 20px rgba(255, 185, 60, .35); }
body.n15-c .funnel-bar { box-shadow: 0 0 8px rgba(255, 205, 80, .55), 0 0 18px rgba(255, 185, 60, .22); }
body.n15-c .funnel-row.final .funnel-bar { box-shadow: 0 0 10px rgba(255, 205, 80, .9), 0 0 26px rgba(255, 185, 60, .5); }
body.n15-c .chip[aria-pressed="true"] { box-shadow: 0 0 10px rgba(255, 205, 80, .45); }
body.n15-c .price, body.n15-c .statement b, body.n15-c .chance { text-shadow: 0 0 10px rgba(255, 205, 80, .4); }
body.n15-c .n14-refresh:hover, body.n15-c .n14-refresh:focus-visible { box-shadow: 0 0 12px rgba(255, 205, 80, .5); }
/* ===== end N15 c ===== */

/* ===== N15 e: busiest grid in pink, and a clicked day stays in the pink line ===== */
body.n15-e.n14-f .heat td.heat-1 { --lvl: color-mix(in srgb, #ff5fb8 12%, var(--card)); }
body.n15-e.n14-f .heat td.heat-2 { --lvl: color-mix(in srgb, #ff5fb8 28%, var(--card)); }
body.n15-e.n14-f .heat td.heat-3 { --lvl: color-mix(in srgb, #ff5fb8 46%, var(--card)); }
body.n15-e.n14-f .heat td.heat-4 { --lvl: color-mix(in srgb, #ff5fb8 70%, var(--card)); }
body.n15-e.n14-f .heat td.heat-5 { --lvl: #ff5fb8; color: #fff; text-shadow: 0 0 6px rgba(255, 255, 255, .35); box-shadow: 0 0 12px rgba(255, 95, 184, .45); }
body.n15-e.n14-f .heat td.heat-4 { color: #fff; }
body.n15-e .heat td[data-title] { cursor: pointer; }
body.n15-e .heat-key i.heat-1 { background: color-mix(in srgb, #ff5fb8 12%, var(--card)); }
body.n15-e .heat-key i.heat-2 { background: color-mix(in srgb, #ff5fb8 28%, var(--card)); }
body.n15-e .heat-key i.heat-3 { background: color-mix(in srgb, #ff5fb8 46%, var(--card)); }
body.n15-e .heat-key i.heat-4 { background: color-mix(in srgb, #ff5fb8 70%, var(--card)); }
body.n15-e .heat-key i.heat-5 { background: #ff5fb8; box-shadow: 0 0 6px rgba(255, 95, 184, .6); }
body.n15-e.n14-f .ns-section .heat tbody tr td.n15-pinned { box-shadow: inset 0 0 0 3px #fff, 0 0 14px rgba(255, 122, 198, .8); }
body.n15-e .n14-heat-info { box-shadow: 0 0 14px rgba(255, 95, 184, .18); }
/* ===== end N15 e ===== */

/* ===== N15 f: pages about an inch narrower on each side; Nerd stats not stretched so wide ===== */
@media (min-width: 1000px) { body.n15-f { --page-width: min(calc(92% - 192px), 1280px); } }
body.n15-f .ns-kpis { max-width: none; }
/* ===== end N15 f ===== */

/* ===== N15 g: a space between the show name and its theater on the cards ===== */
body.n15-g .tile .theater-link, body.n15-g .tile .tile-name .theater { display: block; margin-top: 4px; width: fit-content; }
/* ===== end N15 g ===== */

/* ===== N15 h: the GO bar runs from dark purple (stay home) to glowing gold (go) ===== */
body.n15-h .worth-track {
  background: linear-gradient(90deg, #1d1035 0%, #3d2566 32%, #8a6326 62%, #e9b33c 84%, #ffd75e 100%);
  border-color: rgba(255, 215, 94, .55); box-shadow: 0 0 10px rgba(255, 200, 80, .3), inset 0 0 6px rgba(0, 0, 0, .35);
}
body.n15-h .worth-marker { box-shadow: 0 0 0 2px var(--bg), 0 0 10px #fff, 0 0 18px rgba(255, 215, 94, .6); }
/* ===== end N15 h ===== */

/* ===== N15 i: one color for the line under every show card (pink) ===== */
body.n15-i.n13-f .tile, body.n15-i.n13-f .tile:nth-child(n) { --edge: #ff5fb8; }
/* ===== end N15 i ===== */

/* ===== N15 k: the marquee is clickable ===== */
body.n15-k .n14-marquee.n15-clickable { cursor: pointer; user-select: none; }
/* ===== end N15 k ===== */

/* ===== N15 l: one tidy bar for Sort, View, Favorites and Filters ===== */
body.n15-l .controls {
  gap: 10px; padding: 12px 14px; margin: 6px 0 16px; border-radius: 12px; background: var(--bg-2);
  border: 1px solid rgba(255, 207, 74, .2); box-shadow: 0 10px 26px -16px rgba(10, 4, 25, .9);
}
body.n15-l .n13-sortview { justify-content: flex-start; gap: 10px 22px; }
body.n15-l .n13-sortview .control-row { gap: 0; flex-wrap: nowrap; }
body.n15-l .n13-sortview .control-name, body.n15-l.n14-b .n13-sortview .control-name {
  font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); margin-right: 10px; font-weight: 600;
}
/* Segmented pills */
body.n15-l .n13-sortview .control-row[aria-label="Sort"], body.n15-l .n13-sortview .control-row[aria-label="View"] { flex-wrap: wrap; row-gap: 6px; }
body.n15-l .n13-sortview [data-sort], body.n15-l .n13-sortview [data-view],
body.n15-l.n14-b .n13-sortview [data-sort], body.n15-l.n14-b .n13-sortview [data-view] {
  border: 1px solid rgba(255, 255, 255, .1); background: rgba(255, 255, 255, .04); color: var(--ink); border-radius: 0;
  min-height: 38px; padding: 6px 14px; font-size: .92rem; margin-left: -1px;
}
body.n15-l .n13-sortview [data-sort]:first-of-type, body.n15-l .n13-sortview [data-view]:first-of-type { border-radius: 999px 0 0 999px; }
body.n15-l .n13-sortview [data-sort]:last-of-type, body.n15-l .n13-sortview [data-view]:last-of-type { border-radius: 0 999px 999px 0; }
body.n15-l .n13-sortview [data-sort]:hover:not(:disabled), body.n15-l .n13-sortview [data-view]:hover { background: rgba(255, 207, 74, .1); }
body.n15-l .n13-sortview [data-sort][aria-pressed="true"] {
  background: linear-gradient(180deg, #ffe07a, #ffc531); color: #2a1400; border-color: transparent; position: relative; z-index: 1;
  box-shadow: 0 0 12px rgba(255, 205, 80, .55);
}
body.n15-l .n13-sortview [data-view][aria-pressed="true"] {
  background: linear-gradient(135deg, #ff5fb8, #a42cf0); color: #fff; border-color: transparent; position: relative; z-index: 1;
  box-shadow: 0 0 12px rgba(255, 95, 184, .45);
}
body.n15-l .n14-favrow { margin-left: auto; }
body.n15-l .fav-filter, body.n15-l.n14-b .n14-favrow .chip { border-radius: 999px; min-height: 38px; padding: 6px 16px; font-size: .92rem; border-color: rgba(255, 122, 198, .6); }
body.n15-l .fav-filter[aria-pressed="true"] { background: linear-gradient(135deg, #ff5fb8, #c8235f); box-shadow: 0 0 12px rgba(255, 95, 184, .45); }
/* Filters: a pill that opens a tidy panel, groups as label + chips rows */
body.n15-l .filters, body.n15-l.n13-c .filters { background: transparent; border: 0; padding: 0; }
body.n15-l .filters > summary, body.n15-l.n14-b .filters summary {
  display: inline-flex; align-items: center; gap: 8px; list-style: none; min-height: 36px; padding: 5px 16px; border-radius: 999px;
  border: 1px solid rgba(255, 207, 74, .45); background: rgba(255, 207, 74, .06); color: var(--ink); font-size: .92rem; font-weight: 600;
}
body.n15-l .filters > summary::-webkit-details-marker { display: none; }
body.n15-l .filters > summary::before { content: ""; width: 14px; height: 10px; background: linear-gradient(currentColor 0 0) top / 100% 2px no-repeat, linear-gradient(currentColor 0 0) center / 66% 2px no-repeat, linear-gradient(currentColor 0 0) bottom / 33% 2px no-repeat; }
body.n15-l .filters > summary::after { content: "▾"; font-size: .8rem; opacity: .8; transition: transform .2s ease; }
body.n15-l .filters[open] > summary::after { transform: rotate(180deg); }
body.n15-l .filters > summary:hover { border-color: #ffcf4a; box-shadow: 0 0 10px rgba(255, 205, 80, .3); }
body.n15-l .filters[open] > summary { margin-bottom: 10px; }
body.n15-l .filter-body, body.n15-l.n13-c .filter-body { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 2px 0 4px; }
body.n15-l .filters .control-row, body.n15-l.n13-c .filters .control-row, body.n15-l.n13-c .filters .control-row:nth-child(n) {
  background: none; box-shadow: none; border-radius: 0; padding: 8px 2px; gap: 6px; flex-wrap: wrap; align-items: center;
  border-top: 1px solid rgba(255, 255, 255, .07);
}
body.n15-l .filters .control-row:first-child { border-top: 0; }
body.n15-l .filters .control-name, body.n15-l.n13-c .filters .control-name, body.n15-l.n14-b .filters .control-name {
  flex: 0 0 150px; color: var(--ink-2); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 600;
}
body.n15-l .filters .chip, body.n15-l.n14-b .filters .chip, body.n15-l.n13-c .filters .chip:not([aria-pressed="true"]) {
  border-radius: 999px; min-height: 34px; padding: 4px 13px; font-size: .88rem; border-color: rgba(255, 255, 255, .16); background: rgba(255, 255, 255, .03);
}
body.n15-l .filters .chip[aria-pressed="true"], body.n15-l.n13-c .filters .control-row:nth-child(n) .chip[aria-pressed="true"] {
  background: linear-gradient(135deg, #ff5fb8, #a42cf0); color: #fff; border-color: transparent; box-shadow: 0 0 10px rgba(255, 95, 184, .45);
}
body.n15-l .result-line, body.n15-l.n13-c .result-line { justify-content: flex-start; padding-top: 2px; }
@media (max-width: 640px) {
  body.n15-l .filters .control-name, body.n15-l.n13-c .filters .control-name { flex-basis: 100%; }
  body.n15-l .n14-favrow { margin-left: 0; }
  body.n15-l .n13-sortview .control-row[aria-label="Sort"] { gap: 6px; }
  body.n15-l .n13-sortview [data-sort], body.n15-l .n13-sortview [data-sort]:first-of-type, body.n15-l .n13-sortview [data-sort]:last-of-type {
    border-radius: 999px; margin-left: 0;
  }
}
/* ===== end N15 l ===== */

/* ===== N15 d: light-mode DEMO. Only with ?light in the address (e.g. http://127.0.0.1:8017/?light). Dark purple text,
   white cards, gold and pink accents; the marquee sign stays a dark sign. Not the default: Rachel decides. ===== */
body.n15-light {
  --bg: #faf6ff; --bg-2: #f1e9fc; --card: #ffffff; --card-2: #f8f2ff; --field: #ffffff; --line: #d8cbee;
  --ink: #2b1a47; --ink-2: #4b3870; --ink-3: #6b5890; --glow: #5c3a94; --warm: #8a5a00; --gold: #f2b52c; --on-gold: #241600;
  --warn-bg: #fff4d6; --warn-ink: #5e4100; --warn-line: #e8c56a; --series-1: #e6a300; --series-2: #d6338f; --series-2-light: #e66aae;
  background: radial-gradient(1200px 520px at 50% -140px, #eadcff 0%, var(--bg) 70%) no-repeat, var(--bg);
}
/* Gold text needs to be a deep gold on white */
body.n15-light .ns-section .faq > summary h3, body.n15-light .n14-page .panel > h2, body.n15-light td.best, body.n15-light .faq > summary::after,
body.n15-light .n14-card-links a, body.n15-light .open-mark, body.n15-light .fav[aria-pressed="true"], body.n15-light .field .req {
  color: #a36500; text-shadow: none;
}
body.n15-light .price, body.n15-light .statement b, body.n15-light .chance { text-shadow: none; }
/* Soft lavender shadows instead of near-black ones */
body.n15-light .panel, body.n15-light .tile, body.n15-light .kpi, body.n15-light.n15-l .controls, body.n15-light .faq {
  box-shadow: 0 8px 22px -14px rgba(70, 35, 130, .35);
}
body.n15-light.n13-f .tile { box-shadow: inset 0 -3px 0 var(--edge), 0 8px 22px -14px rgba(70, 35, 130, .35); }
body.n15-light .panel, body.n15-light .tile { border-color: #e4d9f4; }
body.n15-light.n14-g .ns-section .panel { border-color: rgba(214, 160, 30, .3); box-shadow: 0 8px 22px -14px rgba(70, 35, 130, .3); }
/* Controls: borders that show on white */
body.n15-light .chip:not([aria-pressed="true"]) { border-color: var(--line); color: var(--ink); background: #fff; }
body.n15-light.n15-l .n13-sortview [data-sort]:not([aria-pressed="true"]), body.n15-light.n15-l .n13-sortview [data-view]:not([aria-pressed="true"]) { border-color: var(--line); background: #fff; }
body.n15-light .worth-marker { background: #2b1a47; box-shadow: 0 0 0 2px #fff, 0 0 8px rgba(43, 26, 71, .5); }
body.n15-light.n15-l .filters .chip:not([aria-pressed="true"]) { border-color: var(--line); background: #fff; }
body.n15-light.n15-l .filters .control-row { border-top-color: #ece4f7; }
body.n15-light.n15-l .controls { border-color: #ead9b0; }
body.n15-light .n14-refresh { background: #fff; color: var(--ink-2); }
/* Pink info lines readable on white */
body.n15-light .n14-heat-info { background: #ffeaf5; border-color: #f3a6cf; }
body.n15-light .n14-heat-info b { color: #c2187a; }
body.n15-light.n14-f .heat td.heat-1, body.n15-light.n14-f .heat td.heat-2, body.n15-light.n14-f .heat td.heat-3 { color: var(--ink); }
body.n15-light .n14-info b { color: #8a5a00; }
/* Glows that only make sense on dark: tone down */
body.n15-light .verdict-GO { box-shadow: 0 0 8px rgba(242, 181, 44, .55); }
body.n15-light .funnel-bar { box-shadow: 0 2px 8px rgba(214, 150, 20, .35); }
body.n15-light .live-line.full { background: #fff8e6; }
body.n15-light .live-dot { color: #a36500; }
/* ===== end N15 d ===== */
