/* they think they're so cool 🙄 · link page */

:root {
  --bg-deep: #0f0f0f;
  --bg-mid: #1a1a1a;
  --bg-card: rgba(255, 255, 255, 0.05);
  --bg-card-hover: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --pink: #ff2d95;
  --orange: #ff8c00;
  --yellow: #ffd700;
  --brand-gradient: linear-gradient(135deg, var(--pink), var(--orange), var(--yellow));
  --border-hover: rgba(255, 140, 0, 0.55);
  --text: #f5f5f5;
  --text-muted: #a3a3a3;
  --accent: var(--orange);
  --accent-glow: rgba(255, 45, 149, 0.28);
  --radius: 999px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  --font: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
  --focus: 0 0 0 3px var(--bg-deep), 0 0 0 5px var(--pink);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-deep);
  background-image:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(255, 45, 149, 0.16), transparent),
    radial-gradient(ellipse 55% 40% at 100% 100%, rgba(255, 140, 0, 0.12), transparent),
    radial-gradient(ellipse 50% 30% at 0% 80%, rgba(255, 215, 0, 0.08), transparent);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  z-index: 0;
}

.page {
  position: relative;
  z-index: 1;
  width: min(100% - 2rem, 26rem);
  margin: 0 auto;
  padding: 2.25rem 0 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero {
  text-align: center;
  max-width: 22rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
}

.logo-badge {
  width: 6.5rem;
  height: 6.5rem;
  border-radius: 50%;
  padding: 3px;
  background: var(--brand-gradient);
  box-shadow:
    0 8px 28px rgba(255, 45, 149, 0.28),
    0 4px 12px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

.logo {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 42%;
  background: #141414;
}

.blurb-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.blurb {
  margin: 0;
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
  font-weight: 400;
}

.blurb a {
  color: var(--text);
  font-weight: 600;
  text-decoration: none;
}

.blurb a:hover,
.blurb a:focus-visible {
  text-decoration: underline;
}

.links {
  list-style: none;
  margin: 0.5rem 0 0;
  padding: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.link-btn {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
  padding: 0.95rem 1.25rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--brand-gradient) border-box;
  background-origin: border-box;
  background-clip: padding-box, border-box;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.15s ease,
    box-shadow 0.2s ease,
    filter 0.2s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  position: relative;
}

/* Soft fill over the mid bg so hover can brighten */
.link-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--bg-card);
  pointer-events: none;
  z-index: 0;
  transition: background 0.2s ease;
}

.link-btn > * {
  position: relative;
  z-index: 1;
}

.link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 28px var(--accent-glow);
}

.link-btn:hover::before {
  background: var(--bg-card-hover);
}

.link-btn:active {
  transform: translateY(0);
}

.link-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus), 0 8px 28px rgba(0, 0, 0, 0.35);
}

.link-btn .icon {
  flex-shrink: 0;
  width: 1.4rem;
  height: 1.4rem;
  display: grid;
  place-items: center;
  color: var(--pink);
}

.link-btn:hover .icon {
  color: var(--orange);
}

.link-btn .icon svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.link-btn .label {
  flex: 1;
  text-align: left;
}

.link-btn .chevron {
  opacity: 0.4;
  width: 1rem;
  height: 1rem;
  color: var(--yellow);
  transition: opacity 0.2s, transform 0.2s;
}

.link-btn .chevron svg {
  width: 100%;
  height: 100%;
  fill: currentColor;
}

.link-btn:hover .chevron {
  opacity: 0.9;
  transform: translateX(2px);
}

/* playlists */
.playlists {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  scroll-margin-top: 1.5rem;
}

