.cinema-scene-page{height:100svh;height:100dvh;overflow:hidden;background:#0b1a21;color:#f6e5c5;--ink:#f6e5c5}
.cinema-scene-page .preview-header{position:absolute;inset:0 0 auto;z-index:10;border:0;background:linear-gradient(#061520d9,#06152065 65%,transparent);color:#f6e5c5;text-shadow:0 1px 7px #0008;padding-bottom:28px;pointer-events:none}
.cinema-scene-page .preview-header>*{pointer-events:auto}.cinema-scene-page .chapter-number{opacity:.8}.cinema-scene-page .lang-picker{color:#f6e5c5}
.cinema-scene{position:absolute;inset:0;isolation:isolate;overflow:hidden}
.cinema-street{position:absolute;inset:0;display:block;background:#183b46;animation:cinema-arrive 1s both}
.cinema-street img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}
.cinema-atmosphere{position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,#081a2812,transparent 35%,transparent 60%,#04121c50 78%,#04111de8),radial-gradient(ellipse at 50% 45%,transparent 35%,#04111c25 95%)}
.canopy-light{position:absolute;inset:42% 20% 14%;pointer-events:none;background:radial-gradient(ellipse,#ffc57212,transparent 70%);mix-blend-mode:screen;animation:canopy-warmth 9s ease-in-out infinite}
.cinema-entry-caption{position:absolute;left:clamp(22px,4.5vw,72px);right:clamp(22px,4.5vw,72px);bottom:max(26px,env(safe-area-inset-bottom));display:grid;grid-template-columns:1fr auto 1fr;align-items:end;gap:24px;text-shadow:0 2px 12px #04111dcc}
.cinema-eyebrow{font-size:10px;letter-spacing:.12em;margin:0 0 8px;color:#e1d3b9;line-height:1.6}
.cinema-entry-title h1{font-size:clamp(29px,3.5vw,46px);font-weight:400;letter-spacing:.17em;margin:0;line-height:1.2}
.cinema-announcement{text-align:center;padding-bottom:3px}.cinema-coming{font-size:clamp(18px,2.1vw,26px);letter-spacing:.18em;margin:0 0 9px;line-height:1.4}.cinema-making{font-size:10px;margin:0;color:#d5c6a9;line-height:1.7;max-width:40ch;text-wrap:balance}
.poster-invitation{justify-self:end;display:flex;align-items:center;gap:17px;border:1px solid #eddfbd88;border-radius:30px;background:#102b30a6;color:#f5e2be;min-height:46px;padding:11px 19px;font-size:12px;cursor:pointer;backdrop-filter:blur(6px)}
.poster-invitation:hover{background:#244840d9;border-color:#f2dbab}.poster-invitation:focus-visible{outline:2px solid #fff3d8;outline-offset:5px}
@keyframes cinema-arrive{from{opacity:.25;transform:scale(1.015)}to{opacity:1;transform:scale(1)}}@keyframes canopy-warmth{0%,100%{opacity:.5}50%{opacity:1}}
@media(max-width:700px){.cinema-scene-page .preview-header{padding:9px 14px 22px}.cinema-scene-page .preview-back{font-size:10px}.cinema-scene-page .chapter-number{font-size:9px}.cinema-entry-caption{left:19px;right:19px;bottom:max(22px,env(safe-area-inset-bottom));gap:16px;grid-template-columns:1fr auto}.cinema-entry-title{grid-column:1}.cinema-eyebrow{font-size:8px;letter-spacing:.07em;max-width:27ch;margin-bottom:6px}.cinema-entry-title h1{font-size:30px}.cinema-announcement{grid-column:1 / -1;grid-row:1;text-align:left;padding-bottom:0}.cinema-coming{font-size:19px;margin-bottom:6px;letter-spacing:.13em}.cinema-making{font-size:9px;max-width:34ch;line-height:1.6}.poster-invitation{grid-column:2;font-size:10px;gap:11px;min-height:44px;padding:10px 14px}.cinema-atmosphere{background:linear-gradient(180deg,#081a2808,transparent 37%,transparent 64%,#04111d88 80%,#04111df2)}.canopy-light{inset:38% 10% 20%}}
html[lang=en] .cinema-entry-title h1{letter-spacing:.08em}html[lang=en] .cinema-coming{letter-spacing:.09em}
@media(max-height:500px) and (min-aspect-ratio:4/5){.cinema-entry-caption{bottom:14px}.cinema-entry-title h1{font-size:25px}.cinema-eyebrow{display:none}.cinema-coming{font-size:17px}.cinema-making{font-size:9px}.cinema-scene-page .preview-header{min-height:50px;padding-top:3px}}
@media(prefers-reduced-motion:reduce){.cinema-street,.canopy-light{animation:none}}
/* Preserve the full set of posters on tall phones; extend the painted dusk softly. */
@media(max-aspect-ratio:4/5){.cinema-street:before{content:"";position:absolute;inset:-24px;background:url('assets/chapter-previews/cinema-mobile.webp') center/cover no-repeat;filter:blur(22px) brightness(.7)}.cinema-street img{position:relative;object-fit:contain;object-position:50% 45%}}

.cinema-poster-dialog {
  position: fixed;
  box-sizing: border-box;
  width: min(94vw, 1060px);
  max-width: 94vw;
  max-height: 93dvh;
  overflow: auto;
  padding: clamp(10px, 2.5vw, 30px);
  border: 1px solid #d2b37c68;
  border-radius: 5px;
  background: #101a20;
  color: #f2dfba;
  box-shadow: 0 20px 70px #000b;
}
.cinema-poster-dialog::backdrop {
  background: #050e16ec;
  backdrop-filter: blur(8px);
}
.cinema-poster-dialog .poster-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.poster-header h2 {
  margin: 0;
  font-size: clamp(16px, 2.2vw, 23px);
  font-weight: 400;
  letter-spacing: .07em;
}
.cinema-poster-dialog button {
  color: inherit;
  font: inherit;
}
.cinema-poster-dialog button:focus-visible {
  outline: 2px solid #ffebbf;
  outline-offset: 3px;
}
.cinema-poster-dialog .poster-close,
.cinema-poster-dialog .poster-step {
  display: grid;
  place-items: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
  border: 1px solid #f0d7a84a;
  border-radius: 50%;
  background: #253038;
  font-size: 22px;
  cursor: pointer;
}
.cinema-poster-dialog .poster-close:hover,
.cinema-poster-dialog .poster-step:hover { background: #39464e; }
.poster-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  gap: clamp(7px, 2.2vw, 28px);
}
.cinema-poster-dialog .poster-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  background: transparent;
  text-align: center;
  cursor: zoom-in;
}
.poster-card img {
  display: block;
  width: 100%;
  max-height: min(67dvh, 550px);
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: contain;
}
.poster-caption {
  display: block;
  font-size: clamp(10px, 1.45vw, 16px);
  line-height: 1.5;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.cinema-poster-dialog.is-viewing {
  width: min(94vw, 560px);
}
.is-viewing .poster-gallery {
  grid-template-columns: 1fr;
  touch-action: pan-y;
}
.is-viewing .poster-card { cursor: zoom-out; }
.is-viewing .poster-card:not(.is-current) { display: none; }
.is-viewing .poster-card img { max-height: max(135px, calc(90dvh - 174px)); }
.is-viewing .poster-caption { font-size: clamp(13px, 2.2vw, 17px); }
.poster-controls { display: none; }
.is-viewing .poster-controls {
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 12px;
  margin: 10px auto 0;
  width: min(100%, 325px);
}
.poster-progress {
  display: grid;
  justify-items: center;
  gap: 1px;
  font: 12px/1.25 system-ui, sans-serif;
}
.cinema-poster-dialog .poster-overview {
  padding: 0 8px;
  min-height: 32px;
  border: 0;
  color: #e0cfae;
  background: none;
  cursor: pointer;
  text-underline-offset: .2em;
  text-decoration: underline;
}
.poster-sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 2026-12-02: the movie posters are the main entrance, not a corner utility. */
.cinema-scene-page .cinema-entry-caption{
  grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);
  align-items:end;
}
.cinema-entry-caption .cinema-announcement{grid-column:2;grid-row:1;text-align:center;padding:0;}
.cinema-entry-caption .cinema-making{font-size:13px;max-width:none;}
.cinema-actions{display:flex;justify-content:center;align-items:center;gap:12px;margin-top:13px;}
.cinema-actions .chapter-entry-audio{margin:0;}
.cinema-actions .chapter-entry-audio button{min-height:48px;font-size:15px;padding:9px 18px;white-space:nowrap;}
.cinema-actions .poster-invitation{
  display:inline-flex;justify-content:center;align-items:center;gap:15px;
  min-height:52px;padding:12px 23px;border:1px solid #eed5a2;border-radius:5px;
  background:#f0dfb9;color:#34271b;box-shadow:0 3px 18px #0005;
  font-size:clamp(16px,1.2vw,19px);font-weight:600;line-height:1.3;
  text-shadow:none;white-space:nowrap;touch-action:manipulation;
  transition:background .18s ease,box-shadow .18s ease;
}
.cinema-actions .poster-invitation:hover{background:#fff0ce;border-color:#fff0ce;box-shadow:0 3px 22px #0008;}
.cinema-actions .poster-invitation:focus-visible{outline:2px solid #fff4d6;outline-offset:4px;}
.cinema-poster-dialog .poster-caption{font-size:clamp(13px,1.45vw,18px);}
@media(max-width:850px){
  .cinema-scene-page .cinema-entry-caption{grid-template-columns:1fr;gap:12px;}
  .cinema-entry-caption .cinema-announcement{grid-column:1;grid-row:2;}
  .cinema-entry-caption .cinema-entry-title{grid-column:1;grid-row:1;}
  .cinema-actions{gap:9px;flex-wrap:wrap;}
  .cinema-actions .poster-invitation{font-size:16px;min-height:48px;padding:10px 16px;}
  .cinema-actions .chapter-entry-audio button{font-size:14px;padding:8px 12px;min-height:48px;}
}
@media(max-width:760px){
  .cinema-scene-page .cinema-entry-caption{bottom:calc(78px + env(safe-area-inset-bottom));}
}
@media(max-height:500px) and (min-aspect-ratio:4/5){
  .cinema-scene-page .cinema-entry-caption{bottom:14px;}
  .cinema-actions{margin-top:6px;}
  .cinema-actions .poster-invitation,.cinema-actions .chapter-entry-audio button{min-height:44px;padding-top:7px;padding-bottom:7px;}
}
