/* Shapes, proportions and icon strokes follow the selected reference image. */
.atlas-icon-defs{position:absolute;pointer-events:none;overflow:hidden}
.reference-icon{display:block;flex:none;width:32px;height:32px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.brand-lockup .brand-name{display:block}
.brand-tagline{display:none}
body:has(.view.active){
 --reference-ink:#261044;--reference-muted:#48305b;
 --reference-glass:linear-gradient(118deg,rgba(255,255,255,.62),rgba(247,240,255,.45));
 --reference-radius:clamp(15px,2.85vw,29px);
 background:#d9c8f0;
 color:var(--reference-ink);
}
body:has(.view.active) .topbar,body:has(.view.active) .app-shell{max-width:1040px;margin-inline:auto}
body:has(.view.active) .topbar{
 position:relative;z-index:2;padding:calc(28px + max(var(--atlas-safe-top,0px),var(--atlas-fullscreen-top-floor,0px))) 36px 0;
 background:none!important;border:0;box-shadow:none;align-items:start;gap:12px;
}
body:has(.view.active) .topbar::before{display:none}
body:has(.view.active) .topbar .brand{
 display:flex;align-items:flex-start;gap:22px;max-width:460px;padding:0;background:none;border:0;box-shadow:none;text-align:left;color:var(--reference-ink)!important;
}
body:has(.view.active) .topbar .brand-mark{display:grid!important;place-items:center;width:46px;height:50px;flex:none;padding:0;margin-top:6px;background:none;border:0;box-shadow:none;color:#3d185b;border-radius:0}
body:has(.view.active) .topbar .brand-lockup{max-width:360px}
body:has(.view.active) .brand-tagline{display:block;margin-top:17px;color:#513071}
body:has(.view.active) .credit-badge{margin-top:5px;max-width:300px;border:1px solid #ffffffed;border-radius:999px;background:#fcf8ffa6!important;box-shadow:inset 0 1px #fff,0 4px 18px #7653941f;color:#281346!important}
body:has(.view.active) .credit-badge svg{width:28px;height:28px;stroke:#d98829;fill:#efaa49;stroke-width:1}
body:has(.view.active) .language-toggle{background:#fcf8ff9c;color:#56386f;border-color:#fff8;border-radius:50%}
body:has(.view.active) .app-shell{padding:22px 36px 120px}
#today.daily-view.active{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;padding:0;background:none;color:var(--reference-ink)}
#today.daily-view.active>*{min-width:0}
#today .today-more,#today .today-more-scroll{display:contents!important}
#today .atlas-glass-heading{
 order:1;grid-column:1/-1;display:flex!important;position:relative;isolation:isolate;align-items:flex-start;overflow:visible!important;
 min-height:300px;margin:0!important;padding:25px 40px!important;border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
#today .atlas-glass-heading::before{
 content:'';display:block;position:absolute;z-index:-1;inset:0 auto 0 0;width:62%;border:1px solid #fff9;border-right:0;border-bottom:0;border-radius:36px 0 0 0;
 background:linear-gradient(102deg,#fff7,#fff2 67%,transparent);pointer-events:none;
 -webkit-mask-image:linear-gradient(90deg,#000 0%,#000 55%,transparent);mask-image:linear-gradient(90deg,#000 0%,#000 55%,transparent);
}
#today .atlas-glass-heading::after{display:none!important}
#today .atlas-glass-heading-copy{width:66%;min-width:0;position:relative;z-index:1;align-self:start}
#today .today-hero-kicker{color:#4b2672}
#today #today-main-title{margin:4px 0 6px;color:#28103e}
#today .today-hero-date{margin:0;padding:0!important;color:#301551}
#today .today-hero-date .daily-place::before{content:' · '}
#today #daily-title{position:relative;max-width:360px;margin:19px 0 0;padding:0 0 0 38px!important;color:#76588f}
#today #daily-title::before{content:'';position:absolute;left:0;top:.55em;width:23px;height:1px;background:#d99a50;box-shadow:0 0 8px 2px #ffebc9}
#today .today-hero-signature{position:absolute;right:7px;bottom:29px;transform:rotate(-12deg);color:#573378;text-align:center}
#today .today-quick-guide,#today .atlas-home-actions{display:none}
/* All main surfaces share the same thin edge and airy, low-opacity glass. */
#today .daily-shortcut,#today .today-overview>.today-moon,#today .daily-plan-card,#today #daily-empty,
#today .today-meditation,#today .today-calendar,#today .today-tarot{
 box-sizing:border-box;border:1px solid #fffffff0!important;border-radius:var(--reference-radius)!important;background:var(--reference-glass)!important;
 box-shadow:inset 0 1px 1px #fff8,0 7px 22px #76539412!important;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);color:var(--reference-ink)!important;
}
#today .daily-discover{order:2;grid-column:1/-1;display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;overflow:visible;margin:0!important;padding:0}
#today .daily-shortcut{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;flex:none;gap:8px;min-width:0;min-height:164px;margin:0;padding:15px 24px!important;text-align:left;transform:none!important}
#today .daily-shortcut[data-go='transits']{display:none!important}
#today .daily-shortcut[data-go='chart']{order:1}
#today .daily-shortcut[data-go='synastry']{order:2}
#today .daily-shortcut[data-go='places']{order:3}
#today .daily-shortcut[data-go='access']{order:4}
#today .daily-shortcut:hover{background:linear-gradient(115deg,#fff9,#f7f0ff8c)!important}
#today .daily-shortcut .shortcut-icon{display:grid;place-items:center;position:relative;width:68px;height:68px;flex:none;border:1px solid #fff9;border-radius:50%;background:radial-gradient(circle at 28% 24%,#fff8,transparent 70%),linear-gradient(130deg,#efdcfa,#cbb1f5);box-shadow:inset 0 1px 1px #fff,0 0 17px #e7c5fa;color:#57279a}
#today .daily-shortcut .shortcut-icon svg{width:36px;height:36px}
#today .daily-shortcut[data-go='synastry'] .shortcut-icon{background:linear-gradient(130deg,#ffedcc,#f7cdf3);color:#ac263a;box-shadow:0 0 17px #ffdfdf}
#today .daily-shortcut[data-go='access'] .shortcut-icon{background:linear-gradient(130deg,#f7d9ed,#d9c3fd)}
#today .daily-shortcut .shortcut-moon{border:0;background:url('assets/atlas-moon-phases-v114.webp') 100% 100%/300% 200% no-repeat;box-shadow:0 0 15px #ffeddc;border-radius:50%}
#today .shortcut-chevron{position:absolute;right:20px;top:40px;width:14px;height:22px;color:#5b288d;stroke-width:1.45}
#today .shortcut-copy{display:block;min-width:0;max-width:100%}
#today .daily-shortcut strong{display:block;color:var(--reference-ink);overflow-wrap:normal}
#today .daily-shortcut small{display:block;margin-top:4px;color:var(--reference-muted)}
/* Header arrows are real disclosure controls, not decoration over another button. */
#today .today-reference-header{display:flex;align-items:center;gap:12px;width:100%;min-height:0!important;height:auto;margin:0 0 12px!important;padding:0!important;text-align:left;white-space:normal;border:0!important;border-radius:0!important;background:none!important;color:var(--reference-ink)!important;box-shadow:none!important;transform:none!important;cursor:pointer}
#today .today-reference-header .reference-heading-label{margin:0;color:inherit!important}
#today .today-reference-header>.reference-icon:first-child{width:34px;height:34px}
#today .heading-sun{color:#cf551b;filter:drop-shadow(0 0 7px #ffcb65)}
#today .heading-lotus{color:#7838c4;filter:drop-shadow(0 0 6px #dfb6ff)}
#today .reference-chevron{margin-left:auto;width:12px;height:24px;stroke-width:1.4}
#today .today-reference-header[aria-expanded='true']>.reference-chevron{transform:rotate(90deg)}
/* Moon copy and its two values stay on one row, including on phones. */
#today .today-overview{order:3;grid-column:1/-1;display:block;margin:0!important}
#today .today-overview>.today-moon{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);align-items:center;gap:10px 15px;min-height:0;margin:0;padding:18px 25px 10px!important}
#today .today-moon>.today-reference-header{grid-column:1/-1;margin-bottom:0!important}
#today .today-moon-heading{display:flex;align-items:center;gap:16px;min-width:0;grid-column:1;grid-row:2}
#today .today-moon-heading #today-moon-disc{width:130px;height:130px;flex:none;overflow:visible;filter:drop-shadow(0 0 9px #ffeacd)}
#today .today-moon-copy{min-width:0}
#today #daily-phase{margin:0 0 5px;color:var(--reference-ink)}
#today #daily-moon-sign{margin:0;color:#351956!important}
#today .today-moon-summary{margin:7px 0 0;color:var(--reference-muted)!important}
#today .today-moon-metrics{grid-column:2;grid-row:2;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;align-self:center}
#today .today-moon-metrics:empty{display:none}
#today .today-moon-metrics>div{padding:14px 16px;min-width:0;border:1px solid #fff7;border-radius:16px;background:#faf4ff25}
#today .today-moon-metrics p{margin:0 0 7px;color:var(--reference-muted)}
#today .today-moon-metrics strong{white-space:nowrap;color:var(--reference-ink)}
#today .today-moon-metrics strong::after{content:'✦';margin-left:7px;color:#e9a749;vertical-align:middle}
#today #today-moon-status{grid-column:1/-1;margin:0;color:var(--reference-muted)}
#today #today-moon-status:empty{display:none}
#today .atlas-phase-cycle{grid-column:1/-1;position:relative;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:0;padding:10px 8px 8px;border:1px solid #fff4;border-radius:21px;background:#e9defb54}
#today .atlas-phase-cycle::before{content:'';position:absolute;top:43px;left:8%;right:8%;border-top:1px dashed #9576bd71;pointer-events:none}
#today .atlas-phase-cycle>span{position:relative;display:grid;justify-items:center;gap:6px;min-width:0;color:#795e9c;white-space:nowrap}
#today .atlas-phase-cycle i{position:relative;z-index:1;display:block;width:60px;height:60px;border-radius:50%;background-image:url('assets/atlas-moon-phases-v114.webp');background-repeat:no-repeat;background-size:300% 200%;box-shadow:0 0 12px #faf0ffc7}
#today .atlas-phase-cycle .phase-new{background-position:0 0}
#today .atlas-phase-cycle .phase-waxing{background-position:50% 0}
#today .atlas-phase-cycle .phase-full{background-position:100% 0}
#today .atlas-phase-cycle .phase-waning{background-position:0 100%}
#today .atlas-phase-cycle .phase-old{background-position:50% 100%}
#today .atlas-phase-cycle span[aria-current='true']{color:#271044}
#today .atlas-phase-cycle span[aria-current='true'] i{outline:2px solid #ad7af5;outline-offset:2px;box-shadow:0 0 0 5px #ffffffa8,0 0 14px 8px #b58df2a1}
#today .today-moon>.today-overview-details,#today #today-moon-retry{grid-column:1/-1;margin:0}
#today .today-moon>.today-overview-details:not([open]){display:none}
#today .today-moon>.today-overview-details[open]{padding:12px 0 0}
/* The two compact cards share a row and three independent plan disclosures. */
#today .daily-personal-story,#today #daily-empty{order:4;grid-column:1;margin:0!important}
#today .daily-personal-story[hidden],#today #daily-empty[hidden]{display:none!important}
#today .daily-plan-card,#today #daily-empty{height:100%;min-height:0;margin:0!important;padding:18px 17px!important}
#today #daily-plan-title.sr-only{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important}
#today #daily-plan-steps{display:grid;grid-template-columns:1fr;gap:7px;margin:0!important}
#today #daily-plan-steps>.daily-plan-step{padding:0;margin:0;border:1px solid #fff8;border-radius:18px;background:#ffffff9c;overflow:hidden}
#today .daily-plan-step>summary{display:flex;align-items:center;gap:13px;min-height:68px;padding:10px 12px;list-style:none;cursor:pointer;color:var(--reference-ink)}
#today .daily-plan-step>summary::-webkit-details-marker{display:none}
#today .daily-step-icon{display:grid;place-items:center;flex:none;width:46px;height:46px;border-radius:50%;background:#d8efeb9c;color:#345866}
#today .daily-step-icon svg{width:30px;height:30px;stroke-width:1.6}
#today .daily-plan-step:nth-child(2) .daily-step-icon{background:#ffdedc9e;color:#ad272d}
#today .daily-plan-step:nth-child(3) .daily-step-icon{background:#fff1d8ac;color:#bf641d}
#today .daily-step-copy{min-width:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
#today .daily-plan-step .reference-chevron{width:10px;height:18px;flex:none;color:#6d478b}
#today .daily-plan-step[open] .reference-chevron{transform:rotate(90deg)}
#today .daily-plan-step>.daily-step-full{padding:0 12px 12px;color:#654d7b}
#today .daily-plan-step .daily-step-full p{margin:0 0 6px;color:inherit}
#today #daily-plan-source{margin:10px 0 0;color:var(--reference-muted)}
#today #daily-plan-source[hidden]{display:none}
#today #daily-empty h2{margin:0 0 8px;color:var(--reference-ink)}
#today #daily-empty p{margin:0 0 10px;color:var(--reference-muted)}
#today #daily-empty button{min-height:38px;padding:8px 10px;border-radius:14px}
#today .today-meditation{order:5;grid-column:2;min-width:0;min-height:0;margin:0!important;padding:18px 17px!important}
#today .today-meditation::before,#today .today-meditation::after{display:none!important}
#today .meditation-landscape{width:100%;aspect-ratio:2.9;border-radius:19px;background:url('assets/atlas-meditation-lake-v113.webp') center/cover;margin:0 0 8px}
#today .meditation-description{display:flex;gap:8px;align-items:center}
#today .meditation-description>div{flex:1;min-width:0}
#today .today-meditation h3{margin:0 0 4px;color:var(--reference-ink)}
#today .today-meditation .meditation-meta{margin:0 0 7px;color:var(--reference-muted)}
#today .today-meditation .meditation-reason{margin:0;color:var(--reference-muted)}
#today .meditation-play{display:grid;place-items:center;flex:none;width:72px;height:72px;min-height:0!important;padding:17px!important;border:2px solid #fff!important;border-radius:50%!important;background:linear-gradient(135deg,#e7d4ff8c,#bc9beec9)!important;color:#341254!important;box-shadow:inset 0 0 8px #fff,0 0 8px #b88ce5!important;cursor:pointer}
#today .meditation-play svg{width:100%;height:100%;fill:currentColor}
#today .meditation-basis:empty,#today .meditation-error[hidden]{display:none}
#today .meditation-basis{margin:6px 0 0;color:var(--reference-muted)}
#today .meditation-player-details{margin:8px 0 0}
#today .meditation-player-details>summary{color:var(--reference-muted);cursor:pointer;min-height:0;padding:0}
#today .today-meditation audio{width:100%;height:36px;margin-top:8px;color-scheme:light}
#today .meditation-library-label.sr-only{min-height:0}
#today #meditation-library-details:not([open]){display:none}
/* One horizontal lunar-calendar strip; real calendar controls unfold below it. */
#today .today-calendar{order:6;grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;gap:10px;min-height:0!important;margin:0!important;padding:12px 20px!important}
#today .today-calendar-heading{display:flex;align-items:center;gap:16px;min-width:0;width:100%;min-height:0;padding:0!important;border:0!important;border-radius:0!important;background:none!important;color:var(--reference-ink)!important;text-align:left;box-shadow:none!important;cursor:pointer}
#today .calendar-icon-badge{display:grid;place-items:center;flex:none;width:78px;height:78px;border:1px solid #fff8;border-radius:26px;background:linear-gradient(135deg,#ffe2dd99,#ffe6d392);color:#b22e16;box-shadow:0 0 10px #ffdad9}
#today .calendar-icon-badge svg{width:38px;height:38px;stroke-width:1.8}
#today .calendar-heading-copy{display:block;min-width:0}
#today .today-calendar .calendar-title{margin:0 0 6px;color:var(--reference-ink)}
#today .calendar-heading-copy>span{display:block;color:var(--reference-muted)}
#today .today-calendar-heading>.reference-chevron{width:12px;height:22px}
#today .today-calendar-heading[aria-expanded='true']>.reference-chevron{transform:rotate(90deg)}
#today .atlas-week{display:block;min-width:0;margin:0;padding:0 0 0 8px;background:none;border:0;border-left:1px solid #fff4;border-radius:0;color:#432267}
#today #atlas-week-month{margin:0 0 6px;text-align:left;color:#391856}
#today .atlas-week-days{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px;min-width:0}
#today .atlas-week-day{display:flex;flex-direction:column;align-items:center;gap:3px;min-width:0;min-height:0;width:100%;margin:0;padding:0;border:0;background:none!important;box-shadow:none;cursor:pointer;color:#72568f}
#today .atlas-week-day .week-number{display:grid;place-items:center;width:42px;height:42px;max-width:100%;aspect-ratio:1;border:1px solid #fff8;border-radius:50%;background:#f9f4ff6b}
#today .atlas-week-day .week-name{text-transform:capitalize}
#today .atlas-week-day[aria-current='date'] .week-number{background:#d3b5ff75;color:#3c1668;border-color:#fff;box-shadow:0 0 0 2px #cca9ef9e,0 0 9px #ad7ae275}
#today .today-calendar-details{grid-column:1/-1;margin:0}
#today .today-calendar-details:not([open]){display:none}
#today .today-calendar-details[open]{padding-top:12px;border-top:1px solid #fff6}
#today .today-date-picker{display:flex;gap:10px;align-items:center;max-width:300px}
#today .today-date-picker input{width:auto;max-width:100%;background:#fff6;color:var(--reference-ink)}
#today .today-calendar-preview{color:var(--reference-muted);margin:12px 0}
#today .today-tarot{order:7;grid-column:1/-1;min-height:0!important;margin:0!important;padding:16px 20px!important}
#today .today-tarot .tarot-row{display:grid;grid-template-columns:72px minmax(0,1fr);gap:14px;text-align:left}
#today .today-tarot .tarot-art{width:72px;height:92px}
#today .today-tarot .tarot-label,#today .today-tarot .tarot-name,#today .today-tarot .tarot-title,#today .today-tarot .tarot-meta,#today .today-tarot summary{color:var(--reference-ink)!important}
#today .today-rewards{order:8;grid-column:1/-1;margin:0!important;padding:10px 15px;border:1px solid #fff8;border-radius:18px;background:#fff5;color:var(--reference-ink)}
#today .today-influences{order:9;grid-column:1/-1;margin:0}
#today .today-question-action{order:10;grid-column:1/-1}
#today #daily-action-status{order:11;grid-column:1/-1}
#today #daily-content{order:12;grid-column:1/-1}
#today #daily-status{order:13;grid-column:1/-1}
#today #daily-retry{order:14;grid-column:1/-1}
#today button:focus-visible,#today summary:focus-visible{outline:2px solid #9560c6;outline-offset:3px}
/* Phones preserve the same four-tile rail and two-card rows as the reference. */
@media(max-width:760px){
 body:has(.view.active) .topbar{padding:calc(16px + max(var(--atlas-safe-top,0px),var(--atlas-fullscreen-top-floor,0px))) 22px 0;gap:8px}
 body:has(.view.active) .topbar .brand{gap:13px;max-width:330px}
 body:has(.view.active) .topbar .brand-mark{width:29px;height:32px;margin-top:2px}
 body:has(.view.active) .topbar .brand-lockup{max-width:270px}
 body:has(.view.active) .brand-tagline{margin-top:8px}
 body:has(.view.active) .credit-badge{padding:8px!important;max-width:145px;min-height:30px}
 body:has(.view.active) .credit-badge svg{width:20px;height:20px}
 body:has(.view.active) .app-shell{padding:14px 14px calc(88px + var(--atlas-safe-bottom,0px))}
 #today.daily-view.active{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}
 #today .atlas-glass-heading{min-height:clamp(152px,34vw,255px);padding:12px 16px 12px!important}
 #today .atlas-glass-heading::before{border-top-left-radius:25px}
 #today .atlas-glass-heading-copy{width:73%}
 #today #today-main-title{margin:4px 0}
 #today #daily-title{margin-top:12px;padding-left:20px!important}
 #today #daily-title::before{width:13px}
 #today .today-hero-signature{right:2px;bottom:18px}
 #today .daily-discover{gap:5px}
 #today .daily-shortcut{min-height:clamp(82px,17.4vw,132px);padding:7px 8px!important;gap:5px}
 #today .daily-shortcut .shortcut-icon{width:33px;height:33px}
 #today .daily-shortcut .shortcut-icon svg{width:21px;height:21px;stroke-width:1.7}
 #today .shortcut-chevron{right:8px;top:15px;width:8px;height:15px}
 #today .daily-shortcut small{margin-top:3px}
 #today .today-overview>.today-moon{padding:11px 11px 8px!important;gap:6px 8px}
 #today .today-reference-header{gap:7px;margin-bottom:7px!important}
 #today .today-reference-header>.reference-icon:first-child{width:21px;height:21px}
 #today .reference-chevron{width:9px;height:16px}
 #today .today-moon-heading{gap:7px}
 #today .today-moon-heading #today-moon-disc{width:56px;height:56px}
 #today #daily-phase{margin-bottom:3px}
 #today .today-moon-summary{margin-top:4px}
 #today .today-moon-metrics{gap:5px}
 #today .today-moon-metrics>div{padding:8px 6px;border-radius:10px}
 #today .today-moon-metrics p{margin-bottom:5px}
 #today .today-moon-metrics strong::after{margin-left:3px}
 #today .atlas-phase-cycle{gap:4px;padding:7px 3px 6px;border-radius:13px}
 #today .atlas-phase-cycle::before{top:24px}
 #today .atlas-phase-cycle i{width:32px;height:32px}
 #today .atlas-phase-cycle>span{gap:4px}
 #today .daily-plan-card,#today #daily-empty,#today .today-meditation{padding:10px 8px!important}
 #today #daily-plan-steps{gap:4px}
 #today #daily-plan-steps>.daily-plan-step{border-radius:12px}
 #today .daily-plan-step>summary{min-height:43px;padding:6px;gap:6px}
 #today .daily-step-icon{width:26px;height:26px}
 #today .daily-step-icon svg{width:19px;height:19px}
 #today .daily-plan-step .reference-chevron{width:6px;height:12px}
 #today .daily-plan-step>.daily-step-full{padding:0 8px 8px}
 #today .meditation-landscape{border-radius:12px;aspect-ratio:2.6;margin-bottom:6px}
 #today .meditation-description{gap:4px;align-items:flex-start}
 #today .meditation-play{width:36px;height:36px;padding:8px!important;border-width:1.5px!important}
 #today .today-calendar{grid-template-columns:minmax(0,1.6fr) minmax(0,1fr);padding:8px 10px!important;gap:5px}
 #today .today-calendar-heading{gap:7px}
 #today .calendar-icon-badge{width:34px;height:34px;border-radius:12px}
 #today .calendar-icon-badge svg{width:20px;height:20px}
 #today .today-calendar .calendar-title{margin-bottom:4px}
 #today .today-calendar-heading>.reference-chevron{width:7px;height:14px}
 #today .atlas-week{padding-left:5px}
 #today #atlas-week-month{margin-bottom:4px}
 #today .atlas-week-days{gap:3px}
 #today .atlas-week-day .week-number{width:25px;height:25px}
 body:has(.view.active) .main-nav{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;position:fixed;inset:auto calc(7px + var(--atlas-safe-right,0px)) calc(8px + var(--atlas-safe-bottom,0px)) calc(7px + var(--atlas-safe-left,0px));width:auto;min-height:0;max-width:none;margin:0;padding:5px!important;gap:0;border:1px solid #fffffff0!important;border-radius:27px!important;background:linear-gradient(118deg,#fff9,#fdf3ff74)!important;box-shadow:inset 0 1px #fff9,0 4px 20px #76539422!important;backdrop-filter:blur(9px);-webkit-backdrop-filter:blur(9px);z-index:100}
 body:has(.view.active) .main-nav .nav-pill[data-go='transits'],body:has(.view.active) .main-nav .nav-pill[data-go='places']{display:none!important}
 body:has(.view.active) .main-nav .nav-pill[data-go='synastry']{display:flex!important}
 body:has(.view.active) .main-nav .nav-pill{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:3px;min-width:0;min-height:52px;padding:4px 2px!important;border:1px solid transparent!important;border-radius:19px!important;background:none!important;color:#70558b!important;box-shadow:none!important;white-space:nowrap}
 body:has(.view.active) .main-nav .nav-pill.active{background:linear-gradient(135deg,#fff0ca82,#ffdacc91)!important;border-color:#fff9!important;color:#b34d17!important;box-shadow:0 0 14px #ffe0b550!important}
 body:has(.view.active) .main-nav .nav-icon{display:grid;place-items:center;width:27px;height:27px;background:none!important;border:0!important;box-shadow:none!important;border-radius:0;color:inherit!important}
 body:has(.view.active) .main-nav .nav-icon svg{width:25px;height:25px;stroke-width:1.7}
 body.telegram-app.tg-main-visible:has(#today.active) .main-nav{bottom:calc(74px + var(--atlas-safe-bottom,0px))}
}
@media(max-width:355px){
 body:has(.view.active) .topbar{padding-inline:14px}
 body:has(.view.active) .topbar .brand{gap:8px}
 body:has(.view.active) .topbar .brand-mark{width:24px}
 body:has(.view.active) .credit-badge{max-width:91px}
 body:has(.view.active) .app-shell{padding-inline:9px}
 #today .daily-shortcut{padding-inline:5px!important}
 #today .today-moon-heading #today-moon-disc{width:44px;height:44px}
 #today .today-reference-header{gap:5px}
}
/* Telegram's dark theme keeps the same geometry, strokes and translucency. */
html.tg-dark body.telegram-app:has(.view.active){--reference-ink:#fbf3ff;--reference-muted:#ddcbe9;--reference-glass:linear-gradient(118deg,#352649a3,#4b326785);background-color:#302143}
html.tg-dark body.telegram-app:has(.view.active) .brand-mark,html.tg-dark body.telegram-app:has(.view.active) .brand-tagline{color:#ecd9ff}
html.tg-dark body.telegram-app #today .atlas-glass-heading::before{background:linear-gradient(102deg,#372348a1,#42305e33 67%,transparent)}
html.tg-dark body.telegram-app #today #today-main-title,html.tg-dark body.telegram-app #today .today-hero-date,html.tg-dark body.telegram-app #today .today-hero-kicker{color:#f9efff}
html.tg-dark body.telegram-app #today #daily-title,html.tg-dark body.telegram-app #today .today-hero-signature{color:#ecd9ff}
html.tg-dark body.telegram-app #today .daily-plan-step{background:#39274999}
html.tg-dark body.telegram-app #today .atlas-phase-cycle{background:#3927495c}
html.tg-dark body.telegram-app #today #daily-moon-sign,html.tg-dark body.telegram-app #today .atlas-phase-cycle span[aria-current='true']{color:#f5eaff!important}
@media(prefers-reduced-motion:reduce){#today *{scroll-behavior:auto!important}}
#today .meditation-player-details:not([open]){display:none}
body:has(.view.active) .brand-lockup .brand-name{max-width:6.3em}
body:has(.view.active) .credit-badge .credit-crown{display:none}
body:has(.view.active) .credit-badge.owner-access .credit-crown{display:block}
body:has(.view.active) .credit-badge.owner-access .credit-star{display:none}
#today .today-hero-date .daily-place:empty::before{content:none}

#today .calendar-title{display:block}
/* The Today screen owns its disclosure style; old global controls stay outside it. */
#today{
 --ink:var(--reference-ink);--muted:var(--reference-muted);--atlas-ink:var(--reference-ink);--atlas-muted:var(--reference-muted);
 --control-fill:#faf5ff8c;--chip-fill:#e8dcf3;--disclosure-fill:#f9f3ff66;--disclosure-open:#ffffff8c;--disclosure-edge:#d4bde7;
}
#today .today-reference-header{display:grid;grid-template-columns:26px minmax(0,1fr) 12px;gap:8px}
#today .today-reference-header>.reference-icon:first-child{width:26px;height:26px}
#today .today-reference-header .reference-heading-label{min-width:0;overflow-wrap:anywhere}
#today .today-reference-header>.reference-chevron{margin-left:0;justify-self:end}
#today .today-reference-header::after,#today .today-calendar-heading::after,#today .daily-plan-step>summary::after{content:none!important;display:none!important}
#today .daily-personal-story,#today .today-meditation{align-self:start}
#today .daily-plan-card{height:auto}
#today .daily-step-copy{color:var(--reference-ink)}
#today .daily-plan-step>summary{background:transparent!important;border:0!important;border-radius:inherit!important;padding:9px 12px!important;box-shadow:none!important;min-height:52px}
#today #daily-plan-steps .daily-step-full{padding:0 12px 12px;color:var(--reference-ink)}
#today #daily-plan-steps .daily-step-full .reading-paragraph{margin:0 0 7px;color:inherit}
#today #daily-plan-source{display:block;margin:9px 0 0;padding:10px;border:1px solid #fff7;border-radius:12px;background:#ffffff5c;color:var(--reference-muted)}
#today #daily-plan-source[hidden]{display:none}
#today .today-meditation p.meditation-basis{color:var(--reference-muted);opacity:1}
#today .today-meditation .meditation-error p{color:var(--reference-ink)}
/* A chevron always has reserved space and can never cover a title. */
#today details>summary:not(.sr-only){
 position:relative;min-height:36px;box-sizing:border-box;padding:8px 34px 8px 11px!important;
 border:1px solid #ffffff8c!important;border-radius:12px!important;background:#ffffff4a!important;
 color:var(--reference-ink)!important;box-shadow:none!important;
 text-decoration:none!important;list-style:none;cursor:pointer;
}
#today details>summary::-webkit-details-marker{display:none}
#today details>summary::marker{content:''}
#today details:not(.daily-plan-step)>summary:not(.sr-only)::after{
 content:'›'!important;position:absolute;right:11px;top:50%;transform:translateY(-50%);
 display:grid;place-items:center;width:12px;height:18px;margin:0;border:0!important;border-radius:0;background:none;
 color:var(--reference-ink)!important;pointer-events:none;
}
#today details[open]:not(.daily-plan-step)>summary:not(.sr-only)::after{transform:translateY(-50%) rotate(90deg)}
#today details.daily-plan-step>summary{display:flex;gap:8px;padding:8px 10px!important;min-height:48px;background:transparent!important;border:0!important}
#today .lower-heading-icon{width:22px;height:22px;color:#7948a1;stroke-width:1.65}
#today .today-lower-heading,#today .tarot-heading{display:flex;align-items:center;gap:8px;margin-bottom:9px}
#today .today-lower-heading h2{margin:0;color:var(--reference-ink)}
/* Continue the same glass surfaces through the complete home page. */
#today .today-tarot,#today .today-rewards,#today .today-influences,
#today .daily-reading,#today .daily-next{
 border:1px solid #fffffff0!important;border-radius:var(--reference-radius)!important;background:var(--reference-glass)!important;
 box-shadow:inset 0 1px 1px #fff8,0 7px 22px #76539412!important;backdrop-filter:blur(4px);-webkit-backdrop-filter:blur(4px);
 color:var(--reference-ink)!important;
}
#today .today-tarot{padding:16px!important}
#today .today-tarot .tarot-row{grid-template-columns:72px minmax(0,1fr);gap:14px;align-items:center}
#today .today-tarot .tarot-art{width:72px;height:92px;border:1px solid #fff9;border-radius:13px}
#today .today-tarot .tarot-heading{margin-bottom:5px}
#today .today-tarot .tarot-heading .lower-heading-icon{width:19px;height:19px}
#today .today-tarot .tarot-label{color:var(--reference-muted)!important}
#today .today-tarot .tarot-name{margin:0 0 5px;color:var(--reference-ink)!important}
#today .today-tarot .tarot-title{margin:0;color:var(--reference-ink)!important}
#today .today-tarot .tarot-details{margin-top:12px}
#today .today-tarot .tarot-details>summary{background:#ffffff61!important;color:var(--reference-ink)!important}
#today .today-tarot .tarot-text,#today .today-tarot .tarot-action-line{color:var(--reference-ink)!important;margin:10px 0}
#today .today-tarot .tarot-action-line{display:block;padding:10px 12px;border:1px solid #ffffff8c;border-radius:13px;background:#ffffff4a}
#today .today-tarot .tarot-action-label{display:block;color:var(--reference-ink)!important;margin:0 0 4px}
#today .today-tarot .tarot-action{display:block;color:var(--reference-ink)!important}
#today .today-tarot .tarot-note,#today .today-tarot .tarot-meta{color:var(--reference-muted)!important;margin:7px 0 0}
#today .today-rewards{padding:0!important;overflow:hidden}
#today .today-rewards>summary.today-reward-line{display:flex;align-items:center;flex-wrap:nowrap;gap:7px;padding:10px 32px 10px 12px!important;border:0!important;border-radius:inherit!important;background:transparent!important;min-height:44px;color:var(--reference-ink)!important}
#today .today-reward-line>.lower-heading-icon{width:19px;height:19px}
#today .today-reward-line>.today-balance{margin-left:auto;gap:3px;white-space:nowrap}
#today .today-reward-line .today-balance strong,#today .today-reward-line .today-balance span,#today .today-reward-line .today-reward-target{color:var(--reference-ink)}
#today .today-reward-body{padding:4px 12px 12px}
#today .today-reward-body p,#today .today-reward-body .today-method p{color:var(--reference-muted);margin:8px 0}
#today .today-reward-body #today-redeem{width:100%;margin:8px 0;padding:9px 13px;min-height:38px;border:1px solid #fff!important;border-radius:13px;background:linear-gradient(135deg,#f9f1ff,#e3cdf8)!important;color:var(--reference-ink)!important;box-shadow:inset 0 1px #fff,0 3px 12px #6d47981a!important}
#today .today-reward-body #today-redeem:disabled{background:#e9dff099!important;color:#604d73!important;border-color:#fff8!important}
#today .today-influences{padding:14px;margin:0}
#today .today-influence-row{grid-template-columns:30px minmax(0,1fr) auto;gap:10px;padding:10px 0;border-color:#ffffff8c}
#today .today-influence-row:last-child{border-bottom:0;padding-bottom:0}
#today .today-influence-icon{display:grid;place-items:center;width:30px;height:30px;border:1px solid #fff8;border-radius:50%;background:#f5e6ff76;color:#7343a5}
#today .today-influence-row h3{color:var(--reference-ink);margin:0 0 4px}
#today .today-influence-row p{color:var(--reference-muted);margin:0;-webkit-line-clamp:3}
#today .today-influence-badge{background:#ffffff52;border:1px solid #fff9;border-radius:10px;padding:5px 7px;color:var(--reference-muted)}
#today .today-question-action{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;padding:11px 14px;min-height:42px;border:1px solid #fff!important;border-radius:var(--reference-radius)!important;background:linear-gradient(125deg,#f7eeffb3,#dec6f493)!important;color:var(--reference-ink)!important;box-shadow:inset 0 1px #fff,0 5px 15px #76539416!important}
#today #daily-content .daily-grid{display:block;margin:0}
#today .daily-reading,#today .daily-next{display:block;margin:0 0 9px;padding:11px!important;min-width:0}
#today .daily-reading>summary,#today .daily-next>summary{display:flex;align-items:center;gap:8px;margin:0;background:transparent!important;border:0!important;min-height:38px;padding:5px 28px 5px 2px!important}
#today .daily-reading>h2,#today .daily-next h2{margin:12px 0;color:var(--reference-ink)}
#today .daily-reading .eyebrow{display:block;margin-top:12px;color:var(--reference-muted)}
#today .daily-reading .daily-focus{padding:0;margin:12px 0;border:0}
#today .daily-reading .daily-focus h2{margin:12px 0 8px;color:var(--reference-ink)}
#today .daily-reading p,#today #daily-focus-copy .reading-paragraph,#today .daily-next p{color:var(--reference-ink);margin:8px 0}
#today .daily-reading .atlas-muted,#today .daily-next .atlas-muted,#today #daily-basis{color:var(--reference-muted)}
#today #daily-evidence{display:grid;gap:8px;margin-top:12px}
#today #daily-evidence .daily-transit-card{padding:12px;border:1px solid #fff9;border-radius:14px;background:#ffffff47}
#today .daily-transit-card h3{margin:0 0 8px;color:var(--reference-ink)}
#today .daily-transit-card details{margin-top:8px}
#today .daily-transit-card p,#today .daily-transit-card li{color:var(--reference-muted)}
#today .daily-method,#today .today-method{border-color:#ffffff8c}
#today .daily-free,#today .daily-personal{color:var(--reference-muted)}
#today .daily-reading .atlas-link,#today .daily-next .atlas-link,#today .today-tarot .atlas-link{color:#73419b}
#today .daily-reading button.soft-button{min-height:38px;border-radius:13px;background:#ffffff70!important;border-color:#fff!important;color:var(--reference-ink)!important;box-shadow:none!important}
#today .today-moon-facts p,#today .today-method p{color:var(--reference-muted)}
#today .today-moon-facts strong{color:var(--reference-ink)}
@media(max-width:760px){
 #today .today-reference-header{grid-template-columns:19px minmax(0,1fr) 8px;gap:6px}
 #today .today-reference-header>.reference-icon:first-child{width:19px;height:19px}
 #today .today-reference-header>.reference-chevron{width:8px;height:15px}
 #today #daily-plan-steps .daily-step-full{padding:0 9px 9px}
 #today .daily-plan-step>summary{padding:7px!important;min-height:42px;gap:6px}
 #today .today-tarot{padding:12px!important}
 #today .today-tarot .tarot-row{grid-template-columns:62px minmax(0,1fr);gap:12px}
 #today .today-tarot .tarot-art{width:62px;height:80px}
 #today .today-influence-row{grid-template-columns:28px minmax(0,1fr);gap:8px}
 #today .today-influence-badge{grid-column:2;justify-self:start;max-width:100%;margin:0}
 #today .today-influences{padding:12px}
}
html.tg-dark body.telegram-app #today{--control-fill:#4c386499;--chip-fill:#4a365b;--disclosure-fill:#402d547d;--disclosure-open:#5036678c;--disclosure-edge:#a387bb}
html.tg-dark body.telegram-app #today .daily-plan-step>summary,html.tg-dark body.telegram-app #today .daily-step-copy{color:var(--reference-ink)!important}
html.tg-dark body.telegram-app #today .today-reward-body #today-redeem,html.tg-dark body.telegram-app #today .today-question-action{background:linear-gradient(135deg,#634781d9,#3c2758c4)!important;color:var(--reference-ink)!important}
/* Keep every expanded section compact and readable on the same glass. */
#today .today-reference-header::before,#today .today-calendar-heading::before{content:none!important;display:none!important}
#today .daily-reading>summary>span,#today .daily-next>summary>span{min-width:0;overflow-wrap:anywhere}
#today .today-activity{border:1px solid #ffffffbd;border-radius:13px;background:var(--reference-glass);box-shadow:none;color:var(--reference-ink)}
#today .today-activity-heading{grid-template-columns:20px minmax(0,1fr) max-content;gap:7px;padding:8px 32px 8px 8px;min-height:44px}
#today .today-activity-title{color:var(--reference-ink);word-break:normal;overflow-wrap:normal}
#today .today-activity-body p,#today .today-activity-body li{color:var(--reference-ink)}
#today .today-moon-summary,#today .atlas-phase-cycle>span,#today .atlas-week-day,#today #daily-title{color:var(--reference-muted)}
#today .today-moon-metrics p,#today .today-moon-metrics strong{color:var(--reference-ink)}
#today .meditation-choice{background:var(--reference-glass);border:1px solid #fff;border-radius:13px;color:var(--reference-ink)}
#today .daily-transit-card details>summary{overflow-wrap:anywhere}
@media(max-width:760px){
 #today .today-reward-line>span:nth-child(2){min-width:0;overflow-wrap:anywhere}
}

/* Four type roles apply to the complete Today screen, including expanded content.
   Breakpoints change space and layout; they never introduce new text sizes. */
body:has(.view.active){
 --today-type-page:28px;--today-type-heading:16px;--today-type-body:14px;--today-type-meta:12px;
 --today-font-heading:'Playfair Display',Georgia,serif;
 --today-font-body:'PT Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
}
#today{font:400 var(--today-type-body)/1.5 var(--today-font-body);letter-spacing:0}
#today :where(*){font-family:inherit!important;font-size:inherit!important;line-height:inherit!important}
#today :is(p,li,button,a,summary,label,input,select,textarea,legend,.reading-paragraph,.daily-step-copy,.daily-step-full,.daily-personal,.daily-free,.transit-timing-range,.transit-timing-count,.tarot-action){
 font-family:var(--today-font-body)!important;font-size:var(--today-type-body)!important;line-height:1.5!important;letter-spacing:0!important;
}
#today :is(h2,h3,h4,.reference-heading-label,.calendar-title),
#today :is(.daily-reading,.daily-next)>summary{
 font:700 var(--today-type-heading)/1.3 var(--today-font-heading)!important;letter-spacing:0!important;
}
#today :is(button,summary,.today-activity-title,.tarot-action-label,.transit-timing-count){font-weight:700}
#today #today-main-title,body:has(.view.active) .topbar .brand{
 font:700 var(--today-type-page)/1.1 var(--today-font-heading)!important;letter-spacing:-.02em;
}
#today :is(small,.eyebrow,.today-hero-kicker,.today-moon-summary,.today-moon-metrics p,.today-moon-facts p,.meditation-meta,.meditation-basis,.tarot-label,.tarot-note,.tarot-meta,.today-influence-badge,.daily-free,.daily-personal,.daily-reading .atlas-muted,.daily-next .atlas-muted,.transit-timing small,.reading-duration,.calendar-heading-copy>span:not(.calendar-title),.atlas-phase-cycle>span,.atlas-week-day .week-name,.today-fit),
#today #atlas-week-month,#today #daily-basis,
body:has(.view.active) :is(.brand-tagline,.credit-badge,.credit-badge strong,.language-toggle,.main-nav .nav-pill){
 font-family:var(--today-font-body)!important;font-size:var(--today-type-meta)!important;line-height:1.4!important;letter-spacing:0!important;
}
#today :is(.today-moon-metrics strong,.today-moon-facts strong,.daily-shortcut strong){
 font:700 var(--today-type-heading)/1.3 var(--today-font-body)!important;letter-spacing:0!important;
}
#today .today-hero-date,#today #daily-title{font:400 var(--today-type-body)/1.5 var(--today-font-body)!important}
#today .today-hero-signature{font:italic var(--today-type-heading)/1.3 var(--today-font-heading)}
#today .daily-shortcut strong,#today .daily-shortcut small{font-family:var(--today-font-body)!important;font-size:var(--today-type-meta)!important;line-height:1.4!important;letter-spacing:0!important}
#today .shortcut-mobile-label{display:none}
#today .today-reference-header .reference-heading-label{overflow-wrap:normal}
#today :is(.atlas-phase-cycle>span,.today-moon-metrics p){white-space:normal}
#today .today-moon-metrics p{overflow-wrap:anywhere}
#today .today-influence-icon{font:400 var(--today-type-heading)/1 var(--today-font-body)!important}
#today .atlas-week-day .week-number{font:400 var(--today-type-body)/1 var(--today-font-body)!important}
#today #today-calendar-date{font:400 var(--today-type-heading)/1.4 var(--today-font-body)!important}
#today .today-moon-metrics strong::after{font-size:var(--today-type-meta)}
#today details:not(.daily-plan-step)>summary:not(.sr-only)::after{font:400 var(--today-type-page)/1 var(--today-font-body)}
body:has(.view.active) .topbar .brand-mark{font:400 var(--today-type-page)/1 var(--today-font-heading)}
#today :is(.today-balance strong,.today-balance span,.today-reward-target){font:700 var(--today-type-meta)/1.4 var(--today-font-body)!important}
@media(max-width:760px){
 #today .shortcut-desktop-label{display:none}
 #today .shortcut-mobile-label{display:inline}
 body:has(.view.active) .topbar:has(.credit-badge:not([hidden])){grid-template-columns:minmax(0,1fr) 44px}
 body:has(.view.active) .topbar .credit-badge{grid-column:1/-1;grid-row:2;justify-self:end;max-width:100%;margin-top:0}
 body:has(.view.active) .topbar .main-nav{grid-row:3}
 #today .atlas-week-day .week-number{width:100%;max-width:32px;height:auto;aspect-ratio:1;min-height:24px}
}
@media(max-width:480px){
 #today .today-overview>.today-moon{grid-template-columns:minmax(0,1fr)}
 #today .today-moon-heading{grid-column:1/-1}
 #today .today-moon-metrics{grid-column:1/-1;grid-row:3}
 #today .today-moon-metrics>div{padding:8px 12px}
 #today .today-moon-metrics p{overflow-wrap:normal}
}
