/* ==========================================================================
   STRATZ.COM (HITAGI ENGINE) 1:1 AUTHENTIC DESIGN SYSTEM (style.css)
   Uses exact CSS tokens extracted from STRATZ hitagi styled-components:
   - Font: 'Noto Sans', letter-spacing: 0.042em (12px/16px) & 0.0083em (18px/24px)
   - Canvas: hsl(0, 0%, 4%) (#0a0a0a)
   - Card surface (.ibjsOm): hsla(0, 0%, 100%, 0.04), border-radius: 4px
   - Match row (.imIpiJ): height 56px, box-shadow: inset 0px -1px hsla(0,0%,100%,0.04), hover: hsl(0,0%,11%)
   - Gold (.kkDzDb / .flHbdO): hsl(50, 66%, 48%)
   - Win Green (.RfVMg / .PjvjJ): hsl(134, 66%, 48%) with black text hsl(0,0%,0%)
   - Loss Red (.jIYDVq / .bwPDWe): hsl(353, 97%, 47%) with black text hsl(0,0%,0%)
   - Positive IMP (.eTUlIX): linear-gradient(135deg, hsl(270,63%,59%), hsl(281,73%,65%), hsl(277,68%,57%))
   - Negative IMP (.jOqsLx): linear-gradient(135deg, hsla(0,0%,57%,0.4), hsla(0,0%,83%,0.4), hsla(0,0%,57%,0.4))
   ========================================================================== */

:root {
  --bg-canvas: hsl(0, 0%, 4%);
  --bg-nav-primary: #1a1a1a;
  --bg-nav-secondary: #242424;
  --bg-card: hsla(0, 0%, 100%, 0.04);
  --bg-card-solid: #111111;
  --bg-row-hover: hsl(0, 0%, 11%);
  --bg-control: hsla(0, 0%, 100%, 0.08);
  --bg-control-hover: hsla(0, 0%, 100%, 0.12);
  --bg-control-active: hsla(0, 0%, 100%, 0.16);

  --border-inset: inset 0 0 0 1px hsla(0, 0%, 100%, 0.08);
  --border-row: inset 0px -1px hsla(0, 0%, 100%, 0.04);
  --divider-subtle: hsla(0, 0%, 100%, 0.08);

  --text-white: #ffffff;
  --text-80: hsla(0, 0%, 100%, 0.8);
  --text-60: hsla(0, 0%, 100%, 0.6);
  --text-36: hsla(0, 0%, 100%, 0.36);

  /* Authentic Hitagi HSL Accents */
  --stratz-gold: hsl(50, 66%, 48%);
  --stratz-green: hsl(134, 66%, 48%);
  --stratz-red: hsl(353, 97%, 47%);
  --stratz-purple: hsl(279, 66%, 61%);
  --stratz-orange: hsl(14, 87%, 55%);
  --stratz-blue-role: #3b82f6;

  --imp-grad-pos: linear-gradient(135deg, hsl(270, 63%, 59%), hsl(281, 73%, 65%), hsl(277, 68%, 57%));
  --imp-grad-neg: linear-gradient(135deg, hsla(0, 0%, 57%, 0.4), hsla(0, 0%, 83%, 0.4), hsla(0, 0%, 57%, 0.4));

  --font-sans: 'Noto Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  background-color: var(--bg-canvas);
  color: var(--text-white);
  font-family: var(--font-sans);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.042em;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

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

button,
input,
select {
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.hidden {
  display: none !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.01em;
}

.c-gold { color: var(--stratz-gold) !important; }
.c-green, .text-radiant { color: var(--stratz-green) !important; }
.c-red, .text-dire { color: var(--stratz-red) !important; }
.c-purple { color: var(--stratz-purple) !important; }
.c-white { color: var(--text-white) !important; }
.c-grey, .text-muted { color: var(--text-60) !important; }

/* NProgress Bar (from aa94488fb30f8d6e.css) */
#nprogress { pointer-events: none; }
#nprogress .bar {
  background: #29d;
  position: fixed;
  z-index: 1031;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transition: width 0.25s ease;
}
#nprogress .peg {
  display: block;
  position: absolute;
  right: 0;
  width: 100px;
  height: 100%;
  box-shadow: 0 0 10px #29d, 0 0 5px #29d;
}

/* Central STRATZ Container */
.stratz-container {
  max-width: 1232px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
}

/* ==========================================================================
   1. PRIMARY TOP NAVBAR (#1a1a1a, height: 46px)
   ========================================================================== */
.stratz-nav-primary {
  background-color: var(--bg-nav-primary);
  height: 46px;
  box-shadow: inset 0 -1px hsla(0, 0%, 100%, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}

.stratz-nav-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.stratz-nav-left {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.stratz-nav-left::-webkit-scrollbar { display: none; }

.stratz-brand {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-right: 10px;
  flex-shrink: 0;
}

.stratz-logo-svg { width: 22px; height: 22px; }
.stratz-brand-text {
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.stratz-primary-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}

.primary-nav-item {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-80);
  transition: background 100ms ease-in-out;
  white-space: nowrap;
}

.primary-nav-item:hover {
  color: #ffffff;
  background: var(--bg-control-hover);
}

.primary-nav-item.active {
  background: var(--bg-control);
  color: #ffffff;
  font-weight: 700;
}

.nav-caret { font-size: 10px; opacity: 0.65; }

.stratz-pro-strip {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 6px;
  padding-left: 8px;
  border-left: 1px solid var(--divider-subtle);
  flex-shrink: 0;
}

.preset-chip {
  background: hsla(0, 0%, 100%, 0.06);
  border: none;
  box-shadow: var(--border-inset);
  color: var(--text-80);
  height: 24px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 100ms ease-in-out;
  white-space: nowrap;
}

.preset-chip:hover {
  background: var(--bg-control-hover);
  color: #fff;
}

.preset-chip.active {
  background: rgba(203, 169, 41, 0.2);
  color: var(--stratz-gold);
  box-shadow: inset 0 0 0 1px rgba(203, 169, 41, 0.45);
}

/* Right Side: Search + Token Wallet + Steam Auth */
.stratz-nav-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.stratz-search-box {
  display: flex;
  align-items: center;
  background: hsla(0, 0%, 0%, 0.45);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 30px;
  padding: 0 8px;
  width: 220px;
}

.stratz-search-box:focus-within {
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.28);
}

.search-lens-icon { color: var(--text-60); margin-right: 6px; flex-shrink: 0; }

.stratz-search-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 12px;
  width: 100%;
}
.stratz-search-input::placeholder { color: var(--text-36); }

