:root{color-scheme:dark;--foreground: #ffffff;--outline: #000000;--background: transparent;font-family:Cascadia Mono,D2Coding,Consolas,monospace;font-synthesis:none;text-rendering:geometricPrecision}:root[data-theme=light]{color-scheme:light;--foreground: #000000;--outline: #ffffff}*{box-sizing:border-box}html,body,#root{width:100%;height:100%;margin:0;overflow:hidden;background:transparent!important}button,input{font:inherit}.overlay{position:relative;display:grid;width:100%;height:100%;place-items:center;color:var(--foreground)}.overlay-controls{position:absolute;z-index:20;top:18px;left:18px;display:flex;gap:8px}.overlay-controls button{padding:9px 13px;border:1px solid #475569;border-radius:5px;color:#e2e8f0;background:#0f172aeb;cursor:pointer;font-size:13px;font-weight:600}.overlay-controls button:last-child{color:#94a3b8;background:#0f172aeb}.overlay-controls button:hover,.overlay-controls button:focus-visible{border-color:#94a3b8;background:#1e293b;outline:1px solid #94a3b8}.guide-backdrop{position:fixed;z-index:100;inset:0;display:grid;place-items:center;padding:24px;overflow:auto;color:#f8fafc;background:#000000b8;font-family:Pretendard,Noto Sans KR,system-ui,sans-serif}.guide-dialog{position:relative;width:min(680px,100%);padding:30px;border:0;border-radius:4px;outline:none;background:#111827}.guide-dialog h1{margin:0;font-size:clamp(26px,5vw,38px);letter-spacing:-.04em}.guide-summary{margin:12px 0 24px;color:#cbd5e1;line-height:1.65}.guide-steps{display:grid;gap:12px;margin:0;padding:0;counter-reset:guide-step;list-style:none}.guide-steps li{display:grid;grid-template-columns:30px 1fr;gap:11px;align-items:start;color:#e2e8f0;line-height:1.55;counter-increment:guide-step}.guide-steps li:before{display:grid;width:28px;height:28px;place-items:center;color:#94a3b8;content:counter(guide-step);font-size:13px;font-weight:600}.guide-steps code{display:block;grid-column:2;margin-top:7px;padding:10px 12px;overflow-wrap:anywhere;border:0;border-radius:3px;color:#cbd5e1;background:#0f172a;font-family:Cascadia Mono,Consolas,monospace;font-size:12px;line-height:1.5;-webkit-user-select:all;user-select:all}.guide-steps .guide-address{border:1px solid #475569}.guide-start{display:block;margin-top:24px;color:#e2e8f0;font-size:14px;font-weight:600;text-align:center;text-decoration:underline;text-underline-offset:4px}.guide-start:hover,.guide-start:focus-visible{color:#fff;outline:none}.guide-contact{display:flex;justify-content:center;gap:8px;margin-top:18px;color:#94a3b8;font-size:13px}.guide-contact a{color:#cbd5e1}.auth-error{max-width:520px;padding:24px;color:#f8fafc;background:#0f172af5;font-family:Pretendard,Noto Sans KR,system-ui,sans-serif;text-align:center}.auth-error button{padding:10px 14px;border:1px solid #64748b;border-radius:4px;color:#f8fafc;background:#1e293b;cursor:pointer}@media(max-width:560px){.guide-backdrop{padding:12px}.guide-dialog{padding:26px 20px}.guide-summary{font-size:14px}.guide-steps{gap:10px}.guide-steps li{font-size:13px}.overlay-controls{top:10px;left:10px}}.timer{min-width:7.7ch;padding:.08em .16em;border:2px solid transparent;color:var(--foreground);background:transparent;font-size:clamp(48px,7vw,112px);font-weight:700;font-variant-numeric:tabular-nums;letter-spacing:.04em;line-height:1.1;text-align:center;text-shadow:3px 3px 0 var(--outline);white-space:nowrap}.timer-display{appearance:none;cursor:text}.timer-display:hover,.timer-display:focus-visible{border-color:currentColor}.timer-editor{position:relative}.timer-input{display:block;border-color:currentColor;border-radius:0;outline:none;caret-color:currentColor}.timer-input.is-invalid{animation:invalid-input .18s steps(2,end) 2}.pending-time{position:absolute;top:calc(100% + 8px);right:0;font-size:16px;font-weight:700}@keyframes invalid-input{50%{outline:3px solid currentColor}}.whip-layer{position:fixed;inset:0;z-index:9999;overflow:hidden;pointer-events:none}.whip-canvas{position:absolute;inset:0;display:block;width:100%;height:100%}.whip-impact{animation:screen-hit .18s steps(3,end) .9s}@keyframes screen-hit{0%,to{transform:translate(0)}25%{transform:translate(-4px,3px)}50%{transform:translate(4px,-3px)}75%{transform:translate(-2px,-2px)}}@media(prefers-reduced-motion:reduce){.whip-impact{animation:none}}
