:root{--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;--bg:#12151c;--panel:#202532;--panel-2:#2b3040;--ink:#f5f0e8;--muted:#b8b1a6;--line:#ffffff24;--red:#e45f55;--gold:#efc35d;--teal:#52c4b5;--green:#76bf69;--blue:#6fa8dc;--black:#090b10;--card:#efe4d0;--card-ink:#201811;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Noto Sans,Ubuntu,Cantarell,Helvetica Neue,sans-serif}*{box-sizing:border-box;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}input,textarea,select,[contenteditable=true]{-webkit-touch-callout:default;-webkit-user-select:text;user-select:text}html,body{min-height:100%;color:var(--ink);touch-action:none;overscroll-behavior:none;background:radial-gradient(circle at 15% 20%,#52c4b529,#0000 26%),linear-gradient(170deg,#17191f 0%,#11151c 48%,#201712 100%);margin:0}button{color:inherit;font:inherit;cursor:pointer;touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;border:0}html,body{overflow:hidden}.game-shell{width:min(100vw,520px);height:var(--app-height,100dvh);min-height:var(--app-height,100dvh);padding:max(12px, env(safe-area-inset-top)) 12px max(12px, env(safe-area-inset-bottom));touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;grid-template-rows:auto minmax(0,1fr) auto auto auto;gap:10px;margin:0 auto;display:grid;position:relative;overflow:hidden}.game-shell,.game-shell :not(input):not(textarea):not(select):not([contenteditable=true]){user-drag:none;-webkit-touch-callout:none!important;-webkit-user-select:none!important;user-select:none!important;-webkit-user-drag:none!important}.game-shell ::selection{color:inherit;background:0 0}.top-bar,.mid-panel,.action-bar{border:1px solid var(--line);background:#202532e0;border-radius:8px;box-shadow:0 14px 34px #00000038}.top-bar{justify-content:space-between;align-items:center;gap:8px;min-height:60px;padding:8px;display:flex}.top-actions{flex-wrap:nowrap;flex:none;justify-content:flex-end;place-items:center end;gap:4px;display:flex}.top-settings{flex:none;align-items:center;gap:4px;display:flex}.sound-toggle{border:1px solid var(--line);background:#00000038;border-radius:7px;width:30px;height:30px;font-size:15px;line-height:1}.sound-toggle[aria-pressed=false]{color:var(--muted);opacity:.72}.language-toggle{border:1px solid var(--line);background:#00000038;border-radius:7px;grid-template-columns:repeat(2,36px);gap:2px;min-height:26px;padding:2px;display:grid}.language-toggle button{min-width:0;color:var(--muted);background:0 0;border-radius:5px;font-size:11px;font-weight:850}.language-toggle button.active{background:var(--gold);color:#211713}.brand{align-items:center;gap:8px;min-width:0;display:flex}.brand-mark{background:linear-gradient(135deg, transparent 45%, #ffffff47 46%, transparent 55%), conic-gradient(from 140deg, var(--teal), var(--gold), var(--red), var(--teal));border-radius:8px;flex:none;width:30px;height:30px;display:none;box-shadow:inset 0 0 0 2px #ffffff29}h1,h2,p{margin:0}h1{font-size:17px;line-height:1}.brand h1{font-size:10px;line-height:1.05}.brand p{color:var(--muted);margin-top:3px;font-size:11px}.stat-row{flex:none;grid-template-columns:repeat(3,minmax(44px,1fr));gap:5px;width:max-content;display:grid}.stat{border:1px solid var(--line);text-align:center;background:#ffffff0f;border-radius:7px;min-width:44px;padding:5px}.stat span{color:var(--muted);letter-spacing:0;font-size:10px;display:block}.stat strong{white-space:nowrap;margin-top:1px;font-size:12px;display:block}.top-health-meter{background:#00000061;border-radius:999px;width:100%;height:5px;margin-top:4px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff1a}.top-health-meter span{border-radius:inherit;transform-origin:0;width:100%;height:100%;transform:scaleX(var(--hp-ratio,1));background:linear-gradient(90deg,#43b765,#a5d866);transition:transform .26s ease-out;display:block}.map-screen{--map-biome-x:100%;--map-offset:0px;background:#9ecf7c url(./forest-village-map-DEFUBE72.png) var(--map-background-position,0%) center / auto 100% no-repeat;will-change:background-position;border:1px solid #ffffff1a;border-radius:8px;min-height:260px;transition:background-position .3s cubic-bezier(.22,1,.36,1);position:relative;overflow:hidden}.map-screen.sand-village{background-color:#d9a857;background-image:url(./sand-village-map-Dllf-CN8.png)}.map-screen.korea-map{background-color:#8fc4d9;background-image:url(./korea-town-map-CVYJWONe.png),linear-gradient(135deg,#0000 0 42%,#464e56eb 43% 56%,#0000 57%),linear-gradient(225deg,#0000 0 42%,#464e56eb 43% 56%,#0000 57%),linear-gradient(#7db480b3 0 42%,#be965ef2 43% 100%),linear-gradient(#88d2f0 0 52%,#d4b778 53% 100%);background-position:var(--map-background-position,0%) 58%, 18% 74%, 82% 74%, center 72%, center;background-repeat:no-repeat;background-size:auto 190%,150px 84px,150px 84px,100% 48%,100% 100%}.map-screen.manchuria-map{background-color:#7f9b74;background-image:url(./manchuria-map-DTMOkcd6.jpg),linear-gradient(#8da6bc 0 46%,#6f7f5f 47% 100%);background-position:var(--map-background-position,0%) 58%, center;background-repeat:no-repeat;background-size:auto 100%,100% 100%}.map-status-bar{z-index:8;pointer-events:none;justify-content:space-between;align-items:center;gap:8px;display:flex;position:absolute;top:10px;left:10px;right:10px}.map-area-label,.map-open-button{color:#fff6d6;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#0e1418c7;border:1px solid #ffffff57;border-radius:7px;align-items:center;min-height:32px;display:inline-flex;box-shadow:0 4px 12px #00000040}.map-area-label{text-overflow:ellipsis;white-space:nowrap;max-width:min(65%,260px);padding:6px 10px;font-size:13px;font-weight:900;overflow:hidden}.map-open-button{pointer-events:auto;justify-content:center;min-width:58px;padding:6px 12px;font-weight:900}.map-screen:before{content:"";width:var(--map-biome-x);z-index:0;pointer-events:none;background:0 0;display:none;position:absolute;top:0;bottom:0;left:0;right:auto}.map-screen.hidden,.arena.hidden,.mid-panel.hidden,.hand-wrap.hidden{display:none}.map-viewport{z-index:1;position:absolute;top:0;bottom:0;left:0;right:0;overflow:hidden}.cloud-layer,.tree-layer{background-repeat:repeat-x;transition:background-position .22s ease-out;position:absolute;top:0;bottom:0;left:0;right:0;transform:none}.cloud-layer{background-image:radial-gradient(34px 13px at 44px 52px,#ffffffe0 0 98%,#0000 100%),radial-gradient(28px 15px at 70px 42px,#ffffffd6 0 98%,#0000 100%),radial-gradient(40px 14px at 92px 54px,#ffffffc7 0 98%,#0000 100%),radial-gradient(32px 12px at 250px 35px,#ffffffd1 0 98%,#0000 100%),radial-gradient(24px 13px at 275px 27px,#ffffffc7 0 98%,#0000 100%);background-size:420px 100%;background-position:calc(var(--map-offset,0px) * -.25) 0;clip-path:inset(0 0 0 var(--map-biome-x));display:none}.tree-layer{pointer-events:none;display:none}.cloud{background:#ffffffdb;border-radius:999px;width:86px;height:26px;display:none;position:absolute;box-shadow:22px -10px 0 8px #ffffffd1,48px 0 0 2px #ffffffc7}.cloud-a{top:15%;left:-12%}.cloud-b{top:10%;left:42%;transform:scale(.8)}.cloud-c{top:22%;left:108%;transform:scale(1.1)}.tree{width:28px;height:86px;transform:translateX(var(--tree-x,0px)) scale(var(--tree-scale,1));transform-origin:bottom;background:#5a3829;border-radius:7px;display:block;position:absolute;bottom:25%;left:0}.tree:before{content:"";background:#2f7651;border-radius:50%;width:86px;height:86px;position:absolute;bottom:38px;left:50%;transform:translate(-50%);box-shadow:-24px 22px 0 -8px #245f42,24px 18px 0 -10px #3c8a61}.tree-a{--tree-x:-80px}.tree-b{--tree-x:60px;--tree-scale:.82}.tree-c{--tree-x:270px;--tree-scale:1.12}.tree-d{--tree-x:460px;--tree-scale:.9}.tree-e{--tree-x:650px;--tree-scale:1.04}.map-ground{left:var(--map-biome-x);background:radial-gradient(circle at 24% 54%,#5b683f57 0 12px,#0000 13px),radial-gradient(circle at 72% 36%,#5b683f47 0 9px,#0000 10px),linear-gradient(100deg,#0000 0 16%,#ffffff24 17% 20%,#0000 21% 38%,#5d44241f 39% 44%,#0000 45%),linear-gradient(#d7b36b,#967847);border-top:2px solid #ffffff24;height:34%;display:none;position:absolute;bottom:0;right:0}.village-shop{left:var(--map-object-x,8%);z-index:5;color:#2c1a10;background:linear-gradient(135deg,#0000 0 19%,#ffffff3d 20% 25%,#0000 26%),linear-gradient(#d8b777 0 33%,#996f3d 34% 100%);border:2px solid #efc35dc2;border-radius:8px;grid-template-rows:1fr auto;place-items:end center;gap:4px;width:112px;min-height:108px;padding:9px 8px 8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:41%;box-shadow:0 12px 24px #00000047}.village-shop:after,.village-elder:after,.village-scholar:after,.map-guard:after,.sand-shop:after,.sand-item-shop:after,.palm-training:after,.beggar-shop:after,.korean-traveler:after,.kpop-girl-group:after,.cv25-store:after,.manchu-gatekeeper:after,.manchu-shaman:after,.taxi-npc:after,.skilled-person:after{content:"";background:#fff0;border-radius:16px;position:absolute;top:-18px;bottom:-18px;left:-18px;right:-18px}.village-shop:before{content:"";background:repeating-linear-gradient(90deg,#b93f35 0 14px,#f5ddb1 14px 28px);border:2px solid #4826188c;border-radius:8px 8px 4px 4px;height:30px;position:absolute;top:-14px;left:8px;right:8px;box-shadow:0 7px #4826182e}.village-shop.hidden{display:none}.village-elder{left:var(--map-object-x,38%);z-index:5;color:#1f2a18;background:linear-gradient(#e5eccaf0,#667d4de6),#778d57;border:2px solid #bbd6a6c2;border-radius:8px;grid-template-rows:1fr auto;place-items:center;gap:4px;width:102px;min-height:104px;padding:9px 8px 8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:40%;box-shadow:0 12px 24px #00000042}.village-elder.hidden{display:none}.village-scholar{left:var(--map-object-x,66%);z-index:5;color:#18242a;background:linear-gradient(#dfebe7f2,#536974e6),#6f8fa6;border:2px solid #6f8fa6d1;border-radius:8px;grid-template-rows:1fr auto;place-items:center;gap:4px;width:104px;min-height:104px;padding:9px 8px 8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:40%;box-shadow:0 12px 24px #00000042}.village-scholar.hidden{display:none}.map-guard{left:var(--map-object-x,70%);z-index:5;color:#24180f;background:linear-gradient(#ffecb4f2,#705031e6),#8c6238;border:2px solid #efc35dbd;border-radius:8px;grid-template-rows:1fr auto;place-items:center;gap:5px;width:96px;min-height:120px;padding:8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),opacity .16s ease-out,transform .16s ease-out;display:grid;position:absolute;bottom:40%;box-shadow:0 12px 24px #00000047}.map-guard.hidden{display:none}.map-guard-passed{opacity:.82}.map-guard-portrait{background:url(./sand-guard-DMGbqtnx.png) bottom/contain no-repeat;width:62px;height:74px;display:block}.village-shopkeeper{z-index:1;width:58px;height:62px;display:block;position:relative}.village-shopkeeper:before{content:"";z-index:1;background:#d7a071;border-radius:50%;width:42px;height:42px;position:absolute;top:3px;left:50%;transform:translate(-50%);box-shadow:0 -8px 0 -2px #67412b,-17px 1px 0 -8px #67412b,17px 1px 0 -8px #67412b,0 0 0 5px #efc35d8a}.village-shopkeeper:after{content:"";z-index:0;background:#9b4f84;border-radius:18px 18px 7px 7px;width:52px;height:25px;position:absolute;bottom:0;left:50%;transform:translate(-50%);box-shadow:-15px -24px 0 -10px #efc35d,15px -24px 0 -10px #efc35d}.elder-portrait,.elder-quest-portrait{width:58px;height:64px;display:block;position:relative}.elder-portrait:before,.elder-quest-portrait:before{content:"";z-index:1;background:#d2b58d;border-radius:50%;width:42px;height:42px;position:absolute;top:4px;left:50%;transform:translate(-50%);box-shadow:0 -9px 0 -3px #ece9dc,-18px 3px 0 -9px #ece9dc,18px 3px 0 -9px #ece9dc}.elder-portrait:after,.elder-quest-portrait:after{content:"";z-index:0;background:#5d7048;border-radius:18px 18px 8px 8px;width:50px;height:28px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.elder-brow,.elder-beard{z-index:2;pointer-events:none;display:block;position:absolute;left:50%;transform:translate(-50%)}.elder-brow{background:#f3f0df;border-radius:999px;width:28px;height:4px;top:20px}.elder-beard{background:#f2efe4;border-radius:4px 4px 16px 16px;width:26px;height:20px;top:34px}.scholar-portrait{width:58px;height:64px;display:block;position:relative}.scholar-portrait:before{content:"";z-index:1;background:#d7a071;border-radius:50%;width:42px;height:42px;position:absolute;top:5px;left:50%;transform:translate(-50%);box-shadow:0 -8px 0 -2px #2f4151,-15px 2px 0 -9px #2f4151,15px 2px 0 -9px #2f4151}.scholar-portrait:after{content:"";z-index:0;background:linear-gradient(90deg,#7f5132 0 24%,#e5d8a6 25% 74%,#7f5132 75% 100%);border-radius:10px 10px 8px 8px;width:52px;height:28px;position:absolute;bottom:0;left:50%;transform:translate(-50%);box-shadow:0 -5px 0 -1px #4f6a68}.scholar-glasses{z-index:3;border-left:2px solid #1d2b32;border-right:2px solid #1d2b32;width:30px;height:10px;display:block;position:absolute;top:19px;left:50%;transform:translate(-50%)}.scholar-glasses:before,.scholar-glasses:after{content:"";background:#e8f9ff40;border:2px solid #1d2b32;border-radius:50%;width:10px;height:8px;position:absolute;top:0}.scholar-glasses:before{left:0}.scholar-glasses:after{right:0}.sand-shop,.sand-item-shop{left:var(--map-object-x,64%);z-index:5;color:#3a2419;background:linear-gradient(#fff8ccf2,#c77735e0),#d29a55;border:2px solid #efc35db8;border-radius:8px;place-items:center;gap:5px;width:104px;min-height:112px;padding:8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:43%;right:auto;box-shadow:0 12px 24px #00000042}.sand-shop{--map-object-x:64%}.sand-item-shop{--map-object-x:42%;color:#241e15;background:linear-gradient(#eef4e6f2,#766848e6),#968451;border-color:#6f8fa6d1;bottom:40%}.palm-training{left:var(--map-object-x,8%);z-index:5;color:#28190f;background:linear-gradient(#ffe2aaf2,#8e5f37e6),#a77744;border:2px solid #d68947d1;border-radius:8px;place-items:center;gap:5px;width:118px;min-height:110px;padding:8px;font-weight:950;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:39%;box-shadow:0 12px 24px #00000042}.palm-training:before{content:"";background:linear-gradient(90deg,#7f5132 0 8%,#e4c078 9% 91%,#7f5132 92% 100%);border:2px solid #44261573;border-radius:8px 8px 3px 3px;height:28px;position:absolute;top:-12px;left:10px;right:10px}.palm-sign{background:radial-gradient(8px 18px at 14px 11px,#f1bf89 0 98%,#0000 100%),radial-gradient(8px 24px at 27px 4px,#f1bf89 0 98%,#0000 100%),radial-gradient(8px 20px at 40px 10px,#f1bf89 0 98%,#0000 100%),radial-gradient(7px 17px at 50px 23px,#f1bf89 0 98%,#0000 100%),#d99967;border:2px solid #542d1861;border-radius:14px 14px 22px 22px;width:58px;height:62px;display:block;position:relative;box-shadow:inset 0 -8px #703e241f,0 3px #41231447}.beggar-shop{left:var(--map-object-x,78%);z-index:5;width:128px;min-height:150px;box-shadow:none;background:0 0;border:0;border-radius:0;place-items:end center;padding:0;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute;bottom:38%}.beggar-shop>strong{display:none}.beggar-portrait{filter:drop-shadow(0 5px 5px #0000004d);background:url(./beggar-grandmother-BObUhdhH.png) bottom/contain no-repeat;width:96px;height:118px;display:block;position:relative}.beggar-portrait>*{display:none!important}.korean-traveler,.kpop-girl-group,.cv25-store,.manchu-gatekeeper,.manchu-shaman,.manchu-merchant,.taxi-npc,.skilled-person{left:var(--map-object-x,78%);z-index:5;box-shadow:none;background:0 0;border:0;border-radius:0;place-items:end center;padding:0;transition:left .3s cubic-bezier(.22,1,.36,1),transform .16s ease-out;display:grid;position:absolute}.korean-traveler{width:132px;min-height:166px;bottom:30%}.kpop-girl-group{width:172px;min-height:182px;bottom:31%}.cv25-store{width:230px;min-height:160px;bottom:34%}.manchu-gatekeeper{width:144px;min-height:176px;bottom:30%}.manchu-shaman,.manchu-merchant{width:150px;min-height:176px;bottom:30%}.taxi-npc{width:156px;min-height:120px;bottom:32%}.skilled-person{width:150px;min-height:176px;bottom:31%}.korean-traveler>strong,.kpop-girl-group>strong,.cv25-store>strong,.manchu-gatekeeper>strong,.manchu-shaman>strong,.manchu-merchant>strong,.taxi-npc>strong,.skilled-person>strong{color:#fff6d6;text-shadow:0 2px 3px #000000ad;background:#0e1418c2;border-radius:999px;padding:2px 8px}.korean-traveler-portrait,.kpop-girl-group-portrait,.cv25-store-front,.manchu-gatekeeper-portrait,.manchu-shaman-portrait,.manchu-merchant-portrait,.taxi-portrait,.skilled-person-portrait{opacity:1;visibility:visible;mix-blend-mode:normal;filter:drop-shadow(0 7px 7px #00000057);background-position:bottom;background-repeat:no-repeat;background-size:contain;display:block;position:absolute;bottom:14px;left:50%;transform:translate(-50%)}.korean-traveler-portrait{background-image:url(./korean-traveler-CxbOdY2K.png);width:96px;height:132px}.kpop-girl-group-portrait{background-image:url(./kpop-girl-group-BP4b-6bL.png);width:142px;height:142px}.cv25-store-front{background-image:url(./cv25-store-BAD5KEWC.png);width:190px;height:122px}.manchu-gatekeeper-portrait{background-image:url(./manchu-gatekeeper-B4VHZCxm.png);width:104px;height:142px}.manchu-shaman-portrait{background-image:url(./manchu-shaman-D_Ofg7m3.png);width:116px;height:148px}.manchu-merchant-portrait{background-image:url(./manchu-merchant-9GM0lkO_.png);width:126px;height:152px}.taxi-portrait{background-image:url(./taxi-CQHMmbh-.png);width:150px;height:98px;bottom:10px}.skilled-person-portrait{background-image:url(./skilled-person-DxyuLmA_.png);width:104px;height:142px}.beggar-portrait:before{content:none;z-index:1;background:#caa987;border-radius:50%;width:42px;height:42px;position:absolute;top:6px;left:50%;transform:translate(-50%);box-shadow:0 -8px 0 -2px #d8d3c2,-17px 3px 0 -9px #d8d3c2,17px 3px 0 -9px #d8d3c2}.beggar-portrait:after{content:none;z-index:0;background:linear-gradient(90deg,#4d4034 0 32%,#82705c 33% 66%,#4d4034 67% 100%);border-radius:16px 16px 8px 8px;width:52px;height:30px;position:absolute;bottom:0;left:50%;transform:translate(-50%)}.sand-shop.hidden,.sand-item-shop.hidden,.palm-training.hidden,.beggar-shop.hidden,.korean-traveler.hidden,.kpop-girl-group.hidden,.cv25-store.hidden,.manchu-gatekeeper.hidden,.manchu-shaman.hidden,.manchu-merchant.hidden,.taxi-npc.hidden,.skilled-person.hidden,.map-object-offscreen{display:none}.shop-direction{z-index:4;color:#ffe98c;pointer-events:none;filter:drop-shadow(0 8px 10px #00000059);background:#221c17cc;border:2px solid #ffee9ceb;border-radius:999px;place-items:center;width:48px;height:48px;font-size:32px;font-weight:950;line-height:1;animation:.9s ease-in-out infinite shop-arrow-float;display:grid;position:absolute;top:42%}.shop-direction.hidden{display:none}.shop-direction.points-left{left:12px}.shop-direction.points-right{right:12px}.sand-shopkeeper,.sand-merchant{width:54px;height:58px;display:block;position:relative}.sand-shopkeeper:before,.sand-merchant:before{content:"";z-index:1;background:#d9a778;border-radius:50%;width:42px;height:42px;position:absolute;top:2px;left:50%;transform:translate(-50%);box-shadow:0 -7px 0 -2px #5b3125,-16px 0 0 -8px #5b3125,16px 0 0 -8px #5b3125,0 0 0 5px #efc35d8c}.sand-merchant:before{background:#c99062;box-shadow:0 -9px 0 -2px #6b5430,0 -15px 0 -5px #3d3020,-15px 1px 0 -9px #4c3321,15px 1px 0 -9px #4c3321,0 0 0 5px #6f8fa680}.sand-shopkeeper:after,.sand-merchant:after{content:"";z-index:0;background:#9b4f84;border-radius:18px 18px 8px 8px;width:50px;height:24px;position:absolute;bottom:0;left:50%;transform:translate(-50%);box-shadow:-14px -25px 0 -10px #efc35d,14px -25px 0 -10px #efc35d}.sand-merchant:after{background:#4f6a68;box-shadow:-13px -20px 0 -10px #e6d9b2,13px -20px 0 -10px #e6d9b2}.face-dot,.face-mouth{z-index:2;pointer-events:none;display:block;position:absolute}.face-dot{background:#151515;border-radius:50%;width:4px;height:4px;top:20px}.face-dot.left{left:19px}.face-dot.right{right:19px}.face-mouth{background:#a94e5f;border-radius:0 0 999px 999px;width:8px;height:4px;top:30px;left:50%;transform:translate(-50%)}.sand-merchant .face-mouth{background:#5a2f20}.map-hero{left:var(--hero-x,50%);bottom:var(--hero-y,18%);z-index:3;pointer-events:none;aspect-ratio:1;width:min(28vw,128px);transform:translateX(-50%) scaleX(var(--hero-facing,1));filter:drop-shadow(0 12px 10px #00000047);transition:left .26s cubic-bezier(.22,1,.36,1);position:absolute}.map-hero svg{width:100%;height:100%}.map-hero .cloak{fill:#2f6f80}.map-hero .face,.map-hero .fist,.map-hero .fist-arm{fill:#d7c5a3}.map-hero .fist-arm{fill:none;stroke:#d7c5a3;stroke-width:10px;stroke-linecap:round}.map-hero .sword-piece,.map-hero .shield-piece{display:none}.map-hero .shield-body{fill:#60788a}.map-hero .shield-rim{fill:none;stroke:#d9c47a;stroke-width:5px;stroke-linejoin:round}.map-hero .shield-mark{fill:none;stroke:#f2e3a0;stroke-width:4px;stroke-linecap:round}.map-hero .blade{fill:#e2e5df}.map-hero .sword-guard{fill:none;stroke:#6f4c2a;stroke-width:7px;stroke-linecap:round}.map-hero .sword-grip{fill:none;stroke:#4b2e1f;stroke-width:8px;stroke-linecap:round}.map-hero .sword-pommel{fill:#d98947}.map-hero.has-sword .fist,.map-hero.has-sword .fist-arm{display:none}.map-hero.has-sword .sword-piece,.map-hero.has-shield .shield-piece{display:block}.map-hero .eye{fill:#101318}.arena{background:linear-gradient(#12151c2e,#12151c94),linear-gradient(160deg,#34444c 0%,#25313a 36%,#5b4532 37%,#2a2020 100%);border:1px solid #ffffff1a;border-radius:8px;grid-template-columns:1fr 1fr;align-items:end;gap:12px;min-height:260px;padding:14px;display:grid;position:relative;overflow:hidden}.arena:before{content:"";background:linear-gradient(100deg,#0000 0 12%,#ffffff14 13% 16%,#0000 17% 34%,#0000002e 35% 38%,#0000 39%),linear-gradient(#3d2d23,#211b18);border-top:2px solid #ffffff14;height:34%;position:absolute;top:auto;bottom:0;left:-8%;right:-8%;transform:skewY(-2deg)}.combatant{z-index:1;transform-origin:bottom;will-change:transform;justify-items:center;gap:8px;min-width:0;display:grid;position:relative}.enemy{align-self:start;margin-top:12px}.combatant.is-hit .sprite{animation:.52s ease-out hit-shake}.combatant.player.is-attacking{z-index:3;animation:.56s cubic-bezier(.16,.86,.24,1) player-lunge}.combatant.enemy.is-attacking{animation:.36s cubic-bezier(.2,.8,.2,1) enemy-lunge}.damage-float{z-index:8;color:#ffd96a;text-align:center;text-shadow:0 2px #000000d1,0 0 10px #ff614473;pointer-events:none;opacity:0;background:#0d0807d1;border-radius:999px;min-width:44px;padding:3px 9px;font-size:28px;font-weight:950;line-height:1;position:absolute;top:22%;left:50%;transform:translate(-50%,8px)scale(.82)}.damage-float.show{animation:.82s cubic-bezier(.16,.86,.24,1) forwards damage-float-rise}.damage-float.no-damage{color:#fff6d6c7;text-shadow:0 2px #000000c7}.sprite{aspect-ratio:1;box-sizing:border-box;filter:drop-shadow(0 14px 14px #0000005c);width:min(38vw,176px);position:relative;overflow:visible}.sprite svg{width:100%;height:100%;display:block}.enemy-image{object-fit:contain;object-position:center center;width:100%;height:100%;display:none}.enemy.has-enemy-image .enemy-sprite{background:0 0;padding:4px 4px 12px}.enemy.has-enemy-image.enemy-image-ready .enemy-image,.enemy.has-enemy-image:not(.enemy-image-failed) .enemy-image{display:block}.enemy.has-enemy-image .enemy-sprite svg,.enemy.has-enemy-image.enemy-image-failed .enemy-image{display:none}.enemy.has-enemy-image.enemy-image-failed .enemy-sprite svg{display:block}.player-sprite .cloak{fill:#2f6f80}.player-sprite .face{fill:#d7c5a3}.player-sprite .fist,.player-sprite .fist-arm{fill:#d7c5a3;transform-box:fill-box;transform-origin:30%}.player-sprite .fist-arm{fill:none;stroke:#d7c5a3;stroke-width:10px;stroke-linecap:round}.player-sprite .sword-piece{transform-box:fill-box;transform-origin:18% 82%;display:none}.player-sprite .shield-piece{display:none}.player-sprite .shield-body{fill:#60788a}.player-sprite .shield-rim{fill:none;stroke:#d9c47a;stroke-width:5px;stroke-linejoin:round}.player-sprite .shield-mark{fill:none;stroke:#f2e3a0;stroke-width:4px;stroke-linecap:round}.player-sprite .blade{fill:#e2e5df}.player-sprite .sword-guard{fill:none;stroke:#6f4c2a;stroke-width:7px;stroke-linecap:round}.player-sprite .sword-grip{fill:none;stroke:#4b2e1f;stroke-width:8px;stroke-linecap:round}.player-sprite .sword-pommel{fill:#d98947}.combatant.player.has-sword .player-sprite .fist,.combatant.player.has-sword .player-sprite .fist-arm{display:none}.combatant.player.has-sword .player-sprite .sword-piece,.combatant.player.has-shield .player-sprite .shield-piece{display:block}.combatant.player.is-attacking:not(.has-sword) .player-sprite .fist,.combatant.player.is-attacking:not(.has-sword) .player-sprite .fist-arm{animation:.36s cubic-bezier(.16,.86,.24,1) fist-smash}.combatant.player.is-attacking.has-sword .player-sprite .sword-piece{animation:.56s cubic-bezier(.16,.86,.24,1) blade-smash}.player-sprite .eye{fill:#101318}.enemy-sprite .body{fill:#a64c47}.enemy-sprite .horn{fill:#dbc784}.enemy-sprite .enemy-eye{fill:#f1cc52}.enemy-sprite .mouth{fill:none;stroke:#241516;stroke-linecap:round;stroke-width:6px}.intent{background:var(--black);min-width:128px;max-width:168px;min-height:30px;color:var(--gold);text-align:center;border:1px solid #ffffff2e;border-radius:8px;padding:6px 10px;font-size:12px;font-weight:800;line-height:1.15}.nameplate{border:1px solid var(--line);background:#090b10b8;border-radius:8px;grid-template-rows:auto 8px auto;gap:8px;width:100%;min-height:64px;padding:8px;display:grid}.name-row{justify-content:space-between;align-items:center;gap:8px;display:flex}.name-row strong,.name-row span,.hp-readout{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.name-row strong{font-size:14px}.name-row span,.hp-readout{color:var(--muted);font-size:13px}#playerBlock{color:#d8ecff;text-align:center;transform-origin:50%;background:linear-gradient(#6fa8dc52,#6fa8dc1f),#080c12e0;border:1px solid #6fa8dcb8;border-radius:8px;min-width:86px;padding:6px 10px;font-size:18px;font-weight:950;line-height:1;transition:min-width .18s ease-out,padding .18s ease-out,color .18s ease-out,background .18s ease-out,border-color .18s ease-out,font-size .18s ease-out,opacity .18s ease-out;box-shadow:inset 0 0 0 1px #ffffff14,0 8px 18px #00000038}#playerBlock.is-empty{min-width:54px;color:var(--muted);opacity:.72;box-shadow:none;background:#ffffff0a;border-color:#ffffff24;padding:4px 6px;font-size:11px;font-weight:800}#playerBlock.is-charged{color:#f2fbff;text-shadow:0 1px 10px #6fa8dc8c;border-color:#6fa8dcf5;min-width:104px;padding:8px 12px;font-size:22px;box-shadow:inset 0 0 0 1px #ffffff1f,0 0 0 3px #6fa8dc24,0 12px 24px #0000004d}#playerBlock.is-growing{animation:.52s cubic-bezier(.16,.86,.24,1) block-grow-pop}.health-meter{background:#0000006b;border-radius:999px;width:100%;height:8px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff1f,0 1px #ffffff14}.health-meter span{border-radius:inherit;transform-origin:0;width:100%;height:100%;transform:scaleX(var(--hp-ratio,1));transition:transform .26s ease-out;display:block}.player-meter span{background:linear-gradient(90deg,#43b765,#a5d866)}.enemy-meter span{background:linear-gradient(90deg,#e45f55,#ef9f5d)}.hp-readout{justify-self:end;line-height:1}.mid-panel{grid-template-columns:auto 1fr;align-items:stretch;gap:8px;min-height:49px;padding:8px;display:grid}.mid-panel.map-mode{grid-template-columns:1fr}.mid-panel.map-mode .focus-panel{display:none}.focus-panel{border:1px solid var(--line);background:linear-gradient(#efc35d29,#ffffff0d),#ffffff12;border-radius:7px;place-items:center;width:112px;padding:7px 9px;display:grid}.focus-panel span,.focus-panel strong{display:block}.focus-panel span{color:var(--gold);font-size:11px;font-weight:850}.focus-panel strong{color:var(--ink);margin-top:1px;font-size:22px;line-height:1}.log{min-width:0;color:var(--muted);align-items:center;padding:7px 8px;font-size:12px;line-height:1.25;display:flex;overflow:hidden}.hand-wrap{min-height:235px;overflow:hidden}.hand{--battle-card-head-height:20px;--battle-card-text-height:24px;grid-template-rows:repeat(2,112px);grid-template-columns:repeat(5,minmax(0,1fr));gap:6px;min-height:235px;display:grid}.card{box-sizing:border-box;background:linear-gradient(160deg, #ffffff6b, transparent 34%), var(--card);width:112px;min-width:112px;min-height:148px;color:var(--card-ink);text-align:left;touch-action:manipulation;border:2px solid #20181147;border-radius:8px;grid-template-rows:auto 1fr auto;gap:7px;padding:8px;display:grid;overflow:hidden;box-shadow:0 12px 18px #00000040}.card.shop-card-action-item{cursor:default}.card:active{transform:translateY(2px)}.card.shop-card-action-item:active{transform:none}.hand>.card,.hand-slot{width:100%;min-width:0;height:112px;min-height:112px;max-height:112px}.hand>.card{grid-template-rows:var(--battle-card-head-height) minmax(0, 1fr) var(--battle-card-text-height);gap:4px;padding:6px}.hand .card-head{min-height:var(--battle-card-head-height);gap:4px;overflow:hidden}.hand .card h3{-webkit-line-clamp:2;-webkit-box-orient:vertical;font-size:11px;line-height:1.05;display:-webkit-box;overflow:hidden}.hand .cost{width:22px;height:22px;font-size:13px}.hand .card-art{min-height:29px}.hand .card p{-webkit-line-clamp:2;-webkit-box-orient:vertical;height:24px;min-height:24px;max-height:24px;margin:0;font-size:10px;line-height:1.12;display:-webkit-box;overflow:hidden}.hand-slot.empty{background:linear-gradient(160deg,#ffffff0d,#0000 36%),#ffffff09;border:2px dashed #ffffff1f;border-radius:8px;box-shadow:inset 0 0 0 1px #0000002e}.card.disabled{opacity:.52}.card.can-buy{border-color:#52a048bd;box-shadow:inset 0 0 0 2px #76bf692e,0 12px 18px #00000040}.card.cant-buy{opacity:.58;filter:grayscale(.36)}.card.owned{opacity:.66}.card-head{justify-content:space-between;align-items:start;gap:6px;min-width:0;display:flex}.card h3{overflow-wrap:anywhere;min-width:0;margin:0;font-size:14px;line-height:1.05}.cost{width:26px;height:26px;color:var(--gold);background:#263243;border-radius:50%;flex:none;place-items:center;font-size:15px;font-weight:900;display:grid}.card-art{background:linear-gradient(135deg, #ffffff40, transparent), var(--accent);border:1px solid #00000029;border-radius:7px;min-height:44px;position:relative;overflow:hidden}.card-art:before,.card-art:after{content:"";background:#ffffff5c;position:absolute}.card-art:before{width:42px;height:8px;top:22px;left:20px;transform:rotate(-28deg)}.card-art:after{border-radius:50%;width:22px;height:22px;top:12px;right:14px}.shop-icon-card{background:linear-gradient(160deg,#ffffff57,#0000 36%),#f0e1c6}.bag-equipment-card{background:linear-gradient(160deg,#ffffff6b,#0000 36%),#e7dfd2;border-color:#4a4f5880;position:relative}.bag-equipment-card.equipment-equipped{background:linear-gradient(160deg,#ffffff80,#0000 36%),#d9ecd9;border-color:#2e8b57;box-shadow:inset 0 0 0 2px #2e8b5738,0 12px 18px #00000040}.bag-equipment-card.equipment-unequipped{border-style:dashed}.equipment-state-badge{border-radius:5px;justify-content:center;align-items:center;gap:5px;width:100%;min-height:24px;padding:4px 7px;font-size:11px;font-weight:900;line-height:1;display:flex}.equipment-state-badge.is-equipped{color:#f3fff6;background:#286b48}.equipment-state-badge.is-unequipped{color:#454a52;background:#4449521f;border:1px solid #353b4447}.shop-icon{background:radial-gradient(circle at 50% 38%, #ffffff9e, transparent 38%), linear-gradient(150deg, #ffffff38, transparent 42%), var(--accent);text-align:center;text-shadow:0 2px #00000029;border:1px solid #00000029;border-radius:8px;place-items:center;min-height:54px;font-size:34px;line-height:1;display:grid}.shop-sword .shop-icon{font-size:40px}.shop-bribe .shop-icon{font-size:38px}.shop-shield .shop-icon,.shop-club .shop-icon{font-size:40px}.shop-palm-training .shop-icon{font-size:42px}.enemy.palm-training-enemy .enemy-sprite svg{opacity:0}.enemy.palm-training-enemy .enemy-sprite:before{content:"✋";color:#d99967;text-shadow:0 4px #562f1c47,0 12px 18px #0000003d;place-items:center;font-size:min(28vw,116px);line-height:1;display:grid;position:absolute;top:0;bottom:0;left:0;right:0}.card p{color:#201811c2;min-height:35px;font-size:12px;line-height:1.2}.card-short-text{display:none}.price-tag{width:100%;max-width:100%;color:var(--gold);white-space:nowrap;text-align:center;text-overflow:ellipsis;background:#263243;border-radius:999px;flex:none;justify-self:stretch;padding:3px 5px;font-size:11px;font-weight:900;line-height:1;display:block;overflow:hidden}.can-buy .price-tag{color:#bff2a4;background:#24452d}.cant-buy .price-tag{color:#ffb8b3;background:#4b2a2f}.owned .price-tag{color:#d0d5df;background:#3b4250}.scholar-question-card{background:linear-gradient(160deg,#ffffff80,#0000 34%),#eef3df;border-color:#6f8fa6b8;min-height:166px}.scholar-question-card h3{font-size:13px;line-height:1.12}.scholar-question-icon{color:#efc35d;background:#2f4151;border-radius:50%;place-self:center;place-items:center;width:42px;height:42px;font-size:28px;font-weight:950;display:grid;box-shadow:inset 0 -4px #00000038}.scholar-question-card p{-webkit-line-clamp:3;-webkit-box-orient:vertical;min-height:44px;display:-webkit-box;overflow:hidden}.scholar-answer{text-align:left;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:12px;display:grid}.scholar-answer-mark{color:#efc35d;background:#2f4151;border-radius:50%;place-items:center;width:42px;height:42px;font-size:28px;font-weight:950;display:grid;box-shadow:inset 0 -4px #00000038}.scholar-answer p{margin:0}.world-map-view{aspect-ratio:16/9;background:linear-gradient(#0f13190a 0 58%,#0f131973 100%),url(./world-map-D5hlOCFE.jpg) 50%/cover no-repeat;border:1px solid #fff6d647;border-radius:8px;align-content:end;min-height:min(56vw,360px);padding:12px;display:grid;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #00000047,0 14px 24px #00000047}.world-map-route{z-index:1;pointer-events:none;position:absolute;top:0;bottom:0;left:0;right:0}.world-map-region{color:#fff6d6;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#12181cb8;border:1px solid #fff6d680;border-radius:999px;justify-content:center;align-items:center;min-height:0;padding:6px 9px;display:inline-flex;position:absolute;transform:translate(-50%,-50%);box-shadow:0 5px 10px #00000052}.world-map-region.forest{top:58%;left:25%}.world-map-region.sandVillage{top:56%;left:51%}.world-map-region.korea{top:51%;left:77%}.world-map-region.manchuria{top:25%;left:83%}.world-map-region.is-current{border-color:var(--gold);background:#263243e6;box-shadow:0 0 0 3px #efc35d38,0 8px 14px #00000057}.world-map-landmark{display:none}.world-map-region strong{z-index:1;font-size:14px;position:relative}.world-map-pin{z-index:2;color:var(--gold);white-space:nowrap;background:#16212a;border-radius:999px;padding:4px 7px;font-size:10px;font-weight:900;position:absolute;bottom:calc(100% + 5px);left:50%;transform:translate(-50%)}.world-map-road,.world-map-road i{display:none}.world-map-current{z-index:2;color:#fff6d6;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#0e1418c2;border-radius:7px;justify-content:space-between;gap:10px;margin:0;padding:10px 12px;display:flex;position:relative}@media (max-width:430px){.map-status-bar{top:7px;left:7px;right:7px}.map-area-label,.map-open-button{min-height:28px;padding:4px 8px;font-size:11px}.world-map-view{min-height:230px;padding:8px}.world-map-region{padding:5px 7px}.world-map-region strong{font-size:11px}.world-map-pin{padding:3px 5px;font-size:8px}}.shop-sell-card{border-style:dashed;border-color:#76bf69b8}.shop-sell-card.cant-sell{opacity:.5;filter:grayscale(.45);border-color:#5c6270bd}.sell-tag{color:#bff2a4;white-space:nowrap;background:#24452d;border-radius:999px;justify-self:end;padding:3px 7px;font-size:12px;font-weight:900;line-height:1;display:block}.cant-sell .sell-tag{color:#d0d5df;background:#3b4250}.deck-state-tag{color:var(--gold);white-space:nowrap;background:#263243eb;border-radius:999px;justify-self:end;padding:3px 7px;font-size:12px;font-weight:900;line-height:1;display:block}.card.in-reserve{opacity:.62;filter:grayscale(.35)}.action-bar{grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;min-height:80px;padding:8px;display:grid}.action-bar.map-mode{grid-template-rows:repeat(3,minmax(52px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:0;align-content:stretch;min-height:226px}.action-bar.map-mode #homeBtn{grid-area:1/1}.action-bar.map-mode #deckConfigBtn{grid-area:1/2}.action-bar.map-mode #bagBtn{grid-area:1/3}.action-bar.map-mode #questBtn{grid-area:2/1}.action-bar.map-mode #saveBtn{grid-area:2/3}.action-bar.map-mode #potionBtn{grid-area:3/1}.action-bar.map-mode #desertPotionBtn{grid-area:3/3}.action-bar.battle-mode{grid-template-rows:1fr;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:column}.action-bar.battle-mode .primary,.action-bar.battle-mode .secondary{height:100%;min-height:0}.action-bar.map-mode #endTurnBtn,.action-bar.map-mode #fleeBtn,.action-bar.battle-mode #deckConfigBtn,.action-bar.battle-mode #bagBtn,.action-bar.battle-mode #questBtn{display:none}.move-pad{z-index:6;opacity:.78;pointer-events:auto;grid-template-columns:repeat(2,42px);place-content:center;gap:10px;width:94px;height:46px;display:grid;position:absolute;bottom:14px;right:18px}.move-pad.hidden{display:none}.move-pad-btn{color:#fff6d6eb;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#080c126b;border:1px solid #ffffff52;border-radius:999px;place-items:center;width:42px;height:42px;font-size:20px;font-weight:950;line-height:1;display:grid;box-shadow:inset 0 0 0 1px #ffffff14,0 8px 18px #0000003d}.move-pad-btn:active{color:#211713;background:#efc35d9e;transform:scale(.94)}.move-pad-btn.left{grid-column:1}.move-pad-btn.right{grid-column:2}.primary,.secondary{border-radius:8px;min-height:42px;font-weight:850}.primary{color:#211713;background:linear-gradient(#efc35d,#c97735)}.secondary{border:1px solid var(--line);color:var(--ink);background:#ffffff12}.potion-action{grid-template-columns:1fr;place-items:center;gap:6px;padding-inline-start:8px;padding-inline-end:8px;display:grid;position:relative}.potion-action-icon{background:var(--potion-image,url(./item-potion-COt02W9I.png)) center / contain no-repeat;filter:drop-shadow(0 3px 5px #00000047);width:34px;height:34px;display:block}.potion-action.empty-potion-slot{opacity:.72}.potion-action-empty-icon{background:#ffffff0f;border:2px dashed #ffffff59;border-radius:8px;place-items:center;width:34px;height:34px;display:grid}.potion-action-empty-icon:before{content:"+";color:#fff4c8bf;font-size:20px;font-weight:950;line-height:1}.potion-desert{--potion-image:url(./item-desertPotion-CEYjeUcg.png);--shop-image:url(./item-desertPotion-CEYjeUcg.png)}.potion-korea{--potion-image:url(./item-koreaPotion-CrODRB64.png);--shop-image:url(./item-koreaPotion-CrODRB64.png)}.potion-action-size{color:#211713;background:#efc35deb;border-radius:999px;place-items:center;min-width:34px;height:16px;padding:0 4px;font-size:10px;font-weight:950;line-height:1;display:grid;position:absolute;bottom:8px;right:8px}.potion-action-count{color:#fff4c8;background:#8a2f35;border:1px solid #fff2c0d1;border-radius:999px;place-items:center;min-width:18px;height:18px;padding:0 4px;font-size:11px;font-weight:950;line-height:1;display:grid;position:absolute;top:6px;left:42px}.potion-action-label{text-overflow:ellipsis;white-space:nowrap;min-width:0;padding-right:0;overflow:hidden}.action-bar.battle-mode .potion-action{grid-template-columns:1fr;place-items:center;min-height:48px;padding:4px}.action-bar.battle-mode .potion-action-icon,.action-bar.battle-mode .potion-action-empty-icon{width:42px;height:42px}.action-bar.battle-mode .potion-action-count{top:3px;left:calc(50% + 8px)}.action-bar.battle-mode .potion-action-label{clip:rect(0 0 0 0);width:1px;height:1px;padding-right:0;position:absolute;overflow:hidden}.action-bar.map-mode .potion-action{grid-template-columns:1fr;justify-content:center;place-items:center;gap:12px;padding:8px 14px;overflow:visible}.action-bar.map-mode .potion-action-icon,.action-bar.map-mode .potion-action-empty-icon{width:58px;height:58px}.action-bar.map-mode .potion-action-count{min-width:24px;height:24px;font-size:14px;top:8px;left:calc(50% + 12px)}.action-bar.map-mode .potion-action-size{min-width:42px;height:22px;font-size:13px;bottom:8px;right:12px}.action-bar.map-mode .potion-action-label{clip:auto;text-overflow:ellipsis;white-space:nowrap;width:auto;min-width:0;height:auto;padding-right:34px;font-size:15px;line-height:1.05;position:static;overflow:hidden}.wide{width:100%}.overlay{z-index:10;padding:max(18px, env(safe-area-inset-top)) 14px max(18px, env(safe-area-inset-bottom));-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#04060ab8;place-items:center;display:grid;position:fixed;top:0;bottom:0;left:0;right:0}.overlay.hidden{display:none}.overlay.is-encounter{padding-top:max(72px, calc(env(safe-area-inset-top) + 8vh));background:linear-gradient(#04060ab8,#04060adb),#04060ab8;place-items:start center}.overlay.is-encounter .reward-panel{background:linear-gradient(#30221cfa,#151822fa),#202532;border-color:#efc35d8c;gap:10px;width:min(92vw,340px);max-height:58svh;padding:16px;position:relative;overflow:hidden;box-shadow:0 18px 44px #00000075,inset 0 0 0 1px #ffffff0f}.overlay.is-encounter .reward-panel:before{content:"";background:linear-gradient(90deg,#efc35d,#d7603c,#efc35d);height:4px;position:absolute;top:0;bottom:auto;left:0;right:0}.overlay.is-encounter .overline{color:#ffd96a;background:#efc35d21;border:1px solid #efc35d47;border-radius:999px;width:-moz-fit-content;width:fit-content;padding:4px 8px;font-size:11px}.overlay.is-encounter h2{color:#fff4c8;text-shadow:0 2px #0000006b;font-size:20px;line-height:1.16}.overlay.is-encounter .overlay-body{color:#e4d6bd;background:#00000038;border:1px solid #ffffff14;border-radius:8px;margin:0;padding:10px 12px;font-size:14px;font-weight:760;line-height:1.34}.overlay.is-encounter .encounter-actions{order:4;width:100%}.overlay.is-encounter #skipRewardBtn{color:#231611;background:linear-gradient(#f6cf64,#d9852f);border-color:#ffffff2e;order:3;min-height:44px;font-size:15px;font-weight:950}.overlay.is-encounter .encounter-actions button{color:#e4d6bd;background:#ffffff14;border-color:#ffffff24;min-height:40px;font-weight:900}.reward-panel{border:1px solid var(--line);background:#202532;border-radius:8px;gap:12px;width:min(100%,460px);max-height:92svh;padding:14px;display:grid;overflow-y:auto}.reward-panel.story-mode{background:linear-gradient(#19242df2,#070b12fa),#0b1118;border-color:#b4e87094;gap:14px;width:min(100%,540px);padding:18px;box-shadow:inset 0 0 0 2px #0009,0 18px 42px #0000006b}.overline{color:var(--gold);text-transform:uppercase;letter-spacing:0;font-size:12px;font-weight:850}.overlay-language{grid-template-columns:1fr 1fr;gap:8px;display:grid}.overlay-language.hidden{display:none}.overlay-language button{border:1px solid var(--line);min-height:42px;color:var(--ink);background:#ffffff12;border-radius:8px;font-weight:850}.overlay-language button.active{background:var(--gold);color:#211713;border-color:#ffffff2e}.start-actions{grid-template-columns:1fr;gap:8px;display:grid}.encounter-actions{gap:8px;display:grid}.start-actions.hidden,.encounter-actions.hidden,#skipRewardBtn.hidden{display:none}.start-actions button:disabled{cursor:not-allowed;opacity:.45}.save-menu{gap:10px;display:grid}.save-menu.hidden,.reward-grid.hidden{display:none}.manual-save-form,.save-load-panel{gap:10px;display:grid}.save-list-title{color:var(--ink);margin:0;font-size:17px;font-weight:900;line-height:1.2}.save-debug-panel{color:var(--muted);background:#efc35d14;border:1px solid #efc35d47;border-radius:8px;gap:4px;padding:10px;font-size:12px;line-height:1.3;display:grid}.save-debug-panel strong{color:var(--gold);font-size:13px}.save-debug-panel p{justify-content:space-between;gap:10px;margin:0;display:flex}.save-debug-panel b{color:var(--ink);text-align:right}.save-name-label{color:var(--gold);font-size:13px;font-weight:900;line-height:1.2}.account-actions,.account-form{gap:10px;display:grid}.manual-save-form input,.confirm-actions input,.account-form input{border:1px solid var(--line);width:100%;min-height:42px;color:var(--ink);font:inherit;background:#00000047;border-radius:8px;padding:0 12px;font-weight:760}.account-message{min-height:44px;color:var(--muted);background:#efc35d1a;border:1px solid #efc35d52;border-radius:8px;align-items:center;padding:10px 12px;font-size:17px;font-weight:900;line-height:1.35;display:grid}.account-message.error{color:#ffb4ad;background:#ffb4ad1a;border-color:#ffb4ad61}.save-slot-list{touch-action:pan-y;-webkit-overflow-scrolling:touch;gap:8px;display:grid}.save-selection-toolbar{grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:8px;display:grid}.save-selection-toolbar button{white-space:nowrap;border-radius:8px;min-height:36px;padding:6px 10px;font-size:12px;font-weight:900}.save-selection-toolbar button:disabled{cursor:not-allowed;opacity:.48}.save-selection-count{min-width:0;color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:12px;font-weight:850;overflow:hidden}.save-slot{touch-action:pan-y;grid-template-columns:auto minmax(0,1fr) auto;align-items:stretch;gap:8px;display:grid}.save-slot.is-selected .save-slot-main{background:#efc35d24;border-color:#efc35db8}.save-select{border:1px solid var(--line);background:#ffffff12;border-radius:8px;place-items:center;width:42px;min-height:100%;display:grid}.save-select input{width:20px;height:20px;accent-color:var(--gold);margin:0}.save-slot-main{border:1px solid var(--line);text-align:left;touch-action:pan-y;background:#ffffff12;border-radius:8px;gap:4px;min-width:0;padding:10px;display:grid}.save-slot-main:disabled{cursor:default}.save-slot-main strong,.save-slot-main span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.save-slot-main span{color:var(--muted);font-size:12px}.auto-slot .save-slot-main strong:before{content:"AUTO ";color:var(--gold);font-size:11px}.save-delete{min-width:64px;padding-inline-start:10px;padding-inline-end:10px}.confirm-actions{grid-template-columns:1fr 1fr;gap:8px;display:grid}.home-confirm-actions{grid-template-columns:1fr}.danger{color:#fff8f3;background:linear-gradient(#f06f68,#ad3538)}.empty-save-list{color:var(--muted);background:#ffffff0f;border-radius:8px;padding:12px}.reward-panel h2{font-size:22px}.reward-panel.story-mode .overline,.reward-panel.story-mode h2,.reward-panel.story-mode .overlay-body{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace}.reward-panel.story-mode .overline{color:#bdf06f}.reward-panel.story-mode h2{color:#f5ffd7;text-shadow:0 0 8px #bdf06f52;font-size:20px;line-height:1.25}.overlay-body{color:var(--muted);font-size:14px;line-height:1.42}.guard-warning{grid-template-columns:118px minmax(0,1fr);align-items:center;gap:14px;display:grid}.guard-warning p{color:#e4d6bd;margin:0;font-size:15px;font-weight:800;line-height:1.35}.guard-portrait{background:url(./sand-guard-DMGbqtnx.png) bottom/contain no-repeat;width:118px;height:156px;margin:0 auto;position:relative}.guard-head,.guard-body,.guard-shield,.guard-spear{position:absolute}.guard-portrait>*{display:none}.guard-spear{background:#d9d2bf;border-radius:999px;width:5px;height:104px;top:3px;right:10px;transform:rotate(8deg)}.guard-spear:before{content:"";clip-path:polygon(50% 0,100% 64%,50% 100%,0 64%);background:#e8e6dc;width:18px;height:22px;position:absolute;top:-10px;left:50%;transform:translate(-50%)}.guard-head{background:radial-gradient(circle at 35% 48%,#14171c 0 2px,#0000 2.5px),radial-gradient(circle at 63% 48%,#14171c 0 2px,#0000 2.5px),#d9b589;border-radius:50% 50% 45% 45%;width:34px;height:34px;top:12px;left:30px;box-shadow:0 -8px 0 4px #4f5968}.guard-body{background:linear-gradient(90deg,#0000 45%,#ffffff3d 46% 53%,#0000 54%),#566070;border-radius:22px 22px 10px 10px;width:50px;height:66px;bottom:11px;left:22px;box-shadow:inset 0 -14px #0000002e}.guard-shield{background:linear-gradient(90deg,#0000 47%,#ffffff38 48% 54%,#0000 55%),#8a4a4a;border:2px solid #e0bd69;border-radius:18px 18px 16px 16px;width:36px;height:48px;bottom:16px;left:2px;box-shadow:0 6px 10px #0000003d}.shop-status,.difficulty-options{gap:10px;display:grid}.difficulty-option{width:100%;min-height:58px;color:var(--text);text-align:center;background:#1f2535eb;border:1px solid #efc35d5c;border-radius:8px;align-content:center;place-items:center;padding:14px;display:grid}.difficulty-option:hover{border-color:#efc35dc2;transform:translateY(-1px)}.difficulty-option strong{font-size:18px}.elder-quest{justify-items:center;gap:12px;display:grid}.elder-quest p{color:var(--muted);text-align:center;margin:0;font-size:15px;line-height:1.45}.elder-quest-list{gap:8px;width:100%;display:grid}.elder-quest-section{gap:6px;width:100%;display:grid}.elder-quest-section h3{color:var(--gold);letter-spacing:0;text-transform:uppercase;margin:0;font-size:12px;font-weight:950}.elder-quest-list span{border:1px solid var(--line);background:#ffffff12;border-radius:8px;justify-content:space-between;align-items:center;gap:10px;min-height:42px;padding:0 12px;font-weight:850;display:flex}.elder-quest-list strong{color:var(--gold)}.elder-quest-requirements .elder-quest-list span{background:#6fa8dc1a;border-color:#6fa8dc61}.elder-quest-reward .elder-quest-list span{background:linear-gradient(#efc35d2e,#c9773514),#ffffff12;border-color:#efc35d8c;min-height:48px}.elder-quest-list em{color:#fff1aa;font-style:normal}.shopkeeper-card{color:#fff5ca;text-align:left;background:linear-gradient(135deg,#ffffff1f,#0000 48%),#392a23eb;border:1px solid #efc35d57;border-radius:8px;grid-template-columns:68px minmax(0,1fr);align-items:center;gap:12px;min-height:92px;padding:12px;display:grid;box-shadow:0 12px 28px #0003}.shopkeeper-card:hover{border-color:#efc35dad;transform:translateY(-1px)}.kpop-shopkeeper-card,.sand-merchant-shopkeeper-card,.manchu-merchant-shopkeeper-card{grid-template-columns:82px minmax(0,1fr)}.kpop-girl-group-shop-portrait,.sand-merchant-shop-portrait,.skilled-person-shop-portrait,.manchu-shaman-shop-portrait,.manchu-merchant-shop-portrait{border-radius:8px;width:74px;height:74px;display:block;box-shadow:inset 0 0 0 1px #ffffff29}.kpop-girl-group-shop-portrait{background:url(./kpop-girl-group-BP4b-6bL.png) 50%/cover no-repeat}.sand-merchant-shop-portrait{background:url(./sand-merchant-BYTgREro.png) bottom/contain no-repeat}.skilled-person-shop-portrait{background:url(./skilled-person-DxyuLmA_.png) 50%/cover no-repeat}.manchu-shaman-shop-portrait{background:url(./manchu-shaman-D_Ofg7m3.png) 50%/cover no-repeat}.manchu-merchant-shop-portrait{background:url(./manchu-merchant-9GM0lkO_.png) bottom/contain no-repeat}@media (max-width:430px){.game-shell:has(#mapScreen:not(.hidden)){width:100%;min-width:0;max-width:520px;max-height:none;overflow:hidden}.top-bar,.map-screen,.action-bar{width:100%;min-width:0;max-width:100%}.top-bar{grid-template-columns:minmax(62px,76px) minmax(0,1fr);gap:5px;padding:6px;display:grid}.brand{max-width:76px;overflow:hidden}.brand p{font-size:10px;line-height:1.1}.top-actions,.top-settings,.stat-row,.stat{min-width:0}.top-actions{gap:3px;width:100%}.top-settings{gap:3px}.sound-toggle{width:28px;height:28px}.language-toggle{grid-template-columns:repeat(2,minmax(0,30px));width:64px}.stat-row{grid-template-columns:minmax(58px,1.35fr) minmax(48px,1fr) minmax(40px,.78fr);gap:4px;width:100%}.stat{padding:4px 3px}.stat span,.stat strong{text-overflow:ellipsis;max-width:100%;overflow:hidden}.stat span{white-space:nowrap;font-size:9px}.stat strong{font-size:11px}.stat.hp strong{font-size:10.5px}.map-status-bar{min-width:0}.map-area-label{min-width:0;max-width:calc(100% - 64px);padding-inline-start:8px;padding-inline-end:8px}.map-open-button{white-space:nowrap;min-width:52px;max-width:60px;padding-inline-start:8px;padding-inline-end:8px;overflow:hidden}.action-bar,.action-bar.map-mode{width:100%;min-width:0;max-width:100%;margin-left:0;margin-right:0}.action-bar>*,.action-bar .primary,.action-bar .secondary,.action-bar .potion-action{min-width:0;max-width:100%;overflow:hidden}.action-bar.map-mode .secondary{font-size:clamp(12px,3.9vw,15px)}.action-bar.map-mode .potion-action{grid-template-columns:1fr;padding:6px 8px}.action-bar.map-mode .potion-action-label{min-width:0;max-width:100%;padding-right:0}.action-bar.map-mode .potion-action-size{max-width:54px;font-size:12px;right:6px}}@media (max-width:380px){.top-bar{grid-template-columns:minmax(56px,66px) minmax(0,1fr)}.brand{max-width:66px}.brand p{font-size:9px}.sound-toggle{width:26px;height:26px}.language-toggle{grid-template-columns:repeat(2,minmax(0,27px));width:58px}.stat-row{grid-template-columns:minmax(54px,1.3fr) minmax(44px,1fr) minmax(36px,.72fr);gap:3px}.stat strong{font-size:10px}.stat.hp strong{font-size:9.5px}}.manchu-talisman-icon{filter:drop-shadow(0 4px 5px #0000003d);background:url(./item-manchuTalisman-Dtqctujg.png) 50%/contain no-repeat;width:58px;height:58px;display:block}.shop-manchu-talisman .shop-icon{background:radial-gradient(circle at 50% 42%, #fff8b594, transparent 44%), linear-gradient(150deg, #ffffff38, transparent 42%), var(--accent)}.shopkeeper-portrait{width:62px;height:68px;display:block;position:relative}.shopkeeper-hair,.shopkeeper-face,.shopkeeper-body{position:absolute;left:50%;transform:translate(-50%)}.shopkeeper-hair{background:#4a2e25;border-radius:50% 50% 42% 42%;width:52px;height:44px;top:3px}.shopkeeper-face{background:radial-gradient(circle at 35% 45%,#171717 0 2px,#0000 2.5px),radial-gradient(circle at 65% 45%,#171717 0 2px,#0000 2.5px),radial-gradient(circle at 50% 68%,#aa5244b3 0 3px,#0000 3.5px),#e5c19a;border-radius:48% 48% 44% 44%;width:42px;height:36px;top:14px;box-shadow:inset 0 -4px #a15e422e}.shopkeeper-body{background:#7b4b62;border-radius:22px 22px 10px 10px;width:58px;height:28px;bottom:0}.shopkeeper-talk{gap:5px;min-width:0;display:grid}.shopkeeper-talk strong{color:var(--gold);font-size:14px;font-weight:950}.shopkeeper-talk span{color:#f6dfb1;font-size:15px;font-weight:850;line-height:1.25}.shop-mode-tabs{border:1px solid var(--line);background:#00000042;border-radius:8px;grid-template-columns:1fr 1fr;gap:3px;padding:3px;display:grid}.shop-mode-tabs button{min-height:34px;color:var(--muted);background:0 0;border-radius:6px;font-weight:900}.shop-mode-tabs button.active{background:var(--gold);color:#211713}.shop-gold-status,.shop-hp-status{background:#ffffff12;border:1px solid #efc35d42;border-radius:8px;padding:10px 12px}.shop-hp-status{background:linear-gradient(#43b76533,#a5d86614),#ffffff14;border-color:#a5d8665c;padding:14px 16px}.shop-gold-status{background:radial-gradient(circle at 92% 20%,#fff1aa3d,#0000 34%),linear-gradient(#efc35d4d,#c977351a),#ffffff17;border-width:2px;justify-content:space-between;align-items:center;gap:14px;padding:16px 18px;display:flex;box-shadow:0 0 0 1px #efc35d33,0 12px 28px #00000038}.shop-gold-status span,.shop-hp-row span{color:var(--muted);font-size:12px;font-weight:850}.shop-gold-status span{color:#fff1aa;letter-spacing:0;font-size:17px}.shop-gold-status strong{color:var(--gold);text-align:right;overflow-wrap:anywhere;text-shadow:0 2px #00000059,0 0 18px #efc35d3d;min-width:0;font-size:52px;font-weight:950;line-height:1}.shop-hp-row{justify-content:space-between;align-items:center;margin-bottom:10px;display:flex}.shop-hp-row span{color:#dff7a6;font-size:16px}.shop-hp-row strong{color:#dff7a6;font-size:24px;font-weight:950}.shop-health-meter{background:#0006;border-radius:999px;height:20px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff1f}.shop-health-meter span{border-radius:inherit;transform-origin:0;background:linear-gradient(90deg,#43b765,#a5d866);width:100%;height:100%;display:block}.reward-panel.story-mode .overlay-body{color:#dff7a6;white-space:pre-line;text-shadow:0 0 7px #bdf06f47;min-height:240px;font-size:15px;line-height:1.62}.reward-panel.story-mode .overlay-body.is-typing:after{content:"_";margin-left:2px;animation:.72s steps(2,start) infinite story-cursor;display:inline-block}@keyframes story-cursor{50%{opacity:0}}@keyframes hero-run-frames{to{transform:translate(-87.5%)}}.shop-toast{color:#eaffdf;text-align:center;background:linear-gradient(#76bf6947,#52c4b51f),#080c12eb;border:1px solid #76bf69b8;border-radius:8px;place-items:center;height:46px;min-height:46px;padding:9px 12px;font-size:16px;font-weight:950;line-height:1.15;display:grid;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14,0 12px 24px #00000047}.shop-toast.hidden{display:none}.shop-toast.reserve-space.hidden{visibility:hidden;opacity:0;pointer-events:none;display:grid}.shop-toast.is-showing{animation:1.2s cubic-bezier(.16,.86,.24,1) purchase-pop}.reward-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.reward-grid .card{width:100%;min-width:0}.reward-grid .card p{-webkit-line-clamp:4;-webkit-box-orient:vertical;min-height:48px;margin:0;display:-webkit-box;overflow:hidden}.shop-card-action-item{cursor:default}.shop-card-detail-toggle{color:#fff6d6;width:100%;font:inherit;cursor:pointer;touch-action:manipulation;background:#10161eb8;border:1px solid #fff6d652;border-radius:7px;justify-content:center;align-items:center;padding:7px 8px;font-size:12px;font-weight:800;line-height:1.1;display:inline-flex}.shop-card-detail-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.shop-card-action-button{color:#21150b;width:100%;min-height:34px;font:inherit;cursor:pointer;touch-action:manipulation;background:linear-gradient(#f6cf69,#d69030);border:0;border-radius:7px;justify-content:center;align-items:center;padding:8px 10px;font-size:13px;font-weight:950;line-height:1.1;display:inline-flex;box-shadow:0 6px 12px #00000038}.shop-card-action-button:disabled,.shop-card-action-button.disabled{color:#fff6d694;box-shadow:none;cursor:not-allowed;background:#3b4250}.shop-card-action-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.shop-card-detail-text{color:#fff6d6eb;text-align:left;background:#070b10b8;border-radius:7px;width:100%;padding:8px;font-size:12px;font-weight:700;line-height:1.35;display:block}.shop-card-detail-text.hidden{display:none}.reward-grid .card.shop-card-detail-open p{-webkit-line-clamp:3;min-height:0}.player-sprite{background:url(./hero-base-D8sD-pdB.png) bottom/contain no-repeat}.combatant.player.has-sword .player-sprite{background-image:url(./hero-sword-BoTxXl-i.png)}.combatant.player.has-shield .player-sprite{background-image:url(./hero-shield-_ocLOslS.png)}.combatant.player.has-skilled-shield .player-sprite{background-image:url(./hero-skilledShield-95QSrrEL.png)}.combatant.player.hero-pose-sword-shield .player-sprite{background-image:url(./hero-pose-sword-shield-DmCZgp9R.png)}.combatant.player.hero-pose-shield-sword .player-sprite{background-image:url(./hero-pose-shield-sword-QdqKvLDr.png)}.combatant.player.hero-pose-sword-club .player-sprite{background-image:url(./hero-pose-sword-club-DAmxyCPq.png)}.combatant.player.hero-pose-club-sword .player-sprite{background-image:url(./hero-pose-club-sword-DAjA3vhk.png)}.combatant.player.hero-pose-shield-club .player-sprite{background-image:url(./hero-pose-shield-club-4kTd6XOe.png)}.combatant.player.hero-pose-club-shield .player-sprite{background-image:url(./hero-pose-club-shield-Ch1ldNWz.png)}.combatant.player.hero-pose-skilledShield-shield .player-sprite{background-image:url(./hero-pose-skilledShield-shield-CQ1-wG_A.png)}.combatant.player.hero-pose-shield-skilledShield .player-sprite{background-image:url(./hero-pose-shield-skilledShield-vsyozwLT.png)}.combatant.player.hero-pose-skilledShield-club .player-sprite{background-image:url(./hero-pose-skilledShield-club-wluPHTkr.png)}.combatant.player.hero-pose-club-skilledShield .player-sprite{background-image:url(./hero-pose-club-skilledShield-BO-s3k2Q.png)}.combatant.player.hero-pose-skilledShield-sword .player-sprite{background-image:url(./hero-pose-skilledShield-sword-DyYS0Ux4.png)}.combatant.player.hero-pose-sword-skilledShield .player-sprite{background-image:url(./hero-pose-sword-skilledShield-Cpe7I82b.png)}.combatant.player.hero-pose-skilledShield-skilledShield .player-sprite{background-image:url(./hero-pose-skilledShield-skilledShield-Bi6fY-wt.png)}.combatant.player.hero-pose-sword-sword .player-sprite{background-image:url(./hero-pose-sword-sword-hZwfyv1c.png)}.combatant.player.hero-pose-shield-shield .player-sprite{background-image:url(./hero-pose-shield-shield-cPoQKvqg.png)}.combatant.player.hero-pose-club-club .player-sprite{background-image:url(./hero-pose-club-club-CyLIx5_O.png)}.combatant.player.hero-pose-nunchaku .player-sprite{background-image:url(./hero-pose-nunchaku-A-uoRWC8.png)}.map-hero{background:0 0;overflow:hidden}.map-hero:before{content:"";background:url(./hero-run-sheet-BxHgW5Ga.png) 0/100% 100% no-repeat;width:800%;height:100%;animation:.64s steps(7,end) infinite hero-run-frames;position:absolute;top:0;bottom:0;left:0;right:0}.map-hero svg,.player-sprite svg{opacity:0}.village-shop,.village-elder,.village-scholar,.map-guard,.sand-shop,.sand-item-shop,.palm-training{box-shadow:none;text-shadow:0 2px 3px #000000ad;background-color:#0000;background-position:bottom;background-repeat:no-repeat;background-size:contain;border-color:#0000}.village-shop{background-image:url(./shop-building-BbScd6H6.png);width:132px;min-height:128px}.village-elder{background-image:url(./elder-BBYPNtXj.png)}.village-scholar{background-image:url(./scholar-DqGR1B1p.png);width:122px;min-height:134px}.map-guard{background-image:url(./sand-guard-DMGbqtnx.png)}.sand-shop,.sand-item-shop{width:132px;min-height:124px}.sand-shop{background-image:url(./sand-shopkeeper-BrkwXj1L.png)}.sand-item-shop{background-image:url(./sand-merchant-BYTgREro.png)}.palm-training{background-image:url(./palm-sign-DyOhxQ9O.png)}.village-shop:before,.palm-training:before,.village-shopkeeper,.elder-portrait,.scholar-portrait,.map-guard-portrait,.sand-shopkeeper,.sand-merchant,.palm-sign{display:none}.village-shop strong,.village-elder strong,.village-scholar strong,.map-guard strong,.sand-shop strong,.sand-item-shop strong,.palm-training strong{color:#fff6d6;background:#18120e94;border-radius:999px;padding:2px 7px}.elder-quest-portrait,.shopkeeper-portrait{background-position:bottom;background-repeat:no-repeat;background-size:contain}.elder-quest-portrait{background-image:url(./elder-BBYPNtXj.png)}.shopkeeper-portrait{background-image:url(./shopkeeper-BTTK3-bo.png)}.elder-quest-portrait:before,.elder-quest-portrait:after,.elder-quest-portrait>*,.shopkeeper-portrait>*{display:none}.card-art{background-color:#ffffff14;background-image:var(--card-image), linear-gradient(135deg, #ffffff2e, transparent);background-position:50%;background-repeat:no-repeat;background-size:contain,cover}.card-art:before,.card-art:after{display:none}.card-strike{--card-image:url(./card-strike-CnryzPfD.png)}.card-guard{--card-image:url(./card-guard-Bm42mKH9.png)}.card-pierce{--card-image:url(./card-pierce-DOoChL0L.png)}.card-defensePierce{--card-image:url(./card-defensePierce-FeKXEWlC.png)}.card-flash{--card-image:url(./card-flash-Cv0zj-Kd.png)}.card-shell{--card-image:url(./card-shell-BuGzFqKL.png)}.card-riposte{--card-image:url(./card-riposte-DepLCxcA.png)}.card-redraw{--card-image:url(./card-redraw-DsW1xS2f.png)}.card-ironwallStrike{--card-image:url(./card-ironwallStrike-DNGsiPly.png)}.card-lastingGuard{--card-image:url(./card-lastingGuard-CuBoaUnH.png)}.card-kpopGirlGroup{--card-image:url(./card-kpopGirlGroup-KGnu0Ry7.png)}.card-kpopBoyGroup{--card-image:url(./card-kpopBoyGroup-B3R7wp1u.jpg)}.card-kimchiThrow{--card-image:url(./card-kimchiThrow-C5vPorCF.png)}.card-fanShield{--card-image:url(./card-fanShield-B1hQ0Iml.png)}.card-thornShield{--card-image:url(./card-thornShield-CyOxpm9s.png)}.card-quickPlan{--card-image:url(./card-quickPlan-DaNao7Wb.png)}.card-palmStrike{--card-image:url(./card-palmStrike-Dub0qdkc.png)}.card-bloodStrike .card-art{background-color:#7416252e;background-image:url(./card-bloodStrike-CcQC_H-M.png),linear-gradient(135deg,#ffffff2e,#0000);background-position:50%;background-repeat:no-repeat;background-size:112%,cover}.card-crimsonPact .card-art{background-color:#74162533;background-image:url(./card-crimsonPact-BsR2xxw8.png),linear-gradient(135deg,#ffffff2e,#0000);background-position:50%;background-repeat:no-repeat;background-size:112%,cover}.shop-icon{background-color:#ffffff14;background-image:var(--shop-image);color:#0000;text-shadow:none;background-position:50%;background-repeat:no-repeat;background-size:contain}.shop-energy{--shop-image:url(./item-energy-_d7dLi3N.png)}.shop-max-hp{--shop-image:url(./item-maxHp-BjPGIzi5.png)}.shop-sword{--shop-image:url(./item-sword-3_wjGuvL.png)}.shop-club{--shop-image:url(./item-goblinClub-CZDDhxtZ.png)}.shop-nunchaku{--shop-image:url(./item-beggarNunchaku-B3qW-3V8.png)}.quest-grandma-bra{--shop-image:url(./item-grandmaBra-gBw7JAzk.png)}.quest-elder-robe{--shop-image:url(./item-elderRobe-BU78n7Lg.png)}.quest-grandma-discount-coupon{--shop-image:url(./item-grandmaDiscountCoupon-BOwa1Ezx.png)}.quest-passport{--shop-image:url(./item-passport-BLzQXbNN.png)}.quest-qing-residency{--shop-image:url(./item-qingResidency-dOBUlMmf.png)}.shop-bribe{--shop-image:url(./item-bribe-BufReYOW.png)}.shop-pass{--shop-image:url(./item-gatePass-nbwUASSS.png)}.shop-shield{--shop-image:url(./item-shield-Cc1w9r2S.png)}.shop-skilled-shield{--shop-image:url(./item-skilledShield-BN7S5OR3.png)}.shop-palm-training{--shop-image:url(./palm-sign-DyOhxQ9O.png)}.shop-potion{--shop-image:url(./item-potion-COt02W9I.png)}.shop-potion.potion-desert{--shop-image:url(./item-desertPotion-CEYjeUcg.png)}.shop-potion.potion-korea{--shop-image:url(./item-koreaPotion-CrODRB64.png)}.shop-heal{--shop-image:url(./item-heal-ClovJdDs.png)}.shop-full-heal{--shop-image:url(./item-fullHeal-qfZ_HtRT.png)}.bag-potion-card{border-color:#457c5b73;position:relative}.bag-potion-card.potion-assigned{border-color:#2e8b57;box-shadow:inset 0 0 0 2px #2e8b572e}.bag-potion-card .shop-icon{color:#0000;min-height:66px;position:relative}.bag-potion-size{color:#fff4c8;background:#1e2532e6;border-radius:6px;place-items:center;min-width:42px;height:22px;padding:0 6px;font-size:13px;font-weight:950;line-height:1;display:grid;position:absolute;bottom:7px;right:8px}.potion-slot-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;display:grid}.potion-slot-button{color:#2f3542;background:#ffffff6b;border:1px solid #363e4c3d;border-radius:6px;min-width:0;min-height:30px;font-size:11px;font-weight:900;line-height:1.1}.potion-slot-button.selected{color:#f3fff6;background:#286b48;border-color:#286b48}.enemy.palm-training-enemy .enemy-sprite{background:url(./palm-enemy-D9LNyc9K.png) 50%/contain no-repeat}.enemy.palm-training-enemy .enemy-sprite:before{content:none}@keyframes player-lunge{0%{transform:translate(0)translateY(0)rotate(0)scale(1)}18%{transform:translate(-12px)translateY(2px)rotate(-4deg)scale(.98)}44%{transform:translate(72px)translateY(-4px)rotate(7deg)scale(1.1)}58%{transform:translate(58px)translateY(2px)rotate(2deg)scale(1.05)}72%{transform:translate(68px)translateY(0)rotate(4deg)scale(1.08)}to{transform:translate(0)translateY(0)rotate(0)scale(1)}}@keyframes shop-arrow-float{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes blade-smash{0%{filter:brightness();transform:rotate(-18deg)translate(-2px,1px)}22%{filter:brightness(1.2);transform:rotate(-62deg)translate(-8px,-2px)}46%{filter:brightness(1.8);transform:rotate(32deg)translate(7px,5px)}62%{filter:brightness(1.4);transform:rotate(8deg)translate(3px,2px)}to{filter:brightness();transform:rotate(0)translate(0)}}@keyframes fist-smash{0%{filter:brightness();transform:translate(0)scale(1)}45%{filter:brightness(1.25);transform:translate(13px,2px)scale(1.12)}to{filter:brightness();transform:translate(0)scale(1)}}@keyframes enemy-lunge{0%{transform:translate(0)scale(1)}42%{transform:translate(-22px)scale(1.04)}to{transform:translate(0)scale(1)}}@keyframes damage-float-rise{0%{opacity:0;transform:translate(-50%,10px)scale(.78)}18%{opacity:1;transform:translate(-50%,-8px)scale(1.18)}66%{opacity:1;transform:translate(-50%,-30px)scale(1)}to{opacity:0;transform:translate(-50%,-48px)scale(.96)}}@keyframes hit-shake{0%,to{filter:drop-shadow(0 14px 14px #0000005c);transform:translate(0)}18%{filter:brightness(1.2)drop-shadow(0 14px 14px #0000005c);transform:translate(0)rotate(0)scale(1)}34%{filter:brightness(1.75)saturate(1.3)drop-shadow(0 14px 14px #0000005c);transform:translate(18px)rotate(7deg)scale(.96)}50%{filter:brightness(1.35)drop-shadow(0 14px 14px #0000005c);transform:translate(-12px)rotate(-5deg)scale(1.03)}68%{transform:translate(8px)rotate(3deg)scale(.99)}}@keyframes block-grow-pop{0%{filter:brightness();transform:scale(.82)}34%{filter:brightness(1.9);transform:scale(1.34)}55%{filter:brightness(1.35);transform:scale(1.08)}76%{filter:brightness(1.55);transform:scale(1.18)}to{filter:brightness();transform:scale(1)}}@keyframes purchase-pop{0%{opacity:0;transform:translateY(8px)scale(.94)}18%{opacity:1;transform:translateY(0)scale(1.06)}34%{opacity:1;transform:translateY(0)scale(1)}82%{opacity:1;transform:translateY(0)scale(1)}to{opacity:0;transform:translateY(-6px)scale(.98)}}@media (min-width:431px){html,body{overflow:hidden}.game-shell{height:var(--app-height,100dvh);grid-template-rows:auto minmax(0,1fr) auto auto auto;align-content:stretch;min-height:0;overflow:hidden}.game-shell.battle-shell{height:var(--pc-battle-layout-height,820px);min-height:var(--pc-battle-layout-height,820px);transform:scale(var(--pc-battle-scale,1));transform-origin:top;grid-template-rows:auto minmax(324px,1fr) auto 235px auto;row-gap:6px}.game-shell:has(#battleScreen:not(.hidden)){height:var(--pc-battle-layout-height,820px);min-height:var(--pc-battle-layout-height,820px);transform:scale(var(--pc-battle-scale,1));transform-origin:top;grid-template-rows:auto minmax(324px,1fr) auto 235px auto;row-gap:6px}.arena,.map-screen{height:auto;min-height:0}.hand-wrap,.hand{min-height:0}.hand{--battle-card-head-height:20px;--battle-card-text-height:24px;grid-template-rows:repeat(2,112px)}.hand>.card,.hand-slot{height:112px;min-height:112px;max-height:112px}.hand .card-art{min-height:29px}.hand .card p{height:24px;min-height:24px;max-height:24px}.game-shell.battle-shell .arena{min-height:324px}.game-shell:has(#battleScreen:not(.hidden)) .arena{min-height:324px}.game-shell.battle-shell .hand-wrap,.game-shell.battle-shell .hand{min-height:235px}.game-shell:has(#battleScreen:not(.hidden)) .hand-wrap{min-height:235px}.game-shell:has(#battleScreen:not(.hidden)) .hand{min-height:235px}.action-bar.map-mode{grid-template-rows:repeat(3,minmax(64px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;min-height:226px;padding:12px}.action-bar.map-mode .secondary{min-height:62px;padding:10px 14px;font-size:18px}.action-bar.map-mode .potion-action{grid-template-rows:1fr auto;grid-template-columns:1fr;justify-content:center;place-items:center;gap:0;padding:6px 8px}.action-bar.map-mode .potion-action-icon{width:50px;height:50px}.action-bar.map-mode .potion-action-count{min-width:24px;height:24px;font-size:14px;top:8px;left:auto;right:10px}.action-bar.map-mode .potion-action-size{min-width:42px;height:22px;font-size:13px;bottom:6px;right:8px}.action-bar.map-mode .potion-action-label{clip:auto;text-overflow:ellipsis;white-space:nowrap;width:auto;height:auto;padding-right:0;font-size:15px;line-height:1.05;position:static;overflow:hidden}}@media (max-width:390px){.game-shell{gap:8px;padding-left:9px;padding-right:9px}.top-bar{align-items:stretch}.top-actions{gap:5px}.language-toggle{grid-template-columns:repeat(2,32px)}.brand-mark{width:30px;height:30px}h1{font-size:16px}.stat-row{grid-template-columns:repeat(3,42px)}.stat{min-width:42px;padding-inline-start:3px;padding-inline-end:3px}.stat strong{font-size:12px}.arena{gap:8px;min-height:246px;padding:10px}#playerBlock{min-width:72px;padding-inline-start:7px;padding-inline-end:7px;font-size:15px}#playerBlock.is-empty{min-width:46px;font-size:10px}#playerBlock.is-charged{min-width:84px;font-size:18px}.map-screen{min-height:246px}.action-bar.map-mode{grid-template-rows:repeat(3,minmax(58px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-height:206px}.mid-panel{grid-template-columns:1fr}.focus-panel{grid-template-columns:auto auto;justify-content:center;gap:8px;width:100%}.card{width:104px;min-width:104px}.reward-grid{grid-template-columns:1fr}.reward-grid .card{min-height:126px}}@media (max-width:430px){.overlay.is-encounter{padding:max(56px, calc(env(safe-area-inset-top) + 46px)) 12px max(12px, env(safe-area-inset-bottom));place-items:start center}.overlay.is-encounter .reward-panel{align-items:stretch;gap:8px;width:min(92vw,320px);max-height:none;padding:14px;overflow:hidden}.overlay.is-encounter .overline{font-size:10px}.overlay.is-encounter h2{font-size:18px;line-height:1.12}.overlay.is-encounter .overlay-body{font-size:13px;line-height:1.3}.overlay.is-encounter .encounter-actions{justify-items:stretch;gap:6px;width:100%}.overlay.is-encounter .encounter-actions button,.overlay.is-encounter #skipRewardBtn{border-radius:7px;justify-self:stretch;width:100%;min-height:38px;padding:7px 10px;font-size:13px;line-height:1.1}.reward-grid{gap:6px}.reward-grid .card{gap:5px;min-height:168px;padding:6px}.reward-grid .card h3{font-size:13px}.reward-grid .cost{width:24px;height:24px;font-size:13px}.reward-grid .card-art,.reward-grid .shop-icon{min-height:40px}.reward-grid .card p{font-size:11px;line-height:1.16}.reward-grid .price-tag{padding-inline-start:4px;padding-inline-end:4px;font-size:10px}.reward-grid .shop-card-detail-toggle{padding:5px 4px;font-size:10px}.reward-grid .shop-card-action-button{min-height:28px;padding:5px 6px;font-size:11px}.reward-grid .shop-card-detail-text{padding:6px;font-size:10px;line-height:1.25}.action-bar .primary,.action-bar .secondary{text-align:center;word-break:keep-all;place-items:center;min-height:38px;font-size:11px;line-height:1.1;display:grid;overflow:hidden}.action-bar.map-mode{grid-template-rows:repeat(3,minmax(58px,1fr));grid-template-columns:repeat(3,minmax(0,1fr));min-height:206px}.action-bar.map-mode .secondary{height:auto;min-height:58px;padding:8px 10px;font-size:15px;overflow:visible}}@media (max-width:430px) and (max-height:760px){.game-shell{padding:max(6px, env(safe-area-inset-top)) 6px max(6px, env(safe-area-inset-bottom));gap:5px}.top-bar{gap:6px;min-height:54px;padding:6px}.brand{gap:6px}.brand-mark{border-radius:7px;width:26px;height:26px}h1{font-size:14px}.brand p{margin-top:2px;font-size:10px}.top-actions{gap:3px}.language-toggle{grid-template-columns:repeat(2,30px);min-height:23px}.language-toggle button{font-size:10px}.stat-row{grid-template-columns:repeat(3,minmax(38px,1fr));gap:4px}.stat{min-width:38px;padding:4px 3px}.stat span{font-size:9px}.stat strong{margin-top:1px;font-size:11px}.top-health-meter{height:4px;margin-top:3px}.arena,.map-screen{min-height:178px}.arena{gap:6px;padding:7px}.sprite{width:min(30vw,118px)}.combatant{gap:5px}.enemy{margin-top:4px}.intent{min-width:96px;max-width:128px;padding:4px 6px;font-size:10px}.nameplate{grid-template-rows:auto 6px auto;gap:5px;min-height:50px;padding:5px}.name-row{gap:5px}.name-row strong,.name-row span,.hp-readout{font-size:10px}.health-meter{height:6px}#playerBlock{min-width:60px;padding:4px 6px;font-size:12px}#playerBlock.is-empty{min-width:40px;padding:3px 5px;font-size:9px}#playerBlock.is-charged{min-width:70px;padding:5px 7px;font-size:14px}.mid-panel{gap:5px;min-height:37px;padding:5px}.focus-panel{width:76px;padding:4px 5px}.focus-panel span{font-size:9px}.focus-panel strong{font-size:16px}.log{padding:4px 5px;font-size:10px;line-height:1.15}.hand-wrap,.hand{min-height:182px}.hand{--battle-card-head-height:17px;--battle-card-text-height:20px;grid-template-rows:repeat(2,88px);gap:4px}.hand>.card,.hand-slot{height:88px;min-height:88px;max-height:88px}.hand>.card{border-width:1px;border-radius:7px;gap:3px;padding:4px}.hand .card h3{font-size:9px;line-height:1}.hand .cost{width:18px;height:18px;font-size:11px}.hand .card-art{border-radius:5px;min-height:20px}.hand .card p{height:20px;min-height:20px;max-height:20px;font-size:8px;line-height:1.08;overflow:hidden}.action-bar{gap:5px;min-height:71px;padding:5px}.action-bar .primary,.action-bar .secondary{text-align:center;word-break:keep-all;place-items:center;height:29px;min-height:29px;padding:3px 4px;font-size:10px;line-height:1.08;display:grid;overflow:hidden}.action-bar.battle-mode{grid-template-rows:1fr;grid-template-columns:repeat(6,minmax(0,1fr));grid-auto-flow:column}.action-bar.battle-mode .primary,.action-bar.battle-mode .secondary{height:100%;min-height:0}}@media (max-width:430px) and (max-height:850px){.game-shell{height:var(--app-height,100dvh);min-height:var(--app-height,100dvh);padding:max(5px, env(safe-area-inset-top)) 6px max(5px, env(safe-area-inset-bottom));gap:4px}.game-shell.battle-shell{grid-template-rows:auto 269px 48px 188px minmax(0,1fr);row-gap:0;padding-bottom:0}.game-shell:has(#battleScreen:not(.hidden)){grid-template-rows:auto 269px 48px 188px minmax(0,1fr);row-gap:0;padding-bottom:0}.arena{z-index:1;align-items:stretch;gap:4px;height:100%;min-height:0;margin-bottom:0;padding:7px 6px 13px;position:relative}.map-screen{height:clamp(218px,34vh,252px);min-height:0}.combatant{grid-template-rows:minmax(0,1fr) auto;align-content:center;gap:2px;width:100%;height:100%;transform:translateY(-8px)}.combatant.player{justify-self:start}.combatant.enemy{place-self:stretch end;margin-top:0}.combatant.enemy .intent{z-index:3;position:absolute;top:5px;left:50%;transform:translate(-50%)}.combatant.player .player-sprite{align-self:end;width:min(29vw,112px)}.combatant.enemy .enemy-sprite{align-self:end;width:min(38vw,148px);max-width:100%;margin-top:14px;padding:4px 4px 12px;transform:none}.intent{max-width:min(36vw,134px);font-size:10px;line-height:1.12}.nameplate{grid-template-rows:auto 5px auto;align-self:end;gap:3px;width:100%;min-height:38px;padding:4px 4px 5px}.name-row strong,.name-row span,.hp-readout{font-size:9px}.health-meter{height:5px}.mid-panel{gap:4px;height:48px;min-height:48px;max-height:48px;margin-top:0;margin-bottom:0;padding:3px;overflow:hidden}.focus-panel{width:66px;padding:2px 4px}.focus-panel strong{font-size:13px}.hand-wrap,.hand{height:auto;min-height:188px}.hand-wrap{z-index:2;margin-top:0;padding-top:0;position:relative}.hand{--battle-card-head-height:17px;--battle-card-text-height:15px;grid-template-rows:repeat(2,90px);gap:3px}.hand>.card,.hand-slot{height:90px;min-height:90px;max-height:90px}.hand>.card{border-radius:6px;gap:2px;padding:3px}.hand .card h3{font-size:8px;line-height:1}.hand .cost{width:17px;height:17px;font-size:10px}.hand .card-art{min-height:18px}.hand .card p{height:15px;min-height:15px;max-height:15px;font-size:7px;line-height:1.05;overflow:hidden}.action-bar{box-sizing:border-box;clip-path:inset(0 round 22px 22px 52px 52px);border-radius:22px 22px 52px 52px;justify-self:center;gap:3px;width:calc(100% - 16px);height:55px;min-height:51px;max-height:55px;margin:0 auto 8px;padding:5px 6px 7px;overflow:hidden}.action-bar .primary,.action-bar .secondary{height:22px;min-height:22px;padding:2px 3px;font-size:10px}.action-bar.battle-mode .primary,.action-bar.battle-mode .secondary{height:100%;min-height:0}.action-bar.battle-mode .potion-action{min-height:22px;padding:2px}.action-bar.battle-mode .potion-action-icon{width:22px;height:22px}.action-bar.battle-mode .potion-action-count{top:1px;left:calc(50% + 5px)}}@media (max-width:430px) and (max-height:900px){.game-shell.battle-shell{grid-template-rows:auto 289px 48px 188px minmax(0,1fr);row-gap:0;padding-bottom:0}.game-shell:has(#battleScreen:not(.hidden)){grid-template-rows:auto 289px 48px 188px minmax(0,1fr);row-gap:0;padding-bottom:0}.game-shell.battle-shell .arena{align-items:stretch;height:100%;min-height:0;padding:7px 6px 14px}.game-shell:has(#battleScreen:not(.hidden)) .arena{align-items:stretch;height:100%;min-height:0;padding:7px 6px 14px}.game-shell.battle-shell .combatant{grid-template-rows:minmax(0,1fr) auto;align-content:center;gap:2px;height:100%;transform:translateY(-28px)}.game-shell:has(#battleScreen:not(.hidden)) .combatant{grid-template-rows:minmax(0,1fr) auto;align-content:center;gap:2px;height:100%;transform:translateY(-28px)}.game-shell.battle-shell .combatant.player .player-sprite{align-self:end;width:min(29vw,112px)}.game-shell:has(#battleScreen:not(.hidden)) .combatant.player .player-sprite{align-self:end;width:min(29vw,112px)}.game-shell.battle-shell .combatant.enemy{margin-top:0;transform:translateY(0)}.game-shell:has(#battleScreen:not(.hidden)) .combatant.enemy{margin-top:0;transform:translateY(0)}.game-shell.battle-shell .combatant.enemy .intent{z-index:3;max-width:min(36vw,134px);font-size:10px;line-height:1.12;position:absolute;top:33px;left:50%;transform:translate(-50%)}.game-shell:has(#battleScreen:not(.hidden)) .combatant.enemy .intent{z-index:3;max-width:min(36vw,134px);font-size:10px;line-height:1.12;position:absolute;top:33px;left:50%;transform:translate(-50%)}.game-shell.battle-shell .combatant.enemy .enemy-sprite{align-self:end;width:min(38vw,148px);margin-top:14px;padding:4px 4px 12px}.game-shell:has(#battleScreen:not(.hidden)) .combatant.enemy .enemy-sprite{align-self:end;width:min(38vw,148px);margin-top:14px;padding:4px 4px 12px}.game-shell.battle-shell .nameplate{grid-template-rows:auto 5px auto;gap:3px;min-height:38px;padding:4px 4px 5px}.game-shell:has(#battleScreen:not(.hidden)) .nameplate{grid-template-rows:auto 5px auto;gap:3px;min-height:38px;padding:4px 4px 5px}.game-shell.battle-shell #playerBlock{min-width:58px;padding:4px 6px;font-size:12px}.game-shell:has(#battleScreen:not(.hidden)) #playerBlock{min-width:58px;padding:4px 6px;font-size:12px}.game-shell.battle-shell #playerBlock.is-charged{min-width:66px;padding:4px 6px;font-size:13px}.game-shell:has(#battleScreen:not(.hidden)) #playerBlock.is-charged{min-width:66px;padding:4px 6px;font-size:13px}.game-shell.battle-shell .mid-panel{gap:4px;height:48px;min-height:48px;max-height:48px;margin-top:0;margin-bottom:0;padding:3px;overflow:hidden}.game-shell:has(#battleScreen:not(.hidden)) .mid-panel{gap:4px;height:48px;min-height:48px;max-height:48px;margin-top:0;margin-bottom:0;padding:3px;overflow:hidden}.game-shell.battle-shell .hand-wrap{margin-top:0}.game-shell:has(#battleScreen:not(.hidden)) .hand-wrap{margin-top:0}.game-shell.battle-shell .focus-panel{width:66px;padding:2px 4px}.game-shell:has(#battleScreen:not(.hidden)) .focus-panel{width:66px;padding:2px 4px}.game-shell.battle-shell .focus-panel strong{font-size:13px}.game-shell:has(#battleScreen:not(.hidden)) .focus-panel strong{font-size:13px}.game-shell.battle-shell .hand-wrap,.game-shell.battle-shell .hand{height:auto;min-height:188px}.game-shell:has(#battleScreen:not(.hidden)) .hand-wrap{height:auto;min-height:188px}.game-shell:has(#battleScreen:not(.hidden)) .hand{height:auto;min-height:188px}.game-shell.battle-shell .hand{--battle-card-head-height:17px;--battle-card-text-height:15px;grid-template-rows:repeat(2,90px);gap:3px}.game-shell:has(#battleScreen:not(.hidden)) .hand{--battle-card-head-height:17px;--battle-card-text-height:15px;grid-template-rows:repeat(2,90px);gap:3px}.game-shell.battle-shell .hand>.card,.game-shell.battle-shell .hand-slot{height:90px;min-height:90px;max-height:90px}.game-shell:has(#battleScreen:not(.hidden)) .hand>.card{height:90px;min-height:90px;max-height:90px}.game-shell:has(#battleScreen:not(.hidden)) .hand-slot{height:90px;min-height:90px;max-height:90px}.game-shell.battle-shell .hand .card-art{min-height:18px}.game-shell:has(#battleScreen:not(.hidden)) .hand .card-art{min-height:18px}.game-shell.battle-shell .hand .card p{height:15px;min-height:15px;max-height:15px}.game-shell:has(#battleScreen:not(.hidden)) .hand .card p{height:15px;min-height:15px;max-height:15px}.game-shell.battle-shell .action-bar{box-sizing:border-box;clip-path:inset(0 round 22px 22px 52px 52px);border-radius:22px 22px 52px 52px;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;justify-self:center;gap:3px;width:calc(100% - 16px);height:100%;min-height:0;max-height:none;margin:0 auto 8px;padding:5px 6px 7px;overflow:hidden}.game-shell:has(#battleScreen:not(.hidden)) .action-bar{box-sizing:border-box;clip-path:inset(0 round 22px 22px 52px 52px);border-radius:22px 22px 52px 52px;grid-template-rows:repeat(2,minmax(0,1fr));grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-flow:row;justify-self:center;gap:3px;width:calc(100% - 16px);height:100%;min-height:0;max-height:none;margin:0 auto 8px;padding:5px 6px 7px;overflow:hidden}.game-shell.battle-shell .action-bar .primary,.game-shell.battle-shell .action-bar .secondary{height:22px;min-height:22px;padding:2px 3px;font-size:10px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar .primary{height:22px;min-height:22px;padding:2px 3px;font-size:10px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar .secondary{height:22px;min-height:22px;padding:2px 3px;font-size:10px}.game-shell.battle-shell .action-bar.battle-mode .primary,.game-shell.battle-shell .action-bar.battle-mode .secondary{height:100%;min-height:0}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode .primary{height:100%;min-height:0}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode .secondary{height:100%;min-height:0}.game-shell.battle-shell .action-bar.battle-mode>:first-child{border-top-left-radius:24px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode>:first-child{border-top-left-radius:24px}.game-shell.battle-shell .action-bar.battle-mode #fleeBtn{border-top-right-radius:24px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode #fleeBtn{border-top-right-radius:24px}.game-shell.battle-shell .action-bar.battle-mode #potionBtn{border-bottom-left-radius:44px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode #potionBtn{border-bottom-left-radius:44px}.game-shell.battle-shell .action-bar.battle-mode>:last-child{border-bottom-right-radius:44px}.game-shell:has(#battleScreen:not(.hidden)) .action-bar.battle-mode>:last-child{border-bottom-right-radius:44px}}@media (max-width:430px){.game-shell:has(#mapScreen:not(.hidden)){width:100%;min-width:0;max-width:520px;height:min(var(--app-height,100dvh), 100svh);min-height:0;max-height:none;padding-left:max(8px, env(safe-area-inset-left));padding-right:max(8px, env(safe-area-inset-right));overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .top-bar{width:100%;min-width:0;max-width:100%}.game-shell:has(#mapScreen:not(.hidden)) .map-screen{width:100%;min-width:0;max-width:100%}.game-shell:has(#mapScreen:not(.hidden)) .action-bar{width:100%;min-width:0;max-width:100%}.game-shell:has(#mapScreen:not(.hidden)) .top-bar{grid-template-columns:minmax(62px,76px) minmax(0,1fr);gap:5px;padding:6px;display:grid}.game-shell:has(#mapScreen:not(.hidden)) .brand{max-width:76px;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .brand p{font-size:10px;line-height:1.1}.game-shell:has(#mapScreen:not(.hidden)) .top-actions{min-width:0}.game-shell:has(#mapScreen:not(.hidden)) .top-settings{min-width:0}.game-shell:has(#mapScreen:not(.hidden)) .stat-row{min-width:0}.game-shell:has(#mapScreen:not(.hidden)) .stat{min-width:0}.game-shell:has(#mapScreen:not(.hidden)) .top-actions{gap:3px;width:100%}.game-shell:has(#mapScreen:not(.hidden)) .top-settings{gap:3px}.game-shell:has(#mapScreen:not(.hidden)) .sound-toggle{width:28px;height:28px}.game-shell:has(#mapScreen:not(.hidden)) .language-toggle{grid-template-columns:repeat(2,minmax(0,30px));width:64px}.game-shell:has(#mapScreen:not(.hidden)) .stat-row{grid-template-columns:minmax(58px,1.35fr) minmax(48px,1fr) minmax(40px,.78fr);gap:4px;width:100%}.game-shell:has(#mapScreen:not(.hidden)) .stat{padding:4px 3px}.game-shell:has(#mapScreen:not(.hidden)) .stat span{text-overflow:ellipsis;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .stat strong{text-overflow:ellipsis;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .stat span{white-space:nowrap;font-size:9px}.game-shell:has(#mapScreen:not(.hidden)) .stat strong{font-size:11px}.game-shell:has(#mapScreen:not(.hidden)) .stat.hp strong{font-size:10.5px}.game-shell:has(#mapScreen:not(.hidden)) .map-area-label{min-width:0;max-width:calc(100% - 64px);padding-inline-start:8px;padding-inline-end:8px}.game-shell:has(#mapScreen:not(.hidden)) .map-open-button{white-space:nowrap;min-width:52px;max-width:60px;padding-inline-start:8px;padding-inline-end:8px;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .action-bar{width:100%;min-width:0;max-width:100%;margin-left:0;margin-right:0}.game-shell:has(#mapScreen:not(.hidden)) .action-bar.map-mode{width:100%;min-width:0;max-width:100%;margin-left:0;margin-right:0}.game-shell:has(#mapScreen:not(.hidden)) .action-bar>*{min-width:0;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .action-bar .primary{min-width:0;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .action-bar .secondary{min-width:0;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .action-bar .potion-action{min-width:0;max-width:100%;overflow:hidden}.game-shell:has(#mapScreen:not(.hidden)) .action-bar.map-mode .secondary{font-size:clamp(12px,3.9vw,15px)}.game-shell:has(#mapScreen:not(.hidden)) .action-bar.map-mode .potion-action{grid-template-columns:1fr;padding:6px 8px}.game-shell:has(#mapScreen:not(.hidden)) .action-bar.map-mode .potion-action-label{min-width:0;max-width:100%;padding-right:0}.game-shell:has(#mapScreen:not(.hidden)) .action-bar.map-mode .potion-action-size{max-width:54px;font-size:12px;right:6px}}@media (max-width:380px){.game-shell:has(#mapScreen:not(.hidden)) .top-bar{grid-template-columns:minmax(56px,66px) minmax(0,1fr)}.game-shell:has(#mapScreen:not(.hidden)) .brand{max-width:66px}.game-shell:has(#mapScreen:not(.hidden)) .brand p{font-size:9px}.game-shell:has(#mapScreen:not(.hidden)) .sound-toggle{width:26px;height:26px}.game-shell:has(#mapScreen:not(.hidden)) .language-toggle{grid-template-columns:repeat(2,minmax(0,27px));width:58px}.game-shell:has(#mapScreen:not(.hidden)) .stat-row{grid-template-columns:minmax(54px,1.3fr) minmax(44px,1fr) minmax(36px,.72fr);gap:3px}.game-shell:has(#mapScreen:not(.hidden)) .stat strong{font-size:10px}.game-shell:has(#mapScreen:not(.hidden)) .stat.hp strong{font-size:9.5px}}@media (max-width:430px){.game-shell:has(#mapScreen:not(.hidden)) .top-bar{grid-template-columns:minmax(58px,72px) minmax(92px,124px) minmax(58px,1fr) max-content;align-items:stretch;gap:5px}.game-shell:has(#mapScreen:not(.hidden)) .top-actions{display:contents}.game-shell:has(#mapScreen:not(.hidden)) .top-settings{grid-column:4;justify-content:end;width:95px}.game-shell:has(#mapScreen:not(.hidden)) .stat-row{display:contents}.game-shell:has(#mapScreen:not(.hidden)) .stat.hp{grid-column:2;width:100%;max-width:124px}.game-shell:has(#mapScreen:not(.hidden)) .stat.gold{grid-column:3;width:100%}.game-shell:has(#mapScreen:not(.hidden)) .stat.deck{display:none}}@media (max-width:380px){.game-shell:has(#mapScreen:not(.hidden)) .top-bar{grid-template-columns:minmax(54px,64px) minmax(82px,108px) minmax(48px,1fr) max-content;gap:4px}.game-shell:has(#mapScreen:not(.hidden)) .top-settings{width:87px}.game-shell:has(#mapScreen:not(.hidden)) .stat.hp{max-width:108px}}@media (max-width:430px){.game-shell .top-bar{grid-template-columns:74px minmax(96px,112px) minmax(62px,1fr) 92px;align-items:stretch;gap:4px;min-width:0;padding:6px;display:grid}.game-shell .brand{grid-column:1;min-width:0;max-width:74px;overflow:hidden}.game-shell .brand p{font-size:10px;line-height:1.12}.game-shell .top-actions,.game-shell .stat-row{display:contents}.game-shell .top-settings{grid-column:4;justify-content:end;width:92px;min-width:0}.game-shell .sound-toggle{width:28px;height:28px}.game-shell .language-toggle{grid-template-columns:repeat(2,minmax(0,29px));width:62px}.game-shell .stat{min-width:0;padding:4px 3px}.game-shell .stat.hp{grid-column:2;width:100%;max-width:112px}.game-shell .stat.gold{grid-column:3;width:100%}.game-shell .stat.deck{display:none}.game-shell .stat span{white-space:nowrap;font-size:9px}.game-shell .stat strong{font-size:12px}.game-shell .stat.hp strong{font-size:11px}}@media (max-width:380px){.game-shell .top-bar{grid-template-columns:62px minmax(88px,102px) minmax(54px,1fr) 86px;gap:4px;padding:6px}.game-shell .brand{max-width:62px}.game-shell .brand p{font-size:9px}.game-shell .top-settings{width:86px}.game-shell .sound-toggle{width:26px;height:26px}.game-shell .language-toggle{grid-template-columns:repeat(2,minmax(0,27px));width:58px}.game-shell .stat.hp{max-width:102px}.game-shell .stat strong{font-size:11px}.game-shell .stat.hp strong{font-size:10px}}@media (max-width:430px){.game-shell .top-bar{grid-template-rows:1fr;grid-template-columns:74px minmax(0,1fr);align-items:stretch;gap:4px;min-width:0;min-height:56px;padding:6px;display:grid}.game-shell .brand{grid-column:1;align-self:stretch;min-width:0;max-width:74px;overflow:hidden}.game-shell .brand p{font-size:10px;line-height:1.12}.game-shell .top-actions{flex:none;grid-column:2;grid-template-rows:1fr;grid-template-columns:minmax(92px,108px) minmax(58px,1fr) 92px;align-items:stretch;gap:4px;width:100%;min-width:0;display:grid}.game-shell .stat-row{grid-area:1/1/auto/3;grid-template-columns:minmax(92px,108px) minmax(58px,1fr);gap:4px;width:100%;min-width:0;display:grid}.game-shell .top-settings{grid-area:1/3;justify-content:end;place-self:stretch end;width:92px;min-width:0}.game-shell .sound-toggle{width:28px;height:28px}.game-shell .language-toggle{grid-template-columns:repeat(2,minmax(0,29px));width:62px}.game-shell .stat{min-width:0;padding:4px 3px}.game-shell .stat.hp{grid-column:1;width:100%;max-width:108px}.game-shell .stat.gold{grid-column:2;width:100%}.game-shell .stat.deck{display:none}.game-shell .stat span{white-space:nowrap;font-size:9px}.game-shell .stat strong{font-size:12px}.game-shell .stat.hp strong{font-size:11px}}@media (max-width:380px){.game-shell .top-bar{grid-template-columns:62px minmax(0,1fr);gap:4px;min-height:54px;padding:6px}.game-shell .brand{max-width:62px}.game-shell .brand p{font-size:9px}.game-shell .top-actions{grid-template-columns:minmax(84px,96px) minmax(48px,1fr) 86px}.game-shell .stat-row{grid-template-columns:minmax(84px,96px) minmax(48px,1fr)}.game-shell .top-settings{width:86px}.game-shell .sound-toggle{width:26px;height:26px}.game-shell .language-toggle{grid-template-columns:repeat(2,minmax(0,27px));width:58px}.game-shell .stat.hp{max-width:96px}.game-shell .stat strong{font-size:11px}.game-shell .stat.hp strong{font-size:10px}}
