:root {
  --bg: #f6f4ef;
  --bg-glow-1: rgba(15, 107, 99, 0.065);
  --bg-glow-2: rgba(217, 130, 43, 0.055);
  --surface-shell: rgba(28, 25, 23, 0.035);
  --surface-shell-border: rgba(28, 25, 23, 0.075);
  --card: #fffdfa;
  --card-hover: #ffffff;
  --card-border: rgba(28, 25, 23, 0.085);
  --card-inner-hi: rgba(255, 255, 255, 0.85);
  --surface-muted: #f1ede4;
  --ink: #181614;
  --ink-secondary: #3f3b36;
  --muted: #766f67;
  --accent: #0f6b63;
  --accent-hover: #0b544e;
  --accent-soft: rgba(15, 107, 99, 0.1);
  --accent-border: rgba(15, 107, 99, 0.26);
  --signal: #d9532f;
  --signal-soft: rgba(217, 83, 47, 0.12);
  --amber: #b4690e;
  --amber-soft: rgba(180, 105, 14, 0.12);
  --line: #e4dfd5;
  --shadow-ambient: 0 2px 10px -2px rgba(28, 25, 23, 0.04), 0 1px 2px rgba(28, 25, 23, 0.03);
  --shadow-lift: 0 12px 28px -8px rgba(15, 55, 50, 0.08), 0 2px 6px rgba(28, 25, 23, 0.04);
  --r-shell: 1.15rem;
  --r-core: calc(1.15rem - 0.25rem);
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --font: "Pretendard Variable", "Pretendard", -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #121110;
    --bg-glow-1: rgba(56, 178, 166, 0.07);
    --bg-glow-2: rgba(217, 130, 43, 0.04);
    --surface-shell: rgba(255, 255, 255, 0.03);
    --surface-shell-border: rgba(255, 255, 255, 0.075);
    --card: #1b1917;
    --card-hover: #211f1c;
    --card-border: rgba(255, 255, 255, 0.085);
    --card-inner-hi: rgba(255, 255, 255, 0.04);
    --surface-muted: #25221f;
    --ink: #f3f0ea;
    --ink-secondary: #cbc5bb;
    --muted: #8f887d;
    --accent: #38b2a6;
    --accent-hover: #4ec7bb;
    --accent-soft: rgba(56, 178, 166, 0.14);
    --accent-border: rgba(56, 178, 166, 0.32);
    --signal: #ef6b48;
    --signal-soft: rgba(239, 107, 72, 0.16);
    --amber: #e59934;
    --amber-soft: rgba(229, 153, 52, 0.15);
    --line: rgba(255, 255, 255, 0.09);
    --shadow-ambient: 0 4px 16px -2px rgba(0, 0, 0, 0.35);
    --shadow-lift: 0 14px 32px -8px rgba(0, 0, 0, 0.5);
  }
}

:root[data-theme="dark"] {
  --bg: #121110;
  --bg-glow-1: rgba(56, 178, 166, 0.07);
  --bg-glow-2: rgba(217, 130, 43, 0.04);
  --surface-shell: rgba(255, 255, 255, 0.03);
  --surface-shell-border: rgba(255, 255, 255, 0.075);
  --card: #1b1917;
  --card-hover: #211f1c;
  --card-border: rgba(255, 255, 255, 0.085);
  --card-inner-hi: rgba(255, 255, 255, 0.04);
  --surface-muted: #25221f;
  --ink: #f3f0ea;
  --ink-secondary: #cbc5bb;
  --muted: #8f887d;
  --accent: #38b2a6;
  --accent-hover: #4ec7bb;
  --accent-soft: rgba(56, 178, 166, 0.14);
  --accent-border: rgba(56, 178, 166, 0.32);
  --signal: #ef6b48;
  --signal-soft: rgba(239, 107, 72, 0.16);
  --amber: #e59934;
  --amber-soft: rgba(229, 153, 52, 0.15);
  --line: rgba(255, 255, 255, 0.09);
  --shadow-ambient: 0 4px 16px -2px rgba(0, 0, 0, 0.35);
  --shadow-lift: 0 14px 32px -8px rgba(0, 0, 0, 0.5);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background:
    radial-gradient(1100px 420px at 8% -8%, var(--bg-glow-1) 0%, transparent 62%),
    radial-gradient(850px 380px at 96% 0%, var(--bg-glow-2) 0%, transparent 58%),
    var(--bg);
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: break-word;
  -webkit-font-smoothing: antialiased;
}

