/* =============================================================
   Death Coach — Unified app.css
   - Base HUD theme + components
   - Live (v2) + Live Room (v2) styles moved from inline <style> blocks
   - Legacy Faceit/A3 styles are scoped to body[data-ui="faceit"]
   ============================================================= */


:root{
  /* === CLUTCHGATE Theme (green / neon) ===
     NOTE: Keep variable NAMES stable to avoid breaking markup/JS.
  */
  --bg: #070b07;
  --panel: rgba(255,255,255,.05);
  --panel-2: rgba(0,0,0,.18);
  --border: rgba(255,255,255,.12);
  --text: rgba(236,244,246,.92);
  --muted: rgba(236,244,246,.62);
  --muted-2: rgba(236,244,246,.42);

  /* Primary accent */
  --neon: #E4FA1B;
  --neon-rgb: 228,250,27;

  /* Secondary accents */
  --orange: #9BE217; /* keep name for legacy use */
  --orange-rgb: 155,226,23;
  --cyan: #20e3a2;
  --cyan-rgb: 32,227,162;

  --red: #ff3b6b;
  --red-rgb: 255,59,107;

  --accent: var(--neon);
  --accent-2: var(--orange);
  --ok: var(--cyan);
  --bad: var(--red);

  /* legacy radii (keep) */
  --radius: 0px;
  --radius-sm: 0px;

  /* HUD system tokens (used by new components + upgraded cards) */
  --hud-radius: 0px;
  --hud-radius-sm: 0px;
  --hud-border: rgba(255,255,255,.09);
  --hud-border-2: rgba(255,255,255,.14);
  --hud-bg: rgba(255,255,255,.045);
  --hud-bg-2: rgba(0,0,0,.24);
  --hud-sheen: rgba(255,255,255,.06);

  --shadow: 0 30px 110px rgba(0,0,0,.72);
  --shadow-soft: 0 20px 70px rgba(0,0,0,.60);
  --shadow-tight: 0 12px 30px rgba(0,0,0,.42);
  --shadow-glow: 0 0 44px rgba(var(--neon-rgb), .18);
  --shadow-glow-strong: 0 0 78px rgba(var(--neon-rgb), .24);


/* ===== Compatibility tokens (legacy inline_pages.css / matchmaking CSS) ===== */
--bg-dark: var(--bg);
--bg-main: #0D1D0C;
--bg-card: rgba(0,0,0,.18);
--bg-elevated: rgba(0,0,0,.24);
--bg-hover: rgba(255,255,255,.06);
--border-light: rgba(255,255,255,.18);
--text-secondary: var(--muted);
--text-muted: var(--muted-2);
--accent-hover: var(--accent-2);

--success: var(--ok);
--success-bg: rgba(var(--cyan-rgb), .12);
--warning: #ffd54a;
--warning-bg: rgba(255, 213, 74, .12);
--danger: var(--bad);
--danger-bg: rgba(var(--red-rgb), .12);

--ct: #5fa5d9;
--t:  #dea945;

/* Cut-corner language (no radius) */
--cut: 12px;
}


*{box-sizing:border-box}
html,body{height:100%; background: var(--bg)}
::selection{ background: rgba(var(--neon-rgb), .22); color:#fff }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  background:
    radial-gradient(1100px 650px at 18% 6%, rgba(228,250,27,.14), transparent 60%),
    radial-gradient(1000px 700px at 88% 10%, rgba(100,159,38,.12), transparent 62%),
    radial-gradient(900px 700px at 70% 95%, rgba(155,226,23,.10), transparent 65%),
    linear-gradient(180deg, #070b07, #0D1D0C 38%, #070b07);
  color: var(--text);
  overflow-x:hidden;
  position:relative;
}
/* Background FX (glows + subtle grid/vignette) */
body::before{
  content:"";
  position:fixed;
  inset:-120px;
  z-index:-2;
  pointer-events:none;
  background:
    radial-gradient(560px 560px at 8% 8%, rgba(var(--neon-rgb), .16), transparent 60%),
    radial-gradient(620px 620px at 92% 12%, rgba(var(--orange-rgb), .14), transparent 60%),
    radial-gradient(680px 680px at 50% 110%, rgba(var(--cyan-rgb), .10), transparent 62%);
  filter: blur(42px);
}
body::after{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,0,0,.60)),
    radial-gradient(ellipse 75% 75% at 50% 18%, rgba(255,255,255,.18), transparent 62%),
    repeating-linear-gradient(to right, rgba(255,255,255,.07) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.07) 0 1px, transparent 1px 34px);
  opacity:.30;
}

a{color:inherit; text-decoration:none}

/* ===== Cut-corner look (global) ===== */
.cut, .card, .hud-card, .btn, .badge, .hero, .panel, .topnav__inner, .user-trigger, .user-dropdown, .notif-dropdown, .search, .search-results, .stat, .lp-hero, .lp-kpi{
  border-radius: 0 !important;
  clip-path: polygon(
    var(--cut) 0,
    calc(100% - var(--cut)) 0,
    100% var(--cut),
    100% calc(100% - var(--cut)),
    calc(100% - var(--cut)) 100%,
    var(--cut) 100%,
    0 calc(100% - var(--cut)),
    0 var(--cut)
  );
}


/* Small utility helpers */
.muted{color: var(--muted)}
.muted-2{color: var(--muted-2)}
.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace}
.sep{height:1px; background: rgba(255,255,255,.08)}

/* App shell width */
.container{
  display:flex;
  flex-direction:column; /* nav on top across the app */
  min-height:100vh;
  width:100%;
  margin:0 auto;
  padding: 0 24px;
}

/* Sidebar -> Headbar (global app nav) */
.sidebar{
  width:100%;
  padding: 12px 12px;
  border-right: 0;
  border-bottom: 1px solid var(--border);
  background: rgba(7,9,13,.55);
  backdrop-filter: blur(10px);
  position: sticky;
  top:0;
  z-index: 70;
  display:flex;
  align-items:center;
  gap: 14px;
}
.sidebar.collapsed{ width:100%; }
.brand{display:flex; align-items:center; gap:10px; padding: 6px 8px; margin:0}
.logo{
  width: 12px; height: 12px; border-radius: 999px;
  background: var(--neon);
  box-shadow: var(--shadow-glow);
  position: relative;
}
.logo::after{
  content:"";
  position:absolute; inset:-10px;
  border-radius:999px;
  background: rgba(var(--neon-rgb), .16);
  filter: blur(10px);
}
.brand h1{font-size:14px; letter-spacing:.8px; margin:0; text-transform:uppercase}
.nav{
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:6px;
  margin:0;
  flex:1;
  overflow:auto;
  scrollbar-width:none;
}
.nav::-webkit-scrollbar{display:none}
.nav a{display:flex; align-items:center; gap:12px; padding: 10px 10px; border-radius: var(--hud-radius-sm); color: var(--muted); border: 1px solid transparent; white-space:nowrap}
.nav a:hover{
  background: rgba(255,255,255,.04);
  color: var(--text);
  border-color: rgba(255,255,255,.06);
}
.nav a.active{
  background: rgba(var(--neon-rgb), .10);
  border-color: rgba(var(--neon-rgb), .42);
  color: var(--text);
  box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .12), 0 0 28px rgba(var(--neon-rgb), .12);
}
.icon{
  width: 22px; height: 22px;
  display:grid; place-items:center;
  opacity:.95;
}
/* collapsed state is no-op in headbar layout */
.sidebar.collapsed .label{display:inline}

.sidebar-extra{margin-left:auto; display:none}
@media (min-width: 1100px){
  body[data-ui="faceit"] .sidebar-extra{display:flex}
}
.sidebar-extra{
  align-items:center;
  gap:10px;
  padding: 8px 10px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid var(--border);
  background: rgba(0,0,0,.18);
}

/* Main */
.main{flex:1; padding: 18px 0 34px}
/* Main content width */
.main{display:flex; flex-direction:column}
.main > *{width:100%; max-width:1600px; margin-left:auto; margin-right:auto}

