/* VIPs page — editorial dark, hairlines, mono labels. Lives alongside
   pages.dashboard / pages.paid in the same EP design language. */

.vips-page { display: flex; flex-direction: column; gap: 18px; }

/* User explicitly rejected pink in the page title kicker — override to
   the same neutral mono used by section labels (.sl) elsewhere. */
.vips-page .view-header .ep-bracket { color: var(--t2); }

/* Stamp lives inside the .vh-right slot (view-header layout). Inline-flex
   so badge + meta sit on a single row with consistent spacing. */
.vips-stamp {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: 'Noto Sans Mono', monospace; font-size: 10px; color: var(--t3);
  letter-spacing: 0.08em; text-transform: uppercase;
  flex-wrap: wrap;
}
.vips-stamp .status-badge { margin: 0; }
.vips-stamp-meta {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  color: var(--t3); letter-spacing: 0.08em;
}

.vips-page .row.r5 {
  display: grid; gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}
.vips-page .row.r2 {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
}
@media (max-width: 1100px) {
  .vips-page .row.r5 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .vips-page .row.r5,
  .vips-page .row.r2 { grid-template-columns: 1fr; }
  .vips-head { flex-direction: column; align-items: flex-start; }
  .vips-head-r { width: 100%; flex-wrap: wrap; }
}

/* KPI */
.kpi-card {
  padding: 16px 18px; min-height: 84px;
  display: flex; flex-direction: column; gap: 6px;
}
.kpi-card .kpi-val {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 26px; font-weight: 800; letter-spacing: -1px;
  line-height: 1; color: var(--t1);
}
.kpi-card .kpi-delta {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em; font-weight: 600;
  margin-top: 2px;
}
.card-eyebrow {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--t3);
  font-weight: 600;
}

/* Activity / tier cards inherit .card */
.vips-act { margin-top: 10px; display: flex; flex-direction: column; gap: 10px; }
.vips-act-row {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--hair);
}
.vips-act-row:last-child { border-bottom: 0; }
.vips-act-pill {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  letter-spacing: 0.08em; padding: 4px 10px; border-radius: 999px;
  border: 1px solid var(--hair); white-space: nowrap;
  text-transform: uppercase; font-weight: 700;
}
.vips-act-detail { color: var(--t2); font-size: 12px; flex: 1; min-width: 0; }
.vips-act-detail strong { color: var(--t1); font-weight: 700; }

.vips-tier {
  display: grid; grid-template-columns: 90px 1fr 70px;
  align-items: center; gap: 10px; padding: 8px 0;
  border-bottom: 1px solid var(--hair);
}
.vips-tier:last-child { border-bottom: 0; }
.vips-tier-label {
  font-family: 'Noto Sans Mono', monospace; font-size: 11px;
  font-weight: 700; color: var(--t1); letter-spacing: 0.04em;
}
.vips-tier-bar {
  height: 6px; background: rgba(255,255,255,0.05);
  border-radius: 3px; overflow: hidden;
}
.vips-tier-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold), #E0B85A);
  border-radius: 3px;
}
.vips-tier-count {
  text-align: right; font-family: 'Geist', 'Inter', sans-serif;
  font-size: 16px; font-weight: 800; color: var(--t1);
}

/* Table */
.vips-table-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 18px; border-bottom: 1px solid var(--hair);
  gap: 14px;
}
.vips-search {
  flex: 1; max-width: 360px; padding: 8px 12px;
  background: rgba(255,255,255,0.02); color: var(--t1);
  border: 1px solid var(--hair); border-radius: 6px;
  font-family: 'Inter', sans-serif; font-size: 12px;
  transition: border-color 0.15s ease;
}
.vips-search:focus { outline: 0; border-color: var(--gold); }
.vips-search::placeholder { color: var(--t3); }
.vips-table-info {
  font-family: 'Noto Sans Mono', monospace; font-size: 11px;
  color: var(--t3); letter-spacing: 0.06em;
}
.vips-table-info span { color: var(--t1); font-weight: 700; }

.vips-table {
  width: 100%; border-collapse: collapse; font-size: 12.5px;
}
.vips-table thead th {
  text-align: left; padding: 12px 14px;
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; text-transform: uppercase; font-weight: 700;
  color: var(--t3); border-bottom: 1px solid var(--hair);
  background: rgba(255,255,255,0.015);
  white-space: nowrap;
}
.vips-table thead th.num { text-align: right; }
.vips-table thead th.vips-th-sort {
  cursor: pointer; user-select: none;
  transition: color 0.12s ease, background 0.12s ease;
}
.vips-table thead th.vips-th-sort:hover { color: var(--t1); background: rgba(255,255,255,0.04); }
.vips-table thead th.vips-th-sort.is-active { color: var(--gold); }
.vips-th-arrow { margin-left: 4px; font-family: 'Geist', 'Inter', sans-serif; font-size: 10px; }
.vips-table tbody td {
  padding: 12px 14px; border-bottom: 1px solid var(--hair);
  vertical-align: top; color: var(--t2); font-size: 12.5px;
}
.vips-table tbody td.num { text-align: right; font-variant-numeric: tabular-nums; }
.vips-table tbody td.num strong {
  color: var(--t1); font-family: 'Geist', 'Inter', sans-serif; font-weight: 800;
}
.vips-table tbody tr:last-child td { border-bottom: 0; }
.vips-table tbody tr:hover td { background: rgba(255,255,255,0.02); }

.vips-idx {
  font-family: 'Noto Sans Mono', monospace; color: var(--t3);
  font-size: 11px; width: 36px;
}
.vips-user .vips-uname {
  color: var(--t1); font-weight: 700; font-size: 13px;
  font-family: 'Inter', sans-serif;
}
.vips-user .vips-uid {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  color: var(--t3); letter-spacing: 0.04em; margin-top: 2px;
}

.vips-tier-pill {
  display: inline-block; padding: 2px 8px; margin-right: 4px;
  border: 1px solid var(--hair); border-radius: 4px;
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.05em; color: var(--t2); font-weight: 700;
  text-transform: uppercase;
}