/* Fixed non-scrolling paper grain overlay */
.ambient-grain {
  position: fixed;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  opacity: 0.025;
  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.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.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;
  top: -3rem;
  left: 1rem;
  z-index: 40;
  padding: 0.55rem 1rem;
  background: var(--ink);
  color: var(--bg);
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  transition: top 0.2s var(--ease-out-expo);
}

.skip-link:focus {
  top: 1rem;
}

.tabular,
time,
.badge-duration,
.count-pill,
.deck-time {
  font-variant-numeric: tabular-nums;
}

/* Layout Containers */
.site-header,
main,
.site-footer {
  width: min(780px, calc(100% - 2rem));
  margin-inline: auto;
}

main {
  flex: 1;
  padding-bottom: 3.5rem;
}

/* Header */
.site-header {
  padding: 2.25rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
  margin-bottom: 2rem;
}

.header-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}

.brand-row {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.signal-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 9999px;
  background: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
  flex-shrink: 0;
}

.brand {
  font-size: 1.55rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  transition: color 0.2s var(--ease-out-expo);
}

.brand:hover {
  color: var(--accent);
}

.tagline {
  margin: 0.2rem 0 0;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 450;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-top: 0.15rem;
}

.archive-pill {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 0.28rem 0.55rem;
  border-radius: 9999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--muted);
}

.theme-toggle {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.6rem;
  border: 1px solid var(--line);
  background: var(--card);
  color: var(--ink-secondary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s var(--ease-out-expo), border-color 0.2s var(--ease-out-expo), background-color 0.2s var(--ease-out-expo);
}

.theme-toggle:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.theme-toggle:active {
  transform: scale(0.95);
}

.icon-moon {
  display: none;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun {
    display: none;
  }
  :root:not([data-theme="light"]) .icon-moon {
    display: block;
  }
}

:root[data-theme="dark"] .icon-sun {
  display: none;
}

:root[data-theme="dark"] .icon-moon {
  display: block;
}

/* Double-Bezel Surface Architecture */
.bezel-shell {
  padding: 0.25rem;
  border-radius: var(--r-shell);
  background: var(--surface-shell);
  border: 1px solid var(--surface-shell-border);
}

.bezel-core {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--r-core);
  box-shadow: inset 0 1px 0 var(--card-inner-hi), var(--shadow-ambient);
}

/* List Hero & Search */
.list-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.eyebrow,
.section-eyebrow {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.25rem;
}

