/* Focused crops preserve the existing privacy edits; the hero uses the approved film. */
.page-popup-story { --popup-line:#65463f26; }
.popup-wrap { width:min(1180px,calc(100% - 80px)); margin-inline:auto; }
.page-popup-story :is(.popup-hero,.popup-scenes,.popup-film-section,.popup-more,.popup-related) { overflow-wrap:anywhere; }
.page-popup-story :is(.popup-hero,.popup-scenes,.popup-film-section,.popup-more,.popup-related) p { line-height:1.85; }
.popup-eyebrow { margin:0 0 14px; color:var(--coral-dark); font-size:.8125rem; font-weight:650; letter-spacing:.02em; }
.popup-hero { display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); grid-template-areas:"back back" "copy film" "details film" "privacy privacy"; gap:18px 72px; align-items:center; padding-block:24px 34px; }
.popup-hero-copy { grid-area:copy; align-self:end; }
.popup-hero-details { grid-area:details; align-self:start; }
.popup-back { grid-area:back; justify-self:start; display:inline-flex; align-items:center; min-height:44px; margin-bottom:0; color:var(--muted); font-size:.8125rem; }
.page-popup-story .popup-hero h1 { margin:0; font-size:clamp(38px,4.4vw,62px); line-height:1.3; letter-spacing:-.05em; }
.popup-lead { margin:18px 0 20px; color:var(--muted); font-size:1rem; }
.popup-meta { display:flex; flex-wrap:wrap; align-items:center; gap:8px 12px; font-size:.8125rem; }
.popup-meta p { margin:0; color:var(--muted); }
.popup-ended { padding:5px 10px; border:1px solid var(--popup-line); border-radius:99px; background:#f8eee8; font-weight:600; }
.popup-jump { display:flex; flex-wrap:wrap; gap:6px 22px; margin-top:16px; }
.popup-jump a,.popup-text-link { display:inline-flex; gap:18px; align-items:center; min-height:44px; font-size:.875rem; text-decoration:underline; text-underline-offset:5px; }
.popup-photo { min-width:0; margin:0; }
.popup-photo > a { display:block; border-radius:10px; overflow:hidden; background:#f3ebe5; }
.page-popup-story .popup-photo img { display:block; width:100%; height:auto; object-fit:contain; }
.popup-photo figcaption { margin-top:12px; color:var(--muted); font-size:.8125rem; line-height:1.7; }
.popup-privacy-note { grid-area:privacy; grid-column:1/-1; margin:0; padding-top:8px; color:var(--muted); font-size:.75rem; text-align:right; }
.popup-scenes { scroll-margin-top:112px; }
.popup-scene { padding-block:44px; border-top:1px solid var(--popup-line); }
.page-popup-story .popup-section-heading h2,.page-popup-story .popup-related h2 { margin:0; font-size:clamp(24px,2.1vw,30px); line-height:1.4; letter-spacing:-.045em; }
.popup-section-heading { display:flex; flex-wrap:wrap; justify-content:space-between; gap:8px 24px; align-items:baseline; margin-bottom:20px; }
.popup-section-heading > p { margin:0; max-width:520px; color:var(--muted); font-size:.875rem; }
.popup-photo-pair { align-items:start; display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:24px; }
.popup-game-pair { grid-template-columns:minmax(0,1.2fr) minmax(0,1fr); align-items:end; }
.popup-film-section { padding-block:58px; background:#f8eee8; scroll-margin-top:92px; }
.popup-player-stage { display:grid; place-items:center; overflow:hidden; background:#271e1a; border-radius:12px; }
#popup-player { display:block; width:100%; height:auto; max-height:68dvh; aspect-ratio:16/9; object-fit:contain; background:#271e1a; }
#popup-player[data-orientation="portrait"] { width:min(100%,420px); aspect-ratio:9/16; }
.popup-player-caption { display:flex; flex-wrap:wrap; justify-content:space-between; gap:6px 20px; padding-top:14px; color:var(--muted); font-size:.8125rem; }
.popup-player-caption p { margin:0; color:var(--ink); font-weight:600; }
.popup-film-list { margin-top:24px; border-block:1px solid var(--popup-line); }
.popup-film-list summary,.popup-more-photos summary { display:flex; align-items:center; justify-content:space-between; gap:16px; min-height:64px; padding:16px 0; cursor:pointer; font-size:.9375rem; font-weight:600; list-style:none; }
.popup-film-list summary::-webkit-details-marker,.popup-more-photos summary::-webkit-details-marker { display:none; }
.popup-disclosure { flex:0 0 11px; width:11px; height:11px; margin:0 5px 5px; border:solid currentColor; border-width:0 1.5px 1.5px 0; transform:rotate(45deg); }
details[open] > summary .popup-disclosure { transform:rotate(225deg); margin-top:7px; }
.popup-clip-options { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px; padding-bottom:22px; }
.popup-clip-options button { display:flex; align-items:center; gap:16px; min-width:0; min-height:84px; padding:10px; border:1px solid var(--popup-line); border-radius:10px; background:var(--paper); color:var(--ink); text-align:left; }
.popup-clip-options button[aria-pressed="true"] { border-color:var(--coral-dark); box-shadow:inset 0 0 0 1px var(--coral-dark); }
.popup-clip-options img { display:block; flex:0 0 80px; width:80px; height:60px; border-radius:5px; object-fit:contain; background:#271e1a; }
.popup-clip-options strong { display:block; font-size:.9375rem; font-weight:600; line-height:1.6; }
.popup-clip-options small { display:block; margin-top:4px; color:var(--muted); font-size:.75rem; }
.popup-media-error { margin:14px 0 0; font-size:.875rem; line-height:1.7; }
.popup-media-error a { text-decoration:underline; text-underline-offset:3px; }
.popup-more { padding-block:60px; }
.popup-more-photos { border-block:1px solid var(--popup-line); }
.popup-gallery-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px 22px; padding-block:8px 28px; }
.popup-gallery-grid figcaption { font-size:.75rem; }
.popup-related { padding-block:48px; background:#f7ded4; }
.popup-related-layout { display:grid; grid-template-columns:1.5fr 1fr; gap:60px; align-items:end; }
.popup-related .popup-text-link { margin-top:12px; }
.popup-next-links { display:grid; }
.popup-next-links a { display:flex; justify-content:space-between; align-items:center; gap:24px; min-height:64px; padding:16px 0; border-top:1px solid var(--popup-line); font-size:.9375rem; }
.popup-next-links a:last-child { border-bottom:1px solid var(--popup-line); }
.page-popup-story :is(a,button,summary,video):focus-visible { outline:3px solid var(--coral-dark); outline-offset:4px; }
#popup-photo-dialog { width:min(1120px,calc(100% - 32px)); max-height:calc(100dvh - 32px); padding:20px; border:1px solid var(--popup-line); border-radius:14px; background:var(--paper); color:var(--ink); overscroll-behavior:contain; }
#popup-photo-dialog::backdrop { background:#221713c9; }
.popup-photo-toolbar { display:flex; align-items:center; justify-content:space-between; gap:16px; margin-bottom:14px; }
#popup-photo-dialog .popup-photo-toolbar h2 { margin:0; padding:0; font-size:1rem; line-height:1.5; letter-spacing:-.025em; }
.popup-photo-toolbar button,.popup-photo-controls button { min-height:44px; padding:10px 14px; border:1px solid var(--popup-line); border-radius:8px; background:var(--paper); color:var(--ink); font-size:.875rem; }
.popup-photo-toolbar button { flex-shrink:0; display:flex; align-items:center; gap:12px; }
.popup-photo-toolbar button span { font-size:1.375rem; line-height:1; }
.popup-viewer-figure { margin:0; }
#popup-photo-image { display:block; width:100%; height:auto; max-height:calc(100dvh - 240px); object-fit:contain; background:#f3ebe5; border-radius:6px; }
#popup-photo-caption { margin-top:12px; color:var(--muted); font-size:.875rem; line-height:1.7; }
.popup-photo-controls { display:flex; justify-content:space-between; align-items:center; gap:12px; margin-top:16px; }
#popup-photo-count { font-size:.8125rem; color:var(--muted); font-variant-numeric:tabular-nums; }
#popup-photo-dialog [hidden],.page-popup-story .popup-media-error[hidden] { display:none !important; }
@media(max-width:1000px) {
  .popup-wrap { width:calc(100% - 48px); }
  .popup-hero { gap:18px 32px; grid-template-columns:minmax(0,1fr) minmax(0,1fr); }
  .popup-desktop-break { display:none; }
}
@media(max-width:760px) {
  .popup-hero { grid-template-columns:1fr; grid-template-areas:"back" "copy" "film" "details" "privacy"; gap:18px; padding-top:16px; }
  .popup-back { margin-bottom:0; }
  .popup-hero .popup-eyebrow { margin-bottom:12px; }
  .page-popup-story .popup-hero h1 { font-size:clamp(32px,8.5vw,42px); }
  .popup-lead { margin:14px 0 0; }
  .popup-lead br { display:none; }
  .popup-privacy-note { padding-top:0; text-align:left; }
  .popup-section-heading { margin-bottom:16px; }
  .popup-section-heading > p { max-width:none; }
  .popup-scene { padding-block:32px; }
  .popup-photo-pair,.popup-game-pair { grid-template-columns:1fr; gap:24px; }
  .popup-gallery-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:22px 16px; }
  .popup-related-layout { grid-template-columns:1fr; gap:32px; }
  .popup-film-section { padding-block:40px; }
  .popup-clip-options { grid-template-columns:1fr; }
  .popup-more { padding-block:42px; }
}
@media(max-width:480px) {
  .popup-wrap { width:calc(100% - 40px); }
  .popup-hero { gap:24px; }
  .popup-jump { gap:4px 20px; margin-top:10px; }
  .popup-photo figcaption { margin-top:10px; }
  .popup-meta { gap:8px; font-size:.75rem; }
  .page-popup-story .popup-section-heading h2,.page-popup-story .popup-related h2 { font-size:24px; }
  #popup-photo-dialog { width:calc(100% - 20px); padding:14px; }
  #popup-photo-dialog .popup-photo-toolbar h2 { font-size:.875rem; }
  .popup-photo-toolbar { gap:8px; }
  .popup-photo-toolbar button { padding:8px 10px; }
  #popup-photo-caption { font-size:.8125rem; }
}

.popup-hero-film { grid-area:film; width:min(100%,376px); margin:0; justify-self:center; }
.popup-hero-screen { position:relative; overflow:hidden; aspect-ratio:564/960; background:#271e1a; border-radius:16px; box-shadow:0 22px 54px #65463f1f; }
#popup-hero-video,#popup-hero-poster { display:block; width:100%; height:100%; object-fit:contain; }
#popup-hero-poster { position:absolute; inset:0; pointer-events:none; }
.popup-hero-toggle { position:absolute; right:14px; bottom:14px; display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:44px; padding:10px 15px; border:1px solid #ffffff55; border-radius:99px; background:#3c2c26e8; color:#fffdf8; font-family:inherit; font-size:.8125rem; font-weight:600; line-height:1.3; cursor:pointer; }
.popup-hero-toggle-icon { width:14px; text-align:center; font-size:.8125rem; }
.popup-hero-film figcaption { display:flex; justify-content:space-between; flex-wrap:wrap; gap:4px 14px; margin-top:12px; color:var(--muted); font-size:.75rem; line-height:1.5; }
.popup-hero-film figcaption span:first-child { color:var(--ink); font-weight:600; }
.popup-hero-film [hidden] { display:none!important; }
@media(min-width:1101px) { .popup-hero-lead { max-width:440px; } }
@media(max-width:760px) {
  .popup-hero-film { width:min(100%,340px); }
  .popup-hero-screen { border-radius:13px; }
  .popup-hero-details { margin-top:5px; }
  .popup-hero .popup-lead { font-size:.9375rem; }
}
@media(max-width:480px) {
  .popup-hero { gap:18px; }
  .popup-hero-film { width:min(100%,calc(62svh * 564 / 960)); }
  .popup-hero-film figcaption { font-size:.6875rem; }
  .popup-hero-toggle { top:10px; right:10px; bottom:auto; padding:9px 13px; }
}
