/* Homepage statistics reuse the games' summary and chart presentation. */
nav button { font:inherit; color:inherit; cursor:pointer; border:0; background:transparent; padding:6px 12px; border-radius:999px; font-size:.85rem; }
nav button:hover { background:#f4f4f6; }
dialog#statsOv { border:0; padding:0; background:transparent; width:min(724px,calc(100% - 24px)); max-width:none; max-height:94dvh; overflow:auto; }
dialog#statsOv::backdrop { background:#11182777; backdrop-filter:blur(4px); }
#statsOv .sheet { position:relative; width:100%; background:var(--surface); color:var(--ink); overflow:auto; border-radius:24px; }
#statsOv .close { position:absolute; top:12px; right:14px; border:0; background:transparent; color:var(--muted); font:24px/1 system-ui,sans-serif; cursor:pointer; padding:6px; }
#statsOv .stats { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); text-align:center; }
#statsOv .stats strong { display:block; }
#statsOv .stats span { color:var(--muted); }
#statsOv .dist { display:grid; grid-template-columns:42px 1fr; align-items:center; margin-bottom:14px; }
#statsOv .bar { position:relative; }
#statsOv .bar i { display:block; height:100%; min-width:0; background:var(--muted); }