.title-with-count {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.list-hero h1,
.detail h1 {
  margin: 0;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.025em;
  line-height: 1.3;
  text-wrap: balance;
}

.count-pill {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.15rem 0.55rem;
  border-radius: 9999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.search {
  flex: 1 1 20rem;
  max-width: 25rem;
  min-width: 0;
}

.search-shell {
  padding: 0.2rem;
  border-radius: 0.85rem;
  background: var(--surface-shell);
  border: 1px solid var(--surface-shell-border);
}

.search-field {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.3rem 0.25rem 0.7rem;
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: 0.68rem;
  transition: border-color 0.2s var(--ease-out-expo), box-shadow 0.2s var(--ease-out-expo);
}

.search-field:focus-within {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.search-icon {
  color: var(--muted);
  flex-shrink: 0;
}

.search input {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-family: inherit;
  font-size: 0.92rem;
  padding: 0.35rem 0.2rem;
}

.search input::placeholder {
  color: var(--muted);
}

.search input:focus {
  outline: none;
}

.search-kbd {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1;
  padding: 0.22rem 0.42rem;
  border-radius: 0.32rem;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--muted);
  user-select: none;
}

.search-clear {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--muted);
  padding: 0.25rem 0.45rem;
  border-radius: 0.35rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.search-clear:hover {
  color: var(--ink);
  background: var(--surface-muted);
}

.search button {
  border: 0;
  border-radius: 0.5rem;
  padding: 0.46rem 0.85rem;
  background: var(--accent);
  color: #ffffff;
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-out-expo), transform 0.15s var(--ease-out-expo);
}

.search button:hover {
  background: var(--accent-hover);
}

.search button:active {
  transform: scale(0.97);
}

.search-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0.95rem;
  margin-bottom: 1rem;
  border-radius: 0.65rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  font-size: 0.88rem;
  color: var(--ink-secondary);
}

.search-status p {
  margin: 0;
}

.text-link {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

/* Broadcast List Cards */
.broadcast-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.85rem;
}

.broadcast-card {
  display: grid;
  gap: 0.55rem;
  padding: 1.15rem 1.3rem;
  transition: transform 0.28s var(--ease-out-expo), border-color 0.28s var(--ease-out-expo), background-color 0.28s var(--ease-out-expo), box-shadow 0.28s var(--ease-out-expo);
}

.broadcast-card:hover {
  background: var(--card-hover);
  border-color: var(--accent-border);
  transform: translateY(-2px);
  box-shadow: inset 0 1px 0 var(--card-inner-hi), var(--shadow-lift);
}

.broadcast-card:active {
  transform: scale(0.995);
}

.card-meta,
.detail-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 0.85rem;
}

.meta-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.82rem;
}

.meta-dot {
  width: 0.38rem;
  height: 0.38rem;
  border-radius: 9999px;
  background: var(--accent);
  opacity: 0.7;
}

.broadcast-list time,
.detail time {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.rel-time {
  font-size: 0.76rem;
  font-weight: 500;
  color: var(--accent);
}

.rel-time:not(:empty)::before {
  content: "· ";
  color: var(--muted);
}

.meta-badges {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 0.16rem 0.52rem;
  border-radius: 9999px;
  line-height: 1.3;
}

.badge-duration {
  font-family: var(--font-mono);
  background: var(--surface-muted);
  color: var(--ink-secondary);
  border: 1px solid var(--line);
}

.badge-audio {
  background: var(--accent-soft);
  color: var(--accent);
}

.card-title {
  font-size: 1.12rem;
  font-weight: 680;
  letter-spacing: -0.02em;
  line-height: 1.4;
  color: var(--ink);
  transition: color 0.2s var(--ease-out-expo);
}

.broadcast-card:hover .card-title {
  color: var(--accent);
}

.broadcast-list .summary {
  color: var(--ink-secondary);
  font-size: 0.93rem;
  line-height: 1.62;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-wrap: pretty;
}

.card-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.2rem;
  padding-top: 0.55rem;
  border-top: 1px dashed var(--line);
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  transition: color 0.2s var(--ease-out-expo);
}

.cta-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.35rem;
  height: 1.35rem;
  border-radius: 9999px;
  background: var(--surface-muted);
  color: var(--ink-secondary);
  font-size: 0.75rem;
  transition: transform 0.25s var(--ease-out-expo), background-color 0.25s var(--ease-out-expo), color 0.25s var(--ease-out-expo);
}

.broadcast-card:hover .card-cta {
  color: var(--accent);
}

.broadcast-card:hover .cta-icon-circle {
  transform: translateX(3px);
  background: var(--accent);
  color: #ffffff;
}

/* Empty State */
.empty-shell {
  margin-top: 0.5rem;
}

