/* D palette and F header lockup. Presentation only; semantic game colors remain local. */
:root{--bg:#061426;--panel:#10243b;--text:#f4f7fc;--muted:#a9b9cc;--line:#30455f;--teal:#eaf1fc;--purple:#b7cae5;--retro-paper:#061426;--retro-panel:#10243b;--retro-ink:#f4f7fc;--retro-muted:#a9b9cc;--retro-line:#30455f;--retro-mint:#eaf1fc;--retro-deep:#091b30;color-scheme:dark}
html body{background:#061426;color:#f4f7fc}
body>.pg-account-header{background:#061426;border-bottom-color:#30455f;color:#f4f7fc}
.pg-account-header .pg-account-brand .pg-brand-logo{width:148px;height:44px;object-fit:contain;max-width:100%;mix-blend-mode:screen}
.pg-account-header .pg-session-button{background:#142b45;border-color:#3c536f;color:#f4f7fc}
.pg-account-header .pg-session-signup{background:#eaf1fc;border-color:#eaf1fc;color:#061426}
.pg-account-header :is(.pg-session-name,.pg-session-coins){color:#f4f7fc}
.pg-account-header .pg-session-status{color:#a9b9cc}
body .pg-account-header dialog.pg-menu,.pg-menu .pg-menu-heading{background:#0d2036;color:#f4f7fc;border-color:#30455f}
.pg-account-header .pg-menu-trigger,.pg-menu-heading button,.pg-menu #pgSessionSignout{background:#192f49;border-color:#3c536f;color:#fff}
body .pg-dock{background:#0d2036f5;border-color:#30455f}
.pg-dock a{color:#a9b9cc}.pg-dock a[aria-current=page]{color:#fff;background:#eaf1fc15;box-shadow:inset 0 0 0 1px #eaf1fc30}
.pg-menu nav a,#pgMenu.pg-menu .pg-menu-refresh-actions>button{color:#eef3fb;background:#ffffff08}
.welcome-home .welcome-logo{max-width:340px}.welcome-home .welcome-logo img{mix-blend-mode:screen}
.welcome-home .welcome-concept{background:none}.welcome-home :is(.welcome-copy,.welcome-eyebrow){color:#f4f7fc}.welcome-home .welcome-lead{color:#b6c7db}
.welcome-home .welcome-panel{background:#10243b;border-color:#30455f}
.welcome-home .welcome-coin-actions button{background:#192f49;border-color:#30455f;color:#c6d3e3}.welcome-home .welcome-coin-actions small{color:#a9b9cc}
.home-auth-links a,.inventory-edit-link{color:#a9ccff}
body :is(.home-profile,.home-coins,.home-ranking,.market-hub-card,.editor-preview,.editor-photo,.editor-slot,.shop-category,.item-card){background:#10243b;border-color:#30455f;color:#f4f7fc}
body .mail-market section,body .mail-market dialog{background:#10243b;border-color:#30455f;color:#f4f7fc}
body :is(.home-coins strong,.market-hub-card>span,.market-hub-card svg,.home-player>p){color:#eaf1fc}
body[data-account-home] .home-ranking thead th{background:#10243b}body[data-account-home] .home-ranking tfoot td{background:#1b3655;border-color:#8aa7cd;color:#f4f7fc}
body :is(.page-back,.market-back,.profile-editor-heading>a){background:#192f49;color:#fff}
body .profile-editor-main :is(button,.editor-choose),body .item-card button,body .mail-market button{background:#eaf1fc;color:#061426;border-color:#eaf1fc}
body .mail-market .market-tabs button{background:#192f49;color:#c6d3e3;border-color:#30455f}
body .mail-market .market-tabs button[aria-selected=true]{background:#eaf1fc;color:#061426}
body :is(.editor-slot select,.mail-market input,.mail-market select){background:#0a1b30;border-color:#3c536f;color:#f4f7fc}
body .gacha-card,body #cResult{background:#10243b;border-color:#30455f}
body .item-card.rarity-UR{border-color:#e7bc57}body .item-card.rarity-SR{border-color:#af86e4}body .item-card.rarity-R{border-color:#56c2e1}
body .account-auth-modes button{background:#192f49;border-color:#30455f;color:#eef3fb}body .account-auth-modes button[aria-pressed=true]{background:#eaf1fc;color:#061426}
body.retro-theme :is(.button.primary,.button.accent){background:#eaf1fc;border-color:#eaf1fc;color:#061426;box-shadow:none}
body.retro-theme :is(.button.secondary,.button.quiet){background:#192f49;border-color:#3c536f;color:#eef3fb;box-shadow:none}
body .lobby-game{background:#10243b;border-color:#30455f}body .lobby-game-copy{background:#10243b;color:#f4f7fc}body .lobby-play{color:#f4f7fc}
body :is(a,button,input,select):focus-visible{outline-color:#a9ccff}
@media(max-width:420px){.pg-account-header .pg-account-brand .pg-brand-logo{width:128px;height:40px}}@media(max-width:350px){.pg-account-header .pg-account-brand .pg-brand-logo{width:108px;height:36px}}
html body.retro-theme,html body.retro-theme:is(.hl-page,.pl-page,.rc-page,.cr-page,.challenge-page){background:#061426;color:#f4f7fc}
body.retro-theme .header{background:#061426;border-color:#30455f;box-shadow:none}
.pg-account-header .pg-account-brand .pg-brand-logo,.welcome-home .welcome-logo img{mix-blend-mode:lighten}
body .home-avatar-placeholder,body .editor-avatar-initials{background:#192f49;color:#fff;border-color:#8aa7cd}

/* Restrained static heading glow; no animation, layout changes or game-state styles. */
body main :is(h1,h2){text-shadow:0 0 14px rgb(77 165 255 / 20%)}
body main :is(.page-title,.welcome-panel-title,.rank-heading){background-image:radial-gradient(ellipse at center,rgb(35 125 230 / 12%),transparent 72%)}
body main>header h1,body main>h1{background-image:radial-gradient(ellipse at center,rgb(35 125 230 / 12%),transparent 72%)}
@media (prefers-contrast:more){body main :is(h1,h2){text-shadow:none}body main :is(.page-title,.welcome-panel-title,.rank-heading),body main>header h1,body main>h1{background-image:none}}
