@font-face{font-family:GameCN;src:url('assets/fonts/game-cn.woff2');font-weight:900;font-display:block}@font-face{font-family:Score;src:url('assets/fonts/numbers.ttf');font-weight:200 1000;font-display:block}@font-face{font-family:PlatformNum;src:url('assets/fonts/platform-num.woff2');font-weight:600;font-display:block}@font-face{font-family:MiSans;src:url('assets/fonts/ui.woff2');font-weight:400 500;font-display:block}@font-face{font-family:MiSans;src:url('assets/fonts/ui-semibold.woff2');font-weight:600;font-display:block}@font-face{font-family:MiSans;src:url('assets/fonts/ui-bold.woff2');font-weight:700;font-display:block}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}html,body{margin:0;min-height:100%;background:#ffc268;overscroll-behavior:none}body{font-family:GameCN,MiSans,sans-serif;color:#4b280d;display:flex;justify-content:center;min-height:100dvh;user-select:none;-webkit-user-select:none}button{border:0;padding:0;background:none;color:inherit;font:inherit;cursor:pointer;touch-action:manipulation}button:focus-visible{outline:3px solid #fff1bf;outline-offset:3px}button:active:not([aria-disabled=true]){filter:brightness(1.12)}[hidden]{display:none!important}img{display:block;pointer-events:none;-webkit-user-drag:none;user-select:none}#viewport{position:relative;width:calc(414px * var(--scale,1));height:calc(var(--stage-h,895px) * var(--scale,1));flex:none}#app{position:absolute;isolation:isolate;left:0;top:0;width:414px;height:var(--stage-h,895px);transform:scale(var(--scale,1));transform-origin:0 0;overflow:clip;background:#b36b29}#scene{position:absolute;inset:0;overflow:clip}#background{position:absolute;inset:0;background:url('assets/background.png') center/100% 100% no-repeat}.art{position:absolute;pointer-events:none}.art>img{position:absolute;max-width:none}#platform{position:absolute;left:0;top:70px;width:414px;height:49px;z-index:10}#platform>button{position:absolute;top:0;width:44px;height:44px}#platform>button img{width:44px;height:44px}#back{left:12px}#sound{right:12px}#progress{position:absolute;left:70px;top:0;width:273px;height:49px;background:#3b0a0280;border-radius:8px;overflow:hidden;color:#fff;font-family:MiSans,sans-serif}.current-level{position:absolute;left:0;top:0;width:49px;height:49px;background:#3b0a0266;display:flex;align-items:center;flex-direction:column}.current-level b{font:600 19px/26px PlatformNum;display:block;height:28px}.current-level span{font:500 11px/15px MiSans}#progress-window{position:absolute;left:59px;top:5px;width:214px;height:41px;overflow:auto hidden;scrollbar-width:none;touch-action:pan-x}#progress-window::-webkit-scrollbar{display:none}#progress-nodes{width:345px;display:flex;gap:6px;height:41px}.progress-node{position:relative;flex:0 0 63px;white-space:nowrap;font:500 11px/15px MiSans;color:#fff;padding-top:23px}.node-value{position:absolute;left:0;top:2px;height:17px;display:flex;align-items:center;gap:2px;font:600 14px/17px PlatformNum,MiSans}.node-value img{width:13px;height:13px;object-fit:contain}.progress-node:after{content:'···';position:absolute;left:49px;top:0;color:#b6a18c;font:700 14px/17px MiSans;letter-spacing:1px}.progress-node:last-child:after{content:''}.progress-node.done .node-value{color:#ffeb99}.progress-node.done .node-value:before{content:'✓';font:700 12px MiSans;color:#fff}#hud{position:absolute;top:0;left:0;width:414px;height:300px;pointer-events:none}.score-label{position:absolute;left:32px;top:268px;font:900 24px/32px GameCN}#score{position:absolute;left:84px;top:257px;font:900 43px/54px Score;color:#b31e06;font-variant-numeric:tabular-nums;letter-spacing:-1px;-webkit-text-stroke:5px #fff0c2;paint-order:stroke fill;transform-origin:center}#score.four{font-size:35px;letter-spacing:-1.5px;top:262px}#time-number{position:absolute;left:259px;top:263px;font:900 31px/40px Score;font-variant-numeric:tabular-nums}#time-unit{position:absolute;left:302px;top:270px;font:900 19px/28px GameCN}#pause{position:absolute;left:340px;top:254px;width:44px;height:44px;pointer-events:auto}#pause-art{left:4px;top:4px}#pause:disabled{cursor:default;opacity:.7}#hud.urgent #time-number{color:#c32a09}#target{position:absolute;left:120px;top:314px;width:174px;text-align:center;font:900 16px/23px GameCN}#holes{position:absolute;inset:0;pointer-events:none}.hole{position:absolute;width:122px;height:132px;pointer-events:auto;overflow:visible;touch-action:manipulation}.hole-base,.hole-front{position:absolute;left:0;top:60px;z-index:0}.hole-front{z-index:3}.actor-clip{position:absolute;left:-5px;top:-12px;width:132px;height:129px;overflow:hidden;pointer-events:none;z-index:1}.actor{position:absolute;left:5.76px;top:13.31px;width:121.75px;height:121.75px;opacity:0;transform:translateY(140px);transition:opacity .1s ease-out,transform .14s cubic-bezier(.15,.75,.2,1);transform-origin:50% 88%}.actor img{width:100%;height:100%}.hole.up .actor,.hole.hit .actor{opacity:1;transform:translateY(0)}.hole.hit .actor{animation:bonk .32s cubic-bezier(.2,.8,.25,1) both}.hole.miss{animation:miss .16s ease-in-out}.hole:focus-visible{outline-offset:-10px;border-radius:35%}#fx{position:absolute;inset:0;z-index:7;pointer-events:none;overflow:clip}.hit-glow{position:absolute;width:90px;height:90px;border-radius:50%;background:radial-gradient(ellipse,#fffbed 0%,#fff5bade 12%,#ffc33d99 36%,#ffda1100 70%);mix-blend-mode:screen}.fx-art{position:absolute;pointer-events:none}.hit-ring{position:absolute;width:64px;height:24px;border:3px solid #fff2ae;border-radius:50%;filter:drop-shadow(0 0 4px #ffd31b)}footer{position:absolute;left:32px;right:40px;bottom:41px;height:38px;display:flex;justify-content:space-between;align-items:center;font:900 21px/30px GameCN;white-space:nowrap;-webkit-text-stroke:6px #fff0c2;paint-order:stroke fill}footer>span{display:flex;align-items:center;gap:4px}footer strong{font:900 32px/38px Score;color:#b31e06;letter-spacing:-1px;font-variant-numeric:tabular-nums}.inline-action{position:absolute;left:82px;top:594px;width:250px;z-index:8;text-align:center}.game-action{position:relative;width:250px;height:62px;display:grid;place-items:center;transition:transform .1s}.game-action:active{transform:scale(.96)}.game-action>span:last-child{position:relative;z-index:1;font:900 26px/36px GameCN;color:#fff3d2;text-shadow:0 2px 0 #881c07;white-space:nowrap}.action-art{inset:0}#paused{position:absolute;inset:0;z-index:15}.pause-shade{position:absolute;inset:0;background:#0006}#pause-panel{position:absolute;left:57px;top:431px;width:300px;height:209px;isolation:isolate}#pause-panel-art{z-index:-1}#pause-title{position:absolute;left:25px;top:20px;width:250px;margin:0;text-align:center;font:900 28px/36px GameCN;color:#4b280d}#pause-panel .game-action{position:absolute;left:25px;width:250px;height:60px}#resume{top:68px}#restart{top:132px}#pause-panel .secondary>span:last-child{color:#4b280d;text-shadow:none}#pause-panel .game-action>span:last-child{font-size:25px;line-height:34px}

#loading{position:absolute;inset:0;background:#b36b29;z-index:8}#mall-logo{position:absolute;left:114px;top:165px;width:186px;height:65px;object-fit:contain}#loading-title{left:0;top:0}.load-progress{position:absolute;left:96px;top:657px;width:222px;height:35px}.load-track{position:absolute;top:0;left:0;width:222px;height:16px;background:#f3e9dc;border:2px solid #fff;border-radius:10px;overflow:hidden}#load-fill{display:block;width:0;height:100%;background:repeating-linear-gradient(-45deg,#1cb3ff 0 7px,#3ec1ff 7px 11px);transition:width .12s linear}#load-coin{position:absolute;left:0;top:-9px;width:35px;height:35px;object-fit:contain}#load-value{position:absolute;left:230px;top:-1px;width:48px;text-align:left;font:500 12px/18px MiSans;color:#fff}#load-label{position:absolute;left:50px;top:693px;width:314px;text-align:center;margin:0;font:600 13px/18px MiSans;color:#fff}#retry-load{position:absolute;left:107px;top:735px;width:200px;height:44px;border:1px solid #fff7d2;border-radius:9px;color:#fff7d2;font:700 18px MiSans}
#modal{position:absolute;inset:0;z-index:20;font-family:'PingFang SC',MiSans,sans-serif}.modal-shade{position:absolute;inset:0;background:#000c}#modal-panel{position:absolute;left:57px;top:268px;width:300px;height:360px;border-radius:9px;background:#1da5ff;color:#fff;isolation:isolate}#modal-source{position:absolute;left:16px;top:12px;width:168px;height:27px;font-size:16px;line-height:27px;font-weight:600}#modal-title{position:absolute;left:16px;top:43px;margin:0;width:268px;height:83px;font-size:28px;line-height:37px;font-weight:600;white-space:pre-line}.prize{position:absolute;left:83px;top:112px;width:133px;height:143px;white-space:nowrap}.prize strong{position:absolute;left:0;top:0;font:600 119px/143px PlatformNum;width:109px;letter-spacing:0}.prize span{position:absolute;left:109px;top:100px;font:700 24px/32px MiSans}#reward-coin{position:absolute;left:188px;top:-36px;width:149px;height:142px;object-fit:contain;z-index:3}#modal-actions{position:absolute;left:16px;top:296px;width:268px;height:48px;display:flex;gap:8px}#modal-actions>button{height:48px;border-radius:9px;font:700 18px/24px MiSans;white-space:nowrap}#modal-primary{width:268px;background:#111a2c;color:#fff}#revive{display:none;background:#911300;color:#fff;width:153px;cursor:default}#modal-close{position:absolute;left:130px;top:376px;width:40px;height:40px}#modal-close img{width:40px;height:40px}#modal.failure #modal-panel{background:#fddba5;color:#111a2d}#modal.failure #modal-source{color:#7b4300}#modal.failure .prize{color:#911300}#modal.failure #modal-primary{width:107px;background:#fff;color:#111a2d}#modal.failure #revive{display:block}#modal.success #modal-source{color:#ffffff80}.reward-flash{position:absolute;left:70px;top:70px;width:273px;height:49px;border-radius:8px;box-shadow:0 0 0 3px #ffe58c,0 0 25px #ffdc5d;pointer-events:none}.reward-points{position:absolute;color:#fff2a8;font:600 23px PlatformNum;text-shadow:0 2px 3px #693311}.reduced *{animation:none!important;transition:none!important}@keyframes bonk{0%{transform:translateY(0) scale(1,1)}35%{transform:translateY(12px) scale(1.04,.70)}65%{transform:translateY(-5px) scale(.93,1.10)}100%{transform:translateY(2px) scale(1,1)}}@keyframes miss{0%,100%{translate:0}40%{translate:-2px}75%{translate:2px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important}}@media(min-width:700px){body{background:#613915}} 

/* V5: cover, grouped round HUD, paused dialog. Shared platform UI owns its styles. */
#app[data-phase="ready"] #hud,#app[data-phase="ready"] #target,#app[data-phase="ready"] #holes,#app[data-phase="ready"] #fx{display:none}
#cover-hero{display:none;filter:drop-shadow(0 16px 16px #75330845)}#app[data-phase="ready"] #cover-hero{display:block}
#app[data-phase="ready"] #ready{top:650px!important}#app[data-phase="ready"] #title-art{top:180px!important}
#hud{left:28px;top:250px;width:358px;height:102px;border:1px solid #8c48184d;border-radius:20px;background:linear-gradient(135deg,#fff1cced,#ffda8edb);box-shadow:0 4px 0 #9b481d30,inset 0 1px #fff8df;}
.score-label{left:18px;top:10px;font:700 12px/18px MiSans}#score,#score.four{left:16px;top:28px;font:900 35px/44px Score;letter-spacing:0;-webkit-text-stroke:0;color:#af300b}
#clock-art{display:none}#time-number{left:150px;top:28px;font:900 35px/44px Score}#time-unit{left:197px;top:44px;font:700 12px/18px MiSans}
#hud:before{content:'时间';position:absolute;left:152px;top:10px;font:700 12px/18px MiSans}
#hud:after{content:'';position:absolute;left:127px;top:18px;width:1px;height:54px;background:#b37c4340}
#pause{left:298px;top:25px}#target{left:272px;top:261px;width:56px;font:700 12px/18px MiSans;display:flex;flex-wrap:wrap;justify-content:center;gap:0 3px}#target span:first-child{width:100%}#target-number{font:900 24px/36px Score}#target span:last-child{align-self:end;line-height:32px}
#countdown{position:absolute;left:0;top:410px;width:414px;text-align:center;z-index:12;font:900 112px/140px Score;color:#fff3c8;-webkit-text-stroke:8px #a73912;paint-order:stroke fill;filter:drop-shadow(0 8px 0 #7b2d1533);pointer-events:none}
#app[data-phase="countdown"] #holes{opacity:.45}

#pause-panel{top:323px;height:270px}#pause-panel-art{display:none}#pause-panel{background:linear-gradient(150deg,#fff6dc,#ffdd98);border:3px solid #a64e20;border-radius:24px;box-shadow:0 7px 0 #713713,0 18px 32px #28120266,inset 0 2px #fffefa}
.pause-emblem{position:absolute;left:120px;top:-28px;width:54px;height:54px;border-radius:18px;background:linear-gradient(#ff7145,#d83213);border:3px solid #ffe9b4;display:flex;justify-content:center;align-items:center;gap:6px;box-shadow:0 4px 0 #8d3416}.pause-emblem i{width:6px;height:22px;border-radius:2px;background:#fff2d4}
#pause-title{top:40px;font:900 28px/38px GameCN;left:22px}.pause-rule{position:absolute;left:32px;right:32px;top:92px;height:1px;background:#cba56d80}
#pause-panel #resume{top:115px;left:22px}#pause-panel #restart{top:181px;left:22px}#pause-panel .game-action>span:last-child{font-size:22px}
/* Exact latest shared framework differences are scoped to this game. */
.pde-game-mole .pde-result[data-pde-outcome="success"]{background:#ff5900!important}.pde-game-mole .pde-result[data-pde-outcome="failure"] .pde-result-coin{left:193px!important}.pde-game-mole .pde-result[data-pde-outcome="success"] .pde-result-kicker{opacity:.5!important}

html,body{overflow-x:clip;scrollbar-width:none}body::-webkit-scrollbar{display:none}#hud{height:88px}#score{transition:color .12s}#hud.urgent #time-number{animation:time-alert .8s ease-in-out infinite alternate}@keyframes time-alert{to{color:#ed3100;text-shadow:0 0 8px #ff985080}}

.pde-game-mole .pde-loading{background:#b9682d;color:#fff5e5}.pde-game-mole .pde-loading-scene>p{top:693.29px}.pde-game-mole .pde-load-meter>output{visibility:hidden}.pde-game-mole .pde-result-amount>strong{font-family:PlatformNum,sans-serif!important;letter-spacing:0!important}.pde-game-mole .pde-result-amount>span{font-family:MiSans,sans-serif!important}.pde-game-mole .pde-result-action{font-family:MiSans,sans-serif!important}

/* V6: one sculpted gold plaque, three aligned score cells and separate pause. */
#hud{left:28px;top:250px;width:300px;height:72px;border:0;border-radius:0;background:none;box-shadow:none;display:grid;grid-template-columns:repeat(3,1fr);padding:9px 12px 6px;gap:0;overflow:visible;isolation:isolate}
#hud-art{z-index:-1}#hud:before,#hud:after{display:none}
.hud-cell,#hud #target{position:relative;inset:auto;width:auto;height:54px;margin:0;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;gap:0;white-space:nowrap;text-align:center}
.hud-cell+.hud-cell:before{content:'';position:absolute;left:0;top:8px;bottom:6px;width:1px;background:linear-gradient(transparent,#b0703c70,transparent);box-shadow:1px 0 #fff6d280}
.hud-label,#target .hud-label{width:auto!important;font:900 12px/18px GameCN;color:#713b18;letter-spacing:1px}
.hud-value{height:36px;display:flex;justify-content:center;align-items:baseline;gap:3px;white-space:nowrap}
#score,#score.four,#time-number,#target-number{position:static;inset:auto;font:900 30px/36px Score;letter-spacing:0;color:#572a10;-webkit-text-stroke:0;text-shadow:0 1px #fff4c7;font-variant-numeric:tabular-nums}
#score{color:#b13410}#score.four{font-size:25px}#time-unit,#target .hud-value>span{position:static;inset:auto;align-self:auto;font:900 11px/16px GameCN;color:#713b18}
#pause{left:314px;top:14px;width:44px;height:44px}#pause-art{left:2px;top:2px}

/* V7 start-only story scene; protected framework and playable field unchanged. */
#cover-scene{position:absolute;inset:0;display:none;background:url('assets/cover-burrow-v17.png') center/100% 100% no-repeat;pointer-events:none}
#app[data-phase="ready"] #cover-scene{display:block}#app[data-phase="ready"] #cover-hero{display:none}#app[data-phase="ready"] #title-art{top:170px!important}#app[data-phase="ready"] #ready{top:668px!important}

#app[data-phase="ready"] #ready{top:708px!important}

/* Align actual alpha silhouettes: plaque center35.86, pause art center24.91. */
#pause{top:11.95px}

#hud .hud-value{position:relative;top:-1px}

#app:is([data-phase="success"],[data-phase="failure"]) #ready{top:755px!important}
#start>span:last-child{position:absolute;inset:0 0 auto;height:56px;display:grid;place-items:center;line-height:1}


.strike-spark{position:absolute;width:8px;height:14px;opacity:0;pointer-events:none;background:linear-gradient(#fffdec 25%,#ffd24b 75%,#ff861e);clip-path:polygon(50% 0,67% 35%,100% 50%,66% 64%,50% 100%,33% 65%,0 50%,34% 36%)}

.points{position:absolute;z-index:3;width:120px;height:64px;overflow:visible;pointer-events:none}
.points text{font:900 44px Score;fill:#fff9dd;stroke:#a4310b;stroke-width:6;stroke-linejoin:round;stroke-linecap:round;paint-order:stroke fill}

/* Keep the lower body behind the curved front rim throughout the hit animation. */
.actor-clip{clip-path:polygon(0 0,100% 0,100% 68px,118px 89px,109px 102px,94px 111px,66px 115px,38px 111px,23px 102px,14px 89px,0 68px)}
