/* Royal Indigo: stars only; opaque reading surfaces; original Kundli geometry. */
.rwhw.rwhw-celestial[data-theme=night]{--background:#080f20;--surface:#111d32;--surface-secondary:#18263d;--text-primary:#f3eee3;--text-secondary:#bcc7d6;--accent:#ebcd91;--accent-secondary:#d3b77f;--border:#35445b;--button-text:#152036;--sky:#080f20;background:#080f20}
.rwhw-universe{position:fixed;inset:0;width:100vw;height:100vh;z-index:-1;pointer-events:none!important}
.rwhw.rwhw-celestial[data-theme=night] :is(.rwhw-landing-layout,.rwhw-hub-main,.rwhw-chart-hero,.rwhw-chart-shell){background:transparent}
.rwhw.rwhw-celestial[data-theme=night] :is(.rwhw-heritage,.rwhw-library-atmosphere){display:none}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-brandbar{background:#0d1729;border-bottom-color:#35445b}
.rwhw.rwhw-celestial .rwhw-brand-actions{flex-wrap:wrap}
.rwhw-motion-toggle{min-height:44px;padding:9px 13px;border:1px solid var(--border);border-radius:30px;background:var(--surface-secondary);color:var(--text-primary);font-size:12px!important;white-space:nowrap}
.rwhw-universe-reading{background:var(--surface-secondary);color:var(--text-primary);border-left:3px solid var(--accent);padding:18px;font-size:15px;line-height:1.85}
.rwhw [data-house-reading]{cursor:pointer}.rwhw [data-house-reading][aria-pressed=true] .rwhw-planet-label{fill:#8a4608;font-weight:800}
.rwhw.rwhw-celestial[data-theme=night] :is(.rwhw-pane,.rwhw-simple-panel,.rwhw-placement-reading,.rwhw-dasha-level,.rwhw-dasha-selected,.rwhw-transit-reading-grid article,.rwhw-combined-chart){background:var(--surface);border-color:var(--border);color:var(--text-primary)}
.rwhw.rwhw-celestial[data-theme=night] :is(.rwhw-placement-reading p,.rwhw-placement-reading header>span:last-child,.rwhw-dasha-selected p,.rwhw-dasha-selected details,.rwhw-dasha-level small,.rwhw-transit-reading-grid p){color:var(--text-secondary)}
.rwhw.rwhw-celestial[data-theme=night] :is(.rwhw-placement-index a,.rwhw-dasha-period-grid button){background:var(--surface-secondary);border-color:var(--border);color:var(--text-primary)}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-dasha-period-grid button.is-selected{border-color:var(--accent);background:#27324a}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-placement-reading header{border-color:var(--border)}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-kundli{--background:#fff8e9;--text-primary:#302b24;--text-secondary:#61523c;--accent:#775119;--accent-secondary:#8d744b;--border:#baa782;background:#fff8e9;color:#8d744b;border-radius:0;box-shadow:0 8px 30px #0002}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-kundli .rwhw-chart-fill{fill:#fff8e9;rx:0}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-kundli .rwhw-overlay-natal{fill:#28638e}
.rwhw.rwhw-celestial[data-theme=night] .rwhw-kundli .rwhw-overlay-transit{fill:#9a4508}
.rwhw.rwhw-celestial .rwhw-chart-house:hover .rwhw-planet-label,.rwhw.rwhw-celestial .rwhw-chart-house:focus-within .rwhw-planet-label{fill:#8a4608;filter:drop-shadow(0 0 2px #c58c4480)}
.rwhw.rwhw-celestial[data-motion=on] :is(.rwhw-pane,.rwhw-simple-panel,.rwhw-dasha-selected){animation:rwhw-universe-reveal .32s ease-out}
.rwhw.rwhw-celestial[data-motion=on] .rwhw-dasha-period-grid .is-current{animation:rwhw-current-glow 4s ease-in-out infinite}
.rwhw.rwhw-celestial[data-motion=on] .rwhw-dasha-road-list article.is-current>span{animation:rwhw-current-glow 4s ease-in-out infinite}
.rwhw.rwhw-celestial[data-motion-running=false] *{animation-play-state:paused!important}
.rwhw.rwhw-celestial[data-motion=off] *,.rwhw.rwhw-celestial[data-motion=off] *::before,.rwhw.rwhw-celestial[data-motion=off] *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
@keyframes rwhw-universe-reveal{from{opacity:.5}to{opacity:1}}
@keyframes rwhw-current-glow{0%,100%{box-shadow:0 0 0 1px #d3b77f55}50%{box-shadow:0 0 14px #d3b77f35}}
@media(max-width:700px){.rwhw.rwhw-celestial .rwhw-brand-actions{gap:6px}.rwhw-motion-toggle{padding:8px 10px}.rwhw.rwhw-celestial .rwhw-readable-copy p{font-size:15px;line-height:1.85}}
@media(prefers-reduced-motion:reduce){.rwhw.rwhw-celestial *,.rwhw.rwhw-celestial *::before,.rwhw.rwhw-celestial *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
@media print{.rwhw-universe,.rwhw-motion-toggle{display:none!important}}

/* Selected light theme: Peach Sunrise, sun and birds only. */
.rwhw.rwhw-celestial[data-theme=light]{--background:#f8e4d4;--surface:#fffaf0;--surface-secondary:#f6eadc;--text-primary:#283d49;--text-secondary:#596a73;--accent:#8b5238;--accent-secondary:#8d6c3b;--border:#ddcbb8;--button-text:#fffaf0;--sky:#f8e4d4;background:#f8e4d4}
.rwhw.rwhw-celestial[data-theme=light] :is(.rwhw-landing-layout,.rwhw-hub-main,.rwhw-chart-hero,.rwhw-chart-shell){background:transparent}
.rwhw.rwhw-celestial[data-theme=light] :is(.rwhw-heritage,.rwhw-library-atmosphere){display:none}
.rwhw.rwhw-celestial[data-theme=light] :is(.rwhw-pane,.rwhw-simple-panel){background:var(--surface)}

.rwhw-dashboard-charts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;margin-bottom:24px}.rwhw-dashboard-charts .rwhw-kundli{max-width:400px}@media(max-width:1000px){.rwhw-dashboard-charts{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:700px){.rwhw-dashboard-charts{grid-template-columns:1fr}}

/* Keep WordPress/theme hover colours from overriding horoscope controls. */
.rwhw button:hover,.rwhw button:focus-visible,.rwhw a.rwhw-secondary:hover,.rwhw a.rwhw-member-action:hover{background:var(--surface-secondary)!important;color:var(--text-primary)!important;border-color:var(--accent-secondary)!important;box-shadow:none!important;filter:none}
.rwhw .rwhw-primary:hover,.rwhw .rwhw-primary:focus-visible,.rwhw .rwhw-result-tabs button.active:hover{background:var(--accent)!important;color:var(--button-text)!important}
.rwhw button:focus-visible,.rwhw a:focus-visible{outline:2px solid var(--accent-secondary)!important;outline-offset:3px}

.rwhw-upcoming-panel{padding:22px;margin-bottom:24px;border:1px solid var(--border);border-radius:14px;background:var(--surface)}.rwhw-upcoming-panel .rwhw-placement-reading{margin:18px 0}.rwhw-match-chat input,.rwhw-match-chat select{background:var(--surface);color:var(--text-primary);border:1px solid var(--border);padding:12px;border-radius:6px;max-width:100%}.rwhw-match-chat input{width:100%}.rwhw-match-chat form{display:grid;gap:12px;margin-top:18px}.rwhw-match-chat [role=log]{max-height:450px;overflow:auto;padding:12px 0}.rwhw-transit-message p{white-space:pre-line}
