/* Boom Club branding for the legacy game shell. */
:root{--dc-bg:#090b16;--dc-panel:#12172a;--dc-cyan:#6cfaff;--dc-violet:#bc76ff;--dc-line:rgba(139,160,255,.22);--dc-text:#edf2ff}
html.dc-brand{color-scheme:dark}
img[data-bdc-logo="wordmark"]{object-fit:contain!important;max-width:100%}
.dc-brand body{background:#090b16;color:var(--dc-text)}
.dc-brand .dark-red-home{background:radial-gradient(ellipse at 5% 0,rgba(83,53,155,.18),transparent 50%),#090b16!important}
.dc-brand .header-container{background:rgba(12,15,29,.97)!important;border-bottom:1px solid var(--dc-line);box-shadow:0 8px 30px #0003}
.dc-brand .home-header{background:transparent!important;flex-wrap:nowrap!important;gap:8px!important}
.dc-brand .home-header .logo{position:relative;width:210px!important;min-width:0!important;max-width:210px;height:52px!important;flex:1 1 210px!important;filter:drop-shadow(0 0 9px #67caff33);animation:dc-breathe 5s ease-in-out infinite}
.dc-brand .home-header-tools{flex:0 0 auto!important;flex-wrap:nowrap!important;gap:clamp(4px,1.4vw,8px)!important;white-space:nowrap}
.dc-brand .home-header-icons{flex:0 0 clamp(24px,7vw,32px)!important;width:clamp(24px,7vw,32px)!important;height:30px!important}
.dc-brand .home-header--balance{min-width:0;max-width:clamp(65px,22vw,110px)}
.dc-brand .home-header--balance>span{min-width:0;flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff;font:600 12px/1.2 system-ui,sans-serif}
.dc-brand .home-header-button{flex:0 0 auto;flex-wrap:nowrap!important;gap:6px!important}
.dc-brand .home-header-button>button{min-width:0!important;padding-inline:10px!important;white-space:nowrap}
.dc-brand .home-header .logo>*{visibility:hidden!important}
.dc-brand .home-header .logo::after{content:"";position:absolute;inset:0;background:url('../images/lobby/boom-club-logo-light.svg?v=wordmark-2') left center/contain no-repeat;pointer-events:none}
.dc-brand .home-header--balance{background:#131a2e!important;border:1px solid var(--dc-line);color:#d9fcff!important;border-radius:20px}
.dc-brand .home-header--recharge{color:#74efff!important}
.dc-brand .section-title{color:#f0f3ff!important;letter-spacing:.025em}
.dc-brand .section-title::before{background:linear-gradient(#6cfaff,#a978ff)!important;box-shadow:0 0 12px #6cfaff55}
.dc-brand :is(.section-frame,.popular-frame,.top-game-frame,.category-showcase-frame,.category-detail-frame){background:linear-gradient(145deg,#141a2c,#0d1222)!important;border:1px solid var(--dc-line)!important;box-shadow:0 8px 28px #0002}
.dc-brand :is(.quick-action-card,.home-enter-card,.promo-card){background:linear-gradient(120deg,#1a2340,#15172e)!important;border:1px solid #7b8dce35!important}
.dc-brand :is(.game-card-item,.top-game-card,.popular-carousel__card,.category-detail-card){border:1px solid #8fa7f021;transition:transform .2s ease,box-shadow .2s ease}
@media(hover:hover){.dc-brand :is(.game-card-item,.top-game-card,.popular-carousel__card,.category-detail-card):hover{transform:translateY(-3px);box-shadow:0 0 18px #67caff25;border-color:#77dfff66}}
.dc-brand :is(.view-all,.popular-pager,.section-arrows button){color:#8befff!important;background:#172139!important;border-color:#81caff35!important}
.dc-brand .hero-dot.active{background:#8efaff!important;box-shadow:0 0 8px #8efaff80}
.dc-brand .dc-game-mark{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex:0 0 32px;padding:0;margin-right:4px;filter:drop-shadow(0 0 6px #6cfaff66);animation:dc-breathe 5s ease-in-out infinite}
.dc-brand .dc-game-mark img{width:30px!important;height:30px!important;border-radius:0!important;object-fit:contain!important}
.dc-brand .dc-game-mark:focus-visible{outline:2px solid #6cfaff;outline-offset:4px;border-radius:5px}
.dc-brand body[data-game] main,.dc-brand body[data-new-game] main{background:#0c1020}
.dc-brand body[data-game] header,.dc-brand body[data-new-game] header{background:linear-gradient(110deg,#141c32,#171329);border-bottom:1px solid var(--dc-line)}
.dc-brand body[data-game] :is(form,details),.dc-brand body[data-new-game] :is(form,details){background:#151c30;border-color:var(--dc-line)}
.dc-brand body[data-game] #play,.dc-brand body[data-new-game] #play,.dc-brand body[data-new-game] #accept{background:linear-gradient(110deg,#7ff7fa,#a6a6ff);color:#0d1328;box-shadow:0 0 16px #75efff18}
.dc-brand .dc-placeholder{font-family:Arial,sans-serif;min-height:100vh;margin:0;display:grid;place-items:center;background:radial-gradient(ellipse at top,#242048,#090b16 65%);padding:24px}
.dc-placeholder .dc-card{max-width:440px;padding:36px;border:1px solid #87aaff40;background:#11182bd9;border-radius:22px;text-align:center;box-shadow:0 24px 80px #0007}
.dc-placeholder .dc-card>img{width:min(100%,300px);filter:drop-shadow(0 0 12px #6cfaff44);animation:dc-breathe 5s ease-in-out infinite}
.dc-placeholder h1{font-size:24px;margin-top:28px}.dc-placeholder p{color:#aebbd4;line-height:1.6}.dc-placeholder a{display:inline-block;padding:12px 22px;border-radius:10px;background:linear-gradient(110deg,#7ff7fa,#a6a6ff);color:#0d1328;font-weight:bold;text-decoration:none}
@keyframes dc-breathe{0%,100%{filter:drop-shadow(0 0 5px #6cfaff33)}50%{filter:drop-shadow(0 0 12px #a878ff88)}}
@media(prefers-reduced-motion:reduce){.dc-brand .home-header .logo,.dc-brand .dc-game-mark,.dc-placeholder .dc-card>img{animation:none}.dc-brand :is(.game-card-item,.top-game-card,.popular-carousel__card,.category-detail-card){transition:none}}
html.bdc-auth img[data-bdc-logo="wordmark"]{width:min(420px,88vw)!important;height:auto!important;max-width:100%!important;max-height:none!important;object-fit:contain!important}
html.bdc-auth .logo:has(img[data-bdc-logo="wordmark"]){width:min(440px,100%)!important;height:auto!important;min-height:120px!important;max-width:100%!important;display:flex!important;align-items:center;justify-content:center;margin:20px auto 26px!important;overflow:visible!important}
@media(max-width:380px){.dc-brand .home-header .logo{height:48px!important}.dc-brand .dc-game-mark{width:24px;flex-basis:24px}.dc-brand .dc-game-mark img{width:24px!important;height:24px!important}}

/* Keep the account summary and existing icons in one header row. */
.dc-brand .dark-red-home .header-container{height:66px}
.dc-brand .dark-red-home .hero-section{margin-top:66px}
.dc-brand .home-account-summary{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0}
.dc-brand .home-account-name{display:block;max-width:100px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border:0;background:none;padding:0;color:#fff;text-align:left;font:600 11px/1.2 system-ui,sans-serif;cursor:pointer}
.dc-brand .home-account-summary .home-header--balance{min-width:84px}
.dc-brand .home-header-tools .home-header-icons{position:relative;align-self:center}
.dc-brand .home-guest-login{font-weight:700}
