.stats-main { padding-bottom: 48px; }

.stats-hero {
  margin: 8px 0 20px;
  padding: 22px 20px;
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(80, 200, 160, 0.14), rgba(20, 28, 42, 0.9));
  border: 1px solid rgba(156, 187, 223, 0.18);
  text-align: center;
}

.stats-hero-label {
  margin: 0 0 6px;
  color: #9cbbdf;
  font: 600 13px/1.3 system-ui, sans-serif;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.stats-hero-value {
  margin: 0;
  color: #edf1f7;
  font: 800 clamp(28px, 8vw, 40px)/1.1 system-ui, sans-serif;
}

.stats-section-label {
  margin: 18px 0 10px;
  color: #a5afbf;
  font: 700 13px/1.2 system-ui, sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.stats-top-card {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.stats-top-card strong {
  color: #edf1f7;
  font: 700 17px/1.3 system-ui, sans-serif;
}

.stats-top-card span {
  color: #9cbbdf;
  font: 600 13px/1.3 system-ui, sans-serif;
}

.stats-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.stats-row-main {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.stats-row-main strong {
  color: #edf1f7;
  font: 650 15px/1.3 system-ui, sans-serif;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.stats-row-main span {
  color: #8b96a8;
  font: 500 12px/1.3 system-ui, sans-serif;
}

.stats-row-time {
  flex-shrink: 0;
  color: #7dcea0;
  font: 700 14px/1 system-ui, sans-serif;
}

.page-stats .empty-msg[hidden] { display: none !important; }

.stats-main { max-width: 960px; margin-inline: auto; }
.stats-hero { position: relative; overflow: hidden; padding: 36px 24px; border-radius: 24px; text-align: left; background: radial-gradient(circle at 95% 0%, rgba(125,234,190,.2), transparent 65%), #14202d; }
.stats-hero-value { color: var(--neon, #7deabe); font-size: clamp(36px, 9vw, 56px); letter-spacing: -.04em; font-variant-numeric: tabular-nums; }
.stats-hero-label { margin-bottom: 14px; }
.stats-top-card { padding: 22px; border-left: 3px solid var(--neon, #7deabe); background: linear-gradient(110deg, rgba(125,234,190,.09), rgba(255,255,255,.025)); }
.stats-row { position: relative; overflow: hidden; padding: 18px 16px; min-height: 76px; border-radius: 16px; }
.stats-row::after { content: ''; position: absolute; bottom: 0; left: 0; width: var(--share, 0%); height: 3px; background: var(--neon, #7deabe); opacity: .6; }
.stats-rank { flex-shrink: 0; font: 800 16px/1 system-ui; color: #738599; }
.stats-row-main { flex: 1; }
.stats-row-main strong { white-space: normal; }
.stats-row-time { padding: 9px 10px; border-radius: 10px; background: rgba(125,234,190,.07); font-variant-numeric: tabular-nums; }
.page-stats .empty-msg { padding: 28px 20px; border: 1px dashed rgba(156,187,223,.2); border-radius: 16px; }
.stats-top[hidden] { display: none; }
