:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;font-family:system-ui,sans-serif}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}body{margin:0}.header{z-index:10;background:canvas;border-bottom:1px solid #8884;align-items:center;gap:16px;height:52px;padding:0 16px;display:flex;position:sticky;top:0}.header a{color:inherit;white-space:nowrap;text-decoration:none}.header .brand{font-weight:700}.appmenu{flex:1;position:relative}.appmenu .trigger{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #8884;border-radius:8px;padding:6px 12px}.appmenu .popover{background:canvas;border:1px solid #8886;border-radius:10px;width:min(320px,100vw - 32px);padding:8px;position:absolute;top:calc(100% + 6px);left:0;box-shadow:0 8px 24px #0003}.appmenu .popover input{box-sizing:border-box;width:100%;font:inherit;margin-bottom:6px;padding:8px}.appmenu .popover ul{max-height:50vh;margin:0;padding:0;list-style:none;overflow-y:auto}.appmenu .popover li{cursor:pointer;border-radius:6px;padding:8px 10px}.appmenu .popover li.active{background:#8883}.appmenu .popover li[aria-selected=true]{font-weight:600}.appmenu .popover li small{opacity:.6;margin-left:4px}.appmenu .popover li.empty{cursor:default;opacity:.6}.user{align-items:center;gap:8px;font-size:14px;display:flex}@media (width<=700px){.header{gap:8px}.user span{display:none}.appmenu{min-width:0;position:static}.appmenu .popover{width:auto;left:16px;right:16px}.appmenu .popover ul{max-height:calc(100dvh - 140px)}}main{max-width:1000px;margin:0 auto;padding:24px}.grid{grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:16px;display:grid}.card{color:inherit;border:1px solid #8884;border-radius:12px;flex-direction:column;gap:4px;padding:20px;text-decoration:none;display:flex}.card .icon{font-size:32px}.login{flex-direction:column;gap:10px;max-width:320px;margin:15vh auto;padding:0 16px;display:flex}.login input,.login button,.user button{font:inherit;padding:8px 12px}.login .link{cursor:pointer;background:0 0;border:none;text-decoration:underline}.error pre{white-space:pre-wrap}.notes textarea,.notes input{font:inherit;padding:8px}.notes form{gap:8px;margin-bottom:16px;display:flex}.notes form input{flex:1}.notes ul{gap:8px;padding:0;list-style:none;display:grid}.notes li{border:1px solid #8884;border-radius:8px;justify-content:space-between;padding:10px 12px;display:flex}.links form{gap:8px;margin-bottom:16px;display:grid}.links input,.links button{font:inherit;padding:8px}.links .tags{flex-wrap:wrap;gap:6px;margin-bottom:16px;display:flex}.links .tags .active{font-weight:700;text-decoration:underline}.links ul{gap:8px;padding:0;list-style:none;display:grid}.links li{border:1px solid #8884;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.links li div{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.monitor form{gap:8px;margin-bottom:16px;display:grid}.monitor input,.monitor select,.monitor button{font:inherit;padding:8px}.monitor ul{gap:8px;padding:0;list-style:none;display:grid}.monitor li{border:1px solid #8884;border-radius:8px;align-items:center;gap:12px;padding:10px 12px;display:flex}.monitor li div{overflow-wrap:anywhere;flex-direction:column;flex:1;min-width:0;display:flex}.monitor .dot{background:#888;border-radius:50%;flex:none;width:12px;height:12px}.monitor .dot.up{background:#2ea043}.monitor .dot.down{background:#d1242f}.about{grid-template-columns:200px 1fr;gap:16px;display:grid}.about aside ul{gap:4px;margin:8px 0 0;padding:0;list-style:none;display:grid}.about aside button{font:inherit;text-align:left;width:100%;padding:6px 8px}.about aside button.active{font-weight:700}.about .toolbar{align-items:center;gap:8px;margin-bottom:12px;display:flex}.about .toolbar button{font:inherit;padding:6px 10px}.about .status{opacity:.6;margin-left:auto;font-size:.85em}.about .panes{gap:16px;display:grid}.about .panes.split{grid-template-columns:1fr 1fr}.about textarea{resize:vertical;min-height:60vh;padding:10px;font:14px/1.5 ui-monospace,monospace}.about .preview{overflow-wrap:anywhere;min-width:0}.about .preview pre{border:1px solid #8884;border-radius:8px;padding:10px;overflow-x:auto}.about .preview code{background:#8882;border-radius:4px;padding:1px 4px}.about .preview pre code{background:0 0;padding:0}.about .preview blockquote{opacity:.85;border-left:3px solid #8886;margin:8px 0;padding-left:12px}.about .preview a.missing{opacity:.6;text-decoration-style:dashed}@media (width<=700px){.about,.about .panes.split{grid-template-columns:1fr}}.wow form{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.wow form input:not([type=checkbox]){flex:1;min-width:160px}.wow input,.wow select,.wow button{font:inherit;padding:8px}.wow form label{align-items:center;gap:4px;display:flex}.wow .chars{grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;padding:0;list-style:none;display:grid}.wow .chars li{border:1px solid #8884;border-left-width:4px;border-radius:12px;align-items:center;gap:8px;padding:10px 12px;display:flex}.wow .chars a{min-width:0;color:inherit;flex:1;align-items:center;gap:12px;text-decoration:none;display:flex}.wow .chars a div{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.wow .chars img,.wow .chars .avatar{background:#8882;border-radius:8px;flex:none;width:56px;height:56px}.wow .chars li[draggable=true]{cursor:grab}.wow .chars li.dragging{opacity:.4}.wow .chars .game{font-weight:600}.wow .chars .move{max-width:110px;display:none}@media (pointer:coarse){.wow .chars .move{display:block}}.wow .group{border:1px dashed #8885;border-radius:14px;margin:0 0 16px;padding:8px 12px 12px}.wow .group.over{background:#8881;border-style:solid;border-color:currentColor}.wow .group h2{margin:4px 0 8px;font-size:1.1em}.wow .group h2 small{opacity:.6;font-weight:400}.wow .group .chars{margin:0}.wow .group .empty{opacity:.6;margin:4px 0}.wow .group-head{align-items:center;gap:6px;display:flex}.wow .group-head h2{cursor:text;flex:1}.wow .group-head input{flex:1;margin:4px 0 8px;font-size:1.1em;font-weight:700}.wow .group-head button{color:inherit;cursor:pointer;opacity:.7;background:0 0;border:none}.wow .hero{border:1px solid #8884;border-left-width:6px;border-radius:12px;align-items:center;gap:16px;padding:12px 16px;display:flex;overflow:hidden}.wow .hero>img:first-child{border-radius:10px;flex:none;width:84px;height:84px}.wow .hero div{flex:1;min-width:0}.wow .hero h1{text-transform:capitalize;margin:0 0 4px}.wow .hero p{margin:2px 0}.wow .hero .render{object-fit:cover;object-position:center 20%;flex:none;width:220px;height:160px;margin:-12px -16px -12px 0}.wow .extlinks{flex-wrap:wrap;gap:8px;margin:12px 0;display:flex}.wow .extlinks a{color:inherit;border:1px solid #8884;border-radius:8px;padding:6px 10px;text-decoration:none}.wow .tabs{border-bottom:1px solid #8884;gap:4px;margin-bottom:12px;display:flex;overflow-x:auto}.wow .tabs button{color:inherit;cursor:pointer;background:0 0;border:none;border-bottom:2px solid #0000}.wow .tabs button.active{border-bottom-color:currentColor;font-weight:700}.wow table{border-collapse:collapse;width:100%}.wow th,.wow td{text-align:left;border-bottom:1px solid #8883;padding:6px 8px}.wow .list{gap:8px;padding:0;list-style:none;display:grid}.wow .list li{border:1px solid #8884;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:8px 12px;display:flex}.wow .list li.done{opacity:.6}.wow .list li label{align-items:center;gap:8px;display:flex}.wow .list li div{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.wow .list small{opacity:.7}.wow .search{box-sizing:border-box;width:100%;margin-bottom:8px}.wow .matches{margin-bottom:16px}.wow .spark{margin:0 0 16px}.wow .spark svg{border:1px solid #8883;border-radius:8px;width:100%;height:60px;display:block}@media (width<=700px){.wow .hero .render{display:none}}.todo .stats{flex-wrap:wrap;gap:20px;margin:16px 0 20px;display:flex}.todo .stat{flex-direction:column;gap:4px;min-width:120px;display:flex}.todo .stat .big{font-size:22px;font-weight:700}.todo .stat small{opacity:.6}.todo .stat.level{min-width:180px}.todo .badge{color:#1a1a1a;background:linear-gradient(135deg,#f6b93b,#e58e26);border-radius:999px;align-self:flex-start;padding:2px 10px;font-weight:700}.todo .bar{background:#8883;border-radius:999px;height:8px;overflow:hidden}.todo .bar .fill{background:linear-gradient(90deg,#38ada9,#78e08f);height:100%;transition:width .3s}.todo .tabs{border-bottom:1px solid #8884;gap:8px;margin-bottom:16px;display:flex}.todo .tabs button{font:inherit;color:inherit;cursor:pointer;opacity:.6;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 14px}.todo .tabs button.active{opacity:1;border-bottom-color:currentColor;font-weight:700}.todo form{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.todo form input,.todo form select,.todo form button{font:inherit;padding:8px}.todo form input[placeholder=Neue\ Quest…],.todo form input[placeholder=Neue\ Belohnung…]{flex:1;min-width:160px}.todo ul.quests,.todo ul.rewards,.todo ul.history{gap:8px;margin:0;padding:0;list-style:none;display:grid}.todo ul.quests li,.todo ul.rewards li,.todo ul.history li{border:1px solid #8884;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.todo ul.quests li label{overflow-wrap:anywhere;align-items:center;gap:10px;min-width:0;display:flex}.todo ul.quests.done li span{opacity:.6;text-decoration:line-through}.todo .right{white-space:nowrap;align-items:center;gap:8px;display:flex}.todo .points{opacity:.8;font-weight:700}.todo .due{background:#8882;border-radius:999px;padding:2px 8px;font-size:13px}.todo .due.overdue{color:#d03b3b;background:#e5505033;font-weight:600}.todo .due.today{background:#f6b93b44;font-weight:600}.todo li.empty{opacity:.6;border-style:dashed;justify-content:center}.todo details{margin-top:16px}.todo details summary{cursor:pointer;opacity:.8;margin-bottom:8px}.todo .toast{color:#fff;background:#222;border-radius:999px;padding:10px 18px;font-weight:600;animation:.2s todo-toast;position:fixed;bottom:24px;left:50%;transform:translate(-50%);box-shadow:0 8px 24px #0004}@keyframes todo-toast{0%{opacity:0;transform:translate(-50%,10px)}to{opacity:1;transform:translate(-50%)}}.clock .tabs{border-bottom:1px solid #8884;gap:8px;margin-bottom:16px;display:flex}.clock .tabs button{font:inherit;color:inherit;cursor:pointer;opacity:.6;font-variant-numeric:tabular-nums;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 14px}.clock .tabs button.active{opacity:1;border-bottom-color:currentColor;font-weight:700}.clock button,.clock input{font:inherit;padding:8px 12px}.clock .face{flex-direction:column;align-items:center;gap:16px;padding:32px 0;display:flex}.clock .time{font-variant-numeric:tabular-nums;font-size:clamp(56px,16vw,120px);font-weight:700;line-height:1}.clock .time .sec{opacity:.5;font-size:.4em}.clock .date{opacity:.7;font-size:18px}.clock .bar{background:#8883;border-radius:999px;width:min(400px,100%);height:8px;overflow:hidden}.clock .bar .fill{background:linear-gradient(90deg,#4a69bd,#6a89cc);height:100%;transition:width .25s linear}.clock .duration{gap:16px;display:flex}.clock .duration label{align-items:center;gap:6px;display:flex}.clock .duration input{width:80px}.clock .presets,.clock .controls{flex-wrap:wrap;justify-content:center;gap:8px;display:flex}.clock .primary{min-width:120px;font-weight:700}.clock .alarm-form{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.clock .alarm-form input:not([type=time]){flex:1;min-width:160px}.clock .days{flex-wrap:wrap;gap:4px;display:flex}.clock .days button{color:inherit;cursor:pointer;background:0 0;border:1px solid #8886;border-radius:8px;padding:8px 10px}.clock .days button.on{color:#fff;background:#4a69bd;border-color:#4a69bd}.clock ul.alarms{gap:8px;margin:0;padding:0;list-style:none;display:grid}.clock ul.alarms li{border:1px solid #8884;border-radius:8px;justify-content:space-between;align-items:center;gap:12px;padding:10px 12px;display:flex}.clock ul.alarms li>div:first-child{overflow-wrap:anywhere;flex-direction:column;min-width:0;display:flex}.clock ul.alarms li.off{opacity:.5}.clock ul.alarms li.empty{opacity:.6;border-style:dashed;justify-content:center}.clock .alarm-time{font-variant-numeric:tabular-nums;font-size:28px;font-weight:700}.clock .right{white-space:nowrap;align-items:center;gap:8px;display:flex}.clock .switch{cursor:pointer;align-items:center;gap:4px;display:flex}.clock .hint,.clock .snooze{opacity:.7;font-size:14px}.clock .ringing{z-index:20;background:#0008;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.clock .ringing .box{text-align:center;background:canvas;border-radius:16px;flex-direction:column;align-items:center;gap:16px;padding:28px 32px;display:flex;box-shadow:0 12px 40px #0006}.clock .ringing .bell{font-size:56px;animation:.4s ease-in-out infinite alternate clock-ring}@keyframes clock-ring{0%{transform:rotate(-15deg)}to{transform:rotate(15deg)}}.receipts{--cat-1:#2a78d6;--cat-2:#eb6834;--cat-3:#1baf7a;--cat-4:#eda100;--cat-5:#e87ba4;--cat-6:#008300}@media (prefers-color-scheme:dark){.receipts{--cat-1:#3987e5;--cat-2:#d95926;--cat-3:#199e70;--cat-4:#c98500;--cat-5:#d55181;--cat-6:#008300}}.receipts .tabs{border-bottom:1px solid #8884;gap:8px;margin-bottom:16px;display:flex}.receipts .tabs button{font:inherit;color:inherit;cursor:pointer;opacity:.6;background:0 0;border:none;border-bottom:2px solid #0000;padding:8px 14px}.receipts .tabs button.active{opacity:1;border-bottom-color:currentColor;font-weight:700}.receipts p.empty{opacity:.6;text-align:center;border:1px dashed #8886;border-radius:12px;padding:24px}.receipts .scan-drop{cursor:pointer;text-align:center;border:1px dashed #8886;border-radius:12px;flex-direction:column;align-items:center;gap:8px;padding:48px 24px;display:flex}.receipts .scan-drop .icon{font-size:40px}.receipts .manual-hint{text-align:center;opacity:.8;margin-top:12px}.receipts button.link{font:inherit;cursor:pointer;color:inherit;background:0 0;border:none;padding:0;text-decoration:underline}.receipts .scanning{flex-direction:column;align-items:center;gap:12px;padding:24px 0;display:flex}.receipts .preview{object-fit:contain;border:1px solid #8884;border-radius:8px;max-width:220px;max-height:280px}.receipts .scanning .bar{background:#8883;border-radius:999px;width:min(320px,100%);height:8px;overflow:hidden}.receipts .scanning .bar .fill{background:linear-gradient(90deg,#4a69bd,#6a89cc);height:100%;transition:width .2s linear}.receipts .receipt-form{margin-top:8px}.receipts .review-head{flex-wrap:wrap;align-items:flex-start;gap:16px;margin-bottom:16px;display:flex}.receipts .review-head .fields{flex-direction:column;flex:1;gap:8px;min-width:200px;display:flex}.receipts .review-head label{opacity:.8;flex-direction:column;gap:4px;font-size:14px;display:flex}.receipts .review-head input{font:inherit;padding:8px}.receipts .table-wrap{margin-bottom:12px;overflow-x:auto}table.review{border-collapse:collapse;width:100%;min-width:640px}table.review th,table.review td{text-align:left;border-bottom:1px solid #8883;padding:6px 8px}table.review input,table.review select{font:inherit;box-sizing:border-box;width:100%;padding:6px}table.review input[type=number]{min-width:80px}.receipts .review-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin-bottom:16px;display:flex}.receipts .review-footer .total{font-weight:700}.receipts .actions{justify-content:flex-end;gap:8px;display:flex}.receipts button,.receipts .actions button{font:inherit;padding:8px 14px}.receipts ul.receipt-list{gap:8px;margin:0;padding:0;list-style:none;display:grid}.receipts ul.receipt-list>li{border:1px solid #8884;border-radius:8px;padding:4px 12px}.receipts ul.receipt-list summary{cursor:pointer;justify-content:space-between;gap:12px;padding:8px 0;display:flex}.receipts ul.items{gap:6px;margin:8px 0;padding:0;list-style:none;display:grid}.receipts ul.items li{border-top:1px solid #8882;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;padding:6px 0;display:flex}.receipts ul.items li .name{overflow-wrap:anywhere;flex:1;min-width:120px}.receipts ul.items li .qty{opacity:.7;white-space:nowrap;font-size:14px}.receipts .receipt-actions{gap:8px;margin:4px 0 8px;display:flex}.receipts .remove-receipt{margin:4px 0 8px}.receipts .stats{flex-wrap:wrap;gap:20px;margin:16px 0 20px;display:flex}.receipts .stat{flex-direction:column;gap:4px;min-width:120px;display:flex}.receipts .stat .big{font-size:22px;font-weight:700}.receipts .stat small{opacity:.6}.receipts ul.tips{gap:8px;margin:0 0 20px;padding:0;list-style:none;display:grid}.receipts ul.tips li{border:1px solid #8884;border-left:3px solid #8886;border-radius:8px;align-items:flex-start;gap:10px;padding:10px 12px;display:flex}.receipts ul.tips li.positive{border-left-color:#2ea043}.receipts ul.tips li.negative{border-left-color:#d1242f}.receipts .chart{margin:0 0 24px}.receipts .chart figcaption,.receipts .chart h3{opacity:.7;margin:0 0 10px;font-size:.9em;font-weight:600}.receipts .chart-months svg{width:100%;height:auto;display:block;overflow:visible}.receipts .chart-months .bar{fill:currentColor;opacity:.85}.receipts .chart-months .value{fill:currentColor;font-size:9px}.receipts .chart-months .axis-label{fill:currentColor;opacity:.6;font-size:9px}.receipts .chart-months .baseline{stroke:currentColor;opacity:.2;stroke-width:1px}.receipts ul.cat-bars{gap:8px;margin:0;padding:0;list-style:none;display:grid}.receipts ul.cat-bars li{grid-template-columns:150px 1fr auto;align-items:center;gap:10px;display:grid}.receipts .cat-track{background:#8882;border-radius:0 4px 4px 0;height:20px;overflow:hidden}.receipts .cat-fill{border-radius:0 4px 4px 0;height:100%;display:block}.receipts .cat-value{font-variant-numeric:tabular-nums;white-space:nowrap;text-align:right}.receipts ul.stores{gap:6px;margin:0;padding:0;list-style:none;display:grid}.receipts ul.stores li{border-bottom:1px solid #8882;justify-content:space-between;padding:6px 0;display:flex}@media (width<=700px){.receipts ul.cat-bars li{grid-template-columns:110px 1fr auto;font-size:14px}}.asteroids{flex-direction:column;align-items:center;gap:16px;display:flex}.asteroids .title-screen{text-align:center;flex-direction:column;align-items:center;gap:16px;width:100%;padding:48px 16px;display:flex;position:relative}.asteroids .title-screen h1{letter-spacing:2px;text-transform:uppercase;text-shadow:0 0 12px #6ae36a88;margin:0;font-size:clamp(32px,8vw,64px);line-height:1.1}.asteroids .title-screen .hint{opacity:.8}.asteroids .title-screen .highscore{font-weight:700}.asteroids .title-screen .controls-hint{opacity:.6;font-size:14px}.asteroids button.start{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #8884;border-radius:8px;padding:12px 32px;font-size:20px;font-weight:700}.asteroids button.mute{cursor:pointer;background:0 0;border:1px solid #8884;border-radius:8px;padding:6px 10px;font-size:18px;position:absolute;top:0;right:16px}.asteroids .game{flex-direction:column;align-items:center;gap:12px;width:100%;display:flex}.asteroids .hud{font-variant-numeric:tabular-nums;gap:20px;font-weight:600;display:flex}.asteroids canvas{touch-action:none;background:#05050f;border:1px solid #8884;border-radius:8px;width:min(480px,100%);height:auto}.asteroids .touch-controls{gap:16px;display:flex}.asteroids .touch-controls button{color:inherit;cursor:pointer;touch-action:none;-webkit-user-select:none;user-select:none;background:0 0;border:1px solid #8884;border-radius:8px;padding:12px 20px;font-size:24px}.asteroids .game-over{text-align:center;flex-direction:column;align-items:center;gap:12px;padding:48px 16px;display:flex}.asteroids .game-over h1{margin:0;font-size:clamp(28px,7vw,48px)}.asteroids .game-over .new-record{font-weight:700}.asteroids .game-over .actions{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.asteroids .game-over .actions button{font:inherit;color:inherit;cursor:pointer;background:0 0;border:1px solid #8884;border-radius:8px;padding:10px 18px}