.topbar{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px;
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: var(--hud-radius);
  background: rgba(7,9,13,.55);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-soft);
}
.search{
  display:flex; align-items:center; gap:10px; flex:1;
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  background: rgba(0,0,0,.30);
  border: 1px solid rgba(255,255,255,.06);
  max-width: 520px;
}
.search-wrap{position:relative; flex:1; max-width:520px}
.search-wrap .search{max-width:none}
.search input{
  width:100%;
  background:transparent;
  border:0;
  outline:none;
  color: var(--text);
}

.search-results{
  position:absolute;
  top: calc(100% + 8px);
  left:0;
  right:0;
  z-index: 50;
  border-radius: var(--hud-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(7,9,13,.92);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.sr-section{padding:10px 10px 6px; color: rgba(255,255,255,.55); font-size: 11px; letter-spacing:.08em; text-transform: uppercase;}
.sr-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 10px;
  border-top: 1px solid rgba(255,255,255,.06);
  cursor:pointer;
}
.sr-item:first-of-type{border-top:none}
.sr-item:hover, .sr-item.active{background: rgba(255,255,255,.06)}
.sr-ico{width: 22px; height: 22px; display:grid; place-items:center; opacity:.9}
.sr-main{min-width:0; flex:1}
.sr-title{font-size: 13px; color: rgba(255,255,255,.92); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sr-sub{font-size: 11px; color: rgba(255,255,255,.55); margin-top:2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sr-kbd{font-size:10px; color: rgba(255,255,255,.45); border:1px solid rgba(255,255,255,.12); padding:3px 6px; border-radius: 10px}
.actions{display:flex; align-items:center; gap:10px;}
.btn{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--text);
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  cursor:pointer;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.btn:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18)}
.btn.primary{
  background: rgba(var(--neon-rgb), .10);
  border-color: rgba(var(--neon-rgb), .40);
  box-shadow: var(--shadow-glow);
}
.btn.primary:hover{transform: translateY(-1px) scale(1.01)}

/* Grid & Cards */
.grid{
  margin-top: 16px;
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 14px;
}
.card,
.hud-card{
  position:relative;
  overflow:hidden;
  border-radius: var(--hud-radius);
  border: 1px solid var(--hud-border);
  background:
    linear-gradient(180deg, rgba(255,255,255,.075), rgba(0,0,0,.34));
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-soft);
  padding: 16px;
  transform: translateZ(0);
  transition: transform .14s ease, box-shadow .14s ease, border-color .14s ease;
}
.card::before,
.hud-card::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 240px at 14% 0%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(700px 260px at 86% 12%, rgba(var(--neon-rgb), .12), transparent 62%),
    radial-gradient(700px 260px at 50% 120%, rgba(var(--cyan-rgb), .08), transparent 62%);
  opacity:.45;
}
.card::after,
.hud-card::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -18px 38px rgba(0,0,0,.30),
    inset 0 0 0 1px rgba(255,255,255,.03);
}
.card:hover,
.hud-card:hover{
  border-color: var(--hud-border-2);
  transform: translateY(-2px);
  box-shadow: var(--shadow), 0 0 0 1px rgba(var(--neon-rgb), .06);
}
.hud-card.deep{box-shadow: var(--shadow), var(--shadow-glow)}
.hud-card.tight{padding: 12px; border-radius: var(--hud-radius-sm)}
.hud-card.flat{box-shadow: var(--shadow-tight)}

/* Section head (title + actions) */
.hud-section{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  margin: 8px 0 14px;
}
.hud-title{
  margin:0;
  font-size: 14px;
  letter-spacing:.10em;
  text-transform:uppercase;
  color: rgba(255,255,255,.92);
}
.hud-subtitle{
  margin:6px 0 0;
  color: var(--muted);
  font-size: 12.5px;
}
.hud-actions{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

.divider{height:1px; background: rgba(255,255,255,.08); margin: 12px 0}
.card h2{
  margin:0 0 10px;
  font-size: 14px;
  letter-spacing:.4px;
  color: rgba(255,255,255,.92);
}
.kpi-row{display:grid; grid-template-columns: repeat(4, 1fr); gap:12px}
.kpi{
  position:relative;
  padding: 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.035), rgba(0,0,0,.28));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.06),
    inset 0 -18px 30px rgba(0,0,0,.26);
}
.kpi .label{color: var(--muted); font-size: 12px}
.kpi .value{font-size: 22px; margin-top: 6px}
.badge{
  display:inline-flex; gap:6px; align-items:center;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  color: var(--muted);
  font-size: 12px;
}
.badge.ok{border-color: rgba(var(--neon-rgb), .28); color: rgba(var(--neon-rgb), .92)}
.badge.bad{border-color: rgba(var(--red-rgb),.25); color: rgba(var(--red-rgb),.92)}

/* Tables */
.table{
  width:100%;
  border-collapse: collapse;
  overflow:hidden;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.08);
}
.table th,.table td{
  padding: 10px 10px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  text-align:left;
  font-size: 13px;
}
.table th{
  color: var(--muted);
  font-weight:700;
  letter-spacing:.04em;
  text-transform:uppercase;
  font-size: 11.5px;
  background: rgba(0,0,0,.18);
  position: sticky;
  top: 0;
  z-index: 1;
}
.table tr:hover td{background: rgba(255,255,255,.04)}

/* Responsive */
@media (max-width: 1100px){
  .grid{grid-template-columns:1fr}
  .kpi-row{grid-template-columns: repeat(2, 1fr)}
}

/* Upload dropzone */
.dropzone{
  border: 1px dashed rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  border-radius: var(--hud-radius);
  padding: 22px;
  min-height: 180px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  box-shadow: var(--shadow-tight);
  transition: border-color .12s ease, background .12s ease, transform .12s ease;
}
.dropzone.dragover{
  border-color: rgba(var(--neon-rgb),.55);
  background: rgba(var(--neon-rgb),.08);
  transform: translateY(-1px);
}
.dropzone .left{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.hint{color: var(--muted); font-size: 13px}
.subhint{color: var(--muted-2); font-size: 12px}
.progress{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.06);
}
.progress > div{
  height:100%;
  width: 0%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Pills, chips */
.chips{display:flex; gap:8px; flex-wrap:wrap}
.chip{
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  font-size: 12px;
  color: var(--muted);
}
.chip strong{color: var(--text); font-weight:600}

/* Tabs */
.tabs{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin: 12px 0;
}
.tab{
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--muted);
  cursor:pointer;
  user-select:none;
}
.tab.active{
  background: rgba(var(--neon-rgb),.10);
  border-color: rgba(var(--neon-rgb),.40);
  color: var(--text);
}

/* Two-column report sections */
.split{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
}
@media (max-width: 1100px){
  .split{grid-template-columns:1fr}
}

/* Report reason cards */
.reason{
  display:flex;
  gap:12px;
  padding: 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.reason .tag{
  min-width: 44px;
  height: 44px;
  border-radius: var(--hud-radius-sm);
  display:grid;
  place-items:center;
  background: rgba(var(--orange-rgb),.12);
  border: 1px solid rgba(var(--orange-rgb),.20);
}
.reason h3{
  margin:0;
  font-size: 13px;
  letter-spacing:.2px;
}
.reason p{
  margin:4px 0 0;
  color: var(--muted);
  font-size: 12.5px;
  line-height: 1.35;
}

/* Badge grid */
.badge-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:12px;
}
@media (max-width: 1100px){
  .badge-grid{grid-template-columns: repeat(2, 1fr);}
}
.badge-card{
  padding: 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  transition: transform .12s ease, border-color .12s ease;
}
.badge-card:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.14);}
.badge-top{display:flex; align-items:center; justify-content:space-between; gap:8px;}
.badge-icon{
  width: 44px; height: 44px;
  border-radius: var(--hud-radius-sm);
  display:grid; place-items:center;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
}
.badge-title{margin:10px 0 4px; font-size: 13px;}
.badge-desc{margin:0; color: var(--muted); font-size: 12.5px; line-height:1.35;}
.locked{opacity:.55; filter: grayscale(.25);}

