*{box-sizing:border-box}html,body{-webkit-user-select:none;user-select:none;touch-action:none;background:#050d1c;height:100%;margin:0;font-family:system-ui,PingFang SC,Microsoft YaHei,sans-serif;overflow:hidden}#game{width:100%;height:100%;display:block;position:fixed;inset:0}#hud{pointer-events:none;color:#fff;position:fixed;inset:0}#hud button{pointer-events:auto}#hud button,#village button{--ink:#0a1424;font:inherit;color:var(--ink);overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;cursor:pointer;box-shadow:none;text-shadow:none;-webkit-tap-highlight-color:transparent;background:0 0;border:0 solid #0000;border-radius:0;justify-content:center;align-items:center;gap:.3em;font-weight:800;line-height:1.15;transition:transform 60ms,filter .12s;display:inline-flex;position:relative}#hud .speed,#hud .pause,#village .gear{border-image:;border-radius:50%}#hud button:hover:not(:disabled),#village button:hover:not(:disabled){filter:brightness(1.06)}#hud button:active:not(:disabled),#village button:active:not(:disabled){transform:translateY(2px)scale(.97)}#hud button:disabled,#village button:disabled{color:#4a4a4a;cursor:default;filter:grayscale(.85)brightness(.85)}#hud button:focus-visible,#village button:focus-visible{outline-offset:2px;outline:3px solid #ffe066}.amt{white-space:nowrap}.gl{vertical-align:-.22em;flex:none;width:1.15em;height:1.15em;overflow:visible}.ic{width:100%;height:100%;display:block;overflow:visible}img.gl,img.ic{object-fit:contain;-webkit-user-drag:none;pointer-events:none}.outl{color:#fff;text-shadow:-1.5px -1.5px #0a1424,1.5px -1.5px #0a1424,-1.5px 1.5px #0a1424,1.5px 1.5px #0a1424,0 2px #0a1424}.snd{width:1.3em;height:1.3em}.dot{background:#ff4d4d;border:2px solid #fff;border-radius:50%;width:14px;height:14px;animation:1.4s ease-in-out infinite dotpop;display:inline-block;box-shadow:0 0 0 2px #0a1424}button .dot{position:absolute;top:-8px;right:-8px}@keyframes dotpop{0%,70%,to{transform:scale(1)}80%{transform:scale(1.25)}}.top{flex-wrap:wrap;align-items:center;gap:8px 12px;display:flex;position:absolute;top:10px;left:12px;right:12px}.danger{flex:260px;align-items:center;gap:8px;min-width:0;max-width:460px;display:flex}.ctrl{gap:8px;margin-left:auto;display:flex}.wallbar{border:0 solid #0000;flex:auto;align-items:center;min-width:120px;max-width:250px;height:36px;padding:0 6px 0 4px;display:flex;position:relative}.wallbar .fico{flex:none;width:30px;height:30px;margin:-4px 2px 0 -8px}.wallbar .track{border-radius:999px;flex:1;height:calc(100% - 12px);position:relative;overflow:hidden}.wallbar .fill{will-change:transform;border-radius:999px;transition:transform .15s;position:absolute;inset:0;box-shadow:inset 0 -4px #00000024,inset 0 3px #ffffff8c}.wallbar .txt{white-space:nowrap;justify-content:center;align-items:center;font-size:13px;font-weight:800;display:flex;position:absolute;inset:0}.wallbar.hurt{animation:.45s ease-out hurt}@keyframes hurt{0%{transform:translate(-3px)}30%{transform:translate(3px)}60%{transform:translate(-1px)}to{transform:none}}.wallbar:before{content:"";border-radius:inherit;opacity:0;pointer-events:none;position:absolute;inset:0;box-shadow:0 0 8px 2px #ff3030}.wallbar.hurt:before{animation:.45s ease-out hurtglow}@keyframes hurtglow{0%{opacity:1}to{opacity:0}}.vignette{opacity:0;transition:opacity .4s;position:absolute;inset:0;box-shadow:inset 0 0 70px 20px #e02828bf}.vignette.on{opacity:1;animation:1.1s ease-in-out infinite throb}@keyframes throb{0%,to{opacity:.55}50%{opacity:1}}#hud .speed,#hud .pause{width:44px;height:44px;padding:0;font-size:16px}#hud .pause{font-size:20px}.wave,.wallbar,.purse,#hud .stat,.herobox,.dock{will-change:transform}#hud{--bx:0px;--by:0px;--bw:100vw;--bh:100vh;--dock:clamp(270px, 25vw, 340px)}.toast{top:calc(var(--by) + var(--bh) * .2);left:calc(var(--bx) + var(--bw) / 2);text-shadow:0 3px 6px #0009;opacity:0;font-size:30px;font-weight:800;transition:opacity .25s;position:absolute;transform:translate(-50%)}.toast.show{opacity:1}.hint{top:calc(var(--by) + 4px);left:calc(var(--bx) + var(--hw,var(--bw)) / 2);width:max-content;max-width:calc(var(--hw,var(--bw)) - 24px);color:#0a1424;text-shadow:none;filter:drop-shadow(0 3px 4px #0000004d);text-align:center;white-space:nowrap;opacity:0;border:0 solid #0000;padding:3px 12px;font-size:17px;font-weight:800;transition:opacity .3s;position:absolute;transform:translate(-50%)}.hint.show{opacity:1;animation:1.4s ease-in-out infinite bob}@keyframes bob{0%,to{transform:translate(-50%)}50%{transform:translate(-50%,-5px)}}.hint b{color:#7ff0ff;font-size:1.2em;display:block}.hint.held{padding:6px 16px;font-size:19px;animation:1.4s ease-in-out infinite bob,1.2s ease-in-out infinite held}@keyframes held{0%,to{box-shadow:0 0 0 1px #00000059,0 0 8px #3fdcff73}50%{box-shadow:0 0 0 1px #00000059,0 0 22px #3fdcfff2}}.toast small{color:#7ff0ff;text-align:center;margin-top:2px;font-size:.6em;display:block}.dock{padding:8px 10px calc(10px + env(safe-area-inset-bottom));background:linear-gradient(#10264af7,#061024fa);border-top:2px solid #3fdcff99;border-radius:16px 16px 0 0;position:absolute;bottom:0;left:0;right:0;box-shadow:0 0 14px #3fdcff4d,0 -6px 16px #0000004d}.dhead{justify-content:flex-end;align-items:center;gap:10px;max-width:900px;margin:0 auto 6px;display:flex}.purse{justify-content:center;align-items:center;gap:4px;width:max-content;padding:0 6px;font-size:22px;font-weight:900;display:flex}.purse .gl{width:28px;height:28px;margin-right:2px}.gain.big{color:#ffd23a;z-index:32;font-size:40px}.gain{z-index:31;pointer-events:none;color:#ffe066;white-space:nowrap;will-change:transform, opacity;font-size:22px;font-weight:900;position:fixed}.flycoin{z-index:30;pointer-events:none;position:fixed;transform:translate(-50%,-50%)}.flycoin .gl{filter:drop-shadow(0 2px 2px #00000059);width:26px;height:26px;display:block}.stats{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;max-width:900px;margin:0 auto;display:grid}#hud .stat{text-align:left;overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual;grid-template-rows:auto auto;grid-template-columns:auto minmax(0,1fr);place-items:center start;gap:1px 6px;padding:5px 8px 7px;font-weight:800;transition:filter .2s,transform 60ms,box-shadow 60ms;display:grid}#hud button.stat,#hud button.stat:hover:not(:disabled){filter:var(--st,saturate(.82)) var(--glow, )}.stat i{grid-area:1/1;justify-self:center;width:1em;height:1em;font-size:28px;display:block}.stat b{white-space:nowrap;text-overflow:ellipsis;grid-area:1/2;justify-self:stretch;min-width:0;font-size:14px;display:block;overflow:hidden}.stat .price{color:#fff;background:#060e2099;border-radius:8px;grid-area:2/2;justify-self:start;align-items:center;padding:0 6px 0 2px;font-size:16px;line-height:1.25;display:inline-flex}.stat .price .gl{width:1.15em;height:1.15em;margin-right:2px}.stat.can .price{color:#ffe066}#hud .stat.poor .price,#hud .stat.almost .price{color:#ff8f80}.stat.poor .price .gl,.stat.almost .price .gl{filter:grayscale()brightness(.8)}.stat u{transform-origin:0;will-change:transform;background:#ffe066;border-radius:2px;height:4px;position:absolute;bottom:3px;left:4px;right:4px;transform:scaleX(0)}.stat.almost u{transition:transform .2s}#hud .stat.can{--st:saturate(.9) brightness(1.03)}#hud .stat.almost,#hud .stat.poor{--st:brightness(.94)}#hud .stat.maxed{--glow:drop-shadow(0 0 5px #ffc828f2)}#hud .stat.maxed .price{color:#ffd23f}#hud .stat.can{animation:none}.stat .pop{color:#ffe066;text-shadow:0 2px #0a1424,0 0 3px #0a1424;pointer-events:none;font-size:20px;font-weight:900;animation:.8s ease-out forwards rise;position:absolute;top:0;left:50%;transform:translate(-50%)}@keyframes rise{0%{opacity:0;transform:translate(-50%,6px)scale(.6)}20%{opacity:1;transform:translate(-50%,-10px)scale(1.2)}to{opacity:0;transform:translate(-50%,-34px)scale(1)}}.ghand{z-index:40;pointer-events:none;opacity:0;will-change:transform;width:0;height:0;transition:opacity .2s;position:fixed;top:0;left:0}.ghand.show{opacity:1}.ghand .gturn{transform-origin:0 0;position:absolute;top:0;left:0}.ghand svg.hand{filter:drop-shadow(0 0 1.5px #000)drop-shadow(0 0 6px #ff9a2ad9)drop-shadow(0 4px 4px #0009);width:68px;height:68px;animation:.9s ease-in-out infinite gpress;position:absolute;top:-4px;left:-17px}.ghand>i{opacity:0;border:3px solid #ffb020;border-radius:50%;width:32px;height:32px;animation:.9s ease-out infinite gripple;position:absolute;top:-16px;left:-16px;box-shadow:0 0 10px #ff9a2ae6}@keyframes gpress{0%,to{transform:translate(7px,20px)}45%,60%{transform:translate(0)scale(.95)}}@keyframes gripple{0%,45%{opacity:0;transform:scale(.3)}55%{opacity:1}to{opacity:0;transform:scale(1.5)}}.gspot{z-index:39;pointer-events:none;opacity:0;width:100vw;height:100vh;transition:opacity .3s;position:fixed;top:0;left:0}.gspot.show{opacity:1}.gspot path{fill:#02081473}#hud .gpulse:after{content:"";pointer-events:none;border:3px solid #7ff0ff;border-radius:14px;animation:.9s ease-in-out infinite gpulse;position:absolute;inset:-4px;box-shadow:0 0 12px #30d8ff}@keyframes gpulse{0%,to{opacity:.35;transform:scale(1)}50%{opacity:1;transform:scale(1.04)}}.gwait{z-index:3;pointer-events:none;color:#fff;text-align:center;opacity:0;background:#08182cd9;border:2px solid #30d8ff;border-radius:10px;width:30px;height:20px;margin:-22px 0 0 -15px;font-size:16px;font-weight:800;line-height:12px;transition:opacity .3s;animation:1.2s ease-in-out infinite wbob;position:fixed;top:0;left:0}.gwait.show{opacity:1}@keyframes wbob{0%,to{translate:0}50%{translate:0 -4px}}.tip{z-index:5;color:#0a1424;opacity:0;pointer-events:none;border:0 solid #0000;max-width:220px;padding:4px 6px;font-size:13px;line-height:1.3;transition:opacity .15s;position:fixed}.tip.show{opacity:1}.tip b{font-size:14px;display:block}.result,.pmenu{z-index:4;pointer-events:auto;background:#00000073;justify-content:center;align-items:center;display:flex;position:absolute;inset:0}.result.hidden,.pmenu.hidden{display:none}.pmenu{background:#0000009e}.card{color:#0a1424;filter:drop-shadow(0 8px 14px #00000059);text-align:center;border:0 solid #0000;max-width:94vw;padding:24px 36px;font-size:18px;line-height:1.6}.card b{font-size:28px}.spanel{text-align:left;border-radius:18px;flex-direction:column;align-items:stretch;gap:10px;width:min(380px,100vw - 32px);max-width:none;padding:36px 16px 16px;line-height:1.3;display:flex;position:relative}.splate{text-overflow:ellipsis;white-space:nowrap;letter-spacing:.5px;max-width:calc(100% - 80px);color:var(--navy);text-shadow:0 1px #ffffff80;background:linear-gradient(#ffe27a,#ffb22e);border:2px solid #fff1b0;border-radius:12px;padding:6px 30px;font-size:21px;font-weight:900;position:absolute;top:0;left:50%;overflow:hidden;translate:-50% -50%;box-shadow:0 0 0 1px #00000059,0 0 12px #ffc9408c,inset 0 -3px #a05a0040}.card .splate{font-size:21px}.prows{flex-direction:column;gap:10px;display:flex}#hud .setrow,#village .setrow{width:100%;min-height:60px;font:inherit;color:#fff;text-align:left;cursor:pointer;background:#030c1e99;border:1.5px solid #6ebeeb4d;border-radius:12px;align-items:center;gap:12px;margin:0;padding:8px 12px;font-size:17px;font-weight:800;display:flex;box-shadow:inset 0 1px #ffffff12}.setrow .sname{text-overflow:ellipsis;white-space:nowrap;flex:1 0 auto;min-width:0;overflow:hidden}.sico{background:radial-gradient(circle at 50% 35%, #2c5a98, var(--navy) 80%);border:2px solid #6ebeeb99;border-radius:50%;flex:none;place-items:center;width:42px;height:42px;display:grid}.sico.on{background:radial-gradient(circle at 50% 35%,#2fb98a,#0b4a3e 80%);border-color:#6cf5b0;box-shadow:0 0 8px #5cf2a080}.sico svg{width:26px;height:26px}.sico .snd path{fill:#fff;stroke:#fff}.sico .snd path[fill=none]{fill:none}.tgl{background:#000818d9;border:2px solid #82a0c899;border-radius:18px;flex:none;width:66px;height:36px;position:relative;box-shadow:inset 0 2px 4px #0009}.tgl:after{content:"";background:linear-gradient(#e8eef6,#93a5bd);border-radius:50%;width:26px;height:26px;transition:translate .15s;position:absolute;top:3px;left:3px;box-shadow:0 2px 3px #00000080}.tgl.on{background:linear-gradient(#5cf2a0,#1fae6c);border-color:#bfffe0;box-shadow:0 0 8px #5cf2a099,inset 0 1px #ffffff73}.tgl.on:after{background:linear-gradient(#fff,#d8fff0);translate:30px}.setrow .lang{appearance:none;width:130px;min-width:0;max-width:130px;font:inherit;border:2px solid var(--cyan);color:#fff;cursor:pointer;background:radial-gradient(circle at 50% 30%, #2c5a98, var(--navy) 90%);border-radius:999px;flex:0 auto;padding:7px 30px 7px 14px;font-size:15px;font-weight:800;box-shadow:0 0 8px #3fdcff66}label.setrow{position:relative}@media (height<=440px){#hud .setrow,#village .setrow{min-height:46px;padding:4px 12px}.setrow .sico{width:36px;height:36px}.prows{gap:6px}.pmenu .card.spanel{gap:8px;padding-top:30px;padding-bottom:12px}}label.setrow:after{content:"";pointer-events:none;border:2.5px solid #fff;border-width:0 2.5px 2.5px 0;width:7px;height:7px;position:absolute;top:50%;right:26px;translate:0 -70%;rotate:45deg}.setrow .lang option{color:#fff;background:var(--navy)}.pmenu .card{padding-top:40px}#hud .pmenu .main{align-self:stretch}#hud .pmenu .minor{align-self:center;min-width:150px;margin-top:4px}#hud .main{border-image-width:18px;padding:12px 40px;font-size:24px}#hud .minor{border-image-width:12px;padding:8px 18px;font-size:15px}@keyframes pulse{0%,to{transform:scale(1)}50%{transform:scale(1.08)}}@media (aspect-ratio>=6/5){.dock{width:var(--dock);border:2px solid #3fdcff99;border-radius:16px;padding:8px;bottom:10px;left:auto;right:10px}.dhead{margin-bottom:8px}.stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}#hud .stat{padding:7px 9px 9px}.stat i{font-size:clamp(26px,2.6vw,34px)}.stat b{font-size:15px}}@media (aspect-ratio>=1001/1000) and (height<=520px){.top{top:6px}.wave,.wallbar{height:32px}#hud .speed,#hud .pause{width:38px;height:38px}.stats{gap:6px}.dock{padding:6px;bottom:6px}.dhead{margin-bottom:6px}.purse{font-size:18px}#hud .stat{padding:4px 8px 6px}.stat i{font-size:24px}.stat b{font-size:13px}.stat .price{font-size:14px}.card{padding:14px 28px;line-height:1.4}.card b{font-size:22px}#hud .main{padding:8px 32px;font-size:20px}#hud .rbtns .ad{padding:6px 16px;font-size:18px}.rbtns{gap:6px;margin-top:8px}.rtiles{margin-top:8px}#hud .rtile{padding:4px 8px}#hud .rtile>i{width:24px;height:24px}}@media (aspect-ratio<=1199/1000){.stats{gap:7px 5px}#hud .stat{text-align:center;grid-template-rows:auto auto auto;grid-template-columns:minmax(0,1fr);justify-items:center;row-gap:1px;padding:3px 3px 6px}.stat i,.stat b,.stat .price{grid-area:auto}.stat i{font-size:22px}.stat b{justify-self:stretch;margin:0 -2px;font-size:14px}.stat .price{justify-self:center;font-size:16px}}@media (aspect-ratio<=1199/1000) and (width>=640px){.dock{flex-direction:row-reverse;justify-content:center;align-items:stretch;gap:8px;display:flex}.dhead{flex-direction:column;flex:0 0 clamp(116px,15vw,168px);justify-content:space-between;align-items:stretch;gap:6px;margin:0}.purse{width:auto;font-size:20px}.stats{flex:0 820px;grid-template-columns:repeat(8,minmax(0,1fr));min-width:0;margin:0}}@media (aspect-ratio<=1){.toast{top:calc(var(--by) + var(--bh) * .05)}.hint{text-overflow:ellipsis;top:calc(var(--by) + var(--bh) - 40px);padding:6px 12px;font-size:clamp(12px,3.5vw,15px);overflow:hidden}.hint.held{top:calc(var(--by) + var(--bh) - 66px);font-size:clamp(13px,4vw,17px)}.top{gap:6px 8px}.danger{flex-basis:220px}}@media (aspect-ratio<=1) and (width<=400px){.wallbar{min-width:0}.wallbar .txt{font-size:12px}}.rcard{border-radius:18px;width:min(380px,100vw - 32px);max-width:none;padding:40px 18px 18px;position:relative}.rcard .rtxt{flex-direction:column;align-items:center;gap:2px;display:flex}.result .splate{white-space:normal;text-align:center;width:max-content;max-width:calc(100% - 24px);margin-inline:auto;padding:7px 26px;font-size:23px;line-height:1.15;left:12px;right:12px;translate:0 -50%}.result .splate.lost{color:#fff;text-shadow:0 1px 2px #0009;background:linear-gradient(#ff6b6b,#c8283a);border-color:#ffc2c2;box-shadow:0 0 0 1px #00000059,0 0 12px #ff50508c,inset 0 -3px #5a00004d}.rcard .reach{font-size:26px;line-height:1.25}.rcard .rrec{color:#3a2400;background:#ffd34d;border-radius:999px;margin:2px auto 0;padding:2px 10px;font-size:14px;animation:.4s cubic-bezier(.2,1.6,.4,1) .5s both rrec-pop;display:inline-block}@keyframes rrec-pop{0%{transform:scale(0)}to{transform:scale(1)}}.rcard .rstat{color:#b8cbe6;font-size:14px}.rcard .rwag{flex-wrap:wrap;justify-content:center;gap:6px;margin-top:6px;display:flex}.rcard .rwag i{border:2px solid var(--wc);box-shadow:0 0 6px color-mix(in srgb, var(--wc) 50%, transparent);background:#0e1d36;border-radius:999px;align-items:center;gap:3px;padding:2px 8px 2px 5px;font-size:17px;font-style:normal;line-height:1.2;animation:.35s cubic-bezier(.3,1.6,.5,1) backwards rchip;display:inline-flex}.rcard .rwag .ic{width:1.25em;height:1.25em}.rcard .rwag b{color:var(--wc);font-size:12px;font-weight:900}@keyframes rchip{0%{opacity:0;transform:scale(.4)}}.rbtns{flex-direction:column;align-items:stretch;gap:10px;margin-top:14px;display:flex}.rrow{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}.rrow>button{flex:1 1 0}#hud .rbtns .main{width:100%}#hud .rbtns .minor{flex:0 auto;min-width:130px}#hud .rbtns .ad{flex-direction:column;align-items:center;gap:2px;min-width:0;padding:10px 12px;font-size:19px;line-height:1.15;display:flex}#hud .rbtns .ad .adg{color:#ffe27a;font-size:15px;font-weight:700}#hud .rbtns .ad .adg .amt{font-size:19px}.rtiles{gap:8px;margin-top:12px;display:flex}#hud .rtile{text-align:left;flex:1 1 0;align-items:center;gap:6px;min-width:0;padding:7px 8px;font-size:15px;line-height:1.15;display:flex}#hud .rtile>i{flex:none;width:30px;height:30px;font-style:normal}#hud .rtile .rtn{flex-direction:column;flex:auto;min-width:0;display:flex}#hud .rtile .rtn b{text-overflow:ellipsis;white-space:nowrap;font-size:15px;overflow:hidden}#hud .rtile .rtn em{color:#9be7ff;font-size:13px;font-style:normal}#hud .rtile .price{color:#ffe27a;flex:none;font-weight:900}.result:not(.hidden) .rtiles{animation:.3s .3s both fadein}.card .stars{letter-spacing:4px;font-size:clamp(30px,8vh,44px)}.card .stars i{color:#060e202e;font-style:normal;animation:.45s cubic-bezier(.3,1.6,.5,1) forwards star;display:inline-block;transform:scale(0)}@keyframes star{0%{transform:scale(0)rotate(-45deg)}to{transform:scale(1)rotate(0)}}.result:not(.hidden){animation:.25s ease-out fadein}.result:not(.hidden) .rcard{animation:.4s cubic-bezier(.3,1.5,.5,1) rpop}.result:not(.hidden) .splate{animation:.45s cubic-bezier(.3,1.6,.5,1) .12s both rdrop}.result:not(.hidden) .rbtns{animation:.3s .3s both fadein}@keyframes fadein{0%{opacity:0}}@keyframes rpop{0%{opacity:0;transform:scale(.8)}}@keyframes rdrop{0%{opacity:0;transform:translateY(-28px)scale(1.35)}}#hud.enter .top{--from:0 -24px;animation:.45s cubic-bezier(.25,1.3,.5,1) .1s both hudin}#hud.enter .dock{--from:0 40px;animation:.45s cubic-bezier(.25,1.3,.5,1) .2s both hudin}@keyframes hudin{0%{opacity:0;translate:var(--from)}}.toast.show{animation:.35s cubic-bezier(.3,1.6,.5,1) tpop}@keyframes tpop{0%{scale:.6}}#village:not(.hidden){animation:.25s ease-out fadein}.earn{color:#1d7fb8;justify-content:center;align-items:center;gap:4px;font-size:22px;font-weight:800;display:flex}.earn.done{animation:.35s pulse}@media (width<=480px){.card{padding:20px 16px}.card.rcard{padding:40px 14px 16px}}@media (aspect-ratio>=1001/1000) and (height<=520px){.card.rcard{padding:32px 16px 12px}.result .splate{padding:5px 22px;font-size:20px}.rcard .reach{font-size:21px}.rcard .rstat{font-size:13px}.rcard .rwag{margin-top:3px}.rcard .rwag i{padding:1px 6px 1px 4px;font-size:14px}}.ctx-lost{z-index:60;color:#3fdcff;cursor:pointer;background:#040a17d9;border:0;width:100%;font-size:72px;position:fixed;inset:0}body.village-open #hud{visibility:hidden}#village{z-index:10;color:#fff;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(at 50% 35%,#0c1e3c59,#060e20b8);grid-template:"head""body"minmax(0,1fr)"foot""nav"/minmax(0,1fr);font-family:inherit;display:grid;position:fixed;inset:0}#village.hidden{display:none}#village button{overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual;padding:6px 12px}.vhead{grid-area:head;align-items:center;gap:8px;min-width:0;padding:8px 12px 4px;display:flex}.vtitle{white-space:nowrap;text-shadow:0 1px 2px #000000b3;flex:1;align-items:center;gap:8px;min-width:0;font-weight:800;display:flex}.vtitle b{font-size:18px}#village .cpage{color:#fff;text-shadow:0 1px 2px #000;cursor:pointer;background:radial-gradient(circle at 50% 35%,#1f6fa8,#0a2348 75%);border:2px solid #8ff4ff;border-radius:50%;flex:none;width:36px;height:36px;padding:0 0 3px;font-size:28px;font-weight:900;line-height:1;position:relative;box-shadow:0 0 8px #3fdcff99}#village .cpage:disabled{visibility:hidden}#village .cpage.locked{color:#fff9;box-shadow:none;border-color:#8ff4ff8c}#village .cpage .lock{width:17px;height:17px;position:absolute;bottom:-4px;right:-5px}.cstars{color:#ffe9a8;background:#00081899;border:1px solid #ffc94080;border-radius:999px;align-items:center;gap:4px;padding:2px 10px 2px 7px;font-size:15px;display:inline-flex}.cstars .st{width:17px;height:17px}.crystals{white-space:nowrap;color:#9be7ff;border-radius:999px;flex:none;align-items:center;gap:4px;padding:3px 10px;font-size:17px;font-weight:800;display:inline-flex}#village .gear{flex:none;width:40px;height:40px;padding:5px}#village .gear.on{filter:drop-shadow(0 0 6px #ffe066)}.vsetwrap{z-index:40;background:#00000073;justify-content:center;align-items:center;padding:16px;display:flex;position:fixed;inset:0}.vset .ver{opacity:.55;align-self:flex-end;margin-top:-2px;font-size:11px}#village .vset .sx{border-radius:50%;width:38px;height:38px;padding:0;font-size:18px;font-weight:900;line-height:1;position:absolute;top:-14px;right:-10px}.vtabs{grid-area:nav;align-items:flex-end;gap:8px;padding:6px 10px 8px;display:flex}#village .vtabs button{flex-direction:column;flex:1 1 0;gap:2px;min-width:0;height:clamp(58px,8vh,76px);padding:3px 4px 5px;font-size:clamp(12px,3.4vw,15px)}#village .vtabs button>span{white-space:nowrap;text-overflow:ellipsis;max-width:100%;line-height:1.25;overflow:hidden}#village .vtabs button.home{flex-grow:1.4;height:clamp(70px,9.6vh,90px);margin-top:-14px;font-size:clamp(14px,4vw,17px)}.vtabs .ic{flex:none;width:clamp(26px,3.6vh,34px);height:clamp(26px,3.6vh,34px)}.vtabs button:not(.on) .ic{opacity:.75}.vbody{scrollbar-width:thin;grid-area:body;justify-self:center;width:100%;max-width:900px;padding:4px 12px 10px;overflow-y:auto}.vbody.t-levels{padding:0 8px 0 0;display:flex;position:relative;overflow:hidden}.sec{color:#b8cbe6;text-shadow:0 1px 2px #000000b3;margin:6px 2px;font-size:13px;font-weight:700}.sec:first-child{margin-top:0}.list{grid-template-columns:repeat(auto-fill,minmax(min(100%,330px),1fr));gap:6px;display:grid}.item{padding:6px 8px;font-size:13px}.row{align-items:center;gap:10px;min-height:58px;display:flex}.rtx{flex-direction:column;flex:1;min-width:0;line-height:1.3;display:flex}.rtx b{font-size:15px}.rtx span{color:#b8cbe6;font-size:12px}.rlv{text-align:center;min-width:42px;color:var(--cyan);flex:none;font-size:12px;font-weight:800}.rbtn{flex-direction:column;flex:none;gap:4px;display:flex}#village .buy,#village .pick{white-space:nowrap;min-width:84px;padding:6px 10px;font-size:14px}.item.locked .ico{filter:grayscale(.85)brightness(.8)}.item.locked .rtx{opacity:.75}.pbar{background:#000818b3;border:1px solid #3fdcff73;border-radius:7px;height:14px;margin-top:3px;display:block;position:relative;overflow:hidden}.pbar i{background:linear-gradient(90deg,#1b8fc0,#3fdcff);height:100%;display:block}.pbar em{text-align:center;color:#fff;text-shadow:0 1px 1px #000;font-size:12px;font-style:normal;font-weight:800;line-height:12px;position:absolute;inset:0}.rew{text-align:center;color:#9be7ff;white-space:nowrap;min-width:56px;font-size:14px;font-weight:800}.rew.got{color:#6cf5b0;font-size:20px}.item.got{opacity:.6}.item.got .row,.item.got.row{min-height:44px}.item.ready{--edge:var(--gold);--halo:#ffc94080}.rcol>.sec{justify-content:space-between;align-items:center;gap:8px;min-height:30px;display:flex}#village .more{flex:none;margin:0;padding:3px 12px;font-size:13px}.rcol+.rcol{margin-top:8px}@media (aspect-ratio>=1001/1000){.vbody.t-rewards{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:12px;max-width:1100px;display:grid}.rcol+.rcol{margin-top:0}.t-rewards .list{grid-template-columns:minmax(0,1fr)}#village .vtitle .back{display:none}}#village .back{flex:none;width:36px;height:36px;padding:0 0 3px;font-size:26px;line-height:1}.tiles{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;display:grid}@media (aspect-ratio>=1001/1000){.tiles{grid-template-columns:repeat(7,minmax(0,1fr))}}.tile{text-align:center;cursor:pointer;border-radius:14px;flex-direction:column;align-items:center;gap:clamp(3px,.8vh,7px);padding:clamp(6px,1.4vh,12px) 6px;display:flex}.tile>b{font-size:14px;line-height:1.15}.tile .ico{width:clamp(40px,6.5vh,60px);height:clamp(40px,6.5vh,60px)}.pips{flex-wrap:wrap;justify-content:center;gap:3px;max-width:100%;display:flex}.pips i{background:#ffffff29;border-radius:2px;width:7px;height:7px}.pips i.on{background:var(--cyan);box-shadow:0 0 4px #3fdcffcc}.lvbar{background:#000818b3;border:1px solid #3fdcff73;border-radius:7px;width:min(100%,76px);height:13px;display:block;position:relative;overflow:hidden}.lvbar i{background:linear-gradient(90deg,#1b8fc0,#3fdcff);height:100%;display:block}.lvbar em{text-align:center;color:#fff;text-shadow:0 1px 1px #000;font-size:10px;font-style:normal;font-weight:800;line-height:11px;position:absolute;inset:0}.tile.max .lvbar i{background:linear-gradient(90deg, #e0a020, var(--gold))}.thint .ts{display:none}.need{color:#ffd36b;font-size:12px;font-weight:800}#village .tile .buy{width:100%;min-width:0;margin-top:auto}.tile.on{--edge:#fff;--halo:#ffffff73}.tile.lit{--edge:var(--gold);--halo:#ffc9408c}.tile.max .pips i.on{background:var(--gold);box-shadow:0 0 4px #ffc940cc}.udet{grid-template:"hero info"/auto minmax(0,1fr)}@media (aspect-ratio>=1001/1000){.vbody.t-train{max-width:1180px}.t-train .tpage{grid-template-columns:repeat(var(--n), minmax(0, 1fr));align-content:start;gap:0 8px;display:grid}.t-train .tpage>.tiles{display:contents}.t-train .tpage>.sec{grid-row:1;margin-top:0}.t-train .tpage>.thint{grid-column:1 / span var(--nt)}.t-train .tpage>.wsec{grid-column:span var(--nw) / -1}.t-train .tpage .tile{grid-row:2}.vbody.t-train{flex-direction:column;justify-content:safe center;display:flex}}@media (aspect-ratio<=1){.vbody.t-train{flex-direction:column;justify-content:safe center;display:flex}.t-train .tile{gap:clamp(4px,1vh,9px);padding-block:clamp(8px,2vh,18px)}.t-train .tile .ico{width:clamp(40px,7.5vh,68px);height:clamp(40px,7.5vh,68px)}.t-train .sec{margin-top:clamp(6px,2vh,18px)}}.udet .ico{grid-area:hero}@media (height<=520px){.tiles{gap:6px}.tile{gap:1px;padding:4px}.tile .ico{width:32px;height:32px}.tile>b{max-width:100%;font-size:12px;line-height:1.05}.thint .tl{display:none}.thint .ts{display:inline}}.ico{border:2px solid;border-radius:50%;flex:none;width:42px;height:42px;padding:3px}.hshow{border-radius:18px;align-items:center;gap:clamp(10px,3vw,24px);padding:clamp(10px,2.2vh,20px) clamp(10px,3vw,22px);display:flex}.hpic{aspect-ratio:1;border:2px solid var(--cyan);background:radial-gradient(circle at 50% 38%, #2f6cb4, var(--navy) 75%);border-radius:50%;flex:none;width:clamp(110px,24vh,210px);overflow:hidden;box-shadow:0 0 14px #3fdcff59}.hpic .ic{width:100%;height:100%}.hinfo{flex-direction:column;flex:1;align-items:flex-start;gap:6px;min-width:0;display:flex}.hinfo>b{font-size:clamp(22px,3.4vh,30px);line-height:1.1}.hskill{color:#dbe8f8;font-size:clamp(14px,2vh,17px);line-height:1.35}.hinfo .rlv{text-align:left;min-width:0;font-size:14px}#village .hinfo .buy{min-width:0;padding:9px 18px;font-size:17px}.hgrid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px;display:grid}.hcard{text-align:center;border-radius:16px;flex-direction:column;align-items:center;gap:6px;padding:10px 6px;display:flex}.hcard .hpic{width:clamp(64px,13vh,120px)}.hcard>b{font-size:16px}#village .hcard button{width:100%;min-width:0}.hcard.locked .hpic{filter:grayscale(.55)brightness(.92)}.hcard.picked{--edge:var(--gold);--halo:#ffc94080}.hcard.picked .hpic{border-color:var(--gold)}.hcard{cursor:pointer}.hcard.look:not(.picked){--edge:#fff;--halo:#ffffff73}.hcard.look:not(.picked) .hpic{border-color:#fff}.hbtns{flex-wrap:wrap;gap:8px;max-width:100%;display:flex}@media (aspect-ratio<=1){.vbody.t-hero{flex-direction:column;justify-content:safe center;display:flex}.hshow{text-align:center;flex-direction:column;gap:10px}.hshow .hpic{width:clamp(110px,24vh,220px)}.hinfo{align-items:center;gap:8px}.hinfo .rlv{text-align:center}.hbtns{justify-content:center}#village .hbtns .buy,#village .hbtns .pick{min-width:140px}.hgrid{margin-top:12px}}@media (aspect-ratio>=1001/1000){.vbody.t-hero{grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);align-items:center;gap:10px;max-width:1100px;display:grid}.t-hero .hgrid{margin-top:0}}#village .hbtns .pick{padding:9px 18px;font-size:17px}.wlines{color:#dbe8f88c;flex-direction:column;gap:3px;font-size:clamp(12px,1.8vh,15px);line-height:1.3;display:flex}.wlines .on{color:var(--cyan)}.wgrid .hcard .hpic{width:clamp(48px,9vh,86px)}.wgrid .hcard>b{font-size:14px;line-height:1.15}#village .vtitle .wbook{margin-left:auto}#village .pick:disabled{opacity:1;border:2px solid var(--gold);color:var(--gold);box-shadow:none;filter:none;cursor:default;background:#ffc9401f}@media (height<=520px){.hpic{width:clamp(80px,30vh,130px)}.hshow{padding:8px 14px}.hcard{gap:4px;padding:6px 8px}.hcard .hpic{width:46px}.hcard>b{font-size:14px}.hgrid{gap:6px;margin-top:6px}}.vside{flex-direction:column;flex:none;gap:28px;padding:8px 10px 24px;display:flex}#village .sbtn{border-radius:50%;width:54px;height:54px;padding:0;position:relative}#village .sbtn .ic{width:30px;height:30px}#village .sbtn b{font-size:26px;line-height:1}#village .sbtn>span{white-space:nowrap;text-shadow:0 1px 2px #000,0 0 4px #000;font-size:12px;position:absolute;top:calc(100% + 3px);left:50%;translate:-50%}#village .sbtn .dot{top:-3px;right:-3px}#village .sbtn>span .ic,#village .vtabs .sbtn>span .ic{vertical-align:-.15em;width:1.05em;height:1.05em;margin-right:2px;display:inline-block}.vtabs .vside{display:none}.route{scrollbar-width:none;cursor:grab;flex:1;min-width:0;overflow:auto}.rtrack{flex-direction:column-reverse;justify-content:space-evenly;align-items:center;min-height:100%;padding:16px 0;display:flex;position:relative}.route::-webkit-scrollbar{display:none}.rline{pointer-events:none;position:absolute;top:0;left:0;overflow:visible}.rline polyline{fill:none;stroke-width:3px;stroke-linejoin:round}.rline .ahead{stroke:#3fdcff80;stroke-dasharray:8 7}.rline .past{stroke:#6cf5b0}#village .node{flex-direction:column;flex:none;gap:0;width:76px;height:64px;padding:4px;font-size:12px;position:relative}#village .node:nth-of-type(odd){margin:-6px clamp(124px,100vw - 140px,420px) -6px 0}#village .node:nth-of-type(2n){margin:-6px 0 -6px clamp(124px,100vw - 140px,420px)}@media (aspect-ratio<=1){.vbody.t-levels{padding:0}.vbody.t-levels>.vside{z-index:2;pointer-events:none;position:absolute;top:0;left:0}.vbody.t-levels>.vside>*{pointer-events:auto}.rtrack{padding-top:112px}}#village .node b{font-size:19px;line-height:1.1}#village .node.boss{width:92px;height:82px}#village .node.boss .ic.boss{flex:none;width:34px;height:34px;margin:-2px 0 -1px}#village .node.cur{width:100px;height:84px;animation:1.6s ease-in-out infinite nodebob}#village .node.cur b{font-size:26px}#village .node.locked{width:60px;height:50px;font-size:14px}#village .node.locked b{font-size:15px}#village .node.boss.locked{width:86px;height:76px}#village .node.boss.cur{width:108px;height:98px}#village .node.boss.cur .ic.boss{width:38px;height:38px}#village .node.boss.cur b{font-size:22px}@keyframes nodebob{0%,to{translate:0}50%{translate:0 -4px}}.srow{white-space:nowrap;gap:1px;display:inline-flex}.st{background:50%/contain no-repeat;flex:none;width:15px;height:15px;display:inline-block}#village .node.cur .st{width:18px;height:18px}#village .nplay{background:var(--navy);border:2px solid #fff1b0;border-radius:50%;width:28px;height:28px;animation:1.6s ease-in-out infinite nplay;position:absolute;top:-10px;right:-10px;box-shadow:0 0 8px #ffc940e6}#village .nplay:after{content:"";background:var(--gold);clip-path:polygon(0 0,100% 50%,0 100%);position:absolute;inset:6px 5px 6px 8px}@keyframes nplay{0%,to{scale:1}50%{scale:1.15}}#village .npay{border:2px solid var(--gold);color:var(--gold);background:var(--navy);text-shadow:none;white-space:nowrap;border-radius:9px;padding:1px 7px;font-size:13px;font-weight:900;line-height:1.2;display:block;position:absolute;bottom:-14px;left:50%;translate:-50%}.vcard{border-radius:16px;grid-template:"hero info"/auto minmax(0,1fr);grid-area:foot;justify-self:center;align-items:center;gap:8px 10px;width:calc(100% - 20px);max-width:880px;margin:6px 10px 8px;padding:8px 10px;display:grid}.cinfo{flex-direction:column;grid-area:info;gap:2px;min-width:0;display:flex}.cinfo b{font-size:19px}.cinfo small{color:#b8cbe6;font-size:12px}@media (aspect-ratio>=1001/1000){.vtabs{justify-content:center;gap:10px;padding:4px 12px 8px}#village .vtabs button{flex:0 128px;height:60px}#village .vtabs button.home{flex:0 150px;height:70px;margin-top:-10px}.vbody .vside{display:none}.vtabs .vside{display:contents}#village .vtabs .vside.l>.sbtn{margin-right:6px}#village .vtabs .vside.r>.sbtn{margin-left:6px}#village .vtabs .vside.l>.sbtn:after,#village .vtabs .vside.r>.sbtn:after{content:"";border-right:1px solid #3fdcff4d;position:absolute;top:8px;bottom:8px}#village .vtabs .vside.l>.sbtn:after{right:-9px}#village .vtabs .vside.r>.sbtn:after{left:-9px}#village .vtabs .sbtn{border-radius:12px;width:auto}#village .vtabs .sbtn>span{font-size:inherit;text-shadow:none;position:static;translate:none}#village .vtabs .sbtn .ic{width:clamp(26px,3.6vh,34px);height:clamp(26px,3.6vh,34px)}#village .vtabs .sbtn b{font-size:28px}.vcard{max-width:none}.vbody.t-levels{max-width:none;padding:0}.rtrack.orbit{width:100%;min-width:0;height:100%;padding:0;display:block}#village .rtrack.orbit .node:nth-of-type(n){margin:0;position:absolute}#village .route:has(>.orbit){cursor:default;overflow:hidden}}@media (width<=480px){.vhead{gap:6px;padding:6px 8px 2px}.vtitle{gap:6px}.vtitle b{font-size:16px}#village .vtitle .cpage{width:32px;height:32px;font-size:25px}.cstars{gap:3px;padding:1px 7px 1px 5px;font-size:13px}.cstars .st{width:14px;height:14px}.crystals{padding:2px 8px;font-size:15px}#village .gear{width:36px;height:36px}.vbody{padding:2px 8px 8px}.vtabs{gap:6px;padding:6px 8px}.tiles{gap:6px}.tile{gap:3px;padding:6px 3px}.tile>b{font-size:13px}.tile .ico{width:clamp(36px,6vh,60px);height:clamp(36px,6vh,60px)}#village .hcard button{padding:6px 4px;font-size:13px}.hgrid{gap:6px}}@media (height<=680px){#village .node{width:66px;height:54px}#village .node b{font-size:16px}#village .node.cur{width:84px;height:70px}#village .node.cur b{font-size:21px}#village .node.locked{width:54px;height:44px}#village .node.boss{width:78px;height:68px}#village .node.boss.locked{width:74px;height:64px}#village .node.boss.cur{width:92px;height:84px}#village .node.boss .ic.boss{width:28px;height:28px}#village .node.boss.cur .ic.boss{width:30px;height:30px}#village .node.boss.cur b{font-size:19px}#village .nplay{width:24px;height:24px;top:-9px;right:-9px}#village .nplay:after{inset:5px 4px 5px 7px}.vcard{margin:4px 10px 6px;padding:6px 10px}}@media (aspect-ratio>=1001/1000) and (height<=520px){.t-train .tpage{column-gap:6px}.vhead{padding:4px 12px 2px}.vtabs{gap:8px;padding:2px 10px 6px}#village .vtabs button{height:50px;font-size:12px}#village .vtabs button.home{height:58px;margin-top:-6px}.vtabs .ic,#village .vtabs .sbtn .ic{width:24px;height:24px}#village .vtabs .sbtn b{font-size:22px}#village .node:nth-of-type(odd){margin:50px -2px 0}#village .node:nth-of-type(2n){margin:0 -2px 50px}.vcard{margin:2px 10px 6px;padding:4px 8px}.row{min-height:46px}.t-rewards .list{gap:4px}.t-rewards .item{padding:3px 8px}}@media (width>=1100px) and (height>=760px){#village,.result .card,.pmenu .card{zoom:1.15}}@media (width>=1500px) and (height>=920px){#village,.result .card,.pmenu .card{zoom:1.3}}:root{--navy:#0a1a33;--cyan:#3fdcff;--gold:#ffc940;--glass:linear-gradient(180deg, #22467ce6, #0a1a38eb);--edge:var(--cyan);--halo:#3fdcff73}body{background:#cfe6f5}#hud button,#village button,.wave,.wallbar,.hint,.tip,.card,.vset,.item,.vcard,.crystals{--ink:#fff;color:#fff;border:2px solid var(--edge);background:var(--glass);box-shadow:0 0 0 1px #00000059, 0 0 10px var(--halo), inset 0 1px 0 #ffffff47, inset 0 0 14px #3fdcff29;text-shadow:0 1px 2px #000000b3;border-image:;border-radius:12px}.item,.vcard,.crystals,.vset,.tip{--edge:#6ebeeb61;--halo:transparent}#village .vtabs button:not(.on){--edge:#6ebeeb66;--halo:transparent}#hud .stat,#hud .main,#hud .ad,#village .buy,#village .vtabs button,#village .node{border-image:}.hint,.tip,.card,.vset{filter:drop-shadow(0 6px 10px #00000059)}#hud .main,#village .buy.claim{--ink:var(--navy);color:var(--navy);text-shadow:0 1px #ffffff80;--edge:#fff1b0;--halo:#ffc94099;background:linear-gradient(#ffe27a,#ffb22e)}#hud .ad,#village .buy,#village .node.done{--edge:#6cf5b0;--halo:#5cf2a073;background:linear-gradient(#1e7860eb,#0a3a34f0)}#village .vtabs button.on,#village .node.cur,#village .sbtn.on,#village .sbtn.cur{--edge:var(--gold);--halo:#ffc94080}#hud .speed,#hud .pause,#village .gear{background:radial-gradient(circle at 50% 35%, #2c5a98, var(--navy) 80%);border-radius:50%}#hud button:disabled,#village button:disabled{color:#8a9ab0}.outl{text-shadow:-1.5px -1.5px 0 var(--navy), 1.5px -1.5px 0 var(--navy), -1.5px 1.5px 0 var(--navy), 1.5px 1.5px 0 var(--navy), 0 2px 0 var(--navy)}.dot{box-shadow:0 0 0 2px var(--navy)}.wave,.wallbar{border-radius:999px}.wallbar{padding:0 5px 0 4px}.wallbar .fico{margin:-2px 4px 0 -6px}.wallbar .track{background:#000818b3;height:calc(100% - 10px);box-shadow:inset 0 1px 3px #0009}.wallbar .fill{background:linear-gradient(#8ff4ff,#22c4f0);box-shadow:inset 0 -3px #00285040,inset 0 2px #fff9,0 0 8px #3fdcffb3}.wallbar[data-lv=calm]{--edge:#3fdcff59;--halo:#3fdcff1a}.wallbar[data-lv=calm] .fill{background:linear-gradient(#78cdeb8c,#2282b48c);box-shadow:inset 0 1px #ffffff40}.wallbar[data-lv=calm] .fico{opacity:.7}.wallbar[data-lv=low]{--edge:#ffb347;--halo:#ffa64d8c}.wallbar[data-lv=low] .fill{background:linear-gradient(#ffd890,#ff9a2e);box-shadow:inset 0 2px #ffffff80,0 0 8px #ffa64dcc}.wallbar[data-lv=crit]{--edge:#ff5a5a;--halo:#ff4d4db3}.wallbar[data-lv=crit] .fill{background:linear-gradient(#ff8f8f,#e8302d);box-shadow:inset 0 2px #ffffff73,0 0 10px #ff3c3ce6}.wallbar[data-lv=crit]:after{content:"";pointer-events:none;border:2px solid #ff5a5a;border-radius:999px;animation:.9s ease-in-out infinite alarm;position:absolute;inset:-5px;box-shadow:0 0 10px #ff3c3ccc}@keyframes alarm{0%,to{opacity:.15}50%{opacity:1}}.wallbar .txt{text-shadow:-1px -1px 0 var(--navy), 1px -1px 0 var(--navy), -1px 1px 0 var(--navy), 1px 1px 0 var(--navy)}.stat i .ic,.ico .ic,.wallbar .fico .ic{filter:drop-shadow(0 0 1px #dcf8ffe6)drop-shadow(0 0 4px #3fdcff73)}.card .stars i{color:#ffffff2e}.card .stars i.on{color:var(--gold);text-shadow:0 2px 0 var(--navy), 0 0 10px #ffc940b3}.earn{color:#8ff0ff}#village{background:radial-gradient(at 50% 35%,#1432644d,#040c1eb8)}#village[data-tab=levels]{background:radial-gradient(at 50% 42%,#1e468214 0%,#08142c40 55%,#040c1e99 100%)}#village[data-tab=train],#village[data-tab=hero],#village[data-tab=rewards]{background:radial-gradient(at 50% 35%,#0e2246d1,#040c1eeb)}.crystals{color:#9be7ff;border-radius:999px}.vtabs{border-color:var(--cyan);background:#08142cf0;box-shadow:0 0 12px #3fdcff59}.ico{background:radial-gradient(circle at 50% 40%, #2c5a98, var(--navy) 80%);border-color:var(--cyan)}.item.picked{filter:drop-shadow(0 0 4px var(--gold)) drop-shadow(0 0 8px #ffc940cc)}#village .node{background:linear-gradient(#1d3d6e,#0c1d3d)}#village .node.locked,#village .sbtn.locked{filter:none;color:#a9bdd8;--edge:#82a0c8bf;--halo:transparent;background:#0d1b33}#village .node.cur,#village .sbtn.endless.cur{--ink:var(--navy);color:var(--navy);text-shadow:0 1px #ffffff80;--edge:#fff1b0;background:linear-gradient(#ffe27a,#ffb22e)}#village .node.cur:before,#village .sbtn.cur:before{content:"";border:3px solid var(--gold);pointer-events:none;border-radius:16px;animation:1.6s ease-out infinite curring;position:absolute;inset:-7px}@keyframes curring{0%{opacity:1;scale:.96}to{opacity:0;scale:1.3}}#village .node.boss{--edge:#ff5a6a;--halo:#ff5a6a8c;background:linear-gradient(#5a1830,#1e0a1c)}#village .node.boss.locked{--edge:#ff5a6a;color:#ffd0d6;background:linear-gradient(#4a1428,#170816);animation:2.4s ease-in-out infinite bossglow}#village .node.boss.cur{background:linear-gradient(#ffe27a,#ffb22e)}@keyframes bossglow{0%,to{box-shadow:0 0 6px #ff5a6a66}50%{box-shadow:0 0 18px #ff5a6ae6}}#village .node.boss:after{content:"BOSS";letter-spacing:1px;color:#fff;text-shadow:none;background:#e63950;border-radius:6px;padding:0 6px;font-size:12px;font-weight:900;line-height:16px;position:absolute;top:-9px;left:50%;translate:-50%}#village .sbtn.endless:not(.locked){--edge:#b88cff;--halo:#b88cff8c}#village .sbtn.endless.cur{--edge:#fff1b0;--halo:#ffc94080}.st{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7L12 17.8l-6.2 3.3 1.2-7L1.9 9.2l7-1z' fill='%23ffd23f' stroke='%230a1a33' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}.st:not(.on){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7L12 17.8l-6.2 3.3 1.2-7L1.9 9.2l7-1z' fill='none' stroke='rgba(220,235,255,0.75)' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E")}#village .node.cur .st:not(.on){background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 1.8l3.1 6.4 7 1-5.1 4.9 1.2 7L12 17.8l-6.2 3.3 1.2-7L1.9 9.2l7-1z' fill='rgba(255,255,255,0.35)' stroke='%230a1a33' stroke-width='1.8' stroke-linejoin='round'/%3E%3C/svg%3E")}#village .node.go,#village .sbtn.go{transition:transform 80ms;transform:scale(.92)}#village .node.shake,#village .sbtn.shake{animation:.35s nshake}@keyframes nshake{0%,to{translate:0}20%{translate:-6px}40%{translate:5px}60%{translate:-4px}80%{translate:2px}}#village .vtoast{z-index:30;text-align:center;color:#fff;pointer-events:none;background:#081228eb;border-radius:12px;max-width:calc(100vw - 32px);padding:8px 16px;font-size:15px;font-weight:800;animation:1.6s forwards vtoast;position:fixed;top:42%;left:50%;translate:-50% -50%;box-shadow:0 0 0 2px #82a0c8bf}@keyframes vtoast{0%{opacity:0;scale:.9}12%,80%{opacity:1;scale:1}to{opacity:0}}.wave,.wallbar{height:42px}.wave{white-space:nowrap;border-radius:999px;flex:none;align-items:center;padding:0 14px;display:flex}.wcol{flex-direction:column;justify-content:center;align-items:stretch;gap:4px;min-width:0;display:flex}.wnum{justify-content:center;align-items:baseline;gap:4px;line-height:1;display:flex}.wnum small{letter-spacing:.6px;text-transform:uppercase;color:#a9e9ff;font-size:12px;font-weight:800}.wave b{letter-spacing:.5px;font-size:19px;font-weight:900;line-height:1}.pips{gap:3px;min-width:clamp(56px,8vw,92px);display:flex}.pips i{background:#fff3;border-radius:3px;flex:1 1 0;min-width:3px;height:7px;box-shadow:inset 0 0 0 1px #00000059}.pips i.done{background:var(--cyan)}.pips i.now{background:var(--gold);box-shadow:0 0 6px var(--gold)}.pips i.boss{background:#ff503c8c;flex-grow:2;box-shadow:inset 0 0 0 1px #00000059,0 0 5px #ff503c99}.pips i.boss.now{background:#ff5a3c;box-shadow:0 0 7px #ff5a3c}.herobox{flex:0 220px;min-width:0}#hud .hero{grid-template-columns:auto minmax(0,1fr);place-items:center start;gap:4px 8px;width:100%;padding:4px 12px 4px 4px;display:grid}.hport{background:radial-gradient(circle at 50% 40%, #2c5a98, var(--navy) 78%);border-radius:9px;grid-row:1/span 2;width:44px;height:44px;display:block;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #3fdcff80}.hero .hico,.hero .charge,.hpct{position:absolute;inset:0}.hero .hico img,.hero .hico .ic{width:100%;height:100%;display:block}.hero .charge{background:conic-gradient(transparent var(--p,0%), #040a18b3 0)}.hpct{color:#fff;text-shadow:-1px -1px 0 var(--navy), 1px -1px 0 var(--navy), -1px 1px 0 var(--navy), 1px 1px 0 var(--navy);justify-content:center;align-items:center;font-size:14px;font-weight:900;display:flex}.hname{white-space:nowrap;text-overflow:ellipsis;align-self:end;max-width:100%;font-size:15px;font-weight:800;line-height:1.2;display:block;overflow:hidden}.hbar{background:linear-gradient(to right, var(--cyan) var(--p,0%), #ffffff26 0);border-radius:2px;align-self:start;width:100%;height:5px;text-decoration:none}#hud .hero.ready{--edge:var(--gold);--halo:#ffc940b3}#hud .hero.ready .hname{color:var(--gold)}#hud .hero.ready .hbar{background:var(--gold)}#hud .hero.ready:before{content:"";border:2px solid var(--gold);pointer-events:none;border-radius:16px;animation:1s ease-in-out infinite ready;position:absolute;inset:-6px;box-shadow:0 0 12px #ffc940cc}@keyframes ready{0%,to{opacity:.3;transform:scale(.97)}50%{opacity:1;transform:scale(1.03)}}#hud .hero.active{--edge:#8ff4ff;--halo:#3fdcffe6}#hud .hero.active .hbar{background:linear-gradient(to right, #8ff4ff var(--p,0%), #ffffff26 0)}#hud .stat.can{--edge:#8ff4ff;--halo:#3fdcffbf}#hud .stat.beckon:before{content:"";border-radius:inherit;pointer-events:none;border:2px solid #8ff4ff;animation:1s ease-in-out infinite ready;position:absolute;inset:-4px;box-shadow:0 0 12px #3fdcffcc}#hud .stat.maxed{--edge:var(--gold);--halo:#ffc94080}.stat .price,.stat.can .price,#hud .stat.maxed .price{color:var(--gold);background:#00061499}.stat u{background:var(--gold)}#hud .stat.poor,#hud .stat.almost{color:#9aa8bc;--edge:#3fdcff59;--halo:#3fdcff14}.stat.poor i,.stat.almost i{opacity:.55}.stat .pop{color:var(--gold);text-shadow:0 2px 0 var(--navy), 0 0 3px var(--navy)}.stat em{color:#cdebffcc;text-shadow:0 1px 1px #0009;grid-area:2/1;justify-self:center;font-size:11px;font-style:normal;font-weight:800;line-height:1}.stat em.zero{visibility:hidden}.stat em.tr{color:#9be7ff}.stat em .gl{vertical-align:-.1em;width:.9em;height:.9em;margin-right:1px}#hud .stat.maxed em{color:var(--gold)}.purse{color:var(--gold);background:var(--glass);border:2px solid #ffc940bf;border-radius:999px;padding:1px 14px 1px 5px;line-height:1.25;box-shadow:0 0 0 1px #00000059,0 0 8px #ffc94059}@media (aspect-ratio>=1001/1000) and (height<=520px){.wave,.wallbar{height:36px}.wave b{font-size:17px}.wcol{gap:3px}.pips i{height:6px}#hud .hero{gap:3px 7px;padding:3px 10px 3px 3px}.hport{width:36px;height:36px}.hpct{font-size:12px}.hname{font-size:13px}}@media (aspect-ratio<=1){.wave b{font-size:18px}.pips{min-width:64px}}@media (aspect-ratio<=1199/1000){.stat i{justify-self:start;margin:2px 0 0 5px}.stat em{grid-area:auto;position:absolute;top:4px;right:5px}.stat em.tr{letter-spacing:-.3px;font-size:10px;top:3px;right:3px}.stat em.tr .gl{margin-right:0}#hud .hero{gap:3px 6px;padding:3px 8px 3px 3px}.hport{width:38px;height:38px}.hpct{font-size:12px}.hname{font-size:14px}}@media (aspect-ratio<=1199/1000) and (width>=640px){.herobox{flex:none}}@media (aspect-ratio<=1) and (width<=400px){.wave{padding:0 10px}.wnum small{letter-spacing:.3px;font-size:11px}.pips{gap:2px;min-width:52px}}.wgchg{background:#00000073;border-radius:2px;height:4px;position:absolute;bottom:-3px;left:26px;right:8px;overflow:hidden}.wgchg i{background:var(--cyan);transform-origin:0;transition:transform .2s;position:absolute;inset:0;transform:scaleX(0)}.wgchg.full i{background:var(--gold);animation:.8s ease-in-out infinite ready}.wgpick{left:var(--bx);top:var(--by);width:var(--bw);height:var(--bh);z-index:3;box-sizing:border-box;pointer-events:none;justify-content:center;align-items:flex-start;padding:6px 8px;display:none;position:absolute}.wgpick.show{display:flex}.wgbox{background:#02081480;border-radius:16px;flex-direction:column;align-items:center;gap:6px;max-width:100%;padding:6px 10px 8px;display:flex}.wgbox>*{pointer-events:auto}.wgtitle{color:#fff;letter-spacing:.5px;font-size:18px;font-weight:900}.wgrow{flex-wrap:wrap;justify-content:center;gap:10px;display:flex}#hud .wgcard{border:3px solid var(--wc);width:clamp(96px,24vw,160px);box-shadow:0 0 14px color-mix(in srgb, var(--wc) 55%, transparent), inset 0 0 18px color-mix(in srgb, var(--wc) 25%, transparent);color:#fff;font:inherit;cursor:pointer;background:linear-gradient(#102240f5,#060e1ef5);border-radius:14px;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 10px;animation:.3s ease-out backwards wgin;display:flex;position:relative}#hud .wgcard:active{transform:scale(.96)}.wgico{width:34px;height:34px;filter:drop-shadow(0 0 6px color-mix(in srgb, var(--wc) 60%, transparent))}.wgname{text-align:center;color:var(--wc);overflow-wrap:normal;-webkit-hyphens:manual;hyphens:manual;max-width:100%;font-size:14px;font-weight:900;line-height:1.15}.wgtag{color:#dff6ff;background:#ffffff24;border-radius:999px;padding:2px 8px;font-size:12px;font-weight:900}.wgtag.fresh{background:var(--gold);color:#1a1000}.wgtag.up{background:var(--wc);color:#061226;box-shadow:0 0 8px color-mix(in srgb, var(--wc) 60%, transparent)}.wgtag.max{background:linear-gradient(90deg, var(--wc), var(--gold))}.wgtag:empty{display:none}.wgdoes{text-align:center;color:#d6e6f6;font-size:12px;font-weight:700;line-height:1.3}.wgcard.supply{opacity:.92}.wgdef{border:2px solid var(--cyan);width:26px;height:26px;box-shadow:0 0 8px var(--cyan);background:#10264a;border-radius:50%;place-items:center;display:grid;position:absolute;top:-11px;right:-9px}.wgdef .gl{vertical-align:0;width:16px;height:16px}.wgclock{background:var(--cyan);transform-origin:50%;border-radius:3px;width:min(280px,60vw);height:4px}.wgauto{color:#dcf0ffbf;font-size:12px;font-weight:700}.wgrow.nudge .wgcard{animation:1.2s ease-in-out infinite wgnudge}.wgrow.nudge .wgcard:nth-child(2){animation-delay:.15s}.wgrow.nudge .wgcard:nth-child(3){animation-delay:.3s}.wgrow.nudge .wgcard:nth-child(4){animation-delay:.45s}@keyframes wgin{0%{opacity:0;transform:translateY(24px)scale(.85)}}@keyframes wgnudge{0%,70%,to{transform:none}80%{transform:translateY(-8px)}90%{transform:translateY(0)}}@media (height<=480px){.wgtitle{display:none}.wgbox{gap:4px;padding:4px 8px 6px}.wgbox,.wgrow{width:100%}.wgauto{font-size:11px}#hud .wgcard{flex:0 136px;gap:3px;width:auto;min-width:0;padding:6px 4px 8px}.wgdoes{font-size:11px}.wgname{font-size:13px}.wgico{width:28px;height:28px}.wgrow{flex-wrap:nowrap;gap:8px}}@media (width<=420px){.wgtitle{display:none}.wgbox{gap:4px;padding:4px 6px 6px}.wgauto{font-size:11px}.wgbox,.wgrow{width:100%}.wgrow{flex-wrap:nowrap;gap:6px}#hud .wgcard{flex:1 1 0;gap:3px;width:auto;min-width:0;padding:6px 3px 8px}.wgname{font-size:13px}.wgdoes{font-size:11px}.wgico{width:28px;height:28px}}@media (aspect-ratio>=6/5){.wgpick{padding-right:calc(var(--dock) + 20px)}}:is(body:has(.wgpick.show) .ghand,body:has(.wgpick.show) .gspot,body:has(.wgpick.show) .hint){opacity:0!important}
