/* Thee Sam D — "Broadcast" theme: dark studio, signal amber, condensed display type.
   Post pages read on a light paper island (token override on .post/.kit). */
:root {
  --bg: #0b0e15;
  --panel: #111624;
  --panel-2: #1a2133;
  --text: #eef2f8;
  --muted: #9aa7bd;
  --accent: #f6a51e;      /* signal amber */
  --accent-2: #ffbe4d;
  --accent-ink: #191002;  /* text on amber */
  --accent-dark: #8a5b09;
  --line: #202940;
  --radius: 10px;
  --max: 1160px;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: Barlow, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* ESPN-style vertical lock: the page never pans sideways; only .rail/.ticker/etc scroll within */
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 var(--body);
}
img { max-width: 100%; display: block; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 {
  line-height: 1.08; margin: 0 0 .5rem;
  font-family: var(--display); font-weight: 700; letter-spacing: .01em;
}

/* Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px;
}
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -3rem; z-index: 30;
  background: var(--accent); color: var(--accent-ink); font-weight: 700;
  padding: .5rem 1rem; border-radius: 0 0 8px 8px; transition: top .15s ease;
}
.skip-link:focus { top: 0; text-decoration: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* ---------- header ---------- */
.site-header {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  flex-wrap: wrap;
  max-width: var(--max); margin: 0 auto; padding: .9rem 1.25rem;
}
.brand {
  font-family: var(--display); font-weight: 700; font-size: 1.9rem;
  text-transform: uppercase; letter-spacing: .045em;
  color: var(--text); line-height: 1;
  display: inline-flex; align-items: baseline; gap: .4rem;
}
.brand::after {
  content: ""; width: .42em; height: .42em; background: var(--accent);
  border-radius: 2px; transform: translateY(-.05em);
}
.brand:hover { text-decoration: none; color: var(--accent); }
.site-header nav { display: flex; flex-wrap: wrap; gap: .15rem; }
.site-header nav a {
  color: #c8d2e0; padding: .5rem .75rem; font-size: 1rem; font-weight: 600;
  border-bottom: 2px solid transparent; border-radius: 0;
}
.site-header nav a:hover { color: var(--text); text-decoration: none; }
.site-header nav a[aria-current="page"] {
  color: var(--text); border-bottom-color: var(--accent); font-weight: 700;
}

main { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem 3rem; }

/* ---------- headline ticker ---------- */
.ticker {
  width: 100vw; margin-left: calc(50% - 50vw);
  background: #080b11; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  overflow: hidden; white-space: nowrap;
}
.tk-track { display: flex; width: max-content; animation: tk-roll 85s linear infinite; }
.ticker:hover .tk-track, .ticker:focus-within .tk-track { animation-play-state: paused; }
.tk-run { display: flex; align-items: center; }
.tk {
  display: inline-flex; align-items: baseline; gap: .5rem;
  font-family: var(--mono); font-size: .74rem; letter-spacing: .02em;
  color: var(--muted); padding: .55rem .9rem;
}
.tk b {
  font-weight: 500; color: var(--accent); text-transform: uppercase;
  letter-spacing: .09em; font-size: .68rem;
}
.tk:hover { color: var(--text); text-decoration: none; }
.tk-sep { color: #2c3650; padding: 0 .1rem; user-select: none; }
@keyframes tk-roll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .tk-track { animation: none; }
}

/* ---------- top story ---------- */
.topstory {
  width: 100vw; margin-left: calc(50% - 50vw);
  background: #080b11; border-bottom: 1px solid var(--line);
  margin-bottom: 2.2rem;
}
.ts-inner {
  max-width: var(--max); margin: 0 auto; padding: 1.6rem 1.25rem 1.9rem;
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.6rem; align-items: center;
}
.ts-media { position: relative; border-radius: var(--radius); overflow: hidden; }
.ts-media .player { aspect-ratio: 16 / 9; background: #000; }
.ts-img { width: 100%; height: 100%; object-fit: cover; }
.ts-fallback { background: linear-gradient(140deg, var(--panel-2), #0d1322); }
a.ts-link { display: block; aspect-ratio: 16 / 9; background: #000; }
.ts-chyron {
  display: flex; align-items: center; gap: .7rem; margin: 0 0 .7rem;
  font-family: var(--mono); font-size: .74rem; color: var(--muted);
}
.ts-chyron .ts-lane {
  background: var(--accent); color: var(--accent-ink); font-weight: 500;
  text-transform: uppercase; letter-spacing: .08em; font-size: .68rem;
  padding: .18rem .5rem; border-radius: 3px;
}
.ts-text h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.1rem); font-weight: 700;
  margin: 0 0 .7rem; text-wrap: balance;
}
.ts-text h2 a { color: var(--text); }
.ts-text h2 a:hover { color: var(--accent); text-decoration: none; }
.ts-teaser { color: var(--muted); font-size: 1.02rem; line-height: 1.55; margin: 0 0 1rem; max-width: 34rem; }
.ts-open {
  display: inline-block; font-weight: 600; font-size: .92rem;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .5rem 1.05rem;
  color: var(--text);
}
.ts-open:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
@media (max-width: 820px) {
  .ts-inner { grid-template-columns: 1fr; gap: 1.1rem; }
  .ts-text h2 { font-size: clamp(1.7rem, 6.5vw, 2.4rem); }
}

/* ---------- channel rails ---------- */
.lane { margin: 2.4rem 0; }
.lane-head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  margin-bottom: .85rem;
}
.lane-head h2 {
  font-size: 1.45rem; text-transform: uppercase; letter-spacing: .05em; margin: 0;
  display: inline-flex; align-items: center; gap: .55rem;
}
.lane-head h2::before {
  content: ""; width: .5rem; height: 1.05em; background: var(--accent); border-radius: 2px;
}
.more {
  font-family: var(--mono); font-size: .74rem; letter-spacing: .05em;
  color: var(--muted); white-space: nowrap; padding: .35rem .5rem; margin: -.35rem -.5rem;
}
.more:hover { color: var(--accent); text-decoration: none; }
.rail {
  display: flex; gap: .9rem; overflow-x: auto; padding: .2rem .2rem .9rem;
  scroll-snap-type: x proximity; scrollbar-width: thin;
  scrollbar-color: var(--panel-2) transparent;
}
.rail::-webkit-scrollbar { height: 8px; }
.rail::-webkit-scrollbar-thumb { background: var(--panel-2); border-radius: 8px; }
.rl-card {
  flex: 0 0 250px; scroll-snap-align: start;
  display: flex; flex-direction: column; gap: .45rem;
  color: var(--text); text-decoration: none;
  transition: transform .18s ease;
}
.rl-card.lead { flex-basis: 400px; }
.rl-card:hover { text-decoration: none; transform: translateY(-4px); }
.rl-media {
  position: relative; aspect-ratio: 16 / 9; border-radius: var(--radius);
  overflow: hidden; background: var(--panel);
  outline: 1px solid var(--line); outline-offset: -1px;
  transition: outline-color .18s ease;
}
.rl-card:hover .rl-media, .rl-card:focus-visible .rl-media { outline: 2px solid var(--accent); outline-offset: -2px; }
.rl-media img { width: 100%; height: 100%; object-fit: cover; }
.rl-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--panel-2), #0d1322);
  color: #46536e; font-family: var(--display); font-weight: 700; font-size: 1.3rem;
  text-transform: uppercase; letter-spacing: .06em;
}
.rl-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(5, 7, 12, .92) 0%, rgba(5, 7, 12, .35) 45%, transparent 70%);
}
.rl-title {
  position: absolute; left: 0; right: 0; bottom: 0; margin: 0;
  padding: .65rem .8rem;
  font-size: 1.08rem; font-weight: 600; line-height: 1.15; color: #fff;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.rl-card.lead .rl-title { font-size: 1.45rem; }
.rl-meta { font-family: var(--mono); font-size: .7rem; color: var(--muted); padding: 0 .15rem; }

/* ---------- feed pages ---------- */
.feed h1 {
  font-size: clamp(2.3rem, 5vw, 3.4rem); margin-top: 1.6rem;
  text-transform: uppercase; letter-spacing: .04em;
  display: flex; align-items: center; gap: .6rem;
}
.feed h1::before { content: ""; width: .55rem; height: .9em; background: var(--accent); border-radius: 2px; }
.lede { color: var(--muted); max-width: 44rem; margin: 0 0 1.9rem; }
.feed .card { max-width: 780px; }
.feed .card.lead { max-width: 980px; }
.feed .card.lead h3 { font-size: 1.7rem; }
.empty { color: var(--muted); }

/* ---------- cards (feed pages, dark) ---------- */
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; margin: 0 0 1.4rem;
}
.card-body { padding: 1rem 1.15rem 1.15rem; }
.card h3 { font-size: 1.35rem; font-weight: 600; }
.card p { color: var(--muted); margin: .5rem 0 0; }
.teaser { font-size: .92rem; }
.kicker {
  font-family: var(--mono); font-size: .72rem; color: var(--muted);
  margin: 0 0 .4rem; display: flex; align-items: center; gap: .55rem; flex-wrap: wrap;
}
.pill {
  background: transparent; border: 1px solid var(--line); color: var(--accent);
  padding: .12rem .5rem; border-radius: 3px; font-weight: 500; font-size: .66rem;
  text-transform: uppercase; letter-spacing: .08em; font-family: var(--mono);
}
.pill-topic { color: var(--muted); }
.open-post {
  display: inline-block; margin-top: .7rem; font-size: .85rem; font-weight: 600;
  color: var(--accent);
}
.open-post:hover { text-decoration: underline; }

