/* 26.11.2026: рефералка — статистика одной полосой, как на остальных страницах */
html:not(.lc-home) body #root .refs-grid4 {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 0 !important;
  border-radius: 16px !important;
  background: rgba(255, 255, 255, .02) !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .07) !important;
  overflow: hidden !important;
}
html:not(.lc-home) body #root .refs-grid4 > .refs-stat {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 18px 20px !important;
  min-height: 96px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  transition: background-color .18s ease !important;
}
html:not(.lc-home) body #root .refs-grid4 > .refs-stat + .refs-stat {
  box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06) !important;
}
html:not(.lc-home) body #root .refs-grid4 > .refs-stat:hover { background: rgba(255, 255, 255, .02) !important; }
html:not(.lc-home) body #root .refs-stat-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 8px !important;
}
html:not(.lc-home) body #root .refs-stat-label {
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: rgba(255, 255, 255, .45) !important;
}
html:not(.lc-home) body #root .refs-stat-label svg,
html:not(.lc-home) body #root .refs-stat svg {
  width: 16px !important;
  height: 16px !important;
}
html:not(.lc-home) body #root .refs-stat-value {
  margin-top: 10px !important;
  font-size: 26px !important;
  line-height: 1.1 !important;
  font-weight: 600 !important;
  letter-spacing: -.02em !important;
  color: #fff !important;
  font-variant-numeric: tabular-nums !important;
}

@media (max-width: 1100px) {
  html:not(.lc-home) body #root .refs-grid4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
  html:not(.lc-home) body #root .refs-grid4 > .refs-stat + .refs-stat { box-shadow: none !important; }
  html:not(.lc-home) body #root .refs-grid4 > .refs-stat:nth-child(2n) { box-shadow: inset 1px 0 0 rgba(255, 255, 255, .06) !important; }
  html:not(.lc-home) body #root .refs-grid4 > .refs-stat:nth-child(n+3) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06) !important; }
  html:not(.lc-home) body #root .refs-grid4 > .refs-stat:nth-child(4) { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 1px 0 0 rgba(255, 255, 255, .06) !important; }
}

html.light body #root .refs-grid4 {
  background: #fff !important;
  box-shadow: inset 0 0 0 1px rgba(24, 24, 27, .08) !important;
}
html.light body #root .refs-grid4 > .refs-stat + .refs-stat { box-shadow: inset 1px 0 0 rgba(24, 24, 27, .07) !important; }
html.light body #root .refs-stat-label { color: rgba(24, 24, 27, .5) !important; }
html.light body #root .refs-stat-value { color: #111114 !important; }
