:root {
 --paper:#f4f4ef;--ink:#102335;--muted:#344a59;--rule:#7e929b;
 --accent:#13637a;--surface:#e2e8eb;--field:#102039;
 --select:#174859;--select-ink:#fff8eb;
 --cover-ink:#ecfaff;--cover-plate:#0e1b31;--cover-gradient:linear-gradient(90deg,#0a172b 0%,#0a172bed 31%,#0a172b63 57%,#0a172b05 100%);
 --plate-ink:#194456;--plate-caption:#f3f6f5;--plate-rule:#7398a3;
 --plate:calc(var(--vh) - var(--head));
}
:root[data-theme=dark]{
 --paper:#0e1a2b;--ink:#ecfaff;--muted:#cbdfeb;--rule:#537282;
 --accent:#9cdeeb;--surface:#172e41;--field:#102039;
 --select:#9cd7e8;--select-ink:#082332;
 --plate-ink:#e4f7fc;--plate-caption:#13273c;--plate-rule:#638a9a;
}
.steaua-vazuta-din-barlad .opening {background:#102039}
.steaua-vazuta-din-barlad h1 {font-size:clamp(4.65rem,9.4vw,10.2rem);font-weight:600;line-height:.87;letter-spacing:-.064em;max-width:11.3ch}
.steaua-vazuta-din-barlad .location {color:#9ad7e9}
.steaua-vazuta-din-barlad .start {border-width:0 0 1px;padding-inline:0}
.steaua-vazuta-din-barlad .cover img {object-position:56% 50%}
.steaua-vazuta-din-barlad .scrolly {grid-template-columns:minmax(21rem,37%) minmax(0,1fr)}
.steaua-vazuta-din-barlad .scene,.steaua-vazuta-din-barlad .chapter-rail {grid-area:1/2}
.steaua-vazuta-din-barlad .story {grid-area:1/1}
.steaua-vazuta-din-barlad .scene figcaption {left:1.05rem;bottom:.85rem}
.steaua-vazuta-din-barlad .step h2 {letter-spacing:-.042em;line-height:.96}
.steaua-vazuta-din-barlad .scene .still {object-position:center}
.steaua-vazuta-din-barlad .scene-type{letter-spacing:.015em}
.diagram-labels {display:none;position:absolute;inset:0;pointer-events:none;color:var(--plate-ink);font:630 .73rem/1.2 var(--ui)}
.scene[data-ready][data-phase="2"] .diagram-labels,
.scene[data-ready][data-phase="3"] .diagram-labels,
.scene[data-ready][data-phase="4"] .diagram-labels {display:block}
.diagram-labels .y {position:absolute;left:6%;top:16%;background:var(--plate-caption);padding:.22rem .36rem}
.diagram-labels .x {position:absolute;left:6%;bottom:17.1%;right:5%;display:flex;justify-content:space-between;background:var(--plate-caption);padding:.22rem .36rem}
.phase-key {display:none;position:absolute;left:6%;top:9%;gap:.45rem;background:var(--plate-caption);padding:.28rem .4rem}
.scene[data-phase="3"] .phase-key {display:flex}
.phase-key span::before{content:"";display:inline-block;width:.72rem;height:.45rem;margin-right:.25rem;background:var(--line-color)}
.phase-key span:first-child{--line-color:#b36637}
.phase-key span+span{--line-color:#2a829d}
.phase-control{margin-top:1.5rem;padding:.95rem 0;border-block:1px solid var(--rule)}
.phase-control label{display:flex;justify-content:space-between;gap:.75rem;font:650 .78rem/1.25 var(--ui)}
.phase-control input{display:block;width:100%;accent-color:var(--accent);height:44px;margin:0}
@media(max-width:950px){
 .diagram-labels .x{bottom:16%}
}
@media(max-width:740px){
 :root{--plate:clamp(230px,43svh,375px)}
 .steaua-vazuta-din-barlad .opening{min-height:calc(var(--vh) - var(--head))}
 .steaua-vazuta-din-barlad .opening-copy{padding-bottom:5.2rem}
 .steaua-vazuta-din-barlad h1{font-size:clamp(4.1rem,13.9vw,6.1rem);max-width:12ch;letter-spacing:-.053em}
 .steaua-vazuta-din-barlad .cover:after{background:linear-gradient(0deg,#08152b 6%,#08152bdc 37%,#08152b00 81%)}
 .steaua-vazuta-din-barlad .cover img{object-position:73% 42%}
 .steaua-vazuta-din-barlad .scene figcaption{max-width:calc(100% - 1.1rem);left:.55rem;bottom:.36rem;padding:.25rem .45rem}
 .diagram-labels{font-size:.62rem}
 .diagram-labels .y {top:13.5%;left:4%}
 .phase-key{top:.44rem;left:auto;right:.5rem}
 .diagram-labels .x{left:5%;right:4%;bottom:16%}
}

.step p.phase-evidence{margin:0;color:var(--muted);font:650 .74rem/1.4 var(--ui)}