/* Filters row */
.filters{display:flex; gap:10px; flex-wrap:wrap; align-items:center}
.select{
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  color: var(--text);
  outline:none;
}


/* --- Topbar: user menu + profile (Death Coach) --- */
.topbar-left{display:flex; align-items:center; gap:12px; min-width: 280px}
.btn.icon{width:42px; height:42px; display:inline-flex; align-items:center; justify-content:center; padding:0}
.crumbs{display:flex; flex-direction:column; gap:2px}
.crumbs-title{font-weight:800; letter-spacing:.2px; font-size:13px; color:rgba(255,255,255,.9); max-width:260px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.crumbs-sub{font-size:12px; color:var(--muted); max-width:260px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.search-ico{color:var(--muted)}
.user-menu{position:relative}
.user-trigger{
  display:flex; align-items:center; gap:10px;
  height:42px; padding:0 10px 0 8px;
  border-radius: var(--hud-radius-sm);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.92);
  cursor:pointer;
}
.user-trigger:hover{border-color: rgba(255,255,255,.14); background: rgba(0,0,0,.22)}
.user-name{max-width:160px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-weight:750; font-size:13px}
.chev{color: rgba(255,255,255,.55); margin-left:2px}
.avatar{
  width:26px; height:26px; border-radius: var(--hud-radius-sm);
  display:inline-flex; align-items:center; justify-content:center;
  background: rgba(var(--neon-rgb),.10);
  border: 1px solid rgba(var(--neon-rgb),.18);
  color: rgba(255,255,255,.95);
  font-weight:900;
  flex:0 0 auto;
  object-fit: cover;
}
.avatar-lg{width:56px; height:56px; border-radius: var(--hud-radius-sm); font-size:22px}
.user-dropdown{
  position:absolute; right:0; top: calc(100% + 10px);
  width: 240px;
  border-radius: var(--hud-radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,9,13,.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
  padding: 8px;
  display:none;
  z-index: 60;
}
.user-menu.open .user-dropdown{display:block}
.ud-item{
  display:flex; align-items:center; gap:10px;
  padding: 10px 10px;
  border-radius: var(--hud-radius-sm);
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.ud-item:hover{background: rgba(255,255,255,.06)}
.ud-item.danger{color: rgba(255,92,92,.95)}
.ud-ico{width:18px; text-align:center; opacity:.9}
.ud-sep{height:1px; background: rgba(255,255,255,.08); margin: 6px 4px}
.ud-foot{padding: 10px 10px 8px}
.ud-muted{color: var(--muted); font-size: 11px; letter-spacing:.12em; text-transform:uppercase}
.ud-mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; color: rgba(255,255,255,.82); font-size: 12px; margin-top:4px; word-break: break-all}

@media (max-width: 980px){
  .crumbs{display:none}
  .user-name{display:none}
}


/* --- Clean sidebar icons (inline SVG) --- */
.icon .ico{width:20px; height:20px; display:block}
.icon svg{width:20px; height:20px; display:block}
.ud-svg{width:16px; height:16px; margin-right:10px; display:inline-block; vertical-align:-3px; opacity:.95}

.kpi-sub{margin-top:6px; color:var(--muted); font-size:12px}
.avatar-lg{width:64px; height:64px; border-radius: var(--radius);}


.mono{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;}


@media (max-width: 640px){
  .container{padding: 0 14px}
}

/* =========================
   Match page (gaming UI)
   ========================= */
.hero{
  border-radius: var(--hud-radius-sm);
  border: 1px solid var(--border);
  background: rgba(7,9,13,.62);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.hero-inner{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 14px;
  padding: 14px;
}
.hero-map{
  position:relative;
  border-radius: var(--radius);
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  aspect-ratio: 1/1;
}
.hero-map img{width:100%; height:100%; object-fit:cover; display:block; opacity:.92}
.hero-map-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(60% 60% at 50% 35%, rgba(255,255,255,.16), transparent 60%),
    linear-gradient(to bottom, rgba(0,0,0,.0), rgba(0,0,0,.55));
  pointer-events:none;
}
.hero-map-tag{
  position:absolute; left:10px; bottom:10px;
  padding: 6px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.35);
  color: rgba(255,255,255,.92);
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.hero-mid{min-width:0}
.hero-kicker{font-size: 11px; color: rgba(255,255,255,.62); letter-spacing:.18em; text-transform:uppercase}
.hero-h1{margin:6px 0 0; font-size: 18px; letter-spacing:.2px; font-weight: 950}
.hero-sub{color: var(--muted); font-size: 12px; margin-top: 6px}
.hero-title{display:flex; align-items:flex-start; justify-content:space-between; gap: 12px}
.hero-pills{display:flex; align-items:center; gap:10px; flex-wrap:wrap}

.result-pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.result-pill.ok{border-color: rgba(var(--neon-rgb),.35); background: rgba(var(--neon-rgb),.10); color: rgba(255,255,255,.95); box-shadow: var(--shadow-glow)}
.result-pill.neutral{border-color: rgba(255,255,255,.12); color: rgba(255,255,255,.88)}

.hero-score{display:grid; grid-template-columns: 1fr 520px; gap: 14px; margin-top: 12px; align-items:start}
.score-big{font-size: 34px; font-weight: 950; letter-spacing: .5px; line-height:1}
.score-big .dim{color: rgba(255,255,255,.35); margin: 0 6px}

.ico-pill{width:26px; height:26px; border-radius: 999px; display:inline-grid; place-items:center; border:1px solid rgba(255,255,255,.12); background: rgba(0,0,0,.24)}

.hero-focus{border-left: 1px solid rgba(255,255,255,.08); padding-left: 14px}
.focus-head{display:flex; align-items:baseline; justify-content:space-between; gap: 10px}
.focus-title{font-weight: 900; letter-spacing:.1em; text-transform:uppercase; font-size: 11px; color: rgba(255,255,255,.72)}
.focus-hint{color: rgba(255,255,255,.68); font-size: 12px; text-align:right}
.focus-row{display:flex; gap:10px; flex-wrap:wrap; align-items:center; margin-top: 10px}
.focus-card{
  margin-top: 12px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding: 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;
}
.focus-left{display:flex; align-items:center; gap:12px; min-width:0}
.focus-name{font-weight: 950; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 240px}
.focus-sub{color: rgba(255,255,255,.62); font-size: 12px}
.focus-right{display:flex; align-items:center; gap:14px}
.focus-mini{display:flex; flex-direction:column; gap:8px; align-items:flex-end}

.gauge{
  width: 120px;
  height: 80px;
  position: relative;
  --pdeg: 0deg;
}
.gauge-ring{
  position:absolute;
  inset: 0;
  border-radius: 999px 999px 14px 14px;
  background:
    conic-gradient(from 200deg, rgba(var(--neon-rgb),.0) 0deg, rgba(var(--neon-rgb),.9) var(--pdeg), rgba(255,255,255,.10) var(--pdeg), rgba(255,255,255,.10) 220deg);
  -webkit-mask: radial-gradient(circle at 50% 115%, transparent 44px, #000 45px);
  mask: radial-gradient(circle at 50% 115%, transparent 44px, #000 45px);
  filter: drop-shadow(0 0 18px rgba(var(--neon-rgb),.22));
}
.gauge-center{position:absolute; left:0; right:0; bottom: 0; text-align:center}
.gauge-big{font-weight: 950; font-size: 20px; letter-spacing:.3px}
.gauge-sub{font-size: 10px; color: rgba(255,255,255,.60); letter-spacing:.18em}

.player-strip{display:flex; gap:8px; flex-wrap:wrap; margin-top: 10px}
.pchip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.86);
  cursor:pointer;
  max-width: 210px;
}
.pchip:hover{border-color: rgba(255,255,255,.18); transform: translateY(-1px)}
.pchip.active{background: rgba(var(--neon-rgb),.10); border-color: rgba(var(--neon-rgb),.40)}
.pchip-av{width:22px; height:22px; border-radius: 999px; object-fit: cover; border:1px solid rgba(255,255,255,.14)}
.pchip-av.placeholder{display:inline-grid; place-items:center; font-weight:900; background: rgba(0,0,0,.25)}
.pchip-name{white-space:nowrap; overflow:hidden; text-overflow:ellipsis; font-size: 12px; font-weight: 800}

.match-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 14px;
  align-items:start;
}
.team-split{display:grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px}
.team-card{border-radius: var(--radius); border:1px solid rgba(255,255,255,.08); background: rgba(0,0,0,.18); overflow:hidden}
.team-head{display:flex; align-items:center; justify-content:space-between; gap: 10px; padding: 10px 10px; border-bottom:1px solid rgba(255,255,255,.06)}
.team-title{display:flex; align-items:center; gap:10px; font-weight: 950; letter-spacing:.12em; text-transform:uppercase; font-size: 12px}
.team-sub{color: rgba(255,255,255,.62); font-size: 12px}
.team-dot{width:10px; height:10px; border-radius:999px; box-shadow: 0 0 18px rgba(255,255,255,.10)}
.team-dot.ct{background: rgba(96,160,255,.95)}
.team-dot.t{background: rgba(255,170,64,.95)}

.sb-list{display:flex; flex-direction:column}
.sb-row{display:grid; grid-template-columns: 1fr 1.2fr 110px; gap: 12px; padding: 10px 10px; border-bottom:1px solid rgba(255,255,255,.06); cursor:pointer}
.sb-row:hover{background: rgba(255,255,255,.03)}
.sb-row.focus{background: rgba(var(--neon-rgb),.08)}
.sb-left{display:flex; align-items:center; gap:10px; min-width:0}
.sb-av{width:34px; height:34px; border-radius: 10px; object-fit: cover; border:1px solid rgba(255,255,255,.14)}
.sb-av-ph{display:grid; place-items:center; font-weight: 950; background: rgba(0,0,0,.25)}
.sb-name{font-weight: 900; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sb-sub{color: rgba(255,255,255,.55); font-size: 11px; margin-top: 2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sb-mid{min-width:0}
.sb-kda{font-weight: 950; letter-spacing:.2px}
.sb-kda .k{color: rgba(var(--neon-rgb),.95)}
.sb-kda .d{color: rgba(255,76,76,.95)}
.sb-kda .a{color: rgba(var(--cyan-rgb),.92)}
.sb-mini{color: rgba(255,255,255,.62); font-size: 11px; margin-top: 4px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.sb-right{text-align:right}
.sb-rating{font-weight: 950}
.sb-bar{height: 8px; border-radius:999px; background: rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.08); overflow:hidden; margin-top: 6px}
.sb-bar > div{height:100%; width:0%; background: linear-gradient(135deg, var(--accent), var(--accent-2))}

.heatmap-box{
  position:relative;
  width: min(500px, 100%);
  aspect-ratio: 1/1;
  border-radius: var(--radius);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
}
.heatmap-box canvas{mix-blend-mode: screen}
.heatmap-fade{position:absolute; inset:0; pointer-events:none; background: radial-gradient(70% 70% at 50% 35%, rgba(255,255,255,.10), transparent 62%)}

.toggle{display:inline-flex; align-items:center; gap:8px; color: rgba(255,255,255,.74); font-size: 12px; user-select:none}
.toggle input{accent-color: var(--accent)}

.reason-grid{display:grid; grid-template-columns: 1fr; gap: 10px}
.reason-card{
  display:grid;
  grid-template-columns: 44px 1fr 40px;
  gap: 12px;
  align-items:center;
  padding: 12px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.08);
  background: rgba(0,0,0,.18);
}
.reason-ico{width:44px; height:44px; border-radius: var(--radius); display:grid; place-items:center; background: rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.08); font-size: 18px}
.reason-name{font-weight: 950; letter-spacing:.2px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.reason-sub{color: rgba(255,255,255,.62); font-size: 12px; margin-top: 4px}
.reason-count{text-align:right; font-weight: 950; color: rgba(255,255,255,.80)}

.table-wrap{overflow:auto; border-radius: var(--radius)}

@media (max-width: 1240px){
  .hero-score{grid-template-columns: 1fr}
  .hero-focus{border-left:0; padding-left:0; border-top:1px solid rgba(255,255,255,.08); padding-top: 12px}
  .match-grid{grid-template-columns: 1fr}
}
@media (max-width: 900px){
  .hero-inner{grid-template-columns: 1fr}
  .hero-map{max-width: 280px}
  .team-split{grid-template-columns: 1fr}
  .sb-row{grid-template-columns: 1fr}
  .sb-right{text-align:left}
}

/* =========================
   Profile + Dashboard polish
   ========================= */
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.stat-label{font-size:11px; color: rgba(255,255,255,.62); letter-spacing:.18em; text-transform:uppercase}
.mini{font-size:12px; color: rgba(255,255,255,.68)}
.result-pill.bad{border-color: rgba(var(--red-rgb),.35); background: rgba(var(--red-rgb),.10); color: rgba(255,255,255,.95)}

/* =========================
   Global page components
   ========================= */
.card-head{display:flex; align-items:flex-start; justify-content:space-between; gap:12px}
.bar-list{display:flex; flex-direction:column; gap:10px}
.bar-row{display:block}
.bar{
  height: 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.08);
  overflow:hidden;
}
.bar > div{height:100%; width:0%; background: linear-gradient(135deg, var(--accent), var(--accent-2))}

/* =========================
   HUD helpers across app pages
   (many pages set data-ui="hud" on <body>)
   ========================= */
body[data-ui="hud"] .card-head{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  background:
    linear-gradient(90deg, rgba(var(--cyan-rgb),.06), rgba(var(--orange-rgb),.05), rgba(255,255,255,.02));
}
body[data-ui="hud"] .input{
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.26);
  color: var(--text);
  outline: none;
}
body[data-ui="hud"] .hero{
  border-radius: var(--hud-radius);
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(7,9,13,.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-soft);
}
body[data-ui="hud"] .hero-map,
body[data-ui="hud"] .hero-right{border-radius: var(--hud-radius)}

