:root{color-scheme:dark;font-family:Segoe UI,Microsoft YaHei,system-ui,sans-serif}*{box-sizing:border-box;margin:0}body{background:transparent;overflow:hidden;height:100vh;touch-action:manipulation}.window{position:fixed;width:284px;background:#1e2430;color:#e6e9ef;border:1px solid #333c4d;border-radius:12px;box-shadow:0 8px 28px #00000073;overflow:hidden}.bar{display:flex;align-items:center;gap:8px;height:52px;padding:0 12px;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none}.bar:active{cursor:grabbing}.bar :is(.dot,.label,.time){pointer-events:none}.dot{width:9px;height:9px;border-radius:50%;flex:none}.dot.gray{background:#6b7385}.dot.green{background:#4cc38a;box-shadow:0 0 8px #4cc38a66}.dot.yellow{background:#f5b747;box-shadow:0 0 8px #f5b74766}.dot.amber{background:#ff9f43;box-shadow:0 0 10px #ff9f4399;animation:pulse 1s infinite}.dot.blue{background:#5aa9ff;box-shadow:0 0 8px #5aa9ff66}.dot.cyan{background:#56d4dd;box-shadow:0 0 10px #56d4dd99;animation:pulse 1s infinite}@keyframes pulse{50%{opacity:.35}}.label{font-size:13px;color:#aab3c5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.label em{font-style:normal;color:#7f8aa3;margin-left:4px;font-size:12px}.time{margin-left:auto;font-size:21px;font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.5px}.btn{font:inherit;border:none;border-radius:8px;cursor:pointer;color:#e6e9ef;background:#2b3444;transition:background .15s}.btn:hover{background:#38445a}.btn.icon{flex:none;width:30px;height:30px;font-size:13px;line-height:1}.btn.icon.active{background:#3d4c66}.btn.primary{width:100%;padding:10px 0;font-size:14px;font-weight:600;background:#2f7d55}.btn.primary:hover{background:#358c5f}.btn.ghost{width:100%;padding:7px 0;font-size:12.5px;background:transparent;color:#aab3c5;border:1px solid #3a4457}.btn.ghost:hover{background:#2b3444;color:#e6e9ef}.panel{border-top:1px solid #2c3547;padding:12px;display:flex;flex-direction:column;gap:8px}.prompt-title{font-size:15px;font-weight:600}.prompt-desc{font-size:12.5px;color:#8d97ab;margin-bottom:4px}.field{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12.5px;color:#aab3c5}.field input[type=number]{width:84px;padding:5px 8px;font:inherit;font-size:13px;color:#e6e9ef;background:#27303f;border:1px solid #3a4457;border-radius:8px;outline:none}.field input[type=number]:focus,.field input[type=text]:focus{border-color:#4c7fb0}.field input[type=text]{width:120px;padding:5px 8px;font:inherit;font-size:13px;color:#e6e9ef;background:#27303f;border:1px solid #3a4457;border-radius:8px;outline:none}.field.row{justify-content:flex-start;gap:8px}.field.row input{accent-color:#2f7d55}.settings-foot{display:flex;gap:8px}.settings-foot .btn{flex:1;width:auto}@keyframes shake{0%,to{transform:translate(0)}20%{transform:translate(-6px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(4px)}}.panel.shake{animation:shake .45s ease}.reward-banner{padding:8px 10px;font-size:12.5px;color:#8fe2b8;background:#24352c;border:1px solid #2f7d55;border-radius:8px}.btn.ghost.skip,.btn.ghost.exit{color:#7f8aa3}.btn.ghost.exit:hover{background:#2b3444;color:#ff9f9f}.restore-fab{position:fixed;right:16px;bottom:16px;padding:8px 14px;font:inherit;font-size:12.5px;color:#aab3c5;background:#1e2430e6;border:1px solid #333c4d;border-radius:999px;cursor:pointer}.restore-fab:hover{color:#e6e9ef;border-color:#4a566b}.stats-grid{display:flex;gap:8px}.stat{flex:1;display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 0 6px;background:#222a38;border-radius:8px}.stat b{font-size:20px;font-weight:600;color:#e6e9ef;font-variant-numeric:tabular-nums}.stat span{font-size:11px;color:#7f8aa3}.stats-title{font-size:12.5px;color:#aab3c5;text-align:center}.heatmap{display:flex;gap:3px}.hm-col{flex:1;display:flex;flex-direction:column;gap:3px}.hm-cell{aspect-ratio:1;border-radius:2.5px;background:#2a3342}.hm-cell.l1{background:#1e5a3c}.hm-cell.l2{background:#2f9a63}.hm-cell.l3{background:#4cd389}.hm-cell.l4{background:#8ef0b8}.hm-cell.future{background:transparent;border:1px solid #262e3d}.hm-axis{display:flex;justify-content:space-between;font-size:11px;color:#7f8aa3}.reward{display:flex;flex-direction:column;gap:6px}.reward-line{display:flex;justify-content:space-between;font-size:12.5px;color:#aab3c5}.reward-line span:first-child{color:#e6e9ef;font-variant-numeric:tabular-nums}.reward-bar{height:6px;border-radius:3px;background:#27303f;overflow:hidden}.reward-fill{height:100%;border-radius:3px;background:#4cc38a;transition:width .3s ease}.reward-done{font-size:13px;color:#8fe2b8;text-align:center}.reward-claimed{font-size:11px;color:#7f8aa3;text-align:center}
