.player-stats-body {
  background: radial-gradient(circle at top, #1b2b48 0%, #08111f 58%, #060b17 100%);
}

.player-stats-page {
  max-width: 1220px;
  margin: 0 auto;
  padding: 106px 16px 56px;
  color: #e8f2ff;
}

.panel-elevated {
  border: 1px solid rgba(112, 199, 255, 0.22);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(12, 20, 38, 0.88), rgba(8, 14, 28, 0.9));
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.35);
}

.stats-hero-panel {
  padding: 24px;
  margin-bottom: 20px;
  position: relative;
  overflow: hidden;
}

.stats-hero-panel::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 999px;
  right: -65px;
  top: -105px;
  background: radial-gradient(circle, rgba(78, 205, 196, 0.34), rgba(78, 205, 196, 0));
  pointer-events: none;
}

.stats-eyebrow {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 11px;
  color: #90e9df;
}

.stats-hero-panel h1 {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.stats-hero-subtitle {
  margin: 12px 0 0;
  max-width: 760px;
  color: #adc8e2;
  line-height: 1.45;
}

.stats-pill-row {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stats-pill {
  border-radius: 999px;
  border: 1px solid rgba(78, 205, 196, 0.33);
  padding: 6px 12px;
  font-size: 12px;
  color: #c9f8f3;
  background: rgba(11, 29, 42, 0.75);
}

.stats-section {
  margin-bottom: 16px;
}

.stats-section-title-wrap {
  margin-bottom: 10px;
}

.stats-section-title-wrap h2 {
  margin: 0;
  font-size: clamp(1.1rem, 2.8vw, 1.45rem);
}

.stats-section-title-wrap p {
  margin: 6px 0 0;
  color: #97b6d3;
  font-size: 14px;
}

.podium-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 12px;
}

.podium-card,
.top10-card,
.db-card {
  border: 1px solid rgba(170, 213, 255, 0.18);
  border-radius: 14px;
  background: linear-gradient(160deg, rgba(11, 20, 35, 0.91), rgba(8, 14, 26, 0.88));
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.podium-card:hover,
.top10-card:hover,
.db-card:hover {
  transform: translateY(-2px);
  border-color: rgba(78, 205, 196, 0.6);
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.42);
}

.podium-card {
  padding: 12px;
  animation: statsFadeUp .45s ease both;
}

.podium-rank {
  margin: 0 0 8px;
  color: #95d8ff;
  font-weight: 700;
  letter-spacing: .02em;
}

.podium-card img {
  width: 100%;
  max-height: 210px;
  object-fit: contain;
  border-radius: 10px;
  background: rgba(255,255,255,.03);
  margin-top: 8px;
}

.model-slot {
  height: clamp(190px, 28vw, 246px);
  border-radius: 12px;
  border: 1px dashed rgba(148, 198, 243, 0.3);
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom: 10px;
  background: radial-gradient(circle at 52% 30%, rgba(71,123,216,0.22), rgba(5,10,24,0.9));
  overflow: hidden;
}

.model-slot canvas {
  width: 100% !important;
  height: 100% !important;
  display: block;
}

.model-loading {
  color: #9ec5e8;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.player-line {
  margin-top: 8px;
  font-size: 15px;
}

.player-line span {
  color: #95adc4;
  font-size: 13px;
}

.player-meta,
.player-kpis {
  color: #9cb7d1;
  font-size: 13px;
  margin-top: 4px;
  line-height: 1.35;
}

.top10-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 10px;
}

.top10-card {
  display:flex;
  gap:10px;
  align-items:center;
  padding: 10px;
}

.top10-card .rank {
  font-weight: 700;
  color: #4ECDC4;
}

.top10-card img {
  width: 62px;
  height: 62px;
  object-fit: cover;
  border-radius: 10px;
}

.filters {
  display:grid;
  grid-template-columns: repeat(auto-fit,minmax(144px,1fr));
  gap:8px;
  margin-bottom: 12px;
}

.filters input,
.filters select {
  background:#0a1222;
  color:#dcedff;
  border:1px solid rgba(255,255,255,.2);
  border-radius:9px;
  padding: 10px 10px;
  min-height: 40px;
}

.filter-apply-btn {
  min-height: 40px;
}

.database-grid {
  display:grid;
  grid-template-columns: 1fr;
  gap:10px;
}

.db-card {
  display:grid;
  grid-template-columns: 86px 1fr;
  gap:12px;
  padding: 10px;
}

.db-card img {
  width:86px;
  height:86px;
  object-fit:cover;
  border-radius:10px;
}

.db-card h4 {
  margin:0 0 4px;
}

.db-card p {
  margin:3px 0;
  color:#a8c5de;
  font-size: 13px;
  line-height: 1.34;
}

.pager {
  display:flex;
  justify-content:center;
  align-items:center;
  gap:12px;
  margin-top: 14px;
  flex-wrap: wrap;
}

@keyframes statsFadeUp {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  .player-stats-page { padding-top: 94px; }
  .stats-hero-panel { padding: 18px; }
  .podium-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .player-stats-page {
    padding: 88px 12px 42px;
  }
  .stats-hero-subtitle {
    font-size: 14px;
  }
  .top10-card {
    align-items: flex-start;
  }
  .db-card {
    grid-template-columns: 1fr;
  }
  .db-card img {
    width: 78px;
    height: 78px;
  }
  .filters {
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }
}

@media (max-width: 420px) {
  .filters {
    grid-template-columns: 1fr;
  }
  .stats-pill-row {
    flex-direction: column;
    align-items: flex-start;
  }
}
