:root{color:#1f2d4a;font-synthesis:none;background:#8fd3ff;font-family:Arial Rounded MT Bold,Arial,Apple SD Gothic Neo,Malgun Gothic,sans-serif}*{box-sizing:border-box}html,body{background:#8fd3ff;height:100%;margin:0;overflow:hidden}button{font:inherit;color:inherit;cursor:pointer;background:#fff;border:0;border-radius:14px;padding:10px 16px;font-weight:700;transition:transform .12s;box-shadow:0 4px #1f2d4a33}button:hover{transform:translateY(-1px)}button:active{transform:translateY(2px);box-shadow:0 2px #1f2d4a33}button:focus-visible,a:focus-visible,canvas:focus-visible{outline-offset:2px;outline:3px solid #ffd43b}.danger{color:#fff;background:#fa5252;box-shadow:0 4px #b02525}.primary{color:#5c3b00;background:#ffd43b;box-shadow:0 4px #c28f00}#game{touch-action:none;outline:none;width:100vw;height:100dvh;display:block;position:fixed;inset:0}.hud{pointer-events:none;align-items:flex-start;gap:12px;padding:14px 16px;display:flex;position:fixed;top:0;left:0;right:0}.hud>*{pointer-events:auto}.back{color:#1f2d4a;background:#fffc;border-radius:12px;align-self:center;padding:8px 12px;font-size:13px;font-weight:700;text-decoration:none}.stage-card{background:#ffffffe6;border-radius:18px;min-width:190px;padding:10px 16px;box-shadow:0 6px #1f2d4a22}.stage-card small,.stats small{letter-spacing:2px;color:#5c6f91;font-size:10px;display:block}.stage-card b{font-size:30px;line-height:1}.stage-card em{color:#7a8bab;margin-left:4px;font-size:15px;font-style:normal}#stage-name{margin-top:3px;font-size:14px;font-weight:700;display:block}.progress{background:#d0dbea;border-radius:3px;height:6px;margin-top:8px;overflow:hidden}.progress i{background:linear-gradient(90deg,#40c057,#ffd43b);border-radius:3px;width:0;height:100%;transition:width .4s;display:block}.stats{background:#ffffffe6;border-radius:18px;gap:6px;padding:10px 14px;display:flex;box-shadow:0 6px #1f2d4a22}.stats div{min-width:64px}.stats b{font-variant-numeric:tabular-nums;font-size:19px}.actions{gap:8px;margin-left:auto;display:flex}#toast{color:#fff;opacity:0;pointer-events:none;white-space:nowrap;background:#1f2d4ae6;border-radius:999px;padding:12px 22px;font-size:18px;font-weight:700;transition:opacity .2s,transform .2s;position:fixed;top:22%;left:50%;transform:translate(-50%,-50%)scale(.9)}#toast.show{opacity:1;transform:translate(-50%,-50%)scale(1)}.hint{color:#34466a;pointer-events:none;white-space:nowrap;background:#ffffffb3;border-radius:999px;margin:0;padding:6px 14px;font-size:12px;position:fixed;bottom:12px;left:50%;transform:translate(-50%)}.flash{pointer-events:none;opacity:0;transition:opacity .35s;position:fixed;inset:0}.flash.death{opacity:1;background:#ff4d4d55;transition:none}.flash.good{opacity:1;background:#69db7c44;transition:none}#stick,#jump{display:none}.overlay{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#5aa9e633;place-items:center;padding:16px;display:grid;position:fixed;inset:0}.overlay[hidden]{display:none}.panel,dialog{color:#1f2d4a;text-align:center;background:#fff;border:0;border-radius:26px;width:100%;max-width:440px;padding:28px 30px;box-shadow:0 10px #1f2d4a33,0 30px 60px #1f2d4a33}dialog::backdrop{background:#1f2d4a55}.eyebrow{letter-spacing:3px;color:#4dabf7;margin:0 0 6px;font-size:11px;font-weight:700}h1{letter-spacing:-1px;background:linear-gradient(#ff922b,#f76707);color:#0000;-webkit-background-clip:text;background-clip:text;margin:0;font-size:46px}h2{margin:4px 0 12px;font-size:28px}.lead{color:#4a5b7c;margin:8px 0 18px}.legend{text-align:left;background:#f1f6fc;border-radius:16px;gap:8px;margin:0 0 22px;padding:14px 16px;font-size:14px;list-style:none;display:grid}.legend i{vertical-align:-2px;border-radius:4px;width:14px;height:14px;margin-right:8px;display:inline-block}#play{padding:14px 34px;font-size:20px}.small{color:#7a8bab;min-height:1em;margin:12px 0 0;font-size:12px}.result{justify-content:center;gap:10px;margin:8px 0;display:flex}.result div{background:#f1f6fc;border-radius:14px;min-width:92px;padding:10px 14px}.result small{color:#5c6f91;font-size:11px;display:block}.result b{font-size:22px}#new-best{color:#e8590c;min-height:1em;font-weight:700}.row{justify-content:center;gap:10px;margin-top:10px;display:flex}@media (pointer:coarse),(width<=760px){#stick{touch-action:none;background:#1f2d4a26;border:3px solid #1f2d4a55;border-radius:50%;width:130px;height:130px;display:block;position:fixed;bottom:28px;left:24px}#stick i{background:#fff;border-radius:50%;width:54px;height:54px;margin:-27px 0 0 -27px;position:absolute;top:50%;left:50%;box-shadow:0 4px #1f2d4a33}#jump{color:#5c3b00;touch-action:none;background:#ffd43b;border-radius:50%;width:96px;height:96px;font-size:18px;display:block;position:fixed;bottom:36px;right:24px;box-shadow:0 6px #c28f00}.hint{display:none}}@media (width<=760px){.hud{flex-wrap:wrap;gap:8px;padding:10px 12px}.back{order:1;padding:7px 9px;font-size:11px}.actions{order:2;gap:5px}.actions button{padding:7px 8px;font-size:12px}.stage-card{order:3;min-width:0;padding:8px 12px}.stage-card b{font-size:22px}.stats{order:4;padding:8px 10px}.stats div{min-width:52px}.stats b{font-size:15px}h1{font-size:36px}.panel{padding:22px 18px}}
