@font-face{font-family:Pretendard;src:url(/game/Pretendard-game.woff2) format("woff2");font-weight:100 599;font-display:swap}@font-face{font-family:Pretendard;src:url(/game/Pretendard-game-800.woff2) format("woff2");font-weight:600 900;font-display:swap}:root{font-family:Pretendard,Apple SD Gothic Neo,Malgun Gothic,system-ui,sans-serif;color:#fff7e6;background:#1b2a2e;color-scheme:dark}*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{display:flex;justify-content:center;word-break:keep-all;-webkit-tap-highlight-color:transparent}#app{position:relative;width:min(100%,460px);height:100dvh;overflow:hidden;background:#1b2a2e}#board{position:absolute;inset:0;width:100%;height:100%;touch-action:none}#ui{position:absolute;inset:0;pointer-events:none;display:flex;flex-direction:column}button{font:inherit;color:#3a2210;min-width:44px;min-height:48px;padding:10px 16px;border-radius:16px;border:2px solid #f6d79c;background:#fff3d6;font-weight:800;font-size:16px;touch-action:manipulation;cursor:pointer;pointer-events:auto}.ai-notice{position:absolute;z-index:5;top:calc(max(10px,env(safe-area-inset-top),var(--host-safe-top, 0px)) + 54px);left:10px;right:10px;display:flex;align-items:center;gap:8px;padding:4px 6px 4px 10px;border-radius:12px;background:#16272af0;color:#fff7e6;font-size:13px;line-height:1.3;pointer-events:none}.ai-notice[hidden]{display:none}.ai-notice span{flex:1}.ai-notice button{min-width:48px;min-height:48px;padding:4px;font-size:13px;pointer-events:auto}button:focus-visible{outline:3px solid #ffe08a;outline-offset:2px}.primary{background:linear-gradient(#ffcf5a,#f59f2a);border-color:#fff0c2;color:#3a1d06;box-shadow:0 5px #a8551a;font-size:19px}.top{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:max(10px,env(safe-area-inset-top),var(--host-safe-top, 0px)) max(12px,var(--host-safe-right, 0px)) 6px max(12px,var(--host-safe-left, 0px))}.top button{min-height:44px;padding:8px 12px;font-size:14px;background:#233a3f;color:#fff7e6;border-color:#9cc7c1}.stage-box{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;gap:5px}.stage-name{font-size:18px;font-weight:900;text-shadow:0 2px 0 #0b1416;text-align:center}.stage-name.boss{color:#ffd36b}.stage-dots{display:flex;align-items:center;gap:7px}.stage-dots i{width:8px;height:8px;border-radius:50%;background:#fff7e64d;box-shadow:0 1px #0b1416}.stage-dots i.done{background:#fff7e6}.stage-dots i.now{background:#ffd36b;transform:scale(1.35)}.stage-dots i.boss{width:11px;height:11px;border-radius:3px;transform:rotate(45deg);background:#e0574f66}.stage-dots i.boss.done{background:#ff8a7f}.stage-dots i.boss.now{background:#ff6b5e;transform:rotate(45deg) scale(1.2)}.apples{display:inline-flex;align-items:center;gap:4px;font-size:17px;font-weight:900;min-width:64px;justify-content:flex-end;text-shadow:0 2px 0 #0b1416}.apples img{width:26px;height:26px;object-fit:contain}.home{margin-top:auto;padding:0 22px max(28px,env(safe-area-inset-bottom),var(--host-safe-bottom, 0px));display:flex;flex-direction:column;align-items:center;gap:12px;text-align:center}.home h1{margin:0;font-size:40px;font-weight:900;letter-spacing:-1px;text-shadow:0 4px 0 #0b1416}.kicker{margin:0;font-size:14px;color:#ffe0a3;font-weight:700}.stage-line{margin:0 0 6px;font-size:16px;font-weight:800}.home .primary{width:min(300px,100%);min-height:64px;font-size:22px}.knife-column{position:absolute;left:max(14px,var(--host-safe-left, 0px));bottom:max(22px,env(safe-area-inset-bottom),var(--host-safe-bottom, 0px));display:flex;flex-direction:column-reverse;gap:5px}.knife-pip{width:12px;height:28px;border-radius:6px 6px 3px 3px;background:linear-gradient(#f2f7fa 0 58%,#8d5a33 58%);box-shadow:0 1px #0b1416}.knife-pip.used{opacity:.22}.hint{position:absolute;left:0;right:0;bottom:30%;margin:0;text-align:center;font-size:17px;font-weight:800;text-shadow:0 2px 0 #0b1416}.overlay{position:absolute;inset:0;background:#08121499;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom));pointer-events:auto}.sheet{width:min(360px,100%);max-height:100%;overflow:auto;background:#fff7e6;color:#3a2210;border:3px solid #f2c26b;border-radius:22px;padding:20px;text-align:center;box-shadow:0 12px 30px #0008}.sheet h2{margin:4px 0 8px;font-size:22px;font-weight:900}.sheet p{margin:0 0 12px;font-size:15px;line-height:1.45}.actions{display:flex;flex-direction:column;gap:10px;margin-top:8px}.actions button{width:100%}.boot{margin:auto;padding:24px;text-align:center}.notice{position:absolute;top:14%;left:8%;right:8%;text-align:center;font-weight:700;color:#fff;text-shadow:0 2px #000}@media(max-height:620px){.home h1{font-size:32px}.home .primary{min-height:56px}}
