/* Theme Sternwarte: antediluvian observatory – parchment, bronze, ink */
.theme-sternwarte{--bg:#2a1c12;--surface:#efe2c2;--surface-2:#e6d5ad;--ink:#2b2117;--muted:#5e4120;--line:#b99b62;--accent:#24406b;--accent-ink:#f6ecd4;--danger:#a32a18;--gold:#8a6a10;--warn:#9a4a12;
  --font-body:'EB Garamond',Georgia,serif;--font-head:Cinzel,'EB Garamond',Georgia,serif;--radius:4px;--chip-radius:3px;--focus:#e8b04a;
  --paper:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.6' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .42 0 0 0 0 .3 0 0 0 0 .15 0 0 0 .13 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.theme-sternwarte body{font-size:15.5px}
.theme-sternwarte:lang(ru){--font-head:'EB Garamond',Georgia,serif}
.theme-sternwarte .hdr{background:linear-gradient(#3d2a1b,#22160d);border-bottom:1px solid #b98a3a;box-shadow:inset 0 -2px 0 #6e4f1c;color:#f0d38a}
.theme-sternwarte .brand .logo{color:#f0d38a}.theme-sternwarte .brand .pupil{fill:#22160d}
.theme-sternwarte .brand b{font-family:'Cinzel Decorative',var(--font-head)}
.theme-sternwarte .search input{background:linear-gradient(#f7ecd2,#e9d6ae);border-color:#b98a3a;font-style:italic;box-shadow:inset 0 1px 4px rgba(60,40,10,.45)}
.theme-sternwarte .search .go,.theme-sternwarte .play{background:linear-gradient(180deg,#f6dd98,#c99a45 55%,#8f6826);color:#2b1d0c;border-color:#6e4f1c;font-family:Cinzel,serif}
.theme-sternwarte .switches .seg{border-color:#8f6826}.theme-sternwarte .switches .seg button{color:#f0d38a}.theme-sternwarte .switches .seg button+button{border-color:#8f6826}
.theme-sternwarte .switches .seg button.on{background:linear-gradient(180deg,#f6dd98,#c99a45 55%,#8f6826);color:#2b1d0c}
.theme-sternwarte .panel-surface,.theme-sternwarte .panel.left{background:var(--surface) var(--paper)}
.theme-sternwarte .panel.left{border-right:3px double #b98a3a;box-shadow:inset -6px 0 18px rgba(120,80,30,.18)}
.theme-sternwarte .panel.right{background:radial-gradient(ellipse at 50% 15%,#4a3220,#22160d 70%);border-left:3px double #b98a3a}
.theme-sternwarte .tabwrap{margin:0 10px 10px;border:1px solid #6e4f1c;box-shadow:0 4px 14px rgba(0,0,0,.45)}
.theme-sternwarte .tabs{background:#3a2816;padding-top:6px}.theme-sternwarte .tabs [role=tab]{background:linear-gradient(#6b4d22,#4a3416);color:#f0d38a;border-color:#6e4f1c;font-family:var(--font-head);font-size:12px}
.theme-sternwarte .tabs [role=tab][aria-selected=true]{background:var(--surface);color:var(--ink)}
.theme-sternwarte .tabs [role=tab] .n{color:#ff8a6a}.theme-sternwarte .tabs [role=tab][aria-selected=true] .n{color:var(--danger)}
.theme-sternwarte .ph h2{color:var(--muted)}
.theme-sternwarte .chip{background:rgba(255,255,255,.35)}.theme-sternwarte .chip.on{background:var(--accent);border-color:var(--accent)}
.theme-sternwarte .timeline{background:var(--surface) var(--paper);border-top:3px double #b98a3a}
.theme-sternwarte .trk .past{fill:#a32a18}.theme-sternwarte .trk #cur circle{fill:#f0d38a;stroke:#2b2117}
.theme-sternwarte .detail,.theme-sternwarte .pop{background:var(--surface) var(--paper);border:1px solid #b99b62;box-shadow:inset 0 0 30px rgba(120,80,30,.22),0 8px 24px rgba(0,0,0,.45)}
.theme-sternwarte .foot{background:#160e08;color:#d9c08c;font-style:italic}
.theme-sternwarte .mapwrap .maplibregl-canvas{filter:sepia(.06)}
.theme-sternwarte .loading{color:#5e4120;font-family:var(--font-head)}
.theme-sternwarte .instrument{padding:8px 10px 2px;display:flex;flex-direction:column;align-items:center}
.theme-sternwarte #astro{width:100%;max-width:330px;aspect-ratio:1;display:block;cursor:grab;touch-action:none}
.theme-sternwarte #astro text{font-family:Cinzel,serif}.theme-sternwarte:lang(ru) #astro text{font-family:'EB Garamond',serif}
.theme-sternwarte #astro .sevn{font-size:10px;fill:#e9cf8e;paint-order:stroke;stroke:#1c130a;stroke-width:3px}
.theme-sternwarte #astro .dayl{font-size:11px;font-weight:700;fill:#f0d38a}
.theme-sternwarte #astro .hrl,.theme-sternwarte #astro .ring{font-size:9px;fill:#3b2814}.theme-sternwarte #astro .ring.b{font-weight:700}
.theme-sternwarte #astro .ae{cursor:pointer}.theme-sternwarte #astro .ae.con path{animation:argus-flicker 2.6s infinite}
.theme-sternwarte .acap{font-size:12px;font-style:italic;color:#d9c08c;text-align:center;margin:2px 6px 4px;max-width:420px;line-height:1.3}
@media (max-width:900px){.theme-sternwarte .panel.right{border-left:0}.theme-sternwarte #astro{max-width:300px}.theme-sternwarte .switches .seg button{color:#f0d38a}}
