/* Shared type and spacing contract. Charts and card artwork retain diagram sizing. */
:root{--type-body:14px;--type-meta:12px;--type-title:22px;--type-section:17px;--space-card:20px;--space-inset:26px;--line-body:1.9}
body{font-size:var(--type-body);line-height:var(--line-body)}
.card,.daily-card,.spread-result,.journal{padding:var(--space-inset)}
.home-content,.astro-reading,.bazi-layout,.ziwei-reading,.reading-layout,.journal-list{display:grid;grid-template-columns:minmax(0,1fr);gap:var(--space-card);align-items:start}
.home-content>.glass,.astro-reading>.glass,.bazi-layout>.glass,.ziwei-reading>.glass{margin-top:0;margin-bottom:0}
.home-content>*,.astro-reading>*,.bazi-layout>*,.ziwei-reading>*,.reading-layout>*,.journal-list>*{min-width:0;max-width:100%}
.home-content>.quiet-banner{margin:0;padding-bottom:8px}
.home-content>.section-head{margin:8px 0 0;flex-wrap:wrap}
.reading-layout>.tabs,.reading-layout>.spread-result,.reading-layout>.reading-session,.journal-list>.journal,.journal-list>.journal-group{margin-top:0;margin-bottom:0}
.daily-card .daily-top{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:16px}
.daily-card .daily-top h1{margin:0;min-width:0}
.daily-card .daily-top .date{white-space:nowrap;line-height:1.5;align-self:baseline}
.daily-card .daily-body{min-width:0;flex-shrink:0}
.daily-card .daily-copy{min-width:0;overflow-wrap:anywhere}
#view :is(p,.plain-theme-copy,.chat-message-text,.record-note,.interpretation p,.life-note p,.zw-analysis p,.forecast-overview>p,.mingli-items article>p,.theme-reading-rows p,.reading-depth>p,.reading-depth article p,.depth-exercise p,.cross-reading p,.dayun-list article>p){font-size:var(--type-body)!important;line-height:var(--line-body)!important}
#view :is(h1,.pagehead h1){font-size:28px!important;line-height:1.4!important;font-weight:600}
#view :is(h2,.forecast-overview h2,.mingli-card h2,.detailed-theme>h2,.daily-card h1){font-size:var(--type-title)!important;line-height:1.5!important;font-weight:550}
#view :is(h3,.reading-depth h3,.theme-reading-rows h3,.outlook-period h3){font-size:var(--type-section)!important;line-height:1.6!important;font-weight:550}
#view h4{font-size:var(--type-body)!important;font-weight:600;line-height:1.7}
#view :is(.eyebrow,.label,.small,.pill,.subtle-note,.forecast-method,.depth-anchor p,.depth-anchor>span,.chat-speaker,.chat-about p,.saved-label,.recordcards,.orientation,.position,.outlook-period>.eyebrow,.astro-disclosure p,.bazi-details p,.depth-sources p,.privacy-note){font-size:var(--type-meta)!important;line-height:1.8!important}
#view :is(summary,button,input,textarea,select){font-size:var(--type-body)}
.theme-reading-rows article,.mingli-items article,.life-note,.outlook-months .outlook-period,.interpretation{padding-top:var(--space-card);padding-bottom:var(--space-card)}
.reading-depth{margin-top:var(--space-card);padding-top:var(--space-card)}
.today-chat h2{margin-top:5px}.chat-spark{font-size:30px;color:var(--purple)}.chat-intro{color:var(--muted);margin:12px 0 20px}.chat-thread{display:grid;gap:20px;max-height:650px;overflow:auto;overscroll-behavior:contain;scroll-padding:15px}.chat-thread:empty{display:none}.chat-message{min-width:0}.chat-speaker{display:block;color:var(--purple);margin-bottom:8px}.chat-message-text{white-space:pre-wrap;overflow-wrap:anywhere;color:#e5dbef}.chat-subtitle{display:block;margin-top:10px}.chat-message.user{background:#c3a0ff12;border:1px solid #ffffff14;border-radius:16px;padding:14px 18px;margin-left:24px}.chat-message.assistant{padding:8px 0 18px;border-bottom:1px solid var(--line)}.chat-message-text strong{color:var(--text);font-weight:600}.chat-composer{display:flex;align-items:flex-end;gap:12px;margin-top:18px}.chat-composer textarea{flex:1;min-width:0;resize:vertical;min-height:90px;max-height:250px;border-radius:16px;border:1px solid #ffffff25;background:#170f262e;color:var(--text);padding:15px;line-height:1.8}.chat-composer .primary{flex-shrink:0}.chat-wait{display:flex;gap:10px;align-items:center;color:var(--muted);padding:15px 0}.chat-pulse{width:7px;height:7px;border-radius:50%;background:var(--purple);animation:chat-breathe 1.4s ease-in-out infinite}.chat-error{color:var(--peach);margin:14px 0}.chat-about{margin-top:16px;color:var(--muted)}.chat-about summary{cursor:pointer}.chat-about p{margin-top:10px}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes chat-breathe{50%{opacity:.3}}
@media(max-width:700px){:root{--space-inset:20px;--space-card:20px}.chat-composer{flex-wrap:wrap}.chat-composer textarea{flex-basis:100%}.chat-composer button{margin-left:auto;min-width:100px}.chat-message.user{margin-left:12px}.chat-thread{max-height:65dvh}.card,.daily-card,.spread-result,.journal{padding:var(--space-inset)}}
@media(prefers-reduced-motion:reduce){.chat-pulse{animation:none}}

/* Usability review: consistent touch targets and readable secondary content. */
:root{--faint:#c3b6d2;--muted:#d0c4df}
.info,.icon-button,.fan-control .icon-button{min-width:44px;width:44px;min-height:44px;height:44px;flex-shrink:0}
.info{font-size:18px;line-height:1;margin-left:4px}
.tabs button,.astro-topic-tabs button,.outlook-switch button,.forecast-year select{min-height:44px}
.daily-top h1{display:flex;align-items:center;gap:2px}
.daily-card .daily-top{align-items:center}
.daily-card .daily-top .date{align-self:center}
.quiet-illustration{margin-top:0;margin-bottom:0;max-width:32%;height:auto;aspect-ratio:160/140}
#view .quiet-copy p{font-size:20px!important;line-height:1.65!important}
#view :is(.astro-sources,.astro-disclosure,.bazi-details,.forecast-month-details,.depth-details,.depth-sources) summary{min-height:44px;display:list-item;align-content:center;padding:8px 0;line-height:1.8}
.dialog{font-size:var(--type-body);line-height:var(--line-body);scrollbar-gutter:stable;padding:var(--space-inset)}
.dialog h2{font-size:var(--type-title);line-height:1.5}
.dialog :is(p,label,button,select){font-size:var(--type-body);line-height:var(--line-body)}
.dialog :is(.optional,.field-help,.privacy-note,.form-status){font-size:var(--type-meta);line-height:1.8}
.dialog input,.dialog select,.question-input{font-size:16px;min-height:48px}
#view :is(input,textarea,select){font-size:16px}
.dialog .check-label{min-height:44px;align-items:flex-start;gap:12px;padding:8px 0}
.dialog input[type=checkbox]{margin-top:4px;width:22px;height:22px;min-height:22px}
input::placeholder,textarea::placeholder{color:#c8bad8;opacity:1}
.place-candidates button{text-align:left;min-height:48px;line-height:1.8}
.coordinate-fields summary{min-height:44px;padding:8px 0;line-height:1.8;cursor:pointer}
.profile-banner{flex-wrap:wrap}.profile-banner>div{min-width:0;flex:1 1 150px}
.profile-banner .icon-button{margin-left:auto}
.journal-toolbar{flex-wrap:wrap;row-gap:8px}
.result-item .position{min-height:3.6em;display:flex;align-items:center;justify-content:center;overflow-wrap:anywhere}
.result-item h3{overflow-wrap:anywhere}.result-grid{align-items:start}
.reading-session{isolation:isolate}.question-section{padding:var(--space-inset) var(--space-inset) 0}
.fan-heading,.fan-footer{padding-left:var(--space-inset);padding-right:var(--space-inset)}
button:disabled{cursor:not-allowed}button:disabled:active{transform:none!important}
@media(max-width:520px){
 .result-grid[style="--count:4"]{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:16px;row-gap:24px}
 .result-grid[style="--count:3"]{gap:10px}
 #view .result-item h3{font-size:14px!important;line-height:1.6!important}
 .result-item .tarot{max-width:140px}
 .form-grid{grid-template-columns:minmax(0,1fr)}
 .modal{padding:16px}.dialog{max-height:calc(100dvh - 32px);border-radius:24px}
 .spread-options{gap:8px}.spread-options button{padding:13px 6px;min-width:0}
 .spread-options button span{line-height:1.8;white-space:normal}
 .facts{gap:8px}.fact{padding:16px 4px}
 #view .fact strong{font-size:16px}
 .quiet-banner{gap:12px}.quiet-illustration{max-width:28%;margin-left:0}
}
@supports not (backdrop-filter:blur(1px)){.glass{background:#30213f}.dock{background:#30253e}}

/* Editorial pass: a shorter reading route and deliberate chart insets. */
.brand{display:flex;flex-direction:row;align-items:center;gap:14px;width:max-content;text-decoration:none}
.brand .brand-en{display:flex;align-items:baseline;font-size:42px;line-height:1.05;letter-spacing:-2.7px;margin:0;transform:none;font-family:"Arial Black","Helvetica Neue",Arial,sans-serif;font-weight:900;font-style:italic}
.brand .brand-en .brand-dot{display:block;width:9px;height:9px;min-width:9px;border-radius:50%;background:#c5a4ff;margin:0 0 2px 3px;transform:none}
.brand .brand-cn{display:block;font-family:"Helvetica Neue","PingFang SC","Microsoft YaHei",sans-serif;font-weight:400;font-size:12px;line-height:1.4;letter-spacing:4px;margin:0 -4px 0 0;color:#d5c3e8;transform:none}
.astro-reading>.chart-card,.ziwei-reading>.card:first-child{padding:var(--space-inset);overflow:hidden}
.chart-card>.row{padding-bottom:16px;gap:12px;flex-wrap:wrap}
.chart-stage{width:100%;padding:4px 0 12px}
.chart-stage>svg{display:block;overflow:visible}
.plain-reading>.eyebrow{opacity:.48;letter-spacing:.8px;margin-bottom:12px}
.reading-section-tabs{display:flex;flex-wrap:wrap;gap:6px;padding:5px;background:#ffffff05;border:1px solid #ffffff19;border-radius:18px}
.reading-section-tabs button{flex:1 1 90px;min-height:44px;padding:9px 8px;border-radius:12px;font-size:13px!important;color:var(--muted)}
.reading-section-tabs button[aria-pressed=true]{background:#c5a4ff24;color:var(--text);box-shadow:inset 0 1px 0 #ffffff22}
.reading-section-content{display:grid;gap:var(--space-card);min-width:0}
.reading-section-content>.glass{margin:0}
.depth-anchor{display:block;border-left:1px solid #c5a3ea70;padding:2px 0 2px 13px;margin:0 0 19px}
.depth-anchor p{color:#b9a8cc!important;font-size:12px!important;line-height:1.85!important}
.reading-depth>h3{margin-bottom:16px!important}
.depth-prose{display:grid;gap:14px}.depth-prose p{color:#d8cce5;line-height:1.95}
.depth-exercise{margin-top:20px}.depth-exercise>span{font-weight:550;color:#dec2fa}
.reading-depth{margin-top:20px;padding-top:20px}
.theme-reading-rows{margin-top:20px}.theme-reading-rows article:first-child{border-top:0;padding-top:0}
.point-title{display:flex;align-items:center;gap:12px;margin:0!important}
.point-title svg{width:24px;height:24px;flex-shrink:0;color:#c9b1e6;stroke-width:1}
.point-title+.reading-depth{border:0;margin-top:16px;padding-top:0}
.zw-cell{align-items:center;text-align:center;justify-content:flex-start}
.zw-cell-head{width:100%;justify-content:center;gap:5px}
.zw-cell-stars{align-items:center;justify-content:center;font-weight:650;font-size:15px;line-height:1.7;color:#f0e4ff}
.zw-cell-branch{width:100%;text-align:center;opacity:.7}
.zw-cell-stars b{font-weight:550;color:#e5c2ba}
.mutagen-tabs{margin-top:20px}.plain-reading-grid{grid-template-columns:minmax(0,1fr)}
.plain-reading-grid>article{border-top:0;padding-top:0}
@media(max-width:700px){.brand .brand-en{font-size:38px}.brand .brand-cn{font-size:11px}.brand .brand-en .brand-dot{width:8px;height:8px;min-width:8px}.astro-reading>.chart-card,.ziwei-reading>.card:first-child{padding:20px}.zw-cell{padding:12px 5px}.zw-cell-stars{font-size:13px}.reading-section-tabs button{flex-basis:80px}}

/* Home refinements from annotated review. */
.brand{align-items:center}.brand .brand-cn{margin:4px 0 0;letter-spacing:3px;white-space:nowrap}
.topbar{align-items:center}.profile-button{align-items:center;gap:10px;min-height:48px}
.profile-button #profileName{max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.avatar{width:44px;height:44px;flex:none;display:grid;place-items:center}
.avatar svg{width:23px;height:23px;display:block}
.daily-body .tarot{transform:none;margin:0;flex-shrink:0}
.daily-body{align-items:flex-start;justify-content:flex-start;gap:26px;padding:22px 0}
.daily-copy{padding-top:4px;align-self:flex-start;flex:1}
.daily-name-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.daily-name-row h2{margin:0;line-height:1.5}
.daily-name-row .pill{margin:0;padding:3px 9px;flex-shrink:0}
.daily-copy p{margin-top:14px;max-width:32em}
.explore-grid{align-items:stretch}.explore{padding:20px;gap:0;min-height:190px}
.explore .symbol{width:44px;height:44px;min-width:44px;flex:none;border-radius:50%;display:grid;place-items:center;line-height:1;font-size:23px;margin:0 0 30px}
.explore h3{margin:0 0 7px;line-height:1.6;white-space:normal}
.explore p{margin:0;line-height:1.8}
@media(max-width:700px){.daily-body{gap:22px}.explore{padding:18px 12px;min-height:182px}.explore .symbol{margin-bottom:30px}.profile-button #profileName{max-width:76px}}
@media(max-width:380px){.daily-body{gap:16px}.daily-body .tarot{width:90px;height:150px}.daily-name-row{gap:7px}.daily-name-row h2{font-size:19px!important}.explore{padding:16px 10px}.explore-grid{gap:8px}#view .explore h3{font-size:15px!important}}

/* One reading level at a time; compact, single-line navigation. */
.reading-section-tabs,.outlook-switch,.astro-topic-tabs{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;scrollbar-width:none;padding:0;background:none;border:0;border-radius:0;box-shadow:none}
.reading-section-tabs::-webkit-scrollbar,.outlook-switch::-webkit-scrollbar{display:none}
.reading-section-tabs button,.outlook-switch button,.astro-topic-tabs button{flex:1 0 auto;min-width:44px;min-height:44px;padding:10px 8px;white-space:nowrap;border:0;border-bottom:2px solid transparent;border-radius:0;background:none;box-shadow:none;color:#b4a7c7;font-size:14px!important}
.reading-section-tabs button[aria-pressed=true],.outlook-switch button[aria-pressed=true],.astro-topic-tabs button.active{background:none;box-shadow:none;border-bottom-color:#c49aff;color:#e1c9ff}
.profile-button #profileName{display:none}
.profile-button{gap:0;padding:0;min-width:44px;min-height:44px}
.profile-button .avatar{display:grid;place-items:center;width:44px;height:44px}
.profile-button .avatar svg{width:25px;height:25px}
.quiet-banner{position:relative;isolation:isolate;min-height:180px;overflow:visible;display:flex;align-items:center;padding:26px 0}
.quiet-banner .quiet-copy{position:relative;z-index:2;max-width:65%}
.quiet-illustration{position:absolute;z-index:-1;inset:auto;left:50%;top:50%;width:180%;max-width:none;height:auto;aspect-ratio:620/380;transform:translate(-45%,-50%);opacity:.28;pointer-events:none;color:#d7c2ff}
.quiet-illustration svg{display:block;width:100%;height:100%;overflow:visible;animation:cosmic-pan 36s ease-in-out infinite alternate}
.cosmic-orbits{transform-origin:350px 185px;animation:cosmic-orbit 28s ease-in-out infinite alternate}
.cosmic-core{transform-origin:350px 185px;animation:cosmic-breathe 12s ease-in-out infinite alternate}
@keyframes cosmic-pan{from{transform:rotate(-3deg)}to{transform:rotate(3deg)}}
@keyframes cosmic-orbit{from{transform:rotate(-23deg)}to{transform:rotate(-16deg)}}
@keyframes cosmic-breathe{from{opacity:.55;transform:scale(.97)}to{opacity:1;transform:scale(1.03)}}
.forecast-domains{display:grid;gap:18px;margin-top:16px}
.forecast-domains article{border-left:2px solid #c69aff70;padding:0 0 0 14px}
.forecast-domains h3{margin:0 0 7px;color:#f0e5ff}
.forecast-domains p{margin:0;line-height:1.8}
.domain-anchor{display:block;font-size:12px;line-height:1.7;color:#b3a3c6;margin-top:8px}
.outlook-months{display:grid;gap:0;margin-top:24px}
.outlook-period{padding:0!important;border-top:1px solid #ffffff20}
.outlook-period>summary{cursor:pointer;padding:17px 0;color:#d4bee9;font-size:13px;min-height:44px;line-height:1.6}
.outlook-period-body{padding:0 0 20px}
.outlook-period-body>h3{margin-top:0}
.forecast-evidence{margin-bottom:0}
.journal-list{gap:12px}
.journal-list>.journal{padding:16px 18px;border-radius:22px;min-height:0}
.journal-compact{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:14px;align-items:center}
.journal-copy{min-width:0}
.journal-copy time{font-size:12px;color:#bba9ce;letter-spacing:.02em}
.journal-copy h3{font-size:16px;margin:8px 0 5px;line-height:1.5;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journal-copy .recordcards{font-size:12px;margin:0;color:#b7a3cc;line-height:1.6;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.journal-copy .record-note{font-size:13px;margin:6px 0 0;line-height:1.6}
.journal-fan{position:relative;width:96px;height:96px;display:grid;place-items:center;isolation:isolate}
.journal-fan img{position:absolute;left:24px;top:8px;width:48px;height:80px;object-fit:cover;border-radius:5px;box-shadow:0 3px 9px #11091c70;transform:translateX(var(--fan-x)) rotate(var(--fan-angle)) rotate(var(--face-turn));transform-origin:50% 90%}
.journal-actions{display:flex;align-items:center;gap:16px;margin-top:2px}
.journal-actions button{min-height:44px;padding:8px 0;font-size:12px}
.journal-delete{color:#a495b6}
.journal .journal-period-review{margin-top:16px}
@media(max-width:380px){.reading-section-tabs{gap:5px}.reading-section-tabs button{padding-inline:5px}.quiet-banner{min-height:160px}.journal-compact{grid-template-columns:minmax(0,1fr) 82px;gap:6px}.journal-list>.journal{padding:14px}.journal-fan{width:82px}}
@media(prefers-reduced-motion:reduce){.quiet-illustration svg,.cosmic-orbits,.cosmic-core{animation:none}}
.tabs{display:flex;flex-wrap:nowrap;gap:12px;overflow-x:auto;padding:0;background:none;border:0;border-radius:0;box-shadow:none;scrollbar-width:none}
.tabs button{flex:1 0 auto;min-width:44px;white-space:nowrap;padding:10px 8px;min-height:44px;border:0;border-radius:0;border-bottom:2px solid transparent;background:none;box-shadow:none;color:#b4a7c7}
.tabs button.active{background:none;box-shadow:none;border-bottom-color:#c49aff;color:#e1c9ff}
.quiet-illustration{margin:0;aspect-ratio:620/380}
.outlook-months .outlook-period{padding:0!important}
.journal-copy .record-note{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.journal-fan .journal-fan-card{position:absolute;left:24px;top:8px;width:48px;height:80px;transform:translateX(var(--fan-x)) rotate(var(--fan-angle));transform-origin:50% 90%;border-radius:5px;overflow:hidden;box-shadow:0 3px 9px #11091c70}
.journal-fan .journal-fan-card img{position:static;display:block;width:100%;height:100%;transform-origin:center;box-shadow:none}

/* Allow ambient art to bleed past the canvas without horizontal scrolling. */
body{overflow-x:clip}

/* Reading hierarchy: title 22, section 17, body 14, annotation 12. */
#view .spread-result :is(.result-question,.tarot-reading-copy>p,.reading-tip p){font-size:var(--type-body)!important;line-height:1.85!important;margin:0}
#view .spread-result :is(.reading-position,.saved-label,.theme-trend figcaption>span){font-size:var(--type-meta)!important;line-height:1.6!important}
.spread-result>.result-heading{align-items:center;gap:14px;margin-bottom:20px}
.spread-result>.result-heading h2{margin:0}
.spread-result .result-question{margin-bottom:20px!important;color:var(--muted)}
.tarot-reading-list{display:grid;gap:0}
.tarot-reading-row{display:grid;grid-template-columns:minmax(120px,.85fr) minmax(0,1.45fr);gap:24px;align-items:start;padding:26px 0;border-top:1px solid #ffffff20}
.tarot-reading-art{min-width:0}
.tarot-reading-art .tarot.face{display:block;position:relative;transform:none!important;margin:0!important;width:100%!important;max-width:210px;height:auto!important;aspect-ratio:432/720;border-radius:14px}
.tarot-reading-art .tarot.face .card-face{display:block;width:100%;height:100%;aspect-ratio:432/720;object-fit:contain}
.tarot-reading-copy{min-width:0}
.reading-position{display:block;color:#bfaed2;letter-spacing:.01em;margin:0 0 12px;overflow-wrap:anywhere}
.tarot-reading-name{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}
#view .tarot-reading-name h3{font-size:var(--type-section)!important;line-height:1.5!important;margin:0}
.tarot-reading-name .pill{font-size:11px!important;padding:2px 8px;line-height:1.8;white-space:nowrap}
.reading-tip{border-left:2px solid #c4a2e966;padding-left:12px;margin-top:18px}
.reading-tip>span{display:block;color:#d8c0ef;font-size:12px;margin-bottom:6px}
.tarot-reading-copy .astro-disclosure{margin-top:12px;padding-top:8px}
.tarot-reflection,.tarot-range-note{border-top:1px solid #ffffff18;padding:8px 0;margin-top:10px;color:var(--muted)}
.tarot-reflection>summary,.tarot-range-note>summary,.trend-proof>summary{cursor:pointer;min-height:44px;align-content:center;font-size:12px;line-height:1.7;padding:10px 0}
.spread-result>.saved-label{margin:16px 0 0;color:#bca8d2}
.theme-trend{margin:24px 0;padding:20px 0 0;border-top:1px solid #ffffff1c;min-width:0}
.theme-trend figcaption{display:flex;align-items:center;justify-content:space-between;gap:12px}
#view .theme-trend figcaption h3{font-size:var(--type-section)!important;line-height:1.5!important;margin:0;color:#eddefb}
.theme-trend figcaption>span{font-size:12px;line-height:1.6;color:#b8a3cc}
.theme-trend>svg{display:block;width:100%;height:auto;margin:16px 0 5px;overflow:hidden;font-family:inherit}
.trend-proof{margin-top:8px;color:#bcaad0}
#view .trend-proof p{font-size:12px!important;line-height:1.8!important;margin:8px 0}
.astro-reading>.chart-unified{padding:12px 18px 20px;overflow:hidden}
.chart-unified .chart-stage{width:100%;max-width:760px;margin:0 auto}
.chart-unified .facts{gap:0;border-top:1px solid #ffffff20;border-bottom:1px solid #ffffff20;margin:14px 0 0;padding:16px 0}
.chart-unified .fact{padding:6px 10px;background:none;border:0;border-right:1px solid #ffffff20;border-radius:0;box-shadow:none;min-height:70px}
.chart-unified .fact:last-child{border-right:0}
.chart-unified .fact strong{font-size:17px;margin-top:5px}
.chart-unified .theme-trend{border-top:0;margin-top:0}
.chart-unified>.astro-disclosure{margin-bottom:0}
@media(max-width:700px){.astro-reading>.chart-unified{padding:10px 12px 18px}.tarot-reading-row{grid-template-columns:minmax(120px,.9fr) minmax(0,1.35fr);gap:18px;padding:22px 0}.tarot-reading-art .tarot.face{border-radius:10px}.theme-trend{margin:20px 0;padding-top:18px}}
@media(max-width:380px){.tarot-reading-row{grid-template-columns:minmax(104px,.85fr) minmax(0,1.25fr);gap:12px}.tarot-reading-name{gap:6px}.tarot-reading-name .pill{font-size:10px!important}.theme-trend figcaption{align-items:start;flex-direction:column;gap:4px}}

/* Secondary input metadata, distinct from interpretation disclosures. */
#view .chart-input-note{margin:2px 0 0;padding:0;border-top:0;color:#b4a1c9}
#view .chart-input-note>summary{display:flex;justify-content:flex-end;align-items:center;gap:7px;list-style:none;font-size:11px!important;line-height:1.5;min-height:44px;padding:8px 0;cursor:pointer}
.chart-input-note>summary::-webkit-details-marker{display:none}
.chart-input-note>summary::before{content:'ⓘ';font-size:12px;opacity:.8}
.chart-input-note .input-note-hint{font-size:10px;color:#a997bc}
.chart-input-note[open]>summary{color:#e0cbf3}
.chart-input-note[open]{padding-top:6px}
.theme-trend>svg{overflow:visible}
.calendar-icon{width:16px;height:16px;flex:0 0 16px;vertical-align:middle;color:#c6ace6}
#view .outlook>h3{font-size:22px!important;line-height:1.5!important;margin:0 0 18px}
.outlook>.outlook-switch{margin-bottom:18px}
#view .outlook .forecast-range{display:flex;align-items:flex-start;gap:9px;font-size:12px!important;line-height:1.7!important;color:#c3afd9;margin:0;padding:10px 0}
.forecast-range .calendar-icon{margin-top:2px}
.outlook .forecast-overview{padding-top:20px}
.outlook .forecast-overview>.eyebrow{display:block;font-size:11px!important;letter-spacing:.09em;color:#ac96c3;margin-bottom:22px}
.outlook .forecast-domains{gap:26px;margin:0}
.outlook .forecast-domains article{padding-left:15px;border-left-color:#bda0e44d}
#view .outlook .forecast-domains h3{font-size:18px!important;line-height:1.5!important;margin:0 0 12px;color:#f2e7ff;font-weight:650}
#view .outlook .forecast-domains p{font-size:14px!important;line-height:1.9!important;margin:0;color:#dfd3ee}
.outlook .domain-anchor{margin-top:12px;color:#ad99c1;font-size:12px;line-height:1.8}
#view .outlook-period>summary{display:flex;align-items:center;gap:9px;font-size:12px;list-style:none}
.outlook-period>summary::-webkit-details-marker{display:none}
.outlook-period>summary::after{content:'＋';margin-left:auto;color:#bda7d4;font-size:14px}
.outlook-period[open]>summary::after{content:'−'}
.zw-star-group .zw-star-name{font-weight:650;color:#e5cbff;font-size:16px;line-height:1.6}
.zw-star-group small{font-size:11px;color:#b8a2ce;font-weight:400;margin-left:5px}
.zw-star-group>div{display:flex;flex-wrap:wrap;gap:10px 18px}
.zw-star-group>div>span{display:inline-flex;align-items:baseline;gap:4px}
.selection-slots{align-items:stretch}
.selection-slot{height:132px;padding:10px 6px 8px;gap:8px}
.selection-slot .slot-card-art{display:grid;place-items:center;width:43px;height:72px;flex-shrink:0}
.selection-slot .slot-card-art .tarot{width:43px;height:72px;transform:none;margin:0;border-radius:5px}
.selection-slot .slot-card-art .tarot:before{inset:3px;border-radius:4px}
.selection-slot .slot-card-art .card-number{font-size:5px;letter-spacing:1px;bottom:7px}
.selection-slot>span{font-size:11px;line-height:1.5;text-align:center;overflow-wrap:anywhere}
.selection-slot .slot-awaiting{opacity:0}
.fan-card.selected .tarot{opacity:.22;filter:saturate(.5)}
.card-flight{position:fixed;z-index:100;pointer-events:none;transform-origin:top left;will-change:transform;filter:drop-shadow(0 14px 24px #10071f66)}
.card-flight>.tarot{position:relative;width:100%;height:100%;margin:0;transform:none;border-radius:8px;background:linear-gradient(145deg,#77609e,#423056 50%,#2b223f)}
@media(max-width:380px){.selection-slot{height:126px;padding-inline:3px}.selection-slots{gap:7px}.selection-slot>span{font-size:10px}.chart-input-note .input-note-hint{font-size:10px}}
@media(prefers-reduced-motion:reduce){.fan-card,.selection-slot{transition:none}.slot-awaiting{opacity:1!important}}

/* Quiet, independent orbital motion and a small animated brand accent. */
.quiet-illustration{opacity:.15}
.quiet-illustration svg{animation:none}
.cosmic-orbits{animation:none}
.orbit-clockwise,.orbit-counterclockwise{transform-origin:350px 185px}
.orbit-clockwise{animation:orbit-turn-clockwise 120s linear infinite}
.orbit-counterclockwise{animation:orbit-turn-counterclockwise 160s linear infinite}
.brand .brand-spark{display:block;width:16px;height:16px;flex:0 0 16px;margin:4px 0 0 -5px;color:#cbb1ed;transform-origin:center;animation:brand-spark-curve 6s cubic-bezier(.45,0,.25,1) infinite}
@keyframes orbit-turn-clockwise{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}
@keyframes orbit-turn-counterclockwise{from{transform:rotate(0deg)}to{transform:rotate(-360deg)}}
@keyframes brand-spark-curve{0%{transform:scale(.8) rotate(-12deg);opacity:.6}45%{transform:scale(1.18) rotate(85deg);opacity:1}100%{transform:scale(.8) rotate(168deg);opacity:.6}}
@media(prefers-reduced-motion:reduce){.orbit-clockwise,.orbit-counterclockwise,.brand .brand-spark{animation:none}}

/* A larger, lighter greeting; body-copy hierarchy stays consistent. */
#view .quiet-copy p{font-size:26px!important;line-height:1.6!important;font-weight:300;letter-spacing:.02em}
.quiet-banner .quiet-copy{max-width:82%}
@media(max-width:700px){#view .quiet-copy p{font-size:24px!important;line-height:1.65!important;font-weight:300}}
@media(max-width:380px){#view .quiet-copy p{font-size:22px!important}}

/* Tighten the two empty bands above and below the home greeting. */
.topbar{margin-bottom:12px}
.home-content>.quiet-banner{min-height:112px;padding:12px 0;margin:0;align-items:center}
@media(max-width:700px){.topbar{margin-bottom:8px}.home-content>.quiet-banner{min-height:108px;padding:8px 0}}
@media(max-width:380px){.home-content>.quiet-banner{min-height:100px}}

/* Western summary: source-based readings instead of count-shaped mountains. */
.western-dashboard .dashboard-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px}
.dashboard-item{min-width:0;border-top:2px solid var(--dashboard-color);padding:12px 0 0}
.dashboard-topic{display:block;color:var(--dashboard-color);font-size:12px;line-height:1.7;margin-bottom:7px}
#view .dashboard-item h3{font-size:15px!important;line-height:1.6!important;margin:0;font-weight:600}
.dashboard-placement{display:block;font-size:12px;line-height:1.7;color:#baa4ce;margin-top:5px}
#view .dashboard-item>p{font-size:13px!important;line-height:1.8!important;margin:10px 0 0;color:#dbcee9}
.dashboard-proof{margin-top:6px}
.dashboard-proof summary{font-size:11px;color:#bda5d3;cursor:pointer;line-height:1.7;min-height:44px;align-content:center;padding:10px 0}
#view .dashboard-proof p{font-size:12px!important;line-height:1.8!important;color:#baa9cd;margin:8px 0;overflow-wrap:anywhere}
.dashboard-method{border-top:1px solid #ffffff18;margin-top:18px}
.dashboard-method a{font-size:12px;color:#c8aaf0}
@media(max-width:380px){.western-dashboard .dashboard-grid{gap:18px 12px}#view .dashboard-item h3{font-size:14px!important}}

/* Keep the moving deck out of live backdrop-filter compositing. */
.reading-session.glass{backdrop-filter:none;-webkit-backdrop-filter:none;background:radial-gradient(ellipse at 10% 15%,#6940aa88,transparent 65%),linear-gradient(135deg,#403052f2,#382347f2)}
.reading-session.glass::before{display:none}
.reading-session .embedded-fan{background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none}
.view-enter:has(.reading-session){animation:none;transform:none}
.dashboard-evidence{padding:14px 0;border-top:1px solid #ffffff18}
#view .dashboard-evidence h3{font-size:14px!important;line-height:1.6!important;margin:0 0 8px}
#view .dashboard-evidence p{font-size:12px!important;line-height:1.85!important;margin:6px 0;color:#c5b3d8}

/* Compact location utility under the city field. */
#profileForm .place-tools{margin:-4px 0 12px;padding:0}
#profileForm .place-status-row{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:32px}
#profileForm #placeStatus{flex:1;min-width:0;margin:0;font-size:11px;line-height:1.65;color:#c1b2d1;overflow-wrap:anywhere}
#profileForm .place-retry{flex:none;min-height:32px;padding:4px 0 4px 8px;border:0;border-radius:0;background:none;box-shadow:none;font-size:11px;line-height:1.5;font-weight:400;color:#d6baff;white-space:nowrap}
#profileForm .coordinate-fields{margin:0;padding:0;border:0;border-radius:0;background:none}
#profileForm .coordinate-fields>summary{min-height:28px;padding:3px 0;font-size:10px;line-height:22px;color:#a994bd}
#profileForm .coordinate-fields[open]{padding-bottom:8px}
#profileForm .coordinate-fields .field-help{margin:6px 0 0;font-size:10px;line-height:1.8}
#profileForm .place-candidates:empty{display:none}
#profileForm .place-candidates{margin:6px 0}

.domain-reading-proof{margin-top:10px}.domain-reading-proof summary{font-size:11px;line-height:1.8;color:#af98c3;cursor:pointer;padding:6px 0}.domain-reading-proof p{font-size:11px!important;line-height:1.8!important}

#view .quiet-banner .quiet-copy p{font-size:18px!important;line-height:1.95!important;font-weight:200!important}
@media(max-width:700px){#view .quiet-banner .quiet-copy p{font-size:16px!important}}
