*{box-sizing:border-box}html,body{height:100%;margin:0;background:radial-gradient(circle at 50% 30%,#241a12,#120d09 75%);font-family:Nunito,"Baloo 2",Arial Rounded MT Bold,system-ui,sans-serif;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}body{display:flex;align-items:center;justify-content:center;overflow:hidden}#app-frame{position:relative;width:100vw;height:100dvh;overflow:hidden;background:#000}@media (min-width: 700px) and (min-height: 500px){#app-frame{height:min(94vh,1218px);width:auto;aspect-ratio:563 / 1218;border-radius:30px;border:3px solid #3a2a1a;box-shadow:0 0 0 6px #17110b,0 24px 60px #000000b3}}#game-root,#ui-root{position:absolute;inset:0}#game-root canvas{display:block}#ui-root{pointer-events:none;z-index:10;overflow:hidden}.hud-top{position:absolute;top:calc(8px + env(safe-area-inset-top));left:8px;right:8px;display:flex;flex-direction:column;gap:6px}.resource-bar{display:flex;gap:4px;justify-content:space-between;background:#1e140cb8;border:2px solid #5b3a1e;border-radius:12px;padding:4px 6px}.res-slot{position:relative;display:flex;align-items:center;gap:4px;flex:1;min-width:0;justify-content:center}.res-ico{width:14px;height:14px;border-radius:50%;border:2px solid #2a1c10;flex:none}.res-meat{background:#e2698a}.res-wood{background:#8a5a2b}.res-stone{background:#9aa2ad}.res-ruby{background:#d8394b}.res-diamond{background:#3fa9f5}.res-val{color:#f5efe2;font-size:13px;font-weight:800;text-shadow:0 1px 0 #2a1c10;overflow:hidden;text-overflow:ellipsis}.res-float{position:absolute;top:-4px;left:50%;transform:translate(-50%);color:#6fe06a;font-size:13px;font-weight:900;text-shadow:0 0 3px #143310,0 1px 0 #143310;animation:res-float-up .9s ease-out forwards;pointer-events:none;white-space:nowrap}@keyframes res-float-up{0%{opacity:1;transform:translate(-50%)}to{opacity:0;transform:translate(-50%,-26px)}}.influence-chip{align-self:flex-start;display:flex;align-items:center;gap:6px;background:#1e140cb8;border:2px solid #5b3a1e;border-radius:999px;padding:3px 12px 3px 6px}.chip-castle{width:16px;height:14px;background:#c9a26a;border:2px solid #2a1c10;clip-path:polygon(0 100%,0 35%,15% 35%,15% 10%,35% 10%,35% 35%,65% 35%,65% 10%,85% 10%,85% 35%,100% 35%,100% 100%)}.chip-val{color:#f8d878;font-size:14px;font-weight:900;text-shadow:0 1px 0 #2a1c10}.quest-card{position:absolute;top:calc(78px + env(safe-area-inset-top));right:8px;width:178px;display:flex;align-items:center;gap:8px;padding:8px;background:#1e140cd9;border:2px solid #5b3a1e;border-radius:12px;pointer-events:auto;cursor:pointer;transition:box-shadow .25s}.quest-card.claimable{background:linear-gradient(160deg,#6e4a14,#4a3208);border-color:#f2b53c;animation:card-glow 1.1s ease-in-out infinite}@keyframes card-glow{0%,to{box-shadow:0 0 6px 1px #f2b53c80}50%{box-shadow:0 0 16px 5px #f2b53cd9}}.qc-icon{width:34px;height:34px;flex:none;border-radius:8px;border:2px solid #2a1c10;background:#7a5230;position:relative}.qc-icon:after{content:"";position:absolute;inset:7px;border-radius:50%;border:2px solid #2a1c10}.icon-skeleton:after{background:#d9d4c5}.icon-raider:after{background:#8a7f9d}.icon-meat:after{background:#e2698a}.icon-log:after{background:#8a5a2b;border-radius:4px}.icon-archer:after,.icon-villager:after{background:#58a44c}.icon-ranch:after,.icon-castle:after{background:#c9a26a;border-radius:4px}.icon-quest:after,.icon-done:after{background:#f2b53c}.qc-body{min-width:0}.qc-title{color:#f5efe2;font-size:13px;font-weight:800;line-height:1.15;text-shadow:0 1px 0 #2a1c10}.qc-progress{color:#d9c9a8;font-size:12px;font-weight:700;margin-top:2px}.quest-card.claimable .qc-progress{color:#ffe9a8}.gauntlet{position:absolute;width:30px;height:30px;pointer-events:none;z-index:40;filter:drop-shadow(0 2px 2px rgba(0,0,0,.6));animation:gauntlet-bounce .7s ease-in-out infinite}.gauntlet:before{content:"";position:absolute;inset:0;background:linear-gradient(145deg,#eef1f5,#9aa4b2 55%,#6c7683);clip-path:polygon(50% 100%,12% 30%,32% 30%,32% 0,68% 0,68% 30%,88% 30%);border-radius:4px}.card-gauntlet{right:-10px;bottom:-16px}.world-gauntlet{transform:translate(-50%,-100%)}@keyframes gauntlet-bounce{0%,to{margin-top:0}50%{margin-top:8px}}.hidden{display:none!important}.chat-ticker{position:absolute;left:8px;bottom:calc(10px + env(safe-area-inset-bottom));width:66%;max-width:340px}.chat-line{font-size:12px;font-weight:700;color:#f0e8d8;text-shadow:0 0 3px #17110b,0 1px 1px #17110b;margin-top:2px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-name{margin-right:4px}.chat-emote{display:inline-block;font-style:normal;font-size:10px;font-weight:800;color:#ffd97a;background:#3c2814d9;border-radius:6px;padding:0 4px;margin:0 2px}.joy-base{position:absolute;width:108px;height:108px;border-radius:50%;border:3px solid rgba(255,255,255,.45);background:#ffffff1f;transform:translate(-50%,-50%);pointer-events:none;z-index:30;opacity:.85;transition:opacity .2s}.joy-base.joy-fading{opacity:0}.joy-knob{position:absolute;left:50%;top:50%;width:44px;height:44px;border-radius:50%;background:#ffffff8c;border:2px solid rgba(255,255,255,.7);transform:translate(-50%,-50%)}.dialog-overlay{position:absolute;inset:0;pointer-events:auto;z-index:60;background:#00000040}.letterbox{position:absolute;left:0;right:0;height:11%;background:#000}.letterbox-top{top:0}.letterbox-bottom{bottom:0}.dialog-panel{position:absolute;left:4%;right:4%;bottom:13%;display:flex;align-items:flex-end;gap:10px}.dialog-portrait{flex:none;width:96px;height:118px;position:relative}.dialog-portrait:before{content:"";position:absolute;left:50%;bottom:0;width:64px;height:74px;transform:translate(-50%);border-radius:32px;border:3px solid #3a2417;background:#e58a2f}.dialog-portrait:after{content:"";position:absolute;left:50%;top:0;width:52px;height:52px;transform:translate(-50%);border-radius:50%;border:3px solid #3a2417;background:#f3c99a}.portrait-villager:before{background:#4a7fb5}.dialog-right{flex:1;min-width:0;padding-bottom:8px}.dialog-name{display:inline-block;background:#e58a2f;border:2px solid #3a2417;border-radius:999px;color:#fff;font-size:13px;font-weight:900;padding:2px 14px;margin:0 0 -8px 14px;position:relative;z-index:2;text-shadow:0 1px 0 #6e4210}.dialog-speech{background:#f3e2c0;border:3px solid #5b3a1e;border-radius:16px;padding:14px 14px 8px;min-height:74px}.dialog-text{color:#4a331f;font-size:14px;font-weight:700;line-height:1.35}.dialog-advance{text-align:right;color:#8a6238;font-weight:900;letter-spacing:2px;animation:adv-pulse 1s ease-in-out infinite}@keyframes adv-pulse{0%,to{opacity:.4}50%{opacity:1}}.toast-stack{position:absolute;left:50%;bottom:20%;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;gap:6px;z-index:50;width:max-content;max-width:90%}.toast{background:#f3e2c0;border:2px solid #5b3a1e;border-radius:10px;color:#4a331f;font-size:13px;font-weight:800;padding:6px 14px;animation:toast-in-out 2.4s ease forwards;text-align:center}@keyframes toast-in-out{0%{opacity:0;transform:translateY(8px)}10%,85%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(-8px)}}.influence-toast{position:absolute;left:50%;top:30%;transform:translate(-50%);text-align:center;z-index:55;pointer-events:none;animation:toast-in-out 2.2s ease forwards}.influence-toast:before{content:"Influence";display:block;font-size:20px;font-weight:900;font-style:italic;color:#f8d878;text-shadow:0 2px 0 #5b3a1e,0 0 12px rgba(242,181,60,.8)}.inf-num{font-size:26px;font-weight:900;color:#fff;text-shadow:0 2px 0 #5b3a1e}.inf-delta{font-size:16px;font-weight:900;color:#6fe06a;text-shadow:0 1px 0 #143310}.hero-banner{position:absolute;left:0;right:0;top:34%;padding:14px 0;text-align:center;background:linear-gradient(90deg,transparent,rgba(30,20,12,.9) 18%,rgba(30,20,12,.9) 82%,transparent);border-top:2px solid #f2b53c;border-bottom:2px solid #f2b53c;z-index:55;pointer-events:none;animation:toast-in-out 2.4s ease forwards}.hero-banner-title{font-size:20px;font-weight:900;color:#f8d878;text-shadow:0 2px 0 #5b3a1e}.hero-banner-name{font-size:15px;font-weight:800;color:#f5efe2;margin-top:2px}.modal-scrim{position:absolute;inset:0;background:#0a060399;display:flex;align-items:center;justify-content:center;z-index:70;pointer-events:auto}.modal-card{width:78%;max-width:320px;background:#f3e2c0;border:4px solid #5b3a1e;border-radius:18px;padding:18px 16px 16px;text-align:center}.modal-title{font-size:18px;font-weight:900;color:#4a331f}.modal-sub{font-size:12px;font-weight:700;color:#8a6238;margin-top:4px}.modal-rows{margin:12px 0;display:flex;flex-direction:column;gap:6px}.modal-row{display:flex;align-items:center;gap:8px;background:#5b3a1e1f;border-bottom:2px dashed #d3ab6b;border-radius:8px;padding:6px 10px}.modal-row-label{flex:1;text-align:left;font-size:13px;font-weight:800;color:#4a331f}.modal-row-val{font-size:14px;font-weight:900;color:#2c7a2a}.btn-gold{appearance:none;border:2px solid #8a5a10;border-radius:999px;background:linear-gradient(180deg,#ffd97a,#f2a53c 60%,#e08a20);color:#5b3a0e;font-family:inherit;font-size:16px;font-weight:900;padding:8px 34px;cursor:pointer;box-shadow:inset 0 2px #fff9,0 3px #8a5a10}.btn-gold:active{transform:translateY(2px);box-shadow:inset 0 2px #fff9}.btn-gold:disabled{filter:grayscale(.85) brightness(.8);cursor:not-allowed;transform:none}.build-scrim{background:#0a060373}.build-card{position:relative;width:72%;max-width:280px;background:#f3e2c0;border:4px solid #5b3a1e;border-radius:16px;padding:16px 14px 14px;text-align:center}.build-close{position:absolute;top:-12px;right:-12px;width:32px;height:32px;border-radius:10px;border:2px solid #7a1f18;background:linear-gradient(180deg,#e0554a,#b5271e);color:#fff;font-size:15px;font-weight:900;font-family:inherit;cursor:pointer;transform:rotate(8deg);box-shadow:0 2px #7a1f18}.build-title{font-size:17px;font-weight:900;color:#4a331f}.build-sub{font-size:12px;font-weight:700;color:#8a6238;margin-top:2px}.build-rows{margin:10px 0;display:flex;flex-direction:column;gap:6px}.cost-short{color:#b5271e}.build-btn{margin-top:2px}.build-reason{margin-top:6px;font-size:12px;font-weight:800;color:#b5271e}.celebration{position:absolute;inset:0;z-index:80;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#140c048c;animation:celebration-in .5s ease-out}@keyframes celebration-in{0%{opacity:0}to{opacity:1}}.celebration-burst{position:absolute;width:150vmin;height:150vmin;border-radius:50%;background:repeating-conic-gradient(#ffd97a59 0deg 9deg,#ffd97a00 9deg 18deg),radial-gradient(circle,rgba(255,217,122,.9),rgba(242,165,60,.4) 35%,transparent 65%);animation:burst-spin 9s linear infinite,burst-pop .7s ease-out;pointer-events:none}@keyframes burst-spin{to{transform:rotate(360deg)}}@keyframes burst-pop{0%{scale:.2;opacity:0}to{scale:1;opacity:1}}.celebration-title{position:relative;font-size:34px;font-weight:900;color:#ffd97a;text-shadow:0 3px 0 #5b3a1e,0 0 18px rgba(242,181,60,.9);animation:burst-pop .6s ease-out}.celebration-sub{position:relative;margin-top:8px;font-size:14px;font-weight:800;color:#f5efe2;text-shadow:0 1px 0 #2a1c10}.settings-gear{position:absolute;top:calc(56px + env(safe-area-inset-top));left:8px;width:34px;height:34px;border-radius:50%;border:2px solid #5b3a1e;background:linear-gradient(180deg,#7a5a38,#4a331f);color:#f0e0c0;font-size:17px;line-height:1;cursor:pointer;box-shadow:0 2px #2a1c10;pointer-events:auto}.settings-gear:active{transform:translateY(1px);box-shadow:none}.settings-card .btn-danger{appearance:none;border:2px solid #7a1f18;border-radius:999px;background:linear-gradient(180deg,#f07a5a,#d4432f 60%,#b02a1c);color:#fff1e8;font-family:inherit;font-size:15px;font-weight:900;padding:8px 26px;cursor:pointer;box-shadow:inset 0 2px #ffffff59,0 3px #7a1f18;margin-bottom:10px}.settings-card .btn-danger:active{transform:translateY(2px);box-shadow:inset 0 2px #ffffff59}.stage-card{position:relative;width:80%;max-width:320px;background:#f3e2c0;border:4px solid #5b3a1e;border-radius:16px;padding:26px 14px 16px;text-align:center}.stage-ribbon{position:absolute;top:-16px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;white-space:nowrap;background:linear-gradient(180deg,#e0554a,#b5271e);border:2px solid #7a1f18;border-radius:10px;padding:5px 16px;box-shadow:0 2px #7a1f18}.stage-ribbon-name{color:#fff;font-size:15px;font-weight:900;text-shadow:0 1px 0 #7a1f18}.stage-ribbon-id{color:#ffd97a;font-size:12px;font-weight:900;background:#7a1f18b3;border-radius:999px;padding:1px 8px}.stage-lineup{display:flex;justify-content:center;gap:6px;margin:10px 0 8px;flex-wrap:wrap}.stage-chip{width:48px;border:2px solid #5b3a1e;border-radius:10px;background:#e8d3a8;padding:3px 2px 2px}.stage-chip-img{width:30px;height:40px;object-fit:contain;image-rendering:auto;display:block;margin:0 auto}.stage-chip-fallback{width:26px;height:34px;margin:3px auto;border-radius:12px;border:2px solid #3a2417;background:#d9d4c5}.stage-chip-lv{font-size:10px;font-weight:900;color:#f5efe2;background:#7a5230;border-radius:6px;margin-top:2px}.stage-power-banner{background:linear-gradient(180deg,#d4432f,#a12318);border:2px solid #7a1f18;border-radius:10px;color:#fff;font-size:15px;font-weight:900;text-shadow:0 1px 0 #7a1f18;padding:6px 0;margin:4px 0 10px}.stage-section-label{font-size:11px;font-weight:900;letter-spacing:.6px;text-transform:uppercase;color:#8a6238}.stage-loot-row{display:flex;justify-content:center;gap:8px;margin:6px 0}.stage-loot-tile{display:flex;align-items:center;gap:5px;background:#5b3a1e1f;border:2px solid #d3ab6b;border-radius:8px;padding:4px 9px;font-size:13px;font-weight:900;color:#4a331f}.stage-rate-row{display:flex;justify-content:center;gap:6px;margin-bottom:10px;flex-wrap:wrap}.stage-rate-pill{background:linear-gradient(180deg,#6fcf6a,#3f9a3c);border:2px solid #2c7a2a;border-radius:999px;color:#fff;font-size:12px;font-weight:900;text-shadow:0 1px 0 #205a1e;padding:3px 10px}.stage-my-power{display:flex;align-items:center;justify-content:center;gap:6px;margin-bottom:10px}.stage-my-power-text{color:#2456a8;font-size:14px;font-weight:900}.btn-blue{appearance:none;border:2px solid #163a78;border-radius:999px;background:linear-gradient(180deg,#6aa8f0,#2f6ac4 60%,#2456a8);color:#f0f6ff;font-family:inherit;font-size:17px;font-weight:900;text-shadow:0 1px 0 #163a78;padding:9px 40px;cursor:pointer;box-shadow:inset 0 2px #ffffff73,0 3px #163a78}.btn-blue:active{transform:translateY(2px);box-shadow:inset 0 2px #ffffff73}#ui-root.battle-mode>:not(.battle-layer){display:none!important}.battle-layer{position:absolute;inset:0;pointer-events:none;z-index:90}.vs-splash{position:absolute;inset:0;pointer-events:auto;animation:celebration-in .25s ease-out}.vs-half{position:absolute;left:0;right:0;height:52%;display:flex;align-items:center;justify-content:center;gap:16px}.vs-att{top:0;background:linear-gradient(180deg,#7a1f18,#c23a2c);clip-path:polygon(0 0,100% 0,100% 88%,92% 94%,84% 89%,76% 95%,68% 90%,60% 96%,52% 90%,44% 95%,36% 89%,28% 95%,20% 90%,12% 95%,4% 90%,0 94%)}.vs-def{bottom:0;background:linear-gradient(0deg,#163a78,#2f6ac4);clip-path:polygon(0 100%,100% 100%,100% 12%,92% 6%,84% 11%,76% 5%,68% 10%,60% 4%,52% 10%,44% 5%,36% 11%,28% 5%,20% 10%,12% 5%,4% 10%,0 6%)}.vs-seam{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);z-index:2;font-size:52px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.6));animation:burst-pop .4s ease-out}.vs-portrait{width:84px;height:104px;border-radius:14px;border:3px solid rgba(255,255,255,.75);background:#00000040;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}.vs-portrait-img{width:64px;height:90px;object-fit:contain}.vs-meta{text-align:left}.vs-name{color:#fff;font-size:19px;font-weight:900;text-shadow:0 2px 0 rgba(0,0,0,.45)}.vs-power{display:flex;align-items:center;gap:6px;margin-top:4px}.vs-power-num{color:#ffd97a;font-size:22px;font-weight:900;text-shadow:0 2px 0 rgba(0,0,0,.45)}.battle-outcome{position:absolute;inset:0;pointer-events:auto;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#140c048c;animation:celebration-in .35s ease-out;overflow:hidden}.outcome-ribbon{position:relative;font-size:40px;font-weight:900;padding:10px 42px;border-radius:14px;animation:burst-pop .45s ease-out}.ribbon-win{color:#ffd97a;background:linear-gradient(180deg,#e0554a,#a12318);border:3px solid #7a1f18;box-shadow:0 4px #7a1f18;text-shadow:0 3px 0 #7a1f18,0 0 18px rgba(255,217,122,.8)}.ribbon-lose{color:#d8d8d8;background:linear-gradient(180deg,#6e6e76,#45454c);border:3px solid #2c2c31;box-shadow:0 4px #2c2c31;text-shadow:0 3px 0 #2c2c31}.outcome-sub{color:#e8dcc4;font-size:14px;font-weight:800;text-shadow:0 1px 0 #2a1c10}.outcome-loot{display:flex;gap:10px}.outcome-loot-tile{display:flex;align-items:center;gap:6px;background:#f3e2c0;border:3px solid #2f6ac4;border-radius:10px;padding:8px 12px;font-size:16px;font-weight:900;color:#2c7a2a;opacity:0;animation:loot-fly-in .5s cubic-bezier(.2,1.4,.4,1) forwards}@keyframes loot-fly-in{0%{opacity:0;transform:translateY(60px) scale(.4)}to{opacity:1;transform:translateY(0) scale(1)}}.outcome-tap{color:#f5efe2;font-size:13px;font-weight:800;letter-spacing:.5px;text-shadow:0 1px 0 #2a1c10;animation:adv-pulse 1.2s ease-in-out infinite}.confetti{position:absolute;top:-14px;width:8px;height:14px;border-radius:2px;animation:confetti-fall linear forwards}@keyframes confetti-fall{0%{transform:translateY(0) rotate(0);opacity:1}to{transform:translateY(110vh) rotate(540deg);opacity:.7}}.chat-tag{display:inline-block;font-size:10px;font-weight:900;letter-spacing:.4px;color:#e8d8b8;background:#2a1c10c7;border:1px solid rgba(240,224,192,.35);border-radius:999px;padding:2px 8px;margin-bottom:3px;text-transform:uppercase}.dialog-portrait.has-art{background-size:contain;background-position:center bottom;background-repeat:no-repeat;background-color:transparent}.dialog-portrait.has-art:before,.dialog-portrait.has-art:after{content:none}.hero-banner-art{width:96px;height:96px;margin:6px auto 0;background-size:contain;background-position:center;background-repeat:no-repeat;filter:drop-shadow(0 3px 4px rgba(23,17,11,.5))}.title-screen{position:absolute;inset:0;z-index:5000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px;padding:24px 18px calc(18px + env(safe-area-inset-bottom));background:radial-gradient(ellipse 90% 55% at 50% 30%,#4a3520 0%,transparent 70%),linear-gradient(180deg,#241a12,#17110b 60%,#100b07);overflow:hidden;transition:opacity .6s ease}.title-screen.title-leaving{opacity:0;pointer-events:none}.title-glow{position:absolute;top:12%;left:50%;width:320px;height:320px;transform:translate(-50%);background:radial-gradient(circle,rgba(242,181,60,.22) 0%,transparent 65%);pointer-events:none}.title-cast{display:flex;align-items:flex-end;justify-content:center;height:208px}.title-duck{background-size:contain;background-position:center bottom;background-repeat:no-repeat;filter:drop-shadow(0 6px 10px rgba(0,0,0,.55))}.duck-main{width:196px;height:198px;margin:0 -10px;z-index:1;animation:duck-bob 2.6s ease-in-out infinite}.duck-side{width:92px;height:102px;opacity:.92}.duck-left{transform:rotate(-4deg)}.duck-right{transform:rotate(4deg)}@keyframes duck-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-7px)}}.title-wordmark{margin:2px 0 0;font-family:system-ui,-apple-system,sans-serif;font-size:44px;font-weight:900;letter-spacing:3px;color:#ffd97a;text-shadow:0 2px 0 #8a5a10,0 4px 0 #5b3a0e,0 7px 14px rgba(0,0,0,.6)}.title-tagline{font-size:14px;font-weight:700;color:#d8c8a8;opacity:.85;margin-bottom:8px}.title-slots{display:flex;flex-direction:column;gap:9px;width:min(320px,86%)}.slot-card{appearance:none;text-align:left;border:2px solid #5b3a1e;border-radius:14px;background:linear-gradient(180deg,#f7ecd2,#ecd9b4);padding:10px 14px;cursor:pointer;box-shadow:0 3px #3a2417;font-family:inherit}.slot-card:active{transform:translateY(2px);box-shadow:none}.slot-name{font-size:11px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#8a6a42}.slot-line{font-size:16px;font-weight:900;color:#4a331f;margin-top:1px}.slot-line.slot-new{color:#2e7d32}.slot-sub{font-size:12px;font-weight:700;color:#8a6a42;margin-top:1px}.title-version{position:absolute;bottom:calc(8px + env(safe-area-inset-bottom));font-size:11px;font-weight:700;color:#9a8768;opacity:.75}.settings-meta{font-family:ui-monospace,monospace;font-size:12px}.cloud-section{width:100%;border-top:2px solid #d9c294;margin-top:10px;padding-top:8px;text-align:left}.cloud-title{font-size:12px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#8a6a42;margin-bottom:6px}.cloud-body{display:flex;flex-direction:column;gap:7px}.cloud-hint{font-size:12px;font-weight:700;color:#8a6a42;line-height:1.35}.cloud-sent{color:#4a331f}.cloud-error{font-size:12px;font-weight:800;color:#a33a2a;min-height:0}.cloud-error:empty{display:none}.cloud-input{appearance:none;font-family:inherit;font-size:15px;font-weight:700;color:#4a331f;background:#fff7e6;border:2px solid #b99668;border-radius:10px;padding:8px 10px;width:100%;box-sizing:border-box}.cloud-input:focus{outline:none;border-color:#8a6a42}.cloud-code{letter-spacing:8px;text-align:center;font-size:20px;font-weight:900}.cloud-btn{width:100%}.cloud-link{appearance:none;background:none;border:none;padding:2px 0;font-family:inherit;font-size:12px;font-weight:800;color:#7a5a32;text-decoration:underline;cursor:pointer;align-self:flex-start}.cloud-link:disabled{opacity:.5}.cloud-status{font-size:13px;font-weight:900;color:#2e6b34}.cloud-rows{display:flex;flex-direction:column;gap:8px}.cloud-slot-row{border:2px solid #d9c294;border-radius:10px;background:#fbf3dd;padding:7px 9px}.cloud-slot-head{display:flex;align-items:center;justify-content:space-between}.cloud-slot-name{font-size:12px;font-weight:900;letter-spacing:1px;text-transform:uppercase;color:#8a6a42}.cloud-sync-badge{font-size:11px;font-weight:900;color:#2e6b34}.cloud-slot-cols{display:flex;gap:10px;margin:4px 0 6px}.cloud-col{flex:1 1 0;min-width:0;display:flex;flex-direction:column}.cloud-col-label{font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.5px;color:#b09468}.cloud-col-val{font-size:12px;font-weight:800;color:#4a331f;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cloud-slot-btns{display:flex;gap:8px}.cloud-mini-btn{appearance:none;flex:1 1 0;font-family:inherit;font-size:12px;font-weight:900;color:#4a331f;background:linear-gradient(180deg,#f3dfae,#e2c581);border:2px solid #a97e3f;border-radius:9px;padding:6px 4px;cursor:pointer;box-shadow:0 2px #7a5a24}.cloud-mini-btn:active{transform:translateY(2px);box-shadow:none}.cloud-mini-btn:disabled{opacity:.45;cursor:default;box-shadow:none;transform:none}.ui-ico{display:inline-block;width:18px;height:18px;flex:none;vertical-align:middle;background:center / contain no-repeat;filter:drop-shadow(0 1px 0 rgba(0,0,0,.45))}.ico-mug{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M33%2019%20h4%20a6%206%200%200%201%200%2014%20h-4'%20fill='none'%20stroke='%232a1c10'%20stroke-width='6.5'/%3e%3cpath%20d='M33%2019%20h4%20a6%206%200%200%201%200%2014%20h-4'%20fill='none'%20stroke='%23b9844c'%20stroke-width='2.5'/%3e%3crect%20x='10'%20y='15'%20width='24'%20height='28'%20rx='4'%20fill='%23b9844c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='13'%20y='20'%20width='18'%20height='20'%20rx='2'%20fill='%23f2b53c'/%3e%3cpath%20d='M17%2022%20v15'%20stroke='%23ffe39a'%20stroke-width='2.6'%20stroke-linecap='round'/%3e%3cpath%20d='M9%2017%20a5%205%200%200%201%205%20-7%20a6%206%200%200%201%2010%20-2%20a6%206%200%200%201%2010%203%20a4%204%200%200%201%201%208%20Z'%20fill='%23fff7e6'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/svg%3e")}.ico-gear{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M42.84,21.54%20L42.84,26.46%20L38.00,27.77%20L36.56,31.24%20L39.06,35.58%20L35.58,39.06%20L31.24,36.56%20L27.77,38.00%20L26.46,42.84%20L21.54,42.84%20L20.23,38.00%20L16.76,36.56%20L12.42,39.06%20L8.94,35.58%20L11.44,31.24%20L10.00,27.77%20L5.16,26.46%20L5.16,21.54%20L10.00,20.23%20L11.44,16.76%20L8.94,12.42%20L12.42,8.94%20L16.76,11.44%20L20.23,10.00%20L21.54,5.16%20L26.46,5.16%20L27.77,10.00%20L31.24,11.44%20L35.58,8.94%20L39.06,12.42%20L36.56,16.76%20L38.00,20.23%20Z'%20fill='%23e0a64a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='24'%20cy='24'%20r='10'%20fill='%23c7862f'/%3e%3ccircle%20cx='24'%20cy='24'%20r='5.5'%20fill='%235b3a1e'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M16%2017%20a11%2011%200%200%201%208%20-3.5'%20fill='none'%20stroke='%23ffe0a0'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e")}.ico-heroes{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M24%209%20C%2030%202,%2040%204,%2042%2012%20C%2036%209,%2031%2010,%2028%2013%20Z'%20fill='%23e8743a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M10%2040%20V24%20a14%2014%200%200%201%2028%200%20V40%20a4%204%200%200%201%20-4%204%20H14%20a4%204%200%200%201%20-4%20-4%20Z'%20fill='%23b8c2cd'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M24%2012%20a12%2012%200%200%201%2012%2012%20V40%20H24%20Z'%20fill='%238f9aa6'/%3e%3cpath%20d='M10%2040%20V24%20a14%2014%200%200%201%2028%200%20V40%20a4%204%200%200%201%20-4%204%20H14%20a4%204%200%200%201%20-4%20-4%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M14%2027%20H34'%20stroke='%232a1c10'%20stroke-width='4.5'%20stroke-linecap='round'/%3e%3cpath%20d='M24%2031%20V42'%20stroke='%232a1c10'%20stroke-width='2.2'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2019%20a10%2010%200%200%201%206%20-4.5'%20fill='none'%20stroke='%23ffffff'%20stroke-width='2.4'%20stroke-linecap='round'%20opacity='.85'/%3e%3c/svg%3e")}.ico-swords{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cg%20transform='rotate(-40%2024%2024)'%3e%3cpath%20d='M24%202%20L28%207%20L28%2029%20L20%2029%20L20%207%20Z'%20fill='%23dfe6ee'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M24%205%20V28%20L28%2028%20L28%207%20Z'%20fill='%23a9b4c0'/%3e%3cpath%20d='M24%202%20L28%207%20L28%2029%20L20%2029%20L20%207%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M22%209%20V26'%20stroke='%23ffffff'%20stroke-width='1.8'%20stroke-linecap='round'/%3e%3crect%20x='14'%20y='29'%20width='20'%20height='5.5'%20rx='2.7'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='21.5'%20y='34.5'%20width='5'%20height='7'%20fill='%238a5a2b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='24'%20cy='43.5'%20r='3'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/g%3e%3cg%20transform='rotate(40%2024%2024)'%3e%3cpath%20d='M24%202%20L28%207%20L28%2029%20L20%2029%20L20%207%20Z'%20fill='%23dfe6ee'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M24%205%20V28%20L28%2028%20L28%207%20Z'%20fill='%23a9b4c0'/%3e%3cpath%20d='M24%202%20L28%207%20L28%2029%20L20%2029%20L20%207%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M22%209%20V26'%20stroke='%23ffffff'%20stroke-width='1.8'%20stroke-linecap='round'/%3e%3crect%20x='14'%20y='29'%20width='20'%20height='5.5'%20rx='2.7'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='21.5'%20y='34.5'%20width='5'%20height='7'%20fill='%238a5a2b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='24'%20cy='43.5'%20r='3'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/g%3e%3c/svg%3e")}.ico-cloud{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M12%2038%20a8%208%200%200%201%20-1%20-16%20a11%2011%200%200%201%2021%20-4%20a9%209%200%200%201%205%2020%20Z'%20fill='%23dff1ff'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2024%20a7%207%200%200%201%207%20-6'%20fill='none'%20stroke='%23fff'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e")}.res-ico{width:22px;height:22px;border:none;border-radius:0;background:center / contain no-repeat;filter:drop-shadow(0 1px 0 rgba(0,0,0,.5))}.res-meat{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M26%2026%20L37%2037'%20stroke='%232a1c10'%20stroke-width='9'%20stroke-linecap='round'/%3e%3cpath%20d='M26%2026%20L37%2037'%20stroke='%23f5efe2'%20stroke-width='4.5'%20stroke-linecap='round'/%3e%3ccircle%20cx='40.5'%20cy='35'%20r='4.2'%20fill='%23f5efe2'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='35'%20cy='40.5'%20r='4.2'%20fill='%23f5efe2'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cellipse%20cx='19'%20cy='19'%20rx='14'%20ry='11.5'%20transform='rotate(-45%2019%2019)'%20fill='%23d9546e'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cellipse%20cx='21'%20cy='22'%20rx='8'%20ry='5'%20transform='rotate(-45%2021%2022)'%20fill='%23b23a55'/%3e%3cellipse%20cx='15'%20cy='14'%20rx='5.5'%20ry='3'%20transform='rotate(-45%2015%2014)'%20fill='%23f59bb0'/%3e%3cellipse%20cx='19'%20cy='19'%20rx='14'%20ry='11.5'%20transform='rotate(-45%2019%2019)'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/svg%3e")}.res-wood{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3crect%20x='5'%20y='25'%20width='32'%20height='14'%20rx='7'%20fill='%239a6233'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M9%2030%20h18'%20stroke='%237a4a22'%20stroke-width='2'%20stroke-linecap='round'/%3e%3ccircle%20cx='37'%20cy='32'%20r='7'%20fill='%23e7bb82'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='37'%20cy='32'%20r='3.6'%20fill='none'%20stroke='%23b9844c'%20stroke-width='1.8'/%3e%3crect%20x='11'%20y='10'%20width='28'%20height='14'%20rx='7'%20fill='%23ad7040'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2014%20h14'%20stroke='%23d09a62'%20stroke-width='2'%20stroke-linecap='round'/%3e%3ccircle%20cx='39'%20cy='17'%20r='7'%20fill='%23e7bb82'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='39'%20cy='17'%20r='3.6'%20fill='none'%20stroke='%23b9844c'%20stroke-width='1.8'/%3e%3c/svg%3e")}.res-stone{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M6%2036%20L10%2020%20L20%2010%20L33%2011%20L42%2022%20L43%2036%20L34%2042%20L14%2042%20Z'%20fill='%23a3abb6'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M10%2020%20L20%2010%20L27%2011%20L20%2022%20Z'%20fill='%23d3d9e0'/%3e%3cpath%20d='M43%2036%20L34%2042%20L14%2042%20L22%2034%20L42%2030%20Z'%20fill='%237f8894'/%3e%3cpath%20d='M6%2036%20L10%2020%20L20%2010%20L33%2011%20L42%2022%20L43%2036%20L34%2042%20L14%2042%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M20%2022%20L27%2028%20L25%2036%20M27%2028%20L36%2025'%20fill='none'%20stroke='%232a1c10'%20stroke-width='1.8'%20stroke-linecap='round'%20opacity='.7'/%3e%3c/svg%3e")}.res-ruby{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M15.6,8%20L32.4,8%20L39.0,18.2%20L24,42%20L9.0,18.2%20Z'%20fill='%23e0364b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M15.6,8%20L20.4,18.2%20L9.0,18.2%20Z'%20fill='%23ff8392'/%3e%3cpath%20d='M20.4,18.2%20L27.6,18.2%20L24,42%20Z'%20fill='%23ff8392'%20opacity='.55'/%3e%3cpath%20d='M32.4,8%20L39.0,18.2%20L27.6,18.2%20Z'%20fill='%23a3192d'/%3e%3cpath%20d='M27.6,18.2%20L39.0,18.2%20L24,42%20Z'%20fill='%23a3192d'/%3e%3cpath%20d='M15.6,8%20L32.4,8%20L39.0,18.2%20L24,42%20L9.0,18.2%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M9.0,18.2%20L39.0,18.2%20M20.4,18.2%20L24,42%20M27.6,18.2%20L24,42'%20fill='none'%20stroke='%232a1c10'%20stroke-width='1.4'%20opacity='.55'/%3e%3cpath%20d='M17.6,11%20l4,0'%20stroke='%23fff'%20stroke-width='2.4'%20stroke-linecap='round'%20opacity='.9'/%3e%3c/svg%3e")}.res-diamond{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M13.36,11%20L34.64,11%20L43.0,19.4%20L24,39%20L5.0,19.4%20Z'%20fill='%233fa9f5'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M13.36,11%20L19.44,19.4%20L5.0,19.4%20Z'%20fill='%23b5e6ff'/%3e%3cpath%20d='M19.44,19.4%20L28.56,19.4%20L24,39%20Z'%20fill='%23b5e6ff'%20opacity='.55'/%3e%3cpath%20d='M34.64,11%20L43.0,19.4%20L28.56,19.4%20Z'%20fill='%231f6fb8'/%3e%3cpath%20d='M28.56,19.4%20L43.0,19.4%20L24,39%20Z'%20fill='%231f6fb8'/%3e%3cpath%20d='M13.36,11%20L34.64,11%20L43.0,19.4%20L24,39%20L5.0,19.4%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M5.0,19.4%20L43.0,19.4%20M19.44,19.4%20L24,39%20M28.56,19.4%20L24,39'%20fill='none'%20stroke='%232a1c10'%20stroke-width='1.4'%20opacity='.55'/%3e%3cpath%20d='M15.36,14%20l4,0'%20stroke='%23fff'%20stroke-width='2.4'%20stroke-linecap='round'%20opacity='.9'/%3e%3c/svg%3e")}.res-val{font-size:14px}.chip-castle{width:22px;height:22px;border:none;clip-path:none;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M8%2042%20V18%20h6%20v5%20h5%20v-5%20h10%20v5%20h5%20v-5%20h6%20V42%20Z'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2042%20V30%20H40%20V42%20Z'%20fill='%23d9952a'/%3e%3cpath%20d='M8%2042%20V18%20h6%20v5%20h5%20v-5%20h10%20v5%20h5%20v-5%20h6%20V42%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M19%2042%20v-8%20a5%205%200%200%201%2010%200%20v8%20Z'%20fill='%232a1c10'/%3e%3cpath%20d='M24%2018%20V5'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M24%205%20L34%208.5%20L24%2012%20Z'%20fill='%23d8394b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M11%2021%20v6'%20stroke='%23ffe39a'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e") center / contain no-repeat;filter:drop-shadow(0 1px 0 rgba(0,0,0,.5))}.chip-power{width:22px;height:22px}.qc-icon{width:38px;height:38px;border-radius:10px;border:2px solid #2a1c10;background:linear-gradient(180deg,#f6e7c6,#d9bf8c);box-shadow:inset 0 -3px #7a523059}.qc-icon:after{inset:4px;border:none;border-radius:0;background:center / contain no-repeat}.icon-skeleton:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M8%2022%20a16%2016%200%200%201%2032%200%20c0%206%20-3%209%20-6%2010%20v6%20a3%203%200%200%201%20-3%203%20H17%20a3%203%200%200%201%20-3%20-3%20v-6%20c-3%20-1%20-6%20-4%20-6%20-10%20Z'%20fill='%23eae3cf'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cellipse%20cx='17'%20cy='23'%20rx='4.8'%20ry='5.2'%20fill='%232a1c10'/%3e%3cellipse%20cx='31'%20cy='23'%20rx='4.8'%20ry='5.2'%20fill='%232a1c10'/%3e%3ccircle%20cx='17'%20cy='24'%20r='1.9'%20fill='%236cf28a'/%3e%3ccircle%20cx='31'%20cy='24'%20r='1.9'%20fill='%236cf28a'/%3e%3cpath%20d='M24%2029%20l-2.5%204%20h5%20Z'%20fill='%232a1c10'/%3e%3cpath%20d='M19.5%2036%20v5%20M24%2036%20v5%20M28.5%2036%20v5'%20stroke='%232a1c10'%20stroke-width='1.8'/%3e%3cpath%20d='M13%2013%20a12%2012%200%200%201%207%20-4'%20fill='none'%20stroke='%23fff'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e")}.icon-raider:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M12%2020%20L4%206%20L15%2015%20Z'%20fill='%23efe4c8'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M36%2020%20L44%206%20L33%2015%20Z'%20fill='%23efe4c8'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M9%2030%20a15%2015%200%200%201%2030%200%20V38%20a4%204%200%200%201%20-4%204%20H13%20a4%204%200%200%201%20-4%20-4%20Z'%20fill='%237d8794'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='12'%20y='27'%20width='24'%20height='8'%20rx='3'%20fill='%232a1c10'/%3e%3crect%20x='14.5'%20y='30'%20width='7'%20height='2.4'%20fill='%23ff4d3d'/%3e%3crect%20x='26.5'%20y='30'%20width='7'%20height='2.4'%20fill='%23ff4d3d'/%3e%3crect%20x='22.3'%20y='24'%20width='3.4'%20height='14'%20fill='%235d6570'/%3e%3cpath%20d='M15%2021%20a11%2011%200%200%201%206%20-4'%20fill='none'%20stroke='%23c6ced8'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e")}.icon-meat:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M26%2026%20L37%2037'%20stroke='%232a1c10'%20stroke-width='9'%20stroke-linecap='round'/%3e%3cpath%20d='M26%2026%20L37%2037'%20stroke='%23f5efe2'%20stroke-width='4.5'%20stroke-linecap='round'/%3e%3ccircle%20cx='40.5'%20cy='35'%20r='4.2'%20fill='%23f5efe2'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='35'%20cy='40.5'%20r='4.2'%20fill='%23f5efe2'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cellipse%20cx='19'%20cy='19'%20rx='14'%20ry='11.5'%20transform='rotate(-45%2019%2019)'%20fill='%23d9546e'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cellipse%20cx='21'%20cy='22'%20rx='8'%20ry='5'%20transform='rotate(-45%2021%2022)'%20fill='%23b23a55'/%3e%3cellipse%20cx='15'%20cy='14'%20rx='5.5'%20ry='3'%20transform='rotate(-45%2015%2014)'%20fill='%23f59bb0'/%3e%3cellipse%20cx='19'%20cy='19'%20rx='14'%20ry='11.5'%20transform='rotate(-45%2019%2019)'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/svg%3e")}.icon-log:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3crect%20x='5'%20y='25'%20width='32'%20height='14'%20rx='7'%20fill='%239a6233'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M9%2030%20h18'%20stroke='%237a4a22'%20stroke-width='2'%20stroke-linecap='round'/%3e%3ccircle%20cx='37'%20cy='32'%20r='7'%20fill='%23e7bb82'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='37'%20cy='32'%20r='3.6'%20fill='none'%20stroke='%23b9844c'%20stroke-width='1.8'/%3e%3crect%20x='11'%20y='10'%20width='28'%20height='14'%20rx='7'%20fill='%23ad7040'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2014%20h14'%20stroke='%23d09a62'%20stroke-width='2'%20stroke-linecap='round'/%3e%3ccircle%20cx='39'%20cy='17'%20r='7'%20fill='%23e7bb82'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='39'%20cy='17'%20r='3.6'%20fill='none'%20stroke='%23b9844c'%20stroke-width='1.8'/%3e%3c/svg%3e");border-radius:0}.icon-archer:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M14%206%20C%2036%2010,%2036%2038,%2014%2042'%20fill='none'%20stroke='%232a1c10'%20stroke-width='7'%20stroke-linecap='round'/%3e%3cpath%20d='M14%206%20C%2036%2010,%2036%2038,%2014%2042'%20fill='none'%20stroke='%23a8743d'%20stroke-width='3.2'%20stroke-linecap='round'/%3e%3cpath%20d='M14%206%20V42'%20stroke='%23f5efe2'%20stroke-width='1.6'/%3e%3cpath%20d='M6%2024%20H40'%20stroke='%232a1c10'%20stroke-width='5'%20stroke-linecap='round'/%3e%3cpath%20d='M6%2024%20H40'%20stroke='%23dfe6ee'%20stroke-width='2'/%3e%3cpath%20d='M44%2024%20L37%2019.5%20V28.5%20Z'%20fill='%23dfe6ee'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M4%2020%20L9%2024%20L4%2028%20M8%2020%20L13%2024%20L8%2028'%20fill='none'%20stroke='%237ad35a'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e")}.icon-villager:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cellipse%20cx='24'%20cy='29'%20rx='13'%20ry='12'%20fill='%23ffd23f'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M9%2031%20C%204%2031,%203%2036,%209%2037%20L17%2035%20Z'%20fill='%23f59a23'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3ccircle%20cx='21'%20cy='27'%20r='2.3'%20fill='%232a1c10'/%3e%3cellipse%20cx='24'%20cy='16'%20rx='20'%20ry='4.5'%20fill='%23e8c46a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M14%2016%20C%2014%205,%2034%205,%2034%2016%20Z'%20fill='%23e8c46a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M14.5%2013%20H33.5'%20stroke='%23d8394b'%20stroke-width='3'/%3e%3c/svg%3e")}.icon-ranch:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M6%2022%20L24%208%20L42%2022%20Z'%20fill='%23c0392b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='9'%20y='22'%20width='30'%20height='20'%20fill='%23d6a15d'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='18'%20y='28'%20width='12'%20height='14'%20fill='%237a3d2a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M18%2028%20L30%2042%20M30%2028%20L18%2042'%20stroke='%23f5efe2'%20stroke-width='2'/%3e%3cpath%20d='M13%2016%20L24%208'%20stroke='%23f08a7c'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e");border-radius:0}.icon-castle:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3cpath%20d='M8%2042%20V18%20h6%20v5%20h5%20v-5%20h10%20v5%20h5%20v-5%20h6%20V42%20Z'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M8%2042%20V30%20H40%20V42%20Z'%20fill='%23d9952a'/%3e%3cpath%20d='M8%2042%20V18%20h6%20v5%20h5%20v-5%20h10%20v5%20h5%20v-5%20h6%20V42%20Z'%20fill='none'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M19%2042%20v-8%20a5%205%200%200%201%2010%200%20v8%20Z'%20fill='%232a1c10'/%3e%3cpath%20d='M24%2018%20V5'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linecap='round'/%3e%3cpath%20d='M24%205%20L34%208.5%20L24%2012%20Z'%20fill='%23d8394b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M11%2021%20v6'%20stroke='%23ffe39a'%20stroke-width='2.4'%20stroke-linecap='round'/%3e%3c/svg%3e");border-radius:0}.icon-quest:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3crect%20x='10'%20y='9'%20width='28'%20height='30'%20rx='2'%20fill='%23f3e2c0'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='7'%20y='5'%20width='34'%20height='7'%20rx='3.5'%20fill='%23d2b27a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3crect%20x='7'%20y='36'%20width='34'%20height='7'%20rx='3.5'%20fill='%23d2b27a'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2018%20H33%20M15%2024%20H33%20M15%2030%20H26'%20stroke='%238a6238'%20stroke-width='2.6'%20stroke-linecap='round'/%3e%3cpath%20d='M36%2026%20l2.2%204.6%205%20.7%20-3.6%203.5%20.9%205%20-4.5%20-2.4%20-4.5%202.4%20.9%20-5%20-3.6%20-3.5%205%20-.7%20Z'%20fill='%23f2b53c'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3c/svg%3e")}.icon-done:after{background-image:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3ccircle%20cx='24'%20cy='24'%20r='18'%20fill='%2353c94f'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M24%206%20a18%2018%200%200%201%2017%2012'%20fill='none'%20stroke='%239af28f'%20stroke-width='2.6'%20stroke-linecap='round'/%3e%3cpath%20d='M15%2024.5%20L21.5%2031%20L34%2017.5'%20fill='none'%20stroke='%232a1c10'%20stroke-width='7'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M15%2024.5%20L21.5%2031%20L34%2017.5'%20fill='none'%20stroke='%23ffffff'%20stroke-width='3.4'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e")}.settings-gear,.hud-heroes-btn{display:flex;align-items:center;justify-content:center;width:40px;height:40px;padding:0;border-radius:50%;border:2px solid #2a1c10;background:radial-gradient(circle at 35% 30%,#8a6a44,#4a331f 70%);box-shadow:0 3px #2a1c10,inset 0 2px #ffe6b440;cursor:pointer;pointer-events:auto}.settings-gear{top:calc(84px + env(safe-area-inset-top))}.settings-gear .ui-ico{width:26px;height:26px}.hud-heroes-btn{position:absolute;top:calc(134px + env(safe-area-inset-top));left:4px;width:48px;height:48px;flex-direction:column;gap:0;background:radial-gradient(circle at 35% 30%,#d9a54a,#8a5a1c 72%)}.hud-heroes-btn .ui-ico{width:28px;height:28px;margin-top:2px}.hud-heroes-label{position:absolute;bottom:-9px;left:50%;transform:translate(-50%);font-size:10px;font-weight:900;color:#fff4d6;background:#2a1c10;border-radius:6px;padding:0 5px;letter-spacing:.3px}.hud-heroes-btn:active,.settings-gear:active{transform:translateY(1px);box-shadow:0 1px #2a1c10}.build-close{width:36px;height:36px;border:none;border-radius:50%;background:url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20viewBox='0%200%2048%2048'%3e%3ccircle%20cx='24'%20cy='24'%20r='18'%20fill='%23c0392b'%20stroke='%232a1c10'%20stroke-width='2.5'%20stroke-linejoin='round'%20stroke-linecap='round'/%3e%3cpath%20d='M24%206%20a18%2018%200%200%201%2017%2012'%20fill='none'%20stroke='%23f08a7c'%20stroke-width='2.6'%20stroke-linecap='round'/%3e%3cpath%20d='M17%2017%20L31%2031%20M31%2017%20L17%2031'%20stroke='%232a1c10'%20stroke-width='7'%20stroke-linecap='round'/%3e%3cpath%20d='M17%2017%20L31%2031%20M31%2017%20L17%2031'%20stroke='%23fff'%20stroke-width='3.4'%20stroke-linecap='round'/%3e%3c/svg%3e") center / contain no-repeat;box-shadow:none;transform:none;filter:drop-shadow(0 2px 0 rgba(42,28,16,.6))}.chat-tag{display:inline-flex;align-items:center;gap:4px}.chat-tag .ui-ico{width:14px;height:14px}.cloud-title{display:flex;align-items:center;gap:6px}.vs-seam.ui-ico{width:76px;height:76px;font-size:0;filter:drop-shadow(0 4px 4px rgba(0,0,0,.6))}.roster-card{position:relative;width:88%;max-width:360px;max-height:82%;overflow-y:auto;background:linear-gradient(180deg,#f6e7c6,#e9d3a6);border:4px solid #5b3a1e;border-radius:18px;box-shadow:0 10px 30px #0000008c,inset 0 0 0 2px #f9efd9;padding:16px 14px 14px;pointer-events:auto}.roster-close{top:8px;right:8px}.roster-head{display:flex;align-items:center;justify-content:center;gap:8px}.roster-head-ico{width:30px;height:30px}.roster-title{font-size:22px;font-weight:900;color:#4a331f;letter-spacing:.5px}.roster-party{display:flex;align-items:center;justify-content:center;gap:6px;margin:6px auto 12px;width:fit-content;padding:3px 12px;border-radius:999px;background:#4a331f;color:#f8d878;font-weight:900;font-size:13px}.roster-list{display:flex;flex-direction:column;gap:10px}.roster-hero{display:flex;gap:12px;align-items:center;padding:8px;border-radius:14px;background:#fffaeeb3;border:2px solid #c9a26a;box-shadow:inset 4px 0 0 var(--ring)}.roster-art{position:relative;width:84px;height:84px;flex:none;border-radius:12px;border:3px solid var(--ring);background:radial-gradient(circle at 50% 65%,#fffaf0,#efe0bd 70%);box-shadow:0 3px #2a1c1059}.roster-art-img{position:absolute;inset:4px;background:center 70% / contain no-repeat}.roster-art-lock{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;font-size:30px;font-weight:900;color:#fff4d6;text-shadow:0 2px 0 #2a1c10}.roster-lv{position:absolute;left:50%;bottom:-9px;transform:translate(-50%);background:#2a1c10;color:#fff4d6;font-size:11px;font-weight:900;border-radius:7px;padding:1px 7px}.roster-info{min-width:0;flex:1;text-align:left}.roster-name{font-size:16px;font-weight:900;color:#3a2417}.roster-role{display:inline-block;margin-top:2px;font-size:10px;font-weight:900;text-transform:uppercase;letter-spacing:.6px;color:#fff;background:var(--ring);border:1px solid #2a1c10;border-radius:6px;padding:0 6px}.roster-stars{display:flex;gap:2px;margin:5px 0 4px}.roster-stars .star{width:13px;height:13px;background:#b9a07a;clip-path:polygon(50% 0,61% 35%,98% 35%,68% 57%,79% 91%,50% 70%,21% 91%,32% 57%,2% 35%,39% 35%)}.roster-stars .star.on{background:#f2b53c}.roster-stats{display:flex;flex-wrap:wrap;gap:6px}.roster-stat{display:inline-flex;align-items:center;gap:3px;font-size:11px;font-weight:800;color:#5b3a1e;background:#5b3a1e1f;border-radius:6px;padding:1px 6px}.roster-stat.power{color:#fff4d6;background:#7a3d2a}.roster-stat .ui-ico{width:13px;height:13px}.roster-hint{font-size:12px;font-weight:700;color:#7a5a38;font-style:italic}.roster-hero.locked{opacity:.85;border-style:dashed}.roster-hero.locked .roster-art-img{filter:brightness(0) opacity(.5)}.roster-foot{margin-top:12px;font-size:11px;font-weight:700;color:#8a6a42;text-align:center}
