/* An original theater layout shared by the clip and discussion views. */
.shinobi-theater {
  --theater-ink: #f5f3fd;
  --theater-muted: #bfbed9;
  --theater-line: #403c66;
  --theater-gold: #ffd785;
  color: var(--theater-ink);
  margin: 0 auto 3.5rem;
  max-width: 1380px;
  min-width: 0;
}
.theater-intro {
  background: linear-gradient(95deg, #101022 20%, #131229e0 42%, #21143b26 100%), #18152d url('/assets/site-photo/arena.webp') right 42% / cover no-repeat;
  padding: clamp(1.6rem, 6vw, 4.8rem);
  border: 1px solid #4a406a;
  border-radius: 22px 22px 4px 4px;
}
.theater-intro h1 {
  margin: .24em 0 .18em;
  font: 850 clamp(2.5rem, 7vw, 5.7rem)/.95 system-ui, sans-serif;
  letter-spacing: -.065em;
  color: #fff9ef;
}
.theater-intro p:not(.theater-label){color:#ede6fb;max-width:42ch;font-size:1.06rem}
.theater-label { color:var(--theater-gold);font:760 .76rem/1.3 system-ui,sans-serif;letter-spacing:.13em;text-transform:uppercase; }
.theater-intro a,.shinobi-theater a{color:var(--theater-gold);text-underline-offset:.22em}
.theater-layout{display:grid;grid-template-columns:minmax(0,2.3fr) minmax(280px,1fr);grid-template-areas:"watch queue" "discussion queue";grid-template-rows:min-content 1fr;align-items:start;gap:clamp(1rem,3vw,2.5rem);padding-block:clamp(1rem,4vw,2.5rem)}
.theater-watch{grid-area:watch}
.theater-queue{grid-area:queue}
.theater-discussion{grid-area:discussion;min-width:0}
.theater-watch,.theater-queue,.theater-stage{min-width:0}
.theater-stage{scroll-margin-top:calc(var(--cosmic-header-height,0px) + .75rem)}
.shinobi-theater :is(button,a,select,input,textarea,summary,.theater-stage):focus-visible{outline:2px solid var(--theater-gold);outline-offset:3px}
.theater-watch h2[data-title]{margin:.8em 0 .25em;font:750 clamp(1.35rem,3vw,2.35rem)/1.15 system-ui,sans-serif;color:#fff8ed}
.theater-watch [data-description]{color:var(--theater-muted);max-width:66ch;line-height:1.65}
.theater-stage video{display:block;width:100%;max-height:min(67vh,650px);aspect-ratio:16/9;object-fit:contain;background:#070812;border:1px solid #393756;border-radius:14px}
.theater-stage.archive-screen{padding:0;border:none;background:none}
.theater-stage select{max-width:100%;margin:.75rem 0 0}
.theater-transport{display:flex;align-items:center;flex-wrap:wrap;gap:.45rem;margin:.7rem 0 1rem}
.theater-transport button{min-height:44px;padding:.43rem .66rem;background:#23213b;color:var(--theater-ink);border:1px solid #655d83;border-radius:8px;font:600 .88rem/1.3 system-ui,sans-serif}
.theater-transport button:not(:disabled):hover{border-color:var(--theater-gold)}
.theater-transport button:disabled{opacity:.66;cursor:default}
.theater-transport [data-position]{color:var(--theater-muted);font-size:.85rem;font-variant-numeric:tabular-nums}
.theater-queue{border-inline-start:1px solid var(--theater-line);padding-inline-start:clamp(1rem,2vw,1.6rem)}
.theater-queue h2,.film-discussion h2{margin:0 0 .75rem;font:750 1.35rem/1.25 system-ui,sans-serif;color:inherit}
.theater-controls{display:grid;grid-template-columns:minmax(0,1fr);gap:.65rem;margin-bottom:.8rem}
.theater-queue label,.film-discussion label{display:grid;gap:.3rem;min-width:0}
.theater-queue input,.theater-queue select,.theater-queue textarea,.film-discussion textarea{
  width:100%;min-width:0;padding:.6rem .7rem;border:1px solid #655f7c;border-radius:8px;background:#111120;color:#f7f2ff;font:inherit;
}
.theater-queue input[type=file]{font-size:.84rem}
.theater-queue [data-playlist]{display:grid;gap:.35rem;max-height:39rem;overflow:auto;scrollbar-color:#8c7bb6 #161423}
.theater-queue-item {
  width:100%;display:grid;grid-template-columns:minmax(75px,35%) minmax(0,1fr);gap:.7rem;align-items:center;
  text-align:left;color:#f7f1ff;background:#1a182b;border:1px solid transparent;border-radius:9px;padding:.36rem;
}
.theater-queue-item:hover,.theater-queue-item[aria-current=true]{background:#27213f;border-color:#8674ae}
.theater-queue-item img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:5px}
.theater-queue-item strong,.theater-queue-item small{display:block;overflow-wrap:anywhere}
.theater-queue-item strong{font:700 .92rem/1.3 system-ui,sans-serif}
.theater-queue-item small{margin-top:.2rem;font:500 .75rem/1.35 system-ui,sans-serif;color:#d5cbe9}
.theater-upload{border-top:1px solid var(--theater-line);margin-top:1.4rem;padding-top:1rem}
.theater-upload h3{margin:0 0 .45rem;font:730 1.12rem/1.4 system-ui,sans-serif;color:inherit}
.theater-upload form,.film-discussion form{display:grid;gap:.65rem}
.theater-upload form button,.film-discussion form button,.theater-queue [data-member-more]{
  justify-self:start;padding:.55rem .8rem;min-height:42px;border:1px solid #9f83ba;background:#352750;border-radius:8px;color:#fff6ff;font:inherit;
}
.theater-queue [data-member-more]{margin-top:.65rem}
.film-discussion{border-top:1px solid #67628480;margin-top:1.55rem;padding-top:1.15rem;color:#efedf7}
.film-discussion form{margin:.65rem 0}
.film-discussion form[hidden],.shinobi-theater [hidden],.film-discussion[hidden]{display:none!important}
.film-discussion [data-discussion-list] article{padding:.75rem 0;border-bottom:1px solid #69628555;overflow-wrap:anywhere}
.film-discussion [data-discussion-list] p{white-space:pre-wrap;margin:.3rem 0}
.film-discussion time,.film-discussion [data-discussion-audience]{color:#c4b9d7}
.film-discussion time{font-size:.82rem}
.film-text-button{border:0;background:none;color:#dac4ff;text-decoration:underline;padding:.45rem 0}
.theater-watch [data-status]:empty,.film-discussion [data-discussion-status]:empty,.theater-upload [role=status]:empty,.theater-queue [data-queue-status]:empty{display:none}
.theater-layout .theater-discussion{margin-top:0}
.theater-queue [data-queue-status]{color:var(--theater-muted);margin:.4rem 0 0;font-size:.88rem}
.film-study-note{border-block:1px solid var(--theater-line);padding:.7rem 0;margin:1rem 0;max-width:72ch}
.film-study-note summary{cursor:pointer;color:#e7d3fc}
.screening-features{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.1rem 0 2rem}
.screening-features a{display:grid;align-content:end;gap:.3rem;min-height:120px;padding:1rem 1.25rem;line-height:1.45;color:#fff9f5;text-decoration:none;border:1px solid #686382;border-radius:12px;background:linear-gradient(103deg,#131127,#15112283),url('/assets/site-photo/arena.webp') center 42% / cover}
.screening-features a:nth-child(2){background-image:linear-gradient(103deg,#10222a,#10182993),url('/assets/film-review/cannon-pivot-recovery.webp')}
.screening-features a:hover{text-decoration:underline;border-color:#e7c28f}
.screening-features a span{color:#e8dfeb;font-size:.88rem}
.storm-archive{scroll-margin-top:1rem}
@media(max-width:900px){.theater-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"watch" "queue" "discussion";grid-template-rows:auto}.theater-queue{border-inline-start:0;border-top:1px solid var(--theater-line);padding:1rem 0 0}.theater-queue [data-playlist]{max-height:29rem}.theater-queue-item{grid-template-columns:minmax(84px,25%) minmax(0,1fr)}}
@media(max-width:540px){.theater-intro{background-position:60% 42%;padding:1.4rem 1rem}.screening-features{grid-template-columns:1fr}.theater-layout{gap:1.25rem}}

.theater-opening-poster{display:block;width:100%;height:auto;max-height:min(67vh,650px);aspect-ratio:16/9;object-fit:contain;border:1px solid #393756;border-radius:14px;background:#070812}
.theater-opening-links{min-block-size:7.5rem;padding:.75rem 0}
.theater-opening-links a{display:inline-flex;align-items:center;min-block-size:44px;padding-inline:.45rem}
.theater-opening-links p{margin:0}
@media(max-width:600px){.theater-opening-links{min-block-size:9.5rem}}