/* =========================
   Heatmaps gallery (match-like cards)
   ========================= */
.map-grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 12px;
}
.map-card{
  display:block;
  border-radius: var(--hud-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.16);
  box-shadow: var(--shadow-soft);
  overflow:hidden;
  transition: transform .12s ease, border-color .12s ease, background .12s ease;
}
.map-card:hover{
  transform: translateY(-1px);
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.map-thumb{
  aspect-ratio: 1/1;
  background: rgba(0,0,0,.30);
}
.map-thumb img{width:100%; height:100%; object-fit:cover; display:block; opacity:.92}
.map-meta{padding: 12px}
.map-name{font-weight: 950; letter-spacing:.2px}

/* inputs used in heatmaps viewer */
.input{
  padding: 10px 12px;
  border-radius: var(--hud-radius-sm);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.30);
  color: var(--text);
}

/* notifications (topbar dropdown) */
.notif-menu{position:relative}
.notif-menu.open .notif-dropdown{display:block}
.notif-dot{
  position:absolute;
  top:10px; right:10px;
  width:8px; height:8px;
  border-radius: 999px;
  background: rgba(var(--neon-rgb),.95);
  box-shadow: 0 0 0 3px rgba(var(--neon-rgb),.14);
}
.notif-dropdown{
  position:absolute; right:0; top: calc(100% + 10px);
  width: 360px;
  border-radius: var(--radius);
  border:1px solid rgba(255,255,255,.10);
  background: rgba(7,9,13,.75);
  backdrop-filter: blur(14px);
  box-shadow: 0 28px 90px rgba(0,0,0,.65);
  padding: 10px;
  display:none;
  z-index: 60;
}
.notif-head{display:flex; align-items:flex-end; justify-content:space-between; gap:10px; padding: 2px 4px 10px}
.notif-title{font-weight:900; letter-spacing:.2px; font-size:13px; color:rgba(255,255,255,.92)}
.notif-sub{font-size:12px; color:var(--muted)}
.notif-list{display:flex; flex-direction:column; gap:6px; max-height: 340px; overflow:auto; padding-right:2px}
.notif-empty{padding: 12px 8px; color: var(--muted); font-size: 13px}
.notif-item{
  display:flex; align-items:flex-start; gap:10px;
  padding: 10px 10px;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.06);
  background: rgba(0,0,0,.14);
  color: rgba(255,255,255,.88);
}
.notif-item:hover{background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.10)}
.notif-status{width:10px; height:10px; border-radius:999px; margin-top:3px; background: rgba(255,255,255,.18); flex:0 0 auto}
.notif-status.ok{background: rgba(var(--neon-rgb),.70)}
.notif-status.warn{background: rgba(255,208,92,.75)}
.notif-status.err{background: rgba(255,92,92,.75)}
.notif-main{display:flex; flex-direction:column; gap:3px; min-width:0; flex:1}
.notif-item-title{font-weight:850; font-size:13px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.notif-item-meta{color: var(--muted); font-size: 12px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.notif-ago{color: rgba(255,255,255,.56); font-size: 12px; margin-left:8px; flex:0 0 auto}

/* === Data-viz helpers (used in the redesigned stats UI) === */
.stat-ring{
  --p: .65; /* 0..1 */
  --size: 112px;
  --th: 10px;
  width: var(--size);
  height: var(--size);
  border-radius: 999px;
  position: relative;
  display: grid;
  place-items: center;
  background:
    conic-gradient(
      rgba(var(--neon-rgb), .92) calc(var(--p) * 1turn),
      rgba(255,255,255,.10) 0
    );
  filter: drop-shadow(0 0 22px rgba(var(--neon-rgb), .18));
}
.stat-ring::before{
  content:"";
  position:absolute;
  inset: var(--th);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(0,0,0,.38));
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -18px 34px rgba(0,0,0,.30),
    0 0 0 1px rgba(255,255,255,.06);
}
.stat-ring .sr-in{
  position: relative;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  gap: 2px;
  padding: 6px 8px;
}
.stat-ring .sr-num{font-weight: 950; font-size: 22px; letter-spacing:.2px; line-height:1}
.stat-ring .sr-lbl{font-size: 11px; letter-spacing:.14em; text-transform:uppercase; color: rgba(255,255,255,.62)}

.barlist{display:flex; flex-direction:column; gap:8px}
.barrow{display:grid; grid-template-columns: 1fr 120px; gap:10px; align-items:center}
.barrow .name{font-weight:850; font-size:12px; color: rgba(255,255,255,.84); white-space:nowrap; overflow:hidden; text-overflow:ellipsis}
.bar{
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.22);
  overflow:hidden;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.bar > i{
  display:block;
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(var(--neon-rgb), .92), rgba(var(--orange-rgb), .82));
  box-shadow: 0 0 22px rgba(var(--neon-rgb), .16);
}

