html,body{margin:0;height:100%;overflow:hidden;background:#2a1b3d;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;font-family:system-ui,-apple-system,Segoe UI,Roboto,sans-serif}canvas#game{position:fixed;top:0;right:0;bottom:0;left:0;width:100%;height:100%;display:block}#hud{position:fixed;left:0;right:0;top:0;padding:calc(env(safe-area-inset-top) + 10px) 14px 0;display:flex;align-items:center;justify-content:space-between;pointer-events:none}#hud>*{pointer-events:auto}#dots{display:flex;gap:5px;pointer-events:none;flex-wrap:wrap;justify-content:center;max-width:240px}#dots i{width:11px;height:11px;border-radius:50%;background:#ffffff24;box-shadow:inset 0 0 0 2px #ffffff38;transition:transform .3s,background .3s}#dots i.done{background:#f2c14e;box-shadow:0 0 10px #f2c14e88}#dots i.now{transform:scale(1.35);box-shadow:inset 0 0 0 2px #f2c14e}button.round{width:58px;height:58px;border-radius:50%;border:none;padding:0;background:#f6e7c8;color:#4a2d5c;box-shadow:0 4px #b99b6b,0 6px 14px #00000059;display:grid;place-items:center;cursor:pointer;transition:transform .12s,opacity .2s}button.round:active{transform:translateY(3px);box-shadow:0 1px #b99b6b,0 3px 8px #00000059}button.round svg{width:30px;height:30px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}button.round.small{width:44px;height:44px;opacity:.8}button.round.small svg{width:22px;height:22px}button.round:disabled{opacity:.35}button.round.pulse{animation:pulse 1s ease-in-out infinite}@keyframes pulse{50%{transform:scale(1.18);box-shadow:0 4px #b99b6b,0 0 0 10px #f2c14e55}}#next{position:fixed;left:50%;bottom:calc(env(safe-area-inset-bottom) + 46px);width:96px;height:96px;margin-left:-48px;background:#f2c14e;color:#4a2d5c;box-shadow:0 6px #b8872a,0 0 30px #f2c14e88;animation:bob 1.1s ease-in-out infinite}#next svg{width:48px;height:48px;stroke-width:3}#next.hidden{display:none}@keyframes bob{50%{transform:translateY(-8px) scale(1.06)}}#turn{position:fixed;width:64px;height:64px;background:#f2c14e;color:#4a2d5c;box-shadow:0 4px #b8872a,0 6px 14px #00000059;touch-action:none}#turn svg{width:34px;height:34px}#explain{position:fixed;transform:translate(-50%);max-width:270px;width:max-content;padding:7px 16px 8px;border-radius:16px;background:#1e122dcc;color:#f6e7c8;font-size:14px;line-height:1.3;text-align:center;pointer-events:none;box-shadow:0 4px 14px #00000059;transition:opacity .6s}#explain b{display:block;color:#ffd36b;font-size:17px}#explain .quick{display:block;margin-top:2px;font-size:13px;color:#ffe2a0}#explain.hidden{opacity:0}#done{position:fixed;width:64px;height:64px;background:#7fd1ae;color:#1f4a39;box-shadow:0 4px #2f7a5c,0 6px 14px #00000059}#done svg{width:36px;height:36px;stroke-width:3.2}#done.hidden{display:none}
