/* Dedicated Stats Centre page — scoped so the home page remains unchanged. */
.stats-page { min-height: 100vh; }
.stats-page .topbar { position: sticky; top: 0; z-index: 30; }
.stats-page-main { width: min(1500px, 100%); margin: 0 auto; }
.stats-page #stats.stats-section { display: block !important; min-height: calc(100vh - 140px); }
.stats-page #stats .stats-subview[hidden] { display: none !important; }
.stats-page #stats .stats-subnav { position: sticky; top: 82px; }
.stats-page #stats .stats-subview { animation: stats-enter .22s ease-out; }
.stats-page-footer { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; padding: 22px 5vw; border-top: 1px solid var(--line, rgba(255,255,255,.1)); color: var(--muted, #a9b8ce); font-size: 12px; }
.stats-page-footer a { color: var(--orange, #ff7c45); text-decoration: none; font-weight: 800; }
.stats-page .statsguru-panel, .stats-page .bowling-summary, .stats-page .career-formats { min-width: 0; }
@keyframes stats-enter { from { opacity: .65; transform: translateY(3px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 760px) {
  .stats-page #stats .stats-subnav { position: relative; top: auto; }
  .stats-page-footer { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) { .stats-page #stats .stats-subview { animation: none; } }