.sparkline{width:100%; height:36px; opacity:.95}
.sparkline path{fill:none; stroke: rgba(255,255,255,.70); stroke-width:2}
.sparkline .accent{stroke: rgba(var(--neon-rgb), .92)}


/* =========================================================
   Deep Redesign Additions (v1)
   - Adds stronger depth, subtle motion, and upgraded data-viz
   - Keeps existing class/JS names intact
   ========================================================= */

/* Optional subtle noise layer (adds "depth" without flat gradients) */
:root{
  --noise-opacity: .06;
  --tilt-persp: 900px;
  --tilt-max: 7deg;
}

/* Ultra-subtle noise using CSS-only pattern (no external assets) */
body[data-ui="hud"]::after{
  background:
    linear-gradient(to bottom, rgba(255,255,255,0), rgba(0,0,0,.60)),
    radial-gradient(ellipse 75% 75% at 50% 18%, rgba(255,255,255,.18), transparent 62%),
    repeating-linear-gradient(to right, rgba(255,255,255,.07) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(to bottom, rgba(255,255,255,.07) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(135deg, rgba(255,255,255,var(--noise-opacity)) 0 1px, transparent 1px 3px);
}

/* 3D hover tilt hook (opt-in via data-tilt) */
[data-tilt]{
  transform-style: preserve-3d;
  will-change: transform;
}
[data-tilt] .tilt-pop{
  transform: translateZ(18px);
}
[data-tilt] .tilt-pop2{
  transform: translateZ(32px);
}

/* Stronger bevel + depth option for feature cards */
.hud-card.deep-3d, .card.deep-3d{
  box-shadow: var(--shadow), var(--shadow-glow-strong);
}
.hud-card.deep-3d::after, .card.deep-3d::after{
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.14),
    inset 0 -22px 48px rgba(0,0,0,.36),
    inset 0 0 0 1px rgba(255,255,255,.04);
}

/* Chart container polish */
.chart-wrap{
  border-radius: var(--hud-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  box-shadow: var(--shadow-tight);
  overflow:hidden;
  position:relative;
}
.chart-wrap::before{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(700px 260px at 12% 0%, rgba(255,255,255,.10), transparent 62%),
    radial-gradient(760px 280px at 88% 18%, rgba(var(--neon-rgb), .14), transparent 64%);
  opacity:.55;
  pointer-events:none;
}
.chart-pad{padding: 12px}

/* Stats wall (rings + bars + microcharts) */
.stat-wall{
  display:grid;
  grid-template-columns: 1fr;
  gap: 12px;
}
.stat-wall-top{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 12px;
  flex-wrap:wrap;
}
.stat-wall-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(180px, 1fr));
  gap: 12px;
  align-items:stretch;
}
@media (max-width: 1100px){
  .stat-wall-grid{grid-template-columns: repeat(2, minmax(160px, 1fr));}
}
@media (max-width: 520px){
  .stat-wall-grid{grid-template-columns: 1fr;}
}

.ring-card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  padding: 12px;
  border-radius: var(--hud-radius);
  border: 1px solid rgba(255,255,255,.10);
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(0,0,0,.24));
  box-shadow: var(--shadow-tight);
  overflow:hidden;
  position:relative;
}
.ring-card::before{
  content:"";
  position:absolute; inset:-40px;
  background: radial-gradient(300px 240px at 30% 10%, rgba(var(--neon-rgb), .10), transparent 62%);
  filter: blur(12px);
  pointer-events:none;
}
.ring-meta{min-width:0}
.ring-k{margin:0; font-weight:950; letter-spacing:.12em; text-transform:uppercase; font-size: 11px; color: rgba(255,255,255,.72)}
.ring-v{margin: 6px 0 0; font-size: 22px; font-weight: 950}
.ring-h{margin: 6px 0 0; color: var(--muted); font-size: 12.5px; line-height:1.35}
.ring-mini{margin-top: 10px; opacity:.95}

/* Count-up numbers (opt-in via data-count) */
[data-count]{
  font-variant-numeric: tabular-nums;
}

/* Sparkline container */
.spark{
  width: 140px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
  padding: 6px 8px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}
.spark svg{width:100%; height:100%}

/* Buttons: more "premium" hover */
.btn{
  position:relative;
}
.btn::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  pointer-events:none;
  background: radial-gradient(160px 120px at 20% 0%, rgba(255,255,255,.10), transparent 62%);
  opacity: 0;
  transition: opacity .14s ease;
}
.btn:hover::after{opacity:1}

/* =========================================================
   FACEIT / LEETIFY-LIKE SHELL (v2026-01)
   - desktop: left rail + sticky topbar
   - mobile: keep current top headbar (no collapse)
   - minimal markup changes; overrides only
   ========================================================= */

/* Better default typography + spacing */
body{letter-spacing: .1px}
h1,h2,h3{letter-spacing: .2px}

