@font-face{font-family:Outfit;src:url(/fonts/outfit-latin.woff2) format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}@font-face{font-family:Mulish;src:url(/fonts/mulish-latin.woff2) format("woff2-variations");font-weight:100 900;font-style:normal;font-display:swap}:root{--bg: radial-gradient(120% 70% at 50% 28%, #3b1e22 0%, #1d1a1d 55%, #18181b 100%);--bg-flat: #18181b;--text: #f7f5f5;--dim: #a1a1a1;--sheet: #27272b;--grab: #3a3a3f;--field: #34343a;--btn: #f3f1ec;--btn-text: #151514;--alt: #34343a;--alt-text: #f7f5f5;--accent: #ff6e6e;--on-accent: #151514;--link: #ffb0b0;--problem: #ffb0b0;--tick-edge: #8e8e93;--ring: rgba(255, 255, 255, .08);--arc: #c7c7cc;--ok: #4ade80;--wait: #fbbf24;--bad: #ef4444;--line: #34343a;--seg: #34343a;--seg-on: #636366;--seg-on-text: #ffffff;--scroll-thumb: rgba(255, 255, 255, .28);--float-shadow: 0 6px 18px rgba(0, 0, 0, .5);color-scheme:dark}:root[data-theme=light]{--bg: radial-gradient(120% 70% at 50% 28%, #f9d4cd 0%, #f4e3dc 55%, #f3f1ec 100%);--bg-flat: #f3f1ec;--text: #151514;--dim: #5c5a55;--sheet: #ffffff;--grab: #d6d1c6;--field: #f3f1ec;--btn: #151514;--btn-text: #f7f5f5;--alt: #ece8e0;--alt-text: #151514;--accent: #c62f35;--on-accent: #ffffff;--link: #a8232a;--problem: #a8232a;--tick-edge: #6b6964;--ring: rgba(0, 0, 0, .08);--arc: #6b6964;--ok: #15803d;--wait: #b45309;--bad: #c62f35;--line: #ece8e0;--seg: #ece8e0;--seg-on: #ffffff;--seg-on-text: #151514;--scroll-thumb: rgba(0, 0, 0, .25);--float-shadow: 0 6px 18px rgba(0, 0, 0, .18);color-scheme:light}*{box-sizing:border-box}html,body{margin:0;min-height:100dvh;background:var(--bg-flat)}body{background:var(--bg);background-attachment:fixed;color:var(--text);font:16px/1.4 Mulish,system-ui,sans-serif;-webkit-font-smoothing:antialiased}button,input{font:inherit;color:inherit}a{color:inherit}:focus-visible{outline:2px solid var(--link);outline-offset:2px}[data-heading]:focus{outline:none}[hidden]{display:none!important}.ic{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2;width:22px;height:22px;flex:none}.dim{color:var(--dim)}.page{position:relative;min-height:100dvh;max-width:480px;margin:0 auto;display:flex;flex-direction:column}.bar{height:48px;flex:none;display:flex;align-items:center;padding:env(safe-area-inset-top) 8px 0;box-sizing:content-box}.bar-side{width:64px;display:flex;align-items:center}.bar-side.right{justify-content:flex-end}.brand{flex:1;display:flex;align-items:center;justify-content:center;gap:7px;font:600 17px Outfit,system-ui,sans-serif}.logo{width:20px;height:auto;fill:currentColor}.icon-btn{width:44px;height:44px;border:0;border-radius:12px;background:transparent;display:flex;align-items:center;justify-content:center;cursor:pointer}.people{display:flex;align-items:center;gap:6px;padding-left:12px;font-weight:600;color:var(--dim)}.people .ic{width:18px;height:18px}.hero{flex:1;min-height:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:8px 24px 20px}.name{font:700 30px/1.2 Outfit,system-ui,sans-serif;overflow-wrap:anywhere;unicode-bidi:isolate;margin:0}.name.small{font-size:24px}.name.tiny{font:600 17px/1.3 Mulish,system-ui,sans-serif;margin-bottom:20px}.count{margin:6px 0 0}.narrow{max-width:300px;margin:6px 0 0}.invite-icon{width:72px;height:72px;stroke-width:1.5;color:var(--accent);margin-bottom:18px}.spinner{width:32px;height:32px;border-radius:50%;border:3px solid var(--ring);border-top-color:var(--arc);animation:spin 1s linear infinite;margin-bottom:12px}.sheet{background:var(--sheet);border-radius:28px 28px 0 0;padding:10px 20px calc(24px + env(safe-area-inset-bottom));display:flex;flex-direction:column;flex:none}.grab{width:36px;height:5px;border-radius:3px;background:var(--grab);margin:0 auto 18px}.h{margin:0;font:700 24px/1.2 Outfit,system-ui,sans-serif;letter-spacing:-.01em}.p{margin:6px 0 0;font-size:16px;color:var(--dim)}.actions{margin-top:18px}.form{display:flex;flex-direction:column;margin:0}.btn{display:flex;align-items:center;justify-content:center;gap:8px;height:54px;width:100%;border:0;border-radius:14px;background:var(--btn);color:var(--btn-text);font:700 17px Mulish,system-ui,sans-serif;text-decoration:none;cursor:pointer}.btn.alt{background:var(--alt);color:var(--alt-text)}.btn.dark{height:50px;background:#151514;color:#f7f5f5}.btn:disabled{opacity:.35;cursor:default}.btn .ic{width:20px;height:20px}.plain{display:flex;align-items:center;justify-content:center;gap:8px;height:46px;margin-top:12px;padding:0 16px;border:0;border-radius:12px;background:transparent;color:var(--text);font-weight:700;cursor:pointer}.plain .ic{width:18px;height:18px}.row-buttons{display:flex;gap:10px}.grow2{flex:2}.grow1{flex:1}.link{color:var(--link);font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-thickness:1px}.ticks{display:flex;flex-direction:column;gap:14px;margin:18px 0}.tick{display:flex;gap:12px;align-items:flex-start;font-size:15px;line-height:1.4;position:relative;cursor:pointer}.tick-input{position:absolute;opacity:0;width:24px;height:24px;margin:0}.tick-box{width:24px;height:24px;border-radius:7px;box-shadow:inset 0 0 0 2px var(--tick-edge);display:flex;align-items:center;justify-content:center;flex:none;color:transparent}.tick-box .ic{width:16px;height:16px;stroke-width:3}.tick-input:disabled+.tick-box,.tick-input:disabled~span{opacity:.6}.tick-input:checked+.tick-box{background:var(--accent);box-shadow:none;color:var(--on-accent)}.tick-input:focus-visible+.tick-box{outline:2px solid var(--link);outline-offset:2px}.field-wrap{margin:18px 0}.field{display:block;width:100%;height:52px;padding:0 16px;border:1.5px solid transparent;border-radius:12px;background:var(--field);color:var(--text);font-size:17px}.field[aria-invalid=true]{border-color:var(--problem)}.problem{margin:8px 0 0;color:var(--problem);font-size:15px;font-weight:600}.ring{position:relative;width:168px;height:168px;border-radius:50%;box-shadow:inset 0 0 0 6px var(--ring);display:flex;align-items:center;justify-content:center}.ring-icon{width:64px;height:64px;stroke-width:2.6;color:var(--arc)}.arc{position:absolute;top:0;right:0;bottom:0;left:0;border-radius:50%;background:conic-gradient(from 0deg,transparent 0deg,color-mix(in srgb,var(--arc) 15%,transparent) 120deg,var(--arc) 340deg,transparent 360deg);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 6px));mask:radial-gradient(farthest-side,transparent calc(100% - 6px),#000 calc(100% - 6px));animation:spin 1.6s linear infinite}.status-title{font:700 22px/1.25 Outfit,system-ui,sans-serif;margin:20px 0 0;max-width:320px}.keep-open{flex:none;display:flex;align-items:center;justify-content:center;gap:6px;margin:0;padding:0 24px 12px;font-size:14px}.keep-open .ic{width:14px;height:14px}.end{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 24px calc(40px + env(safe-area-inset-bottom))}.with-card .end{padding-bottom:calc(230px + env(safe-area-inset-bottom))}.end-icon{width:88px;height:88px;stroke-width:1.5;color:var(--accent)}.end-title{font:700 30px/1.2 Outfit,system-ui,sans-serif;margin:22px 0 0}.end-body{margin:8px 0 0;max-width:320px}.again{margin-top:28px;max-width:320px}.trial{position:absolute;left:14px;right:14px;bottom:calc(24px + env(safe-area-inset-bottom));padding:20px 20px 18px;border-radius:24px;background:#ff6e6e;color:#151514;box-shadow:0 18px 44px #0000008c;animation:rise .45s cubic-bezier(.2,.8,.2,1) both .3s}.trial .icon-btn{position:absolute;top:8px;right:8px;width:40px;height:40px;color:#151514}.trial .icon-btn .ic{width:20px;height:20px;stroke-width:2.4}.trial .icon-btn:focus-visible{outline-color:#151514}.trial-title{margin:0;padding-right:36px;font:800 24px/1.2 Outfit,system-ui,sans-serif;letter-spacing:-.01em}.trial-line{margin:4px 0 16px;font-weight:600}.page.party{height:100dvh}.party-body{flex:1;min-height:0;display:flex;flex-direction:column;padding:8px 24px 12px}.state{flex:none;display:flex;flex-direction:column;align-items:center;text-align:center;padding:4px 0 14px}.is-big .party-body{justify-content:center}.party-name{margin-bottom:12px}.state-ring{width:112px;height:112px;border-radius:50%;display:flex;align-items:center;justify-content:center}.state-ring.connected{box-shadow:inset 0 0 0 5px var(--ok);color:var(--ok)}.state-ring.paused{box-shadow:inset 0 0 0 5px var(--wait);color:var(--wait)}.state-icon{width:46px;height:46px;stroke-width:2.6}.state-ring.warn{box-shadow:inset 0 0 0 5px var(--wait);color:var(--wait)}.state-ring.error{box-shadow:inset 0 0 0 6px var(--bad);color:var(--bad);animation:alarm 1.6s ease-out infinite}.is-big .state-ring{width:168px;height:168px}.is-big .state-ring.paused{box-shadow:inset 0 0 0 6px var(--wait)}.is-big .state-icon{width:64px;height:64px}.has-problem .state-title{max-width:320px;font-size:22px;overflow-wrap:anywhere}.state-detail{max-width:300px;margin:4px auto 0;font-size:16px;line-height:1.4}.checked{display:flex;align-items:center;gap:6px;margin-top:8px;font-size:14px;font-variant-numeric:tabular-nums}.checked .ic{width:14px;height:14px;stroke-width:2.2}.state-title{margin:12px 0 0;font:700 24px/1.2 Outfit,system-ui,sans-serif}.timer{display:flex;align-items:center;gap:6px;margin-top:4px;font-size:15px;font-variant-numeric:tabular-nums}.timer .ic{width:15px;height:15px;stroke-width:2.2}.activity-wrap{position:relative;flex:1;min-height:0;display:flex;flex-direction:column}.activity{flex:1;min-height:0;overflow-y:auto;margin-right:-14px;padding-right:14px;scrollbar-width:thin;scrollbar-color:var(--scroll-thumb) transparent;-webkit-mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 40px),transparent 100%);mask-image:linear-gradient(to bottom,#000 0,#000 calc(100% - 40px),transparent 100%)}.is-scrolled .state{flex-direction:row;gap:12px;text-align:left;padding:4px 0 12px;border-bottom:1px solid var(--line)}.is-scrolled .party-name{display:none}.is-scrolled .state-ring{flex:none;width:36px;height:36px}.is-scrolled .state-ring.connected{box-shadow:inset 0 0 0 3px var(--ok)}.is-scrolled .state-ring.warn{box-shadow:inset 0 0 0 3px var(--wait)}.is-scrolled .state-detail,.is-scrolled .checked{display:none}.is-scrolled.has-problem .state-title{font-size:18px}.is-scrolled .state-icon{width:18px;height:18px;stroke-width:2.8}.is-scrolled .state-status{flex:1;min-width:0}.is-scrolled .state-title{margin:0;font-size:20px}.is-scrolled .timer{margin-top:0}.is-scrolled .activity{-webkit-mask-image:linear-gradient(to bottom,transparent 0,#000 36px,#000 calc(100% - 40px),transparent 100%);mask-image:linear-gradient(to bottom,transparent 0,#000 36px,#000 calc(100% - 40px),transparent 100%)}.page.party .sheet{position:relative;z-index:1}.back-top{position:absolute;right:0;bottom:8px;width:44px;height:44px;display:flex;align-items:center;justify-content:center;border:0;border-radius:50%;background:var(--btn);color:var(--btn-text);box-shadow:var(--float-shadow);cursor:pointer}.back-top .ic{width:20px;height:20px;stroke-width:2.4}.act-row{display:grid;grid-template-columns:18px 1fr auto 44px;column-gap:12px;align-items:center;min-height:46px;border-bottom:1px solid var(--line);font-size:17px}.act-row:last-child{border-bottom:0}.row-icon{width:18px;height:18px;stroke-width:2.2;color:var(--dim)}.row-icon.hot{color:var(--accent)}.was{font-size:15px}.row-devices{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-size:15px}.row-devices .ic{width:14px;height:14px;stroke-width:2.2}.problem-text{color:var(--problem);font-weight:600}.row-time{text-align:right;font-size:15px;font-variant-numeric:tabular-nums}.save-block{margin:-4px 0 14px}.save-row{border-bottom:0}.save-note{margin:0;font-size:14px;line-height:1.4}.set-row.static{cursor:default}.actions.stack{display:flex;flex-direction:column;gap:10px;margin-top:4px}.forget-row{display:flex;align-items:center;width:100%;min-height:56px;padding:0;border:0;background:transparent;color:var(--problem);font:inherit;font-size:17px;text-align:left;cursor:pointer}.forget-row.center{justify-content:center;margin-top:4px}.set-rows{margin:8px 0 14px}.set-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;padding:0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font:inherit;font-size:17px;text-align:left;cursor:pointer}.set-row:last-child{border-bottom:0}.set-row-label{flex:1}.set-row-value{color:var(--dim);font-size:16px}.set-row .ic{width:20px;height:20px;color:var(--tick-edge)}.set-label{margin:18px 0 8px;font-size:15px;font-weight:600}.seg{display:flex;padding:3px;border-radius:10px;background:var(--seg)}.seg-opt{flex:1;height:40px;border:0;border-radius:8px;background:transparent;color:var(--dim);font-size:15px;font-weight:600;cursor:pointer}.seg-opt.on{background:var(--seg-on);color:var(--seg-on-text)}@keyframes spin{to{transform:rotate(360deg)}}@keyframes rise{0%{transform:translateY(24px);opacity:0}to{transform:none;opacity:1}}@keyframes alarm{0%,to{box-shadow:inset 0 0 0 6px var(--bad),0 0 color-mix(in srgb,var(--bad) 45%,transparent)}60%{box-shadow:inset 0 0 0 6px var(--bad),0 0 0 18px transparent}}@media(prefers-reduced-motion:reduce){.arc,.spinner,.trial,.state-ring.error{animation:none}}.progress{flex:none;display:flex;gap:6px;padding:4px 20px 0}.progress-part{flex:1;height:4px;border-radius:2px;background:var(--grab)}.progress-part.on{background:var(--accent)}.page.setup .sheet{position:relative;z-index:1}.svc-list{margin:10px 0 8px}.svc-row{display:flex;align-items:center;gap:12px;width:100%;min-height:64px;padding:0;border:0;border-bottom:1px solid var(--line);background:transparent;color:var(--text);font:600 17px Mulish,system-ui,sans-serif;text-align:left;cursor:pointer}.svc-row:last-child{border-bottom:0}.svc-logo{width:30px;height:30px;flex:none;background:currentColor;-webkit-mask:var(--logo) center / contain no-repeat;mask:var(--logo) center / contain no-repeat}.svc-logo.pishock{--logo: url(/img/pishock.svg)}.svc-logo.openshock{--logo: url(/img/openshock.svg)}.svc-name{flex:1}.svc-go.ic{width:20px;height:20px;stroke-width:2.2;color:var(--tick-edge)}.field-block{margin-top:18px}.field-block+.field-block{margin-top:14px}.lbl{display:block;margin:0 0 8px;font-size:15px;font-weight:600}.problem.with-icon,.p.with-icon{display:flex;gap:8px;align-items:flex-start}.problem.with-icon{margin-top:10px}.with-icon .ic{width:18px;height:18px;margin-top:1px;stroke-width:2.2}.help-row{display:flex;align-items:center;gap:12px;margin:14px 0 18px;font-size:15px}.help-row .link{flex:1}.stays{display:flex;align-items:center;gap:6px;font-size:14px}.stays .ic{width:14px;height:14px}.adv-toggle{display:flex;align-items:center;gap:4px;min-height:44px;margin:-8px 0 2px;padding:0;border:0;background:transparent;color:var(--dim);font:600 15px Mulish,system-ui,sans-serif;cursor:pointer}.adv-ic.ic{width:18px;height:18px;stroke-width:2.2;transition:transform .15s}.adv-ic.open{transform:rotate(180deg)}.adv{margin:2px 0 14px}.adv[hidden]{display:none}.adv-note{margin:8px 0 0;font-size:14px;line-height:1.4}@media(prefers-reduced-motion:reduce){.adv-ic.ic{transition:none}}.head-row{display:flex;align-items:center}.head-row .h{flex:1}.icon-btn.small{width:40px;height:40px;color:var(--dim)}.icon-btn:disabled{opacity:.35;cursor:default}.icon-btn.small .ic{width:20px;height:20px}.spinning{animation:spin 1s linear infinite}.dev-list{margin:4px 0 14px}.dev-row{position:relative;display:flex;align-items:center;gap:12px;min-height:56px;border-bottom:1px solid var(--line);font-size:17px;cursor:pointer}.dev-list>.dev-row:last-of-type{border-bottom:0}.dev-tick{width:24px;height:24px;flex:none;border-radius:50%;box-shadow:inset 0 0 0 2px var(--tick-edge);display:flex;align-items:center;justify-content:center;color:transparent}.dev-tick .ic{width:15px;height:15px;stroke-width:3}.tick-input:checked+.dev-tick{background:var(--accent);box-shadow:none;color:var(--on-accent)}.tick-input:focus-visible+.dev-tick{outline:2px solid var(--link);outline-offset:2px}.dev-main{flex:1;min-width:0;padding:8px 0}.dev-name{display:block;overflow-wrap:anywhere}.dev-row.off .dev-tick,.dev-row.off .dev-main{opacity:.4}.modes{display:flex;gap:6px;margin-top:4px;color:var(--dim)}.mode.ic{width:14px;height:14px;stroke-width:2.2}.mode-gap{width:14px;flex:none}.dev-status{display:flex;align-items:center;gap:6px;font-size:15px;color:var(--dim)}.dev-status .ic{width:16px;height:16px;stroke-width:2.2}.dev-status.ok .ic{color:var(--ok)}.dev-status.wait .ic{color:var(--wait)}.dev-status.grey .ic{color:var(--tick-edge)}.tip{position:relative;display:flex;gap:10px;align-items:flex-start;margin:4px 0 8px;padding:12px 14px;border-radius:12px;background:var(--grab);font-size:15px;line-height:1.4;box-shadow:var(--float-shadow);animation:rise .3s cubic-bezier(.2,.8,.2,1) both}.tip:before{content:"";position:absolute;top:-6px;left:18px;width:12px;height:12px;background:var(--grab);transform:rotate(45deg)}.tip>.ic{width:18px;height:18px;margin-top:1px;color:var(--wait);position:relative}.tip>span{position:relative}.inline-icon .ic{width:15px;height:15px;vertical-align:-2px}.which{margin-bottom:18px}.step-row{display:flex;align-items:center;margin-top:12px}.step-label{flex:1;font-size:17px}.stepper{display:flex;align-items:center;gap:4px}.step-value{min-width:64px;text-align:center;font-weight:700;font-variant-numeric:tabular-nums}.scrim{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10;display:flex;align-items:center;justify-content:center;padding:16px;background:#000000c7;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.dlg{width:290px;max-width:100%;border-radius:14px;background:var(--grab);text-align:center;overflow:hidden;box-shadow:0 0 0 1px #ffffff1a,0 24px 60px #000000b3}:root[data-theme=light] .dlg{background:var(--sheet);box-shadow:0 24px 60px #00000059}.dlg-text{padding:20px 16px 16px}.dlg-title{margin:0;font-size:17px;font-weight:700}.dlg-body{margin:4px 0 0;font-size:13px;line-height:1.4}.dlg-buttons{display:flex;border-top:1px solid var(--tick-edge)}.dlg-btn{flex:1;height:44px;border:0;background:transparent;color:var(--text);font:17px Mulish,system-ui,sans-serif;cursor:pointer}.dlg-btn+.dlg-btn{border-left:1px solid var(--tick-edge)}.dlg-btn.bold{font-weight:700}.limits-kind{margin-top:18px}.cap-table{margin-top:14px}.cap-row{display:grid;grid-template-columns:1fr 72px 60px;column-gap:8px;align-items:center;min-height:48px;border-bottom:1px solid var(--line);font-size:17px}.cap-row:last-child{border-bottom:0}.cap-row.head{min-height:0;padding:6px 0 2px;border-bottom:0;font-size:13px;color:var(--dim)}.cap-name{overflow-wrap:anywhere}.cap{display:flex;align-items:center;justify-content:flex-end;gap:4px;font-variant-numeric:tabular-nums}.cap-row:not(.head) .cap{font-weight:700}.cap.capped{color:var(--wait)}.lock{display:flex}.lock .ic,.note .ic{width:14px;height:14px;stroke-width:2.2}.note{display:flex;gap:8px;align-items:flex-start;margin:10px 0 0;font-size:14px;line-height:1.4;color:var(--dim)}.note .ic{width:16px;height:16px;margin-top:1px}.note.cap-note{margin-bottom:18px}.cap-gap{height:18px}.amber.ic{color:var(--wait)}.accent.ic{color:var(--accent)}.slider{margin-top:22px}.slider+.slider{margin-top:16px}.slider-head{display:flex;align-items:center;gap:8px}.slider-head .ic{width:20px;height:20px;stroke-width:2.2}.slider-label{flex:1;font-size:17px}.big{font:700 28px/1 Outfit,system-ui,sans-serif;font-variant-numeric:tabular-nums}.rng{display:block;width:100%;height:28px;margin:4px 0 0;accent-color:var(--accent)}.notes .note{margin-top:2px}.switches{margin:8px 0 14px}.switch-row{display:flex;align-items:center;gap:10px;min-height:56px;border-bottom:1px solid var(--line);font-size:17px}.switch-row:last-child{border-bottom:0}.switch-row>.ic{width:18px;height:18px;stroke-width:2.2;color:var(--dim)}.switch-label{flex:1}.switch{position:relative;width:51px;height:31px;flex:none;border:0;border-radius:16px;background:var(--tick-edge);cursor:pointer}.switch:after{content:"";position:absolute;top:2px;left:2px;width:27px;height:27px;border-radius:50%;background:#fff;transition:left .15s ease}.switch.on{background:var(--ok)}.switch.on:after{left:22px}.test-ring{width:136px;height:136px;border-radius:50%;box-shadow:inset 0 0 0 6px var(--grab);display:flex;align-items:center;justify-content:center;color:var(--dim)}.test-ring.buzz{box-shadow:inset 0 0 0 6px var(--accent);color:var(--accent);animation:buzz 1.2s ease-out infinite}.test-icon.ic{width:52px;height:52px;stroke-width:1.8}@keyframes buzz{0%,to{box-shadow:inset 0 0 0 6px var(--accent),0 0 #ff6e6e59}70%{box-shadow:inset 0 0 0 6px var(--accent),0 0 0 22px #ff6e6e00}}.misses{margin-top:4px}.top-gap{margin-top:20px}@media(prefers-reduced-motion:reduce){.spinning,.tip,.test-ring.buzz,.switch:after{animation:none;transition:none}}
