#cinemaInstall img {width:27px;height:27px;border-radius:6px;flex:none}

#cinemaInstall {text-decoration:none}
#cinemaInstall[aria-disabled="true"] {cursor:default}
.installPage {margin:0; background:#101419; color:#fff1d3; color-scheme:dark;
  font:1rem/1.5 system-ui,sans-serif; text-align:center}
.installPage *, .installPage *::before, .installPage *::after {box-sizing:border-box}
.installPage [hidden] {display:none!important}
#installCard {width:min(100% - 2rem,27rem); margin:clamp(1rem,12vh,7rem) auto 2rem;
  padding:clamp(1.25rem,5vw,2.75rem); border:1px solid #837148; border-radius:1rem; background:#172321}
.installCrest {width:6.5rem;height:6.5rem;object-fit:contain}
#installCard h1 {font-size:clamp(1.45rem,5vw,1.85rem);line-height:1.2;margin:.75rem 0 1.4rem;overflow-wrap:anywhere}
#installAction :is(button,a) {display:inline-flex;align-items:center;justify-content:center; min-height:48px;
  width:100%;padding:.7rem 1rem; border:1px solid #ebc779; border-radius:.65rem; background:#f5d48d;
  color:#191711; font:700 1.15rem/1.4 system-ui,sans-serif; cursor:pointer;text-decoration:none;overflow-wrap:anywhere}
#installAction button:disabled {opacity:.75;cursor:wait}
#installCard :focus-visible, #cinemaInstall:focus-visible {outline:3px solid #fff;outline-offset:3px}
#installNote {font-size:1.05rem;white-space:pre-line;overflow-wrap:anywhere;margin:1rem 0}
#installNote:empty {display:none}
#cinemaHome {display:inline-block;color:#e4cd9c;padding:.75rem .25rem;text-underline-offset:.2em}
@media(max-width:700px),(max-height:540px) and (max-width:1050px),(pointer:coarse) and (max-width:1050px) {
  #page[data-palace]:not(.film-only) {--visible-dock:0px;padding-inline:clamp(7px,2vw,16px)}
  #page[data-palace]:not(.film-only) #scene.hiwScrollable {
    --palace-base:100%;max-height:none;aspect-ratio:auto;
    overflow-x:clip!important;overflow-y:visible!important;
  }
  #page[data-palace]:not(.film-only) #scene.magnified {
    overflow-x:auto!important;overflow-y:hidden!important;
  }
  #page[data-palace]:not(.film-only) #scene #projectionStage {max-width:none}
  #page[data-palace] #playbackPanel select {max-width:100%;min-width:0}
}

@media(max-height:540px) and (max-width:1050px) {
  #page[data-palace]:not(.film-only) #scene.hiwScrollable:not(.magnified) {
    --palace-base:min(100%,calc((100dvh - 12px) * 1672 / 941));
  }
}

#page:not([data-palace="1"]) .cinemaDownload {display:none}
.cinemaDownload a {display:inline-block;padding:.55em 0;color:#f5db98;text-underline-offset:.2em}
