@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-vietnamese-wght-normal-BUzh504Q.woff2)format("woff2-variations");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-ext-wght-normal-CcLUaPy7.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Bricolage Grotesque Variable;font-style:normal;font-display:swap;font-weight:200 800;src:url(/assets/bricolage-grotesque-latin-wght-normal-DLoelf7F.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-ext-wght-normal-DCwSJGxG.woff2)format("woff2-variations");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Figtree Variable;font-style:normal;font-display:swap;font-weight:300 900;src:url(/assets/figtree-latin-wght-normal-D_ZTVpCC.woff2)format("woff2-variations");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{--bg:#17131c;--bg-glow:#1f1926;--surface:#231d2b;--surface-high:#2e2638;--border:#3a3146;--tab-bar:#1f1926;--text:#fff4e6;--muted:#c2b6cb;--faint:#9c8fa6;--dashed:#75677f;--red:#ff4a3d;--red-text:#ff8e83;--gold:#ffc83d;--on-gold:#1a1320;--gold-shadow:#b98a12;--mint:#5fe3a1;--on-mint:#10291d;--false-start-bg:#2b1012;--false-start-title:#ff7a6e;--false-start-text:#ffe1dd;--false-start-chip:#4a1d20;--avatar-mint:#5fe3a1;--on-avatar-mint:#10291d;--avatar-pink:#ff9fb0;--on-avatar-pink:#3a0f1b;--avatar-blue:#9cc8ff;--on-avatar-blue:#0e2442;--avatar-lilac:#c9b6ff;--on-avatar-lilac:#241545;--avatar-yellow:#ffc83d;--on-avatar-yellow:#1a1320;--line:#3a3146;--chart-axis:#3a3146;--fill:#2e2638;--stroke:#3a3146;--gantry:#050507;--gantry-top:#0d0d11;--gantry-edge:#ffffff12;--lamp-on-1:#ff8a7a;--lamp-on-2:#ff1a1a;--lamp-on-3:#c40000;--lamp-off-1:#2b2b33;--lamp-off-2:#17171c;--lamp-off-3:#101014;--medal-gold-1:#ffe07a;--medal-gold-2:#ffc940;--medal-gold-3:#b8860b;--medal-silver-1:#f4f6f9;--medal-silver-2:#c9ced6;--medal-silver-3:#858c97;--medal-bronze-1:#f2b07e;--medal-bronze-2:#d9864f;--medal-bronze-3:#8f4f24;--ribbon-dark:#c4161c;--ribbon-light:#ff3b30;--radius-pill:999px;--radius-button:20px;--radius-button-primary:22px;--radius-card:22px;--radius-sheet:26px;--radius-gantry:28px;--radius-touch-zone:36px;--radius-control:16px;--radius-field:16px;--radius-small:8px;--tap-min:44px;--fs-wordmark:clamp(1.4rem, 5vw, 1.9rem);--fs-target:1.05rem;--fs-message:clamp(1.35rem, 6vw, 1.9rem);--fs-result:clamp(3.4rem, 20vw, 6rem);--fs-button-primary:1.05rem;--fs-button:.95rem;--fs-replay:.95rem;--fs-stat-value:1.25rem;--lightningcss-light: ;--lightningcss-dark:initial;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--display:"Bricolage Grotesque Variable", system-ui, sans-serif}*,:before,:after{box-sizing:border-box}html,body{overscroll-behavior:none;background:radial-gradient(120% 70% at 50% 42%, var(--bg-glow) 0%, var(--bg) 62%) fixed, var(--bg);height:100%;color:var(--text);touch-action:none;-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent;margin:0;font-family:Figtree Variable,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;overflow:hidden}#game{height:100%;height:100dvh;padding:max(20px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));text-align:center;cursor:pointer;grid-template-rows:auto 1fr auto;justify-items:center;display:grid;position:relative}.stats-btn{top:max(14px, env(safe-area-inset-top));right:max(12px, env(safe-area-inset-right));width:44px;height:44px;color:var(--muted);cursor:pointer;touch-action:manipulation;background:0 0;border:0;border-radius:12px;place-items:center;display:grid;position:absolute}.running .topline,.running .invite,.running footer,.running .debug-copy{pointer-events:none}.quit-btn{left:max(12px, env(safe-area-inset-left));width:var(--tap-min);height:var(--tap-min);border-radius:var(--radius-control);font:800 var(--fs-message) var(--display);right:auto}.quit-btn[hidden]{display:none}.quit-btn:focus-visible{outline:2px solid var(--text);outline-offset:3px}.start-btn:focus-visible{outline:2px solid var(--text);outline-offset:3px}.wordmark{font-family:var(--display);font-weight:800;font-size:var(--fs-wordmark);letter-spacing:-.02em;align-items:center;margin:0;display:inline-flex}.wordmark:before{content:"";background:var(--red);width:9px;height:9px;box-shadow:13px 0 var(--red), 26px 0 var(--red), 39px 0 var(--red), 52px 0 var(--red);border-radius:50%;margin-right:62px}.wordmark span{color:var(--red)}.stage{flex-direction:column;align-self:center;align-items:center;gap:clamp(28px,6vh,56px);width:100%;display:flex}.topline{text-align:center;margin:0 0 calc(-1*clamp(14px,3vh,30px))}.target{min-height:1.3em;color:var(--muted);font-variant-numeric:tabular-nums;margin:0;font-size:.95rem}.challenge,.news{font:inherit;color:var(--text);cursor:pointer;touch-action:manipulation;background:0 0;border:0;padding:0}#target:not(:empty)+.challenge:not(:empty):before{content:"·";color:var(--muted);margin:0 .5em}.challenge:focus-visible{outline:2px solid var(--text);outline-offset:3px}.news:focus-visible{outline:2px solid var(--text);outline-offset:3px}.news{max-width:min(100vw - 32px,420px);min-height:1.3em;color:var(--gold);text-overflow:ellipsis;white-space:nowrap;margin:2px auto 0;font-size:.85rem;display:none;overflow:hidden}.has-friends .news{display:block}.where{margin-top:4px}.where-top{color:var(--muted);margin:0 0 6px;font-size:.9rem}.curve{width:100%;height:auto;margin:4px 0 8px;display:block}.sheet a{color:var(--text)}.gantry{--size:min(14vw, 15vh, 76px);gap:calc(var(--size) * .22);padding:calc(var(--size) * .2) calc(var(--size) * .26);background:linear-gradient(180deg, #0d0d11, var(--gantry));border:1px solid var(--gantry-edge);border-radius:999px;display:flex;box-shadow:0 20px 50px #0000008c,inset 0 1px #ffffff0a}.lamp{width:var(--size);height:var(--size);background:radial-gradient(circle at 38% 32%,#2b2b33 0%,#17171c 58%,#101014 100%);border-radius:50%;transition:none;animation:none;box-shadow:inset 0 2px 6px #000000b3,inset 0 -1px #ffffff0a}.lamp.on{background:radial-gradient(circle at 38% 32%, var(--lamp-on-1) 0%, var(--lamp-on-2) 42%, var(--lamp-on-3) 100%);box-shadow:0 0 calc(var(--size) * .45) #ff1a1a80, inset 0 -3px 6px #00000040}.panel{flex-direction:column;align-items:center;gap:.45rem;width:min(100%,420px);height:24rem;display:flex;position:relative}.panel>*{flex-shrink:0}.start-area{width:100%;margin-top:auto;margin-bottom:1.5rem}.start-area[hidden],.touch-zone[hidden]{display:none}.start-area .start-btn.hot{min-height:var(--tap-min);font-family:var(--display);box-shadow:0 6px 0 var(--gold-shadow)}.touch-zone{min-height:calc(2 * var(--tap-min));color:var(--text);background:var(--surface);border:3px dashed var(--dashed);border-radius:var(--radius-touch-zone);flex-direction:column;justify-content:center;gap:.45rem;padding:1rem;display:flex}.touch-zone strong{font:800 var(--fs-message) var(--display)}.touch-zone span{font-size:var(--fs-button);color:var(--muted)}.badge{color:var(--on-mint);background:var(--mint);border-radius:999px;margin:.2rem 0 -.2rem;padding:.3rem .9rem;font-size:.9rem;font-weight:800;transform:rotate(-3deg)}.badge:empty{display:none}.unit{font-family:var(--display);color:var(--muted);margin:-.5rem 0 0;font-size:1.35rem;font-weight:700}.unit:empty{display:none}.panel .message.card{color:var(--on-gold);background:var(--gold);box-shadow:0 5px 0 var(--gold-shadow);text-align:left;border-radius:20px;align-items:center;gap:10px;margin-top:.3rem;padding:8px 18px 8px 12px;display:inline-flex;transform:rotate(-3deg)}.card-medal svg{width:32px;height:40px;display:block}.card-text{flex-direction:column;line-height:1.1;display:flex}.card-text span{letter-spacing:.08em;text-transform:uppercase;font-family:Figtree Variable,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif;font-size:.75rem;font-weight:700}.card-text b{font-size:1.3rem;font-weight:800}.gap{width:min(100%,340px)}.gap:empty{display:none}.gap-label{margin:0 0 1.3rem;font-size:.95rem;font-weight:700}.gap-track{background:var(--border);border-radius:5px;height:10px;position:relative}.gap-fill{background:var(--gold);border-radius:5px;position:absolute;top:0;bottom:0;left:0;right:auto}.gap-other,.gap-me{box-sizing:border-box;border-radius:50%;position:absolute;top:50%;transform:translate(-50%,-50%)}.gap-other{background:var(--mint);border:3px solid var(--bg);width:18px;height:18px}.gap-me{background:var(--text);border:4px solid var(--gold);width:24px;height:24px}.gap-me span{color:var(--gold);font-size:.8rem;font-weight:700;position:absolute;bottom:22px;left:50%;transform:translate(-50%)}.gap-scale{height:1.2rem;color:var(--muted);font-variant-numeric:tabular-nums;margin-top:.45rem;font-size:.75rem;position:relative}.gap-scale>span:first-child{position:absolute;left:0}.gap-scale>span:last-child{position:absolute;right:0}.gap-other-label{white-space:nowrap;color:var(--mint);font-weight:700;position:absolute;transform:translate(-50%)}.fail #game{background:var(--false-start-bg)}.fail .message.bad{color:var(--false-start-title);font-size:clamp(2rem,10vw,2.8rem);font-weight:800;transform:rotate(-3deg)}.fail .detail{color:var(--false-start-text)}.went .gantry{outline:3px solid var(--mint);outline-offset:3px}.replay.cta{font-family:var(--display);font-weight:800;font-size:var(--fs-button-primary);color:var(--on-gold);background:var(--gold);border-radius:var(--radius-button-primary);box-shadow:0 5px 0 var(--gold-shadow);letter-spacing:0;padding:.75rem 1.6rem}.confetti{pointer-events:none;height:0;position:absolute;top:-40vh;bottom:auto;left:0;right:0}.confetti span{display:none}.message{min-height:1.3em;font-family:var(--display);font-weight:700;font-size:var(--fs-message);margin:0;line-height:1.2}.message.good{color:var(--text)}.message.record{color:var(--gold)}.message.bad{color:var(--red-text)}.message.neutral{color:var(--muted)}.result{font-family:var(--display);font-weight:800;font-size:var(--fs-result);letter-spacing:-.045em;font-variant-numeric:tabular-nums;white-space:nowrap;margin:0;line-height:.95}.result:empty{display:none}.detail{min-height:1.3em;color:var(--muted);margin:0;font-size:.95rem}.detail:empty,.best:empty{display:none}.detail a{color:inherit;text-decoration:underline;-webkit-text-decoration-color:var(--dashed);text-decoration-color:var(--dashed);text-underline-offset:3px}.best{min-height:1.3em;color:var(--faint);font-variant-numeric:tabular-nums;margin:0;font-size:.85rem}.replay{min-height:1.3em;color:var(--muted);font-size:var(--fs-replay);letter-spacing:.02em;opacity:0;pointer-events:none;margin:calc(-1*clamp(14px,3.5vh,36px)) 0 .4rem}.replay.show{opacity:1}.went #hint{margin-top:0}#hint:empty{display:none}.share{font:inherit;font-weight:600;font-size:var(--fs-button);color:var(--text);background:var(--fill);border:1px solid var(--stroke);border-radius:var(--radius-button);cursor:pointer;touch-action:manipulation;align-items:center;gap:.45rem;margin-top:.2rem;padding:.55rem 1.4rem;display:inline-flex}.share[hidden]{display:none}.share.hot{min-width:230px;font-size:var(--fs-button-primary);color:var(--on-gold);background:var(--gold);border-color:var(--gold);border-radius:var(--radius-button-primary);box-shadow:0 6px 0 var(--gold-shadow), 0 10px 28px #ffc83d4d;justify-content:center;padding:.85rem 1.8rem;font-weight:800}.target,.replay,.share,.challenge,.news{font-family:var(--display)}.target{font-size:var(--fs-target);font-weight:500}.replay{font-weight:500}.sheet{width:min(100%,480px);max-height:80dvh;padding:0 20px max(20px, env(safe-area-inset-bottom));color:var(--text);background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-sheet) var(--radius-sheet) 0 0;text-align:left;cursor:auto;touch-action:pan-y;-webkit-user-select:text;user-select:text;border-bottom:0;margin:auto auto 0}.sheet::backdrop{background:#0009}.sheet-head{justify-content:space-between;align-items:center;padding:16px 0 8px;display:flex}.sheet-head h2{font-family:var(--display);margin:0;font-size:1.3rem}.sheet-close{width:40px;height:40px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.6rem;line-height:1}.tabs{background:var(--bg);border-radius:var(--radius-card);gap:6px;margin-bottom:16px;padding:4px;display:flex}.tabs button{font:inherit;color:var(--muted);min-height:var(--tap-min);cursor:pointer;background:0 0;border:0;border-radius:18px;flex:1;padding:8px;font-weight:600}.tabs button[aria-selected=true]{color:var(--on-gold);background:var(--gold)}.tiles{grid-template-columns:1fr 1fr;gap:10px;display:grid}.tile{background:var(--surface-high);border-radius:var(--radius-card);flex-direction:column;gap:2px;padding:12px;display:flex}.tile.wide{grid-column:1/-1}.tile b{font-family:var(--display);font-size:var(--fs-stat-value);font-variant-numeric:tabular-nums}.tile span,.sheet-empty{color:var(--muted);font-size:.85rem}.sheet h3{margin:20px 0 6px;font-size:.95rem}.records{margin:0;padding:0;list-style:none}.records li{border-bottom:1px solid var(--line);font-variant-numeric:tabular-nums;justify-content:space-between;padding:8px 0;display:flex}.sheet-clear{font:inherit;color:var(--faint);cursor:pointer;background:0 0;border:0;margin-top:18px;padding:0;font-size:.85rem;text-decoration:underline}.btn{min-height:var(--tap-min);font:inherit;color:var(--text);background:var(--fill);border:1px solid var(--stroke);border-radius:var(--radius-button);cursor:pointer;touch-action:manipulation;padding:.55rem 1.2rem;font-weight:600}.btn.primary{color:var(--on-gold);background:var(--gold);border-color:var(--gold);border-radius:var(--radius-button-primary);box-shadow:0 4px 0 var(--gold-shadow);font-weight:800}.btn.danger{color:var(--red-text)}.btn.wide{width:100%;margin-top:16px;display:block}.btn:disabled{opacity:.45;cursor:default}.btn:focus-visible{outline:2px solid var(--text);outline-offset:2px}.link:focus-visible{outline:2px solid var(--text);outline-offset:2px}.friend-row:focus-visible{outline:2px solid var(--text);outline-offset:2px}.invite-close:focus-visible{outline:2px solid var(--text);outline-offset:2px}.tabs button:focus-visible{outline:2px solid var(--text);outline-offset:2px}.link{font:inherit;color:var(--muted);cursor:pointer;background:0 0;border:0;padding:8px 0;font-size:.85rem;text-decoration:underline}.notice{color:var(--gold);margin:0 0 10px;font-size:.9rem}.friend-list{margin:0;padding:0;list-style:none}.friend-list>li{border-bottom:1px solid var(--line)}.friend-row{width:100%;min-height:52px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;grid-template-columns:1.6em 1fr auto;align-items:center;gap:8px;padding:8px 0;display:grid}.friend-row:disabled{cursor:default;opacity:1}.friend-list .me .friend-name{color:var(--red-text);font-weight:700}.friend-rank{color:var(--muted);font-variant-numeric:tabular-nums}.friend-name{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.friend-name small{color:var(--muted);font-size:.8rem;font-weight:400;display:block}.friend-time{font-family:var(--display);font-variant-numeric:tabular-nums;white-space:nowrap;font-size:1.15rem}.friend-actions{gap:20px;padding:0 0 10px calc(1.6em + 8px);display:flex}.link.danger{color:var(--red-text)}.friend-foot{flex-wrap:wrap;justify-content:center;gap:4px 16px;margin-top:10px;display:flex}.received{margin-top:18px}.received h3{margin:0 0 4px}.received-list{margin:0;padding:0;list-style:none}.received-list li{border-bottom:1px solid var(--line);align-items:center;gap:14px;min-height:44px;display:flex}.received-text{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.link.icon{min-width:32px;font-size:1.3rem;line-height:1;text-decoration:none}.settings{margin:0;padding:0;list-style:none}.settings li{border-bottom:1px solid var(--line)}.settings-row{width:100%;min-height:48px;font:inherit;color:var(--text);text-align:left;cursor:pointer;background:0 0;border:0;justify-content:space-between;align-items:center;gap:12px;padding:0;display:flex}.settings-value{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.settings-row:focus-visible{outline:2px solid var(--text);outline-offset:2px}.row-actions{flex-wrap:wrap;justify-content:flex-end;gap:8px;margin-top:12px;display:flex}.name-sheet form{padding-top:20px}.field-title{margin-bottom:8px;font-weight:600;display:block}.name-sheet input{box-sizing:border-box;width:100%;font:inherit;color:var(--text);background:var(--surface-high);border:2px solid var(--gold);border-radius:var(--radius-field);padding:12px;font-size:16px}.field-help{color:var(--muted);margin:8px 0 0;font-size:.85rem}.invite{box-sizing:border-box;text-align:left;background:var(--surface);border:1px solid var(--border);border-radius:var(--radius-card);cursor:auto;width:min(100% - 32px,420px);padding:14px 44px 14px 16px;position:relative}.invite p{margin:0 0 6px}.invite-title{font-size:1.05rem;font-weight:700}.invite-beat{font-variant-numeric:tabular-nums}.invite-help,.invite-msg{color:var(--muted);font-size:.9rem}.invite .btn{margin-top:6px}.invite-close{width:44px;height:44px;color:var(--muted);cursor:pointer;background:0 0;border:0;font-size:1.5rem;position:absolute;top:4px;right:4px}.turnstile:empty{display:none}.link.back{margin-bottom:4px}.devices li{align-items:center}.devices small{color:var(--muted)}.link-code{font-family:var(--display);letter-spacing:.08em;text-align:center;font-variant-numeric:tabular-nums;margin:8px 0;font-size:2rem}.qr{width:180px;margin:0 auto}.qr svg{border-radius:8px;width:100%;height:auto;display:block}#link-input{text-transform:uppercase;letter-spacing:.08em}.share:focus-visible{outline:2px solid var(--text);outline-offset:3px}a:focus-visible{outline:2px solid var(--text);outline-offset:3px}.sr-only{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}footer{color:var(--faint);flex-wrap:wrap;justify-content:center;gap:.6rem;font-size:.8rem;display:flex}footer a{color:var(--faint);text-decoration:none}@media (hover:hover){.share:not(.hot):hover{background:var(--border)}footer a:hover{color:var(--muted);text-decoration:underline}}@media (prefers-reduced-motion:no-preference){.panel.m-in>*,.panel.m-pop>*,.panel.m-shake>*{animation:.16s ease-out both rise}.panel.m-pop .badge,.panel.m-pop .message{animation:.32s cubic-bezier(.2,1.6,.4,1) both pop}.panel.m-shake .message{animation:.32s ease-in-out both shake}.panel.m-in .share.hot,.panel.m-pop .share.hot{animation:.16s ease-out both rise,.7s ease-in-out .5s both pulse,2.6s ease-in-out 1.4s infinite glow}.replay.show{animation:.4s ease-out 1.2s both fade-in,2.6s ease-in-out 1.6s infinite breathe}.confetti span{border-radius:50%;width:8px;height:8px;animation:1s ease-in both confetti-fall;display:block;position:absolute;top:0}.confetti span.long{border-radius:3px;width:7px;height:16px}.sheet[open]{animation:.22s ease-out slide-up}}@keyframes rise{0%{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}@keyframes pop{0%{opacity:0;transform:scale(.6)}to{opacity:1;transform:scale(1)}}@keyframes pulse{0%,to{transform:scale(1)}45%{transform:scale(1.08)}}@keyframes glow{0%,to{box-shadow:0 6px 0 var(--gold-shadow), 0 10px 28px #ffc83d40}50%{box-shadow:0 6px 0 var(--gold-shadow), 0 10px 40px #ffc83d99}}@keyframes confetti-fall{0%{opacity:1;transform:translateY(0) rotate(var(--r))}to{opacity:0;transform:translateY(70vh) rotate(calc(var(--r) + 220deg))}}@keyframes fade-in{0%{opacity:0}to{opacity:1}}@keyframes breathe{0%,to{opacity:1}50%{opacity:.45}}@keyframes slide-up{0%{transform:translateY(100%)}to{transform:none}}@keyframes shake{0%,to{transform:none}20%{transform:translate(-7px)}40%{transform:translate(6px)}60%{transform:translate(-4px)}80%{transform:translate(3px)}}@media (max-width:360px){footer{gap:.4rem;font-size:.75rem}footer a{font-size:.75rem}}@media (max-height:620px) and (min-height:501px){.stage{gap:20px}.panel{gap:.25rem;height:21rem}.result{font-size:3rem}.unit{margin-top:-.3rem;font-size:1rem}.badge{padding:.2rem .7rem;font-size:.8rem}.panel .message.card{padding:4px 14px 4px 10px}.card-medal svg{width:24px;height:30px}.card-text b{font-size:1.05rem}.gap-label{margin-bottom:1rem;font-size:.85rem}.gap-scale{margin-top:.3rem}}@media (max-height:500px){#game{padding-top:max(10px, env(safe-area-inset-top));padding-bottom:max(8px, env(safe-area-inset-bottom))}.stage{gap:12px}.gantry{--size:min(14vw, 17vh, 60px)}.panel{gap:.1rem;height:11.5rem}.badge,.unit,.gap,.card-medal{display:none}.message{font-size:1.2rem}.result{font-size:2.2rem}.detail,.best{min-height:1.2em;font-size:.8rem}.replay{margin:-6px 0 .1rem;font-size:.8rem}.share.hot{min-width:0;padding:.4rem 1.2rem;font-size:.95rem}.share{padding:.35rem 1.1rem}}.debug{text-align:left;max-width:100%;color:var(--muted);-webkit-user-select:text;user-select:text;margin:.5rem 0 0;font:11px/1.4 ui-monospace,Menlo,monospace;overflow-x:auto}.debug:empty,.debug-copy[hidden]{display:none}.debug-copy{color:var(--text);border:1px solid var(--muted);background:0 0;border-radius:6px;padding:.3rem .8rem;font:12px ui-monospace,Menlo,monospace}
