/* Still-illustration stage and the existing constellation backdrop. */
.hero-visual{isolation:isolate;z-index:4;margin-bottom:72px}.hero-visual.reveal{transform:none!important}
.hero-visual .portrait-garden{inset:0;width:100%;height:100%;border:0;border-radius:0;background:radial-gradient(ellipse at 50% 52%,#dce8cd77,transparent 66%);overflow:visible;box-shadow:none}
.hero-visual .portrait-garden:before,.hero-visual .portrait-garden:after{content:none}
.portrait-sky{position:absolute;inset:0;width:100%;height:100%;overflow:visible}
.sky-curves{transform-origin:center;animation:sky-drift 18s ease-in-out infinite alternate}.sky-stars{animation:star-breathe 5s ease-in-out infinite alternate}
.portrait-foreground{position:absolute;inset:0;width:100%;height:100%;z-index:5;pointer-events:none;animation:foreground-drift 7s ease-in-out infinite alternate}
.hero-copy{padding-block:20px 40px}.hero .hero-note{margin:30px 0 36px}.hero .live-chip{padding-top:19px;border-top:1px solid #cfdabc;min-width:210px;gap:12px}
.hero-title-welcome .hero-greeting{display:block!important;line-height:1.4;font-size:.88em}
#hero-title-welcome #hero-title-user{display:block;width:fit-content;max-width:calc(100% - .7em);margin:.2em 0 0 .7em;line-height:1.5;overflow-wrap:anywhere}
#hero-title-welcome:after,#hero-title-welcome .hero-greeting:after{content:none}#hero-title-welcome #hero-title-user:after{height:1px;bottom:-4px;left:0;width:100%;background:#b9cba8;border-radius:0}
.hero-visual #portrait-carousel{position:absolute;inset:0;z-index:3;overflow:visible;perspective:none;cursor:default;touch-action:pan-y;transform:none!important;will-change:auto}
.portrait-figure{position:absolute;inset:16px 20px;pointer-events:none;user-select:none;-webkit-user-select:none;will-change:transform;backface-visibility:hidden}
.portrait-illustration{position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.portrait-illustration[hidden]{display:none}
.portrait-illustration img{display:block;width:auto;height:100%;max-width:100%;max-height:100%;object-fit:contain;object-position:center;pointer-events:none;-webkit-user-drag:none}
.hero-visual .portrait-controls{bottom:-62px}
.portrait-loading{position:absolute;bottom:16px;left:50%;transform:translateX(-50%);max-width:96%;padding:8px 13px;border:1px solid #d8e2cd;border-radius:15px;background:#fffefae8;color:#6c8059;font-size:11px;white-space:nowrap;z-index:6}
.portrait-loading[hidden]{display:none}.portrait-loading button{margin-left:8px;border:0;background:none;color:inherit;text-decoration:underline;cursor:pointer}
.account-council{display:flex;justify-content:space-between;padding:12px 8px;text-decoration:none;color:#45623c;border-top:1px solid #e5eada;font-size:13px}.account-council:hover{background:#edf3e5;border-radius:8px}
.footer .footer-meta{display:flex;flex-direction:column;align-items:flex-end;gap:2px}.footer .footer-version{min-height:26px}
html[data-theme=dark] .portrait-loading{background:#1a2b23ed;border-color:#506147;color:#d4e4bc}
@keyframes sky-drift{from{transform:rotate(-3deg) scale(.99)}to{transform:rotate(3deg) scale(1.025)}}
@keyframes star-breathe{from{opacity:.5}to{opacity:1}}
@keyframes foreground-drift{from{translate:0 -5px}to{translate:0 5px}}
@media(max-width:760px){.portrait-figure{display:none;will-change:auto}}
@media(max-width:600px){.footer .footer-meta{align-items:flex-start;gap:4px}.hero-copy{padding:0}.hero .hero-note{margin:23px 0 25px}.hero .live-chip{padding-top:14px;font-size:9px;min-width:180px}}
@media(prefers-reduced-motion:reduce){.sky-curves,.sky-stars,.portrait-foreground{animation:none}.portrait-figure{transform:none!important;will-change:auto}}

.account-popover :is(.account-council,.account-message){box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:43px;margin:0;padding:11px 12px;border:0;border-radius:10px;background:transparent;color:var(--deep);font:inherit;font-size:13px;line-height:21px;text-align:left;text-decoration:none}
.account-popover .account-council:first-of-type{margin-top:10px}
.account-popover :is(.account-council,.account-message):hover{background:var(--mint)}
.account-popover :is(.account-council,.account-message)>span:first-child{min-width:0}
.account-popover .account-council svg,.account-popover .account-message svg{width:18px;height:18px;flex:0 0 18px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.account-message-icons{display:inline-flex;align-items:center;justify-content:flex-end;gap:8px;flex-shrink:0}