.empty-state {
  text-align: center;
  padding: 3.25rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.empty-illustration {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 1rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.35rem;
}

.empty {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 650;
  color: var(--ink);
}

.empty-desc {
  margin: 0;
  max-width: 28rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-wrap: pretty;
}

.btn-secondary {
  margin-top: 0.65rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.48rem 0.95rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink);
  transition: border-color 0.2s var(--ease-out-expo), transform 0.15s var(--ease-out-expo);
}

.btn-secondary:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.btn-secondary:active {
  transform: scale(0.98);
}

/* Detail Page */
.detail {
  display: grid;
  gap: 1.25rem;
}

.detail-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.back {
  margin: 0;
}

.back a,
.action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid var(--line);
  border-radius: 0.55rem;
  padding: 0.42rem 0.8rem;
  background: var(--card);
  color: var(--ink-secondary);
  font-family: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: var(--shadow-ambient);
  transition: border-color 0.2s var(--ease-out-expo), color 0.2s var(--ease-out-expo), transform 0.15s var(--ease-out-expo);
}

.back a:hover,
.action-btn:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.back a:active,
.action-btn:active {
  transform: scale(0.97);
}

.action-btn.is-copied {
  border-color: var(--accent);
  background: var(--accent-soft);
  color: var(--accent);
}

.detail-header {
  padding: 0.25rem 0 0.5rem;
  display: grid;
  gap: 0.65rem;
}

.status {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.76rem;
  font-weight: 600;
  padding: 0.18rem 0.6rem;
  border-radius: 9999px;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  color: var(--ink-secondary);
}

.status-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 9999px;
  background: var(--muted);
}

.status-published {
  background: var(--accent-soft);
  border-color: var(--accent-border);
  color: var(--accent);
}

.status-published .status-dot {
  background: var(--accent);
}

.status-received,
.status-transcribing,
.status-summarizing {
  background: var(--amber-soft);
  border-color: rgba(180, 105, 14, 0.3);
  color: var(--amber);
}

.status-received .status-dot,
.status-transcribing .status-dot,
.status-summarizing .status-dot {
  background: var(--amber);
}

.status-failed {
  background: var(--signal-soft);
  border-color: rgba(217, 83, 47, 0.3);
  color: var(--signal);
}

.status-failed .status-dot {
  background: var(--signal);
}

/* Processing / Error Notice Banner */
.status-banner {
  padding: 1rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.status-banner-processing {
  border-left: 3px solid var(--amber);
}

.status-banner-failed {
  border-left: 3px solid var(--signal);
}

.banner-text strong {
  display: block;
  font-size: 0.92rem;
  margin-bottom: 0.15rem;
}

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

/* Hardware-Inspired Audio Player Deck */
.deck-core {
  padding: 1rem 1.2rem;
  display: grid;
  gap: 0.85rem;
}

.deck-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.deck-label {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.deck-led {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 9999px;
  background: var(--muted);
  transition: background-color 0.2s ease, box-shadow 0.2s ease;
}

.player.is-playing .deck-led {
  background: var(--signal);
  box-shadow: 0 0 8px var(--signal);
}

.deck-download {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--muted);
  padding: 0.2rem 0.5rem;
  border-radius: 0.4rem;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.deck-download:hover {
  color: var(--accent);
  background: var(--surface-muted);
}

.deck-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.deck-controls[hidden] {
  display: none;
}

.player.js-deck-ready audio {
  display: none;
}

.player audio {
  width: 100%;
  height: 2.5rem;
}

.deck-play {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 9999px;
  border: 0;
  background: var(--accent);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s var(--ease-out-expo), transform 0.15s var(--ease-out-expo);
}

.deck-play:hover {
  background: var(--accent-hover);
}

.deck-play:active {
  transform: scale(0.95);
}

.deck-play .icon-pause {
  display: none;
}

.player.is-playing .deck-play .icon-play {
  display: none;
}

.player.is-playing .deck-play .icon-pause {
  display: block;
}

.deck-skip-group {
  display: inline-flex;
  gap: 0.3rem;
  flex-shrink: 0;
}

.deck-skip,
.deck-rate {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.55rem;
  border-radius: 0.45rem;
  border: 1px solid var(--line);
  background: var(--surface-muted);
  color: var(--ink-secondary);
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease, transform 0.15s ease;
}

.deck-skip:hover,
.deck-rate:hover {
  border-color: var(--accent-border);
  color: var(--accent);
}

.deck-skip:active,
.deck-rate:active {
  transform: scale(0.96);
}

.deck-timeline {
  flex: 1;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
  padding-top: 0.2rem;
}

.deck-seek {
  width: 100%;
  margin: 0;
  accent-color: var(--accent);
  cursor: pointer;
  height: 0.38rem;
}

.deck-time-row {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.73rem;
  color: var(--muted);
}

/* Summary & Transcript Cards */
.section-card {
  padding: 1.35rem 1.45rem;
}

.summary-card {
  border-left: 3px solid var(--accent);
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--line);
}

.section-head h2 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.ai-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.18rem 0.52rem;
  border-radius: 9999px;
  background: var(--accent-soft);
  color: var(--accent);
}