.vips-sub {
  display: block; font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  color: var(--t3); margin-top: 2px; font-weight: 500;
}
.vips-sub.is-fresh { color: #4CD17A; font-weight: 700; }

.vips-session {
  display: flex; flex-direction: column; gap: 4px;
  font-family: 'Inter', sans-serif; font-size: 12px; color: var(--t1);
}
.vips-session.is-stale { color: #FCA5A5; }
.vips-session .vips-tag { display: inline-block; }

.vips-tag {
  display: inline-block; padding: 1px 6px; margin: 1px 3px 1px 0;
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.04em; color: var(--t3); font-weight: 600;
  background: rgba(255,255,255,0.025); border-radius: 3px;
}

.vips-fav {
  display: flex; gap: 6px; align-items: center;
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
}
.vips-fav-c { color: #4FA0FF; font-weight: 700; }
.vips-fav-s { color: #4CD17A; font-weight: 700; }

.vips-link {
  color: var(--gold); text-decoration: none; font-weight: 700;
  padding: 4px 8px; border: 1px solid var(--hair); border-radius: 4px;
  font-size: 11px; transition: border-color 0.15s ease;
}
.vips-link:hover { border-color: var(--gold); }

/* Top 5 hero cards */
.vips-top5 {
  display: grid; gap: 12px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-bottom: 18px;
}
.vips-top5-card {
  position: relative; padding: 18px 16px 14px;
  background: var(--s1, #141414); border: 1px solid var(--hair);
  border-radius: 8px; display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 6px;
  overflow: hidden; transition: border-color 0.15s ease, transform 0.15s ease;
}
.vips-top5-card:hover { border-color: rgba(212,168,67,0.4); transform: translateY(-1px); }
.vips-top5-card.is-fresh::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, #4CD17A, transparent);
}
.vips-top5-rank {
  position: absolute; top: 10px; left: 12px;
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  letter-spacing: 0.1em; color: var(--gold); font-weight: 700;
}
.vips-top5-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04); object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist', 'Inter', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--t1);
}
.vips-top5-avatar-fallback {
  background: linear-gradient(135deg, rgba(234,143,215,0.2), rgba(212,168,67,0.2));
}
.vips-top5-name {
  font-family: 'Inter', sans-serif; font-size: 12.5px;
  font-weight: 700; color: var(--t1);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  max-width: 100%; margin-top: 4px;
}
.vips-top5-amount {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 24px; font-weight: 800; color: var(--t1);
  letter-spacing: -1px; line-height: 1; margin: 4px 0;
}
.vips-top5-sub {
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  color: var(--t3); letter-spacing: 0.08em;
  text-transform: uppercase; font-weight: 700;
}
.vips-top5-split { width: 100%; margin-top: 8px; }
.vips-top5-badge {
  position: absolute; top: 10px; right: 12px;
  font-family: 'Noto Sans Mono', monospace; font-size: 9px;
  letter-spacing: 0.06em; color: #4CD17A; text-transform: uppercase;
  background: rgba(76,209,122,0.1); padding: 3px 8px;
  border-radius: 999px; border: 1px solid rgba(76,209,122,0.3);
  font-weight: 700;
}

/* Casino/Sport split bar */
.vips-split-bar {
  width: 100%; height: 4px; background: rgba(255,255,255,0.04);
  border-radius: 2px; overflow: hidden; display: flex;
}
.vips-split-c { background: #4FA0FF; height: 100%; }
.vips-split-s { background: #4CD17A; height: 100%; }
.vips-split-legend {
  display: flex; gap: 8px; justify-content: center;
  margin-top: 4px; font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.04em;
}

/* Charts row */
.vips-charts {
  display: grid; gap: 12px; margin-bottom: 18px;
}
.vips-charts-3 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
.vips-charts-2 { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.vips-charts > .card { padding: 16px 18px; }
.vips-chart {
  width: 100%; height: 280px; margin-top: 10px;
}
/* Wider charts (providers/games) get more vertical space so 12 bars fit
   without crowding. */
.vips-chart-tall { height: 380px; }
.vips-chart-xl { height: 460px; }
.vips-chart-foot {
  margin-top: 10px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
  line-height: 1.5;
}

/* Sub-navigation — clearly readable as a section nav, not just a button
   row. Editorial style (mono kicker + numbered tabs + thick divider) so
   it stands out and tells the user "this is the section selector". */
.vips-subnav-wrap {
  margin: 18px 0 22px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--hair);
}
.vips-subnav-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}
.vips-subnav-kicker {
  font-family: 'Noto Sans Mono', 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 600;
}
.vips-subnav-current {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: -0.1px;
  color: var(--gold);
}
.vips-subnav {
  display: flex; gap: 8px;
  flex-wrap: wrap;
}
.vips-subnav-btn {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 12px;
  flex: 1 1 auto; min-width: 160px;
  padding: 14px 20px;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--hair);
  border-radius: 10px;
  color: var(--t2);
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 15px; font-weight: 500;
  letter-spacing: -0.2px;
  text-align: left;
  transition: all 160ms cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.vips-subnav-btn:hover {
  color: var(--t1);
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.03);
  transform: translateY(-1px);
}
.vips-subnav-btn.is-active {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B0B0E;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(212,168,67,0.35);
}
.vips-subnav-btn.is-active:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(212,168,67,0.45);
}
.vips-subnav-num {
  font-family: 'Noto Sans Mono', 'Geist Mono', ui-monospace, monospace;
  font-size: 10px; letter-spacing: 0.14em;
  font-weight: 600;
  opacity: 0.55;
  padding: 3px 7px;
  border-radius: 4px;
  border: 1px solid currentColor;
  flex-shrink: 0;
}
.vips-subnav-btn.is-active .vips-subnav-num {
  opacity: 0.85;
  border-color: rgba(11,11,14,0.45);
}
.vips-subnav-lbl {
  letter-spacing: -0.1px;
  font-size: 15px;
  text-transform: none;
}

@media (max-width: 720px) {
  .vips-subnav-btn { padding: 12px 14px; min-width: 130px; font-size: 13px; gap: 8px; }
  .vips-subnav-lbl { font-size: 13px; }
  .vips-subnav-current { font-size: 12px; }
}

/* Risk tab help banner */
.vips-risk-banner {
  margin-bottom: 18px;
  padding: 14px 18px;
  background: rgba(252,165,165,0.06);
  border: 1px solid rgba(252,165,165,0.22);
  border-left: 3px solid #FCA5A5;
  border-radius: 8px;
  color: var(--t2);
  font-size: 13px; line-height: 1.55;
  font-family: 'Geist', 'Inter', sans-serif;
}
.vips-risk-banner strong { color: var(--t1); font-weight: 600; }

@media (max-width: 720px) {
  .vips-subnav-btn { padding: 8px 10px; font-size: 12px; min-width: 88px; }
  .vips-subnav-lbl { font-size: 11.5px; }
}

/* VIP Ladder — visual escala component. Each tier is a clickable card with
   emoji + name + bet range + count + a fill bar normalized by max count.
   Active = colored border+fill, empty (count=0) = dimmed. */
.vips-ladder {
  margin-bottom: 18px;
  padding: 16px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--hair);
  border-radius: 12px;
}
.vips-ladder-head {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
}
.vips-ladder-help {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
  margin-top: 4px;
}
.vips-ladder-presets {
  display: flex; gap: 6px;
}
.vips-preset {
  appearance: none; cursor: pointer;
  padding: 6px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 6px;
  color: var(--t2);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 120ms ease;
}
.vips-preset:hover { color: var(--t1); border-color: rgba(255,255,255,0.18); }

.vips-ladder-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 8px;
}
.vips-ladder-step {
  appearance: none; cursor: pointer;
  display: flex; flex-direction: column;
  gap: 4px;
  padding: 12px 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 10px;
  text-align: center;
  position: relative;
  transition: all 140ms ease;
}
.vips-ladder-step:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--tier-c);
  transform: translateY(-1px);
}
.vips-ladder-step.is-on {
  background: color-mix(in srgb, var(--tier-c) 12%, transparent);
  border-color: var(--tier-c);
  box-shadow: 0 0 0 1px var(--tier-c) inset, 0 6px 18px color-mix(in srgb, var(--tier-c) 30%, transparent);
}
.vips-ladder-step.is-empty {
  opacity: 0.45;
}
.vips-ladder-rank {
  position: absolute; top: 6px; left: 8px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9px; color: var(--t3);
  letter-spacing: 0.10em;
}
.vips-ladder-emoji {
  font-size: 26px; line-height: 1;
  margin: 6px 0 2px;
}
.vips-ladder-name {
  color: var(--tier-c, var(--t1));
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.2px;
}
.vips-ladder-range {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; color: var(--t3);
  letter-spacing: 0.04em;
  margin-top: 1px;
}
.vips-ladder-count {
  margin-top: 6px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 22px; font-weight: 800;
  letter-spacing: -1px;
  color: var(--t1);
  line-height: 1;
}
.vips-ladder-bar {
  display: block; width: 100%;
  height: 4px; margin-top: 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 2px;
  overflow: hidden;
}
.vips-ladder-bar-fill {
  display: block; height: 100%;
  background: var(--tier-c);
  transition: width 240ms ease;
}
.vips-ladder-bet {
  margin-top: 4px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; color: var(--t2);
  letter-spacing: 0.04em;
}
.vips-ladder-footer {
  display: flex; align-items: center; gap: 14px;
  margin-top: 14px; padding-top: 12px;
  border-top: 1px solid var(--hair);
  flex-wrap: wrap;
}
.vips-ladder-footer .card-eyebrow { flex: 0 0 60px; }
.vips-topn-pills { display: flex; flex-wrap: wrap; gap: 6px; flex: 1; }

@media (max-width: 1100px) {
  .vips-ladder-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vips-ladder-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vips-ladder-emoji { font-size: 22px; }
  .vips-ladder-count { font-size: 18px; }
}