/* Desktop shell: left rail */
@media (min-width: 1100px){
  body[data-ui="faceit"] .container{
    flex-direction: row;
    align-items: stretch;
    gap: 16px;
    padding: 0 18px;
  }

  body[data-ui="faceit"] .sidebar{
    width: 272px;
    height: calc(100vh - 24px);
    margin: 12px 0;
    border-radius: var(--hud-radius);
    border: 1px solid rgba(255,255,255,.10);
    border-right: 1px solid rgba(255,255,255,.10);
    border-bottom: 1px solid rgba(255,255,255,.10);
    background: rgba(7,9,13,.62);
    box-shadow: var(--shadow-soft);
    padding: 12px;
    position: sticky;
    top: 12px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  body[data-ui="faceit"] .brand{
    padding: 10px 10px;
    margin: 0;
    border-radius: var(--hud-radius);
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(0,0,0,.16);
    justify-content: space-between;
  }

  body[data-ui="faceit"] .brand h1{font-size: 12px}
  body[data-ui="faceit"] .brand .label{min-width:0}

  body[data-ui="faceit"] .nav{
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 2px;
  }
  body[data-ui="faceit"] .nav a{
    width: 100%;
    justify-content: flex-start;
    padding: 11px 10px;
    border-radius: 14px;
    position: relative;
  }
  body[data-ui="faceit"] .nav a.active{
    box-shadow: 0 0 0 1px rgba(var(--neon-rgb), .14), 0 0 30px rgba(var(--neon-rgb), .12);
  }
  body[data-ui="faceit"] .nav a.active::after{
    content:"";
    position:absolute;
    left: -10px;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: rgba(var(--neon-rgb), .92);
    box-shadow: 0 0 18px rgba(var(--neon-rgb), .22);
  }

  body[data-ui="faceit"] .sidebar-extra{
    display: grid;
    gap: 10px;
    margin-left: 0;
    margin-top: auto;
    padding: 12px;
    border-radius: var(--hud-radius);
  }

  body[data-ui="faceit"] .main{
    padding: 12px 0 34px;
    min-width: 0;
  }
  body[data-ui="faceit"] .main > *{max-width: 1600px}

  body[data-ui="faceit"] .topbar{
    position: sticky;
    top: 12px;
    z-index: 60;
  }
}

/* Collapse: icon rail (desktop only) */
@media (min-width: 1100px){
  body[data-ui="faceit"] .sidebar-toggle{
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,.10);
    background: rgba(255,255,255,.04);
    color: rgba(255,255,255,.78);
    cursor: pointer;
    transition: transform .12s ease, border-color .12s ease, background .12s ease;
    flex: 0 0 auto;
  }
  body[data-ui="faceit"] .sidebar-toggle:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(255,255,255,.06)}
  body[data-ui="faceit"] .sidebar-toggle .st-ico{width:18px; height:18px; display:inline-block}
  body[data-ui="faceit"] .sidebar-toggle .st-right{display:none}
  body[data-ui="faceit"] .sidebar.collapsed .sidebar-toggle .st-left{display:none}
  body[data-ui="faceit"] .sidebar.collapsed .sidebar-toggle .st-right{display:inline-block}

  body[data-ui="faceit"] .sidebar.collapsed{width: 86px}
  body[data-ui="faceit"] .sidebar.collapsed .brand .label{display:none}
  body[data-ui="faceit"] .sidebar.collapsed .nav a{justify-content:center; padding: 11px 10px}
  body[data-ui="faceit"] .sidebar.collapsed .nav a .label{display:none}
  body[data-ui="faceit"] .sidebar.collapsed .sidebar-extra{display:none}
  body[data-ui="faceit"] .sidebar.collapsed .nav a.active::after{left:-8px}
}

/* Mobile: hide collapse button (keeps current headbar feel) */
@media (max-width: 1099.98px){
  body[data-ui="faceit"] .sidebar-toggle{display:none}
}

/* Card + button polish to feel more like FACEIT/LEETIFY */
.btn{
  font-weight: 850;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 12px;
}
.btn.icon{letter-spacing: 0; text-transform:none}
.badge{letter-spacing: .06em; text-transform: uppercase; font-size: 11px}

/* Reduce “floaty” feel: sharper hovers */
.card:hover, .hud-card:hover{transform: translateY(-1px)}





/* (Arena redesign block removed — was conflicting with CLUTCHGATE HUD theme) */

body[data-ui="faceit"] {
  --bg: #0b0d12;
  --panel: #12151b;
  --panel-2: #0f1217;

  --border: rgba(255,255,255,.10);
  --border-strong: rgba(255,255,255,.16);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.68);
  --muted-2: rgba(255,255,255,.52);

  
  --neon: #ff5500;
  --neon-rgb: 255,85,0;

  
  --hud-radius: 14px;
  --hud-radius-sm: 10px;

  
  --shadow-tight: 0 10px 24px rgba(0,0,0,.45);
  --shadow-soft: 0 16px 40px rgba(0,0,0,.55);
  --shadow: 0 24px 70px rgba(0,0,0,.70);
  --shadow-glow: none;
  --shadow-glow-strong: none;
}

body[data-ui="faceit"] {background: var(--bg)}

body[data-ui="faceit"]::before, body[data-ui="faceit"]::after {display:none !important}

body[data-ui="faceit"] {
  background: radial-gradient(900px 600px at 12% 0%, rgba(var(--neon-rgb), .08), transparent 55%), var(--bg);
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}

body[data-ui="faceit"] .container {max-width: 1680px; padding: 14px 18px 36px; gap: 16px}
body[data-ui="faceit"] .main {padding: 0;}

body[data-ui="faceit"] .topbar {
  background: var(--panel-2) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-tight) !important;
  backdrop-filter: none !important;
}

body[data-ui="faceit"] .sidebar {
  background: var(--panel-2) !important;
  border-color: var(--border) !important;
  backdrop-filter: none !important;
}

body[data-ui="faceit"] .nav a {
  border-radius: 10px;
  color: var(--muted);
  border: 1px solid transparent;
}
body[data-ui="faceit"] .nav a:hover {
  background: rgba(255,255,255,.05);
  color: var(--text);
  border-color: rgba(255,255,255,.08);
}
body[data-ui="faceit"] .nav a.active {
  background: rgba(var(--neon-rgb), .12);
  border-color: rgba(var(--neon-rgb), .38);
  color: #fff;
}

body[data-ui="faceit"] .card, body[data-ui="faceit"] .hud-card, body[data-ui="faceit"] .fc-kpi {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow-tight) !important;
}
body[data-ui="faceit"] .card::before, body[data-ui="faceit"] .card::after, body[data-ui="faceit"] .hud-card::before, body[data-ui="faceit"] .hud-card::after {display:none !important}

body[data-ui="faceit"] .btn {
  background: rgba(255,255,255,.06) !important;
  border: 1px solid var(--border-strong) !important;
  color: #fff !important;
  border-radius: 10px !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
body[data-ui="faceit"] .btn:hover {
  background: rgba(255,255,255,.10) !important;
  border-color: rgba(255,255,255,.22) !important;
  transform: none !important;
}

body[data-ui="faceit"] .btn.primary {
  background: rgb(var(--neon-rgb)) !important;
  border-color: rgb(var(--neon-rgb)) !important;
  color: #101114 !important;
  font-weight: 700;
}
body[data-ui="faceit"] .btn.primary:hover {filter: brightness(1.05) !important}

body[data-ui="faceit"] input[type="text"], body[data-ui="faceit"] input[type="search"], body[data-ui="faceit"] input[type="number"], body[data-ui="faceit"] input[type="email"], body[data-ui="faceit"] input[type="password"], body[data-ui="faceit"] select, body[data-ui="faceit"] textarea {
  background: var(--panel-2) !important;
  border: 1px solid var(--border-strong) !important;
  color: #fff !important;
  border-radius: 10px !important;
}
body[data-ui="faceit"] input::placeholder, body[data-ui="faceit"] textarea::placeholder {color: rgba(255,255,255,.45) !important}

body[data-ui="faceit"] table {width:100%; border-collapse: separate; border-spacing: 0}

body[data-ui="faceit"] thead th {
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
  color: rgba(255,255,255,.78);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .08em;
}

body[data-ui="faceit"] tbody td {
  border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.90);
}

