:root{font-family:"Microsoft YaHei","PingFang SC",sans-serif;color:#553019;background:#123e49;font-synthesis:none;color-scheme:light}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at 70% 15%,#308f89 0,#153f50 65%)}button,input,select{font:inherit}button{cursor:pointer;touch-action:manipulation;-webkit-tap-highlight-color:transparent}button:disabled{cursor:default}button:focus-visible{outline:3px solid #09b7ff;outline-offset:3px}[hidden]{display:none!important}button{border:2px solid #ad792f;border-radius:12px;background:linear-gradient(#fff6cb,#efcd85);box-shadow:inset 0 2px #fff9dd,0 3px #815029;color:#6a4023;font-weight:900;padding:8px 12px;min-height:40px}button:active:not(:disabled){transform:translateY(2px);box-shadow:inset 0 2px #fff9dd,0 1px #815029}button:disabled:not(.skill){opacity:.52}.layout{min-height:100dvh;display:flex;align-items:center;justify-content:center;gap:72px;padding:24px}.game{position:relative;width:480px;height:min(960px,calc(100dvh - 48px));min-height:556px;display:flex;flex-direction:column;overflow:hidden;background:#8de4f0;border:4px solid #e2b855;border-radius:28px;box-shadow:0 24px 90px #001e39aa,inset 0 0 0 2px #fff3aa}header{position:relative;z-index:3;display:flex;align-items:center;gap:7px;min-height:65px;padding:7px 12px;background:linear-gradient(#fffacb,#f5d689);border-bottom:3px solid #ce913d;box-shadow:0 3px 8px #5130193d}.level-name{flex:1;white-space:nowrap}.level-name small{font-weight:900;color:#a95621;font-size:12px;letter-spacing:2px}.level-name h1{font-size:19px;margin:1px 0 0;line-height:1.3;text-shadow:0 1px #fff6c2}.wallet,.energy{display:flex;align-items:center;gap:4px;font-size:16px;min-width:40px;white-space:nowrap}.energy i{font-size:27px;line-height:1;font-style:normal;color:#16a798;text-shadow:0 1px #006d81}.coin-dot,.coin-spark{display:inline-block;width:19px;height:22px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fff9a8,#ffe25d 45%,#efad27 70%);border:2px solid #ce8a1d;box-shadow:inset 0 0 0 2px #fff191}header button{width:31px;min-height:34px;padding:0;font-size:16px;border-radius:9px}header #rank{font-size:13px;opacity:.83}.stage{position:relative;flex:1;min-height:340px;isolation:isolate;overflow:hidden;background:#94def0}.stage::before{content:"";position:absolute;inset:0;z-index:-1;background:url('assets/courtyard-a-v4.png') center 55%/cover no-repeat;filter:saturate(1.17) brightness(1.08) blur(.6px)}.stage::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#3fc5f824,#ffffff00 30%,#faf39905)}.world{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}#scene{display:block;width:100%;height:100%;filter:saturate(1.2) contrast(1.045)}.targets{position:absolute;inset:0;pointer-events:none}.stage-top{position:absolute;right:13px;top:12px;pointer-events:none}.move-pill{display:flex;align-items:center;gap:6px;padding:3px 11px;color:#fff8c9;font-size:13px;font-weight:900;background:linear-gradient(#b56d30,#77401f);border:2px solid #f8ca67;border-radius:18px;box-shadow:0 3px #593622,0 3px 8px #2a40224a}.move-pill b{color:#fff784;font-size:27px;text-shadow:0 2px #4c2b16;line-height:1.2}.tutorial{position:absolute;left:12px;top:14px;max-width:64%;padding:6px 10px;background:#fff7d6ed;border:1px solid #e4b45d;border-radius:10px;color:#764826;font-weight:900;font-size:13px;box-shadow:0 2px 4px #36431b25;pointer-events:none}.stage-bottom{position:absolute;left:12px;right:12px;bottom:8px;display:flex;justify-content:space-between;align-items:center;pointer-events:none}.stage-bottom button{pointer-events:auto;font-size:14px;padding:5px 12px;min-height:36px;background:linear-gradient(#fff9d5,#eed18f)}#selectedName{max-width:60%;font-size:13px;font-weight:900;color:#5e3716;background:#fff4caed;border-radius:9px;padding:5px 9px;box-shadow:0 2px 3px #32240c21}#selectedName:empty{visibility:hidden}.combo{position:absolute;left:14px;top:33%;color:#fff6b6;font-size:26px;font-weight:900;text-shadow:-2px -2px #8c3218,2px 2px #8c3218,0 4px #8c3218;transform:rotate(-8deg);pointer-events:none;animation:comboPop .35s ease-out}.combo strong{display:block;font-size:38px;color:#ffec6d}.cinema-label{position:absolute;left:50%;bottom:20%;transform:translateX(-50%);white-space:nowrap;color:#fff7ad;font-size:24px;font-weight:900;text-shadow:-2px -2px #564323,2px 2px #564323,0 4px #564323;pointer-events:none}.control{position:relative;z-index:3;padding:9px 9px 11px;background:linear-gradient(#f7dc97,#c39852);border-top:3px solid #fff0af;box-shadow:0 -3px 12px #49330d33}.skill-row{display:flex;gap:7px}.skill{position:relative;flex:1;min-width:0;height:146px;overflow:hidden;border-radius:20px;border:3px solid #ffe797;padding:0;box-shadow:inset 0 2px 0 #fff6aa,inset 0 0 16px #ffffff50,0 5px #795329,0 7px 8px #593b2655;isolation:isolate;color:#fff9d8;transition:filter .16s,box-shadow .16s}.skill.cut{background:radial-gradient(ellipse at 30% 5%,#bdff73,#43b548 50%,#117753 95%)}.skill.push{background:radial-gradient(ellipse at 30% 5%,#e79869,#a4423b 50%,#323846 95%)}.skill.lift{background:radial-gradient(ellipse at 30% 5%,#e2ffff,#43d4e4 50%,#267cd8 95%)}.skill::before{content:"";position:absolute;left:5px;right:5px;top:5px;height:50%;border-radius:15px;background:linear-gradient(#ffffff5e,#ffffff00);z-index:-1}.actor{position:absolute;top:2px;left:50%;transform:translateX(-50%);width:154px;height:148px;background-image:url('assets/cast-a-v4.png');background-repeat:no-repeat;background-size:440px 440px;filter:drop-shadow(0 3px 3px #1c321b4a) saturate(1.1)}.guanyu{background-position:0 -16px}.zhangfei{background-position:-154px -28px;width:140px;height:142px;top:2px}.zhaoyun{background-position:-292px -16px;width:141px;height:150px}.skill span{position:absolute;z-index:1;bottom:0;left:0;right:0;padding:3px 0 5px;background:linear-gradient(#075834c4,#164c25);border-top:2px solid #a7f773;line-height:1.15;box-shadow:0 -3px 8px #05301c29}.skill.push span{background:linear-gradient(#592b39dc,#322833);border-color:#d99574}.skill.lift span{background:linear-gradient(#24649ac9,#215284);border-color:#affaff}.skill b{display:block;font-size:29px;letter-spacing:3px;text-shadow:0 2px #163023,-1px 0 #163023,1px 0 #163023}.skill small{display:block;font-size:11px;font-weight:900;color:#fff8ce;margin-top:2px}.skill em{position:absolute;right:8px;top:12px;font-size:20px;color:#fffeca;font-style:normal;text-shadow:0 2px #15687c;opacity:.78}.skill:disabled{opacity:1}.skill.blocked{filter:saturate(.75) brightness(.84)}.skill.available{filter:saturate(1.17) brightness(1.08);border-color:#fffbc2;box-shadow:inset 0 0 0 2px #d7ffaf,inset 0 0 16px #fff77f80,0 5px #397930,0 0 19px #e1ff87}.skill.available small{color:#ffff91;font-size:13px}.skill.available::after{content:"";position:absolute;top:-70%;left:-70%;width:50%;height:250%;transform:rotate(25deg);background:linear-gradient(90deg,transparent,#ffffcf80,transparent);animation:shine 2.2s infinite;pointer-events:none}.skill.selected{border-color:#ffffff;box-shadow:inset 0 0 16px #fff78a,0 5px #c48d20,0 0 24px #ffff84;filter:brightness(1.2) saturate(1.15)}.sr-only{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0,0,0,0)}aside{color:#def5e4;max-width:400px}aside .eyebrow{font-size:12px;letter-spacing:3px;color:#96ecd2}aside h2{font-size:44px;line-height:1.4;letter-spacing:-1px;margin:20px 0}aside h2 em{color:#ffe185;font-style:normal}aside p{line-height:1.9;font-size:16px}aside small{color:#a3d5ce}.aside-card{background:#ffffff0d;border:1px solid #b7efe32e;border-radius:20px;padding:20px}.aside-card b{color:#ffe291}.aside-card p{margin-bottom:0}.aside-copy{color:#c1ded0}dialog{color:#684023;border:4px solid #e7b253;border-radius:24px;background:linear-gradient(#fffae2,#fbe7be);box-shadow:0 12px 60px #153c40a6;width:min(420px,calc(100vw - 24px));padding:20px;max-height:calc(100dvh - 28px);overflow:auto}dialog::backdrop{background:#173a4870;backdrop-filter:blur(3px)}dialog h2{font-size:28px;margin:9px 0;text-align:center;color:#9d4b22}dialog p{font-size:14px;line-height:1.6}#result{text-align:center}#resultBadge{font-weight:900;letter-spacing:2px;color:#7d8733}.stars{font-size:39px;color:#f0b72b;text-shadow:0 2px #b87122,0 0 8px #ffe483;margin:6px 0}#resultText{min-height:22px}.stats{display:flex;gap:5px;justify-content:space-around;border-radius:14px;background:#efd49a70;padding:10px;font-size:12px;margin:10px 0}.stats b{display:block;font-size:24px;color:#714c26;margin-bottom:2px}#lootArea{border-top:1px dashed #d7b77e;margin-top:15px;padding-top:6px}#lootArea h3{font-size:17px;margin:10px 0 4px}.loot{display:flex;gap:7px}.loot button{position:relative;flex:1;min-width:0;height:108px;padding:0;background:linear-gradient(#fffcdf,#edcf94);border-color:#d4a94b;overflow:visible}.loot button b{position:absolute;left:0;right:0;bottom:7px;font-size:14px}.loot-chest{position:absolute;top:8px;left:50%;transform:translateX(-50%);width:92px;height:63px;background:url('assets/props-a-v4.png') -193px -123px/294px 294px no-repeat;filter:drop-shadow(0 3px 3px #79441e4f)}.loot button.chosen{border-color:#9ad86b;background:linear-gradient(#feffd1,#bbeb9a)}.loot button.opened .loot-chest{background-image:url("assets/chest-open-a-v5.png");background-position:center;background-size:contain;height:80px;top:-6px;transform:translateX(-50%) translateY(-2px)}.loot button.empty .loot-chest{opacity:.74}.loot button.opening{animation:openBox .18s infinite alternate}.loot-feedback{height:0;position:relative;display:flex;align-items:center;justify-content:center;pointer-events:none}.loot-feedback.rice,.loot-feedback.coins,.loot-feedback.empty{height:64px;margin-top:5px}.loot-feedback img{width:76px;height:76px;object-fit:contain;animation:ricePop .65s cubic-bezier(.18,.8,.3,1.5)}.coin-spark{position:absolute;left:50%;bottom:4px;animation:coinBurst 1.1s ease-out forwards;animation-delay:calc(var(--i)*.03s);--x:calc((var(--i) - 4.5)*16px)}.puff{font-size:24px;color:#b9a28e;background:radial-gradient(ellipse,#fff,#ece7d680,transparent 70%);width:100px;padding:10px;animation:ricePop .65s ease-out}#lootText{margin:7px 0;font-weight:900;color:#8e652d;min-height:24px}.result-actions{display:flex;gap:9px;margin-top:14px}.result-actions button{flex:1;font-size:17px;min-height:48px}.gold-button{background:linear-gradient(#fff781,#ffbf39);border-color:#cd8622;color:#7a3d19;box-shadow:inset 0 2px #fffaca,0 4px #a96621}.preview{color:#958456;font-size:12px!important;margin:12px 0}.dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:10px}.dialog-heading h2{text-align:left;font-size:24px}.dialog-heading button{font-size:13px;min-height:35px;padding:5px 10px}.menu-tools{display:flex;gap:10px;margin:16px 0}.menu-tools button{flex:1}.inventory{display:flex;align-items:center;gap:9px;border-radius:15px;background:#fff8d2;border:1px solid #e7c678;padding:6px 8px}.inventory img{width:53px;height:53px;object-fit:contain}.inventory b{flex:1;font-size:16px}.inventory button{font-size:12px;padding:6px 9px}.nickname{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:900;margin:16px 0}.nickname input{flex:1;min-width:0;border:1px solid #c39a64;border-radius:9px;padding:7px;background:#fffdf3;color:#694323}.level-grid{display:grid;grid-template-columns:1fr 1fr;gap:13px 10px}.level-grid>div>button:first-child{width:100%;min-height:98px;padding:7px 4px;font-size:15px}.level-grid strong{display:block;font-size:24px;color:#aa5d1e;margin-bottom:3px}.level-grid small{display:block;font-size:11px;margin-top:4px}.level-grid .current{border-color:#3aaa8b;background:linear-gradient(#f6ffe1,#c2e6b5)}.pending-chest{width:100%;font-size:12px;min-height:30px;margin-top:6px;padding:4px;background:linear-gradient(#fff39c,#ffd051)}.claimed-note{text-align:center;color:#a2885c}.reset-area{margin-top:20px;border-top:1px dashed #d6b573;padding-top:14px;font-size:13px}.reset-area button{font-size:12px;min-height:33px;padding:6px}.reset-area summary{cursor:pointer;color:#9e7040}select{width:100%;padding:9px;border:1px solid #cfb086;border-radius:9px;background:#fff9dc;color:#6c4627}.row{display:flex;align-items:center;gap:12px;padding:10px 0;border-bottom:1px solid #d9bd88}.row span{flex:1}.row small{display:block;font-size:10px;margin-top:4px;color:#987c54}.row>b:last-child{font-size:15px}#toast{position:fixed;z-index:10000;left:50%;bottom:22%;transform:translateX(-50%);white-space:nowrap;max-width:calc(100vw - 24px);background:#382d22f2;color:#fff4c5;border:2px solid #f0c875;border-radius:14px;padding:12px 16px;font-size:14px;font-weight:900;box-shadow:0 4px 18px #1c222966}@keyframes shine{0%,35%{left:-100%}75%,100%{left:150%}}@keyframes comboPop{from{opacity:0;scale:.75}to{opacity:1;scale:1}}@keyframes openBox{from{rotate:-3deg}to{rotate:3deg}}@keyframes ricePop{from{transform:translateY(25px) scale(.15);opacity:0}to{transform:translateY(0) scale(1);opacity:1}}@keyframes coinBurst{from{transform:translate(0,0) scale(.5);opacity:0}20%{opacity:1}to{transform:translate(var(--x),-48px) rotate(200deg);opacity:0}}
@media(max-width:850px){.layout{padding:0;display:block;min-height:100dvh}.game{border:0;border-radius:0;width:min(100vw,480px);margin:auto;height:100dvh;max-height:none;min-height:540px;box-shadow:none;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom)}aside{display:none}header{padding:7px 10px;min-height:62px}.control{padding:8px 8px 12px}.skill{height:142px}}
@media(max-height:700px){.skill{height:122px}.actor{transform:translateX(-50%) scale(.88);transform-origin:top center;top:0}.control{padding:6px 8px 9px}.skill b{font-size:25px}.skill span{padding-bottom:4px}.skill small{font-size:10px}header{min-height:57px}.stage-top{top:8px;right:8px}.tutorial{font-size:11px;left:8px;top:10px;max-width:61%}.stage-bottom{bottom:4px}dialog{padding:15px}#result h2{font-size:25px}.stars{font-size:32px}.stats{margin:6px 0;padding:7px}.loot button{height:96px}#result p{margin:7px 0}.result-actions{margin-top:8px}}
@media(max-width:360px){header{gap:5px}.level-name h1{font-size:16px}.level-name small{font-size:10px}.wallet,.energy{font-size:14px}.coin-dot{width:15px;height:18px}header button{width:27px;min-height:31px}.skill-row{gap:6px}.skill b{font-size:25px;letter-spacing:1px}.skill small{font-size:10px}.actor{transform:translateX(-50%) scale(.84);transform-origin:top center}.tutorial{max-width:60%}.move-pill{font-size:11px;padding:3px 8px}.move-pill b{font-size:23px}.loot-chest{transform:translateX(-50%) scale(.8)}.loot button b{font-size:12px}.result-actions button{font-size:15px}.inventory b{font-size:14px}.inventory button{font-size:11px}}
@media(prefers-reduced-motion:reduce){.skill.available::after{animation:none}.combo{animation:none}}

.reward-coin{display:block;width:43px;height:48px;border-radius:50%;background:radial-gradient(circle at 30% 25%,#fffad1,#ffe76c 45%,#f3b52d 75%);border:3px solid #d89422;box-shadow:inset 0 0 0 3px #fff3a1,0 3px 8px #95612930;font:900 35px serif;color:#c08627;line-height:41px;font-style:normal}.loot button:disabled{opacity:1}.loot button:disabled:not(.chosen){opacity:.66}.puff{font-weight:900;color:#a88c61;background:radial-gradient(ellipse,#fff6d8,#e5d8c880,transparent 70%)}

/* V6 jade console, genuine pose-switching and invisible semantic hitboxes. */
header{background:linear-gradient(145deg,#286b4e,#124836 65%,#0b322f);border-bottom:2px solid #d8c77a;color:#fff6ce;box-shadow:inset 0 1px #6ca481,0 4px 12px #072e4660}.level-name small{color:#dfdda2}.level-name h1{text-shadow:0 2px #092f29}.wallet,.energy{background:#092e2770;border-radius:14px;padding:4px 6px}.energy i{color:#98fa52;text-shadow:0 1px #227d39}header button{background:linear-gradient(#306c50,#164438);border-color:#d8d396;color:#fff6d3;box-shadow:inset 0 2px #7fa789,0 3px #062c26}.stage{touch-action:none;user-select:none;-webkit-user-select:none}.world{pointer-events:auto}.target{opacity:0;border:0;background:none;box-shadow:none;border-radius:4px;min-width:44px;min-height:44px;pointer-events:auto}.target::after{display:none}.target:focus-visible{opacity:1;outline:2px solid #dcffff;background:#fff2}.camera-edge{position:absolute;left:50%;transform:translateX(-50%);width:38px;min-height:30px;font-size:22px;padding:0;background:#123e3890;color:#ceff91;border:1px solid #b4ed89;box-shadow:0 0 12px #b0ff7970;border-radius:20px;z-index:4}.camera-edge.up{top:49px}.camera-edge.down{bottom:13px}.camera-edge[data-skill="push"]{color:#ffc393;border-color:#ffac67;box-shadow:0 0 12px #ff934e90}.camera-edge[data-skill="lift"]{color:#c4ffff;border-color:#8affff;box-shadow:0 0 12px #7cffff80}.camera-hint{position:absolute;bottom:13px;right:10px;font-size:11px;color:#fffde1;text-shadow:0 1px 3px #123c28;pointer-events:none}.control{background:linear-gradient(#215342,#102e2c);border-top:2px solid #a3b973;padding:5px 8px 12px;box-shadow:inset 0 1px #6b9574,0 -4px 16px #092b3550}.stage-bottom{position:relative;left:auto;right:auto;bottom:auto;min-height:37px;margin:0 2px 7px}.stage-bottom button{display:flex;align-items:center;gap:5px;min-height:31px;padding:4px 12px;border:1.5px solid #d9d09a;background:linear-gradient(#34714e,#194d3c);color:#fff4c9;box-shadow:inset 0 1px #8bba8b,0 2px #062d28;border-radius:15px;font-size:13px}.stage-bottom svg{width:19px;height:19px;fill:none;stroke:#fff1b4;stroke-width:2.3;stroke-linecap:round;stroke-linejoin:round}#selectedName{color:#e8ffcc;background:none;box-shadow:none;font-size:12px;padding:3px 2px}.skill{height:156px;transition:transform .16s,box-shadow .16s;overflow:hidden}.skill.push{background:radial-gradient(at 30% 10%,#d76c51,#76333e 60%,#28313b)}.actor,.zhangfei,.zhaoyun{width:100%;height:100%;left:0;top:0;transform:none!important;background-image:url('assets/hero-poses-a-v6.png');background-size:300% 200%;filter:none}.guanyu{background-position:0 0}.zhangfei{background-position:50% 0}.zhaoyun{background-position:100% 0}.selected .guanyu,.executing .guanyu{background-position:0 100%}.selected .zhangfei,.executing .zhangfei{background-position:50% 100%}.selected .zhaoyun,.executing .zhaoyun{background-position:100% 100%}.skill.selected{transform:translateY(-3px) scale(1.035);border-color:#fff9c6;box-shadow:inset 0 0 0 2px #cdff9a,0 4px #345b2e,0 0 17px #ddff80;filter:saturate(1.15) brightness(1.08);animation:readyBreath 2s ease-in-out infinite}.skill.selected::after{content:"";position:absolute;inset:5px;border:1px solid #ffffb47a;border-radius:14px;pointer-events:none}.skill.push.selected{box-shadow:inset 0 0 0 2px #ffc697,0 4px #77362e,0 0 18px #ff9e64}.skill.lift.selected{box-shadow:inset 0 0 0 2px #c0ffff,0 4px #205972,0 0 18px #79f4ff}.skill b{font-size:29px;letter-spacing:2px}.skill.lift b{font-size:25px;letter-spacing:0}.skill small{font-size:10px}.skill.selected small{color:#ffffb1;font-size:10px}.skill:disabled{filter:saturate(.88) brightness(.93);animation:none}.tutorial{background:#214938df;color:#fbf0bb;border-color:#b8c891;box-shadow:0 2px 4px #21381f30}.auto-chest{position:relative;width:142px;height:106px;margin:10px auto 0;background:radial-gradient(ellipse,#fff59780,transparent 72%)}.auto-chest .loot-chest{width:112px;height:84px;background-position:-234px -149px;background-size:357px 357px;top:6px}.auto-chest.opening{animation:chestAppear .85s ease-in-out}.auto-chest.opened .loot-chest{background-image:url('assets/chest-open-a-v5.png');background-position:center;background-size:contain;width:126px;height:108px;top:-10px}.resource-flight{position:fixed;z-index:20;left:50%;top:50%;width:18px;height:21px;border-radius:50%;background:radial-gradient(at 25% 20%,#fffbd1,#ffd132 55%,#cf8b16);border:2px solid #ffe887;animation:resourceFly .65s ease-in forwards;animation-delay:calc(var(--i)*.035s)}@keyframes readyBreath{50%{filter:saturate(1.2) brightness(1.16)}}@keyframes chestAppear{0%{transform:scale(.65);opacity:0}25%{transform:translateY(-8px) scale(1.05);opacity:1}65%{transform:rotate(-4deg)}85%{transform:rotate(4deg)}100%{transform:none}}@keyframes resourceFly{0%{transform:translate(calc((var(--i) - 4)*9px),15px);opacity:1}100%{transform:translate(var(--fly-x,70px),var(--fly-y,-280px)) scale(.3);opacity:0}}
.selected .actor,.executing .actor{background-size:300% 215%}
@media(max-width:850px){.skill{height:150px}.control{padding:5px 8px 12px}.stage{min-height:0}.game{min-height:0}}@media(max-height:700px){.skill{height:122px}.control{padding:4px 8px 7px}.stage-bottom{min-height:30px;margin-bottom:4px}.skill b{font-size:25px}.skill.lift b{font-size:22px}.skill small,.skill.selected small{font-size:9px}.tutorial{font-size:10px;max-width:60%}.camera-hint{font-size:9px}.auto-chest{height:89px;margin:4px auto}}@media(prefers-reduced-motion:reduce){.skill.selected{animation:none}}

/* V7: one world scale; cropped viewport, never squash. Portrait atlas cells stay square. */
.world{top:0;transform:translateX(-50%)}.actor,.zhangfei,.zhaoyun{height:auto;aspect-ratio:1;width:100%;background-size:300% 200%}.selected .actor,.executing .actor{background-size:300% 200%;transform:translateY(-5%)!important}#selectedName{visibility:hidden}.skill.lift b{font-size:29px;letter-spacing:2px}.target,.target:active:not(:disabled){background:none;box-shadow:none;border:0}.party{position:relative;height:165px;margin:8px -8px 4px;background:radial-gradient(ellipse at 50% 80%,#fff1a578,transparent 65%);display:flex;align-items:end;justify-content:center;gap:0;isolation:isolate}.party-hero{display:block;width:25%;aspect-ratio:3/4;background-image:url('assets/rescue-party-a-v7.png');background-size:400% 100%;background-repeat:no-repeat;filter:drop-shadow(0 4px 2px #213a3335);animation:partyArrive .55s cubic-bezier(.2,.8,.2,1.3) both}.party-guan{background-position:0 0;animation-delay:0s}.party-zhang{background-position:33.333% 0;animation-delay:.1s}.party-liu{background-position:100% 0;animation-delay:.25s;transform:scale(1.1);z-index:1}.party-zhao{background-position:66.666% 0;animation-delay:.17s}.party b{position:absolute;top:0;left:0;right:0;color:#26705c;font-size:24px;text-shadow:0 2px #fff9bf}.celebrating .party{height:230px;padding-bottom:15px}.celebrating .party-hero{width:25%;}.skip-result{background:none;border:0;box-shadow:none;color:#888456;font-size:12px}.stars i{font-style:normal;display:inline-block;animation:starArrive .35s cubic-bezier(.2,.9,.2,1.5) both;animation-delay:var(--delay)}.auto-chest{margin-top:-18px;z-index:2}.auto-chest.opening{animation:chestDrop .85s ease-in-out}.game{min-height:0}.stage{min-height:0}@keyframes starArrive{from{opacity:0;transform:scale(.1) rotate(-30deg)}to{opacity:1;transform:none}}@keyframes partyArrive{from{opacity:0;translate:0 22px;scale:.85}to{opacity:1;translate:0 0;scale:1}}@keyframes chestDrop{0%{translate:0 -85px;scale:.5;opacity:0}40%{translate:0 4px;scale:1.06;opacity:1}55%{translate:0 -10px}70%{translate:0 0;rotate:-4deg}90%{rotate:4deg}100%{rotate:0deg}}
@media(max-width:350px){header{gap:4px;padding:7px 6px}.level-name h1{font-size:16px}.wallet,.energy{font-size:13px;padding:4px}.skill{height:132px}.skill b,.skill.lift b{font-size:26px}.skill small{font-size:9px}.tutorial{max-width:61%}}
@media(max-height:700px){.skill{height:122px}.skill b,.skill.lift b{font-size:25px}.party{height:140px}.celebrating .party{height:210px}}@media(prefers-reduced-motion:reduce){.party-hero,.stars i{animation-duration:.01s}}

#lootArea{border:0;margin:0;padding:0}#lootArea h3{display:none}#lootArea .auto-chest{margin:-22px auto 0}#lootArea .loot-feedback.coins,#lootArea .loot-feedback.rice{height:46px;margin:0}#lootArea .loot-feedback img{width:58px;height:58px}#lootArea #lootText{margin:3px;font-size:12px}
.tutorial{max-width:calc(100% - 150px);font-size:12px}@media(max-width:350px){.tutorial{font-size:11px}}
.auto-chest.opening{animation-delay:.45s;animation-fill-mode:both}

.stage-top{pointer-events:auto}.tutorial{pointer-events:auto}

.target,.target:active:not(:disabled){position:absolute;transform:translate(-50%,-50%);padding:0;pointer-events:auto;opacity:0;min-width:44px;min-height:44px;border:0;background:none;box-shadow:none}.menu-tools{gap:6px}.menu-tools button{min-width:0;padding:6px;font-size:13px}
#result.skipped .party-hero,#result.skipped .stars i{animation:none}