.section-heading {
  margin: 0;
  text-align: center;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.playlist-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.playlist-card {
  padding: 0.85rem;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--brand-gradient) border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.playlist-label {
  margin: 0 0.15rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
}

.badge-new {
  padding: 0.1rem 0.5rem;
  border-radius: var(--radius);
  background: var(--brand-gradient);
  color: var(--bg-deep);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

.playlist-embed {
  display: block;
  width: 100%;
  height: 152px;
  border: 0;
  border-radius: 12px;
  background: var(--bg-deep);
}

.playlist-link {
  align-self: flex-start;
  margin: 0 0.15rem;
  font-size: 0.8rem;
  color: var(--text-muted);
  text-decoration: none;
  border-radius: 4px;
}

.playlist-link:hover {
  color: var(--yellow);
  text-decoration: underline;
}

.playlist-link:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

/* join the list */
.join {
  width: 100%;
  margin-top: 1rem;
  scroll-margin-top: 1.5rem;
}

.join-card {
  padding: 1.1rem 1rem 1rem;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--brand-gradient) border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  text-align: center;
}

.join-heading {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}

.join-copy {
  margin: 0 auto;
  max-width: 20rem;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.join-form {
  position: relative;
  margin-top: 0.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.join-input {
  width: 100%;
  min-width: 0;
  padding: 0.85rem 1.15rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-deep);
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.join-input::placeholder {
  color: var(--text-muted);
  opacity: 0.8;
}

.join-input:hover {
  border-color: var(--border-hover);
}

.join-input:focus,
.join-input:focus-visible {
  outline: none;
  border-color: var(--pink);
  box-shadow: var(--focus);
}

.join-btn {
  flex-shrink: 0;
  padding: 0.85rem 1.4rem;
  border: 0;
  border-radius: var(--radius);
  background: var(--brand-gradient);
  color: var(--bg-deep);
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.join-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 28px var(--accent-glow);
}

.join-btn:active {
  transform: translateY(0);
}

.join-btn:focus-visible {
  outline: none;
  box-shadow: var(--focus);
}

.join-btn:disabled {
  cursor: progress;
  opacity: 0.7;
  transform: none;
  filter: none;
}

.join-status {
  margin: 0;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.join-status:empty {
  display: none;
}

.join-status[data-kind="error"] {
  color: var(--yellow);
}

.join-done {
  margin: 0.25rem 0 0;
  padding: 0.85rem 1rem;
  border-radius: 1rem;
  background: var(--bg-deep);
  border: 1px solid var(--border);
  font-weight: 600;
  color: var(--text);
}

/* honeypot: off-screen, bots fill it, humans never see it */
.join-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

@media (min-width: 480px) {
  .join-form {
    flex-direction: row;
    align-items: center;
  }

  .join-input {
    flex: 1;
  }
}

.footer {
  margin-top: 1.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  opacity: 0.85;
  text-align: center;
  letter-spacing: 0.01em;
}

@media (prefers-reduced-motion: reduce) {
  .link-btn,
  .join-btn,
  .join-input {
    transition: none;
  }
}

/* ---------- clips & topics (topics/, clips/; generated by _tools/build_clips.py) ---------- */
.page--wide {
  width: min(100% - 2rem, 60rem);
  align-items: stretch;
}

.sub-header {
  display: flex;
  justify-content: center;
}

.sub-home {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--radius);
  padding: 0.2rem 0.9rem 0.2rem 0.2rem;
}

.sub-home:hover .sub-home-name { color: var(--yellow); }
.sub-home:focus-visible { outline: none; box-shadow: var(--focus); }

.logo-badge--sm {
  width: 3rem;
  height: 3rem;
  padding: 2px;
}

.crumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.crumbs li + li::before {
  content: "›";
  margin-right: 0.5rem;
  color: var(--pink);
}

.crumbs a { color: var(--text-muted); text-decoration: none; }
.crumbs a:hover { color: var(--yellow); text-decoration: underline; }
.crumbs [aria-current] {
  color: var(--text);
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.crumbs li { min-width: 0; }
.crumbs ol { flex-wrap: nowrap; max-width: 100%; }
.crumbs li:not([aria-current]) { flex-shrink: 0; }
.crumbs { max-width: 100%; overflow: hidden; }

.page-title {
  margin: 0;
  text-align: center;
  font-size: clamp(1.45rem, 4.5vw, 2.1rem);
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.005em;
  text-wrap: balance;
  max-width: 40rem;
  align-self: center;
}

.sub-intro {
  max-width: 36rem;
  align-self: center;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.55;
}

.sub-intro p { margin: 0 0 0.6rem; }
.sub-intro p:last-child { margin-bottom: 0; }

.sub-section {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 0.75rem;
}

.sub-section .section-heading a { color: inherit; text-decoration: none; }
.sub-section .section-heading a:hover { color: var(--yellow); }

.sub-copy {
  margin: 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* clip cards */
.clip-grid,
.topic-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .clip-grid,
  .topic-grid {
    grid-template-columns: repeat(auto-fit, minmax(13rem, 15.5rem));
    justify-content: center;
    gap: 1rem;
  }
}

@media (max-width: 639px) {
  .clip-card-body { padding: 0.7rem 0.75rem 0.8rem; }
  .clip-card-title { font-size: 0.9rem; }
  .clip-card-teaser { font-size: 0.78rem; }
  .topic-card-link { padding: 1rem 0.9rem; }
  .topic-card-title { font-size: 1.05rem; }
}

.clip-card,
.topic-card { display: flex; }

.clip-card-link,
.topic-card-link {
  flex: 1;
  display: flex;
  flex-direction: column;
  border-radius: 1.25rem;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--brand-gradient) border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  color: var(--text);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.clip-card-link:hover,
.topic-card-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 28px var(--accent-glow);
}

.clip-card-link:focus-visible,
.topic-card-link:focus-visible { outline: none; box-shadow: var(--focus); }

.clip-thumb {
  display: block;
  aspect-ratio: 4 / 5;
  background: var(--bg-deep);
  overflow: hidden;
}

.clip-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 8%;
}

.clip-thumb--ph {
  display: grid;
  place-items: center;
  font-size: 3rem;
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 45, 149, 0.35), transparent 60%),
    radial-gradient(circle at 80% 90%, rgba(255, 215, 0, 0.25), transparent 55%),
    var(--bg-deep);
}

