#statsButton{background:#7754a6;color:white;border:0;border-radius:20px;padding:8px 12px;font:600 12px system-ui;text-decoration:none;cursor:pointer;white-space:nowrap;box-shadow:0 2px 9px #39215220}#statsButton[hidden]{display:none}#statsDialog{width:min(460px,calc(100vw - 32px));box-sizing:border-box}#statsDialog h2{padding-right:28px}.stats-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:20px 0}.stat-card{padding:16px 12px;background:#f3edf9;border:1px solid #e4d8f0;border-radius:16px;display:flex;flex-direction:column;gap:5px}.stat-card strong{font-size:30px;color:#7754a6}.stat-card span{font-size:13px;color:#4a3e58}.stats-history{width:100%;border-collapse:collapse;text-align:left;font-size:14px}.stats-history td,.stats-history th{padding:8px 5px;border-bottom:1px solid #eee}.stats-history td:not(:first-child),.stats-history th:not(:first-child){text-align:right}
