:root{font-family:Pretendard,"Noto Sans KR",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#202630;background:#f8f9fb;font-synthesis:none;-webkit-font-smoothing:antialiased;--display-size:clamp(96px,min(23vw,30vh),260px)}
*{box-sizing:border-box}body{margin:0;min-height:100svh;min-height:100dvh;display:flex;flex-direction:column;user-select:none;-webkit-user-select:none;cursor:pointer;touch-action:manipulation}header,footer{display:flex;align-items:center;padding:24px 36px;flex-shrink:0}header{justify-content:space-between;height:84px}.brand{font-size:17px;font-weight:700;letter-spacing:-.7px}button{font:inherit;cursor:pointer;color:#87909e;background:transparent;border:0;border-radius:8px}button:hover{background:#e8ecf3;color:#414c60}button:focus-visible{outline:2px solid #2c55dc;outline-offset:4px}#fullscreen{padding:10px;display:flex}main{flex:1;display:grid;place-items:center;padding:24px 18px;text-align:center}.stage{width:100%}.display{height:calc(var(--display-size)*1.15);font-size:var(--display-size);font-weight:700;letter-spacing:-.065em;line-height:1.15;color:#2c55dc;font-variant-numeric:tabular-nums;white-space:nowrap}.unit{font-size:.18em;font-weight:500;margin-left:12px;color:#929aaa;letter-spacing:-.02em}h1{font-size:clamp(18px,2.3vw,25px);font-weight:550;letter-spacing:-.8px;margin:30px 0 12px}.tolerance{font-size:13px;color:#9aa2b0;margin:0}footer{height:80px;justify-content:center}#instruction{padding:10px 14px;font-size:13px;display:flex;gap:8px;align-items:center}kbd{font:inherit;font-size:11px;border:1px solid #dce1e9;padding:2px 6px;border-radius:4px}.activity{display:none;height:calc(var(--display-size)*1.15);align-items:center;justify-content:center;gap:clamp(8px,1.2vw,15px)}.activity i{width:clamp(12px,1.8vw,22px);height:min(16vh,130px);border-radius:100px;background:#2c55dc;transform-origin:center}
body[data-state="running"]{background:#edf1fc}body[data-state="running"] .display{display:none}body[data-state="running"] .activity{display:flex}body[data-state="running"] .activity i{animation:active-bar .93s ease-in-out infinite alternate}body[data-state="running"] .activity i:nth-child(2){animation-duration:1.37s;animation-delay:-.4s}body[data-state="running"] .activity i:nth-child(3){animation-duration:1.11s;animation-delay:-.7s}body[data-state="running"] .activity i:nth-child(4){animation-duration:1.57s;animation-delay:-.2s}body[data-state="running"] .activity i:nth-child(5){animation-duration:1.23s;animation-delay:-.9s}body[data-state="running"] h1{color:#2c55dc}body[data-state="running"] .tolerance{visibility:hidden}body[data-state="success"] .display,body[data-state="success"] h1{color:#16805d}body[data-state="miss"] .display,body[data-state="miss"] h1{color:#d56844}
@keyframes active-bar{from{transform:scaleY(.3);opacity:.45}to{transform:scaleY(1);opacity:1}}
@media(max-width:600px){header,footer{padding:18px 22px}header{height:72px}footer{height:66px}.unit{margin-left:8px}}
@media(max-height:500px){header{height:58px}footer{height:54px}main{padding-block:10px}h1{margin-top:14px}}
@media(prefers-reduced-motion:reduce){body[data-state="running"] .activity i{animation:none}.activity i:nth-child(even){transform:scaleY(.5)}}
