/* STREAM V258 - Member front template skins selected by Super > Site Settings */
body[data-panel="member"]{
    --front-primary:#2563eb;
    --front-primary-2:#7c3aed;
    --front-bg:#f3f6fb;
    --front-card:#ffffff;
    --front-text:#0f172a;
    --front-muted:#64748b;
    --front-border:#e5e7eb;
    --front-hero:linear-gradient(135deg,#2563eb 0%,#7c3aed 100%);
}
body.front-template-sports_dark{
    --front-primary:#38bdf8;
    --front-primary-2:#22c55e;
    --front-bg:#07111f;
    --front-card:#0f172a;
    --front-text:#e5edf7;
    --front-muted:#94a3b8;
    --front-border:rgba(148,163,184,.28);
    --front-hero:linear-gradient(135deg,#0f172a 0%,#0ea5e9 48%,#22c55e 100%);
}
body.front-template-sports_light{
    --front-primary:#2563eb;
    --front-primary-2:#06b6d4;
    --front-bg:#f3f8ff;
    --front-card:#ffffff;
    --front-text:#0f172a;
    --front-muted:#64748b;
    --front-border:#dbeafe;
    --front-hero:linear-gradient(135deg,#eff6ff 0%,#dbeafe 40%,#cffafe 100%);
}
body.front-template-casino_gold{
    --front-primary:#d97706;
    --front-primary-2:#facc15;
    --front-bg:#120b04;
    --front-card:#1f1609;
    --front-text:#fff7ed;
    --front-muted:#f3c78b;
    --front-border:rgba(250,204,21,.28);
    --front-hero:linear-gradient(135deg,#1c1003 0%,#92400e 50%,#facc15 100%);
}
body.front-template-community_blue{
    --front-primary:#2563eb;
    --front-primary-2:#6366f1;
    --front-bg:#eef4ff;
    --front-card:#ffffff;
    --front-text:#172554;
    --front-muted:#475569;
    --front-border:#c7d2fe;
    --front-hero:linear-gradient(135deg,#dbeafe 0%,#e0e7ff 100%);
}
body.front-template-mini_game{
    --front-primary:#ec4899;
    --front-primary-2:#8b5cf6;
    --front-bg:#fff1f8;
    --front-card:#ffffff;
    --front-text:#312e81;
    --front-muted:#7c3aed;
    --front-border:#fbcfe8;
    --front-hero:linear-gradient(135deg,#fce7f3 0%,#ede9fe 55%,#fef3c7 100%);
}
body[data-panel="member"].front-template-sports_dark,
body[data-panel="member"].front-template-casino_gold{background:var(--front-bg);color:var(--front-text);}
body[data-panel="member"].front-template-sports_dark .main,
body[data-panel="member"].front-template-casino_gold .main{background:var(--front-bg);}
body[data-panel="member"].front-template-sports_dark .card,
body[data-panel="member"].front-template-casino_gold .card,
body[data-panel="member"].front-template-sports_dark .sidebar,
body[data-panel="member"].front-template-casino_gold .sidebar,
body[data-panel="member"].front-template-sports_dark .topbar,
body[data-panel="member"].front-template-casino_gold .topbar{background:var(--front-card);border-color:var(--front-border);color:var(--front-text);}
body[data-panel="member"].front-template-sports_dark .menu a,
body[data-panel="member"].front-template-casino_gold .menu a,
body[data-panel="member"].front-template-sports_dark .page-head p,
body[data-panel="member"].front-template-casino_gold .page-head p{color:var(--front-muted);}
body[data-panel="member"] .btn.primary,
body[data-panel="member"] .menu a.active,
body[data-panel="member"] .brand-logo{background:linear-gradient(135deg,var(--front-primary),var(--front-primary-2));border-color:transparent;color:#fff;}
.member-front-home{background:var(--front-bg);color:var(--front-text);min-height:100vh;}
.member-front-home .front-shell{background:var(--front-bg);}
.member-front-home .front-header,
.member-front-home .front-feature,
.member-front-home .card{background:var(--front-card);border-color:var(--front-border);color:var(--front-text);}
.member-front-home .front-hero{background:var(--front-hero);color:var(--front-text);border-color:var(--front-border);}
body.front-template-sports_dark .front-hero,
body.front-template-casino_gold .front-hero{color:#fff;}
.member-front-home .front-badge{background:rgba(255,255,255,.16);color:inherit;border:1px solid rgba(255,255,255,.28);}
.member-front-home .front-nav a{color:var(--front-muted);}
.member-front-home .front-game-mini span,
.member-front-home .summary-item{border-color:var(--front-border);}
.login-body.front-template-sports_dark,
.login-body.front-template-casino_gold{background:var(--front-bg);}
.login-body.front-template-sports_light,
.login-body.front-template-community_blue,
.login-body.front-template-mini_game{background:var(--front-bg);}
.login-body .login-visual{background:var(--front-hero)!important;}
.login-body .login-card.enhanced{border-color:var(--front-border);}

/* STREAM V259 - Betsafe-style inspired live casino member front (original dark live casino skin) */
body.front-template-live_casino{
    --front-primary:#00d084;
    --front-primary-2:#ff7a18;
    --front-bg:#071018;
    --front-card:#101b27;
    --front-card-2:#132335;
    --front-text:#f8fafc;
    --front-muted:#9fb2c7;
    --front-border:rgba(148,163,184,.18);
    --front-hero:radial-gradient(circle at 20% 8%, rgba(0,208,132,.28), transparent 32%),radial-gradient(circle at 78% 16%, rgba(255,122,24,.20), transparent 26%),linear-gradient(135deg,#08111a 0%,#0c1825 48%,#101b27 100%);
    background:var(--front-bg);color:var(--front-text);
}
body.front-template-live_casino .main,
body.front-template-live_casino .app-shell{background:var(--front-bg);color:var(--front-text);}
body.front-template-live_casino .card,
body.front-template-live_casino .sidebar,
body.front-template-live_casino .topbar{background:linear-gradient(180deg,rgba(19,35,53,.96),rgba(10,21,32,.98));border-color:var(--front-border);color:var(--front-text);box-shadow:0 18px 42px rgba(0,0,0,.28);}
body.front-template-live_casino .menu a,
body.front-template-live_casino .page-head p,
body.front-template-live_casino .front-nav a{color:var(--front-muted);}
body.front-template-live_casino .menu a.active,
body.front-template-live_casino .btn.primary,
body.front-template-live_casino .brand-logo{background:linear-gradient(135deg,#00d084,#00a8ff);color:#041015;border-color:transparent;box-shadow:0 10px 24px rgba(0,208,132,.20);}
body.front-template-live_casino .btn:not(.primary){background:#17283a;color:var(--front-text);border-color:var(--front-border);}
body.front-template-live_casino input,
body.front-template-live_casino select,
body.front-template-live_casino textarea{background:#0b1622;color:#fff;border-color:rgba(148,163,184,.24);}
body.front-template-live_casino table th{background:#0b1622;color:#cbd5e1;}
body.front-template-live_casino table td{border-color:rgba(148,163,184,.15);color:#e5edf7;}
body.front-template-live_casino .login-visual{background:var(--front-hero)!important;}
body.front-template-live_casino .login-card.enhanced{background:#101b27;color:#f8fafc;border-color:rgba(0,208,132,.18);}
body.front-template-live_casino .login-card.enhanced h1,
body.front-template-live_casino .login-card.enhanced strong{color:#fff!important;}
body.front-template-live_casino .login-card.enhanced p,
body.front-template-live_casino .login-card.enhanced span{color:#9fb2c7;}
.member-front-home.front-template-live_casino{background:var(--front-bg);background-image:radial-gradient(circle at 15% 0%,rgba(0,208,132,.16),transparent 34%),radial-gradient(circle at 85% 8%,rgba(255,122,24,.14),transparent 26%),linear-gradient(180deg,#050b12 0%,#071018 42%,#091522 100%);color:var(--front-text);}
.front-template-live_casino .front-shell{width:min(1480px,calc(100% - 32px));margin:0 auto;padding:16px 0 42px;}
.front-template-live_casino .front-header{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:18px;padding:12px 16px;border:1px solid rgba(148,163,184,.16);border-radius:16px;background:rgba(8,17,28,.88);backdrop-filter:blur(14px);box-shadow:0 16px 40px rgba(0,0,0,.30);}
.front-template-live_casino .front-header .brand-logo{width:42px;height:42px;border-radius:12px;font-weight:900;}
.front-template-live_casino .front-nav{display:flex;align-items:center;gap:6px;flex:1;overflow:auto;white-space:nowrap;}
.front-template-live_casino .front-nav a{padding:10px 12px;border-radius:999px;font-weight:800;text-decoration:none;}
.front-template-live_casino .front-nav a:hover,
.front-template-live_casino .front-nav a.active{background:rgba(0,208,132,.12);color:#fff;}
.front-template-live_casino .front-live-topline{display:flex;align-items:center;gap:10px;margin:18px 0 14px;color:#9fb2c7;font-size:13px;font-weight:700;}
.front-template-live_casino .front-live-topline span{color:#fff;}
.front-template-live_casino .front-live-hero{position:relative;overflow:hidden;border:1px solid rgba(148,163,184,.16);border-radius:24px;background:var(--front-hero);padding:34px;min-height:330px;display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:28px;align-items:center;box-shadow:0 26px 70px rgba(0,0,0,.34);}
.front-template-live_casino .front-live-hero::before{content:'';position:absolute;right:-80px;top:-90px;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(0,208,132,.30),transparent 62%);}
.front-template-live_casino .front-live-hero::after{content:'';position:absolute;right:90px;bottom:-120px;width:420px;height:260px;border-radius:50%;background:radial-gradient(circle,rgba(255,122,24,.26),transparent 62%);}
.front-template-live_casino .front-live-hero > *{position:relative;z-index:1;}
.front-template-live_casino .front-badge{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(0,208,132,.12);color:#89ffd0;border:1px solid rgba(0,208,132,.28);font-weight:900;}
.front-template-live_casino .front-live-hero h1{margin:18px 0 12px;font-size:clamp(34px,4vw,64px);line-height:1.02;letter-spacing:-.055em;color:#fff;}
.front-template-live_casino .front-live-hero p{max-width:640px;color:#b8c7d9;font-size:16px;line-height:1.75;}
.front-template-live_casino .front-actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:22px;}
.front-template-live_casino .front-actions .btn{height:46px;padding:0 18px;border-radius:12px;font-weight:900;}
.front-template-live_casino .live-studio-card{min-height:260px;border:1px solid rgba(255,255,255,.12);border-radius:24px;background:linear-gradient(160deg,rgba(255,255,255,.10),rgba(255,255,255,.02));box-shadow:inset 0 1px 0 rgba(255,255,255,.12),0 20px 60px rgba(0,0,0,.30);padding:22px;display:grid;align-content:end;position:relative;overflow:hidden;}
.front-template-live_casino .live-studio-card::before{content:'';position:absolute;inset:18px 18px auto auto;width:128px;height:128px;border-radius:50%;background:conic-gradient(from 180deg,#00d084,#00a8ff,#ff7a18,#00d084);filter:blur(.2px);opacity:.58;}
.front-template-live_casino .live-studio-card::after{content:'';position:absolute;left:28px;right:28px;top:92px;height:70px;border-radius:50%;border:10px solid rgba(255,255,255,.10);border-top-color:rgba(0,208,132,.45);transform:perspective(300px) rotateX(62deg);}
.front-template-live_casino .studio-meta{position:relative;z-index:2;display:flex;align-items:end;justify-content:space-between;gap:16px;}
.front-template-live_casino .studio-meta strong{display:block;font-size:24px;color:#fff;}
.front-template-live_casino .studio-meta span{display:block;color:#89ffd0;font-weight:800;margin-top:5px;}
.front-template-live_casino .studio-meta em{font-style:normal;padding:8px 10px;border-radius:999px;background:rgba(255,122,24,.15);color:#ffbf8a;font-weight:900;}
.front-template-live_casino .live-toolbar{margin:18px 0 0;padding:14px;border:1px solid rgba(148,163,184,.16);border-radius:18px;background:rgba(16,27,39,.88);display:grid;grid-template-columns:1.1fr 1fr auto;gap:12px;align-items:center;}
.front-template-live_casino .live-provider-pills,
.front-template-live_casino .live-category-pills{display:flex;gap:8px;overflow:auto;white-space:nowrap;}
.front-template-live_casino .live-provider-pills span,
.front-template-live_casino .live-category-pills span{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 12px;border:1px solid rgba(148,163,184,.18);border-radius:999px;background:#0b1622;color:#dbeafe;font-weight:800;font-size:12px;}
.front-template-live_casino .live-provider-pills span.active,
.front-template-live_casino .live-category-pills span.active{background:rgba(0,208,132,.13);border-color:rgba(0,208,132,.35);color:#89ffd0;}
.front-template-live_casino .front-search-mini{height:38px;border-radius:999px;border:1px solid rgba(148,163,184,.22);background:#0b1622;color:#fff;padding:0 14px;min-width:180px;}
.front-template-live_casino .live-section-title{display:flex;justify-content:space-between;align-items:end;gap:14px;margin:24px 0 12px;}
.front-template-live_casino .live-section-title h2{margin:0;color:#fff;font-size:24px;letter-spacing:-.03em;}
.front-template-live_casino .live-section-title p{margin:4px 0 0;color:#9fb2c7;}
.front-template-live_casino .live-game-showcase{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;}
.front-template-live_casino .live-game-card{min-height:190px;border:1px solid rgba(148,163,184,.16);border-radius:18px;background:linear-gradient(160deg,#132335,#0b1622);overflow:hidden;position:relative;padding:14px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 14px 34px rgba(0,0,0,.22);}
.front-template-live_casino .live-game-card::before{content:'';position:absolute;inset:0;background:radial-gradient(circle at 70% 10%,rgba(0,208,132,.16),transparent 36%),radial-gradient(circle at 20% 88%,rgba(255,122,24,.12),transparent 32%);}
.front-template-live_casino .live-game-card > *{position:relative;z-index:1;}
.front-template-live_casino .live-game-icon{width:54px;height:54px;border-radius:16px;background:rgba(255,255,255,.08);display:grid;place-items:center;font-size:28px;}
.front-template-live_casino .live-game-card h3{margin:18px 0 6px;color:#fff;font-size:18px;}
.front-template-live_casino .live-game-card p{margin:0;color:#a8bdd2;font-size:13px;font-weight:700;}
.front-template-live_casino .live-game-card .btn{margin-top:14px;border-radius:12px;width:100%;justify-content:center;}
.front-template-live_casino .front-game-grid{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:14px;}
.front-template-live_casino .front-game-card{background:linear-gradient(160deg,#132335,#0b1622);border-color:rgba(148,163,184,.16);border-radius:18px;overflow:hidden;}
.front-template-live_casino .front-game-thumb{height:118px;border-radius:14px;background:radial-gradient(circle at 28% 30%,rgba(0,208,132,.25),transparent 30%),linear-gradient(135deg,#101b27,#17283a);display:grid;place-items:center;font-size:40px;}
.front-template-live_casino .front-filter{display:grid;grid-template-columns:1fr 220px auto;gap:10px;background:rgba(16,27,39,.90);}
.front-template-live_casino .front-feature-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
.front-template-live_casino .front-feature{border-radius:18px;background:linear-gradient(160deg,#132335,#0b1622);}
@media(max-width:980px){.front-template-live_casino .front-live-hero{grid-template-columns:1fr}.front-template-live_casino .live-toolbar{grid-template-columns:1fr}.front-template-live_casino .live-game-showcase,.front-template-live_casino .front-feature-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.front-template-live_casino .front-filter{grid-template-columns:1fr}}
@media(max-width:560px){.front-template-live_casino .front-shell{width:min(100% - 18px,1480px);}.front-template-live_casino .front-live-hero{padding:22px}.front-template-live_casino .live-game-showcase,.front-template-live_casino .front-feature-grid{grid-template-columns:1fr}.front-template-live_casino .front-header{flex-wrap:wrap}.front-template-live_casino .front-nav{order:3;width:100%}}