/* ---------- player / click-to-play ---------- */
.player { position: relative; aspect-ratio: 16 / 9; background: #000; }
.player iframe, .player-open iframe { width: 100%; height: 100%; border: 0; display: block; }
.player iframe.tiktok { aspect-ratio: 9 / 16; max-height: 580px; margin: 0 auto; width: auto; min-width: 325px; }
.player:has(iframe.tiktok) { aspect-ratio: auto; display: flex; justify-content: center; }
.player audio { width: 100%; margin-top: 40%; }
iframe.audio-embed { height: 150px; aspect-ratio: auto; background: var(--panel-2); }
.player:has(iframe.audio-embed), .player-open:has(iframe.audio-embed) { aspect-ratio: auto; background: transparent; }
.facade { all: unset; cursor: pointer; display: block; width: 100%; height: 100%; position: relative; }
.facade img { width: 100%; height: 100%; object-fit: cover; }
.thumb-fallback {
  width: 100%; height: 100%; display: grid; place-items: center;
  background: linear-gradient(140deg, var(--panel-2), #0d1322);
  color: #46536e; font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  letter-spacing: .06em; text-transform: uppercase;
}
.play-badge {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: rgba(6, 8, 13, .78); color: #ffffff;
  border: 1px solid rgba(255, 255, 255, .35);
  padding: .5rem 1rem; border-radius: 999px; font-weight: 700; font-size: .95rem;
  transition: background .15s ease, transform .18s ease, color .15s ease;
  display: inline-flex; align-items: center; gap: .35rem; white-space: nowrap;
}
.play-badge svg { width: 1em; height: 1em; }
.facade:hover .play-badge, .facade:focus-visible .play-badge {
  background: var(--accent); color: var(--accent-ink); border-color: var(--accent);
  transform: translate(-50%, -50%) scale(1.06);
}
.player-open { aspect-ratio: 16 / 9; background: #000; border-radius: 8px; overflow: hidden; }
.live-player { max-width: 780px; }

/* ---------- live banner ---------- */
.live-banner {
  margin: 1rem 0 2rem; padding: 1rem 1.25rem;
  background: #1c0f13; border: 1px solid #7a2e38; border-radius: var(--radius);
}
.live-banner > p {
  margin: 0 0 .75rem; font-weight: 700; color: #ff8a96; letter-spacing: .06em;
  font-family: var(--display); text-transform: uppercase; font-size: 1.15rem;
}
.live-dot {
  display: inline-block; width: .6em; height: .6em; border-radius: 50%;
  background: #ff4d5e; margin-right: .4em;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse { 50% { opacity: .35; } }

/* ---------- podcast desk (home) ---------- */
.pod-player {
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
  padding: 1.1rem 1.25rem; margin-bottom: 1.1rem;
}
.pod-player .kicker { color: var(--accent); }
.pod-player h3 { font-size: 1.4rem; }
.pod-player details { margin-top: .9rem; color: var(--muted); }
.pod-player summary { cursor: pointer; font-weight: 600; }
.ep-list { list-style: none; padding: .5rem 0 0; margin: 0; max-height: 12rem; overflow-y: auto; }
.ep-list li { padding: .35rem 0; border-top: 1px solid var(--line); }
.ep-date { color: var(--accent); font-size: .8rem; margin-right: .5rem; font-family: var(--mono); }

/* homepage podcast listen row */
.home-listen {
  margin: .9rem 0 .2rem; font-size: .84rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: .55rem 1rem;
}
.home-listen .lab {
  font-family: var(--mono); text-transform: uppercase; letter-spacing: .1em;
  font-size: .66rem; color: var(--muted);
}
.home-listen a { font-weight: 500; }

/* ---------- homepage subscribe row ---------- */
.home-subs {
  display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem;
  margin: 0 0 1.4rem; padding: 1rem 1.2rem;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.subs-lead { margin: 0; flex: 1 1 16rem; min-width: 0; font-size: 1.02rem; color: var(--muted); }
.subs-row { display: flex; flex-wrap: wrap; gap: .6rem; flex: none; }
.sub-btn {
  display: inline-flex; align-items: center; gap: .55rem; flex: none;
  background: var(--accent); color: var(--accent-ink); text-decoration: none;
  font-size: .92rem; font-weight: 700; letter-spacing: .01em;
  padding: .6rem 1.05rem; border-radius: 999px;
  transition: background .15s ease, transform .12s ease;
}
.sub-btn:hover { background: var(--accent-2); text-decoration: none; transform: translateY(-1px); }
.sub-btn:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
.sub-yt { width: 22px; height: 16px; flex: none; color: #cc0000; }
.sub-stack { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.sub-stack b { font-weight: 700; font-size: .95rem; }
.sub-stack i { font-style: normal; font-weight: 500; font-size: .74rem; opacity: .82; margin-top: 1px; }

/* ---------- photo galleries ---------- */
.gallery { display: grid; gap: 4px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.gallery img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* ---------- email signup ---------- */
.signup {
  margin: 3rem 0 1rem; padding: 2.2rem 1.5rem;
  background: linear-gradient(140deg, #10151f, #0d1118);
  border: 1px solid var(--line); border-top: 3px solid var(--accent);
  border-radius: var(--radius); text-align: center;
}
.signup h2 { font-size: 1.9rem; text-transform: uppercase; letter-spacing: .04em; }
.signup p { color: var(--muted); max-width: 38rem; margin: .25rem auto 1.2rem; }
.signup-form { display: flex; gap: .5rem; justify-content: center; flex-wrap: wrap; }
.signup-form input {
  background: #080b11; color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .68rem 1.1rem; font-size: 1rem; min-width: min(20rem, 80vw);
}
.signup-form input:focus { outline: 2px solid var(--accent); }
.signup-form button {
  background: var(--accent); color: var(--accent-ink); font-weight: 700; font-size: 1rem;
  border: 0; border-radius: 999px; padding: .68rem 1.4rem; cursor: pointer;
}
.signup-form button:hover { background: var(--accent-2); }
.signup-note { color: var(--accent) !important; font-weight: 600; margin-top: .9rem !important; }

/* ---------- motion ---------- */
.js-anim .reveal {
  opacity: 0; transform: translateY(16px);
  transition: opacity .55s cubic-bezier(.22,.9,.35,1), transform .55s cubic-bezier(.22,.9,.35,1);
}
.js-anim .reveal.in { opacity: 1; transform: none; }
.card { transition: transform .2s ease, border-color .2s ease; }
.js-anim .card.reveal { transition: opacity .55s cubic-bezier(.22,.9,.35,1), transform .55s cubic-bezier(.22,.9,.35,1), border-color .2s ease; }
.card:hover { transform: translateY(-4px); border-color: #2c3650; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  max-width: var(--max); margin: 0 auto; padding: 1.25rem;
  color: var(--muted); font-size: .82rem; font-family: var(--mono);
}

@media (max-width: 640px) {
  .site-header { justify-content: center; text-align: center; }
  .home-subs { flex-direction: column; align-items: stretch; }
  .subs-lead { flex: none; }
  .subs-row { flex-direction: column; }
  .subs-row .sub-btn { justify-content: center; }
  .subs-row .sub-btn .sub-stack { align-items: center; }
  .rl-card { flex-basis: 220px; }
  .rl-card.lead { flex-basis: 300px; }
}

/* ============================================================
   PAPER ISLAND — individual post pages read on light paper.
   Re-theming is done by overriding the tokens on .post / .kit,
   so every ported component below keeps its original var() logic.
   ============================================================ */
.post, .kit {
  --bg: #f7f3ea;
  --panel: #ffffff;
  --panel-2: #efe9db;
  --text: #1c1917;
  --muted: #57534e;
  --accent: #9a5200;      /* burnt amber that holds contrast on paper */
  --accent-2: #b86200;
  --accent-ink: #ffffff;
  --line: #e3dcc9;
  background: var(--bg); color: var(--text);
  border-radius: 14px;
  padding: clamp(1.25rem, 4vw, 2.5rem);
  margin: 1.5rem auto 0;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .45);
}

.post { max-width: 46rem; }
.post h1 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin: .2rem 0 1.1rem; text-wrap: balance; text-transform: none; }
.post .kicker .sep { color: var(--line); margin: 0 .15rem; }
.post .pill { border-color: var(--accent); }
.post-player { margin: 0 0 1.6rem; }
.post-player iframe, .post-player audio, .post-player video { width: 100%; max-width: 100%; border: 0; display: block; }
.post-player:has(audio), .post-player:has(iframe.audio-embed) {
  aspect-ratio: auto; background: transparent; height: auto; border-radius: 0; overflow: visible;
}
.post-player audio { height: 54px; margin: 0; border-radius: 40px; }
.post-player iframe.audio-embed { height: 150px; aspect-ratio: auto; }
.post-summary { font-size: 1.08rem; line-height: 1.7; }
.post-summary p { margin: 0 0 1rem; }

.post section { margin: 2.2rem 0; }
.post section h2 {
  font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-family: var(--display); font-weight: 700;
  margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}

.takes ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .85rem; }
.takes li {
  font-family: "Source Serif 4", Georgia, serif; font-size: 1.07rem; line-height: 1.55;
  border-left: 3px solid var(--accent); padding: .1rem 0 .1rem .85rem;
}

.chapters ol { list-style: none; margin: 0; padding: 0; }
.chapters li { border-bottom: 1px dotted var(--line); }
.chapters li:last-child { border-bottom: none; }
.chapters .ch {
  all: unset; cursor: pointer; display: flex; gap: .85rem; align-items: baseline;
  width: 100%; box-sizing: border-box; padding: .5rem .5rem .5rem 0; border-radius: 6px;
  transition: background .12s;
}
.chapters .ch:hover { background: var(--panel-2); }
.chapters .ch:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.chapters .ch.active { background: var(--panel-2); }
.chapters .ch.active .ts { font-weight: 700; }
.chapters .ch.active .ch-title { font-weight: 600; }
.chapters .ts {
  font-family: var(--mono); font-size: .78rem; font-weight: 500;
  min-width: 4.1rem; text-align: right; color: var(--accent);
  font-variant-numeric: tabular-nums; flex: none;
}
.chapters .ch-title { font-family: "Source Serif 4", Georgia, serif; font-size: 1.02rem; line-height: 1.45; }
.chat-tag {
  display: inline-block; font-size: .62rem; letter-spacing: .09em;
  text-transform: uppercase; font-weight: 700; color: var(--muted);
  border: 1px solid var(--line); border-radius: 3px; padding: 1px 5px;
  vertical-align: middle; margin-left: .3rem;
}

.transcript details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--panel); }
.transcript summary {
  cursor: pointer; padding: .85rem 1.1rem; font-weight: 600;
  font-family: var(--body); font-size: .95rem; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
}
.transcript summary::-webkit-details-marker { display: none; }
.transcript summary::before { content: "\25B8"; color: var(--accent); margin-right: .5rem; }
.transcript details[open] summary::before { content: "\25BE"; }
.transcript .tx-count { font-size: .78rem; font-weight: 400; color: var(--muted); font-variant-numeric: tabular-nums; }
.tx-body { padding: 0 1.1rem 1.1rem; max-height: 32rem; overflow-y: auto; border-top: 1px solid var(--line); }
.tx-body p { margin: .9rem 0; font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; line-height: 1.7; color: var(--muted); }

.post-nav {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  margin: 2.4rem 0 1rem; padding-top: 1.2rem; border-top: 1px solid var(--line);
}
.post-nav a { font-size: .9rem; color: var(--text); max-width: 15rem; line-height: 1.4; }
.post-nav a:hover { color: var(--accent); text-decoration: none; }
.post-nav .next { text-align: right; margin-left: auto; }
.post .back { font-size: .88rem; }
@media (max-width: 600px) {
  .chapters li { flex-direction: column; gap: .1rem; }
  .chapters .ts { text-align: left; min-width: 0; }
}

/* episode hero + custom audio player (dark card on the paper) */
.ep-hero {
  display: flex; gap: 1.6rem; align-items: flex-start;
  background: #0e121c; color: #eef2f8; border-radius: 14px;
  padding: 1.5rem; margin: 0 0 2rem;
  box-shadow: 0 14px 34px rgba(10, 12, 18, .35);
}
.ep-art { flex: none; width: 186px; }
.ep-art img { width: 100%; aspect-ratio: 1/1; object-fit: cover; display: block; border-radius: 10px; box-shadow: 0 8px 20px rgba(0,0,0,.45); }
.art-fallback {
  width: 100%; aspect-ratio: 1/1; border-radius: 10px; display: grid; place-items: center;
  background: #1a2133; color: #69758d; font-size: .8rem; text-align: center; padding: .5rem;
}
.ep-meta { flex: 1; min-width: 0; }
.ep-eyebrow {
  font-family: var(--mono); font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: #f6a51e; margin: .1rem 0 .45rem;
}
.ep-hero h1 { font-size: clamp(1.5rem, 2.8vw, 2.2rem); line-height: 1.1; margin: 0 0 .5rem; color: #eef2f8; text-wrap: balance; text-transform: none; }
.ep-sub { font-family: var(--mono); font-size: .75rem; color: #9aa7bd; margin: 0 0 1.15rem; letter-spacing: .01em; font-variant-numeric: tabular-nums; }

.ap-row { display: flex; align-items: center; gap: .65rem; margin-bottom: .9rem; }
.ap .ap-play, .ap .ap-back, .ap .ap-fwd, .ap .ap-rate {
  all: unset; cursor: pointer; box-sizing: border-box; color: #eef2f8;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--body); transition: background .15s, transform .12s;
}
.ap .ap-play:focus-visible, .ap .ap-back:focus-visible,
.ap .ap-fwd:focus-visible, .ap .ap-rate:focus-visible { outline: 2px solid #f6a51e; outline-offset: 3px; }
.ap .ap-play { width: 54px; height: 54px; border-radius: 50%; background: #f6a51e; color: #191002; flex: none; }
.ap .ap-play:hover { background: #ffbe4d; transform: scale(1.05); }
.ap .ap-play svg { width: 23px; height: 23px; margin-left: 3px; }
.ap .ap-play .i-pause { display: none; }
.ap.playing .ap-play .i-play { display: none; }
.ap.playing .ap-play .i-pause { display: block; margin-left: 0; }
.ap .ap-back, .ap .ap-fwd, .ap .ap-rate {
  gap: .22rem; height: 34px; padding: 0 .62rem; border-radius: 18px;
  border: 1.5px solid rgba(238, 242, 248, .3); font-size: .74rem; font-weight: 700;
  letter-spacing: .01em; font-variant-numeric: tabular-nums;
}
.ap .ap-back:hover, .ap .ap-fwd:hover, .ap .ap-rate:hover { background: rgba(238, 242, 248, .12); }
.ap .ap-back::before { content: "\21BA"; font-size: .95rem; line-height: 1; opacity: .8; }
.ap .ap-fwd::after { content: "\21BB"; font-size: .95rem; line-height: 1; opacity: .8; }
.ap .ap-rate { margin-left: auto; min-width: 46px; }
.ap-track { position: relative; height: 6px; border-radius: 6px; background: rgba(238, 242, 248, .2); cursor: pointer; touch-action: none; }
.ap-track::before { content: ""; position: absolute; inset: -12px 0; }
.ap-fill { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: #f6a51e; border-radius: 6px; }
.ap-knob { position: absolute; top: 50%; left: 0; width: 13px; height: 13px; border-radius: 50%; background: #eef2f8; transform: translate(-50%, -50%); box-shadow: 0 1px 4px rgba(0,0,0,.5); }
.ap-track:focus-visible { outline: 2px solid #f6a51e; outline-offset: 6px; }
.ap-times { display: flex; justify-content: space-between; font-family: var(--mono); font-size: .7rem; color: #9aa7bd; margin-top: .45rem; font-variant-numeric: tabular-nums; }
@media (max-width: 640px) {
  .ep-hero { flex-direction: column; gap: 1.1rem; padding: 1.15rem; }
  .ep-art { width: 130px; }
  .ap-rate { margin-left: auto; }
}

/* share button + listen links (inside the dark episode card) */
.ap .ap-share {
  all: unset; cursor: pointer; box-sizing: border-box; color: #eef2f8;
  display: inline-flex; align-items: center; gap: .3rem; height: 34px; padding: 0 .55rem;
  border-radius: 18px; border: 1.5px solid rgba(238, 242, 248, .3);
  font-family: var(--body); font-size: .72rem; font-weight: 700; transition: background .15s;
}
.ap .ap-share:hover { background: rgba(238, 242, 248, .12); }
.ap .ap-share:focus-visible { outline: 2px solid #f6a51e; outline-offset: 3px; }
.ap .ap-share svg { width: 15px; height: 15px; }
.ap-share-msg { display: none; }
.ap .ap-share.copied { border-color: #f6a51e; }
.ap .ap-share.copied .ap-share-msg { display: inline; }

.ep-listen {
  font-family: var(--mono); font-size: .73rem; color: #9aa7bd; margin: 1rem 0 0;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: .2rem .5rem;
}
.ep-listen-lab { text-transform: uppercase; letter-spacing: .11em; font-size: .62rem; font-weight: 500; color: #69758d; margin-right: .3rem; }
.ep-listen a { color: #eef2f8; text-decoration: none; border-bottom: 1px solid rgba(238, 242, 248, .3); padding-bottom: 1px; }
.ep-listen a:hover { color: #ffbe4d; border-bottom-color: #f6a51e; }
.ep-listen .dot { color: #46536e; }

/* editorial serif reading on the paper */
.post-summary { font-family: "Source Serif 4", Georgia, "Times New Roman", serif; font-size: 1.2rem; line-height: 1.62; letter-spacing: -.002em; }
.post-summary p { margin: 0 0 1.05rem; }
.post-summary.dropcap > p:first-of-type::first-letter {
  font-family: "Source Serif 4", Georgia, serif;
  font-weight: 700; font-size: 3.5em; line-height: .76;
  float: left; padding: .05em .085em 0 0; color: var(--accent);
}
@media (max-width: 600px) { .post-summary { font-size: 1.1rem; } }

/* subscribe CTA on video posts (paper) */
.sub-cta {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.1rem;
  margin: 0 0 1.9rem; padding: .95rem 1.1rem;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.sub-lead { margin: 0; flex: 1 1 14rem; min-width: 0; font-family: "Source Serif 4", Georgia, serif; font-size: 1.02rem; color: var(--muted); }
.post .sub-btn, .kit .sub-btn { background: var(--accent); color: #ffffff; }
.post .sub-btn:hover, .kit .sub-btn:hover { background: var(--accent-2); }
@media (max-width: 600px) {
  .sub-cta { flex-direction: column; align-items: stretch; }
  .sub-lead { flex: none; }
  .sub-cta .sub-btn { width: 100%; justify-content: center; }
}

/* gear + tip jar + kit page (paper) */
.gear ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .1rem; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
.gear li { border-bottom: 1px solid var(--panel-2); }
.gear li a {
  display: flex; align-items: baseline; gap: .55rem;
  padding: .6rem .2rem; color: var(--text); font-family: "Source Serif 4", Georgia, serif; font-size: 1.02rem; line-height: 1.4;
}
.gear li a::before { content: "\2192"; color: var(--accent); font-weight: 700; flex: none; font-family: var(--body); font-size: .9rem; }
.gear li a:hover { color: var(--accent); text-decoration: none; }
.gear-disclosure { margin: .7rem 0 0; font-family: var(--body); font-size: .76rem; line-height: 1.5; color: var(--muted); opacity: .85; }

.tip-jar {
  display: flex; flex-wrap: wrap; align-items: center; gap: .7rem 1.2rem;
  margin: 2.4rem 0 0; padding: 1rem 1.15rem;
  background: var(--panel-2); border-radius: var(--radius);
}
.tip-jar p { margin: 0; flex: 1 1 15rem; min-width: 0; font-family: "Source Serif 4", Georgia, serif; font-size: 1rem; color: var(--muted); }
.tip-btn {
  flex: none; display: inline-flex; align-items: center; gap: .4rem;
  padding: .52rem .95rem; border-radius: 999px;
  border: 1.5px solid var(--accent); color: var(--accent); background: transparent;
  font-family: var(--body); font-size: .86rem; font-weight: 700;
  text-decoration: none; transition: background .15s ease, color .15s ease;
}
.tip-btn::before { content: "\2615"; font-size: .95em; }
.tip-btn:hover { background: var(--accent); color: #ffffff; text-decoration: none; }
@media (max-width: 600px) {
  .tip-jar { flex-direction: column; align-items: stretch; }
  .tip-jar p { flex: none; }
  .tip-btn { justify-content: center; }
}

.kit { max-width: 46rem; }
.kit h1 { text-transform: none; }
.kit .kit-group { margin: 2.2rem 0; }
.kit .kit-group h2 {
  font-size: .95rem; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); font-family: var(--display); font-weight: 700;
  margin: 0 0 .8rem; padding-bottom: .5rem; border-bottom: 1px solid var(--line);
}
.kit .kit-group ul { list-style: none; margin: 0; padding: 0; }
.kit .kit-group li { border-bottom: 1px solid var(--panel-2); }
.kit .kit-group li:last-child { border-bottom: none; }
.kit .kit-group li a {
  display: inline-flex; align-items: baseline; gap: .55rem;
  padding: .62rem .2rem; color: var(--text); font-family: "Source Serif 4", Georgia, serif; font-size: 1.08rem;
}
.kit .kit-group li a::before { content: "\2192"; color: var(--accent); font-weight: 700; font-family: var(--body); font-size: .9rem; }
.kit .kit-group li a:hover { color: var(--accent); text-decoration: none; }
.kit-note { display: block; padding: 0 0 .62rem .95rem; margin-top: -.25rem; font-family: var(--body); font-size: .86rem; color: var(--muted); }

/* ---------- fine-tuning round 1 ---------- */
/* Subscribe spotlight beside the top story */
.ts-subs {
  margin-top: 1.25rem; padding-top: 1rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .55rem .6rem; align-items: center;
}
.ts-subs-lab {
  flex-basis: 100%; font-family: var(--mono); font-size: .66rem;
  text-transform: uppercase; letter-spacing: .1em; color: var(--muted);
}
.sub-mini {
  display: inline-flex; align-items: center; gap: .45rem;
  border: 1px solid var(--line); border-radius: 999px; padding: .45rem .9rem;
  color: var(--text); font-size: .85rem; font-weight: 600; text-decoration: none;
  transition: border-color .15s ease, color .15s ease;
}
.sub-mini:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.sub-mini .sub-yt { width: 20px; height: 14px; color: #cc0000; flex: none; }

/* Podcast covers are 1:1 — give them their full square frame */
.rl-card.pod, .rl-card.pod.lead { flex-basis: 215px; }
.rl-card.pod .rl-media { aspect-ratio: 1 / 1; }
.rl-card.pod.lead .rl-title { font-size: 1.08rem; }
.card[data-type="podcast"] { display: grid; grid-template-columns: 230px 1fr; align-items: start; }
.card[data-type="podcast"] .player { aspect-ratio: 1 / 1; width: 100%; height: auto; align-self: start; }
.card[data-type="podcast"].lead { grid-template-columns: 300px 1fr; }
.card[data-type="podcast"].lead h3 { font-size: 1.45rem; }
.topstory.ts-pod .ts-media .player,
.topstory.ts-pod .ts-media a.ts-link { aspect-ratio: 1 / 1; max-width: 480px; margin: 0 auto; }
@media (max-width: 640px) {
  .card[data-type="podcast"], .card[data-type="podcast"].lead { grid-template-columns: 1fr; }
  .card[data-type="podcast"] .player { height: auto; max-width: 100%; }
  .rl-card.pod, .rl-card.pod.lead { flex-basis: 180px; }
}

/* ---------- fine-tuning round 2: character breakdowns keep their 9:16 frame ---------- */
.rl-card.tall, .rl-card.tall.lead { flex-basis: 175px; }
.rl-card.tall .rl-media { aspect-ratio: 9 / 16; }
.rl-card.tall .rl-title { font-size: .95rem; }
.card[data-topic="characters"] { display: grid; grid-template-columns: 250px 1fr; align-items: start; }
.card[data-topic="characters"] .player { aspect-ratio: 9 / 16; width: 100%; height: auto; align-self: start; }
.card[data-topic="characters"].lead { grid-template-columns: 290px 1fr; }
.card[data-topic="characters"].lead h3 { font-size: 1.45rem; }
/* the TikTok player fills the vertical frame instead of forcing its own width */
.card[data-topic="characters"] .player:has(iframe.tiktok) { aspect-ratio: 9 / 16; display: block; }
.card[data-topic="characters"] .player iframe.tiktok {
  aspect-ratio: auto; width: 100%; height: 100%; min-width: 0; max-height: none; margin: 0;
}
.topstory.ts-tall .ts-media .player,
.topstory.ts-tall .ts-media a.ts-link { aspect-ratio: 9 / 16; max-width: 340px; margin: 0 auto; }
.topstory.ts-tall .ts-media .player:has(iframe.tiktok) { display: block; }
.topstory.ts-tall .ts-media iframe.tiktok { aspect-ratio: auto; width: 100%; height: 100%; min-width: 0; max-height: none; margin: 0; }
@media (max-width: 640px) {
  .card[data-topic="characters"], .card[data-topic="characters"].lead { grid-template-columns: 1fr; }
  .card[data-topic="characters"] .player { max-width: 290px; margin: 0 auto; width: 100%; }
  .rl-card.tall, .rl-card.tall.lead { flex-basis: 150px; }
}

/* ---------- fine-tuning round 3: ticker feel ---------- */
/* Hovered headline zooms while the crawl is paused, so it can be read and clicked */
.tk {
  transition: transform .18s ease, color .18s ease, background .18s ease;
  border-radius: 6px; transform-origin: center;
}
.tk:hover, .tk:focus-visible {
  color: var(--text); background: var(--panel-2); transform: scale(1.07);
}

/* Touch devices: no hover exists, so the crawl becomes a swipeable strip */
@media (hover: none) {
  .tk-track { animation: none; }
  .ticker { overflow-x: auto; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .ticker::-webkit-scrollbar { display: none; }
  .tk-run[aria-hidden="true"] { display: none; }
  .tk { padding-top: .7rem; padding-bottom: .7rem; }
}

/* ---------- fine-tuning round 4: Gear page storefront ---------- */
.kit { max-width: 64rem; }
.shop-grid {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}
.shop-card {
  display: flex; flex-direction: column;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px;
  overflow: hidden; text-decoration: none; color: var(--text);
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.shop-card:hover, .shop-card:focus-visible {
  transform: translateY(-3px); border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(28, 25, 23, .12); text-decoration: none;
}
.shop-media {
  aspect-ratio: 1 / 1; background: #ffffff; display: flex;
  align-items: center; justify-content: center; border-bottom: 1px solid var(--line);
}
.shop-media img { width: 100%; height: 100%; object-fit: contain; padding: .7rem; }
.shop-info { display: flex; flex-direction: column; gap: .35rem; padding: .85rem .9rem 1rem; flex: 1; }
.shop-info b { font-weight: 600; font-size: .98rem; line-height: 1.3; }
.shop-info i { font-style: normal; font-size: .82rem; color: var(--muted); line-height: 1.45; }
.shop-btn { margin-top: auto; padding-top: .55rem; color: var(--accent); font-size: .8rem; font-weight: 700; }
.shop-btn::after { content: " \2192"; }
@media (max-width: 640px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); gap: .6rem; }
  .shop-info { padding: .7rem .7rem .85rem; }
}

/* ---------- pre-publish round: about strip, footer directory, about page ---------- */
.about-strip {
  display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1.4rem;
  margin: 0 0 2.2rem; padding: 1rem 1.2rem;
  background: var(--panel); border: 1px solid var(--line);
  border-left: 4px solid var(--accent); border-radius: var(--radius);
}
.about-strip p { margin: 0; flex: 1 1 24rem; min-width: 0; color: var(--muted); font-size: 1rem; }
.strip-more {
  flex: none; font-weight: 600; font-size: .9rem;
  border: 1.5px solid var(--line); border-radius: 999px; padding: .45rem .95rem;
  color: var(--text);
}
.strip-more:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }

.site-footer { font-family: var(--body); font-size: .9rem; padding: 2rem 1.25rem 2.4rem; }
.foot-grid { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(215px, 1fr)); }
.foot-brand {
  font-family: var(--display); font-weight: 700; font-size: 1.4rem;
  text-transform: uppercase; letter-spacing: .05em; color: var(--text); margin: 0 0 .2rem;
}
.foot-tag { color: var(--muted); margin: 0; font-size: .88rem; }
.foot-lab {
  font-family: var(--mono); font-size: .64rem; text-transform: uppercase;
  letter-spacing: .11em; color: var(--muted); margin: 0 0 .55rem;
}
.foot-dir a { display: block; color: var(--text); padding: .22rem 0; font-weight: 500; }
.foot-dir a:hover { color: var(--accent); text-decoration: none; }
.foot-contact { color: var(--muted); margin: 0 0 .9rem; }
.foot-contact a { font-weight: 600; }
.foot-legal { color: var(--muted); font-family: var(--mono); font-size: .72rem; margin: 0; }

.about { max-width: 46rem; }
.about h1 { text-transform: none; }
.about-lanes ul { list-style: none; margin: 0; padding: 0; }
.about-lanes li {
  display: flex; flex-wrap: wrap; gap: .2rem .7rem; align-items: baseline;
  padding: .55rem 0; border-bottom: 1px solid var(--panel-2);
}
.about-lanes li:last-child { border-bottom: none; }
.about-lanes a { font-weight: 700; color: var(--text); }
.about-lanes a:hover { color: var(--accent); }
.about-lanes span { color: var(--muted); font-size: .95rem; flex: 1 1 18rem; }
.about-links a { font-weight: 600; }
.about-links { line-height: 2; }
.about-links a { display: inline-block; margin-right: 1.1rem; }

/* ---------- final round: rail arrows, mobile nav strip, search, podcast deck ---------- */
.lane-side { display: flex; align-items: center; gap: .7rem; }
.rail-ctl { display: flex; gap: .3rem; }
.rail-ctl button {
  all: unset; cursor: pointer; box-sizing: border-box;
  width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line); color: var(--text);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.15rem; line-height: 1; padding-bottom: 2px;
  transition: border-color .15s ease, color .15s ease, opacity .15s ease;
}
.rail-ctl button:hover { border-color: var(--accent); color: var(--accent); }
.rail-ctl button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.rail-ctl button:disabled { opacity: .3; cursor: default; border-color: var(--line); color: var(--muted); }
.lane.can-right .rail {
  -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 52px), transparent);
  mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 52px), transparent);
}
@media (hover: none) { .rail-ctl { display: none; } }

.search-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  color: var(--muted); border: 1.5px solid transparent;
}
.search-link svg { width: 18px; height: 18px; }
.search-link:hover, .search-link:focus-visible { color: var(--accent); border-color: var(--line); }

@media (max-width: 720px) {
  .site-header { position: relative; flex-direction: column; align-items: stretch; gap: .4rem; padding-bottom: 0; }
  .brand { align-self: center; }
  .search-link { position: absolute; top: .65rem; right: .8rem; }
  .site-header nav {
    min-width: 0; max-width: 100%;
    flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
    scrollbar-width: none; padding: 0 0 .55rem;
    -webkit-mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent);
    mask-image: linear-gradient(to right, #000 0, #000 calc(100% - 36px), transparent);
  }
  .site-header nav::-webkit-scrollbar { display: none; }
  .site-header nav a { white-space: nowrap; }
}

.searchpage input {
  width: 100%; max-width: 560px; box-sizing: border-box;
  background: var(--panel); color: var(--text);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .75rem 1.2rem; font-size: 1.05rem; margin: 0 0 1.4rem;
}
.searchpage input:focus { outline: 2px solid var(--accent); }
.sr-row {
  display: block; padding: .85rem .2rem; border-bottom: 1px solid var(--line);
  color: var(--text); text-decoration: none;
}
.sr-row:hover { text-decoration: none; }
.sr-row:hover b { color: var(--accent); }
.sr-head { display: flex; gap: .6rem; align-items: center; margin-bottom: .25rem; }
.sr-date { font-family: var(--mono); font-size: .7rem; color: var(--muted); }
.sr-row b { display: block; font-family: var(--display); font-weight: 600; font-size: 1.25rem; line-height: 1.15; }
.sr-row i { display: block; font-style: normal; color: var(--muted); font-size: .9rem; margin-top: .2rem; }

.deck-now { display: flex; gap: .85rem; align-items: center; margin: .3rem 0 1rem; }
.deck-art { width: 128px; flex: none; border-radius: 10px; overflow: hidden; box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.deck-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.deck-now-wrap { min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.deck-now-title { font-weight: 700; font-size: 1.32rem; line-height: 1.22; }
.deck-now-meta { font-family: var(--mono); font-size: .76rem; color: var(--muted); }
.pod-player .ap { margin-bottom: .35rem; }
.deck-list {
  list-style: none; margin: 1rem 0 0; padding: 0;
  max-height: 15rem; overflow-y: auto; border-top: 1px solid var(--line);
  scrollbar-width: thin; scrollbar-color: var(--panel-2) transparent;
}
.deck-list li { display: flex; align-items: center; gap: .5rem; border-bottom: 1px solid var(--line); }
.deck-row {
  all: unset; cursor: pointer; flex: 1; min-width: 0; box-sizing: border-box;
  display: flex; gap: .7rem; align-items: center;
  padding: .45rem .35rem; border-radius: 6px; transition: background .12s ease;
}
.dk-art { width: 42px; flex: none; border-radius: 6px; overflow: hidden; }
.dk-art img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.dk-art-empty { height: 42px; background: var(--panel-2); display: block; }
.dk-wrap { min-width: 0; display: flex; flex-direction: column; gap: .1rem; }
.deck-row:hover { background: var(--panel-2); }
.deck-row:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.deck-row.active .dk-t { color: var(--accent); }
.dk-t { font-weight: 600; font-size: .95rem; line-height: 1.3; }
.dk-m { font-family: var(--mono); font-size: .67rem; color: var(--muted); }
.deck-open {
  flex: none; font-family: var(--mono); font-size: .68rem;
  color: var(--muted); padding: .35rem .45rem;
}
.deck-open:hover { color: var(--accent); text-decoration: none; }

@media (max-width: 640px) {
  .deck-art { width: 96px; }
  .deck-now-title { font-size: 1.15rem; }
}

/* ---------- welcome page (post-confirmation) ---------- */
.welcome .wl-lab {
  font-size: 1.2rem; text-transform: uppercase; letter-spacing: .05em;
  margin: 2.2rem 0 .6rem; display: flex; align-items: center; gap: .55rem;
}
.welcome .wl-lab::before { content: ""; width: .45rem; height: 1em; background: var(--accent); border-radius: 2px; }
.welcome .ts-open { margin-top: 2rem; display: inline-block; }

/* ---------- TikTok on a post page ----------
   .player-open is 16/9 with overflow hidden, which is right for YouTube and wrong
   for TikTok. TikTok's embed is a vertical card that carries its own caption and
   music chrome below the video, so it needs a narrow column and an explicit
   height. Given a 16/9 box it renders white bars either side and scrolls inside
   itself. Height below is video (9/16 of the width) plus roughly 170px of chrome. */
.post-player.player-open:has(iframe.tiktok){
  aspect-ratio: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}
.post-player iframe.tiktok{
  width: 100%;
  max-width: 340px;
  height: 780px;
  aspect-ratio: auto;
  max-height: none;
  margin: 0 auto;
  display: block;
  border-radius: 12px;
}
@media (max-width: 430px){
  .post-player iframe.tiktok{ max-width: 100%; height: 740px; }
}