/* Tier filter bar — marine ladder. Renamed from .vips-tier-* to
   .vips-tierset-* to avoid collision with the existing renderTierCard
   classes (which use .vips-tier-bar for a progress bar). */
.vips-tierset-bar {
  margin-bottom: 18px;
  padding: 14px 18px;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--hair);
  border-radius: 10px;
}
.vips-tierset-row {
  display: flex; align-items: center; gap: 14px;
  padding: 6px 0;
  flex-wrap: wrap;
}
.vips-tierset-row + .vips-tierset-row {
  border-top: 1px solid var(--hair);
  margin-top: 6px;
  padding-top: 12px;
}
.vips-tierset-row .card-eyebrow {
  flex: 0 0 60px;
  letter-spacing: 0.14em;
}
.vips-tierset-pills {
  display: flex; flex-wrap: wrap; gap: 6px; flex: 1;
}
.vips-tierset-btn {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--t2);
  font-size: 12px;
  transition: all 140ms ease;
}
.vips-tierset-btn:hover {
  background: rgba(255,255,255,0.04);
  color: var(--t1);
  border-color: rgba(255,255,255,0.18);
}
.vips-tierset-btn.is-on {
  background: color-mix(in srgb, var(--tier-c) 14%, transparent);
  border-color: color-mix(in srgb, var(--tier-c) 50%, transparent);
  color: var(--t1);
}
.vips-tierset-btn.is-on .vips-tierset-label { color: var(--tier-c); font-weight: 600; }
.vips-tierset-btn.is-on .vips-tierset-count { background: var(--tier-c); color: #0B0B0E; }
.vips-tierset-emoji { font-size: 14px; line-height: 1; }
.vips-tierset-label {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 500;
}
.vips-tierset-count {
  display: inline-block;
  min-width: 22px; padding: 1px 6px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; font-weight: 600;
  text-align: center;
  color: var(--t1);
}
.vips-topn-btn {
  appearance: none; cursor: pointer;
  padding: 6px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 6px;
  color: var(--t2);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: all 120ms ease;
}
.vips-topn-btn:hover { color: var(--t1); border-color: rgba(255,255,255,0.18); }
.vips-topn-btn.is-on {
  background: var(--gold);
  border-color: var(--gold);
  color: #0B0B0E;
  font-weight: 600;
}

/* Inline tier pill in table username cell */
.vips-tier-pill-inline {
  display: inline-block;
  padding: 1px 7px;
  border: 1px solid;
  border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-left: 6px;
  white-space: nowrap;
}

/* Top games & providers — fraud / RTP detection panel */
.vips-games {
  margin-bottom: 22px;
  padding: 22px 26px;
  background: linear-gradient(180deg, rgba(252,165,165,0.04) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid var(--hair);
  border-radius: 14px;
}
.vips-games-head { margin-bottom: 16px; }
.vips-games-help {
  margin-top: 4px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--t3);
  line-height: 1.5;
}
.vips-games-grid {
  display: grid; gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 14px;
}
.vips-games-col { padding: 14px 16px; background: rgba(255,255,255,0.02); border: 1px solid var(--hair); border-radius: 10px; }
.vips-games-list {
  display: flex; flex-direction: column;
  margin-top: 10px;
  gap: 4px;
}
.vips-games-row {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 0.6fr);
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.vips-games-row-name {
  display: flex; flex-direction: column; gap: 2px; min-width: 0;
}
.vips-games-row-name strong {
  color: var(--t1); font-weight: 600; font-size: 13px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vips-games-row-sub {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; color: var(--t3);
  letter-spacing: 0.04em;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vips-games-row-bar {
  height: 5px; background: rgba(255,255,255,0.04);
  border-radius: 3px; overflow: hidden;
}
.vips-games-row-bar > span {
  display: block; height: 100%;
  transition: width 320ms cubic-bezier(0.4,0,0.2,1);
}
.vips-games-row-vals {
  text-align: right;
}
.vips-games-net {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  letter-spacing: -0.2px;
}
.vips-games-rtp {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; letter-spacing: 0.04em;
  margin-top: 1px;
}

.vips-games-anom {
  padding: 14px 16px;
  background: rgba(252,165,165,0.06);
  border: 1px solid rgba(252,165,165,0.28);
  border-left: 3px solid #FCA5A5;
  border-radius: 10px;
  margin-bottom: 14px;
}
.vips-games-anom-help {
  margin: 4px 0 12px;
  color: var(--t2); font-size: 12px; line-height: 1.55;
}
.vips-games-prov {
  margin-top: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.015);
  border: 1px solid var(--hair);
  border-radius: 10px;
}
.vips-games-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 12px;
}
.vips-games-table th {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t3); font-weight: 600;
  padding: 8px 10px; text-align: left;
  border-bottom: 1px solid var(--hair);
}
.vips-games-table th.num,
.vips-games-table td.num { text-align: right; }
.vips-games-table td {
  padding: 7px 10px;
  color: var(--t1);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.vips-games-table tr:hover td { background: rgba(255,255,255,0.02); }

@media (max-width: 880px) {
  .vips-games-grid { grid-template-columns: 1fr; }
  .vips-games-row { grid-template-columns: 1fr auto; }
  .vips-games-row-bar { display: none; }
}

/* Empty-filter banner — when current tier filter yields 0 players */
.vips-empty-filter {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 22px 26px;
  background: linear-gradient(180deg, rgba(252,165,165,0.06) 0%, rgba(252,165,165,0.01) 100%);
  border: 1px solid rgba(252,165,165,0.22);
  border-left: 3px solid #FCA5A5;
  border-radius: 12px;
  margin-bottom: 22px;
}
.vips-empty-filter-icon {
  font-size: 32px; line-height: 1;
  flex-shrink: 0;
}
.vips-empty-filter-body { flex: 1; min-width: 0; }
.vips-empty-filter-title {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 16px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--t1);
  margin-bottom: 8px;
}
.vips-empty-filter-sub {
  color: var(--t2); font-size: 13px;
  line-height: 1.6;
  margin-bottom: 14px;
}
.vips-empty-filter-actions {
  display: flex; gap: 8px; flex-wrap: wrap;
}

/* Inline help below KPI row 1 — explains gaming vs money-flow metrics */
.vips-kpi-help {
  margin: -2px 0 12px;
  padding: 10px 14px;
  background: rgba(79,160,255,0.04);
  border-left: 3px solid rgba(79,160,255,0.40);
  border-radius: 4px;
  color: var(--t2);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  line-height: 1.6;
}

/* VIPs vs Platform — PRO redesign. Big hero stat + stacked bar + stat strip + chart */
.vips-vvp-pro {
  margin-bottom: 22px;
  padding: 24px 28px;
  background:
    radial-gradient(1200px 320px at 0% 0%, rgba(212,168,67,0.08) 0%, transparent 70%),
    linear-gradient(180deg, rgba(255,255,255,0.025) 0%, rgba(255,255,255,0.005) 100%);
  border: 1px solid rgba(212,168,67,0.18);
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.vips-vvp-pro::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 60%);
  height: 1px; opacity: 0.4;
}
.vvp-pro-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
}
.vvp-pro-help {
  margin-top: 4px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--t3);
  line-height: 1.5;
}
.vvp-pro-scope {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(212,168,67,0.08);
  border: 1px solid rgba(212,168,67,0.30);
  padding: 6px 12px;
  border-radius: 999px;
}

