.app{display:flex;flex-direction:column;height:100dvh;max-width:560px;margin:0 auto;padding:env(safe-area-inset-top) 12px env(safe-area-inset-bottom)}.header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 2px 8px}.title{margin:0;font-size:1.05rem;font-weight:700;letter-spacing:-.01em}.langs{display:flex;gap:4px;font-size:.8rem}.lang{padding:6px 10px;border-radius:999px;color:#94a3b8;text-decoration:none}.langActive{background:#1e293b;color:#f8fafc}.main{display:flex;flex:1;flex-direction:column;gap:10px;min-height:0}.stage{position:relative;flex:1;min-height:0;overflow:hidden;border-radius:18px;background:#000}.media{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}.mirrored{transform:scaleX(-1)}.hidden{visibility:hidden}.hud{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:space-between;padding:14px;pointer-events:none}.countBox{display:flex;flex-direction:column;align-items:center;text-shadow:0 2px 12px rgba(0,0,0,.75)}.countLabel{font-size:.85rem;font-weight:600;color:#e2e8f0}.count{font-size:clamp(5rem,30vw,9rem);font-weight:800;line-height:1;font-variant-numeric:tabular-nums;color:#fff}.phase{display:flex;align-items:baseline;gap:10px;padding:10px 18px;border-radius:999px;background:#0f172ad1;font-size:1.05rem;font-weight:700;text-align:center}.phaseLocked{background:#16a34aeb;color:#fff}.wave{flex:none;align-self:center;width:48px;height:16px}.waveOff{display:none}.tempo{font-size:.8rem;font-weight:500;font-variant-numeric:tabular-nums;opacity:.85}.intro{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;gap:10px;padding:150px 22px 70px;text-align:center;word-break:keep-all}.introCard{display:flex;flex-direction:column;gap:10px}.intro p{margin:0}.introPreview{justify-content:flex-end;padding:14px 14px 70px;pointer-events:none}.introPreview .introCard{gap:6px;padding:12px 14px;border-radius:14px;background:#020617b8;pointer-events:auto}.introPreview .hint{font-size:.85rem}.enable{align-self:center;min-width:180px;padding:0 22px}.nudge{animation:nudge .45s ease-out}@keyframes nudge{0%,to{transform:translate(0)}20%,60%{transform:translate(-6px)}40%,80%{transform:translate(6px)}}@media (prefers-reduced-motion: reduce){.nudge{animation:none}}.tagline{font-size:1.05rem;font-weight:600}.hint{color:#cbd5e1;font-size:.92rem;line-height:1.5}.privacy{color:#94a3b8;font-size:.8rem;line-height:1.5}.error{padding:12px 14px;border:1px solid #f87171;border-radius:12px;background:#7f1d1d8c;color:#fecaca;font-size:.95rem;line-height:1.5}.note{position:absolute;top:8px;right:10px;left:10px;margin:0;color:#fde68a;font-size:.72rem;text-align:center;text-shadow:0 1px 4px rgba(0,0,0,.8)}.controls{display:flex;flex-direction:column;gap:8px}.buttons{display:grid;grid-template-columns:2fr 1fr 1.4fr;gap:8px}.button{min-height:52px;padding:0 10px;border:1px solid #334155;border-radius:14px;background:#0f172a;color:#e5e7eb;font-weight:600;cursor:pointer}.button:disabled{opacity:.45;cursor:default}.primary{border-color:#16a34a;background:#16a34a;color:#fff;font-size:1.1rem}.stop{border-color:#dc2626;background:#dc2626;color:#fff;font-size:1.1rem}.button:focus-visible,.lang:focus-visible{outline:2px solid #38bdf8;outline-offset:2px}.footer{padding:8px 0 10px;color:#64748b;font-size:.75rem;text-align:center}@media (orientation: landscape) and (max-height: 520px){.app{max-width:none}.header,.footer{display:none}.main{flex-direction:row;padding:8px 0}.controls{justify-content:center;width:240px}.buttons{grid-template-columns:1fr}.count{font-size:5rem}}*,*:before,*:after{box-sizing:border-box}html,body,#root{margin:0;padding:0;height:100%}body{font-family:system-ui,-apple-system,BlinkMacSystemFont,SF Pro Text,Segoe UI,Apple SD Gothic Neo,Noto Sans KR,sans-serif;background-color:#020617;color:#e5e7eb;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;overscroll-behavior:none}a{color:inherit}button{font-family:inherit;font-size:inherit}
