/* The persistent player bar: a thin glass pill above the dock, on every page. Also the live line + seek bar that a
   screen's sheet shows while it is the one playing, and the icon-only play/pause buttons. */
body.has-mini{--mini:104px}
body.hs-site.has-mini{padding-bottom:calc(var(--dock,84px) + 16px + var(--mini))}
.hs-bar{position:fixed;left:12px;right:12px;bottom:calc(var(--dock,84px) - 4px);z-index:29;display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;padding:8px 8px 4px 10px;border-radius:24px;background:var(--glass,rgba(18,16,24,.9));-webkit-backdrop-filter:blur(24px);backdrop-filter:blur(24px);border:1px solid var(--line,rgba(255,255,255,.12));color:var(--ink,#f4efe6);overflow:hidden;max-width:640px;margin-inline:auto;box-sizing:border-box}
.hs-bar[hidden]{display:none}
.hs-ring{flex:none;width:36px;height:36px;border-radius:50%;object-fit:cover}.hs-ring[hidden]{display:none}
.hs-main{flex:1 1 0;min-width:0;display:flex;flex-direction:column;justify-content:center;gap:1px;cursor:pointer;min-height:40px;touch-action:manipulation}
.hs-who{font-size:11px;letter-spacing:.04em;color:var(--ink2,var(--ink-2,rgba(244,239,230,.6)));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-line{font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;min-height:2.6em}.hs-line b,.hs-live b{color:var(--gold-ink,var(--gold,#f6c56b));font-weight:700}
.hs-time{order:6;flex:none;width:92px;margin-left:auto;text-align:right;white-space:nowrap;font-size:11px;font-variant-numeric:tabular-nums;color:var(--ink2,var(--ink-2,rgba(244,239,230,.6)))}
.hs-toggle,.hs-close{flex:none;display:grid;place-items:center;border:0;padding:0;cursor:pointer;touch-action:manipulation}
.hs-toggle{width:40px;height:40px;border-radius:50%;background:var(--ink,#f4efe6);color:var(--bg,#050409)}
.hs-close{width:30px;height:30px;border-radius:50%;background:none;color:var(--ink2,var(--ink-2,rgba(244,239,230,.6)))}
.hs-toggle svg{width:20px;height:20px;fill:currentColor}.hs-close svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.hs-seek{-webkit-appearance:none;appearance:none;order:5;flex:1 1 100%;min-width:0;position:static;width:auto;height:26px;margin:0;background:transparent;cursor:pointer;touch-action:none}
.hs-seek::-webkit-slider-runnable-track{height:4px;border-radius:2px;background:linear-gradient(90deg,var(--gold,#f6c56b) var(--p,0%),color-mix(in srgb,var(--ink,#f4efe6) 16%,transparent) var(--p,0%))}
.hs-seek::-moz-range-track{height:4px;border-radius:2px;background:color-mix(in srgb,var(--ink,#f4efe6) 16%,transparent)}.hs-seek::-moz-range-progress{height:4px;background:var(--gold,#f6c56b)}
.hs-seek::-webkit-slider-thumb{-webkit-appearance:none;width:14px;height:14px;margin-top:-5.5px;border-radius:50%;background:var(--gold,#f6c56b);border:0}
.hs-seek::-moz-range-thumb{width:14px;height:14px;border-radius:50%;background:var(--gold,#f6c56b);border:0}
/* a sheet that is the player: live line + a seek bar in place of the first lines */
.hs-live{margin:0;cursor:pointer}
.hs-sheet-seek{position:static;display:block;width:100%;flex:none;height:24px;margin:6px 0 2px}.hs-sheet-seek[hidden],.hs-live[hidden]{display:none}
/* icon-only play/pause buttons */
.hs-icon{display:inline-grid;place-items:center;min-width:48px;min-height:44px;padding:0 16px}.hs-icon svg{width:22px;height:22px;fill:currentColor}
@media (min-width:600px){.hs-bar{left:50%;right:auto;width:440px;margin-left:-220px}}
@media (prefers-reduced-motion:no-preference){.hs-bar{animation:hs-up .22s ease-out}@keyframes hs-up{from{transform:translateY(12px);opacity:0}}}
.hs-off{display:none!important}

/* the share sheet (static/social/share.js): link, Copy, and "Start at :" with an editable time */
.hs-share{position:fixed;inset:0;z-index:120;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.45);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.hs-share[hidden]{display:none}
.hs-sh-card{width:min(100%,460px);margin:0 12px calc(12px + env(safe-area-inset-bottom,0px));padding:14px 16px 16px;border-radius:26px;background:var(--bg);color:var(--ink);border:1px solid var(--line);box-shadow:0 18px 60px rgba(0,0,0,.35)}
.hs-sh-head{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px}
.hs-sh-x{width:40px;height:40px;border-radius:50%;border:0;background:none;color:var(--ink);font-size:18px}
.hs-sh-link,.hs-sh-time{width:100%;height:46px;padding:0 14px;font:inherit;font-size:14px;color:var(--ink);background:var(--chip);border:1px solid var(--line);border-radius:14px;box-sizing:border-box}
.hs-sh-at{display:flex;align-items:center;gap:12px;margin:12px 0}.hs-sh-at[hidden]{display:none}
.hs-sh-lab{display:flex;align-items:center;gap:10px;min-height:44px;margin:0;white-space:nowrap;cursor:pointer}
.hs-sh-lab input{width:22px;height:22px;margin:0}
.hs-sh-time{width:110px;text-align:center;font-variant-numeric:tabular-nums}.hs-sh-time:disabled{opacity:.45}.hs-sh-time[aria-invalid=true]{border-color:var(--ember,#ff5a46)}
.hs-sh-row{display:flex;gap:10px}.hs-sh-row button{flex:1;height:48px;border-radius:24px;font:inherit;font-weight:600;border:1px solid var(--line);background:var(--chip);color:var(--ink)}
.hs-sh-copy{border:0!important;background:linear-gradient(90deg,var(--gold,#f6c56b),var(--gold2,#f39a4c))!important;color:#1a1208!important}
.hs-sh-native[hidden]{display:none}
.hs-share-open{overflow:hidden}
.hs-share-btn{display:inline-flex;align-items:center;gap:6px;min-height:36px;padding:0 10px;border:0;background:none;color:inherit;font:inherit;cursor:pointer}
.hs-share-btn svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ap-tl{display:block;font-weight:600;font-size:12px;line-height:1.2;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.sf-card .hs-share-btn span{display:none}.sf-card .hs-share-btn{min-width:44px;min-height:44px;justify-content:center;border:1px solid var(--line);border-radius:50%}
.ap-meta.ap-tl,.ap-tl{color:inherit}
/* highlighted text: the site's pinkish red on yellow, in both themes (selection, speaker highlights) */
::selection{background:var(--sel-bg,#ffe97a);color:var(--sel-ink,#c2003d);text-shadow:none}
.vw.hl{background:var(--sel-bg,#ffe97a);color:var(--sel-ink,#c2003d)}
.vw.hl.on{outline:2px solid var(--sel-ink,#c2003d);outline-offset:-1px}

/* the opening star (static/social/hs_overlay.js): a post opened anywhere rises as a sheet over the page,
   the player never destroyed, playback never interrupted. The sheet sits above the dock (z 30) and the
   sheets (z 6); the bar is lifted above it while it is open, so it stays visible and live. */
.hs-ov{position:fixed;inset:0;z-index:31;display:flex;align-items:flex-end;justify-content:center;background:rgba(0,0,0,.5);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}
.hs-ov[hidden]{display:none}
.hs-ov-sheet{width:100%;max-width:640px;max-height:92dvh;display:flex;flex-direction:column;background:var(--bg,#050409);color:var(--ink,#f4efe6);border:1px solid var(--line,rgba(255,255,255,.12));border-bottom:0;border-radius:28px 28px 0 0;box-shadow:0 -18px 60px rgba(0,0,0,.45);overflow:hidden}
@media (min-width:600px){.hs-ov-sheet{margin-bottom:4dvh;border-bottom:1px solid var(--line,rgba(255,255,255,.12));border-radius:28px;max-height:88dvh}}
/* The sheet unfolds from the player bar: it grows upward from a strip the
   height of the bar (96px), rather than just sliding up from the bottom edge. */
@media (prefers-reduced-motion:no-preference){.hs-ov-sheet{animation:hs-ov-unfold .38s cubic-bezier(.22,.9,.3,1)}@keyframes hs-ov-unfold{from{clip-path:inset(calc(100% - 96px) 0 0 0);transform:translateY(12px);opacity:.55}to{clip-path:inset(0 0 0 0);transform:translateY(0);opacity:1}}
/* Closing folds it back into the bar: the sheet shrinks to the bottom strip
   while the scrim fades, so the bar is underneath again when the fold ends. */
.hs-ov-closing{animation:hs-ov-fade .24s ease-in forwards}
.hs-ov-closing .hs-ov-sheet{animation:hs-ov-fold .24s ease-in forwards}
@keyframes hs-ov-fold{from{clip-path:inset(0 0 0 0);transform:translateY(0);opacity:1}to{clip-path:inset(calc(100% - 96px) 0 0 0);transform:translateY(12px);opacity:0}}
@keyframes hs-ov-fade{from{opacity:1}to{opacity:0}}}
.hs-ov-head{flex:none;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;padding:6px 12px 4px;cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}
.hs-ov-handle{flex:1 1 100%;width:36px;max-width:36px;height:4px;margin:0 auto;border-radius:2px;background:color-mix(in srgb,var(--ink,#f4efe6) 30%,transparent)}
.hs-ov-title{flex:1;min-width:0;margin:0;font-size:13px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hs-ov-x{flex:none;width:40px;height:40px;border-radius:50%;border:0;background:none;color:var(--ink,#f4efe6);font-size:18px;cursor:pointer}
.hs-ov-body{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
.hs-ov-body .pp{padding-bottom:calc(24px + env(safe-area-inset-bottom,0px))}
/* while the sheet is open the page underneath does not scroll and transient banners stay out of the way.
   The bar is NOT hidden here: hs_player.js tick() decides (hidden while the sheet's stage is in view,
   shown above the sheet when the stage scrolls out of it), so the sheet's bottom leaves room for it
   while it is up, exactly as the page does with has-mini. */
body.hs-overlay-open{overflow:hidden}
body.hs-overlay-open .ap-banner{display:none}
body.hs-overlay-open .hs-bar{z-index:32}
body.hs-overlay-open.has-mini .hs-ov-body{padding-bottom:var(--mini,104px)}
