:root{--bg:#111011;--panel:#1a1819;--ink:#f6f0e6;--soft:#c7c0b7;--muted:#a69f99;--line:#363234;--accent:#ffbe7c;--dark:#24180f;color-scheme:dark;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:24px}
body{margin:0;min-width:280px;min-height:100vh;display:flex;flex-direction:column}
a{color:inherit;text-decoration:none}
button,select{font:inherit;color:inherit}
button:not(:disabled),select{cursor:pointer}
button{border:0}
a,button,select{-webkit-tap-highlight-color:transparent}
:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
[hidden]{display:none!important}
.skip{position:absolute;left:12px;top:-60px;z-index:5;padding:10px 18px;background:var(--accent);color:var(--dark)}
.skip:focus{top:12px}
.masthead{border-bottom:1px solid var(--line)}
.masthead-inner,.page,.footer-inner{width:min(1112px,calc(100% - 96px));margin-inline:auto}
.masthead-inner,.footer-inner,.masthead-actions{display:flex;align-items:center;justify-content:space-between}
.masthead-inner{min-height:72px}
.wordmark,.footer-brand{font:600 30px/.95 Georgia,"Times New Roman",serif;letter-spacing:-1.7px}
.wordmark{display:inline-flex;align-items:center;gap:11px}
.brand-icon{position:relative;width:23px;height:22px;display:inline-block;transform:skewX(-13deg);border-left:5px solid var(--accent);border-right:5px solid var(--accent)}
.brand-icon:after{content:"";position:absolute;width:5px;background:var(--accent);left:4px;top:4px;bottom:4px}
.masthead-actions{gap:24px;font-size:13px}
.preview-mark{color:var(--soft);display:inline-flex;align-items:center;gap:8px}
.preview-mark:before{content:"";width:6px;height:6px;border-radius:50%;background:var(--accent)}
.support-nav{display:inline-flex;align-items:center;gap:7px;min-height:44px}
.support-nav:hover,.footer-inner a:hover,.back-link:hover{color:var(--accent)}
.page{flex:1}
main:focus,.episode-heading h2:focus{outline:none}
.hero{display:grid;grid-template-columns:minmax(215px,.78fr) minmax(0,1.45fr);gap:clamp(38px,6vw,82px);align-items:center;padding:clamp(36px,5vw,64px) 0}
.poster-wrap{position:relative;width:100%;max-height:510px;aspect-ratio:3/4;overflow:hidden;background:linear-gradient(145deg,#512b23,#211c20 68%);box-shadow:0 12px 35px #0006;border:1px solid #ffffff14;border-radius:6px}
.poster{position:absolute;z-index:1;inset:0;display:block;width:100%;height:100%;object-fit:contain;object-position:center}
.poster-fallback{position:absolute;inset:0;display:grid;place-items:center;font:italic 100px Georgia,serif;letter-spacing:-10px;color:#ffdbb947}
.eyebrow{display:flex;align-items:center;gap:9px;margin:0;color:var(--accent);text-transform:uppercase;letter-spacing:.16em;font-weight:650;font-size:11px;line-height:1.25}
.film-lines{width:18px;height:9px;display:inline-block;transform:skewX(-18deg);border:1px solid currentColor;border-inline-width:4px;opacity:.85}
.display-title,.episode-title,.episode-heading h2,.notice h1,.stage-message h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.display-title{font-size:clamp(48px,6.2vw,88px);line-height:.99;letter-spacing:-.057em;margin:18px 0 24px;max-width:12ch;text-wrap:balance}
.metadata{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;color:var(--soft);font-size:14px;line-height:1.4;font-variant-numeric:tabular-nums}
.metadata span+span:before{content:"";display:inline-block;width:3px;height:3px;background:#90877f;vertical-align:middle;border-radius:50%;margin:0 12px 1px 0}
.synopsis{font-size:clamp(15px,1.55vw,18px);line-height:1.63;max-width:52ch;color:var(--soft);margin:24px 0 30px}
.actions,.playback-tools,.episode-nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.button{display:inline-flex;min-height:45px;align-items:center;justify-content:center;gap:10px;padding:11px 18px;border:1px solid transparent;border-radius:5px;background:transparent;font-size:14px;line-height:1.25;font-weight:600;text-align:center;transition:background .15s,border-color .15s}
.primary{background:var(--accent);color:var(--dark);border-color:var(--accent)}
.primary:hover{background:#ffd1a2;border-color:#ffd1a2}
.secondary{color:var(--ink);border-color:#514a49;background:#ffffff03}
.secondary:hover,.ep-tile:hover,.range:hover{background:#ffffff0d;border-color:#8b7c72}
.button:disabled,.button[aria-disabled=true]{opacity:.42;cursor:default;pointer-events:none}
.play-icon{width:0;height:0;border-style:solid;border-width:6px 0 6px 9px;border-color:transparent transparent transparent currentColor}
.small-note{font-size:13px;line-height:1.55;color:var(--muted)}
.hero-body>.small-note,.screening-body>.small-note{margin:14px 0 0}
.series-switch{margin-top:24px;display:flex;align-items:center;gap:12px;color:var(--soft);font-size:14px}
.series-switch select{padding:8px;border:1px solid var(--line);border-radius:4px;background:var(--panel);max-width:70%}
.episode-section{border-top:1px solid var(--line);padding:34px 0 54px}
.episode-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:18px;flex-wrap:wrap;margin-bottom:22px}
.episode-heading h2{font-size:clamp(34px,4.3vw,50px);line-height:1;letter-spacing:-.045em;margin:8px 0 0}
.guide-count{margin:0;color:var(--muted);font-size:13px;line-height:1.5}
.ranges{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:15px}
.range{border:1px solid var(--line);border-radius:4px;background:transparent;color:var(--soft);font-size:13px;padding:8px 12px;min-height:36px;font-variant-numeric:tabular-nums}
.range[aria-pressed=true]{border-color:#997554;color:var(--accent);background:#ffbe7c0c}
.episode-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(94px,1fr));gap:8px}
.ep-tile{display:flex;justify-content:space-between;align-items:center;gap:8px;min-height:50px;border:1px solid var(--line);border-radius:4px;background:var(--panel);padding:11px 13px;font-variant-numeric:tabular-nums;font-size:15px;font-weight:600}
.ep-tile.current{border-color:var(--accent);color:var(--accent)}
.ep-tile .play-icon{border-width:4px 0 4px 6px;color:var(--muted)}
.lock-icon{position:relative;display:inline-block;width:10px;height:8px;border:1.4px solid currentColor;border-radius:2px;color:var(--muted);margin-top:4px}
.lock-icon:before{content:"";position:absolute;width:5px;height:5px;top:-5px;left:1px;border:1.4px solid currentColor;border-bottom:none;border-radius:4px 4px 0 0}
.back-link{display:inline-flex;align-items:center;gap:8px;margin:17px 0 8px;min-height:44px;color:var(--soft);font-size:14px}
.screening{display:grid;grid-template-columns:minmax(234px,390px) minmax(0,1fr);align-items:center;gap:clamp(28px,6vw,84px);padding:0 0 38px}
.stage{position:relative;aspect-ratio:9/16;width:min(100%,max(270px,40vh));max-height:74vh;margin-inline:auto;background:#050505;border-radius:7px;overflow:hidden;border:1px solid #ffffff19;display:grid;place-items:center}
.stage video{width:100%;height:100%;object-fit:contain;background:#050505;touch-action:pan-x pinch-zoom;display:block}
.stage-message{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;align-items:center;text-align:center;padding:clamp(14px,3vw,30px);background:radial-gradient(ellipse at 12% 0%,#3c2720 0%,transparent 58%),linear-gradient(140deg,#221d1d,#141213 78%);overflow:auto}
.stage-message h2{font-size:clamp(25px,3vw,34px);line-height:1.05;letter-spacing:-.035em;margin:14px 0 8px}
.stage-message p{font-size:14px;line-height:1.55;color:var(--soft);margin:0;max-width:30ch}
.stage-message .actions{justify-content:center;margin-top:18px;gap:8px}
.stage-message .actions:empty,.stage-message small:empty{display:none}
.stage-message small{margin-top:10px}
.stage-message .stage-symbol.lock-icon{transform:scale(1.5);color:var(--accent);margin-bottom:6px;flex-shrink:0}
.screening-series{font:400 clamp(20px,3vw,30px)/1.15 Georgia,serif;letter-spacing:-.035em;color:var(--soft);margin:22px 0 0}
.episode-title{font-size:clamp(42px,5.5vw,73px);line-height:1.02;letter-spacing:-.055em;margin:6px 0 18px}
.episode-subtitle{font-size:20px;color:var(--soft);margin:0 0 13px}
.playback-tools,.episode-nav{margin-top:20px}
.episode-nav:not(:first-child){padding-top:18px;border-top:1px solid var(--line)}
.notice{padding:80px 0}
.notice h1{margin:0;font-size:40px;letter-spacing:-.04em}
.notice p{color:var(--soft);line-height:1.6}
footer{border-top:1px solid var(--line);color:var(--muted)}
.footer-inner{padding:25px 0;font-size:13px;gap:15px;flex-wrap:wrap}
.footer-brand{font-size:21px;letter-spacing:-1px;color:var(--soft)}
.footer-operator{display:grid;gap:6px}
.footer-links{display:flex;align-items:center;flex-wrap:wrap;gap:0 20px}
.footer-links a{display:inline-flex;align-items:center;min-height:44px}
.info-page{max-width:720px;padding-block:clamp(32px,6vw,68px)}
.info-page h1,.info-page h2{font-family:Georgia,"Times New Roman",serif;font-weight:400}
.info-page h1{margin:0 0 18px;font-size:clamp(42px,6vw,68px);line-height:1.04;letter-spacing:-.045em}
.info-page h2{margin:0 0 12px;font-size:clamp(25px,3vw,32px);line-height:1.15;letter-spacing:-.025em}
.info-page p{margin:0 0 12px;color:var(--soft);font-size:16px;line-height:1.65}
.info-page p:last-child{margin-bottom:0}
.info-page .info-intro{color:var(--ink);font-size:clamp(17px,2vw,20px)}
.info-page section{margin-top:28px;border-top:1px solid var(--line);padding-top:24px}
.info-page p a{color:var(--accent);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere}
.info-page strong{color:var(--ink)}
.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}
@media(min-width:1500px){.hero{padding:64px 0}}
@media(max-width:760px){
  .masthead-inner,.page,.footer-inner{width:calc(100% - 40px)}
  .masthead-inner{min-height:60px}.wordmark{font-size:27px}.brand-icon{height:19px;width:22px}
  .masthead-actions{gap:16px}.hero{gap:28px;grid-template-columns:minmax(140px,.7fr) minmax(0,1.2fr);padding:30px 0}
  .display-title{font-size:clamp(37px,6.7vw,52px);margin:12px 0}.synopsis{margin:16px 0 20px}
  .screening{gap:23px;grid-template-columns:minmax(190px,.85fr) minmax(0,1fr)}.stage{width:100%}
  .stage-message .button{padding:9px 10px;min-height:40px;font-size:13px}
}
@media(max-width:560px){
  .masthead-inner,.page,.footer-inner{width:calc(100% - 36px)}
  .masthead-actions{gap:14px;font-size:12px}
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:24px;padding:20px 0 30px}
  .poster-wrap{width:min(72%,242px);align-self:center;aspect-ratio:3/4;max-height:none}
  .hero-body{width:100%}.display-title{font-size:clamp(44px,10.5vw,60px);max-width:16ch;margin:10px 0 12px}
  .metadata{font-size:13px}.synopsis{font-size:15px;line-height:1.5;margin:14px 0 18px}
  .button{min-height:44px;padding-inline:13px}.episode-section{padding:25px 0 34px}
  .episode-heading{gap:9px;margin-bottom:16px}.episode-heading h2{font-size:35px}
  .episode-grid{grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.ep-tile{min-height:45px;padding:9px 8px;font-size:14px;gap:4px}
  .back-link{margin:4px 0;min-height:38px}
  .screening{display:flex;flex-direction:column;gap:19px;align-items:stretch;padding-bottom:23px}
  .stage{width:min(100%,max(230px,37vh));max-height:65vh}
  .screening-body .eyebrow{display:none}.screening-series{font-size:19px;margin:0}.episode-title{font-size:39px;margin:5px 0 8px}
  .episode-subtitle{font-size:17px;margin:0 0 8px}.playback-tools{margin-top:12px}.episode-nav{margin-top:14px}.episode-nav:not(:first-child){padding-top:12px}
  .footer-inner{padding:20px 0}.notice{padding:56px 0}
}
@media(max-width:345px){.masthead-actions{gap:8px}.preview-mark{gap:4px}.episode-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{scroll-behavior:auto!important;transition:none!important}}

.swipe-note{display:none}
@media(pointer:coarse){.swipe-note{display:block;margin:12px 0 0}.screening:has(#video[hidden]) .swipe-note{display:none}}

/* Keep the same player visible if the browser only supports an in-page fullscreen view. */
body.watching-fullscreen{overflow:hidden}
body.watching-fullscreen #stage{position:fixed;inset:0;z-index:1000;width:100%;height:100%;height:100dvh;max-width:none;max-height:none;margin:0;border:0;border-radius:0;background:#050505;aspect-ratio:auto}
#stage:fullscreen{width:100%;height:100%;margin:0;max-height:none;border:0;border-radius:0}
/* The video renders below a separate touch surface; native video controls never cover the HUD. */
#stage { --player-left: max(8px, env(safe-area-inset-left)); --player-right: max(8px, env(safe-area-inset-right)); isolation: isolate; }
#stage video { pointer-events: none; }
#restore-player-controls {
  position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%;
  padding: 0; border: 0; border-radius: 0; background: transparent; touch-action: none;
  cursor: pointer; -webkit-tap-highlight-color: transparent;
}
#restore-player-controls:focus-visible { outline-offset: -4px; }
.player-bar, #player-info, .player-rail, .player-transport, .player-feedback { position: absolute; z-index: 2; color: white; }
.player-bar {
  inset: max(5px, env(safe-area-inset-top)) var(--player-right) auto var(--player-left);
  display: flex; align-items: center; gap: 3px; pointer-events: none;
}
.player-bar button, .player-rail button, .player-transport button {
  appearance: none; display: grid; flex: none; place-items: center; min-width: 44px; height: 44px;
  border: 0; padding: 0; background: transparent; color: white; cursor: pointer;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.player-bar button { pointer-events: auto; font: 23px/1 system-ui; text-shadow: 0 1px 4px black; }
.player-bar button:disabled { opacity: .35; cursor: default; }
.player-bar #player-clean { margin-inline-start: auto; padding-inline: 5px; font: 600 13px/1 system-ui; }
#player-info {
  bottom: calc(48px + env(safe-area-inset-bottom, 0px)); left: var(--player-left);
  width: max-content; max-width: min(29rem, calc(100% - var(--player-left) - var(--player-right) - 45px));
  padding: 5px 4px; border: 0; border-radius: 0; background: transparent; text-align: start;
  text-shadow: 0 1px 3px #000, 0 0 7px #000; cursor: pointer; touch-action: manipulation;
}
.player-info-heading { display: flex; align-items: baseline; gap: 6px; font-size: clamp(15px, 2vw, 19px); }
.player-info-heading strong, #player-info-line { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
#player-info-episode { display: block; margin-top: 2px; color: #ffdfa9; font-size: 12px; font-weight: 700; }
#player-info-line { margin-top: 3px; font-size: 13px; line-height: 1.3; -webkit-line-clamp: 3; }
.player-rail {
  right: var(--player-right);
  top: clamp(116px, 70%, calc(100% - 124px - env(safe-area-inset-bottom, 0px)));
  transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 2px;
}
.player-rail svg, .player-transport svg {
  display: block; width: 26px; height: 26px; fill: none; stroke: currentColor;
  stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 1px 2px #000); pointer-events: none;
}
#player-save[aria-pressed="true"] svg { fill: #ff365f; stroke: #ff365f; }
#player-save:disabled { opacity: .65; }
.player-transport {
  inset: auto var(--player-right) env(safe-area-inset-bottom, 0px) var(--player-left);
  display: flex; align-items: center; gap: 4px;
}
.player-transport svg { width: 20px; height: 20px; }
#player-play svg { fill: currentColor; stroke: none; }
#player-play[data-paused="true"] [data-pause-symbol], #player-play:not([data-paused="true"]) [data-play-symbol],
#player-sound[data-muted="true"] [data-sound-on], #player-sound:not([data-muted="true"]) [data-sound-off] { display: none; }
#player-clock { font: 600 11px/1.1 system-ui; font-variant-numeric: tabular-nums; white-space: nowrap; text-shadow: 0 1px 3px black; }
#player-seek { min-width: 0; flex: 1; height: 36px; margin: 0 3px; accent-color: #ffbc80; touch-action: none; cursor: pointer; }
#player-captions { font: 700 12px/1 system-ui; text-shadow: 0 1px 3px black; }
#player-captions[aria-pressed="false"] { opacity: .65; }
.player-feedback { top: 16%; inset-inline: 12px; margin: 0; text-align: center; text-shadow: 0 1px 4px #000; pointer-events: none; }
#share-sheet { max-width: min(24rem, 88%); width: 100%; padding: 20px; border: 1px solid #ffffff40; border-radius: 14px; background: #211d1e; color: var(--ink); }
#share-sheet::backdrop { background: #070606a8; }
#share-sheet h2 { margin: 0 0 12px; }
#episode-link { width: 100%; padding: 9px; margin-bottom: 12px; user-select: all; }
#episode-sheet {
  position: fixed;
  inset: auto 0 0;
  width: min(100%, 34rem);
  max-width: 100%;
  max-height: min(82vh, 45rem);
  max-height: min(82dvh, 45rem);
  margin: 0 auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid #ffffff30;
  border-bottom: 0;
  border-radius: 18px 18px 0 0;
  background: #211d1e;
  color: var(--ink);
}
#episode-sheet[open] { display: flex; flex-direction: column; }
#episode-sheet::backdrop { background: #070606a8; }
.sheet-header {
  flex: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 18px 12px;
  border-bottom: 1px solid var(--line);
}
.sheet-header h2 {
  margin: 0;
  font: 600 clamp(20px, 5vw, 26px)/1.2 Georgia, serif;
}
#close-sheet {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border: 1px solid #ffffff40;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.sheet-content {
  padding: 14px 18px calc(20px + env(safe-area-inset-bottom, 0px));
  overflow: auto;
  overscroll-behavior: contain;
}
.sheet-tags { margin: 0 0 10px; font-size: 13px; color: var(--accent); }
.sheet-synopsis { margin: 0 0 16px; line-height: 1.55; }
.sheet-content .episode-heading { margin-top: 20px; }
.sheet-content .episode-heading h3 { margin: 0; }
#sheet-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (min-aspect-ratio: 9/16) {
  body.watching-fullscreen #stage {
    --player-left: max(8px, calc((100% - 56.25dvh) / 2 + 8px), env(safe-area-inset-left));
    --player-right: max(8px, calc((100% - 56.25dvh) / 2 + 8px), env(safe-area-inset-right));
  }
}
/* Public theater */
.login-view { max-width: 420px; margin: clamp(32px, 8vh, 84px) auto; }
.login-view h1 { margin: 0; font: 400 clamp(36px, 6vw, 50px)/1.08 Georgia, serif; letter-spacing: -.035em; }
.login-view p { margin: 16px 0 24px; line-height: 1.55; color: var(--soft); }
.login-methods { display: grid; gap: 10px; }
.login-methods a { min-height: 48px; }
#linked-methods { margin-top: 18px; }
#linked-list { padding: 0; margin: 14px 0 0; list-style: none; }
#linked-list li { display: flex; justify-content: space-between; align-items: center; min-height: 50px; gap: 12px; border-top: 1px solid var(--line); }
#linked-list li span { color: var(--muted); font-size: 14px; }
#linked-list button { margin: 5px 0; }

.bookmark-icon{display:inline-block;width:11px;height:14px;background:currentColor;clip-path:polygon(0 0,100% 0,100% 100%,50% 76%,0 100%,0 0,12% 10%,12% 82%,50% 61%,88% 82%,88% 10%,12% 10%)}

.program-heading h2,.viewing-guide h2,.program-empty h3,.member-view h1,.member-card h2,#account-dialog h2,.title-card h3{font-family:Georgia,'Times New Roman',serif;font-weight:400}

.program-section,.curated-section{padding:33px 0 27px;border-bottom:1px solid var(--line)}
.program-heading{display:flex;justify-content:space-between;align-items:baseline;gap:14px;margin-bottom:17px}
.program-heading h2,.viewing-guide h2{font-size:clamp(29px,3.6vw,43px);line-height:1.05;letter-spacing:-.047em;margin:0}
.program-count{color:var(--muted);font-size:13px;font-variant-numeric:tabular-nums}
.program-empty{display:flex;align-items:center;gap:22px;border:1px solid var(--line);border-radius:5px;padding:22px 25px;background:linear-gradient(105deg,#211c1d,#181617 72%)}
.program-empty h3{margin:0 0 4px;font-size:24px;letter-spacing:-.035em}
.program-empty p,.curated-description,.curated-empty{color:var(--soft);font-size:14px;line-height:1.55;margin:0}
.curated-description{margin:-7px 0 17px}
.curated-empty{border-left:2px solid #96704e;padding:5px 0 5px 13px;color:var(--muted)}
.empty-film{display:block;width:33px;height:39px;border:2px solid #a18470;border-radius:3px;position:relative;flex:none;transform:rotate(-6deg);background:repeating-linear-gradient(0deg,transparent 0 5px,#a18470 5px 7px,transparent 7px 11px) left 2px top/2px 100% no-repeat,repeating-linear-gradient(0deg,transparent 0 5px,#a18470 5px 7px,transparent 7px 11px) right 2px top/2px 100% no-repeat}
.empty-film:after{content:"";position:absolute;inset:5px 6px;border:1px solid #a18470;border-radius:1px}
.catalog-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:22px 16px}
.title-card{display:block;max-width:255px}
.card-art{aspect-ratio:3/4;display:grid;place-items:center;position:relative;overflow:hidden;border:1px solid #ffffff20;border-radius:4px;background:linear-gradient(135deg,#382526,#1e1b1d);font:italic 40px Georgia,serif;color:#d2a586}
.card-art img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.card-fallback-title{position:absolute;inset:0;display:grid;align-content:center;padding:12px;text-align:center;font:600 clamp(17px,2vw,25px)/1.15 Georgia,serif;overflow-wrap:anywhere;color:var(--ink)}
.title-card:hover .card-art{border-color:var(--accent)}
.title-card h3{font-size:21px;line-height:1.16;letter-spacing:-.025em;margin:9px 0 5px}
.title-card p{margin:0;color:var(--muted);font-size:13px}
.title-card .card-tags{margin:.5rem 0 0;color:var(--soft);font-size:.875rem;line-height:1.4;overflow-wrap:anywhere}
.viewing-guide{padding:34px 0 44px;display:grid;grid-template-columns:1fr 1.65fr;gap:32px}
.guide-entries details{border-bottom:1px solid var(--line);padding:0}
.guide-entries details:first-child{border-top:1px solid var(--line)}
.guide-entries summary{cursor:pointer;list-style:none;display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:52px;font-size:15px}
.guide-entries summary::-webkit-details-marker{display:none}
.guide-entries summary:after{content:'+';font-size:22px;color:var(--accent);font-weight:400}
.guide-entries details[open] summary:after{content:'−'}
.guide-entries details p{margin:0 28px 16px 0;line-height:1.55;font-size:14px;color:var(--soft)}
.guide-entries p a{color:var(--accent);text-decoration:underline;text-underline-offset:3px}
.member-view{padding-bottom:55px;min-height:55vh}
.member-layout{display:grid;grid-template-columns:minmax(125px,190px) 1fr;gap:28px;margin:21px 0 15px}
.member-nav{display:flex;flex-direction:column;gap:5px;border-right:1px solid var(--line);padding-right:14px}
.member-nav a{padding:11px;border-radius:4px;font-size:15px;color:var(--soft)}
.member-nav a[aria-current=page]{background:#302824;color:var(--accent)}
.member-view h1{font-size:clamp(42px,5vw,68px);letter-spacing:-.055em;line-height:1.04;margin:0 0 20px}
.member-card{padding:24px;background:var(--panel);border:1px solid var(--line);border-radius:5px;max-width:670px}
.member-card h2,#account-dialog h2{font-size:30px;line-height:1.13;letter-spacing:-.04em;margin:0 0 9px}
.member-card p,#account-dialog p{color:var(--soft);font-size:15px;line-height:1.55;max-width:56ch;margin:0 0 20px}
.member-card .small-note:not([hidden]){display:block;margin-top:12px}
.stage-message{justify-content:safe center}
#account-dialog{width:min(440px,calc(100% - 32px));background:#231e1e;padding:26px;border:1px solid #77604d;border-radius:8px;color:var(--ink);box-shadow:0 20px 80px #0008}
#account-dialog::backdrop{background:#0a0809bd}
#detail-back:not([hidden])+.series-switch[hidden]+.hero{padding-top:10px}
@media(max-width:760px){.program-section,.curated-section{padding:24px 0}.viewing-guide{grid-template-columns:1fr;gap:18px}.catalog-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}
@media(max-width:560px){

  .program-section,.curated-section{padding:24px 0}.program-heading{margin-bottom:12px}.program-empty{padding:17px 13px;gap:15px}.program-empty h3{font-size:21px}.program-empty p{font-size:13px}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}
  .viewing-guide{padding:25px 0 34px;gap:15px}.guide-entries summary{font-size:14px}
  .member-layout{grid-template-columns:1fr;margin-top:5px;gap:20px}.member-nav{flex-direction:row;border-right:0;border-bottom:1px solid var(--line);padding:0 0 10px}
}
@media(max-width:480px){.masthead-inner{gap:10px}}

@media(max-width:360px){
  .masthead-inner{gap:10px}
  .wordmark{font-size:23px;gap:6px;letter-spacing:-1.3px;flex-shrink:0}
  .brand-icon{width:18px;height:17px;border-inline-width:4px}
  .brand-icon:after{left:3px;width:4px}

}

/* The public theater keeps browsing and account actions within thumb reach. */
.with-public-nav {
  --header-height: 64px;
  --tab-height: 60px;
  --top-inset: env(safe-area-inset-top, 0px);
  --bottom-inset: env(safe-area-inset-bottom, 0px);
  padding-block: calc(var(--header-height) + var(--top-inset)) calc(var(--tab-height) + var(--bottom-inset));
}
html:has(.with-public-nav) { scroll-padding-block: calc(72px + env(safe-area-inset-top, 0px)) calc(68px + env(safe-area-inset-bottom, 0px)); }
.with-public-nav .skip { z-index: 30; }
.with-public-nav .theater-header, .bottom-nav {
  position: fixed;
  z-index: 8;
  left: 0;
  right: 0;
  background: var(--bg);
}
.with-public-nav .theater-header { top: 0; padding-top: var(--top-inset); }
.with-public-nav .masthead-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 460px) auto;
  justify-content: space-between;
  gap: clamp(12px, 4vw, 70px);
}
.site-search {
  position: relative;
  display: flex;
  align-items: center;
  border: 1px solid #494144;
  border-radius: 999px;
  background: #211e20;
  overflow: hidden;
}
.site-search:focus-within { border-color: var(--accent); outline: 1px solid var(--accent); }
.site-search input { background: transparent; color: var(--ink); border: 0; font: inherit; font-size: 16px; min-width: 0; width: 100%; outline: 0; padding: 0 0 0 16px; height: 40px; }
.site-search input::placeholder { color: #b0a7a7; }
.site-search button { width: 44px; height: 40px; align-items: center; justify-content: center; display: inline-flex; flex: none; color: var(--soft); background: transparent; }
.site-search svg, .vip-link svg { width: 19px; height: 19px; flex: none; }
.vip-link { display: inline-flex; justify-content: center; align-items: center; gap: 6px; min-height: 44px; font-size: 14px; font-weight: 700; color: var(--accent); }
.bottom-nav { bottom: 0; padding: 0 12px var(--bottom-inset); border-top: 1px solid var(--line); }
.bottom-nav > div { max-width: 560px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.bottom-nav a { position: relative; min-height: var(--tab-height); display: grid; justify-items: center; align-content: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--soft); }
.bottom-nav svg { width: 21px; height: 21px; }
.bottom-nav a[aria-current="page"], .bottom-nav a:hover { color: var(--accent); }
.bottom-nav a[aria-current="page"]::before { content: ""; position: absolute; top: -1px; left: 35%; right: 35%; height: 2px; background: var(--accent); }
.library-view { min-height: 52vh; padding-block: clamp(24px, 4vw, 44px); }
.library-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 23px; }
.library-heading h1 { font: 400 clamp(32px, 4vw, 47px)/1.05 Georgia, serif; letter-spacing: -.045em; margin: 0; }
.library-subhead { font-size: 17px; margin: 20px 0 8px; }
.view-empty { color: var(--soft); line-height: 1.6; margin: 10px 0 20px; }
.plain-action { background: transparent; color: var(--accent); padding: 8px 0 8px 8px; min-height: 44px; }
.profile-menu, .history-list { max-width: 730px; padding: 0; margin: 0; list-style: none; }
.profile-menu a, .history-list a { min-height: 54px; display: flex; justify-content: space-between; align-items: center; gap: 16px; border-bottom: 1px solid var(--line); }
.profile-menu a:hover, .history-list a:hover, .feed-caption a:hover { color: var(--accent); }
.profile-menu span, .history-list span { color: var(--soft); flex: none; }
.history-list strong { font-weight: 600; }
.feed-rail {
  position: relative;
  width: min(100%, 480px);
  margin: 0 auto;
  height: calc(100vh - var(--header-height) - var(--tab-height) - var(--top-inset) - var(--bottom-inset));
  height: calc(100dvh - var(--header-height) - var(--tab-height) - var(--top-inset) - var(--bottom-inset));
  overflow-y: auto;
  overscroll-behavior-y: contain;
  scroll-snap-type: y mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--line) transparent;
}
.feed-card { position: relative; height: 100%; display: grid; grid-template-rows: minmax(0, 1fr) auto; scroll-snap-align: start; scroll-snap-stop: always; }
.feed-frame { background: #070607; min-height: 0; overflow: hidden; }
.feed-frame video { display: block; width: 100%; height: 100%; object-fit: contain; }
.feed-caption { padding: 12px 0 16px; display: grid; grid-template-columns: 1fr auto; align-items: end; column-gap: 10px; }
.feed-caption > span { grid-column: 1/-1; font-size: 12px; color: var(--soft); }
.feed-caption h2 { font: 400 clamp(19px, 3vw, 26px)/1.1 Georgia, serif; margin: 4px 0 0; }
.feed-full { font-size: 13px; color: var(--accent); padding-block: 8px; }
.feed-status { position: absolute; left: 50%; transform: translateX(-50%); top: 8px; margin: 0; text-align: center; color: white; background: #120f11e0; padding: 6px 11px; border-radius: 5px; font-size: 13px; max-width: 90%; width: max-content; pointer-events: none; }
.feed-status:empty { display: none; }
@media(max-width: 640px) {
  .with-public-nav { --header-height: 56px; --tab-height: 56px; }
  .with-public-nav .masthead-inner { grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; }
  .with-public-nav .masthead-inner .wordmark { min-height: 44px; min-width: 32px; }
  .with-public-nav .wordmark span { display: none; }
  .site-search input, .site-search button { height: 36px; }
  .vip-link { gap: 4px; }
  #feed-view { margin-inline: -18px; }
  .feed-caption { padding-inline: 16px; }
  .bottom-nav { padding-inline: max(8px, env(safe-area-inset-left, 0px)) max(8px, env(safe-area-inset-right, 0px)); }
}

.feed-frame video { touch-action: pan-y pinch-zoom; }
.feed-caption { grid-template-columns: minmax(0, 1fr) auto; }
.feed-caption > span, .feed-caption h2, .feed-full { grid-column: 1; }
.feed-full { justify-self: start; min-height: 36px; display: inline-flex; align-items: center; }
.feed-step { display: flex; grid-column: 2; grid-row: 1 / span 3; align-self: center; gap: 3px; }
.feed-step button { font: inherit; font-size: 20px; color: var(--ink); background: var(--panel); border: 1px solid var(--line); width: 44px; height: 44px; border-radius: 50%; }
.feed-step button:disabled { color: var(--muted); opacity: .4; }
.feed-step button:not(:disabled):hover { color: var(--accent); border-color: var(--accent); }

/* The two library sections share the same mobile-friendly list. */
#activity-view .library-tabs { display: flex; gap: 24px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
#activity-view .library-tabs a { padding: 9px 0 12px; color: var(--soft); }
#activity-view .library-tabs a[aria-current="page"] { color: var(--accent); box-shadow: inset 0 -2px var(--accent); }
#activity-view .history-tools { display: flex; justify-content: flex-end; max-width: 730px; }
#activity-view .history-list a { justify-content: flex-start; padding: 8px 0; }
#activity-view .history-list img { width: 47px; height: 64px; object-fit: cover; border-radius: 4px; }
#activity-view .history-list strong { flex: 1; }
#activity-view .view-empty:empty { display: none; }
