/* Eirhallow entry: shared territorial layout, native geography and readers. */
:root{--ink:#08090d;--panel:#111119;--paper:#f1ece3;--muted:#c8c3ba;--gold:#dcc28a;--border:#3d3b46}
html[data-rv-pilot="eirhallow-entry"]{scroll-padding-top:calc(var(--ra-header,64px) + 90px)}
[hidden],#eh-native-hooks{display:none!important}
.eh-entry{padding-top:0}.eh-entry h1,.eh-entry h2,.eh-entry h3{font-family:Cinzel,Georgia,serif;font-weight:400;letter-spacing:normal}
.eh-entry #atlas-coverage{margin-top:16px}.eh-entry .ra-localbar{font-family:Inter,sans-serif}.ra-localbar{align-items:center}
.ra-localbar a{display:inline-flex;gap:8px;align-items:center}.eh-audio{display:flex;gap:8px;align-items:center;margin-left:auto;color:var(--gold)}.eh-audio input{width:72px;min-height:44px;accent-color:var(--gold)}.eh-audio button{color:var(--gold);min-height:44px}
.eh-enhanced{display:none!important}:is(.eh-live,.rv-start-eh) .eh-enhanced{display:flex!important}:is(.eh-live,.rv-start-eh) .eh-settings{display:block!important}
:is(.eh-live,.rv-start-eh) .eh-filters,:is(.eh-live,.rv-start-eh) .eh-select{display:grid!important}.eh-entry .eh-context{grid-template-columns:repeat(2,minmax(0,1fr))}
html:not(:is(.eh-live,.rv-start-eh)) .eh-enhanced{display:none!important}
.eh-entry .stage{width:100%}
.eh-entry.eh-decked .ra-deck{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr)}.eh-entry.eh-decked .cartography{max-width:none;margin:0;width:auto}.eh-entry.eh-decked .ra-card-scroll{grid-template-columns:1fr}.map-full .eh-entry.eh-decked .ra-deck{grid-template-columns:1fr}
#directory .eh-gallery-links a{display:grid;justify-content:stretch;text-align:left}#directory .dialog-copy .eh-record .ra-meta{font:400 12px/1.6 Inter,sans-serif;color:var(--muted)}#directory .dialog-copy .eh-subtitle{font-style:italic;color:var(--gold)}
.eh-settings{border-block:1px solid var(--rv-separator);padding:8px 0;margin-bottom:24px}.eh-settings summary{min-height:44px;padding:10px 0;cursor:pointer;color:var(--gold);font:400 14px/1.6 Inter,sans-serif}.eh-settings .mode{width:fit-content;flex-wrap:wrap;gap:8px;border:0;margin:8px 0}.eh-settings .mode button{border:1px solid #8c7851;min-height:44px}.eh-settings .layers{border:0;padding:8px 0;gap:8px 20px}.eh-settings .layers label{min-height:44px;font-size:14px}.eh-settings input{width:20px;height:20px}
.eh-entry .cartography{padding:0;max-height:none}.eh-entry .stage{height:auto;min-height:260px;aspect-ratio:1200/1000;background:radial-gradient(ellipse,#1b2825a0,#08090d 76%);border:0}.eh-entry #map{display:block;height:100%;width:100%}.eh-entry .stage::after{display:none}
.eh-entry .legend{font:400 12px/1.6 Inter,sans-serif;padding:20px 0;gap:12px}.eh-entry .draft-note,.eh-help,.eh-map-status{font:400 12px/1.65 Inter,sans-serif;color:var(--muted);max-width:75ch}.eh-entry .draft-note{padding:0;margin-top:0}.eh-entry .eh-help{margin:14px 0 0}.eh-map-status{padding-top:16px;color:var(--gold)}
.eh-select{display:grid!important;grid-template-columns:auto minmax(0,1fr);gap:12px;align-items:center;border-top:1px solid var(--border);padding-top:16px}.eh-select label{font:400 14px/1.5 Inter,sans-serif}.eh-select select,.eh-filters input,.eh-filters select{min-height:48px;width:100%;min-width:0;background:var(--panel);color:var(--paper);border:1px solid #8c7851;border-radius:4px;padding:9px 12px;font:400 16px/1.5 Inter,sans-serif}
.eh-entry .ra-map-toolbar{gap:8px}.eh-entry .ra-map-toolbar button{white-space:normal}.eh-entry .ra-map-toolbar output{font:400 12px/1.5 Inter,sans-serif;min-width:40px;text-align:center}.eh-entry .ra-pan{padding-top:12px}#pan-up svg,#pan-down svg{transform:rotate(90deg)}
.eh-entry .ra-deck{grid-template-columns:minmax(0,1.45fr) minmax(340px,1fr)}.eh-entry .ra-directory-heading>p:not(.ra-meta){font:300 18px/1.7 'Source Serif 4',Georgia,serif;color:var(--muted)}
.eh-filters{display:grid!important;gap:8px;margin-top:20px}.eh-filters label{font:400 14px/1.5 Inter,sans-serif;color:var(--muted)}.eh-filters>div{display:flex;gap:8px}.eh-filters button{white-space:nowrap}.eh-filters #forest-results{font:400 12px/1.6 Inter,sans-serif;color:var(--muted);min-height:20px}
.eh-entry .ra-card-copy{padding:20px}.eh-entry .ra-card .ra-teaser{font-size:18px}.eh-entry .ra-card-scroll{align-content:start}.eh-decked .ra-directory{height:var(--eh-deck-height);display:grid;grid-template-rows:auto minmax(0,1fr)}.eh-decked .ra-card-scroll{overflow:auto;min-height:0;grid-auto-rows:max-content;overscroll-behavior:auto}
.eh-entry #no-forests{font:300 18px/1.7 'Source Serif 4',Georgia,serif;padding:24px 0}.eh-context{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;border-top:1px solid var(--rv-separator);margin-top:48px;padding-top:32px}.eh-context>a,.eh-context>button{display:flex;flex-direction:column;gap:12px;text-align:left;border:1px solid var(--border);padding:24px;text-decoration:none;background:#111119}.eh-context strong{font:400 22px/1.4 Cinzel,Georgia,serif;color:var(--paper)}.eh-context span:last-child{font:400 14px/1.6 Inter,sans-serif;color:var(--gold)}
.eh-fallback-records,.eh-fallback-galleries{margin-top:48px;border-top:1px solid var(--border)}:is(.eh-live,.rv-start-eh) .eh-fallback-records,:is(.eh-live,.rv-start-eh) .eh-fallback-galleries{display:none}.eh-record,.eh-static-gallery{padding:24px 0;font:300 18px/1.7 'Source Serif 4',Georgia,serif;scroll-margin-top:150px}.eh-record p,.eh-static-gallery p{max-width:68ch;margin:0 0 20px!important}.eh-record h2{font:400 28px/1.25 Cinzel,Georgia,serif!important;margin:12px 0 20px!important}.eh-record h3,.eh-static-gallery h3{font:400 22px/1.3 Cinzel,Georgia,serif;margin:28px 0 16px}.eh-record .eh-subtitle{font-style:italic;color:var(--gold)}.eh-record .ra-meta{font:400 12px/1.6 Inter,sans-serif}
.eh-gallery-links{display:grid;gap:12px}.eh-gallery-links a{display:grid;grid-template-columns:minmax(0,1fr) 24px;gap:4px 12px;padding:16px;border:1px solid #756343;text-decoration:none;color:var(--gold);background:#111119;min-height:48px}.eh-gallery-links a>span{font:400 18px/1.5 Cinzel,Georgia,serif}.eh-gallery-links small{font:400 12px/1.6 Inter,sans-serif;color:var(--muted)}.eh-gallery-links svg{grid-column:2;grid-row:1/3;align-self:center}.eh-neighbors{margin-top:24px}.eh-neighbors summary{min-height:44px;padding:10px 0;font:400 14px/1.5 Inter,sans-serif;color:var(--gold);cursor:pointer}.eh-neighbors>div{display:flex;gap:12px;flex-wrap:wrap}.eh-neighbors a,.eh-back-map,.eh-places a{display:inline-flex;min-height:44px;align-items:center;font:400 14px/1.6 Inter,sans-serif;color:var(--gold);padding:8px 0}.eh-back-map{margin-top:24px;gap:8px}.eh-record .eh-places{padding-left:20px}
#directory,#image-viewer{color:var(--paper);background:var(--ink);border-color:#8c7851}#directory{width:min(760px,calc(100vw - 32px))}#directory.reading{width:min(1320px,calc(100vw - 32px))}#directory .dialog-bar,#image-viewer .dialog-bar{background:#0b0c12;gap:12px;flex-wrap:wrap}#directory .dialog-bar strong{font:400 16px/1.5 Cinzel,Georgia,serif;flex:1 1 160px}#directory .dialog-copy{padding:24px}#directory.reading .dialog-copy{padding:0}#directory :is(button,a){min-height:44px}#directory .quiet,#image-viewer .quiet{font:400 14px/1.5 Inter,sans-serif;border-color:#8c7851;border-radius:4px;color:var(--gold)}#directory .dialog-copy p{color:var(--paper);font:300 18px/1.7 'Source Serif 4',Georgia,serif;max-width:68ch}#directory .reading-intro h2{font:400 44px/1.15 Cinzel,Georgia,serif}#directory .chapter-copy h3{font:400 28px/1.25 Cinzel,Georgia,serif}#directory .chapter-copy p,#directory .record-note p{font:300 18px/1.7 'Source Serif 4',Georgia,serif;max-width:68ch}#directory .chapter-copy .eyebrow{font:400 12px/1.6 Inter,sans-serif}.chapter-nav button{min-height:44px;font-size:14px}.reading-sound small{font:400 12px/1.6 Inter,sans-serif}.reading-sound label{font-size:14px}.gallery-tile .image-invitation{font-size:12px}#image-viewer .viewer-title small,#viewer-dimensions,#viewer-scale{font:400 12px/1.5 Inter,sans-serif}#viewer-caption{font:300 18px/1.5 'Source Serif 4',Georgia,serif;max-width:68ch}.viewer-tools{flex-wrap:wrap}#viewer-port{min-height:120px}#image-viewer{max-width:calc(100vw - 16px);height:calc(100dvh - 16px);max-height:calc(100dvh - 16px);overflow:auto}.viewer-shell{min-height:0;grid-template-rows:auto minmax(120px,1fr) auto}.eh-media-error{font:400 14px/1.6 Inter,sans-serif;padding:12px;color:var(--paper);background:#111119}.eh-media-error button{margin-left:12px}.viewer .viewer-message{max-width:90%;z-index:2}
.map-full .eh-entry .ra-deck{grid-template-columns:1fr}.map-full .eh-entry .ra-directory{display:none}.map-full .eh-entry .stage{aspect-ratio:auto;height:max(300px,calc(100dvh - 300px));min-height:300px}.map-full .eh-entry .cartography{max-width:none;width:100%}
@media(max-width:1023px){.eh-entry .ra-deck{grid-template-columns:1fr}.eh-entry .cartography{max-width:850px;margin:auto;width:100%}.eh-entry .ra-card-scroll{grid-template-columns:repeat(2,minmax(0,1fr))}.eh-entry .eh-context{grid-template-columns:1fr}.eh-entry .ra-directory{height:auto}.eh-entry .ra-atlas-heading{align-items:flex-start}}
@media(max-width:600px){.eh-entry .ra-card-scroll{grid-template-columns:1fr;padding-right:0}.eh-entry .ra-atlas-heading{display:block}.eh-entry .ra-atlas-links{justify-content:flex-start;margin-top:20px}.eh-select{grid-template-columns:1fr}.eh-audio{margin-left:0}.eh-entry .stage{min-height:260px}.eh-entry .ra-intro{grid-template-columns:1fr}.eh-entry .ra-intro h1{font-size:32px}#directory .reading-intro h2{font-size:32px}#directory .chapter-copy h3{font-size:26px}#directory .dialog-copy{padding:16px}.eh-entry .ra-meta{letter-spacing:.06em}.eh-context>a,.eh-context>button{padding:20px}.viewer-shell{height:auto;min-height:100%}#viewer-port{height:38dvh}#image-viewer .dialog-bar{position:sticky;top:0;z-index:5}.viewer-controls{flex-wrap:wrap}#viewer-caption{font-size:18px}}
@media(max-height:500px){#directory>.dialog-bar{position:static}.viewer-shell{height:auto}#viewer-port{height:200px}.viewer .dialog-bar{position:sticky;top:0;z-index:4}.ra-localbar{position:static}}
@media(prefers-reduced-motion:reduce){.eh-entry *,#directory *,#image-viewer *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