body[data-ui="faceit"] tbody tr:nth-child(even) {background: rgba(255,255,255,.02)}

body[data-ui="faceit"] tbody tr:hover {background: rgba(255,255,255,.05)}

body[data-ui="faceit"] .pill, body[data-ui="faceit"] .badge, body[data-ui="faceit"] .tag {
  background: rgba(0,0,0,.22) !important;
  border: 1px solid rgba(255,255,255,.14) !important;
}

body[data-ui="faceit"] .scrim {background: rgba(0,0,0,.70) !important}

body[data-ui="faceit"] :focus-visible { outline: 2px solid rgba(var(--neon-rgb), .65); outline-offset: 2px; }

body[data-ui="faceit"] {
  --hud-radius: 8px;
  --hud-radius-sm: 6px;
  --radius: 6px;
}

body[data-ui="faceit"] .container {
  max-width: 1600px;
  padding: 12px 14px 28px;
  gap: 14px;
}
@media (max-width: 980px){
  body[data-ui="faceit"] .container {padding: 10px 12px 22px}
}

body[data-ui="faceit"] .topbar, body[data-ui="faceit"] .sidebar, body[data-ui="faceit"] .card, body[data-ui="faceit"] .hud-card, body[data-ui="faceit"] .hero, body[data-ui="faceit"] .panel, body[data-ui="faceit"] .focus-card, body[data-ui="faceit"] .result-pill, body[data-ui="faceit"] .search, body[data-ui="faceit"] .search-results, body[data-ui="faceit"] .notif-dropdown, body[data-ui="faceit"] .user-dropdown {
  border-radius: 6px !important;
}

body[data-ui="faceit"] .card, body[data-ui="faceit"] .hud-card {
  padding: 14px !important;
}
body[data-ui="faceit"] .hud-section {margin: 6px 0 10px !important;}
body[data-ui="faceit"] .hud-title {font-size: 12px !important;}
body[data-ui="faceit"] .hud-subtitle {font-size: 12px !important;}

body[data-ui="faceit"] .grid {
  margin-top: 12px !important;
  gap: 12px !important;
  grid-template-columns: minmax(0, 1fr) 380px !important;
}
@media (max-width: 1180px){
  body[data-ui="faceit"] .grid {grid-template-columns: 1fr !important;}
}

body[data-ui="faceit"] .hero-inner {
  padding: 12px !important;
  gap: 12px !important;
}
body[data-ui="faceit"] .hero-score {gap: 12px !important;}
body[data-ui="faceit"] .hero-focus {padding-left: 12px !important;}
@media (max-width: 1180px){
  body[data-ui="faceit"] .hero-focus {padding-left: 0 !important;}
}

body[data-ui="faceit"] .btn {
  border-radius: 6px !important;
  padding: 8px 10px !important;
  min-height: 36px;
}
body[data-ui="faceit"] .btn.icon {padding: 8px !important; min-width: 36px;}
body[data-ui="faceit"] input[type="text"], body[data-ui="faceit"] input[type="search"], body[data-ui="faceit"] input[type="number"], body[data-ui="faceit"] input[type="email"], body[data-ui="faceit"] input[type="password"], body[data-ui="faceit"] select, body[data-ui="faceit"] textarea {
  border-radius: 6px !important;
  padding: 9px 10px !important;
  min-height: 36px;
}

body[data-ui="faceit"] .pill, body[data-ui="faceit"] .badge, body[data-ui="faceit"] .tag {
  font-size: 11px !important;
  padding: 6px 10px !important;
  border-radius: 999px !important;
}

body[data-ui="faceit"] .nav a {
  border-radius: 6px !important;
  padding: 9px 10px !important;
}
body[data-ui="faceit"] .nav-title {margin-top: 10px !important;}

body[data-ui="faceit"] thead th {padding: 10px 10px !important;}
body[data-ui="faceit"] tbody td {padding: 10px 10px !important;}
body[data-ui="faceit"] tbody tr:hover {background: rgba(255,255,255,.06) !important;}

body[data-ui="faceit"] .avatar-lg {border-radius: 6px !important;}
body[data-ui="faceit"] .hero-map {border-radius: 6px !important;}

body[data-ui="faceit"] .divider {margin: 10px 0 !important; background: rgba(255,255,255,.10) !important;}

body[data-ui="faceit"] *, body[data-ui="faceit"] *::before, body[data-ui="faceit"] *::after {
  border-radius: 0 !important;
}

body[data-ui="faceit"] {
  --bg: #111419;
  --bg-elevated: #16181d;
  --panel: #1a1d24;
  --panel-hover: #1f222a;
  --border: #2a2d35;
  --border-strong: #34373f;
  --text: #e8e8e8;
  --text-muted: #9a9a9a;
  
  --neon: #ff5500;
  --neon-rgb: 255,85,0;
}

body[data-ui="faceit"] {
  background: var(--bg) !important;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

body[data-ui="faceit"]::before, body[data-ui="faceit"]::after {
  display: none !important;
}

body[data-ui="faceit"] .container {
  max-width: 100% !important;
  padding: 0 !important;
}

body[data-ui="faceit"] .topnav {
  background: var(--bg-elevated) !important;
  border-bottom: 1px solid var(--border) !important;
  display: flex !important;
  align-items: stretch !important;
  height: 56px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
  
  
  width: 100vw !important;

}

body[data-ui="faceit"] .topnav-toggle {
  display: none !important;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border: none;
  background: transparent;
  cursor: pointer;
  border-right: 1px solid var(--border);
  color: var(--text);
  padding: 0;
  flex-shrink: 0;
}

body[data-ui="faceit"] .topnav-toggle:hover {
  background: rgba(255,255,255,0.03);
}

body[data-ui="faceit"] .topnav-brand {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 0 20px !important;
  border-right: 1px solid var(--border) !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
  height: 56px !important;
}

body[data-ui="faceit"] .topnav-logo {
  width: 8px !important;
  height: 8px !important;
  background: var(--neon) !important;
  flex-shrink: 0 !important;
}

body[data-ui="faceit"] .topnav-title {
  font-size: 13px !important;
  font-weight: 700 !important;
  letter-spacing: 0.5px !important;
  color: var(--text) !important;
  white-space: nowrap !important;
}

body[data-ui="faceit"] .topnav-links {
  display: flex !important;
  align-items: stretch !important;
  flex: 1 !important;
  overflow-x: auto !important;
  scrollbar-width: none !important;
  height: 56px !important;
}

body[data-ui="faceit"] .topnav-links::-webkit-scrollbar {
  display: none !important;
}

body[data-ui="faceit"] .topnav-link {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 0 16px !important;
  color: var(--text-muted) !important;
  font-size: 13px !important;
  font-weight: 500 !important;
  border-bottom: 2px solid transparent !important;
  transition: all 0.15s !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  height: 56px !important;
}

body[data-ui="faceit"] .topnav-link:hover {
  color: var(--text) !important;
  background: rgba(255,255,255,0.03) !important;
}

body[data-ui="faceit"] .topnav-link.active {
  color: var(--text) !important;
  border-bottom-color: var(--neon) !important;
  border-bottom-width: 1px !important;
}

body[data-ui="faceit"] .topnav-link .icon {
  width: 16px !important;
  height: 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

body[data-ui="faceit"] .topnav-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  padding: 0 16px !important;
  border-left: 1px solid var(--border) !important;
  flex-shrink: 0 !important;
  height: 56px !important;
}

body[data-ui="faceit"] .topnav-search {
  position: relative !important;
  width: 280px !important;
}

body[data-ui="faceit"] .topnav-search .search {
  width: 100% !important;
  height: 36px !important;
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  display: flex !important;
  align-items: center !important;
  padding: 0 12px !important;
  gap: 8px !important;
  transition: border-color 0.15s !important;
}

body[data-ui="faceit"] .topnav-search .search:focus-within {
  border-color: var(--neon) !important;
}

body[data-ui="faceit"] .topnav-search .search input {
  flex: 1 !important;
  background: transparent !important;
  border: none !important;
  outline: none !important;
  color: var(--text) !important;
  font-size: 12px !important;
  padding: 0 !important;
}

body[data-ui="faceit"] .topnav-search .search input::placeholder {
  color: var(--text-muted) !important;
}

body[data-ui="faceit"] .topnav-search .search-ico {
  color: var(--text-muted) !important;
  font-size: 16px !important;
}

body[data-ui="faceit"] .topnav-search .search-kbd {
  color: var(--text-muted) !important;
  font-size: 11px !important;
  padding: 2px 6px !important;
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
}

body[data-ui="faceit"] .topnav-search .search-results {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  left: 0 !important;
  right: 0 !important;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6) !important;
  max-height: 400px !important;
  overflow-y: auto !important;
  z-index: 1000 !important;
}

