/* Navigation shell only: detailed Bazi content remains independently replaceable. */
.signal-chart-entry { display:block; width:max-content; margin:12px auto 0; color:#efd29a; font-size:14px; text-decoration:none; visibility:hidden; }
.constellation-home[data-reading-mode="bazi"] .signal-chart-entry { visibility:visible; }
.signal-chart-entry:hover { text-decoration:underline; text-underline-offset:5px; }
.signal-chart-entry:focus-visible { outline:2px solid #efd29a; outline-offset:5px; }
body:has(#web-astro-info[data-active-tab="bazi"]) { background:#062227 url('/static/brand/bazi-background.webp') center top / cover fixed no-repeat !important; }
body:has(#web-astro-info[data-active-tab="bazi"]) .huhu-signal-nav { background:#061619e8; }
#web-astro-info[data-active-tab="bazi"] { --astro-muted:#b8c5be; --astro-line:#d2b77e40; }
#web-astro-info[data-active-tab="bazi"]::before { opacity:0; }
#web-astro-info[data-active-tab="bazi"] .web-astro-tabs button[aria-selected="true"] { color:#efd29a; }
#web-astro-info[data-active-tab="bazi"] #web-astro-profile { background:#103235; border-color:#c5a66e; color:#f3dfb3; }
#web-astro-info[data-active-tab="bazi"] #web-astro-profile option { background:#103235; color:#f3dfb3; }
body.has-desktop-rail #web-astro-info[data-active-tab="bazi"] .web-astro-profile-select .web-select-trigger { background:linear-gradient(160deg,#164044,#0b292d); border-color:#bb995e; color:#f3dfb3; box-shadow:inset 0 1px #efd29a24,0 8px 22px #001a1c55; }
body.has-desktop-rail #web-astro-info[data-active-tab="bazi"] .web-astro-profile-select .web-select-trigger:hover,
body.has-desktop-rail #web-astro-info[data-active-tab="bazi"] .web-astro-profile-select .web-select-trigger[aria-expanded="true"] { background:linear-gradient(160deg,#1d4c4d,#103338); border-color:#efd29a; }
body:has(#web-astro-info[data-active-tab="bazi"]) .web-select-menu.is-astro-profile { background:#103235; border-color:#bb995e; color:#f3dfb3; }
body:has(#web-astro-info[data-active-tab="bazi"]) .web-select-menu.is-astro-profile .web-select-option { color:#e8dcc4; }
body:has(#web-astro-info[data-active-tab="bazi"]) .web-select-menu.is-astro-profile .web-select-option:hover,
body:has(#web-astro-info[data-active-tab="bazi"]) .web-select-menu.is-astro-profile .web-select-option:focus-visible { background:#d8b97630; color:#fff1cf; }
body:has(#web-astro-info[data-active-tab="bazi"]) .web-select-menu.is-astro-profile .web-select-option[aria-selected="true"] { background:#d8b97624; color:#f7daa2; }
.cosmo-person-workspace .cosmo-person-destination { min-height:0; padding:24px; }
.cosmo-chart-destination-copy { margin:16px 0 0; font-size:14px; color:#b8b5c7; line-height:1.6; }

body:has(#web-astro-info[data-active-tab="bazi"])::before { background:#062227 url("/static/brand/bazi-background.webp") center bottom / cover no-repeat !important; opacity:1 !important; }
#web-astro-info .web-astro-tabs button { border-radius:18px 18px 0 0; }
