/* One continuous reading surface: no nested chapters or hidden biographies. */
#universe-dialog{width:min(1200px,calc(100vw - 40px));max-width:none;height:calc(100dvh - 40px);max-height:960px;padding:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin;background:#031219;color:#f7f4ed;border:1px solid #efd4a13b}
#universe-dialog[open]{display:block}
#universe-dialog .dialog-top{position:sticky;top:0;z-index:2;min-height:58px;padding:0 24px;margin:0;display:flex;align-items:center;justify-content:space-between;background:#031219f5;backdrop-filter:blur(12px);border-bottom:1px solid #efd4a121}
#universe-dialog .dialog-top h2{font:400 .875rem/1.4 'Helvetica Neue',Arial,sans-serif;color:#c8d1d3;margin:0}
#universe-dialog .close-button{position:static;min-width:44px;min-height:44px}
#universe-dialog :focus-visible{outline:2px solid #efd4a1;outline-offset:-3px}
.universe-page{padding:0 clamp(20px,4vw,54px)}
.universe-section{padding:clamp(32px,5vw,64px) 0;border-bottom:1px solid #efd4a128}
#universe-dialog h3{font:400 clamp(2rem,3.6vw,3.1rem)/1.1 Georgia,serif;letter-spacing:-.025em;margin:0 0 24px;text-wrap:balance}
#universe-dialog .panel-eyebrow{color:#efd4a1;font-size:.75rem;letter-spacing:.12em;text-transform:uppercase;margin:0 0 12px}
#universe-dialog #lore-kicker{font:400 clamp(2rem,3.5vw,3rem)/1.1 Georgia,serif;letter-spacing:.025em;margin:0 0 16px}
.universe-world{display:grid;grid-template-columns:1.2fr 1fr;gap:clamp(24px,4vw,48px);align-items:center}
#universe-dialog .lore-visual{height:400px;overflow:hidden;background:#061720;border:1px solid #efd4a121}
#universe-dialog .lore-visual img{width:100%;height:100%;object-fit:cover;object-position:45% 50%}
#universe-dialog .lore-content{padding:0}
#universe-dialog #lore-copy p{font-size:1.0625rem;line-height:1.65;color:#c8d1d3;margin:0 0 16px}
#universe-dialog h4{font:400 1.4rem/1.2 Georgia,serif;margin:0 0 10px;color:#f7f4ed}
.universe-person-text{font-size:1rem;line-height:1.55;color:#c8d1d3;margin:0}
.universe-crew{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:38px 24px}
.universe-mate{min-width:0;margin:0;padding:0;background:transparent}
.universe-portrait{overflow:hidden;aspect-ratio:4/5;background:#061720;border-bottom:1px solid #efd4a166}
.universe-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 24%}
.universe-mate[data-person="nadezhda"] img{object-position:50% 50%;transform:scale(2);transform-origin:50% 10%}
.universe-mate[data-person="poule"] img{object-position:43% 100%;transform:scale(1.6);transform-origin:43% 100%}
.universe-person{padding-top:16px}
.universe-person-role{font-size:.6875rem;text-transform:uppercase;letter-spacing:.07em;color:#efd4a1;margin:0 0 8px;line-height:1.4}
.universe-credits{font-size:.8125rem;line-height:1.6;color:#91a7b0;margin:24px 0;max-width:88ch}
.universe-footer{display:flex;justify-content:space-between;align-items:center;gap:16px;padding:0 clamp(20px,4vw,54px) max(24px,env(safe-area-inset-bottom));}
#universe-dialog .universe-studio{display:grid;grid-template-columns:80px 1fr 36px;align-items:center;gap:24px;margin-top:36px;padding:28px;border:1px solid #efd4a166;border-radius:4px;background:linear-gradient(120deg,#153842,#0a232c);color:#f7f4ed;text-decoration:none;transition:border-color .2s,background-color .2s}
#universe-dialog .universe-studio:hover{border-color:#efd4a1;background:#153842}
.universe-studio-emblem{width:72px;height:72px}
.universe-studio-copy{display:grid;gap:8px}
#universe-dialog .universe-studio .panel-eyebrow{margin:0;line-height:1.5}
.universe-studio-copy strong{font:400 clamp(1.6rem,2.5vw,2rem)/1.1 Georgia,serif}
.universe-studio-description{font-size:1rem;line-height:1.55;color:#d0dee0;max-width:58ch}
.universe-studio-action{font-size:.875rem;color:#efd4a1;margin-top:5px;text-decoration:underline;text-underline-offset:4px}
.universe-studio-arrow{font-size:1.8rem;color:#efd4a1}
.universe-footer [data-resume-universe]{min-height:44px;background:none;border:0;font-size:.875rem;color:#efd4a1;padding:6px 0;cursor:pointer}
@media(max-width:760px){
 #universe-dialog{width:100vw;height:100dvh;max-width:100vw;max-height:100dvh;margin:0;border:0;border-radius:0}
 #universe-dialog .dialog-top{padding:env(safe-area-inset-top,0px) 14px 0 20px;min-height:54px}
 .universe-world{grid-template-columns:1fr;gap:26px}
 #universe-dialog .lore-visual{height:clamp(180px,28dvh,320px)}
 #universe-dialog h3{font-size:2rem;margin-bottom:20px}
 #universe-dialog #lore-copy p{font-size:1rem}
 .universe-crew{grid-template-columns:1fr;gap:28px}
 .universe-mate{display:grid;grid-template-columns:minmax(98px,38%) 1fr;gap:18px;align-items:start}
 .universe-person{padding:0}.universe-person-role{font-size:.625rem}
 #universe-dialog h4{font-size:1.3rem}.universe-person-text{font-size:.9375rem;line-height:1.5}
 #universe-dialog .universe-studio{grid-template-columns:44px 1fr;gap:16px;padding:20px 16px}
 .universe-studio-emblem{width:44px;height:44px;align-self:start;margin-top:4px}
 .universe-studio-arrow{display:none}
 .universe-studio-description{font-size:.9375rem}
 .universe-footer{flex-wrap:wrap;gap:6px}
}
@media(prefers-reduced-motion:reduce){#universe-dialog .universe-studio{transition:none}}
@media(max-height:500px) and (min-width:761px){#universe-dialog{height:100dvh;width:100vw;margin:0;border:0;border-radius:0}.universe-world{gap:28px}#universe-dialog .lore-visual{height:250px}.universe-page{padding-inline:max(28px,env(safe-area-inset-left))}.universe-section{padding-block:28px}}
