.admin-sections { display: flex; gap: 1rem; margin: 1.5rem 0; }
.admin-sections [aria-pressed="true"] { color: var(--ink); border-bottom: 2px solid var(--ink); }
.stats-heading { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.stats-note, .stats-chart-labels { color: var(--ink-dim); font-size: .85rem; }
.stats-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin: 1.5rem 0; }
.stats-cards > div { border: 1px solid var(--border); padding: 1rem; border-radius: .5rem; }
.stats-cards span, .stats-cards strong { display: block; }
.stats-cards strong { font-size: 2rem; font-family: var(--font-display); }
#stats-view h3 { margin: 1.5rem 0 .75rem; }
.stats-chart { height: 160px; display: flex; align-items: end; gap: 2px; border-bottom: 1px solid var(--border); }
.stats-bar { flex: 1; min-width: 0; height: var(--bar-height); background: var(--ink); opacity: .7; }
.stats-chart-labels { display: flex; justify-content: space-between; }
.stats-rankings { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
#stats-view table { width: 100%; border-collapse: collapse; font-size: .9rem; }
#stats-view th, #stats-view td { padding: .6rem .2rem; border-bottom: 1px solid var(--border); text-align: left; overflow-wrap: anywhere; }
#stats-view th:not(:first-child), #stats-view td:not(:first-child) { text-align: right; }
.stats-table-scroll { max-height: 300px; overflow: auto; }
.stats-reactions { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 1.5rem; }
#stats-view details summary { cursor: pointer; }
#stats-view { padding-bottom: 2rem; }
@media (max-width: 600px) { .stats-rankings { grid-template-columns: 1fr; } }