body[data-ui="faceit"] .btn {
  padding: 8px 16px !important;
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  color: var(--text) !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  transition: all 0.15s !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
  text-decoration: none !important;
}

body[data-ui="faceit"] .btn:hover {
  background: var(--panel-hover) !important;
  border-color: var(--border-strong) !important;
  transform: none !important;
}

body[data-ui="faceit"] .btn-primary {
  background: var(--neon) !important;
  border-color: var(--neon) !important;
  color: #111 !important;
}

body[data-ui="faceit"] .btn-primary:hover {
  background: #ff6b1a !important;
  border-color: #ff6b1a !important;
}

body[data-ui="faceit"] .btn .icon {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

body[data-ui="faceit"] .user-menu {
  position: relative !important;
}

body[data-ui="faceit"] .avatar {
  width: 32px !important;
  height: 32px !important;
  background: var(--panel) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  overflow: hidden !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: background 0.15s !important;
}

body[data-ui="faceit"] .avatar:hover {
  background: var(--panel-hover) !important;
}

body[data-ui="faceit"] .avatar img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  pointer-events: none !important;
}

body[data-ui="faceit"] .user-dropdown {
  position: absolute !important;
  top: calc(100% + 8px) !important;
  right: 0 !important;
  min-width: 220px !important;
  background: var(--bg-elevated) !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 4px 16px rgba(0,0,0,0.6) !important;
  z-index: 1000 !important;
  display: none !important;
}

body[data-ui="faceit"] .user-dropdown:not([hidden]) {
  display: block !important;
}

body[data-ui="faceit"] .user-dropdown[hidden] {
  display: none !important;
}

body[data-ui="faceit"] .ud-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 16px !important;
  color: var(--text) !important;
  font-size: 13px !important;
  border-bottom: 1px solid var(--border) !important;
  cursor: pointer !important;
  text-decoration: none !important;
}

body[data-ui="faceit"] .ud-item .icon, body[data-ui="faceit"] .ud-item svg {
  width: 16px !important;
  height: 16px !important;
  flex-shrink: 0 !important;
}

body[data-ui="faceit"] .ud-item:hover {
  background: rgba(255,255,255,0.03) !important;
}

body[data-ui="faceit"] .ud-item:last-child {
  border-bottom: none !important;
}

body[data-ui="faceit"] .ud-item.danger {
  color: #d93a3a !important;
}

body[data-ui="faceit"] .ud-sep {
  height: 1px !important;
  background: var(--border) !important;
  margin: 0 !important;
}

body[data-ui="faceit"] .ud-foot {
  padding: 12px 16px !important;
  background: var(--panel) !important;
  font-size: 11px !important;
}

body[data-ui="faceit"] .ud-muted {
  color: var(--text-muted) !important;
  margin-bottom: 4px !important;
}

body[data-ui="faceit"] .ud-mono {
  font-family: monospace !important;
  color: var(--text-muted) !important;
  font-size: 10px !important;
}

body[data-ui="faceit"] .menu-overlay {
  position: fixed !important;
  inset: 0 !important;
  background: rgba(0,0,0,0.6) !important;
  z-index: 98 !important;
  display: none !important;
}

body[data-ui="faceit"] .menu-overlay.show {
  display: block !important;
}

body[data-ui="faceit"] .main {
  padding: 16px !important;
  
  margin: 0 auto !important;
  padding-top: 72px !important;
  width: 100% !important;
  position: absolute !important;
}

body[data-ui="faceit"] .grid {
  gap: 16px !important;
  margin-top: 16px !important;
  width: 100% !important;
}

body[data-ui="faceit"] .card, body[data-ui="faceit"] .hud-card, body[data-ui="faceit"] .panel, body[data-ui="faceit"] .hero {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  backdrop-filter: none !important;
  box-shadow: none !important;
  background-image: none !important;
  padding: 16px !important;
}

body[data-ui="faceit"] .card::before, body[data-ui="faceit"] .card::after, body[data-ui="faceit"] .hud-card::before, body[data-ui="faceit"] .hud-card::after {
  display: none !important;
}

body[data-ui="faceit"] input, body[data-ui="faceit"] select, body[data-ui="faceit"] textarea {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  box-shadow: none !important;
}

body[data-ui="faceit"] input:focus, body[data-ui="faceit"] select:focus, body[data-ui="faceit"] textarea:focus {
  border-color: var(--neon) !important;
  box-shadow: none !important;
}

body[data-ui="faceit"] table {
  width: 100% !important;
  border-collapse: collapse !important;
}

body[data-ui="faceit"] thead th {
  background: var(--panel) !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 12px !important;
  font-size: 11px !important;
}

body[data-ui="faceit"] tbody td {
  padding: 12px !important;
  border-bottom: 1px solid var(--border) !important;
}

body[data-ui="faceit"] tbody tr:hover {
  background: rgba(255,255,255,0.02) !important;
}

body[data-ui="faceit"] .pill, body[data-ui="faceit"] .badge, body[data-ui="faceit"] .tag {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  padding: 4px 8px !important;
  font-size: 11px !important;
}

body[data-ui="faceit"] .pill.ok, body[data-ui="faceit"] .badge.ok, body[data-ui="faceit"] .tag.ok {
  background: rgba(255,85,0,0.1) !important;
  border-color: var(--neon) !important;
  color: var(--neon) !important;
}

body[data-ui="faceit"] .pill.bad, body[data-ui="faceit"] .badge.bad, body[data-ui="faceit"] .tag.bad {
  background: rgba(217,58,58,0.1) !important;
  border-color: #d93a3a !important;
  color: #d93a3a !important;
}

body[data-ui="faceit"] .progress {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
}

body[data-ui="faceit"] .progress-bar {
  background: var(--neon) !important;
}

body[data-ui="faceit"] .stat-item {
  background: var(--panel) !important;
  border: 1px solid var(--border) !important;
  padding: 10px !important;
  transition: border-color 0.15s !important;
}

body[data-ui="faceit"] .stat-item:hover {
  border-color: var(--border-strong) !important;
}

@media (max-width: 980px) {
  body[data-ui="faceit"] .topnav-toggle {
    display: flex !important;
  }
  
  body[data-ui="faceit"] .topnav-links {
    position: fixed !important;
    top: 56px !important;
    left: 0 !important;
    bottom: 0 !important;
    width: min(320px, 86vw) !important;
    flex-direction: column !important;
    align-items: stretch !important;
    background: var(--bg-elevated) !important;
    border-right: 1px solid var(--border) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.3s ease !important;
    z-index: 999 !important;
    overflow-y: auto !important;
    height: auto !important;
  }
  
  body[data-ui="faceit"] .topnav-links.open {
    transform: translateX(0) !important;
  }
  
  body[data-ui="faceit"] .topnav-link {
    border-bottom: 1px solid var(--border) !important;
    padding: 16px 20px !important;
    height: auto !important;
  }
  
  body[data-ui="faceit"] .topnav-search {
    display: none !important;
  }
  
  body[data-ui="faceit"] .main {
    padding: 12px !important;
  }
}
