:root {
  --hub-ink:#23231b;
  --hub-base:#f3f1e9;
  --hub-paper:#fffef9;
  --hub-soft:#f0eee5;
  --hub-gold:#f1c948;
  --hub-butter:#f9eab7;
  --hub-muted:#5c5a4f;
  --hub-gap:clamp(.75rem,1.5vw,1.5rem);
  --hub-edge:clamp(.65rem,2.5vw,2.5rem);
  --hub-radius:clamp(1.5rem,2.75vw,2.75rem);
  --hub-face:'Archivo','DM Sans',system-ui,sans-serif;
}
body { background:var(--hub-base); color:var(--hub-ink) }
.edition-width,.edition-masthead { width:min(82rem,calc(100% - 2 * var(--hub-edge))); margin-inline:auto }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; clip-path:inset(50%); overflow:hidden; white-space:nowrap }
.edition-masthead { background:var(--hub-gold); border-radius:var(--hub-radius); margin-top:var(--hub-edge); }
.masthead-line { width:100%; display:flex; justify-content:space-between; align-items:center; gap:1rem; padding:clamp(1.05rem,2.1vw,2rem) clamp(1.2rem,3vw,3rem) }
.show-name { display:flex; align-items:flex-end; gap:.8rem; color:var(--hub-ink) }
.show-name span { font:800 clamp(2.35rem,5.5vw,5rem)/.86 var(--hub-face); letter-spacing:-.06em }
.show-name small { line-height:1.15; padding-bottom:.1em; font-weight:600; font-size:clamp(.8rem,1.15vw,1.02rem) }
.mast-actions,.mast-actions nav { display:flex; align-items:center; gap:.45rem }
.mast-actions { gap:.85rem }
.mast-actions nav a,.home-switch button,.type-choices button,.soft-action,.round-link,.screen-play,.discovery-search button,.programme-choice select,.cue-sheet summary,.panel-tail .text-link,.host-note .text-link { border-radius:999px }
.mast-actions nav a { min-height:2.75rem; padding:.6rem 1.05rem; display:inline-flex; align-items:center; background:var(--hub-butter); font-size:.9rem; font-weight:700 }
.mast-actions nav a:hover,.mast-actions nav a[aria-current] { color:var(--white); background:var(--hub-ink) }
.mast-host img { border-radius:50%; width:3.1rem; height:3.1rem; object-fit:cover; object-position:50% 32% }
.home-space { margin-block:var(--hub-gap) }
.home-columns { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:var(--hub-gap); align-items:stretch }
.home-columns:has([data-expanded],details[open]) { align-items:start }
.home-panel { display:flex; flex-direction:column; background:var(--hub-paper); border-radius:var(--hub-radius); padding:clamp(1.15rem,2.3vw,2.3rem); min-width:0; }
.panel-head { display:flex; align-items:center; justify-content:space-between; gap:.55rem; margin-bottom:1.1rem }
.panel-head h2,.host-note h2 { font:720 clamp(2.05rem,3.35vw,3.45rem)/1.04 var(--hub-face); letter-spacing:-.045em }
.panel-head p { color:var(--hub-muted); font-size:clamp(.88rem,1.05vw,1rem); margin-top:.3rem }
.round-link { display:grid; place-items:center; min-width:2.85rem; height:2.85rem; background:var(--hub-soft); font-size:1.1rem }
.round-link:hover { background:var(--hub-gold) }
.book-scene,.screen-stage { position:relative; width:100%; aspect-ratio:2.12; min-height:200px; border-radius:clamp(1.2rem,1.9vw,1.9rem); overflow:hidden; background:var(--hub-ink); isolation:isolate; }
.book-scene > img,.screen-poster img { object-fit:cover; width:100%; height:100%; display:block; }
.book-scene > img { position:absolute; inset:0; object-position:50% 38%; }
.screen-poster img { object-position:56% 36% }
.screen-poster,.screen-stage iframe { display:block; position:absolute; inset:0; width:100%; height:100%; border:0; }
.screen-poster:focus-visible { outline:3px solid var(--hub-gold); outline-offset:-5px; }
.discovery-search { position:absolute; left:.9rem; right:.9rem; bottom:.9rem; display:flex; align-items:center; background:var(--hub-paper); border-radius:999px; padding:.3rem; }
.discovery-search:focus-within { outline:3px solid var(--hub-gold); }
.discovery-search input { flex:1; min-width:0; color:var(--hub-ink); border:0; outline:0; background:transparent; font-size:1rem; border-radius:999px; padding:.55rem .75rem; }
.discovery-search input::placeholder { color:var(--hub-muted) }
.discovery-search button { flex:none; width:2.65rem; height:2.65rem; border:0; color:var(--hub-ink); background:var(--hub-gold); display:grid; place-items:center; font-size:1.15rem }
.screen-play { position:absolute; left:.9rem; bottom:.9rem; display:inline-flex; align-items:center; gap:.45rem; padding:.67rem 1.15rem; min-height:2.75rem; color:var(--hub-ink); background:var(--hub-gold); font:700 .92rem/1.15 var(--body); }
.screen-poster:hover .screen-play { background:var(--hub-paper) }
.type-choices { display:flex; flex-wrap:wrap; gap:.32rem; margin-top:.92rem; }
.type-choices button { border:0; color:var(--hub-ink); background:var(--hub-soft); padding:.52rem .78rem; min-height:2.6rem; font-weight:650; font-size:.84rem; }
.type-choices button:hover { background:var(--hub-butter) }
.type-choices button[aria-pressed=true] { color:var(--hub-paper); background:var(--hub-ink) }
.discover-state,.screen-caption { display:flex; align-items:center; justify-content:space-between; gap:.6rem; color:var(--hub-muted); font-size:.8rem; min-height:2.55rem; }
.discover-state button { background:transparent; border:0; padding:.35rem; text-decoration:underline; color:var(--hub-ink); }
.discovery-results,.cue-sheet ol,.programme-list { list-style:none; margin:0; padding:0; }
.discovery-results { display:grid; gap:.45rem }
.discovery-results a,.cue-sheet li a { display:flex; justify-content:space-between; align-items:center; gap:.8rem; padding:.65rem 1rem; border-radius:1.15rem; color:var(--hub-ink); background:var(--hub-soft); transition:background-color .16s ease; }
.discovery-results a:hover,.cue-sheet li a:hover,.programme-list a:hover { background:var(--hub-butter) }
.discovery-results small,.result-author,.discovery-results strong { display:block }
.discovery-results small { color:var(--hub-muted); font-size:.74rem }
.discovery-results strong { font:650 clamp(1.07rem,1.54vw,1.35rem)/1.16 var(--display); margin-block:.12rem; letter-spacing:-.015em }
.result-author { color:var(--hub-muted); font-size:.8rem }
.discover-empty { padding:1.5rem 1rem; border-radius:1.25rem; background:var(--hub-soft) }
.panel-tail { display:flex; align-items:center; justify-content:space-between; gap:.6rem; flex-wrap:wrap; margin-top:auto; padding-top:.95rem }
.soft-action,.panel-tail .text-link,.host-note .text-link { min-height:2.65rem; padding:.5rem .95rem; font:700 .86rem/1.2 var(--body); border:0; }
.soft-action { background:var(--hub-butter); color:var(--hub-ink) }
.soft-action:hover { background:var(--hub-gold) }
.panel-tail .text-link,.host-note .text-link { background:var(--hub-soft); }
.panel-tail .text-link:hover,.host-note .text-link:hover { background:var(--hub-butter); }
.programme-choice { position:relative; align-self:flex-start; margin-top:.95rem; border-radius:999px; }
.programme-choice label { display:flex; align-items:center; justify-content:space-between; gap:.75rem; padding:.58rem .95rem; min-height:2.75rem; background:var(--hub-soft); border-radius:inherit; font:700 .88rem/1.2 var(--body) }
.programme-choice label .icon { transform:rotate(90deg) }
.programme-choice select { position:absolute; inset:0; width:100%; height:100%; cursor:pointer; opacity:0; font-size:1rem; }
.programme-choice:hover label { background:var(--hub-butter) }
.programme-choice:focus-within { outline:2px solid var(--gold-ink); outline-offset:3px }
.screen-poster img.official-thumbnail { object-fit:contain; object-position:center; }
.related-sheet ul { list-style:none; padding:0; margin:.4rem 0 0 }
.related-sheet li + li { margin-top:.4rem }
.related-sheet li a { display:block; background:var(--hub-soft); padding:.8rem 1rem; border-radius:1.15rem; }
.related-sheet strong,.related-sheet small,.related-sheet li span { display:block; }
.related-sheet small { color:var(--hub-muted); margin-block:.2rem }
.episode-selected { font:650 clamp(1.5rem,2.5vw,2.55rem)/1.07 var(--display); letter-spacing:-.028em; margin-top:1.02rem; text-wrap:pretty }
.screen-caption b { color:var(--hub-ink); font-variant-numeric:tabular-nums; }
.screen-caption a { padding:.4rem 0; color:var(--hub-ink); text-decoration:underline; text-underline-offset:.2em; }
.cue-sheet { margin-block:.3rem }
.cue-sheet summary { list-style:none; cursor:pointer; background:var(--hub-butter); padding:.67rem .9rem; display:flex; align-items:center; justify-content:space-between; min-height:2.8rem; font-weight:700; }
.cue-sheet summary::-webkit-details-marker { display:none }
.cue-sheet summary span { margin-left:auto; margin-right:.75rem; font-variant-numeric:tabular-nums; font-size:.85rem }
.cue-sheet summary::after { content:'+'; font-size:1.15rem; line-height:1 }
.cue-sheet[open] summary::after { content:'−' }
.cue-sheet ol { display:grid; gap:.35rem; padding-top:.4rem }
.cue-sheet li a { display:grid; grid-template-columns:3.9rem minmax(0,1fr) .75rem; gap:.55rem; min-height:2.85rem; font-size:.9rem; }
.cue-time,.run-time { font-variant-numeric:tabular-nums; white-space:nowrap }
.cue-time { font-weight:700; font-size:.78rem }
.host-note { margin-block:var(--hub-gap); background:#e9e5d7; border-radius:var(--hub-radius); padding:clamp(1.1rem,2.5vw,2.4rem); display:flex; gap:clamp(1.2rem,3vw,3.2rem); align-items:center }
.host-note img { width:clamp(6rem,12vw,10rem); height:clamp(6rem,12vw,10rem); object-fit:cover; border-radius:50%; }
.host-note h2 { font-size:clamp(1.65rem,2.3vw,2.65rem) }
.host-note p { max-width:52ch; margin:.5rem 0 }
.home-switch { background:var(--hub-paper); padding:.3rem; border-radius:999px; margin-bottom:.65rem; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:.25rem; }
.home-switch button { display:flex; align-items:center; justify-content:center; gap:.5rem; color:var(--hub-ink); border:0; background:transparent; min-height:2.8rem; font-weight:700; }
.home-switch button[aria-selected=true] { background:var(--hub-gold) }
.footer,.page-banner,.library-results,.archive-excerpt,.video-dialog { border-radius:var(--hub-radius); }
.footer,.page-banner,.library-results,.archive-excerpt { width:min(82rem,calc(100% - 2 * var(--hub-edge))); margin:var(--hub-gap) auto; border:0 }
.page-banner,.library-results,.archive-excerpt { background:var(--hub-paper); padding:clamp(1.25rem,3vw,3rem) }
.page-banner .frame,.library-results .frame { width:100% }
.page-banner .action,.filter-button,.filters input,.filters select,.resource-source,.close { border-radius:999px; }
.filters select,.filters input,.filter-button,.resource-source { border:0; background:var(--hub-soft) }
.filter-tabs,.results-meta { border:0 }
.resource,.programme-list a { border:0; background:var(--hub-soft); border-radius:1.4rem; padding:1rem 1.2rem; margin-bottom:.5rem; }
.resource-source { background:var(--hub-paper); }
.programme-list a { display:grid; grid-template-columns:7.5rem minmax(0,1fr) 7rem 5.2rem; align-items:center; gap:1rem; min-height:4.25rem; }
.programme-list strong { font:600 clamp(1.06rem,1.75vw,1.5rem)/1.22 var(--display) }
.programme-list time,.archive-topic,.run-time { font-size:.82rem }
.video-dialog { overflow:auto; border:0; }
.player-slot iframe { border-radius:1.1rem; }
.footer { padding-inline:1rem; }
@media(max-width:50rem) {
  .home-columns { grid-template-columns:minmax(0,1fr) }
  .programme .mast-actions nav { display:none }
  .masthead-line { padding:.95rem 1.25rem }
  .show-name { gap:.55rem }
  .show-name span { font-size:clamp(2.05rem,7vw,3.25rem) }
  .show-name small { font-size:.78rem; }
  .mast-host img { width:2.75rem; height:2.75rem }
  .home-panel { padding:clamp(1rem,4.4vw,1.55rem); }
  .panel-head h2 { font-size:clamp(2.1rem,6.5vw,2.7rem) }
  .panel-head { margin-bottom:.85rem; }
  .host-note { flex-wrap:wrap; }
  .host-note img { width:5.5rem; height:5.5rem; }
  .host-note>div { flex:1 1 15rem }
  .programme-list a { grid-template-columns:minmax(0,1fr) auto; gap:.2rem .6rem; }
  .programme-list time { grid-column:1; }
  .programme-list strong { grid-column:1; grid-row:2; }
  .programme-list .archive-topic { display:none }
  .programme-list .run-time { grid-column:2; grid-row:2 }
}
@media(max-width:35rem) {
  .type-choices { gap:.27rem }
  .type-choices button { font-size:.8rem; padding:.5rem .68rem; min-height:2.75rem }
  .book-scene,.screen-stage { min-height:200px; aspect-ratio:1.83 }
  .panel-tail .text-link,.panel-tail .soft-action { padding-inline:.72rem; font-size:.8rem }
  body:not(.programme) .masthead-line { flex-wrap:wrap; gap:.7rem }
  body:not(.programme) .mast-actions { flex:1 1 auto; justify-content:space-between; }
}
