@font-face{font-family:Manrope;src:url('/assets/manrope.ttf') format('truetype');font-display:swap}@font-face{font-family:DM;src:url('/assets/dm-sans.ttf') format('truetype');font-display:swap}
:root{color-scheme:dark;--app-height:100dvh;--viewport-top:0px}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none;touch-action:pan-y;-webkit-text-size-adjust:100%;text-size-adjust:100%}body{position:fixed;inset:0;background:var(--ink);color:var(--cream);font:16px/1.6 DM,Arial,sans-serif}button,textarea,input{font:inherit;color:inherit}button{border:0;background:none;cursor:pointer;touch-action:manipulation}button:disabled{cursor:default;opacity:.35}a{color:var(--gold)}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible{outline:1px solid var(--gold);outline-offset:3px}svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}[hidden],.icon-defs{display:none!important}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
#app{position:fixed;top:var(--viewport-top);left:0;right:0;height:var(--app-height);display:flex;flex-direction:column;overflow:hidden}.app-header{flex-shrink:0;display:grid;grid-template-columns:44px 1fr 44px;align-items:center;gap:16px;padding:calc(env(safe-area-inset-top) + 16px) 24px 12px;z-index:3}.icon-button{width:44px;height:44px;display:grid;place-items:center;border-radius:50%;color:#a9a39a;flex-shrink:0}.icon-button:hover{color:var(--cream);background:#ffffff06}.wordmark{font:25px/1 Manrope,sans-serif;letter-spacing:-1.3px;text-align:center;color:var(--cream)}.wordmark span{color:var(--gold)}
#main-view{position:relative;flex:1;min-height:0;overflow:hidden}#welcome{position:absolute;inset:0;display:grid;place-items:center;background:radial-gradient(ellipse at center,rgb(var(--c-473154)/0.047),transparent 65%)}.stage{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(540px,98vw,calc(var(--app-height) - 180px));aspect-ratio:1;isolation:isolate}canvas{width:100%;height:100%;display:block}.fallback-orb{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:min(48vw,290px);aspect-ratio:1;border:1px solid rgb(var(--c-d4bb82)/0.314);border-radius:50%;box-shadow:inset 25px 0 55px rgb(var(--c-8772be)/0.22),0 0 50px rgb(var(--c-d4bb82)/0.035);background:radial-gradient(circle at 35% 30%,rgb(var(--c-383043)),rgb(var(--c-0e0c13)) 65%,rgb(var(--c-967544)))}.webgl-ready .fallback-orb{display:none}.webgl-failed canvas{display:none}
.composer-dock{flex-shrink:0;width:min(100%,780px);margin:0 auto;padding:12px 24px calc(env(safe-area-inset-bottom) + 24px);position:relative;z-index:3}.ask-form{display:flex;align-items:flex-end;gap:4px;padding:8px 8px 8px 16px;border:1px solid rgb(var(--c-d4bb82)/0.125);border-radius:27px;background:#151518;box-shadow:0 5px 30px #0002}.ask-form:focus-within{border-color:rgb(var(--c-d4bb82)/0.271)}.ask-form textarea{flex:1;min-width:0;resize:none;display:block;height:44px;max-height:120px;border:0;outline:none;background:none;padding:12px 4px;font-size:16px;line-height:24px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;-webkit-user-select:text;user-select:text}.ask-form textarea::placeholder{color:#777570}.ask-form textarea:focus-visible{outline:none}.ask-form #send{width:42px;height:42px;display:grid;place-items:center;border-radius:50%;color:rgb(var(--c-16130e));background:var(--gold);flex-shrink:0;margin:0}.ask-form #send svg{transform:rotate(-90deg)}.ask-form #send:disabled{background:#29272a;color:#79736b;opacity:1}.ask-form .icon-button{width:42px;height:44px}#voice.listening{background:rgb(var(--c-d4bb82)/0.094);color:var(--gold)}#voice.listening svg{stroke-width:2}#voice-status{margin:0;text-align:center;color:var(--muted);font-size:11px;line-height:1.5;overflow-wrap:anywhere}#voice-status:not(:empty){padding-top:8px}.recording-row{display:none;align-items:center;justify-content:center;gap:16px;min-height:32px;margin-bottom:8px}.is-recording .recording-row{display:flex}.text-button{font-size:12px;color:var(--muted);padding:8px 12px}
#thread{height:100%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;scrollbar-width:thin;scrollbar-color:#39343d transparent;-webkit-overflow-scrolling:touch}#chat-turns{width:min(100%,740px);margin:0 auto;padding:24px 24px 48px;min-height:100%}.message{margin:0 0 32px;overflow-wrap:anywhere;white-space:pre-wrap;font-size:16px;line-height:1.75}.message-user{display:table;max-width:85%;margin-left:auto;padding:12px 16px;background:#1a191e;border-radius:21px 21px 5px 21px;color:rgb(var(--c-dbd5cb))}.message-assistant{padding:4px 0}.message-assistant:before{content:'sophy';display:block;font:11px Manrope,sans-serif;letter-spacing:.7px;color:var(--gold);margin-bottom:12px}.message p{margin:0}.message .error{white-space:normal}.retry{color:var(--gold);font-size:13px;padding:12px 0;display:block}.thinking{display:inline-flex;align-items:center;gap:8px;height:26px;padding:0 4px}.thinking i{display:block;background:var(--metal);-webkit-mask:url(/assets/sparkle.svg) center/contain no-repeat;mask:url(/assets/sparkle.svg) center/contain no-repeat;animation:star-sparkle 1.5s ease-in-out infinite;filter:drop-shadow(0 0 4px rgb(var(--c-e6c784)/0.702))}.thinking i:nth-child(1){width:15px;height:15px}.thinking i:nth-child(2){width:9px;height:9px;margin-top:-12px;animation-delay:.28s}.thinking i:nth-child(3){width:12px;height:12px;margin-top:8px;animation-delay:.56s}.thinking i:nth-child(4){width:7px;height:7px;margin-top:-8px;animation-delay:.84s}@keyframes star-sparkle{0%,100%{transform:scale(.35) rotate(0);opacity:.25}45%{transform:scale(1.15) rotate(45deg);opacity:1}70%{transform:scale(.9) rotate(60deg);opacity:.85}}@media(prefers-reduced-motion:reduce){.thinking i{animation:none;opacity:.8}}.calculation-proof{white-space:normal;margin-top:16px;font-size:12px;color:var(--muted)}.calculation-proof summary{cursor:pointer}.calculation-proof pre{white-space:pre-wrap;word-break:break-word;max-height:220px;overflow:auto;font:11px/1.6 monospace}.chat-mode #welcome{pointer-events:none;opacity:.36}.chat-mode.is-recording #welcome{opacity:.55}#thread{position:relative;z-index:2}.message-assistant{text-shadow:0 1px 10px var(--ink),0 0 20px var(--ink)}.message-user{background:#1a191eec}
 dialog{color:var(--cream);background:var(--ink);border:0;padding:0;max-width:none;max-height:none;outline:none;overscroll-behavior:contain}dialog::backdrop{background:#0008;backdrop-filter:blur(6px)}#menu{position:fixed;top:var(--viewport-top);left:0;right:auto;bottom:auto;margin:0;width:min(330px,88vw);height:var(--app-height);padding:calc(env(safe-area-inset-top) + 16px) 24px calc(env(safe-area-inset-bottom) + 24px);border-right:1px solid #ffffff08;overflow-y:auto}#menu[open]{display:flex;flex-direction:column}.menu-header{display:flex;justify-content:space-between;align-items:center;margin-bottom:32px}.menu-header .wordmark{padding-left:12px}#menu nav{display:grid;gap:4px}#menu nav button{text-align:left;padding:12px 12px;display:flex;justify-content:space-between;gap:12px;border-radius:10px;font-size:15px}#menu nav button:hover{background:#ffffff06}#menu nav button span{color:rgb(var(--c-a99b7e));font-family:Georgia,serif}.menu-divider{height:1px;background:#ffffff09;margin:16px 12px}.menu-settings{margin-top:auto;padding:32px 12px 0;display:grid;gap:16px}.menu-settings>button{padding:0;color:var(--muted);font-size:13px;display:flex;align-items:center;justify-content:space-between;text-align:left}.toggle-dot{height:6px;width:6px;border-radius:50%;background:#4d4850}.menu-settings #sound[aria-pressed=true] .toggle-dot,.menu-settings #motion[aria-pressed=false] .toggle-dot{background:var(--gold)}.menu-settings .about-link{font-size:10px;letter-spacing:.9px;margin-top:16px;color:#615d58}
#panel{position:fixed;top:var(--viewport-top);left:0;right:0;bottom:auto;margin:0;width:100%;height:var(--app-height);overflow:hidden}#panel[open]{display:flex;flex-direction:column}.panel-header{display:grid;grid-template-columns:44px 1fr 44px;align-items:center;flex-shrink:0;padding:calc(env(safe-area-inset-top) + 16px) 24px 12px}.panel-header p{text-align:center;font-size:10px;letter-spacing:1px;color:var(--muted)}#panel-content{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;scrollbar-width:thin;outline:none}#panel h2{font:30px/1.25 Manrope,sans-serif;letter-spacing:-1px;margin:16px 0 24px}#panel p{color:#aaa399;font-size:15px;line-height:1.8}.fine{font-size:12px!important;color:var(--muted)!important}.error{color:#dba997!important}.sky-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 24px}.planet{padding:16px 0;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:13px}.planet span:first-child{display:flex;align-items:center;gap:8px}.planet b{font:22px Georgia,serif;color:var(--gold);width:24px}.planet small{color:var(--gold)}.sky-wheel{display:block;width:250px;height:250px;margin:24px auto;stroke-width:.7}.sky-wheel text{stroke:none;fill:var(--gold);font:12px Georgia,serif}.principle{padding:24px 0;display:grid;grid-template-columns:28px 1fr;gap:12px;border-bottom:1px solid var(--line)}.principle>span{font:11px monospace;color:var(--gold);padding-top:4px}.principle h3{font:17px Manrope,sans-serif;margin:0 0 8px}.principle p{margin:0;font-size:14px!important}.card-reveal{max-width:280px;margin:32px auto;padding:32px 24px;text-align:center;border:1px solid var(--line);border-radius:80px 80px 12px 12px}.card-symbol{font:60px Georgia,serif;color:var(--gold);margin:24px}.card-reveal h3{font:24px Manrope,sans-serif}.number-result{display:grid;grid-template-columns:repeat(3,1fr);text-align:center;gap:12px;margin:32px 0}.number-result strong{display:block;font:40px Manrope,sans-serif;color:var(--gold)}.number-result span{font-size:12px;color:var(--muted)}.tree{display:block;width:140px;height:180px;margin:24px auto;stroke:var(--gold);fill:rgb(var(--c-161019))}.loader{padding:32px 0;color:var(--muted);animation:breathe 1.8s ease-in-out infinite}@keyframes breathe{50%{opacity:.4}}
@media(max-width:600px){.app-header{padding-left:16px;padding-right:16px}.composer-dock{padding:8px 16px calc(env(safe-area-inset-bottom) + 12px)}#chat-turns{padding:16px 24px 24px}.sky-grid{grid-template-columns:1fr}.message-user{max-width:90%}}
@media(max-height:500px){.app-header{padding-top:env(safe-area-inset-top);padding-bottom:4px}.composer-dock{padding-bottom:calc(env(safe-area-inset-bottom) + 8px)}}
@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.wordmark{display:flex;align-items:center;justify-content:center;gap:4px}#new-chat{visibility:hidden;pointer-events:none}.chat-mode #new-chat{visibility:visible;pointer-events:auto}.celestial-seal{position:absolute;inset:0;width:100%;height:100%;stroke:var(--gold);stroke-width:.6;pointer-events:none;z-index:2}.celestial-seal text{fill:var(--gold);stroke:none;font:19px Georgia,"Apple Symbols",serif;text-anchor:middle;dominant-baseline:central;opacity:.8}.seal-orbit{opacity:.25}.seal-orbit.outer{opacity:.09}.seal-tick{opacity:.5}.alchemy{opacity:.13}.hermetic-mark{stroke-width:1;opacity:.85}.is-recording #voice{display:none}.is-recording .ask-form #send{background:var(--gold);color:rgb(var(--c-16130e))}.is-recording .ask-form textarea::placeholder{color:rgb(var(--c-b4a27d))}

.is-transcribing #voice{display:none}
.chat-mode #welcome{opacity:.72}
.message{border:1px solid #ffffff0c;box-shadow:inset 0 1px 0 #ffffff1c,inset 0 -1px 0 #ffffff05,0 8px 28px #00000018;backdrop-filter:blur(10px) saturate(1.8) brightness(1.08);-webkit-backdrop-filter:blur(10px) saturate(1.8) brightness(1.08)}
.message-assistant{width:fit-content;max-width:94%;padding:16px 16px;border-radius:7px 22px 22px 22px;background:linear-gradient(130deg,rgb(var(--c-e7d7ff)/0.039),rgb(var(--c-282231)/0.078));text-shadow:none;border-color:rgb(var(--c-e7d6ff)/0.141)}
.message-user{background:linear-gradient(135deg,rgb(var(--c-f4dfab)/0.078),rgb(var(--c-534362)/0.122));border-color:rgb(var(--c-d4bb82)/0.169);border-radius:22px 22px 7px 22px;backdrop-filter:blur(10px) saturate(1.8) brightness(1.08);-webkit-backdrop-filter:blur(10px) saturate(1.8) brightness(1.08)}
.ask-form{background:#151518cc;backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px)}
html{background:var(--ink)}

.is-recording #voice-status{display:none}.is-recording #welcome{opacity:.88}
.ask-form #send{position:relative}
.is-recording .ask-form #send::before{content:"";position:absolute;inset:-4px;border:2px solid #f35d5d38;border-top-color:#ff7373;border-right-color:#f35d5d;border-radius:50%;pointer-events:none;animation:recording-orbit 1.15s linear infinite;box-shadow:0 0 10px #f35d5d18}
@keyframes recording-orbit{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){.is-recording .ask-form #send::before{animation:none}}
.recording-row{display:flex;justify-content:space-between;min-height:32px;margin:0 4px 8px}
.mode-control{position:relative}
#mode-toggle{display:flex;align-items:center;gap:8px;padding:8px 8px;color:#a6a096;font-size:12px;border-radius:16px}
#mode-toggle svg{width:17px;height:17px;stroke-width:1.3;color:var(--gold)}
#mode-toggle:hover,#mode-toggle[aria-expanded=true]{background:#ffffff08;color:var(--cream)}
.mode-chevron{font-size:13px;opacity:.5;margin-left:4px}
#mode-menu{position:absolute;left:0;bottom:calc(100% + 8px);width:max-content;padding:4px;border:1px solid rgb(var(--c-dac9a3)/0.169);border-radius:18px;background:rgb(var(--c-18161d)/0.851);backdrop-filter:blur(24px);-webkit-backdrop-filter:blur(24px);box-shadow:0 14px 45px #0007;z-index:5}
#mode-menu button{display:flex;align-items:center;justify-content:space-between;width:100%;padding:12px 16px;border-radius:12px;text-align:left;font-size:13px}
#mode-menu small{font-size:11px;color:var(--muted)}
#mode-menu button:hover,#mode-menu button[aria-checked=true]{background:rgb(var(--c-d4bb82)/0.071);color:var(--gold)}
#dev-mode[aria-pressed=true] .toggle-dot{background:var(--gold)}
@font-face{font-family:Scribe;src:url('/assets/eb-garamond.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:SophyCards;src:url('/assets/noto-symbols2.ttf') format('truetype');font-display:swap;unicode-range:U+1F0A0-1F0FF}
.message p{font-family:SophyCards,DM,Arial,sans-serif}
/* Sophy's own words are set in a Garamond: a scribe's hand, old and plain, with nothing of the fantasy novel about it. Your words stay in the interface face. */
.message-assistant p{font-family:SophyCards,Scribe,Georgia,serif;font-size:18px;line-height:28px;font-weight:450;letter-spacing:.1px}
.card-reveal h3{font-family:SophyCards,Manrope,sans-serif}

.composer-dock #voice-status{position:absolute;bottom:calc(100% + 4px);left:24px;right:24px;padding:0;margin:0}.composer-dock #voice-status:not(:empty){padding:0}

/* Live sky: calculated markers stay separate from the reactive particle surface. */
.live-sky{position:absolute;inset:0;width:100%;height:100%;z-index:2;overflow:visible;color:var(--gold)}
.sky-grid-line{stroke:rgb(var(--c-d4bb82)/0.161);stroke-width:.65}.horizon-line{stroke:rgb(var(--c-d4bb82)/0.439);stroke-width:1}.zodiac-tick{stroke:rgb(var(--c-d4bb82)/0.376);stroke-width:.7}
.astro-glyph{fill:currentColor;stroke:none;pointer-events:none}#sky-rings .astro-glyph{opacity:.58}
.sky-planet{cursor:pointer;outline:none;color:rgb(var(--c-ddc99a))}.planet-hit{fill:transparent;stroke:none}.planet-anchor{fill:var(--gold);stroke:none}.planet-leader{stroke:rgb(var(--c-d4bb82)/0.22);stroke-width:.6;pointer-events:none}
.sky-planet:hover,.sky-planet[aria-pressed=true],.sky-planet:focus-visible{color:rgb(var(--c-fff0c9))}.sky-planet:focus-visible .planet-hit{stroke:rgb(var(--c-e8cb8c)/0.333);stroke-width:.6;fill:rgb(var(--c-272019)/0.212)}.sky-planet.below-horizon{opacity:.48}
.sky-aspect{stroke-width:.8;opacity:.23;pointer-events:none}.sky-aspect.related{opacity:.6;stroke-width:1}.conjunction{stroke:rgb(var(--c-d6b76b));color:rgb(var(--c-d6b76b))}.sextile,.trine{stroke:var(--aspect-blue);color:var(--aspect-blue)}.square,.opposition{stroke:var(--aspect-rose);color:var(--aspect-rose)}.sextile{stroke-dasharray:2 3}.opposition{stroke-dasharray:5 3}
.live-sky .cardinal{font:13px Manrope,sans-serif;text-anchor:middle;dominant-baseline:middle;fill:rgb(var(--c-aaa28f));stroke:none}.horizon-caption{font:8px DM,sans-serif;letter-spacing:2px;text-anchor:middle;fill:rgb(var(--c-b6a37a));stroke:none}
.sky-stale #sky-planets{opacity:.35}.sky-clock{position:absolute;top:8px;left:0;right:0;display:flex;justify-content:center;align-items:center;gap:12px;font-size:11px;letter-spacing:.25px;color:#8e8980;z-index:2;font-variant-numeric:tabular-nums}
.sky-hud{position:absolute;bottom:12px;left:12px;right:12px;display:grid;justify-items:center;gap:0;z-index:3;text-align:center}.sky-hud button{font-size:12px;color:rgb(var(--c-c4b596));padding:8px 12px;border-radius:20px}.sky-hud button:hover{background:#ffffff06}.sky-location{display:flex;align-items:center}.sky-location button{font-size:11px;color:#7f7c78}#sky-notice{font-size:10px;color:#88837c;line-height:1.5;max-width:290px}#sky-notice:empty{display:none}
.chat-mode .sky-hud,.chat-mode .sky-clock{visibility:hidden}.chat-mode .live-sky{opacity:.55}
.ask-form .mode-control{align-self:flex-end;margin-bottom:0}.ask-form #mode-toggle{width:36px;height:42px;padding:8px;justify-content:center}.ask-form #mode-toggle svg{width:22px;height:22px;flex-shrink:0}.ask-form #mode-menu{bottom:calc(100% + 16px);left:-8px}.ask-form #mode-menu button{font-size:13px}.ask-form{padding-left:8px}.recording-row{min-height:0;height:0;margin:0;position:relative}.recording-row #cancel-dictation{position:absolute;right:4px;bottom:12px}.is-recording .recording-row{height:0}.composer-dock #voice-status{bottom:calc(100% + 8px)}
#menu nav button svg{width:18px;height:18px;color:rgb(var(--c-a99b7e));stroke-width:1.2}
@media(max-height:600px){.sky-hud{bottom:0}.sky-location button{padding:4px 8px}.sky-clock{top:0;font-size:10px}.sky-clock #sky-selection{font-size:12px}.stage{width:min(460px,98vw,calc(var(--app-height) - 230px))}}

#app>#cosmos{position:absolute;inset:0;width:100%;height:100%;z-index:0;pointer-events:none}.stage{z-index:1}.house-cusp{stroke:rgb(var(--c-d4bb82)/0.2);stroke-width:.6}.house-cusp.angle{stroke:rgb(var(--c-d4bb82)/0.502);stroke-width:.9}.house-number{fill:rgb(var(--c-aaa28f)/0.6);stroke:none;font:8px Manrope,sans-serif;text-anchor:middle;dominant-baseline:middle}.sky-angle{fill:rgb(var(--c-d4bb82));stroke:none;font:7px Manrope,sans-serif;text-anchor:middle;dominant-baseline:middle}

.chat-mode #cosmos{opacity:.72}#cosmos{transition:opacity .5s ease}

/* Top line: live dot, selected planet in whole degrees, minute clock. */
.sky-clock{gap:8px;font-size:12px}
#sky-selection{display:inline-flex;align-items:center;gap:4px;padding:8px 8px;border-radius:20px;color:rgb(var(--c-e6d6ae));font-size:13px;letter-spacing:.2px;font-variant-numeric:tabular-nums}#sky-selection:hover{background:#ffffff08}#sky-selection b{font-weight:500;color:rgb(var(--c-f3e3bb));margin-left:4px}#sky-selection small{color:var(--gold);margin-left:4px}
.hud-glyph{width:15px;height:15px;fill:currentColor;color:var(--gold);flex-shrink:0}
#sky-time{color:#7d7972}#sky-time:before{content:'·';margin-right:8px;color:#5d5850}
/* Selected planet glows instead of a ring. */
.sky-planet .sky-upright{transition:opacity .3s}.sky-planet[aria-pressed=true]{color:rgb(var(--c-fff1cc))}.sky-planet[aria-pressed=true] .sky-upright{filter:url(#planet-glow)}
/* Scene fades to pure black at the top and bottom so it melts into the device. */
html,body{background:#000}
/* The fade is measured against the app's own height, so it always reaches black at the app's bottom edge, even when the phone reports the app shorter than the screen. */
#app>#cosmos{-webkit-mask-image:linear-gradient(transparent,#000 calc(var(--app-height)*.17),#000 calc(var(--app-height)*.78),transparent var(--app-height));mask-image:linear-gradient(transparent,#000 calc(var(--app-height)*.17),#000 calc(var(--app-height)*.78),transparent var(--app-height))}
/* ---- Brand surfaces. Values come from brand.css; change the look there, not here. ---- */
.chat-mode #cosmos{opacity:.46}.chat-mode #welcome{opacity:.42}
/* Chat bubbles: clear glass with a touch of liquid blur. */
.message{border:1px solid var(--edge);box-shadow:var(--shine),var(--shadow-float);backdrop-filter:var(--blur-clear);-webkit-backdrop-filter:var(--blur-clear);text-shadow:0 1px 3px #000000b3}
.message-assistant{background:var(--glass-clear);border-color:var(--edge)}
.message-user{background:var(--glass-gold);border-color:var(--edge-gold);backdrop-filter:var(--blur-clear);-webkit-backdrop-filter:var(--blur-clear)}
.signup-card{width:fit-content;max-width:94%;padding:16px;border-radius:var(--radius-card);border-color:var(--edge-gold);background:var(--glass-gold);white-space:normal}.signup-card p{margin:0 0 16px;color:rgb(var(--c-f1ead9))}.signup-card .primary{min-height:44px;font-size:14px}
/* Composer and its mode menu: obsidian glass. */
.ask-form{background:var(--glass-obsidian);border-color:#ffffff14;box-shadow:inset 0 1px 0 #ffffff12,0 10px 34px #000000a0;backdrop-filter:var(--blur-obsidian);-webkit-backdrop-filter:var(--blur-obsidian)}
#mode-menu{background:#0b0b0e;border-color:#ffffff1f;box-shadow:inset 0 1px 0 #ffffff12,0 16px 44px #000000d9;backdrop-filter:none;-webkit-backdrop-filter:none}

/* The Sophy mark beside the wordmark, centred on the letter o (the x-height band). */
/* The wordmark and its mark share the app icon's champagne-metal finish: a top light, a deep gold foot and a soft shadow. */
.wordmark-text{display:block;padding:.14em .04em .26em;margin:-.14em -.04em -.26em;background:var(--metal-text);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:var(--metal-depth)}
/* The wordmark's mark is two sparkles, a large one and a small one, the same pair as the ask button. */
.brand-mark{display:block;width:.68em;height:.68em;flex-shrink:0;filter:var(--metal-depth);background:var(--metal);-webkit-mask:url(/assets/sparkle.svg?v=2) center/contain no-repeat;mask:url(/assets/sparkle.svg?v=2) center/contain no-repeat}
.wordmark .brand-mark{transform:translateY(-.14em)}

/* Side menu: a floating sheet of clear glass. */
#menu::backdrop{background:#00000047;backdrop-filter:none;-webkit-backdrop-filter:none}
#menu{top:calc(var(--viewport-top) + env(safe-area-inset-top) + 8px);left:8px;width:min(312px,82vw);height:calc(var(--app-height) - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 16px);padding:16px 16px 24px;border:1px solid #ffffff26;border-radius:var(--radius-sheet);background:var(--glass-sheet);backdrop-filter:var(--blur-sheet);-webkit-backdrop-filter:var(--blur-sheet);box-shadow:var(--shine-sheet),var(--shadow-sheet)}
#menu nav button{border-radius:var(--radius-field);color:var(--text)}#menu nav button:hover{background:#ffffff14}.menu-settings>button{color:rgb(var(--c-d0cbc1))}
.menu-row{display:flex;align-items:center;justify-content:space-between;padding-left:12px}.menu-row>span{font:500 10px var(--font-display);letter-spacing:1.5px;text-transform:uppercase;color:#a09a90}
#menu nav #menu-new-chat{width:44px;height:44px;padding:0;display:grid;place-items:center;justify-content:center;border-radius:50%;color:var(--text)}#menu nav #menu-new-chat svg{width:20px;height:20px;color:inherit;stroke-width:1.4}
#menu nav #sign-in{margin-top:8px;border:1px solid var(--edge);background:var(--glass-clear);box-shadow:var(--shine);border-radius:var(--radius-pill);padding:12px 16px;font-size:14px}
.menu-history[hidden]{display:none}.menu-history{min-height:0;flex:1;display:flex;flex-direction:column;margin:4px 0 12px}
#history-list{flex:1;overflow-y:auto;overscroll-behavior:contain;min-height:0;display:grid;grid-auto-rows:max-content;gap:4px;align-content:start;scrollbar-width:thin}#history-list.open{-webkit-mask-image:linear-gradient(#000 calc(100% - 24px),#0000);mask-image:linear-gradient(#000 calc(100% - 24px),#0000);padding-block-end:var(--space-4)}#history-list button{text-align:left;padding:12px 12px;border-radius:14px;font-size:14px;color:rgb(var(--c-e4dfd5));white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#history-list button:hover{background:#ffffff14}
/* Settings live behind a gear at the foot of the menu. */
.menu-foot{margin-top:auto;display:grid;gap:12px}.menu-settings{margin:0;padding:16px 16px;gap:24px}.menu-settings[hidden]{display:none}.menu-settings>button[hidden]{display:none}
.menu-foot-row{display:flex;align-items:center;justify-content:space-between;padding-left:12px}.copyright{font-size:11px;letter-spacing:.4px;color:#a09a90}
#settings-toggle svg{width:20px;height:20px;stroke-width:1.3;stroke-linejoin:round}#settings-toggle[aria-expanded=true]{color:var(--gold);background:#ffffff12}
#sign-out small{color:#a09a90;font-size:11px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Panels: an obsidian sheet over the living sky, with content in glass cards. */
#panel::backdrop{background:#00000052;backdrop-filter:none;-webkit-backdrop-filter:none}
#panel{background:#040406d6;backdrop-filter:var(--blur-panel);-webkit-backdrop-filter:var(--blur-panel)}
#panel h2{font-family:var(--font-display)}
#panel h3{font:500 10px var(--font-display);letter-spacing:1.5px;text-transform:uppercase;color:var(--muted);margin:0 0 12px 4px}
#panel .sky-stamp{font-size:12px;color:var(--muted);margin:-16px 0 32px}
#panel .stack p{margin:0;font-size:14px;line-height:1.65}
#panel .text-button{color:var(--text-soft);font-size:13px;justify-self:center}
@media(max-width:600px){}
/* Profile sheets float over the living sky: the panel thins to a veil and the card is centred obsidian glass. */
#panel.cosmic::backdrop{background:transparent}
#panel.cosmic{background:none;backdrop-filter:none;-webkit-backdrop-filter:none}

.account-center{width:100%;max-width:440px;margin:auto;padding-bottom:6vh}
.account-sheet{text-align:center;padding:24px 24px 24px;gap:16px}
#panel .account-sheet h2{margin:4px 0 0;letter-spacing:-.8px;line-height:1.15}.account-sheet [role=status]:empty{display:none}
#panel .account-sheet .account-lede{margin:-4px 0 12px;color:var(--text-soft)}
.sophy-mark{width:84px;height:84px;margin:-4px auto 0;background:var(--metal);-webkit-mask:url(/assets/mark.svg?v=5) center/contain no-repeat;mask:url(/assets/mark.svg?v=5) center/contain no-repeat}
.account-sheet .form-field input{text-align:center;border-radius:10px}
/* The sheet is black liquid glass (see .liquid in brand.css): the stars stay visible straight through it. */
.account-sheet{text-shadow:0 1px 3px #000000b3}
.account-sheet .form-field input{background:linear-gradient(180deg,#000000a8,#0c0c0f8f);border-color:#ffffff33;box-shadow:inset 0 2px 5px #000000b3,inset 0 -1px 0 #ffffff1f;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.or-line{display:flex;align-items:center;gap:12px;font-size:10px!important;letter-spacing:1.4px;text-transform:uppercase;color:var(--muted)!important}.or-line:before,.or-line:after{content:'';flex:1;height:1px;background:#ffffff1a}
#signin-code{letter-spacing:8px;font-variant-numeric:tabular-nums;font-size:22px;text-align:center}
#signin-status:empty{display:none}

/* The sky page. */
.sky-list{list-style:none;margin:0 0 32px;padding:4px 8px 4px 16px}
.sky-list li{display:grid;grid-template-columns:22px 1fr 32px 16px 78px 10px 30px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--hairline);font-size:14px;color:var(--cream)}.sky-list li:last-child{border-bottom:0}
.sky-list b{font-weight:500;color:var(--gold-bright);text-align:right;font-variant-numeric:tabular-nums}.sky-list i{font:600 9px var(--font-display);letter-spacing:.6px;color:var(--gold)}.sky-list .sky-sign{color:var(--text-soft)}.sky-list small{color:var(--gold);font-size:12px}.sky-list .hud-glyph{width:17px;height:17px}
.aspect-list li{grid-template-columns:22px 1fr auto 30px}.aspect-list .sky-name{color:var(--cream)}.aspect-list small{color:var(--muted);font-variant-numeric:tabular-nums}.aspect-icon{width:18px;height:18px;fill:currentColor;stroke:none}
.aspect-list li.conjunction{color:var(--aspect-gold)}.aspect-list li.sextile,.aspect-list li.trine{color:var(--aspect-blue)}.aspect-list li.square,.aspect-list li.opposition{color:var(--aspect-rose)}
.ask-row{width:30px;height:34px;display:grid;place-items:center;border-radius:50%;color:var(--gold)}.ask-row svg{width:17px;height:17px;fill:currentColor;stroke:none}.ask-row:hover,.ask-row:focus-visible{background:rgb(var(--c-d4bb82)/0.122);color:rgb(var(--c-fff1cc))}
/* Account sheets. */
.stack-form{display:grid;gap:12px}
/* While a profile sheet is open, quiet the home screen's text so only the sky shows through. */
body:has(#panel.cosmic[open]) :is(#main-view,.app-header,.composer-dock){visibility:hidden}
/* Space still fades to pure black at the top and bottom, as on every page. */
body:has(#panel.cosmic[open]) #app>#cosmos{opacity:1}
.copyright a,.legal-note a{color:inherit;text-decoration:none;border-bottom:1px solid #ffffff2e}.copyright a:hover,.legal-note a:hover{color:var(--gold)}
#panel .legal-note{margin:4px 0 0}
#delete-account{color:var(--danger)}
.copyright .legal-links{display:block;margin-top:4px}
/* Icon buttons never get a ring or a resting circle: focus shows as a brighter icon, hover only where there is a pointer. */
.icon-button:focus-visible{outline:none;color:var(--cream)}
@media(hover:none){.icon-button:hover{background:none;color:#a9a39a}}
/* The scene paints the whole screen, including under the browser's own bars, so there is no empty band at the bottom. */
#app>#cosmos{position:fixed;inset:auto;top:0;left:0;width:100vw;height:100lvh}
/* With clearer glass, the home screen's own header text would show through the open menu, so it steps back. */
body:has(#menu[open]) :is(.app-header,.sky-clock){visibility:hidden}
/* A guest has one thread: no new-conversation controls until they sign in. */
body.guest .menu-row{display:none}body.guest #new-chat{visibility:hidden;pointer-events:none}
/* Settings: app toggles, a hairline, then the account. Deleting sits apart, small and quiet, below the card. */
.settings-rule{display:block;height:1px;margin:-4px 0;background:#ffffff17}.settings-rule[hidden]{display:none}.delete-link{justify-self:start;padding:8px 16px;font-size:12px;color:#8e8980}.delete-link:hover{color:#e9a59b}.delete-link[hidden],#settings[hidden]+.delete-link{display:none}#panel .text-button.danger{color:#e9a59b}
#panel .account-foot{margin:16px 0 0;text-align:center;font-size:11px;letter-spacing:.2px;color:#8e8980;text-shadow:0 1px 3px #000000b3}#panel .account-foot a{color:inherit;font-size:inherit}
/* Tools in the menu. */
.menu-tools{display:grid;gap:4px;margin:0 0 16px;padding-bottom:16px;border-bottom:1px solid #ffffff14}.menu-label{padding-left:12px;margin-bottom:4px;font:500 10px var(--font-display);letter-spacing:1.5px;text-transform:uppercase;color:#a09a90}.menu-tools button{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 12px;border-radius:var(--radius-field);font-size:15px;text-align:left;color:var(--text)}.menu-tools button:hover{background:#ffffff14}.menu-tools button svg{width:17px;height:17px;color:var(--gold)}
/* The tarot deck fills the screen over deep space; the words sit at the foot. */
.tarot-stage{flex:1;min-height:0}#tarot-canvas{position:fixed;inset:0;width:100%;height:100%;z-index:0;cursor:pointer;touch-action:none;outline:none}#panel:has(.tarot-stage) .panel-header{position:relative;z-index:1}
.tarot-ui{position:fixed;left:0;right:0;bottom:calc(env(safe-area-inset-bottom) + 32px);z-index:1;display:grid;justify-items:center;gap:16px;padding:0 24px;text-align:center;pointer-events:none}.tarot-ui>*{pointer-events:auto}
#panel #tarot-status{margin:0;min-height:22px;font-size:14px;color:var(--text-soft);text-shadow:0 1px 4px #000000cc}#panel #tarot-status.named{font:500 22px/1.2 var(--font-display);letter-spacing:-.4px;color:var(--text)}
/* The drawn card in the chat thread. */
.tarot-card{width:min(46%,190px);margin:4px 0 16px;cursor:pointer;border-radius:9px}:root[data-theme="platinum"] .tarot-card img{filter:grayscale(1) brightness(1.12) contrast(1.04)}.tarot-card:focus-visible{outline:1px solid rgb(var(--c-e6c784));outline-offset:4px}.tarot-card img{display:block;width:100%;height:auto;aspect-ratio:620/1066;border-radius:9px;background:#030304;box-shadow:0 0 0 1px rgb(var(--c-e6c784)/0.322),0 0 28px rgb(var(--c-e6c784)/0.141),inset 0 1px 0 #ffffff1f,0 14px 30px #000000a6}.tarot-card.reversed img{transform:rotate(180deg)}.tarot-card figcaption{margin-top:8px;font:500 10px var(--font-display);letter-spacing:1.4px;text-transform:uppercase;color:#a09a90}
body:has(#panel.cosmic[open]) #new-chat{visibility:hidden}
/* Points: a row in the menu, a sheet with the balance and quests, and a small line under a reply that earned some. */

.quest-list{list-style:none;margin:4px 0 4px;padding:0;display:grid;gap:8px;text-align:left}.quest-list li{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid #ffffff1f;border-radius:16px;background:#00000047}.quest-list span{display:grid;gap:4px;min-width:0}.quest-list b{font-weight:500;font-size:14px;color:var(--text)}.quest-list small{font-size:12px;line-height:1.35;color:var(--text-soft)}.quest-list em{flex-shrink:0;font:500 13px var(--font-display);font-style:normal;color:var(--gold)}.quest-list li.done{opacity:.55}.quest-list li.done em{color:var(--text-soft)}.credits-sheet .sophy-mark,.profile-sheet .sophy-mark{width:60px;height:60px}.credits-sheet .quest-list{gap:8px}.credits-sheet .quest-list li{padding:8px 16px}.credits-sheet .quest-list span{display:flex;align-items:baseline;gap:12px;flex-wrap:wrap}.credits-sheet .quest-list .text-button{margin:0;padding:0}.big-three{list-style:none;margin:4px 0 8px;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.big-three li{display:grid;gap:4px;padding:12px 8px;border:1px solid #ffffff1f;border-radius:16px;background:#00000047}.big-three small{font:500 10px var(--font-display);letter-spacing:1.5px;text-transform:uppercase;color:var(--text-soft)}.big-three b{font:500 17px var(--font-display);color:var(--text)}.badges{list-style:none;margin:4px 0 0;padding:0;display:flex;flex-wrap:wrap;gap:8px;justify-content:center}.badges li{padding:8px 12px;border:1px solid #ffffff1f;border-radius:8px;font-size:12px;color:var(--text-soft);opacity:.5}.badges li.done{opacity:1;color:var(--gold);border-color:rgb(var(--c-e6c784)/0.333)}.profile-sheet #people{text-align:left}#menu-title{cursor:pointer}
.points-note{margin:16px 0 0;font:500 11px var(--font-display);letter-spacing:.6px;color:var(--gold)}
#panel .quest-list .text-button{justify-self:start;margin-top:4px;padding:4px 0;font-size:12px;color:var(--gold);text-decoration:underline;text-underline-offset:3px;overflow-wrap:anywhere;text-align:left}.quest-list li.done .text-button{color:var(--text-soft)}
/* Buying points: two short lists of plain rows, the price on the right. */
#panel .plan-label{margin:8px 0 -8px;text-align:left;font:500 10px var(--font-display);letter-spacing:1.5px;text-transform:uppercase;color:#a09a90}.plan-list{list-style:none;margin:0;padding:0;display:grid;gap:8px}.plan-list button{width:100%;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 16px;border:1px solid #ffffff24;border-radius:16px;background:#00000052;text-align:left;color:var(--text)}.plan-list button:hover{border-color:#ffffff4d;background:#00000070}.plan-list button:disabled{opacity:.5}.plan-list b{font-weight:500;font-size:15px}.plan-list em{flex-shrink:0;font:500 14px var(--font-display);font-style:normal;color:var(--gold)}
/* The birth chart in the chat thread. */
.chart-card{width:min(100%,340px);margin:4px 0 16px}.chart-card img{display:block;width:100%;height:auto;border-radius:14px;box-shadow:0 0 0 1px rgb(var(--c-e6c784)/0.239),0 14px 30px #000000a6}.chart-card .text-button{margin-top:12px;padding:4px 0;font-size:13px;color:var(--gold);text-decoration:underline;text-underline-offset:3px}
/* The credit balance sits beside the wordmark in the menu; tapping it opens the credits sheet. */
.menu-brand{display:flex;align-items:center;gap:12px;min-width:0}.menu-header .menu-brand .wordmark{padding-left:12px}.credit-chip{display:inline-flex;align-items:baseline;gap:4px;padding:4px 12px;border:1px solid #ffffff24;border-radius:var(--radius-pill);background:#00000047;font-size:12px;line-height:1;color:var(--text-soft);white-space:nowrap}.credit-chip b{font:500 13px var(--font-display);color:var(--gold)}.credit-chip:hover{border-color:#ffffff4d}.credit-chip[hidden]{display:none}
/* The signs and the houses on the wheel can be tapped like the planets; the chosen one glows. */
.sky-sign,.sky-house{cursor:pointer;outline:none}.sky-sign:hover .astro-glyph,.sky-sign:focus-visible .astro-glyph,#sky-rings .sky-sign[aria-pressed=true] .astro-glyph{opacity:1}.sky-sign[aria-pressed=true]{color:rgb(var(--c-fff1cc))}.sky-sign[aria-pressed=true] .sky-upright,.sky-house[aria-pressed=true] .sky-upright{filter:url(#planet-glow)}
.sky-house:hover .house-number,.sky-house:focus-visible .house-number{fill:rgb(var(--c-e6d6ae))}.sky-house[aria-pressed=true] .house-number{fill:rgb(var(--c-fff1cc));font-size:11px}
#sky-selection .sky-empty{margin-left:4px;font-size:11px;color:#8e8980}
/* The sparkle that asks Sophy about the selection: a soft ring of light that breathes, so it reads as something to tap. */
.sky-clock #sky-ask{width:30px;height:32px;margin-left:-12px;border:0;background:none;color:rgb(var(--c-fff1cc))}.sky-clock #sky-ask[hidden]{display:none}.sky-clock #sky-ask:hover{background:none;color:#fff}
.sky-clock #sky-ask svg{width:19px;height:19px;animation:sky-ask-twinkle 2.6s ease-in-out infinite}
@keyframes sky-ask-twinkle{0%,100%{transform:scale(.94);opacity:.82;filter:drop-shadow(0 0 3px rgb(var(--c-e6c784)/0.502))}50%{transform:scale(1.14);opacity:1;filter:drop-shadow(0 0 4px rgb(var(--c-e6c784))) drop-shadow(0 0 11px rgb(var(--c-e6c784)/0.749))}}
@media(prefers-reduced-motion:reduce){.sky-clock #sky-ask svg{animation:none;filter:drop-shadow(0 0 4px rgb(var(--c-e6c784)/0.8)) drop-shadow(0 0 9px rgb(var(--c-e6c784)/0.502))}}
/* The time: top right on a wide screen, gone on a phone, where the phone's own clock is already in view. */
.sky-clock #sky-time{position:absolute;right:32px;top:50%;transform:translateY(-50%)}.sky-clock #sky-time:before{content:none}@media(max-width:600px){.sky-clock #sky-time{display:none}}
/* Suggestions above the chat box, on the home view only. */
.suggestions{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;margin:0 0 12px}.suggestions button{min-width:0;padding:12px 16px;border:1px solid rgb(var(--c-d4bb82)/0.2);border-radius:20px 20px 6px 20px;background:linear-gradient(135deg,rgb(var(--c-f4dfab)/0.071),rgb(var(--c-534362)/0.11));-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);font-size:13px;line-height:1.3;color:rgb(var(--c-d6cfc3));text-align:left}.suggestions button:hover{color:var(--text);border-color:#ffffff4d}.chat-mode .suggestions,.is-recording .suggestions{display:none}@media(min-width:700px){.suggestions{grid-template-columns:repeat(4,minmax(0,1fr))}}
/* The astrology module: the birth details form, then the chart. */
/* The birth form sits on one strict grid: two equal columns, every box the same height, every label on the same line, nothing wider than its column.
   A date or time box on an iPhone otherwise takes its own width and height and breaks the rows. */
.stack-form{grid-template-columns:minmax(0,1fr)}.form-field{min-width:0}
.account-sheet.birth-sheet{display:block;padding:24px 24px 24px;text-align:left}#panel .birth-sheet h2{margin:0 0 8px;font-size:26px;letter-spacing:-.7px;line-height:1.15}#panel .birth-sheet .account-lede{margin:0 0 24px;font-size:14px;line-height:1.5;color:var(--text-soft)}
.birth-form{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px 12px;align-items:start}.birth-form .wide{grid-column:1/-1}@media(max-width:359px){.birth-form{grid-template-columns:minmax(0,1fr)}}
.birth-form .field{display:grid;gap:8px;min-width:0;margin:0}.birth-form .field>span{font:500 10px var(--font-display);letter-spacing:1.4px;text-transform:uppercase;color:#a09a90}
.birth-form .field input{-webkit-appearance:none;appearance:none;display:block;box-sizing:border-box;width:100%;max-width:100%;min-width:0;height:48px;margin:0;padding:0 16px;border:1px solid #ffffff2e;border-radius:10px;background:linear-gradient(180deg,#000000a8,#0c0c0f8f);box-shadow:inset 0 2px 5px #000000b3,inset 0 -1px 0 #ffffff1f;color:var(--cream);font:16px/46px var(--font-body);text-align:left;outline:none;color-scheme:dark;contain:inline-size;transition:border-color .15s}
.birth-form .field input:focus{border-color:rgb(var(--c-d4bb82)/0.502)}.birth-form .field input:disabled{opacity:.38}.birth-form .field input::placeholder{color:#6f6b65}.birth-form input::-webkit-date-and-time-value{text-align:left;margin:0;min-height:1.2em}.birth-form input::-webkit-datetime-edit,.birth-form input::-webkit-datetime-edit-fields-wrapper{padding:0}
@supports (-webkit-touch-callout:none){.birth-form input.is-empty::before{content:attr(data-hint);color:#6f6b65}}
.check-line{display:flex;align-items:center;gap:12px;margin:0;font-size:14px;color:var(--text-soft);text-align:left}.check-line input{-webkit-appearance:none;appearance:none;flex-shrink:0;width:24px;height:24px;margin:0;border:1px solid #ffffff59;border-radius:6px;background:#00000085 center/13px no-repeat}.check-line input:checked{border-color:rgb(var(--c-e6c784));background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.8' fill='none' stroke='%23e6c784' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")}
.birth-form .primary{margin-top:4px}#panel .birth-form [role=status]{margin:0;text-align:left}#panel .birth-form [role=status]:empty{display:none}
.place-list{list-style:none;margin:-8px 0 0;padding:4px;border:1px solid #ffffff24;border-radius:16px;background:#000000b8;text-align:left;max-height:216px;overflow:auto}.place-list[hidden]{display:none}.place-list button{display:block;width:100%;padding:12px 12px;border-radius:11px;text-align:left;font-size:14px;color:var(--text)}.place-list button:hover,.place-list button:focus-visible{background:#ffffff14}.place-list .place-none{padding:12px 12px;font-size:13px;color:var(--text-soft)}
.chart-view{width:100%;max-width:460px;margin:0 auto;padding-bottom:24px}.chart-reveal{opacity:0;transform:scale(.93) rotate(-5deg);transition:opacity 1.1s ease,transform 1.4s cubic-bezier(.2,.8,.2,1)}.chart-reveal.shown{opacity:1;transform:none}.chart-reveal img{display:block;width:100%;height:auto;aspect-ratio:1080/1350;border-radius:18px;box-shadow:0 0 0 1px rgb(var(--c-e6c784)/0.239),0 20px 44px #000000b3}
@media(prefers-reduced-motion:reduce){.chart-reveal{transform:none;transition:opacity .4s}}
#panel .chart-notice{margin:12px 0 0;text-align:center}.chart-actions{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}.chart-links{display:flex;justify-content:center;gap:24px;margin:12px 0 4px}#panel .chart-links .text-button{color:var(--gold);text-decoration:underline;text-underline-offset:3px}
.chart-list{list-style:none;margin:0;padding:4px 16px}.chart-list li{display:grid;grid-template-columns:1fr 62px 104px 58px;align-items:center;gap:8px;padding:8px 0;border-bottom:1px solid var(--hairline);font-size:14px;color:var(--cream)}.chart-list li:last-child{border-bottom:0}.people-list .text-button{margin:0;padding:8px 0;font-size:12px;color:var(--text-soft)}.people-hint{margin:12px 4px 12px}#people .secondary{width:100%}#people{margin-top:8px}.chart-list b{font-weight:500;color:var(--gold-bright);text-align:right;font-variant-numeric:tabular-nums}.chart-list .chart-sign{color:var(--text-soft)}.chart-list small{font-size:11px;color:#8e8980;text-align:right}
/* The loader: a caduceus whose two serpents fill from the foot of the staff to the top, like a bar filling. */
.caduceus{display:grid;justify-items:center;gap:12px;margin:auto;color:var(--text-soft);font-size:13px}.caduceus svg{width:54px;height:108px;overflow:visible;fill:none;stroke-linecap:round;stroke-linejoin:round}.caduceus .staff{stroke:rgb(var(--c-e6c784));stroke-width:1.6;opacity:.75}.caduceus .orb{fill:rgb(var(--c-e6c784));stroke:none;filter:drop-shadow(0 0 5px rgb(var(--c-e6c784)/0.8))}.caduceus .wing{stroke:rgb(var(--c-e6c784));stroke-width:1.3;opacity:.6}.caduceus .track{stroke:rgb(var(--c-e6c784));stroke-width:2;opacity:.16}.caduceus .rise{stroke:rgb(var(--c-f6e2ad));stroke-width:2.2;stroke-dasharray:100;stroke-dashoffset:100;animation:caduceus-rise 2s cubic-bezier(.5,0,.3,1) infinite;filter:drop-shadow(0 0 3px rgb(var(--c-e6c784)/0.702))}.caduceus .rise.second{animation-delay:.18s}
@keyframes caduceus-rise{0%{stroke-dashoffset:100;opacity:1}70%{stroke-dashoffset:0;opacity:1}100%{stroke-dashoffset:0;opacity:0}}@media(prefers-reduced-motion:reduce){.caduceus .rise{animation:none;stroke-dashoffset:0}}
/* Text carries a little more light: headings glow faintly and the sparkle beside the wordmark twinkles. */
#panel h2,.account-sheet h2{text-shadow:0 0 22px rgb(var(--c-f3e7c9)/0.22),0 1px 3px #000000b3}.wordmark .brand-mark{animation:mark-twinkle 4.2s ease-in-out infinite}@keyframes mark-twinkle{0%,100%{opacity:.86;filter:var(--metal-depth)}50%{opacity:1;filter:var(--metal-depth) drop-shadow(0 0 5px rgb(var(--c-f6e2ad)/0.8))}}@media(prefers-reduced-motion:reduce){.wordmark .brand-mark{animation:none}}
.menu-settings>#dev-mode[hidden]{display:none}
/* Sophy's replies are written on: each word comes out of a soft gold blur. */
.scribe{animation:scribe .34s ease-out both}@keyframes scribe{0%{opacity:0;filter:blur(5px);color:rgb(var(--c-f6e2ad));text-shadow:0 0 12px rgb(var(--c-e6c784))}55%{opacity:1;filter:blur(0);color:rgb(var(--c-f6e2ad));text-shadow:0 0 8px rgb(var(--c-e6c784)/0.502)}100%{opacity:1;filter:blur(0)}}

/* ── Layout law (ui-grid). The panel is the master grid: it alone sets outer width and margins. A view takes the whole
   content width on a phone, the middle six of eight columns on a tablet and the middle four of twelve on a desktop.
   Inside a view, siblings are spaced with gap from the spacing scale and equal siblings share equal tracks. ── */
#panel-content{display:grid;width:100%;margin:0;padding:var(--space-6) 0 calc(env(safe-area-inset-bottom) + var(--space-12));align-content:start}
/* A sheet is centred in the panel when it fits and starts at the top when it is taller, so its head is never cut off. */
#panel-content:has(>.account-center),#panel-content:has(>.num-stage){grid-auto-rows:minmax(min-content,1fr);align-content:stretch}.account-center,.num-stage{align-self:center}
#panel-content>*{grid-column:content;min-width:0}
@media (width >= 40rem){#panel-content>*{grid-column:col-start 2 / span 6}}
@media (width >= 64rem){#panel-content>*{grid-column:col-start 5 / span 4}}
#panel-content>.tarot-stage{grid-column:full}
.account-center,.chart-view,.num-stage{width:auto;max-width:none;margin:0;padding:0}
.group{display:grid;row-gap:var(--space-2)}#panel .group>h3{margin:0;padding-inline-start:var(--space-1)}

/* The menu: tools with their own symbols, the latest conversations, the account in the bottom corner. */
#menu-title{cursor:pointer;outline:none;-webkit-tap-highlight-color:transparent}
.menu-tools button{justify-content:flex-start;gap:var(--space-3)}.menu-tools button svg{width:20px;height:20px;stroke-width:1.35;color:var(--gold);flex-shrink:0}
/* A conversation row: the title, and two actions that open beside it on a swipe. The title shortens; nothing overlaps. */
.history-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;border-radius:14px}.history-row[hidden]{display:none}
.history-row .history-open{min-width:0}#history-list .history-open{display:block;block-size:44px;padding-block:0;line-height:44px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.history-actions{display:flex;gap:var(--space-1);inline-size:0;overflow:hidden;transition:inline-size .2s ease}
.history-row.pulling .history-actions{inline-size:var(--pull,0px);transition:none}.history-row.swiped .history-actions{inline-size:var(--actions)}
#history-list .history-actions button{flex:0 0 44px;inline-size:44px;block-size:44px;padding:0;display:grid;place-items:center;border-radius:12px;color:var(--text-soft);overflow:visible}
#history-list .history-actions svg{width:19px;height:19px;stroke-width:1.5}#history-list .history-delete{color:#ffb4a8}
/* With a mouse there is no swipe: the two actions open while the pointer is on the row or the keyboard is inside it. */
@media(hover:hover) and (pointer:fine){.history-row:hover .history-actions,.history-row:focus-within .history-actions{inline-size:var(--actions)}}
#history-list .history-more{text-align:center;padding:var(--space-2) var(--space-3);font-size:15px;letter-spacing:4px;color:var(--text-soft)}#history-list .history-more.open{font-size:12px;letter-spacing:.4px}
.menu-foot-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;column-gap:var(--space-3);padding:0 0 0 var(--space-3)}
.profile-chip{display:grid;place-items:center;inline-size:44px;block-size:44px;padding:0;border-radius:50%}.profile-chip[hidden]{display:none}
.avatar{display:grid;place-items:center;inline-size:36px;block-size:36px;border-radius:50%;border:1px solid var(--edge);background:var(--glass-clear);box-shadow:var(--shine);font:500 15px/1 var(--font-display);color:var(--gold-bright)}
.profile-sheet .menu-settings{text-align:left}.profile-sheet .delete-link{justify-self:center}
.menu-settings #theme-toggle[aria-pressed=true] .toggle-dot{background:var(--gold)}.menu-settings #theme-toggle[aria-pressed=false] .toggle-dot{background:#4d4850}

/* The chart page. One column of groups, 16px apart; the four actions are one 2 by 2 grid of equal keys. */
.chart-view{display:grid;row-gap:var(--space-4);padding-block-end:var(--space-6)}.chart-view>*{margin:0}#panel .chart-view .chart-notice{margin:0;text-align:center}
.chart-reveal{position:relative;display:grid;row-gap:var(--space-4)}
.chart-reveal canvas{display:none;inline-size:100%;aspect-ratio:1;touch-action:none;cursor:grab}.chart-reveal.living canvas{display:block}.chart-reveal.living img{position:absolute;inline-size:1px;block-size:1px;opacity:0;pointer-events:none}
.big-three{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:var(--space-2)}
.big-three li{display:grid;justify-items:center;gap:var(--space-1);padding:var(--space-3) var(--space-2);border:1px solid #ffffff1f;border-radius:16px;background:#00000047}
.chart-three{display:none}.chart-reveal.living .chart-three{display:grid}
.chart-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-2);margin:0}
.chart-actions>button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);inline-size:100%;block-size:48px;min-height:0;margin:0;padding:0 var(--space-2);font-size:clamp(13px,3.9vw,14px);white-space:nowrap}
.chart-actions svg{width:17px;height:17px;stroke-width:1.5;color:var(--gold);flex-shrink:0}.chart-actions>button:disabled{opacity:.6}
.chart-view .chart-list{background:linear-gradient(150deg,#0c0e12bf,#050608d1);backdrop-filter:blur(20px) saturate(1.6);-webkit-backdrop-filter:blur(20px) saturate(1.6)}
#people{display:grid;row-gap:var(--space-3)}#people:empty{display:none}#panel #people h3{margin:0;padding-inline-start:var(--space-1)}#panel #people .people-hint{margin:0}#people .secondary{inline-size:100%;block-size:48px;margin:0}
.people-list li{grid-template-columns:minmax(0,1fr) auto auto;column-gap:var(--space-3)}.people-list .chart-sign{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.people-list .text-button{margin:0;padding:var(--space-2) 0;font-size:12px;color:var(--text-soft)}
.chip-button{display:inline-flex;align-items:center;justify-content:center;gap:var(--space-2);min-height:44px;padding:0 var(--space-4);border:1px solid var(--edge);border-radius:10px;background:var(--glass-clear);box-shadow:var(--shine);font:500 13px var(--font-body);color:var(--text)}.chip-button svg{width:17px;height:17px;stroke-width:1.5;color:var(--gold)}.chip-button:disabled{opacity:.6}
.beckon{border-color:rgb(var(--c-d4bb82)/.6);color:var(--gold-bright);animation:beckon 2.8s ease-in-out infinite}
@keyframes beckon{0%,100%{box-shadow:var(--shine),0 0 0 0 rgb(var(--c-d4bb82)/0)}50%{box-shadow:var(--shine),0 0 24px 2px rgb(var(--c-d4bb82)/.5),inset 0 0 14px rgb(var(--c-d4bb82)/.14)}}
@media(prefers-reduced-motion:reduce){.beckon{animation:none;box-shadow:var(--shine),0 0 16px 1px rgb(var(--c-d4bb82)/.35)}}
#tarot-canvas{touch-action:none;cursor:grab}#tarot-canvas:active{cursor:grabbing}.tarot-ui #tarot-share[hidden]{display:none}

/* Numerology. One column of groups, 16px apart; every row of figures is equal tracks with no orphan. */
.num-stage{display:grid;row-gap:var(--space-4);align-content:start;padding-block-end:var(--space-8)}
.num-form{display:grid;row-gap:var(--space-2)}.num-form input{block-size:48px;padding:0 var(--space-4);border:1px solid var(--edge);border-radius:var(--radius-field);background:var(--glass-field);color:var(--text);font:500 18px var(--font-display);text-align:center;letter-spacing:.3px;outline:none}.num-form input:focus{border-color:rgb(var(--c-d4bb82)/.6)}
.seg{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-1);padding:var(--space-1);border:1px solid var(--edge-soft);border-radius:12px;background:#00000052}.seg button{block-size:40px;border-radius:9px;font:500 13px var(--font-body);color:var(--text-soft)}.seg button[aria-pressed=true]{color:var(--text);background:linear-gradient(180deg,#2c2c33,#0c0c0f);box-shadow:inset 0 1px 0 #ffffff47,inset 0 -1px 0 #000}
.num-out{display:grid;row-gap:var(--space-4)}
.num-tiles{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;justify-content:center;gap:var(--space-2)}
.num-tiles li{display:grid;justify-items:center;inline-size:40px;padding:var(--space-2) 0;border:1px solid #000;border-radius:9px;background:linear-gradient(180deg,#2a2a31,#0d0d10 38%,#030304);box-shadow:inset 0 1px 0 #ffffff52,inset 0 -2px 0 #000000e6,0 6px 14px #0000008c;animation:num-tile .5s cubic-bezier(.2,.8,.2,1) both}
.num-tiles b{font:500 19px/24px var(--font-display);color:var(--gold-bright);text-shadow:0 0 12px rgb(var(--c-d4bb82)/.55)}.num-tiles i{font:500 11px/16px var(--font-display);font-style:normal;color:var(--text-soft)}.num-tiles .vowel b{color:var(--gold)}
@keyframes num-tile{from{opacity:0;transform:translateY(14px) scale(.86);filter:blur(4px)}to{opacity:1;transform:none;filter:blur(0)}}
.num-big{display:grid;justify-items:center;row-gap:var(--space-2);padding:var(--space-6) var(--space-4);border:1px solid var(--edge-soft);border-radius:var(--radius-card);background:linear-gradient(150deg,#0c0e12bf,#050608d1);backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5);box-shadow:var(--shine-soft),var(--shadow-deep)}
.num-big small,.num-figures small,.num-ledger small{font:500 10px/16px var(--font-display);letter-spacing:1.6px;text-transform:uppercase;color:var(--text-soft)}
#panel .num-big p{margin:0;display:flex;align-items:baseline;justify-content:center;gap:var(--space-4);font:500 30px/1 var(--font-display);color:var(--text-soft)}.num-big em{font-style:normal;font-size:22px;color:var(--muted)}
.num-big>i{font:500 13px/16px var(--font-display);font-style:normal;letter-spacing:.3px;color:var(--text)}
.num-big strong,.num-big p>span:only-child{font:500 76px/1 var(--font-display);background:var(--metal);-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;filter:drop-shadow(0 0 22px rgb(var(--c-d4bb82)/.5));animation:num-glow 3.4s ease-in-out infinite}
#panel .num-big.hebrew p{font:500 54px/64px "Times New Roman","Noto Serif Hebrew",serif;color:var(--gold-bright);text-shadow:0 0 22px rgb(var(--c-d4bb82)/.5)}
@keyframes num-glow{0%,100%{filter:drop-shadow(0 0 14px rgb(var(--c-d4bb82)/.35))}50%{filter:drop-shadow(0 0 30px rgb(var(--c-d4bb82)/.7))}}
.num-figures{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(var(--n,2),minmax(0,1fr));gap:var(--space-2)}
.num-figures li{display:grid;justify-items:center;row-gap:var(--space-1);padding:var(--space-3) var(--space-2);border:1px solid #ffffff1f;border-radius:16px;background:#00000057;animation:num-tile .5s ease both}.num-figures b{font:500 26px/32px var(--font-display);color:var(--text)}.num-figures i{font:400 11px/16px var(--font-body);font-style:normal;color:var(--muted)}
#panel .num-hint{margin:0;text-align:center;font-size:13px;line-height:20px;color:var(--text-soft)}
.num-ledger,.num-matches{list-style:none;margin:0;padding:var(--space-1) var(--space-4);border:1px solid var(--edge-soft);border-radius:16px;background:linear-gradient(150deg,#0c0e12bf,#050608d1);backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5)}
.num-ledger li{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:var(--space-4);padding:var(--space-3) 0;border-bottom:1px solid var(--hairline);animation:num-tile .5s ease both}.num-ledger li:last-child{border-bottom:0}.num-ledger b{font:500 18px/24px var(--font-display);color:var(--text);font-variant-numeric:tabular-nums;text-align:right}
.num-matches li{display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:var(--space-3);align-items:baseline;padding:var(--space-2) 0;font-size:14px;line-height:20px;color:var(--text)}.num-matches b{font:500 15px/20px var(--font-display);color:var(--gold)}
@media(prefers-reduced-motion:reduce){.num-tiles li,.num-figures li,.num-ledger li,.num-big strong,.num-big p>span:only-child{animation:none}}
/* Follow-up bubbles under a reading: a row of suggestions sized by their words, the same shape as the home suggestions. */
.followups{display:flex;flex-wrap:wrap;gap:var(--space-2);margin-block-start:var(--space-4);animation:scribe .5s ease-out 1.2s both}
.followups button{min-height:40px;padding:var(--space-2) var(--space-3);border:1px solid var(--edge);border-radius:20px 20px 20px 8px;background:var(--glass-clear);box-shadow:var(--shine);font:500 13px/20px var(--font-body);color:var(--text);text-align:left}

/* ── Home on the master grid, the time in the header, and the bi-wheel (AKLO, 2026-11-15: "lock all grids", "put the time in
   the real header", "composite the natal and the current sky"). This block supersedes the older absolute placement of
   .sky-clock, .stage and .sky-hud and the in-body clock rules above.
   The header: menu, an equal track, the wordmark, an equal track holding the time, the new-chat button. Equal side tracks keep
   the wordmark on the page's centre axis; the inline padding is the master grid's own margin. ── */
.app-header{grid-template-columns:44px minmax(0,1fr) auto minmax(0,1fr) 44px;column-gap:0;padding-inline:max(var(--margin),env(safe-area-inset-left),env(safe-area-inset-right))}
.app-header>*{grid-row:1}.app-header>#menu-toggle{grid-column:1}.app-header>#home{grid-column:3}.app-header>#new-chat{grid-column:5}
.app-header>#sky-time{grid-column:4;justify-self:end;font:400 12px/16px var(--font-body);letter-spacing:.2px;font-variant-numeric:tabular-nums;white-space:nowrap;color:var(--muted)}
.app-header>#sky-time:before{content:none}
/* While the new-chat button is not shown, the time takes its place, its right edge on the icons' optical column. */
body:is(:not(.chat-mode),.guest) .app-header>#sky-time{grid-column:4 / 6;padding-inline-end:var(--space-3)}
/* The welcome view is a .page-grid. The line about the selection and the location controls take the content columns; the wheel
   takes the full width between them. The top and bottom bands are equal, so the wheel's centre is the centre of the space between
   the header and the composer at every size. */
#main-view{container-type:size}
#welcome{--sky-band:var(--space-12);--wheel:min(100cqw,100cqh - 2 * var(--sky-band),540px);grid-template-rows:minmax(0,1fr) var(--sky-band) var(--wheel) var(--sky-band) minmax(0,1fr);place-items:stretch}
@media (height >= 700px){#welcome{--sky-band:var(--space-16)}}
/* The line about the selection sits at the top of the view, directly under the header (AKLO, 2026-11-15: "Put it back on top"). */
#welcome>.sky-clock{position:relative;inset:auto;grid-row:1 / span 2;align-self:start;justify-content:center;gap:var(--space-2);padding-block-start:var(--space-2)}
#welcome>.stage{position:relative;inset:auto;transform:none;grid-row:3;grid-column:1 / -1;inline-size:auto;block-size:auto;aspect-ratio:auto;overflow-x:clip}
#welcome>.sky-hud{position:relative;inset:auto;grid-row:4;align-self:start;align-content:start;gap:var(--space-1)}
#welcome .fallback-orb{width:min(48%,290px)}
/* With a chart, the key replaces the location controls: the houses drawn are the person's own. */
#welcome.has-natal .sky-location,#welcome.has-natal #sky-notice{display:none}

#sky-selection .sky-ring{margin-inline:var(--space-1) 0;font:500 9px/16px var(--font-display);letter-spacing:1.2px;text-transform:uppercase;color:var(--muted)}
/* King Scale colours, subtly: chrome glyphs with a tint, and the colour itself in a blurred layer beneath. */
.live-sky .tinted{color:rgb(var(--tint))}
:root:not([data-theme=platinum]) .live-sky .tinted{color:rgb(var(--tint-pale))}
.live-sky :is(.sky-planet,.sky-sign):is(:hover,:focus-visible,[aria-pressed=true]) .tinted{color:#fff}
.live-sky .glow-glyph{fill:currentColor;stroke:none}
#sky-glow{pointer-events:none;opacity:.6}#sky-glow .glow-sign{opacity:.55}
:root:not([data-theme=platinum]) #sky-glow{opacity:.35}
.sky-stale #sky-glow{opacity:.2}
/* The bi-wheel: the person's chart is a faint plate inside the zodiac; today's sky circles it on the open ring outside. */
.natal-plate{fill:none;stroke:#fff;stroke-opacity:.035}
.live-sky .plate-edge{stroke:rgb(var(--c-d4bb82)/0.3)}
.sky-aspect.transit{opacity:.42;stroke-width:.9}.sky-aspect.transit.related{opacity:.9;stroke-width:1.2}
/* The button that appears by a highlighted phrase in a reply. */
#phrase-chip{position:fixed;z-index:6;display:inline-flex;align-items:center;gap:var(--space-2);min-block-size:44px;padding:0 var(--space-4) 0 var(--space-3);border:1px solid var(--edge);border-radius:var(--radius-pill);background:linear-gradient(180deg,#2a2a31,#0d0d10 38%,#030304);box-shadow:inset 0 1px 0 #ffffff52,inset 0 -2px 0 #000000e6,0 10px 24px #000000b3;font:500 14px/20px var(--font-display);color:var(--text);animation:scribe .22s ease-out both}
#phrase-chip[hidden]{display:none}#phrase-chip svg{inline-size:18px;block-size:18px;fill:none;stroke:var(--gold);stroke-width:1.5;stroke-linecap:round}
/* A body's or a sign's symbol beside its name: one size, one gap, on the text's own line. */
.astro-mark{inline-size:18px;block-size:18px;flex:none;fill:currentColor;color:var(--gold)}.astro-mark.drawn{fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.big-three small,.big-three b,.chart-list .chart-body,.chart-list .chart-sign{display:inline-flex;align-items:center;gap:var(--space-1);min-inline-size:0}
/* A tile too narrow for symbol and name on one line puts the symbol above the name; the name's size follows the screen a little. */
.big-three b{flex-wrap:wrap;justify-content:center;text-align:center;font-size:clamp(14px,4.4vw,17px);line-height:20px}
/* The placements are one table: the four columns are sized once for every row, so names, degrees, signs and houses line up.
   On a narrow list "House 9" is written "H9". */
.chart-places{display:grid;grid-template-columns:minmax(0,1fr) auto auto auto;column-gap:var(--space-3)}
.chart-places li{grid-column:1 / -1;grid-template-columns:subgrid;row-gap:0;column-gap:var(--space-3)}
.chart-places .chart-body{overflow:hidden;white-space:nowrap}.chart-places .chart-sign,.chart-places small{white-space:nowrap}
.chart-places i{font-style:normal}.chart-places .house-short{display:none}
.chart-places{container-type:inline-size}@container (width < 20rem){.chart-places .house-word{display:none}.chart-places .house-short{display:inline}}
/* On the very narrowest phones the body's own symbol gives way so its name is never cut; the sign keeps its symbol. */
@container (width < 17.5rem){.chart-places li{column-gap:var(--space-2);font-size:13px}.chart-places .chart-body .astro-mark{display:none}}
.big-three small .astro-mark{inline-size:14px;block-size:14px}
/* Optical correction: the drawn symbols sit about a twelfth high in their box (the share card applies the same shift). */
.astro-mark:not(.drawn){translate:0 8.5%}
/* The menu slides like liquid. It sits --menu-x from its open place: under the finger while dragged (no easing), then it
   settles with a soft spring that runs a touch past its place and comes back; leaving, it eases away. The dimming behind
   it follows how far open it is. */
#menu{transform:translate3d(var(--menu-x,0px),0,0);will-change:transform}
#menu.settling{transition:transform .5s cubic-bezier(.3,1.28,.44,1)}#menu.settling.leaving{transition:transform .3s cubic-bezier(.4,0,.2,1)}
#menu.dragging{transition:none}
#menu::backdrop{opacity:var(--menu-open,1);transition:opacity .3s ease}#menu.dragging::backdrop{transition:none}
/* ── The wheel's three modes (AKLO, 2026-11-15: "tapping the wheel in center in the home screen to go from current sky to
   natal to composite"). The centre is a quiet tap target beneath the bodies; a mode change cross-fades the wheel, and a
   caption in the band under the wheel names the mode, laid over the location controls (which step back meanwhile) so
   nothing shifts. The first three visits pulse a small ring in the centre. ── */
#sky-centre .centre-hit{fill:transparent;stroke:none;cursor:pointer;outline:none}
#sky-centre .centre-hit:focus-visible{stroke:rgb(var(--c-e8cb8c)/0.333);stroke-width:.8}
#sky-centre .centre-hint{fill:none;stroke:rgb(var(--c-d4bb82)/0.6);stroke-width:.8;opacity:0;pointer-events:none;transform-box:fill-box;transform-origin:center}
#sky-centre.hinting .centre-hint{animation:centre-pulse 1.8s ease-out infinite}
@keyframes centre-pulse{0%{opacity:0;transform:scale(.6)}30%{opacity:.9}100%{opacity:0;transform:scale(1.6)}}
.sky-ghost{pointer-events:none;animation:wheel-out .25s ease forwards}
#sky-wheel.arriving{animation:wheel-in .25s ease}
@keyframes wheel-out{to{opacity:0}}
@keyframes wheel-in{from{opacity:0}}
/* The caption takes the location button's own text box (11px on 1.6, 8px above), so the two read on one line. */
#sky-mode{position:absolute;inset-block-start:0;inset-inline:0;padding-block:var(--space-2);font:400 11px/1.6 var(--font-body);color:var(--muted);opacity:0;pointer-events:none;transition:opacity .4s ease}
#sky-mode.shown{opacity:1;transition-duration:.2s}
.sky-location,#sky-notice{transition:opacity .2s ease}
.sky-hud:has(#sky-mode.shown) :is(.sky-location,#sky-notice){opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){#sky-centre.hinting .centre-hint{animation:none;opacity:.6}.sky-ghost,#sky-wheel.arriving{animation:none}#sky-mode,.sky-location,#sky-notice{transition:none}}
/* Wherever the S appears it is the one logo: the chrome S with the seed of life behind it, drawn from the logo file itself
   rather than a tinted cut-out (AKLO, 2026-11-16: "Use this exact logo for every S wherever it appears"). The older gold
   look keeps its gold cut-out of the same shape. */
[data-theme="platinum"] .sophy-mark{inline-size:96px;block-size:96px;background:url(/assets/logo.svg?v=2) center/contain no-repeat;-webkit-mask:none;mask:none}

/* The time is not shown on phones (AKLO, 2026-11-15 and again 2026-11-16: "I told you to remove time on mobile"). From a
   tablet up it sits in the header, top right. */
@media (width < 40rem){.app-header>#sky-time{display:none}}
/* The composer's controls are each as tall as one line of the text box (48px), so on a single line the brain, the microphone
   and the send button share its centre exactly, and when the text grows they stay beside its last line (AKLO, 2026-11-16:
   "perfectly vertically centered in the Ask Sophy bar"). */
.ask-form .mode-control,.ask-form #mode-toggle,.ask-form .icon-button,.ask-form #send{block-size:48px}
.ask-form #send{inline-size:48px}.ask-form textarea{height:48px}
/* The three symbols are one even size, so none sits half a pixel off. */
.ask-form #voice svg,.ask-form #send svg{inline-size:22px;block-size:22px}
/* Safari gives a button a lopsided padding of its own (2px above, 3px below), which set these two half a pixel high. */
.ask-form .icon-button,.ask-form #send{padding:0}
/* No orphans: a last line is never left holding a single word. Short pieces of text (buttons, headings, labels, captions)
   wrap into even lines; running text (replies, paragraphs, list items) keeps at least two words on its last line where the
   browser can do it (AKLO, 2026-11-16: "how to prevent orphan lines in general"). The property is inherited, so one rule
   on the page covers everything, and the short pieces override it. */
body{text-wrap:pretty}
h1,h2,h3,h4,button,label,summary,figcaption,.fine,.account-lede,.num-hint,.menu-label{text-wrap:balance}
/* The four suggestions each stay on one line down to 320px wide: a little less side padding, and type that follows the
   screen on the narrowest phones. */
.suggestions button{padding-inline:var(--space-3);font-size:clamp(11px,3.5vw,13px)}
/* The conversation and the bar beneath it are one column: Sophy's replies begin on the bar's left edge and the person's
   messages end on its right edge, at every width (layout law: every edge on a shared line). */
#chat-turns{width:min(100%,780px);padding-inline:var(--space-6)}
/* While the bar and the conversation run the full width of the screen (up to their 780px column) their edges are the
   header's edges, to the fraction of a pixel: all three take the page margin. Beyond that they are the centred column. */
@media (width <= 48.75rem){.composer-dock,#chat-turns{padding-inline:max(var(--margin),env(safe-area-inset-left),env(safe-area-inset-right))}}
