@font-face{font-family:Galmuri11;font-weight:400;font-display:swap;src:url(/fonts/Galmuri11.woff2)format("woff2")}@font-face{font-family:Galmuri11;font-weight:700;font-display:swap;src:url(/fonts/Galmuri11-Bold.woff2)format("woff2")}:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-family:Galmuri11,system-ui,sans-serif}*{box-sizing:border-box}html,body,#root{height:100%;margin:0}body{color:#fff;overscroll-behavior:none;-webkit-user-select:none;user-select:none;touch-action:manipulation;background:#0b0c16}#root{display:flex}.game-root{flex:1;justify-content:center;align-items:center;width:100%;padding:0;display:flex}.game-frame{background:#000;border-radius:6px;flex-direction:column;width:min(100%,133.333dvh);height:min(100%,125dvw);max-height:100dvh;display:flex;position:relative;overflow:hidden;box-shadow:0 0 0 3px #25284a,0 16px 50px #0009}.game-hud-canvas{aspect-ratio:320/36;image-rendering:auto;background:#000;flex:none;width:100%;display:none}.game-viewport{flex:auto;width:100%;min-height:0;position:relative}.game-canvas{object-fit:contain;image-rendering:auto;width:100%;height:100%;display:block}.play-guide{display:none}.settings-btn{z-index:5;color:#fff;cursor:pointer;background:#0a0c1e80;border:1px solid #ffffff40;border-radius:6px;justify-content:center;align-items:center;width:26px;height:22px;padding:0;font-size:14px;line-height:1;display:flex;position:absolute;top:6px;right:6px}.settings-btn:active{transform:translateY(1px)}.hud-btn-label{display:none}@media (pointer:coarse){.hud-btn{letter-spacing:1px;color:#fff;background:#0a0c1e80;border:1px solid #ffffff59;border-radius:4px;width:auto;min-width:42px;height:21px;padding:0 8px;font-family:Galmuri11,monospace;font-size:12px;font-weight:700}.hud-btn .hud-btn-ico{display:none}.hud-btn .hud-btn-label{line-height:1;display:inline}.settings-btn.hud-btn,.pause-btn.hud-btn{border-radius:6px;width:72px;min-width:72px;height:22px;padding:0}.settings-btn.hud-btn{top:calc(env(safe-area-inset-top) + 5px);right:calc(env(safe-area-inset-right) + 6px);left:auto}.pause-btn.hud-btn{top:calc(env(safe-area-inset-top) + 31px);right:calc(env(safe-area-inset-right) + 6px);left:auto;transform:none}.pause-btn.hud-btn:active{transform:translateY(1px)}}.settings-overlay{z-index:10}.settings-panel{gap:12px;min-width:min(300px,86vw)}.setting-row{justify-content:space-between;align-items:center;gap:14px;width:100%;display:flex}.setting-label{color:#cdd6ff;font-size:clamp(13px,3.4vw,16px);font-weight:700}.setting-hint{text-align:left;color:#9aa3c7;width:100%;margin:-4px 0 0;font-size:clamp(11px,2.8vw,13px)}.seg{border:1px solid #ffffff40;border-radius:8px;display:flex;overflow:hidden}.seg-btn{font:inherit;color:#cdd6ff;cursor:pointer;background:#ffffff0f;border:none;padding:7px 14px;font-size:clamp(12px,3vw,14px);font-weight:700}.seg-btn+.seg-btn{border-left:1px solid #fff3}.seg-btn.on{color:#14260f;background:linear-gradient(#ffdf6e,#ffcb37)}.coupon-box{align-items:stretch;gap:6px;display:flex}.coupon-input{font:inherit;color:#fff;background:#ffffff14;border:1px solid #ffffff40;border-radius:8px;width:min(150px,40vw);padding:6px 10px;font-size:clamp(12px,3vw,14px)}.coupon-input::placeholder{color:#8a93b8}.coupon-box .seg-btn{border:1px solid #ffffff40;border-radius:8px}.setting-hint.ok{color:#8be08b}.setting-hint.err{color:#ff8f8f}.pause-btn{z-index:5;cursor:pointer;background:#0a0c1e80;border:1px solid #ffffff40;border-radius:6px;justify-content:center;align-items:center;width:32px;height:22px;padding:0;display:flex;position:absolute;top:6px;left:50%;transform:translate(-50%)}.pause-btn:active{transform:translate(-50%)translateY(1px)}.ico-pause{box-sizing:border-box;border-left:3px solid #fff;border-right:3px solid #fff;width:11px;height:13px;display:inline-block}.ico-play{border-top:7px solid #0000;border-bottom:7px solid #0000;border-left:12px solid #fff;width:0;height:0;margin-left:2px;display:inline-block}.pause-overlay{z-index:6}.touch-controls{display:none}@media (pointer:coarse){.game-root{padding:0}.game-frame{width:100dvw;height:100dvh;max-height:100dvh;box-shadow:none;background:#000;border-radius:0;display:block}.game-viewport{width:100%;height:100%;position:absolute;inset:0}.game-canvas{object-fit:cover;width:100%;height:100%}.touch-controls{z-index:4;pointer-events:none;display:block;position:absolute;inset:0}}.touch-zone{pointer-events:auto;touch-action:none;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;position:absolute;top:0;bottom:0}.touch-zone-left{left:0;right:50%}.touch-zone-right{left:50%;right:0}.stick-guide{left:calc(env(safe-area-inset-left) + 18px);bottom:calc(env(safe-area-inset-bottom) + 18px);-webkit-backdrop-filter:blur(1px);backdrop-filter:blur(1px);pointer-events:none;background:#14183033;border:2px solid #ffffff47;border-radius:50%;width:96px;height:96px;position:absolute}.stick-guide:before,.stick-guide:after{content:"";background:#ffffff38;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.stick-guide:before{width:2px;height:44px}.stick-guide:after{width:44px;height:2px}.stick-base{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#14183057;border:2px solid #ffffff80;border-radius:50%;width:96px;height:96px;margin:-48px 0 0 -48px;position:absolute}.stick-knob{background:#ffd34e99;border:2px solid #ffffffd9;border-radius:50%;width:48px;height:48px;margin:-24px 0 0 -24px;position:absolute;top:50%;left:50%}.jump-visual{right:calc(env(safe-area-inset-right) + 26px);bottom:calc(env(safe-area-inset-bottom) + 26px);color:#ffffffe6;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);pointer-events:none;background:#14183057;border:2px solid #ffffff73;border-radius:50%;justify-content:center;align-items:center;width:100px;height:100px;font-size:18px;font-weight:800;display:flex;position:absolute}.jump-visual.pressed{background:#ffd34e80;border-color:#fffffff2}.rotate-notice{display:none}@media (pointer:coarse) and (orientation:portrait){.rotate-notice{z-index:50;color:#fff;text-align:center;background:#0b0a24;flex-direction:column;justify-content:center;align-items:center;gap:14px;padding:24px;font-size:17px;font-weight:700;display:flex;position:fixed;inset:0}.rotate-icon{font-size:54px}}.intro-overlay{z-index:30;text-align:center;cursor:pointer;-webkit-tap-highlight-color:transparent;background:radial-gradient(circle at 50% 40%,#161a3ce6,#040610f7);flex-direction:column;justify-content:center;align-items:center;gap:clamp(10px,2.5vh,18px);padding:16px;display:flex;position:absolute;inset:0}.intro-card{flex-direction:column;align-items:center;gap:clamp(10px,2.4vh,18px);width:min(92vw,460px);animation:.45s introFade;display:flex;container-type:inline-size}.intro-scene{width:100%;animation:.4s introFade}.intro-svg,.intro-img{border:3px solid #ffd34e;border-radius:12px;width:100%;height:auto;display:block;box-shadow:0 0 0 3px #1b1e48,0 12px 30px #0009}.intro-img{aspect-ratio:320/200;object-fit:cover;image-rendering:pixelated;background:#0e1028}.intro-caption{color:#eef2ff;text-shadow:0 2px 6px #00000080;flex-direction:column;gap:3px;margin:0;font-size:clamp(11px,4cqw,18px);font-weight:700;line-height:1.45;display:flex}.intro-caption span{white-space:nowrap;word-break:keep-all}.intro-skip{z-index:2;font:inherit;color:#cdd6ff;cursor:pointer;background:#0e1028b3;border:2px solid #ffffff59;border-radius:8px;padding:6px 12px;font-size:clamp(12px,3vw,15px);font-weight:700;position:absolute;top:12px;right:12px}.intro-skip:active{transform:translateY(1px)}.intro-dots{gap:8px;display:flex}.intro-dot{background:#ffffff47;border-radius:50%;width:9px;height:9px;transition:background .2s,transform .2s}.intro-dot.on{background:#ffd34e;transform:scale(1.15)}.intro-hint{color:#9aa3c7;margin:0;font-size:clamp(11px,2.8vw,14px);animation:1.6s ease-in-out infinite introPulse}@keyframes introFade{0%{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}@keyframes introPulse{0%,to{opacity:.55}50%{opacity:1}}@media (pointer:coarse) and (orientation:landscape){.intro-card{gap:clamp(6px,1.6vh,12px);width:min(70vh,92vw,460px)}}.screen-overlay{text-align:center;background:radial-gradient(circle at 50% 38%,#161a3c73,#050712d1);justify-content:center;align-items:center;padding:16px;display:flex;position:absolute;inset:0}.panel{background:#0e1028e6;border:3px solid #ffd34e;border-radius:10px;flex-direction:column;align-items:center;gap:14px;max-width:calc(100vw - 16px);max-height:calc(100dvh - 16px);padding:clamp(20px,5vw,32px) clamp(22px,7vw,48px);display:flex;overflow-y:auto;box-shadow:0 0 0 3px #1b1e48,0 12px 34px #0009}@media (pointer:coarse) and (orientation:landscape){.screen-overlay{padding:8px}.panel{gap:clamp(6px,1.8vh,14px);max-height:calc(100dvh - 12px);padding:clamp(12px,3vh,28px) clamp(20px,6vw,44px)}.title-badge{font-size:clamp(22px,8vh,44px)}.title-badge.small{font-size:clamp(18px,6vh,30px)}.title-sub{font-size:clamp(12px,3.4vh,17px)}.game-btn{padding:clamp(7px,1.6vh,11px) 26px}.rank-list{max-height:38vh}}.title-badge{letter-spacing:2px;white-space:nowrap;color:#fff;text-shadow:2px 2px #ff5d5d,4px 4px #2a2c54,0 0 20px #7ec8e373;font-size:clamp(26px,8vw,48px);font-weight:900;line-height:.98}.title-badge.small{text-shadow:2px 2px #ff5d5d,0 0 16px #7ec8e366;font-size:clamp(20px,6vw,32px)}.title-sub{color:#cdd6ff;margin:0;font-size:clamp(13px,3.4vw,18px)}.title-sub strong{color:#ffd34e}.hint{color:#9aa3c7;margin:0;font-size:clamp(11px,2.8vw,14px)}.btn-row{flex-wrap:wrap;justify-content:center;gap:12px;display:flex}.game-btn{font:inherit;letter-spacing:1px;color:#14260f;cursor:pointer;background:linear-gradient(#ffdf6e,#ffcb37);border:2px solid #fff3c4;border-radius:8px;margin-top:4px;padding:11px 26px;font-size:clamp(14px,3.6vw,18px);font-weight:800;transition:transform 80ms,box-shadow 80ms;box-shadow:0 4px #c79a2e,0 6px 10px #0006}.game-btn:active{transform:translateY(3px);box-shadow:0 1px #c79a2e}.game-btn.ghost{color:#fff;background:#ffffff1a;border-color:#ffffff59;box-shadow:0 4px #00000059}.title-btn-row{align-self:stretch;gap:12px;display:flex}.title-btn-row .game-btn{white-space:nowrap;flex:1 1 0;padding-left:0;padding-right:0}.game-btn:disabled{opacity:.5;cursor:not-allowed;box-shadow:0 4px #c79a2e}.tutorial-exit{z-index:6;color:#fff;cursor:pointer;background:#0e1028d1;border:2px solid #ffffff73;border-radius:8px;padding:6px 14px;font-family:Galmuri11,monospace;font-size:clamp(10px,2.6vw,13px);position:absolute;bottom:10px;left:50%;transform:translate(-50%)}.tutorial-exit:active{transform:translate(-50%)translateY(1px)}.auth-row{flex-wrap:wrap;justify-content:center;align-items:center;gap:10px;display:flex}.auth-name{color:#cdd6ff;font-size:clamp(12px,3vw,15px)}.auth-link{font:inherit;color:#7ec8e3;cursor:pointer;background:0 0;border:none;padding:4px 2px;font-size:clamp(11px,2.8vw,14px);text-decoration:underline}.auth-link:hover{color:#aee3f5}.auth-error{color:#ff9d9d;text-align:center;width:100%;margin:2px 0 0;font-size:clamp(11px,2.8vw,13px)}.play-status{flex-direction:column;align-items:center;gap:6px;display:flex}.play-faces{align-items:center;gap:4px;font-size:clamp(18px,5vw,24px);line-height:1;display:flex}.play-face{filter:drop-shadow(0 1px 1px #00000080)}.play-face.spent{opacity:.25;filter:grayscale()}.play-extra{color:#ffd34e;font-size:clamp(13px,3.4vw,16px);font-weight:800}.play-text{color:#cdd6ff;margin:0;font-size:clamp(11px,2.8vw,14px)}.play-text strong{color:#ffd34e}.play-regen{color:#9fb0e0}.submit-box{flex-direction:column;align-items:center;gap:8px;width:100%;display:flex}.share-box{flex-direction:column;align-items:center;gap:6px;width:100%;display:flex}.nickname-input{font:inherit;text-align:center;color:#fff;background:#ffffff14;border:2px solid #ffffff4d;border-radius:8px;width:min(240px,80vw);padding:9px 12px;font-size:clamp(13px,3.4vw,16px)}.nickname-input::placeholder{color:#8a93b8}.panel.panel-wide{width:min(420px,92vw)}.rank-tabs{flex-wrap:wrap;justify-content:center;gap:6px;display:flex}.rank-tab{font:inherit;color:#cdd6ff;cursor:pointer;background:#ffffff14;border:1px solid #fff3;border-radius:14px;padding:6px 12px;font-size:clamp(11px,2.8vw,13px);font-weight:700}.rank-tab.active{color:#14260f;background:linear-gradient(#ffdf6e,#ffcb37);border-color:#fff3c4}.rank-list{flex-direction:column;gap:4px;width:100%;min-height:140px;max-height:46vh;display:flex;overflow-y:auto}.rank-row{color:#e7ecff;background:#ffffff0d;border-radius:6px;grid-template-columns:36px 1fr auto;align-items:center;gap:8px;padding:8px 10px;font-size:clamp(12px,3vw,15px);display:grid}.rank-row.mine{background:#ffd34e2e;border:1px solid #ffd34e99}.rank-row.my-rank{margin-top:6px}.rank-pos{color:#ffd34e;text-align:center;font-weight:800}.rank-name{text-align:left;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.rank-score{color:#aee3f5;font-weight:700}
