/* World entry + Veyrath review. Existing geometry and artwork remain authoritative. */
html[data-rv-pilot^="world-"]{scroll-padding-top:calc(var(--wv-header,var(--rv-nav-h)) + 12px)!important}
html[data-rv-pilot^="world-"] #rv-nav-space{height:var(--wv-header,var(--rv-nav-h))!important}
body[data-page=world]{--gold:#dcc28a;--paper:#f1ece3;--muted:#c8c3ba;background:#08090d;font-synthesis:none}
body[data-page=world] :is(main,.world-dialog,.wx-dialog){color:#f1ece3;--gold:#dcc28a;--muted:#c8c3ba;--paper:#f1ece3}
body[data-page=world] :is(main,.world-dialog,.wx-dialog) :is(h1,h2,h3){font-family:Cinzel,Georgia,serif;font-weight:400;letter-spacing:normal;overflow-wrap:anywhere}
body[data-page=world] :is(main,.world-dialog,.wx-dialog) :is(button,.wx-button,.primary-action,.line-link){font:400 14px/1.5 Inter,system-ui,sans-serif;min-height:44px;border-radius:4px}
body[data-page=world] :is(.primary-action,.wx-button.primary){background:#dcc28a;color:#08090d;border:1px solid #dcc28a;min-height:48px}
body[data-page=world] :is(.wx-button.primary:hover,.primary-action:hover){background:#efd48e;color:#08090d}
body[data-page=world] :is(input[type=range],select){min-height:44px}
body[data-page=world] :is(input[type=search],select){font:400 16px/1.5 Inter,system-ui,sans-serif;min-height:48px;color:#f1ece3;background:#111119;border:1px solid #9d8c68;border-radius:4px}
body[data-page=world] :is(.world-dialog,.wx-dialog) a:not(.wx-result){text-underline-offset:4px}
.wv-dialog-open{overflow:hidden}
.wv-dialog-open body{overflow:hidden}
.world-main .world-title h1{font-size:44px;line-height:1.15}
.world-main .world-title>p:last-child{font:italic 300 18px/1.7 'Source Serif 4',Georgia,serif;color:#c8c3ba}
.world-main :is(.overline,.selection-count,.card-meta,.sector-data,.sector-neighbors strong,.rv-cards-status,.rv-cards-count,.map-legend,.drag-hint,.breadcrumbs,.archive-tools small){font:400 12px/1.6 Inter,system-ui,sans-serif;letter-spacing:.06em;color:#c8c3ba}
.world-main .breadcrumbs{flex-wrap:wrap;gap:12px}
.world-main :is(.breadcrumbs button,.archive-tools .text-tool,.line-link){font-size:14px;min-height:44px}
.world-main .archive-tools{gap:12px;flex-wrap:wrap;justify-content:flex-end}
.world-main .archive-tools button .rv-action-icon{width:20px;height:20px;flex:none}
.world-main .time-gate{min-width:44px;min-height:44px}
.world-main .cosmos-topline{gap:16px;align-items:center}
.world-main .scene-controls{gap:12px;flex-wrap:wrap}
.world-main .scene-controls button{width:44px;height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
.world-main .world-bottom{align-items:center;flex-wrap:wrap;gap:16px}
.world-main .map-legend{display:flex;flex-wrap:wrap;gap:12px}
.world-main .map-legend button{min-height:44px;font-size:14px}
.world-main .selection-card{width:300px}
.world-main .selection-card h2{font:400 28px/1.25 Cinzel,Georgia,serif}
.world-main :is(.selection-description,.sector-description,.sector-subtitle,.rv-cards-invocation-note){font:300 18px/1.7 'Source Serif 4',Georgia,serif!important;color:#f1ece3!important;max-width:68ch}
.world-main .selection-card .selection-description{max-width:none;margin-bottom:24px}
.world-main .plane-node strong{font-size:14px;letter-spacing:0}
.world-main .plane-node small{font:400 12px/1.5 Inter,system-ui,sans-serif;letter-spacing:.04em;color:#c8c3ba}
.world-main .plane-node[aria-pressed=true] strong{font-size:14px}
.world-main .plane-node[aria-pressed=true] small{font-size:12px}
.world-main .plane-node{min-width:44px;min-height:44px}
.world-main .face-label{font-size:12px}
.world-main .veyrath-guide>p:not(.overline){font:300 18px/1.7 'Source Serif 4',Georgia,serif}
.world-main .veyrath-guide>span{font:400 14px/1.6 Inter,system-ui,sans-serif;color:#c8c3ba}
#sector-inspector .sector-copy{padding:24px}
#sector-inspector .sector-copy h2{font-size:28px;line-height:1.25}
#sector-inspector :is(.sector-data,.rv-cards-status,.rv-cards-count,.sector-neighbors strong){font-size:12px}
#sector-inspector .sector-neighbors{display:flex;flex-wrap:wrap;gap:4px 12px}
#sector-inspector .sector-neighbors strong{flex:1 0 100%}
#sector-inspector .sector-neighbors button{font-size:14px;min-height:44px;min-width:44px;padding:8px 4px}
#sector-inspector .primary-action{font-size:14px;min-height:48px;padding:12px 16px;gap:12px}
#sector-inspector .inspector-close,#sector-inspector .inspector-toggle,.world-main .mobile-collapse{width:44px;height:44px;min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center}
#sector-inspector .inspector-toggle{top:-44px}
#sector-inspector .rauk-record{font-size:14px;gap:12px}
#sector-inspector .rauk-record small{font-size:12px}
.world-main .cosmos{height:var(--wv-scene-height,900px);min-height:var(--wv-scene-height,900px)}
.world-main .sector-inspector{max-height:none}
@media(min-width:761px){.world-main .mobile-collapse{display:none}}
.world-main .plane-selector label{font:400 12px/1.5 Inter,system-ui,sans-serif;letter-spacing:.04em}
.world-main :is(.overline,#map-caption){font:400 12px/1.6 Inter,system-ui,sans-serif!important;color:#c8c3ba}
/* Existing atlas geometry, with the local navigation reserved in flow. */
html[data-rv-pilot="world-atlas"] .wx-bar{position:sticky;top:var(--wv-header,var(--rv-nav-h));z-index:90}
html[data-rv-pilot="world-atlas"] .wx-bar.wv-flow{position:static}
html[data-rv-pilot="world-atlas"] .wx-bar-inner{flex-wrap:wrap;gap:12px;min-height:64px;padding-block:8px}
html[data-rv-pilot="world-atlas"] .wx-bar :is(a,button){font:400 14px/1.5 Inter,system-ui,sans-serif;min-height:44px;display:inline-flex;align-items:center;gap:8px}
html[data-rv-pilot="world-atlas"] .wx-bar .wx-audio{gap:12px;flex-wrap:wrap}
html[data-rv-pilot="world-atlas"] .wx-bar a{min-width:44px}
html[data-rv-pilot="world-atlas"] .wx-sector-index a{min-height:44px;font-size:14px;padding:12px}
html[data-rv-pilot="world-atlas"] .wx-sector-index{grid-template-columns:repeat(auto-fit,minmax(min(100%,10em),1fr))}
html[data-rv-pilot="world-atlas"] .wx-sector-index a{min-width:0;overflow-wrap:anywhere}
html[data-rv-pilot="world-atlas"] .wx-sector-index a span{font:400 12px/1.6 Inter,system-ui,sans-serif}
html[data-rv-pilot="world-atlas"] #wx-volume{width:100px;min-height:44px;accent-color:#dcc28a}
html[data-rv-pilot="world-atlas"] #wx-sound{border:1px solid #8e8061;background:#111119;color:#dcc28a;padding:8px 12px}
html[data-rv-pilot="world-atlas"] .wx-title{font-size:44px;line-height:1.15;font-weight:400}
html[data-rv-pilot="world-atlas"] :is(.wx-copy,#wx-sector-description,.wx-sector-explainer p:not(.wx-kicker),.wx-time-panel p:not(.wx-kicker),.wx-dialog-body p:not(.wx-kicker)){font:300 18px/1.7 'Source Serif 4',Georgia,serif;color:#f1ece3;max-width:68ch}
html[data-rv-pilot="world-atlas"] body:has(#rv-footer-root)>.wx-footer{display:none}
html[data-rv-pilot="world-atlas"] :is(.wx-kicker,.wx-record-type,.wx-breadcrumb,.wx-map-top,.wx-neighbors-label){font:400 12px/1.6 Inter,system-ui,sans-serif;color:#c8c3ba}
html[data-rv-pilot="world-atlas"] :is(.wx-sector-explainer h2,.wx-time-panel h2,#wx-sector-title){font:400 28px/1.25 Cinzel,Georgia,serif}
html[data-rv-pilot="world-atlas"] #wx-sector-subtitle{font:300 18px/1.7 'Source Serif 4',Georgia,serif;color:#c8c3ba}
html[data-rv-pilot="world-atlas"] :is(#wx-neighbors button,.wx-sector-index button){font-size:14px;min-height:44px}
html[data-rv-pilot="world-atlas"] :is(#wx-map-help,.wx-textlink){font:400 14px/1.6 Inter,system-ui,sans-serif}
html[data-rv-pilot="world-atlas"] .wx-map-tools{flex-wrap:wrap;gap:12px;align-items:center}
html[data-rv-pilot="world-atlas"] .wx-map-tools button{min-height:44px;min-width:44px;font-size:14px}
html[data-rv-pilot="world-atlas"] #wx-face{margin-left:auto}
html[data-rv-pilot="world-atlas"] .wx-sector-select{width:100%}
html[data-rv-pilot="world-atlas"] :is(#main,#wx-map-stage,.wx-sector-panel){scroll-margin-top:var(--wv-offset,160px)}
/* Native dialogs and archive: readable summaries, stable filters and original links. */
body[data-page=world] :is(.world-dialog,.wx-dialog){padding:24px;max-height:calc(100dvh - 32px);width:min(1000px,calc(100vw - 32px));overflow:auto;background:#111119;border:1px solid #8e8061;color:#f1ece3}
body[data-page=world] :is(.world-close,#wx-record-close){min-width:44px;min-height:44px;display:flex;align-items:center;justify-content:center;flex-shrink:0}
body[data-page=world] :is(.dialog-top,.wx-dialog-head){align-items:center;gap:16px}
body[data-page=world] :is(.world-dialog,.wx-dialog) :is(h2,#archive-title){font:400 28px/1.25 Cinzel,Georgia,serif}
body[data-page=world] :is(.world-dialog,.wx-dialog) :is(.dialog-intro,.wx-section-head>p,.feast-copy p){font:300 18px/1.7 'Source Serif 4',Georgia,serif;color:#f1ece3}
body[data-page=world] :is(.world-dialog,.wx-dialog) :is(.overline,.wx-result-type,.wx-result-path,#wx-results-status,#wx-page,.dialog-footnote){font:400 12px/1.6 Inter,system-ui,sans-serif;color:#c8c3ba;opacity:1}
body[data-page=world] .archive-dialog .wx-result h3{font:400 22px/1.3 Cinzel,Georgia,serif;margin:12px 0}
body[data-page=world] .archive-dialog .wx-result p:not(.wx-result-path){font:400 14px/1.6 Inter,system-ui,sans-serif;color:#c8c3ba}
body[data-page=world] .archive-dialog .wx-searchbox{gap:12px;flex-wrap:wrap}
body[data-page=world] .archive-dialog .wx-searchbox input{font-size:16px;min-width:120px;min-height:48px;border-color:#a58d66}
body[data-page=world] .archive-dialog .wx-filters{gap:12px}
body[data-page=world] .archive-dialog .wx-filters button{font-size:14px;min-height:44px}
body[data-page=world] .archive-dialog .wx-button{font-size:14px;min-height:44px;color:#dcc28a}
body[data-page=world] .archive-dialog summary{font-size:14px;min-height:44px;display:flex;align-items:center}
body[data-page=world] .archive-dialog .wx-results-top{flex-wrap:wrap;gap:12px}
body[data-page=world] :is(.atlas-list a,.all-sectors button){min-height:48px}
body[data-page=world] :is(.atlas-list strong,.all-sectors strong){font:400 22px/1.3 Cinzel,Georgia,serif}
body[data-page=world] :is(.atlas-list span,.all-sectors span){font:400 14px/1.6 Inter,system-ui,sans-serif;color:#c8c3ba}
.wv-fallback{max-width:1100px;padding:32px 24px;margin:0 auto}
.wv-fallback h2{font-size:28px}.wv-fallback p{font:400 14px/1.7 Inter,system-ui,sans-serif}
.wv-fallback nav{display:flex;flex-wrap:wrap;gap:12px}.wv-fallback a{display:inline-flex;align-items:center;min-height:44px;padding:8px 12px;border:1px solid #dcc28a;color:#dcc28a;border-radius:4px}
:is(.wv-ready,.rv-start-world) .wv-fallback{display:none}
html:not(:is(.wv-ready,.rv-start-world)) .world-main .cosmos{height:300px;min-height:300px}
html:not(:is(.wv-ready,.rv-start-world)) .world-main :is(.cosmos-topline,.world-bottom,.plane-nodes,.selection-card,.veyrath-guide){display:none}
.wv-picture-status{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;background:#111119;color:#f1ece3;padding:16px 16px 60px;font:400 14px/1.6 Inter,system-ui,sans-serif;text-align:center;margin:0}
.wv-picture-retry{position:absolute;bottom:12px;left:50%;transform:translateX(-50%);padding:8px 16px;background:#111119;color:#dcc28a;border:1px solid #dcc28a}
.sector-photo::after{pointer-events:none}.wv-picture-status{z-index:2}.wv-picture-retry{z-index:3}
body[data-page=world] [hidden]{display:none!important}
@media(max-width:1100px) and (min-width:761px){.world-main .selection-card{width:260px;left:4%}.world-main .world-title{max-width:31%}.world-main .plane-node small{max-width:160px;white-space:normal}.world-main .cosmos-topline{gap:8px}.world-main .archive-tools{gap:8px}}
@media(max-width:760px){
 .world-main .cosmos{height:var(--wv-scene-height,1120px);min-height:var(--wv-scene-height,1120px)}
 .world-main .world-title h1,.world-main[data-view=veyrath] .world-title h1,.world-main[data-view=sector] .world-title h1{font-size:32px}
 .world-main .world-title{max-width:calc(100% - 48px);top:98px}
 .world-main[data-view] .world-title{top:var(--wv-title-top,98px)}
 .world-main .world-title .overline{font-size:12px}.world-main .world-title>p:last-child{font-size:18px}
 .world-main .cosmos-topline{left:16px;right:16px;top:12px;gap:12px;flex-wrap:wrap}
 .world-main .archive-tools{gap:8px;flex-wrap:nowrap}.world-main .search-tool span{display:none}
 .world-main .selection-card{width:auto;left:24px;right:24px;top:61%;padding-top:24px}
 .world-main .selection-card h2{font-size:26px}.world-main .selection-card .selection-description{font-size:18px}
 .world-main .selection-card .selection-count{font-size:12px}
 .world-main .plane-node[data-plane=earth] strong{font-size:14px}.world-main .plane-node small{font-size:12px;max-width:130px;white-space:normal}
 .world-main .plane-node[data-plane=earth][aria-pressed=false]{max-width:34vw;min-width:0}.world-main .plane-node[data-plane=earth][aria-pressed=false] small{max-width:34vw;overflow-wrap:anywhere}
 .world-main .plane-node[aria-pressed=true] strong,.world-main .plane-node[aria-pressed=true] small{white-space:normal;width:max-content;max-width:65vw}
 .world-main .world-bottom{left:24px;right:24px;bottom:24px;justify-content:space-between;align-items:center}
 .world-main .map-legend{font-size:12px}.world-main .scene-controls{margin-left:auto}
 .world-main .map-legend .legend-dot{display:none}.world-main .map-legend{gap:4px 12px}
 #main.world-main[data-view=sector] .cosmos{height:auto;min-height:0;padding:calc(510px + var(--wv-map-shift,0px)) 24px var(--wv-bottom-space,200px)}
 .world-main[data-view=sector] :is(#world-canvas,#face-labels,#rauk-marker){translate:0 var(--wv-map-shift,0px)}
 .world-main[data-view=sector] #sector-inspector{position:relative;top:auto;left:auto;right:auto;width:100%;max-width:100%;margin:auto}
 .world-main[data-view=sector].card-collapsed .cosmos{min-height:800px}
 #sector-inspector .sector-copy{padding:24px}#sector-inspector .sector-copy h2{font-size:26px}
 html[data-rv-pilot="world-atlas"] .wx-title{font-size:32px}
 html[data-rv-pilot="world-atlas"] .wx-bar .wx-audio{margin-left:0}
 html[data-rv-pilot="world-atlas"] .wx-map-tools{gap:8px}
 html[data-rv-pilot="world-atlas"] .wx-map-stage{min-height:390px}
 html[data-rv-pilot="world-atlas"] :is(.wx-sector-explainer h2,.wx-time-panel h2,#wx-sector-title){font-size:26px}
 body[data-page=world] :is(.world-dialog,.wx-dialog){padding:20px;width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}
 body[data-page=world] :is(.world-dialog,.wx-dialog) :is(h2,#archive-title){font-size:26px}
 body[data-page=world] .archive-dialog .wx-results{grid-template-columns:1fr}
 body[data-page=world] .archive-dialog .wx-result{padding:16px;gap:12px}
 body[data-page=world] :is(.atlas-list,.all-sectors){grid-template-columns:minmax(0,1fr)}
 body[data-page=world] :is(.atlas-list a,.all-sectors button){min-width:0;white-space:normal;overflow-wrap:anywhere}
}
@media(max-width:359px){.world-main .cosmos-topline{gap:8px}.world-main .archive-tools{gap:4px}.world-main .selection-card{left:16px;right:16px}.world-main[data-view=sector] .cosmos{padding-inline:16px}#sector-inspector .sector-copy{padding:16px}body[data-page=world] .archive-dialog .wx-result{flex-wrap:wrap}}
@media(max-height:520px){html[data-rv-pilot="world-atlas"] .wx-bar{position:static}body[data-page=world] :is(.world-dialog,.wx-dialog){max-height:calc(100dvh - 16px);margin:8px auto}}
@media(prefers-reduced-motion:reduce){body[data-page=world] *,body[data-page=world] *::before,body[data-page=world] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
