.stats-container { max-width: 1120px; }
.stats-header { text-align: left; margin: 2.4rem 0 1.5rem; padding: 0.5rem clamp(0.75rem, 2vw, 1.5rem); }
.stats-header h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
.stats-header .site-lead { max-width: 740px; }
.stats-updated, .stats-small { font-size: .82rem; color: var(--text-secondary); }
.stats-updated { margin-top: 1rem; }
.stats-overview { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; margin-bottom: 1.4rem; padding: 0; background: transparent; border: 0; border-radius: 0; }
.stats-metric, .stats-panel { background: var(--bg-secondary); border: 1px solid var(--border-color); border-radius: var(--radius); }
.stats-metric { padding: 1.25rem; min-width: 0; overflow-wrap: anywhere; }
.stats-metric p { color: var(--text-secondary); font-size: .82rem; }
.stats-metric strong { display: block; color: var(--text-primary); font-size: clamp(1.3rem, 2.8vw, 2rem); line-height: 1.25; font-weight: 700; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.stats-metric small { color: var(--text-muted); font-size: .76rem; }
.stats-panel { margin-bottom: 1.25rem; padding: clamp(1.25rem, 2.5vw, 1.75rem); min-width: 0; overflow-wrap: anywhere; }
.stats-heading { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: 1rem; margin-bottom: 1rem; }
.stats-heading h2 { font-size: 1.45rem; }
.stats-heading a, .stats-panel a, .site-footer a { color: var(--accent-secondary); }
.stats-filter { display: flex; gap: .6rem; align-items: center; font-size: .87rem; color: var(--text-secondary); }
.stats-filter select { background: var(--bg-tertiary); border: 1px solid var(--border-color); border-radius: 6px; color: var(--text-primary); padding: .5rem; font: inherit; }
.stats-hint { color: var(--text-secondary); font-size: .85rem; margin-bottom: 1rem; }
.stats-bars { display: grid; gap: .85rem; }
.stats-bar { display: grid; grid-template-columns: 130px minmax(0, 1fr) 70px; align-items: center; gap: .75rem; font-variant-numeric: tabular-nums; font-size: .9rem; }
.stats-bar-track { background: var(--bg-tertiary); height: 12px; border-radius: 4px; overflow: hidden; }
.stats-bar-fill { display: block; background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary)); height: 100%; min-width: 0; border-radius: 4px; }
.stats-bar-count { text-align: right; font-family: 'JetBrains Mono', monospace; font-size: .83rem; }
.stats-table-scroll { overflow-x: auto; }
.stats-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .9rem; }
.stats-table th, .stats-table td { padding: .9rem .75rem; border-bottom: 1px solid var(--border-color); }
.stats-table th { color: var(--text-secondary); font-weight: 600; white-space: nowrap; }
.stats-table td:last-child, .stats-table th:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.stats-table td small { display: block; color: var(--text-secondary); font-size: .75rem; }
.stats-table tr:last-child td { border-bottom: 0; }
.stats-timeline { display: flex; align-items: end; gap: 3px; height: 156px; border-bottom: 1px solid var(--border-color); padding: 8px 0 0; overflow-x: auto; }
.stats-timeline p { align-self: center; }
.stats-timebar { position: relative; flex: 1 0 7px; min-width: 7px; height: 100%; display: flex; align-items: end; }
.stats-timebar span { display: block; width: 100%; background: var(--accent-primary); min-height: 2px; border-radius: 3px 3px 0 0; }
.stats-timebar:focus { outline: 2px solid var(--accent-secondary); }
.stats-traffic-grids { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.stats-traffic-grids h3 { font-size: 1rem; margin: .4rem 0; }
.stats-traffic-grids .stats-timebar span { background: var(--accent-tertiary); }
[hidden] { display: none !important; }
@media (max-width: 820px) { .stats-overview { grid-template-columns: repeat(2, minmax(0, 1fr)); } .stats-traffic-grids { grid-template-columns: 1fr; gap: 1rem; } }
@media (max-width: 480px) { .stats-overview { gap: .75rem; } .stats-metric { padding: 1rem; } .stats-bar { grid-template-columns: 94px minmax(0, 1fr) 50px; gap: .4rem; font-size: .78rem; } .stats-panel { padding: 1.25rem; } }
