/* Jokosphere: comedy-club look (brick, marquee bulbs, spotlight). Deliberately not YouTube's
   white grid: one-column "set list" on phones, ticket-stub type badges, names as headlines. */
:root {
  --ink: #16110e;
  --ink-2: #211915;
  --ink-3: #2e231d;
  --line: #3d2f27;
  --cream: #f6ecdc;
  --muted: #b9a893;
  --marquee: #ff5a3c;
  --amber: #ffb547;
  --teal: #4fd1b5;
  --violet: #b99cff;
  --radius: 14px;
  --display: "Bebas Neue", Impact, "Arial Narrow", sans-serif;
  --body: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--cream); font: 15px/1.45 var(--body);
  background-image: radial-gradient(ellipse 90% 380px at 50% -120px, rgba(255, 181, 71, .16), transparent 70%);
  min-height: 100vh;
}
body.locked { overflow: hidden; }
a { color: var(--amber); }
button { font: inherit; color: inherit; }
img { display: block; max-width: 100%; }
/* hidden always wins, even over display rules like .day's flex */
[hidden] { display: none !important; }

/* ---------- header ---------- */
.top {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 18px;
  padding: 10px 16px; padding-top: max(10px, env(safe-area-inset-top));
  background: rgba(22, 17, 14, .92); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cream); }
/* The logo mark: the Blender-rendered stage mic (art-src/), in a lit circle */
.brand .mic {
  width: 34px; height: 34px; border-radius: 50%; flex: none; object-fit: cover;
  box-shadow: 0 0 0 1.5px rgba(255, 181, 71, .7), 0 0 18px rgba(255, 90, 60, .5);
}
.brand .word { font: 30px/1 var(--display); letter-spacing: 1.5px; }
.brand .word b { color: var(--marquee); font-weight: 400; }
.tabs { display: flex; gap: 4px; margin-left: auto; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs a {
  text-decoration: none; color: var(--muted); padding: 7px 12px; border-radius: 999px; white-space: nowrap;
  font-weight: 600; font-size: 14px;
}
.tabs a.active { color: var(--ink); background: var(--amber); }
/* Phones: eight sections don't fit, so the tab row scrolls sideways, with a fade on the edge
   that still has more, and the current tab scrolled into view (app.js). The one-row desktop header needs about
   1,200 px in English and 1,290 px in Spanish; below 1,320 px the tabs get their own row, or "Español" wrapped
   onto a line by itself (2026-10-21, seen at 1,185 px in the media-kit screenshots) */
@media (max-width: 1319px) {
  .top { gap: 8px; }
  .tabs { margin-left: 0; width: calc(100% + 32px); margin-right: -16px; margin-left: -16px; padding: 0 16px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    scroll-padding: 0 16px; }
  .tabs.at-end { -webkit-mask-image: none; mask-image: none; }
  .tabs a { padding: 7px 11px; font-size: 14px; flex: none; }
}
/* Tablet widths: all ten English tabs fit without scrolling (768 px iPad portrait clipped "Vault", QA CF-022) */
@media (min-width: 761px) and (max-width: 899px) {
  .tabs { gap: 2px; }
  .tabs a { padding: 7px 8px; font-size: 13.5px; }
}

main { max-width: 1180px; margin: 0 auto; padding: 0 16px 40px; outline: none; }

/* ---------- hero ---------- */
.hero { padding: 26px 0 8px; }
.hero h1 { font: clamp(40px, 8vw, 68px)/0.95 var(--display); letter-spacing: 1px; margin: 0 0 8px; }
.hero p { color: var(--muted); margin: 0; max-width: 60ch; }
.hero .kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 12px; color: var(--marquee); font-weight: 700; }
.search {
  margin-top: 14px; width: 100%; max-width: 420px; padding: 11px 14px; border-radius: 10px;
  background: var(--ink-2); border: 1px solid var(--line); color: var(--cream); font: inherit;
}

