html.cinema, .cinema body {height:100%;overflow:hidden;background:#080b12}
.cinema main {height:100dvh;overflow:clip}
.cinema #main>section:not(.stage-live),.cinema .year-rail,.cinema .site-footer {display:none}
.cinema #main>section.stage-live {height:100dvh;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}

#pearl-wave {
  position: fixed;
  inset: auto 0 0;
  z-index: 13;
  width: 100%;
  height: 22px;
  opacity: .65;
  pointer-events: none;
}
.cinema #workshop .site-footer { display: block; margin-top: 2rem; }
.workshop-fingerprint { font: .72rem/1.65 var(--mono); overflow-wrap: anywhere; }
.workshop-fingerprint output { color: #c59b64; }
.contest-cue {
  position: fixed;
  right: var(--edge);
  bottom: 65px;
  z-index: 15;
  display: flex;
  align-items: center;
  gap: .65rem;
  padding: .3rem .55rem;
  background: #101115d4;
  color: #e7d4b0;
  border: 1px solid #c79b6160;
  border-radius: 4px;
  font: .72rem var(--mono);
}
.contest-cue[hidden], .context-cursor[hidden] { display: none; }
.contest-cue button { color: inherit; background: transparent; border: 1px solid #c79b6160; border-radius: 3px; }
.context-cursor {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid #b48a51;
  border-radius: 50%;
  background: #14100bd0;
  color: #efd1a0;
  font: .8rem var(--display);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .context-pointer :is(.curtain-lock,.curtain-portrait,[data-doc],.citation,[data-sources],#wing-trigger,#wing-replay,#wings canvas,#orbit-globe,.compare-view,.gallery),
  .context-pointer :is(.curtain-lock,.curtain-portrait,[data-doc],.citation,[data-sources],#orbit-globe,.compare-view,.gallery) * { cursor: none; }
}
.cinema .mast {min-height:60px}
.cinema .mast-nav {gap:clamp(.6rem,2.1vw,2.2rem)}
.mast-nav button,.director button,.citation,.sources-trigger {background:transparent;color:inherit;border:0;min-height:36px;cursor:pointer;font:inherit}
.mast-nav button {font-size:.78rem;letter-spacing:.09em;border-bottom:1px solid transparent}
.mast-nav button[aria-current=step] {color:#e6b775;border-color:currentColor}
.director {position:fixed;z-index:12;bottom:0;left:0;right:0;height:56px;display:flex;align-items:center;gap:1rem;padding:0 var(--edge);color:#e7d4b0;background:#0b0d12ed;border-top:1px solid #dcaf6e50;backdrop-filter:blur(14px);font: .75rem var(--mono)}
#previous-act {font-size:1.5rem}
.film-ticks {display:flex;flex:1;gap:5px;max-width:330px}
.film-ticks button {flex:1;position:relative}
.film-ticks button:after {content:'';position:absolute;left:0;right:0;top:50%;height:2px;background:#b69a6a55}
.film-ticks [aria-current=step]:after {background:#e1aa5e;animation:film-time 1.4s linear;transform-origin:left}
@keyframes film-time {from{transform:scaleX(.03)}}
#act-hint {margin-left:auto}
#next-act {border:1px solid #bea06f77;padding:.25rem .85rem}
.cinema .prologue-inner,.cinema .history-inner,.cinema .confluence-inner,.cinema .finale-inner {padding-bottom:max(76px,9svh)}
.stage-live .chapter-line {animation:lift .65s both}
.stage-live .history-spread,.stage-live .confluence-layout,.stage-live .finale-center {animation:lift .75s .18s both}
.stage-live .history-controls {animation:lift .55s .62s both}
.era-line {
  margin: .5rem 0 0;
  padding-inline-start: .62rem;
  border-inline-start: 1px solid currentColor;
  color: #e5be86;
  font: 600 clamp(.68rem, 1vw, .89rem)/1.45 var(--display, serif);
  letter-spacing: .065em;
}
.history .era-line { color: #784227; }
.cinema .history .era-line { color: #e5be86; }
.sky-copy .era-line { margin: 0 0 .55rem; }
.finale-pledge {
  margin: 0 0 .8rem;
  padding: .44rem .5rem;
  border-inline-start: 0;
  border-block: 1px solid #cfa16d50;
  font-size: clamp(.8rem, 1.6vw, 1.15rem);
}
@keyframes lift {from{opacity:0;translate:0 12px}to{opacity:1;translate:0 0}}
.cinema .history {color-scheme:dark;color:#f2dfbd;--chapter-rule:#b2996d60;--chapter-accent:#ebb877;--chapter-muted:#dec5a0}
.cinema .history-base,.cinema .history-stage[data-embers=true] .history-base {background:radial-gradient(ellipse at 71% 53%,#443328 0,#221c1c 47%,#0e1015 95%)}
.cinema .history-date,.cinema .archive-seal,.cinema .history-figure figcaption,.cinema .history-controls {color:#e5b77e}
.cinema .history-lede {color:#ebdfca}
.history .history-watermark {color:#793d24;opacity:.075;bottom:1%}
.cinema .history .history-watermark {color:#f1cd85}
.cinema .history-steps {max-width:38rem;gap:.4rem}
.cinema .history-steps button {color:#dbc3a0;font-size:.77rem}
.cinema .history-steps button[aria-current]{color:#ffd894}
.citation,.sources-trigger {font:500 .73rem var(--mono);color:#ddb483;text-decoration:underline;text-underline-offset:4px;padding:.4rem}
.history-fold .citation,.history-fold [data-doc]{color:#782923}
.history-map {width:min(100%,420px);height:130px;display:block}
.cinema .atlas {padding-bottom:60px}
.cinema .workshop {padding-block:70px 80px}
.sources-trigger {display:block;margin:.5rem auto}
.cinema .evidence-dialog {width:min(860px,95vw);max-height:86dvh;padding:clamp(1.1rem,3vw,2.6rem);border:1px solid #9f7852;background:#f1e7d5;color:#34271e;color-scheme:light}
.evidence-dialog::backdrop {background:#080a10ba;backdrop-filter:blur(5px)}
.evidence-top {display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid #826a4b60;padding-bottom:.45rem;font: .77rem var(--mono)}
.evidence-top button {border:1px solid #88634077;background:#eee0c9;color:#493828;padding:.3rem .65rem}
.evidence-dialog h2 {margin:1rem 0 .5rem;font-size:clamp(1.4rem,2.6vw,2.2rem)}
.evidence-dialog h3 {margin:1rem 0 .4rem}
.evidence-dialog blockquote {margin:.7rem 0;padding:.5rem 1rem;border-left:2px solid #974432}
.evidence-dialog figure {margin:.8rem 0}
.evidence-dialog img {width:100%;max-height:48svh;object-fit:contain;background:#dfd3bf}
.evidence-dialog figcaption,.evidence-dialog small {font-size:.75rem;color:#695640;display:block}
.evidence-dialog a,.evidence-dialog .citation {color:#813424;text-decoration:underline;text-underline-offset:.22em}
.cinema .history-fold {z-index:20}
.cinema .school-story {background:linear-gradient(110deg,#271d1b59,#120f11bf);border-left:1px solid #b2936166}
.cinema .mast {height:60px;min-height:60px;padding-block:.35rem}
.cinema #prologue .curtain-lock {top:28%;left:50%}
.curtain-crest {position:absolute;top:78px;left:50%;transform:translateX(-50%);width:50px;height:50px;border-radius:50%;padding:3px;outline:1px solid #dfa964;box-shadow:0 0 23px #e7ac6a66;opacity:0;transition:opacity .7s .5s}
.curtain-open .curtain-crest {opacity:1}
.curtain-crest img {height:100%;width:100%;border-radius:inherit;object-fit:contain}
.curtain-lock > img {border-radius:50%}
.cinema .history-lede {min-height:0}
.cinema .workshop-shell {padding-block:clamp(1.4rem,3.5vh,2.1rem) .4rem}
.cinema .workshop-shell canvas {max-height:65dvh;object-fit:contain}
.evidence-dialog small {overflow-wrap:anywhere}
.evidence-dialog figcaption {margin-top:.35rem}
@media(max-height:740px){.history-map{height:76px}.cinema .history-lede{min-height:0}.cinema .history h2{margin:.5rem 0}}
@media(max-width:690px){.director{height:49px;gap:.5rem;padding:0 .7rem}.film-ticks{max-width:115px}#act-hint{display:none}#next-act{margin-left:auto}.cinema .history-inner{padding-bottom:60px}.history-map{height:78px}.cinema .history-steps{gap:0}.cinema .history-steps button{font-size:.62rem}.cinema .history-controls{gap:.4rem}.cinema .confluence-inner{padding-bottom:65px}.cinema .prologue-foot{flex-wrap:wrap}.cinema .prologue-foot .citation{font-size:.59rem}.cinema .mast-nav{display:none}.cinema .workshop{padding-bottom:65px}}
@media(max-width:690px){.curtain-crest{left:auto;right:1.1rem;top:69px;width:36px;height:36px}}
