/* Timer, stopwatch, intervals, pomodoro and world clock */
.ck{--ac:var(--brand);background:var(--surface);border:1px solid var(--line);border-radius:28px;box-shadow:var(--shadow);padding:18px;margin:8px 0;min-width:0;max-width:100%;position:relative}
.ck *{box-sizing:border-box}
:where(.ck) button{font:inherit;color:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent}
.ck:fullscreen{background:var(--bg);border-radius:0;border:0;overflow:auto;padding:28px;display:flex;flex-direction:column;align-items:center}
.ck:fullscreen>*{width:100%;max-width:760px}
.ck:fullscreen .ck-ring{width:min(68vh,86vw,560px)}
.ck-tabs{display:flex;gap:6px;overflow-x:auto;padding:4px;background:var(--bg);border-radius:18px;scrollbar-width:none;-webkit-overflow-scrolling:touch}
.ck-tabs::-webkit-scrollbar{display:none}
.ck-tabs button{flex:1 0 auto;border:0;background:transparent;border-radius:14px;padding:10px 14px;font-weight:600;font-size:15px;color:var(--muted);white-space:nowrap;display:flex;align-items:center;justify-content:center;gap:7px}
.ck-tabs button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;flex:none}
.ck-tabs button[aria-selected=true]{background:var(--surface);color:var(--brand);box-shadow:0 1px 3px rgba(22,26,51,.14)}
.ck-tabs button .dot{width:7px;height:7px;border-radius:50%;background:var(--ok);display:none}
.ck-tabs button.live .dot{display:block}
.ck-bar{display:flex;flex-wrap:wrap;gap:8px;justify-content:flex-end;margin:12px 0 0}
.ck-tg{display:inline-flex;align-items:center;gap:6px;border:1px solid var(--line);background:var(--bg);border-radius:999px;padding:6px 12px;font-size:13px;font-weight:600;color:var(--muted)}
.ck-tg svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.ck-tg[aria-pressed=true]{color:var(--brand);border-color:var(--brand);background:var(--soft)}
.ck-pane{display:none;padding-top:10px}
.ck-pane.on{display:block}
.ck-ring{position:relative;width:min(80vw,340px);aspect-ratio:1;margin:8px auto 6px;container-type:inline-size}
.ck-ring svg{width:100%;height:100%;transform:rotate(-90deg);display:block}
.ck-ring .tr{fill:none;stroke:var(--line);stroke-width:9}
.ck-ring .pr{fill:none;stroke:var(--ac);stroke-width:9;stroke-linecap:round;filter:drop-shadow(0 0 7px color-mix(in srgb,var(--ac) 45%,transparent))}
.ck-in{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:0 12%}
.ck-d{font:700 clamp(40px,19cqw,76px)/1 Manrope,system-ui,sans-serif;font-variant-numeric:tabular-nums;letter-spacing:-.02em}
.ck-d.s2{font-size:clamp(30px,13.4cqw,56px)}
.ck-s{margin-top:8px;font-size:14px;font-weight:600;color:var(--muted);max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ck-s b{color:var(--ac)}
.ck-btns{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:14px 0 4px}
.ck .ck-go{color:var(--brand-ink);min-width:150px;border:0;border-radius:16px;padding:15px 28px;font-weight:700;font-size:17px;background:var(--g,var(--brand));box-shadow:0 10px 22px -10px var(--brand)}
.ck-go:active{transform:scale(.98)}
.ck-sec{border:1.5px solid var(--line);background:var(--bg);border-radius:16px;padding:15px 20px;font-weight:600}
.ck-sec:disabled{opacity:.45;cursor:not-allowed}
.ck-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:10px 0}
.ck-chip{border:1.5px solid var(--line);background:var(--surface);border-radius:999px;padding:7px 14px;font-weight:600;font-size:14px}
.ck-chip:hover{border-color:var(--brand)}
.ck-chip[aria-pressed=true]{border-color:var(--brand);background:var(--soft);color:var(--brand)}
.ck-chip.live{border-color:var(--ok)}
.ck-chip small{font-weight:600;color:var(--muted);margin-left:6px;font-variant-numeric:tabular-nums}
.ck-f{display:flex;gap:10px;justify-content:center;flex-wrap:wrap;margin:8px 0}
.ck-f label{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:600;color:var(--muted);text-align:center}
.ck-f input[type=number]{width:84px;text-align:center;font:700 20px Manrope,system-ui,sans-serif;padding:10px 6px;border-radius:14px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink)}
.ck input[type=text]{margin:6px auto 0;display:block;max-width:360px;text-align:center}
.ck-ban{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:center;background:color-mix(in srgb,var(--err) 14%,var(--surface));border:1.5px solid var(--err);border-radius:16px;padding:12px 14px;margin:10px 0;font-weight:700;animation:ckp 1s ease-in-out infinite alternate}
@keyframes ckp{to{box-shadow:0 0 0 6px color-mix(in srgb,var(--err) 22%,transparent)}}
@media(prefers-reduced-motion:reduce){.ck-ban{animation:none}}
.ck-ban button{border:0;border-radius:10px;padding:8px 14px;font-weight:700;background:var(--err);color:#fff}
.ck-ban button.alt{background:var(--surface);color:var(--ink);border:1px solid var(--line)}
.ck-laps{margin:14px auto 0;max-width:520px;border-top:1px solid var(--line)}
.ck-laps table{width:100%;border-collapse:collapse;table-layout:fixed;font-variant-numeric:tabular-nums}
.ck-laps th{font-size:12px;color:var(--muted);text-align:right;font-weight:600;padding:8px 4px}
.ck-laps td{padding:8px 4px;text-align:right;border-top:1px solid var(--line);font-weight:600}
.ck-laps th:first-child,.ck-laps td:first-child{text-align:left;color:var(--muted);width:16%}
.ck-laps tr.best td{color:var(--ok)}
.ck-laps tr.worst td{color:var(--err)}
.ck-laps .sc{max-height:300px;overflow:auto}
.ck-pom{display:flex;gap:7px;justify-content:center;margin-top:10px}
.ck-pom i{width:11px;height:11px;border-radius:50%;background:var(--line)}
.ck-pom i.on{background:var(--ac)}
.ck-wc-me{text-align:center;margin:10px 0 16px}
.ck-wc-me .ck-d{font-size:clamp(40px,12vw,72px)}
.ck-wc-me p{margin:4px 0 0;color:var(--muted);font-weight:600}
.ck-wc{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px}
.ck-city{position:relative;background:var(--bg);border:1px solid var(--line);border-radius:18px;padding:14px 16px;min-width:0}
.ck-city b{display:block;font-size:15px;padding-right:26px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ck-city .tm{font:700 26px Manrope,system-ui,sans-serif;font-variant-numeric:tabular-nums;margin-top:4px}
.ck-city small{display:block;color:var(--muted);font-weight:600}
.ck-city button{position:absolute;top:8px;right:8px;width:28px;height:28px;border:0;border-radius:50%;background:var(--soft);font-size:16px;line-height:1}
.ck-add{display:flex;gap:8px;justify-content:center;margin-top:14px}
.ck select{font:inherit;padding:10px 12px;border-radius:12px;border:1.5px solid var(--line);background:var(--bg);color:var(--ink);max-width:100%}
.ck-hint{margin:14px 0 0;text-align:center;font-size:13px;color:var(--muted)}
.ck-note{margin:12px auto 0;text-align:center;font-size:14px}
.ck-note a{color:var(--brand);font-weight:600}
.ck-toast{position:absolute;left:50%;bottom:14px;transform:translateX(-50%);background:var(--ink);color:var(--bg);border-radius:999px;padding:8px 16px;font-size:13px;font-weight:600;opacity:0;pointer-events:none;transition:opacity .2s}
.ck-toast.on{opacity:1}
@media(max-width:560px){.ck{padding:12px;border-radius:22px}.ck-bar{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.ck-bar::-webkit-scrollbar{display:none}.ck-tg{flex:none;padding:6px 10px;font-size:12.5px}.ck-tabs button{padding:9px 11px;font-size:14px}.ck-tabs button svg{display:none}.ck-go{min-width:130px}}