/* ---------- filters ---------- */
.filters { display: grid; gap: 8px; padding: 14px 0 6px; }
.filters .row { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.filters .row::-webkit-scrollbar { display: none; }
.filters .controls { flex-wrap: wrap; align-items: end; overflow: visible; }
.chip {
  border: 1px solid var(--line); background: var(--ink-2); color: var(--cream); padding: 7px 13px;
  border-radius: 999px; white-space: nowrap; cursor: pointer; font-size: 14px; font-weight: 500;
}
.chip:hover { border-color: var(--amber); }
.chip.on { background: var(--marquee); border-color: var(--marquee); color: #fff; }
.field { display: grid; gap: 3px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.field input, .field select {
  background: var(--ink-2); color: var(--cream); border: 1px solid var(--line); border-radius: 10px;
  padding: 8px 10px; font: 14px var(--body); min-width: 160px; text-transform: none; letter-spacing: 0;
}

/* ---------- feed ---------- */
/* minmax(0, 1fr), not 1fr: a full-width rail (fixed-width cards) must scroll inside its
   column, not stretch the column (and the whole page) past the viewport. */
.results { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding-top: 6px; }
.results > * { min-width: 0; }
@media (min-width: 720px) { .results { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1060px) { .results { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.day {
  grid-column: 1 / -1; margin: 18px 0 0; font: 30px/1 var(--display); letter-spacing: 1px; color: var(--amber);
  display: flex; align-items: center; gap: 12px;
}
.day::after { content: ""; flex: 1; height: 2px; background: repeating-linear-gradient(90deg, var(--amber) 0 4px, transparent 4px 12px); opacity: .45; }
.card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .15s, border-color .15s;
}
.card:hover { transform: translateY(-2px); border-color: #5a4536; }
.thumb { position: relative; padding: 0; border: 0; background: #000; cursor: pointer; aspect-ratio: 16 / 9; overflow: hidden; }
.thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .92; }
.card.is-short .thumb img { object-fit: cover; object-position: center 30%; }
.play {
  position: absolute; right: 12px; bottom: 12px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--amber); box-shadow: 0 4px 18px rgba(0, 0, 0, .5);
}
.play::after {
  content: ""; position: absolute; left: 18px; top: 14px; border-style: solid; border-width: 9px 0 9px 14px;
  border-color: transparent transparent transparent var(--ink);
}
.stub {
  position: absolute; left: 10px; top: 10px; font: 17px/1 var(--display); letter-spacing: 1.2px;
  padding: 6px 12px 5px; border-radius: 4px; color: var(--ink); background: var(--cream);
  -webkit-mask: radial-gradient(circle 5px at 0 50%, transparent 98%, #000) left / 51% 100% no-repeat,
                radial-gradient(circle 5px at 100% 50%, transparent 98%, #000) right / 51% 100% no-repeat;
}
.stub-special { background: var(--amber); }
.stub-podcast { background: var(--teal); }
.stub-clip { background: var(--cream); }
.info { padding: 12px 14px 14px; display: grid; gap: 5px; }
/* comedian names in the body sans, so long lineups stay readable; Bebas is kept for headings. The title is the main
   read and the names sit above it as a byline (design judge, 2026-11-12) */
.names { font: 600 13.5px/1.3 var(--body); letter-spacing: .2px; }
.who { color: #d8c7ad; text-decoration: none; }
.who:hover { color: var(--amber); }
.who:hover { text-decoration: underline; }
.who.muted { color: var(--muted); }
.amp { color: var(--muted); margin: 0 6px; }
.info h3 { margin: 0; font-size: 16.5px; font-weight: 650; line-height: 1.3; color: #fff7ec; }
.title { background: none; border: 0; padding: 0; text-align: left; cursor: pointer; font-weight: 600; }
.title:hover { color: var(--amber); }
.meta { margin: 0; color: var(--muted); font-size: 13px; }
/* One line per card: a long channel name shortens with "…" so the age and length stay
   visible and every card in a rail is the same height (a wrapped line pushed the feed below the fold) */
.card .meta { display: flex; white-space: pre; overflow: hidden; }
.card .meta > * { flex: none; }
.card .meta > .ch { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.clean { color: var(--teal); font-weight: 600; }
.styles { margin: 2px 0 0; display: flex; flex-wrap: wrap; gap: 5px; }
.styles span { font-size: 12px; color: var(--violet); border: 1px solid rgba(185, 156, 255, .35); padding: 1px 8px; border-radius: 999px; }
.loading, .empty { grid-column: 1 / -1; color: var(--muted); padding: 30px 0; text-align: center; }
.more-wrap { text-align: center; padding: 22px 0; }
.more { background: var(--marquee); color: #fff; border: 0; border-radius: 999px; padding: 12px 26px; font: 20px var(--display); letter-spacing: 1px; cursor: pointer; }

/* ---------- comedians ---------- */
.clist { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 8px; padding-top: 16px; }
.cbadge {
  display: flex; align-items: center; gap: 10px; padding: 10px 12px 10px 10px; border-radius: var(--radius);
  background: var(--ink-2); border: 1px solid var(--line);
}
.cbadge:hover, .cbadge:focus-within { border-color: var(--amber); }
.crow { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; text-decoration: none; color: var(--cream); }
.ctext { display: grid; gap: 2px; min-width: 0; }
.cname { font: 24px/1 var(--display); letter-spacing: .8px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* Counts wrap between parts ("222 videos · 112 podcasts" / "1,280 in the Vault"), never cut mid-word (QA CF-007) */
.ccount { color: var(--muted); font-size: 13px; line-height: 1.35; }
.ccount > span { white-space: nowrap; }
.cbadge .follow { flex: none; padding: 6px 12px; font-size: 13px; }
.face { flex: none; width: 52px; height: 52px; border-radius: 50%; object-fit: cover; background: var(--ink-3);
  box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3px var(--line); }
.face.mono { display: grid; place-items: center; font: 22px/1 var(--display); letter-spacing: .5px; color: var(--cream);
  background: radial-gradient(circle at 30% 25%, hsl(var(--h, 20) 70% 52%), hsl(var(--h, 20) 55% 26%)); }
.face.big { width: 96px; height: 96px; box-shadow: 0 0 0 3px var(--ink), 0 0 0 5px var(--amber), 0 0 32px rgba(255, 181, 71, .35); }
.face.mono.big { font-size: 40px; }
.c-head { display: flex; align-items: center; gap: 16px; }
.c-head h1 { margin: 0; }
@media (max-width: 560px) { .face.big { width: 76px; height: 76px; } .face.mono.big { font-size: 32px; } }
.subtabs { display: flex; gap: 6px; padding: 16px 0 6px; overflow-x: auto; }
.subtabs button {
  border: 1px solid var(--line); background: var(--ink-2); padding: 8px 14px; border-radius: 999px; cursor: pointer;
  white-space: nowrap; font-weight: 600;
}
.subtabs button span { color: var(--muted); font-weight: 500; margin-left: 4px; }
.subtabs button[aria-selected="true"] { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.subtabs button[aria-selected="true"] span { color: var(--ink); }

/* ---------- player sheet ---------- */
.sheet { position: fixed; inset: 0; z-index: 50; display: grid; place-items: center; }
.sheet[hidden] { display: none; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(8, 5, 4, .82); }
.sheet-card {
  position: relative; width: min(960px, 100% - 24px); max-height: calc(100vh - 24px); overflow: auto;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: 18px;
}
.frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.frame.vertical { aspect-ratio: 9 / 16; max-height: 70vh; margin: 0 auto; width: auto; height: 70vh; }
.frame iframe, .frame #yt { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
/* Close lives in its own bar above the frame, never on top of YouTube's controls */
.sheet-bar { position: relative; display: flex; justify-content: flex-end; align-items: center; padding: 8px 10px; }
.sheet-bar .grab { position: absolute; left: 50%; top: 50%; width: 40px; height: 4px; margin: -2px 0 0 -20px; border-radius: 2px; background: var(--line); }
.close {
  border: 1px solid var(--line); background: var(--ink-3); color: var(--cream); border-radius: 999px;
  padding: 6px 14px; font-size: 14px; font-weight: 600; cursor: pointer;
}
.close:hover { border-color: var(--amber); }
.frame + .sheet-body { padding: 14px 18px 18px; }
.sheet-body h2 { margin: 4px 0; font-size: 18px; }
.sheet-names { font: 26px/1 var(--display); letter-spacing: .8px; }
.sheet-meta { margin: 0 0 10px; color: var(--muted); font-size: 14px; }
.yt-link { font-weight: 600; font-size: 14px; }
@media (max-width: 640px) {
  .sheet { place-items: end stretch; }
  .sheet-card { width: 100%; border-radius: 18px 18px 0 0; max-height: 100vh; }
  .frame.vertical { height: 62vh; }
}

/* ---------- prose pages + footer ---------- */
.prose { max-width: 720px; padding: 26px 0; }
.prose h1 { font: 52px/1 var(--display); letter-spacing: 1px; margin: 0 0 12px; }
.prose h2 { font: 28px/1.1 var(--display); letter-spacing: .8px; color: var(--amber); margin: 26px 0 6px; }
.prose p, .prose li { color: #e7dccb; }
.foot { border-top: 1px solid var(--line); padding: 20px 16px 34px; text-align: center; color: var(--muted); font-size: 13px; }
.foot p { margin: 4px auto; max-width: 760px; }
.foot a { color: var(--muted); }

@media (max-width: 560px) { .hero { padding-top: 18px; } }

/* ---------- filters: one line of search, Filters, type chips and Play all; everything else lives in the Filters
   panel (a bottom sheet on phones, a side panel on desktop). Design judge, 2026-11-12: three rows of pills on desktop
   read as a component inventory. ---------- */
.frow .chips { display: contents; }
.frow .sort-chips { display: none; }
.fbtn {
  display: inline-flex; align-items: center; gap: 6px; flex: none; border: 1px solid var(--amber); color: var(--amber);
  background: transparent; border-radius: 999px; padding: 7px 13px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.fbtn::before { content: ""; width: 15px; height: 15px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h11M18 6h3M3 12h4M11 12h10M3 18h13M20 18h1' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='6' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='9' cy='12' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='18' cy='18' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M3 6h11M18 6h3M3 12h4M11 12h10M3 18h13M20 18h1' stroke='black' stroke-width='2.4' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='6' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='9' cy='12' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3Ccircle cx='18' cy='18' r='2.4' fill='none' stroke='black' stroke-width='2.2'/%3E%3C/svg%3E") center / contain no-repeat; }
.fbtn b { background: var(--amber); color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; display: inline-grid; place-items: center; font-size: 12px; padding: 0 5px; }
.fbtn.on { background: rgba(255, 181, 71, .12); }
.fsheet { display: block; position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.fsheet.open { visibility: visible; pointer-events: auto; }
.fs-backdrop { display: block; position: absolute; inset: 0; background: rgba(8, 5, 4, .7); opacity: 0; transition: opacity .2s; }
.fsheet.open .fs-backdrop { opacity: 1; }
.fs-card {
  display: grid; gap: 10px; position: absolute; left: 0; right: 0; bottom: 0; max-height: 88vh; overflow: auto;
  padding: 6px 16px max(16px, env(safe-area-inset-bottom)); background: var(--ink-2); border-top: 1px solid var(--line);
  border-radius: 20px 20px 0 0; transform: translateY(100%); transition: transform .25s cubic-bezier(.2, .8, .2, 1);
}
.fsheet.open .fs-card { transform: none; }
.fs-head { display: flex; align-items: center; justify-content: space-between; position: relative; padding: 14px 0 2px; }
.fs-head .grab { position: absolute; left: 50%; top: 4px; width: 40px; height: 4px; margin-left: -20px; border-radius: 2px; background: var(--line); }
.fs-head h3 { margin: 0; font: 30px/1 var(--display); letter-spacing: 1px; }
.fs-label { display: block; margin: 4px 0 -4px; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.fs-card .row { flex-wrap: wrap; overflow: visible; }
.fs-card .controls { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.filters .fs-card .controls .field { display: grid; gap: 4px; }
.filters .fs-card .controls .field > span { position: static; width: auto; height: auto; overflow: visible; clip: auto; font-size: 12px; color: var(--muted); }
.filters .fs-card .controls .field input, .filters .fs-card .controls .field select { min-width: 0; width: 100%; padding: 11px 12px; }
.fs-card .controls .chip { justify-self: stretch; padding: 10px 13px; }
.fs-foot { display: grid; grid-template-columns: auto 1fr; gap: 10px; align-items: center; padding-top: 8px; border-top: 1px solid var(--line); }
.fs-clear { background: none; border: 0; color: var(--cream); text-decoration: underline; font-weight: 600; padding: 12px 10px; cursor: pointer; }
.fs-apply { border: 0; border-radius: 999px; background: var(--marquee); color: #fff; font-weight: 700; font-size: 16px; padding: 14px; cursor: pointer; }
.fs-apply:disabled { background: var(--ink-3); color: var(--muted); }
@media (min-width: 761px) {
  /* desktop: the panel slides in from the right, full height */
  .fs-card { left: auto; top: 0; width: min(440px, 92vw); max-height: none; align-content: start; padding: 8px 24px 22px;
    border-top: 0; border-left: 1px solid var(--line); border-radius: 0; transform: translateX(100%); }
  .fs-head .grab { display: none; }
  .fs-foot { margin-top: 6px; }
}
@media (max-width: 760px) {
  /* Filters + Everything / Clips / Specials / Podcasts fit a 390 px phone without scrolling (QA CF-005) */
  .frow { gap: 5px; }
  .frow .chip { padding: 7px 10px; font-size: 13.5px; }
  .frow .fbtn { padding: 7px 10px; gap: 5px; font-size: 13.5px; }
}
@media (max-width: 420px) {
  .frow .chip, .frow .fbtn { padding: 7px 8px; font-size: 13px; }
  .frow .fbtn::before { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fs-card, .fs-backdrop { transition: none; } }

/* ---------- podcasts by show ---------- */
.show { padding-top: 10px; }
.show-name { font: 30px/1 var(--display); letter-spacing: .8px; margin: 18px 0 10px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.show-name .new { font: 600 12px var(--body); letter-spacing: 0; color: var(--ink); background: var(--teal); padding: 3px 9px; border-radius: 999px; }
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(78%, 320px); gap: 12px; overflow-x: auto; padding-bottom: 8px; scroll-snap-type: x mandatory; }
.rail .card { scroll-snap-align: start; }

/* ---------- comedian-friendly bits ---------- */
.sub {
  display: inline-flex; align-items: center; gap: 6px; background: var(--marquee); color: #fff; text-decoration: none;
  font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px;
}
.sub::before { content: ""; width: 0; height: 0; border-style: solid; border-width: 5px 0 5px 8px; border-color: transparent transparent transparent #fff; }
.sub:hover { filter: brightness(1.1); }
.clinks { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; align-items: center; }
.clink { color: var(--cream); border: 1px solid var(--line); padding: 7px 13px; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: 14px; }
.clink:hover { border-color: var(--amber); }
.player-actions { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; }
#player-subs { display: contents; }
.spotlight { margin-top: 18px; padding: 14px; border-radius: var(--radius); background: linear-gradient(135deg, rgba(255, 181, 71, .14), rgba(255, 90, 60, .10)); border: 1px solid rgba(255, 181, 71, .35); }
.spot-title { font: 30px/1 var(--display); letter-spacing: 1px; color: var(--amber); margin: 0 0 10px; }

/* ---------- tour dates + price comparison ---------- */
.tour { margin: 8px 0 18px; }
.gigs { display: grid; gap: 10px; margin-top: 10px; }
.gig {
  display: grid; grid-template-columns: 64px 1fr; gap: 14px; align-items: start;
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px;
}
.gdate {
  display: grid; justify-items: center; background: var(--ink-3); border-radius: 10px; padding: 6px 0;
  border-left: 3px dashed var(--marquee);
}
.gdate b { font: 15px/1 var(--display); letter-spacing: 1.5px; color: var(--marquee); text-transform: uppercase; }
.gdate span { font: 30px/1 var(--display); }
.gdate i { font-style: normal; font-size: 11px; color: var(--muted); }
.ginfo { min-width: 0; }
.ginfo .who { font-weight: 700; }
.gvenue { margin: 0; font-weight: 600; }
.gcity { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.compare { margin-top: 8px; }
.compare summary, .more-dates summary {
  cursor: pointer; display: inline-block; list-style: none; color: var(--ink); background: var(--amber);
  border-radius: 999px; padding: 6px 14px; font-weight: 700; font-size: 14px;
}
.compare summary::-webkit-details-marker, .more-dates summary::-webkit-details-marker { display: none; }
.more-dates { margin-top: 10px; }
.more-dates summary { background: var(--ink-3); color: var(--cream); border: 1px solid var(--line); }
.compare ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 8px; }
.offer {
  display: grid; grid-template-columns: 1fr auto auto; gap: 4px 12px; align-items: center;
  border: 1px solid var(--line); border-radius: 10px; padding: 9px 10px; background: var(--ink);
}
.offer.best { border-color: var(--teal); }
.offer .vendor { font-weight: 600; display: grid; }
.offer .vendor small { font-weight: 400; color: var(--muted); font-size: 12px; }
.offer .price { font-weight: 700; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.offer .badge { background: var(--teal); color: var(--ink); border-radius: 6px; padding: 1px 6px; font-size: 11px; text-transform: uppercase; letter-spacing: .5px; }
.offer .trend { font-size: 12px; font-weight: 600; }
.offer .trend.down { color: var(--teal); }
.offer .trend.up { color: var(--marquee); }
.offer .buy { background: var(--marquee); color: #fff; text-decoration: none; border-radius: 999px; padding: 6px 12px; font-weight: 700; font-size: 13px; }
.offer .aff { grid-column: 1 / -1; font-size: 11px; color: var(--muted); }
.fine { font-size: 12px; color: var(--muted); margin: 8px 0 0; }
.live-pick { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; margin-top: 14px; }
@media (max-width: 480px) {
  .offer { grid-template-columns: 1fr auto; }
  .offer .price { grid-column: 1; grid-row: 2; justify-content: flex-start; }
  .offer .buy { grid-column: 2; grid-row: 1 / 3; }
}

/* ---------- Radio Vault ---------- */
.stub-vault { background: var(--violet); }
.meta .fan { color: var(--violet); font-weight: 600; }
.vault-note { grid-column: 1 / -1; margin: 6px 0 0; color: var(--violet); font-size: 14px; }

/* ---------- audit additions: search, save, follow, watched, My list ---------- */
.qform { margin: 0; }
.qform input {
  width: 100%; max-width: 520px; padding: 10px 14px; border-radius: 10px; background: var(--ink-2);
  border: 1px solid var(--line); color: var(--cream); font: inherit;
}
.qform input:focus, .search:focus { outline: 2px solid var(--amber); outline-offset: 1px; }
.card { position: relative; }
.save {
  position: absolute; right: 10px; top: 10px; z-index: 2; width: 36px; height: 36px; border-radius: 50%;
  border: 0; background: rgba(10, 7, 5, .72); cursor: pointer; display: grid; place-items: center;
}
.save::before {
  content: ""; width: 18px; height: 18px; background: var(--cream);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='none' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}
.save.on::before { background: var(--amber); -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='black' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 3h12v18l-6-4.5L6 21z' fill='black' stroke='black' stroke-width='2.2' stroke-linejoin='round'/%3E%3C/svg%3E"); }
.save.labeled { position: static; width: auto; height: auto; border-radius: 999px; padding: 7px 14px 7px 12px; background: var(--ink-3);
  border: 1px solid var(--line); display: inline-flex; gap: 8px; color: var(--cream); font-weight: 600; font-size: 14px; }
.save.labeled::after { content: "Save"; }
.save.labeled.on::after { content: "Saved"; }
.save.labeled::before { width: 16px; height: 16px; }
.pbtn {
  border: 1px solid var(--line); background: var(--ink-3); color: var(--cream); border-radius: 999px;
  padding: 7px 14px; font-weight: 600; font-size: 14px; cursor: pointer;
}
.pbtn:hover, .save.labeled:hover { border-color: var(--amber); }
.pbtn.next { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.pbtn[hidden] { display: none; }
#player-save { display: contents; }
.player-actions.subs { margin-top: 10px; }
.player-actions.subs:empty, .player-actions.subs:has(#player-subs:empty) { display: none; }
.watched {
  position: absolute; left: 10px; bottom: 10px; background: rgba(10, 7, 5, .8); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
}
.card.seen .thumb img { filter: saturate(.55) brightness(.8); }
.follow {
  border: 1px solid var(--amber); background: transparent; color: var(--amber); border-radius: 999px;
  padding: 7px 16px; font-weight: 700; font-size: 14px; cursor: pointer;
}
.follow.on { background: var(--amber); color: var(--ink); }
.fstar { font-style: normal; color: var(--amber); }
.fchips { display: flex; flex-wrap: wrap; gap: 6px; margin: 10px 0 4px; }
.fchips .chip { text-decoration: none; }
.notice { margin: 16px 0 0; padding: 10px 14px; border-radius: 10px; background: var(--ink-3); border: 1px solid var(--line); color: var(--cream); }
.mine-link {
  order: 3; text-decoration: none; color: var(--cream); font-weight: 600; font-size: 14px; white-space: nowrap;
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px;
}
.mine-link::before { content: "♥ "; color: var(--marquee); }
.mine-link.active { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.mine-link.active::before { color: var(--ink); }
@media (max-width: 1319px) {
  .mine-link { order: 0; margin-left: auto; font-size: 13px; padding: 5px 11px; }
}
.thumb.nothumb { background: radial-gradient(circle at 50% 40%, var(--ink-3), var(--ink)); }
.thumb.nothumb img { visibility: hidden; }

/* ---------- comedy club directory ---------- */
.metro-name { font: 26px/1 var(--display); letter-spacing: .8px; color: var(--amber); margin: 18px 0 10px; }
.clubs { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 12px; }
.club {
  display: grid; gap: 4px; align-content: start; text-decoration: none; color: var(--cream);
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px;
  border-top: 3px solid var(--marquee);
}
.club:hover { border-color: var(--amber); }
.club-top { display: flex; gap: 6px; min-height: 0; }
.club-top:empty { display: none; }
.pick { background: var(--amber); color: var(--ink); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; padding: 2px 7px; border-radius: 6px; }
.dist { background: var(--ink-3); color: var(--cream); font-size: 12px; font-weight: 600; padding: 2px 7px; border-radius: 6px; }
.club-name { font: 26px/1 var(--display); letter-spacing: .6px; }
.club-where { color: var(--muted); font-size: 14px; }
.club-about { font-size: 14px; color: #e7dccb; }
.club-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 4px 0 0; }
.club-tags i { font-style: normal; font-size: 12px; color: var(--violet); border: 1px solid rgba(185, 156, 255, .4); border-radius: 999px; padding: 1px 8px; }
.club-hero .club-where { margin-top: 2px; }
.club-lede { color: var(--cream) !important; font-size: 16px; margin-top: 10px !important; }
.club-addr { margin-top: 10px !important; font-size: 14px; }
.lineup::before { display: none; }
.club-fine { margin: 26px 0 0; }
.meta .era { color: var(--amber); font-weight: 700; }

/* ---------- phones: bottom tab bar (Today, Explore, Comedians, Live, My list) ---------- */
.dock { display: none; }
@media (max-width: 760px) {
  .tabs, .mine-link { display: none; }
  .top { padding-bottom: 10px; }
  .dock {
    display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    padding: 6px 4px max(6px, env(safe-area-inset-bottom)); background: rgba(22, 17, 14, .94);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line);
  }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 5px 0 3px; text-decoration: none; color: var(--muted);
    font-size: 11px; font-weight: 600; border-radius: 12px; -webkit-tap-highlight-color: transparent; }
  .dock svg { width: 24px; height: 24px; fill: currentColor; stroke: currentColor; }
  .dock a.active { color: var(--amber); }
  .dock a.active svg { filter: drop-shadow(0 0 6px rgba(255, 181, 71, .55)); }
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
}

/* ---------- Explore: one tile per section ---------- */
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 12px; padding: 8px 0 20px; }
.tile {
  position: relative; display: grid; align-content: end; min-height: 150px; padding: 16px; border-radius: var(--radius);
  text-decoration: none; color: var(--cream); overflow: hidden; border: 1px solid var(--line);
  background: var(--tile-bg, linear-gradient(135deg, var(--ink-3), var(--ink-2)));
}
.tile .art { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 85% 50%; opacity: .9; }
.tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(14, 10, 8, .88)); }
.tile > span { position: relative; z-index: 1; }
.tile .t-name { font: 34px/1 var(--display); letter-spacing: 1px; }
.tile .t-sub { color: var(--muted); font-size: 13px; margin-top: 4px; }
.tile .t-count { position: absolute; top: 12px; right: 12px; z-index: 1; font-size: 12px; font-weight: 700; padding: 3px 9px;
  border-radius: 999px; background: rgba(22, 17, 14, .75); color: var(--amber); }
.tile:hover, .tile:focus-visible { border-color: var(--amber); }
@media (max-width: 760px) { .tile { min-height: 124px; } }
#clubs, .day { scroll-margin-top: 80px; }
.tile-specials { --tile-bg: linear-gradient(135deg, #5a1f14, #211915 70%); }
.tile-roasts { --tile-bg: linear-gradient(135deg, #6b2a0c, #211915 70%); }
.tile-classics { --tile-bg: linear-gradient(135deg, #3d3524, #211915 70%); }
.tile-podcasts { --tile-bg: linear-gradient(135deg, #2b2346, #211915 70%); }
.tile-vault { --tile-bg: linear-gradient(135deg, #17363a, #211915 70%); }
.tile-clubs { --tile-bg: linear-gradient(135deg, #4a1730, #211915 70%); }
.tile-festivals { --tile-bg: linear-gradient(135deg, #5a3a10, #211915 70%); }

/* ---------- empty states: the stage mic in a spotlight ---------- */
.stage-empty { display: grid; justify-items: center; gap: 10px; padding: 26px 16px 30px; text-align: center; color: var(--muted); grid-column: 1 / -1; }
.stage-empty img { width: 88px; height: 88px; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 2px rgba(255, 181, 71, .5), 0 0 40px rgba(255, 140, 60, .35); }
.stage-empty p { margin: 0; max-width: 42ch; }

/* ---------- desktop: videos start on the first screen ---------- */
@media (min-width: 761px) {
  .hero { padding: 18px 0 4px; }
  .hero h1 { font-size: clamp(40px, 4.4vw, 50px); margin-bottom: 4px; }
  .spotlight { margin-top: 12px; padding: 12px 14px; }
  .spotlight .rail { grid-auto-columns: 250px; }
  .spotlight .card .styles { display: none; }
  .spotlight .card h3 .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .spotlight .card .info { padding-top: 8px; padding-bottom: 10px; }
  .spotlight .spot-title { margin-bottom: 8px; }
  .hero p { max-width: 90ch; }
  /* search, type chips, length chips and the rest flow together and wrap as space allows */
  .filters { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; padding-top: 12px; }
  .filters .qform { flex: 0 1 340px; }
  .filters .qform input { width: 100%; }
  .filters .row { flex: none; padding-bottom: 0; }
  /* a long chip row (Back in the Day's eras) wraps instead of pushing the page sideways (QA CF-022) */
  .filters .frow { flex: 0 1 auto; min-width: 0; max-width: 100%; }
  .filters .frow.wrap { flex-wrap: wrap; }
  .filters .controls { align-items: center; }
  .filters .controls .field { display: flex; align-items: center; gap: 6px; }
  .filters .controls .field input, .filters .controls .field select { min-width: 140px; padding: 7px 10px; }
}

/* ---------- club page map (OpenStreetMap embed) ---------- */
.club-map { margin: 16px 0 4px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: var(--ink-2); }
.club-map iframe { display: block; width: 100%; height: 240px; border: 0; filter: saturate(.85) brightness(.92); }
.club-map figcaption { padding: 6px 10px; font-size: 12px; color: var(--muted); }
.club-map figcaption a { color: var(--muted); }

/* Podcasts' grouped-by-show view lives inside the results grid: each show spans the full width */
.results > .show, .results > .shows-note { grid-column: 1 / -1; }
.results > .show { padding-top: 4px; }

/* ---------- fan uploads of real roasts: clearly not official ---------- */
.stub-fan { background: repeating-linear-gradient(135deg, #3a3f46 0 6px, #2c3036 6px 12px); color: #e8edf2; }
.card.fan { border-style: dashed; border-color: #59606a; }
.card.fan .info { background: linear-gradient(180deg, rgba(120, 130, 145, .06), transparent 60%); }
.fan-note { display: block; margin-top: 8px; font-size: 13px; }
.fan-note .stub { position: static; display: inline-block; margin-right: 4px; transform: none; vertical-align: middle; }

/* ---------- comedian autocomplete ---------- */
.field { position: relative; }
.suggest { position: absolute; left: 0; right: 0; top: 100%; z-index: 70; margin-top: 4px; max-height: 280px; overflow: auto;
  background: var(--ink-3); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5);
  text-transform: none; letter-spacing: 0; }
.suggest button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 9px 12px; border: 0; background: none;
  color: var(--cream); font: 15px var(--body); text-align: left; cursor: pointer; }
.suggest button + button { border-top: 1px solid var(--line); }
.suggest button:hover, .suggest button.on { background: rgba(255, 181, 71, .12); }
.face.tiny { width: 28px; height: 28px; box-shadow: none; }
.face.mono.tiny { font-size: 12px; }
@media (min-width: 761px) { .filters .controls .field .suggest { min-width: 260px; } }

/* ---------- lean-back: Play all / Shuffle / Autoplay ---------- */
.playbar { display: flex; gap: 8px; padding: 6px 0 4px; }
.playbar .playall { background: var(--marquee); border-color: var(--marquee); color: #fff; }
.pbtn.auto[aria-pressed="true"] { background: rgba(79, 209, 181, .15); border-color: var(--teal); color: var(--teal); }
.pbtn.auto::before { content: "●"; font-size: 9px; margin-right: 6px; vertical-align: 1px; opacity: .5; }
.pbtn.auto[aria-pressed="true"]::before { opacity: 1; }

/* ---------- topics ---------- */
.topic-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; padding: 8px 0 20px; }
.topic { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 16px; border-radius: var(--radius);
  text-decoration: none; color: var(--cream); background: linear-gradient(135deg, var(--ink-3), var(--ink-2)); border: 1px solid var(--line); }
.topic:hover, .topic:focus-visible { border-color: var(--amber); }
.topic .t-label { font: 24px/1.05 var(--display); letter-spacing: .6px; }
.topic .t-n { flex: none; font-size: 12px; font-weight: 700; color: var(--amber); padding: 3px 9px; border-radius: 999px; background: rgba(22, 17, 14, .75); }
.tile-topics { --tile-bg: linear-gradient(135deg, #1f3d2c, #211915 70%); }

.playbar .pbtn::before { content: ""; display: inline-block; width: 14px; height: 14px; margin-right: 7px; vertical-align: -2px; background: currentColor; }
.playbar .playall::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4l14 8-14 8z'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 4l14 8-14 8z'/%3E%3C/svg%3E") center / contain no-repeat; }
.playbar .shuffle::before { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h4l10 12h4M3 18h4l3-3.6M14 9.6 17 6h4M18 3l3 3-3 3M18 15l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 6h4l10 12h4M3 18h4l3-3.6M14 9.6 17 6h4M18 3l3 3-3 3M18 15l3 3-3 3'/%3E%3C/svg%3E") center / contain no-repeat; }

/* ---------- comedian bio + related comedians ---------- */
.bio { max-width: 72ch; margin: 4px 0 6px; }
.bio p { margin: 0 0 4px; color: #e7dccb; }
.bio-credit a { color: var(--muted); }
.related { margin: 14px 0 4px; }
.rel-title { font: 22px/1 var(--display); letter-spacing: .6px; color: var(--amber); margin: 0 0 10px; }
.rel-title span { font: 12px var(--body); color: var(--muted); letter-spacing: 0; margin-left: 6px; text-transform: none; }
.rel-row { display: flex; gap: 14px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.rel-row::-webkit-scrollbar { display: none; }
.rel { flex: none; width: 76px; display: grid; justify-items: center; gap: 6px; text-decoration: none; color: var(--cream); font-size: 12px; text-align: center; line-height: 1.2; }
.rel .face { width: 60px; height: 60px; }
.rel:hover .face { box-shadow: 0 0 0 2px var(--ink-2), 0 0 0 3px var(--amber); }

/* desktop/tablet: the extra controls (comedian, style, topic, toggles) wrap instead of running off screen */
@media (min-width: 761px) {
  .filters .row.controls { flex: 1 1 auto; flex-wrap: wrap; }
  .filters .playbar { padding: 0; }
}

/* Play all / Shuffle: on the filter line on desktop, just above the videos on phones */
.playbar-phone { display: none; }
@media (max-width: 760px) {
  .filters .playbar { display: none; }
  .playbar-phone { display: block; }
}
@media (min-width: 761px) {
  /* the boxes say "Any comedian / Any style / Any topic", so the small labels go (screen readers keep them) */
  .filters .controls .field > span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .filters .controls .field input { width: 160px; min-width: 0; }
  .filters .controls .field select { width: auto; min-width: 0; max-width: 190px; }
}

/* ---------- 😂 Funny votes ---------- */
.card { position: relative; }
/* on cards it sits at the lower right of the text, not on the thumbnail (design judge, 2026-11-12: too many overlays) */
.laugh { position: absolute; bottom: 10px; right: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 4px; height: 36px; min-width: 36px;
  padding: 0 9px; border-radius: 999px; border: 1px solid var(--line); background: var(--ink-3); color: var(--cream); font-size: 17px; cursor: pointer; }
.laugh span { filter: grayscale(1) opacity(.75); transition: filter .15s; }
.laugh b { font: 700 13px var(--body); }
.laugh b:empty { display: none; }
.laugh.on { background: rgba(255, 181, 71, .9); color: var(--ink); }
.laugh.on span { filter: none; }
.laugh.pop span { animation: laughpop .45s ease; }
@keyframes laughpop { 0% { transform: scale(1); } 40% { transform: scale(1.5) rotate(-12deg); } 100% { transform: scale(1); } }
.laugh.labeled { position: static; height: auto; padding: 8px 14px; border: 1px solid var(--line); background: var(--ink-3); font-size: 15px; }
.laugh.labeled i { font: 600 14px var(--body); font-style: normal; }
.laugh.labeled.on { border-color: var(--amber); }
@media (prefers-reduced-motion: reduce) { .laugh.pop span { animation: none; } }
.spotlight.loved { border-color: rgba(255, 90, 60, .4); background: linear-gradient(135deg, rgba(255, 90, 60, .12), rgba(255, 181, 71, .06)); }

/* ---------- comedy festivals ---------- */
.fest .ginfo { display: grid; gap: 4px; }
.fest-name { margin: 0; font: 26px/1 var(--display); letter-spacing: .6px; }
.fest-name .pick { font-family: inherit; vertical-align: 4px; }
.fest .gcity, .fest .club-about, .fest .club-tags { margin: 0; }
.gdate .usual { color: var(--muted); }
.fest-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 6px; }
.fest-links .buy { background: var(--marquee); color: #fff; text-decoration: none; border-radius: 999px; padding: 7px 14px; font-weight: 700; font-size: 14px; }
.fest-links .aff { font-size: 11px; color: var(--muted); }
.see-all { font: 600 14px/1 var(--body); letter-spacing: 0; color: var(--amber); margin-left: 10px; text-transform: none; vertical-align: 4px; }
#fest-list .gigs { margin-bottom: 8px; }

/* ---------- buy or stream elsewhere (comedian pages) ---------- */
.shop-row { display: flex; gap: 12px; overflow-x: auto; scrollbar-width: thin; padding-bottom: 6px; }
.shop { flex: none; width: 150px; display: grid; align-content: start; gap: 4px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px; }
.shop img { width: 128px; height: 128px; object-fit: cover; border-radius: 6px; justify-self: center; background: var(--ink-3); }
.shop p { margin: 0; }
.shop-title { font-weight: 600; font-size: 13px; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.shop-kind { color: var(--muted); font-size: 12px; }
.shop-links { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px !important; }
.shop-links a { font-size: 12px; font-weight: 700; color: var(--amber); text-decoration: none; border: 1px solid rgba(255, 181, 71, .45); border-radius: 999px; padding: 3px 9px; }
.shop-links a:hover { background: rgba(255, 181, 71, .12); }
.elsewhere .fine { margin-top: 6px; }

/* ---------- comedy classes ---------- */
.class-card { border-top-color: var(--violet); }
.class-go { margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--amber); }
.class-go .aff { font-weight: 400; color: var(--muted); font-size: 11px; }
#class-kind { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
#class-strip .fine { margin: 4px 0 0; }
@media (min-width: 900px) { #fest-list .gigs, #fests { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- server-rendered content (crawlers without JavaScript; the app replaces it on load) ---------- */
.ssr { padding: 18px 0 30px; max-width: 860px; }
.ssr h1 { font: clamp(36px, 7vw, 60px)/0.95 var(--display); letter-spacing: 1px; margin: 0 0 10px; }
.ssr h2 { font: 26px/1 var(--display); letter-spacing: .6px; color: var(--amber); margin: 22px 0 8px; }
.ssr h3 { font-size: 16px; margin: 14px 0 4px; }
.ssr .ssr-lead { font-size: 17px; color: var(--cream); }
.ssr ul { padding-left: 18px; }
.ssr li { margin: 3px 0; color: var(--muted); }
.ssr a { color: var(--cream); }
.ssr-updated { color: var(--muted); font-size: 13px; }
.about .lead { font-size: 17px; }

/* ---------- comedy news (slice 28): our summary + credited outlet links ---------- */
.news-strip { grid-column: 1 / -1; }
.news-strip .day { margin-top: 4px; }
.news-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 900px) { .news-list { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .news-strip .news-list { grid-template-columns: repeat(3, 1fr); } }
.news-item { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; min-width: 0; }
.news-item h3 { margin: 0 0 6px; font-size: 16px; line-height: 1.3; color: var(--cream); }
.news-item p { margin: 0; font-size: 14px; line-height: 1.45; }
.news-item .news-meta { margin-top: 8px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: 13px; color: var(--muted); }
.news-item .news-meta a { color: var(--amber); }
.news-when { color: var(--muted); font-variant-numeric: tabular-nums; }
.news-who a { color: var(--teal) !important; }
.news-row { margin: 18px 0 8px; }

/* ---------- Spanish (slice 29): language switch + the offer banner (never a redirect) ---------- */
.langbar { order: 4; display: flex; gap: 6px; }
.langbar a { color: var(--muted); font-size: 13px; font-weight: 600; text-decoration: none; padding: 6px 4px; white-space: nowrap; }
.langbar a:hover { color: var(--cream); }
.langbar a[aria-current] { display: none; } /* the header only offers the other language; the footer shows both */
/* Narrow screens: logo, language link and My list share the first row; the tab row goes below */
@media (max-width: 1319px) { .langbar { order: 2; margin-left: auto; } .top .mine-link { order: 3; margin-left: 0; } .tabs { order: 5; } }
.foot-lang a[aria-current] { color: var(--cream); font-weight: 600; text-decoration: none; }
.lang-offer { display: flex; align-items: center; justify-content: center; gap: 12px; padding: 8px 16px;
  background: var(--ink-2); border-bottom: 1px solid var(--line); font-size: 14px; }
.lang-offer[hidden] { display: none; }
.lang-offer a { color: var(--amber); font-weight: 600; }
.lang-offer button { background: none; border: 0; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 2px 6px; }

/* Clean sets: a tag on the thumbnail under the type label, so the meta line under the title never has to clip a
   label ("Apto para todos" is twice as long as "Clean"; #spanish, 2026-10-12) */
.week-tag {
  position: absolute; left: 10px; bottom: 10px; background: var(--amber); color: #1a1208;
  font-size: 11px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
}
/* Watched on a "This week" card: the Watched label sits above the gold tag instead of on top of it (QA CF-011) */
.week-tag ~ .watched { bottom: 38px; }
.spot-sub { font: 600 14px/1 var(--body, inherit); letter-spacing: 0; color: var(--muted, #b9a98f); margin-left: 8px; text-transform: none; vertical-align: middle; }
.clean-tag {
  position: absolute; left: 10px; top: 42px; background: rgba(10, 7, 5, .82); color: var(--teal);
  font-size: 11px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; padding: 3px 8px; border-radius: 6px;
  max-width: calc(100% - 20px); white-space: normal;
}

/* ---------- submit a channel (slices 30-32) ---------- */
.submit-wrap { display: grid; gap: 8px 40px; grid-template-columns: minmax(0, 420px) minmax(0, 1fr); align-items: start; padding-bottom: 30px; }
.submit-form { display: grid; gap: 14px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; margin-top: 26px; }
.submit-form .field input { width: 100%; min-width: 0; box-sizing: border-box; padding: 11px 12px; font-size: 16px; }
.submit-form .sub-go { justify-self: start; padding: 10px 18px; font-size: 15px; }
.submit-form .sub-go:disabled { opacity: .6; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sub-err { color: var(--marquee); margin: 0; font-size: 14px; }
.sub-rules { padding-top: 0; }
.sub-meta { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; overflow-wrap: anywhere; }
.sub-badge { font: 600 12px var(--body); text-transform: uppercase; letter-spacing: 1px; padding: 3px 9px; border-radius: 999px; background: var(--ink-3); color: var(--cream); }
.sub-approved, .sub-already { background: var(--teal); color: var(--ink); }
.sub-denied, .sub-removed { background: var(--marquee); color: var(--ink); }
.sub-pending { background: var(--amber); color: var(--ink); }
.sub-reason { font-weight: 600; }
.new-badge { display: inline-block; font: 600 11px var(--body); text-transform: uppercase; letter-spacing: 1px; padding: 2px 8px; border-radius: 999px; background: var(--teal); color: var(--ink); vertical-align: middle; }
@media (max-width: 760px) { .submit-wrap { grid-template-columns: 1fr; } .submit-form { margin-top: 8px; } }
.ctext .new-badge { align-self: flex-start; margin: 2px 0; }

/* Keep fresh videos on the first screen; favorites follow the first rows. */
.results > .spotlight { grid-column: 1 / -1; }
@media (max-width: 760px) {
  .spotlight .rail { grid-auto-columns: 220px; }
  .spotlight .card .styles { display: none; }
  .spotlight .card h3 .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
}

/* Open mics (plans/open-mics.md): cards reuse .club; the night line stands out, the venue links to its club page */
.mic-card .club-where a { color: inherit; text-decoration: underline; text-decoration-color: var(--line); }
.mic-when { font-weight: 700; color: var(--amber); font-size: 15px; }
.mic-foot { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin-top: 4px; }
.mic-foot .class-go { margin-top: 0; }
.mic-foot .fine { margin: 0; }
.form-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.submit-form .field select { width: 100%; min-width: 0; box-sizing: border-box; padding: 10px 12px; font-size: 16px; }
/* Nights sit side by side on wide screens (one or two mics a night would leave a long single column) */
.mic-days { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0 18px; align-items: start; }
@media (min-width: 760px) { .mic-days { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); } }
.mic-days > .empty { grid-column: 1 / -1; }
.mic-days .clubs { grid-template-columns: minmax(0, 1fr); }

/* Store: the same .shop tiles as the comedian page's "Buy or stream elsewhere" row, as a grid */
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; margin-top: 18px; }
.shop-grid .shop { width: auto; }
.shop-grid .shop img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; }
.shop-by { margin: 2px 0 0; font-size: 13px; }
.shop-by a { color: var(--amber); text-decoration: none; }
.more-wrap { text-align: center; margin: 18px 0; }

/* History of comedy: entry list + footnoted article */
.hist-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 12px; }
.hist-item { display: grid; gap: 6px; text-decoration: none; color: var(--cream); background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; }
.hist-item:hover { border-color: var(--amber); }
.hist-entry sup { font-size: 11px; line-height: 0; }
.hist-entry .fn { color: var(--amber); text-decoration: none; padding: 0 1px; }
.hist-sources li { margin: 6px 0; overflow-wrap: anywhere; }
.hist-sources li:target { background: rgba(255, 181, 71, .12); border-radius: 6px; }
.hist-fix { margin: 18px 0 8px; border-top: 1px solid var(--line); padding-top: 12px; }
.hist-fix summary { cursor: pointer; color: var(--amber); font-weight: 600; }
.hist-fix-form { display: grid; gap: 10px; max-width: 560px; }
.hist-fix-form textarea { width: 100%; box-sizing: border-box; padding: 11px 12px; font: 16px var(--body); text-transform: none; letter-spacing: 0; background: var(--ink-2); color: var(--cream); border: 1px solid var(--line); border-radius: 10px; }
.hist-fix-status { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; }
.hist-tl { list-style: none; padding: 0; margin: 0 0 8px; }
.hist-tl li { margin: 10px 0; overflow-wrap: anywhere; }
.hist-tl .tl-year { color: var(--amber); font-weight: 700; margin-right: 4px; }
.hist-tl .tl-title { color: var(--cream); font-weight: 600; margin-right: 4px; }

/* App only (iPhone/Android): the daily reminder on My list */
.reminder { margin: 4px 0 18px; }
.reminder p { margin: 4px 0 10px; color: var(--muted); }
.reminder .fine { color: var(--amber); }

/* In the New specials rail every card is a special, so a this-week card carries one label, "This week", in the stub's
   place (design judge, 2026-11-12: Special + This week stacked two labels) */
.stub.week-tag { top: 10px; bottom: auto; left: 10px; font: 17px/1 var(--display); letter-spacing: 1.2px; text-transform: none;
  padding: 6px 12px 5px; border-radius: 4px; color: var(--ink); background: var(--amber); }

/* ---------- rails: a deliberate partial card at the edge, plus arrows on desktop ---------- */
.spotlight { position: relative; }
.rail-navs { display: none; }
@media (min-width: 761px) {
  /* 3 whole cards and a 40% preview of the fourth, so the edge reads as "more this way" rather than a sliver, and the
     cards are wide enough that titles rarely cut off */
  .spotlight .rail { grid-auto-columns: calc((100% - 3 * 12px) / 3.4); }
  .rail-navs { display: flex; gap: 8px; position: absolute; top: 10px; right: 14px; }
  .rail-nav { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(255, 181, 71, .45);
    background: transparent; color: var(--amber); font-size: 20px; line-height: 1; cursor: pointer; }
  .rail-nav:hover { background: rgba(255, 181, 71, .12); border-color: var(--amber); }
  .rail-nav[disabled] { opacity: .3; cursor: default; }
}
@media (max-width: 760px) {
  /* phones: the specials start right under the intro, and the next card shows a third of itself */
  .hero { padding-bottom: 2px; }
  .spotlight { margin-top: 12px; padding: 12px 0 10px 12px; }
  .spotlight .spot-title { padding-right: 12px; }
  .spotlight .rail { grid-auto-columns: 72%; padding-right: 12px; scroll-padding-left: 0; }
}
/* Rail cards are narrow: voting stays in the player, so the 😂 button doesn't crowd their text */
.spotlight:not(.loved) .card .laugh { display: none; }
.spotlight:not(.loved) .card .meta, .spotlight:not(.loved) .card .styles { padding-right: 0; }

/* 😂 on cards: the emoji in full color with a "Funny" label, so it reads as an action, not a mystery icon */
/* on cards it's plain text at the end of the meta line, no pill (design judge round 3: pills everywhere) */
.card .laugh:not(.labeled) { bottom: 12px; right: 12px; height: 22px; min-width: 0; padding: 0; border: 0; background: none;
  color: var(--muted); font-size: 15px; gap: 5px; }
.card .laugh:not(.labeled) span { filter: grayscale(.2); }
.card .laugh:not(.labeled):hover span, .card .laugh.on:not(.labeled) span { filter: none; }
.card .laugh.on:not(.labeled) { background: none; color: var(--amber); }
/* just the emoji (and the count once there is one): a "Funny" word on every card read as filler (judge round 5) */
.card .meta { padding-right: 56px; }
/* style tags (interview, political...) are for filtering; cards keep format, length and source (design judge round 3) */
.results .card .styles, .spotlight .card .styles { display: none; }

/* Play all / Shuffle stand apart from the filters at the end of the line */
@media (min-width: 761px) { .filters .playbar { margin-left: auto; } }

/* Desktop: the first video of the feed leads, twice the size, so the lineup has a headliner */
@media (min-width: 1060px) {
  .results > h2.day:first-child + .card:not(.is-short) { grid-column: span 2; grid-row: span 2; }
  /* the picture fills whatever height the two cards beside it set, instead of setting the row height itself */
  .results > h2.day:first-child + .card:not(.is-short) .thumb { flex: 1; aspect-ratio: auto; min-height: 240px; }
  .results > h2.day:first-child + .card:not(.is-short) .thumb img { position: absolute; inset: 0; }
  .results > h2.day:first-child + .card:not(.is-short) .info h3 { font-size: 22px; }
  .results > h2.day:first-child + .card:not(.is-short) .names { font-size: 15px; }
}

/* ---------- design judge round 4 (2026-11-12) ---------- */
/* type chips read as one segmented control; Play all / Shuffle step back to quiet text buttons */
.filters .frow .chips.seg { display: inline-flex; flex: none; gap: 0; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: var(--ink-2); }
.filters .frow .chips.seg .chip { border: 0; background: none; padding: 6px 13px; }
.filters .frow .chips.seg .chip.on { background: var(--marquee); color: #fff; }
@media (min-width: 761px) {
  .filters .playbar .pbtn { background: none; border-color: transparent; color: var(--cream); padding-left: 8px; padding-right: 8px; }
  .filters .playbar .playall { color: var(--marquee); background: none; border-color: transparent; font-weight: 700; }
  .filters .playbar .pbtn:hover { border-color: var(--line); }
  /* New specials: an open rail with a lighter heading, not a heavy box competing with the feed */
  .spotlight:not(.loved) { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 14px 0 4px; }
  .spotlight:not(.loved) .spot-title { font-size: 26px; }
  .spotlight:not(.loved) .rail-navs { right: 0; top: 12px; }
}
/* smaller play buttons leave more of the picture */
.play { width: 38px; height: 38px; right: 10px; bottom: 10px; }
.play::after { left: 14px; top: 11px; border-width: 8px 0 8px 12px; }
/* metadata a step brighter; titles held to two lines everywhere */
.card .meta { color: #cdbda7; }
.card .info h3 .title { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 760px) { .filters .frow .chips.seg .chip { padding: 6px 9px; font-size: 13.5px; } }
@media (max-width: 420px) { .filters .frow .chips.seg .chip { padding: 6px 7px; font-size: 13px; } }

/* ---------- design judge round 5 (2026-11-12) ---------- */
/* specials titles get a third line before they cut off */
.spotlight .card .info h3 .title { -webkit-line-clamp: 3; }
/* amber is kept for headings, the active state and the play buttons; the Filters button steps back to a neutral outline */
.fbtn { border-color: var(--line); color: var(--cream); }
.fbtn.on { border-color: var(--amber); color: var(--amber); }
/* phones: the specials rail drops its boxed panel, like desktop */
@media (max-width: 760px) {
  .spotlight:not(.loved) { background: none; border: 0; border-top: 1px solid var(--line); border-radius: 0; padding: 12px 0 4px; }
  .spotlight:not(.loved) .rail { grid-auto-columns: 74%; padding-right: 0; }
}
/* desktop header breathes a little more vertically (wider gutters or tab gaps pushed Español off the logo row at
   1320 px in Spanish, e2e_nav) */
@media (min-width: 761px) {
  .top { padding-top: max(14px, env(safe-area-inset-top)); padding-bottom: 12px; }
}
/* With a mouse, a card's 😂 shows on hover unless it already has a count or your vote; a row of identical small
   faces read as decoration (judge round 6). Touch screens keep it visible. */
@media (hover: hover) {
  .card .laugh:not(.on):has(b:empty) { opacity: 0; transition: opacity .15s; }
  .card:hover .laugh, .card .laugh:focus-visible { opacity: 1; }
}