/* Hero — the dramatic single % */
.vvp-pro-hero {
  display: flex; align-items: flex-end; gap: 22px;
  margin: 18px 0 22px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--hair);
}
.vvp-pro-hero-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 84px; font-weight: 800;
  letter-spacing: -3.5px;
  line-height: 0.9;
  color: var(--gold);
  text-shadow: 0 12px 40px rgba(212,168,67,0.30);
}
.vvp-pro-hero-pct {
  font-size: 48px;
  letter-spacing: -2px;
  margin-left: 4px;
  opacity: 0.85;
}
.vvp-pro-hero-cap { padding-bottom: 14px; }
.vvp-pro-hero-line {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 16px; font-weight: 500;
  color: var(--t1);
  letter-spacing: -0.2px;
}
.vvp-pro-hero-sub {
  margin-top: 6px;
  color: var(--t2); font-size: 13px;
  line-height: 1.5;
}
.vvp-pro-hero-sub strong { color: var(--t1); font-weight: 600; }
.vvp-pro-mult {
  display: inline-block;
  padding: 2px 8px;
  background: rgba(252,165,165,0.12);
  border: 1px solid rgba(252,165,165,0.28);
  border-radius: 999px;
  color: #FCA5A5;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.04em;
  margin-left: 4px;
}

/* Stacked bar visualization */
.vvp-pro-stack {
  margin: 18px 0 22px;
}
.vvp-pro-stack-row {
  display: flex; justify-content: space-between; align-items: center;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: var(--t2);
  padding: 6px 0;
}
.vvp-pro-stack-label {
  display: flex; align-items: center; gap: 8px;
  text-transform: uppercase;
}
.vvp-pro-stack-dot {
  width: 10px; height: 10px; border-radius: 2px;
  display: inline-block;
}
.vvp-c-vip { background: var(--gold); }
.vvp-c-rest { background: rgba(255,255,255,0.20); }
.vvp-c-vip-fill {
  background: linear-gradient(90deg, #FFD56B 0%, var(--gold) 100%);
  box-shadow: 0 0 24px rgba(212,168,67,0.45);
}
.vvp-c-rest-fill { background: rgba(255,255,255,0.10); }
.vvp-pro-stack-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 14px; font-weight: 700;
  color: var(--t1);
  letter-spacing: -0.2px;
}
.vvp-pro-stack-bar {
  display: flex; height: 16px;
  border-radius: 8px; overflow: hidden;
  background: rgba(255,255,255,0.04);
  margin: 6px 0;
}
.vvp-pro-stack-fill {
  height: 100%;
  transition: width 360ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Stat strip — compact 4-6 cells */
.vvp-pro-strip {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px 0;
  border-top: 1px solid var(--hair);
  border-bottom: 1px solid var(--hair);
}
.vvp-pro-stat {
  display: flex; flex-direction: column; gap: 4px;
}
.vvp-pro-stat-lbl {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--t3);
}
.vvp-pro-stat-num {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 20px; font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1;
}
.vvp-pro-stat-sub {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; color: var(--t3);
  letter-spacing: 0.04em;
}

/* Chart wrap */
.vvp-pro-chart {
  margin-top: 4px;
}
.vvp-pro-chart-head {
  margin-bottom: 8px;
}

@media (max-width: 720px) {
  .vips-vvp-pro { padding: 18px 18px; }
  .vvp-pro-hero { flex-direction: column; align-items: flex-start; gap: 4px; }
  .vvp-pro-hero-num { font-size: 64px; }
  .vvp-pro-hero-pct { font-size: 36px; }
  .vvp-pro-strip { grid-template-columns: repeat(2, 1fr); }
}

/* Legacy VIPs vs Platform (kept for non-pro fallback if needed) */
.vips-vvp {
  margin-bottom: 20px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(212,168,67,0.04) 0%, rgba(212,168,67,0.01) 100%);
  border: 1px solid rgba(212,168,67,0.18);
  border-radius: 12px;
}
.vips-vvp-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 8px;
}
.vips-vvp-help {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
}
.vips-vvp-insight {
  margin: 14px 0 18px;
  padding: 14px 18px;
  background: rgba(0,0,0,0.25);
  border-left: 3px solid var(--gold);
  border-radius: 4px;
  color: var(--t1);
  font-size: 14px; line-height: 1.5;
  font-weight: 500;
}
.vips-vvp-grid {
  display: grid; gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 14px;
}
.vips-vvp-card {
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 8px;
}
.vips-vvp-share {
  background: rgba(212,168,67,0.06);
  border-color: rgba(212,168,67,0.30);
}
.vips-vvp-big {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 28px; font-weight: 800; letter-spacing: -1.2px;
  line-height: 1; color: var(--t1);
  margin-top: 6px;
}
.vips-vvp-sub {
  margin-top: 6px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
}
.vips-vvp-chart-wrap {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--hair);
}

@media (max-width: 720px) {
  .vips-vvp-grid { grid-template-columns: 1fr; }
}

/* Trend row — solo full-width (alerts moved to their own hero) */
.vips-trend-row {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 0.9fr);
  margin-bottom: 18px;
}
.vips-trend-row-solo { grid-template-columns: 1fr; }
.vips-trend-card { padding: 16px 18px; }

/* Empty state for charts (when data is too sparse to render) */
.vips-chart-empty {
  display: flex; align-items: center; justify-content: center;
  min-height: 200px;
  padding: 24px;
  background: rgba(255,255,255,0.015);
  border: 1px dashed var(--hair);
  border-radius: 8px;
  color: var(--t3);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-align: center;
  line-height: 1.5;
}