.clip-card-body,
.topic-card-link {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.clip-card-body { padding: 0.85rem 1rem 1rem; flex: 1; }
.topic-card-link { padding: 1.25rem 1.25rem 1.1rem; }

.clip-card-title,
.topic-card-title {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.topic-card-title { font-size: 1.2rem; }

.clip-card-teaser,
.topic-card-blurb {
  font-size: 0.86rem;
  line-height: 1.45;
  color: var(--text-muted);
}

.clip-card-cta {
  margin-top: auto;
  padding-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--yellow);
}

.chip {
  align-self: flex-start;
  display: inline-block;
  padding: 0.1rem 0.55rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--pink);
  font-size: 0.72rem;
  font-weight: 700;
  text-decoration: none;
}

a.chip:hover { border-color: var(--border-hover); color: var(--orange); }

/* pills (small, reuse link-btn gradient border) */
.pill-row {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.55rem 1rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box,
    var(--brand-gradient) border-box;
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.88rem;
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 22px var(--accent-glow);
}

.pill:focus-visible { outline: none; box-shadow: var(--focus); }

.pill--ghost {
  background: transparent;
  border-color: var(--border);
  color: var(--text-muted);
}

.pill--ghost:hover { color: var(--text); border-color: var(--border-hover); }

.pill-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--pink);
  flex-shrink: 0;
}

.ph-note {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.68rem;
  letter-spacing: 0.02em;
  color: var(--text-muted);
  opacity: 0.7;
  text-align: center;
  font-style: italic;
}

.more-link,
.back-home {
  margin: 0;
  text-align: center;
  font-size: 0.85rem;
}

.more-link a { color: var(--text-muted); text-decoration: none; }
.more-link a:hover { color: var(--yellow); text-decoration: underline; }
.back-home { margin-top: 1rem; }

.playlists--sub {
  margin-top: 0.75rem;
  max-width: 34rem;
  width: 100%;
  align-self: center;
}

/* clip page */
.clip-meta {
  margin: -0.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.review-note {
  margin: 0;
  align-self: center;
  max-width: 36rem;
  padding: 0.6rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px dashed rgba(255, 215, 0, 0.5);
  background: rgba(255, 215, 0, 0.06);
  color: var(--yellow);
  font-size: 0.78rem;
  line-height: 1.45;
}

.clip {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: start;
}

@media (min-width: 820px) {
  .clip { grid-template-columns: minmax(0, 21rem) minmax(0, 1fr); gap: 2rem; }
  .clip-media { position: sticky; top: 1.25rem; }
  .clip-body .section-heading { text-align: left; }
  .clip-body .pill-row { justify-content: flex-start; }
  .clip-body .ph-note { text-align: left; }
}

.clip-media {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  width: 100%;
  max-width: 21rem;
  justify-self: center;
}

/* responsive 9:16 reel wrapper; poster + fallback sit under the iframe */
.reel {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid transparent;
  background:
    linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box,
    var(--brand-gradient) border-box;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 45, 149, 0.18);
}

