/* Narrative additions retain the portal's typography and palette. */
.film-voice-link{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:20px;padding:18px 22px;background:#f5f3f9;border-radius:12px;color:var(--accent-dark);font-size:14px}
.film-voice-link small{display:block;margin-top:4px;color:var(--muted);font-size:11px;line-height:1.6}
.film-voice-link>span:last-child{white-space:nowrap;font-size:12px}
.film-voice-link:hover{background:#eee8f6}
@media(max-width:600px){.film-voice-link{align-items:start;padding:15px;gap:15px;font-size:12px}.film-voice-link small{font-size:10px}.film-voice-link>span:last-child{font-size:11px}}
.portal-prototype .object-invitation{display:grid;grid-template-columns:1.55fr 1fr;gap:32px;align-items:center;margin-top:30px;padding-block:25px;border-top:1px solid var(--line)}
.portal-prototype .object-invitation h2{font-size:27px;line-height:1.18;margin-bottom:12px}
.object-invitation p{font-size:13px;line-height:1.7;color:var(--muted);max-width:590px}
.film-jump{display:flex;align-items:center;gap:17px;font-size:14px;color:var(--ink);justify-self:center}
.film-jump small{display:block;font-size:11px;color:var(--muted);margin-top:5px}
.play-disc{width:54px;height:54px;display:grid;place-items:center;padding-left:3px;flex-shrink:0;border-radius:50%;background:#eee8f6;color:var(--accent-dark);font-size:15px}
.film-jump:hover .play-disc{background:#ded1ee}
.portal-prototype .film-heading{display:grid;grid-template-columns:1.2fr 1fr;gap:70px;align-items:end;margin-bottom:32px}
.film-duration{display:block;font-size:12px;color:var(--accent-dark);margin-bottom:16px}
.portal-prototype .film-heading h2,.portal-prototype .story-visual h2{font-size:42px;line-height:1.1;letter-spacing:-.7px}
.film-heading>p{font-size:15px;line-height:1.85;max-width:470px;color:var(--muted)}
.film-player{position:relative;aspect-ratio:16/9;overflow:hidden;border-radius:22px;background:var(--ink)}
.film-player video{display:block;width:100%;height:100%;object-fit:contain}
.film-cover{position:absolute;inset:0;border:0;background:transparent;display:flex;align-items:flex-end;justify-content:flex-start;gap:14px;padding:32px;color:white;text-align:left}
.film-cover[hidden]{display:none}
.film-play-circle{width:68px;height:68px;border-radius:50%;background:white;color:var(--ink);display:grid;place-items:center;padding-left:5px;font-size:21px;flex-shrink:0;box-shadow:0 1px 10px #0002}
.film-cover>span:last-child{background:#1c1b28ec;padding:12px 20px;border-radius:12px;font-size:18px;line-height:1.5}
.film-cover small{display:block;font-size:11px;color:#ded7ea;margin-top:3px}
.film-cover:hover .film-play-circle{background:#ede7f5}
.film-preview-badge{position:absolute;top:20px;left:20px;padding:7px 12px;border-radius:7px;font-size:11px;color:var(--ink);background:#ffffffef;pointer-events:none}
.film-preview-badge[hidden]{display:none}
.film-meta{display:flex;justify-content:space-between;align-items:start;gap:35px;margin-top:16px;font-size:11px;line-height:1.8;color:var(--muted)}
.film-meta p{max-width:790px}
.film-meta a{color:var(--accent-dark);flex-shrink:0;text-decoration:underline;text-underline-offset:4px}
.film-status{font-size:13px;color:#824520;margin-top:12px}
.film-status:empty{display:none}
.film-chapters{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin-top:29px}
.film-chapters button{border:0;border-top:2px solid #e1dce8;background:none;text-align:left;padding:15px 3px 6px;font-size:13px;line-height:1.6;color:#4f4d5d}
.film-chapters button>span{display:block;font-family:Gilroy,Golos,sans-serif;font-size:19px;color:var(--muted);margin-bottom:4px}
.film-chapters button[aria-pressed=true]{border-top-color:var(--accent);color:var(--accent-dark)}
.film-chapters button[aria-pressed=true]>span{color:var(--accent-dark)}
.film-chapters button:hover{border-top-color:var(--accent)}
.film-transcript{margin-top:26px;border-block:1px solid var(--line)}
.film-transcript summary,.image-origin summary,.history-reading-details summary{display:flex;align-items:center;justify-content:space-between;gap:20px;cursor:pointer;list-style:none;padding:18px 0;font-size:14px}
.film-transcript summary::-webkit-details-marker,.image-origin summary::-webkit-details-marker,.history-reading-details summary::-webkit-details-marker{display:none}
.film-transcript summary span,.image-origin summary span,.history-reading-details summary span{font-size:20px;font-weight:400}
.film-transcript[open] summary span,.image-origin[open] summary span,.history-reading-details details[open] summary span{transform:rotate(45deg)}
.film-transcript p{max-width:800px;color:var(--muted);font-size:14px;line-height:1.8;padding-bottom:22px}
.portal-prototype .story-visual{gap:34px 70px;padding-top:25px}
.portal-prototype .story-visual .story-intro{padding-top:5px;max-width:520px}
.portal-prototype .story-visual .timeline{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;margin:10px 0 0;overflow-x:auto;scrollbar-width:thin}
.portal-prototype .story-visual .timeline button{font-size:26px;padding:10px 12px 20px 0;white-space:nowrap;line-height:1.4;min-width:0}
.portal-prototype .story-visual .timeline button span{font-size:11px;margin-top:6px;white-space:normal}
.portal-prototype .history-stage{grid-template-columns:minmax(0,1.85fr) minmax(260px,1fr);gap:36px;align-items:start;padding:0;min-height:0}
.history-scene{min-width:0}
.history-scene .photo-button{aspect-ratio:16/9;border-radius:16px;overflow:hidden}
.history-scene img{height:100%;width:100%;object-fit:cover}
.scene-badge{position:absolute;top:16px;left:16px;max-width:calc(100% - 32px);padding:6px 10px;font-size:11px;line-height:1.5;color:var(--ink);background:#ffffffed;border-radius:6px;text-align:left}
.history-scene figcaption{margin-top:12px;font-size:10px;line-height:1.75;color:var(--muted);max-width:680px}
.history-stage-copy{padding-top:6px}
.portal-prototype .history-stage-copy .history-year{display:block;font-size:41px;color:var(--accent-dark);line-height:1.1;margin-bottom:22px}
.portal-prototype .history-stage-copy h3{font-size:26px;line-height:1.2;letter-spacing:-.4px;margin-bottom:17px}
.portal-prototype .history-stage-copy p{font-size:13px;line-height:1.85;color:#575666}
.history-stage-copy .text-link{margin-top:23px;font-size:11px}
.image-origin{grid-column:1/-1;padding:0 20px;background:#f5f3f9;border-radius:12px}
.image-origin summary{font-size:12px;color:var(--accent-dark);padding-block:15px}
.image-origin p{font-size:12px;line-height:1.8;color:var(--muted);max-width:960px}
.image-origin a{display:inline-block;font-size:11px;color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px;margin:15px 0 19px}
.history-reading{grid-column:1/-1;display:grid;grid-template-columns:1fr 1.55fr;gap:65px;margin-top:12px}
.portal-prototype .history-reading h3{font-size:26px}
.history-reading>div>p{font-size:13px;color:var(--muted);max-width:330px;margin-top:13px}
.history-reading-details details{border-top:1px solid var(--line)}
.history-reading-details details:last-child{border-bottom:1px solid var(--line)}
.history-reading-details details>div{padding-bottom:22px}
.history-reading-details p{font-size:13px;line-height:1.85;color:var(--muted)}
.history-reading-details p+p{margin-top:15px}
.story-visual>.evidence-note{grid-column:1/-1;max-width:920px;margin-top:0}
.portal-prototype #model-activate[hidden],.portal-prototype #model-fullscreen[hidden]{display:none}
.model-recovery{display:flex;gap:18px;align-items:center;flex-wrap:wrap;margin-top:8px}
.model-recovery a{font-size:11px;color:var(--accent-dark);text-decoration:underline;text-underline-offset:3px}
.portal-prototype #model-loading{max-width:calc(100% - 32px)}

@media(max-width:1000px){
 .portal-prototype .object-invitation{grid-template-columns:1.2fr 1fr}
 .portal-prototype .film-heading{gap:35px}
 .portal-prototype .film-heading h2,.portal-prototype .story-visual h2{font-size:37px}
 .portal-prototype .history-stage{grid-template-columns:1.55fr 1fr;gap:28px}
 .portal-prototype .history-stage-copy .history-year{font-size:34px;margin-bottom:15px}
 .portal-prototype .history-stage-copy h3{font-size:23px}
 .portal-prototype .story-visual .timeline button{font-size:23px}
 .history-reading{gap:40px}
}
@media(max-width:760px){
 .portal-prototype .object-invitation{grid-template-columns:1fr;gap:23px;margin-top:15px;padding-block:24px}
 .film-jump{justify-self:start}
 .portal-prototype .film-heading{grid-template-columns:1fr;gap:23px}
 .film-heading>p{font-size:14px;max-width:570px}
 .portal-prototype .story-visual{grid-template-columns:1fr;gap:27px}
 .portal-prototype .story-visual .timeline{display:flex;gap:0}
 .portal-prototype .story-visual .timeline button{flex:1 0 127px;padding-right:20px}
 .portal-prototype .history-stage{grid-template-columns:1fr;gap:23px}
 .portal-prototype .history-stage-copy{max-width:620px}
 .portal-prototype .history-stage-copy .history-year{font-size:30px;margin-bottom:13px}
 .portal-prototype .history-stage-copy h3{font-size:25px}
 .history-reading{grid-template-columns:1fr;gap:22px}
 .film-meta{flex-direction:column;gap:9px}
 .film-chapters{display:flex;overflow-x:auto;gap:13px;scrollbar-width:thin;padding-bottom:8px}
 .film-chapters button{flex:1 0 116px}
 .film-player{border-radius:16px}
 .film-cover{padding:22px;gap:10px}
 .film-play-circle{width:54px;height:54px;font-size:17px}
 .film-cover>span:last-child{font-size:16px;padding:9px 14px}
}
@media(max-width:600px){
 .portal-prototype .object-invitation h2{font-size:25px}
 .object-invitation p{font-size:12px}
 .film-jump{font-size:12px}
 .film-jump small{font-size:10px}
 .play-disc{width:46px;height:46px}
 .portal-prototype .film-heading h2,.portal-prototype .story-visual h2{font-size:34px;line-height:1.13}
 .film-duration{font-size:11px;margin-bottom:12px}
 .film-heading>p{font-size:13px}
 .film-cover{padding:14px}
 .film-play-circle{width:45px;height:45px;font-size:15px}
 .film-cover>span:last-child{font-size:13px;padding:7px 11px;border-radius:8px}
 .film-cover small{font-size:9px;margin-top:1px}
 .film-preview-badge{top:10px;left:10px;font-size:9px;padding:4px 7px}
 .film-meta{font-size:10px;gap:12px}
 .film-chapters{margin-top:22px}
 .film-chapters button{font-size:12px;flex-basis:108px;padding-top:11px}
 .film-chapters button>span{font-size:18px}
 .film-transcript summary{font-size:12px}
 .film-transcript p{font-size:12px}
 .portal-prototype .story-visual{padding-top:12px}
 .portal-prototype .history-stage-copy h3{font-size:25px}
 .history-scene .photo-button{border-radius:12px}
 .scene-badge{font-size:9px;top:11px;left:11px;padding:5px 7px}
 .history-scene figcaption{font-size:10px}
 .image-origin{padding-inline:15px}
 .image-origin summary{font-size:11px}
 .image-origin p{font-size:11px}
 .portal-prototype .history-reading h3{font-size:25px}
 .history-reading-details summary{font-size:13px}
 .portal-prototype #compare{padding:16px 21px 28px}
 .portal-prototype #compare .dialog-top{position:sticky;top:-16px;padding-block:10px;background:#fff;z-index:3}
 .portal-prototype #compare .comparison-scroll{overflow:visible}
 .portal-prototype #compare table,.portal-prototype #compare tbody{display:block;min-width:0;width:100%}
 .portal-prototype #compare thead{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
 .portal-prototype #compare tr{display:block;background:#f5f3f9;padding:16px;border-radius:12px;margin-bottom:14px}
 .portal-prototype #compare tbody th,.portal-prototype #compare td{display:block;width:auto;border:0;padding:0;text-align:left;font-size:12px;line-height:1.7}
 .portal-prototype #compare tbody th{font-size:14px;margin-bottom:13px;color:var(--ink)}
 .portal-prototype #compare td+td{margin-top:12px}
 .portal-prototype #compare td:before{content:attr(data-label);display:block;font-size:10px;color:var(--accent-dark);margin-bottom:3px}
 .model-recovery{gap:10px}
 .model-recovery a{font-size:10px}
}