.summary-body {
  margin: 0;
  white-space: pre-wrap;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink);
  text-wrap: pretty;
}

.transcript {
  margin: 0;
  padding: 1.15rem 1.25rem;
  background: var(--surface-muted);
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  white-space: pre-wrap;
  font-family: inherit;
  font-size: 0.96rem;
  line-height: 1.82;
  color: var(--ink-secondary);
}

.transcript-footnote {
  margin: 0.65rem 0 0;
  font-size: 0.78rem;
  color: var(--muted);
}

/* Footer */
.site-footer {
  padding: 1.75rem 0 2.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.83rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1.5rem;
}

.site-footer p {
  margin: 0;
}

.footer-note {
  font-size: 0.78rem;
}

.site-footer a {
  color: var(--ink-secondary);
  text-decoration: underline;
  text-underline-offset: 0.2em;
  transition: color 0.15s ease;
}

.site-footer a:hover {
  color: var(--accent);
}

/* Motion & Reduced Motion Guardrails */
@media (prefers-reduced-motion: no-preference) {
  .broadcast-item,
  .section-shell,
  .player {
    animation: fadeSlideUp 0.45s var(--ease-out-expo) both;
  }

  .broadcast-item:nth-child(1) { animation-delay: 0.02s; }
  .broadcast-item:nth-child(2) { animation-delay: 0.06s; }
  .broadcast-item:nth-child(3) { animation-delay: 0.10s; }
  .broadcast-item:nth-child(4) { animation-delay: 0.14s; }
  .broadcast-item:nth-child(5) { animation-delay: 0.18s; }
  .broadcast-item:nth-child(n+6) { animation-delay: 0.22s; }
}

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

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Mobile Responsive Overrides */
@media (max-width: 640px) {
  .site-header,
  main,
  .site-footer {
    width: calc(100% - 1.5rem);
  }

  .site-header {
    padding: 1.5rem 0 1.15rem;
    margin-bottom: 1.35rem;
  }

  .archive-pill,
  .search-kbd {
    display: none;
  }

  .list-hero {
    flex-direction: column;
    align-items: stretch;
    gap: 0.9rem;
  }

  .search {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
  }

  .broadcast-card {
    padding: 1rem 1.05rem;
  }

  .deck-controls {
    flex-wrap: wrap;
  }

  .deck-timeline {
    order: -1;
    flex: 1 1 100%;
    margin-bottom: 0.25rem;
  }

  .deck-rate {
    margin-left: auto;
  }

  .section-card {
    padding: 1.1rem 1.15rem;
  }
}
