/* A warm daylight palette alongside Rajyog's original midnight palette. */
.theme-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-width:44px;min-height:44px;padding:8px 11px;flex-shrink:0;border:1px solid var(--line);border-radius:7px;background:#10172599;color:var(--gold-soft);font:500 13px/1.4 var(--sans)}
.theme-toggle:hover{border-color:var(--gold);background:#d9b87916}
.theme-toggle svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.theme-toggle .theme-moon{display:none}
html[data-theme=light] .theme-toggle .theme-sun{display:none}
html[data-theme=light] .theme-toggle .theme-moon{display:block}
.footer-theme-toggle{font-size:12px}
.map-toolbar{background:linear-gradient(90deg,transparent,#090e1bc9 18%,#090e1bc9 82%,transparent);border-radius:24px}
/* The new landscape remains visible around the map; copy gets a calm veil. */
.hero.spiritual-section{--scenery-opacity:.92;--scenery-position:center 60%;--section-veil:linear-gradient(90deg,#090e1bf0 0%,#090e1bde 26%,#090e1b80 52%,#090e1b25 78%,#090e1b45),linear-gradient(180deg,#090e1b88,transparent 38%,#090e1b30)}
.hero.spiritual-section>.spiritual-backdrop{mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%);-webkit-mask-image:linear-gradient(#000 0%,#000 83%,transparent 100%)}
.hero.spiritual-section>.spiritual-backdrop img{filter:saturate(.76) brightness(.93)}
.hero.spiritual-section .astrology-map .cosmos:before{opacity:.20}
:root[data-theme=light]{--bg:#f7f3eb;--bg-deep:#eee8dc;--panel:#fffdf9;--gold:#895d24;--gold-soft:#735128;--ivory:#263447;--muted:#56616e;--line:rgba(121,91,46,.24);--diagram-gold:#855a29;--diagram-ink:#303f50;--diagram-blue:#4d748b;--diagram-panel:#f5efdf;color-scheme:light}
html[data-theme=light] body{background:var(--bg);color:var(--ivory)}
html[data-theme=light] .theme-toggle{background:#fffdf9bf;color:#735128;border-color:#a68b605c}
html[data-theme=light] .theme-toggle:hover{background:#eadfc9;border-color:#895d24}
html[data-theme=light] :is(input,select,textarea){color-scheme:light}
html[data-theme=light] .brand small{color:#6b5840}
html[data-theme=light] .header-inner nav{color:#344457}
html[data-theme=light] .language-switch select,html[data-theme=light] .language-switch select option{color:#344457;background:#fffdf8;border-color:#94713d88}
html[data-theme=light] .button{background:#895d24;border-color:#895d24;color:#fffdf8;box-shadow:0 4px 18px #69512c15}
html[data-theme=light] .button:hover{background:#6f4719;border-color:#6f4719}
html[data-theme=light] .button-small{background:#fffdf9a6;color:#735128;border-color:#94713d88;box-shadow:none}
html[data-theme=light] .button-small:hover{background:#eadfc9}
html[data-theme=light] :is(.text-link,.hero-preview-link){color:#6f4c20;border-color:#94713d88}
html[data-theme=light] :is(.text-link,.hero-preview-link):hover{color:#263447;border-color:#263447}
html[data-theme=light] .hero{background:radial-gradient(ellipse at 84% 35%,#ead2a324,transparent 75%),var(--bg)}
html[data-theme=light] .hero.spiritual-section{--scenery-opacity:.96;--scenery-position:center 60%;--section-veil:linear-gradient(90deg,#f7f3ebf5 0%,#f7f3ebee 24%,#f7f3eb99 46%,#f7f3eb1c 75%,#f7f3eb25),linear-gradient(180deg,#f7f3ebaa,transparent 35%,#f7f3eb33)}
html[data-theme=light] .hero.spiritual-section>.spiritual-backdrop img{filter:saturate(.78) brightness(1.03)}
html[data-theme=light] .hero:before{opacity:.12;background-image:radial-gradient(circle,#927242 0 1px,transparent 1px),radial-gradient(circle,#577280 0 .6px,transparent 1px)}
html[data-theme=light] :is(.hero-note,.hero-bottom,.map-help,.map-note){color:#5a6571}
html[data-theme=light] .hero-lede{color:#624a2e}
html[data-theme=light] .hero-copy .counsel-note{background:#fffdf9c9;border-color:#af956551;box-shadow:0 6px 25px #4e3c2310}
html[data-theme=light] .tradition-ribbon{background:#eee8dc;color:#5b5143}
html[data-theme=light] .tradition-ribbon i{color:#896332}
html[data-theme=light] .astrology-map .cosmos{background:radial-gradient(ellipse at 50% 50%,#f9f3e280,transparent 70%)}
html[data-theme=light] .hero.spiritual-section .astrology-map .cosmos:before{opacity:.15;mix-blend-mode:multiply;filter:saturate(.35)}
html[data-theme=light] .astrology-map canvas:focus-visible{outline-color:#805829}
html[data-theme=light] .graha-button{color:#3f4b58;background:#fffdf9b8;border-color:#97744555}
html[data-theme=light] .graha-button:hover{background:#e9dec9;border-color:#895d24}
html[data-theme=light] .graha-button[aria-pressed=true]{background:#e8d8b8;color:#55390f;border-color:#896332;box-shadow:0 0 12px #8b633319}
html[data-theme=light] .astrology-map #graha-description{color:#3f4b58;background:linear-gradient(90deg,transparent,#fffdf9c9,transparent);border-color:#97744544}
html[data-theme=light] .motion-toggle{background:#fffdf9bf;border-color:#97744566;color:#735128}
html[data-theme=light] .map-toolbar{background:linear-gradient(90deg,transparent,#fffdf9e8 18%,#fffdf9e8 82%,transparent)}
/* Daylight veils match the page instead of leaving dark image rectangles. */
html[data-theme=light] .spiritual-section{--scenery-opacity:.27;--section-veil:linear-gradient(90deg,#f7f3ebce,#f7f3eb70 50%,#f7f3ebce)}
html[data-theme=light] .spiritual-backdrop img{filter:saturate(.65) brightness(1.12)}
html[data-theme=light] .story-section.spiritual-section{--scenery-opacity:.27;--section-veil:linear-gradient(180deg,#f7f3ebc9,#f7f3eb40,#f7f3eb80)}
html[data-theme=light] .story-shade{background:linear-gradient(90deg,#f7f3ebfa,#f7f3ebf0 26%,#f7f3ebaa 46%,#f7f3eb0a 73%),linear-gradient(180deg,#f7f3eb33,transparent 22%,transparent 70%,#f7f3eb);box-shadow:inset 0 0 32px 8px var(--bg)}
html[data-theme=light] .story-content>p{color:#485767}
html[data-theme=light] .story-tabs button{color:#5c6875;border-color:#92703e66}
html[data-theme=light] .story-tabs button[aria-selected=true]{color:#79521f;border-color:#79521f}
html[data-theme=light] .scene-caption{color:#5d4933;background:#f7f3ebd9;padding:4px 8px;border-radius:3px}
html[data-theme=light] .kingdom-section.spiritual-section{background:var(--bg)}
html[data-theme=light] .kingdom-section.spiritual-section>.kingdom-backdrop img{opacity:.32;filter:saturate(.62) brightness(1.1)}
html[data-theme=light] .kingdom-section.spiritual-section>.kingdom-backdrop:after{background:linear-gradient(90deg,#f7f3ebbd,#f7f3eb50 60%,#f7f3eb88)}
html[data-theme=light] .kingdom-copy>p:last-of-type{color:#485767}
html[data-theme=light] .province-button{background:#fffdf9c9;color:#495666;border-color:#ac906130}
html[data-theme=light] .province-button:hover{background:#f0e4ce}
html[data-theme=light] .province-button[aria-selected=true]{background:#eadeca;color:#735128;border-color:#94713d99}
html[data-theme=light] .province-icon{border-color:#92703e4d;background:#ede3cf55}
html[data-theme=light] .province-button[aria-selected=true] .province-icon{border-color:#92703e88;box-shadow:none}
html[data-theme=light] .kingdom-display{background:linear-gradient(145deg,#fffdf8f5,#f3ede2ee);border-color:#97744544;box-shadow:0 20px 60px #75614512}
html[data-theme=light] .mythic-name{color:#344052}
html[data-theme=light] .mythic-theme{color:#5a6571}
html[data-theme=light] .mythic-image{background:radial-gradient(ellipse,#b6a27a19,transparent 66%)}
html[data-theme=light] .mythic-image img{filter:saturate(.74) brightness(1.12)}
html[data-theme=light] :is(.sample-tag,.reading-tab .reading-order){color:#5a6571;border-color:#94713d66}
html[data-theme=light] .radar-label{fill:#435363}
html[data-theme=light] .radar-label.is-active{fill:#79521f}
html[data-theme=light] #radar-visual [stroke="#d9b879"]{stroke:#855a29}
html[data-theme=light] #radar-visual [fill="#111a28"]{fill:#efe5d1}
html[data-theme=light] #radar-visual [fill="#e4c991"],html[data-theme=light] #radar-visual [fill="#c5b28b"]{fill:#735128}
html[data-theme=light] .radar-dot.is-active{fill:#79521f;filter:none}
html[data-theme=light] .readings-section.spiritual-section{--scenery-opacity:.26;--section-veil:linear-gradient(180deg,#f7f3ebb0,#f7f3eb70 40%,#f7f3ebc0)}
html[data-theme=light] .readings-section.spiritual-section .readings-layout{box-shadow:0 18px 65px #75614512}
html[data-theme=light] .reading-selector{background:#f3eee4;scrollbar-color:#a18455 #eee8dc}
html[data-theme=light] .reading-tab{border-color:#94713d33}
html[data-theme=light] .reading-tab:hover{background:#e9deca}
html[data-theme=light] .reading-tab[aria-selected=true]{background:#eadeca;box-shadow:inset 3px 0 #895d24}
html[data-theme=light] .reading-tab .reading-name{color:#3f4e5f}
html[data-theme=light] .reading-tab[aria-selected=true] .reading-name{color:#624315}
html[data-theme=light] .reading-detail{background:radial-gradient(ellipse at 50% 10%,#e9d9b933,transparent 60%),#fffdf9}
html[data-theme=light] .reading-text li{color:#4d5b69}
html[data-theme=light] .feature-art text{opacity:1}
html[data-theme=light] .chanakya-section.spiritual-section{--scenery-opacity:.23;--section-veil:linear-gradient(90deg,#f7f3eb55,#f7f3ebad 48%,#f7f3ebdf)}
html[data-theme=light] .portrait-brand-seal{background:#fffdf8;border-color:#97744599;box-shadow:0 6px 25px #79623c22}
html[data-theme=light] .portrait-orbit{border-color:#92703e33}
html[data-theme=light] .portrait-orbit.orbit-three{border-color:#92703e1f}
html[data-theme=light] .chat-preview{background:#fffdf9e8;box-shadow:0 12px 35px #7561450d}
html[data-theme=light] .chat-question{background:#eae3d7;color:#344052}
html[data-theme=light] .chat-response p{color:#48596b}
html[data-theme=light] .chat-label>span:last-child{color:#5a6571}
html[data-theme=light] .prompt-chips button{color:#4b5a69;border-color:#97744555}
html[data-theme=light] .prompt-chips button.active{background:#eadeca;color:#65451b;border-color:#94713d99}
html[data-theme=light] .how-section.spiritual-section{--scenery-opacity:.28;--section-veil:radial-gradient(ellipse at 50% 28%,#f7f3ebdb,#f7f3eb99 57%,#f7f3eb80)}
html[data-theme=light] .how-section.spiritual-section .steps article{background:linear-gradient(180deg,#fffdf9bd,#fffdf980 76%,transparent)}
html[data-theme=light] .final-cta.spiritual-section{background:var(--bg);--scenery-opacity:.40;--section-veil:radial-gradient(ellipse at 50% 40%,#f7f3ebf5,#f7f3ebae 40%,#f7f3eb20 78%)}
html[data-theme=light] .cta-orbit{border-color:#92703e33}
html[data-theme=light] footer.spiritual-section{--scenery-opacity:.23;--section-veil:linear-gradient(90deg,#f7f3ebdd,#f7f3eb99,#f7f3ebdd)}
html[data-theme=light] :is(.footer-top nav,.footer-bottom,.footer-bottom p,.footer-motion){color:#56616e}
/* All three previews are fully themed, including native controls and graphs. */
html[data-theme=light] #experience>.spiritual-backdrop{opacity:.28}
html[data-theme=light] #experience>.spiritual-backdrop:after{background:linear-gradient(90deg,#f7f3ebc9,#f7f3eb88 75%,#f7f3eba6)}
html[data-theme=light] .sim-heading>p:last-child{color:#56616e}
html[data-theme=light] .sim-shell{background:linear-gradient(135deg,#fffdf9f7,#f6f0e6fa);border-color:#a68b6066;box-shadow:0 28px 65px #75614515}
html[data-theme=light] .sim-tabs{border-color:#97744544}
html[data-theme=light] .sim-tabs [role=tab]{background:#f3ede3cc;border-color:#97744533;color:#425161}
html[data-theme=light] .sim-tabs [role=tab][aria-selected=true]{background:linear-gradient(130deg,#e9d8b7,#efe5d2);color:#5f4118;box-shadow:inset 0 -2px #895d24}
html[data-theme=light] .sim-tabs [role=tab]:hover{background-color:#e9ddc7}
html[data-theme=light] .sim-tab-number{border-color:#97744577;color:#79531f}
html[data-theme=light] .sim-tabs small{color:#5e6871}
html[data-theme=light] :is(.sim-badge,.sim-panel label,.sim-focus .eyebrow){color:#735128}
html[data-theme=light] .sim-panel h3,html[data-theme=light] .sim-number-waiting h4{color:#263447}
html[data-theme=light] .sim-form-side>p{color:#536170}
html[data-theme=light] .sim-panel :is(input[type=date],select,textarea){color:#263447;background:#fffefb;border-color:#94713d88;box-shadow:inset 0 1px 3px #7561450d;color-scheme:light}
html[data-theme=light] .sim-panel select option{color:#263447;background:#fffefb}
html[data-theme=light] .sim-panel input[aria-invalid=true]{border-color:#a73b27}
html[data-theme=light] .sim-error{color:#9b3325}
html[data-theme=light] .sim-primary{background:#895d24;border-color:#895d24;color:#fffdf8}
html[data-theme=light] .sim-primary:hover{background:#6f4719}
html[data-theme=light] :is(.sim-text-button,.sim-link){color:#6f4c20;text-decoration-color:#94713d88}
html[data-theme=light] :is(.sim-text-button,.sim-link):hover{color:#263447}
html[data-theme=light] :is(.sim-small,.sim-private,.sim-number-waiting p,.sim-range-key,#sim-edit-note){color:#5a6571}
html[data-theme=light] .sim-number-seal{border-color:#94713d99;outline-color:#94713d40;color:#79531f}
html[data-theme=light] .sim-number-card{background:radial-gradient(ellipse at top,#e6d4af40,transparent 75%),#fffdf9;border-color:#97744555}
html[data-theme=light] .sim-number-card>p{color:#634b2d}
html[data-theme=light] .sim-number-card>strong{color:#895d24}
html[data-theme=light] .sim-number-card>span{color:#5a6571}
html[data-theme=light] .sim-arithmetic{color:#3f4d5c;border-color:#97744544}
html[data-theme=light] .sim-panel-footer{border-color:#97744544}
html[data-theme=light] .sim-slider-row output{color:#79531f}
html[data-theme=light] .sim-slider-row input[type=range]{accent-color:#926c35}
html[data-theme=light] .sim-radar-grid{stroke:#93754a55}
html[data-theme=light] #sim-radar-shape{fill:#b2843830;stroke:#805929}
html[data-theme=light] .sim-radar-dot{fill:#79531f;stroke:#fffdf8}
html[data-theme=light] .sim-radar text{fill:#435363}
html[data-theme=light] .sim-focus{border-color:#94713d88}
html[data-theme=light] .sim-focus>p:last-child{color:#40505e}
html[data-theme=light] .sim-copy-status{color:#6f4c20}
html[data-theme=light] .sim-question-side{border-color:#97744544}
html[data-theme=light] .sim-panel:focus-visible,html[data-theme=light] .sim-panel :is(button,input,select,textarea):focus-visible,html[data-theme=light] .sim-tabs button:focus-visible{outline-color:#805929}
/* The destination sheet and persistent phone navigation use the same palette. */
html[data-theme=light] #app-dialog{background:radial-gradient(ellipse at 50% 0%,#e9dec6,#fffdf9 65%);border-color:#94713d77;color:#263447;box-shadow:0 30px 100px #3b302d40}
html[data-theme=light] #app-dialog::backdrop{background:#4a453d66}
html[data-theme=light] #app-dialog .dialog-close{color:#536170}
html[data-theme=light] #app-dialog .dialog-close:hover{background:#dcccad55;color:#263447}
html[data-theme=light] .destination-choice.store-link{background:#fffefa;border-color:#97744566}
html[data-theme=light] .destination-choice.store-link:not(:disabled):hover{background:#eae0cb;border-color:#79531f}
html[data-theme=light] .destination-choice:disabled{color:#605442}
html[data-theme=light] .destination-icon{color:#79531f;border-color:#97744555}
html[data-theme=light] .destination-copy strong{color:#344052}
html[data-theme=light] .destination-choice.store-link .destination-copy small{color:#5a6571}
html[data-theme=light] .destination-choice.store-link>.destination-status{border-color:#97744566;color:#72552e;background:#f3ebdc}
html[data-theme=light] #app-dialog .dialog-note{color:#56616e}
html[data-theme=light] .mobile-dock{background:#fffdf9f7;border-color:#94713d66;box-shadow:0 -8px 35px #75614513}
html[data-theme=light] .mobile-dock a{color:#465361}
html[data-theme=light] .mobile-dock button{background:#895d24;color:#fffdf8}
/* Keep the new switch visible at narrow widths without shrinking touch targets. */
@media(min-width:1051px){.header-inner{gap:18px}.header-inner nav,html:not([lang=en]) .header-inner nav{gap:18px}}
@media(max-width:1180px) and (min-width:1051px){.header-inner{gap:12px;padding-inline:4%}.header-inner nav,html:not([lang=en]) .header-inner nav{gap:13px;font-size:14px}.theme-toggle{padding-inline:9px}.header-inner .brand small{font-size:6px}.header-inner .brand>span{font-size:22px}}
@media(max-width:1050px){html[data-theme=light] .header-inner nav{background:#fffdf9f7;border-color:#94713d66;box-shadow:0 20px 50px #75614522}}
@media(max-width:700px){
 .header-inner{gap:7px;padding-inline:4%}.header-inner .theme-toggle{width:44px;padding:8px}.header-inner .theme-toggle [data-theme-label]{display:none}
 .header-inner .brand img{width:36px;height:36px}.header-inner .brand>span,html:not([lang=en]) .header-inner .brand>span{font-size:18px;letter-spacing:1.4px}.header-inner .brand small,html:not([lang=en]) .header-inner .brand small{font-size:5px;letter-spacing:.3px}
 .header-inner .language-switch select{max-width:84px;padding-left:8px;padding-right:20px;font-size:12px}.header-inner .menu-toggle{width:44px;min-height:44px;padding:10px}
 .hero.spiritual-section{--scenery-opacity:.88;--scenery-position:76% center;--section-veil:linear-gradient(180deg,#090e1bf2,#090e1bdc 34%,#090e1b80 57%,#090e1b44 78%,#090e1b99)}
 html[data-theme=light] .hero.spiritual-section{--scenery-opacity:.86;--scenery-position:76% center;--section-veil:linear-gradient(180deg,#f7f3ebef,#f7f3ebdb 32%,#f7f3eb77 55%,#f7f3eb26 76%,#f7f3eb80)}
 html[data-theme=light] .story-shade{background:linear-gradient(180deg,#f7f3ebf5,transparent 57%,transparent 80%,#f7f3eb);box-shadow:inset 0 0 20px 4px var(--bg)}
 html[data-theme=light] .kingdom-section.spiritual-section>.kingdom-backdrop:after{background:linear-gradient(180deg,#f7f3ebbb,#f7f3eb66 50%,#f7f3ebaa)}
 html[data-theme=light] .final-cta.spiritual-section{--scenery-opacity:.4;--section-veil:radial-gradient(ellipse at 50% 38%,#f7f3ebf5,#f7f3ebc9 50%,#f7f3eb55 90%)}
 html{scroll-padding-bottom:90px}.footer-theme-toggle{margin-left:auto}
}
@media(max-width:359px){.header-inner{gap:3px;padding-inline:10px}.header-inner .brand{gap:5px}.header-inner .brand img{width:30px;height:30px}.header-inner .brand>span,html:not([lang=en]) .header-inner .brand>span{font-size:16px;letter-spacing:1px}.header-inner .brand small{display:none}.header-inner .language-switch select{max-width:76px;font-size:11px}}
@media(prefers-contrast:more){html[data-theme=light] .spiritual-section>.spiritual-backdrop{opacity:.18}html[data-theme=light] :is(.sim-small,.sim-private,.sim-tabs small,.map-note){color:#344052}}
@media(forced-colors:active){.theme-toggle{border:1px solid ButtonText}html[data-theme=light] :is(.sim-radar-grid,.radar-label){stroke:CanvasText}html[data-theme=light] #sim-radar-shape{stroke:Highlight;fill:none}html[data-theme=light] .sim-radar-dot{fill:Highlight;stroke:Canvas}html[data-theme=light] .sim-radar text{fill:CanvasText}}
