/* 온라인 타이머 */
.sd-sr{position:absolute!important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0}
.seg button:focus-visible,.sd-check input:focus-visible{outline:2px solid var(--blue); outline-offset:2px}
.tm-stage{text-align:center}
.tm-phase{margin:16px 0 0; font-size:15px; font-weight:700; color:var(--t2)}
.tm-stage .sd-display{font-size:clamp(56px,19vw,120px); margin:4px 0 10px}
.tm-bar{height:6px; background:var(--fill); border-radius:99px; overflow:hidden; margin:0 0 4px}
.tm-bar i{display:block; height:100%; width:100%; background:var(--blue); transform-origin:left center; transition:transform .25s linear}
.tm-stage.done .sd-display{color:var(--red); animation:tm-blink 1s steps(2,start) 5}
.tm-stage.done .tm-bar i{background:var(--red)}
@keyframes tm-blink{50%{opacity:.3}}
.tm-hms{display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px}
.tm-hms .box{padding:0 12px}
.tm-pomo{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:0 10px}
.tm-pomo .field{margin:10px 0}
.tm-until{display:flex; gap:8px; align-items:stretch}
.tm-until .box{flex:1 1 auto}
.tm-until .sd-btn{flex:0 0 auto; margin:0}
.sd-check{display:flex; align-items:center; gap:10px; font-size:15px; font-weight:600; color:var(--t2); min-height:44px; cursor:pointer}
.sd-check input{width:20px; height:20px; margin:0; accent-color:var(--blue); flex:0 0 auto}
.tm-count{font-size:14px; color:var(--t3); margin:6px 0 0}
.tm-stage:fullscreen{display:flex; flex-direction:column; justify-content:center; margin:0; border-radius:0; padding:24px; background:var(--card); max-width:none}
.tm-stage:fullscreen .seg{max-width:360px; width:100%; margin:0 auto}
.tm-stage:fullscreen .sd-display{font-size:clamp(72px,22vw,38vh)}
.tm-stage:fullscreen .sd-actions{max-width:640px; width:100%; margin:16px auto 0}
.tm-stage::backdrop{background:var(--card)}
.tm-stage:-webkit-full-screen{display:flex; flex-direction:column; justify-content:center; width:100%; height:100%; margin:0; border-radius:0; background:var(--card)}
@media (prefers-reduced-motion:reduce){
  .tm-bar i{transition:none}
  .tm-stage.done .sd-display{animation:none}
}
