/* BullsBet visual integration
 * Based on the supplied HTML reference. This file is intentionally isolated
 * from the legacy stylesheet so the patch can be removed/reverted cleanly.
 */
:root{
  --bb-bg:#0a0e0c;
  --bb-surface:#121a16;
  --bb-card:#14201a;
  --bb-card-hover:#1c2c24;
  --bb-border:#263d32;
  --bb-accent:#1bbd56;
  --bb-accent-dark:#159243;
  --bb-green:#10b981;
  --bb-green-dark:#059669;
  --bb-red:#ef4444;
  --bb-red-dark:#dc2626;
  --bb-gold:#a3e635;
  --bb-blue:#35dbb2;
  --bb-text:#f8fafc;
  --bb-muted:#94a3b8;
  --bb-shadow:0 24px 52px rgba(0,0,0,.30);
  --bg:var(--bb-bg);
  --bg-2:var(--bb-surface);
  --panel:var(--bb-card);
  --panel-2:var(--bb-card-hover);
  --text:var(--bb-text);
  --muted:var(--bb-muted);
  --border:var(--bb-border);
  --accent:var(--bb-accent);
  --green:var(--bb-green);
  --red:var(--bb-red);
  --yellow:var(--bb-gold);
  --radius:12px;
}

html{background:var(--bb-bg);scroll-behavior:smooth}
html.bb-menu-open,html.bb-menu-open body{overflow:hidden}
body.bullsbet-theme{
  margin:0;
  min-height:100vh;
  background:var(--bb-bg)!important;
  color:var(--bb-text);
  font-family:'Inter',system-ui,-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  font-size:14px;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.bullsbet-theme::selection{background:var(--bb-green);color:#fff}
body.bullsbet-theme *{box-sizing:border-box}
body.bullsbet-theme a{text-decoration:none}
body.bullsbet-theme ::-webkit-scrollbar{width:6px;height:6px}
body.bullsbet-theme ::-webkit-scrollbar-track{background:var(--bb-bg)}
body.bullsbet-theme ::-webkit-scrollbar-thumb{background:var(--bb-border);border-radius:4px}
body.bullsbet-theme ::-webkit-scrollbar-thumb:hover{background:#34d399}
body.bullsbet-theme .container{width:min(1280px,calc(100% - 32px));margin-inline:auto}

/* Topbar */
.bb-topbar{position:sticky;top:0;z-index:80;background:rgba(18,33,26,.95);backdrop-filter:blur(16px);border-bottom:1px solid var(--bb-border)}
.bb-topbar-inner{width:min(1280px,calc(100% - 24px));min-height:62px;margin:0 auto;display:flex;align-items:center;justify-content:space-between;gap:12px}
.bb-brand-wrap{display:flex;align-items:center;gap:9px;min-width:240px}
.bb-brand{display:flex;align-items:center;gap:10px;min-width:0;color:#fff}
.bb-brand-image{display:block;max-width:240px;height:48px;width:auto;object-fit:contain}
.bb-brand-mark{display:grid;place-items:center;width:36px;height:36px;border-radius:18px;background:linear-gradient(145deg,#047857,#10b981,#00e701);box-shadow:0 8px 24px rgba(16,185,129,.22);color:#ffffff;flex:none}
.bb-brand-mark svg{width:20px;height:20px;fill:currentColor}
.bb-brand-copy{display:flex;flex-direction:column;min-width:0;line-height:1}
.bb-brand-copy strong{font-size:19px;letter-spacing:-.03em;font-weight:900;color:#fff;max-width:155px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.bb-brand-copy small{margin-top:5px;color:var(--bb-muted);font-size:9px;letter-spacing:.15em;text-transform:uppercase;font-weight:700;white-space:nowrap}
.bb-main-tabs{display:flex;align-items:center;gap:2px;padding:4px;background:rgba(11,20,16,.90);border:1px solid rgba(38,67,53,.84);border-radius:18px;white-space:nowrap}
.bb-main-tabs a{display:flex;align-items:center;gap:6px;padding:8px 10px;border-radius:14px;color:#cbd5e1;font-size:11px;font-weight:800;transition:.18s ease}
.bb-main-tabs a:hover{background:var(--bb-card);color:#fff}
.bb-main-tabs a.is-active{background:var(--bb-green);color:#ffffff;box-shadow:0 4px 14px rgba(16,185,129,.20)}
.bb-main-tabs a svg{width:14px;height:14px}
.bb-main-tabs a em{padding:2px 5px;border-radius:4px;background:rgba(16,185,129,.15);color:var(--bb-accent);font-size:8px;font-style:normal;font-weight:900;text-transform:uppercase}
.bb-main-tabs a.is-active em{background:rgba(0,0,0,.15);color:#031006}
.bb-live-dot{display:inline-block;width:7px;height:7px;border-radius:50%;background:#ef4444;box-shadow:0 0 0 4px rgba(239,68,68,.12);animation:bbPulse 1.5s infinite}
@keyframes bbPulse{0%,100%{opacity:1}50%{opacity:.36}}
.bb-global-search{position:relative;display:flex;align-items:center;flex:1;max-width:280px;margin:0}
.bb-global-search>svg{position:absolute;left:11px;width:15px;height:15px;color:#64748b;pointer-events:none}
.bb-global-search input{height:34px!important;margin:0!important;padding:0 11px 0 34px!important;border:1px solid var(--bb-border)!important;border-radius:14px!important;background:var(--bb-bg)!important;color:#fff!important;font-size:11px!important;box-shadow:none!important}
.bb-global-search input::placeholder{color:#64748b}
.bb-global-search input:focus{border-color:var(--bb-accent)!important;box-shadow:0 0 0 2px rgba(0,231,1,.08)!important}
.bb-account-actions{display:flex;align-items:center;gap:8px;min-width:max-content}
.bb-balance{display:flex;flex-direction:column;align-items:flex-end;justify-content:center;min-width:104px;min-height:38px;padding:5px 10px;border:1px solid var(--bb-border);border-radius:14px;background:var(--bb-card)}
.bb-balance small{color:#94a3b8;font-size:8px;line-height:1;text-transform:uppercase;font-weight:800;letter-spacing:.04em}
.bb-balance strong{margin-top:4px;color:var(--bb-accent);font-size:12px;font-weight:900;line-height:1;font-variant-numeric:tabular-nums}
.bb-deposit-btn{display:flex;align-items:center;gap:5px;min-height:36px;padding:0 12px;border-radius:14px;background:linear-gradient(90deg,var(--bb-accent),var(--bb-green));color:#ffffff!important;font-size:11px;font-weight:900;box-shadow:0 8px 22px rgba(16,185,129,.18);transition:.18s ease}
.bb-deposit-btn:hover{filter:brightness(1.08);transform:translateY(-1px)}
.bb-deposit-btn svg{width:14px;height:14px;fill:currentColor}.bb-deposit-btn small{font-size:9px;font-weight:600;opacity:.74}
.bb-login-btn{min-height:34px;display:grid;place-items:center;padding:0 12px;border:1px solid var(--bb-border);border-radius:14px;background:var(--bb-card);color:#e2e8f0!important;font-size:11px;font-weight:800}
.bb-icon-btn{width:36px;height:36px;padding:0;border:1px solid var(--bb-border);border-radius:14px;background:var(--bb-card);color:#cbd5e1;display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.bb-icon-btn:hover{background:var(--bb-card-hover);color:#fff;border-color:#3b594a}
.bb-icon-btn svg{width:17px;height:17px}.bb-mobile-only{display:none}

/* Quick category bar */
.bb-quickbar{position:relative;z-index:60;background:rgba(18,33,26,.62);border-bottom:1px solid rgba(38,67,53,.72)}
.bb-quickbar-inner{width:min(1280px,calc(100% - 24px));margin:0 auto;min-height:44px;display:flex;align-items:center;justify-content:space-between;gap:14px}
.bb-chip-row{display:flex;align-items:center;gap:7px;min-width:0;overflow:auto;scrollbar-width:none}.bb-chip-row::-webkit-scrollbar{display:none}
.bb-chip{display:inline-flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 10px;border-radius:999px;border:1px solid var(--bb-border);background:var(--bb-card);color:#cbd5e1!important;font-size:10px;font-weight:700;transition:.18s ease}
.bb-chip:hover{background:var(--bb-card-hover);color:#fff!important}.bb-chip svg{width:13px;height:13px}.bb-chip.is-active{border-color:var(--bb-accent);background:rgba(16,185,129,.14);color:var(--bb-accent)!important;font-weight:900}
.bb-quick-promo{display:flex;align-items:center;gap:6px;white-space:nowrap;padding:5px 10px;border:1px solid rgba(245,158,11,.38);border-radius:999px;background:linear-gradient(90deg,rgba(245,158,11,.12),rgba(234,179,8,.08));color:#cff097!important;font-size:10px}
.bb-quick-promo svg{width:13px;height:13px;color:#fbbf24}.bb-quick-promo strong{font-weight:900}.bb-quick-promo span{padding:1px 5px;border-radius:4px;background:#eab308;color:#14241c;font-size:8px;font-weight:900}

/* User shell/sidebar */
.bb-user-shell{padding:16px 0 0!important;background:var(--bb-bg)!important}
.bb-user-layout{width:min(1280px,calc(100% - 24px));margin:0 auto;display:grid;grid-template-columns:220px minmax(0,1fr);gap:20px;align-items:start}
.bb-user-content{min-width:0;display:flex;flex-direction:column;gap:16px;padding:0 0 24px}
.bb-sidebar{position:sticky;top:122px;display:flex;flex-direction:column;gap:17px;padding:13px 11px;border:1px solid var(--bb-border);border-radius:20px;background:var(--bb-surface);box-shadow:0 18px 44px rgba(0,0,0,.18);max-height:calc(100vh - 138px);overflow:auto;z-index:30}
.bb-sidebar-mobile-head{display:none;align-items:center;justify-content:space-between;padding:0 2px 10px;border-bottom:1px solid var(--bb-border);color:#fff;font-size:12px}
.bb-promo-card{position:relative;overflow:hidden;display:flex;flex-direction:column;gap:7px;padding:12px;border:1px solid rgba(245,158,11,.30);border-radius:18px;background:radial-gradient(circle at 95% 0,rgba(245,158,11,.16),transparent 32%),linear-gradient(135deg,rgba(245,158,11,.05),var(--bb-card) 48%,rgba(16,185,129,.08));color:#fff!important;text-align:center}
.bb-promo-card::after{content:"";position:absolute;right:-18px;top:-22px;width:58px;height:58px;border-radius:50%;background:rgba(245,158,11,.14);filter:blur(8px)}
.bb-promo-title{display:flex;align-items:center;justify-content:center;gap:6px;color:#fcd34d;font-size:10px;font-weight:900;letter-spacing:.08em}.bb-promo-title svg{width:14px;height:14px}
.bb-promo-card small{color:#cbd5e1;font-size:9px;line-height:1.45}.bb-promo-card>strong{padding:6px;border-radius:13px;background:#eab308;color:#14241c;font-size:9px;font-weight:950;letter-spacing:.02em}
.bb-side-group{display:flex;flex-direction:column;gap:3px}.bb-side-title{display:flex;align-items:center;justify-content:space-between;padding:0 7px 5px;color:#64748b;font-size:9px;font-weight:900;text-transform:uppercase;letter-spacing:.09em}.bb-side-title svg{width:12px;height:12px;color:var(--bb-accent)}
.bb-side-group>a{display:flex;align-items:center;justify-content:space-between;gap:7px;padding:8px 9px;border-radius:14px;color:#cbd5e1!important;font-size:10px;font-weight:650;transition:.16s ease}.bb-side-group>a:hover,.bb-side-group>a.is-active{background:var(--bb-card);color:#fff!important}.bb-side-group>a.is-active{box-shadow:inset 2px 0 0 var(--bb-accent)}
.bb-side-group>a>span{display:flex;align-items:center;gap:8px;min-width:0}.bb-side-group>a svg{width:14px;height:14px;color:#34d399;flex:none}.bb-side-group>a b{padding:2px 5px;border-radius:4px;background:rgba(16,185,129,.15);color:var(--bb-accent);font-size:8px;font-weight:900}
.bb-sidebar-backdrop{display:none;position:fixed;inset:0;z-index:89;border:0;background:rgba(0,0,0,.68);backdrop-filter:blur(3px)}

/* User dropdown */
.bb-user-menu{position:relative}.bb-user-menu>summary{list-style:none;cursor:pointer}.bb-user-menu>summary::-webkit-details-marker{display:none}.bb-user-menu .avatar-circle{width:28px;height:28px;border:0;border-radius:13px;background:#20382c;color:#e2e8f0;font-size:10px}
.bb-user-menu .user-menu-panel{right:0;top:43px;min-width:205px;padding:7px;border:1px solid var(--bb-border)!important;border-radius:16px!important;background:rgba(18,33,26,.98)!important;box-shadow:0 24px 50px rgba(0,0,0,.44)!important;backdrop-filter:blur(14px)}
.bb-user-menu .user-menu-panel a{padding:9px 10px;border-radius:13px;color:#dbe5ef!important;font-size:11px}.bb-user-menu .user-menu-panel a:hover{background:var(--bb-card-hover)!important}.bb-user-menu .user-menu-panel svg{width:14px;height:14px}.bb-user-menu .user-menu-panel a.danger{color:#fca5a5!important}

/* Legacy component normalization */
body.bullsbet-theme .page-intro{padding:2px 0 3px!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.bullsbet-theme .page-intro h1{margin:0;color:#fff!important;font-size:22px!important;font-weight:900!important;letter-spacing:-.02em}
body.bullsbet-theme .page-intro p{margin:4px 0 0;color:var(--bb-muted)!important;font-size:11px}
body.bullsbet-theme .panel,
body.bullsbet-theme .market-card,
body.bullsbet-theme .market-card-v3,
body.bullsbet-theme .stat-card,
body.bullsbet-theme .checkout-vexi-card,
body.bullsbet-theme .settings-box,
body.bullsbet-theme .tree-item,
body.bullsbet-theme .message-bubble,
body.bullsbet-theme .mini-stat,
body.bullsbet-theme .alert-box{
  border:1px solid var(--bb-border)!important;
  border-radius:18px!important;
  background:var(--bb-card)!important;
  box-shadow:none!important;
}
body.bullsbet-theme .panel{padding:16px}
body.bullsbet-theme .panel-head{margin-bottom:13px;padding-bottom:10px;border-bottom:1px solid rgba(38,67,53,.72)}
body.bullsbet-theme .panel-head h3,body.bullsbet-theme .section-head h2{font-size:14px!important;font-weight:850!important;color:#fff!important}
body.bullsbet-theme .muted{color:var(--bb-muted)!important}
body.bullsbet-theme input,body.bullsbet-theme textarea,body.bullsbet-theme select{
  border:1px solid var(--bb-border)!important;border-radius:14px!important;background:var(--bb-bg)!important;color:#fff!important;box-shadow:none!important;font-size:12px!important
}
body.bullsbet-theme input:focus,body.bullsbet-theme textarea:focus,body.bullsbet-theme select:focus{border-color:var(--bb-accent)!important;box-shadow:0 0 0 2px rgba(0,231,1,.08)!important}
body.bullsbet-theme label{color:#cbd5e1;font-size:11px;font-weight:700}
body.bullsbet-theme .btn{min-height:36px;padding:8px 12px;border-radius:14px!important;font-size:11px;font-weight:850;transform:none!important}
body.bullsbet-theme .btn-primary,body.bullsbet-theme .btn-success{border:0!important;background:var(--bb-accent)!important;color:#ffffff!important;box-shadow:0 8px 22px rgba(0,231,1,.12)!important}
body.bullsbet-theme .btn-primary:hover,body.bullsbet-theme .btn-success:hover{background:#21f522!important;filter:brightness(1.03)}
body.bullsbet-theme .btn-secondary{background:#35dbb2!important}.bullsbet-theme .btn-ghost{background:var(--bb-card)!important;border:1px solid var(--bb-border)!important;color:#dbe5ef!important}.bullsbet-theme .btn-danger{background:#dc2626!important}
body.bullsbet-theme .table-wrap{border:1px solid var(--bb-border);border-radius:16px;overflow:auto}
body.bullsbet-theme .table{min-width:620px;background:transparent!important;border:0!important;border-radius:0!important}
body.bullsbet-theme .table th{background:#12221a!important;color:#94a3b8!important;font-size:9px!important;text-transform:uppercase;letter-spacing:.06em}
body.bullsbet-theme .table td{background:transparent!important;color:#dbe5ef!important;font-size:11px;border-color:rgba(38,67,53,.65)!important}
body.bullsbet-theme .status-pill{border-radius:999px!important;font-size:9px!important}
body.bullsbet-theme .toast{border:1px solid rgba(0,231,1,.36)!important;background:rgba(24,44,34,.98)!important;color:#fff!important;box-shadow:var(--bb-shadow)!important}

/* Prediction/home feed */
body.bullsbet-theme .hero-section{padding:0 0 20px!important}
body.bullsbet-theme .category-row{gap:7px!important;margin:0 0 11px!important;padding:0 0 10px!important;border-bottom:1px solid rgba(38,67,53,.64)!important;scrollbar-width:none}
body.bullsbet-theme .category-row::-webkit-scrollbar{display:none}
body.bullsbet-theme .category-row a{padding:6px 9px!important;border:1px solid var(--bb-border)!important;border-radius:999px!important;background:var(--bb-card)!important;color:#cbd5e1!important;font-size:10px!important;font-weight:750!important}
body.bullsbet-theme .category-row a.active{border-color:var(--bb-accent)!important;background:rgba(16,185,129,.13)!important;color:var(--bb-accent)!important}
body.bullsbet-theme .search-shell{margin:0 0 14px!important;gap:8px!important}.bullsbet-theme .search-box{height:38px;border:1px solid var(--bb-border)!important;border-radius:15px!important;background:var(--bb-bg)!important}.bullsbet-theme .search-box svg{color:#64748b}.bullsbet-theme .search-shell .search-input{height:36px!important;border:0!important;background:transparent!important;padding-block:0!important}.bullsbet-theme .filter-button{width:38px;height:38px;padding:0!important;border:1px solid var(--bb-border)!important;border-radius:15px!important;background:var(--bb-card)!important;color:#cbd5e1!important}
body.bullsbet-theme .market-grid,body.bullsbet-theme .market-grid-v3{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px!important}
body.bullsbet-theme .market-card,body.bullsbet-theme .market-card-v3{overflow:hidden;transition:.18s ease;background:rgba(24,44,34,.90)!important}
body.bullsbet-theme .market-card:hover,body.bullsbet-theme .market-card-v3:hover{background:var(--bb-card-hover)!important;border-color:#3a5a4a!important;transform:translateY(-1px)}
body.bullsbet-theme .market-cover{min-height:142px!important;border-bottom:1px solid var(--bb-border)}
body.bullsbet-theme .market-cover::after{background:linear-gradient(180deg,rgba(6,10,8,.04),rgba(8,14,11,.70))!important}
body.bullsbet-theme .market-body,body.bullsbet-theme .market-body-v3{padding:12px!important}
body.bullsbet-theme .market-body h3,body.bullsbet-theme .market-body-v3 h3{margin:0!important;color:#fff!important;font-size:12px!important;line-height:1.38!important;font-weight:800!important}
body.bullsbet-theme .market-title-row{align-items:flex-start!important;margin-bottom:10px!important}
body.bullsbet-theme .market-time-pill{padding:3px 6px!important;border:1px solid var(--bb-border)!important;border-radius:5px!important;background:rgba(11,20,16,.7)!important;color:#94a3b8!important;font-size:8px!important;white-space:nowrap}
body.bullsbet-theme .chip{padding:4px 7px!important;border-radius:999px!important;font-size:8px!important;background:rgba(11,20,16,.64)!important;border:1px solid rgba(255,255,255,.10)!important;backdrop-filter:blur(7px)}
body.bullsbet-theme .chip-green{background:rgba(16,185,129,.16)!important;color:#6ee7b7!important;border-color:rgba(16,185,129,.32)!important}
body.bullsbet-theme .market-odds,body.bullsbet-theme .market-odds-v3{gap:7px!important}.bullsbet-theme .odd-box{padding:8px 9px!important;border-radius:14px!important}.bullsbet-theme .odd-box small{font-size:9px!important}.bullsbet-theme .odd-box strong{font-size:14px!important}.bullsbet-theme .odd-yes{background:rgba(16,185,129,.10)!important;border-color:rgba(16,185,129,.32)!important;color:#34d399!important}.bullsbet-theme .odd-no{background:rgba(239,68,68,.09)!important;border-color:rgba(239,68,68,.30)!important;color:#f87171!important}
body.bullsbet-theme .market-option-row{padding:6px 0!important;border-bottom:1px solid rgba(38,67,53,.55)}.bullsbet-theme .market-option-row strong{font-size:11px!important}.bullsbet-theme .market-option-tag{font-size:9px!important}

/* Public reference area supplied with the site */
.bullsbet-theme .bb-public-shell{background:var(--bb-bg);min-height:60vh}
.bullsbet-theme .home-reference-tabs{display:none!important}
.bullsbet-theme .home-reference-shell{grid-template-columns:220px minmax(0,1fr)!important;gap:20px!important}
.bullsbet-theme .home-reference-sidebar{padding:12px 10px!important;border:1px solid var(--bb-border)!important;border-radius:20px!important;background:var(--bb-surface)!important;box-shadow:none!important;gap:2px!important;position:sticky;top:122px}
.bullsbet-theme .home-reference-sidebar a{padding:8px 9px!important;border-radius:14px!important;color:#cbd5e1!important;font-size:10px!important}.bullsbet-theme .home-reference-sidebar a:hover,.bullsbet-theme .home-reference-sidebar a.active{background:var(--bb-card)!important;color:#fff!important}.bullsbet-theme .home-reference-sidebar svg{color:#34d399!important;width:14px!important}.bullsbet-theme .home-reference-side-title{color:#64748b!important;font-size:9px!important;margin:9px 7px 4px!important}
.bullsbet-theme .home-reference-spotlight{grid-template-columns:minmax(0,1fr) 236px!important;padding:16px!important;border:1px solid var(--bb-border)!important;border-radius:20px!important;background:linear-gradient(180deg,var(--bb-surface),var(--bb-card),var(--bb-surface))!important;box-shadow:0 22px 44px rgba(0,0,0,.22)!important}
.bullsbet-theme .spotlight-title-row h1{color:#fff!important;font-size:20px!important}.bullsbet-theme .spotlight-title-row>strong{color:var(--bb-accent)!important}.bullsbet-theme .spotlight-chart{border-color:var(--bb-border)!important;background:rgba(11,20,16,.82)!important}.bullsbet-theme .spotlight-binary a{border-color:rgba(16,185,129,.38)!important;background:rgba(16,185,129,.09)!important}.bullsbet-theme .spotlight-binary a.no{border-color:rgba(239,68,68,.34)!important;background:rgba(239,68,68,.08)!important}.bullsbet-theme .spotlight-side>div{border-color:var(--bb-border)!important;background:var(--bb-card)!important}.bullsbet-theme .spotlight-bonus{background:linear-gradient(145deg,rgba(16,185,129,.17),var(--bb-card))!important;border-color:rgba(16,185,129,.36)!important}.bullsbet-theme .spotlight-bonus a{background:var(--bb-accent)!important;color:#ffffff!important}

/* Prediction detail */
.bullsbet-theme .prediction-layout{grid-template-columns:minmax(0,1.55fr) minmax(280px,.72fr)!important;gap:14px!important}.bullsbet-theme .prediction-main,.bullsbet-theme .prediction-side{padding:15px!important}.bullsbet-theme .prediction-title-block h1{font-size:21px!important}.bullsbet-theme .prediction-avatar{width:48px!important;height:48px!important;border-radius:16px!important}.bullsbet-theme .bet-option-box{border-radius:15px!important;border-color:rgba(16,185,129,.35)!important;background:rgba(16,185,129,.08)!important}.bullsbet-theme .bet-option-box.is-red{border-color:rgba(239,68,68,.34)!important;background:rgba(239,68,68,.07)!important}.bullsbet-theme .bet-option-box.active,.bullsbet-theme .bet-option-box:has(input:checked){border-color:var(--bb-accent)!important;box-shadow:0 0 0 2px rgba(0,231,1,.09) inset!important}

/* Slots lobby */
.bullsbet-theme .slots-lobby{background:var(--bb-bg)!important}.bullsbet-theme .slots-layout{max-width:1280px!important;gap:18px!important}.bullsbet-theme .slots-sidebar{width:210px!important;border:1px solid var(--bb-border)!important;border-radius:20px!important;background:var(--bb-surface)!important;box-shadow:none!important}.bullsbet-theme .slots-side-brand{color:#fff!important}.bullsbet-theme .slots-side-link{border-radius:14px!important;color:#cbd5e1!important;font-size:10px!important}.bullsbet-theme .slots-side-link:hover,.bullsbet-theme .slots-side-link.is-active{background:var(--bb-card)!important;color:#fff!important}.bullsbet-theme .slots-side-link svg{color:#34d399!important}.bullsbet-theme .slots-hero{border:1px solid var(--bb-border)!important;border-radius:20px!important;background:radial-gradient(circle at 90% 5%,rgba(16,185,129,.16),transparent 30%),linear-gradient(135deg,#122019,var(--bb-card))!important;box-shadow:none!important}.bullsbet-theme .slots-hero-btn,.bullsbet-theme .slots-searchbar button{background:var(--bb-accent)!important;color:#ffffff!important}.bullsbet-theme .slots-category-bar a,.bullsbet-theme .slots-searchbar{border-color:var(--bb-border)!important;background:var(--bb-card)!important}.bullsbet-theme .slots-game-card{border:1px solid var(--bb-border)!important;border-radius:16px!important;background:var(--bb-card)!important;color:#fff!important;overflow:hidden;transition:.18s ease}.bullsbet-theme .slots-game-card:hover{border-color:#3a5a4a!important;background:var(--bb-card-hover)!important;transform:translateY(-1px)}.bullsbet-theme .slots-game-card strong{font-size:10px!important}.bullsbet-theme .slots-game-card small{font-size:8px!important;color:#94a3b8!important}.bullsbet-theme .slots-row-heading h2{font-size:14px!important}.bullsbet-theme .slots-row-heading h2 svg{color:var(--bb-accent)!important}

/* Checkout / wallet */
.bullsbet-theme .checkout-vexi-wrap,.bullsbet-theme .deposit-modal-wrap{max-width:900px!important}.bullsbet-theme .checkout-vexi-grid,.bullsbet-theme .deposit-body-grid{gap:14px!important}.bullsbet-theme .checkout-amount-btn,.bullsbet-theme .preset-amount{border:1px solid var(--bb-border)!important;border-radius:14px!important;background:var(--bb-card)!important;color:#fff!important}.bullsbet-theme .checkout-amount-btn:hover,.bullsbet-theme .preset-amount:hover{border-color:var(--bb-accent)!important;background:rgba(16,185,129,.10)!important}.bullsbet-theme .checkout-qr-box,.bullsbet-theme .qr-wrap-clean{border-radius:16px!important}.bullsbet-theme .value-card,.bullsbet-theme .copy-card{background:rgba(11,20,16,.62)!important;border:1px solid var(--bb-border)!important;border-radius:15px!important}

/* Auth */
.bullsbet-theme .auth-section{padding:36px 0!important}.bullsbet-theme .auth-card{width:min(440px,calc(100% - 24px))!important;margin:0 auto!important;padding:22px!important;border:1px solid var(--bb-border)!important;border-radius:20px!important;background:linear-gradient(180deg,var(--bb-surface),#0f1d16)!important;box-shadow:0 28px 70px rgba(0,0,0,.34)!important}.bullsbet-theme .auth-card h1,.bullsbet-theme .auth-card h2{font-size:23px!important;color:#fff!important}.bullsbet-theme .auth-links a,.bullsbet-theme .auth-popup-switch a{color:var(--bb-accent)!important}.bullsbet-theme .auth-popup-card{border-color:var(--bb-border)!important;background:linear-gradient(180deg,var(--bb-surface),var(--bb-bg))!important}.bullsbet-theme .auth-popup-tabs button.active{border-color:var(--bb-accent)!important;color:#fff!important}

/* Footer */
body.bullsbet-theme .site-footer{margin-top:30px!important;border-top:1px solid var(--bb-border)!important;background:var(--bb-surface)!important;color:#94a3b8!important}.bullsbet-theme .footer-exact-v31 .pbx-shell{max-width:1280px!important}.bullsbet-theme .footer-exact-v31 .pbx-title{color:#94a3b8!important}.bullsbet-theme .footer-exact-v31 .pbx-market-main{color:#f8fafc!important}.bullsbet-theme .footer-exact-v31 .pbx-link{color:#94a3b8!important}.bullsbet-theme .footer-exact-v31 .pbx-bottom{border-color:var(--bb-border)!important}

/* Chat */
.bullsbet-theme .pbx-chat-launcher{background:var(--bb-accent)!important;color:#ffffff!important;box-shadow:0 14px 32px rgba(0,231,1,.22)!important}.bullsbet-theme .pbx-chat{border-color:var(--bb-border)!important;background:var(--bb-surface)!important}.bullsbet-theme .pbx-chat-head,.bullsbet-theme .pbx-chat-foot{background:var(--bb-card)!important;border-color:var(--bb-border)!important}

@media (max-width:1180px){
  .bb-global-search{display:none}
  .bb-main-tabs a{padding-inline:8px}.bb-main-tabs a em{display:none}
  .bb-user-layout{grid-template-columns:205px minmax(0,1fr)}
}
@media (max-width:960px){
  .bb-main-tabs{display:none}
  .bb-mobile-only{display:grid}
  .bb-brand-wrap{min-width:0}.bb-balance{display:none}
  .bb-quickbar.is-mobile-open{display:block}
  .bb-user-layout{display:block;width:min(100% - 20px,100%)}
  .bb-sidebar{position:fixed;left:0;top:0;bottom:0;z-index:100;width:min(280px,86vw);max-height:none;border-radius:0 20px 20px 0;transform:translateX(-105%);transition:transform .24s ease;box-shadow:20px 0 56px rgba(0,0,0,.42)}
  .bb-sidebar.is-open{transform:translateX(0)}
  .bb-sidebar-mobile-head{display:flex}.bb-sidebar-backdrop.is-open{display:block}
  .bullsbet-theme .home-reference-shell{grid-template-columns:1fr!important}.bullsbet-theme .home-reference-sidebar{position:static!important;display:flex!important;overflow:auto!important;flex-direction:row!important;align-items:center}.bullsbet-theme .home-reference-side-title{display:none!important}.bullsbet-theme .home-reference-sidebar a{white-space:nowrap!important}
  .bullsbet-theme .prediction-layout{grid-template-columns:1fr!important}
}
@media (max-width:760px){
  .bb-topbar-inner{min-height:58px}.bb-account-actions{gap:6px}.bb-ticket-btn{display:none}.bb-deposit-btn small{display:none}.bb-brand-image{max-width:180px;height:40px}.bb-brand-copy strong{font-size:17px}.bb-brand-copy small{display:none}
  .bb-quickbar-inner{min-height:40px}.bb-quick-promo{display:none}.bb-chip-row{width:100%}
  body.bullsbet-theme .container{width:min(100% - 20px,100%)}
  body.bullsbet-theme .market-grid,body.bullsbet-theme .market-grid-v3{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .bullsbet-theme .home-reference-spotlight{grid-template-columns:1fr!important}.bullsbet-theme .spotlight-side{grid-template-columns:repeat(3,minmax(0,1fr))!important}
  .bullsbet-theme .slots-sidebar{display:none!important}.bullsbet-theme .slots-layout{display:block!important}.bullsbet-theme .slots-content{width:100%!important}
}
@media (max-width:520px){
  .bb-topbar-inner{width:calc(100% - 16px)}.bb-brand-wrap{gap:6px}.bb-icon-btn{width:34px;height:34px}.bb-brand-image{max-width:145px;height:34px}.bb-brand-mark{width:32px;height:32px}.bb-brand-copy strong{max-width:102px;font-size:15px}
  .bb-login-btn{display:none}.bb-deposit-btn{padding-inline:10px}.bb-deposit-btn span{font-size:10px}
  .bb-quickbar-inner{width:calc(100% - 16px)}.bb-chip{padding:5px 8px;font-size:9px}
  body.bullsbet-theme .market-grid,body.bullsbet-theme .market-grid-v3{grid-template-columns:1fr!important}
  body.bullsbet-theme .market-cover{min-height:158px!important}
  .bullsbet-theme .spotlight-side{grid-template-columns:1fr!important}.bullsbet-theme .spotlight-title-row h1{font-size:17px!important}
  .bullsbet-theme .table{min-width:560px}
}

/* Mobile pass: prediction details and shared controls */
@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  .page-shell{min-width:0}
  .predx-page,.cmarket-page,.traffic-pred-page{width:min(100% - 20px,100%)!important;padding-left:0;padding-right:0}
  .predx-grid,.cmarket-grid,.traffic-pred-grid{grid-template-columns:1fr!important;gap:12px!important}
  .predx-side,.cmarket-side,.traffic-pred-side{position:static!important;width:100%!important;order:2}
  .predx-main,.cmarket-main,.traffic-pred-main{min-width:0;width:100%}
  .predx-card,.predx-section,.predx-side,.cmarket-hero,.cmarket-rules,.cmarket-side,.traffic-market-card,.traffic-video-card,.traffic-positions-card,.traffic-pred-side{padding:13px!important;border-radius:18px!important}
  .predx-titleblock,.cmarket-asset,.traffic-market-titleblock{align-items:flex-start;gap:9px;min-width:0}
  .predx-titleblock h1,.cmarket-asset h1,.traffic-market-titleblock h1{font-size:18px!important;line-height:1.25!important;overflow-wrap:anywhere}
  .predx-avatar,.prediction-avatar,.cmarket-asset-icon{width:40px!important;height:40px!important;flex:0 0 40px}
  .predx-topline,.predx-inline-meta,.cmarket-head,.cmarket-stats,.traffic-video-head{gap:8px;flex-wrap:wrap}
  .predx-chart-wrap{height:230px!important;min-height:0}
  .cmarket-chart-shell,.cmarket-chart-wrap,.crypto-tradingview-chart{min-height:230px!important;height:230px!important}
  .cmarket-stats{grid-template-columns:1fr!important}.cmarket-stats .align-right{text-align:left!important}
  .cmarket-actions,.traffic-binary-panels{grid-template-columns:1fr!important}
  .cmarket-action-btn{min-height:46px!important;white-space:normal}
  .cmarket-quick-amounts,.quick-amounts,.predx-quick-amounts{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px!important}
  .cmarket-quick-btn,.predx-quick-amounts .btn{min-width:0!important;padding:9px 4px!important;font-size:11px!important}
  .traffic-player-shell{border-radius:16px!important}
  .traffic-video-overlay{padding:7px!important}
  .traffic-overlay-bottom{left:7px!important;right:7px!important;bottom:7px!important}
  .traffic-overlay-info-card{max-width:100%!important;width:100%!important;padding:8px!important;border-radius:15px!important}
  .traffic-overlay-target{display:none!important}.traffic-overlay-info-title{font-size:9px!important}.traffic-overlay-phase-row span{font-size:11px!important}.traffic-overlay-phase-row strong{font-size:15px!important}
  .traffic-overlay-subline{font-size:10px!important;margin-bottom:5px!important}.traffic-overlay-info-main{gap:7px!important;margin-bottom:5px!important}.traffic-overlay-info-main strong{font-size:24px!important}.traffic-overlay-info-main small{font-size:11px!important}.traffic-overlay-info-meta{gap:4px 8px!important;font-size:10px!important}
  .traffic-rec-badge,.traffic-overlay-phase{padding:4px 6px!important;font-size:9px!important}
  .table-wrap{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}.table{min-width:520px}
  .form-stack input,.form-stack select,.form-stack textarea{max-width:100%;font-size:16px}
  .wrap-mobile{width:100%}.wrap-mobile>.btn{flex:1 1 auto;min-width:0}
}
@media (max-width:420px){
  .predx-card,.predx-section,.predx-side,.cmarket-hero,.cmarket-rules,.cmarket-side,.traffic-market-card,.traffic-video-card,.traffic-positions-card,.traffic-pred-side{padding:11px!important}
  .predx-titleblock h1,.cmarket-asset h1,.traffic-market-titleblock h1{font-size:16px!important}
  .predx-chart-wrap{height:190px!important}.cmarket-chart-shell,.cmarket-chart-wrap,.crypto-tradingview-chart{min-height:190px!important;height:190px!important}
  .cmarket-quick-amounts,.quick-amounts,.predx-quick-amounts{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  .traffic-overlay-info-meta{display:none!important}
}


/* =========================================================
   UNIVERSAL RULE: ALL RED-BACKGROUND BUTTONS HAVE WHITE TEXT & ICONS
   ========================================================= */
.btn-primary, .btn-danger, .btn-success,
button.btn-primary, a.btn-primary,
button.btn-danger, a.btn-danger,
button.btn-success, a.btn-success,
.submit-btn, button.submit-btn, a.submit-btn,
button[type="submit"], input[type="submit"],
.bb-deposit-btn, .install-pwa-btn,
[style*="background:#1bbd56"], [style*="background: #1bbd56"],
[style*="background:#1bbd56"], [style*="background: #1bbd56"],
[style*="background:#dc2626"], [style*="background: #dc2626"],
[style*="background:#ef4444"], [style*="background: #ef4444"],
[style*="background-color:#1bbd56"], [style*="background-color: #1bbd56"],
[style*="background-color:#1bbd56"], [style*="background-color: #1bbd56"],
[style*="background-color:#dc2626"], [style*="background-color: #dc2626"],
[style*="background-color:#ef4444"], [style*="background-color: #ef4444"],
[style*="linear-gradient"][style*="#1bbd56"], [style*="linear-gradient"][style*="#1bbd56"],
body.bullsbet-theme .btn-primary,
body.bullsbet-theme button.btn-primary,
body.bullsbet-theme a.btn-primary,
body.bullsbet-theme .btn-danger,
body.bullsbet-theme button.btn-danger,
body.bullsbet-theme a.btn-danger,
body.bullsbet-theme button[type="submit"],
body.bullsbet-theme .bb-deposit-btn {
  color: #ffffff !important;
}

.btn-primary *, .btn-danger *, .btn-success *,
button.btn-primary *, a.btn-primary *,
button.btn-danger *, a.btn-danger *,
button.btn-success *, a.btn-success *,
.submit-btn *, button.submit-btn *, a.submit-btn *,
button[type="submit"] *, input[type="submit"] *,
[style*="background:#1bbd56"] *, [style*="background: #1bbd56"] *,
[style*="background:#1bbd56"] *, [style*="background: #1bbd56"] *,
body.bullsbet-theme .btn-primary *,
body.bullsbet-theme a.btn-primary *,
body.bullsbet-theme button.btn-primary * {
  color: #ffffff !important;
}

.btn-primary svg, .btn-danger svg, .btn-success svg,
button.btn-primary svg, a.btn-primary svg,
button.btn-danger svg, a.btn-danger svg,
.submit-btn svg, button.submit-btn svg, a.submit-btn svg,
button[type="submit"] svg,
[style*="background:#1bbd56"] svg, [style*="background: #1bbd56"] svg,
[style*="background:#1bbd56"] svg, [style*="background: #1bbd56"] svg,
body.bullsbet-theme .btn-primary svg,
body.bullsbet-theme a.btn-primary svg,
body.bullsbet-theme .bb-deposit-btn svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}
