
:root{--ink:#181817;--muted:#676762;--line:#d8d8d2;--soft:#f3f3ee;--paper:#fff;--max:1120px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scrollbar-gutter:stable}body{margin:0;background:#fafaf7;color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.6}a{color:inherit} .wrap{max-width:var(--max);margin:auto;padding:0 28px}
.top{position:sticky;top:0;z-index:20;border-bottom:1px solid var(--line);background:rgba(250,250,247,.94);backdrop-filter:blur(10px)}.nav{height:64px;display:flex;align-items:center;gap:24px;overflow-x:auto;white-space:nowrap}.nav a{text-decoration:none;flex:0 0 auto}.brand{font-weight:800;font-size:1.1rem;margin-right:0;flex:0 0 auto}
.hero{padding:72px 0 42px;max-width:1020px}.eyebrow,.label,.tag{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:var(--muted)}h1{font-size:clamp(2.7rem,7vw,5.7rem);line-height:.98;letter-spacing:-.045em;margin:.35rem 0 1.1rem}h2{letter-spacing:-.025em;line-height:1.12}h3{line-height:1.2}.kicker{font-size:clamp(1.15rem,2vw,1.45rem);line-height:1.55;max-width:940px}.lead{font-size:1.04rem;line-height:1.78;max-width:920px}.quiet{color:var(--muted)}
.section{margin:54px 0}.section-head{display:flex;justify-content:space-between;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:18px}.section-head h2{margin:0}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px;min-width:0}.card h3{margin:.15rem 0 .7rem}.card p{margin:0;line-height:1.65}.portals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.portal{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px;text-decoration:none;min-height:185px;display:block}.portal:hover,.item:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.07)}.portal h2{margin:.4rem 0 .7rem}.portal p{margin:0 0 18px;line-height:1.65}
.questions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:42px}.question{border-top:1px solid var(--line);padding:20px 0}.question h3{margin:0 0 7px;font-size:1.12rem}.question p{margin:0;line-height:1.65}.callout{border-left:3px solid #777;padding:2px 0 2px 18px;max-width:920px;line-height:1.72}.nonnav{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:24px;line-height:1.7}
.item-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.item{display:block;background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px;text-decoration:none}.item h3{margin:.35rem 0 .55rem}.item p{margin:0 0 12px}.scene-no{font-size:.74rem;letter-spacing:.09em;font-weight:800;color:var(--muted)}
.detail-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.detail{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:19px;line-height:1.7}.detail h3{margin:0 0 7px}.path{margin-top:28px;color:var(--muted);font-size:.83rem}.path a{text-decoration:none}.route{display:flex;gap:10px;flex-wrap:wrap;margin-top:20px}.action{display:inline-block;border:1px solid #aaa;border-radius:999px;padding:8px 14px;text-decoration:none;background:#fff}.footer{padding:20px 28px 42px;color:var(--muted);font-size:.8rem}
@media(max-width:980px){.grid,.item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:820px){.wrap{padding:0 18px}.nav{gap:16px}.hero{padding-top:48px}.portals,.questions,.grid,.item-grid,.detail-grid{grid-template-columns:1fr}}

/* V4.7: stronger content hierarchy */
.hero h1{max-width:980px}.hero .kicker{max-width:960px}
.idea-path{margin-top:26px;border-top:1px solid var(--line);padding-top:7px}
.idea-path .step{padding:14px 0;border-bottom:1px solid var(--line);display:flex;gap:18px;align-items:baseline}.idea-path .num{font-size:.75rem;color:var(--muted);min-width:26px;font-weight:700}
.context{max-width:900px;line-height:1.75}.context strong{font-weight:700}
.choice{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.choice .portal{min-height:150px}
.worklist{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.workitem{padding:18px;border-top:2px solid #999;background:var(--soft);line-height:1.55}
@media(max-width:850px){.choice,.worklist{grid-template-columns:1fr}}

/* V5.17: Idealbesetzung · expanded creative sandbox */
.role-card,.multiplier-card,.creative-card{min-height:270px}.candidate-names{font-size:1.04rem}.why-label{margin-top:16px;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--muted)}.roles{margin-bottom:10px}.iris-card{max-width:960px}.iris-card h3{font-size:1.32rem}.context{max-width:960px}.creative-card h3{font-size:1.04rem;margin:.4rem 0 .75rem}.multiplier-card h3{font-size:1.28rem}
.scene-nav{margin-top:10px}.scene-nav-grid{display:grid;grid-template-columns:1fr auto 1fr;gap:12px;align-items:center}.scene-nav-link{display:flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:var(--ink);text-decoration:none;font-weight:600}.scene-nav-link:hover{transform:translateY(-1px);box-shadow:0 6px 18px rgba(0,0,0,.06)}.scene-nav-link.prev{justify-content:flex-start}.scene-nav-link.next{justify-content:flex-end}.scene-nav-link.index{background:transparent}.scene-nav-link.disabled{opacity:.45;cursor:default}@media(max-width:720px){.scene-nav-grid{grid-template-columns:1fr}.scene-nav-link.prev,.scene-nav-link.next,.scene-nav-link.index{justify-content:center}}
.dramaturgical-split{border:1px solid rgba(127,127,127,.22);padding:1.1rem;border-radius:12px;background:rgba(127,127,127,.05)}
.dramaturgical-split .split-meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.8rem;margin:.8rem 0}
.dramaturgical-split .split-unit{padding:1rem;margin-top:.8rem;border-left:3px solid currentColor;background:rgba(127,127,127,.045);border-radius:8px}
.dramaturgical-split .split-unit h3{margin:.1rem 0 .55rem}
.dramurg-note{font-size:.92rem}

.orientation{margin:18px 0 0}.orientation-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.orientation-card{border:1px solid rgba(255,255,255,.10);border-radius:12px;padding:15px 16px;background:rgba(255,255,255,.025)}.orientation-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#9ea6b4;margin-bottom:8px}.orientation-card strong{display:block;font-size:1rem;line-height:1.35}.orientation-card span{display:block;margin-top:7px;color:#8f98a8;font-size:.82rem;line-height:1.35}@media(max-width:760px){.orientation-grid{grid-template-columns:1fr}}
.material-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.material-summary .summary-card{border:1px solid rgba(255,255,255,.10);border-radius:12px;padding:14px;background:rgba(255,255,255,.025)}.summary-card .label{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:#9ea6b4}.summary-card strong{display:block;font-size:1.35rem;margin-top:5px}.summary-card span{display:block;color:#8f98a8;font-size:.8rem;margin-top:4px}@media(max-width:760px){.material-summary{grid-template-columns:1fr}}

.card-meta{display:block;margin-top:7px;font-size:.78rem;line-height:1.35;color:#7f8898}

/* V5.45: derived scene metrics */
.metric-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
.metric-card{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px;min-width:0}
.metric-label{font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:750;color:var(--muted)}
.metric-card strong{display:block;font-size:1.5rem;letter-spacing:-.02em;line-height:1.2;margin-top:5px}
.metric-card span{display:block;color:var(--muted);font-size:.8rem;line-height:1.4;margin-top:6px}
@media(max-width:980px){.metric-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.metric-grid{grid-template-columns:1fr}}

.scene-chip-list{display:flex;flex-wrap:wrap;gap:.4rem}.scene-chip{display:inline-block;padding:.25rem .55rem;border:1px solid var(--line,#ccc);border-radius:999px;text-decoration:none;font-size:.85rem}.inline-link{text-decoration:underline}.scene-chip:hover{opacity:.8}

.scene-links{margin-top:14px}.scene-link{display:inline-block;margin:0 6px 6px 0;padding:4px 8px;border:1px solid rgba(127,127,127,.25);border-radius:999px;font-size:.82rem;text-decoration:none}.scene-links .why-label{margin-bottom:6px}

/* V5.80: visible scene deepening */
.scene-deepening{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:24px}.scene-deepening .update-badge{display:inline-block;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:8px}.scene-deepening .update-focus{font-size:1.02rem;font-weight:700;margin:.1rem 0 1rem}.scene-deepening .detail-grid{margin-top:16px}.scene-deepening .detail{background:var(--paper)}

/* V5.82: pitch/discovery layer */
.pitch-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.pitch-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px}.pitch-card h3{margin:.2rem 0 .65rem}.pitch-card p{margin:0;line-height:1.68}.status-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.status-card{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:18px}.status-card strong{display:block;font-size:1.02rem;margin:.25rem 0 .4rem}.status-card span{display:block;color:var(--muted);font-size:.86rem;line-height:1.45}.fineprint{font-size:.88rem;color:var(--muted);line-height:1.6}.cta-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.cta{display:inline-block;padding:10px 15px;border:1px solid #999;border-radius:999px;text-decoration:none;background:var(--paper);font-weight:650}.cta.primary{background:var(--ink);color:#fff;border-color:var(--ink)}.audience-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.audience-card{border-top:2px solid #999;padding:16px 4px 4px}.audience-card h3{margin:.3rem 0 .45rem}.audience-card p{margin:0;color:var(--muted);line-height:1.55;font-size:.92rem}.deeper{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:24px}.note{border-left:3px solid #777;padding-left:16px;line-height:1.7}.mini-list{margin:.4rem 0 0;padding-left:1.2rem;line-height:1.75}.mini-list li{margin:.2rem 0}@media(max-width:980px){.audience-grid,.status-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.pitch-grid,.audience-grid,.status-grid{grid-template-columns:1fr}}

/* V5.83: persistent global + contextual navigation */
.global-link,.brand{transition:color .15s ease,opacity .15s ease}.global-link{position:relative;padding:22px 0}.global-link:hover{opacity:.72}.global-link.active{font-weight:800}.global-link.active::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:currentColor;border-radius:3px 3px 0 0}
.subnav{border-top:1px solid rgba(216,216,210,.65);background:rgba(250,250,247,.96)}.subnav-inner{min-height:46px;display:flex;align-items:center;gap:10px;overflow-x:auto;white-space:nowrap;padding-top:6px;padding-bottom:6px}.subnav-group{display:flex;align-items:center;gap:5px;flex:0 0 auto}.subnav-group+.subnav-group{margin-left:8px;padding-left:12px;border-left:1px solid var(--line)}.subnav-context{display:none}.subnav-link{position:relative;display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border-radius:8px;text-decoration:none;font-size:.79rem;font-weight:650;color:var(--ink);transition:background .15s ease,color .15s ease,transform .15s ease}.subnav-link:hover{background:var(--soft);transform:translateY(-1px)}.subnav-link.active{background:var(--ink);color:#fff}.subnav-link.active:hover{background:var(--ink)}.subnav-current{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px;border-radius:8px;background:var(--soft);font-size:.79rem;font-weight:750;color:var(--ink)}
@media(max-width:720px){.subnav-inner{padding-left:18px;padding-right:18px}.global-link{padding:22px 0}.nav{height:58px}.global-link{padding:19px 0}}
/* V5.83 UX refinements */
.brand.active{font-weight:850}
.subnav-link,.global-link,.cta,.portal,.pitch-card,.item,.scene-nav-link{cursor:pointer}
.subnav-current{cursor:default}

/* V5.84 navigation refinement */
.subnav-group.scene-subnav{margin-left:8px;padding-left:12px;border-left:1px solid var(--line)}
.subnav-link,.global-link,.cta,.portal,.pitch-card,.item,.scene-nav-link{cursor:pointer}
.subnav-link.active{font-weight:800}
@media(prefers-reduced-motion:reduce){.subnav-link,.global-link{transition:none!important}}

/* V5.86: visual consistency + accessibility polish */
main.wrap{min-width:0}
.path{min-height:1.35em}
.path a{border-radius:4px}
.path a:hover{text-decoration:underline}
.global-link:focus-visible,.subnav-link:focus-visible,.cta:focus-visible,.portal:focus-visible,.pitch-card:focus-visible,.item:focus-visible,.scene-nav-link:focus-visible,.action:focus-visible{outline:2px solid currentColor;outline-offset:3px}
.portal,.pitch-card,.item,.scene-nav-link,.cta,.action{transition:transform .15s ease,box-shadow .15s ease,background .15s ease,color .15s ease,border-color .15s ease}
.portal:hover,.pitch-card:hover,.item:hover,.scene-nav-link:hover{border-color:#b9b9b2}
@media(prefers-reduced-motion:reduce){.portal,.pitch-card,.item,.scene-nav-link,.cta,.action{transition:none!important}}

/* V6.0: public film-story layer */
.story-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.story-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:22px}.story-card h3{margin:.15rem 0 .55rem}.story-card p{margin:0;line-height:1.68}.story-step{display:grid;grid-template-columns:170px 1fr;gap:24px;border-top:1px solid var(--line);padding:22px 0}.story-step .step-label{font-size:.73rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--muted)}.story-step h3{margin:0 0 .45rem}.story-step p{margin:0;max-width:860px}.reading-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.reading-path .path-card{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}.path-card strong{display:block;margin-bottom:4px}.path-card span{display:block;color:var(--muted);font-size:.84rem;line-height:1.45}.synopsis p{max-width:930px}.note-line{padding:14px 0;border-top:1px solid var(--line);color:var(--muted);font-size:.9rem}@media(max-width:900px){.story-grid,.reading-path{grid-template-columns:1fr 1fr}.story-step{grid-template-columns:1fr;gap:7px}}@media(max-width:560px){.story-grid,.reading-path{grid-template-columns:1fr}}


/* V6.4 · unified information architecture and navigation rhythm */
.subnav{border-bottom:1px solid var(--line);background:#f7f7f3}.subnav-inner{min-height:44px;display:flex;align-items:center;gap:24px;overflow-x:auto;white-space:nowrap}.subnav-group{display:flex;align-items:center;gap:4px}.subnav-group + .subnav-group{padding-left:18px;border-left:1px solid var(--line)}.subnav-link{display:inline-flex;align-items:center;min-height:34px;padding:6px 10px;border-radius:8px;text-decoration:none;color:var(--muted);font-size:.74rem;letter-spacing:.07em;font-weight:700}.subnav-link:hover{background:#ecece6;color:var(--ink)}.subnav-link.active{background:var(--ink);color:#fff}.path{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.hero{padding-bottom:34px}.section{scroll-margin-top:132px}.cta-row{align-items:center}.reading-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.path-card{border:1px solid var(--line);background:var(--paper);border-radius:14px;padding:18px}.path-card strong{display:block;line-height:1.35}.path-card span{display:block;margin-top:6px;color:var(--muted);font-size:.88rem;line-height:1.5}.eyebrow{margin-bottom:4px}.section-head{padding-top:4px}.subsection-title{margin-top:28px}@media(max-width:850px){.reading-path{grid-template-columns:1fr 1fr}}@media(max-width:560px){.reading-path{grid-template-columns:1fr}.subnav-inner{gap:10px}.subnav-group + .subnav-group{padding-left:10px}}




/* V7.5: contextual subnavigation — explicit current film/book context with restrained thematic tint */
.subnav-context{display:inline-flex;align-items:center;min-height:32px;padding:6px 10px 6px 0;margin-right:2px;color:var(--subnav-accent);font-size:.69rem;letter-spacing:.1em;font-weight:800;white-space:nowrap;position:relative}
.subnav-context::before{content:"";width:5px;height:5px;border-radius:1px;background:currentColor;margin-right:7px;opacity:.72}
.theme-film{--subnav-accent:#3d3d38;--subnav-tint:#f6f6f2}
.theme-evidenz{--subnav-accent:#4d554b;--subnav-tint:#f4f4ef}
.theme-existenz{--subnav-accent:#4c5559;--subnav-tint:#f3f4f4}
.theme-transzendenz{--subnav-accent:#56504b;--subnav-tint:#f4f2f0}
.theme-buch{--subnav-accent:#4f4c58;--subnav-tint:#f3f1f5}
.theme-film .subnav,.theme-evidenz .subnav,.theme-existenz .subnav,.theme-transzendenz .subnav,.theme-buch .subnav{background:var(--subnav-tint)}
.theme-evidenz .subnav-link.active,.theme-existenz .subnav-link.active,.theme-transzendenz .subnav-link.active{background:var(--subnav-accent)}
.theme-evidenz .subnav-link:hover,.theme-existenz .subnav-link:hover,.theme-transzendenz .subnav-link:hover,.theme-buch .subnav-link:hover{background:color-mix(in srgb,var(--subnav-accent) 8%,var(--subnav-tint));color:var(--ink)}
@media(max-width:560px){.subnav-context{padding-right:6px;margin-right:0}.subnav-context::before{margin-right:6px}}
@media(prefers-reduced-motion:reduce){.subnav-link{transition:none!important}}

/* V8.0 · additive cross-pollination notes */
.crosslink-note{margin-top:1.25rem;padding:1rem 1.1rem;border-left:2px solid var(--line-strong,#999);background:var(--surface-muted,rgba(0,0,0,.025));}
.crosslink-note h3{margin-top:0;}

/* V8.5 · targeted embodiment audit */
.embodiment-audit{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:24px;margin-top:24px}.embodiment-audit .section-head{padding-top:0}.embodiment-audit .audit-status{font-size:.74rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--muted)}.embodiment-audit .detail-grid{margin-top:16px}.embodiment-audit .detail{background:var(--paper)}.embodiment-audit .audit-note{margin:14px 0 0;color:var(--muted);font-size:.87rem;line-height:1.55}


/* V8.9 · dynamic screenplay layer */
.screenplay-shell{padding-bottom:72px}.screenplay-hero{padding-bottom:28px}.script-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 22px}.script-meta>div{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}.script-meta strong{display:block;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:6px}.script-meta span{display:block;color:var(--muted);font-size:.9rem;line-height:1.5}.script-jump{position:sticky;top:0;z-index:8;display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);background:rgba(250,250,247,.96);backdrop-filter:blur(6px);margin-bottom:18px}.script-jump span{font-size:.7rem;letter-spacing:.09em;font-weight:800;color:var(--muted)}.script-jump select{font:inherit;border:1px solid var(--line);border-radius:999px;padding:9px 13px;background:var(--paper);min-width:320px}.screenplay{font-family:"Courier New",Courier,monospace;line-height:1.35;color:#111}.script-scene{position:relative;max-width:850px;margin:0 auto 30px;background:#fff;border:1px solid #d5d5cf;box-shadow:0 8px 22px rgba(0,0,0,.05);padding:64px 76px 54px;scroll-margin-top:105px;min-height:0}.script-scene::before{content:"";position:absolute;left:30px;top:30px;bottom:30px;width:1px;background:#e7e7e1}.script-status{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.68rem;letter-spacing:.1em;font-weight:800;color:#777;text-transform:uppercase;margin-bottom:24px}.scene-heading{text-transform:uppercase;font-weight:700;font-size:1rem;margin-bottom:8px}.scene-duration{font-size:.9rem;margin-bottom:32px}.script-action p{margin:0 0 1.15em}.script-placeholder{color:#666;background:#f5f5f0;padding:8px 10px;border-left:3px solid #999}.script-dialogue{margin-top:28px}.dialogue-row{margin:0 0 1.1em}.character{text-align:center;width:42%;margin:0 auto .15em;font-weight:700}.dialogue{width:72%;margin:0 auto}.script-backlinks{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;justify-content:space-between;margin-top:42px;padding-top:15px;border-top:1px solid #ddd;font-size:.78rem}.script-backlinks a{text-decoration:none;color:#555}.script-backlinks a:hover{text-decoration:underline}.scene-script-link{margin-top:20px}.screenplay-link{font-weight:800}
@media(max-width:900px){.script-meta{grid-template-columns:1fr}.script-scene{padding:52px 44px;min-height:0}.script-scene::before{left:20px}.dialogue{width:82%}}@media(max-width:560px){.script-jump{align-items:flex-start;flex-direction:column}.script-jump select{min-width:0;width:100%}.script-scene{padding:42px 25px 38px;box-shadow:none;min-height:0}.script-scene::before{display:none}.character{width:60%}.dialogue{width:92%}}
@media print{.top,.subnav,.path,.screenplay-hero,.script-meta,.script-jump,.script-backlinks{display:none!important}.screenplay-shell{max-width:none!important}.screenplay{font-family:"Courier New",Courier,monospace}.script-scene{box-shadow:none;border:0;min-height:0;break-after:page;page-break-after:always;padding:0}.script-status,.script-placeholder{color:#111;background:transparent;border:0;padding:0}.script-placeholder{border-left:0}.screenplay{line-height:1.32}}


/* V8.9 · dynamic screenplay layer v2 */
.screenplay-shell{padding-bottom:72px}.screenplay-hero{padding-bottom:28px}.script-meta{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:8px 0 14px}.script-meta>div{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}.script-meta strong{display:block;font-size:.71rem;letter-spacing:.09em;text-transform:uppercase;margin-bottom:6px}.script-meta span{display:block;color:var(--muted);font-size:.9rem;line-height:1.5}.script-stats{display:flex;justify-content:space-between;gap:18px;padding:12px 0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin-bottom:16px}.script-stats strong{font-size:.82rem}.script-stats span{font-size:.82rem;color:var(--muted)}.script-jump{position:sticky;top:0;z-index:9;display:flex;align-items:center;gap:12px;padding:11px 0;border-bottom:1px solid var(--line);background:rgba(250,250,247,.96);backdrop-filter:blur(6px);margin-bottom:18px}.script-jump label{font-size:.7rem;letter-spacing:.09em;font-weight:800;color:var(--muted)}.script-jump select{font:inherit;border:1px solid var(--line);border-radius:999px;padding:9px 13px;background:var(--paper);min-width:320px}.screenplay{font-family:"Courier New",Courier,monospace;line-height:1.35;color:#111}.script-scene{position:relative;max-width:850px;margin:0 auto 30px;background:#fff;border:1px solid #d5d5cf;box-shadow:0 8px 22px rgba(0,0,0,.05);padding:64px 76px 54px;scroll-margin-top:105px;min-height:0}.script-scene::before{content:"";position:absolute;left:30px;top:30px;bottom:30px;width:1px;background:#e7e7e1}.script-status{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.68rem;letter-spacing:.1em;font-weight:800;color:#777;text-transform:uppercase;margin-bottom:24px}.scene-heading{text-transform:uppercase;font-weight:700;font-size:1rem;margin-bottom:8px}.scene-duration{font-size:.9rem;margin-bottom:32px}.script-action p{margin:0 0 1.15em}.script-placeholder{color:#666;background:#f5f5f0;padding:8px 10px;border-left:3px solid #999}.script-dialogue{margin-top:28px}.dialogue-row{margin:0 0 1.1em}.character{text-align:center;width:42%;margin:0 auto .15em;font-weight:700}.dialogue{width:72%;margin:0 auto}.script-backlinks{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;display:flex;justify-content:space-between;margin-top:42px;padding-top:15px;border-top:1px solid #ddd;font-size:.78rem}.script-backlinks a{text-decoration:none;color:#555}.script-backlinks a:hover{text-decoration:underline}.scene-script-link{margin-top:20px}.screenplay-direct{font-weight:800}
@media(max-width:900px){.script-meta{grid-template-columns:1fr}.script-scene{padding:52px 44px;min-height:0}.script-scene::before{left:20px}.dialogue{width:82%}.script-stats{display:block}.script-stats span{display:block;margin-top:5px}}@media(max-width:560px){.script-jump{align-items:flex-start;flex-direction:column}.script-jump select{min-width:0;width:100%}.script-scene{padding:42px 25px 38px;box-shadow:none;min-height:0}.script-scene::before{display:none}.character{width:60%}.dialogue{width:92%}}
@media print{.top,.subnav,.path,.screenplay-hero,.script-meta,.script-stats,.script-jump,.script-backlinks{display:none!important}.screenplay-shell{max-width:none!important}.screenplay{font-family:"Courier New",Courier,monospace}.script-scene{box-shadow:none;border:0;min-height:0;break-after:page;page-break-after:always;padding:0}.script-status,.script-placeholder{color:#111;background:transparent;border:0;padding:0}.screenplay{line-height:1.32}}


/* V8.16.1 · stable navigation and screenplay interaction patterns */
:root{--global-nav-h:64px;--subnav-h:44px;--header-offset:calc(var(--global-nav-h) + var(--subnav-h))}
@media(max-width:720px){:root{--global-nav-h:58px;--subnav-h:44px}}
/* Keep the active film branch visible even when page markup loses an active hook.
   Body theme is already canonical across film pages; this is a CSS safety net, not a new component system. */
.theme-film .global-link[href="film.html"],
.theme-evidenz .global-link[href="film.html"],
.theme-existenz .global-link[href="film.html"],
.theme-transzendenz .global-link[href="film.html"]{font-weight:800}
.theme-film .global-link[href="film.html"]::after,
.theme-evidenz .global-link[href="film.html"]::after,
.theme-existenz .global-link[href="film.html"]::after,
.theme-transzendenz .global-link[href="film.html"]::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;background:currentColor;border-radius:3px 3px 0 0}
/* The first subnav branch follows the body theme, independently of an active class being present. */
.theme-evidenz .subnav-group:first-child a[href="evidenz.html"],
.theme-existenz .subnav-group:first-child a[href="existenz.html"],
.theme-transzendenz .subnav-group:first-child a[href="transzendenz.html"]{background:var(--ink);color:#fff;font-weight:800}
/* Screenplay jump stays below the persistent global + contextual header instead of disappearing underneath it. */
.script-jump{top:var(--header-offset);z-index:19}
.script-scene{scroll-margin-top:calc(var(--header-offset) + 18px)}

/* V8.9b · scene-to-screenplay jump */
.scene-script-jump{display:flex;align-items:center;gap:10px;margin:18px 0 10px;padding:10px 12px;border:1px solid var(--line);border-radius:12px;background:var(--soft)}.scene-script-jump-label{font-size:.68rem;letter-spacing:.09em;font-weight:800;color:var(--muted)}.scene-script-jump-link,.scene-script-jump-select{font:inherit}.scene-script-jump-link{text-decoration:none;font-size:.84rem;font-weight:750;color:var(--ink)}.scene-script-jump-link:hover{text-decoration:underline}.scene-script-jump-select{min-width:260px;border:1px solid var(--line);border-radius:999px;padding:8px 11px;background:var(--paper)}@media(max-width:560px){.scene-script-jump{align-items:flex-start;flex-direction:column}.scene-script-jump-select{width:100%;min-width:0}}

/* V8.9.1 · expanded screenplay working layer */
.script-open{margin-top:22px}.script-open .script-placeholder{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.78rem;font-style:italic}.script-action p:first-child{text-transform:none}.screenplay .script-status{color:#666}

.script-slug{text-transform:uppercase;margin-bottom:1.2em;font-weight:700}.script-scene[data-expanded="true"]{border-top:3px solid #bbb}

/* V8.15 · Visual World layer */
.world-triptych{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.world-film{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px;min-height:330px;position:relative;overflow:hidden}.world-film::after{content:"";position:absolute;right:-34px;bottom:-34px;width:120px;height:120px;border:1px solid var(--line);border-radius:50%;opacity:.6}.world-index{font-size:3rem;line-height:1;font-weight:800;letter-spacing:-.06em;color:#b9b9b2;margin-bottom:20px}.world-film h3{margin:.25rem 0 .75rem}.world-film p{line-height:1.7}.world-rule{border-top:1px solid var(--line);margin-top:18px;padding-top:14px}.world-rule strong{display:block;font-size:.72rem;letter-spacing:.09em;text-transform:uppercase;color:var(--muted)}.world-rule span{display:block;margin-top:5px;font-weight:650;line-height:1.5}.scale-rail{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line);margin:18px 0 24px}.scale-node{padding:18px 14px 20px;position:relative;border-right:1px solid var(--line)}.scale-node:last-child{border-right:0}.scale-node::before{content:"";position:absolute;top:-4px;left:14px;width:8px;height:8px;border-radius:50%;background:var(--ink)}.scale-number{font-size:.68rem;letter-spacing:.08em;font-weight:800;color:var(--muted);margin-bottom:18px}.scale-node strong{display:block;font-size:1rem}.scale-node span{display:block;margin-top:6px;color:var(--muted);font-size:.82rem;line-height:1.45}@media(max-width:980px){.world-triptych{grid-template-columns:1fr}.scale-rail{grid-template-columns:1fr 1fr}.scale-node{border-bottom:1px solid var(--line)}.scale-node:nth-child(2n){border-right:0}}@media(max-width:620px){.scale-rail{grid-template-columns:1fr}.scale-node{border-right:0}.scale-node:not(:last-child){border-bottom:1px solid var(--line)}}


/* V8.15.3 · scene dramaturgy + screenplay status labels */
.scene-label-row{display:flex;flex-wrap:wrap;gap:.45rem;margin:0 0 1rem 0;align-items:center}
.scene-label{display:inline-flex;align-items:center;min-height:1.65rem;padding:.25rem .55rem;border:1px solid var(--line,#d8d6d0);border-radius:999px;font-size:.68rem;line-height:1;font-weight:700;letter-spacing:.08em;text-transform:uppercase}
.scene-label-dramaturgy{background:var(--ink,#1b1b1b);color:var(--paper,#fff)}
.scene-label-status{background:transparent;color:var(--muted,#666)}
.script-scene .scene-label-row{margin:0 0 .7rem 0}
@media print{.scene-label-row{print-color-adjust:exact;-webkit-print-color-adjust:exact}.scene-label-dramaturgy{color:#fff!important;background:#000!important}}

/* V8.19 · stable status vocabulary (additive, preserves editorial labels) */
.status, .script-status, .scene-label-status { white-space: nowrap; }
[data-status-state="working"] { --status-accent:#666; --status-bg:rgba(0,0,0,.035); }
[data-status-state="open"] { --status-accent:#7a6b58; --status-bg:rgba(122,107,88,.07); }
[data-status-state="derived"] { --status-accent:#59616a; --status-bg:rgba(89,97,106,.07); }
[data-status-state="archived"] { --status-accent:#777; --status-bg:rgba(0,0,0,.025); opacity:.82; }
[data-status-state="fragment"] { --status-accent:#6b6570; --status-bg:rgba(107,101,112,.07); }
.status[data-status-state], .script-status[data-status-state], .scene-label-status[data-status-state] {
  color:var(--status-accent);
}
.status[data-status-state], .script-status[data-status-state] {
  display:inline-flex; align-items:center; gap:7px;
}
.status[data-status-state]::before, .script-status[data-status-state]::before {
  content:""; width:6px; height:6px; border-radius:50%; background:currentColor; opacity:.7; flex:0 0 auto;
}
.scene-label-status[data-status-state] { background:var(--status-bg); border-color:color-mix(in srgb,var(--status-accent) 24%, var(--line)); }


/* V8.20.4 · screenplay EVIDENZ synchronization */
.integration-v8203{margin-top:24px;padding:16px 18px;border-left:3px solid #999;background:#f7f7f2}.integration-v8203 h3{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.78rem;letter-spacing:.06em;text-transform:uppercase;margin:0 0 10px;color:#666}.integration-v8203 p{margin:0 0 .9em}.integration-v8203 .quiet{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.72rem;color:#777;font-style:italic}.integration-v8203 p:last-child{margin-bottom:0}

/* V8.22.2 — Begriffshilfe: dezente Glossar-Tooltips */
.glossary-term{border-bottom:1px dotted currentColor;cursor:help;text-decoration:none;text-decoration-thickness:1px;text-underline-offset:3px}
.glossary-term:focus{outline:2px solid currentColor;outline-offset:2px}
.glossary-tip{position:relative;display:inline}
.glossary-tip:hover::after,.glossary-tip:focus-within::after{content:attr(data-glossary);position:absolute;z-index:30;left:0;bottom:calc(100% + 8px);width:min(320px,70vw);padding:9px 11px;border:1px solid var(--line);border-radius:8px;background:var(--paper);color:var(--ink);box-shadow:0 8px 24px rgba(0,0,0,.12);font-size:.82rem;line-height:1.35;font-weight:400;letter-spacing:0;text-transform:none;pointer-events:none}
@media (max-width:720px){.glossary-tip:hover::after,.glossary-tip:focus-within::after{width:min(280px,78vw)}}


/* V8.24.1 · applied audit: communication-specific visual hierarchy */
.page-first-contact .hero{max-width:980px;padding-bottom:46px}.page-first-contact .hero .lead{max-width:860px}.page-first-contact .section{margin:64px 0}
.contact-bridge-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.contact-bridge-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:24px;text-decoration:none;display:block}.contact-bridge-card h3{margin:.2rem 0 .6rem}.contact-bridge-card p{margin:0 0 14px;line-height:1.65}.contact-bridge-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(0,0,0,.07)}
.page-film .hero{padding-bottom:54px}.page-film .grid .card{padding:28px}.cinematic-bridge{max-width:900px;padding:28px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.page-film-pitch .hero{max-width:980px;padding-bottom:50px}.page-film-pitch .pitch-card{padding:28px;min-height:210px}
.page-book .hero,.page-book-pitch .hero{max-width:940px}.page-book .section,.page-book-pitch .section{max-width:940px}.page-book .card,.page-book-pitch .card{padding:26px}
.argument-path{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:1px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.argument-step{padding:20px 18px}.argument-step:not(:last-child){border-right:1px solid var(--line)}.argument-step p{margin:.45rem 0 0;line-height:1.55}
.epistemic-grid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.epistemic-card{border:1px solid var(--line);border-radius:12px;padding:16px;background:var(--paper)}.epistemic-card p{margin:.45rem 0 0;line-height:1.45;font-size:.9rem}.epistemic-note{margin-top:16px}.term-status{margin-top:4px;font-size:.78rem;line-height:1.4}.science-status{max-width:900px}.science-status strong{display:block;font-size:.72rem;letter-spacing:.09em;color:var(--muted)}
.page-world .hero{max-width:900px}.page-world .world-film{min-height:300px;padding:26px}
@media(max-width:560px){.page-world .hero h1.lore-title{font-size:2.1rem}}
@media(max-width:560px){.page-world .hero h1.glossar-title{font-size:2.4rem}}
.page-scenes .hero,.page-figures .hero,.page-archive .hero,.page-work .hero{padding-bottom:34px}.page-scenes .item,.page-figures .role-card{padding:20px}.page-archive .section,.page-work .section{max-width:920px}.page-archive .hero,.page-work .hero{max-width:920px}.page-screenplay .hero{max-width:900px}.page-screenplay .script-scene{max-width:820px}
@media(max-width:980px){.argument-path,.epistemic-grid{grid-template-columns:1fr 1fr}.argument-step:nth-child(2n){border-right:0}.contact-bridge-grid{grid-template-columns:1fr}}@media(max-width:720px){.argument-path,.epistemic-grid{grid-template-columns:1fr}.argument-step:not(:last-child){border-right:0;border-bottom:1px solid var(--line)}}

/* V8.24.3 · moments integrated into film surfaces */
.nav-utility{margin-left:auto;padding-left:18px;border-left:1px solid var(--line);font-size:.78rem;letter-spacing:.05em;color:var(--muted)}
.moment-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.moment-card{display:block;text-decoration:none;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:20px;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}
.moment-card:hover{border-color:#b9b9b2;transform:translateY(-1px);box-shadow:0 8px 20px rgba(0,0,0,.04)}
.moment-card .moment-meta{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;font-weight:800;color:var(--muted);margin-bottom:8px}
.moment-card h3{margin:.1rem 0 .45rem}
.moment-card p{margin:0;color:var(--muted);line-height:1.55}
@media(max-width:720px){.nav-utility{margin-left:0;padding-left:0;border-left:0}.moment-grid{grid-template-columns:1fr}}

/* V8.24.20 · EVIDENZ visual continuation repair
   Regression-sync material stays inside the screenplay page instead of
   appearing as a separate layer between screenplay sheets. */
.page-screenplay .script-scene,
.screenplay-shell .script-scene{
  min-height:0;
  overflow:visible;
}
.page-screenplay .content-regression-v82419,
.screenplay-shell .content-regression-v82419{
  display:block;
  margin:30px 0 0;
  padding:22px 0 0;
  background:transparent;
  border:0;
  border-top:1px solid #ddd;
  border-radius:0;
  box-shadow:none;
  color:inherit;
}
.page-screenplay .content-regression-v82419:first-child,
.screenplay-shell .content-regression-v82419:first-child{
  margin-top:24px;
}
.content-regression-v82419 > h2:first-child,
.content-regression-v82419 > h3:first-child{
  margin-top:0;
}
.content-regression-v82419 .screenplay-mini,
.content-regression-v82419 .screenplay{
  margin-top:14px;
  padding:0;
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  white-space:pre-wrap;
  font-family:"Courier New",Courier,monospace;
  line-height:1.45;
}
.content-regression-v82419.v82417-sync{
  border-top-color:#ccc;
}
@media print{
  .page-screenplay .content-regression-v82419,
  .screenplay-shell .content-regression-v82419{
    margin-top:18px;
    padding-top:12px;
    border-top:1px solid #bbb;
    break-inside:auto;
    page-break-inside:auto;
  }
}

/* V8.24.22 · SCREENPLAY PAGE ACCEPTANCE CRITERIA */
.page-screenplay .script-scene + .script-scene { break-before: page; page-break-before: always; }
.page-screenplay .script-scene { min-height: 0; break-inside: auto; page-break-inside: auto; }
.page-screenplay .script-scene + .script-scene { margin-top: 30px; }
@media print { .page-screenplay .script-scene { break-before: page; page-break-before: always; break-after: auto; page-break-after: auto; } .page-screenplay .script-scene:first-child { break-before: auto; page-break-before: auto; } }

/* V8.44 · EVIDENZ screenplay merge: optional editorial layers */
.optional-dialogue{border-left:3px solid #999;padding-left:12px;opacity:.82;position:relative}
.optional-badge{display:inline-block;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:.64em;line-height:1.2;letter-spacing:.07em;text-transform:uppercase;margin-right:.5em;padding:.18em .4em;border:1px solid #999;border-radius:4px;vertical-align:middle;color:#666;background:#f7f7f3}
.script-beat{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#666;font-size:.86em;line-height:1.5;margin:1.25em auto;width:72%;padding-left:10px;border-left:1px solid #ccc}
@media(max-width:900px){.script-beat{width:82%}}
@media(max-width:560px){.script-beat{width:92%}}


/* Scene detail / screenplay integration */
.scene-script-integration{background:var(--soft);border:1px solid var(--line);border-radius:16px;padding:22px}
.scene-script-integration h3{margin:.1rem 0 .55rem}
.scene-script-integration p{line-height:1.72}
.scene-script-kicker{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}
.scene-script-chip{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:5px 9px;background:var(--paper);font-size:.72rem;letter-spacing:.06em;text-transform:uppercase;color:var(--muted)}
.scene-script-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin-top:16px}
.scene-script-box{background:var(--paper);border:1px solid var(--line);border-radius:13px;padding:17px}
.scene-script-box h4{margin:0 0 7px;line-height:1.25}
.scene-script-box p{margin:.15rem 0}
.scene-script-box ul{margin:.2rem 0 0;padding-left:1.2rem}
.scene-script-box li{margin:.3rem 0;line-height:1.55}
.scene-option{border-left:3px solid #999;padding-left:12px}
.scene-card .scene-statusline{display:flex;gap:6px;flex-wrap:wrap;margin-top:8px}
.scene-card .scene-status-chip{font-size:.67rem;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);border:1px solid var(--line);border-radius:999px;padding:3px 7px}
@media(max-width:820px){.scene-script-grid{grid-template-columns:1fr}}


/* V8.47 · scene overview hierarchy: form vs function vs optional */
.scene-index-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.scene-card{display:flex;flex-direction:column;background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:18px;min-width:0;text-decoration:none;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease}.scene-card:hover{transform:translateY(-2px);box-shadow:0 10px 26px rgba(0,0,0,.06);border-color:#b9b9b2}.scene-card .scene-no{margin-bottom:7px}.scene-card h3{margin:.1rem 0 .55rem;line-height:1.25}.scene-card .scene-teaser{margin:0;line-height:1.55;color:#444}.scene-card .scene-foot{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-top:14px;padding-top:12px;border-top:1px solid var(--line);font-size:.79rem;color:var(--muted)}.scene-card .detail-link{text-decoration:underline;white-space:nowrap}.scene-card-labels{display:flex;flex-wrap:wrap;gap:6px;margin:2px 0 8px}.scene-form,.scene-function,.scene-status-chip{display:inline-flex;align-items:center;min-height:24px;padding:4px 7px;border:1px solid var(--line);border-radius:999px;font-size:.66rem;letter-spacing:.075em;text-transform:uppercase;font-weight:800;line-height:1}.scene-form{color:var(--ink);background:var(--soft)}.scene-form-vollszene{background:#f6f6f2}.scene-form-übergang{background:#f2f4f4}.scene-form-zwischenschicht{background:#f5f1ea}.scene-form-scharnier{background:#f3f1f5}.scene-form-cut-fragment{background:#f1f1f1}.scene-function{color:var(--muted);background:transparent}.scene-statusline{margin:-1px 0 8px}.scene-status-chip{font-size:.63rem;color:var(--muted);background:transparent}.scene-status-chip-optional{border-style:dashed;color:var(--ink)}.scene-metrics{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin-top:20px}.scene-metric{background:var(--paper);border:1px solid var(--line);border-radius:14px;padding:18px}.scene-metric .label{font-size:.72rem;letter-spacing:.08em;text-transform:uppercase;font-weight:750;color:var(--muted)}.scene-metric strong{display:block;font-size:1.38rem;line-height:1.2;margin-top:5px}.scene-metric span{display:block;color:var(--muted);font-size:.8rem;line-height:1.45;margin-top:6px}.scene-legend{padding-top:2px}.scene-legend-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.scene-legend-item{background:var(--soft);border:1px solid var(--line);border-radius:14px;padding:16px}.scene-legend-item p{margin:.7rem 0 0;color:var(--muted);font-size:.84rem;line-height:1.5}.scene-section + .scene-section{margin-top:42px}@media(max-width:980px){.scene-index-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-metrics{grid-template-columns:repeat(2,minmax(0,1fr))}.scene-legend-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:560px){.scene-index-grid,.scene-metrics,.scene-legend-grid{grid-template-columns:1fr}}

.scene-reading-note{margin:0 0 18px;padding:13px 16px;border:1px solid var(--line);border-radius:14px;background:var(--soft);color:var(--muted);font-size:.86rem;line-height:1.5}.scene-reading-note strong{color:var(--ink);text-transform:uppercase;letter-spacing:.08em;font-size:.72rem;margin-right:6px}.scene-form-scharnier{background:#f3f1f5}.scene-form-übergang{background:#f2f4f4}.scene-form-zwischenschicht{background:#f5f1ea}.scene-form-vollszene{background:#f6f6f2}.scene-form-cut-fragment{background:#f1f1f1}.scene-form-optionale-elemente{background:#f1f1f1}

/* V8.50 scene classification */
.scene-overview-badges{display:flex;gap:8px;flex-wrap:wrap;margin:14px 0 0}.scene-overview-badge{display:inline-block;border:1px solid var(--line);border-radius:999px;padding:5px 9px;font-size:.68rem;letter-spacing:.07em;text-transform:uppercase;background:var(--paper);color:var(--muted)}.scene-overview-badge.form-vollszene{background:#f6f6f2}.scene-overview-badge.form-scharnier{background:#f3f1f5}.scene-overview-badge.form-übergang{background:#f2f4f4}.scene-overview-badge.form-zwischenschicht{background:#f5f1ea}.scene-overview-badge.function{background:var(--soft)}.scene-overview-badge.open{border-style:dashed}.scene-status-note{margin-top:10px;padding:10px 12px;border:1px dashed var(--line);border-radius:10px;color:var(--muted);font-size:.8rem;line-height:1.5}.scene-status-note strong{color:var(--ink)}


/* V8.51: Laufzeit-Provenienz */
.duration-source{font-size:.72em;opacity:.68;letter-spacing:.02em;white-space:nowrap}

.duration-source-note{display:block;font-size:.7em;opacity:.62;letter-spacing:.02em;margin-top:.25rem}


/* V8.52 PERT Laufzeitdarstellung */
.scene-pert-chip, .scene-pert-display {
  display:inline-flex; align-items:center; margin-left:.45rem; padding:.18rem .45rem;
  border:1px solid rgba(127,127,127,.35); border-radius:999px; font-size:.76em;
  letter-spacing:.02em; white-space:nowrap;
}
.pert-note { margin: 1rem 0; }
.scene-foot .scene-pert-display { margin-left:.35rem; }

/* Iteration 1 · zentral gepflegter Entwicklungsstatus */
.hero-with-status{position:relative;padding-right:300px}
.bios-status-stamp{position:absolute;top:2px;right:0;display:flex;flex-direction:column;align-items:flex-end;gap:3px;max-width:280px;padding:10px 13px 9px;border:1px solid currentColor;border-radius:5px;transform:rotate(-1.2deg);background:rgba(250,250,247,.88);box-shadow:0 5px 14px rgba(0,0,0,.045);text-align:right;text-transform:uppercase;letter-spacing:.08em}
.bios-status-film{font-size:.67rem;font-weight:850;line-height:1.1}
.bios-status-phase{font-size:.63rem;font-weight:720;line-height:1.2;letter-spacing:.065em}
.bios-status-stable{color:#3f655c}
.bios-status-development{color:#8a6a3b}
.bios-status-concept{color:#665873}
.bios-status-chip{display:inline-flex;align-items:center;margin-top:10px;padding:5px 8px;border:1px solid currentColor;border-radius:999px;font-size:.66rem;font-weight:800;line-height:1.2;letter-spacing:.07em;text-transform:uppercase;background:rgba(250,250,247,.72)}
.bios-status-chip.bios-status-stable{color:#3f655c}.bios-status-chip.bios-status-development{color:#8a6a3b}.bios-status-chip.bios-status-concept{color:#665873}
.status-strip{display:flex;flex-wrap:wrap;gap:9px;margin-top:12px}
@media(max-width:820px){.hero-with-status{padding-right:0}.bios-status-stamp{position:relative;top:auto;right:auto;display:inline-flex;margin:0 0 14px;max-width:none;transform:rotate(0);align-items:flex-start;text-align:left}}

.dramaturgical-evidence-standard .section-head{margin-bottom:.9rem}.dramaturgical-evidence-standard .detail p{max-width:70ch;line-height:1.45}.dramaturgical-evidence-standard .detail h3{margin-top:0}


/* NAVIGATION PREVIEW 10 — shared horizontal rail */
:root{--nav-rail-gutter:28px}
.wrap{padding-inline:var(--nav-rail-gutter)!important}
.top .nav,.scroll-compact-inner,.subnav-inner,.page-resource-bar .subnav-inner,.page-anchor-nav-inner,.script-jump{padding-left:0!important;padding-right:0!important}
@media(max-width:820px){:root{--nav-rail-gutter:18px}}

/* D1.2 content-frame alignment: all content below the navigation uses one centered frame. */
main.wrap{width:100%;max-width:1120px;margin-inline:auto;padding-inline:28px}
main.wrap .path,main.wrap > .hero,main.wrap > .section,main.wrap > .script-stats,main.wrap > .script-jump{width:100%}
.page-screenplay .hero{max-width:none}
@media(max-width:820px){main.wrap{width:100%;max-width:none;padding-inline:18px}}

/* D2.1: central page-frame parity for screenplay content only.
   Navigation remains unchanged; content below the header shares the same frame as figures/scenes. */
main.wrap.screenplay-shell{
  width:100%;
  max-width:1120px;
  margin-inline:auto;
  padding-inline:28px;
}
main.wrap.screenplay-shell > .path,
main.wrap.screenplay-shell > .hero,
main.wrap.screenplay-shell > .script-stats,
main.wrap.screenplay-shell > .script-jump,
main.wrap.screenplay-shell > .screenplay{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
}
main.wrap.screenplay-shell > .hero{max-width:none}
main.wrap.screenplay-shell > .script-jump{box-sizing:border-box}
@media(max-width:820px){
  main.wrap.screenplay-shell{max-width:none;padding-inline:18px}
}


/* D3.2 · Responsive scene table: readable wrapping instead of horizontal scrolling. */
@media (max-width: 760px){
  .arch-table{width:100%;border-collapse:separate;border-spacing:0;display:block;overflow:visible}
  .arch-table thead{display:none}
  .arch-table tbody{display:block;width:100%}
  .arch-table tr{display:grid;grid-template-columns:1fr;gap:0;margin:0 0 12px;padding:12px 0;border-top:1px solid var(--line)}
  .arch-table td{display:grid;grid-template-columns:minmax(7.5rem,36%) minmax(0,1fr);gap:12px;align-items:start;padding:8px 0;border:0;min-width:0;white-space:normal;overflow-wrap:anywhere}
  .arch-table td::before{content:attr(data-label);font-size:.68rem;line-height:1.25;font-weight:750;letter-spacing:.04em;color:var(--muted);text-transform:none}
  .arch-table td.arch-id{font-weight:750}
  .arch-table td.arch-id::before{content:'ID'}
  .arch-table td .scene-summary{display:block;margin-top:5px}
  .arch-table td .runtime-inline{display:flex;flex-wrap:wrap;gap:6px 10px}
}
@media (max-width:520px){
  .arch-table td{grid-template-columns:1fr;gap:4px}
  .arch-table td::before{font-size:.64rem}
}

/* D3.1 content model cleanup */
.item-main{display:block;text-decoration:none;color:inherit}.item-main p{margin-bottom:.7rem}.profile-mini{display:inline-flex;align-items:center;min-height:30px;padding:5px 9px;border:1px solid var(--line);border-radius:7px;text-decoration:none;font-size:.76rem;font-weight:750;background:var(--paper)}.profile-mini:hover{background:var(--soft)}

/* D3.4 · Scene overview UI: scene synopsis as a visually secondary reading block. */
.arch-table td .scene-summary{
  display:block;
  margin-top:10px;
  max-width:52ch;
  color:var(--muted);
  font-size:.88rem;
  line-height:1.5;
}
@media (max-width:760px){
  .arch-table td .scene-summary{
    margin-top:9px;
    padding:10px 12px;
    border-left:2px solid var(--line);
    border-radius:0 8px 8px 0;
    background:var(--soft);
    max-width:none;
  }
}
@media (max-width:520px){
  .arch-table td .scene-summary{
    padding:9px 11px;
    font-size:.86rem;
    line-height:1.48;
  }
}

/* D3.6 · Mobile scene overview row: title with ID, synopsis full content width. */
@media (max-width:760px){
  .arch-table tr{
    --scene-id-col:5.25rem;
    --scene-row-gap:12px;
    display:grid;
    grid-template-columns:var(--scene-id-col) minmax(0,1fr);
    column-gap:var(--scene-row-gap);
    row-gap:0;
    margin:0 0 12px;
    padding:12px 0;
    border-top:1px solid var(--line);
  }
  .arch-table td.arch-id{
    grid-column:1;
    grid-row:1;
    display:block;
    padding:8px 0;
  }
  .arch-table td.arch-id::before{display:block;margin-bottom:4px}
  .arch-table td[data-label="Titel / Kurzinhalt"]{
    display:contents;
  }
  .arch-table td[data-label="Titel / Kurzinhalt"]::before{display:none}
  .arch-table td[data-label="Titel / Kurzinhalt"] > a{
    grid-column:2;
    grid-row:1;
    align-self:start;
    justify-self:center;
    padding:8px 0;
    min-width:0;
  }
  .arch-table td[data-label="Titel / Kurzinhalt"] .scene-summary{
    grid-column:1 / -1;
    grid-row:2;
    width:auto;
    max-width:none;
    margin:10px 0 0;
    box-sizing:border-box;
    padding:10px 12px;
    border-left:2px solid var(--line);
    border-radius:0 8px 8px 0;
    background:var(--soft);
  }
  .arch-table td:nth-child(n+3){grid-column:1 / -1}
}
@media (max-width:520px){
  .arch-table tr{--scene-id-col:4.5rem;--scene-row-gap:10px}
  .arch-table td[data-label="Titel / Kurzinhalt"] .scene-summary{
    margin-top:9px;
    padding:9px 11px;
    font-size:.86rem;
    line-height:1.48;
  }
}

/* D3.7 FINAL OVERRIDE · mobile scene synopsis is a true full-row item.
   This intentionally supersedes the earlier D3.5/D3.6 title-column rules. */
@media (max-width:760px){
  .arch-table tr{
    --scene-id-col:5.25rem;
    --scene-row-gap:12px;
    display:grid;
    grid-template-columns:var(--scene-id-col) minmax(0,1fr);
    column-gap:var(--scene-row-gap);
    row-gap:0;
  }
  .arch-table td.arch-id{
    grid-column:1;
    grid-row:1;
    display:block;
    padding:8px 0;
  }
  .arch-table td[data-label="Titel / Kurzinhalt"]{display:contents}
  .arch-table td[data-label="Titel / Kurzinhalt"]::before{display:none}
  .arch-table td[data-label="Titel / Kurzinhalt"] > a{
    grid-column:2;
    grid-row:1;
    align-self:start;
    justify-self:center;
    padding:8px 0;
    min-width:0;
  }
  .arch-table td[data-label="Titel / Kurzinhalt"] .scene-summary{
    grid-column:1 / -1;
    grid-row:2;
    width:auto !important;
    max-width:none !important;
    margin:10px 0 0 !important;
    padding:0 !important;
    border:0 !important;
    border-left:0 !important;
    border-radius:0 !important;
    background:transparent !important;
    box-sizing:border-box;
  }
  .arch-table td:nth-child(n+3){grid-column:1 / -1}
}
@media (max-width:520px){
  .arch-table tr{--scene-id-col:4.5rem;--scene-row-gap:10px}
  .arch-table td[data-label="Titel / Kurzinhalt"] .scene-summary{
    margin-top:9px !important;
    font-size:.86rem;
    line-height:1.48;
  }
}


/* D3.9 · Robust responsive scene synopsis row. */
.arch-table td.scene-summary-cell{display:none!important}
@media (max-width:760px){
  .arch-table td[data-label="Titel / Kurzinhalt"]{display:block!important;grid-column:2!important;grid-row:1!important;padding:8px 0!important;min-width:0!important}
  .arch-table td[data-label="Titel / Kurzinhalt"]::before{display:none!important}
  .arch-table td.scene-summary-cell{display:block!important;grid-column:1 / -1!important;grid-row:2!important;padding:10px 0 12px!important;border:0!important;min-width:0!important}
  .arch-table td.scene-summary-cell::before{display:none!important}
  .arch-table td.scene-summary-cell .scene-summary{display:block!important;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-sizing:border-box!important;color:var(--muted)!important;font-size:.9rem!important;line-height:1.5!important}
  .arch-table td:nth-of-type(n+4){grid-column:1 / -1!important}
}
@media (max-width:520px){
  .arch-table td.scene-summary-cell{padding:9px 0 11px!important}
  .arch-table td.scene-summary-cell .scene-summary{font-size:.86rem!important;line-height:1.48!important}
}


/* D3.10 · Structural scene table: title and synopsis are separate rows. */
.arch-table .scene-main-row > .scene-title-cell .scene-summary{display:none!important}
.arch-table .scene-description-row{display:table-row}
.arch-table .scene-description-cell{display:table-cell!important;width:100%;padding:8px 0 18px;border:0;color:var(--muted);vertical-align:top}
.arch-table .scene-description-cell .scene-summary{display:block!important;width:auto;max-width:78ch;margin:0;padding:0;border:0;border-radius:0;background:transparent;color:var(--muted);font-size:.88rem;line-height:1.5;box-sizing:border-box}
@media(max-width:760px){
  .arch-table .scene-main-row{display:grid;grid-template-columns:minmax(4.5rem,28%) minmax(0,1fr);column-gap:10px;row-gap:0;margin:0;padding:10px 0 0;border-top:1px solid var(--line)}
  .arch-table .scene-main-row > .arch-id{grid-column:1;grid-row:1;display:block;padding:7px 0}
  .arch-table .scene-main-row > .scene-title-cell{grid-column:2;grid-row:1;display:block;padding:7px 0;min-width:0}
  .arch-table .scene-main-row > td:nth-child(n+3){grid-column:1/-1}
  .arch-table .scene-description-row{display:grid;grid-template-columns:1fr;margin:0 0 8px;padding:0;border:0}
  .arch-table .scene-description-cell{display:block!important;grid-column:1/-1;width:auto;padding:8px 0 16px;border:0}
  .arch-table .scene-description-cell .scene-summary{display:block!important;width:100%;max-width:none;margin:0;padding:0;border:0;border-radius:0;background:transparent;font-size:.9rem;line-height:1.5;color:var(--muted)}
}
@media(max-width:520px){
  .arch-table .scene-main-row{grid-template-columns:minmax(4.5rem,24%) minmax(0,1fr);column-gap:10px}
  .arch-table .scene-description-cell{padding:8px 0 14px}
  .arch-table .scene-description-cell .scene-summary{font-size:.86rem;line-height:1.48}
}


/* D3.11 · Scene overview semantic ordering */
.scene-overview-list{width:100%;}
.scene-entry{border-top:1px solid var(--line);padding:18px 0 20px;display:grid;gap:0;}
.scene-entry-top{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;align-items:end;}
.scene-entry-middle{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:32px;border-top:1px solid var(--line);margin-top:18px;padding-top:16px;}
.scene-field{min-width:0;}
.scene-field-label{display:block;font-size:.68rem;line-height:1.2;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:5px;}
.scene-id-field{text-align:right;}
.scene-id-field a,.scene-title-field a{color:var(--ink);}
.scene-id-field a{font-size:1.35rem;font-weight:800;}
.scene-title-field{padding:18px 0 2px;}
.scene-title-field a{font-size:1.45rem;line-height:1.15;}
.scene-form-field strong,.scene-function-field strong{font-size:1rem;line-height:1.35;}
.scene-field-secondary{display:block;margin-top:4px;color:var(--muted);font-size:.86rem;line-height:1.35;}
.scene-duration-field{border-top:1px solid var(--line);margin-top:16px;padding-top:15px;}
.scene-duration-field .runtime-inline{display:flex;flex-wrap:wrap;gap:8px 18px;}
.scene-duration-field .runtime-inline > span{display:flex;flex-direction:column;gap:2px;}
.scene-duration-field .rt-label{font-size:.68rem;line-height:1.2;font-weight:750;letter-spacing:.05em;text-transform:uppercase;color:var(--muted);}
.scene-description-field{border-top:1px solid var(--line);margin-top:16px;padding-top:15px;}
.scene-description-field p{margin:0;max-width:100%;font-size:1rem;line-height:1.55;color:var(--muted);}
@media(max-width:760px){
  .scene-entry{padding:15px 0 18px;}
  .scene-entry-top,.scene-entry-middle{grid-template-columns:1fr;gap:0;}
  .scene-entry-top{border-bottom:1px solid var(--line);padding-bottom:14px;}
  .scene-phase,.scene-id-field{text-align:left;}
  .scene-id-field{margin-top:10px;}
  .scene-title-field{padding:14px 0 0;}
  .scene-title-field a{font-size:1.32rem;}
  .scene-entry-middle{border-top:0;margin-top:0;padding-top:0;}
  .scene-form-field,.scene-function-field{padding-top:14px;}
  .scene-duration-field{margin-top:12px;padding-top:13px;}
  .scene-description-field{margin-top:14px;padding-top:14px;}
  .scene-description-field p{font-size:.95rem;line-height:1.5;}
}

/* D3.12 — Scene overview UI refinement: distinct scene cards */
.scene-overview-list{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1rem;
}
.scene-entry{
  border:1px solid var(--line);
  border-radius:16px;
  background:var(--paper);
  padding:1.15rem 1.2rem 1.25rem;
  display:grid;
  gap:0;
  min-width:0;
}
.scene-entry + .scene-entry{margin-top:0;}
.scene-entry-top{padding-bottom:0;}
.scene-entry-middle{border-top:1px solid var(--line);margin-top:1rem;padding-top:.9rem;}
.scene-title-field{padding-top:.7rem;}
.scene-duration-field{border-top:1px solid var(--line);margin-top:.95rem;padding-top:.8rem;}
.scene-description-field{border-top:1px solid var(--line);margin-top:1rem;padding-top:.85rem;}
.scene-description-field p{margin:.25rem 0 0;max-width:70ch;color:var(--muted);line-height:1.5;}
.scene-field-label{font-size:.66rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:700;}
.scene-id-field a,.scene-title-field a{color:inherit;}
@media(max-width:1100px){
  .scene-overview-list{grid-template-columns:1fr;}
}
@media(max-width:720px){
  .scene-entry{padding:1rem 1rem 1.1rem;border-radius:14px;}
  .scene-entry-top{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:1rem;}
  .scene-entry-middle{grid-template-columns:1fr;gap:.7rem;}
  .scene-entry-middle>div + div{border-top:1px solid var(--line);padding-top:.7rem;}
}


/* D3.13 — explicit scene destinations */
.scene-actions{display:flex;gap:.6rem;flex-wrap:wrap;margin-top:1rem;padding-top:.9rem;border-top:1px solid var(--line)}
.scene-action{display:inline-flex;align-items:center;justify-content:center;min-height:2.25rem;padding:.5rem .78rem;border-radius:8px;border:1px solid var(--line);text-decoration:none;font-size:.8rem;line-height:1.1;font-weight:700;letter-spacing:.005em}
.scene-action-primary{background:var(--ink);color:#fff;border-color:var(--ink)}
.scene-action-secondary{background:transparent;color:var(--ink)}
.scene-action:hover{transform:translateY(-1px)}
@media(max-width:720px){
  .scene-actions{display:grid;grid-template-columns:1fr;gap:.5rem}
  .scene-action{width:100%;min-height:2.5rem;padding:.6rem .7rem}
}

/* D3.15 · reusable EvidenceCard */
.evidence-section{margin-top:54px}
.evidence-card{background:var(--paper);border:1px solid var(--line);border-radius:16px;padding:26px 28px;box-sizing:border-box}
.evidence-card-head{display:flex;justify-content:flex-start;align-items:baseline;gap:18px;flex-wrap:wrap;margin-bottom:18px}
.evidence-card-head h2{margin:0}
.evidence-card .quiet{font-size:.88rem}
.evidence-list{margin:0;padding-left:1.2rem;line-height:1.6;max-width:78ch}
.evidence-list li+li{margin-top:8px}
@media(max-width:700px){.evidence-card{padding:20px}.evidence-card-head{display:block;margin-bottom:14px}.evidence-card-head .quiet{display:block;margin-top:4px}.evidence-list{padding-left:1.1rem}}


/* D3.18 · Screenplay scene header uses cleaned scene-overview metadata; runtime remains screenplay-owned. */
.screenplay-summary-top{display:grid;grid-template-columns:1fr 1fr;gap:1rem;border-top:1px solid var(--line);border-bottom:1px solid var(--line);padding:12px 0}
.screenplay-summary-field{min-width:0}.screenplay-summary-label{font-size:.68rem;line-height:1.2;font-weight:750;letter-spacing:.06em;text-transform:uppercase;color:var(--muted);margin-bottom:.28rem}.screenplay-summary-field strong{font-size:1rem}.screenplay-summary-title{padding:14px 0;font-size:1.28rem;line-height:1.15;font-weight:800;border-bottom:1px solid var(--line)}
.screenplay-summary-mid{display:grid;grid-template-columns:1fr 1fr;gap:1rem;border-bottom:1px solid var(--line);padding:12px 0}.screenplay-summary-duration{display:grid;grid-template-columns:7rem minmax(0,1fr);gap:12px;align-items:start;padding:12px 0;border-bottom:1px solid var(--line)}.screenplay-summary-runtime{display:flex;flex-wrap:wrap;gap:.5rem 1.2rem}.screenplay-summary-runtime>span{display:inline-flex;gap:.35rem;align-items:baseline}.screenplay-summary-description{padding:14px 0 18px;border-bottom:1px solid var(--line)}.screenplay-summary-description p{margin:.2rem 0 0;max-width:82ch;color:var(--muted);font-size:.96rem;line-height:1.5}.screenplay-summary-description .screenplay-summary-label{margin-bottom:.1rem}
.screenplay-meta-clean .runtime-box{margin:1rem 0;background:var(--soft);border:1px solid var(--line)}
@media(max-width:760px){.screenplay-summary-top,.screenplay-summary-mid{grid-template-columns:1fr;gap:0}.screenplay-summary-top .screenplay-summary-field+ .screenplay-summary-field{padding-top:8px}.screenplay-summary-duration{grid-template-columns:1fr;gap:4px}.screenplay-summary-runtime{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .8rem}.screenplay-summary-runtime>span{display:flex;flex-direction:column;gap:.1rem}.screenplay-summary-title{font-size:1.16rem}.screenplay-summary-description p{max-width:none;font-size:.95rem}}


/* D3.19 · Screenplay scene prelude UI
   The scene-overview-derived header is treated as a compact editorial card;
   scene navigation sits at the bottom of the prelude immediately before script flow. */
.script-scene-prelude{
  margin:0 0 28px;
  padding:20px 22px 14px;
  border:1px solid var(--line);
  border-radius:14px;
  background:color-mix(in srgb, var(--soft,#f5f5f0) 55%, var(--paper,#fff));
}
.script-scene-prelude .screenplay-summary-top,
.script-scene-prelude .screenplay-summary-mid{
  border-color:rgba(0,0,0,.09);
}
.script-scene-prelude .screenplay-summary-title{
  font-size:1.35rem;
  padding:12px 0 14px;
}
.script-scene-prelude .screenplay-summary-description{
  padding-bottom:16px;
}
.script-scene-prelude .screenplay-summary-description p{
  max-width:76ch;
}
.script-scene-prelude .runtime-box{
  margin:14px 0 0;
  border-radius:10px;
  background:var(--paper);
}
.script-scene-prelude .screenplay-meta-options{
  margin-top:12px;
  padding-top:12px;
  border-top:1px solid rgba(0,0,0,.09);
}
.script-scene-prelude .script-scene-nav{
  margin-top:14px;
  padding-top:11px;
  border-top:1px solid rgba(0,0,0,.11);
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  gap:10px;
  font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  font-size:.78rem;
}
.script-scene-prelude .script-scene-nav a{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:32px;
  padding:6px 10px;
  border:1px solid transparent;
  border-radius:7px;
  color:var(--muted,#666);
  text-decoration:none;
}
.script-scene-prelude .script-scene-nav a:hover{border-color:var(--line);background:var(--paper);color:var(--ink,#111)}
.script-scene-prelude .script-scene-nav a:first-child{justify-self:start}
.script-scene-prelude .script-scene-nav a:nth-child(2){justify-self:center;font-weight:750;color:var(--ink,#111);background:var(--paper);border-color:var(--line)}
.script-scene-prelude .script-scene-nav a:last-child{justify-self:end}
@media(max-width:760px){
  .script-scene-prelude{padding:16px 15px 11px;margin-bottom:22px;border-radius:11px}
  .script-scene-prelude .screenplay-summary-title{font-size:1.18rem}
  .script-scene-prelude .script-scene-nav{grid-template-columns:1fr 1fr;gap:7px}
  .script-scene-prelude .script-scene-nav a:nth-child(2){grid-column:1/-1;grid-row:1;order:-1;width:100%}
  .script-scene-prelude .script-scene-nav a:first-child{grid-column:1;grid-row:2;justify-self:stretch}
  .script-scene-prelude .script-scene-nav a:last-child{grid-column:2;grid-row:2;justify-self:stretch}
}

/* U2.5.3 · navigation parity correction — 2026-09-16 */

/* Global level-1 labels use normal title case; active state remains the existing underline. */
.top .global-link{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;text-transform:none;letter-spacing:normal}
/* Level-2 navigation uses the compact condensed visual language consistently across all sections. */
.subnav-link{font-family:"Roboto Condensed","Arial Narrow","Helvetica Neue Condensed","Liberation Sans Narrow","DejaVu Sans Condensed",sans-serif;font-size:.74rem;line-height:1.05;font-weight:700;letter-spacing:.07em;text-transform:uppercase;color:var(--muted);min-height:34px;padding:6px 10px;border-radius:8px}
.page-world .subnav-link{text-transform:none}
.subnav-link.active{font-weight:800;background:var(--ink);color:#fff}
@media(max-width:720px){.subnav-link{font-size:.72rem;padding:6px 9px}}