/* Anomaly hero — prominent alert section */
.vips-anom-hero {
  margin-bottom: 18px;
  padding: 18px 22px;
  background: linear-gradient(180deg, rgba(252,165,165,0.06) 0%, rgba(252,165,165,0.01) 100%);
  border: 1px solid rgba(252,165,165,0.20);
  border-left: 3px solid #FCA5A5;
  border-radius: 12px;
}
.vips-anom-hero.is-empty {
  background: rgba(76,209,122,0.04);
  border-color: rgba(76,209,122,0.20);
  border-left-color: #4CD17A;
}
.vips-anom-hero-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  flex-wrap: wrap; gap: 12px;
  margin-bottom: 14px;
}
.vips-anom-hero-title {
  display: flex; align-items: center; gap: 10px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 18px; font-weight: 700; letter-spacing: -0.4px;
  color: var(--t1);
}
.vips-anom-hero-bell {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  background: rgba(252,165,165,0.14);
  border: 1px solid rgba(252,165,165,0.30);
  border-radius: 8px;
  color: #FCA5A5;
  font-size: 16px;
}
.vips-anom-hero.is-empty .vips-anom-hero-bell {
  background: rgba(76,209,122,0.12);
  border-color: rgba(76,209,122,0.28);
  color: #4CD17A;
}
.vips-anom-hero-count {
  display: inline-block; padding: 2px 9px;
  background: rgba(255,255,255,0.06);
  border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; font-weight: 600;
  color: var(--t1);
}
.vips-anom-hero-sub {
  display: flex; gap: 6px; margin-top: 8px;
  flex-wrap: wrap;
}
.vips-sev-pill {
  display: inline-flex; align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 600;
  cursor: pointer;
  appearance: none;
  transition: all 140ms ease;
}
.vips-sev-pill:hover { transform: translateY(-1px); }
.vips-sev-pill.is-high { background: rgba(252,165,165,0.16); color: #FCA5A5; border: 1px solid rgba(252,165,165,0.30); }
.vips-sev-pill.is-high.is-on { background: #FCA5A5; color: #0B0B0E; border-color: #FCA5A5; box-shadow: 0 0 0 1px #FCA5A5 inset; }
.vips-sev-pill.is-medium { background: rgba(212,168,67,0.16); color: var(--gold); border: 1px solid rgba(212,168,67,0.30); }
.vips-sev-pill.is-medium.is-on { background: var(--gold); color: #0B0B0E; border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold) inset; }
.vips-sev-pill.is-low { background: rgba(154,154,154,0.10); color: var(--t2); border: 1px solid var(--hair); }
.vips-sev-pill.is-low.is-on { background: var(--t2); color: #0B0B0E; border-color: var(--t2); }
.vips-anom-clear {
  appearance: none; cursor: pointer;
  padding: 3px 10px;
  background: transparent;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--t3);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; letter-spacing: 0.06em;
  text-transform: uppercase; font-weight: 600;
}
.vips-anom-clear:hover { color: var(--t1); border-color: rgba(255,255,255,0.18); }

.vips-anom-expand {
  appearance: none; cursor: pointer;
  padding: 7px 12px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 8px;
  color: var(--t2);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  text-transform: uppercase;
}
.vips-anom-expand:hover { color: var(--t1); border-color: rgba(255,255,255,0.18); }

.vips-anom-hero-empty {
  padding: 28px 0; text-align: center;
  color: var(--t2); font-size: 13px;
  font-family: 'Noto Sans Mono', monospace;
}

.vips-anom-hero-grid {
  display: grid; gap: 8px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.vips-anom-tile {
  appearance: none; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr auto;
  align-items: center; gap: 10px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-left: 3px solid var(--anom-c);
  border-radius: 8px;
  text-align: left;
  transition: all 140ms ease;
}
.vips-anom-tile:hover {
  background: rgba(255,255,255,0.04);
  border-color: var(--anom-c);
  transform: translateX(2px);
}
.vips-anom-tile.is-high { background: rgba(252,165,165,0.04); }
.vips-anom-tile-icon {
  width: 28px; height: 28px;
  display: inline-flex; align-items: center; justify-content: center;
  background: color-mix(in srgb, var(--anom-c) 12%, transparent);
  border-radius: 6px;
  color: var(--anom-c);
  font-size: 14px;
}
.vips-anom-tile-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.vips-anom-tile-kind {
  color: var(--anom-c);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.10em;
  text-transform: uppercase; font-weight: 600;
}
.vips-anom-tile-user {
  color: var(--t1); font-size: 13px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vips-anom-tile-tier {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.02em;
}
.vips-anom-tile-val {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px; font-weight: 700;
  color: var(--t1);
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .vips-anom-hero-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 720px) {
  .vips-anom-hero-grid { grid-template-columns: 1fr; }
}

/* Anomaly card */
.vips-anom-card { padding: 16px 18px; }
.vips-anom-empty {
  margin-top: 18px; padding: 28px 0; text-align: center;
  color: var(--t3); font-size: 12.5px;
  font-family: 'Noto Sans Mono', monospace;
}
.vips-anom-list {
  display: flex; flex-direction: column; gap: 4px;
  margin-top: 10px; max-height: 380px; overflow-y: auto;
}
.vips-anom-row {
  display: grid; grid-template-columns: 22px 1fr auto;
  align-items: center; gap: 10px;
  width: 100%; padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 6px;
  cursor: pointer; text-align: left;
  transition: background 120ms ease, border-color 120ms ease;
}
.vips-anom-row:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.18);
}
.vips-anom-icon { font-size: 14px; text-align: center; line-height: 1; }
.vips-anom-body { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.vips-anom-kind {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
}
.vips-anom-user {
  color: var(--t1); font-size: 12.5px; font-weight: 500;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.vips-anom-val {
  color: var(--t2); font-size: 11.5px;
  font-family: 'Noto Sans Mono', monospace;
}

/* Filter bar above the table */
.vips-filter-bar {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 10px 16px;
  padding: 12px 0 14px;
}
.vips-filter-pills {
  display: flex; flex-wrap: wrap; gap: 6px; flex: 1; min-width: 0;
}
.vips-filter-pill {
  appearance: none; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 10px;
  background: rgba(212,168,67,0.10);
  border: 1px solid rgba(212,168,67,0.30);
  border-radius: 999px;
  color: var(--t1);
  font-size: 11.5px;
  transition: background 120ms ease, border-color 120ms ease;
}
.vips-filter-pill:hover {
  background: rgba(212,168,67,0.16);
  border-color: rgba(212,168,67,0.50);
}
.vips-filter-key {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--gold);
}
.vips-filter-val { color: var(--t1); font-weight: 500; }
.vips-filter-x { color: var(--t3); font-size: 14px; line-height: 1; }
.vips-filter-actions {
  display: flex; align-items: center; gap: 12px;
  font-size: 11.5px; color: var(--t2);
}
.vips-filter-count strong { color: var(--t1); }
.vips-filter-clear {
  appearance: none; background: transparent;
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 5px 10px;
  color: var(--t2); font-size: 11px;
  font-family: 'Noto Sans Mono', monospace;
  letter-spacing: 0.04em; text-transform: uppercase;
  cursor: pointer;
  transition: color 120ms ease, border-color 120ms ease;
}
.vips-filter-clear:hover { color: var(--t1); border-color: rgba(255,255,255,0.18); }

/* Meta row (activity + tier + country) */
.vips-meta {
  display: grid; gap: 12px;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  margin-bottom: 18px;
}

/* Avatar in table rows */
.vips-user {
  display: flex; align-items: center; gap: 10px; min-width: 0;
}
.vips-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  flex-shrink: 0; object-fit: cover;
  border: 1px solid rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.04);
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist', 'Inter', sans-serif; font-size: 12px;
  font-weight: 800; color: var(--t1);
}
.vips-avatar-fallback {
  background: linear-gradient(135deg, rgba(234,143,215,0.2), rgba(212,168,67,0.2));
}
.vips-user-meta { min-width: 0; }

/* Activity dot */
.vips-dot {
  display: inline-block; width: 7px; height: 7px;
  border-radius: 50%; margin-right: 6px;
  vertical-align: middle;
}
.vips-dot-green { background: #4CD17A; box-shadow: 0 0 8px rgba(76,209,122,0.4); }
.vips-dot-gold  { background: var(--gold); }
.vips-dot-red   { background: #FCA5A5; }

.vips-session-line {
  display: flex; align-items: center;
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: var(--t1); font-weight: 600;
}
.vips-session-meta { margin-top: 4px; }
.vips-session.is-stale .vips-session-line { color: #FCA5A5; }

.vips-fav-cell { min-width: 90px; }
.vips-fav-cell .vips-split-bar { width: 100%; height: 5px; }
.vips-fav-cell .vips-split-legend { justify-content: flex-start; }

.vips-tag-prov {
  background: rgba(212,168,67,0.06);
  color: var(--gold); font-weight: 700;
}

@media (max-width: 1100px) {
  .vips-top5 { grid-template-columns: repeat(3, 1fr); }
  .vips-top5-card:nth-child(n+4) { display: none; }
  .vips-charts-3 { grid-template-columns: 1fr; }
  .vips-charts-2 { grid-template-columns: 1fr; }
  .vips-meta { grid-template-columns: 1fr; }
  .vips-trend-row { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .vips-top5 { grid-template-columns: repeat(2, 1fr); }
  .vips-top5-card:nth-child(3) { display: none; }
}

/* RFM badge in table */
.vips-rfm-pill {
  display: inline-block; padding: 3px 9px;
  border: 1px solid; border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.04em; font-weight: 700;
  text-transform: uppercase; white-space: nowrap;
}
.vips-tier-stack { margin-top: 4px; }
.vips-value-pill {
  display: inline-block; padding: 3px 9px; margin-left: 4px;
  border: 1px solid var(--hair); border-radius: 4px;
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  letter-spacing: 0.04em; color: var(--t2); font-weight: 600;
  text-transform: uppercase;
}

/* Net column — red when negative */
.vips-net.is-neg strong { color: #FCA5A5; }


/* Table rows clickable */
.vips-table tbody tr { cursor: pointer; }
.vips-table tbody tr:hover td { background: rgba(255,255,255,0.025); }

/* Drawer */
.vips-drawer-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.6);
  z-index: 9600; display: flex; justify-content: flex-end;
  animation: vips-fade-in 0.2s ease;
}
body.vips-drawer-open { overflow: hidden; }
@keyframes vips-fade-in { from { opacity: 0; } to { opacity: 1; } }
.vips-drawer {
  width: 720px; max-width: 100%; height: 100%;
  background: var(--s1, #141414); border-left: 1px solid var(--b2, rgba(255,255,255,0.18));
  overflow-y: auto;
  display: flex; flex-direction: column;
  animation: vips-slide-in 0.25s cubic-bezier(0.2, 0.9, 0.3, 1);
  box-shadow: -24px 0 60px rgba(0,0,0,0.6);
}
@keyframes vips-slide-in { from { transform: translateX(100%); } to { transform: translateX(0); } }

.vips-drawer-head {
  position: sticky; top: 0; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 22px; background: var(--s1);
  border-bottom: 1px solid var(--hair);
}
.vips-drawer-hero {
  display: flex; align-items: flex-start; gap: 18px;
  padding: 24px 26px 18px; border-bottom: 1px solid var(--hair);
}
.vips-drawer-avatar {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04); object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Geist', 'Inter', sans-serif; font-size: 28px;
  font-weight: 800; color: var(--t1);
}
.vips-drawer-id { min-width: 0; flex: 1; }
.vips-drawer-name {
  font-family: 'Geist', 'Inter', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--t1); letter-spacing: -0.4px;
  line-height: 1.1;
}
.vips-drawer-uid {
  font-family: 'Noto Sans Mono', monospace; font-size: 11px;
  color: var(--t3); margin-top: 4px; letter-spacing: 0.04em;
  word-break: break-all;
}
.vips-drawer-meta {
  display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px;
  align-items: center;
}

.vips-drawer-body { padding: 18px 26px 32px; }

.vips-drawer-money {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px;
  margin-bottom: 22px;
}
.vips-drawer-money-card {
  padding: 14px 14px;
  border: 1px solid var(--hair); border-radius: 8px;
  background: rgba(255,255,255,0.02);
}
.vips-drawer-bignum {
  font-family: 'Geist', 'Inter', sans-serif; font-size: 22px;
  font-weight: 800; color: var(--t1); letter-spacing: -0.8px;
  margin: 4px 0; line-height: 1;
}
.vips-drawer-sub {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  color: var(--t3); letter-spacing: 0.06em;
}

/* 14-day per-VIP spark in drawer */
.vips-spark-block { margin: 14px 0 4px; }
.vips-spark-card {
  border: 1px solid var(--hair); border-radius: 8px;
  background: rgba(212,168,67,0.02);
  padding: 14px 16px;
}
.vips-spark-skel {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border: 1px solid var(--hair); border-radius: 8px;
}
.vips-spark-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 8px;
}
.vips-spark-meta {
  display: flex; gap: 12px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; letter-spacing: 0.10em;
  color: var(--t3);
}
.vips-spark-legend {
  display: inline-flex; align-items: center; gap: 5px;
}
.vips-spark-dot {
  width: 8px; height: 8px; border-radius: 50%;
  display: inline-block;
}
.vips-spark-svg {
  width: 100%; height: 56px; display: block;
}
.vips-spark-stats {
  display: flex; flex-wrap: wrap; gap: 4px 22px;
  margin-top: 8px;
  font-size: 12.5px;
  color: var(--t1);
}
.vips-spark-stats strong { font-weight: 600; }
.vips-spark-stat-lbl {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.10em;
  color: var(--t3);
  margin-right: 4px;
}
.vips-spark-empty {
  margin-top: 8px;
  font-size: 11.5px; color: var(--t3);
  font-family: 'Noto Sans Mono', monospace;
  text-align: center;
}

/* Forensic block — admin deep dive */
.vips-forensic-block { margin: 14px 0 18px; }
.vips-forensic-empty,
.vips-forensic-card {
  border: 1px solid var(--hair);
  border-left: 3px solid #FCA5A5;
  border-radius: 8px;
  background: rgba(252,165,165,0.025);
  padding: 16px 18px;
}
.vips-forensic-empty { padding: 18px 20px; }
.vips-forensic-empty .vips-ocs-help { margin: 8px 0 14px; color: var(--t2); font-size: 12.5px; line-height: 1.6; }
.vips-forensic-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
  margin-bottom: 10px;
}
.vips-forensic-range,
.vips-forensic-stamp {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
}
.vips-forensic-panel {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 6px;
  margin-top: 8px;
}
.vips-forensic-panel-head {
  list-style: none; cursor: pointer;
  padding: 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px;
}
.vips-forensic-panel-head::-webkit-details-marker { display: none; }
.vips-forensic-panel-head::before {
  content: '▶'; font-size: 9px; color: var(--t3);
  margin-right: 8px;
  transition: transform 120ms ease;
}
.vips-forensic-panel[open] .vips-forensic-panel-head::before {
  transform: rotate(90deg);
}
.vips-forensic-panel-key {
  flex: 1;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--t1); font-weight: 600;
}
.vips-forensic-panel-meta {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px; color: var(--t3);
}
.vips-forensic-panel-body {
  padding: 12px 14px;
  border-top: 1px solid var(--hair);
}
.vips-forensic-table-wrap {
  max-width: 100%;
  overflow-x: auto;
}
.vips-forensic-table {
  width: 100%;
  border-collapse: collapse;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 11.5px;
}
.vips-forensic-table th,
.vips-forensic-table td {
  padding: 6px 10px;
  text-align: left;
  border-bottom: 1px solid var(--hair);
  white-space: nowrap;
  max-width: 240px;
  overflow: hidden;
  text-overflow: ellipsis;
}
.vips-forensic-table th {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.10em;
  text-transform: uppercase;
  color: var(--t3);
  font-weight: 600;
}
.vips-forensic-table td { color: var(--t1); }
.vips-forensic-table tr:hover td { background: rgba(255,255,255,0.02); }
.vips-forensic-truncated {
  margin-top: 8px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; color: var(--t3);
  text-align: center;
}
.vips-forensic-pre {
  margin: 0;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; line-height: 1.5;
  color: var(--t2);
  white-space: pre-wrap; word-break: break-word;
  max-height: 400px; overflow-y: auto;
}

/* Drawer source warning — only visible when no Smartico match */
.vips-drawer-srcwarn {
  margin: 14px 0 8px;
  padding: 12px 16px;
  background: rgba(79,160,255,0.06);
  border: 1px solid rgba(79,160,255,0.22);
  border-left: 3px solid #4FA0FF;
  border-radius: 6px;
  color: var(--t2);
  font-size: 12.5px; line-height: 1.55;
  font-family: 'Geist', 'Inter', sans-serif;
}
.vips-drawer-srcwarn strong { color: var(--t1); font-weight: 600; }

/* OCS profile block — sits between money cards and the sections grid */
.vips-ocs-profile {
  margin: 14px 0 18px;
  border: 1px solid var(--hair);
  border-radius: 8px;
  background: rgba(212,168,67,0.03);
  padding: 16px 18px;
}
.vips-ocs-profile-skel,
.vips-ocs-empty,
.vips-ocs-head {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 10px;
}
.vips-ocs-empty { flex-direction: column; align-items: flex-start; gap: 12px; }
.vips-ocs-help {
  margin: 0; color: var(--t2); font-size: 12.5px; line-height: 1.6;
}
.vips-ocs-status {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
}
.vips-ocs-ok { color: #4CD17A; }
.vips-ocs-err { color: #FCA5A5; }
.vips-ocs-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 18px;
  margin-top: 12px;
}
.vips-ocs-grid > div {
  display: flex; flex-direction: column; gap: 2px;
  padding: 6px 0;
}
.vips-ocs-grid strong {
  color: var(--t1); font-weight: 500; font-size: 13px;
  word-break: break-word;
}
.vips-ocs-actions {
  display: flex; justify-content: flex-end;
  margin-top: 10px;
  border-top: 1px solid var(--hair);
  padding-top: 10px;
}

@media (max-width: 720px) {
  .vips-ocs-grid { grid-template-columns: 1fr; }
}

.vips-drawer-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px;
}
.vips-drawer-section {
  padding: 14px 16px;
  border: 1px solid var(--hair); border-radius: 8px;
  background: rgba(255,255,255,0.015);
}
.vips-drawer-section .card-eyebrow { margin-bottom: 8px; }
.vips-drawer-rows { display: flex; flex-direction: column; }
.vips-drawer-row {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 7px 0; border-bottom: 1px solid var(--hair);
  font-size: 12px;
}
.vips-drawer-row:last-child { border-bottom: 0; }
.vips-drawer-key {
  color: var(--t3); font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  flex-shrink: 0;
}
.vips-drawer-val {
  color: var(--t1); font-weight: 600; text-align: right;
  word-break: break-word; max-width: 60%;
}

@media (max-width: 720px) {
  .vips-drawer { width: 100%; }
  .vips-drawer-money { grid-template-columns: repeat(2, 1fr); }
  .vips-drawer-grid { grid-template-columns: 1fr; }
}

/* Modal */
.vips-modal-bg {
  position: fixed; inset: 0; background: rgba(0,0,0,0.7);
  display: flex; align-items: flex-start; justify-content: center;
  padding: 60px 20px; overflow: auto; z-index: 9500;
}
.vips-modal {
  background: var(--s1); border: 1px solid var(--b2); border-radius: 14px;
  max-width: 580px; width: 100%; padding: 24px 28px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
}
.vips-modal-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: 18px; gap: 12px;
}
.vips-modal-body { color: var(--t2); }
.vips-modal-foot {
  display: flex; gap: 10px; justify-content: flex-end;
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--hair);
}
.vips-snippet {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--hair); border-radius: 6px;
  padding: 10px 12px; margin: 12px 0;
  font-family: 'Noto Sans Mono', monospace; font-size: 11px;
  color: var(--t1); white-space: pre-wrap; word-break: break-all;
  line-height: 1.5;
}
.vips-textarea {
  width: 100%; box-sizing: border-box;
  background: rgba(255,255,255,0.02); color: var(--t1);
  border: 1px solid var(--hair); border-radius: 6px;
  padding: 10px 12px; font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; resize: vertical;
}
.vips-textarea:focus { outline: 0; border-color: var(--gold); }