.reel-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75);
}

.reel-poster--ph {
  display: grid;
  place-items: center;
  font-size: 4rem;
}

.reel-fallback {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  white-space: nowrap;
  padding: 0.6rem 1.1rem;
  border-radius: var(--radius);
  background: var(--brand-gradient);
  color: var(--bg-deep);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.reel-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: transparent;
}

.watch-on {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.watch-on--2 { grid-template-columns: repeat(2, 1fr); }
.watch-on--1 { grid-template-columns: 1fr; }

.watch-on li { display: flex; flex-direction: column; align-items: center; }
.watch-on .pill { width: 100%; justify-content: center; padding: 0.55rem 0.5rem; font-size: 0.82rem; }

.clip-body { display: flex; flex-direction: column; gap: 0.5rem; min-width: 0; }
.clip-body .sub-section:first-child { margin-top: 0; }

.take p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
}

.take .disclaimer {
  font-size: 0.76rem;
  color: var(--text-muted);
  opacity: 0.85;
}

.tr-note,
.tr-label {
  margin: 0;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.tr-label {
  padding: 0.6rem 0.9rem;
  border-radius: 0.9rem;
  border: 1px dashed var(--border);
  font-style: italic;
}

.transcript {
  list-style: none;
  margin: 0;
  padding: 0.9rem 1rem;
  border-radius: 1.1rem;
  border: 1px solid var(--border);
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.transcript li {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: 0.6rem;
  font-size: 0.92rem;
  line-height: 1.5;
}

.tr-time {
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem;
  padding-top: 0.15rem;
  color: var(--pink);
  opacity: 0.85;
}

.footer--nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.footer--nav nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
}

.footer--nav nav a { color: var(--text-muted); text-decoration: none; }
.footer--nav nav a:hover { color: var(--yellow); text-decoration: underline; }

/* homepage entry point */
.explore {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 0.6rem;
  margin-top: -0.25rem;
}

.explore .pill { font-size: 0.82rem; padding: 0.45rem 0.95rem; }

@media (prefers-reduced-motion: reduce) {
  .pill,
  .clip-card-link,
  .topic-card-link { transition: none; }
}

/* long intros (topic and show pages): left-aligned for readability */
.sub-intro--long { text-align: left; }

/* clip page: the backstory + faq */
.backstory p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}
.backstory p + p { margin-top: 0.6rem; }
.faq-list { margin: 0; }
.faq-list dt {
  font-weight: 700;
  font-size: 0.95rem;
  margin-top: 0.8rem;
}
.faq-list dt:first-child { margin-top: 0; }
.faq-list dd {
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: var(--text-muted);
}