.search-clear-btn {
  background: none;
  border: none;
  color: var(--text-60);
  cursor: pointer;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  font-size: 11px;
  line-height: 1;
  border-radius: 3px;
  transition: color 100ms ease, background-color 100ms ease;
}
.search-clear-btn:hover {
  color: #fff;
  background: hsla(0, 0%, 100%, 0.12);
}

.search-slash-btn {
  background: hsla(0, 0%, 100%, 0.08);
  border: none;
  color: var(--text-60);
  border-radius: 3px;
  min-width: 20px;
  height: 20px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all 120ms ease;
}
.search-slash-btn:hover {
  color: #ffffff;
  background: hsla(0, 0%, 100%, 0.18);
}

/* Token Wallet Pill in Topbar */
.stratz-wallet-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  height: 30px;
  padding: 0 10px;
  border-radius: 4px;
  background: rgba(203, 169, 41, 0.14);
  box-shadow: inset 0 0 0 1px rgba(203, 169, 41, 0.45);
  border: none;
  color: var(--stratz-gold);
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  transition: background 100ms ease-in-out;
}
.stratz-wallet-pill:hover {
  background: rgba(203, 169, 41, 0.24);
}
.wallet-plus-badge {
  background: var(--stratz-gold);
  color: #000;
  width: 15px;
  height: 15px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
}

/* Steam Login Button */
.stratz-steam-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 11px;
  border-radius: 4px;
  background: #171a21;
  box-shadow: inset 0 0 0 1px #66c0f4;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  white-space: nowrap;
  transition: background 100ms ease-in-out;
}
.stratz-steam-btn:hover {
  background: #1b2838;
  color: #66c0f4;
}

.steam-user-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 8px 0 4px;
  border-radius: 4px;
  background: var(--bg-control);
  box-shadow: var(--border-inset);
  cursor: pointer;
  transition: all 120ms ease-in-out;
  user-select: none;
}
.steam-user-pill:hover {
  background: var(--bg-control-hover);
  box-shadow: inset 0 0 0 1px #38bdf8;
  color: #fff;
}
.steam-user-name {
  font-size: 11px;
  font-weight: 700;
  max-width: 100px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.steam-logout-x {
  background: none;
  border: none;
  color: var(--text-60);
  cursor: pointer;
  font-size: 11px;
  padding: 2px 4px;
  border-radius: 3px;
  transition: all 100ms ease;
}
.steam-logout-x:hover {
  color: #ef4444;
  background: rgba(239, 68, 68, 0.2);
}

/* Extra Filters Drawer */
.stratz-extra-filters-drawer {
  background: var(--bg-card);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 10px 14px;
  margin-top: -8px;
  margin-bottom: 16px;
  animation: fadeIn 150ms ease-in-out;
}
.extra-filters-inner {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.extra-filter-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.extra-filter-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-60);
}

.stratz-utility-icons {
  display: flex;
  align-items: center;
  gap: 4px;
}

.util-icon-btn {
  background: transparent;
  border: none;
  color: var(--text-60);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.util-icon-btn:hover {
  background: var(--bg-control-hover);
  color: #fff;
}
.util-gold-badge {
  color: var(--stratz-gold);
  box-shadow: inset 0 0 0 1px rgba(203, 169, 41, 0.4);
  font-weight: 700;
}

.nav-user-circle {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
}

/* ==========================================================================
   2. SECONDARY SUB-NAVBAR (#242424, height: 38px)
   ========================================================================== */
.stratz-nav-secondary {
  background-color: var(--bg-nav-secondary);
  height: 38px;
  box-shadow: inset 0 -1px hsla(0, 0%, 100%, 0.08);
}

.stratz-subnav-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
}
.stratz-subnav-inner::-webkit-scrollbar { display: none; }

.subnav-player-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-control);
  padding: 3px 8px 3px 4px;
  border-radius: 4px;
  flex-shrink: 0;
}

.subnav-avatar-img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
  object-fit: cover;
}

.stratz-subnav-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Exact Hitagi Button Style (.eFqpZD / .cVMWeg) */
.subnav-tab {
  background: none;
  border: none;
  color: var(--text-80);
  height: 26px;
  padding: 0 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  transition: background 100ms ease-in-out;
}

.subnav-tab:hover {
  background: var(--bg-control-hover);
  color: #fff;
}

.subnav-tab.active {
  background: var(--bg-control-active);
  color: #fff;
}

.subnav-tab-ai {
  color: var(--stratz-gold);
}

.subnav-count {
  background: hsla(0, 0%, 0%, 0.4);
  color: var(--text-80);
  padding: 1px 5px;
  border-radius: 3px;
  font-size: 10px;
}

/* ==========================================================================
   3. FULL-WIDTH ATMOSPHERIC PLAYER HERO BANNER + OFFICIAL PNG RANK MEDALS
   ========================================================================== */
.stratz-hero-banner {
  width: 100%;
  min-height: 156px;
  background:
    radial-gradient(ellipse 65% 120% at 48% 50%, rgba(82, 76, 71, 0.72) 0%, rgba(42, 39, 37, 0.88) 55%, rgba(20, 19, 18, 0.98) 100%),
    #1b1918;
  box-shadow: inset 0 -1px hsla(0, 0%, 100%, 0.08);
  display: flex;
  align-items: center;
}

.hero-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.hero-identity-left {
  display: flex;
  align-items: center;
  gap: 20px;
  min-width: 0;
}

.hex-avatar-wrap {
  position: relative;
  width: 120px;
  height: 132px;
  flex-shrink: 0;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.85));
}

