/* ============================================
   TSB App Brand Scene
   Shared brand-aligned background and shell layer
   ============================================ */

html.dark {
    background-color: #0b0b0c;
}

html.dark body.tsb-brand-scene:not(.embed-mode) {
    background:
        radial-gradient(ellipse 36% 18% at 50% 0%, rgba(77, 171, 154, 0.045) 0%, rgba(77, 171, 154, 0.016) 34%, transparent 64%),
        linear-gradient(180deg, #0c0c0d 0%, #0b0b0c 100%);
    position: relative;
    overflow-x: hidden;
}

html.dark body.tsb-brand-scene:not(.embed-mode)::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.006) 0%, transparent 16%, transparent 84%, rgba(255, 255, 255, 0.004) 100%);
    opacity: 0.05;
    pointer-events: none;
    z-index: 0;
}

html.dark body.tsb-brand-scene:not(.embed-mode) .ambient-glow {
    position: fixed;
    top: -170px;
    left: 50%;
    transform: translateX(-50%);
    width: 760px;
    height: 440px;
    background: radial-gradient(ellipse at center,
        rgba(77, 171, 154, 0.055) 0%,
        rgba(77, 171, 154, 0.018) 38%,
        transparent 68%);
    pointer-events: none;
    z-index: 0;
    opacity: 0.48;
    filter: blur(76px);
}

.tsb-brand-surface {
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}

html.dark body.tsb-brand-scene:not(.embed-mode) .tsb-brand-surface {
    border-color: rgba(255, 255, 255, 0.06);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.018) 0%, rgba(255, 255, 255, 0.008) 12%, rgba(255, 255, 255, 0) 28%),
        linear-gradient(180deg, rgba(21, 24, 24, 0.9) 0%, rgba(14, 15, 15, 0.96) 100%);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        0 24px 60px rgba(0, 0, 0, 0.28);
}