/* A full-window theater; the native dialog provides focus containment only. */
.private-theater,.private-theater *{box-sizing:border-box}
.private-theater-active{overflow:hidden}
.private-theater{--theater-surface:#0c0912;--theater-card:#1c1627;--theater-line:#ffffff17;--theater-muted:#bcb0d0;position:fixed;inset:0;margin:0;width:100%;max-width:none;height:100dvh;max-height:none;border:0;border-radius:0;padding:0;background:var(--theater-surface);color:#f8f4ff;overflow:auto;overscroll-behavior:contain;box-shadow:none}
.private-theater::backdrop{background:#0c0912}
.private-theater [hidden]{display:none!important}
.theater-shell{padding:clamp(24px,3.1vw,64px);min-height:100%;background:radial-gradient(ellipse at 43% 20%,#22162d66,transparent 53%),#0c0912}
.theater-header{display:flex;align-items:center;justify-content:space-between;gap:32px;margin-bottom:22px}
.theater-header>div:first-child{min-width:0;max-width:68%}
.theater-header .eyebrow,.theater-album .eyebrow,.theater-resume .eyebrow{color:#b498ff;font-size:12px;font-weight:700;letter-spacing:.2em;margin:0 0 14px}
.theater-header h2{font-size:clamp(34px,3.7vw,64px);letter-spacing:-.045em;line-height:1.06;margin:0 0 16px}
.theater-header p:not(.eyebrow){font-size:clamp(14px,1.2vw,20px);color:var(--theater-muted);margin:0;line-height:1.6;overflow-wrap:anywhere}
.theater-header-actions{display:flex;gap:10px;flex-shrink:0}
.private-theater button,.private-theater select{color:#f7f3ff;background:#251e32;border:1px solid #ffffff18;border-radius:14px;padding:12px 16px;font:inherit;cursor:pointer;min-height:44px}
.private-theater button:hover{background:#35263f;border-color:#c5a0ff55}
.private-theater button:disabled{opacity:.55;cursor:wait}
.private-theater button.primary{background:#8458cd;border-color:#af88e9}
.private-theater :focus-visible{outline:3px solid #cdb3ff;outline-offset:3px}
.private-theater a{color:#d6c1ff}
.theater-status{color:#d7c6ef;line-height:1.5;margin:0 0 20px;min-height:0}
.theater-status:empty{display:none}
.theater-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.42fr) minmax(170px,.27fr);align-items:start;gap:clamp(22px,2.2vw,42px)}
.theater-video-column,.theater-discovery{min-width:0}
.theater-player-frame{width:100%;aspect-ratio:16/10;min-height:200px;background:#100d18;border:1px solid #ffffff0d;border-radius:24px;overflow:hidden}
.theater-player-frame iframe{display:block;width:100%;height:100%;border:0;min-height:200px}
.theater-placeholder{height:100%;min-height:200px;display:grid;place-items:center;color:#d7c6ef;text-align:center;padding:24px}
.theater-poster{position:relative;isolation:isolate;display:grid;place-items:center;height:100%;min-height:200px;overflow:hidden;background:radial-gradient(ellipse at 72% 8%,#67416499,transparent 70%),radial-gradient(ellipse at 63% 104%,#7249a885,transparent 56%),linear-gradient(135deg,#1b1826,#211426 58%,#120e19)}
.theater-poster::before{content:'';position:absolute;inset:0;z-index:-1;background:linear-gradient(87deg,transparent 16%,#ffffff04 19%,transparent 22%,transparent 61%,#ffffff05 64%,transparent 68%),linear-gradient(0deg,#100b18,transparent 42%)}
.theater-poster::after{content:'';position:absolute;z-index:-1;inset:80% -15% -35%;opacity:.18;background-image:linear-gradient(#9677bc44 1px,transparent 1px),linear-gradient(90deg,#9677bc44 1px,transparent 1px);background-size:40px 32px;transform:perspective(130px) rotateX(48deg);transform-origin:top}
.theater-poster-top{position:absolute;left:5%;right:5%;top:6%;display:flex;justify-content:space-between;gap:12px;font-size:11px;letter-spacing:.12em}
.theater-poster-top>span:first-child{background:#100c1980;padding:8px 11px;border-radius:7px}
.theater-youtube{font-weight:650;white-space:nowrap;letter-spacing:0;font-size:13px;align-self:center}
.theater-poster-lettering{position:absolute;left:5%;right:8%;top:25%;transform:rotate(-7deg);color:#e8d2f327;pointer-events:none;overflow:hidden}
.theater-poster-lettering>span{display:block;font-size:clamp(12px,1.15vw,24px);letter-spacing:.22em;text-transform:uppercase;margin-bottom:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.theater-poster-lettering strong{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;font-size:clamp(36px,4.4vw,86px);line-height:.95;letter-spacing:-.065em;text-transform:uppercase;overflow-wrap:anywhere}
.private-theater .theater-poster-play{position:relative;display:flex;align-items:center;justify-content:center;gap:10px;min-width:144px;min-height:92px;padding:22px 28px;border:1px solid #dcc7ee70;border-radius:28px;background:#4e3b5bd9;box-shadow:0 10px 32px #0003;font-size:20px;font-weight:500;backdrop-filter:blur(8px)}
.theater-poster-play svg{width:24px;height:24px;flex-shrink:0}
.theater-poster-caption{position:absolute;left:5%;right:5%;bottom:6%;display:grid;gap:6px}
.theater-poster-caption strong{font-size:clamp(15px,1.3vw,24px);line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theater-poster-caption span{font-size:12px;color:#d5c8e1;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}
.theater-search-ring{width:34px;height:34px;border:2px solid #ffffff25;border-top-color:#e8d5ff;border-radius:50%;animation:theater-search-turn 1s linear infinite}
@keyframes theater-search-turn{to{transform:rotate(360deg)}}
.theater-video-heading{display:flex;justify-content:space-between;gap:20px;margin:24px 0 20px}
.theater-video-heading h3{font-size:clamp(18px,1.45vw,26px);margin:0 0 9px;line-height:1.4;overflow-wrap:anywhere}
.theater-video-heading p{margin:0;color:var(--theater-muted);font-size:13px;line-height:1.6}
.theater-video-heading .theater-metrics{margin-top:8px;font-size:12px;color:#d1bbef}
.theater-original-note{display:flex;align-items:center;gap:15px;padding:20px;border:1px solid var(--theater-line);border-radius:18px;background:#1b1523}
.theater-original-note>span{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#2b203a;color:#c5a5ff;font-size:24px}
.theater-original-note strong{font-size:14px}
.theater-original-note p{font-size:12px;line-height:1.5;color:var(--theater-muted);margin:5px 0 0}
.theater-choices-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 0 18px}
.theater-choices-heading h3{font-size:20px;margin:0;letter-spacing:-.025em}
.theater-choices-heading>span{color:var(--theater-muted);font-size:12px;white-space:nowrap}
.theater-search-mode{display:flex;align-items:center;gap:10px;font-size:12px;color:var(--theater-muted);margin-bottom:18px}
.theater-search-mode select{min-width:0;width:100%;padding:8px 10px;font-size:12px;border-radius:10px}
.theater-choices{display:grid;gap:20px}
.private-theater .theater-video-choice{display:grid;grid-template-columns:112px minmax(0,1fr);gap:14px;align-items:center;text-align:left;padding:0;border:0;border-radius:14px;background:transparent;min-width:0}
.private-theater .theater-video-choice:hover{background:#251b32}
.theater-choice-art{display:block;aspect-ratio:16/10;border-radius:12px;overflow:hidden;background:linear-gradient(135deg,#352c42,#172c39)}
.theater-choice-art img{display:block;width:100%;height:100%;object-fit:contain}
.theater-choice-copy{min-width:0}
.theater-choice-copy strong{font-size:14px;line-height:1.45;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.theater-choice-copy small{display:block;color:var(--theater-muted);font-size:11px;line-height:1.5;margin-top:5px;overflow-wrap:anywhere}
.theater-choice-views{display:block;font-size:10px;line-height:1.6;color:#c6aadf;margin-top:5px}
.private-theater .theater-more{background:transparent;margin-top:20px;width:100%;font-size:12px;color:#d2b5ff}
.theater-discovery-note{font-size:10px;line-height:1.7;color:#9d91ac;margin:14px 0 0}
.theater-album{align-self:start;border-left:1px solid var(--theater-line);padding-left:24px;min-width:0}
.theater-album .eyebrow{font-size:9px;letter-spacing:.13em;line-height:1.5;margin:0 0 16px}
.theater-album>.private-art-frame,.theater-album>:is(img,:where(canvas.private-art-canvas)),.theater-album-placeholder{width:100%;aspect-ratio:1;object-fit:cover;border-radius:15px;background:#332642;display:grid;place-items:center;font-size:60px;position:relative;overflow:hidden}
.theater-album>.private-art-frame>:is(img,:where(canvas.private-art-canvas)){width:100%;height:100%;object-fit:cover}
.theater-album h3{font-size:18px;line-height:1.4;margin:18px 0 8px;overflow-wrap:anywhere;letter-spacing:-.025em}
.theater-album p,.theater-album small{color:var(--theater-muted);line-height:1.6;font-size:12px;overflow-wrap:anywhere}
.theater-source-track{padding:16px 0;margin:18px 0;border-top:1px solid var(--theater-line);border-bottom:1px solid var(--theater-line)}
.theater-source-track span{display:block;color:var(--theater-muted);font-size:10px;margin-bottom:8px}
.theater-source-track strong{font-size:12px;line-height:1.5;overflow-wrap:anywhere;display:block}
.theater-footer{margin:40px 0 0;padding-top:22px;border-top:1px solid var(--theater-line);font-size:11px;color:var(--theater-muted);line-height:1.7}
.theater-settings,.theater-consent,.theater-resume{background:var(--theater-card);padding:30px;border:1px solid var(--theater-line);border-radius:22px;margin:24px 0;line-height:1.65;max-width:860px}
.theater-settings-title{display:flex;justify-content:space-between;align-items:center;gap:14px;margin-bottom:22px}
.theater-settings h3,.theater-consent h3,.theater-resume h3{font-size:24px;margin:0 0 14px;letter-spacing:-.03em}
.theater-settings p,.theater-consent p,.theater-resume p{color:var(--theater-muted);font-size:14px}
.theater-resume-track{font-weight:650;color:#f5edff!important;padding:16px 0}
.theater-resume>div,.theater-setting-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.theater-resume-toggle{display:flex;gap:14px;align-items:center;cursor:pointer}
.theater-resume-toggle small{display:block;color:var(--theater-muted);font-size:12px;margin-top:4px}
.private-theater input[type=checkbox]{accent-color:#a87bea;width:21px;height:21px;flex-shrink:0}
.private-theater-open{display:inline-grid;place-items:center;width:36px;min-width:36px;height:36px;padding:7px!important;border-radius:10px!important;line-height:1}
.private-theater-open svg{display:block;width:21px;height:21px;pointer-events:none}
.private-theater-open:focus-visible{outline:2px solid #c8b3ff;outline-offset:3px}
.private-theater-settings-open{font-size:12px!important}
@media(min-width:1700px){.theater-video-choice{grid-template-columns:150px minmax(0,1fr)!important}.theater-choice-copy strong{font-size:16px}.theater-choice-copy small{font-size:12px}.theater-choice-views{font-size:11px}.theater-player-frame{aspect-ratio:16/9}}
@media(max-width:1200px) and (min-width:761px){.theater-layout{grid-template-columns:minmax(0,1fr) 210px}.theater-video-column{grid-column:1;grid-row:1}.theater-album{grid-column:2;grid-row:1/3}.theater-discovery{grid-column:1;grid-row:2}.theater-choices{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}.private-theater .theater-video-choice{grid-template-columns:1fr;align-items:start}.theater-choice-art{aspect-ratio:16/9}.theater-header{align-items:flex-start}.theater-header-actions{flex-direction:column}.theater-video-heading{flex-direction:column;gap:12px}.theater-youtube{align-self:flex-start}}
@media(max-width:760px){.theater-shell{padding:24px 18px calc(26px + env(safe-area-inset-bottom))}.theater-header{align-items:flex-start;flex-direction:column;gap:18px;margin-bottom:22px}.theater-header>div:first-child{max-width:100%}.theater-header h2{font-size:38px;line-height:1.05;margin-bottom:12px}.theater-header .eyebrow{font-size:10px;letter-spacing:.14em}.theater-header-actions{gap:8px;flex-wrap:wrap}.theater-header-actions button{font-size:12px;padding:10px 12px}.theater-layout{display:flex;flex-direction:column;gap:26px}.theater-video-column,.theater-discovery,.theater-album{width:100%}.theater-player-frame{aspect-ratio:16/11;min-height:210px;border-radius:18px}.theater-poster-lettering{top:28%;right:6%}.theater-poster-lettering strong{font-size:40px;-webkit-line-clamp:2}.theater-poster-lettering>span{font-size:10px;letter-spacing:.16em;margin-bottom:8px}.theater-poster-top{font-size:9px}.theater-poster-top .theater-youtube{font-size:11px}.private-theater .theater-poster-play{min-width:112px;min-height:64px;padding:16px 22px;font-size:18px;border-radius:22px;transform:translateY(-3px)}.theater-poster-caption strong{font-size:13px;-webkit-line-clamp:1}.theater-poster-caption span{font-size:10px}.theater-video-heading{flex-direction:column;gap:10px;margin-top:18px}.theater-video-heading h3{font-size:19px}.theater-youtube{align-self:flex-start}.theater-choices-heading h3{font-size:20px}.theater-choice-copy strong{font-size:14px}.theater-original-note{padding:15px}.theater-album{order:2;border:1px solid var(--theater-line);padding:18px;border-radius:18px;display:grid;grid-template-columns:78px minmax(0,1fr);column-gap:16px}.theater-album>.eyebrow{grid-column:1/-1;margin-bottom:14px}.theater-album>.private-art-frame,.theater-album>:is(img,:where(canvas.private-art-canvas)),.theater-album-placeholder{grid-column:1;grid-row:2/5;width:78px;height:78px;font-size:30px}.theater-album h3{grid-column:2;margin:0;font-size:16px}.theater-album p{grid-column:2;margin:5px 0;font-size:12px}.theater-album small{grid-column:2;font-size:10px}.theater-source-track{grid-column:1/-1;grid-row:5;margin:14px 0 0;padding:12px 0 0;border-bottom:0}.theater-settings,.theater-consent,.theater-resume{padding:22px 18px}.theater-resume>div{flex-direction:column}.private-theater-open{width:44px;min-width:44px;min-height:44px;height:44px!important}.theater-footer{font-size:10px}}
@media(prefers-reduced-motion:reduce){.theater-search-ring{animation:none}}

/* Keep theater beside the artwork, before playback controls, on mobile. */
@media(max-width:700px), (max-width:900px) and (max-height:500px){
  #private-player.player{grid-template-columns:44px minmax(0,1fr) 132px}
  #private-player .transport{justify-content:space-evenly}
}
@media(max-width:359px){
  #private-player.player{grid-template-columns:44px minmax(0,1fr) 108px}
  #private-player .player-tools{width:108px}
  #private-player .player-tools .icon-button{width:36px;min-width:36px;padding:7px}
  #private-player .transport .icon-button{width:32px;min-width:32px;padding:5px}
  #private-player .transport #player-theater{width:36px;min-width:36px}
  #private-player .transport #player-toggle{width:44px;min-width:44px;padding:10px}
}

/* Theater discovery and gentle player arrival. Decorations live in the review demo only. */
.private-theater .theater-video-frame{opacity:0;transition:opacity .65s ease;background:#000}
.private-theater .theater-video-frame.is-ready{opacity:1}
.private-theater .theater-poster-metrics{margin-top:8px;color:#e0d5ff;font-size:clamp(13px,1.1vw,18px);font-weight:650}
.private-theater [data-theater-metrics]{font-size:clamp(14px,1.1vw,18px);color:#d8c9ff;margin:12px 0}
.private-theater .theater-topics{margin-top:26px;border-top:1px solid #ffffff16;padding-top:20px}
.private-theater .theater-topics h3{font-size:18px;margin:0 0 12px}
.private-theater .theater-topics>p{font-size:12px;color:#ada4bb;line-height:1.5}
.private-theater [data-theater-topics]{display:flex;flex-wrap:wrap;gap:8px}
.private-theater [data-theater-topic]{padding:10px 14px;border-radius:20px;font-size:13px;background:#211a2d;border:1px solid #ffffff16;color:#e6ddf4}
.private-theater .theater-preferences{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.private-theater .theater-preferences .theater-resume-toggle{padding:16px;border-radius:16px;background:#ffffff05;margin:0;display:flex;align-items:center;gap:14px}
.private-theater input[role="switch"]{appearance:none;flex:0 0 44px;width:44px;height:26px;border-radius:20px;background:#544d60;border:0;position:relative;cursor:pointer}
.private-theater input[role="switch"]:before{content:'';position:absolute;width:20px;height:20px;left:3px;top:3px;border-radius:50%;background:white;transition:transform .15s}
.private-theater input[role="switch"]:checked{background:#9063e8}
.private-theater input[role="switch"]:checked:before{transform:translateX(18px)}
.private-theater input[role="switch"]:focus-visible{outline:3px solid #c2a2ff;outline-offset:3px}
@media(max-width:700px){.private-theater .theater-preferences{grid-template-columns:1fr}.private-theater .theater-poster-metrics{font-size:12px}}
@media(prefers-reduced-motion:reduce){.private-theater .theater-video-frame,.private-theater input[role="switch"]:before{transition:none}}

.theater-metadata-repair{max-width:700px;margin:24px auto;padding:28px;background:#1b1722;border:1px solid #53415d;border-radius:22px}.theater-metadata-repair[hidden],.theater-metadata-repair [hidden]{display:none!important}.theater-metadata-repair h3{font-size:24px;margin:10px 0 22px}.theater-metadata-repair label{display:grid;gap:9px;font-weight:600;margin:18px 0}.theater-metadata-repair input{box-sizing:border-box;width:100%;min-width:0;padding:14px;color:#fff;border:1px solid #786480;border-radius:12px;background:#100e15;font-size:16px}.theater-metadata-repair p{line-height:1.6;color:#c4b9cf}.theater-metadata-repair button{min-height:44px;max-width:100%;white-space:normal}.theater-metadata-repair [data-repair-suggestions]{display:grid;gap:10px;margin:16px 0}.theater-metadata-repair [data-repair-suggestions] button{text-align:left;padding:14px;background:#302437;border:1px solid #67506f;border-radius:12px}.theater-metadata-repair small{display:block;margin-top:6px;color:#c0b4c8;font-size:13px}.theater-metadata-repair :focus-visible{outline:3px solid #ef8cba;outline-offset:3px}@media(max-width:500px){.theater-metadata-repair{padding:20px;margin:16px 0}.theater-metadata-repair h3{font-size:21px}}

.theater-mobile-back{display:none}
@media(max-width:700px), (max-width:900px) and (max-height:500px){.private-theater.has-library-chrome .theater-header{margin-bottom:20px}.private-theater.has-library-chrome .theater-header>div:first-child{max-width:100%}.private-theater.has-library-chrome .theater-header h2{font-size:30px}.private-theater.has-library-chrome .theater-header .eyebrow{display:none}.private-theater.has-library-chrome .theater-metadata-repair{padding:22px;border:0;background:#19171f}.private-theater.has-library-chrome{--theater-surface:#08080b}}

/* Shared site volume stays outside the unobstructed YouTube player. */
.private-theater .theater-site-volume{display:flex;align-items:center;gap:12px;margin:12px 0 20px;padding:8px 12px;background:rgba(255,255,255,.055);border-radius:16px;color:#e6e6eb}
.private-theater .theater-site-volume button{flex:0 0 44px;width:44px;height:44px;min-height:44px;padding:10px;border:0;border-radius:50%;background:rgba(255,255,255,.08);color:#f1f1f4}
.private-theater .theater-site-volume button:hover{background:rgba(255,255,255,.16)}
.private-theater .theater-site-volume button svg{width:24px;height:24px;display:block}
.private-theater .theater-site-volume label{display:flex;flex:1;min-width:0;flex-direction:column;gap:0;font-size:12px;color:#c4c4ce}
.private-theater .theater-site-volume input{width:100%;min-width:0;height:32px;margin:0;accent-color:#e6e6eb;cursor:pointer}
.private-theater .theater-site-volume output{min-width:4ch;text-align:right;font-size:13px;font-variant-numeric:tabular-nums}

/* v51: restrained cinema layout and compact controls. */
.private-theater{--theater-surface:#0d0e10;--theater-card:#202124;--theater-muted:#b2b3b8;color:#f6f6f7;background:#0d0e10}.private-theater::backdrop{background:#0d0e10}.theater-shell{background:radial-gradient(ellipse at 30% 0,#493b3028,transparent 45%),#0d0e10}.theater-header .eyebrow,.theater-album .eyebrow{color:#b4b4bb;letter-spacing:.16em}.theater-header h2{font-size:clamp(30px,3.2vw,52px)}.theater-player-frame{border-radius:20px;overflow:hidden;background:#161719}.theater-poster{background:radial-gradient(ellipse at 65% 20%,#75645125,transparent 65%),#191a1d}.theater-poster-lettering{opacity:.14}.theater-poster:after{display:none}.theater-poster-play{background:#ffffff18;border-color:#ffffff36}.theater-choices{gap:14px}.private-theater .theater-video-choice{background:#1d1e21;border:1px solid #ffffff0b;border-radius:14px;padding:9px}.private-theater .theater-video-choice:hover{background:#28292d}.theater-choices.is-expanded{max-height:880px;overflow-y:auto;overscroll-behavior:contain;scrollbar-gutter:stable}.private-theater .theater-site-volume{display:flex;align-items:center;gap:10px;width:max-content;max-width:100%;min-height:44px;padding:4px 7px;margin:10px 0 18px;background:#ffffff08;border-radius:24px}.private-theater .theater-site-volume button{width:34px;height:34px;padding:7px;border:0;border-radius:50%;background:#ffffff0d;color:inherit}.private-theater .theater-site-volume label{display:flex;align-items:center;gap:8px;font-size:11px}.private-theater .theater-site-volume input{width:130px;max-width:24vw}.private-theater .theater-site-volume output{font-size:12px;min-width:30px}.private-theater .theater-site-volume [data-theater-volume-open]{display:block}.theater-topics [aria-pressed=true]{background:#45464b;border-color:#777}.theater-related-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:14px}.theater-related-card{display:flex;flex-direction:column;min-width:0;text-align:left;padding:0;border:1px solid #ffffff12;border-radius:15px;overflow:hidden;background:#1d1e21;color:inherit}.theater-related-card img{width:100%;aspect-ratio:16/9;object-fit:cover}.theater-related-card>span{padding:12px;display:grid;gap:7px}.theater-related-card strong{font-size:13px;line-height:1.5;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.theater-related-card small{font-size:11px;color:#b7b7bf}.theater-related-status{font-size:12px;line-height:1.6;color:#b7b7bf}.theater-discovery{min-width:0}.private-theater .theater-site-volume:focus-within{outline:1px solid #ffffff30}
@media(min-width:1100px){.theater-layout{grid-template-columns:minmax(0,1.65fr) minmax(330px,1fr);align-items:start;gap:28px}.theater-video-column{grid-column:1;grid-row:1}.theater-discovery{grid-column:2;grid-row:1 / span 2}.theater-album{grid-column:1;grid-row:2;max-width:100%;padding:20px;border:1px solid #ffffff12;border-radius:18px;background:#17181b}.theater-album img{max-width:160px;float:left;margin-right:22px}.theater-album:after{content:'';display:block;clear:both}}
@media(max-width:700px){.private-theater .theater-site-volume input{width:110px;max-width:32vw}.theater-related-cards{gap:10px}.theater-choices.is-expanded{max-height:720px}.private-theater .theater-site-volume label{font-size:0}.private-theater .theater-site-volume label input{font-size:12px}}

.private-theater .theater-site-volume button{flex:0 0 40px;width:40px;height:40px;min-height:40px;padding:8px}.private-theater .theater-site-volume label{flex:none;flex-direction:row}.private-theater .theater-site-volume [hidden]{display:none!important}.private-theater [data-theater-topic]{background:#25262a;color:#e7e7eb}.private-theater [data-theater-topic][aria-pressed=true]{background:#45464b;border-color:#777}.private-theater [data-theater-metrics]{color:#c9c9d0}.private-theater .theater-poster-metrics{color:#dddde3}

/* Use the same cinema card language inside the theater; beat generic button styles. */
.private-theater .theater-shell{background:radial-gradient(ellipse at 15% 0,#6e513746,transparent 65%),#111315}
.private-theater button.theater-related-card{display:flex;flex-direction:column;align-items:stretch;min-width:0;text-align:left;padding:0;border:1px solid #ffffff25;border-radius:20px;overflow:hidden;background:linear-gradient(140deg,#393631,#252729);color:#faf7f2;box-shadow:0 8px 18px #0002}
.private-theater button.theater-related-card:hover{background:linear-gradient(140deg,#474239,#303235);border-color:#dfceb86b}
.private-theater button.theater-related-card>img{display:block;width:100%;aspect-ratio:16/9;height:auto;object-fit:cover;border-radius:0}
.private-theater button.theater-related-card>span{display:grid;gap:10px;padding:17px;text-align:left}
.private-theater button.theater-related-card strong{display:block;-webkit-line-clamp:unset;font-size:15px;line-height:1.4;font-weight:650;overflow-wrap:anywhere;color:#faf7f2}
.private-theater button.theater-related-card small{font-size:12px;line-height:1.5;color:#c7c2b9}
.private-theater [data-theater-topic]{background:#2c2d2f;color:#e7e3dc;border-color:#ffffff29}
.private-theater [data-theater-topic][aria-pressed=true]{background:#514b41;border-color:#d9c5a478;color:#fff8eb}
.private-theater .theater-original-note{background:#282a2a;border-color:#ffffff1c}
@media(max-width:760px),(max-width:900px) and (max-height:500px){
 .private-theater .theater-related-cards{display:flex;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;scroll-padding-inline:2px;overscroll-behavior-x:contain;padding:4px 2px 17px;scrollbar-width:thin;scrollbar-color:#8b8270 #ffffff0a}
 .private-theater button.theater-related-card{flex:0 0 calc(100% - 22px);scroll-snap-align:start;scroll-snap-stop:always;align-self:stretch}
 .private-theater button.theater-related-card strong{font-size:18px}
 .private-theater button.theater-related-card>span{padding:18px}
 .private-theater [data-theater-topics]{flex-wrap:nowrap;overflow-x:auto;gap:8px;padding:3px 1px 10px;scrollbar-width:none}
 .private-theater [data-theater-topic]{flex:none;white-space:nowrap;font-size:12px;padding:10px 13px;border-radius:22px}
 .private-theater .theater-related-status:not(:empty)::after{content:'Swipe to explore';display:block;margin-top:8px;color:#bfb7a9;font-size:11px;letter-spacing:.03em}
}

/* Keep decrypted canvas artwork in the same compact collection slot as images. */
.private-theater .theater-album{display:grid;grid-template-columns:112px minmax(0,1fr);gap:6px 20px;align-content:start;padding:20px;border:0;border-radius:18px;background:#ffffff05}
.private-theater .theater-album>.eyebrow{grid-column:1/-1;margin:0 0 8px}
.private-theater .theater-album>.private-art-frame,.private-theater .theater-album>:is(img,canvas.private-art-canvas,.theater-album-placeholder){grid-column:1;grid-row:2/5;width:112px;height:112px;max-width:112px;aspect-ratio:1;margin:0;float:none;font-size:36px;border-radius:14px}
.private-theater .theater-album>.private-art-frame>:is(img,canvas.private-art-canvas){width:100%;height:100%;max-width:none;margin:0;float:none}
.private-theater .theater-album h3{grid-column:2;grid-row:2;margin:0;font-size:18px;align-self:end}
.private-theater .theater-album>p:not(.eyebrow){grid-column:2;grid-row:3;margin:0}
.private-theater .theater-album>small{grid-column:2;grid-row:4}
.private-theater .theater-album .theater-source-track{grid-column:1/-1;grid-row:5;margin:12px 0 0;padding:12px 0 0}
.private-theater .theater-album:after{display:none}
.private-theater .theater-site-volume input[type=range]{box-sizing:border-box;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none}
@media(min-width:1100px){.private-theater .theater-video-choice{grid-template-columns:clamp(140px,10vw,184px) minmax(0,1fr)!important}}
@media(max-width:760px){
 .private-theater .theater-album{grid-template-columns:82px minmax(0,1fr);gap:5px 14px;padding:16px}
 .private-theater .theater-album>.private-art-frame,.private-theater .theater-album>:is(img,canvas.private-art-canvas,.theater-album-placeholder){width:82px;height:82px;max-width:82px}
 .private-theater .theater-album h3{font-size:16px}
}

/* The collection follows its video directly, independent of the discovery column height. */
.private-theater .theater-album{--collection-art-size:clamp(180px,22vw,320px);grid-template-columns:var(--collection-art-size) minmax(0,1fr);margin-top:28px;gap:8px 24px}
.private-theater .theater-album>.private-art-frame,.private-theater .theater-album>:is(img,canvas.private-art-canvas,.theater-album-placeholder){width:100%;height:auto;max-width:none;aspect-ratio:1;border-radius:18px;object-fit:contain}
.private-theater .theater-album>.private-art-frame>:is(img,canvas.private-art-canvas){width:100%;height:100%;object-fit:contain}
@media(max-width:1099px) and (min-width:761px){.private-theater .theater-layout{grid-template-columns:minmax(0,1.4fr) minmax(260px,1fr)}.private-theater .theater-discovery{grid-column:2;grid-row:1}.private-theater .theater-album{--collection-art-size:160px}}
@media(max-width:760px){.private-theater .theater-album{grid-template-columns:minmax(0,1fr);gap:12px;padding:18px}.private-theater .theater-album>.private-art-frame,.private-theater .theater-album>:is(img,canvas.private-art-canvas,.theater-album-placeholder){grid-column:1;grid-row:2;width:min(100%,360px);justify-self:center}.private-theater .theater-album h3{grid-column:1;grid-row:3;margin-top:4px}.private-theater .theater-album>p:not(.eyebrow){grid-column:1;grid-row:4}.private-theater .theater-album>small{grid-column:1;grid-row:5}.private-theater .theater-album .theater-source-track{grid-row:6}}

/* Group highlights and a complete, natively scrollable companion list. */
.private-theater .theater-choices{display:flex;flex-direction:column;gap:14px;max-height:clamp(300px,56vh,640px);overflow-y:auto;overflow-x:hidden;scrollbar-width:none;scrollbar-gutter:auto;padding:3px}
.private-theater .theater-choices::-webkit-scrollbar,.private-theater .theater-related-cards::-webkit-scrollbar{display:none}
.private-theater .theater-choices .theater-video-choice{flex:none;grid-template-columns:clamp(90px,26%,184px) minmax(0,1fr)!important;align-items:center}
.private-theater .theater-choices:focus-visible{outline:2px solid #bfc0c8;outline-offset:3px;border-radius:14px}
.private-theater .theater-scroll-hint{font-size:12px;color:#b2b3b8;margin:12px 3px 0}
.private-theater .theater-related-cards{scrollbar-width:none}
.private-theater .theater-highlights{display:flex;flex-wrap:wrap;gap:7px;margin-top:12px}
.private-theater .theater-highlight{display:inline-flex;align-items:center;gap:7px;padding:7px 10px;border:0;border-radius:999px;background:#f1eee5;color:#292a2e;font-size:12px;font-weight:750;line-height:1.3;white-space:nowrap}
.private-theater .theater-highlight svg{width:17px;height:17px;flex:none}
.private-theater .theater-highlight-liked{background:#e9c9d9;color:#422237}
.private-theater .theater-header-actions>button{background:#303139;color:#f5f5f7;border:0;border-radius:12px;font-weight:550;box-shadow:none}
.private-theater .theater-header-actions>button:hover{background:#3d3e47}
.private-theater .theater-header-actions>button:focus-visible{outline:2px solid #c7c8d0;outline-offset:3px}
@media(max-width:760px){.private-theater .theater-choices .theater-video-choice{gap:10px}.private-theater .theater-highlight{font-size:11px;padding:6px 9px}.private-theater .theater-highlight svg{width:15px;height:15px}}
