:root{--radius-lg:20px;--radius-md:14px;--radius-sm:10px;--shadow-soft:0 8px 28px rgba(35,45,75,.08);--shadow-card:0 10px 32px rgba(34,42,68,.1);--shadow-deep:0 18px 40px rgba(7,10,20,.28);--line-light:rgba(80,95,130,.12);--line-dark:rgba(220,228,255,.12);--text-main:#0f172a;--text-sub:#475569;--text-soft:#64748b;--brand:#7c8cf8;--brand-2:#9a8cf5;--brand-soft:rgba(124,140,248,.14);--ok:#22c55e;--danger:#ef4444}*{box-sizing:border-box}body,html{padding:0;margin:0}html{-webkit-text-size-adjust:100%;-moz-text-size-adjust:100%;text-size-adjust:100%}body{color:var(--text-main);background:radial-gradient(900px 500px at 10% -10%,rgba(164,177,220,.18),transparent 65%),radial-gradient(700px 420px at 100% 0,rgba(173,164,220,.14),transparent 62%),linear-gradient(180deg,#eef2f8,#e8edf5 45%,#e6ebf3);min-height:100vh;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Roboto,PingFang SC,Hiragino Sans GB,Microsoft YaHei,sans-serif}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,input{outline:none}.page{min-height:100vh;padding:14px 0 28px}.page.workbench{background:radial-gradient(900px 480px at 15% -10%,rgba(155,172,215,.16),transparent 64%),radial-gradient(700px 420px at 92% 0,rgba(173,162,214,.12),transparent 62%)}.page.leaderboard{color:#edf2ff;background:radial-gradient(1000px 520px at 12% -10%,rgba(132,127,178,.2),transparent 64%),radial-gradient(820px 520px at 100% 10%,rgba(103,122,166,.18),transparent 60%),linear-gradient(180deg,#242938,#232938 45%,#212734)}.container{width:min(1280px,calc(100% - 32px));margin:0 auto}.topbar{position:sticky;top:10px;z-index:20;margin-bottom:14px}.topbar-inner{display:grid;grid-template-columns:minmax(220px,1fr) auto auto;gap:12px;align-items:center;padding:12px 14px;border-radius:20px;border:1px solid rgba(118,132,170,.16);background:hsla(0,0%,100%,.78);backdrop-filter:blur(14px);box-shadow:var(--shadow-soft)}.page.leaderboard .topbar-inner{background:rgba(33,39,53,.7);border-color:rgba(224,230,255,.1);box-shadow:var(--shadow-deep)}.brand{display:flex;align-items:center;gap:10px;min-width:0}.brand-dot{width:10px;height:10px;border-radius:999px;background:linear-gradient(135deg,#8fa2ff,#9f8cf7);box-shadow:0 0 0 4px rgba(124,140,248,.12);flex:0 0 auto}.brand-title{font-weight:800;font-size:18px;line-height:1.1;letter-spacing:-.01em}.brand-sub{color:var(--text-sub);font-size:13px;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page.leaderboard .brand-title{color:#f4f7ff}.page.leaderboard .brand-sub{color:rgba(228,236,255,.76)}.navs{display:inline-flex;align-items:center;gap:8px;padding:4px;border-radius:999px;border:1px solid rgba(118,132,170,.14);background:hsla(0,0%,100%,.72)}.page.leaderboard .navs{background:hsla(0,0%,100%,.04);border-color:rgba(224,230,255,.1)}.pill.nav{display:inline-flex;align-items:center;justify-content:center;min-height:38px;padding:0 14px;border-radius:999px;color:#334155;font-weight:700;font-size:14px;border:1px solid transparent;transition:all .15s ease}.page.leaderboard .pill.nav{color:rgba(236,241,255,.9)}.pill.nav:hover{background:rgba(124,140,248,.08)}.pill.nav.active{background:linear-gradient(135deg,rgba(124,140,248,.18),rgba(154,140,245,.2));border-color:rgba(124,140,248,.16);color:#1e293b;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.35)}.page.leaderboard .pill.nav.active{color:#f4f7ff;background:linear-gradient(135deg,rgba(124,140,248,.24),rgba(154,140,245,.24));border-color:rgba(165,177,255,.18)}.right-actions{display:flex;align-items:center;gap:10px;min-width:0}.status{display:inline-flex;align-items:center;gap:8px;min-height:36px;padding:0 12px;border-radius:999px;border:1px solid rgba(118,132,170,.14);background:hsla(0,0%,100%,.68);color:#334155;font-size:13px;font-weight:700;white-space:nowrap}.page.leaderboard .status{background:hsla(0,0%,100%,.04);border-color:rgba(224,230,255,.1);color:rgba(236,241,255,.92)}.status-dot{width:8px;height:8px;border-radius:999px;background:#94a3b8}.status-dot.admin{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,.14)}.status-dot.visitor{background:#94a3b8;box-shadow:0 0 0 3px rgba(148,163,184,.14)}.btn,.ghost,.primary,.secondary{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:40px;padding:0 14px;border-radius:12px;border:1px solid transparent;cursor:pointer;transition:all .15s ease;white-space:nowrap}.btn{background:hsla(0,0%,100%,.84);border-color:rgba(118,132,170,.14);color:#1f2937;font-weight:700}.btn:hover{background:hsla(0,0%,100%,.95)}.btn.emphasis,.primary{color:#fff;font-weight:700;border-color:rgba(124,140,248,.16);background:linear-gradient(135deg,#8b97ff,#9b8cf6);box-shadow:0 10px 24px rgba(124,140,248,.24)}.btn.emphasis:hover,.primary:hover{filter:brightness(1.02)}.secondary{background:hsla(0,0%,100%,.72);border-color:rgba(118,132,170,.14);color:#334155;font-weight:700}.secondary:hover{background:hsla(0,0%,100%,.9)}.ghost{background:transparent;border-color:rgba(118,132,170,.16);color:#475569;font-weight:700}.page.leaderboard .btn{background:hsla(0,0%,100%,.05);border-color:rgba(224,230,255,.1);color:#edf2ff}.page.leaderboard .secondary{background:hsla(0,0%,100%,.04);border-color:rgba(224,230,255,.1);color:#edf2ff}.page.leaderboard .ghost{border-color:rgba(224,230,255,.1);color:rgba(236,241,255,.88)}.card{border-radius:var(--radius-lg);border:1px solid rgba(118,132,170,.14);background:hsla(0,0%,100%,.82);box-shadow:var(--shadow-card);backdrop-filter:blur(10px);padding:16px}.page.leaderboard .card{border-color:rgba(224,230,255,.08);background:linear-gradient(180deg,hsla(0,0%,100%,.04),hsla(0,0%,100%,.02)),rgba(28,34,46,.88);box-shadow:var(--shadow-deep)}.kicker{display:inline-flex;align-items:center;gap:8px;min-height:30px;padding:0 12px;border-radius:999px;border:1px solid rgba(118,132,170,.14);background:hsla(0,0%,100%,.7);color:#334155;font-size:13px;font-weight:700}.page.leaderboard .kicker{background:hsla(0,0%,100%,.04);border-color:rgba(224,230,255,.1);color:rgba(236,241,255,.9)}.kicker-dot{width:7px;height:7px;border-radius:999px;background:#8b97ff}.hero-title{margin:10px 0 6px;font-size:clamp(26px,3vw,40px);line-height:1.08;letter-spacing:-.02em;font-weight:900;color:#0f172a}.sub{color:var(--text-sub);font-size:14px;line-height:1.45}.page.leaderboard .sub{color:rgba(226,234,255,.72)}.title{margin:0;font-size:15px;font-weight:800;letter-spacing:-.01em;color:#0f172a}.page.leaderboard .title{color:#eef3ff}.label{display:block;margin:0 0 6px;color:#334155;font-size:13px;font-weight:700}.page.leaderboard .label{color:rgba(236,241,255,.88)}.stat-num{margin-top:8px;font-size:clamp(28px,3vw,36px);line-height:1;font-weight:900;letter-spacing:-.03em;color:#0f172a}.page.leaderboard .stat-num{color:#f4f7ff}.grid-2{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr)}.grid-2,.grid-3{display:grid;gap:14px}.grid-3{grid-template-columns:repeat(3,minmax(0,1fr))}.stack{display:grid;gap:14px}.toolbar{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:10px}.form-grid{display:grid;grid-template-columns:1fr 1fr auto;gap:10px;align-items:end}.input{width:100%;min-height:42px;border-radius:12px;border:1px solid rgba(118,132,170,.16);background:hsla(0,0%,100%,.86);color:#0f172a;padding:0 12px;box-shadow:inset 0 1px 0 hsla(0,0%,100%,.55)}.input:focus{border-color:rgba(124,140,248,.45);box-shadow:0 0 0 4px rgba(124,140,248,.14),inset 0 1px 0 hsla(0,0%,100%,.55)}.page.leaderboard .input{background:hsla(0,0%,100%,.04);border-color:rgba(224,230,255,.1);color:#eef3ff;box-shadow:none}.page.leaderboard .input::-moz-placeholder{color:rgba(236,241,255,.38)}.page.leaderboard .input::placeholder{color:rgba(236,241,255,.38)}.table-wrap{width:100%;overflow-x:auto;border-radius:14px;border:1px solid rgba(118,132,170,.12);background:hsla(0,0%,100%,.48)}.page.leaderboard .table-wrap{border-color:rgba(224,230,255,.08);background:hsla(0,0%,100%,.02)}.table{width:100%;min-width:620px;border-collapse:separate;border-spacing:0;font-size:14px}.table thead th{text-align:left;padding:12px;color:#475569;font-size:12px;font-weight:800;letter-spacing:.02em;border-bottom:1px solid rgba(118,132,170,.12);background:hsla(0,0%,100%,.42);position:sticky;top:0;z-index:1}.page.leaderboard .table thead th{color:rgba(226,234,255,.72);border-bottom-color:rgba(224,230,255,.08);background:hsla(0,0%,100%,.02)}.table tbody td{padding:12px;border-bottom:1px solid rgba(118,132,170,.09);color:#1f2937;vertical-align:middle}.page.leaderboard .table tbody td{color:#edf2ff;border-bottom-color:rgba(224,230,255,.06)}.table tbody tr:last-child td{border-bottom:none}.table tbody tr:hover td{background:rgba(124,140,248,.05)}.page.leaderboard .table tbody tr:hover td{background:rgba(124,140,248,.08)}.rank-list{display:grid;gap:10px}.rank-item{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:12px;padding:12px;border-radius:14px;border:1px solid rgba(118,132,170,.12);background:hsla(0,0%,100%,.46)}.page.leaderboard .rank-item{background:hsla(0,0%,100%,.025);border-color:rgba(224,230,255,.08)}.rank-item.top1{border-color:rgba(255,215,0,.18)}.rank-item.top2{border-color:rgba(192,199,214,.18)}.rank-item.top3{border-color:rgba(205,145,90,.2)}.rank-index{min-width:44px;text-align:center;font-weight:800;color:#334155}.page.leaderboard .rank-index{color:rgba(236,241,255,.9)}.rank-name{font-weight:800;color:#0f172a;line-height:1.2;word-break:break-word}.page.leaderboard .rank-name{color:#f4f7ff}.rank-meta{color:#64748b;font-size:12px;margin-top:4px;line-height:1.35;word-break:break-word}.page.leaderboard .rank-meta{color:rgba(226,234,255,.68)}.rank-score{text-align:right;min-width:88px}.rank-score .num{font-weight:900;font-size:20px;line-height:1;color:#0f172a}.page.leaderboard .rank-score .num{color:#f4f7ff}.rank-score .txt{color:#64748b;font-size:12px;margin-top:2px}.page.leaderboard .rank-score .txt{color:rgba(226,234,255,.64)}.badge{display:inline-flex;align-items:center;justify-content:center;min-height:26px;padding:0 10px;border-radius:999px;border:1px solid rgba(124,140,248,.16);background:rgba(124,140,248,.11);color:#425177;font-size:12px;font-weight:800;white-space:nowrap}.page.leaderboard .badge{border-color:rgba(165,177,255,.16);background:rgba(124,140,248,.14);color:#dee6ff}.empty,.error,.helper,.notice{border-radius:12px;padding:12px;font-size:14px;line-height:1.45}.notice{border:1px solid rgba(118,132,170,.12);background:hsla(0,0%,100%,.55);color:#475569}.empty{border:1px dashed rgba(118,132,170,.18);background:hsla(0,0%,100%,.4);color:#64748b}.error{border:1px solid rgba(239,68,68,.2);background:rgba(239,68,68,.06);color:#991b1b}.helper{color:#64748b}.page.leaderboard .notice{border-color:rgba(224,230,255,.08);background:hsla(0,0%,100%,.03);color:rgba(226,234,255,.76)}.page.leaderboard .empty{border-color:rgba(224,230,255,.12);background:hsla(0,0%,100%,.02);color:rgba(226,234,255,.62)}.page.leaderboard .error{border-color:hsla(0,91%,71%,.2);background:hsla(0,91%,71%,.08);color:#ffd7d7}.page.leaderboard .helper{color:rgba(226,234,255,.66)}.mono{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,Liberation Mono,monospace}@media (max-width:1100px){.topbar-inner{grid-template-columns:1fr;align-items:stretch}.navs{justify-self:start;width:-moz-fit-content;width:fit-content}.right-actions{justify-content:space-between;flex-wrap:wrap}.grid-2{grid-template-columns:1fr}.grid-3{grid-template-columns:1fr 1fr}}@media (max-width:768px){.page{padding:10px 0 18px}.container{width:calc(100% - 20px)}.topbar{position:static;margin-bottom:10px}.topbar-inner{gap:10px;padding:10px;border-radius:16px}.brand-title{font-size:17px}.brand-sub{font-size:12px;white-space:normal}.navs{width:100%;justify-content:space-between;padding:4px;gap:6px}.pill.nav{flex:1 1 0;min-height:40px;padding:0 10px;font-size:13px}.right-actions{width:100%;display:grid;grid-template-columns:1fr auto;gap:8px;align-items:center}.status{min-height:40px;justify-content:center;width:100%}.btn,.ghost,.primary,.secondary{min-height:42px;padding:0 12px;border-radius:12px;font-size:14px}.card{padding:12px;border-radius:16px}.kicker{min-height:28px;padding:0 10px;font-size:12px}.hero-title{margin-top:8px;margin-bottom:4px;font-size:22px;line-height:1.15}.sub{font-size:13px;line-height:1.4}.grid-2,.grid-3{grid-template-columns:1fr!important;gap:10px}.stack{gap:10px}.toolbar{gap:8px;flex-direction:column;align-items:stretch}.toolbar>.right-actions{grid-template-columns:1fr 1fr}.toolbar>.right-actions .ghost{grid-column:1/-1}.form-grid{grid-template-columns:1fr!important;gap:8px;align-items:stretch}.form-grid>.primary,.form-grid>button{width:100%;min-height:44px;margin-top:2px}.input{min-height:44px;border-radius:12px;padding:0 12px}.table-wrap{border-radius:12px;overflow-x:auto;-webkit-overflow-scrolling:touch}.table{min-width:560px;font-size:13px}.rank-item,.table tbody td,.table thead th{padding:10px}.rank-item{grid-template-columns:auto 1fr;align-items:start;gap:10px}.rank-score{grid-column:1/-1;text-align:left;min-width:0;width:100%;display:flex!important;flex-wrap:wrap;gap:6px;align-items:center;justify-content:flex-start!important;margin-top:2px}.rank-score .num{font-size:18px}.rank-score .txt{margin-top:0}.badge{min-height:24px;padding:0 8px;font-size:11px;white-space:normal;text-align:center}.empty,.error,.helper,.notice{padding:10px;font-size:13px}}@media (max-width:420px){.container{width:calc(100% - 16px)}.topbar-inner{padding:8px;border-radius:14px}.card{padding:10px;border-radius:14px}.brand-title{font-size:16px}.hero-title{font-size:20px}.status{font-size:12px;padding:0 10px}.btn,.ghost,.primary,.secondary{min-height:40px;font-size:13px}}