/* shows.css — /shows hub + archive + episode article (extracted from inline <style>).
   Shell provides body/nav/font base; this file scopes to .spg. */
.spg{width:100%;padding:22px 40px 40px;--gold:#e7c873;--panel:#15151c;--line:#262630;--muted:rgba(255,255,255,.6)}
.spg .backlink{display:inline-flex;align-items:center;gap:6px;margin:0 0 14px;padding:6px 14px;border-radius:24px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);font-size:.84rem;opacity:.85;transition:opacity .15s,background .15s}
.spg .backlink:hover{opacity:1;background:rgba(255,255,255,.1)}
.spg h1.pgtitle{font-size:clamp(1.5rem,4.5vw,2.1rem);font-weight:800;margin-bottom:4px}
.spg .pgsub{color:var(--muted);font-size:.92rem;margin-bottom:24px}

/* INDEX: show grid */
.spg .shgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:18px;margin-top:18px}
.spg .shcard{display:block;background:var(--panel);border:1px solid var(--line);border-radius:16px;overflow:hidden;box-shadow:0 10px 24px -10px rgba(0,0,0,.55);transition:transform .2s,border-color .2s}
.spg .shcard:hover{transform:translateY(-3px);border-color:rgba(231,200,115,.4)}
.spg .shcard .scov{display:block;width:100%;aspect-ratio:1.6;background:#1b1b24 center/cover no-repeat;position:relative}
.spg .shcard .scov::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,0) 45%,rgba(0,0,0,.7) 100%)}
.spg .shcard .schip{position:absolute;top:10px;inset-inline-start:10px;background:rgba(231,200,115,.85);color:#1a1a1a;font-size:.66rem;font-weight:800;padding:3px 8px;border-radius:12px;z-index:2}
.spg .shcard .stxt{padding:12px 14px 14px}
.spg .shcard .stt{font-size:1rem;font-weight:800;line-height:1.25}
.spg .shcard .sh{color:var(--muted);font-size:.78rem;margin-top:3px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.spg .shcard .sd{color:var(--gold);font-size:.7rem;margin-top:8px;font-variant-numeric:tabular-nums}

/* ARCHIVE hero */
.spg .shhero{display:flex;gap:28px;align-items:center;margin:6px 0 32px;flex-wrap:wrap;max-width:1100px}
.spg .shhero .hpic{width:220px;height:220px;border-radius:50%;background:#1b1b24 center/cover no-repeat;flex-shrink:0;box-shadow:0 22px 50px -16px rgba(0,0,0,.7);border:1px solid rgba(255,255,255,.06)}
.spg .shhero .hpic.sq{border-radius:22px}
.spg .shhero .hbody{flex:1;min-width:240px}
.spg .shhero .hk{display:inline-flex;align-items:center;gap:7px;color:var(--gold);font-size:.78rem;font-weight:800;letter-spacing:.05em;margin-bottom:10px;padding:4px 11px;border:1px solid rgba(231,200,115,.32);border-radius:18px;background:rgba(231,200,115,.06)}
.spg .shhero h1{font-size:clamp(2rem,5.5vw,2.8rem);font-weight:900;line-height:1.1;margin-bottom:6px}
.spg .shhero .hshow{color:#cdd0db;font-size:1.05rem;margin-bottom:14px;font-weight:600;letter-spacing:.01em}
.spg .shhero .hd{color:var(--muted);font-size:.9rem;line-height:1.8;max-width:700px}
.spg .shhero .hd p,.spg .shhero .hd h2,.spg .shhero .hd h3,.spg .shhero .hd ul,.spg .shhero .hd ol{margin:.5em 0}
.spg .shhero .hd a{color:var(--gold);text-decoration:underline}

.spg .eplist{display:flex;flex-direction:column;gap:6px;max-width:1000px}
.spg .eprow{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:13px;background:rgba(255,255,255,.025);border:1px solid var(--line);color:inherit;transition:background .15s,border-color .15s}
.spg .eprow:hover{background:rgba(231,200,115,.06);border-color:rgba(231,200,115,.3)}
.spg .eprow .ecov{width:60px;height:60px;border-radius:9px;background:#1b1b24 center/cover no-repeat;flex-shrink:0}
.spg .eprow .em{flex:1;min-width:0}
.spg .eprow .et{font-size:1rem;font-weight:700;line-height:1.25}
.spg .eprow .es{color:var(--muted);font-size:.75rem;margin-top:3px;font-variant-numeric:tabular-nums}
.spg .eprow .ep{flex-shrink:0;color:var(--gold);font-size:1.4rem;line-height:1}

/* EPISODE — blog-article layout */
.spg .ep-article{max-width:760px;margin:0 auto}
.spg .ep-back{margin-bottom:18px}
.spg .ep-back a{display:inline-flex;align-items:center;gap:6px;color:var(--muted);font-size:.84rem;padding:5px 12px;border-radius:20px;border:1px solid var(--line);transition:color .15s,border-color .15s}
.spg .ep-back a:hover{color:var(--gold);border-color:rgba(231,200,115,.4)}
.spg .ep-byline{display:inline-flex;align-items:center;gap:9px;padding:5px 12px 5px 5px;background:rgba(255,255,255,.03);border:1px solid var(--line);border-radius:28px;margin-bottom:18px;color:inherit;transition:border-color .15s}
.spg .ep-byline:hover{border-color:rgba(231,200,115,.4)}
.spg .ep-byline .bp{width:28px;height:28px;border-radius:50%;background:#1b1b24 center/cover no-repeat;flex-shrink:0;border:1px solid rgba(255,255,255,.07)}
.spg .ep-byline .bt{font-size:.78rem;color:#cdd0db}
.spg .ep-byline .bt b{color:#fff;font-weight:700}
.spg .ep-cover{display:block;width:100%;max-width:520px;margin:0 auto 24px;aspect-ratio:1;border-radius:18px;background:#1b1b24 center/cover no-repeat;box-shadow:0 22px 50px -16px rgba(0,0,0,.7)}
.spg .ep-titleblock{margin-bottom:18px;text-align:center}
.spg .ep-titleblock .ep-kicker{display:inline-block;color:var(--gold);font-size:.78rem;font-weight:800;letter-spacing:.04em;margin-bottom:8px;padding:3px 10px;border:1px solid rgba(231,200,115,.3);border-radius:12px;background:rgba(231,200,115,.05)}
.spg .ep-titleblock h1{font-size:clamp(1.7rem,5vw,2.4rem);font-weight:900;line-height:1.25;color:#fff;margin:0}
.spg .ep-meta{display:flex;flex-wrap:wrap;gap:0;margin:0 auto 28px;border:1px solid var(--line);border-radius:13px;background:rgba(255,255,255,.025);overflow:hidden;max-width:fit-content;justify-content:center}
.spg .ep-meta .m-pair{display:flex;flex-direction:column;gap:3px;padding:11px 18px;border-inline-start:1px solid var(--line);min-width:0}
.spg .ep-meta .m-pair:first-child{border-inline-start:none}
.spg .ep-meta .m-pair dt{font-size:.66rem;color:var(--muted);font-weight:700;letter-spacing:.04em;text-transform:uppercase}
.spg .ep-meta .m-pair dd{font-size:.94rem;font-weight:700;color:#fff;font-variant-numeric:tabular-nums;margin:0}
@media(max-width:540px){.spg .ep-meta{max-width:100%}.spg .ep-meta .m-pair{flex:1 1 33%}.spg .ep-meta .m-pair:not(:first-child){border-inline-start:1px solid var(--line)}}
.spg .ep-player{background:linear-gradient(180deg,#15151c,#0e0e14);border:1px solid var(--line);border-radius:14px;padding:14px 16px;margin-bottom:30px;box-shadow:0 8px 24px -10px rgba(0,0,0,.5)}
.spg .ep-player audio{width:100%;display:block;height:44px}
.spg .ep-chapters{margin-bottom:30px}
.spg .ep-chapters h2{font-size:1.04rem;font-weight:800;color:var(--gold);margin-bottom:12px;display:flex;align-items:center;gap:8px}
.spg .chap-list{list-style:none;display:flex;flex-direction:column;gap:5px;padding:0;margin:0;counter-reset:ch}
.spg .chap-list li{counter-increment:ch}
.spg .chap{display:flex;align-items:center;gap:14px;width:100%;padding:11px 14px;border-radius:10px;background:rgba(255,255,255,.025);border:1px solid var(--line);color:#fff;cursor:pointer;transition:background .15s,border-color .15s;font:inherit;text-align:start}
.spg .chap:hover{background:rgba(231,200,115,.06);border-color:rgba(231,200,115,.3)}
.spg .chap.on{background:rgba(231,200,115,.12);border-color:rgba(231,200,115,.5);color:var(--gold)}
.spg .chap .chidx{font-family:var(--mono,monospace);font-size:.72rem;color:var(--muted);min-width:24px;text-align:center;font-variant-numeric:tabular-nums}
.spg .chap.on .chidx{color:var(--gold)}
.spg .chap .chidx::before{content:counter(ch,decimal)}
.spg .chap .ct{font-family:var(--mono,monospace);font-size:.78rem;color:var(--muted);font-variant-numeric:tabular-nums;flex-shrink:0;min-width:60px}
.spg .chap.on .ct{color:var(--gold)}
.spg .chap .cl{font-size:.94rem;font-weight:600;line-height:1.35;flex:1}
.spg .ep-notes-section{margin-bottom:30px;padding-top:24px;border-top:1px solid var(--line)}
.spg .ep-notes-section h2{font-size:1.04rem;font-weight:800;color:var(--gold);margin-bottom:16px;display:flex;align-items:center;gap:8px}
.spg .ep-notes{line-height:1.95;color:#dadce5;font-size:1rem}
.spg .ep-notes h2,.spg .ep-notes h3,.spg .ep-notes h4{color:#fff;margin:1.4em 0 .5em;font-weight:800}
.spg .ep-notes h2{font-size:1.2rem}.spg .ep-notes h3{font-size:1.08rem}.spg .ep-notes h4{font-size:.98rem}
.spg .ep-notes p{margin:.85em 0}
.spg .ep-notes a{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.spg .ep-notes a:hover{filter:brightness(1.2)}
.spg .ep-notes img{max-width:100%;height:auto;border-radius:11px;margin:1.2em 0;box-shadow:0 10px 24px -10px rgba(0,0,0,.5)}
.spg .ep-notes ul,.spg .ep-notes ol{margin:.9em 0;padding-inline-start:1.7em}
.spg .ep-notes li{margin:.4em 0}
.spg .ep-notes blockquote{margin:1.2em 0;padding:.8em 1.2em;border-inline-start:3px solid var(--gold);background:rgba(231,200,115,.05);color:#fff;border-radius:0 11px 11px 0;font-style:italic}
.spg .ep-notes hr{border:none;border-top:1px solid var(--line);margin:1.6em 0}
.spg .ep-notes strong{color:#fff;font-weight:800}

.spg .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}
.spg .empty{padding:50px 0;text-align:center;color:rgba(255,255,255,.45);font-size:.92rem}

@media (max-width:640px){.spg{padding:14px 16px 28px}.spg .shhero .hpic{width:160px;height:160px}}

/* Custom episode play button — replaces the native <audio controls> (which was ugly
   AND tied to a separate #epAudio element that broke shell audio unification). */
.spg .ep-playbtn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 26px; border: none; border-radius: 999px; background: var(--gold, #e7c873); color: #1a1a1a; font: inherit; font-weight: 800; font-size: 1rem; cursor: pointer; box-shadow: 0 14px 30px -10px rgba(231,200,115,.55); transition: transform .12s, filter .15s; }
.spg .ep-playbtn:hover { filter: brightness(1.06); }
.spg .ep-playbtn:active { transform: scale(.97); }
.spg .ep-playbtn svg { width: 18px; height: 18px; }
