
:root{font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202024;background:#f8f8f8;font-synthesis:none;--bg:#f8f8f8;--surface:#fff;--text:#202024;--muted:#77777e;--line:#e9e9ec;--soft:#f1f1f3;--accent:#202024;--inverse:#fff;--gold:#b58129;--red:#c44747;--shadow:0 12px 40px #00000005;color-scheme:light}*{box-sizing:border-box}body{margin:0}body.dark{--bg:#19191c;--surface:#222225;--text:#f7f7f8;--muted:#a0a0a8;--line:#333337;--soft:#2d2d31;--accent:#f5f5f5;--inverse:#202024;--gold:#dfb75f;--red:#f28585;background:var(--bg);color:var(--text);color-scheme:dark}button,input,select{font:inherit}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{opacity:.45;cursor:wait}button,input,select{outline-offset:4px}button:focus-visible,input:focus-visible{outline:2px solid var(--gold)}input,select{width:100%;border:1px solid var(--line);border-radius:14px;background:var(--bg);color:var(--text);padding:14px 16px;min-height:48px}label{font-size:12px;font-weight:650;display:grid;gap:8px;color:var(--muted)}h1,h2,h3,p{margin:0}h1{font-size:34px;letter-spacing:-1.2px;font-weight:650}h2{font-size:19px;letter-spacing:-.4px}h3{font-size:15px}.muted{color:var(--muted)}.small{font-size:12px;line-height:1.6}.eyebrow{text-transform:uppercase;letter-spacing:2px;font-size:10px;font-weight:750;color:var(--muted)}.shell{max-width:1160px;min-height:100vh;margin:auto;display:grid;grid-template-columns:210px 1fr}.sidebar{padding:40px 25px;border-right:1px solid var(--line);display:flex;flex-direction:column;gap:45px;position:sticky;top:0;height:100vh}.brand{display:flex;align-items:center;gap:10px;font-size:26px;font-weight:750;letter-spacing:-1px}.brand svg{width:28px;height:28px}.brand span{font-size:10px;margin-top:7px;letter-spacing:1px;color:var(--muted)}.nav{display:grid;gap:8px}.nav button{display:flex;align-items:center;gap:12px;padding:13px 14px;border-radius:13px;color:var(--muted);font-size:13px;text-align:left;font-weight:550;transition:.2s}.nav button.active{background:var(--text);color:var(--inverse)}svg{width:20px;height:20px;stroke:currentColor;stroke-width:1.7;fill:none;stroke-linecap:round;stroke-linejoin:round;flex-shrink:0}.side-foot{margin-top:auto;display:grid;gap:15px}.profile{display:flex;gap:10px;align-items:center}.avatar{display:grid;place-items:center;width:36px;height:36px;background:var(--soft);border:1px solid var(--line);border-radius:50%;font-weight:600;font-size:13px}.main{padding:38px 44px 60px;min-width:0}.topbar{display:flex;align-items:center;justify-content:space-between;margin-bottom:36px;gap:10px}.status{display:flex;align-items:center;gap:6px;font-size:11px;color:var(--muted)}.dot{width:6px;height:6px;background:#8b8b90;border-radius:50%}.dot.online{background:var(--text)}.icon-btn{width:38px;height:38px;border:1px solid var(--line);border-radius:12px;display:grid;place-items:center;background:var(--surface)}.actions{display:flex;gap:8px;align-items:center}.greeting{margin-bottom:24px}.greeting p{margin-top:8px;font-size:13px;color:var(--muted);line-height:1.6}.card{background:var(--surface);border:1px solid var(--line);border-radius:23px;padding:24px;box-shadow:var(--shadow)}.level-card{min-height:342px;display:flex;align-items:center;justify-content:center;flex-direction:column;position:relative;overflow:hidden}.level-card:after{content:'✧';position:absolute;right:32px;top:25px;font-size:25px;color:var(--line)}.prestige-pill{display:inline-flex;gap:7px;align-items:center;padding:7px 12px;border:1px solid var(--line);border-radius:50px;font-size:10px;letter-spacing:1.2px;text-transform:uppercase;font-weight:700}.star-number{font-size:94px;line-height:1.2;letter-spacing:-6px;font-weight:650;margin:20px 0 3px;display:flex;align-items:center;gap:14px}.star-number .symbol{font-size:58px;letter-spacing:0}.star-caption{font-size:12px;color:var(--muted)}.progress-area{width:min(290px,85%);margin-top:28px}.progress-label{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:var(--muted);margin-bottom:10px}.track{height:5px;background:var(--soft);border-radius:9px;overflow:hidden}.fill{height:100%;background:var(--text);border-radius:9px;transition:width 1s}.grid-two{display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-top:16px}.stat{display:flex;align-items:center;gap:16px}.stat .icon-box{width:42px;height:42px;background:var(--soft);border-radius:13px;display:grid;place-items:center}.stat strong{display:block;font-size:22px;margin-bottom:3px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:29px 0 15px}.text-link{font-size:12px;color:var(--muted);padding:8px}.walk-banner{display:flex;gap:15px;align-items:center;padding:21px 23px}.walk-banner p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}.walk-banner .arrow{margin-left:auto}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:48px;background:var(--accent);color:var(--inverse);border-radius:15px;padding:13px 20px;font-size:13px;font-weight:650}.btn.secondary{background:var(--soft);color:var(--text)}.btn.danger{background:var(--red);color:#fff}.btn.full{width:100%}.row{display:flex;align-items:center;gap:12px}.spread{justify-content:space-between}.history-row{padding:15px 0;border-bottom:1px solid var(--line)}.history-row:last-child{border:0}.history-row strong{font-size:14px}.history-row .delta{margin-left:auto;font-size:16px;font-weight:600}.empty{text-align:center;color:var(--muted);font-size:13px;padding:32px 16px;line-height:1.8}.page{animation:appear .3s ease both}@keyframes appear{from{opacity:0;transform:translateY(7px)}to{opacity:1;transform:translateY(0)}}.timer-card{text-align:center;padding:35px 24px}.timer-ring{width:245px;height:245px;position:relative;margin:28px auto 30px;display:grid;place-items:center}.timer-ring>svg{position:absolute;width:100%;height:100%;transform:rotate(-90deg)}.timer-ring circle{stroke-width:3;stroke:var(--line)}.timer-ring .arc{stroke:var(--gold);stroke-dasharray:691;stroke-dashoffset:691;transition:stroke-dashoffset 1s linear}.time{font-size:44px;font-variant-numeric:tabular-nums;letter-spacing:-2px;font-weight:550}.earned{color:var(--gold);font-size:12px;margin-top:10px}.hint{background:var(--soft);border-radius:14px;padding:14px;font-size:12px;line-height:1.7;color:var(--muted);margin-top:20px}.ranking{position:relative}.rank-row{height:77px;display:flex;align-items:center;gap:13px;border-bottom:1px solid var(--line);padding:0 15px;transition:background .2s}.rank-row.self{background:var(--soft);border-radius:14px;border-color:transparent}.place{width:18px;font-size:12px;color:var(--muted)}.rank-score{margin-left:auto;font-weight:650;font-size:20px;letter-spacing:-.5px}.badge{font-size:9px;background:var(--soft);padding:3px 6px;border-radius:5px;color:var(--muted);margin-left:5px}.task-card{margin-bottom:12px}.task-card h3{line-height:1.5}.task-meta{margin:10px 0 17px;font-size:11px;color:var(--muted);line-height:1.8}.task-card.failed{border-color:var(--red)}.red{color:var(--red)}.gold{color:var(--gold)}.form{display:grid;gap:16px}.form .row>*{flex:1}.admin-user{border-top:1px solid var(--line);padding:17px 0;display:grid;gap:12px}.admin-user:first-child{border:0}.admin-user .row input{min-width:0}.admin-user .row .btn{flex-shrink:0}.admin-user input[type=number]{width:90px}.admin-user select{max-width:170px}.login{max-width:420px;margin:0 auto;padding:65px 25px}.login .brand{justify-content:center;margin-bottom:52px}.login h1{text-align:center}.login>p{text-align:center;margin:15px 0 30px;line-height:1.7;font-size:13px;color:var(--muted)}.login .card{padding:25px}.login .switch{margin-top:18px;text-align:center}.error{color:var(--red);font-size:12px;line-height:1.6}.notice{padding:13px 16px;border-radius:13px;background:var(--soft);color:var(--muted);font-size:12px;margin-bottom:16px;line-height:1.6}.toast{position:fixed;bottom:100px;left:50%;transform:translateX(-50%);max-width:90vw;min-width:230px;z-index:100;background:var(--text);color:var(--inverse);padding:16px 22px;border-radius:18px;box-shadow:0 14px 60px #0003;text-align:center;font-size:13px;animation:appear .3s ease}.toast.milestone{font-size:22px;color:#edcb83;padding:22px 35px}.settings{margin-bottom:20px}.settings .form{margin-top:20px}.prestige-preview{display:flex;gap:12px;align-items:center;justify-content:center;margin-top:24px;font-size:12px;color:var(--muted)}.rainbow{background:linear-gradient(90deg,#e36464,#dfac42,#72b873,#68c8d2,#9b89de,#da84ba);background-clip:text;-webkit-text-fill-color:transparent}.mobile-brand{display:none}.footer-note{text-align:center;font-size:10px;letter-spacing:.4px;color:var(--muted);margin-top:25px}body:not(.dark) .level-card{background:#fff}.notification{padding:12px 0;border-bottom:1px solid var(--line)}.notification p{font-size:12px;color:var(--muted);margin-top:5px;line-height:1.6}@media(min-width:1000px){.main{max-width:840px}}@media(max-width:700px){.shell{display:block}.sidebar{position:fixed;bottom:0;top:auto;height:auto;width:100%;z-index:10;border:0;border-top:1px solid var(--line);padding:9px 5px max(10px,env(safe-area-inset-bottom));background:var(--surface);gap:0}.sidebar>.brand,.side-foot{display:none}.nav{display:flex;justify-content:space-around;gap:0}.nav button{flex:1;display:flex;flex-direction:column;justify-content:center;gap:6px;padding:9px 2px;font-size:9px;border-radius:12px}.nav button.active{background:var(--soft);color:var(--text)}.nav svg{width:21px;height:21px}.main{padding:23px 20px 110px}.topbar{margin-bottom:27px}.mobile-brand{display:flex;font-size:23px}.topbar>.eyebrow{display:none}.status{font-size:10px}.topbar .icon-btn{width:32px;height:32px;border-radius:10px}.topbar .actions{gap:6px}h1{font-size:28px}.greeting{margin-bottom:21px}.level-card{min-height:325px}.card{padding:21px}.grid-two{gap:11px}.stat{gap:11px;padding:17px 13px}.stat .icon-box{width:34px;height:34px}.stat strong{font-size:20px}.stat .small{font-size:10px}.star-number{font-size:91px}.rank-row{padding:0 8px}.timer-ring{width:235px;height:235px}.admin-user .row{flex-wrap:wrap}.admin-user .row input{flex:1}.login{padding-top:40px}.login .brand{margin-bottom:40px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}

.gradient-score{background-clip:text;-webkit-text-fill-color:transparent}.toast{animation:toast-in .3s ease both}@keyframes toast-in{from{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%,0)}}

[hidden]{display:none!important}.update-card{display:flex;gap:18px;align-items:center;justify-content:space-between;margin-bottom:20px}.update-card p{white-space:pre-wrap}textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--border);border-radius:12px;padding:14px;min-height:85px}a{color:inherit}@media(max-width:600px){.update-card{align-items:stretch;flex-direction:column}}
