html body { background-color: #051328; }
:root, body, .phone {
 --bg:#051328; --panel:#0e2240; --pink:#3686ea; --pink2:#66aaf9;
 --accent:#3389eb; --accent-soft:#7ebfff; --fire-bg:#051328;
 --fire-panel:#102440; --fire-orange:#449df5; --fire-orange-soft:#85c7ff;
}
.home-head::after, #main-page:not(.fire-home) > header::after, .login-top::after, #auth-container::before {
 content:""; display:block; width:100%; aspect-ratio:8/3; flex:none;
 border-radius:14px; background:#071b37 url("/module/ico/snd-cabinet.webp") center/cover no-repeat;
}
.home-head, #main-page > header, .login-top { flex-wrap:wrap; row-gap:10px; }
#auth-container::before { margin-bottom:12px; }

html body[data-app-theme], html body:has(.fire-login-panel) {
 --fire-bg:#07152a; --fire-panel:#10223c; --fire-panel-soft:#172e50;
 --fire-ink:#f0f6ff; --fire-muted:#a4b6cd; --fire-orange:#78b5ff;
 --fire-orange-soft:#bddcff; --fire-line:#294363;
 --fire-accent-wash:rgba(80,151,245,.13); --fire-accent-line:rgba(110,174,255,.35);
 --fire-accent-shadow:rgba(44,114,225,.23);
 background-color:var(--fire-bg);
}
#main-page.fire-home > header { flex-wrap:nowrap; flex:none; min-height:55px; }
#main-page.fire-home > main { justify-content:flex-start; flex:1 0 auto; }
#main-page .snd-cover { display:block; width:100%; height:auto; aspect-ratio:8/3; flex:none; margin:6px 0 14px; border-radius:14px; }
body.tg-fullscreen #main-page.fire-home { padding-top:max(12px,env(safe-area-inset-top),var(--tg-content-safe-area-inset-top,0px)) !important; }
.fire-brand-mark img.snd-mark { display:block; width:100%; height:100%; object-fit:cover; border-radius:inherit; }
