:root{color-scheme:dark;--bg:#10111c;--panel:#1e2033;--text:#f7f5ff;--muted:#b6b5ca;--purple:#a78bfa}*{box-sizing:border-box}body{margin:0;min-height:100vh;background:var(--bg);color:var(--text);font:15px/1.5 system-ui,sans-serif}header{display:flex;align-items:center;justify-content:space-between;padding:22px 4vw;border-bottom:1px solid #303247;gap:15px}.brand{display:flex;align-items:center;gap:16px}.brand img{width:58px;height:58px;border-radius:16px}.brand strong{font-size:clamp(19px,2.2vw,30px);display:block}small,p,label{color:var(--muted)}small{display:block}main{padding:24px 4vw;width:100%;min-height:75vh}h1,h2,h3,p{margin:0 0 12px}button,input,select{font:inherit}button{background:#6841bd;color:white;border:0;border-radius:10px;padding:11px 18px;cursor:pointer;font-weight:600}button:disabled{opacity:.45;cursor:wait}button:focus-visible,input:focus-visible,select:focus-visible{outline:2px solid #a78bfa;outline-offset:3px}.secondary,nav button{background:#25273b}nav .selected{background:#6841bd}.spacer{flex:1}nav{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:20px}.panel{background:var(--panel);border:1px solid #303249;border-radius:16px;padding:20px}.login{max-width:460px;margin:6vh auto}label{display:block;margin-bottom:14px}input,select{display:block;width:100%;background:#10111c;border:1px solid #484b64;color:var(--text);border-radius:9px;padding:12px;margin-top:5px}form button{width:100%}.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:16px;margin:12px 0 25px}.metric{min-height:140px}.metric strong{display:block;font-size:32px;line-height:1.2;margin:12px 0;overflow-wrap:anywhere}.purple{color:var(--purple)}.green{color:#5eead4}.ranking{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px;margin-bottom:28px}.rank{text-align:left;background:var(--panel);border:1px solid #303249;padding:20px}.rank strong{display:block;font-size:22px}.search{display:flex;gap:10px;align-items:center;margin:16px 0}.search input{margin:0}.search button{width:auto}.users{display:grid;grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:14px}.users h3{overflow-wrap:anywhere}.users .panel p{overflow-wrap:anywhere}.badges{color:var(--purple);margin-bottom:12px}.pagination{display:flex;gap:10px;margin-top:18px}footer{padding:18px 4vw;color:var(--muted);font-size:12px}[hidden]{display:none!important}#note,#loginNote{min-height:23px;color:var(--purple)}@media(max-width:560px){header{padding:16px}.brand img{width:42px;height:42px}.brand small{font-size:10px}main{padding:16px}.grid,.users{grid-template-columns:1fr}nav .spacer{display:none}nav button{flex:1}#full{padding:8px;font-size:12px}}
.analytics-tabs{display:flex;gap:8px;flex-wrap:wrap;margin:16px 0}.analytics-tabs .period-selected{background:#6841bd}.graph{margin-bottom:16px;min-width:0}.graph h2{font-size:19px}.graph p{font-size:13px}.graph svg{display:block;width:100%;height:auto;max-height:310px;overflow:visible}.graph-grid{stroke:#3c4056;stroke-width:1;stroke-dasharray:3 4}.graph-label{fill:#b6b5ca;font-size:11px}.graph-line{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.graph-line.teal{stroke:#5eead4}.graph-line.violet{stroke:#a78bfa}.graph-mark.teal{fill:#5eead4}.graph-mark.violet{fill:#a78bfa}.graph-legend{display:flex;gap:18px;margin-bottom:10px;flex-wrap:wrap}.legend{font-size:12px;color:var(--muted);display:flex;align-items:center;gap:6px}.legend:before{content:'';display:block;width:10px;height:10px;border-radius:3px;background:#a78bfa}.legend.teal:before{background:#5eead4}.graph-grid-layout{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.graph details{font-size:12px;color:var(--muted);margin-top:8px}.graph summary{cursor:pointer}.graph-table{width:100%;border-collapse:collapse;margin-top:10px;text-align:right}.graph-table th,.graph-table td{padding:7px;border-bottom:1px solid #35374c}.graph-table th:first-child,.graph-table td:first-child{text-align:left}.graph-empty{color:#a78bfa}.analytics-foot{font-size:12px}#analyticsStatus{color:#5eead4;font-size:13px}@media(max-width:850px){.graph-grid-layout{grid-template-columns:1fr}.graph{padding:14px}}