/* Range picker — same vibe as dashboard's window selector */
.vips-range-picker {
  display: inline-flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 8px;
  padding: 2px;
  flex-wrap: wrap;
}
.vips-range-btn {
  appearance: none; background: transparent; border: 0;
  color: var(--t2);
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 120ms ease, color 120ms ease;
  white-space: nowrap;
}
.vips-range-btn:hover { color: var(--t1); background: rgba(255,255,255,0.03); }
.vips-range-btn.is-active {
  color: #0B0B0E;
  background: var(--gold);
  font-weight: 600;
}

/* Custom range / Bulk-enrich modal — scoped to .vips-modal-backdrop so
   the .vips-modal inside doesn't collide with the legacy Cookies modal
   (which lives inside .vips-modal-bg above). z-index above the drawer
   (9600) so modals always render on top. */
.vips-modal-backdrop {
  position: fixed; inset: 0; z-index: 9700;
  background: rgba(0,0,0,0.6);
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.vips-modal-backdrop .vips-modal {
  background: #0B0B0E;
  border: 1px solid var(--hair);
  border-radius: 8px;
  width: 100%; max-width: 420px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  overflow: hidden;
}
.vips-modal-backdrop .vips-modal-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--hair);
}
.vips-modal-backdrop .vips-modal-title {
  color: var(--t1); font-size: 14px; font-weight: 600;
  letter-spacing: 0.02em;
}
.vips-modal-close {
  appearance: none; background: transparent; border: 0;
  color: var(--t2); font-size: 22px; cursor: pointer;
  padding: 0 4px; line-height: 1;
}
.vips-modal-close:hover { color: var(--t1); }
.vips-modal-backdrop .vips-modal-body { padding: 20px; }
.vips-modal-backdrop .vips-modal-foot {
  display: flex; justify-content: flex-end; gap: 8px;
  padding: 14px 20px;
  border-top: 1px solid var(--hair);
}
.vips-custom-row {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 12px;
}
.vips-custom-lbl {
  flex: 0 0 70px;
  color: var(--t2); font-size: 11px;
  font-family: 'Noto Sans Mono', monospace;
  text-transform: uppercase; letter-spacing: 0.08em;
}
.vips-custom-input {
  flex: 1;
  background: rgba(255,255,255,0.02);
  color: var(--t1);
  border: 1px solid var(--hair);
  border-radius: 6px;
  padding: 8px 10px;
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 13px;
  color-scheme: dark;
}
.vips-custom-input:focus { outline: 0; border-color: var(--gold); }
.vips-custom-help {
  color: var(--t3); font-size: 11px;
  margin-top: 6px;
  font-family: 'Noto Sans Mono', monospace;
}
/* Bulk enrichment progress */
.vips-bulk-progress {
  margin-top: 14px;
  padding: 12px 14px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 8px;
}
.vips-bulk-bar {
  height: 6px; background: rgba(255,255,255,0.06);
  border-radius: 3px; overflow: hidden;
}
.vips-bulk-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #FFD56B);
  transition: width 220ms ease;
}
.vips-bulk-stats {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: 10px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px; letter-spacing: 0.04em;
  color: var(--t2);
}
.vips-bulk-stats strong { color: var(--t1); }
.vips-bulk-status {
  margin-top: 6px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10.5px; letter-spacing: 0.04em;
  color: var(--t3);
  text-transform: uppercase;
}