.hex-avatar-border {
  width: 100%;
  height: 100%;
  background: linear-gradient(145deg, #fbbf24 0%, #d97706 45%, #78350f 100%);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  padding: 3.5px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hex-avatar-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  background-color: #141414;
}

.hex-verified-badge {
  position: absolute;
  bottom: 2px;
  right: 4px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #0c0a09;
  border: 2px solid var(--stratz-gold);
  color: var(--stratz-gold);
  font-size: 14px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
  z-index: 3;
}

.hero-name-block {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}

.hero-name-line {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex-wrap: wrap;
}

.hero-player-name {
  font-size: 26px;
  line-height: 32px;
  font-weight: 700;
  letter-spacing: 0.0083em;
  color: #ffffff;
}

.hero-clan-tag {
  font-size: 15px;
  font-weight: 700;
  color: var(--stratz-gold);
}

.hero-name-chevron { color: var(--text-60); font-size: 14px; }

.hero-submeta-line {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 11px;
  color: var(--text-60);
}

.hero-ext-link {
  color: var(--text-80);
  font-size: 11px;
  padding: 2px 6px;
  border-radius: 4px;
  background: hsla(0, 0%, 100%, 0.08);
  transition: background 100ms ease-in-out;
}
.hero-ext-link:hover {
  background: hsla(0, 0%, 100%, 0.16);
  color: #fff;
}

/* Official Layered PNG Rank Medal Styles (from assets-catalog.js) */
.hero-medals-right {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.dota-plus-hex { width: 34px; height: 38px; }
.dota-plus-svg { width: 100%; height: 100%; }

.rank-medal-emblem {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.official-rank-container {
  position: relative;
  width: 72px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-medal-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.rank-medal-base,
.official-rank-base {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rank-medal-star {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
}

.rank-medal-lb {
  position: absolute;
  bottom: 2px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: var(--stratz-gold);
  font-size: 9px;
  font-weight: 700;
  padding: 0 4px;
  border-radius: 2px;
}

.medal-rank-caption {
  margin-top: -4px;
  background: rgba(10, 10, 10, 0.85);
  box-shadow: var(--border-inset);
  border-radius: 3px;
  padding: 1px 6px;
  font-size: 10px;
  font-weight: 700;
  color: var(--stratz-gold);
}

/* ==========================================================================
   4. MAIN CANVAS & FILTER ROW (.cVMWeg from STRATZ hitagi CSS)
   ========================================================================== */
.stratz-canvas {
  background-color: var(--bg-canvas);
  padding: 24px 0 48px;
}

.status-strip-wrap { margin-bottom: 16px; }

.stratz-loading-strip,
.stratz-error-strip {
  background: var(--bg-card);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.stratz-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid hsla(0, 0%, 100%, 0.16);
  border-top-color: var(--stratz-gold);
  border-radius: 50%;
  animation: stratz-spin 0.7s linear infinite;
}
@keyframes stratz-spin { to { transform: rotate(360deg); } }

.loading-steps-inline { display: flex; gap: 6px; }
.step-pill {
  background: var(--bg-control);
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 11px;
  color: var(--text-60);
}
.step-pill.active { color: var(--stratz-gold); }
.step-pill.done { color: var(--stratz-green); }

/* STRATZ Filter Row (.kJnKBy + .cVMWeg) */
.stratz-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.filter-bar-left {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Exact Hitagi Switch Pill (.gTrTmz + .cVMWeg) */
.stratz-turbo-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-control);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 34px;
  padding: 0 14px 0 10px;
  cursor: pointer;
  user-select: none;
  font-size: 11px;
  font-weight: 700;
  transition: background 100ms ease-in-out;
}
.stratz-turbo-pill:hover { background: var(--bg-control-hover); }

.turbo-switch-input { position: absolute; opacity: 0; pointer-events: none; }

.turbo-switch-track {
  height: 18px;
  width: 34px;
  border-radius: 999px;
  background: hsla(0, 0%, 100%, 0.16);
  position: relative;
  transition: background 100ms ease-in;
}

.turbo-switch-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 100ms ease-in;
}

.turbo-switch-input:checked + .turbo-switch-track {
  background: hsla(0, 0%, 100%, 0.32);
}
.turbo-switch-input:checked + .turbo-switch-track .turbo-switch-thumb {
  transform: translateX(16px);
}

.filter-bar-divider {
  width: 1px;
  height: 34px;
  background: var(--divider-subtle);
  margin: 0 4px;
}

/* Exact Hitagi Select Button (.cVMWeg) */
.stratz-filter-select {
  appearance: none;
  background-color: var(--bg-control);
  border: none;
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 34px;
  padding: 0 28px 0 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6' fill='none'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23ffffff' stroke-opacity='0.6' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  transition: background 100ms ease-in-out;
}
.stratz-filter-select:hover { background-color: var(--bg-control-hover); }
.stratz-filter-select option { background-color: #181818; color: #fff; }

.stratz-inline-input {
  background: var(--bg-control);
  border: none;
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 34px;
  padding: 0 12px;
  font-size: 11px;
  color: #fff;
  width: 150px;
  outline: none;
}

.stratz-more-filters-btn {
  background: var(--bg-control);
  border: none;
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 34px;
  padding: 0 16px;
  font-size: 11px;
  font-weight: 700;
  color: var(--text-white);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 100ms ease-in-out;
}
.stratz-more-filters-btn:hover { background: var(--bg-control-hover); }

/* ==========================================================================
   AI MATCH FORENSICS & COACHING COMMAND BAR (Features 1, 2, 3)
   ========================================================================== */
.stratz-ai-command-bar {
  background: hsla(0, 0%, 100%, 0.04);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 10px 16px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.ai-bar-left {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.ai-rosh-badge {
  background: var(--imp-grad-pos);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.06em;
}

.ai-bar-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-80);
}

.ai-match-input {
  background: hsla(0, 0%, 0%, 0.5);
  border: none;
  box-shadow: var(--border-inset);
  border-radius: 4px;
  height: 30px;
  padding: 0 10px;
  width: 190px;
  font-size: 11.5px;
  color: var(--stratz-gold);
  outline: none;
}

.ai-bar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.ai-action-btn {
  height: 32px;
  padding: 0 12px;
  border-radius: 4px;
  border: none;
  background: var(--bg-control);
  box-shadow: var(--border-inset);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: background 100ms ease-in-out, transform 80ms ease;
}
.ai-action-btn:hover {
  background: var(--bg-control-hover);
  transform: translateY(-1px);
}

.ai-btn-booster { box-shadow: inset 0 0 0 1px rgba(203, 169, 41, 0.45); }
.ai-btn-ruiner { box-shadow: inset 0 0 0 1px rgba(236, 4, 31, 0.45); }
.ai-btn-coach { box-shadow: inset 0 0 0 1px rgba(173, 92, 219, 0.55); }

.ai-cost-pill {
  background: rgba(0, 0, 0, 0.45);
  color: var(--stratz-gold);
  padding: 1px 6px;
  border-radius: 3px;
  font-size: 10px;
}

/* ==========================================================================
   6. ASYMMETRIC 2-COLUMN STRATZ GRID (.dJfugN: Left flex-grow 1 | Right .BRccD 380px)
   ========================================================================== */
.stratz-two-col-grid {
  display: flex;
  flex-direction: row;
  gap: 24px;
  align-items: flex-start;
}

.stratz-col-left {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.stratz-col-right {
  flex: 0 0 380px;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* Exact Hitagi Card Surface (.ibjsOm) */
.stratz-box {
  background: var(--bg-card);
  border-radius: 4px;
  position: relative;
}

/* Top 2 Summary Cards Side-by-Side (.kogjun) */
.stratz-summary-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.summary-card-matches,
.summary-card-winrate {
  padding: 12px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.summary-card-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

/* Exact Hitagi Heading (.iRITGN + .kkDzDb / .fJUbOw) */
.summary-main-stat {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.0083em;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.stat-num-gold { color: var(--stratz-gold); }
.stat-num-green { color: var(--stratz-green); }
.stat-title-white { color: #ffffff; }

.summary-sub-date {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-60);
}

/* 24 Gold Segments Bar (.jxxUIW + .flHbdO) */
.gold-segments-row {
  display: grid;
  grid-auto-flow: column;
  grid-column-gap: 4px;
  height: 8px;
}

.gold-segments-row span {
  background: var(--stratz-gold);
  border-radius: 2px;
  height: 100%;
}

/* Winrate W - L (.cpTHGg / .gwzjsZ / .bwPDWe) */
.summary-wl-numbers {
  font-size: 12px;
  line-height: 16px;
  display: flex;
  align-items: center;
  gap: 4px;
}
.wl-green { color: var(--stratz-green); }
.wl-hyphen { color: var(--text-36); }
.wl-red { color: var(--stratz-red); }

/* Winrate Bar (.kQxzUw + .PjvjJ) */
.stratz-wr-track {
  width: 100%;
  height: 8px;
  border-radius: 2px;
  background: hsla(0, 0%, 100%, 0.08);
  overflow: hidden;
}

.stratz-wr-fill {
  height: 100%;
  background: var(--stratz-green);
  border-radius: 2px;
  transition: width 128ms cubic-bezier(0.08, 0.82, 0.17, 1);
}

/* Compact 5-KPI Telemetry Strip */
.stratz-kpi-mini-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 8px;
}

.stratz-kpi-pill {
  background: var(--bg-card);
  border-radius: 4px;
  padding: 8px 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  cursor: pointer;
  transition: background 100ms ease-in-out;
}
.stratz-kpi-pill:hover { background: hsla(0, 0%, 100%, 0.08); }

.kpi-mini-label {
  font-size: 10.5px;
  color: var(--text-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.stratz-kpi-pill strong {
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kpi-mini-sub {
  font-size: 10px;
  color: var(--text-36);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================================================
   MAIN STRATZ MATCHES CARD & 56px MATCH ROWS (.imIpiJ)
   ========================================================================== */
.stratz-matches-card { overflow: hidden; }

.matches-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px;
  flex-wrap: wrap;
}

.matches-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.matches-card-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.0083em;
}

.stratz-subtle-tag {
  font-size: 11px;
  color: var(--text-60);
  background: hsla(0, 0%, 100%, 0.06);
  padding: 2px 7px;
  border-radius: 4px;
}

.matches-header-pills {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-wrap: wrap;
}

.stratz-mini-tab {
  background: hsla(0, 0%, 100%, 0.06);
  border: none;
  color: var(--text-80);
  height: 26px;
  padding: 0 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: background 100ms ease-in-out;
}
.stratz-mini-tab:hover { background: var(--bg-control-hover); color: #fff; }
.stratz-mini-tab.active {
  background: var(--bg-control-active);
  color: #fff;
}

.stratz-expand-arrow {
  background: none;
  border: none;
  color: var(--text-80);
  width: 26px;
  height: 26px;
  border-radius: 4px;
  cursor: pointer;
}
.stratz-expand-arrow:hover { background: var(--bg-control-hover); }

.matches-subinfo-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  background: hsla(0, 0%, 0%, 0.25);
  box-shadow: var(--border-row);
  font-size: 11px;
  color: var(--text-60);
  gap: 8px;
  flex-wrap: wrap;
}

/* Exact Hitagi 56px Match Row (.imIpiJ) */
.stratz-match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 56px;
  padding: 0 12px;
  box-shadow: var(--border-row);
  cursor: pointer;
  transition: background-color 100ms ease;
  gap: 8px;
}

.stratz-match-row:hover {
  background-color: var(--bg-row-hover);
}

.row-heroes-pair {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.stratz-hero-rect {
  width: 48px;
  height: 27px;
  border-radius: 3px;
  object-fit: cover;
  background: #181818;
  flex-shrink: 0;
}

.stratz-peer-mini-hero {
  width: 36px;
  height: 20px;
  border-radius: 2px;
  object-fit: cover;
  opacity: 0.9;
}

.row-role-icon {
  width: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Exact Hitagi Square В / П Badges (.RfVMg & .jIYDVq — Black text on Green/Red!) */
.stratz-vp-badge {
  width: calc(1ch + 1.2em);
  height: 22px;
  font-weight: 700;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: hsl(0, 0%, 0%);
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}

.stratz-vp-badge.vp-win {
  background: var(--stratz-green);
}

.stratz-vp-badge.vp-loss {
  background: var(--stratz-red);
}

/* Exact Hitagi Lane / Role-Swap Pill (.hUGIEa / .koFkLw / .bXSGnY) */
.stratz-lane-pill {
  background: hsla(0, 0%, 100%, 0.04);
  min-width: 44px;
  height: 22px;
  padding: 0 6px;
  border-radius: 2px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  flex-shrink: 0;
}
.stratz-lane-pill.lane-w { color: var(--stratz-green); }
.stratz-lane-pill.lane-l { color: var(--stratz-red); }
.stratz-lane-pill.lane-d { color: var(--text-60); }

/* K/D/A + Peer Identity (.bdTmnT) */
.row-kda-peer {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
  flex: 1 1 120px;
  overflow: hidden;
}

.row-kda-numbers {
  font-size: 12px;
  line-height: 16px;
  color: var(--text-80);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.row-kda-numbers .kda-slash {
  color: var(--text-36);
  margin: 0 2px;
}

.row-peer-subline {
  font-size: 11px;
  line-height: 15px;
  color: var(--text-60);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  display: flex;
  align-items: center;
  gap: 4px;
}

.row-swap-tag {
  font-size: 10px;
  font-weight: 700;
}
.row-swap-tag.tag-e2a { color: var(--stratz-green); }
.row-swap-tag.tag-a2e { color: var(--stratz-red); }
.row-swap-tag.tag-same { color: var(--stratz-gold); }

/* Exact Hitagi Center-Axis IMP Bar (.jfGlPG + .eTUlIX / .jOqsLx + .hQQDBW) */
.row-imp-cell {
  width: 120px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.imp-val {
  width: 3.5ch;
  text-align: end;
  font-size: 11px;
  color: var(--text-80);
  flex-shrink: 0;
}

.imp-bar-track {
  position: relative;
  width: 64px;
  height: 8px;
  background: hsla(0, 0%, 100%, 0.08);
  border-radius: 2px;
  flex-shrink: 0;
}

/* Exact Hitagi 2px White Center Tick (.hQQDBW) */
.imp-bar-track::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: hsla(0, 0%, 100%, 0.8);
  transform: translateX(-50%);
}

.imp-bar-fill {
  position: absolute;
  top: 0;
  bottom: 0;
  border-radius: 2px;
}

.imp-bar-fill.fill-pos {
  left: 50%;
  background: var(--imp-grad-pos);
}

.imp-bar-fill.fill-neg {
  right: 50%;
  background: var(--imp-grad-neg);
}

.imp-mvp-crest {
  color: var(--stratz-orange);
  font-size: 12px;
  line-height: 1;
}

/* Quick Per-Row AI Action Mini-Buttons */
.row-ai-quick-btns {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-shrink: 0;
}

.row-ai-mini-btn {
  width: 24px;
  height: 24px;
  border-radius: 4px;
  border: none;
  background: hsla(0, 0%, 100%, 0.06);
  cursor: pointer;
  font-size: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 100ms ease, transform 80ms ease;
}
.row-ai-mini-btn:hover {
  background: hsla(0, 0%, 100%, 0.18);
  transform: scale(1.08);
}

.row-ai-mini-btn[data-open-match] {
  width: auto;
  padding: 0 8px;
  font-size: 10.5px;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.28);
  white-space: nowrap;
}
.row-ai-mini-btn[data-open-match]:hover {
  background: rgba(56, 189, 248, 0.24);
  color: #ffffff;
}

/* Party & Official Rank Medal Cell (.fbrLpY) */
.row-party-cell {
  display: flex;
  align-items: center;
  gap: 4px;
  color: var(--text-80);
  font-size: 11px;
  flex-shrink: 0;
}

.row-rank-cell {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Duration & Relative Time (.hXckWC) */
.row-time-cell {
  width: 66px;
  text-align: end;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.row-duration {
  font-size: 11px;
  line-height: 16px;
  color: var(--text-80);
}

.row-reltime {
  font-size: 11px;
  line-height: 16px;
  color: var(--text-60);
  white-space: nowrap;
}

/* ==========================================================================
   PEERS TABLE VIEW
   ========================================================================== */
.stratz-seesaw-banner {
  padding: 8px 16px;
  background: rgba(173, 92, 219, 0.1);
  color: #e9d5ff;
  font-size: 11.5px;
}

.peers-meta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 6px 16px;
  box-shadow: var(--border-row);
  font-size: 11px;
  color: var(--text-60);
}

.stratz-table-scroll { overflow-x: auto; }

.stratz-peers-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  table-layout: fixed;
}

.stratz-peers-table th.col-hero,
.stratz-peers-table td:nth-child(1) {
  width: 27%;
  min-width: 200px;
}

.stratz-peers-table th.col-wl,
.stratz-peers-table td:nth-child(2) {
  width: 58px;
  min-width: 58px;
  text-align: center;
}

.stratz-peers-table th.col-role,
.stratz-peers-table td:nth-child(3) {
  width: 12%;
  min-width: 85px;
  text-align: center;
}

.stratz-peers-table th.col-kda,
.stratz-peers-table td:nth-child(4) {
  width: 21%;
  min-width: 140px;
}

.stratz-peers-table th.col-imp,
.stratz-peers-table td:nth-child(5) {
  width: 15%;
  min-width: 120px;
}

.stratz-peers-table th.col-party,
.stratz-peers-table td:nth-child(6) {
  width: 12%;
  min-width: 85px;
}

.stratz-peers-table th.col-time,
.stratz-peers-table td:nth-child(7) {
  width: 13%;
  min-width: 95px;
  text-align: right;
}

.stratz-peers-table thead th {
  color: var(--text-60);
  font-size: 10.5px;
  font-weight: 700;
  padding: 8px 12px;
  box-shadow: var(--border-row);
  white-space: nowrap;
}

.stratz-peers-table tbody tr {
  height: 56px;
  box-shadow: var(--border-row);
  cursor: pointer;
  transition: background-color 100ms ease;
}

.stratz-peers-table tbody tr:hover {
  background-color: var(--bg-row-hover);
}

.stratz-peers-table td {
  padding: 6px 12px;
  vertical-align: middle;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.peer-row-identity {
  display: flex;
  align-items: center;
  gap: 8px;
}

.peer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  object-fit: cover;
  flex-shrink: 0;
}

.peer-row-title { font-size: 12px; font-weight: 700; color: #fff; }
.peer-row-sub { font-size: 11px; color: var(--text-60); }

.stratz-empty-state {
  padding: 28px 16px;
  text-align: center;
  color: var(--text-60);
}

.stratz-pagination {
  padding: 12px;
  display: flex;
  justify-content: center;
}

/* ==========================================================================
   RIGHT COLUMN: "Тренды" (.BRccD 380px + .iSovyE 320px Donut)
   ========================================================================== */
.stratz-trends-card {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.trends-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trends-title {
  font-size: 18px;
  line-height: 24px;
  font-weight: 700;
  letter-spacing: 0.0083em;
}

.trends-segmented-toggle {
  display: inline-flex;
  background: hsla(0, 0%, 100%, 0.06);
  border-radius: 4px;
}

.trend-seg-btn {
  background: none;
  border: none;
  color: var(--text-60);
  height: 26px;
  padding: 0 12px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 4px;
  cursor: pointer;
}
.trend-seg-btn.active {
  background: var(--bg-control-active);
  color: #ffffff;
}

/* 280px Donut Container */
.trends-donut-wrap {
  position: relative;
  width: 280px;
  height: 280px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.stratz-donut-svg { width: 100%; height: 100%; }

.donut-hero-badges { position: absolute; inset: 0; pointer-events: none; }

.donut-hero-pin {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  object-fit: cover;
  border: 1.5px solid hsl(0, 0%, 4%);
  transform: translate(-50%, -50%);
}

/* Vertical IMP Sparkline Bars (.cphGaM 74px + .kCiqT / .fiRnSV 8px dots) */
.trends-bars-grid {
  display: grid;
  grid-template-columns: repeat(20, 1fr);
  gap: 5px;
  align-items: center;
  padding: 0 8px;
}

.trend-col-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.trend-col-crest {
  height: 12px;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trend-bar-ZeroTrack {
  position: relative;
  width: 6px;
  height: 74px;
  background: hsla(0, 0%, 100%, 0.04);
  border-radius: 2px;
}

/* Exact Hitagi 2px White Horizontal Line (.ijLCkg) */
.trend-bar-ZeroTrack::after {
  content: '';
  position: absolute;
  left: -1px;
  right: -1px;
  top: 50%;
  height: 2px;
  background: hsla(0, 0%, 100%, 0.8);
}

.trend-vbar-fill {
  position: absolute;
  left: 0;
  right: 0;
  border-radius: 2px;
}
.trend-vbar-fill.vbar-pos {
  bottom: 50%;
  background: var(--imp-grad-pos);
}
.trend-vbar-fill.vbar-neg {
  top: 50%;
  background: var(--imp-grad-neg);
}

/* Exact Hitagi 8x8 W/L Squares (.kCiqT & .fiRnSV) */
.trend-wl-dot {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}
.trend-wl-dot.dot-win { background: var(--stratz-green); }
.trend-wl-dot.dot-loss { background: var(--stratz-red); }

.trends-footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 8px;
  padding-top: 14px;
  border-top: 1px solid var(--divider-subtle);
  text-align: center;
}

.trends-stat-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.trends-stat-label {
  font-size: 12px;
  color: var(--text-60);
}

.trends-stat-val-row {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
}

.trends-delta-red { font-size: 12px; color: var(--stratz-red); }
.trends-delta-green { font-size: 12px; color: var(--stratz-green); }

/* Sidebar Monetization Ad Card */
.stratz-ad-card {
  padding: 14px 16px;
  border: 1px solid rgba(203, 169, 41, 0.2);
}

.ad-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.ad-label-tag {
  font-size: 9.5px;
  font-weight: 700;
  color: var(--text-36);
  letter-spacing: 0.06em;
}

.ad-reward-pill {
  background: rgba(203, 169, 41, 0.16);
  color: var(--stratz-gold);
  font-size: 10px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
}

.ad-promo-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.ad-promo-inner p { color: var(--text-60); font-size: 11px; }
.ad-promo-buttons { display: flex; gap: 6px; margin-top: 4px; flex-wrap: wrap; }

/* ==========================================================================
   MODALS: AI FORENSICS MODAL, WALLET MODAL & PEER H2H MODAL
   ========================================================================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: hsla(0, 0%, 0%, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 200;
}

.modal-dialog {
  width: 100%;
  max-width: 640px;
  max-height: 90vh;
  overflow-y: auto;
  background: #141414;
  box-shadow: inset 0 0 0 1px hsla(0, 0%, 100%, 0.12), 0 24px 60px rgba(0, 0, 0, 0.9);
  border-radius: 6px;
  padding: 20px;
  position: relative;
}

.modal-dialog-xl {
  max-width: 980px;
}

.modal-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: var(--bg-control);
  border: none;
  color: var(--text-80);
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
}
.modal-close-btn:hover { background: var(--bg-control-hover); color: #fff; }

/* Forensics Modal */
.forensics-modal-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider-subtle);
  margin-bottom: 16px;
}

.forensics-title-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.forensics-mode-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.forensics-tab-btn {
  background: var(--bg-control);
  border: none;
  box-shadow: var(--border-inset);
  color: var(--text-80);
  height: 32px;
  padding: 0 14px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  cursor: pointer;
}
.forensics-tab-btn.active {
  background: var(--imp-grad-pos);
  color: #fff;
}

.forensics-verdict-banner {
  background: hsla(0, 0%, 100%, 0.05);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.forensics-verdict-banner.verdict-danger {
  border-left: 4px solid var(--stratz-red);
}
.forensics-verdict-banner.verdict-gold {
  border-left: 4px solid var(--stratz-gold);
}
.forensics-verdict-banner.verdict-purple {
  border-left: 4px solid var(--stratz-purple);
}

.forensics-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}

.forensics-card {
  background: hsla(0, 0%, 100%, 0.03);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 12px 14px;
}

.flag-chips-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-top: 6px;
}

.flag-chip {
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  background: hsla(0, 0%, 100%, 0.08);
}
.flag-chip.sev-critical {
  background: rgba(236, 4, 31, 0.2);
  color: #fca5a5;
}
.flag-chip.sev-high {
  background: rgba(203, 169, 41, 0.2);
  color: var(--stratz-gold);
}

/* Item Icon Strip inside AI Coach */
.coach-items-strip {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.coach-item-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: hsla(0, 0%, 0%, 0.45);
  box-shadow: var(--border-inset);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
}

.dota-item-icon {
  width: 34px;
  height: 25px;
  border-radius: 3px;
  object-fit: cover;
}

/* Wallet Modal */
.wallet-modal-header { margin-bottom: 14px; }
.wallet-balance-hero {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}
.wallet-big-coin { font-size: 28px; }
.wallet-hero-num { font-size: 22px; font-weight: 800; color: var(--stratz-gold); }
.wallet-sub-desc { color: var(--text-80); font-size: 12px; }

.wallet-pricing-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.pricing-chip {
  background: var(--bg-control);
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 11px;
}

.rewarded-ad-box {
  background: radial-gradient(circle at 50% 0%, rgba(203, 169, 41, 0.12) 0%, #0d0d0d 75%);
  border: 1px solid var(--stratz-gold);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(203, 169, 41, 0.2), inset 0 0 12px rgba(203, 169, 41, 0.05);
  animation: fadeIn 150ms ease-in-out;
}
.rewarded-ad-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  border-bottom: 1px solid rgba(203, 169, 41, 0.2);
  padding-bottom: 8px;
}
.rewarded-ad-stage {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rewarded-ad-stage h4 {
  font-size: 14px;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: 0.02em;
}
.rewarded-ad-stage p {
  font-size: 11.5px;
  color: var(--text-80);
  line-height: 1.45;
}
#rewarded-ad-timer {
  font-size: 12px;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
#rewarded-ad-progress {
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 8px rgba(203, 169, 41, 0.6);
}

.wallet-earn-grid {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}
.wallet-method-card {
  background: var(--bg-card);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.wallet-method-card p { font-size: 11px; color: var(--text-60); margin-top: 2px; }

.promo-input-row {
  display: flex;
  gap: 8px;
  margin-bottom: 6px;
}
.promo-feedback { font-size: 11px; color: var(--text-60); }

/* Peer H2H Modal */
.modal-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.modal-avatar { width: 52px; height: 52px; border-radius: 4px; }
.modal-peer-name { font-size: 18px; font-weight: 700; }
.modal-last-played { font-size: 11px; color: var(--text-60); }

.archetype-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 7px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  background: var(--bg-control);
}

.modal-h2h-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 14px;
}
.h2h-box {
  background: var(--bg-card);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 12px;
}
.h2h-header { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 11px; }
.h2h-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.h2h-stat-label { display: block; font-size: 10px; color: var(--text-60); }
.h2h-stat-val { font-size: 12px; font-weight: 700; }

.modal-split-section { margin-bottom: 14px; }
.modal-split-labels { display: flex; justify-content: space-between; font-size: 11px; margin-bottom: 5px; }
.dual-progress-track { height: 6px; background: var(--bg-control); border-radius: 2px; display: flex; overflow: hidden; }
.dual-fill-ally { background: var(--stratz-green); height: 100%; }
.dual-fill-enemy { background: var(--stratz-red); height: 100%; }

.modal-verdict-box {
  background: var(--bg-card);
  box-shadow: var(--border-inset);
  border-radius: 4px;
  padding: 10px 12px;
  margin-bottom: 16px;
}
.modal-footer { display: flex; justify-content: flex-end; gap: 8px; flex-wrap: wrap; }
.btn-gold-accent { color: var(--stratz-gold); box-shadow: inset 0 0 0 1px rgba(203, 169, 41, 0.45); }

/* ==========================================================================
   STRATZ FULL MATCH DETAILS (VERSUS, ADVANTAGE GRAPH, BUILDS, KILLS)
   ========================================================================== */
.stratz-match-details-dialog {
  max-width: 1220px;
  width: 96vw;
  max-height: 92vh;
  background: #0b0e14;
  border: 1px solid #232938;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}

.match-details-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 18px;
  background: #0e121a;
  border-bottom: 1px solid #1c2230;
  font-size: 11px;
  color: var(--text-60);
}
.telemetry-left, .telemetry-right {
  display: flex;
  align-items: center;
  gap: 8px;
}
.telemetry-sep { opacity: 0.35; }
.telemetry-badge-mode { color: #38bdf8; font-weight: 600; }
.telemetry-badge-rank { color: #f59e0b; font-weight: 600; }
.telemetry-duration {
  background: #171c28;
  padding: 2px 7px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
}

.match-score-victory-block {
  display: flex;
  align-items: center;
  gap: 16px;
}
.victory-banner-badge {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.04em;
}
.victory-banner-badge.win {
  background: rgba(34, 197, 94, 0.2);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.4);
}
.victory-banner-badge.loss {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}
.match-team-scores {
  font-size: 20px;
  font-weight: 900;
  display: flex;
  align-items: center;
  gap: 6px;
}
.score-rad { color: #4ade80; }
.score-hyphen { color: var(--text-60); }
.score-dir { color: #f87171; }

.match-details-tabs {
  display: flex;
  gap: 6px;
  padding: 10px 18px;
  background: #121622;
  border-bottom: 1px solid #1c2230;
  overflow-x: auto;
}

.versus-section-wrap {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.versus-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.versus-title {
  font-size: 16px;
  font-weight: 800;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 8px;
}

/* 10-Player "Противостояние" Cards Grid (Screenshot 1) */
.stratz-versus-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr) 28px repeat(5, 1fr);
  gap: 8px;
  align-items: center;
}
.versus-vs-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-60);
  writing-mode: vertical-lr;
  letter-spacing: 0.1em;
}

.versus-card {
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 6px;
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.versus-card:hover {
  border-color: #2e384d;
  transform: translateY(-2px);
}
.versus-card.card-radiant {
  border-top: 2px solid #22c55e;
}
.versus-card.card-dire {
  border-top: 2px solid #ef4444;
}

.vcard-top-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}
.vcard-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.vcard-tier-numeral {
  position: absolute;
  top: 4px;
  left: 4px;
  font-size: 10px;
  font-weight: 800;
  padding: 1px 5px;
  background: rgba(0, 0, 0, 0.75);
  color: #fbbf24;
  border-radius: 2px;
}

.vcard-imp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}
.vcard-imp-badge {
  font-size: 11px;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 3px;
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}
.vcard-imp-badge.pos {
  background: var(--imp-grad-pos);
  color: #ffffff;
  box-shadow: 0 1px 4px rgba(168, 85, 247, 0.35);
}
.vcard-imp-badge.neg {
  background: rgba(239, 68, 68, 0.18);
  color: #fca5a5;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35);
}
.vcard-role-svg {
  display: flex;
  align-items: center;
  opacity: 0.85;
}

.vcard-kda-line {
  font-size: 11px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  letter-spacing: 0.04em;
}
.vcard-nw-line {
  font-size: 11px;
  font-weight: 700;
  color: #fbbf24;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.vcard-player-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  padding-top: 6px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.vcard-player-name {
  font-size: 11px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.vcard-player-name:hover {
  color: #38bdf8;
  text-decoration: underline;
}

.vcard-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-top: 4px;
}
.vcard-item-slot {
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #090c12;
  border-radius: 2px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.vcard-item-slot.slot-empty {
  background: rgba(255, 255, 255, 0.03);
  border: 1px dashed rgba(255, 255, 255, 0.08);
}
.vcard-item-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Advantage Graph & Lanes Breakdown */
.stratz-advantage-lanes-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 14px;
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 6px;
  padding: 16px;
}
.advantage-graph-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.advantage-pills-header {
  display: flex;
  align-items: center;
  gap: 12px;
}
.adv-lead-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 4px;
  background: #171c28;
}
.adv-lead-pill.gold { color: #fbbf24; border: 1px solid rgba(251, 191, 36, 0.3); }
.adv-lead-pill.xp { color: #c084fc; border: 1px solid rgba(192, 132, 252, 0.3); }

.advantage-svg-chart {
  width: 100%;
  height: 160px;
  background: #090c12;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.lanes-breakdown-side {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.lanes-breakdown-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-60);
  text-transform: uppercase;
}
.lane-result-card {
  background: #090c12;
  border: 1px solid #1c2230;
  border-radius: 4px;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.lane-name-text { font-size: 12px; font-weight: 700; color: #fff; }
.lane-verdict-pill {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.lane-verdict-pill.radiant {
  background: rgba(34, 197, 94, 0.16);
  color: #4ade80;
  box-shadow: inset 0 0 0 1px rgba(34, 197, 94, 0.35);
}
.lane-verdict-pill.dire {
  background: rgba(239, 68, 68, 0.16);
  color: #f87171;
  box-shadow: inset 0 0 0 1px rgba(239, 68, 68, 0.35);
}
.lane-verdict-pill.tie {
  background: rgba(148, 163, 184, 0.16);
  color: #cbd5e1;
  box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.3);
}

/* ==========================================================================
   STRATZ HEROES CATALOG (Screenshots 4 & 5)
   ========================================================================== */
.heroes-page-header {
  padding: 16px 0 10px;
}
.heroes-page-title {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}

.stratz-meta-lanes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.meta-lane-card {
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.meta-lane-card:hover {
  transform: translateY(-2px);
  border-color: #2e384d;
}
.meta-lane-role {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-60);
  text-transform: uppercase;
  margin-bottom: 3px;
}
.meta-lane-hero-name {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
}
.meta-lane-wr {
  font-size: 14px;
  font-weight: 900;
  color: #4ade80;
}
.meta-lane-img {
  width: 52px;
  height: 30px;
  border-radius: 3px;
  object-fit: cover;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.stratz-heroes-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  gap: 12px;
}
.heroes-search-box {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 4px;
  padding: 6px 12px;
  width: 280px;
}
.heroes-search-input {
  background: none;
  border: none;
  color: #fff;
  font-size: 12px;
  outline: none;
  width: 100%;
}
.heroes-meta-badge {
  font-size: 11px;
  color: var(--text-60);
}

.attr-group-block {
  margin-bottom: 22px;
}
.attr-group-title {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.attr-group-title.str { color: #f87171; }
.attr-group-title.agi { color: #4ade80; }
.attr-group-title.int { color: #38bdf8; }
.attr-group-title.all { color: #c084fc; }

.attr-heroes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(56px, 1fr));
  gap: 6px;
}
.hero-tile-btn {
  position: relative;
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 4px;
  overflow: hidden;
  padding: 2px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.12s ease, border-color 0.12s ease;
}
.hero-tile-btn:hover {
  transform: scale(1.08);
  border-color: #38bdf8;
  z-index: 10;
}
.hero-tile-img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 2px;
}
.hero-tile-wr {
  font-size: 9px;
  font-weight: 700;
  text-align: center;
  padding-top: 2px;
  color: var(--text-60);
}

/* Builds Timeline View */
.stratz-builds-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
}
.build-player-row {
  background: #121622;
  border: 1px solid #1c2230;
  border-radius: 6px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.build-hero-info {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}
.build-hero-img {
  width: 44px;
  height: 25px;
  border-radius: 3px;
  object-fit: cover;
}
.build-items-scroll {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.build-item-chip {
  display: flex;
  align-items: center;
  gap: 4px;
  background: #090c12;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 3px;
  padding: 2px 5px;
  flex-shrink: 0;
}
.build-item-chip img {
  width: 20px;
  height: 15px;
  border-radius: 2px;
  object-fit: cover;
}
.build-time-tag {
  font-size: 10px;
  color: #fbbf24;
  font-family: var(--font-mono);
}

/* ==========================================================================
   AUTHENTIC RESPONSIVE DESIGN HIERARCHY (1920/1440/1024/768/414/375)
   ========================================================================== */

/* Tablet & Laptop (<= 1160px) */
@media (max-width: 1160px) {
  .stratz-two-col-grid {
    flex-direction: column;
  }
  .stratz-col-right {
    max-width: 100%;
    width: 100%;
    flex: 1 1 auto;
  }
  .stratz-versus-cards-grid {
    grid-template-columns: repeat(5, minmax(90px, 1fr)) 20px repeat(5, minmax(90px, 1fr));
    gap: 6px;
  }
}

/* Standard Tablet (<= 1024px) */
@media (max-width: 1024px) {
  .stratz-versus-cards-grid {
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }
  .versus-vs-divider {
    grid-column: 1 / -1;
    writing-mode: horizontal-tb;
    height: 26px;
    letter-spacing: 0.2em;
    border-top: 1px dashed rgba(255, 255, 255, 0.12);
    border-bottom: 1px dashed rgba(255, 255, 255, 0.12);
    margin: 4px 0;
  }
  .stratz-advantage-lanes-row {
    grid-template-columns: 1fr;
  }
  .stratz-meta-lanes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .stratz-kpi-mini-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Medium & Small Tablet (<= 768px) */
@media (max-width: 768px) {
  .stratz-container {
    padding: 0 16px;
  }
  .hero-banner-inner {
    flex-wrap: wrap;
    gap: 16px;
  }
  .hero-identity-left {
    gap: 14px;
  }
  .hero-player-name {
    font-size: 22px;
    line-height: 28px;
  }
  .hero-medals-right {
    margin-left: auto;
  }
  .stratz-summary-pair,
  .forensics-grid-2,
  .modal-h2h-grid {
    grid-template-columns: 1fr;
  }
  .stratz-kpi-mini-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .stratz-meta-lanes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stratz-match-row {
    padding: 0 8px;
    gap: 6px;
  }
  .row-imp-cell,
  .row-party-cell {
    display: none;
  }
  .row-ai-mini-btn[data-open-match] {
    display: none;
  }
}

/* Phablet & Large Mobile (<= 640px) */
@media (max-width: 640px) {
  .stratz-nav-inner {
    padding: 0 10px;
    gap: 6px;
  }
  .stratz-search-box {
    width: 140px;
    transition: width 0.2s ease;
  }
  .stratz-search-box:focus-within {
    width: 180px;
  }
  .stratz-steam-btn span {
    display: none;
  }
  .stratz-steam-btn {
    padding: 0 8px;
  }
  .stratz-lane-pill {
    display: none;
  }
  .stratz-versus-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 6px;
  }
  .meta-lane-card {
    padding: 10px;
  }
}

/* Standard Mobile (<= 480px) */
@media (max-width: 480px) {
  .stratz-container {
    padding: 0 10px;
  }
  .stratz-utility-icons {
    display: none;
  }
  .stratz-brand-text {
    display: none;
  }
  .primary-nav-item {
    padding: 5px 6px;
    font-size: 11px;
  }
  .hero-banner-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-medals-right {
    margin-left: 0;
    width: 100%;
    justify-content: flex-start;
  }
  .hex-avatar-wrap {
    width: 96px;
    height: 106px;
  }
  .hero-player-name {
    font-size: 19px;
    line-height: 24px;
  }
  .stratz-match-row {
    padding: 0 6px;
    gap: 5px;
  }
  .stratz-hero-rect {
    width: 40px;
    height: 23px;
  }
  .row-role-icon {
    display: none;
  }
  .row-time-cell {
    width: 48px;
  }
  .row-reltime {
    display: none;
  }
  .stratz-meta-lanes-grid {
    grid-template-columns: 1fr;
  }
  .trends-donut-wrap {
    width: 230px;
    height: 230px;
  }
  .trends-footer-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .modal-dialog {
    padding: 14px 10px;
  }
  .stratz-match-details-dialog {
    width: 98vw;
    max-height: 94vh;
  }
  .match-details-tabs {
    padding: 6px 10px;
  }
  .versus-section-wrap {
    padding: 10px;
  }
}

/* Compact Mobile (<= 380px — iPhone SE / Small Screens) */
@media (max-width: 380px) {
  .stratz-search-box {
    width: 110px;
  }
  .stratz-search-input {
    font-size: 11px;
  }
  .stratz-wallet-pill {
    padding: 0 6px;
    font-size: 11px;
  }
  .stratz-wallet-pill strong {
    font-size: 11px;
  }
  .row-ai-mini-btn {
    width: 20px;
    height: 20px;
    font-size: 10px;
  }
  .stratz-kpi-mini-row {
    grid-template-columns: 1fr;
  }
}
