/* Final source: Figma 414:81121. The browser supplies its own OS status bar. */
html,body{width:100%;min-height:100dvh;overflow-x:clip;background:#a8e64d}body.is-loading{background:#1a301a}.viewport{flex:none;max-width:none}.game{min-height:895px}.platform{z-index:10}.platform-progress{border-radius:14px;isolation:isolate;background:rgba(0,0,0,.30)}.platform-coin{position:absolute;left:8px;top:8px;width:38px;height:36px;object-fit:contain}.platform-copy{position:absolute;left:54px;top:8px;display:flex;gap:2px;align-items:center;font:13px/18px "PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif;color:#fff;white-space:nowrap}.platform-copy b{font-weight:600;color:#f0c601}.platform-track{position:absolute;left:54px;top:32px;width:148px;height:10px;background:rgba(0,0,0,.2);border-radius:7px;overflow:hidden}.platform-track i{display:block;background:#f0c601;border-radius:7px;height:100%;width:22%;transition:width .2s}
.level-row{color:#4c8c0e;-webkit-text-stroke:0;paint-order:stroke fill;font-weight:normal}.level-row i{background:#4c8c0e}.score-row{color:#46840a;-webkit-text-stroke:0}.score-row b{-webkit-text-stroke:.6px #ad671b}
.loading{background:#1a301a;z-index:8;display:block}.is-loading .platform-progress{visibility:hidden}.loading-brand{position:absolute;left:113.868px;top:164.944px;width:186.427px;height:70px;object-fit:contain}.loading-title{left:22px;top:249px;width:371px;height:130px;object-fit:contain}.loading-track{left:96px;top:657.286px;width:222px;height:16px;border:2.5px solid #fff;border-radius:8px;background:rgba(255,255,255,.88);overflow:hidden}.loading-track i{position:relative;background:linear-gradient(90deg,#ffd222,#ff9c18);border-radius:10px}.loading-track:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(135deg,transparent 0 6px,#ffffff25 6px 9px);pointer-events:none}.loading-energy{position:absolute;left:145px;top:648px;width:35px;height:35px;object-fit:contain}.loading #load-label{top:693.286px;left:0;width:414px;font:600 13px/18px "PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif;color:#fff5e5}.loading #load-retry{top:730px;color:#805024}.loading-energy[hidden]{display:none}
.sr-only{position:absolute!important;clip:rect(0,0,0,0);width:1px!important;height:1px!important;overflow:hidden;white-space:nowrap;margin:-1px!important}
dialog{width:calc(330px * var(--scale));height:calc(465px * var(--scale));padding:0;border:0;max-width:none;max-height:none;overflow:visible;background:none;margin:auto;color:#805024}dialog::backdrop{background:rgba(18,36,12,.6);backdrop-filter:none}.modal-content{width:330px;height:465px;min-height:0;padding:0;position:relative;transform:scale(var(--scale));transform-origin:top left;isolation:isolate;background:none}.modal-content::before{content:none}.popup-skin{position:absolute;inset:0;width:330px;height:465px;object-fit:contain;pointer-events:none}.skin-hit{position:absolute;padding:0;border:0;background:transparent;color:transparent;border-radius:24px}.skin-hit:active{background:#ffffff15}.skin-hit:focus-visible{outline:3px solid #ff9a25;outline-offset:0}.popup-score{position:absolute;left:169px;top:215px;width:108px;height:38px;display:flex;align-items:center;justify-content:center;color:#ff5900;font:normal 28px/1 "PingFang SC",sans-serif;white-space:nowrap;font-variant-numeric:tabular-nums}.popup-score.long{font-size:22px}.stage-next{left:48px;top:271px;width:234px;height:56px}.stage-replay{left:48px;top:337px;width:234px;height:54px}.popup-level{position:absolute;left:112px;top:149px;width:106px;height:34px;text-align:center;color:#553014;font:normal 24px/34px "PingFang SC",sans-serif}.pause-continue{left:47px;top:197px;width:236px;height:56px}.pause-restart{left:47px;top:265px;width:236px;height:55px}.popup-audio{position:absolute;left:55.5px;top:331px;width:219px;height:41px;display:flex;align-items:center;justify-content:center;gap:8px;background:none;border:0;color:#63380e;font:normal 20px "PingFang SC",sans-serif;border-radius:20px}.popup-audio>img{width:30px;height:24px;object-fit:contain;flex:none}.popup-audio .audio-copy{width:100px;flex:none;text-align:center;line-height:28px}.audio-switch{display:inline-block;position:relative;width:53px;height:28px;border-radius:20px;background:#a69b88;box-shadow:inset 0 1px 3px #0003}.audio-switch:after{content:'';position:absolute;top:2px;left:3px;width:24px;height:24px;border-radius:50%;background:white;box-shadow:0 2px 3px #0005}.audio-switch.on{background:#7dbb25}.audio-switch.on:after{left:26px}
dialog:has(.reward-view){width:calc(300px * var(--scale));height:calc(457px * var(--scale))}.modal-content.reward-view{width:300px;height:457px;color:#1a1f28;font-family:"PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif}.reward-panel{position:absolute;top:41px;left:0;width:300px;height:360px;background:#fefefe;border-radius:12px}.reward-detail{position:absolute;left:0;top:79px;width:300px;margin:0;font-size:22px;font-weight:600;line-height:31px;text-align:center;white-space:nowrap}.reward-detail strong{color:#ff004f;margin:0 2px;font-weight:700}.reward-coin{position:absolute;left:72px;top:118px;width:156px;height:156px;object-fit:contain}.reward-ribbon{position:absolute;top:0;left:0;width:300px;height:108px;object-fit:contain}.challenge-restart{position:absolute;left:16px;top:294px;width:268px;height:48px;border:0;border-radius:6px;background:#ff004f;color:#fff;font:600 19px/27px "PingFang SC",-apple-system,BlinkMacSystemFont,sans-serif}.challenge-restart:active{filter:brightness(.92)}.reward-close{position:absolute;left:130px;top:417px;width:40px;height:40px;background:none;border:0;padding:0}.reward-close img{width:40px;height:40px}.challenge-return{position:absolute;left:50%;top:45%;transform:translate(-50%,-50%);border:2px solid #5b8f22;border-radius:28px;background:#fff1bd;padding:10px 25px;font:24px "PingFang SC",sans-serif;pointer-events:auto;color:#805024}

/* Remove only the dialog container focus ring; interactive buttons retain focus-visible. */
#modal,#modal:focus,#modal:focus-visible,.modal-content:focus{outline:none!important;box-shadow:none;-webkit-tap-highlight-color:transparent}
#modal{-webkit-user-select:none;user-select:none}