.vips-custom-status {
  margin-top: 12px;
  padding: 8px 10px;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--hair);
  border-radius: 6px;
  color: var(--t2);
  font-size: 12px;
  font-family: 'Noto Sans Mono', monospace;
}

@media (max-width: 720px) {
  .vips-table thead th,
  .vips-table tbody td { padding: 10px 8px; font-size: 11.5px; }
  .vips-range-picker { width: 100%; justify-content: flex-start; overflow-x: auto; }
  .vips-range-btn { font-size: 10px; padding: 5px 8px; }
}

/* ──────────────────────────────────────────────────────────────────────
   RTP HEALTH subtab — 5th tab in /vips. Compares observed vs theoretical
   RTP per game. Editorial-style status pills (no emoji), hairline pillars.
   ────────────────────────────────────────────────────────────────────── */
.vips-rtp-health { margin-top: 24px; }
.vips-rtp-table th, .vips-rtp-table td { white-space: nowrap; }
.vips-rtp-pill {
  display: inline-block;
  padding: 3px 8px;
  border: 1px solid;
  border-radius: 999px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 700;
}
.vips-rtp-meta {
  margin: 8px 0 14px;
  font-family: 'Noto Sans Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.04em;
  color: var(--t3);
  text-transform: uppercase;
}
.vips-rtp-nudge {
  margin-top: 16px;
  padding: 12px 14px;
  background: rgba(212, 168, 67, 0.08);
  border: 1px solid rgba(212, 168, 67, 0.35);
  border-radius: 8px;
  color: var(--t2);
  font-size: 13px;
  line-height: 1.5;
}
.vips-rtp-nudge code {
  font-family: 'Noto Sans Mono', monospace;
  font-size: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 1px 5px;
  border-radius: 3px;
}

/* ──────────────────────────────────────────────────────────────────────
   MOBILE UX PASS — 29/04
   Las reglas anteriores cubrían parcialmente mobile pero con 5 subtabs,
   strips de 5 KPIs y tablas anchas hacían wrap feo o se cortaban. Este
   bloque consolida los fixes para viewports ≤720px (centrado en 360-414):

   · Subnav: scroll horizontal con snap, sin wrap a 2 filas
   · KPI strip: scroll horizontal con snap si >4 stats
   · Tablas: scroll horizontal vía .scroll-x (envuelto desde JS)
   · Cards: paddings comprimidos + charts más bajos
   · Fonts: subidos a ≥11px en piezas críticas para legibilidad
   · Top5 hero: 5 cols → 2 cols con scroll horizontal
   ────────────────────────────────────────────────────────────────────── */