/* where to watch tiles (placeholder links; /watch.js filters by region) */
.where-to-watch { margin: 1rem 0 1.25rem; }
.watch-label { font-size: 0.82rem; font-weight: 600; color: var(--text); margin: 0 0 0.45rem; }
.watch-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 0.5rem; }
.watch-grid li[hidden] { display: none; }
.watch-tile {
  display: flex; flex-direction: column; justify-content: center; gap: 0.1rem;
  min-height: 44px; padding: 0.4rem 0.65rem; box-sizing: border-box;
  border-radius: 6px; border: 1px solid var(--border-hover, rgba(255,255,255,0.18));
  background: rgba(255,255,255,0.04); color: var(--text); text-decoration: none; line-height: 1.15;
  transition: border-color 0.15s ease, background 0.15s ease;
}
.watch-tile:hover { border-color: #f5c518; background: rgba(255,255,255,0.08); }
.watch-tile:focus-visible { outline: none; box-shadow: var(--focus); }
.watch-tile-name { font-size: 0.88rem; font-weight: 700; }
.watch-tile-region { font-size: 0.66rem; text-transform: lowercase; letter-spacing: 0.04em; opacity: 0.65; }

/* full episodes. everything below is scoped to new ep-* / .episodes classes, nothing here restyles an existing selector.
   16:9 boxes use the padding-top trick (works in every webview), children are pinned with top/left/right/bottom (no inset). */
.episodes { width: 100%; max-width: 100%; min-width: 0; display: flex; flex-direction: column; gap: 0.85rem; scroll-margin-top: 1.5rem; }
.ep-home-card { width: 100%; max-width: 100%; min-width: 0; }
.ep-home-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; flex-wrap: wrap; }
.ep-home-title { margin: 0 0.15rem; font-size: 1rem; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; word-wrap: break-word; }
.ep-home-title a { color: var(--text); text-decoration: none; }
.ep-home-title a:hover { color: var(--yellow); }
.ep-player {
  position: relative;
  display: block;
  width: 100%;
  max-width: 100%;
  height: 0;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-deep);
  background-image: var(--brand-gradient);
}
.ep-play, .ep-frame { position: absolute; top: 0; left: 0; right: 0; bottom: 0; width: 100%; height: 100%; max-width: 100%; display: block; border: 0; }
.ep-play:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--pink); }
.ep-play picture { display: block; width: 100%; height: 100%; }
.ep-thumb { display: block; width: 100%; max-width: 100%; height: 100%; object-fit: cover; filter: brightness(0.85); transition: filter 0.2s ease; }
.ep-play:hover .ep-thumb { filter: brightness(1); }
.ep-play-btn {
  position: absolute; left: 50%; top: 50%;
  -webkit-transform: translate(-50%, -50%); transform: translate(-50%, -50%);
  width: 4rem; height: 4rem; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-gradient);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.5), 0 0 28px var(--accent-glow);
  transition: transform 0.15s ease;
}
.ep-play:hover .ep-play-btn { -webkit-transform: translate(-50%, -50%) scale(1.06); transform: translate(-50%, -50%) scale(1.06); }
.ep-play-btn svg { width: 1.9rem; height: 1.9rem; fill: var(--bg-deep); margin-left: 0.2rem; }
.ep-pills { margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 0.5rem; }
.ep-pills .pill { white-space: normal; overflow-wrap: anywhere; max-width: 100%; justify-content: center; }
.ep-home-card .ep-pills { gap: 0.4rem; }
.ep-home-card .ep-pills .pill { flex: 1 1 auto; white-space: nowrap; padding: 0.5rem 0.55rem; font-size: 0.78rem; gap: 0.3rem; }
.ep-main { width: 100%; max-width: 44rem; min-width: 0; align-self: center; display: flex; flex-direction: column; gap: 0.85rem; }
.ep-main .ep-player {
  border-radius: 1.25rem; border: 1px solid transparent;
  background: linear-gradient(var(--bg-deep), var(--bg-deep)) padding-box, var(--brand-gradient) border-box;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45), 0 0 28px rgba(255, 45, 149, 0.18);
}
.ep-spotify-slot { width: 100%; max-width: 100%; text-align: center; }
.ep-spotify-slot:empty { display: none; }
.in-app .ep-spotify-slot { display: none; }
.ep-spotify-load {
  font: inherit; font-size: 0.82rem; font-weight: 600; color: var(--text-muted); cursor: pointer;
  padding: 0.5rem 1rem; border-radius: var(--radius); border: 1px solid var(--border); background: transparent;
}
.ep-spotify-load:hover { color: var(--text); border-color: var(--border-hover); }
.ep-spotify-load:focus-visible { outline: none; box-shadow: var(--focus); }
.ep-spotify-frame { display: block; width: 100%; max-width: 100%; height: 152px; border: 0; border-radius: 12px; }
.ep-disclaimer { font-size: 0.78rem; opacity: 0.8; }
.ep-chapters a.tr-time { text-decoration: none; }
.ep-chapters a.tr-time:hover { color: var(--yellow); text-decoration: underline; }
.ep-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 1rem; min-width: 0; }
@media (min-width: 40rem) { .ep-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.ep-card { display: flex; min-width: 0; }
.ep-card-link {
  flex: 1; min-width: 0; display: flex; flex-direction: column; overflow: hidden;
  border-radius: 1.25rem; border: 1px solid transparent; text-decoration: none; color: var(--text);
  background: linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box, var(--brand-gradient) border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.ep-card-link:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 28px var(--accent-glow); }
.ep-card-link:focus-visible { outline: none; box-shadow: var(--focus); }
.ep-card-link .clip-card-title, .ep-card-link .clip-card-teaser { overflow-wrap: anywhere; word-wrap: break-word; }
.ep-card-thumb { position: relative; display: block; width: 100%; height: 0; padding-top: 56.25%; background: var(--bg-deep); background-image: var(--brand-gradient); overflow: hidden; }
.ep-card-thumb picture, .ep-card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.ep-card-img { object-fit: cover; max-width: 100%; }
.ep-card-meta { justify-content: flex-start; margin: 0 0 0.4rem; font-size: 0.75rem; }

/* standalone videos (/videos/) + the homepage "new" feature card. scoped to new feature / vid-* classes only. */
.feature { width: 100%; max-width: 100%; min-width: 0; }
.feature-card { display: flex; flex-direction: column; gap: 0.35rem; width: 100%; max-width: 100%; min-width: 0; box-sizing: border-box; color: var(--text); text-decoration: none; transition: transform 0.15s ease, box-shadow 0.2s ease; }
.feature-card:hover { transform: translateY(-1px); box-shadow: 0 0 22px var(--accent-glow); }
.feature-card:focus-visible { outline: none; box-shadow: var(--focus); }
.feature-label { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; flex-wrap: wrap; margin: 0 0.15rem; }
.feature-title { margin: 0 0.15rem; font-size: 1rem; line-height: 1.3; font-weight: 700; overflow-wrap: anywhere; }
.feature-teaser { margin: 0 0.15rem; font-size: 0.85rem; line-height: 1.45; color: var(--text-muted); overflow-wrap: anywhere; }
.feature-cta { margin: 0.1rem 0.15rem 0; font-size: 0.8rem; font-weight: 700; color: var(--yellow); }
.feature-card:hover .feature-title { color: var(--yellow); }
@media (prefers-reduced-motion: reduce) { .feature-card { transition: none; } }
.vid-tr { text-align: left; }
.vid-tr-h { margin: 1rem 0 0.4rem; font-size: 0.95rem; line-height: 1.35; font-weight: 700; overflow-wrap: anywhere; }
.vid-tr-h .tr-time { text-decoration: none; margin-right: 0.35rem; }
.vid-tr-h .tr-time:hover { color: var(--yellow); text-decoration: underline; }
.vid-tr-block { padding: 0.8rem 1rem; border-radius: 1.1rem; border: 1px solid var(--border); background: var(--bg-card); }
.vid-tr-block p { margin: 0; font-size: 0.92rem; line-height: 1.6; overflow-wrap: anywhere; }
.vid-tr-block p + p { margin-top: 0.55rem; }

/* "full ep N coming soon" note on clip pages whose full episode isn't up yet (clips[].episode_soon) */
.soon-note { text-align: center; margin: 0.35rem 0 0; }

/* "segments from this ep": longer standalone videos (videos.json episode field) on an episode page. small thumb + text, no iframes. */
.seg-section { width: 100%; max-width: 100%; min-width: 0; }
.seg-note { margin: 0 0 0.75rem; }
.seg-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr; gap: 0.75rem; min-width: 0; }
.seg-card { display: flex; min-width: 0; }
.seg-card-link {
  flex: 1; min-width: 0; display: flex; flex-direction: row; align-items: stretch; gap: 0; overflow: hidden;
  border-radius: 1rem; border: 1px solid transparent; text-decoration: none; color: var(--text);
  background: linear-gradient(var(--bg-mid), var(--bg-mid)) padding-box, var(--brand-gradient) border-box;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.seg-card-link:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0, 0, 0, 0.4), 0 0 28px var(--accent-glow); }
.seg-card-link:focus-visible { outline: none; box-shadow: var(--focus); }
.seg-card-thumb { position: relative; flex: 0 0 38%; max-width: 12rem; min-height: 100%; background: var(--bg-deep); background-image: var(--brand-gradient); overflow: hidden; }
.seg-card-thumb picture, .seg-card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: block; }
.seg-card-img { object-fit: cover; max-width: 100%; }
.seg-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.7rem 0.8rem 0.8rem; }
.seg-card-meta { font-size: 0.72rem; color: var(--text-muted); }
.seg-card-title { font-weight: 700; font-size: 0.92rem; line-height: 1.25; overflow-wrap: anywhere; }
.seg-card-teaser { font-size: 0.78rem; color: var(--text-muted); line-height: 1.35; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.seg-card-cta { margin-top: auto; padding-top: 0.2rem; font-size: 0.78rem; font-weight: 700; color: var(--yellow); }
.footer-links { display: block; margin-top: 0.35rem; font-size: 0.8rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; }
.footer-links a:hover { color: var(--yellow); text-decoration: underline; }
