#profile-statistics {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid #d6e2d8;
}
.profile-stats-note {
  margin: 6px 0 14px;
  color: #526158;
}
.profile-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.profile-stat-period,
.profile-stat-chart {
  padding: 12px;
  border: 1px solid #b8d9c0;
  border-radius: 10px;
  background: #f4f9f5;
}
.profile-stat-period h3,
.profile-stat-chart h3 {
  margin: 0 0 8px;
}
.profile-stat-period p {
  margin: 5px 0;
}
.league-trophy-case {
  margin: 0 0 12px;
  padding: 12px;
  border: 1px solid #b8d9c0;
  border-radius: 10px;
  background: #f4f9f5;
}
.league-trophy-case h3 { margin: 0 0 8px; }
.league-trophy-case > div { display: flex; gap: 10px; }
.league-trophy { flex: 1; margin: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 6px; font-size: 22px; }
.league-trophy b { font-size: 22px; }
.league-trophy small { grid-column: 1 / -1; font-size: 12px; font-weight: 700; }
.league-trophy.gold { color: #b47a00; }
.league-trophy.silver { color: #71808d; }
.league-trophy.bronze { color: #a65d25; }
.league-trophy.standard { color: #287b49; }
.league-honours-button { margin-top: 10px; padding: 9px 12px; border: 1px solid #2a8b57; border-radius: 8px; background: #176b3a; color: #fff; font-weight: 700; cursor: pointer; }
.league-honours-table { border: 1px solid #b8d9c0; border-radius: 10px; overflow: hidden; margin-top: 16px; }
.league-honours-row { display: grid; grid-template-columns: minmax(120px,1fr) 44px 58px 58px 58px; align-items: center; gap: 4px; padding: 10px 12px; border-top: 1px solid #b8d9c0; text-align: center; }
.league-honours-row:first-child { border-top: 0; }
.league-honours-row > :first-child { text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.league-honours-head { background: #edf4ee; color: #1d402a; font-size: .82rem; text-transform: uppercase; }
.profile-stat-chart {
  margin-top: 12px;
}
@media (max-width: 560px) {
  .profile-stat-grid {
    grid-template-columns: 1fr;
  }
  .profile-stat-period {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }
  .profile-stat-period h3 {
    grid-column: 1/-1;
  }
}
html[data-theme="dark"] #profile-statistics {
  border-color: #384b40;
}
html[data-theme="dark"] .profile-stats-note {
  color: #b1c9b7;
}
html[data-theme="dark"] .profile-stat-period,
html[data-theme="dark"] .profile-stat-chart {
  border-color: #4b7455;
  background: #182b20;
}
html[data-theme="dark"] .league-trophy-case { border-color: #4b7455; background: #182b20; }
html[data-theme="dark"] .league-trophy.gold { color: #ffd768; }
html[data-theme="dark"] .league-trophy.silver { color: #d0d9df; }
html[data-theme="dark"] .league-trophy.bronze { color: #e6a36c; }
html[data-theme="dark"] .league-trophy.standard { color: #8be6aa; }
html[data-theme="dark"] .league-honours-table { border-color: #4b7455; }
html[data-theme="dark"] .league-honours-row { border-color: #4b7455; }
html[data-theme="dark"] .league-honours-head { background: #17261c; color: #d0dfd4; }