@media (max-width: 720px) {
  /* Subnav — 5 tabs no caben → scroll horizontal con snap. Ocultamos
     el number badge en mobile para ahorrar espacio sin perder semántica. */
  .vips-subnav {
    flex-wrap: nowrap;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 4px;
    margin: 0 -3px;
    padding-left: 3px;
    padding-right: 3px;
  }
  .vips-subnav::-webkit-scrollbar { height: 4px; }
  .vips-subnav::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 2px; }
  .vips-subnav-btn {
    flex: 0 0 auto;
    min-width: auto;
    padding: 10px 14px;
    scroll-snap-align: start;
    font-size: 13px;
  }
  .vips-subnav-num { display: none; }
  .vips-subnav-lbl { font-size: 13px; letter-spacing: -0.1px; }
  .vips-subnav-head { gap: 8px; }
  .vips-subnav-current { font-size: 12px; }

  /* KPI strip — auto-fill min 130px → permite 2-3 cols sin desbordar.
     Si quedan demasiados, scroll vertical es mejor que apilados ilegibles. */
  .vvp-pro-strip {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 10px;
    padding: 12px 0;
  }
  .vvp-pro-stat-lbl { font-size: 10.5px; }   /* 9.5 → 10.5 */
  .vvp-pro-stat-num { font-size: 18px; }
  .vvp-pro-stat-sub { font-size: 11px; }     /* 10 → 11 */

  /* Tablas — el wrapper .scroll-x ya da overflow. Reducimos padding y
     subimos legibilidad de headers (9.5 → 10.5px) sin que se hagan
     enormes. Los th conservan nowrap para que el scroll funcione. */
  .vips-games-table { font-size: 12px; }
  .vips-games-table th {
    font-size: 10.5px;
    padding: 8px 10px;
  }
  .vips-games-table td { padding: 8px 10px; }
  .vips-rtp-pill { font-size: 9.5px; padding: 2px 6px; letter-spacing: 0.04em; }

  /* Cards anom/prov — padding lateral más compacto para que quede
     más sitio a la tabla. Sin perder los bordes redondeados. */
  .vips-games-anom,
  .vips-games-prov,
  .vips-games-col { padding: 12px 12px; }
  .vips-games-anom-help { font-size: 11.5px; }

  /* Top 5 hero cards — 5 cols → scroll horizontal con snap (mismo
     patrón que subnav, evita apilar verticalmente 5 cards huge). */
  .vips-top5 {
    display: flex;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 10px;
    padding-bottom: 6px;
  }
  .vips-top5-card {
    flex: 0 0 64%;
    scroll-snap-align: start;
    padding: 14px 12px 12px;
  }
  .vips-top5-amount { font-size: 22px; }
  .vips-top5-name { font-size: 12px; }

  /* Charts — 380px es demasiado vertical en mobile, 280px se siente
     más nativo y deja espacio para el contenido siguiente sin scroll. */
  .vips-chart { height: 220px; }
  .vips-chart-tall { height: 280px; }
  .vips-chart-xl { height: 320px; }

  /* Filter pills — wrapping ya OK, solo asegurar tap target mínimo */
  .vips-filter-pill { padding: 6px 10px; font-size: 11.5px; }
  .vips-range-btn { padding: 7px 10px; font-size: 11px; min-height: 30px; }

  /* Range picker — el overflow-x ya está, mejoramos sombras de
     gradient para indicar que hay más a la derecha. */
  .vips-range-picker {
    position: relative;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .vips-range-picker::-webkit-scrollbar { display: none; }

  /* Páginas con padding generoso desktop — comprimir lateral en mobile.
     Aplica al wrapper de la sección /vips, no al body global. */
  .vips-rtp-health,
  .vips-games { margin-top: 16px; }

  /* Nudge JSON populate — más legible compacto */
  .vips-rtp-nudge { padding: 10px 12px; font-size: 12px; line-height: 1.45; }
}

/* Phones pequeños (≤380px) — apretar un punto más sin sacrificar
   el toque (mantener altura de botones ≥30px). */
@media (max-width: 380px) {
  .vips-subnav-btn { padding: 9px 11px; font-size: 12.5px; }
  .vvp-pro-strip { grid-template-columns: repeat(auto-fill, minmax(115px, 1fr)); gap: 8px; }
  .vvp-pro-stat-num { font-size: 17px; }
  .vips-top5-card { flex-basis: 72%; }
  .vips-games-table { font-size: 11.5px; }
}

/* ──────────────────────────────────────────────────────────────────────
   Provider chips — visual identity per provider so clusters jump out
   at a glance. EGT Digital coral, Pragmatic blue, Amigo amber (red flag),
   Playson green, etc. Hardcoded for top providers; rest fall back to a
   deterministic hash palette in JS so colors stay stable per provider.
   ────────────────────────────────────────────────────────────────────── */
.vips-prov-chip {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid;
  border-radius: 4px;
  font-family: 'Noto Sans Mono', 'Geist Mono', ui-monospace, monospace;
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  white-space: nowrap;
  line-height: 1.4;
}
.vips-prov-chip.vips-prov-na {
  color: var(--t3);
  border-color: var(--hair);
  background: rgba(255, 255, 255, 0.02);
}
.vips-prov-dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .vips-prov-chip { font-size: 9.5px; padding: 2px 6px; }
}

/* Tracker cell on My VIPs table.
   Two states share the same chip shell, set by .is-tracked / .is-add. */
.vips-track-cell { white-space: nowrap; }
.vips-track-empty { color: var(--t3); font-family: 'Noto Sans Mono', monospace; font-size: 11px; }
.vips-track-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600;
  background: transparent; cursor: pointer;
  border: 1px solid var(--hair);
  border-radius: 999px;
  color: var(--t2);
  transition: border-color 0.12s ease, color 0.12s ease, background 0.12s ease;
}
.vips-track-chip:hover { background: rgba(255,255,255,0.04); }
.vips-track-chip.is-tracked {
  border-color: color-mix(in srgb, var(--tc) 60%, transparent);
  color: var(--tc);
}
.vips-track-chip.is-tracked:hover {
  background: color-mix(in srgb, var(--tc) 12%, transparent);
}
.vips-track-chip.is-add {
  color: var(--t3); border-style: dashed;
}
.vips-track-chip.is-add:hover {
  border-color: #EA8FD7; color: #EA8FD7; border-style: solid;
}
.vips-track-dot {
  display: inline-block; width: 7px; height: 7px; border-radius: 50%;
  flex-shrink: 0;
}
.vips-track-plus {
  font-family: 'Geist', 'Inter', sans-serif; font-weight: 800;
  font-size: 13px; line-height: 1;
}
.vips-track-lbl { letter-spacing: 0.02em; }
.vips-track-agent {
  font-family: 'Noto Sans Mono', monospace; font-size: 9.5px;
  color: var(--t3); letter-spacing: 0.04em;
  padding-left: 6px; border-left: 1px solid var(--hair);
  margin-left: 2px;
}
.vips-track-chip.is-tracked .vips-track-agent {
  color: color-mix(in srgb, var(--tc) 70%, var(--t3));
  border-left-color: color-mix(in srgb, var(--tc) 30%, transparent);
}

/* Pills row, sits inline next to the search input on the table head. */
.vips-track-pillbar {
  display: inline-flex; align-items: center; gap: 6px;
  margin-left: 14px;
}
.vips-track-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  font-family: 'Inter', sans-serif; font-size: 12px; font-weight: 600;
  border: 1px solid var(--hair); background: transparent; color: var(--t2);
  border-radius: 6px; cursor: pointer;
  transition: border-color 0.12s ease, color 0.12s ease;
  white-space: nowrap;
}
.vips-track-pill:hover { border-color: var(--gold); color: var(--gold); }
.vips-track-pill.is-active {
  background: rgba(212,168,67,0.06);
}
.vips-track-pill-dot {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c, currentColor);
  box-shadow: 0 0 6px var(--c, currentColor);
}
.vips-track-pillcount {
  font-family: 'Noto Sans Mono', monospace; font-size: 10px;
  color: var(--t3); letter-spacing: 0.08em; text-transform: uppercase;
  margin-left: 4px;
}

@media (max-width: 720px) {
  .vips-track-chip { font-size: 10px; padding: 3px 8px; }
  .vips-track-agent { display: none; }
  .vips-track-pillbar { display: none; }
}
