
:root{
  --body-bg:#08111f;
  --surface-0:#0b1324;
  --surface-1:#0f1b31;
  --surface-2:#132240;
  --surface-3:#182b4d;
  --surface-soft:rgba(255,255,255,.03);
  --border:rgba(148,163,184,.16);
  --border-strong:rgba(148,163,184,.24);
  --text:#edf4ff;
  --text-soft:#aebbd1;
  --text-muted:#7f90ab;
  --primary:#6b7bff;
  --primary-2:#8b5cf6;
  --primary-soft:rgba(107,123,255,.18);
  --success:#1ed5a9;
  --warning:#ffb74d;
  --danger:#ff5d73;
  --cyan:#27c2ff;
  --shadow:0 18px 45px rgba(2,6,23,.35);
  --shadow-soft:0 10px 30px rgba(2,6,23,.22);
  --radius-xl:26px;
  --radius-lg:20px;
  --radius-md:14px;
  --radius-sm:10px;
  --sidebar-w:278px;
}
html[data-theme='light']{
  --body-bg:#eef3fb;
  --surface-0:#ffffff;
  --surface-1:#ffffff;
  --surface-2:#f7faff;
  --surface-3:#eef4ff;
  --surface-soft:rgba(0,0,0,.02);
  --border:rgba(15,23,42,.08);
  --border-strong:rgba(15,23,42,.14);
  --text:#122033;
  --text-soft:#44546d;
  --text-muted:#6d7c94;
  --primary:#5d63ff;
  --primary-2:#8b5cf6;
  --primary-soft:rgba(93,99,255,.12);
  --success:#0aa579;
  --warning:#c98508;
  --danger:#d9425e;
  --cyan:#0ea5e9;
  --shadow:0 18px 40px rgba(15,23,42,.08);
  --shadow-soft:0 10px 25px rgba(15,23,42,.06);
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{font-family:'Heebo',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:
 radial-gradient(circle at top left, rgba(107,123,255,.12), transparent 28%),
 radial-gradient(circle at top right, rgba(39,194,255,.08), transparent 22%),
 var(--body-bg);
 color:var(--text);min-height:100vh;line-height:1.55}
a{color:inherit;text-decoration:none}
img{max-width:100%}
button,input,select,textarea{font:inherit}
input,select,textarea{outline:none}
::selection{background:rgba(107,123,255,.3);color:#fff}

.app-body{overflow-x:hidden}
.public-body{display:flex;flex-direction:column;min-height:100vh}
.public-main{flex:1;width:min(1220px,calc(100% - 36px));margin:0 auto;padding:32px 0 48px}
.announcement-bar{position:sticky;top:0;z-index:60;display:flex;justify-content:center;gap:10px;align-items:center;padding:10px 16px;background:linear-gradient(90deg, rgba(107,123,255,.22), rgba(139,92,246,.18));backdrop-filter:blur(16px);border-bottom:1px solid var(--border);font-size:14px;color:var(--text-soft)}
.announcement-bar a{color:#fff;font-weight:700}
.public-topbar,.app-topbar{backdrop-filter:blur(18px)}
.public-topbar{width:min(1220px,calc(100% - 36px));margin:22px auto 0;padding:18px 22px;background:rgba(12,22,40,.78);border:1px solid var(--border);box-shadow:var(--shadow-soft);border-radius:22px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:14px}
.brand-orb{width:42px;height:42px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(135deg,var(--primary),var(--primary-2));font-weight:800;color:#fff;box-shadow:0 14px 28px rgba(107,123,255,.28)}
.brand-copy strong{display:block;font-size:18px;line-height:1.1;letter-spacing:.2px}
.brand-copy small{display:block;color:var(--text-muted);font-size:12px}
.public-links{display:flex;align-items:center;gap:12px;flex-wrap:wrap}
.public-links>a:not(.btn){padding:10px 14px;border-radius:999px;color:var(--text-soft);font-weight:600}
.public-links>a:not(.btn):hover{background:var(--surface-soft);color:var(--text)}
.public-footer,.app-footer{padding:18px 24px;color:var(--text-muted);display:flex;justify-content:space-between;gap:12px;border-top:1px solid var(--border);font-size:13px}
.public-footer{width:min(1220px,calc(100% - 36px));margin:0 auto 20px;padding-inline:4px;border-top:none}

.app-shell{display:flex;min-height:100vh}
.sidebar{position:fixed;left:0;top:0;bottom:0;width:var(--sidebar-w);padding:18px 18px 16px;background:linear-gradient(180deg, rgba(9,18,33,.98), rgba(11,21,39,.96));border-right:1px solid var(--border);display:flex;flex-direction:column;z-index:40;box-shadow:var(--shadow-soft)}
.sidebar-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:8px 8px 18px}
.sidebar-brand{padding:12px;border-radius:20px;background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,.01));border:1px solid var(--border);width:100%}
.mobile-close{display:none}
.sidebar-nav{flex:1;overflow:auto;padding-right:4px}
.sidebar-nav::-webkit-scrollbar,.table-scroll::-webkit-scrollbar,.message-stream::-webkit-scrollbar{width:10px;height:10px}
.sidebar-nav::-webkit-scrollbar-thumb,.table-scroll::-webkit-scrollbar-thumb,.message-stream::-webkit-scrollbar-thumb{background:rgba(148,163,184,.2);border-radius:999px}
.nav-section{margin-bottom:18px}
.nav-label{display:block;padding:10px 12px 8px;color:var(--text-muted);font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.16em}
.nav-item{display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:14px;color:var(--text-soft);font-weight:700;transition:.2s;background:transparent;border:1px solid transparent;margin-bottom:4px}
.nav-item svg{width:18px;height:18px;stroke:currentColor;fill:none;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;opacity:.95;flex:none}
.nav-item:hover{background:var(--surface-soft);color:var(--text)}
.nav-item.active{background:linear-gradient(90deg, rgba(107,123,255,.18), rgba(39,194,255,.06));border-color:rgba(107,123,255,.22);color:#fff;box-shadow:inset 0 0 0 1px rgba(255,255,255,.02)}
.sidebar-footer{padding-top:12px;border-top:1px solid var(--border)}
.system-badge{display:flex;align-items:center;gap:12px;padding:14px;border-radius:18px;background:linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,.01));border:1px solid var(--border);margin-bottom:12px}
.status-dot,.system-badge .status-dot{width:10px;height:10px;border-radius:999px;background:var(--success);box-shadow:0 0 0 4px rgba(30,213,169,.12)}
.logout-link{color:#f1b6c2}
.sidebar-backdrop{display:none}
.app-content{margin-left:var(--sidebar-w);min-width:0;width:calc(100% - var(--sidebar-w));display:flex;flex-direction:column;min-height:100vh}
.app-topbar{position:sticky;top:0;z-index:25;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:16px 26px;background:rgba(8,16,31,.72);border-bottom:1px solid var(--border)}
.topbar-left,.topbar-right{display:flex;align-items:center;gap:14px;min-width:0}
.page-path{display:flex;align-items:center;gap:10px;color:var(--text-soft);font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.page-path strong{color:var(--text)}
.icon-btn{width:42px;height:42px;border-radius:14px;border:1px solid var(--border);background:var(--surface-1);color:var(--text-soft);display:grid;place-items:center;cursor:pointer;transition:.2s}
.icon-btn svg{width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.8}
.icon-btn:hover{transform:translateY(-1px);background:var(--surface-2);color:var(--text)}
.menu-toggle{display:none}
.live-badge{display:inline-flex;align-items:center;gap:8px;padding:9px 14px;border-radius:999px;font-weight:800;color:#dffef3;background:rgba(30,213,169,.08);border:1px solid rgba(30,213,169,.2)}
.live-badge i{width:9px;height:9px;border-radius:999px;background:var(--success)}
.user-menu{display:flex;align-items:center;gap:12px;padding:6px 8px 6px 6px;border-radius:18px;background:var(--surface-1);border:1px solid var(--border)}
.user-menu .avatar{width:40px;height:40px;border-radius:14px;background:linear-gradient(135deg,var(--primary),var(--primary-2));display:grid;place-items:center;font-weight:800;color:#fff;box-shadow:0 10px 24px rgba(107,123,255,.26)}
.user-menu small{display:block;color:var(--text-muted);margin-top:2px}
.wrap{padding:26px}

.alert{display:flex;align-items:center;gap:10px;padding:14px 16px;border-radius:14px;margin-bottom:18px;border:1px solid var(--border-strong);box-shadow:var(--shadow-soft)}
.alert.ok{background:rgba(30,213,169,.08);color:#d6ffef;border-color:rgba(30,213,169,.22)}
.alert.err{background:rgba(255,93,115,.08);color:#ffd9df;border-color:rgba(255,93,115,.22)}
.alert span{width:22px;height:22px;border-radius:999px;display:grid;place-items:center;background:rgba(255,255,255,.12);font-weight:800}

.page-hero,.panel,.shortcut-card,.system-card,.module-card,.stat-card,.team-card,.thread-item,.message-panel,.message-bubble,.settings-panel,.community-report-panel,.community-summary-card,.upcoming-live-banner,.upcoming-dashboard-card,.account-card,.modal-card,.login-copy,.preview-row,.preview-head{background:linear-gradient(180deg, rgba(13,24,46,.96), rgba(12,22,40,.95));border:1px solid var(--border);box-shadow:var(--shadow-soft)}
.page-hero{padding:22px 24px;border-radius:24px;margin-bottom:22px;display:flex;align-items:flex-start;justify-content:space-between;gap:16px}
.eyebrow,.panel-kicker,.hero-kicker{display:inline-flex;align-items:center;gap:8px;color:#8bc7ff;font-size:11px;font-weight:900;letter-spacing:.18em;text-transform:uppercase;margin-bottom:6px}
.page-hero h1,.landing-copy h1,.hero-title{margin:0;font-size:clamp(28px,3vw,42px);line-height:1.08}
.page-hero p,.landing-copy p,.panel-head p,.community-report-head p,.panel>p{margin:8px 0 0;color:var(--text-soft)}
.panel{border-radius:24px;padding:22px 22px 18px;margin-bottom:22px}
.panel-head,.community-report-head,.upcoming-dashboard-head,.settings-tab,.accounts-title-row,.section-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:18px}
.panel-head h2,.community-report-head h2,.settings-section h3,.accounts-title-row h2,.section-head h2{margin:0;font-size:28px;line-height:1.1}
.small-value{font-size:1.05rem!important}
.muted{color:var(--text-muted)!important}
.pill,.status-pill,.live-chip,.league-chip,.next-check,.auto-session-pill,.league-button-status{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;border:1px solid var(--border-strong);background:var(--surface-soft);font-size:12px;font-weight:800;color:var(--text-soft)}
.pill.approved,.status-pill.good,.live-chip,.auto-session-pill{color:#dffef3;background:rgba(30,213,169,.08);border-color:rgba(30,213,169,.18)}
.pill.pending{color:#ffe8b6;background:rgba(255,183,77,.08);border-color:rgba(255,183,77,.22)}
.pill.rejected,.btn-danger{color:#ffe0e5;background:rgba(255,93,115,.1);border-color:rgba(255,93,115,.24)}

.btn{appearance:none;border:none;outline:none;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:12px 18px;border-radius:14px;font-weight:800;transition:.2s;line-height:1.1}
.btn:hover{transform:translateY(-1px)}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;box-shadow:0 14px 28px rgba(107,123,255,.28)}
.btn-secondary{background:var(--surface-2);color:var(--text);border:1px solid var(--border)}
.btn-danger{box-shadow:none}
.btn-small{padding:9px 13px;border-radius:12px;font-size:13px}
.btn-large{padding:14px 22px}
.ghost-btn{background:transparent;border:1px dashed var(--border-strong);color:var(--text-soft)}
.big-action{min-height:120px;flex-direction:column;border-radius:20px}

input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=url],input[type=datetime-local],select,textarea{
  width:100%;padding:13px 14px;border-radius:14px;border:1px solid var(--border);background:rgba(255,255,255,.02);color:var(--text);
  transition:.2s;box-shadow:none
}
input::placeholder,textarea::placeholder{color:var(--text-muted)}
input:focus,select:focus,textarea:focus{border-color:rgba(107,123,255,.5);box-shadow:0 0 0 4px rgba(107,123,255,.12);background:rgba(255,255,255,.03)}
.form-group{display:flex;flex-direction:column;gap:8px;margin-bottom:16px}
.form-group label{font-size:13px;font-weight:800;color:var(--text-soft);letter-spacing:.02em}
.form-grid,.form-grid-better,.settings-grid,.content-grid-2,.bulk-user-grid,.stats-grid,.system-stat-grid,.dashboard-primary-stats,.community-summary-grid,.upcoming-dashboard-grid,.admin-kpi-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.form-grid>*{grid-column:span 6}
.form-grid .full,.settings-span-2,.content-grid-2>*:nth-child(odd):last-child{grid-column:1/-1}
.settings-grid>*{grid-column:span 6}
.content-grid-2>*{grid-column:span 6}
.stats-grid>*,.dashboard-primary-stats>*,.system-stat-grid>*,.community-summary-grid>*,.admin-kpi-grid>*{grid-column:span 3}
.upcoming-dashboard-grid>*{grid-column:span 4}
.toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px;border-radius:14px;background:var(--surface-soft);border:1px solid var(--border)}
.switch{position:relative;display:inline-block;width:50px;height:28px;vertical-align:middle}
.switch input{display:none}
.switch span,.switch::before{transition:.2s}
.switch span{position:absolute;inset:0;border-radius:999px;background:rgba(148,163,184,.24);border:1px solid var(--border)}
.switch::before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.18)}
.switch input:checked + span{background:linear-gradient(135deg,var(--primary),var(--primary-2));border-color:transparent}
.switch input:checked ~ *{}
.switch input:checked + span::before{}
.switch input:checked + span{box-shadow:0 10px 18px rgba(107,123,255,.2)}
.switch input:checked + span:after{content:''}
.switch input:checked + span + i{}
.switch input:checked + span{ }
.switch input:checked + span ~ *{}
.switch input:checked + span::before{left:25px}
.switch span::before{content:'';position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:999px;background:#fff;box-shadow:0 4px 10px rgba(0,0,0,.18);transition:.2s}
.switch input:checked + span::before{left:25px}

.table-scroll{overflow:auto;border-radius:18px;border:1px solid var(--border);background:rgba(255,255,255,.01)}
table{width:100%;border-collapse:separate;border-spacing:0;min-width:820px}
table thead th{position:sticky;top:0;background:rgba(12,21,39,.98);backdrop-filter:blur(8px);color:#9ec9ff;font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.1em;padding:14px 16px;border-bottom:1px solid var(--border)}
html[data-theme='light'] table thead th{background:#f9fbff}
table tbody td{padding:15px 16px;border-bottom:1px solid rgba(148,163,184,.1);font-weight:600;color:var(--text-soft);vertical-align:middle}
table tbody tr:hover td{background:rgba(255,255,255,.018)}
html[data-theme='light'] table tbody tr:hover td{background:#f7fbff}
table tbody tr:last-child td{border-bottom:none}
table b,strong{color:var(--text)}
.empty{text-align:center;color:var(--text-muted);padding:28px!important}
.rank,.prize,.current-reward,.next-reward-cell b{color:#fff;font-weight:800}
.up{color:#53f0bd!important;font-weight:800}
.down{color:#ff7f92!important;font-weight:800}
.pending,.warning{color:#ffd78f!important}
.voice-col{text-align:center;white-space:nowrap;width:68px}
.voice-toggle{width:38px;height:38px;border-radius:12px;border:1px solid var(--border);background:var(--surface-1);cursor:pointer;color:var(--text-soft);font-size:16px}
.voice-toggle.on{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-color:transparent;box-shadow:0 10px 22px rgba(107,123,255,.28)}
.player-name,.community-player,.js-player-name{font-weight:800;color:var(--text)}
.league-switcher,.league-live-switcher{margin-bottom:22px;padding:18px 20px;border-radius:22px;background:linear-gradient(180deg, rgba(13,24,46,.96), rgba(12,22,40,.95));border:1px solid var(--border);box-shadow:var(--shadow-soft)}
.league-live-title{display:flex;justify-content:space-between;align-items:center;gap:12px;color:var(--text-soft);font-weight:800;margin-bottom:14px}
.league-live-title span{font-size:12px;letter-spacing:.12em;color:var(--text-muted)}
.league-live-buttons,.league-switcher>div:last-child{display:flex;gap:10px;flex-wrap:wrap}
.league-live-btn{display:inline-flex;align-items:center;gap:9px;padding:12px 16px;border-radius:999px;font-weight:800;background:var(--surface-1);border:1px solid var(--border);color:var(--text-soft)}
.league-live-btn.active{background:linear-gradient(135deg, rgba(107,123,255,.2), rgba(139,92,246,.2));border-color:rgba(107,123,255,.32);color:#fff;box-shadow:0 10px 24px rgba(107,123,255,.18)}
.live-dot{width:9px;height:9px;border-radius:999px;background:var(--success)}
.league-button-status{padding:5px 8px;background:rgba(255,183,77,.12);border:1px solid rgba(255,183,77,.2);color:#ffd78f;border-radius:999px}
.community-live-wrap,.public-home,.dashboard-clean-hero{display:flex;flex-direction:column;gap:22px}
.community-summary-card{padding:18px 18px;border-radius:22px;min-height:112px;display:flex;flex-direction:column;justify-content:space-between}
.community-summary-card span,.stat-card .muted,.stat-link small,.upcoming-label,.upcoming-dashboard-time,.feature-grid p,.team-card-footer,.preview-rank,.table-sub,.message-bubble small,.notification-item small{color:var(--text-muted)}
.community-summary-card strong{font-size:38px;line-height:1.05;letter-spacing:-.02em}
.community-report-panel{padding:18px;border-radius:26px}
.community-report-head{padding:8px 8px 18px;border-bottom:1px solid var(--border);margin-bottom:0}
.community-search,.leaderboard-search,.search-inline,.request-search-bar,.add-google-inline,.report-filter{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.community-search input,.leaderboard-search input,.search-inline input{min-width:240px}
.upcoming-live-banner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:22px 24px;border-radius:24px;border:1px solid rgba(255,183,77,.2);background:linear-gradient(135deg, rgba(255,183,77,.08), rgba(107,123,255,.08))}
.upcoming-big-countdown{font-size:clamp(28px,4vw,42px);font-weight:900;letter-spacing:.04em;color:#fff;text-align:right}
.leaderboard-pagination{display:flex;align-items:center;gap:10px;justify-content:flex-end;flex-wrap:wrap;padding-top:16px}
.page-btn{display:inline-flex;align-items:center;justify-content:center;min-width:42px;height:42px;padding:0 14px;border-radius:12px;background:var(--surface-1);border:1px solid var(--border);font-weight:800;color:var(--text-soft)}
.page-btn.active{background:linear-gradient(135deg,var(--primary),var(--primary-2));color:#fff;border-color:transparent;box-shadow:0 12px 24px rgba(107,123,255,.22)}
.pagination-meta{color:var(--text-muted);font-size:13px}

.stat-card,.shortcut-card,.system-card,.module-card,.upcoming-dashboard-card,.team-card{padding:20px;border-radius:22px}
.stat-card{display:flex;align-items:flex-start;justify-content:space-between;gap:14px}
.stat-card strong,.upcoming-dashboard-name,.system-title{display:block;font-size:30px;line-height:1.05;margin-top:8px;color:var(--text)}
.stat-icon{width:56px;height:56px;border-radius:18px;display:grid;place-items:center;background:linear-gradient(135deg, rgba(107,123,255,.22), rgba(39,194,255,.14));color:#fff;box-shadow:0 12px 24px rgba(107,123,255,.16)}
.shortcut-card{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}
.shortcut-card h3,.team-card h3{margin:0 0 6px;font-size:20px}
.shortcut-card p,.team-card p,.module-card p,.system-note{margin:0;color:var(--text-soft)}
.card-grid,.feature-grid,.module-grid,.template-grid,.dashboard-shortcuts,.admin-monitor-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:18px}
.card-grid>*,.feature-grid>*{grid-column:span 4}
.module-grid>*,.template-grid>*,.dashboard-shortcuts>*{grid-column:span 6}
.admin-monitor-grid>*{grid-column:span 4}
.message-layout{display:grid;grid-template-columns:360px minmax(0,1fr);gap:18px}
.thread-list,.message-panel,.message-stream,.notification-list{display:flex;flex-direction:column;gap:12px}
.thread-item,.notification-item{padding:16px 18px;border-radius:18px;border:1px solid var(--border)}
.thread-item.active{border-color:rgba(107,123,255,.3);box-shadow:0 10px 24px rgba(107,123,255,.15)}
.message-panel{padding:18px;border-radius:24px}
.message-stream{max-height:520px;overflow:auto;padding-right:4px}
.message-bubble{padding:14px 16px;border-radius:18px;max-width:760px}
.message-bubble.me{margin-left:auto;background:linear-gradient(135deg, rgba(107,123,255,.22), rgba(139,92,246,.18))}
.message-reply{padding-top:14px;border-top:1px solid var(--border)}
.modal-backdrop{position:fixed;inset:0;background:rgba(4,10,20,.68);backdrop-filter:blur(8px);z-index:60}
.modal{position:fixed;inset:0;display:grid;place-items:center;padding:24px;z-index:70}
.modal-card{width:min(100%,760px);padding:22px;border-radius:24px}
.modal-wide .modal-card{width:min(100%,980px)}
.modal-head{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding-bottom:14px;border-bottom:1px solid var(--border);margin-bottom:18px}
.modal-actions,.inline-actions,.action-row,.account-actions,.remote-actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.login-shell{min-height:100vh;display:grid;place-items:center;padding:28px;background:radial-gradient(circle at top left, rgba(107,123,255,.16), transparent 26%), radial-gradient(circle at right bottom, rgba(39,194,255,.1), transparent 22%), var(--body-bg)}
.login-copy{width:min(100%,1040px);display:grid;grid-template-columns:1.05fr .95fr;border-radius:30px;overflow:hidden}
.landing-copy,.login-copy>div:first-child{padding:42px}
.landing-preview,.login-copy>div:last-child{padding:38px;background:rgba(255,255,255,.02);border-left:1px solid var(--border)}
.hero-actions,.auth-links{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}
.preview-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0 22px}
.preview-row{padding:14px 16px;border-radius:16px;margin-top:12px}
.preview-row strong,.preview-player{display:block}
.password-wrap{position:relative}
.password-toggle{position:absolute;top:50%;right:14px;transform:translateY(-50%);background:none;border:none;color:var(--text-muted);cursor:pointer}
.reward-overview-panel .table-scroll,.settings-panel,.google-accounts-table,.printable-report{border-radius:20px}
.tabs,.settings-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:18px}
.settings-tab{padding:12px 16px;border-radius:14px;background:var(--surface-1);border:1px solid var(--border);font-weight:800;color:var(--text-soft)}
.settings-tab.active{background:linear-gradient(135deg, rgba(107,123,255,.18), rgba(139,92,246,.18));border-color:rgba(107,123,255,.28);color:#fff}
.module-card,.google-accounts-table,.accounts-clean,.printable-report{padding:18px;border-radius:22px;border:1px solid var(--border);background:linear-gradient(180deg, rgba(13,24,46,.96), rgba(12,22,40,.95));box-shadow:var(--shadow-soft)}
.report-filter{margin-bottom:14px}
.printable-report h3{margin-top:0}
.no-print{display:inline-flex}
.rank-toast{position:fixed;right:20px;max-width:320px;padding:14px 16px;border-radius:18px;backdrop-filter:blur(16px);border:1px solid var(--border-strong);box-shadow:var(--shadow);z-index:200;opacity:0;transform:translateX(12px);transition:.22s}
.rank-toast.show{opacity:1;transform:translateX(0)}
.rank-toast-up{top:22px;background:rgba(12,32,26,.9)}
.rank-toast-down{bottom:22px;background:rgba(35,14,18,.9)}
.rank-toast b{display:block;margin-bottom:3px}
.rank-toast small{display:block;color:var(--text-soft);margin-top:4px}

@media (max-width: 1200px){
  .stats-grid>*,.dashboard-primary-stats>*,.system-stat-grid>*,.community-summary-grid>*,.admin-kpi-grid>*{grid-column:span 6}
  .card-grid>*,.feature-grid>*,.admin-monitor-grid>*{grid-column:span 6}
  .upcoming-dashboard-grid>*{grid-column:span 6}
}
@media (max-width: 991.98px){
  :root{--sidebar-w:286px}
  .menu-toggle,.mobile-close{display:grid}
  .sidebar{transform:translateX(-100%);transition:.25s}
  body.sidebar-open .sidebar{transform:translateX(0)}
  .sidebar-backdrop{display:block;position:fixed;inset:0;background:rgba(2,6,23,.55);opacity:0;pointer-events:none;transition:.2s;z-index:35}
  body.sidebar-open .sidebar-backdrop{opacity:1;pointer-events:auto}
  .app-content{margin-left:0;width:100%}
  .form-grid>*,.settings-grid>*,.content-grid-2>*,.module-grid>*,.template-grid>*,.dashboard-shortcuts>*,.bulk-user-grid>*,.message-layout>*{grid-column:1/-1}
  .message-layout{grid-template-columns:1fr}
  .login-copy{grid-template-columns:1fr}
  .landing-preview,.login-copy>div:last-child{border-left:none;border-top:1px solid var(--border)}
}
@media (max-width: 767.98px){
  .public-topbar,.app-topbar,.page-hero,.panel,.community-report-panel,.upcoming-live-banner,.league-live-switcher{padding-inline:16px}
  .public-topbar,.app-topbar{flex-wrap:wrap}
  .wrap{padding:16px}
  .stats-grid>*,.dashboard-primary-stats>*,.system-stat-grid>*,.community-summary-grid>*,.admin-kpi-grid>*,.card-grid>*,.feature-grid>*,.upcoming-dashboard-grid>*,.admin-monitor-grid>*{grid-column:1/-1}
  .community-summary-card strong{font-size:30px}
  .upcoming-live-banner{align-items:flex-start;flex-direction:column}
  .upcoming-big-countdown{text-align:left}
  .community-search,.leaderboard-search,.search-inline,.report-filter,.add-google-inline{flex-direction:column;align-items:stretch}
  .community-search input,.leaderboard-search input,.search-inline input{min-width:0}
  table{min-width:720px}
  .rank-toast{left:12px;right:12px;max-width:none}
}
@media print{
  .sidebar,.app-topbar,.announcement-bar,.btn,.no-print,.leaderboard-pagination,.public-topbar,.public-footer,.app-footer{display:none!important}
  .app-content{margin:0!important;width:100%!important}
  .wrap{padding:0!important}
  body{background:#fff;color:#111}
  .panel,.printable-report,.community-report-panel{box-shadow:none;border:1px solid #ccc}
  table thead th{position:static;background:#f5f5f5;color:#000}
}


/* ===== v2.7.1 visual correction =====
   Fixes contrast when a browser/system previously selected light mode.
   The default is now dark, while light mode remains fully readable. */
html[data-theme='light'] body{
  background:linear-gradient(180deg,#eef3fb 0%,#f7f9fd 100%);
  color:#172033;
}
html[data-theme='light'] .sidebar{
  background:linear-gradient(180deg,#ffffff,#f7f9fd);
  border-right-color:#dfe6f1;
  box-shadow:10px 0 32px rgba(15,23,42,.05);
}
html[data-theme='light'] .sidebar-brand,
html[data-theme='light'] .system-badge{
  background:#ffffff;
  border-color:#e0e7f1;
}
html[data-theme='light'] .sidebar .brand-copy strong,
html[data-theme='light'] .sidebar .system-badge strong{color:#172033}
html[data-theme='light'] .sidebar .brand-copy small,
html[data-theme='light'] .sidebar .system-badge small{color:#718096}
html[data-theme='light'] .nav-label{color:#8090a8}
html[data-theme='light'] .nav-item{color:#53627a}
html[data-theme='light'] .nav-item:hover{background:#f0f4fb;color:#182235}
html[data-theme='light'] .nav-item.active{
  color:#172033;
  background:linear-gradient(90deg,rgba(93,99,255,.12),rgba(14,165,233,.06));
  border-color:rgba(93,99,255,.18);
}
html[data-theme='light'] .logout-link{color:#bd3f59}
html[data-theme='light'] .app-topbar{
  background:rgba(255,255,255,.90);
  border-bottom-color:#dfe6f1;
  box-shadow:0 8px 30px rgba(15,23,42,.04);
}
html[data-theme='light'] .page-path{color:#708097}
html[data-theme='light'] .page-path strong{color:#172033}
html[data-theme='light'] .user-menu,
html[data-theme='light'] .icon-btn{background:#fff;border-color:#dfe6f1;color:#53627a}
html[data-theme='light'] .live-badge{color:#08785d;background:#eafaf5;border-color:#bdebdc}
html[data-theme='light'] .page-hero,
html[data-theme='light'] .panel,
html[data-theme='light'] .shortcut-card,
html[data-theme='light'] .system-card,
html[data-theme='light'] .module-card,
html[data-theme='light'] .stat-card,
html[data-theme='light'] .team-card,
html[data-theme='light'] .thread-item,
html[data-theme='light'] .message-panel,
html[data-theme='light'] .message-bubble,
html[data-theme='light'] .settings-panel,
html[data-theme='light'] .community-report-panel,
html[data-theme='light'] .community-summary-card,
html[data-theme='light'] .upcoming-live-banner,
html[data-theme='light'] .upcoming-dashboard-card,
html[data-theme='light'] .modal-card,
html[data-theme='light'] .login-copy,
html[data-theme='light'] .preview-row,
html[data-theme='light'] .preview-head,
html[data-theme='light'] .league-switcher,
html[data-theme='light'] .league-live-switcher,
html[data-theme='light'] .accounts-clean,
html[data-theme='light'] .printable-report{
  background:#ffffff;
  border-color:#dfe6f1;
  box-shadow:0 12px 34px rgba(15,23,42,.06);
}
html[data-theme='light'] .page-hero h1,
html[data-theme='light'] .panel h1,
html[data-theme='light'] .panel h2,
html[data-theme='light'] .panel h3,
html[data-theme='light'] .community-report-head h2,
html[data-theme='light'] .community-summary-card strong,
html[data-theme='light'] .stat-card strong,
html[data-theme='light'] .upcoming-dashboard-name,
html[data-theme='light'] .player-name,
html[data-theme='light'] .community-player,
html[data-theme='light'] .js-player-name,
html[data-theme='light'] .rank,
html[data-theme='light'] .prize,
html[data-theme='light'] .current-reward,
html[data-theme='light'] .next-reward-cell b{color:#172033}
html[data-theme='light'] .page-hero p,
html[data-theme='light'] .panel p,
html[data-theme='light'] table tbody td{color:#526176}
html[data-theme='light'] .community-summary-card span{color:#78879c}
html[data-theme='light'] .upcoming-big-countdown{color:#172033}
html[data-theme='light'] .upcoming-live-banner{
  background:linear-gradient(135deg,#fff9ee,#f3f5ff);
  border-color:#f1dfbd;
}
html[data-theme='light'] .league-live-btn{
  background:#f7f9fd;
  border-color:#dfe6f1;
  color:#53627a;
}
html[data-theme='light'] .league-live-btn.active{
  color:#3e43b7;
  background:linear-gradient(135deg,rgba(93,99,255,.11),rgba(139,92,246,.08));
  border-color:rgba(93,99,255,.20);
}
html[data-theme='light'] .table-scroll{background:#fff;border-color:#dfe6f1}
html[data-theme='light'] table thead th{
  color:#64748b;
  background:#f5f8fc;
  border-bottom-color:#dfe6f1;
}
html[data-theme='light'] table tbody td{border-bottom-color:#e8edf4}
html[data-theme='light'] table tbody tr:hover td{background:#f8faff}
html[data-theme='light'] input[type=text],
html[data-theme='light'] input[type=email],
html[data-theme='light'] input[type=password],
html[data-theme='light'] input[type=number],
html[data-theme='light'] input[type=search],
html[data-theme='light'] input[type=url],
html[data-theme='light'] input[type=datetime-local],
html[data-theme='light'] select,
html[data-theme='light'] textarea{
  background:#fff;
  color:#172033;
  border-color:#dce4ef;
}
html[data-theme='light'] .btn-secondary,
html[data-theme='light'] .page-btn,
html[data-theme='light'] .voice-toggle{
  background:#fff;
  color:#53627a;
  border-color:#dfe6f1;
}
html[data-theme='light'] .page-btn.active{color:#fff}
html[data-theme='light'] .app-footer{background:#fff;border-top-color:#dfe6f1;color:#7a8798}

/* Dark-mode contrast correction: no low-opacity page content. */
html[data-theme='dark'] .page-hero h1,
html[data-theme='dark'] .page-hero h2,
html[data-theme='dark'] .page-hero p,
html[data-theme='dark'] .community-summary-card strong,
html[data-theme='dark'] .upcoming-dashboard-card strong,
html[data-theme='dark'] .stat-card strong{opacity:1}
html[data-theme='dark'] .page-hero h1,
html[data-theme='dark'] .page-hero h2{color:#f3f7ff}
html[data-theme='dark'] .page-hero p{color:#9fb0ca}


/* ===== v2.7.2 compact typography + spacing ===== */
body{font-size:14px;line-height:1.45}
:root{--sidebar-w:252px}
.brand-copy strong{font-size:15px;line-height:1.05}
.brand-copy small{font-size:10px}
.brand-orb{width:36px;height:36px;border-radius:11px;font-size:13px}
.sidebar{padding:14px 14px 12px}
.sidebar-head{padding:5px 5px 13px}
.sidebar-brand{padding:10px;border-radius:16px}
.nav-label{font-size:9px;padding:8px 10px 5px;letter-spacing:.15em}
.nav-item{font-size:13px;padding:10px 12px;border-radius:12px;gap:10px}
.nav-item svg{width:16px;height:16px}
.system-badge{font-size:12px;padding:11px;border-radius:15px}
.logout-link{font-size:13px}
.app-topbar{padding:13px 22px}
.page-path{font-size:13px}
.live-badge{font-size:12px;padding:7px 11px}
.user-menu{font-size:13px}
.user-menu .avatar{width:36px;height:36px;border-radius:11px;font-size:13px}
.user-menu small{font-size:10px}
.icon-btn{width:38px;height:38px;border-radius:12px}
.wrap{padding:20px 24px}
.announcement-bar{font-size:12px;padding:7px 14px}
.page-hero{padding:18px 20px;border-radius:20px;margin-bottom:18px}
.page-hero h1,.landing-copy h1,.hero-title{font-size:clamp(23px,2.1vw,32px)}
.page-hero p,.landing-copy p,.panel-head p,.community-report-head p,.panel>p{font-size:13px;margin-top:5px}
.eyebrow,.panel-kicker,.hero-kicker{font-size:9px;letter-spacing:.16em;margin-bottom:4px}
.panel{padding:18px 18px 15px;border-radius:20px;margin-bottom:18px}
.panel-head,.community-report-head,.upcoming-dashboard-head,.settings-tab,.accounts-title-row,.section-head{margin-bottom:14px}
.panel-head h2,.community-report-head h2,.settings-section h3,.accounts-title-row h2,.section-head h2{font-size:21px}
.league-live-switcher,.league-switcher{padding:14px 16px;border-radius:18px;margin-bottom:17px}
.league-live-title{font-size:12px;margin-bottom:10px}
.league-live-btn{font-size:13px;padding:9px 13px}
.league-button-status{font-size:9px;padding:4px 7px}
.community-summary-card{min-height:90px;padding:14px 16px;border-radius:18px}
.community-summary-card span{font-size:12px}
.community-summary-card strong{font-size:27px}
.community-report-panel{padding:14px;border-radius:21px}
.community-report-head{padding:5px 5px 14px}
.community-report-head h2{font-size:23px}
.community-report-head p{font-size:12px}
.community-search input,.leaderboard-search input,.search-inline input{min-width:210px}
input[type=text],input[type=email],input[type=password],input[type=number],input[type=search],input[type=url],input[type=datetime-local],select,textarea{padding:10px 12px;border-radius:11px;font-size:13px}
.btn{padding:10px 15px;border-radius:12px;font-size:13px}
.btn-small{padding:8px 11px;font-size:12px}
table{font-size:13px}
table thead th{font-size:9px;padding:11px 13px;letter-spacing:.08em}
table tbody td{padding:12px 13px;font-size:13px}
.player-name,.community-player,.js-player-name{font-size:13px}
.voice-toggle{width:32px;height:32px;border-radius:10px;font-size:14px}
.stat-card,.shortcut-card,.system-card,.module-card,.upcoming-dashboard-card,.team-card{padding:16px;border-radius:18px}
.stat-card strong,.upcoming-dashboard-name,.system-title{font-size:24px;margin-top:5px}
.stat-icon{width:46px;height:46px;border-radius:14px}
.shortcut-card h3,.team-card h3{font-size:17px}
.shortcut-card p,.team-card p,.module-card p,.system-note{font-size:12px}
.pill,.status-pill,.live-chip,.league-chip,.next-check,.auto-session-pill{font-size:10px;padding:6px 9px}
.leaderboard-pagination{padding-top:12px}
.page-btn{min-width:36px;height:36px;padding:0 11px;font-size:12px}
.pagination-meta{font-size:11px}
.app-footer,.public-footer{font-size:11px;padding-top:14px;padding-bottom:14px}

@media (max-width:991.98px){:root{--sidebar-w:252px}}
@media (max-width:767.98px){
  body{font-size:13px}
  .wrap{padding:14px}
  .page-hero h1,.landing-copy h1,.hero-title{font-size:22px}
  .panel-head h2,.community-report-head h2{font-size:20px}
  .community-summary-card strong{font-size:24px}
}

/* ===== v2.8 professional product UI ===== */
:root{
  --pro-bg:#07111f;
  --pro-surface:#0d1a2d;
  --pro-surface-2:#10223a;
  --pro-surface-3:#152b47;
  --pro-line:rgba(143,166,198,.16);
  --pro-line-strong:rgba(143,166,198,.25);
  --pro-text:#eef6ff;
  --pro-muted:#8ea1ba;
  --pro-blue:#4f7cff;
  --pro-cyan:#28c7d9;
  --pro-green:#20d6a1;
  --pro-purple:#8b6bff;
  --pro-amber:#ffb454;
  --pro-red:#ff667d;
  --pro-shadow:0 18px 50px rgba(1,8,20,.24);
}
html[data-theme='dark'] body{background:radial-gradient(circle at 78% 0,rgba(79,124,255,.08),transparent 26%),radial-gradient(circle at 20% 8%,rgba(40,199,217,.055),transparent 24%),#07111f;color:var(--pro-text)}
html[data-theme='dark'] .app-content{background:linear-gradient(180deg,rgba(8,18,33,.74),rgba(7,17,31,.92))}
html[data-theme='dark'] .sidebar{background:linear-gradient(180deg,#091629 0%,#081321 100%);border-right:1px solid rgba(137,160,191,.14);box-shadow:18px 0 55px rgba(1,7,18,.18)}
html[data-theme='dark'] .app-topbar{background:rgba(7,17,31,.86);border-color:rgba(143,166,198,.14)}
html[data-theme='dark'] .page-hero,
html[data-theme='dark'] .panel,
html[data-theme='dark'] .community-report-panel,
html[data-theme='dark'] .community-summary-card,
html[data-theme='dark'] .league-live-switcher,
html[data-theme='dark'] .league-switcher,
html[data-theme='dark'] .upcoming-live-banner,
html[data-theme='dark'] .upcoming-dashboard-card,
html[data-theme='dark'] .profile-cover-card,
html[data-theme='dark'] .profile-stat-grid article,
html[data-theme='dark'] .profile-info-box,
html[data-theme='dark'] .user-kpi-card,
html[data-theme='dark'] .league-status-card,
html[data-theme='dark'] .reward-summary-grid article,
html[data-theme='dark'] .admin-kpi-card,
html[data-theme='dark'] .landing-service-banner,
html[data-theme='dark'] .landing-how,
html[data-theme='dark'] .landing-final-cta{
  background:linear-gradient(180deg,#0e1c31 0%,#0b192b 100%);
  border:1px solid rgba(143,166,198,.15);
  box-shadow:0 16px 42px rgba(1,8,20,.18);
}
html[data-theme='dark'] .page-hero h1,html[data-theme='dark'] .panel h2,html[data-theme='dark'] .panel h3,html[data-theme='dark'] .professional-page-head h1{color:#f3f8ff}
html[data-theme='dark'] .page-hero p,html[data-theme='dark'] .panel p{color:#95a8c0}
html[data-theme='dark'] input[type=text],html[data-theme='dark'] input[type=email],html[data-theme='dark'] input[type=password],html[data-theme='dark'] input[type=number],html[data-theme='dark'] input[type=search],html[data-theme='dark'] input[type=url],html[data-theme='dark'] input[type=datetime-local],html[data-theme='dark'] input[type=date],html[data-theme='dark'] select,html[data-theme='dark'] textarea{background:#0a1729;border-color:rgba(143,166,198,.18);color:#eef6ff}
html[data-theme='dark'] input:focus,html[data-theme='dark'] select:focus,html[data-theme='dark'] textarea:focus{background:#0c1b30;border-color:rgba(79,124,255,.55);box-shadow:0 0 0 3px rgba(79,124,255,.12)}

/* light theme is intentionally bright, not grey-on-grey */
html[data-theme='light'] body{background:#f3f6fb;color:#172235}
html[data-theme='light'] .app-content{background:#f5f8fc}
html[data-theme='light'] .sidebar{background:#ffffff;border-right:1px solid #e4eaf2;box-shadow:10px 0 30px rgba(18,32,54,.035)}
html[data-theme='light'] .app-topbar{background:rgba(255,255,255,.94);border-color:#e4eaf2}
html[data-theme='light'] .page-hero,
html[data-theme='light'] .panel,
html[data-theme='light'] .community-report-panel,
html[data-theme='light'] .community-summary-card,
html[data-theme='light'] .league-live-switcher,
html[data-theme='light'] .league-switcher,
html[data-theme='light'] .upcoming-live-banner,
html[data-theme='light'] .upcoming-dashboard-card,
html[data-theme='light'] .profile-cover-card,
html[data-theme='light'] .profile-stat-grid article,
html[data-theme='light'] .profile-info-box,
html[data-theme='light'] .user-kpi-card,
html[data-theme='light'] .league-status-card,
html[data-theme='light'] .reward-summary-grid article,
html[data-theme='light'] .admin-kpi-card,
html[data-theme='light'] .landing-service-banner,
html[data-theme='light'] .landing-how,
html[data-theme='light'] .landing-final-cta{background:#fff;border:1px solid #e2e8f1;box-shadow:0 10px 28px rgba(18,32,54,.045)}
html[data-theme='light'] .page-hero h1,html[data-theme='light'] .panel h2,html[data-theme='light'] .panel h3,html[data-theme='light'] .professional-page-head h1,html[data-theme='light'] .profile-cover-card h1{color:#172235}
html[data-theme='light'] .page-hero p,html[data-theme='light'] .panel p{color:#64748b}
html[data-theme='light'] table tbody td{color:#43526a}
html[data-theme='light'] .player-name,html[data-theme='light'] .community-player,html[data-theme='light'] .js-player-name,html[data-theme='light'] .rank,html[data-theme='light'] .prize{color:#172235}
html[data-theme='light'] .topbar-popover{background:#fff;border-color:#e2e8f1;box-shadow:0 22px 55px rgba(15,23,42,.12)}

/* cleaner app geometry */
:root{--sidebar-w:244px}
.sidebar{padding:13px 12px}
.sidebar-head{padding:3px 3px 12px}
.sidebar-brand{padding:10px 11px;border-radius:15px;background:transparent!important;box-shadow:none!important}
.sidebar .brand-copy strong{font-size:14px;max-width:150px;line-height:1.12}
.sidebar .brand-copy small{font-size:9px;letter-spacing:.03em}
.nav-section{margin-bottom:13px}
.nav-label{font-size:8.5px;letter-spacing:.17em;padding:8px 10px 5px}
.nav-item{font-size:12.5px;font-weight:650;padding:9px 10px;border-radius:11px;gap:9px;margin-bottom:3px}
.nav-item.active{background:linear-gradient(90deg,rgba(79,124,255,.18),rgba(40,199,217,.055));border-color:rgba(79,124,255,.22)}
.sidebar-footer{padding:10px 3px 0}
.system-badge{padding:10px 11px;border-radius:13px;margin-bottom:9px;background:rgba(255,255,255,.025)}
.system-badge strong{font-size:11px}.system-badge small{font-size:9px}
.app-topbar{padding:11px 20px;min-height:64px}
.wrap{padding:20px 22px 30px;max-width:1600px;width:100%;margin:0 auto}
.page-path{font-size:12px}.page-path span{color:#71849d}.page-path b{opacity:.4}
.icon-btn{width:36px;height:36px;border-radius:11px}.icon-btn svg{width:17px;height:17px}
.live-badge{font-size:11px;padding:7px 10px}
.user-menu{border:1px solid var(--border);background:rgba(255,255,255,.025);padding:5px 8px 5px 5px;border-radius:14px;cursor:pointer;color:inherit;text-align:left;min-width:166px}
.user-menu .avatar{width:34px;height:34px;border-radius:10px;font-size:12px}.user-menu strong{font-size:12px}.user-menu small{font-size:9px;color:var(--text-muted)}
.user-menu-chevron{margin-left:auto;display:grid;place-items:center}.user-menu-chevron svg{width:15px;height:15px;stroke:currentColor;fill:none;stroke-width:1.8}
.page-hero,.professional-page-head{padding:18px 20px;border-radius:18px;margin-bottom:17px}
.page-hero h1,.professional-page-head h1{font-size:24px;letter-spacing:-.015em}
.page-hero p,.professional-page-head p{font-size:12.5px;max-width:780px}
.panel{padding:17px 18px 16px;border-radius:18px;margin-bottom:17px}
.panel-head{margin-bottom:13px}.panel-head h2,.community-report-head h2,.section-head h2{font-size:19px;letter-spacing:-.01em}.panel-head p{font-size:12px}
.eyebrow,.panel-kicker{font-size:8.5px;color:#77baff;letter-spacing:.17em}
.btn{padding:9px 13px;border-radius:10px;font-size:12px;font-weight:750}.btn-large{padding:11px 17px}.btn-small{padding:7px 10px;font-size:11px}
.btn-primary{background:linear-gradient(135deg,#4f7cff,#755ef5);box-shadow:0 9px 20px rgba(79,124,255,.18)}
.btn-secondary{box-shadow:none}
.pill,.status-pill,.league-chip,.next-check,.auto-session-pill,.league-button-status{font-size:9.5px;padding:5px 8px;border-radius:999px}
.table-scroll{border-radius:14px}
table{font-size:12px}table thead th{font-size:8.5px;padding:10px 11px;letter-spacing:.09em}table tbody td{font-size:12px;padding:11px 11px}.table-sub{font-size:9px;margin-top:2px;display:block;color:var(--text-muted)}

/* top bar notification + account popovers */
.topbar-popover-wrap{position:relative}
.notification-trigger{position:relative}
.notification-badge{position:absolute;top:-5px;right:-5px;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:#ff5c73;color:#fff;display:grid;place-items:center;font-size:9px;font-weight:800;border:2px solid #081321}
.topbar-popover{position:absolute;right:0;top:calc(100% + 10px);width:340px;background:#0d1a2d;border:1px solid rgba(143,166,198,.18);border-radius:16px;box-shadow:0 24px 60px rgba(1,8,20,.38);padding:10px;z-index:90;opacity:0;transform:translateY(-6px) scale(.985);pointer-events:none;transition:.16s ease}
.topbar-popover.open{opacity:1;transform:none;pointer-events:auto}
.profile-popover{width:250px}.popover-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 9px 11px;border-bottom:1px solid var(--border)}.popover-head strong{display:block;font-size:13px}.popover-head small{display:block;font-size:9px;color:var(--text-muted)}.popover-head a{font-size:10px;color:#7fb5ff;font-weight:700}
.popover-list{display:flex;flex-direction:column;padding-top:5px}.popover-item{display:flex;gap:9px;align-items:flex-start;padding:9px;border-radius:10px}.popover-item:hover{background:rgba(255,255,255,.035)}.popover-item b{display:block;font-size:11px}.popover-item small{display:block;font-size:9.5px;color:var(--text-muted);line-height:1.35;margin-top:2px}.popover-dot{width:7px;height:7px;border-radius:50%;background:#5d6b80;margin-top:4px;flex:none}.popover-item.unread .popover-dot{background:#20d6a1;box-shadow:0 0 0 3px rgba(32,214,161,.1)}.popover-empty{padding:18px;text-align:center;color:var(--text-muted);font-size:11px}
.profile-popover-head{display:flex;align-items:center;gap:10px;padding:8px 9px 11px;border-bottom:1px solid var(--border);margin-bottom:5px}.profile-popover-head .avatar.large{width:40px;height:40px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#4f7cff,#755ef5);color:#fff;font-weight:800}.profile-popover-head b{display:block;font-size:12px}.profile-popover-head small{display:block;color:var(--text-muted);font-size:9px}.profile-popover>a{display:flex;align-items:center;gap:9px;padding:9px 10px;border-radius:10px;font-size:11px;font-weight:650}.profile-popover>a:hover{background:rgba(255,255,255,.035)}.profile-popover>a svg{width:16px;height:16px;stroke:currentColor;fill:none;stroke-width:1.8}.profile-popover .danger-link{color:#ff8b9d;border-top:1px solid var(--border);margin-top:4px;border-radius:0 0 10px 10px}

/* profile */
.profile-shell{display:flex;flex-direction:column;gap:17px}.profile-cover-card{position:relative;overflow:hidden;border-radius:22px;padding:26px 28px;display:flex;justify-content:space-between;align-items:center;gap:20px}.profile-cover-glow{position:absolute;width:360px;height:360px;border-radius:50%;background:radial-gradient(circle,rgba(79,124,255,.22),rgba(40,199,217,.05) 48%,transparent 70%);right:-90px;top:-170px;pointer-events:none}.profile-identity{position:relative;display:flex;align-items:center;gap:18px}.profile-avatar-xl{width:76px;height:76px;border-radius:22px;background:linear-gradient(135deg,#4f7cff,#8a62f6);box-shadow:0 15px 36px rgba(79,124,255,.26);display:grid;place-items:center;font-size:28px;font-weight:800;color:white}.profile-cover-card h1{font-size:25px;margin:0 0 2px}.profile-handle{font-size:12px;color:#8ebcff;font-weight:650}.profile-meta-line{display:flex;gap:7px;align-items:center;color:var(--text-muted);font-size:10px;margin-top:6px;flex-wrap:wrap}.profile-cover-actions{position:relative}.profile-stat-grid,.reward-summary-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:13px}.profile-stat-grid article,.reward-summary-grid article{border-radius:16px;padding:15px 16px}.profile-stat-grid span,.reward-summary-grid span{font-size:10px;color:var(--text-muted);display:block}.profile-stat-grid strong,.reward-summary-grid strong{display:block;font-size:23px;line-height:1.1;margin-top:5px}.profile-stat-grid small,.reward-summary-grid small{font-size:9px;color:var(--text-muted)}.profile-content-grid{display:grid;grid-template-columns:1.05fr .95fr;gap:17px}.profile-content-grid>.panel{margin-bottom:0}.profile-info-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-info-box{padding:13px 14px;border-radius:13px}.profile-info-box span{display:block;color:var(--text-muted);font-size:9px;text-transform:uppercase;letter-spacing:.1em}.profile-info-box strong{display:block;font-size:12px;margin-top:4px;word-break:break-word}.profile-info-box small{font-size:8.5px;color:var(--text-muted)}.form-row-2{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}

/* dashboards */
.dashboard-welcome-card{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:21px 23px;border-radius:20px;background:linear-gradient(125deg,#10223b,#0c1a2d 58%,rgba(79,124,255,.13));border:1px solid rgba(143,166,198,.16);box-shadow:var(--pro-shadow);margin-bottom:17px}.dashboard-welcome-card h1{font-size:25px;margin:0}.dashboard-welcome-card p{color:var(--text-muted);font-size:12.5px;margin:5px 0 0}.dashboard-welcome-actions{display:flex;gap:9px;flex-wrap:wrap}.league-status-strip{margin-bottom:17px}.section-head.compact{margin:0 0 10px}.text-link{font-size:10.5px;color:#7fb5ff;font-weight:700}.league-status-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:10px}.league-status-card{padding:13px 14px;border-radius:15px}.league-status-card.active{border-color:rgba(32,214,161,.3);background:linear-gradient(180deg,rgba(17,48,47,.65),#0c1b2e)}.league-status-card.upcoming{border-color:rgba(255,180,84,.25)}.league-status-top{display:flex;align-items:center;gap:7px}.league-status-top b{font-size:11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.league-state-dot{width:7px;height:7px;border-radius:50%;background:#66768d}.league-status-card.active .league-state-dot{background:#20d6a1;box-shadow:0 0 0 4px rgba(32,214,161,.1)}.league-status-card.upcoming .league-state-dot{background:#ffb454}.league-state-label{margin-left:auto;font-size:8px;font-weight:800;color:var(--text-muted)}.league-status-card.active .league-state-label{color:#60e4bd}.league-status-time{margin-top:10px;display:flex;justify-content:space-between;gap:10px}.league-status-time small{font-size:8.5px;color:var(--text-muted)}.league-status-time strong{font-size:10.5px}.user-kpi-grid,.admin-kpi-grid-pro{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:11px;margin-bottom:17px}.user-kpi-card,.admin-kpi-card{display:flex;align-items:flex-start;gap:11px;padding:14px;border-radius:16px}.kpi-icon,.admin-kpi-card>span{width:38px;height:38px;border-radius:11px;display:grid;place-items:center;background:rgba(79,124,255,.13);border:1px solid rgba(79,124,255,.15);font-size:10px;font-weight:800;color:#90b2ff;flex:none}.kpi-icon.points{color:#7fd9e5;background:rgba(40,199,217,.1)}.kpi-icon.reward{color:#5fe3b9;background:rgba(32,214,161,.1)}.kpi-icon.rank{color:#ffd18a;background:rgba(255,180,84,.1)}.kpi-icon.live{color:#ad9dff;background:rgba(139,107,255,.1)}.user-kpi-card small,.admin-kpi-card small{font-size:9px;color:var(--text-muted);display:block}.user-kpi-card strong,.admin-kpi-card strong{display:block;font-size:19px;line-height:1.1;margin:3px 0}.user-kpi-card em,.admin-kpi-card em{font-size:8.5px;color:var(--text-muted);font-style:normal;line-height:1.25;display:block}.dashboard-analytics-grid{display:grid;grid-template-columns:1.15fr .85fr;gap:17px}.dashboard-analytics-grid>.panel{margin-bottom:17px}.chart-wrap{height:265px;position:relative}.chart-empty{display:grid;place-items:center;height:100%;color:var(--text-muted);font-size:11px}.member-ranking-list{display:flex;flex-direction:column}.member-rank-row{display:grid;grid-template-columns:26px 34px minmax(0,1fr) auto;gap:9px;align-items:center;padding:8px 3px;border-bottom:1px solid var(--border)}.member-rank-row:last-child{border-bottom:0}.member-rank-num{font-size:9px;color:var(--text-muted);font-weight:800}.member-avatar{width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(79,124,255,.18),rgba(139,107,255,.18));color:#b8caff;font-size:10px;font-weight:800;border:1px solid rgba(79,124,255,.14)}.member-rank-row b{display:block;font-size:10.5px}.member-rank-row small{font-size:8.5px;color:var(--text-muted)}.member-rank-row>strong{font-size:10.5px}.member-rank-row>strong small{font-weight:500}.admin-welcome-card .sync-card{background:rgba(255,255,255,.025);border:1px solid var(--border);border-radius:13px;padding:10px 12px;display:flex;gap:9px;align-items:center}.sync-card strong{display:block;font-size:10.5px}.sync-card small{display:block;font-size:8.5px;color:var(--text-muted)}.admin-kpi-grid-pro{grid-template-columns:repeat(4,minmax(0,1fr))}.admin-kpi-card{text-decoration:none}.admin-chart-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px}.admin-chart-grid .wide{grid-column:1/-1}.chart-panel{margin-bottom:0}.admin-chart-grid{margin-bottom:17px}

/* leaderboard */
.league-live-switcher,.league-switcher{padding:13px 15px;border-radius:16px;margin-bottom:14px}.league-live-title{margin-bottom:9px}.league-live-btn{font-size:11.5px;padding:8px 11px;border-radius:12px}.league-live-btn.active{box-shadow:none}.league-live-btn .live-dot{width:7px;height:7px}.league-live-btn .live-dot.on{background:#20d6a1;box-shadow:0 0 0 3px rgba(32,214,161,.08)}.league-live-btn .live-dot.off{background:#73849c}.league-button-status.live-now{color:#68e9c2;background:rgba(32,214,161,.08);border-color:rgba(32,214,161,.16)}.community-summary-grid{gap:10px}.community-summary-card{min-height:78px;padding:12px 14px;border-radius:15px}.community-summary-card span{font-size:9px}.community-summary-card strong{font-size:21px}.community-summary-card .small-value{font-size:11px!important}.community-report-panel{padding:13px;border-radius:18px}.community-report-head{padding:4px 3px 12px}.community-report-head h2{font-size:19px}.instant-search-wrap{position:relative;min-width:270px;flex:1}.instant-search-wrap.wide{min-width:min(520px,100%)}.instant-search-wrap input{padding-left:34px!important;padding-right:56px!important}.search-icon{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--text-muted);font-size:15px;pointer-events:none}.instant-search-state{position:absolute;right:9px;top:50%;transform:translateY(-50%);font-size:8px;color:#63dcb6;background:rgba(32,214,161,.08);padding:3px 5px;border-radius:7px;pointer-events:none}.live-search-results{transition:opacity .15s}.live-search-results.loading{opacity:.48}.leaderboard-pagination{justify-content:space-between}.page-btn{height:32px;min-width:32px;padding:0 9px;border-radius:9px;font-size:10px}.pagination-meta{margin-left:auto}.rank-toast{font-size:11px}.rank-toast span{font-size:10.5px}.rank-toast small{font-size:9px}.upcoming-live-banner{padding:15px 17px;border-radius:16px}.upcoming-live-banner h2{font-size:17px;margin:2px 0}.upcoming-big-countdown{font-size:24px}.voice-toggle{width:29px;height:29px;font-size:12px;border-radius:9px}

/* request/transfer + rewards */
.request-toolbar{display:flex;align-items:center;gap:12px}.selection-counter{margin-left:auto;padding:8px 10px;border:1px solid var(--border);border-radius:10px;font-size:10px;color:var(--text-muted)}.selection-counter b{color:var(--text);font-size:12px}.selectable-table input[type=checkbox]{width:15px;height:15px;accent-color:#4f7cff}.reward-summary-grid{margin-bottom:17px}.table-user-cell{display:flex;align-items:center;gap:9px}.table-user-cell b{display:block;font-size:10.5px}.table-user-cell small{display:block;color:var(--text-muted);font-size:8.5px}.user-view-summary{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px;margin-bottom:13px}.user-view-summary>div{padding:11px;border-radius:11px;background:rgba(255,255,255,.025);border:1px solid var(--border)}.user-view-summary span{font-size:8.5px;color:var(--text-muted);display:block}.user-view-summary strong{font-size:16px;display:block;margin-top:2px}

/* modal bug fix: closed modals must never cover the page */
.modal{display:none!important}.modal.open{display:grid!important}.modal-backdrop{z-index:-1}.modal.open .modal-backdrop{z-index:auto}.modal-card{position:relative;z-index:2;max-height:calc(100vh - 40px);overflow:auto}

/* homepage */
.public-home.landing-pro{background:radial-gradient(circle at 75% 0,rgba(79,124,255,.1),transparent 27%),#07111f}.public-topbar-pro{max-width:1240px}.landing-pro-wrap{width:min(1240px,calc(100% - 34px));margin:0 auto;padding:34px 0 54px}.landing-hero-pro{display:grid;grid-template-columns:1.04fr .96fr;gap:22px;align-items:stretch}.landing-hero-pro .landing-copy{padding:40px 38px;border-radius:24px;background:linear-gradient(135deg,#0e2139,#0b182a);border:1px solid rgba(143,166,198,.14);box-shadow:var(--pro-shadow)}.landing-hero-pro .landing-copy h1{font-size:clamp(32px,4vw,50px);letter-spacing:-.035em;line-height:1.02;max-width:700px}.landing-hero-pro .landing-copy p{font-size:14px;line-height:1.65;max-width:650px}.landing-preview-pro{border-radius:24px;background:linear-gradient(180deg,#0e1d32,#0b1728);border:1px solid rgba(143,166,198,.14);padding:20px;box-shadow:var(--pro-shadow)}.landing-trust{display:flex;gap:9px;flex-wrap:wrap;margin-top:23px}.landing-trust span{font-size:9.5px;color:#9fb0c7;display:inline-flex;gap:6px;align-items:center}.landing-trust i{width:6px;height:6px;border-radius:50%;background:#20d6a1}.landing-service-banner{margin-top:22px;border-radius:20px;padding:22px 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.landing-service-banner h2{font-size:21px;margin:0}.landing-service-banner p{font-size:11.5px;color:var(--text-muted);max-width:760px;margin:4px 0 0}.service-contact-actions{display:flex;gap:8px;flex-wrap:wrap}.feature-grid-pro{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:22px}.feature-grid-pro article{grid-column:auto!important;padding:19px;border-radius:17px;background:linear-gradient(180deg,#0e1c31,#0b192b);border:1px solid rgba(143,166,198,.14)}.feature-grid-pro h3{font-size:14px;margin:9px 0 5px}.feature-grid-pro p{font-size:10.5px;line-height:1.55;color:var(--text-muted)}.feature-icon{width:35px;height:35px;display:grid;place-items:center;border-radius:10px;background:rgba(79,124,255,.11);color:#94b3ff}.landing-how{margin-top:22px;padding:23px;border-radius:20px}.how-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.how-grid article{padding:15px;border:1px solid var(--border);border-radius:13px;background:rgba(255,255,255,.018)}.how-grid article>span{font-size:9px;color:#74b6ff;font-weight:800}.how-grid h3{font-size:13px;margin:7px 0 3px}.how-grid p{font-size:10px;color:var(--text-muted);margin:0}.landing-final-cta{margin-top:22px;padding:24px;border-radius:20px;display:flex;align-items:center;justify-content:space-between;gap:20px}.landing-final-cta h2{font-size:20px;margin:0}.preview-stats>div{background:rgba(255,255,255,.025);border:1px solid var(--border);padding:11px;border-radius:11px}.preview-stats small{font-size:8.5px}.preview-stats strong{font-size:20px}.preview-row{padding:10px 11px;border-radius:11px}.activity-avatar{width:30px;height:30px;border-radius:9px;display:grid;place-items:center;background:rgba(79,124,255,.12);font-size:10px;font-weight:800;color:#a9bfff}.preview-player b,.preview-rank b{font-size:10.5px}.preview-player small,.preview-rank small{font-size:8.5px}

@media(max-width:1200px){.user-kpi-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.admin-kpi-grid-pro{grid-template-columns:repeat(4,minmax(0,1fr))}.landing-hero-pro{grid-template-columns:1fr}.feature-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:991px){:root{--sidebar-w:244px}.dashboard-analytics-grid,.profile-content-grid{grid-template-columns:1fr}.admin-chart-grid{grid-template-columns:1fr}.admin-chart-grid .wide{grid-column:auto}.user-kpi-grid,.admin-kpi-grid-pro{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-stat-grid,.reward-summary-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.how-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.landing-service-banner,.landing-final-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:767px){.wrap{padding:14px}.app-topbar{padding:9px 12px}.topbar-right{gap:7px}.live-badge{display:none}.user-menu{min-width:0}.user-menu>div,.user-menu-chevron{display:none}.topbar-popover{position:fixed;right:12px;left:12px;top:66px;width:auto}.dashboard-welcome-card,.profile-cover-card{align-items:flex-start;flex-direction:column}.profile-identity{align-items:flex-start}.profile-avatar-xl{width:60px;height:60px;border-radius:18px;font-size:22px}.profile-stat-grid,.reward-summary-grid,.user-kpi-grid,.admin-kpi-grid-pro{grid-template-columns:1fr 1fr}.profile-info-grid,.form-row-2{grid-template-columns:1fr}.dashboard-analytics-grid{grid-template-columns:1fr}.league-status-cards{grid-template-columns:1fr}.feature-grid-pro,.how-grid{grid-template-columns:1fr}.landing-pro-wrap{width:min(100% - 20px,1240px);padding-top:18px}.landing-hero-pro .landing-copy{padding:24px 20px}.landing-hero-pro .landing-copy h1{font-size:30px}.public-topbar-pro{width:calc(100% - 20px);margin-top:10px}.public-links>a:not(.btn){display:none}.request-toolbar{align-items:stretch;flex-direction:column}.selection-counter{margin-left:0;align-self:flex-start}.instant-search-wrap{min-width:0;width:100%}}
@media(max-width:480px){.profile-stat-grid,.reward-summary-grid,.user-kpi-grid,.admin-kpi-grid-pro{grid-template-columns:1fr}.community-summary-grid{grid-template-columns:1fr 1fr}.landing-hero-pro .landing-copy h1{font-size:27px}.profile-cover-card h1{font-size:21px}}
.service-copy{flex:1}.service-mini-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:13px;max-width:720px}.service-mini-grid>div{padding:10px 11px;border-radius:11px;border:1px solid var(--border);background:rgba(255,255,255,.018)}.service-mini-grid b{display:block;font-size:10.5px}.service-mini-grid small{display:block;font-size:8.8px;color:var(--text-muted);margin-top:2px}@media(max-width:600px){.service-mini-grid{grid-template-columns:1fr}}

/* ======================================================================
   v2.9 — ProfileOps / MailPanel inspired clean UI
   Light, compact, white-card dashboard language shared across the app.
   ====================================================================== */
html[data-theme='light']{
  --body-bg:#f5f7fb;
  --surface-0:#ffffff;
  --surface-1:#ffffff;
  --surface-2:#f8faff;
  --surface-3:#edf2ff;
  --surface-soft:#f8faff;
  --border:#e5e9f2;
  --border-strong:#d8deea;
  --text:#182233;
  --text-soft:#475569;
  --text-muted:#6f7b91;
  --primary:#2758f5;
  --primary-2:#2758f5;
  --primary-soft:#edf2ff;
  --success:#198754;
  --warning:#f59e0b;
  --danger:#dc3545;
  --cyan:#0ea5e9;
  --shadow:0 8px 24px rgba(26,44,84,.06);
  --shadow-soft:0 3px 16px rgba(26,44,84,.04);
  --sidebar-w:240px;
}
html.profileops-skin,html.profileops-skin body{background:#f5f7fb!important}
html.profileops-skin body{
  font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",Arial,sans-serif!important;
  color:#182233!important;
  line-height:1.48;
}
html.profileops-skin ::selection{background:#dfe7ff;color:#182233}

/* Announcement + public header */
html.profileops-skin .announcement-bar{
  position:relative;top:auto;background:#eef3ff!important;color:#506078!important;
  border-bottom:1px solid #dde5f4!important;backdrop-filter:none!important;
  padding:8px 14px;font-size:12px;
}
html.profileops-skin .announcement-bar a{color:#2758f5!important}
html.profileops-skin .public-main{width:min(1230px,calc(100% - 36px));padding-top:26px}
html.profileops-skin .public-topbar{
  background:#fff!important;border:1px solid #e5e9f2!important;box-shadow:0 3px 16px rgba(26,44,84,.04)!important;
  border-radius:14px!important;padding:15px 20px!important;margin-top:20px!important;backdrop-filter:none!important;
}
html.profileops-skin .brand{gap:11px}
html.profileops-skin .brand-orb{
  width:36px;height:36px;border-radius:10px;background:#2758f5!important;color:#fff!important;
  box-shadow:none!important;font-size:13px;
}
html.profileops-skin .brand-copy strong{font-size:15px;color:#182233!important;font-weight:800}
html.profileops-skin .brand-copy small{font-size:10px;color:#6f7b91!important}
html.profileops-skin .public-links>a:not(.btn){color:#526176!important;border-radius:9px!important;padding:9px 12px!important;font-size:13px}
html.profileops-skin .public-links>a:not(.btn):hover{background:#edf2ff!important;color:#2758f5!important}
html.profileops-skin .public-footer{color:#7a8798!important}

/* Application shell */
html.profileops-skin .sidebar{
  width:240px!important;padding:18px 15px 14px!important;background:#fff!important;
  border-right:1px solid #e5e9f2!important;box-shadow:none!important;
}
html.profileops-skin .sidebar-head{padding:3px 5px 17px!important}
html.profileops-skin .sidebar-brand{
  padding:8px!important;border:0!important;background:transparent!important;border-radius:10px!important;
}
html.profileops-skin .sidebar-nav{padding-right:2px}
html.profileops-skin .nav-section{margin-bottom:13px}
html.profileops-skin .nav-label{color:#94a0b2!important;font-size:9px!important;letter-spacing:.12em!important;padding:8px 10px 5px!important}
html.profileops-skin .nav-item{
  color:#334155!important;background:transparent!important;border:0!important;box-shadow:none!important;
  border-radius:10px!important;padding:10px 11px!important;margin:3px 0!important;font-size:12.5px!important;font-weight:600!important;
}
html.profileops-skin .nav-item svg{width:15px!important;height:15px!important;color:#7d899b!important}
html.profileops-skin .nav-item:hover{background:#f5f7fb!important;color:#2758f5!important}
html.profileops-skin .nav-item.active{background:#edf2ff!important;color:#2758f5!important;font-weight:700!important}
html.profileops-skin .nav-item.active svg{color:#2758f5!important}
html.profileops-skin .sidebar-footer{border-top:1px solid #e5e9f2!important;padding-top:10px!important}
html.profileops-skin .system-badge{
  padding:10px 11px!important;border:1px solid #e5e9f2!important;border-radius:10px!important;background:#f8faff!important;box-shadow:none!important;
}
html.profileops-skin .system-badge strong{font-size:11px!important;color:#182233!important}
html.profileops-skin .system-badge small{font-size:9px!important;color:#6f7b91!important}
html.profileops-skin .status-dot,html.profileops-skin .system-badge .status-dot{width:8px;height:8px;box-shadow:none!important;background:#198754!important}
html.profileops-skin .logout-link{color:#a33a48!important}
html.profileops-skin .app-content{margin-left:240px!important;width:calc(100% - 240px)!important;background:#f5f7fb!important}
html.profileops-skin .app-topbar{
  min-height:64px;padding:12px 24px!important;background:#fff!important;border-bottom:1px solid #e5e9f2!important;
  box-shadow:none!important;backdrop-filter:none!important;
}
html.profileops-skin .page-path{font-size:12.5px!important;color:#7a8798!important}
html.profileops-skin .page-path strong{color:#182233!important}
html.profileops-skin .live-badge{
  color:#16733a!important;background:#e8f7ee!important;border:1px solid #cfeedd!important;
  padding:7px 10px!important;font-size:11px!important;
}
html.profileops-skin .live-badge i{width:7px;height:7px;background:#198754!important}
html.profileops-skin .icon-btn{
  width:36px;height:36px;border-radius:9px!important;background:#fff!important;color:#64748b!important;
  border:1px solid #e1e6ef!important;box-shadow:none!important;
}
html.profileops-skin .icon-btn:hover{transform:none!important;background:#edf2ff!important;color:#2758f5!important}
html.profileops-skin .user-menu{
  border-radius:10px!important;border:1px solid #e5e9f2!important;background:#fff!important;padding:5px 8px 5px 5px!important;box-shadow:none!important;
}
html.profileops-skin .user-menu .avatar,html.profileops-skin .avatar{
  background:#2758f5!important;box-shadow:none!important;border-radius:9px!important;color:#fff!important;
}
html.profileops-skin .user-menu strong{font-size:11.5px!important;color:#182233!important}
html.profileops-skin .user-menu small{font-size:9px!important;color:#6f7b91!important}
html.profileops-skin .wrap{padding:22px 28px!important}
html.profileops-skin .app-footer{background:#fff!important;border-top:1px solid #e5e9f2!important;color:#7a8798!important}

/* Popovers */
html.profileops-skin .topbar-popover{
  background:#fff!important;border:1px solid #e5e9f2!important;box-shadow:0 14px 38px rgba(26,44,84,.12)!important;color:#182233!important;
}
html.profileops-skin .popover-head,html.profileops-skin .profile-popover-head{border-color:#e5e9f2!important}
html.profileops-skin .popover-item:hover,html.profileops-skin .profile-popover>a:hover{background:#f7f9fd!important}
html.profileops-skin .popover-item small,html.profileops-skin .profile-popover small{color:#6f7b91!important}

/* Shared cards / panels */
html.profileops-skin .page-hero,
html.profileops-skin .panel,
html.profileops-skin .community-report-panel,
html.profileops-skin .community-summary-card,
html.profileops-skin .league-live-switcher,
html.profileops-skin .league-switcher,
html.profileops-skin .upcoming-live-banner,
html.profileops-skin .upcoming-dashboard-card,
html.profileops-skin .profile-cover-card,
html.profileops-skin .profile-stat-grid article,
html.profileops-skin .profile-info-box,
html.profileops-skin .user-kpi-card,
html.profileops-skin .league-status-card,
html.profileops-skin .reward-summary-grid article,
html.profileops-skin .admin-kpi-card,
html.profileops-skin .shortcut-card,
html.profileops-skin .system-card,
html.profileops-skin .module-card,
html.profileops-skin .team-card,
html.profileops-skin .account-card,
html.profileops-skin .settings-panel,
html.profileops-skin .message-panel,
html.profileops-skin .thread-item,
html.profileops-skin .message-bubble,
html.profileops-skin .dashboard-welcome-card,
html.profileops-skin .chart-panel,
html.profileops-skin .google-accounts-table,
html.profileops-skin .accounts-clean,
html.profileops-skin .printable-report,
html.profileops-skin .landing-service-banner,
html.profileops-skin .landing-how,
html.profileops-skin .landing-final-cta{
  background:#fff!important;border:1px solid #e5e9f2!important;box-shadow:0 3px 16px rgba(26,44,84,.04)!important;
}
html.profileops-skin .page-hero{border-radius:14px!important;padding:18px 20px!important;margin-bottom:16px!important}
html.profileops-skin .page-hero h1{font-size:25px!important;color:#182233!important}
html.profileops-skin .page-hero p{font-size:12.5px!important;color:#6f7b91!important}
html.profileops-skin .eyebrow,html.profileops-skin .panel-kicker,html.profileops-skin .hero-kicker{
  color:#2758f5!important;font-size:9px!important;letter-spacing:.12em!important;
}
html.profileops-skin .panel{border-radius:14px!important;padding:17px!important;margin-bottom:16px!important}
html.profileops-skin .panel-head h2,html.profileops-skin .community-report-head h2,html.profileops-skin .section-head h2{font-size:19px!important;color:#182233!important}
html.profileops-skin .panel p,html.profileops-skin .panel-head p,html.profileops-skin .community-report-head p{color:#6f7b91!important}
html.profileops-skin .stat-card,html.profileops-skin .shortcut-card,html.profileops-skin .system-card,html.profileops-skin .module-card,html.profileops-skin .upcoming-dashboard-card,html.profileops-skin .team-card{border-radius:14px!important;padding:16px!important}
html.profileops-skin .stat-card strong,html.profileops-skin .upcoming-dashboard-name,html.profileops-skin .system-title{color:#182233!important}
html.profileops-skin .stat-icon,html.profileops-skin .kpi-icon,html.profileops-skin .admin-kpi-card>span{
  background:#edf2ff!important;color:#2758f5!important;border:1px solid #dce5ff!important;box-shadow:none!important;
}

/* Forms and buttons */
html.profileops-skin input[type=text],html.profileops-skin input[type=email],html.profileops-skin input[type=password],
html.profileops-skin input[type=number],html.profileops-skin input[type=search],html.profileops-skin input[type=url],
html.profileops-skin input[type=datetime-local],html.profileops-skin input[type=date],html.profileops-skin select,html.profileops-skin textarea{
  background:#fff!important;color:#182233!important;border:1px solid #d8deea!important;border-radius:9px!important;
  padding:10px 12px!important;box-shadow:none!important;font-size:12.5px!important;
}
html.profileops-skin input:focus,html.profileops-skin select:focus,html.profileops-skin textarea:focus{
  border-color:#9eb3ff!important;box-shadow:0 0 0 3px rgba(39,88,245,.09)!important;background:#fff!important;
}
html.profileops-skin .form-group label{color:#334155!important;font-size:12px!important}
html.profileops-skin .toggle-row{background:#f8faff!important;border-color:#e5e9f2!important;border-radius:10px!important}
html.profileops-skin .btn{border-radius:9px!important;padding:10px 15px!important;font-size:12.5px!important;box-shadow:none!important}
html.profileops-skin .btn:hover{transform:none!important;filter:brightness(.98)}
html.profileops-skin .btn-primary{background:#2758f5!important;color:#fff!important;border:1px solid #2758f5!important}
html.profileops-skin .btn-secondary{background:#eef2ff!important;color:#2758f5!important;border:1px solid #dbe3ff!important}
html.profileops-skin .btn-danger{background:#dc3545!important;color:#fff!important;border:1px solid #dc3545!important}
html.profileops-skin .ghost-btn{background:#fff!important;color:#506078!important;border:1px dashed #cbd5e1!important}

/* Tables */
html.profileops-skin .table-scroll{border-radius:12px!important;border:1px solid #e5e9f2!important;background:#fff!important}
html.profileops-skin table{font-size:12.5px!important}
html.profileops-skin table thead th{
  background:#f8faff!important;color:#64748b!important;border-bottom:1px solid #e5e9f2!important;
  padding:10px 12px!important;font-size:9px!important;letter-spacing:.07em!important;backdrop-filter:none!important;
}
html.profileops-skin table tbody td{color:#475569!important;border-bottom:1px solid #edf0f5!important;padding:11px 12px!important;font-size:12.5px!important}
html.profileops-skin table tbody tr:hover td{background:#fbfcff!important}
html.profileops-skin table b,html.profileops-skin table strong{color:#182233!important}
html.profileops-skin .rank,html.profileops-skin .prize,html.profileops-skin .current-reward,html.profileops-skin .next-reward-cell b{color:#182233!important}
html.profileops-skin .up{color:#198754!important}
html.profileops-skin .down{color:#dc3545!important}
html.profileops-skin .pending,html.profileops-skin .warning{color:#9a6500!important}

/* League switcher + status chips */
html.profileops-skin .league-live-switcher,html.profileops-skin .league-switcher{border-radius:14px!important;padding:13px 15px!important;margin-bottom:15px!important}
html.profileops-skin .league-live-title{color:#64748b!important}
html.profileops-skin .league-live-title strong{color:#182233!important}
html.profileops-skin .league-live-btn{
  background:#fff!important;border:1px solid #dfe5ef!important;color:#475569!important;border-radius:9px!important;
  padding:8px 11px!important;font-size:11px!important;box-shadow:none!important;
}
html.profileops-skin .league-live-btn:hover{background:#f8faff!important;border-color:#cfd8e8!important}
html.profileops-skin .league-live-btn.active{background:#edf2ff!important;border-color:#cfd9ff!important;color:#2758f5!important}
html.profileops-skin .league-button-status{background:#fff5dc!important;border-color:#f5dfaa!important;color:#8a5a00!important}
html.profileops-skin .league-button-status.live-now{background:#e8f7ee!important;border-color:#caead7!important;color:#16733a!important}
html.profileops-skin .live-dot.on{background:#198754!important}
html.profileops-skin .live-dot.off{background:#94a3b8!important}

/* Upcoming timer */
html.profileops-skin .upcoming-live-banner{
  border-radius:14px!important;padding:17px 19px!important;background:linear-gradient(135deg,#fff9ea,#fff)!important;border-color:#f3dfac!important;
}
html.profileops-skin .upcoming-live-banner h2{color:#182233!important}
html.profileops-skin .upcoming-live-banner p{color:#6f7b91!important}
html.profileops-skin .upcoming-big-countdown{
  color:#182233!important;font-size:inherit!important;letter-spacing:0!important;display:flex;gap:8px;align-items:stretch;text-align:center!important;
}
html.profileops-skin .upcoming-big-countdown .countdown-unit{
  min-width:64px;padding:9px 10px;border:1px solid #e5e9f2;border-radius:10px;background:#fff;box-shadow:0 2px 8px rgba(26,44,84,.03);
}
html.profileops-skin .upcoming-big-countdown .countdown-unit b{display:block;color:#182233!important;font-size:22px;line-height:1.05;font-weight:800}
html.profileops-skin .upcoming-big-countdown .countdown-unit small{display:block;color:#6f7b91;font-size:8px;margin-top:4px;text-transform:uppercase;letter-spacing:.08em}
html.profileops-skin .community-summary-grid{gap:12px!important}
html.profileops-skin .community-summary-card{min-height:82px!important;border-radius:14px!important;padding:13px 15px!important}
html.profileops-skin .community-summary-card span{font-size:9px!important;color:#6f7b91!important}
html.profileops-skin .community-summary-card strong{font-size:22px!important;color:#182233!important}
html.profileops-skin .community-report-panel{border-radius:14px!important;padding:13px!important}
html.profileops-skin .community-report-head{padding:4px 3px 12px!important;border-bottom:1px solid #e9edf3!important}
html.profileops-skin .instant-search-state{color:#16733a!important;background:#e8f7ee!important}
html.profileops-skin .search-icon{color:#7a8798!important}
html.profileops-skin .voice-toggle{background:#fff!important;color:#64748b!important;border-color:#dfe5ef!important}
html.profileops-skin .voice-toggle.on{background:#2758f5!important;color:#fff!important;border-color:#2758f5!important;box-shadow:none!important}

/* Status badges */
html.profileops-skin .pill,html.profileops-skin .status-pill,html.profileops-skin .live-chip,html.profileops-skin .league-chip,html.profileops-skin .next-check,html.profileops-skin .auto-session-pill{
  border-radius:999px!important;background:#eef2f7!important;color:#526176!important;border:1px solid #e1e6ee!important;font-size:10px!important;
}
html.profileops-skin .pill.approved,html.profileops-skin .status-pill.good,html.profileops-skin .live-chip,html.profileops-skin .auto-session-pill{
  background:#e8f7ee!important;color:#16733a!important;border-color:#d0ebdb!important;
}
html.profileops-skin .pill.pending{background:#fff5dc!important;color:#8a5a00!important;border-color:#f1dfb2!important}
html.profileops-skin .pill.rejected{background:#fdecec!important;color:#9f1d1d!important;border-color:#f4d3d3!important}

/* Dashboard specialised surfaces */
html.profileops-skin .dashboard-welcome-card{background:linear-gradient(135deg,#fff,#f6f8ff)!important}
html.profileops-skin .league-status-card.active{background:#f2fbf7!important;border-color:#d8efe4!important}
html.profileops-skin .league-status-card.upcoming{background:#fffaf0!important;border-color:#f1e3bf!important}
html.profileops-skin .profile-cover-card{background:linear-gradient(135deg,#fff,#f4f7ff)!important}
html.profileops-skin .user-view-summary>div,html.profileops-skin .preview-stats>div,html.profileops-skin .how-grid article,html.profileops-skin .service-mini-grid>div{
  background:#f8faff!important;border-color:#e5e9f2!important;
}

/* Homepage / login: remove the old dark marketing surfaces */
html.profileops-skin .public-home.landing-pro{background:#f5f7fb!important}
html.profileops-skin .landing-pro-wrap{padding-top:26px!important}
html.profileops-skin .landing-hero-pro .landing-copy,
html.profileops-skin .landing-preview-pro,
html.profileops-skin .feature-grid-pro article,
html.profileops-skin .login-copy{
  background:#fff!important;border:1px solid #e5e9f2!important;box-shadow:0 3px 16px rgba(26,44,84,.04)!important;
}
html.profileops-skin .landing-hero-pro .landing-copy,html.profileops-skin .landing-preview-pro{border-radius:16px!important}
html.profileops-skin .landing-hero-pro .landing-copy h1{color:#182233!important}
html.profileops-skin .landing-hero-pro .landing-copy p,html.profileops-skin .landing-trust span,html.profileops-skin .feature-grid-pro p{color:#6f7b91!important}
html.profileops-skin .feature-icon{background:#edf2ff!important;color:#2758f5!important}
html.profileops-skin .login-shell{background:#f5f7fb!important}
html.profileops-skin .landing-preview,html.profileops-skin .login-copy>div:last-child{background:#f8faff!important;border-color:#e5e9f2!important}

/* Modal + alerts */
html.profileops-skin .modal-backdrop{background:rgba(18,34,51,.3)!important;backdrop-filter:blur(3px)!important}
html.profileops-skin .modal-card{background:#fff!important;color:#182233!important;border-color:#e5e9f2!important;border-radius:14px!important;box-shadow:0 20px 55px rgba(26,44,84,.18)!important}
html.profileops-skin .modal-head{border-color:#e5e9f2!important}
html.profileops-skin .alert{border-radius:10px!important;box-shadow:none!important}
html.profileops-skin .alert.ok{background:#eaf7ef!important;color:#166534!important;border-color:#cfe9d8!important}
html.profileops-skin .alert.err{background:#fff0f0!important;color:#991b1b!important;border-color:#f2cece!important}

/* Pagination + toasts */
html.profileops-skin .page-btn{background:#fff!important;color:#526176!important;border-color:#dfe5ef!important;box-shadow:none!important}
html.profileops-skin .page-btn.active{background:#2758f5!important;color:#fff!important;border-color:#2758f5!important}
html.profileops-skin .rank-toast{border-color:#dce3ee!important;box-shadow:0 12px 34px rgba(26,44,84,.14)!important;color:#182233!important}
html.profileops-skin .rank-toast-up{background:#eefaf4!important}
html.profileops-skin .rank-toast-down{background:#fff2f3!important}
html.profileops-skin .rank-toast small{color:#6f7b91!important}

@media(max-width:991.98px){
  html.profileops-skin .sidebar{width:240px!important}
  html.profileops-skin .app-content{margin-left:0!important;width:100%!important}
}
@media(max-width:767.98px){
  html.profileops-skin .wrap{padding:14px!important}
  html.profileops-skin .public-main,html.profileops-skin .public-topbar{width:calc(100% - 20px)!important}
  html.profileops-skin .upcoming-big-countdown{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
  html.profileops-skin .upcoming-big-countdown .countdown-unit{min-width:0}
}
@media(max-width:440px){
  html.profileops-skin .upcoming-big-countdown{grid-template-columns:repeat(2,minmax(0,1fr))}
}

/* ===== v2.9.1 ProfileOps-style public Home + Login ===== */
html.profileops-skin .profileops-auth-shell{
  width:100%;min-height:calc(100vh - 215px);display:grid;place-items:center;padding:24px 0 44px;background:transparent!important;
}
html.profileops-skin .profileops-auth-card{
  width:min(980px,100%);display:grid;grid-template-columns:minmax(0,.92fr) minmax(0,1.08fr);
  background:#fff;border:1px solid #e5e9f2;border-radius:16px;overflow:hidden;
  box-shadow:0 12px 34px rgba(26,44,84,.07);
}
html.profileops-skin .profileops-auth-intro{
  padding:36px;display:flex;flex-direction:column;justify-content:space-between;gap:34px;
  background:linear-gradient(180deg,#f8faff 0%,#f3f6ff 100%);border-right:1px solid #e5e9f2;
}
html.profileops-skin .profileops-auth-mark{
  width:42px;height:42px;display:grid;place-items:center;margin-bottom:28px;border-radius:11px;
  background:#2758f5;color:#fff;font-size:15px;font-weight:800;
}
html.profileops-skin .profileops-auth-intro h1{margin:4px 0 10px;color:#182233;font-size:34px;line-height:1.05;letter-spacing:-.03em}
html.profileops-skin .profileops-auth-intro>div>p{margin:0;max-width:440px;color:#6f7b91;font-size:13.5px;line-height:1.7}
html.profileops-skin .profileops-auth-benefits{display:grid;gap:10px}
html.profileops-skin .profileops-auth-benefits>div{display:flex;align-items:flex-start;gap:11px;padding:11px 0;border-bottom:1px solid #e5e9f2}
html.profileops-skin .profileops-auth-benefits>div:last-child{border-bottom:0}
html.profileops-skin .profileops-auth-benefits>div>span{width:28px;height:28px;display:grid;place-items:center;flex:none;border-radius:8px;background:#edf2ff;color:#2758f5;font-size:10px;font-weight:800}
html.profileops-skin .profileops-auth-benefits strong{display:block;color:#182233;font-size:12.5px}
html.profileops-skin .profileops-auth-benefits small{display:block;margin-top:2px;color:#7a8798;font-size:10.5px;line-height:1.45}
html.profileops-skin .profileops-auth-note{color:#94a0b2;font-size:10px}
html.profileops-skin .profileops-auth-form{padding:42px 44px;display:flex;flex-direction:column;justify-content:center}
html.profileops-skin .auth-form-head{margin-bottom:23px}
html.profileops-skin .auth-form-head h2{margin:2px 0 7px;color:#182233;font-size:27px;letter-spacing:-.02em}
html.profileops-skin .auth-form-head p{margin:0;color:#6f7b91;font-size:12.5px}
html.profileops-skin .auth-form-clean{display:grid;gap:15px}
html.profileops-skin .auth-form-clean .form-group{margin:0}
html.profileops-skin .auth-form-clean label{display:block;margin-bottom:6px;color:#334155;font-size:11.5px;font-weight:700}
html.profileops-skin .auth-form-clean input{width:100%;height:44px;border-radius:9px!important;padding:0 12px!important;border:1px solid #dfe5ee!important;background:#fff!important;color:#182233!important;font-size:13px!important}
html.profileops-skin .auth-form-clean input:focus{border-color:#9fb2ff!important;box-shadow:0 0 0 3px rgba(39,88,245,.08)!important}
html.profileops-skin .auth-password-clean .password-toggle{top:auto;bottom:10px;right:11px;transform:none;color:#64748b;font-size:11px;font-weight:700}
html.profileops-skin .auth-submit{width:100%;height:43px;margin-top:2px}
html.profileops-skin .auth-links-clean{margin-top:0;justify-content:space-between;font-size:11.5px;font-weight:700}
html.profileops-skin .auth-links-clean a,html.profileops-skin .auth-public-link a{color:#2758f5}
html.profileops-skin .auth-public-link{margin-top:22px;padding-top:16px;border-top:1px solid #edf0f5;color:#7a8798;font-size:11px;text-align:center}

html.profileops-public-home,html.profileops-public-home body{background:#f5f7fb!important}
html.profileops-skin .profileops-home-topbar{max-width:1230px;margin-top:18px!important}
html.profileops-skin .profileops-home-topbar .home-nav-active{background:#edf2ff!important;color:#2758f5!important}
html.profileops-skin .profileops-home-wrap{width:min(1230px,calc(100% - 36px));margin:0 auto;padding:24px 0 44px}
html.profileops-skin .profileops-home-hero{display:grid;grid-template-columns:minmax(0,1.02fr) minmax(420px,.98fr);gap:18px;align-items:stretch}
html.profileops-skin .profileops-home-copy,
html.profileops-skin .profileops-live-card,
html.profileops-skin .profileops-section-card,
html.profileops-skin .profileops-home-cta{
  background:#fff;border:1px solid #e5e9f2;border-radius:15px;box-shadow:0 3px 16px rgba(26,44,84,.04);
}
html.profileops-skin .profileops-home-copy{padding:38px 38px 34px}
html.profileops-skin .profileops-home-copy h1{margin:4px 0 12px;color:#182233;font-size:clamp(34px,4vw,50px);line-height:1.02;letter-spacing:-.04em;max-width:720px}
html.profileops-skin .profileops-home-copy>p{margin:0;max-width:680px;color:#6f7b91;font-size:13.5px;line-height:1.7}
html.profileops-skin .profileops-home-actions{margin-top:23px}
html.profileops-skin .profileops-home-points{display:flex;gap:14px 20px;flex-wrap:wrap;margin-top:26px;padding-top:20px;border-top:1px solid #edf0f5}
html.profileops-skin .profileops-home-points span{display:inline-flex;align-items:center;gap:7px;color:#6f7b91;font-size:10.5px;font-weight:600}
html.profileops-skin .profileops-home-points i{width:7px;height:7px;border-radius:50%;background:#198754}
html.profileops-skin .profileops-live-card{padding:19px}
html.profileops-skin .profileops-live-card-head{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:1px 1px 14px;border-bottom:1px solid #edf0f5}
html.profileops-skin .profileops-live-card-head>div{display:flex;align-items:center;gap:9px}
html.profileops-skin .profileops-live-card-head .status-dot{width:8px;height:8px;background:#198754}
html.profileops-skin .profileops-live-card-head strong{display:block;color:#182233;font-size:12.5px}
html.profileops-skin .profileops-live-card-head small{display:block;color:#7a8798;font-size:9.5px;margin-top:1px}
html.profileops-skin .profileops-live-card-head>a{color:#2758f5;font-size:10.5px;font-weight:700}
html.profileops-skin .profileops-stat-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:14px 0}
html.profileops-skin .profileops-stat-grid article{padding:12px;border:1px solid #e5e9f2;border-radius:10px;background:#f8faff}
html.profileops-skin .profileops-stat-grid span{display:block;color:#7a8798;font-size:8.5px;text-transform:uppercase;letter-spacing:.05em}
html.profileops-skin .profileops-stat-grid strong{display:block;margin-top:5px;color:#182233;font-size:21px;line-height:1}
html.profileops-skin .profileops-live-list-head{display:flex;justify-content:space-between;gap:10px;padding:3px 2px 8px;color:#64748b;font-size:9.5px;text-transform:uppercase;letter-spacing:.06em}
html.profileops-skin .profileops-live-list{display:grid;gap:6px}
html.profileops-skin .profileops-live-row{display:grid;grid-template-columns:31px minmax(0,1fr) auto;align-items:center;gap:10px;padding:8px 9px;border:1px solid #edf0f5;border-radius:10px;background:#fff}
html.profileops-skin .profileops-live-row .activity-avatar{width:31px;height:31px;border-radius:8px;background:#edf2ff;color:#2758f5}
html.profileops-skin .profileops-live-row .preview-player b,html.profileops-skin .profileops-live-row .preview-rank b{color:#182233;font-size:10.5px}
html.profileops-skin .profileops-live-row .preview-player small,html.profileops-skin .profileops-live-row .preview-rank small{display:block;color:#7a8798;font-size:8.5px}
html.profileops-skin .profileops-live-row .preview-rank{text-align:right}
html.profileops-skin .profileops-empty{padding:24px;text-align:center;color:#7a8798;font-size:11px;border:1px dashed #dfe5ee;border-radius:10px;background:#fafbfe}
html.profileops-skin .profileops-section-card{margin-top:18px;padding:22px}
html.profileops-skin .profileops-section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:20px;margin-bottom:16px}
html.profileops-skin .profileops-section-heading h2{margin:2px 0 5px;color:#182233;font-size:21px;letter-spacing:-.02em}
html.profileops-skin .profileops-section-heading p{margin:0;color:#6f7b91;font-size:11.5px}
html.profileops-skin .profileops-service-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
html.profileops-skin .profileops-service-grid article{padding:16px;border:1px solid #e5e9f2;border-radius:11px;background:#fbfcff}
html.profileops-skin .profileops-service-icon{width:34px;height:34px;display:grid;place-items:center;border-radius:9px;background:#edf2ff;color:#2758f5;font-size:12px;font-weight:800}
html.profileops-skin .profileops-service-grid h3{margin:10px 0 5px;color:#182233;font-size:12.5px}
html.profileops-skin .profileops-service-grid p{margin:0;color:#6f7b91;font-size:10px;line-height:1.55}
html.profileops-skin .profileops-how-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
html.profileops-skin .profileops-how-grid article{padding:15px;border:1px solid #e5e9f2;border-radius:11px;background:#fbfcff}
html.profileops-skin .profileops-how-grid article>span{display:inline-block;color:#2758f5;font-size:9px;font-weight:800;letter-spacing:.08em}
html.profileops-skin .profileops-how-grid h3{margin:7px 0 4px;color:#182233;font-size:12.5px}
html.profileops-skin .profileops-how-grid p{margin:0;color:#6f7b91;font-size:10px;line-height:1.55}
html.profileops-skin .profileops-home-cta{margin-top:18px;padding:22px;display:flex;align-items:center;justify-content:space-between;gap:22px}
html.profileops-skin .profileops-home-cta h2{margin:2px 0 5px;color:#182233;font-size:20px}
html.profileops-skin .profileops-home-cta p{margin:0;color:#6f7b91;font-size:10.5px}
html.profileops-skin .profileops-home-footer{width:min(1230px,calc(100% - 36px));font-size:10.5px}

@media(max-width:1050px){
  html.profileops-skin .profileops-home-hero{grid-template-columns:1fr}
  html.profileops-skin .profileops-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:820px){
  html.profileops-skin .profileops-auth-card{grid-template-columns:1fr}
  html.profileops-skin .profileops-auth-intro{border-right:0;border-bottom:1px solid #e5e9f2;padding:28px}
  html.profileops-skin .profileops-auth-benefits{display:none}
  html.profileops-skin .profileops-auth-form{padding:30px 28px}
  html.profileops-skin .profileops-stat-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.profileops-skin .profileops-how-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  html.profileops-skin .profileops-section-heading,html.profileops-skin .profileops-home-cta{align-items:flex-start;flex-direction:column}
}
@media(max-width:620px){
  html.profileops-skin .profileops-home-wrap{width:calc(100% - 20px);padding-top:14px}
  html.profileops-skin .profileops-home-topbar{width:calc(100% - 20px)!important;margin-top:10px!important}
  html.profileops-skin .profileops-home-copy{padding:25px 20px}
  html.profileops-skin .profileops-home-copy h1{font-size:31px}
  html.profileops-skin .profileops-live-card,html.profileops-skin .profileops-section-card,html.profileops-skin .profileops-home-cta{padding:16px}
  html.profileops-skin .profileops-service-grid,html.profileops-skin .profileops-how-grid{grid-template-columns:1fr}
  html.profileops-skin .profileops-auth-shell{padding:10px 0 28px}
  html.profileops-skin .profileops-auth-intro{padding:22px}
  html.profileops-skin .profileops-auth-intro h1{font-size:28px}
  html.profileops-skin .profileops-auth-form{padding:25px 21px}
  html.profileops-skin .auth-links-clean{gap:8px;flex-direction:column}
}


/* v2.9.2 leagues manual check + resilient action UI */
.league-action-stack{display:flex;flex-direction:column;gap:6px;min-width:240px}
.league-action-buttons{display:flex;gap:8px;flex-wrap:wrap}
.js-check-status.state-error{color:#d14343!important}
.js-check-status.state-ok{color:#1d8f52!important}
.js-check-status.state-warn{color:#8a6400!important}
html.profileops-skin .league-action-buttons .btn[disabled]{opacity:.55;cursor:not-allowed}


/* v2.9.3 active league end countdown */
.timing-label{display:block;margin-bottom:2px;font-weight:700;color:#64748b}
.timing-countdown{display:block;font-weight:800;color:#111827;font-size:14px}
.timing-missing{display:block;font-size:12px;font-weight:700;color:#9a6700}
.league-status-time em{display:block;margin-top:4px;font-size:10px;font-style:normal;color:var(--muted)}
.active-live-banner{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:22px 24px;margin:18px 0;border:1px solid #bde7d0;border-radius:16px;background:#f0fbf5}
.active-live-banner h2{margin:4px 0 6px}.active-live-banner p{margin:0;color:var(--muted)}
@media(max-width:760px){.active-live-banner{align-items:flex-start;flex-direction:column}}


/* v2.9.4 active-end sync + dashboard monitor sizing */
.admin-monitor-grid>*{grid-column:span 6!important}
.admin-league-monitor-table table{min-width:620px}
.dashboard-timing-countdown{display:block;font-weight:800;color:#172033}
.timing-missing{display:inline-block;color:#a66b00;font-size:12px;font-weight:700}
@media (max-width:980px){.admin-monitor-grid>*{grid-column:1/-1!important}}


/* v2.9.5 Google remote browser visibility */
html.profileops-skin .remote-browser-panel{padding:18px!important}
html.profileops-skin .remote-browser-head{align-items:flex-start;gap:18px;margin-bottom:14px}
html.profileops-skin .remote-browser-tools{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}
html.profileops-skin .remote-account-note{margin:8px 0 0;color:#41516b;font-size:12px;line-height:1.55}
html.profileops-skin .novnc-frame-wrap{width:100%;height:clamp(560px,68vh,820px);border:1px solid #dbe3f0;border-radius:14px;overflow:hidden;background:#111827;box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
html.profileops-skin .novnc-frame{display:block;width:100%!important;height:100%!important;min-height:560px;border:0;background:#111827}
html.profileops-skin .remote-actions{margin-top:14px}
@media (max-width:900px){
  html.profileops-skin .novnc-frame-wrap{height:70vh;min-height:480px}
  html.profileops-skin .novnc-frame{min-height:480px}
  html.profileops-skin .remote-browser-tools{justify-content:flex-start}
}


/* v2.9.6 dashboard winnings visibility */
.member-score-block{display:flex;flex-direction:column;align-items:flex-end;gap:3px;min-width:150px}
.member-score-block>strong{font-size:10.5px;white-space:nowrap}
.member-score-block>strong small{font-weight:500;color:var(--text-muted)}
.member-win{font-size:8.5px;color:#14804a;white-space:nowrap}
.member-win b{font-size:10px;color:#14804a}
@media(max-width:600px){.member-rank-row{grid-template-columns:24px 32px minmax(0,1fr)}.member-score-block{grid-column:3;align-items:flex-start;min-width:0;margin-top:2px}}

/* v2.9.7 Google profile lock + auto recovery */
.problem-box.retry{color:#1d5f99;background:#eef7ff;border:1px solid #cfe8fb;border-radius:10px;padding:8px 10px;font-weight:650;line-height:1.45}
.problem-box.warn{overflow-wrap:anywhere;word-break:break-word}
.account-actions .btn-warning{background:#fff7df;color:#9a6500;border:1px solid #f1d58f;box-shadow:none}
.account-actions .btn-warning:hover{background:#ffefbd}

/* v3.0 global identity, reward-first dashboards, branding and live leaderboard */
.brand-logo{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;overflow:hidden;background:#fff;border:1px solid #e3e8f1;flex:0 0 38px}.brand-logo img{width:100%;height:100%;object-fit:contain;padding:3px}
.purchase-strip{width:min(1180px,calc(100% - 32px));margin:12px auto 0;display:flex;align-items:center;gap:12px;padding:9px 14px;border:1px solid #dce6f5;border-radius:12px;background:#f8fbff;color:#32435f;font-size:12px;box-shadow:0 6px 22px rgba(45,76,130,.05)}.purchase-strip>span{font-size:9px;font-weight:800;letter-spacing:.1em;color:#2758f5;background:#eaf0ff;padding:5px 7px;border-radius:7px}.purchase-strip strong{font-weight:650;flex:1}.purchase-strip a{font-weight:800;color:#168f63;white-space:nowrap}
.metric-link{display:inline-flex;min-width:38px;justify-content:center;padding:5px 9px;border-radius:9px;background:#eef4ff;color:#2758f5;text-decoration:none}.metric-link:hover{background:#e0eaff}
.league-mini-row{display:block;font-size:10px;line-height:1.55;color:var(--text-muted);white-space:nowrap}.league-mini-row b{color:var(--text)}
.password-input-wrap{display:flex;align-items:stretch;gap:7px}.password-input-wrap input{flex:1}.password-eye{border:1px solid var(--border);background:var(--surface-1);border-radius:10px;padding:0 12px;color:var(--text-soft);font-weight:700;cursor:pointer}
.v30-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.vps-mini-panel{margin-bottom:17px}.vps-meter-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.vps-meter{padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-1)}.vps-meter>div:first-child{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}.vps-meter span{font-size:10px;font-weight:700;color:var(--text-muted)}.vps-meter b{font-size:13px}.usage-track{height:7px;border-radius:999px;background:#e8edf5;overflow:hidden}.usage-track i{height:100%;display:block;border-radius:inherit;background:linear-gradient(90deg,#2758f5,#20b987)}
.health-dot{display:inline-block;width:8px;height:8px;border-radius:50%;margin-right:7px;vertical-align:1px}.health-dot.healthy{background:#20b987;box-shadow:0 0 0 4px rgba(32,185,135,.11)}.health-dot.warning{background:#e6a23c;box-shadow:0 0 0 4px rgba(230,162,60,.11)}
.live-league-status-wide{margin-bottom:17px}.compact-dashboard-charts{margin-bottom:17px}
.inline-mic{display:inline-grid!important;margin-left:7px;vertical-align:middle;width:27px!important;height:27px!important;border-radius:8px!important}.community-player{display:flex;align-items:center;gap:4px;white-space:nowrap}.community-player>span,.player-name>span{min-width:0;overflow:hidden;text-overflow:ellipsis}.league-started-badge{padding:10px 14px;border-radius:12px;background:#e9faf3;color:#168f63;border:1px solid #c9eddd}
.rank-toast-stack{position:fixed;right:18px;z-index:300;display:flex;flex-direction:column;gap:9px;width:min(320px,calc(100vw - 28px));pointer-events:none}.rank-toast-stack-up{top:18px}.rank-toast-stack-down{bottom:18px;flex-direction:column-reverse}.rank-toast-stack .rank-toast{position:relative!important;right:auto!important;top:auto!important;bottom:auto!important;max-width:none!important;width:100%;margin:0;pointer-events:auto}.rank-toast-stack .rank-toast span{display:block;font-weight:750}.rank-toast-stack-up .rank-toast{border-left:4px solid #20b987!important}.rank-toast-stack-down .rank-toast{border-left:4px solid #e45c65!important}
.reward-tier-list table{width:100%}.reward-tier-list td,.reward-tier-list th{padding:10px 8px}
.report-kpi-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:0 0 14px}.report-kpi-grid>div{padding:12px 14px;border:1px solid var(--border);border-radius:13px;background:var(--surface-1)}.report-kpi-grid span{display:block;font-size:9px;color:var(--text-muted);font-weight:700;text-transform:uppercase}.report-kpi-grid strong{font-size:18px;display:block;margin-top:4px}.report-chart-wrap{height:310px;margin:8px 0 18px;padding:10px;border:1px solid var(--border);border-radius:14px;background:var(--surface-1)}
.settings-section input[type=file]{padding:8px;background:var(--surface-1)}
.app-footer a,.public-footer a{color:inherit;text-decoration:none;font-weight:650}.app-footer a:hover,.public-footer a:hover{color:#2758f5}
@media(max-width:991px){.v30-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.vps-meter-grid{grid-template-columns:1fr}.report-kpi-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:620px){.purchase-strip{width:calc(100% - 20px);align-items:flex-start;flex-wrap:wrap}.purchase-strip strong{min-width:calc(100% - 80px)}.v30-kpis,.report-kpi-grid{grid-template-columns:1fr}.rank-toast-stack{right:10px;width:calc(100vw - 20px)}.community-player{white-space:normal}.league-mini-row{white-space:normal}}

/* v3.1 homepage/auth polish, professional settings and responsive league UI */
.purchase-image-banner{width:min(1230px,calc(100% - 36px));margin:12px auto 0;border:1px solid #dfe7f2;border-radius:14px;overflow:hidden;background:#fff;box-shadow:0 8px 26px rgba(35,55,90,.06)}
.purchase-image-banner img{display:block;width:100%;height:auto;max-height:190px;object-fit:contain;object-position:center;background:#fff}
.app-image-banner{margin:12px 18px 2px;border:1px solid #dfe7f2;border-radius:13px;overflow:hidden;background:#fff;box-shadow:0 6px 22px rgba(35,55,90,.05)}
.app-image-banner img{display:block;width:100%;height:auto;max-height:145px;object-fit:contain;object-position:center;background:#fff}
.phone-prefix-field{display:grid;grid-template-columns:auto minmax(0,1fr);gap:8px;align-items:stretch}
.phone-prefix{display:flex;align-items:center;justify-content:center;min-width:64px;padding:0 12px;border:1px solid #d9e1ec;border-radius:10px;background:#f6f8fc;color:#334155;font-size:13px;font-weight:800}
.auth-field-note{display:block;margin-top:5px;color:#718096;font-size:10.5px;line-height:1.45}
.settings-stack{display:grid;gap:16px}
.settings-card-section{padding:18px;border:1px solid var(--border);border-radius:14px;background:var(--surface-1)}
.settings-card-section>h3{margin:0 0 5px;font-size:14px;color:var(--text)}
.settings-card-section>p{margin:0 0 14px;color:var(--text-muted);font-size:11px;line-height:1.55}
.settings-image-preview{display:flex;align-items:center;justify-content:center;min-height:90px;margin:9px 0 12px;padding:8px;border:1px dashed #cfdae8;border-radius:12px;background:#f8fafc;overflow:hidden}
.settings-image-preview img{display:block;width:100%;max-height:150px;object-fit:contain;border-radius:8px}
.settings-save-bar{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding-top:4px}
.professional-modules{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.professional-modules .module-card{display:flex;align-items:center;justify-content:space-between;gap:18px;padding:15px 16px;border:1px solid var(--border);border-radius:13px;background:var(--surface-1)}
.professional-modules .module-card h4{margin:0 0 4px;font-size:12.5px}.professional-modules .module-card p{margin:0;color:var(--text-muted);font-size:10.5px;line-height:1.45}
.module-state-text{font-size:9px;font-weight:800;letter-spacing:.06em;text-transform:uppercase;color:var(--text-muted)}
.input-with-suffix{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:stretch}.input-with-suffix input{border-radius:10px 0 0 10px!important}.input-with-suffix>span{display:flex;align-items:center;padding:0 11px;border:1px solid var(--border);border-left:0;border-radius:0 10px 10px 0;background:#f7f9fc;color:var(--text-muted);font-size:10px;font-weight:700}
.compact-page-hero{padding:13px 16px!important;margin-bottom:14px!important;min-height:0!important}.compact-page-hero h1,.compact-page-hero h2{margin:0 0 3px!important;font-size:20px!important;line-height:1.25}.compact-page-hero p{margin:0!important;font-size:11px!important;line-height:1.5}
.dashboard-first-kpis{margin-top:0!important}
.panel-actions{display:flex;align-items:center;justify-content:flex-end;gap:8px;flex-wrap:wrap}
.health-dot.retry{background:#3b82f6;box-shadow:0 0 0 4px rgba(59,130,246,.11)}
.v31-kpis{grid-template-columns:repeat(5,minmax(0,1fr))}
.v31-dashboard-charts{grid-template-columns:repeat(2,minmax(0,1fr))}.v31-dashboard-charts>.wide-chart{grid-column:1/-1}
.league-live-buttons{display:flex;gap:8px;align-items:center;overflow-x:auto;scrollbar-width:thin;padding-bottom:3px}.league-live-btn{flex:0 0 auto}
.homepage-service-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.compact-home-cta{padding-top:24px;padding-bottom:24px}
.admin-leagues-table table{min-width:1050px}
html.profileops-skin .page-hero{padding:16px 18px;min-height:0}html.profileops-skin .page-hero h1{font-size:21px;margin-bottom:4px}html.profileops-skin .page-hero p{font-size:11px;line-height:1.5;margin-bottom:0}
@media(max-width:1200px){.v31-kpis{grid-template-columns:repeat(3,minmax(0,1fr))}.homepage-service-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:900px){.professional-modules,.v31-dashboard-charts{grid-template-columns:1fr}.v31-dashboard-charts>.wide-chart{grid-column:auto}.app-image-banner{margin-left:12px;margin-right:12px}.purchase-image-banner{width:calc(100% - 24px)}}
@media(max-width:700px){.v31-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.professional-modules .module-card{align-items:flex-start}.purchase-image-banner img{max-height:125px}.app-image-banner img{max-height:105px}.phone-prefix{min-width:58px;padding:0 9px}.settings-card-section{padding:14px}.settings-save-bar{justify-content:stretch}.settings-save-bar .btn{width:100%}.league-live-buttons{margin-left:-2px;margin-right:-2px}.homepage-service-grid{grid-template-columns:1fr}}
@media(max-width:460px){.v31-kpis{grid-template-columns:1fr}.purchase-image-banner{width:calc(100% - 16px);margin-top:8px;border-radius:10px}.purchase-image-banner img{max-height:100px}.app-image-banner{margin:8px 8px 0;border-radius:10px}.app-image-banner img{max-height:90px}}

/* compact professional settings */
.settings-section{display:none!important}.settings-section.active{display:block!important}
.settings-tabs-compact{gap:7px;position:sticky;top:8px;z-index:22;padding:7px;border:1px solid var(--border);border-radius:14px;background:color-mix(in srgb,var(--surface-1) 94%,transparent);backdrop-filter:blur(10px)}
.settings-tabs-compact .settings-tab{margin:0!important;padding:9px 12px!important;border-radius:10px!important;font-size:11px!important;white-space:nowrap}
html[data-theme='light'] .settings-tab.active,html.profileops-skin .settings-tab.active{background:#2758f5!important;color:#fff!important;border-color:#2758f5!important;box-shadow:0 5px 14px rgba(39,88,245,.16)!important}
.compact-module-grid{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:8px!important}
.compact-toggle-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(260px,.9fr);gap:10px;align-items:stretch}
.compact-toggle-card{display:grid!important;grid-template-columns:minmax(0,1fr) auto auto;align-items:center!important;gap:9px!important;min-height:72px!important;padding:11px 12px!important;border-radius:11px!important}
.compact-toggle-card>div{min-width:0}.compact-toggle-card strong{display:block;font-size:11.5px!important;line-height:1.25}.compact-toggle-card small{display:block;margin-top:3px;font-size:9.5px!important;line-height:1.35!important;color:var(--text-muted)}
.compact-toggle-card.is-enabled{border-color:rgba(32,185,135,.35)!important;background:linear-gradient(180deg,rgba(32,185,135,.045),var(--surface-1))!important}
.module-state-text{min-width:54px;text-align:right;font-size:8.5px!important;color:#8a96a8!important}.compact-toggle-card.is-enabled .module-state-text{color:#168f63!important}
.switch{position:relative!important;display:inline-block!important;width:40px!important;height:22px!important;flex:0 0 40px!important}.switch input{position:absolute!important;opacity:0!important;pointer-events:none!important}.switch i{position:absolute!important;inset:0!important;border-radius:999px!important;background:#d7dee8!important;border:1px solid #c8d1df!important;transition:.18s!important;box-shadow:inset 0 1px 2px rgba(15,23,42,.06)!important}.switch i::before{content:''!important;position:absolute!important;width:16px!important;height:16px!important;left:2px!important;top:2px!important;border-radius:50%!important;background:#fff!important;box-shadow:0 2px 5px rgba(15,23,42,.22)!important;transition:.18s!important}.switch input:checked+i{background:#20b987!important;border-color:#20b987!important}.switch input:checked+i::before{transform:translateX(18px)!important}.switch input:focus-visible+i{outline:3px solid rgba(39,88,245,.18)!important;outline-offset:2px!important}
.__removed_message_connect{overflow:hidden}.wa-connect-grid{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(230px,.7fr);gap:14px;align-items:stretch}.wa-connection-summary{display:grid;gap:9px;align-content:start}.wa-connection-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:9px 11px;border:1px solid var(--border);border-radius:10px;background:var(--surface-1)}.wa-connection-row span{font-size:9.5px;color:var(--text-muted);font-weight:700;text-transform:uppercase;letter-spacing:.04em}.wa-connection-row strong{font-size:11px;text-align:right}.wa-actions{display:flex;gap:7px;flex-wrap:wrap;margin:2px 0}.wa-error-text{min-height:0;margin:0!important;color:#cc4c57!important}.wa-qr-shell{display:grid;place-items:center;min-height:238px;padding:12px;border:1px dashed #cbd5e1;border-radius:13px;background:#f8fafc}.wa-qr-shell img{display:block;max-width:220px;max-height:220px;width:100%;height:auto;object-fit:contain;background:#fff;border-radius:8px}.wa-qr-shell img[hidden]{display:none!important}.wa-qr-placeholder{text-align:center;display:grid;gap:5px}.wa-qr-placeholder strong{font-size:13px}.wa-qr-placeholder span{font-size:10px;color:#718096}.wa-status-pill{display:inline-flex;align-items:center;gap:6px;padding:7px 9px;border-radius:999px;border:1px solid var(--border);font-size:9.5px;font-weight:800;background:#f6f8fb;color:#64748b}.wa-status-pill i{width:7px;height:7px;border-radius:50%;background:#94a3b8}.wa-status-pill.connected{color:#168f63;background:#eaf9f3;border-color:#c8eddd}.wa-status-pill.connected i{background:#20b987;box-shadow:0 0 0 3px rgba(32,185,135,.11)}.wa-status-pill.waiting{color:#9a6700;background:#fff8e8;border-color:#f3dfad}.wa-status-pill.waiting i{background:#e6a23c}.wa-status-pill.offline{color:#b13a46;background:#fff0f1;border-color:#f4c7cc}.wa-status-pill.offline i{background:#e45c65}.compact-admin-wa{margin:0!important;padding:11px 12px;border:1px solid var(--border);border-radius:11px;background:var(--surface-1)}
.compact-template-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.compact-template-grid>*{grid-column:auto!important}.__removed_message_template{padding:13px!important;border-radius:12px!important;background:linear-gradient(180deg,#fff,#fbfcff)!important;border:1px solid #dfe6ef!important;box-shadow:0 5px 16px rgba(31,50,81,.045)!important}.__removed_message_template .template-card-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-bottom:9px}.__removed_message_template .template-card-head small{font-size:8px;color:#7b8798;text-transform:uppercase;letter-spacing:.06em}.__removed_message_template .template-card-head h3{font-size:13px!important;margin:2px 0 0!important}.template-toggle-side{display:flex;align-items:center;gap:7px}.__removed_message_template textarea{min-height:82px;resize:vertical}.__removed_message_template .form-group{margin-bottom:8px}.template-vars{padding:7px 9px!important;border-radius:9px!important;background:#f4f7fb!important;border:1px solid #e4eaf2!important;font-size:9px!important}.btn-danger-soft{color:#b13a46!important;background:#fff2f3!important;border-color:#f1c8cd!important}.btn-danger-soft:hover{background:#ffe6e8!important}
html[data-theme='dark'] .wa-qr-shell,html[data-theme='dark'] .wa-connection-row,html[data-theme='dark'] .compact-admin-wa{background:var(--surface-1)}html[data-theme='dark'] .__removed_message_template{background:var(--surface-1)!important;border-color:var(--border)!important}html[data-theme='dark'] .template-vars{background:rgba(255,255,255,.03)!important;border-color:var(--border)!important}
@media(max-width:1100px){.compact-module-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.wa-connect-grid{grid-template-columns:1fr}.wa-qr-shell{min-height:220px}}
@media(max-width:760px){.settings-tabs-compact{position:static;overflow-x:auto;flex-wrap:nowrap}.compact-module-grid,.compact-template-grid,.compact-toggle-grid{grid-template-columns:1fr!important}.compact-toggle-card{min-height:64px!important}.wa-actions .btn{flex:1 1 auto}.wa-qr-shell{min-height:210px}.settings-card-section{padding:12px!important}}
.switch::before{display:none!important;content:none!important}
