.building-realm[data-social=true]{--social-gold:#e1be78;background:#22242b}.building-realm[data-social=true][data-building=embassy]{--room-accent:#418481;background:#1e292d}.building-realm[data-social=true][data-building=market]{--room-accent:#a77248;background:#302529}.building-realm[data-social=true][data-studio=true] .building-hero{background:#36282e;border:0;height:155px;overflow:hidden}.building-realm[data-social=true][data-studio=true] .building-landscape{opacity:1;filter:none;background-image:url(/assets/social-realms-v2-BeXCQvH6.webp);background-position:0 0;background-size:200% 200%;height:290px;top:-30px;bottom:auto}.building-realm[data-social=true][data-studio=true][data-building=market] .building-landscape{background-position:100% 0}.building-realm[data-social=true][data-studio=true] .building-hero:after{background:linear-gradient(#0000 45%,#25242b)}.building-realm[data-social=true] .building-title-ribbon{background:repeating-linear-gradient(2deg,#dfb96808 0 2px,#0000 2px 6px),linear-gradient(#644b38,#352d32);top:12px}.building-realm[data-social=true] .building-level-medal{top:19px;bottom:auto}.building-realm[data-social=true][data-studio=true] .building-content{background:radial-gradient(at top,#6f96771b,#0000 60%);padding:0 16px 20px}.building-realm[data-social=true] .building-service{margin:0}.building-realm[data-social=true] .building-upgrade-overview{margin-top:20px}.alliance-lodge,.market-bazaar{--social-gold:#e1be78;color:#f3e1be;min-width:0;font-size:12px}.alliance-lodge *,.market-bazaar *{box-sizing:border-box}.alliance-lodge :is(input,select),.market-bazaar :is(input,select){color:#ffedc2;width:100%;min-width:0;min-height:44px;font:inherit;background:#18252b;border:1px solid #ad8d5c;border-radius:7px;padding:7px 10px;font-size:15px;box-shadow:inset 0 3px 6px #0b11194d}.market-bazaar :is(input,select){background:#271e25}.alliance-lodge input::placeholder,.market-bazaar input::placeholder{color:#ac9f95}.alliance-lodge :is(button,input,select):focus-visible,.market-bazaar :is(button,input,select):focus-visible{outline-offset:3px;outline:2px solid #ffe5a7}.alliance-lodge button,.market-bazaar button{font:inherit;cursor:pointer}.alliance-lodge button:disabled,.market-bazaar button:disabled{opacity:.45;cursor:default}.alliance-lodge fieldset,.market-bazaar fieldset{border:0;min-width:0;margin:0;padding:0}.alliance-lodge legend{color:#cfb98d;margin:0 0 7px;font-size:11px}.social-section-title{justify-content:space-between;align-items:center;gap:9px;margin-bottom:10px;display:flex}.social-section-title h3{color:#f8dda1;margin:0;font-size:16px}.social-section-title small{color:#bba98d;margin-bottom:4px;font-size:10px;display:block}.social-section-title>svg{color:#d2ac6b;width:22px;height:22px}.social-section-title>span{color:#b6bcaa;font-size:10px}.social-primary,.social-secondary,.social-danger{border-radius:7px;justify-content:center;align-items:center;gap:7px;min-height:44px;padding:8px 12px;display:inline-flex;font-weight:800!important}.social-primary{color:#36281e;background:linear-gradient(#f8dea0,#d1a256 55%,#b9863f);border:1px solid #ffdfa0;width:100%;box-shadow:inset 0 1px #fff4cc,inset 0 0 0 2px #94662c33,0 3px #78522b}.social-secondary{color:#f1d6a2;background:linear-gradient(#53615c,#293d3c);border:1px solid #a79062;box-shadow:inset 0 1px #f9dfaa22,0 2px #141f25}.social-danger{color:#ffe2c5;background:linear-gradient(#764936,#4b2b2c);border:1px solid #ba7863}.social-field-label{color:#deceb2;margin:9px 0 6px;font-size:11px;display:block}.social-amount-control{gap:6px;display:flex}.social-amount-control input{text-align:center;flex:1;font-size:19px}.social-amount-control button{color:#f1d5a2;background:linear-gradient(#61503f,#353335);border:1px solid #a88b58;border-radius:7px;flex:0 0 44px;place-items:center;min-height:44px;display:grid}.social-quick-amounts{flex-wrap:wrap;gap:5px;margin:8px 0 12px;display:flex}.social-quick-amounts button{color:#c9d4bd;background:#203b3940;border:1px solid #aa916444;border-radius:5px;flex:1;min-height:36px;padding:4px 6px;font-size:10px}.social-order-summary{color:#c9b79a;border-top:1px solid #bf9e5638;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;margin:0 0 9px;padding:10px 0;font-size:11px;display:flex}.social-order-summary strong{color:#f5dda4;font-size:13px}.building-sanctum :is(.alliance-lodge,.market-bazaar) .social-footnote,.alliance-lodge .social-footnote,.market-bazaar .social-footnote{color:#baad97;margin:9px 0;font-size:10px;line-height:1.9}.building-sanctum :is(.alliance-lodge,.market-bazaar) .social-warning,.social-warning{color:#f2b695;font-size:11px;line-height:1.9}.building-sanctum :is(.alliance-lodge,.market-bazaar) .social-feedback,.social-feedback{color:#d1edb3;font-size:11px;line-height:1.9}.social-feedback:empty{display:none}.building-sanctum .alliance-lodge .alliance-identity h3,.building-sanctum .alliance-lodge .alliance-introduction h3{font-size:22px}.building-sanctum .social-section-title h3{font-size:16px}.building-sanctum .alliance-candidate h4{font-size:13px}.alliance-crest{clip-path:polygon(50% 0,95% 16%,93% 62%,76% 86%,50% 100%,23% 86%,6% 62%,5% 16%);filter:drop-shadow(0 3px 2px #0007);background:url(/assets/social-realms-v2-BeXCQvH6.webp) 0 100%/200% 200%;flex-shrink:0;width:49px;height:57px;display:block}.alliance-crest[data-variant="1"]{filter:hue-rotate(8deg)}.alliance-crest[data-variant="2"]{filter:hue-rotate(-12deg)}.alliance-crest-large{width:81px;height:94px;margin:0 auto 7px}.alliance-introduction,.alliance-identity{text-align:center;background:repeating-linear-gradient(4deg,#0000 0 7px,#b7c8ac04 8px 9px),radial-gradient(at top,#68878340,#0000 75%),linear-gradient(#293d40,#1b2b30);border:1px solid #b59b64;border-radius:5px 5px 23px 23px;margin-bottom:20px;padding:16px 13px;position:relative;box-shadow:inset 0 0 0 3px #15252b77,0 7px 14px #10151f55}.alliance-introduction>small,.alliance-identity>small{color:#c6b381;font-size:10px;display:block}.alliance-introduction h3,.alliance-identity h3{color:#ffe0a0;margin:4px 0 7px;font-size:22px}.building-sanctum .alliance-introduction p{color:#bbcebf;margin:6px 0 0;font-size:11px}.alliance-role{color:#c8e4b6;align-items:center;gap:5px;font-size:10px;display:inline-flex}.alliance-members{border-top:1px solid #c1a15a40;grid-template-columns:1fr 1fr;gap:10px;margin-top:13px;padding-top:13px;display:grid}.alliance-members>div{color:#adbfaf;justify-content:center;align-items:center;gap:5px;font-size:10px;display:flex}.alliance-members b{color:#f9dfaa;font-size:20px}.alliance-members>div+div{border-inline-start:1px solid #b59b6440}.alliance-identity{text-align:start;grid-template-columns:72px minmax(0,1fr);align-items:center;column-gap:12px;display:grid}.alliance-identity>.alliance-crest{grid-area:1/1/span 3;width:66px;height:78px;margin:0}.alliance-identity>small,.alliance-identity>h3,.alliance-identity>.alliance-role{grid-column:2}.alliance-identity .alliance-members{grid-column:1/-1;margin-top:9px;padding-top:9px}.alliance-identity>.social-footnote{grid-column:1/-1}.alliance-roster{gap:8px;margin-bottom:22px;display:grid}.alliance-candidate{background:linear-gradient(110deg,#243b3d,#2f3336);border:1px solid #a78c574d;border-radius:10px;grid-template-columns:49px minmax(0,1fr) auto;align-items:center;gap:8px;padding:10px 8px;display:grid}.alliance-candidate h4{color:#f7dba6;margin:0;font-size:13px}.building-sanctum .alliance-candidate p,.alliance-candidate p{color:#b1c3b5;margin:4px 0;font-size:9px;line-height:1.8}.alliance-candidate span:not(.alliance-crest){color:#b3bd9a;align-items:center;gap:4px;font-size:9px;display:inline-flex}.alliance-candidate .social-secondary{padding:5px 8px;font-size:10px}.alliance-candidate .social-secondary svg{width:12px}.alliance-request,.alliance-found{background:linear-gradient(130deg,#3c464144,#1a292fb3);border:1px solid #aa8c5866;border-radius:14px;margin-bottom:14px;padding:14px 12px}.alliance-caravan{isolation:isolate;border:1px solid #aa8c5855;border-radius:9px;height:88px;margin-bottom:12px;position:relative;overflow:hidden}.alliance-caravan:before{content:"";z-index:-1;background:linear-gradient(90deg,#182a27ed,#0000 80%),url(/assets/social-realms-v2-BeXCQvH6.webp) 100% 100%/200% 200%;position:absolute;inset:-80px 0}.alliance-caravan>div{text-shadow:0 2px #182525;gap:5px;display:grid;position:absolute;bottom:10px;left:10px}.alliance-caravan b{color:#ffe3a9;font-size:15px}.alliance-caravan span{color:#ded8c0;font-size:10px}.social-resource-picker{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;display:grid}.social-resource-picker button{color:#c5c9ae;background:#18282e;border:1px solid #b99d6155;border-radius:8px;justify-items:center;gap:4px;padding:7px 4px;font-size:11px;display:grid}.social-resource-picker button[aria-pressed=true]{color:#ffe7ae;background:radial-gradient(at top,#b58d4c66,#0000),#324741;border-color:#e8c475;box-shadow:inset 0 0 0 1px #e7c58b44}.social-resource-picker img{object-fit:contain;width:36px;height:36px}.alliance-request-stock{color:#aabeb0;justify-content:space-between;gap:8px;margin:9px 0;font-size:10px;display:flex}.social-lock{color:#d3b58b;border:1px dashed #ab916450;border-radius:9px;align-items:center;gap:10px;padding:13px;font-size:11px;display:flex}.social-lock svg{flex-shrink:0}.social-lock p{font-size:10px;line-height:1.8}.alliance-last-request{background:#36493833;border:1px solid #9caa6950;border-radius:9px;align-items:center;gap:9px;padding:11px;display:flex}.alliance-last-request img{object-fit:contain;width:37px;height:37px}.alliance-last-request div{gap:5px;display:grid}.alliance-last-request strong{color:#d7e4ac;font-size:11px}.alliance-last-request span{color:#adb9a4;font-size:10px}.alliance-leave{text-align:center;margin-top:15px}.alliance-leave>div{justify-content:center;gap:8px;display:flex}.social-leave-link{color:#bd9987;text-underline-offset:4px;background:0 0;border:0;min-height:42px;text-decoration:underline;font-size:10px!important}.market-wallet{background:repeating-linear-gradient(2deg,#0000 0 5px,#ffd18d05 6px 7px),linear-gradient(#61462f,#392b2b);border:1px solid #b68e58;border-radius:6px 6px 14px 14px;align-items:center;gap:9px;margin-bottom:17px;padding:10px;display:flex;box-shadow:inset 0 0 0 3px #201b2644,0 4px #17151c}.market-wallet>img{object-fit:contain;width:38px;height:38px}.market-wallet>div{gap:3px;display:grid}.market-wallet small{color:#d3b889;font-size:10px}.market-wallet strong{color:#ffe1a0;font-size:17px}.market-wallet .social-secondary{background:linear-gradient(#785837,#46342b);margin-inline-start:auto;font-size:11px}.bazaar-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.bazaar-resource{background:radial-gradient(at top,#a9763f20,#0000 70%),linear-gradient(#49372f,#2b252c);border:1px solid #ae895455;border-radius:11px;min-width:0;padding:9px 8px 4px}.bazaar-resource[data-selected=true]{border-color:#dfb969;box-shadow:inset 0 0 0 1px #e6be7130}.bazaar-resource-heading{align-items:center;gap:5px;margin-bottom:3px;display:flex}.bazaar-resource-heading>img{object-fit:contain;width:39px;height:39px}.bazaar-resource-heading>div{min-width:0}.bazaar-resource-heading label{color:#f1dba9;margin:0;font-size:13px}.bazaar-resource-heading small{color:#bda88a;margin-top:4px;font-size:9px;display:block}.bazaar-resource meter{accent-color:#aabb72;width:100%;height:7px;margin:3px 0 8px;display:block}.bazaar-amount{gap:3px;display:flex}.bazaar-amount input{text-align:center;width:100%;min-width:0;min-height:40px;padding:5px 1px;font-size:17px}.bazaar-amount button{color:#e5c382;background:#6b503844;border:1px solid #b99c694d;border-radius:5px;flex-shrink:0;place-items:center;width:30px;min-height:40px;display:grid}.bazaar-amount svg{width:13px;height:13px}.bazaar-fill{color:#c9b17e;background:0 0;border:0;width:100%;min-height:33px;padding:3px 0;font-size:9px!important}.bazaar-fill-all{color:#d7bf8a;background:#a57a3510;border:1px dashed #bd995344;border-radius:6px;width:100%;min-height:36px;margin:9px auto 11px;display:block;font-size:10px!important}.bazaar-checkout{border-block:1px solid #bc955b44;grid-template-columns:1fr 1fr;gap:9px;margin:0 0 12px;padding:10px 0;display:grid}.bazaar-checkout div{gap:6px;display:grid}.bazaar-checkout div+div{border-inline-start:1px solid #bc955b44;padding-inline-start:12px}.bazaar-checkout span{color:#baa98d;font-size:10px}.bazaar-checkout strong{color:#f3d595;align-items:center;gap:4px;font-size:17px;display:flex}.bazaar-checkout img{object-fit:contain;width:21px;height:21px}.bazaar-treasury-link{width:100%;margin-top:10px}.building-realm[data-social=true][data-studio=true][data-building=market] .building-hero{height:125px}.market-wallet{margin-bottom:13px;padding-block:8px}.market-bazaar .social-section-title small{display:none}.market-bazaar .social-section-title{margin-bottom:7px}.building-sanctum .market-bazaar .social-footnote{margin-block:6px}.bazaar-resource{padding-top:7px}.bazaar-resource-heading>img{width:34px;height:34px}.bazaar-resource meter{margin:2px 0 4px}.bazaar-fill-all{margin-block:7px}.bazaar-checkout{margin-bottom:9px;padding-block:8px}.bazaar-exchange{border-top:1px solid #b99a5b77;margin-top:25px;padding-top:19px}.bazaar-trade-route{grid-template-columns:minmax(0,1fr) 35px minmax(0,1fr);align-items:center;gap:5px;display:grid}.bazaar-trade-end{color:#d4b77b;background:radial-gradient(at top,#88643733,#0000 70%),#2f272d;border:1px solid #ae895455;border-radius:12px;justify-items:center;gap:6px;margin:0;padding:10px 8px;font-size:11px;display:grid}.bazaar-trade-end img{object-fit:contain;width:52px;height:52px}.bazaar-trade-end select{padding:6px;font-size:13px}.bazaar-trade-end small{color:#b9aa95;font-size:9px}.bazaar-swap{color:#e9c482;background:#5a4331;border:1px solid #ba995b55;border-radius:50%;place-items:center;min-height:44px;padding:4px;display:grid}.bazaar-swap svg{width:19px}@container game (width<=360px){.building-realm[data-social=true] .building-content{padding-inline:12px}.alliance-candidate{grid-template-columns:39px minmax(0,1fr) auto;gap:6px}.alliance-candidate .alliance-crest{width:39px;height:47px}.alliance-candidate h4{font-size:12px}.alliance-candidate .social-secondary{padding-inline:7px}.alliance-candidate .social-secondary svg{display:none}.bazaar-amount button{width:27px}.bazaar-resource-heading>img{width:31px;height:35px}.social-quick-amounts button{font-size:9px}.alliance-introduction h3,.alliance-identity h3{font-size:20px}}.village-guide{--sage-width:clamp(118px, 38cqw, 164px);color:#fff2d3;isolation:isolate;width:100%}.village-guide-card{min-height:190px;text-align:start;filter:drop-shadow(0 6px 8px #1608238c);gap:8px;padding:35px 26px 28px;padding-inline-start:calc(var(--sage-width) + 5px);display:grid;position:relative}.village-guide-card:before{content:"";z-index:-1;pointer-events:none;background:url(/assets/sage-dialogue-frame-49S2Wo8S.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.village-guide-top{flex-wrap:wrap;align-items:center;gap:5px 8px;min-width:0;min-height:12px;padding-inline-end:18px;display:flex}.village-guide-name{z-index:2;inset-inline-start:17px;color:#ffe6a6;background:linear-gradient(#70416b,#351b42);border:1px solid #d2a557;border-radius:6px 6px 10px 10px;padding:2px 12px;font-size:11px;font-weight:900;position:absolute;bottom:16px;box-shadow:0 2px 3px #281027}.village-guide-progress{top:8px;color:#f0d9b9;white-space:nowrap;background:#392035;border:1px solid #a6804b;border-radius:10px;align-items:center;gap:5px;padding:2px 6px;font-size:9px;display:flex;position:absolute;inset-inline-end:52px}.village-guide-progress-track{background:#170b24;border-radius:8px;width:30px;height:3px;overflow:hidden}.village-guide-progress-track>span{border-radius:inherit;background:linear-gradient(90deg,#ba822e,#ffe6a3);height:100%;transition:inline-size .2s;display:block}.village-guide-dismiss{top:14px;color:#f6d59e;background:linear-gradient(#6b3c62,#30172f);border:1px solid #b98a54;border-radius:50%;place-items:center;width:30px;height:30px;padding:0;display:grid;position:absolute;inset-inline-end:14px;box-shadow:inset 0 1px #ffdda654,0 2px 3px #15071a}.village-guide-dismiss svg{width:15px;height:15px}.village-guide-copy{scrollbar-width:thin;scrollbar-color:#bc8d57 transparent;overscroll-behavior:contain;min-width:0;max-height:min(145px,23cqh);animation:.25s ease-out sage-words;overflow:auto}.village-guide-copy h2{color:#ffe6a9;text-shadow:0 2px 3px #281027;margin:0 0 5px;font-size:clamp(14px,4cqw,17px);font-weight:900;line-height:1.4}.village-guide-copy p{color:#fff1d8;text-shadow:0 1px 2px #1a0b22;text-wrap:pretty;margin:0;font-size:clamp(10.5px,2.95cqw,12px);line-height:1.85}.village-guide-actions{justify-content:start;gap:8px;display:flex}.village-guide-action{color:#4d291a;background:linear-gradient(#fff1b6,#efc76d 50%,#dca243);border:1px solid #ffe9a3;border-bottom:3px solid #9f641e;border-radius:11px 11px 13px 13px;justify-content:center;align-items:center;gap:6px;min-height:38px;padding:6px 12px;font-size:clamp(11px,3.1cqw,13px);font-weight:900;line-height:1.4;transition:transform .15s,filter .15s;display:inline-flex;box-shadow:inset 0 1px #fff9d7,0 3px #26122c,0 0 12px #f1ba3c1c}.village-guide-action:hover{filter:brightness(1.08)}.village-guide-action:active{transform:translateY(2px)}.village-guide-action svg{flex-shrink:0;width:14px;height:14px}.village-guide .guide-coin{object-fit:contain;width:20px;height:20px}.village-guide-portrait{z-index:1;inset-inline-start:-5px;width:var(--sage-width);height:calc(var(--sage-width) * 1.45);pointer-events:none;position:absolute;bottom:32px}.village-guide-portrait:before{content:"";background:radial-gradient(#e1a15743,#bc6fcd20 45%,#0000 70%);border-radius:50%;position:absolute;inset:15% -10% 0}.village-guide-portrait img{object-fit:contain;object-position:bottom;filter:drop-shadow(0 4px 4px #13071f)drop-shadow(0 0 2px #e9c78180);width:100%;height:100%;display:block;position:relative}.village-guide-launcher{color:#fff1c9;background:radial-gradient(at 50% 0,#90538a,#3c2256 80%);border:1px solid #e3ba738f;border-radius:10px;flex:none;justify-items:center;min-width:42px;padding:0 3px 3px;font-size:9px;font-weight:800;display:grid;box-shadow:inset 0 1px #fff5ce37,0 3px 7px #1c0a396b}.village-guide-launcher img{object-fit:contain;width:34px;height:30px}.village-guide-hint{text-align:start;background:radial-gradient(at 0 0,#764367,#321a42);border:1px solid #c4995b;border-radius:14px;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;display:grid;box-shadow:inset 0 1px #ffe3a638,0 3px 8px #16092450}.village-guide-hint img{object-fit:contain;width:100%;height:65px}.village-guide-hint b{color:#f5d98f;font-size:12px;font-weight:900;display:block}.village-guide-hint p{color:#fff0dc;text-shadow:none;margin:0;font-size:12px;line-height:1.7}.village-guide button:focus-visible,.village-guide-copy:focus-visible,.village-guide-launcher:focus-visible{outline-offset:3px;outline:2px solid #fff2b9}[data-guide-highlight=""],[data-guide-highlight=true]{outline-offset:3px;outline:2px solid #ffe3a2;box-shadow:0 0 12px #ffcc73a6}@keyframes sage-words{0%{opacity:0;transform:translateY(3px)}}.village-guide-companion{--sage-width:78px;flex:none;margin:12px 0 8px;position:relative}.village-guide-companion .village-guide-card{gap:4px;min-height:125px;padding:30px 24px 34px;padding-inline-start:86px}.village-guide-companion .village-guide-copy{max-height:115px}.village-guide-companion .village-guide-copy h2{font-size:14px}.village-guide-companion .village-guide-copy p{font-size:11px;line-height:1.8}.village-guide-companion .village-guide-name{padding-inline:7px;font-size:10px;inset-inline-start:7px}.village-guide-companion .village-guide-action{min-height:32px;font-size:11px}@media (orientation:landscape) and (height<=520px){.village-guide{--sage-width:90px}.village-guide-card{min-height:160px;padding-block:18px}.village-guide-copy{max-height:83px}}@media (prefers-reduced-motion:reduce){.village-guide-copy{animation:none}.village-guide-progress-track>span,.village-guide-action{transition:none}}.quest-activity-sheet{--activity-unit:max(.7px, calc(var(--ui-unit) / 4));width:100cqw;max-width:none;max-height:min(92cqh, calc(100cqh - env(safe-area-inset-top,0px)));padding:0 env(safe-area-inset-right,0px) env(safe-area-inset-bottom,0px) env(safe-area-inset-left,0px);border-radius:calc(24 * var(--activity-unit)) calc(24 * var(--activity-unit)) 0 0;color:#fff4ff;background:#23143b;border:1px solid #8d659b;border-bottom:0;margin:0 auto;position:fixed;inset:auto 0 max(0px,50dvh - 50cqh);overflow:hidden;box-shadow:0 -16px 52px #120921a6}.quest-activity-sheet[open]{flex-direction:column;display:flex}.quest-activity-sheet::backdrop{background:#0d071cc4}.quest-activity-sheet :is(h2,h3,p){margin:0}.quest-activity-sheet p{color:#e7d7ef;font-size:max(11px, calc(12 * var(--activity-unit)));text-shadow:none;overflow-wrap:anywhere;line-height:1.7}.quest-activity-sheet h3{font-size:max(12px, calc(14 * var(--activity-unit)));overflow-wrap:anywhere}.quest-activity-sheet :is(button,input):focus-visible{outline-offset:2px;outline:2px solid #ffdf97}.quest-activity-header{max-height:55cqh;padding:calc(13 * var(--activity-unit)) calc(16 * var(--activity-unit)) calc(10 * var(--activity-unit));background:radial-gradient(at 10% 60%,#b57a536b,#0000 50%),linear-gradient(135deg,#57356f,#31204e);border-bottom:1px solid #9866af59;flex:none;overflow-y:auto}.quest-activity-back{min-height:max(36px, calc(36 * var(--activity-unit)));color:#fff4ff;font-size:max(11px, calc(11 * var(--activity-unit)));background:#25153783;border:1px solid #c3a0d269;border-radius:9px;align-items:center;gap:7px;padding:6px 10px;font-weight:700;display:inline-flex}.quest-activity-hero{justify-content:space-between;align-items:center;gap:calc(5 * var(--activity-unit));display:flex}.quest-activity-hero>div{min-width:0}.quest-activity-hero h2{color:#fff0d0;font-size:max(17px, calc(25 * var(--activity-unit)));overflow-wrap:anywhere;line-height:1.4}.quest-activity-hero span{color:#f4d699;align-items:center;gap:5px;font-size:11px;display:flex}.quest-activity-hero img{width:min(26%, calc(92 * var(--activity-unit)));aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 6px 5px #170e27bb);flex:none}.quest-activity-body{align-content:start;gap:calc(10 * var(--activity-unit));overscroll-behavior:contain;min-width:0;min-height:0;padding:calc(12 * var(--activity-unit)) calc(15 * var(--activity-unit)) calc(16 * var(--activity-unit));flex:1;display:grid;overflow-y:auto}.quest-activity-card,.quest-activity-lock,.quest-activity-result{gap:calc(8 * var(--activity-unit));min-width:0;padding:calc(12 * var(--activity-unit));background:#3a254f;border:1px solid #a981ba60;border-radius:13px;display:grid}.quest-activity-card-heading{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:4px 8px;display:flex}.quest-activity-card-heading span{color:#f3d6a3;font-size:11px}.quest-activity-comparison,.quest-alliance-buttons{grid-template-columns:repeat(2,minmax(0,1fr));gap:7px;display:grid}.quest-activity-comparison>div{color:#fff0dd;min-width:0;font-size:max(11px, calc(12 * var(--activity-unit)));overflow-wrap:anywhere;background:#26173c;border-radius:8px;gap:3px;padding:6px 8px;display:grid}.quest-activity-comparison small{color:#dfcde7;font-size:10px}.quest-activity-tactics{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;display:grid}.quest-activity-tactics button{min-width:0;min-height:max(38px, calc(50 * var(--activity-unit)));color:#f3e4fa;font-size:max(10px, calc(11 * var(--activity-unit)));overflow-wrap:anywhere;background:#2c1941;border:1px solid #a77db27b;border-radius:9px;place-content:center;gap:2px;padding:4px;display:grid}.quest-activity-tactics button strong{font-size:13px}.quest-activity-tactics button[aria-pressed=true]{color:#372347;background:#e7d391;border-color:#ffedb4}.quest-activity-cost{color:#f3d6a3;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 9px;padding-block:3px;font-size:11px;display:flex}.quest-activity-supplies{flex-wrap:wrap;gap:4px;margin:0;padding:0;list-style:none;display:flex}.quest-activity-supplies li{color:#f4e8f9;background:#28183d;border:1px solid #aa86bc50;border-radius:7px;align-items:center;gap:4px;padding:0 5px;display:flex}.quest-activity-supplies li.insufficient{color:#ffc0ca;border-color:#e8a0aab3}.quest-activity-supplies img{width:calc(24 * var(--activity-unit));aspect-ratio:1;object-fit:contain}.quest-activity-primary,.quest-activity-secondary,.quest-activity-warning-button{min-height:max(36px, calc(38 * var(--activity-unit)));padding:calc(6 * var(--activity-unit)) calc(10 * var(--activity-unit));color:#fff3ff;font-size:max(11px, calc(12 * var(--activity-unit)));background:#593b76;border:1px solid #bb8bda;border-radius:9px;justify-content:center;align-items:center;gap:6px;font-weight:700;display:inline-flex}.quest-activity-primary{color:#291c3d;background:linear-gradient(#ecffa8,#bad978);border-color:#ddeda0}.quest-activity-primary:disabled{color:#e4d4eb;cursor:default;background:#49375d;border-color:#806592}.quest-activity-lock,.quest-activity-result{grid-template-columns:18px minmax(0,1fr);align-items:center}.quest-activity-lock,.quest-activity-warning-button,.quest-activity-sheet .quest-activity-warning{color:#ffd2ac}.quest-activity-result{color:#ffd1d7;background:#552b46;border-color:#be697b87}.quest-activity-result.won{color:#e5ffa8;background:#3f4235;border-color:#acb9668a}.quest-activity-result strong{font-size:13px}.quest-activity-warning-button{background:#60324b;border-color:#c7898766}.quest-alliance-list{gap:8px;display:grid}.quest-alliance-option{grid-template-columns:15px minmax(0,1fr) auto;align-items:center;display:grid}.quest-alliance-option>svg,.quest-alliance-current>svg{color:#f3cd8a}.quest-alliance-current{overflow-wrap:anywhere;background:#28183d;border-radius:8px;align-items:center;gap:8px;padding:8px;display:flex}.quest-alliance-current>svg{flex:none}.quest-activity-sheet .quest-alliance-label{color:#fff0d0;margin:0;font-weight:700}.quest-alliance-input{width:100%;min-height:max(38px, calc(42 * var(--activity-unit)));color:#fff;background:#26173c;border:1px solid #a77db294;border-radius:9px;padding:7px 10px}.quest-alliance-input::placeholder{color:#c8b1d4;font-size:12px;font-weight:400}@media (width>=431px) and (height>=901px){.quest-activity-sheet{border-radius:calc(24 * var(--activity-unit));border-bottom:1px solid #8d659b}}@container game (width>=530px) and (height<=530px){.quest-activity-sheet[open]{flex-direction:row}.quest-activity-header{border-bottom:0;border-inline-end:1px solid #9866af59;flex-basis:33%;max-height:none}.quest-activity-hero{flex-wrap:wrap;padding-block-start:calc(8 * var(--activity-unit))}.quest-activity-hero img{width:min(60%, calc(92 * var(--activity-unit)));margin-inline:auto}}.troop-gallery{min-width:0}.troop-deck{--troop-gold:#e5bd73;margin-top:12px}.troop-deck-stage{perspective:1100px;touch-action:pan-y;padding:5px 12px 14px}.troop-legend-card{max-width:330px;height:390px;margin:auto;animation:.42s ease-out troop-deal-next;position:relative}.troop-legend-card[data-direction=previous]{animation-name:troop-deal-previous}.troop-card-rotor{height:100%;transform-style:preserve-3d;transition:transform .65s cubic-bezier(.22,.8,.25,1);position:relative}.troop-card-rotor[data-flipped=true]{transform:rotateY(180deg)}.troop-card-face{border:1px solid var(--troop-gold);backface-visibility:hidden;background:radial-gradient(at 50% 38%,#96713e50,#0000 60%),repeating-conic-gradient(at 50% 44%,#fff3b004 0deg 12deg,#0000 12deg 24deg),linear-gradient(150deg,#443148,#171021 80%);border-radius:22px 22px 30px 30px;position:absolute;inset:0;overflow:hidden;box-shadow:inset 0 0 0 4px #291a2b,inset 0 0 0 5px #a37b4580,0 12px 18px #10081b99}.troop-card-topline{color:#ecd5aa;z-index:2;justify-content:space-between;font-size:10px;display:flex;position:absolute;inset:15px 15px auto}.troop-card-topline span{background:#201526c9;border:1px solid #b28d5755;border-radius:20px;padding:4px 8px}.troop-portrait-halo{border:1px solid #d2ac6340;border-radius:25%;width:205px;height:205px;position:absolute;top:48px;left:50%;transform:translate(-50%)rotate(45deg);box-shadow:0 0 0 12px #b78c3310,0 0 0 13px #d2ac6325}.troop-hero-portrait{object-fit:contain;filter:drop-shadow(0 12px 8px #09050b99);width:80%;height:235px;position:absolute;top:38px;left:10%}.troop-card-identity{bottom:61px;text-align:center;background:linear-gradient(#0000,#201526dd 35%);padding-top:16px;position:absolute;inset-inline:16px}.troop-card-identity small{color:#cbb398;font-size:11px}.troop-card-identity h4,.troop-card-back h4{color:#ffe6ad;text-shadow:0 2px 3px #000;margin:5px 0;font-size:22px}.building-sanctum .troop-card-identity p{color:#c5d5ab;margin:4px 0;font-size:11px}.troop-front-stats{color:#cab59b;border-top:1px solid #ba95534d;justify-content:space-around;padding-top:9px;font-size:10px;display:flex;position:absolute;inset:auto 14px 14px}.troop-front-stats b{color:#ffe4ad;text-align:center;font-size:19px;display:block}.troop-card-back{background:radial-gradient(at top,#674554,#21182e 80%);padding:22px;transform:rotateY(180deg)}.troop-back-eyebrow{color:#d9b579;letter-spacing:2px;font-size:11px;display:block}.troop-dossier{grid-template-columns:1fr 1fr;gap:12px;margin-top:22px;display:grid}.troop-dossier div{border-bottom:1px solid #dab57433;padding-bottom:6px}.troop-dossier dt{color:#c5adbd;font-size:10px}.troop-dossier dd{color:#ffe5b0;margin:4px 0 0;font-size:19px}.building-sanctum .troop-equipment-note{color:#d8c6b3;font-size:11px;line-height:1.8}.troop-legend-card[data-locked=true] .troop-card-face{filter:saturate(.62)brightness(.96)}.troop-legend-card[data-locked=true] .troop-hero-portrait{opacity:.78;filter:grayscale(.3)drop-shadow(0 12px 8px #09050b99)}.troop-legend-card[data-locked=true] .workshop-art{opacity:.92;filter:drop-shadow(0 6px 4px #09050b99)}.troop-legend-card[data-unavailable=true]:not([data-locked=true]) .troop-hero-portrait{opacity:.84;filter:saturate(.72)drop-shadow(0 12px 8px #09050b99)}.troop-deck-navigation{justify-content:center;align-items:center;gap:9px;display:flex}.troop-deck-navigation button,.troop-recruit-controls button{color:#ffe4a8;background:linear-gradient(#50374e,#291c33);border:1px solid #b68e55;border-radius:12px;justify-content:center;align-items:center;gap:6px;min-height:44px;padding:8px 12px;display:flex}.troop-deck-navigation .troop-flip-button{font-size:11px}.troop-deck button:disabled{opacity:.4;cursor:default}.troop-deck button:focus-visible,.troop-deck input:focus-visible{outline-offset:3px;outline:2px solid #ffe0a0}.troop-deck-navigation{margin-bottom:14px}.troop-recruitment{border-top:1px solid #ae875b44;margin-bottom:14px;padding-top:12px}.troop-recruit-cost>span{color:#c1a997;font-size:10px}.troop-recruit-controls{gap:6px;margin-top:10px;display:flex}.troop-recruit-controls input{color:#ffebbe;text-align:center;width:50px;min-width:0;font:inherit;appearance:textfield;background:#1b1225;border:1px solid #ab8359;border-radius:10px}.troop-recruit-controls input::-webkit-inner-spin-button{appearance:none;margin:0}.troop-recruit-controls input::-webkit-outer-spin-button{appearance:none;margin:0}.troop-recruit-controls .troop-recruit-submit{color:#362017;background:linear-gradient(#f7d994,#c59951);flex:1;font-weight:900;box-shadow:inset 0 0 0 2px #ffe6a666,0 3px #533b30}.building-sanctum .troop-recruit-hint{color:#dbbd97;align-items:center;gap:5px;margin-top:10px;font-size:11px;display:flex}@keyframes troop-deal-next{0%{opacity:0;transform:translate(-24px)rotateY(-18deg)rotate(-3deg)}to{opacity:1;transform:none}}@keyframes troop-deal-previous{0%{opacity:0;transform:translate(24px)rotateY(18deg)rotate(3deg)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.troop-legend-card{animation:none}.troop-card-rotor{transition:none}}@container game (width<=360px){.troop-card-identity h4{font-size:19px}.troop-card-back{padding:18px}.troop-recruit-controls button{padding-inline:9px}}.construction-plot{left:var(--plot-x);top:var(--plot-y);width:var(--plot-width);color:#fff;touch-action:manipulation;isolation:isolate;background:0 0;border:0;border-radius:18%;height:10%;padding:0;position:absolute;transform:translate(-50%,-50%)}.construction-plot:focus-visible{outline-offset:1px;outline:2px solid #f4d18a}.construction-plot.has-building:before{content:"";position:absolute;inset:-35% 0 0}@media (hover:hover){.construction-plot:not(.has-building):hover{background:#fbe1a641;box-shadow:0 0 9px #f9d27d86,inset 0 0 0 1px #ffe8aeaf}}.map-building{filter:drop-shadow(0 2px 2px #2613238a);z-index:1;pointer-events:none;-webkit-user-select:none;user-select:none;width:143%;height:auto;display:block;position:absolute;bottom:5%;left:50%;transform:translate(-50%)}.building-level,.plot-job,.center-job{justify-content:center;align-items:center;gap:calc(var(--map-unit) * .65);color:#fff2c2;pointer-events:none;background:#3d2757;border:1px solid #e7bb6c;border-radius:999px;font-weight:800;line-height:1;display:flex;position:absolute;left:50%;transform:translate(-50%);box-shadow:0 2px 4px #16081e8a}.building-level{z-index:100;bottom:calc(var(--map-unit) * -1.25);width:max(14px, calc(var(--map-unit) * 5));aspect-ratio:1;font-size:max(8px, calc(var(--map-unit) * 3))}.plot-job,.center-job{z-index:99;padding:calc(var(--map-unit) * .9) calc(var(--map-unit) * 1.5);font-size:max(8px, calc(var(--map-unit) * 2.5));white-space:nowrap;flex-direction:column;bottom:16%}.plot-job>span,.center-job>span,.resource-job>span{align-items:center;gap:calc(var(--map-unit) * .5);display:flex}.plot-job>i,.center-job>i,.resource-job>i{width:0;height:max(1px, calc(var(--map-unit) * .75));background:#d8ff8f;border-radius:4px;align-self:stretch;transition:width .2s linear;display:block}.has-building .plot-job{top:-22%;bottom:auto;left:50%}.center-job{top:35%;bottom:auto;transform:translate(-50%,-50%)}.center-job-level{border-inline-end:1px solid #e7bb6c80;padding-inline-end:.4em}.zone-main.has-job,.resource-zone.has-job{z-index:101}.resource-job{z-index:100;top:calc(var(--map-unit) * -1.25);align-items:center;gap:calc(var(--map-unit) * .65);padding:calc(var(--map-unit) * .75) calc(var(--map-unit) * 1.25);color:#fff2c2;font-size:max(8px, calc(var(--map-unit) * 2));white-space:nowrap;background:#3d2757;border:1px solid #e7bb6c;border-radius:999px;flex-direction:column;font-weight:800;line-height:1;display:flex;position:absolute;right:50%;transform:translate(50%);box-shadow:0 2px 4px #16081e8a}.construction-sheet{--construction-gap:calc(var(--ui-unit) * 2.5);--construction-inset:calc(var(--ui-unit) * 4);width:100cqw;max-width:100%;max-height:min(84cqh, calc(100cqh - env(safe-area-inset-top,0px)));border:1px solid #b78b5e;border-radius:calc(var(--ui-unit) * 6.25) calc(var(--ui-unit) * 6.25) 0 0;color:#fff7ea;background:radial-gradient(at 50% 0,#48316b,#0000 60%),#211433;border-bottom:0;margin:0 auto;padding:0;position:fixed;inset:auto 0 max(0px,50dvh - 50cqh);overflow:hidden;box-shadow:0 -12px 48px #100819b8,inset 0 2px #f5c88630}@media (width>=431px) and (height>=521px){.construction-sheet{border-bottom:1px solid #b78b5e;border-end-end-radius:1.5rem;border-end-start-radius:1.5rem}}.construction-sheet[open]{grid-template-rows:auto minmax(0,1fr);animation:.24s ease-out construction-rise;display:grid}.construction-sheet::backdrop{-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#1208219c}.construction-toolbar,.construction-body{padding-left:max(var(--construction-inset), env(safe-area-inset-left,0px));padding-right:max(var(--construction-inset), env(safe-area-inset-right,0px))}.construction-toolbar{padding-block:calc(var(--ui-unit) * 1.5);justify-content:flex-end;align-items:center;display:flex;position:relative}.construction-body{min-width:0;min-height:0;padding-top:calc(var(--ui-unit) * .75);padding-bottom:calc(var(--ui-unit) * 5 + env(safe-area-inset-bottom,0px));overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#9f78bb transparent;overflow-wrap:anywhere;overflow-y:auto}.construction-ornament{pointer-events:none;background:linear-gradient(90deg,#0000,#b28a5f 38% 62%,#0000) 50%/100% 1px no-repeat;width:5.5rem;height:.75rem;position:absolute;inset-inline-start:50%;translate:50%}.construction-ornament:after{content:"";background:linear-gradient(145deg,#c17eeb,#662b82);border:1px solid #ffe3a0;width:.48rem;height:.48rem;margin:.135rem auto;display:block;rotate:45deg}.construction-close{aspect-ratio:1;color:#ffeddf;width:2.75rem;font-size:max(14px, calc(var(--ui-unit) * 4));background:linear-gradient(#503357,#2e1a40);border:1px solid #c599656e;border-radius:50%;place-items:center;padding:0;display:grid}.construction-sheet h2,.construction-sheet h3{margin:0}.construction-heading{margin-bottom:var(--construction-gap)}.construction-heading span{color:#eed29b;font-size:max(.6875rem, calc(var(--ui-unit) * 2.75));font-weight:700}.construction-heading h2{font-size:max(1.125rem, calc(var(--ui-unit) * 5.75));line-height:1.4}.construction-heading p{margin-top:var(--ui-unit)}.construction-sheet p{color:#eee0f4;font-size:max(.75rem, calc(var(--ui-unit) * 3));text-shadow:none;line-height:1.7}.production-grid{gap:var(--construction-gap);grid-template-columns:repeat(auto-fit,minmax(min(100%,16.5rem),1fr));display:grid}.construction-sheet section h3{font-size:max(.875rem, calc(var(--ui-unit) * 3.5))}.construction-cost{gap:var(--ui-unit);margin:calc(var(--ui-unit) * .5) 0;flex-wrap:wrap;padding:0;list-style:none;display:flex}.construction-cost li{align-items:center;gap:calc(var(--ui-unit) * .5);max-width:100%;padding:calc(var(--ui-unit) * .25) var(--ui-unit);border-radius:calc(var(--ui-unit) * 1.75);font-size:max(.6875rem, calc(var(--ui-unit) * 2.75));background:#2413326e;border:1px solid #bfa5d239;flex-wrap:wrap;display:flex}.construction-cost img{width:max(14px, calc(var(--ui-unit) * 5.25));aspect-ratio:1;object-fit:contain}.construction-cost small{padding-inline:calc(var(--ui-unit) * .75);color:#e1cfe9;font-size:max(.625rem, calc(var(--ui-unit) * 2.5))}.construction-cost .insufficient{color:#ffc2cb;border-color:#d88697a6}.construction-action{min-width:max(3.5rem, calc(var(--ui-unit) * 18));max-width:100%;min-height:max(2.125rem, calc(var(--ui-unit) * 8.5));padding:var(--ui-unit) calc(var(--ui-unit) * 2.25);border-radius:calc(var(--ui-unit) * 2);color:#2d2042;font-size:max(.6875rem, calc(var(--ui-unit) * 2.75));background:linear-gradient(#e4ffad,#b5e777);border:1px solid #ecffc3;justify-self:start;font-weight:800}.construction-action:disabled{color:#e0cde9;cursor:default;background:#341f49;border-color:#bfa5d24f}.construction-features,.construction-upgrade,.construction-status{gap:calc(var(--ui-unit) * 2);margin-top:calc(var(--ui-unit) * 2.25);padding:calc(var(--ui-unit) * 2.75) calc(var(--ui-unit) * 3.25);border-radius:calc(var(--ui-unit) * 3.25);background:#160d2962;border:1px solid #b788d15a;grid-template-columns:minmax(0,1fr);display:grid}.construction-features ul{color:#eadbf3;font-size:max(.75rem, calc(var(--ui-unit) * 3));margin:0;padding-inline-start:max(1rem, calc(var(--ui-unit) * 4))}.construction-features li{margin-block:calc(var(--ui-unit) * .75)}.construction-upgrade .construction-action{width:100%;min-height:max(2.5rem, calc(var(--ui-unit) * 10));font-size:max(.75rem, calc(var(--ui-unit) * 3))}.construction-sheet .construction-advice{color:#ffdcaa}.construction-sheet .construction-preview{color:#e7f9ca}.construction-status>div{align-items:center;gap:calc(var(--ui-unit) * 1.25);color:#efcd92;font-size:max(.75rem, calc(var(--ui-unit) * 3));display:flex}.construction-status strong{font-size:max(.9375rem, calc(var(--ui-unit) * 4.5))}.construction-status progress{width:100%;height:max(3px, calc(var(--ui-unit) * 1.75));accent-color:#c8f78b}.construction-sheet button:focus-visible{outline-offset:2px;outline:2px solid #f2d28c}@keyframes construction-rise{0%{transform:translateY(calc(var(--ui-unit) * 6));opacity:.6}}@media (prefers-reduced-motion:reduce){.construction-sheet[open]{animation:none}}.production-panel{margin:var(--construction-inset) 0;padding:calc(var(--ui-unit) * 3.5);border-radius:calc(var(--ui-unit) * 5.5);font-size:max(.75rem, calc(var(--ui-unit) * 3.5));background:linear-gradient(155deg,#352052,#1f1336);border:1px solid #a676cc73;box-shadow:inset 0 1px #f2d7ff1f,0 8px 24px #0e061d52}.production-capacity,.production-title{justify-content:space-between;align-items:center;gap:calc(var(--ui-unit) * 1.5);flex-wrap:wrap;display:flex}.production-capacity{margin-bottom:var(--construction-gap);color:#f6e9ff}.production-capacity span{padding:calc(var(--ui-unit) * 1.25) var(--construction-gap);color:#fff1bf;background:linear-gradient(#72489a,#4d2b70);border:1px solid #d9af6e80;border-radius:999px;box-shadow:inset 0 1px #ffffff26}.production-job{align-items:center;gap:calc(var(--ui-unit) * 1.75);padding:calc(var(--ui-unit) * 2.25) calc(var(--ui-unit) * 3);margin-bottom:var(--construction-gap);border-radius:calc(var(--ui-unit) * 3);color:#ffe6a8;background:#4a352d;border:1px solid #d8b76e5c;display:flex}.training-jobs{margin-bottom:var(--construction-gap)}.training-jobs h4{color:#ffe6a8;margin:0 0 .45rem}.training-jobs ul{gap:.4rem;max-height:16rem;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.training-job{flex-wrap:wrap;margin:0;padding:.35rem .45rem}.training-job .unit-art{filter:none;background:0 0;width:2.1rem;height:2.35rem;padding:0}.training-job-status{flex:1;min-width:6rem}.training-job-status span{align-items:center;gap:.2rem;display:flex}.training-job .construction-action{width:auto;min-height:2rem;padding:.25rem .45rem;font-size:.7rem}.production-card{grid-template-columns:min(29%, calc(var(--ui-unit) * 26.25)) minmax(0, 1fr);border-radius:calc(var(--ui-unit) * 4.25);background:linear-gradient(145deg,#43265f,#2a183f);border:1px solid #9c72bd61;display:grid;overflow:hidden;box-shadow:0 6px 18px #0f071f66,inset 0 1px #ffffff12}.unit-art{width:100%;height:100%;min-height:0;padding:calc(var(--ui-unit) * 1.75);object-fit:contain;filter:drop-shadow(0 7px 7px #090311b8);background:radial-gradient(circle at 50% 48%,#a875c059 0,#57356b38 45%,#1d112f 78%);display:block}.unit-art.weapon{background:radial-gradient(circle at 50% 48%,#f0d89538 0,#62417338 48%,#1d112f 78%)}.unit-art.troop{object-position:center top;background:radial-gradient(circle at 50% 3rem,#a875c059 0,#57356b38 3rem,#1d112f 9rem);padding-top:.75rem}.production-copy{padding:var(--construction-gap)}.production-copy h4{color:#fff4d1;margin:0}.production-title>b{padding:calc(var(--ui-unit) * .75) calc(var(--ui-unit) * 1.75);color:#ffe7a6;font-size:max(.625rem, calc(var(--ui-unit) * 2.5));background:#6d4b2e;border:1px solid #dab97159;border-radius:999px}.production-copy p{margin:calc(var(--ui-unit) * .75) 0;color:#cdb9dc}.production-copy>small{align-items:center;gap:var(--ui-unit);color:#d2bfdf;display:flex}.production-copy>.production-lock{color:#ffe0a3;font-weight:700}.unit-stats{grid-template-columns:repeat(2,minmax(0,1fr));gap:.25rem .4rem;margin:.5rem 0;display:grid}.unit-stats>div{background:#1e132e;border-radius:.375rem;padding:.25rem .35rem}.unit-stats dt{color:#d3bbdf;font-size:.68rem}.unit-stats dd{color:#fff2c9;margin:0;font-weight:800}.production-equipment{gap:.25rem;margin:.5rem 0;padding:0;list-style:none;display:grid}.production-equipment li{color:#e8e0f0;background:#201430;border-radius:.375rem;grid-template-columns:1.4rem minmax(0,1fr) auto;align-items:center;gap:.25rem;padding:.25rem;display:grid}.production-equipment li.production-warning{color:#ffb09f}.production-equipment img{object-fit:contain;width:100%;height:1.4rem}.production-equipment small{color:#c5adcf;display:block}.production-equipment b{white-space:nowrap}.production-locked-items{margin-top:var(--construction-gap)}.production-locked-items summary{color:#ffe0a3;cursor:pointer;padding:.5rem .25rem;font-weight:700}.production-locked-items[open] summary{margin-bottom:var(--construction-gap)}.production-card .construction-cost{margin:calc(var(--ui-unit) * 1.75) 0}.production-card .construction-cost li{color:#f5e8ff;background:#1c102cb8}.production-controls{gap:calc(var(--ui-unit) * 1.75);margin-top:calc(var(--ui-unit) * 2);flex-wrap:wrap;display:flex}.production-controls input,.production-controls button{min-height:max(2.125rem, calc(var(--ui-unit) * 8.5));border-radius:var(--construction-gap)}.production-controls input{width:clamp(3rem,30%,4.5rem);max-width:100%;padding:calc(var(--ui-unit) * 1.75);color:#fff;text-align:center;font-size:max(1rem, calc(var(--ui-unit) * 4));background:#211331;border:1px solid #9f79bb}.production-controls button{color:#fff;background:linear-gradient(#9456bf,#65358c);border:1px solid #c697e24f;flex:3rem;font-weight:800;box-shadow:inset 0 1px #ffffff28}.production-controls button:disabled{filter:grayscale();opacity:.45}.production-panel .production-unlocks{margin-top:var(--construction-gap);color:#bba7c9;text-align:center}.production-controls input[type=number]{appearance:textfield}.production-controls input[type=number]::-webkit-inner-spin-button{appearance:none;margin:0}.production-controls input[type=number]::-webkit-outer-spin-button{appearance:none;margin:0}.workshop-panel>h3{color:#ffe4ac;margin:.65rem 0 .5rem;font-size:1rem}.workshop-card{grid-template-columns:min(29%,6.5rem) minmax(0,1fr)}.workshop-art{aspect-ratio:1;object-fit:cover;background:#281639;border:1px solid #e8c27755;border-radius:0 0 0 .65rem;align-self:start;width:100%;display:block}.workshop-card .production-copy>small.workshop-next{color:#d9f0a2}.workshop-card .construction-action{min-height:2rem;padding:.3rem .4rem}.workshop-card .production-controls .construction-action{width:auto}.workshop-job{color:#ffe8b4;background:#453048;border:1px solid #dfb87870;border-radius:.7rem;gap:.4rem;margin-bottom:.65rem;padding:.55rem .65rem;display:grid}.workshop-job>div,.workshop-job span{align-items:center;gap:.4rem;display:flex}.workshop-job>div{flex-wrap:wrap;justify-content:space-between}.workshop-job progress{accent-color:#c8e884;width:100%;height:.55rem}.workshop-levels{margin-bottom:1rem}.workshop-levels table{border-collapse:collapse;text-align:center;width:100%}.workshop-levels th,.workshop-levels td{border-bottom:1px solid #9f71b840;padding:.3rem}.workshop-levels th{color:#f7dfb4}.workshop-levels td:last-child{color:#d9f0a2}.village-workbench{--craft-gold:#eed19a;--craft-line:#c6976259;--craft-inset:#241633}.construction-hero{isolation:isolate;border:1px solid var(--craft-line);background:radial-gradient(at 18% 75%,#ce963d48,#0000 50%),linear-gradient(155deg,#50326a,#301b45 72%);border-radius:1.125rem;grid-template-columns:minmax(0,1fr) clamp(5.25rem,28%,8rem);align-items:center;gap:.5rem;min-height:7.65rem;padding:.8rem .9rem;display:grid;position:relative;box-shadow:inset 0 1px #ffe1a627,0 6px 14px #140c234d}.construction-heading .construction-emblem{border:1px solid var(--craft-line);color:var(--craft-gold);background:#211331ad;border-radius:99px;margin-bottom:.3rem;padding:.12rem .58rem;display:inline-block}.construction-hero h2{color:#fff1cf}.construction-hero p{margin:.25rem 0 0}.construction-hero>img{object-fit:contain;filter:drop-shadow(0 .35rem .25rem #1a0e26b3);width:100%;height:clamp(4.5rem,21cqw,6.5rem)}.construction-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:.625rem;margin-top:.625rem;display:grid}.catalog-card{border:1px solid var(--craft-line);color:#fff1cf;text-align:center;background:radial-gradient(at 50% 38%,#c08c423c,#0000 65%),linear-gradient(#412950,#2c1a3f);border-radius:.95rem;align-content:start;justify-items:center;gap:.2rem;min-width:0;padding:.5rem .3rem .6rem;display:grid;box-shadow:inset 0 1px #ffdd9c28,0 3px #150b2099}.catalog-card:hover{border-color:#e7ba7e}.catalog-card:active{translate:0 2px}.catalog-card img{object-fit:contain;filter:drop-shadow(0 4px 3px #1c1129);width:min(100%,7rem);height:clamp(3.6rem,17cqw,5rem)}.catalog-card strong{font-size:.925rem}.catalog-card small{color:#efcf99;align-items:center;gap:.2rem;font-size:.7rem;display:flex}.catalog-card[data-ready=true] small{color:#e2f8ae}.catalog-card[data-locked=true] img{filter:saturate(.54)drop-shadow(0 4px 3px #1c1129)}.construction-tabs{border:1px solid var(--craft-line);background:var(--craft-inset);border-radius:.85rem;gap:.34rem;padding:.26rem;display:flex}.construction-view-switch{z-index:2;position:sticky;top:0}.construction-tabs button{color:#f4e2fa;background:0 0;border:1px solid #0000;border-radius:.63rem;flex:1;justify-content:center;align-items:center;gap:.34rem;min-width:0;min-height:2.75rem;padding:.2rem .35rem;font-size:.8rem;font-weight:800;display:flex}.construction-tabs button>svg{flex:none}.construction-tabs button[aria-pressed=true]{color:#fff2c9;background:linear-gradient(#6b475a,#4a2c45);border-color:#d5a46791;box-shadow:inset 0 1px #f6ce9a41}.construction-live-dot{aspect-ratio:1;background:#e9f5ab;border-radius:50%;width:.45rem}.construction-view-switch~div>.construction-tabs{margin-top:.65rem}.construction-back{border:1px solid var(--craft-line);color:#fff0cc;background:#412852;border-radius:.65rem;justify-self:start;align-items:center;gap:.35rem;min-height:2.75rem;padding:.25rem .6rem;display:flex}.village-workbench :is(.construction-upgrade,.construction-status,.construction-features,.production-panel){border-color:var(--craft-line);background:linear-gradient(150deg,#392447,#271835);border-radius:1rem;padding:.8rem}.village-workbench :is(.construction-upgrade,.construction-status,.construction-features) p{margin:0}.village-workbench :is(.construction-upgrade,.construction-status) h3,.project-heading,.project-duration{align-items:center;gap:.4rem;display:flex}.project-heading{flex-wrap:wrap;justify-content:space-between}.project-heading h3 svg,.project-duration{color:var(--craft-gold)}.project-duration{background:#22152e;border-radius:99px;padding:.24rem .5rem;font-size:.75rem}.village-workbench .construction-action:not(:disabled){color:#342014;background:linear-gradient(#ffe6a0,#e8b267);border-color:#ffe1a0;box-shadow:0 3px #975429,inset 0 1px #fff3c6}.village-workbench .construction-action{min-height:2.75rem}.village-workbench .construction-funding-action{text-align:start;justify-content:space-between;align-items:center;gap:.6rem;width:100%;margin-block:.5rem;font-size:.75rem;display:flex}.village-workbench .construction-funding-action b{white-space:nowrap}.village-workbench .construction-upgrade .construction-cost{grid-template-columns:repeat(2,minmax(0,1fr));gap:.36rem;display:grid}.village-workbench .construction-upgrade .construction-cost li{gap:.2rem .32rem;padding:.3rem .38rem}.village-workbench .construction-upgrade .construction-cost small{flex-basis:100%;padding-inline:0}.project-comparison{grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem;margin:0;display:grid}.project-comparison>div{background:#23162f;border-radius:.7rem;padding:.45rem .55rem}.project-comparison>div:last-child{background:#3d4633}.project-comparison dt{color:#e5d5ef;font-size:.7rem}.project-comparison dd{color:#fff2cb;margin:0;font-weight:900}.project-comparison small{font-size:.67rem;font-weight:500}.construction-features ul{gap:.45rem;padding:0;list-style:none;display:grid}.construction-features li{align-items:baseline;gap:.4rem;display:flex}.construction-features li svg{color:var(--craft-gold);flex:none}.village-workbench :is(.production-card,.quest-activity-card,.workshop-card){border-color:var(--craft-line)}.village-workbench :is(.production-locked-items summary,.production-controls button){min-height:2.75rem}.production-choices{overscroll-behavior-inline:contain;scroll-snap-type:inline proximity;scrollbar-width:thin;grid-auto-columns:minmax(5.85rem,31%);grid-auto-flow:column;gap:.45rem;margin-block-start:.65rem;padding:.2rem .2rem .55rem;display:grid;overflow-x:auto}.production-choices .catalog-card{scroll-snap-align:start}.production-choices .catalog-card[aria-pressed=true]{background-color:#65475a;border-color:#edc88d}.production-choices .catalog-card[data-locked=true]{opacity:.42;filter:grayscale(.65)}.production-choices .catalog-card[data-locked=true][aria-pressed=true]{opacity:.62}.production-choices .catalog-card img{height:3rem}.production-choices .catalog-card strong{font-size:.75rem}.workshop-tabs{margin-bottom:.65rem}.production-controls .production-quantity-button{flex:none;width:2.75rem;padding:0}@media (width>=24rem){.village-workbench .construction-upgrade .construction-cost{grid-template-columns:repeat(4,minmax(0,1fr))}}.village-workbench:has(.architect-hero){--craft-gold:#72502b;--craft-line:#a47c465e;--craft-inset:#e5cb92;color:#533c27;background:#e7cf9d;border:2px solid #bd9657;border-radius:20px 20px 10px 10px;box-shadow:0 0 0 3px #493629,0 -12px 50px #150c2699}.village-workbench:has(.architect-hero) .construction-body{scrollbar-color:#997548 #e7cf9d;background:radial-gradient(at top,#fff6db99,#0000 70%),url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100%,#e7cf9d}.village-workbench .architect-hero{background:repeating-linear-gradient(3deg,#0000 0 7px,#ffdb9508 8px 9px),linear-gradient(135deg,#6d5034,#3d3028);border:1px solid #b38e53;border-radius:6px 6px 12px 12px;min-height:112px;box-shadow:inset 0 0 0 3px #352c2388,inset 0 0 0 4px #d4b47144,0 4px #98764b55}.village-workbench .architect-hero h2{color:#ffe6ad;text-shadow:0 2px #34251d;font-size:1.35rem}.village-workbench .architect-hero p{color:#e1cba5;font-size:.68rem;line-height:1.8}.village-workbench .architect-hero .construction-emblem{color:#cdb17b;background:0 0;border:0;padding:0;font-size:.62rem}.village-workbench:has(.architect-hero) .construction-close{color:#ffe5aa;background:linear-gradient(#756040,#453a2b);border-color:#c6a369;box-shadow:inset 0 0 0 2px #3e3528}.village-workbench:has(.architect-hero) .construction-catalog{gap:14px 12px;margin-top:15px}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card{isolation:isolate;color:#533c25;background:radial-gradient(at 50% 25%,#fff9df,#0000 75%),linear-gradient(#f2e3be,#ddc28b);border:1px solid #b49158;border-radius:8px 8px 15px 15px;gap:4px;padding:12px 7px 10px;position:relative;overflow:hidden;box-shadow:inset 0 0 0 3px #fff4cf66,0 3px #a9844d,0 5px 8px #61452926}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card:before{content:"";z-index:-1;background:radial-gradient(#b2b87c,#d2bd80 70%);border:1px solid #b09659;border-radius:50%;width:88px;height:28px;position:absolute;top:57px;box-shadow:0 4px #a38d59}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card img{filter:drop-shadow(0 4px 2px #60452655);width:112px;height:82px}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card strong{color:#543a22;margin-top:4px;font-size:.84rem}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card small{color:#94613c;font-size:.6rem}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card[data-ready=true] small{color:#436536}.village-workbench:has(.architect-hero) .construction-catalog .catalog-card:focus-visible{outline-offset:3px;outline:2px solid #5b783c}.village-workbench:has(.architect-hero) .construction-upgrade{color:#60482c;background:#f5e7c5bb;border-color:#ac8a55}.village-workbench:has(.architect-hero) .construction-upgrade :is(h3,p,.construction-advice){color:#6a4f31}.village-workbench:has(.architect-hero) .construction-back{color:#62482c;background:#dfc68e}.construction-sheet.architect-sheet{background:#39291f;border:2px solid #b88a48;border-radius:17px;width:min(96cqw,470px);max-height:93cqh;box-shadow:0 0 0 3px #30271f,0 0 0 4px #edc17b55,0 20px 70px #100a20aa}.architect-sheet .construction-toolbar{z-index:5;pointer-events:none;padding:0;position:absolute;inset:9px 9px auto}.architect-sheet .construction-ornament{display:none}.architect-sheet .construction-close{pointer-events:auto;color:#fff0ba;background:linear-gradient(#76543b,#392b25);border:1px solid #e3c17b;border-radius:9px;width:34px;height:34px;box-shadow:inset 0 0 0 2px #382b26,0 3px #221c1b}.construction-sheet.architect-sheet .construction-body{scrollbar-color:#c59e5e #493427;background:repeating-linear-gradient(90deg,#0000 0 73px,#160f0c33 74px 76px),repeating-linear-gradient(2deg,#0000 0 9px,#d59f5910 10px 11px),radial-gradient(at top,#89603c,#3e2c22);padding:0 0 16px}.architect-sheet .construction-hero.architect-hero{box-sizing:border-box;background:linear-gradient(#0000 40%,#241c18e6),url(/assets/architect-room-v2-B0mTyYbu.webp) 50%/cover;border:0;border-radius:0;justify-content:flex-start;align-items:flex-end;min-height:205px;padding:90px 22px 18px;display:flex;position:relative;box-shadow:inset 0 -3px #d6a24f}.architect-sheet .architect-hero>div{z-index:1;max-width:75%;position:relative}.architect-sheet .architect-hero h2{color:#ffe6a3;text-shadow:0 3px #3b2720,0 2px 10px #000;margin:2px 0;font-size:1.65rem;font-weight:900}.architect-sheet .architect-hero p{color:#f3debc;text-shadow:0 1px 3px #21130f;font-size:.67rem}.architect-sheet .architect-hero .construction-emblem{color:#ffdf99;background:#30231bc9;border:1px solid #b68a4f;border-radius:4px;padding:3px 9px;font-size:.6rem}.architect-sheet .architect-hero>img{filter:drop-shadow(0 5px 3px #170c18);align-self:flex-end;width:105px;height:105px}.architect-catalog-title{color:#f5d69b;align-items:center;gap:6px;padding:13px 20px 3px;display:flex}.architect-catalog-title svg{width:16px;height:16px}.architect-catalog-title strong{font-size:.79rem}.architect-catalog-title>span{color:#c9ad80;margin-inline-start:auto;font-size:.58rem}.construction-sheet.architect-sheet .construction-catalog{gap:5px 8px;margin-top:3px;padding:0 9px}.construction-sheet.architect-sheet .construction-catalog .catalog-card{min-height:275px;box-shadow:none;filter:drop-shadow(0 5px 3px #180f0d66);color:#61442c;background:url(/assets/blueprint-board-v2-D1GM60iD.webp) 50%/100% 100% no-repeat;border:0;border-radius:0;flex-direction:column;justify-content:flex-start;align-items:center;gap:0;padding:27px 13px 19px;transition:transform .15s,filter .15s;display:flex;position:relative;overflow:visible}.construction-sheet.architect-sheet .construction-catalog .catalog-card:before{display:none}.construction-sheet.architect-sheet .construction-catalog .catalog-card>img{object-fit:contain;filter:drop-shadow(0 5px 3px #61432b55);width:62%;height:36%;margin:0;position:absolute;top:17%}.construction-sheet.architect-sheet .construction-catalog .catalog-card>strong{color:#ffe2a3;text-shadow:0 2px #3f291d;width:80%;margin:0;font-size:.81rem;line-height:26px;position:absolute;top:73%}.architect-build-time{top:13%;color:#775530;align-items:center;gap:3px;font-size:.52rem;display:flex;position:absolute;inset-inline-end:16%}.architect-build-time svg{width:10px;height:10px}.architect-materials{justify-content:center;gap:5px;width:80%;margin:0;display:flex;position:absolute;top:55%}.architect-materials>span{color:#61442a;justify-items:center;gap:1px;font-size:.53rem;font-weight:800;display:grid}.architect-sheet .construction-catalog .catalog-card .architect-materials img{object-fit:contain;filter:none;width:20px;height:20px}.construction-sheet.architect-sheet .construction-catalog .catalog-card>small{color:#945331;margin:0;font-size:.52rem;position:absolute;top:86%}.construction-sheet.architect-sheet .construction-catalog .catalog-card[data-ready=true]>small{color:#436438}.architect-card-action{display:none}.architect-card-action svg{width:11px;height:11px;transform:rotate(180deg)}.architect-sheet .construction-upgrade{color:#60472b;background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100%,#eddaae;border:1px solid #bd995a;border-radius:5px;margin:14px;padding:13px}.architect-sheet .construction-upgrade .construction-cost li{color:#60472b;background:#c4a46622;border-color:#ac895344}.architect-sheet .construction-upgrade .construction-cost :is(strong,small){color:#765c38}.architect-sheet .construction-upgrade .construction-action:not(:disabled){color:#ffedbf;background:linear-gradient(#839257,#45633d);border-color:#acbd71}.architect-sheet .construction-upgrade .construction-action:disabled{color:#806648;background:#b9a07944}.architect-sheet .construction-upgrade .project-duration{color:#654522;background:#eed8a2;border:1px solid #a98b54;font-size:.68rem}.village-workbench .capacity-comparison{color:#f7e8bd;background:#3a251fdd;border:1px solid #b28b54;border-radius:10px;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:10px 0 13px;padding:8px;display:grid}.village-workbench .capacity-comparison-item{background:#5a392d;border:1px solid #85623f;border-radius:7px;justify-items:center;gap:2px;min-width:0;padding:5px 2px;font-size:.62rem;display:grid}.village-workbench .capacity-comparison-item img{object-fit:contain;width:27px;height:27px}.village-workbench .capacity-comparison-item span{color:#e8c98b;font-size:.58rem}.village-workbench .capacity-comparison-item bdi{color:#fff1c8;font-size:.72rem;font-weight:800}.village-workbench .capacity-comparison-item i,.village-workbench .capacity-comparison>small i{color:#e4ae55;font-style:normal}.village-workbench .capacity-comparison-item .capacity-next{color:#bce28f}.village-workbench .capacity-comparison>small{text-align:center;color:#d8b879;grid-column:1/-1;font-size:.62rem}.architect-sheet .construction-view-switch:has(+[hidden]){display:none}@media (width<=370px){.village-workbench .capacity-comparison{gap:3px;padding:5px}.village-workbench .capacity-comparison-item img{width:23px;height:23px}.village-workbench .capacity-comparison-item{font-size:.56rem}}@media (hover:hover){.architect-sheet .construction-catalog .catalog-card:hover{filter:drop-shadow(0 7px 5px #170e0d99)brightness(1.05);transform:translateY(-3px)}}@container game (width<=370px){.construction-sheet.architect-sheet .construction-catalog{gap:3px;padding-inline:4px}.construction-sheet.architect-sheet .construction-catalog .catalog-card{min-height:232px;padding-inline:9px}.construction-sheet.architect-sheet .construction-catalog .catalog-card>img{width:95px;height:84px}.architect-materials{gap:3px}}.construction-sheet.resource-sanctum{color:#fff1cf;background:#29173c;border:2px solid #c49a59;border-radius:25px 25px 19px 19px;width:min(100cqw - 30px,440px);height:fit-content;max-height:min(92cqh,100dvh - 24px);margin:auto;inset:0;overflow:hidden;box-shadow:0 0 0 3px #28172e,0 0 0 4px #b082494d,0 22px 70px #0e061de0,inset 0 0 0 2px #e8c18122}.resource-sanctum[open]{display:block}.resource-sanctum::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#160b2aba}.resource-sanctum .construction-toolbar{z-index:5;padding:0;position:absolute;inset:10px auto auto 10px}.resource-sanctum .construction-ornament{display:none}.resource-sanctum .construction-close{color:#ffe7b4;background:linear-gradient(#644372,#35203e);border:1px solid #e6bf7d;width:36px;height:36px;font-size:16px;box-shadow:inset 0 0 0 2px #34203c,0 2px #1d102a}.resource-sanctum .construction-body{scrollbar-width:thin;scrollbar-color:#ae8c64 #29173c;max-height:min(92cqh - 4px,100dvh - 28px);padding:0}.production-realm{isolation:isolate;background:radial-gradient(at 50% 36%,#62406440,#0000 55%),linear-gradient(#29173c,#301c40 80%,#251432);position:relative}.production-landscape{isolation:isolate;height:clamp(185px,26cqh,236px);position:relative}.production-landscape-art{z-index:-2;background-image:url(/assets/resource-realms-v1-B69zXJ8t.webp);background-position:0 0;background-size:200% 200%;position:absolute;inset:0}.production-realm[data-resource=wheat] .production-landscape-art{background-position:100% 0}.production-realm[data-resource=brick] .production-landscape-art{background-position:0 100%}.production-realm[data-resource=iron] .production-landscape-art{background-position:100% 100%}.production-landscape:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#1c102522,#0000 40%,#29173c05 65%,#29173c);position:absolute;inset:0}.production-title-ribbon{text-align:center;background:repeating-linear-gradient(3deg,#0000 0 5px,#f5cf8b08 6px 7px),linear-gradient(#684134,#3d2733);border:1px solid #dcaf68;border-radius:5px 5px 17px 17px;width:226px;padding:7px 20px 9px;position:absolute;top:16px;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 3px #2d1b2b99,inset 0 0 0 4px #e5b97626,0 4px 10px #170d2680}.production-title-ribbon:before,.production-title-ribbon:after{content:"◆";color:#d9b276;font-size:7px;position:absolute;top:50%}.production-title-ribbon:before{right:9px}.production-title-ribbon:after{left:9px}.production-title-ribbon>span{color:#e3bf91;font-size:9px}.resource-sanctum .production-title-ribbon h2{color:#fff0c9;text-shadow:0 2px #291725;margin:1px 0 0;font-size:21px;line-height:1.45}.production-level-medal{clip-path:polygon(50% 0,96% 14%,90% 76%,50% 100%,10% 76%,4% 14%);color:#fff0c4;text-align:center;filter:drop-shadow(0 3px 2px #160b28);background:linear-gradient(135deg,#ffdf91,#b0783d 55%,#f3cd79);place-content:center;width:55px;height:63px;display:grid;position:absolute;bottom:7px;right:23px}.production-level-medal:before{content:"";z-index:-1;clip-path:inherit;background:linear-gradient(#644276,#321d48);position:absolute;inset:3px}.production-level-medal small{font-size:9px;line-height:1.2}.production-level-medal b{font-size:23px;line-height:1.2}.production-realm-content{padding:27px 23px 16px;position:relative}.production-resource-seal{background:radial-gradient(circle,#94604d,#3c254e 68%);border:2px solid #dfb969;border-radius:50%;place-items:center;width:70px;height:70px;display:grid;position:absolute;top:-37px;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 3px #301c3d,0 0 0 4px #e8bb6619,0 6px 10px #170b2a80}.production-resource-seal img{object-fit:contain;filter:drop-shadow(0 3px 2px #1c112c);width:59px;height:59px}.production-section-label{color:#d6b78e;align-items:center;gap:10px;margin:14px 12px 10px;font-size:10px;display:flex}.production-section-label i{background:linear-gradient(90deg,#0000,#b88c5377,#0000);flex:1;height:1px}.production-section-label span{white-space:nowrap}.production-growth{text-align:center;justify-content:center;align-items:center;gap:19px;display:flex}.production-growth>div:not(.production-growth-arrow){flex:1;gap:2px;min-width:0;display:grid}.production-growth span{color:#d6c3e0;font-size:10px}.production-growth strong{color:#fff0c7;text-shadow:0 2px 2px #110b20;font-size:32px;font-weight:900;line-height:1.2}.production-growth small{color:#cbb4d5;font-size:9px}.production-growth .production-growth-next strong{color:#d9f6ab;text-shadow:0 0 18px #c6e18433,0 2px 2px #110b20}.production-growth .production-growth-next>span{color:#d9e8b3}.production-growth-arrow{justify-items:center;min-width:36px;display:grid}.production-growth-arrow>span{color:#e8bd78;font-size:32px;line-height:1}.production-growth-arrow b{color:#d9f6ab;font-size:11px}.production-tool-bonus{justify-content:center;align-items:center;gap:4px;margin-top:10px;display:flex;color:#e2cc9c!important;font-size:10px!important}.production-materials-title{border-top:1px solid #c49a593d;justify-content:space-between;align-items:center;margin-top:20px;padding-top:12px;display:flex}.production-materials-title>span,.production-materials-title>small{align-items:center;gap:5px;display:flex}.production-materials-title>span{color:#f1d49e;font-size:12px;font-weight:700}.production-materials-title>small{color:#dac29c;font-size:11px}.production-materials{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0 0;padding:0;list-style:none;display:grid}.production-materials li{text-align:center;justify-items:center;gap:2px;min-width:0;display:grid}.production-material-art{background:radial-gradient(at 50% 75%,#f3c67a20,#0000 70%);place-items:center;width:54px;height:45px;display:grid;position:relative}.production-material-art>img{object-fit:contain;filter:drop-shadow(0 3px 2px #170c2699);width:44px;height:44px}.production-material-art>span{color:#d6f7aa;background:#34402c;border:1px solid #a3b879;border-radius:50%;place-items:center;width:14px;height:14px;font-size:9px;display:grid;position:absolute;bottom:0;left:0}.production-material-name{color:#d5bedc;font-size:9px}.production-materials b{color:#fff0c4;font-size:15px;line-height:1.35}.production-materials small{color:#c8b0d0;white-space:nowrap;font-size:9px}.production-materials li[data-enough=false] b{color:#ffc2cb}.production-materials li[data-enough=false] .production-material-art>span{color:#ffd7d4;background:#652f45;border-color:#d1938a}.resource-sanctum .construction-advice{margin-top:10px;font-size:10px}.production-command-bar{z-index:3;background:linear-gradient(#301c40f5,#251432);grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:stretch;gap:12px;padding:14px 21px 20px;display:grid;position:sticky;bottom:0;box-shadow:0 -1px #d7ad6355,0 -5px 18px #1c102633}.production-command-bar:before{content:"◆";color:#dfb974;background:#301c40;padding:0 12px;font-size:9px;position:absolute;top:-7px;left:50%;transform:translate(-50%)}.production-boost-command,.production-upgrade-command{min-width:0;display:grid}.production-command-bar:not(:has(.production-upgrade-button)){grid-template-columns:1fr}.resource-sanctum .production-command-bar :is(.production-spell-button,.production-upgrade-button,.production-spell-active){--action-rim:#c5a0df;--action-edge:#30143f;--action-ink:#fff1dc;--action-fill:linear-gradient(180deg, #9862be 0%, #75489b 10%, #593271 75%, #49265f 100%);isolation:isolate;border:1px solid var(--action-rim);width:100%;min-width:0;min-height:88px;color:var(--action-ink);background:var(--action-fill);box-shadow:inset 0 2px #fff1cd66, inset 0 -3px #16091f44, 0 0 0 2px var(--action-edge), 0 0 0 3px #c2935e6b, 0 5px 0 var(--action-edge), 0 8px 10px #130a2470;text-align:center;border-radius:14px;grid-template-columns:40px minmax(0,1fr);grid-template-areas:"icon title""icon subtitle""price price";align-content:center;align-items:center;gap:2px 6px;padding:10px 9px 8px;text-decoration:none;transition:filter .15s,transform .1s,box-shadow .15s;display:grid;position:relative}.resource-sanctum .production-command-bar :is(.production-spell-button,.production-upgrade-button,.production-spell-active):before{content:"";pointer-events:none;background:linear-gradient(120deg,#ffffff0c,#0000 45%);border:1px solid #ffe4bb30;border-radius:10px;position:absolute;inset:4px}.production-action-emblem{grid-area:icon;place-items:center;width:39px;height:39px;font-style:normal;display:grid;position:relative}.production-action-emblem>i{filter:drop-shadow(0 2px 1px #23102a99);background:url(/assets/action-items-v1-BdXapZkh.webp) 0/200% 100% no-repeat;width:41px;height:41px;display:block}.production-action-emblem[data-action=upgrade]>i{background-position:100%;transform:rotate(-8deg)}.production-command-bar strong{text-shadow:0 1px #29123666;grid-area:title;font-size:12px;line-height:1.4;position:relative}.production-command-bar small{opacity:.85;grid-area:subtitle;font-size:9px;font-weight:500;line-height:1.6;position:relative}.production-command-bar .production-action-price,.production-spell-active time{color:#fff0c6;white-space:nowrap;background:#24122f66;border:1px solid #edc68e4d;border-radius:20px;grid-area:price;justify-content:center;justify-self:center;align-items:center;gap:4px;min-width:72px;margin-top:5px;padding:2px 10px;font-size:10px;font-weight:700;line-height:1.4;display:flex;position:relative;box-shadow:inset 0 1px 2px #16091f44}.production-action-price>img{object-fit:contain;width:16px;height:16px}.production-action-price>svg{width:12px;height:12px}.resource-sanctum .production-command-bar .production-upgrade-button{--action-rim:#ffe6a9;--action-edge:#79502d;--action-ink:#482a1b;--action-fill:linear-gradient(180deg, #fff0ba 0%, #f9d88c 12%, #e7b76b 76%, #d39b4f 100%);cursor:pointer}.production-command-bar .production-upgrade-button strong{text-shadow:0 1px #fff3bf80}.production-command-bar .production-upgrade-button:before{background:linear-gradient(120deg,#fffce029,#0000 50%);border-color:#8e552644}.production-command-bar .production-upgrade-button .production-action-price{color:#54321e;background:#fff1c170;border-color:#8f592b44;box-shadow:inset 0 1px 2px #8a541a1f}.resource-sanctum .production-command-bar :is(.production-upgrade-button,.production-spell-button):disabled{filter:saturate(.3);opacity:.6;cursor:default}.production-command-bar button:not(:disabled):hover{filter:brightness(1.08)}.production-command-bar button:not(:disabled):active{box-shadow:inset 0 2px #fff1cd44, 0 0 0 2px var(--action-edge), 0 0 0 3px #c2935e6b, 0 2px 0 var(--action-edge);transform:translateY(3px)}.resource-sanctum .production-command-bar .production-spell-active{--action-rim:#b7cc8a;--action-edge:#26372c;--action-fill:linear-gradient(#657a4f, #364d39);--action-ink:#e6f4c9}.production-build-progress{border-top:1px solid #c49a594d;gap:9px;margin-top:20px;padding-top:12px;display:grid}.production-build-progress>div{color:#eaca94;justify-content:space-between;align-items:center;gap:8px;font-size:11px;display:flex}.production-build-progress>div>span{align-items:center;gap:5px;display:flex}.production-build-progress bdi{color:#fff0c4;font-size:16px}.production-build-progress progress{accent-color:#d6ef97;width:100%;height:9px}.production-build-progress>small{color:#d1b9db;font-size:10px}.resource-sanctum .production-max{color:#d6ef97;justify-content:center;align-items:center;gap:5px;margin-top:16px;font-size:12px;display:flex}.production-firefly{pointer-events:none;background:#ffe8ae;border-radius:50%;width:3px;height:3px;animation:4s ease-in-out infinite production-spark;position:absolute;box-shadow:0 0 7px 2px #ffc34f}.production-firefly.one{top:60%;left:14%}.production-firefly.two{animation-delay:-2s;top:43%;right:18%}@keyframes production-spark{0%,to{opacity:.2;transform:translateY(0)}50%{opacity:.9;transform:translateY(-10px)}}@container game (width<=360px){.production-title-ribbon{width:196px}.production-realm-content{padding-inline:15px}.production-command-bar{gap:8px;padding-inline:15px}.production-command-bar strong{font-size:11px}.production-growth{gap:10px}.production-growth span{font-size:9px}}@container game (height<=680px){.production-landscape{height:165px}.production-realm-content{padding-bottom:12px}.production-section-label{margin-block:12px 8px}.production-materials-title{margin-top:12px}.production-command-bar{padding-block:12px 15px}}@media (prefers-reduced-motion:reduce){.production-firefly{animation:none}}.construction-sheet.building-sanctum{color:#fff0cf;background:#29173c;border:2px solid #c49a59;border-radius:24px 24px 18px 18px;width:min(100cqw - 28px,460px);height:min(92cqh,820px);max-height:92cqh;margin:auto;inset:0;overflow:hidden;box-shadow:0 0 0 3px #28172e,0 0 0 4px #b082494d,0 20px 65px #10071edd}.building-sanctum[open]{display:block}.building-sanctum::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#160b2ab8}.building-sanctum .construction-toolbar{z-index:5;padding:0;position:absolute;inset:10px auto auto 10px}.building-sanctum .construction-ornament{display:none}.building-sanctum .construction-close{color:#ffe7b4;background:linear-gradient(#644372,#35203e);border-color:#e6bf7d;width:35px;height:35px;font-size:15px;box-shadow:inset 0 0 0 2px #34203c,0 2px #1d102a}.building-sanctum .construction-body{flex-direction:column;height:100%;max-height:100%;padding:0;display:flex;overflow:hidden}.building-realm{background:radial-gradient(at top,#68406d38,#0000 60%),#29173c;flex:1;grid-template-rows:auto minmax(0,1fr) auto;min-height:0;display:grid}.building-hero{isolation:isolate;height:clamp(150px,19cqh,170px);position:relative}.building-landscape{z-index:-2;background:url(/assets/military-v1-DkwoTbgZ.webp) 0 0/200% 200% no-repeat;position:absolute;inset:0}.building-realm[data-building=stable] .building-landscape{background-position:100% 0}.building-realm[data-building=armory] .building-landscape{background-position:0 100%}.building-realm[data-building=workshop] .building-landscape{background-position:100% 100%}.building-realm:is([data-building=center],[data-building=warehouse],[data-building=market],[data-building=embassy]) .building-landscape{background-image:url(/assets/civic-v1-BNpORsFb.webp)}.building-realm[data-building=warehouse] .building-landscape{background-position:100% 0}.building-realm[data-building=market] .building-landscape{background-position:0 100%}.building-realm[data-building=embassy] .building-landscape{background-position:100% 100%}.building-hero:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#29173c15,#0000 40%,#29173c22 63%,#29173c);position:absolute;inset:0}.building-title-ribbon{text-align:center;background:repeating-linear-gradient(3deg,#0000 0 5px,#f5cf8b08 6px 7px),linear-gradient(#684134,#3d2733);border:1px solid #dcaf68;border-radius:5px 5px 15px 15px;min-width:185px;max-width:calc(100% - 112px);padding:6px 20px 8px;position:absolute;top:13px;left:50%;transform:translate(-50%);box-shadow:inset 0 0 0 3px #2d1b2b99,inset 0 0 0 4px #e5b97626,0 4px 9px #170d2670}.building-title-ribbon>span{color:#e3bf91;font-size:9px}.building-title-ribbon:before,.building-title-ribbon:after{content:"◆";color:#d9b276;font-size:6px;position:absolute;top:50%}.building-title-ribbon:before{right:8px}.building-title-ribbon:after{left:8px}.building-title-ribbon h2{color:#fff0c9;text-shadow:0 2px #291725;white-space:nowrap;font-size:21px;line-height:1.5}.building-level-medal{clip-path:polygon(50% 0,96% 14%,90% 76%,50% 100%,10% 76%,4% 14%);color:#fff0c4;text-align:center;background:linear-gradient(135deg,#ffdf91,#b0783d 55%,#f3cd79);place-content:center;width:42px;height:51px;display:grid;position:absolute;bottom:29px;right:16px}.building-level-medal:before{content:"";z-index:-1;clip-path:inherit;background:linear-gradient(#644276,#321d48);position:absolute;inset:2px}.building-level-medal small{font-size:8px}.building-level-medal b{font-size:19px;line-height:1.2}.building-sanctum .building-hero-caption{color:#f4dec1;text-align:center;text-shadow:0 1px 4px #160c24;margin:0;font-size:10px;line-height:1.8;position:absolute;bottom:1px;left:18px;right:18px}.building-content{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b18a62 #29173c;scroll-behavior:smooth;min-height:0;padding:13px 20px 20px;overflow-y:auto}.building-section-heading,.building-supplies-label{justify-content:space-between;align-items:center;gap:8px;display:flex}.building-sanctum .building-section-heading h3{color:#ebc98e;align-items:center;gap:5px;font-size:11px;font-weight:700;display:flex}.building-section-heading>small{color:#e4cb9d;align-items:center;gap:4px;font-size:10px;display:flex}.building-growth{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 12px;margin-top:9px;display:flex}.building-growth-label{color:#d9c1df;align-items:center;gap:5px;font-size:11px;display:flex}.building-growth-label svg{color:#d8b77c}.building-growth-values{align-items:center;gap:13px;display:flex}.building-growth-values>span{align-items:baseline;gap:5px;display:flex}.building-growth-values small{color:#cdb5d4;font-size:9px}.building-growth-values bdi{font-size:21px;font-weight:900}.building-growth-values>i{color:#dfba79;font-style:normal}.building-next-value{color:#d6ef9f}.building-sanctum .building-unlock-bonus{color:#d6ef9f;flex-basis:100%;align-items:baseline;gap:5px;margin-top:3px;font-size:10px;line-height:1.8;display:flex}.building-growth-note{color:#d5bddc;flex-basis:100%;font-size:9px}.building-supplies-label{color:#ead09f;border-top:1px solid #c49a5933;margin-top:11px;padding-top:8px;font-size:10px}.building-supplies-label small{color:#bfa5ca;font-size:9px}.building-supplies-label i{font-style:normal}.building-sanctum .building-supplies{gap:4px;margin-top:7px}.building-supplies .production-material-art{width:42px;height:33px}.building-supplies .production-material-art>img{width:33px;height:33px}.building-supplies .production-material-name{font-size:8px}.building-supplies b{font-size:12px}.building-supplies small{font-size:8px}.building-sanctum .construction-advice{margin:8px 0 0;font-size:10px;line-height:1.8}.building-work-progress{color:#d2bbdb;gap:5px;margin-top:10px;font-size:9px;display:grid}.building-work-progress progress{accent-color:#d6ef9f;width:100%;height:7px}.building-work-progress>small{font-size:9px}.building-service{border-top:1px solid #c49a594d;margin-top:14px;padding-top:10px}.building-sanctum .building-service-title{color:#f0d19c;align-items:center;gap:5px;margin:0 0 9px;font-size:12px;display:flex}.building-command-bar{background:linear-gradient(#321d43,#251432);border-top:1px solid #c49a5955;padding:13px 20px 17px;position:relative;box-shadow:0 -6px 15px #1c102622}.building-command-bar:before{content:"◆";color:#dfb974;background:#321d43;padding:0 10px;font-size:9px;position:absolute;top:-7px;left:50%;translate:-50%}.building-sanctum .building-command-bar .building-upgrade-action{color:#482a1b;text-align:center;background:linear-gradient(#fff0ba,#f9d88c 12%,#e7b76b 80%,#d39b4f);border:1px solid #ffe6a9;border-radius:12px;grid-template-columns:37px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;min-width:0;min-height:55px;padding:6px 12px;display:grid;box-shadow:inset 0 2px #fff7cf99,inset 0 -3px #8b572c33,0 0 0 2px #79502d,0 4px #4b2d24}.building-upgrade-action .production-action-emblem{grid-area:auto;width:34px;height:34px}.building-upgrade-action .production-action-emblem>i{width:34px;height:34px}.building-upgrade-action>span{gap:2px;display:grid}.building-upgrade-action strong{font-size:12px}.building-upgrade-action small{opacity:.8;font-size:9px}.building-upgrade-action>b{white-space:nowrap;background:#fff1c170;border:1px solid #8f592b44;border-radius:20px;justify-content:center;align-items:center;gap:4px;padding:4px 7px;font-size:10px;display:flex}.building-upgrade-action>b img{object-fit:contain;width:17px;height:17px}.building-upgrade-action>b svg{width:12px;height:12px}.building-sanctum .building-upgrade-action:disabled{filter:saturate(.35);opacity:.62;cursor:default}.building-upgrade-action:not(:disabled):active{transform:translateY(2px)}.building-max-level{color:#d6ef9f;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:11px;display:flex}.building-command-bar>.construction-advice{text-align:center}.building-storage-growth{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px;display:grid}.building-storage-growth>div{justify-items:center;gap:2px;display:grid}.building-storage-growth img{object-fit:contain;width:31px;height:31px}.building-storage-growth span{color:#cbb3d3;font-size:9px}.building-storage-growth bdi{font-size:12px;font-weight:800}.building-storage-growth i{color:#dbb578;font-size:11px;font-style:normal;line-height:1;transform:rotate(-90deg)}.building-stock{gap:10px;display:grid}.building-stock>div{grid-template-columns:28px 1fr auto;align-items:center;gap:3px 8px;font-size:10px;display:grid}.building-stock img{object-fit:contain;grid-row:span 2;width:28px;height:28px}.building-stock bdi{color:#ead09f}.building-stock meter{accent-color:#b9db87;grid-column:2/-1;width:100%;height:7px}.building-realm-unlocks{grid-template-columns:repeat(4,minmax(0,1fr));gap:13px 5px;display:grid}.building-realm-unlocks>div{text-align:center;justify-items:center;gap:3px;display:grid}.building-realm-unlocks img{object-fit:contain;filter:drop-shadow(0 3px 2px #1b1026);width:58px;height:49px}.building-realm-unlocks span{font-size:10px}.building-realm-unlocks small{color:#c9e1a1;align-items:center;gap:3px;font-size:8px;display:flex}.building-realm-unlocks [data-locked=true]{opacity:.52}.building-realm-unlocks [data-locked=true] img{filter:grayscale(.7)}.building-realm-unlocks [data-locked=true] small{color:#bba0c8}.building-sanctum .building-hall-note{color:#d5bddc;margin-top:12px;font-size:10px}.building-sanctum .production-panel{box-shadow:none;background:0 0;border:0;border-radius:0;margin:0;padding:0}.building-sanctum .production-capacity{color:#cbb3d3;gap:6px;margin:0 0 8px;font-size:10px}.building-sanctum .production-capacity>span{color:#f0d19c;background:#21122e;border-color:#c6976244;padding:2px 7px;font-size:10px}.building-sanctum .production-choices{grid-auto-columns:minmax(64px,19%);gap:6px;margin:5px 0 8px;padding:4px 2px 7px}.building-sanctum .production-choices .catalog-card{background:radial-gradient(at top,#76508b44,#0000 75%),#241331;border-color:#ae83bd55;border-radius:9px;gap:2px;padding:5px 3px;box-shadow:0 2px #190d22}.building-sanctum .production-choices .catalog-card[aria-pressed=true]{background:linear-gradient(#704c6a,#412640);border-color:#e2ba7e;box-shadow:inset 0 1px #f8d29833,0 2px #190d22}.building-sanctum .production-choices .catalog-card[data-locked=true]{opacity:.42;filter:grayscale(.65)}.building-sanctum .production-choices .catalog-card img{width:45px;height:39px}.building-sanctum .production-choices .catalog-card strong{font-size:9px;line-height:1.5}.building-sanctum .production-choices .catalog-card small{font-size:8px}.building-sanctum .production-card{box-shadow:none;background:radial-gradient(at 10% 25%,#b0757822,#0000 50%);border:0;border-radius:0;grid-template-columns:80px minmax(0,1fr)}.building-sanctum .unit-art{object-fit:contain;filter:drop-shadow(0 4px 2px #1b1026);background:radial-gradient(at 50% 60%,#d1a15d27,#0000 70%);align-self:start;height:135px;padding:3px}.building-sanctum .production-copy{padding:5px 0 0 10px}.building-sanctum .production-copy h4{font-size:12px}.building-sanctum .production-title>b{background:#684d5d44;border:0;padding:2px 6px;font-size:9px}.building-sanctum .production-copy p{color:#cbb3d3;margin:3px 0;font-size:10px}.building-sanctum .production-copy>small{font-size:9px}.building-sanctum .unit-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:5px 6px;margin:7px 0}.building-sanctum .unit-stats>div{background:0 0;padding:0}.building-sanctum .unit-stats dt{color:#bda2cb;font-size:8px}.building-sanctum .unit-stats dd{color:#efd5a5;font-size:11px}.building-sanctum .construction-cost{gap:6px;margin:7px 0}.building-sanctum .construction-cost li{background:0 0;border:0;border-radius:0;padding:0;font-size:10px}.building-sanctum .construction-cost img{width:19px;height:19px}.building-sanctum .construction-cost .insufficient{color:#ffc2cb}.building-sanctum .production-equipment{gap:3px}.building-sanctum .production-equipment li{background:#24133166;padding:3px;font-size:9px}.building-sanctum .production-equipment small{font-size:8px}.building-sanctum .production-controls{gap:6px;margin-top:8px}.building-sanctum .production-controls input{border-radius:7px;width:50px;min-height:36px;padding:4px;font-size:13px}.building-sanctum .production-controls button{border-radius:7px;min-height:36px;font-size:11px}.building-sanctum .production-locked-items{margin:9px 0 0}.building-sanctum .production-locked-items summary{color:#c4a7d0;align-items:center;gap:6px;min-height:36px;padding:4px 0;font-size:10px;display:flex}.building-sanctum .production-locked-items summary:before{content:"+";color:#e4bd7e}.building-sanctum .production-locked-items[open] summary:before{content:"−"}.building-sanctum .production-locked-items+.production-card{margin-top:5px}.building-sanctum .training-jobs{margin-bottom:9px}.building-sanctum .training-jobs h4{font-size:10px}.building-sanctum .production-job{background:#50334f44;border-color:#c6976244;border-radius:8px;padding:6px;font-size:10px}.building-sanctum .training-job .unit-art{width:29px;height:35px}.building-sanctum .training-job .construction-action{min-height:34px;font-size:9px}.building-sanctum .training-job-status{min-width:0;font-size:10px}.building-sanctum .training-job-status span{font-size:9px}.building-sanctum .workshop-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px 10px}.building-sanctum .workshop-card{background:0 0;border-bottom:1px solid #c6976233;grid-template-columns:40px minmax(0,1fr);padding-bottom:9px}.building-sanctum .workshop-art{object-fit:contain;background:0 0;border:0;border-radius:0;width:38px;height:44px}.building-sanctum .workshop-card .production-copy{padding:0 0 0 5px}.building-sanctum .workshop-card .production-title{align-items:start;gap:2px}.building-sanctum .workshop-card h4{font-size:10px}.building-sanctum .workshop-card .production-title>b{color:#c8e1a1;background:0 0;padding:0;font-size:8px}.building-sanctum .workshop-card .production-copy p{font-size:9px}.building-sanctum .workshop-card .production-copy>small{font-size:8px;line-height:1.6}.building-sanctum .workshop-card .construction-cost{flex-wrap:wrap;gap:3px}.building-sanctum .workshop-card .construction-cost img{width:15px;height:15px}.building-sanctum .workshop-card .construction-cost li{font-size:8px}.building-sanctum .workshop-card .construction-action{width:100%;min-width:0;min-height:34px;padding:3px;font-size:9px}.building-sanctum .workshop-equipment-grid{gap:10px}.building-sanctum .workshop-equipment-grid .workshop-card{grid-template-columns:70px minmax(0,1fr)}.building-sanctum .workshop-equipment-grid .workshop-art{width:65px;height:75px}.building-sanctum .workshop-equipment-grid .construction-cost img{width:19px;height:19px}.building-sanctum .workshop-equipment-grid .construction-cost li{font-size:10px}.building-sanctum .workshop-job{background:#50334f44;border-color:#c6976266;border-radius:8px;padding:7px;font-size:10px}.building-sanctum .workshop-levels{margin-bottom:14px;font-size:9px}.building-sanctum .workshop-levels summary{min-height:32px}.building-sanctum .village-market{background:0 0;border:0;gap:18px;margin:0;padding:0;display:grid}.building-sanctum .village-market form{min-width:0}.building-sanctum .village-market fieldset{gap:8px}.building-sanctum .village-market p{color:#cdb4d6;font-size:10px}.building-sanctum .market-quantities{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.building-sanctum .market-quantity label{justify-items:center;gap:3px;font-size:9px;display:grid}.building-sanctum .market-quantity img{width:30px;height:30px}.building-sanctum .village-market :is(input,select){background:#21122f;border-color:#a17eb266;min-height:36px;padding:5px;font-size:12px}.building-sanctum .market-quantity input{text-align:center}.building-sanctum .village-market small{font-size:8px}.building-sanctum .market-exchange-fields label,.building-sanctum .market-receive{font-size:10px}.building-sanctum .village-market .market-total{color:#ead09f}.building-sanctum .village-market .construction-action{width:100%;min-height:36px;font-size:11px}.building-sanctum .market-exchange-form{border-top:1px solid #c6976233;padding-top:14px}.building-sanctum .quest-activity-card{box-shadow:none;background:0 0;border:0;border-bottom:1px solid #c6976233;border-radius:0;margin:0;padding:8px 0}.building-sanctum .quest-alliance-option{gap:8px}.building-sanctum .quest-alliance-option h3{font-size:11px}.building-sanctum .quest-alliance-option p,.building-sanctum .quest-activity-card p{font-size:10px}.building-sanctum .quest-activity-card :is(button,input,select){min-height:36px;font-size:11px}.building-sanctum .quest-alliance-list{gap:3px}.building-sanctum .building-found-alliance{margin-top:16px}.building-sanctum .quest-activity-lock{border-color:#c6976244;padding:8px;font-size:10px}.building-sanctum .quest-activity-lock p,.building-sanctum .quest-alliance-label{font-size:10px}.building-sanctum .quest-alliance-option{grid-template-columns:20px minmax(0,1fr) 58px}.building-sanctum .quest-alliance-option button{min-width:56px;padding:4px 6px}.building-sanctum .production-copy .production-order-hint{color:#e1bd93;margin-top:7px;font-size:9px}.building-sanctum .village-guide-companion{flex:none;max-height:28%;margin:0;overflow:auto}.building-sanctum .sage-hint{flex:none;margin:6px 12px;font-size:10px}@container game (width<=360px){.building-content{padding-inline:13px}.building-title-ribbon{min-width:160px}.building-title-ribbon h2{font-size:19px}.building-sanctum .production-card{grid-template-columns:65px minmax(0,1fr)}.building-sanctum .workshop-card{grid-template-columns:32px minmax(0,1fr)}.building-command-bar{padding-inline:15px}.building-upgrade-action strong{font-size:11px}.building-realm-unlocks{grid-template-columns:repeat(3,minmax(0,1fr))}}@container game (height<=650px){.building-hero{height:140px}.building-title-ribbon{top:9px}.building-title-ribbon h2{font-size:18px}.building-sanctum .building-hero-caption{font-size:9px}.building-content{padding-top:9px}.building-command-bar{padding-block:10px 14px}}@media (prefers-reduced-motion:reduce){.building-content{scroll-behavior:auto}}.building-realm:is([data-building=barracks],[data-building=stable],[data-building=armory]) .building-content{flex-direction:column;display:flex}.building-realm:is([data-building=barracks],[data-building=stable],[data-building=armory]) .building-service{order:-1}.building-realm[data-studio=true]{--scene-position:0% 0%;--room-accent:#836395;background:radial-gradient(at top,#71567260,#0000 65%),#201823}.building-realm[data-studio=true][data-building=stable]{--scene-position:100% 0%;--room-accent:#58735b}.building-realm[data-studio=true][data-building=armory]{--scene-position:0% 100%;--room-accent:#ae653f}.building-realm[data-studio=true][data-building=workshop]{--scene-position:100% 100%;--room-accent:#487d7c}.building-realm[data-studio=true] .building-hero{background:linear-gradient(#4b3535,#2b2028);border-bottom:1px solid #bc985657;height:66px}.building-realm[data-studio=true] .building-landscape{opacity:.2;filter:blur(2px)}.building-realm[data-studio=true] .building-hero:after{background:linear-gradient(90deg,#241a2980,#0000,#241a2980)}.building-realm[data-studio=true] .building-title-ribbon{background:repeating-linear-gradient(2deg,#c99e6310 0 1px,#0000 1px 6px),linear-gradient(#64422f,#3c2929);border-radius:5px 5px 13px 13px;min-width:160px;padding:5px 25px 7px;top:7px}.building-realm[data-studio=true] .building-title-ribbon h2{font-size:23px}.building-realm[data-studio=true] .building-title-ribbon>span,.building-realm[data-studio=true] .building-hero-caption{display:none}.building-realm[data-studio=true] .building-level-medal{width:33px;height:41px;bottom:11px;right:15px}.building-realm[data-studio=true] .building-content{background:repeating-linear-gradient(94deg,transparent 0 61px,#c6a36c03 62px 63px),radial-gradient(ellipse at 50% 5%,color-mix(in srgb,var(--room-accent) 35%,transparent),transparent 70%);flex-direction:column;padding:9px 14px 18px;display:flex}.building-realm[data-studio=true] .building-service{border:0;order:0;margin:0;padding:0}.building-realm[data-studio=true] .building-service>.building-service-title{display:none}.building-realm[data-studio=true] .production-capacity{color:#e3cdac;margin:0 3px 8px;font-size:10px}.building-realm[data-studio=true] .production-capacity b{font-weight:500}.building-realm[data-studio=true] .production-capacity span{color:#f3d695;background:#17171bb0;border-color:#b08c5155;border-radius:5px 10px;padding:3px 9px;font-size:11px;box-shadow:inset 0 1px 4px #0006}.building-realm[data-studio=true] .troop-deck{margin-top:0;position:relative}.building-realm[data-studio=true] .troop-deck-stage{perspective:1100px;padding:0 7px}.building-realm[data-studio=true] .troop-legend-card{max-width:none;height:clamp(280px,38cqh,350px);margin:0}.building-realm[data-studio=true] .troop-card-face{border:2px solid #b99156;border-radius:25px 7px 23px;box-shadow:inset 0 0 0 3px #2b1b2180,0 0 0 1px #eed39b44,0 8px 13px #0d090e80}.building-realm[data-studio=true] .troop-card-front{background-image:linear-gradient(#18121a50 0%,#18121a18 15%,#0000 57%,#17121bd9 86%,#141219 100%),url(/assets/production-scenes-v2-BEg9DGuT.webp);background-size:100% 100%,200% 200%;background-position:center,var(--scene-position);background-repeat:no-repeat}.building-realm[data-studio=true] .troop-card-topline{font-size:9px;inset:10px 11px auto}.building-realm[data-studio=true] .troop-card-topline span{color:#f5deb0;background:#25201be8;border:1px solid #dbb96c66;border-radius:4px 8px;padding:4px 7px;box-shadow:0 2px 4px #0005}.building-realm[data-studio=true] .troop-portrait-halo{display:none}.building-realm[data-studio=true] .troop-hero-portrait,.building-realm[data-studio=true] .troop-card-front>.workshop-art{object-fit:contain;aspect-ratio:auto;filter:drop-shadow(0 11px 5px #0d071c99);background:0 0;border:none;border-radius:0;width:76%;height:calc(100% - 90px);padding:0;animation:.45s ease-out atelier-arrive;position:absolute;top:23px;left:12%}.building-realm[data-studio=true] .troop-card-front>.workshop-art{width:58%;height:calc(100% - 122px);top:42px;left:21%}.building-realm[data-studio=true] .troop-card-identity{bottom:49px;text-shadow:0 2px 4px #08050a,0 0 12px #110a17;background:0 0;padding:0;inset-inline:12px}.building-realm[data-studio=true] .troop-card-identity h4{color:#ffe3a3;margin:0 0 2px;font-size:22px}.building-realm[data-studio=true] .troop-card-identity small{color:#edd8ba;font-size:10px}.building-realm[data-studio=true] .troop-card-identity p{color:#c5dfa9;margin:1px 0;font-size:10px}.building-realm[data-studio=true] .troop-front-stats{bottom:7px;color:#d3bea0;border-color:#c89d5750;padding-top:4px;font-size:9px;inset-inline:14px}.building-realm[data-studio=true] .troop-front-stats span{text-align:center;min-width:23%}.building-realm[data-studio=true] .troop-front-stats b{color:#ffe4b2;font-size:17px;line-height:1.3}.building-realm[data-studio=true] .troop-card-back{color:#3d2e28;background:radial-gradient(at 30% 20%,#f5e1ac,#d3b785);padding:17px 20px;overflow-y:auto;box-shadow:inset 0 0 0 4px #71503455,inset 0 0 35px #8b612f40,0 8px 13px #0d090e80}.building-realm[data-studio=true] .troop-card-back h4{color:#492f32;text-shadow:0 1px #fff3c1;margin:4px 0;font-size:20px}.building-realm[data-studio=true] .troop-back-eyebrow{color:#7b5732;font-size:10px}.building-realm[data-studio=true] .troop-dossier{gap:10px 12px;margin:12px 0}.building-realm[data-studio=true] .troop-dossier div{border-color:#76533840;padding-bottom:4px}.building-realm[data-studio=true] .troop-dossier dt{color:#6c513e;font-size:10px}.building-realm[data-studio=true] .troop-dossier dd{color:#382c33;margin:2px 0 0;font-size:18px}.building-realm[data-studio=true] .troop-equipment-note{color:#624931;margin:4px 0;font-size:10px}.building-realm[data-studio=true] .troop-deck-navigation{gap:0;height:35px;margin:0}.building-realm[data-studio=true] .troop-deck-navigation>button:not(.troop-flip-button){z-index:2;color:#ffe5ac;background:linear-gradient(90deg,#493028,#775437);border:1px solid #e7c57a;border-radius:9px;width:34px;min-height:45px;padding:0;position:absolute;top:clamp(115px,17cqh,160px);box-shadow:inset 0 0 0 2px #2d202a,0 4px #160f1b,0 6px 9px #0006}.building-realm[data-studio=true] .troop-deck-navigation>button:first-child{right:-4px}.building-realm[data-studio=true] .troop-deck-navigation>button:last-child{left:-4px}.building-realm[data-studio=true] .troop-deck-navigation .troop-flip-button{color:#d5b981;background:linear-gradient(#33272b,#44312d);border:1px solid #a7824d;border-top:0;border-radius:0 0 11px 11px;min-height:32px;padding:3px 18px;font-size:10px;box-shadow:0 3px 4px #120b1a50}.building-realm[data-studio=true] .troop-deck button:disabled{opacity:.45}.building-realm[data-studio=true] .troop-recruitment{background:repeating-linear-gradient(2deg,#dba66a05 0 2px,#0000 2px 8px),linear-gradient(#554036,#33282b);border:1px solid #b78a4f;border-radius:6px 6px 15px 15px;margin:7px 0 0;padding:9px 10px 11px;box-shadow:inset 0 0 0 3px #201b2255,0 4px #120c17}.building-realm[data-studio=true] .troop-recruit-cost{justify-content:space-between;align-items:center;gap:6px;display:flex}.building-realm[data-studio=true] .troop-recruit-cost>span{color:#d7c6a8;font-size:10px}.building-realm[data-studio=true] .troop-recruit-cost .construction-cost{gap:5px;margin:0}.building-realm[data-studio=true] .troop-recruit-controls{gap:5px;margin-top:8px}.building-realm[data-studio=true] .troop-recruit-controls>button{background:linear-gradient(#7a5941,#473333);border-color:#c99b5c;border-radius:7px;min-height:43px;padding:5px 11px;box-shadow:inset 0 1px #ffe0a833,0 3px #20161d}.building-realm[data-studio=true] .troop-recruit-controls input{color:#ffe8b0;background:#211d23;border:1px solid #bd9254;border-radius:6px;width:48px;font-size:18px;box-shadow:inset 0 3px 6px #0c0b1166}.building-realm[data-studio=true] .troop-recruit-controls .troop-recruit-submit{color:#39291d;text-shadow:0 1px #ffefb455;background:linear-gradient(#f9dc8e,#d4a953 48%,#bc873d);border-color:#ffe8a4;min-width:90px;font-size:13px;box-shadow:inset 0 0 0 2px #a5753533,inset 0 2px #fff2c1,0 4px #754923,0 6px 7px #100a1655}.building-realm[data-studio=true][data-building=stable] .troop-recruit-submit{color:#1c321e;background:linear-gradient(#cee1a6,#8fa862 50%,#607b46);border-color:#e4e9af}.building-realm[data-studio=true][data-building=workshop] .troop-recruit-submit{color:#18382e;background:linear-gradient(#b5e0cb,#77ab94 50%,#4d806f);border-color:#d0ead6}.building-realm[data-studio=true] .troop-recruit-hint{color:#e1c6a0;margin:7px 0 0;font-size:10px}.building-realm[data-studio=true] .training-jobs{margin-top:15px}.building-realm[data-studio=true] .training-jobs ul{max-height:170px}.building-realm[data-studio=true] .production-job{background:#332a2c;border-color:#9a774c66}.building-realm[data-studio=true] .workshop-job{background:#273f39;border-color:#9db59866;margin-top:14px}.building-realm[data-studio=true] .building-upgrade-overview{border-top:1px solid #b8965a55;order:1;margin-top:22px;padding:15px 2px 0}.atelier-section-title{color:#e6c990;margin:0 0 10px;font-size:13px}.building-realm[data-studio=true] .building-supplies-label{margin-top:12px}.building-realm[data-studio=true] .building-command-bar{background:repeating-linear-gradient(1deg,#e3ad6905 0 1px,#0000 1px 7px),linear-gradient(#4b3432,#2b2229);border-top:1px solid #bb8f52;padding:9px 15px 13px}.building-realm[data-studio=true] .building-command-bar:before{display:none}.atelier-upgrade-cost{justify-content:space-between;align-items:center;gap:5px;margin:0 0 7px;display:flex}.atelier-upgrade-cost>span{color:#cdb18d;font-size:9px}.building-realm[data-studio=true] .atelier-upgrade-cost .construction-cost{gap:4px;margin:0}.building-realm[data-studio=true] .atelier-upgrade-cost .construction-cost img{width:18px;height:18px}.building-realm[data-studio=true] .building-upgrade-action{border-radius:7px;min-height:47px;padding:5px 9px}.building-realm[data-studio=true] .building-upgrade-action strong{font-size:12px}.building-realm[data-studio=true] .building-upgrade-action small{display:none}.building-realm[data-studio=true] .building-upgrade-action .production-action-emblem{width:29px;height:31px}.building-realm[data-studio=true] .building-max-level{min-height:26px;font-size:11px}.building-realm[data-studio=true] .workshop-levels{margin-top:16px}@keyframes atelier-arrive{0%{opacity:.4;transform:translateY(7px)scale(.97)}to{opacity:1;transform:none}}@media (prefers-reduced-motion:reduce){.building-realm[data-studio=true] .troop-hero-portrait,.building-realm[data-studio=true] .troop-card-front>.workshop-art{animation:none}}@container game (width<=360px){.building-realm[data-studio=true] .building-content{padding-inline:11px}.building-realm[data-studio=true] .troop-card-identity h4{font-size:19px}.building-realm[data-studio=true] .troop-recruit-controls>button{padding-inline:8px}.building-realm[data-studio=true] .troop-recruit-controls input{width:40px}.building-realm[data-studio=true] .troop-recruit-cost{flex-wrap:wrap}}@container game (height<=720px){.building-realm[data-studio=true] .troop-legend-card{height:250px}.building-realm[data-studio=true] .troop-hero-portrait{height:calc(100% - 83px)}}.coin-shop{color:#ffebbd;background:#251333;border:2px solid #bd914b;border-radius:22px 22px 16px 16px;width:min(94cqw,454px);max-width:none;max-height:94cqh;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden;box-shadow:0 0 0 3px #352236,0 0 0 4px #efc77e66,0 22px 90px #08030ccc}.coin-shop[open]{flex-direction:column;display:flex}.coin-shop::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#100920bd}.treasury-header{text-align:center;isolation:isolate;background:radial-gradient(at 50% 0,#98632666,#0000 75%),repeating-conic-gradient(from -10deg at 50% 10%,#f6c86e05 0deg 12deg,#0000 12deg 24deg),linear-gradient(#45224f,#231332);flex:none;padding:15px 18px 0;position:relative}.treasury-header:after{content:"";z-index:-1;border:1px solid #dbb56544;border-radius:15px 15px 0 0;position:absolute;inset:9px 9px 21px;-webkit-mask-image:linear-gradient(#000,#0000);mask-image:linear-gradient(#000,#0000)}.coin-shop-close{color:#ffe4af;background:linear-gradient(#684478,#382044);border:1px solid #e2bb77;border-radius:10px;place-items:center;width:33px;height:33px;display:grid;position:absolute;top:14px;right:14px;box-shadow:inset 0 0 0 2px #35203d,0 3px #160d23}.treasury-emblem{color:#fbd57a;filter:drop-shadow(0 3px #4b2919)drop-shadow(0 0 12px #eaa74677);width:43px;height:37px;margin:0 auto 3px}.treasury-emblem svg{stroke-width:1.6px;width:100%;height:100%}.treasury-eyebrow{color:#d5b47e;letter-spacing:.08em;font-size:.56rem}.treasury-header h2{color:#ffdf95;text-shadow:0 3px #462731,0 5px 9px #11081b;margin:1px 0;font-size:1.75rem;font-weight:900}.treasury-header p{color:#e6d1b0;margin:3px 0 12px;font-size:.65rem}.coin-shop-wallet{z-index:1;background:repeating-linear-gradient(2deg,#0000 0 7px,#ffdf9905 8px 9px),linear-gradient(#644a32,#3e2c28);border:1px solid #ab884e;border-radius:7px;align-items:center;gap:6px;padding:6px 12px;display:flex;position:relative;box-shadow:inset 0 0 0 2px #302225,0 3px 6px #10081988}.coin-shop-wallet img{object-fit:contain;width:24px;height:24px}.coin-shop-wallet span{color:#dcc397;font-size:.65rem}.coin-shop-wallet strong{color:#ffe4a0;margin-inline-start:auto;font-size:.95rem}.coin-shop-scroll{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b48c4f #291732;background:radial-gradient(#72403633,#0000),#241331;min-height:0;padding:12px 16px 10px;overflow:auto}.free-coin-ad{background:linear-gradient(135deg,#5d7545,#354a38);border:1px solid #c69b55;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:9px;margin:0 0 14px;padding:9px;display:grid;box-shadow:inset 0 0 0 2px #d9e39818,0 3px #160c1e}.free-coin-ad-icon{color:#ffe8a2;background:#2c3d35;border:1px solid #f3d487;border-radius:50%;place-items:center;width:38px;height:38px;display:grid;box-shadow:inset 0 0 0 3px #73845355}.free-coin-ad-icon svg{width:22px;height:22px}.free-coin-ad-copy{text-align:start;min-width:0}.free-coin-ad-copy h3{color:#fff0b9;margin:0;font-size:.75rem;font-weight:900}.free-coin-ad-copy p{color:#dce5b5;margin:3px 0 0;font-size:.56rem;line-height:1.5}.free-coin-ad button{color:#4d3022;min-width:70px;min-height:34px;font:inherit;background:linear-gradient(#ffe7aa,#cb9650);border:1px solid #f4d486;border-radius:6px;justify-content:center;align-items:center;gap:3px;padding:4px 8px;font-size:.63rem;font-weight:900;display:inline-flex;box-shadow:inset 0 0 0 2px #fff4c833,0 2px #5d3e29}.free-coin-ad button img{object-fit:contain;width:18px;height:18px}.free-coin-ad button svg{width:15px;height:15px}.treasury-section-title{justify-content:center;align-items:center;gap:6px;margin-bottom:13px;display:flex}.treasury-section-title h3{color:#e5c48d;margin:0;font-size:.7rem;font-weight:700}.treasury-section-title>span{background:linear-gradient(90deg,#0000,#b18a4f88,#0000);flex:1;height:1px}.treasury-section-title svg{color:#d8b164;width:12px;height:12px}.coin-pack-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 11px;display:grid}.coin-pack{background:radial-gradient(at 50% 30%,#ae765033,#0000 65%),linear-gradient(145deg,#563749,#342238);border:1px solid #ad8350;border-radius:10px 10px 15px 15px;justify-items:center;min-width:0;padding:19px 9px 8px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #23172388,inset 0 4px #d6a75925,0 4px #130b1a}.coin-pack:after{content:"◆";color:#b78b4d;font-size:8px;position:absolute;bottom:-5px}.coin-pack-ribbon{top:-7px;color:#dfc098;background:linear-gradient(#5e3b47,#3b273a);border:1px solid #9f7849;border-radius:4px 4px 8px 8px;justify-content:center;align-items:center;gap:4px;min-height:20px;font-size:.54rem;display:flex;position:absolute;inset-inline:9px;box-shadow:0 2px 4px #140c1c77}.coin-pack-ribbon svg{width:12px;height:12px}.treasury-art{filter:drop-shadow(0 7px 5px #180b2188);background-image:url(/assets/royal-coin-packs-v1-PxXI6HjR.webp);background-repeat:no-repeat;background-size:200% 200%;width:110px;height:110px;display:block}.treasury-art[data-art=handful]{background-position:0 0}.treasury-art[data-art=bag]{background-position:100% 0}.treasury-art[data-art=chest]{background-position:0 100%}.treasury-art[data-art=treasury]{background-position:100% 100%}.coin-pack h3{color:#ffe2a2;text-shadow:0 2px #271522;margin:1px 0 0;font-size:.9rem;font-weight:900}.coin-pack-amount{align-items:baseline;gap:4px;display:flex}.coin-pack-amount strong{color:#fff0c1;font-size:1.45rem;line-height:1.4}.coin-pack-amount span{color:#d9bd94;font-size:.58rem}.coin-pack-value{color:#d7be99;margin:1px 0 7px;font-size:.53rem}.coin-pack button,.treasury-checkout-actions button{color:#4b2e24;width:100%;min-height:35px;font:inherit;cursor:pointer;background:linear-gradient(#ffe7ad,#ce984f);border:1px solid #f4cf83;border-radius:6px;justify-content:center;align-items:center;gap:4px;font-weight:900;display:flex;box-shadow:inset 0 0 0 2px #fff4c833,0 3px #6a442a}.coin-pack button b{font-size:.8rem}.coin-pack button small{font-size:.52rem;font-weight:600}.coin-pack-unit{color:#c9b195;text-align:center;margin-top:7px;font-size:.46rem}.coin-pack[data-featured=true]{background:radial-gradient(at 50% 25%,#b4ba5e45,#0000 65%),linear-gradient(145deg,#536146,#253d35);border:2px solid #f4c268;padding:18px 8px 7px;box-shadow:inset 0 0 0 3px #24352a,0 0 18px #e9b34d22,0 4px #130b1a}.coin-pack[data-featured=true] .coin-pack-ribbon{color:#422c22;background:linear-gradient(#ffe6a1,#c99443);border-color:#ffe8a5;font-weight:900}.coin-pack[data-featured=true] .coin-pack-value{color:#e2ecb7}.coin-pack[data-selected=true]{outline-offset:2px;outline:2px solid #fff0bd}.coin-shop-footer{background:linear-gradient(#503746,#302034);border-top:1px solid #b59055;flex:none;padding:9px 16px 12px}.treasury-checkout{align-items:center;gap:9px;margin-bottom:6px;display:flex}.treasury-checkout .treasury-art{flex:none;width:45px;height:45px}.treasury-checkout>div{flex:1;justify-content:space-between;align-items:center;gap:5px;display:flex}.treasury-checkout strong{color:#ffe2a9;font-size:.7rem}.treasury-checkout span{color:#e0c79f;font-size:.65rem}.treasury-checkout-actions{gap:8px;display:flex}.treasury-checkout-actions button{flex:1;font-size:.7rem}.treasury-checkout-actions button+button{color:#ecd9ba;box-shadow:none;background:#3c2a3c;border-color:#a18059;flex:0 0 60px}.coin-shop-message{color:#e0ecc0;justify-content:center;align-items:center;gap:6px;margin:0;font-size:.73rem;display:flex}.coin-shop button:disabled{opacity:.6;cursor:default}.coin-shop button:focus-visible{outline-offset:3px;outline:2px solid #fff4c2}@media (hover:hover){.coin-pack button:hover{filter:brightness(1.1)}}@media (height<=740px){.treasury-header{padding-top:10px}.treasury-emblem{height:26px}.treasury-header h2{font-size:1.4rem}.treasury-art{width:84px;height:84px}.treasury-header p{margin-bottom:8px}}@container game (width<=370px){.coin-shop-scroll{padding-inline:10px}.coin-pack-grid{gap:13px 8px}.coin-pack{padding-inline:6px}.treasury-art{width:90px;height:90px}.coin-pack-unit{font-size:.43rem}}.map-battle-stage,.battle-quiz,.map-battle-report{gap:.6875rem;min-width:0;display:grid}.battle-loot-title{color:#f4d69c;font-size:.8rem}.march-loot{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:0;display:grid}.march-loot>div{background:#b99b6014;border:1px solid #c0a36b55;border-radius:8px;justify-items:center;gap:4px;padding:8px 3px;display:grid}.march-loot dt{color:#e3cea8;justify-items:center;gap:3px;font-size:.65rem;display:grid}.march-loot dt img{object-fit:contain;filter:drop-shadow(0 2px 2px #35281933);width:35px;height:35px}.march-loot dd{color:#ffe0a0;margin:0;font-size:1rem;font-weight:900}.battle-loot-arrival{color:#b6d18a;align-items:center;gap:6px;font-size:.72rem;display:flex}.battle-loot-arrival time{margin-inline-start:auto;font-size:.65rem}.battle-casualties{--casualty-ink:#e6d6b0;--casualty-muted:#b9a67c;--casualty-red:#f0a080;--casualty-green:#b5cf8c;--casualty-line:#c5a66b30;background:linear-gradient(135deg,#43503b42,#0000 70%),#302b25;border:1px solid #b49156;border-radius:10px;min-width:0;overflow:hidden;box-shadow:inset 0 0 0 2px #e3c7910a,0 3px 8px #171d1b26}.battle-casualties-heading{color:#f5dfab;background:repeating-linear-gradient(2deg,#0000 0 6px,#efd09805 7px 8px),linear-gradient(#59452f,#3c3025);border-bottom:1px solid #c1a06466;justify-content:space-between;align-items:center;gap:8px;padding:10px 12px;display:flex;box-shadow:inset 0 1px #efd5a32b}.battle-casualties-heading>strong{align-items:center;gap:6px;font-size:.78rem;display:flex}.battle-casualties-heading svg{color:#d6b879;font-size:1rem}.battle-casualties-heading>span{color:#c3d99d;white-space:nowrap;background:#8dba6b18;border:1px solid #afbd7750;border-radius:20px;padding:3px 7px;font-size:.6rem}.battle-casualties-heading>span[data-loss=true]{color:#efc0a0;background:#c8814a22;border-color:#c7986655}.battle-casualties table{table-layout:fixed;border-collapse:collapse;width:100%;color:var(--casualty-ink);font-variant-numeric:tabular-nums;font-size:.75rem}.battle-casualties caption{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.battle-casualty-unit-column{width:46%}.battle-casualties :is(th,td){text-align:center;vertical-align:middle;padding:8px 4px}.battle-casualties th:first-child{text-align:start;padding-inline-start:10px}.battle-casualties thead th{color:var(--casualty-muted);background:#b79b6310;font-size:.6rem;font-weight:500}.battle-casualties tbody tr{border-top:1px solid var(--casualty-line)}.battle-casualties tbody tr:nth-child(2n){background:#c8ad7310}.battle-casualties tbody th{font-size:.67rem;font-weight:700;line-height:1.65}.battle-casualty-unit{align-items:center;gap:6px;display:flex}.battle-casualty-unit>span:last-child{overflow-wrap:anywhere;min-width:0}.battle-casualty-portrait{background:radial-gradient(at bottom,#bda16d2e,#0000 75%);border-bottom:1px solid #b49b6155;border-radius:8px;flex:none;place-items:center;width:32px;height:40px;display:grid}.battle-casualty-portrait img{object-fit:contain;filter:drop-shadow(0 2px 2px #171b1844);width:100%;height:100%}.battle-casualties tr[data-wiped=true] .battle-casualty-portrait img{filter:grayscale(.8)drop-shadow(0 2px 2px #171b1833);opacity:.65}.battle-casualty-loss{min-width:25px;color:var(--casualty-muted);border-radius:5px;padding:2px 4px;display:inline-block}.battle-casualty-loss[data-loss=true]{color:var(--casualty-red);background:#c8795622;font-weight:800}.battle-casualty-alive{color:var(--casualty-green);font-weight:800}.battle-casualties tfoot{background:#b69c6318;border-top:1px solid #b89c6455;font-weight:900}.battle-casualties tfoot th{color:var(--casualty-muted);font-size:.65rem}@container game (width<=360px){.battle-casualty-unit-column{width:44%}.battle-casualty-portrait{width:25px;height:34px}.battle-casualty-unit{gap:4px}.battle-casualties th:first-child{padding-inline-start:6px}.battle-casualties tbody th{font-size:.61rem}.battle-casualties thead th{font-size:.55rem}}.battle-stage-title{color:#ffedc8;align-items:center;gap:.5rem;font-size:1.125rem;display:flex}.battle-stage-title svg,.battle-optional>svg{color:#f3cc84}.battle-stage-title:focus,.battle-question-card h3:focus{outline:none}.march-estimate{color:#ebd7ee;background:#271a36;border:1px solid #b992604d;border-radius:.625rem;flex-wrap:wrap;justify-content:space-between;gap:.25rem .75rem;padding:.5rem .6875rem;font-size:.75rem;display:flex}.march-estimate strong{color:#ffe2a5}.march-clock{color:#ffe4a8;background:linear-gradient(145deg,#523954,#21152f);border:1px solid #c99e5c85;border-radius:.75rem;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.5rem;padding:.5rem .6875rem;display:grid}.march-clock svg{font-size:1.125rem}.march-clock div{gap:.125rem;display:grid}.march-clock strong{font-size:.8125rem}.march-clock small{color:#eedce8;font-size:.6875rem}.march-clock bdi{color:#ffedbc;font-variant-numeric:tabular-nums;font-size:1.125rem;font-weight:900}.march-clock[data-urgent=true] bdi{color:#ffbdab}.battle-army-summary,.map-battle-comparison{background:linear-gradient(145deg,#372345,#1a1227);border:1px solid #b992604d;border-radius:.75rem;grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;margin:0;display:grid}.battle-army-summary>span,.map-battle-comparison>div{text-align:center;justify-items:center;gap:.125rem;padding:.5rem .3125rem;display:grid}.battle-army-summary>span+span,.map-battle-comparison>div+div{border-inline-start:1px solid #d3ad6940}.battle-army-summary span,.map-battle-comparison dt{color:#e2cde4;font-size:.75rem}.battle-army-summary strong,.map-battle-comparison dd{color:#ffe2a5;margin:0;font-size:1.125rem;font-weight:900}.battle-army-group{background:#1d132b;border:1px solid #9877a965;border-radius:.625rem;min-width:0;margin:0;padding:.3125rem .625rem .5rem}.battle-army-group legend{color:#f1d49e;padding-inline:.375rem;font-size:.75rem;font-weight:800}.battle-army-group>p{padding:.125rem .375rem}.battle-army-group .battle-unit{grid-template-columns:minmax(0,1fr) 4rem;align-items:center;gap:.5rem;margin:0;padding:.375rem;display:grid}.battle-unit+.battle-unit{border-top:1px solid #9877a94a}.battle-unit small{color:#d6bfe0;margin-top:.125rem;font-size:.6875rem;display:block}.battle-unit input{text-align:center;background:#2e1c41;border:1px solid #a080af;border-radius:.5rem;width:100%;min-height:2.5rem;padding-inline:.25rem}.battle-optional{background:#6b4f8248;border-radius:.625rem;align-items:start;gap:.625rem;padding:.625rem .6875rem;display:flex}.battle-optional>svg{flex:none;margin-top:.15rem}.battle-optional strong{color:#ffe5ac;font-size:.8125rem}.battle-stage-actions{grid-template-columns:minmax(0,6fr) minmax(0,5fr);gap:.5rem;display:grid}.battle-gold-button,.battle-back{color:#2c1a22;background:linear-gradient(#f9df9e,#cf9555);border:1px solid #f0ca7e;border-radius:.625rem;justify-content:center;align-items:center;gap:.375rem;min-height:2.875rem;padding:.375rem .4375rem;font-size:.8125rem;font-weight:900;line-height:1.4;display:flex;box-shadow:inset 0 1px #fff1c4,0 4px 9px #120b20a6}.battle-gold-button :is(svg,small),.battle-back svg{flex:none}.battle-gold-button small{background:#4f32242e;border-radius:.375rem;padding:.125rem .3125rem}.battle-back{color:#f6e9ff;background:linear-gradient(#4a325e,#312141);border-color:#9473a9;box-shadow:inset 0 1px #ffebff25}.battle-return{color:#e0cbed;background:0 0;border:0;justify-self:center;align-items:center;gap:.3125rem;min-height:2.25rem;font-size:.75rem;display:inline-flex}:is(.battle-gold-button,.battle-back):disabled{opacity:.64;cursor:default}.battle-category-heading{gap:.25rem;display:grid}.battle-category-heading .battle-stage-title,.battle-category-heading p{margin:0}.battle-category-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:.5rem;display:grid}.battle-category-grid button{color:#faeaf8;background:radial-gradient(at 50% 0,#5b3a69,#0000 80%),#291a3a;border:1px solid #a984bf8f;border-radius:.75rem;align-content:center;justify-items:center;gap:.25rem;min-height:4.75rem;padding:.375rem;font-size:.75rem;line-height:1.5;display:grid;position:relative}.battle-category-grid button>svg{color:#eccc94;font-size:1.1875rem}.battle-category-grid button[aria-pressed=true]{color:#ffe8b0;background:linear-gradient(#614349,#382543);border-color:#edc375;box-shadow:inset 0 0 0 1px #eebf7040}.battle-category-grid button:disabled{opacity:1;cursor:default}.battle-category-grid .battle-category-check{font-size:.875rem;position:absolute;inset-block-start:.4375rem;inset-inline-end:.4375rem}.battle-quiz-meta{color:#e7d6ee;justify-content:space-between;align-items:center;gap:.5rem;font-size:.8125rem;display:flex}.battle-quiz-meta strong{color:#ffdea1}.battle-wallet{background:#1c1127;border:1px solid #c3975675;border-radius:1rem;align-items:center;gap:.25rem;padding:.1875rem .4375rem;display:inline-flex}.battle-wallet img,.battle-boosters img{object-fit:contain;width:1rem;height:1rem}.battle-quiz-progress{grid-template-columns:repeat(12,minmax(0,1fr));gap:.1875rem;display:grid}.battle-quiz-progress i{background:#755988;border-radius:.25rem;height:.25rem}.battle-quiz-progress i[data-state=active]{background:#ffcf79;box-shadow:0 0 8px #d9a550a8}.battle-quiz-progress i[data-state=right]{background:#b7d182}.battle-quiz-progress i[data-state=wrong]{background:#df867d}.battle-question-card{color:#2c1d29;text-align:center;background:radial-gradient(at 50% 15%,#fff0cc,#0000 72%),linear-gradient(140deg,#ebcc8e,#e9be7e);border:1px solid #ffdc90;border-radius:.875rem;align-content:center;justify-items:center;gap:.4375rem;min-height:7.625rem;padding:.75rem;display:grid;box-shadow:inset 0 0 0 3px #512c2824,0 5px 14px #160b22a3}.battle-question-card>span{color:#492e36;background:#f4deb0;border:1px solid #bc8b5d;border-radius:.375rem;padding:.125rem .5rem;font-size:.6875rem;font-weight:800}.battle-question-card h3{font-size:clamp(.9375rem,4.2cqw,1.125rem);font-weight:900;line-height:1.65}.battle-answers{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.battle-answers button{color:#f8edf9;text-align:start;background:linear-gradient(#513564,#33223f);border:1px solid #9b75ae;border-radius:.625rem;align-items:center;gap:.375rem;min-height:3.125rem;padding:.4375rem;font-size:.8125rem;font-weight:700;display:flex;position:relative;box-shadow:inset 0 1px #f5dbff25,0 2px 4px #130c22a9}.battle-answer-letter{color:#efd3b0;background:#1c1228a6;border-radius:.3125rem;flex:0 0 1.375rem;place-items:center;height:1.375rem;font-size:.6875rem;display:grid}.battle-answers button small.battle-answer-vote{color:#ffe0a2;background:#20152999;border:1px solid #d9ad68a8;border-radius:999px;flex:none;margin-inline-start:auto;padding:.16rem .34rem;font-size:.72rem;font-weight:900;line-height:1}.battle-answers button[data-state=right]{color:#e6ffc8;background:#33482d;border-color:#bdd980}.battle-answers button[data-state=wrong]{color:#ffe2db;background:#5a293f;border-color:#d99192}.battle-answers button[data-state=hidden]{opacity:.53}.battle-answers button:disabled{cursor:default}.battle-quiz .battle-quiz-note{color:#f9dfac;min-height:1.25rem}.battle-quiz-note:empty{position:absolute}.battle-boosters{grid-template-columns:repeat(4,minmax(0,1fr));gap:.375rem;display:grid}.battle-boosters button{color:#f8e9ff;background:radial-gradient(at 50% 0,#79558a,#0000 88%),#39274d;border:1px solid #9f7abb;border-radius:.6875rem;align-content:center;justify-items:center;gap:.1875rem;min-height:4.25rem;padding:.3125rem .125rem;font-size:clamp(.625rem,2.65cqw,.75rem);line-height:1.35;display:grid;box-shadow:inset 0 1px #fae2ff3b}.battle-boosters button>svg{color:#e4c1ff;font-size:1.125rem}.battle-boosters button[data-booster=hide]>svg{color:#ffda9a}.battle-boosters button[data-booster=retry]>svg{color:#cceca3}.battle-boosters button[data-booster=freeze]>svg{color:#a4e7f2}.battle-boosters button>small{color:inherit;opacity:.75;font-size:.55rem}.battle-question-controls{justify-content:space-between;align-items:center;gap:8px;display:flex}.battle-question-timer{--clock-accent:#d5b474;color:#f1d7a3;align-items:center;gap:9px;display:flex}.battle-time-ring{background:conic-gradient(var(--clock-accent) var(--time-progress),#a58a5c33 0);border-radius:50%;flex:none;place-items:center;width:49px;height:49px;padding:4px;display:grid;box-shadow:0 1px 5px #1c182533}.battle-time-ring bdi{font-variant-numeric:tabular-nums;background:#30253b;border-radius:50%;place-items:center;width:100%;height:100%;font-size:1.125rem;font-weight:900;display:grid}.battle-question-timer>span:last-child{gap:4px;display:grid}.battle-question-timer strong{align-items:center;gap:4px;font-size:.75rem;display:flex}.battle-question-timer small{opacity:.75;font-size:.59rem}.battle-question-timer[data-urgent=true]{--clock-accent:#df8064;color:#e7997a}.battle-question-timer[data-frozen=true]{--clock-accent:#76c6df;color:#9adce9}.battle-question-timer[data-frozen=true] .battle-time-ring bdi{background:#284e58}.battle-music-toggle{color:#dfc798;background:#a891591a;border:1px solid #b69d653d;border-radius:16px;justify-content:center;align-items:center;gap:5px;min-height:35px;padding:6px 9px;font-size:.62rem;display:flex}.battle-music-toggle svg{flex:none;font-size:1rem}.battle-music-toggle[aria-pressed=true]{color:#c6d997;border-color:#a2bc6477}.battle-music-toggle:disabled{opacity:.45;cursor:default}.expedition-sheet .battle-question-timer{color:#7a6139}.expedition-sheet .battle-music-toggle{color:#8b714a;border-color:#b39b6255}:is(.map-target-sheet:has(.battle-quiz) .expedition-route,.map-target-sheet:has(.battle-quiz) .village-guide-companion){display:none}.map-target-sheet:has(.battle-quiz) .map-target-heading[data-compact=true]{min-height:90px;padding-top:25px}.map-target-sheet:has(.battle-quiz) .map-target-content{gap:12px}.battle-boosters button>span{color:#ffe2a2;align-items:center;gap:.1875rem;display:inline-flex}.battle-boosters button:disabled{opacity:.5;cursor:default}.battle-boosters button[aria-pressed=true]{opacity:1;border-color:#ffdc92}.battle-ready-score{background:radial-gradient(at top,#604255,#2b1c3f);border:1px solid #b6925e;border-radius:.75rem;justify-items:center;gap:.1875rem;padding:.875rem;display:grid}.battle-ready-score strong{color:#ffdfa2;font-size:1.5rem}.battle-ready-score span{color:#eee0f4;font-size:.75rem}.map-battle-result{background:linear-gradient(135deg,#65404c,#2a1b3b);border:1px solid #bc8d8b;border-radius:.75rem;align-items:center;gap:.6875rem;padding:.625rem;display:flex}.map-battle-result[data-won=true]{background:linear-gradient(135deg,#655039,#33213e);border-color:#dbba71}.map-battle-result>svg{color:#f5cd84;flex:none;font-size:1.6875rem}.map-battle-result>div{display:grid}.map-battle-result strong{color:#ffebc2;font-size:1.25rem}.map-battle-result span,.map-battle-comparison small,.map-battle-loot small{color:#e5d2e9;font-size:.6875rem}.battle-conquest-result{color:#ffe0a2;background:#3d2843;border:1px solid #b18c655f;border-radius:.625rem;align-items:center;gap:.5rem;padding:.5rem .625rem;display:flex}.battle-conquest-result>svg{flex:none}.battle-conquest-result[data-captured=true]{background:#594333;border-color:#dfb468}.map-battle-score{color:#e1d0e9;flex-wrap:wrap;align-items:center;gap:.3125rem .6875rem;font-size:.75rem;display:flex}.map-battle-score :is(svg,strong){color:#f6d698}.map-battle-losses,.map-battle-loot{background:#261735;border:1px solid #a682b378;border-radius:.625rem;padding:.5rem .625rem;font-size:.8125rem}.map-battle-losses summary{cursor:pointer;color:#f7e4b7;font-weight:700}.map-battle-losses>div{margin-top:.5rem}.map-battle-losses ul,.map-battle-loot ul{gap:.1875rem;margin:.25rem 0 0;padding:0;list-style:none;display:grid}.map-battle-losses li{color:#e5d2e9;justify-content:space-between;gap:.375rem;font-size:.75rem;display:flex}.map-battle-loot{gap:.1875rem;display:grid}.map-battle-loot strong{color:#ffe4a6}.map-battle-loot ul{flex-wrap:wrap;gap:.3125rem;display:flex}.map-battle-loot li{color:#ffe6ab;background:#5e465f;border-radius:.375rem;padding:.1875rem .4375rem}.map-battle-stage .battle-error{color:#ffc1b8}.quiz-category-art{aspect-ratio:1;background-repeat:no-repeat;background-size:400% 300%;border-radius:.8rem;flex:none;width:4.5rem;display:inline-block;box-shadow:0 2px 8px #0005}.quiz-question-category{align-items:center;gap:.6rem;display:inline-flex}.quiz-question-category .quiz-category-art{width:2.7rem}.battle-category-grid>button{min-width:0}.battle-category-grid .quiz-category-art{border-radius:50%;width:2.75rem}.battle-category-stage .battle-journey li>span{width:1.75rem;height:1.75rem}.battle-category-stage .battle-journey li+li:before{top:.875rem}.map-target-sheet:has(.battle-category-stage) .expedition-route{display:none}.map-target-sheet:has(.battle-category-stage) .map-target-heading[data-compact=true]{min-height:6rem;padding-top:1.75rem}.map-target-sheet:has(.battle-category-stage) .map-target-content{gap:.65rem;padding-top:1.5rem}.battle-shield-confirm{color:#512f10;cursor:pointer;background:#fff0c8;border:1px solid #b98333;border-radius:.65rem;align-items:flex-start;gap:.65rem;padding:.7rem .85rem;display:flex}.battle-shield-confirm input{accent-color:#71420f;flex:none;margin-block-start:.3rem}.village-inbox .map-battle-report{--casualty-ink:#543722;--casualty-muted:#76583a;--casualty-red:#9c432d;--casualty-green:#3f6d3a;--casualty-line:#9b713d55;color:#553a27;background:linear-gradient(145deg,#f2d99e,#d5ae6d);border:2px solid #a9783d;border-radius:.75rem;gap:.4rem;padding:.45rem;box-shadow:inset 0 1px #fff0bf,inset 0 -3px #9a6b3866,0 3px #221914}.village-inbox .map-battle-report .map-battle-result{background:#fff1c655;border:1px solid #a27b4c;border-radius:.5rem;gap:.4rem;padding:.35rem .45rem}.village-inbox .map-battle-report .map-battle-result[data-won=true]{background:#dbe7b080;border-color:#8b9b5e}.village-inbox .map-battle-report .map-battle-result>svg{color:#8c682d;font-size:1.15rem}.village-inbox .map-battle-report .map-battle-result strong{color:#543722;font-size:.9rem}.village-inbox .map-battle-report .map-battle-result span,.village-inbox .map-battle-report .map-battle-loot small{color:#745739;font-size:.58rem}.village-inbox .map-battle-report .map-battle-comparison{background:#fff0c955;border-color:#aa814c99}.village-inbox .map-battle-report .map-battle-comparison dt,.village-inbox .map-battle-report .map-battle-comparison small,.village-inbox .map-battle-report .map-battle-score{color:#76583a}.village-inbox .map-battle-report .map-battle-comparison dd,.village-inbox .map-battle-report .map-battle-score strong{color:#543722}.village-inbox .map-battle-report .march-loot>div{background:#fff0c955;border-color:#aa814c99}.village-inbox .map-battle-report .map-battle-loot,.village-inbox .map-battle-report .map-battle-losses{background:#fff0c955;border:1px solid #aa814c99;border-radius:.5rem;padding:.35rem .45rem;font-size:.68rem}.village-inbox .map-battle-report .map-battle-loot strong,.village-inbox .map-battle-report .map-battle-losses summary{color:#604329;font-size:.68rem}.village-inbox .map-battle-report .map-battle-loot ul{gap:.2rem}.village-inbox .map-battle-report .map-battle-loot li{color:#5b3d25;background:#d5ad6c99;border:1px solid #a77a4466;border-radius:.3rem;padding:.12rem .3rem;font-size:.62rem}.village-inbox .map-battle-report .march-loot dt{color:#68492e;font-weight:800}.village-inbox .map-battle-report .march-loot dd{color:#4f3422;font-weight:900}.village-inbox .map-battle-report>.battle-loot-title{font-size:.68rem;font-weight:900;color:#5b3d25!important}.village-inbox .map-battle-report .battle-casualties table,.village-inbox .map-battle-report .battle-casualties th,.village-inbox .map-battle-report .battle-casualties td,.village-inbox .map-battle-report .battle-casualties tfoot th,.village-inbox .map-battle-report .battle-casualties tfoot td{color:#5b3d25!important}.village-inbox .map-battle-report .battle-casualties{box-shadow:none;background:#fff0c955;border-color:#a77c49;border-radius:.5rem}.village-inbox .map-battle-report .battle-casualties-heading{color:#5c4029;background:#8b684266;padding:.35rem .45rem}.village-inbox .map-battle-report .battle-casualties-heading>strong{font-size:.65rem}.village-inbox .map-battle-report .battle-casualties-heading>span{color:#5a7138;background:#d7e2a866;border-color:#80955299}.village-inbox .map-battle-report .battle-casualties thead th{color:#76583a}.village-inbox .map-battle-report .battle-casualties tbody th{color:#5b3d26}.village-inbox .map-battle-report .battle-casualties .battle-casualty-loss[data-loss=true]{color:#9c432d}.village-inbox .map-battle-report .battle-casualties .battle-casualty-alive{color:#3f6d3a}.village-inbox .map-battle-report .battle-casualties :is(th,td){padding:4px 3px}@media (hover:hover){:is(.battle-gold-button,.battle-back,.battle-category-grid button,.battle-answers button,.battle-boosters button):not(:disabled):hover{filter:brightness(1.13)}}.construction-sheet.village-inbox{--inbox-gutter:clamp(.6rem, 3cqw, 1rem);--inbox-foot:max(.625rem, env(safe-area-inset-bottom,0px), calc((100dvh - 100cqh) / 2 + .625rem));inset:auto 0 var(--inbox-foot);width:min(100cqw - 1.25rem,33rem);max-height:min(85cqh, calc(100dvh - var(--inbox-foot) - max(.75rem, env(safe-area-inset-top,0px))));background:radial-gradient(at 50% 20%,#512b65,#281336 82%);border:2px solid #a87248;border-top-color:#efc380;border-radius:1.25rem;box-shadow:0 5px #200d28,0 0 0 1px #2b102f,0 1rem 2.75rem #10061bba}.village-inbox::backdrop{-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#16082483}.village-inbox .construction-toolbar{padding:0;display:block}.inbox-heading{background:url(/assets/courier-desk-S_yGGfC2.webp) 0 57%/cover no-repeat,#420f48;border-bottom:2px solid #e3a65c;grid-template-columns:minmax(0,52%) 1fr;align-content:center;justify-items:start;gap:.25rem;min-height:clamp(4.75rem,min(35cqw,23cqh),11rem);padding:.75rem clamp(.8rem,4cqw,1.5rem);display:grid}.inbox-heading h2{color:#fff2cc;text-shadow:0 2px #662a38,0 3px 8px #26051d;grid-column:1;font-size:clamp(1.25rem,5.8cqw,2rem);font-weight:900;line-height:1.3}.village-inbox .inbox-count{color:#ffdb9a;grid-column:1;margin:0;font-size:clamp(.68rem,2.8cqw,.85rem);font-weight:700}.village-inbox .construction-close{background:0 0;border:0;border-radius:.75rem;width:2.85rem;position:absolute;inset:.35rem auto auto .35rem}.village-inbox .construction-close img{filter:drop-shadow(0 2px 2px #190b25a6);width:100%;display:block}.village-inbox .construction-body{scrollbar-color:#ad7959 #2c153b;padding:0}.inbox-art{width:var(--inbox-art-size,2rem);aspect-ratio:1;background:url(/assets/mail-insignia-BJxojooq.webp) var(--atlas-x,0%) var(--atlas-y,0%) / 300% 200% no-repeat;flex:none;display:block}.inbox-art[data-type=system],.inbox-art[data-type=player]{--atlas-x:50%}.inbox-art[data-type=attack],.inbox-art[data-type=sent]{--atlas-x:100%}.inbox-art:is([data-type=defend],[data-type=player],[data-type=sent]){--atlas-y:100%}.inbox-filters{z-index:1;padding:.45rem var(--inbox-gutter) .5rem;background:linear-gradient(#472354,#321742);grid-template-columns:repeat(6,minmax(0,1fr));gap:clamp(.125rem,1cqw,.3rem);display:grid;position:sticky;top:0;box-shadow:0 1px #a96b675f,0 3px 8px #210c3380}.inbox-filters button{--inbox-art-size:clamp(1.5rem, 7.3cqw, 2.2rem);color:#e7d2f0;background:0 0;border:1px solid #0000;border-radius:.55rem .55rem .25rem .25rem;align-content:center;justify-items:center;gap:.15rem;min-width:0;min-height:3.45rem;padding:.2rem .05rem .3rem;font-size:clamp(.625rem,2.65cqw,.78rem);font-weight:800;line-height:1.15;display:grid;position:relative}.inbox-filters .inbox-art{filter:drop-shadow(0 2px 2px #200c2e)}.inbox-filters button[aria-pressed=true]{color:#fff0bf;background:radial-gradient(at top,#815095,#502653 84%);border-color:#da9d63 #da9d63 #ffda93;box-shadow:inset 0 1px #ffe0a340,0 2px #1d0928}.inbox-filters button[aria-pressed=true]:after{content:"";aspect-ratio:1;background:#ffda93;border-radius:1px;width:.36rem;position:absolute;bottom:-.2rem;rotate:45deg}.inbox-content{min-height:10rem;padding:.85rem var(--inbox-gutter) .95rem;gap:.75rem;display:grid}.inbox-messages{align-content:start;gap:.42rem;margin:0;padding:0;list-style:none;display:grid}.inbox-message-toggle{isolation:isolate;color:#40223b;text-align:start;background:0 0;border:0;border-radius:.5rem;align-items:center;gap:.5rem;width:100%;min-height:3.85rem;padding:.55rem .7rem;display:flex;position:relative}.inbox-message-toggle:before{content:"";z-index:-1;filter:sepia(.16)brightness(.92)drop-shadow(0 .18rem .15rem #17071d);background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.inbox-message[data-unread=true] .inbox-message-toggle:before{filter:drop-shadow(0 .18rem .15rem #17071d)}.village-inbox .inbox-message-toggle:focus-visible{outline-offset:-.35rem;outline-color:#653053}.inbox-stamp{--inbox-art-size:clamp(2rem, 9cqw, 2.75rem);flex:none;place-items:center;display:grid}.inbox-stamp .inbox-art{filter:drop-shadow(0 1px 1px #75422370)}.inbox-message-text{flex:1;gap:.125rem;min-width:0;display:grid}.inbox-message-text strong{font-size:clamp(.81rem,3.3cqw,.98rem);line-height:1.3}.inbox-message[data-unread=true] .inbox-message-text strong{font-weight:900}.inbox-message-text small{color:#654231;font-size:clamp(.625rem,2.55cqw,.75rem);line-height:1.5}.inbox-unread{aspect-ratio:1;background:radial-gradient(circle at 34% 27%,#ff9c61,#cb4147 47%,#8e253b 84%);border:1px solid #a22837;border-radius:52% 43% 48% 40%;flex:none;width:.85rem;margin-inline-end:.15rem;position:relative;rotate:-15deg;box-shadow:0 1px 2px #5a213f80,inset 0 0 0 1px #ffc07f66}.inbox-chevron{aspect-ratio:1;border-bottom:2px solid #734334;border-right:2px solid #734334;flex:none;width:.46rem;margin-inline:.05rem .25rem;rotate:45deg}.inbox-message-toggle[aria-expanded=true] .inbox-chevron{rotate:225deg}.inbox-message-body{background:#211030;border-radius:0 0 .6rem .6rem;margin:-.15rem .35rem .15rem;padding:.7rem .8rem .8rem;box-shadow:inset 0 2px 4px #13091ccc,inset 0 -1px #ab6e5e6b}.inbox-message-body>p{white-space:pre-wrap;margin:0}.inbox-reply{justify-items:start;gap:.5rem;margin-top:.55rem;display:grid}.inbox-reply-toggle{color:#fff0c2;--inbox-art-size:1.5rem;background:linear-gradient(#613a70,#3b204d);border:1px solid #a56a8d;border-radius:.5rem;align-items:center;gap:.35rem;min-height:2.75rem;padding:.25rem .65rem;font-size:.8rem;font-weight:800;display:inline-flex;box-shadow:inset 0 1px #ffd8b738,0 2px #170b24}.inbox-reply-form{gap:.45rem;width:100%;min-width:0;padding-top:.25rem;display:grid}.inbox-reply-form label{color:#ffe5ac;margin:0;font-size:.8rem}.inbox-reply-form textarea{resize:vertical;color:#40223b;background:#f8dfad;border:1px solid #d3a061;border-radius:.5rem;width:100%;min-height:5.25rem;padding:.6rem .75rem;scroll-margin-block-start:5rem;font-size:1rem;line-height:1.5;box-shadow:inset 0 2px 6px #9c633345}.inbox-reply-meta{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.1rem .65rem;display:flex}.village-inbox .inbox-reply-meta p,.village-inbox .inbox-reply-feedback{margin:0;font-size:.75rem}.inbox-reply-meta bdi{color:#eacb9a;white-space:nowrap;font-size:.75rem}.inbox-reply-send{--inbox-art-size:1.45rem;justify-self:start;min-height:2.75rem}.inbox-reply-feedback:empty{display:none}.inbox-report-toggle{background:#36203f;font-size:.72rem}.inbox-report-toggle[aria-disabled=true]{opacity:.65;cursor:default}.inbox-report-actions{flex-wrap:wrap;gap:.5rem;display:flex}.inbox-message-report .inbox-reply-form textarea{box-sizing:border-box}.inbox-report{gap:.375rem;margin:0;font-size:.75rem;display:grid}.inbox-report>div{grid-template-columns:minmax(0,1fr) minmax(0,1.75fr);gap:.5rem;display:grid}.inbox-report dt{color:#dac3e8}.inbox-report dd{color:#fff1cc;margin:0}.inbox-ticket-form{background:#211030;border:1px solid #bd8c5975;border-radius:.6rem;gap:.5rem;margin-top:.8rem;padding:.75rem;display:grid}.inbox-ticket-form h3{color:#ffe2a2;margin:0;font-size:1rem}.inbox-ticket-form input,.inbox-ticket-form textarea{box-sizing:border-box;color:#fff4e4;width:100%;font:inherit;background:#160b25;border:1px solid #a47db8;border-radius:.4rem;padding:.55rem}.inbox-ticket-status{color:#b8f0c0;margin-top:.5rem;font-size:.78rem;display:inline-block}.inbox-ticket-status.is-closed{color:#e8b8b8}.inbox-empty{--inbox-art-size:2.875rem;place-content:center;justify-items:center;gap:.2rem;min-height:8rem;display:grid}.inbox-empty p{color:#efdbbd;margin:0}.inbox-empty .inbox-art{filter:drop-shadow(0 4px 4px #190a29)}.inbox-marches,.inbox-march{gap:.3rem;display:grid}.village-inbox .inbox-marches{background:radial-gradient(circle at 15% 0,#fff4c533,#0000 38%),linear-gradient(145deg,#493326,#2f2822);border:2px solid #a9793e;border-radius:.85rem;padding:.65rem;position:relative;box-shadow:inset 0 1px #ffe7a344,inset 0 0 0 2px #211a1744,0 4px #1a1412}.village-inbox .inbox-marches h3{color:#ffe4a8;letter-spacing:-.02em;align-items:center;gap:.35rem;margin:0 0 .2rem;font-size:.82rem;display:flex}.village-inbox .inbox-marches h3:before{content:"⚔";color:#edbd61;font-size:.9rem}.inbox-march{color:#4d3425;background:linear-gradient(140deg,#f3d89e,#dcb777);border:1px solid #bd8c5975;border-radius:.6rem;padding:.4rem;box-shadow:inset 0 1px #fff2c5,inset 0 -2px #a87b4266,0 2px #17120f}.inbox-march>strong{color:#563522;--inbox-art-size:1.15rem;align-items:center;gap:.25rem;font-size:.75rem;display:flex}.inbox-march>small{color:#705339;padding-inline:.15rem;font-size:.64rem}.village-inbox .inbox-marches .march-loot{gap:3px}.village-inbox .inbox-marches .march-loot>div{background:#fff1c255;border:1px solid #a2764566;border-radius:6px;gap:2px;padding:4px 2px}.village-inbox .inbox-marches .march-loot dt{color:#725238;gap:1px;font-size:.56rem}.village-inbox .inbox-marches .march-loot dt img{width:24px;height:24px}.village-inbox .inbox-marches .march-loot dd{color:#543822;font-size:.78rem}.village-inbox .inbox-marches .march-clock{color:#fff0bf;background:#6b4b3266;border-color:#a57b49;gap:.3rem;padding:.4rem;box-shadow:inset 0 1px #fff2c333}.village-inbox .inbox-marches .march-clock>svg{width:1rem;height:1rem}.village-inbox .inbox-marches .march-clock strong{font-size:.68rem}.village-inbox .inbox-marches .march-clock small{font-size:.56rem}.village-inbox .inbox-marches .march-clock>bdi{font-size:.8rem}@media (hover:hover){.village-inbox .construction-close:hover img,.inbox-filters button:hover .inbox-art{filter:brightness(1.18)drop-shadow(0 2px 2px #200c2e)}.inbox-message-toggle:hover{color:#752c48}}.village-inbox .inbox-marches{box-shadow:none;background:0 0;border:0;border-radius:0;padding:.35rem 0 .5rem}.village-inbox .inbox-marches h3{color:#5c3926;background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100%,#e8c988;border:0;border-radius:.35rem;margin:0 0 .3rem;padding:.45rem .7rem;font-size:.78rem;box-shadow:0 2px #9b6c3c66}.village-inbox .inbox-marches h3:before{color:#8a4c32}.village-inbox .inbox-march{background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100%,#e6c27f;border-color:#b9894d;box-shadow:0 2px #8b5c3266}.village-inbox .inbox-march .march-clock{color:#5d3d29;padding:.15rem 0 0;box-shadow:none!important;background:0 0!important;border:0!important}.village-inbox .inbox-march .march-clock>svg{color:#875a32}.village-inbox .inbox-march .march-clock strong,.village-inbox .inbox-march .march-clock>bdi{color:#5d3d29}.village-inbox .inbox-battle-xp{color:#65431f;background:linear-gradient(120deg,#f6df9f,#ebc87870);border:1px solid #af803a80;border-radius:9px;justify-content:space-between;align-items:center;gap:10px;margin:0 0 12px;padding:10px 12px;font-size:12px;display:flex;box-shadow:inset 0 1px #fff2c4}.village-inbox .inbox-battle-xp strong{color:#64401b;font-size:18px}.village-inbox .inbox-battle-xp abbr{font-size:12px;text-decoration:none}.leaderboard{color:#fff4da;isolation:isolate;background:#29153e url(/assets/champions-arena-v4-B2uqCyJq.png) top/100% no-repeat;border:0;width:100cqw;max-width:100%;height:100cqh;max-height:100%;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.leaderboard[open]{flex-direction:column;display:flex}.leaderboard::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#10071ce0}.leaderboard button{cursor:pointer;font:inherit}.leaderboard button:focus-visible,.leaderboard-ranks:focus-visible{outline-offset:-2px;outline:2px solid #ffe1a0}.champions-scene{flex:none;height:clamp(265px,39cqh,350px);position:relative}.leaderboard-heading{text-align:right;padding:max(14px,env(safe-area-inset-top)) 25px 0 65px;text-shadow:0 3px 5px #241033;justify-content:flex-start;display:flex}.hall-eyebrow{color:#f1cc99;letter-spacing:.1em;font-size:.65rem}.leaderboard-heading h2{color:#fff0b9;margin:0;font-size:clamp(1.65rem,7cqw,2.2rem);font-weight:900}.leaderboard-heading p{color:#eedbf5;margin:0;font-size:.68rem}.leaderboard-heading>button{background:0 0;border:0;width:40px;height:40px;padding:0;position:absolute;top:16px;left:13px}.leaderboard-heading>button img{object-fit:contain;width:100%;height:100%}.leaderboard-podium{margin:0;padding:0;list-style:none;position:absolute;inset:80px 6% 8px}.leaderboard-podium>li{text-align:center;text-shadow:0 2px 4px #1c0d2f,0 0 8px #1c0d2f;flex-direction:column;align-items:center;width:29%;display:flex;position:absolute;bottom:0}.leaderboard-podium [data-rank="1"]{--rank-metal:#ffe197;bottom:22px;left:35.5%}.leaderboard-podium [data-rank="2"]{--rank-metal:#e0eefa;left:70%}.leaderboard-podium [data-rank="3"]{--rank-metal:#ffcca6;left:1%}.leaderboard-portrait{width:100%;height:clamp(82px,13cqh,116px)}[data-rank="1"] .leaderboard-portrait{height:clamp(105px,16.5cqh,147px)}.leaderboard-portrait img{object-fit:contain;filter:drop-shadow(0 3px 3px #120a22)drop-shadow(0 0 8px #c89cf0aa);width:100%;height:100%}[data-rank="1"] .leaderboard-portrait img{filter:drop-shadow(0 3px 3px #120a22)drop-shadow(0 0 12px #ffd25ba0)}.champion-crown{color:#ffdb74;fill:#d79326;filter:drop-shadow(0 0 8px #ffd472);width:30px;height:27px;position:absolute;top:-24px;transform:rotate(-8deg)}.leaderboard-position strong{color:#44273e;clip-path:polygon(0 0,100% 0,94% 78%,50% 100%,6% 78%);width:29px;height:32px;text-shadow:none;background:linear-gradient(#fff0bd,#d4984d);place-items:center;font-size:.9rem;display:grid}.leaderboard-podium-player{justify-items:center;gap:2px;width:100%;padding-top:4px;display:grid}.leaderboard-podium-player bdi{white-space:nowrap;text-overflow:ellipsis;max-width:100%;font-size:.78rem;font-weight:900;overflow:hidden}.leaderboard-podium-player span{color:var(--rank-metal);background:#21112d66;border:1px solid #ffdf9b24;border-radius:20px;align-items:center;gap:3px;padding:2px 7px;font-size:.65rem;display:flex}.leaderboard>.village-guide-companion{flex:none;margin:0 16px}.leaderboard-prize{filter:drop-shadow(0 6px 5px #160b2c77);background:url(/assets/qq_village_signboard-C_5cHoMS.png) 50%/100% 100% no-repeat;flex:none;align-items:center;min-height:104px;margin:-2px 22px 4px;padding:14px 20px 14px 112px;display:flex;position:relative}.leaderboard-prize-copy{z-index:1;position:relative}.leaderboard-prize-copy>span{color:#fff0b4;text-shadow:0 1px 2px #3b1d3f;align-items:center;gap:5px;font-size:.68rem;display:flex}.leaderboard-prize-copy h3{color:#fff8df;text-shadow:0 2px 3px #4a2444;margin:0;font-size:1.3rem;font-weight:900;line-height:1.3}.leaderboard-prize-copy h3 bdi{font-family:system-ui,sans-serif}.leaderboard-prize-copy p{color:#fff1dc;text-shadow:0 1px 2px #3b1d3f;margin:3px 0 0;font-size:.62rem}.leaderboard-prize>img{object-fit:contain;filter:drop-shadow(0 3px 6px #1f0e24);width:96px;height:108px;position:absolute;bottom:7px;left:15px;transform:rotate(-7deg)}.leaderboard-standings{background:linear-gradient(#0000,#23113266);flex-direction:column;flex:1;min-height:0;padding:0 15px;display:flex}.leaderboard-standings-heading{justify-content:space-between;align-items:center;padding:6px 10px 8px;display:flex}.leaderboard-standings-heading h3{color:#ffe5ac;text-shadow:0 2px 4px #180c27;margin:0;font-size:1rem}.leaderboard-ranks{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cfa365 transparent;flex:1;min-height:0;margin:0;padding:3px 3px 0;list-style:none;overflow:auto}.rank-entry{color:#4b2a37;filter:drop-shadow(0 3px 2px #11082066);background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100% no-repeat;align-items:center;gap:9px;height:59px;margin-bottom:5px;padding:5px 16px;display:flex}.rank-shield{color:#fff0bc;clip-path:polygon(8% 0,92% 0,100% 65%,50% 100%,0 65%);background:linear-gradient(120deg,#8f5d9a,#41224f);flex:none;place-items:center;width:39px;height:40px;font-size:.82rem;display:grid}.leaderboard-player{flex:1;align-items:center;gap:8px;min-width:0;font-size:.83rem;font-weight:900;display:flex}.leaderboard-player img{object-fit:cover;border-radius:10px;flex:none;width:39px;height:39px;box-shadow:0 1px 3px #41234d88}.leaderboard-player bdi{white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.rank-you{color:#ffe8ab;background:#28123766;border:1px solid #ffe5a07a;border-radius:4px;align-items:center;gap:3px;padding:2px 5px;font-size:.6rem;display:flex}.rank-metrics{flex:none;align-items:stretch;gap:4px;display:flex}.rank-metrics span{border-inline-start:1px solid #8d66554d;align-content:center;justify-items:center;min-width:36px;padding:2px 4px;display:grid}.rank-metrics bdi{color:#563243;font-size:.72rem;line-height:1.1}.rank-metrics small{color:#775a4c;white-space:nowrap;align-items:center;gap:2px;font-size:.48rem;font-weight:600;display:flex}.rank-entry-own{color:#fff0ce;background-image:linear-gradient(110deg,#70478f,#402451);background-repeat:no-repeat;border:0;border-radius:0;position:relative;box-shadow:inset 0 2px #ebc37f,inset 0 -2px #ebc37f;-webkit-mask-image:url(/assets/letter-paper-BvItQz-x.webp);mask-image:url(/assets/letter-paper-BvItQz-x.webp);-webkit-mask-size:100% 100%;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat}.rank-entry-own:after{content:"";border-radius:inherit;opacity:.16;pointer-events:none;mix-blend-mode:screen;background:url(/assets/letter-paper-BvItQz-x.webp) 50%/100% 100%;position:absolute;inset:0}.rank-entry-own .rank-shield{color:#44263d;background:linear-gradient(130deg,#fff1bc,#cd9149);font-weight:900}.rank-entry-own .leaderboard-player img{outline:1px solid #ffe0a3;box-shadow:0 0 8px #efbe6c77}.rank-entry-own .rank-metrics{color:#fff0ce}.rank-entry-own .rank-metrics span{border-color:#e9c17b55}.rank-entry-own .rank-metrics bdi{color:#fff0ce}.rank-entry-own .rank-metrics small{color:#e9d1b4}.leaderboard-pagination{flex:none;grid-template-columns:42px 42px 1fr 42px 42px;align-items:center;gap:5px;padding:9px 4px;display:grid}.leaderboard-icon-button{color:#ffe6b2;background:linear-gradient(#654070,#33203e);border:1px solid #b58454;border-radius:10px;place-items:center;min-height:36px;display:grid;box-shadow:inset 0 1px #ffebc333,0 2px #180c25}.leaderboard-icon-button:disabled{opacity:.35;cursor:default}.leaderboard-pagination output{text-align:center;color:#eed6bc;font-size:.65rem}.leaderboard-pagination .leaderboard-icon-button{color:#fff0bf;text-shadow:0 2px #26132d;background:radial-gradient(at 50% 0,#b383c1,#0000 75%),linear-gradient(#744688,#3f2056);border:2px solid #d8a65e;border-radius:12px;min-height:42px;position:relative;box-shadow:inset 0 0 0 2px #38203e,inset 0 3px 5px #ffe6c744,0 3px #7e4d29,0 5px 7px #14091e99}.leaderboard-pagination .leaderboard-icon-button svg{filter:drop-shadow(0 2px 1px #25112b);width:22px;height:22px}.leaderboard-pagination .leaderboard-icon-button:not(:disabled):hover{filter:brightness(1.2)}.leaderboard-pagination .leaderboard-icon-button:not(:disabled):active{transform:translateY(2px);box-shadow:inset 0 0 0 2px #38203e,0 1px #7e4d29}.leaderboard-own-banner{margin:1px 20px max(10px,env(safe-area-inset-bottom));text-align:start;flex:none}.podium-player-button{width:100%;color:inherit;text-shadow:inherit;background:0 0;border:0;flex-direction:column;align-items:center;padding:0;display:flex}.leaderboard-ranks>.rank-entry{padding:0}.rank-entry-button{width:100%;height:100%;color:inherit;text-align:start;background:0 0;border:0;align-items:center;gap:9px;padding:5px 16px;display:flex}.rank-entry-button:hover,.podium-player-button:hover{filter:brightness(1.12)}.leaderboard-player-card{box-sizing:border-box;color:#fff0ce;text-align:center;width:min(360px,100cqw - 28px);max-width:calc(100vw - 28px);max-height:min(90cqh,100dvh - 32px);font:inherit;background:radial-gradient(at 50% 0,#84539c77,#0000 65%),linear-gradient(150deg,#452557,#241333);border:2px solid #d3a25e;border-radius:24px 24px 18px 18px;margin:auto;padding:26px 20px 14px;position:fixed;inset:0;overflow:auto;box-shadow:inset 0 0 0 4px #21112f,inset 0 0 30px #af79bb33,0 18px 55px #0e061dc9}.leaderboard-player-card::backdrop{-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);background:#140a23bd}.leaderboard-player-card button{font:inherit;cursor:pointer}.leaderboard-player-card button:focus-visible,.leaderboard-player-card :is(textarea,input):focus-visible{outline-offset:3px;outline:2px solid #ffe1a0}.rank-card-close{color:#ffe5ac;background:#352041;border:1px solid #ba8b59;border-radius:10px;place-items:center;width:32px;height:32px;padding:0;display:grid;position:absolute;top:12px;left:12px}.rank-card-avatar{margin-bottom:12px;display:inline-block;position:relative}.rank-card-avatar img{object-fit:cover;border:2px solid #f3cf83;border-radius:22px;width:80px;height:80px;display:block;box-shadow:0 0 24px #daac6544}.rank-card-avatar b{color:#ffe1a0;background:#38213f;border:1px solid #cda363;border-radius:8px;align-items:center;gap:4px;padding:1px 10px;font-size:.75rem;display:flex;position:absolute;bottom:-10px;left:50%;transform:translate(-50%)}.rank-card-identity p{color:#d9bcdf;margin:5px 0;font-size:.7rem}.rank-card-identity h2{color:#ffe6ad;overflow-wrap:anywhere;margin:4px 0;font-size:1.35rem}.rank-card-identity .rank-card-village{color:#f1dbb6;overflow-wrap:anywhere;justify-content:center;align-items:center;gap:6px;display:flex}.rank-card-stats{border-block:1px solid #d1aa6255;grid-template-columns:repeat(3,minmax(0,1fr));margin:18px 0;padding:12px 0;display:grid}.rank-card-stats div+div{border-inline-start:1px solid #d1aa6233}.rank-card-stats dt{color:#cfb2d6;font-size:.6rem}.rank-card-stats dd{color:#ffe1a0;margin:3px 0 0;font-size:.9rem;font-weight:900}.rank-card-actions,.rank-card-form{gap:10px;display:grid}.rank-card-actions button,.rank-card-form>button{color:#fff0c6;background:linear-gradient(#815793,#4f2c63);border:1px solid #ce9f5c;border-radius:12px;justify-content:center;align-items:center;gap:8px;min-height:44px;padding:9px 12px;font-size:.8rem;font-weight:800;display:flex;box-shadow:inset 0 1px #ffe9b52b,0 3px #170d23}.rank-card-actions .rank-card-report-toggle,.rank-card-form .rank-card-back{box-shadow:none;color:#dfc3d1;background:#27153466;border-color:#a881a966;font-size:.7rem}.leaderboard-player-card button:disabled{opacity:.5;cursor:default}.rank-card-form{text-align:start}.rank-card-form>label,.rank-card-form legend{color:#ffe4ad;font-size:.78rem}.rank-card-form textarea{box-sizing:border-box;resize:vertical;color:#fff0d3;width:100%;min-height:84px;max-height:180px;font:inherit;background:#190e25aa;border:1px solid #bb946b;border-radius:10px;padding:10px;font-size:.8rem}.rank-card-form>small{color:#cdb2d2;text-align:end;font-size:.6rem}.leaderboard-player-card[data-view=report]{padding-top:22px}.leaderboard-player-card[data-view=report] .rank-card-identity{text-align:start;grid-template-columns:56px minmax(0,1fr);align-items:center;column-gap:12px;padding-inline-end:26px;display:grid}.leaderboard-player-card[data-view=report] .rank-card-avatar{grid-area:1/1/3/2;margin:0}.leaderboard-player-card[data-view=report] .rank-card-avatar img{border-radius:16px;width:54px;height:54px}.leaderboard-player-card[data-view=report] .rank-card-avatar b{padding:0 7px;font-size:.6rem;bottom:-8px}.leaderboard-player-card[data-view=report] .rank-card-identity>p:first-of-type{display:none}.leaderboard-player-card[data-view=report] .rank-card-identity h2{grid-area:1/2;margin:0;font-size:1.05rem;line-height:1.5}.leaderboard-player-card[data-view=report] .rank-card-village{grid-area:2/2;justify-content:flex-start;margin:2px 0 0;font-size:.65rem}.leaderboard-player-card[data-view=report] .rank-card-stats{margin:18px 0 16px;padding:9px 0}.rank-card-form .rank-card-report-submit{color:#4c2d3f;text-shadow:0 1px #fff0b955;background:linear-gradient(#ffe4a0,#d6a45e);border-color:#f5d28e;min-height:46px;font-weight:900;box-shadow:inset 0 1px #fff4cf,inset 0 0 0 2px #ffecb233,0 3px #7b4d33,0 5px 9px #150a2233}.rank-card-report-submit svg{width:18px;height:18px}@media (hover:hover){.rank-card-form .rank-card-report-submit:not(:disabled):hover{filter:brightness(1.07)}}.rank-card-feedback{color:#f5da9e;margin:12px 0 0;font-size:.73rem;line-height:1.8}.rank-card-feedback:empty{margin:0}@container game (height<=700px){.champions-scene{height:255px}.leaderboard-heading{padding-top:6px}.leaderboard-heading h2{font-size:1.55rem}.leaderboard-prize{min-height:88px;padding-block:10px}.leaderboard-prize>img{width:86px;height:96px}.leaderboard-own-banner{min-height:55px}}@container game (width>=560px) and (height<=560px){.leaderboard[open]{grid-template-rows:1fr auto;grid-template-columns:45% 55%;display:grid}.champions-scene{grid-area:1/1;height:100%}.leaderboard-prize{grid-area:2/1}.leaderboard-standings{grid-area:1/2;height:100%}.leaderboard-own-banner{grid-area:2/2}}@media (prefers-reduced-motion:no-preference){.champion-crown{animation:3s ease-in-out infinite crown-hover}@keyframes crown-hover{50%{transform:translateY(-5px)rotate(6deg)}}}.player-name-report-fields{gap:10px;min-width:0;display:grid}.player-name-report-fields .name-report-options{border:0;gap:8px;min-width:0;margin:0 0 6px;padding:0;display:grid}.name-report-options legend{color:#ffe4ad;align-items:center;gap:7px;width:100%;margin:0;padding:0;font-size:.86rem;font-weight:900;display:flex}.name-report-options legend svg{color:#e5b675;width:17px;height:17px}.name-report-options .name-report-hint{color:#c6acd0;margin:5px 0 3px;font-size:.65rem;line-height:1.7}.name-report-options .name-report-choice{box-sizing:border-box;color:#ead8e9;cursor:pointer;background:linear-gradient(115deg,#37203f,#51315c66);border:1px solid #a17ba277;border-radius:14px;grid-template-columns:44px minmax(0,1fr) 23px;align-items:center;gap:10px;min-height:74px;padding:10px 12px;display:grid;position:relative;box-shadow:inset 0 1px #eed8f511,0 3px 6px #10071b22}.player-name-report-fields .name-report-choice>input{z-index:1;opacity:0;width:100%;height:100%;cursor:inherit;margin:0;padding:0;position:absolute;inset:0}.name-report-options .name-report-choice:has(input:checked){color:#fff0c5;background:radial-gradient(at 100% 0,#e3b77820,#0000 80%),linear-gradient(115deg,#3b2349,#5d3b64);border-color:#e9c27d;box-shadow:inset 0 0 0 1px #e8bf7633,inset 0 1px #ffe7a94d,0 3px 8px #14092044}.name-report-options .name-report-choice:has(input:focus-visible){outline-offset:3px;outline:2px solid #ffe3a4}.name-report-options:disabled .name-report-choice{opacity:.6;cursor:default}.name-report-choice-art{color:#e8bf7d;background:radial-gradient(at 50% 0,#ae7a9e55,#0000 75%),#2a1836;border:1px solid #b28da577;border-radius:12px;place-items:center;width:42px;height:42px;display:grid;box-shadow:inset 0 1px #ffe6bc22,0 2px 4px #150b2255}.name-report-choice-art img{object-fit:cover;border-radius:11px;width:100%;height:100%}.name-report-choice-art>svg{stroke-width:1.6px;filter:drop-shadow(0 2px 1px #14091b88);width:25px;height:25px}.name-report-choice:has(input:checked) .name-report-choice-art{border-color:#d5ad6f;box-shadow:0 0 10px #d8ad6533}.name-report-choice-copy{text-align:start;gap:3px;min-width:0;display:grid}.name-report-choice-copy small{color:#c7a9cc;font-size:.61rem;line-height:1.5}.name-report-choice-copy bdi{color:inherit;overflow-wrap:anywhere;font-size:.84rem;font-weight:900;line-height:1.7}.name-report-choice:has(input:checked) .name-report-choice-copy small{color:#e9cc9d}.name-report-choice-check{box-sizing:border-box;color:#0000;background:#21132d55;border:1px solid #a581ad;border-radius:7px;place-items:center;width:22px;height:22px;display:grid}.name-report-choice-check svg{stroke-width:3px;width:15px;height:15px}.name-report-choice:has(input:checked) .name-report-choice-check{color:#4a2b42;background:linear-gradient(#ffe7ac,#d6a557);border-color:#ffe3a5;box-shadow:0 0 9px #eac57d44}.name-report-note-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;display:flex}.name-report-note-heading label{color:#f1d7b0;align-items:center;gap:5px;font-size:.73rem;display:flex}.name-report-note-heading label svg{color:#cead83;width:14px;height:14px}.name-report-note-heading label span{color:#c1a3c8;font-size:.61rem}.name-report-note-heading>bdi{color:#c5a8ca;background:#21132c44;border:1px solid #a581ad33;border-radius:6px;padding:2px 6px;font-size:.58rem}.player-name-report-fields textarea.name-report-note,.map-target-form .player-name-report-fields textarea.name-report-note{box-sizing:border-box;resize:vertical;color:#fff0d3;width:100%;min-height:90px;max-height:180px;font:inherit;background:linear-gradient(145deg,#23142f,#301c3b);border:1px solid #b28a9977;border-radius:10px;padding:12px;font-size:.8rem;line-height:1.8;box-shadow:inset 0 2px 7px #10071b55}.name-report-note::placeholder{color:#a98caf;opacity:1;font-size:.7rem}@media (hover:hover){.name-report-options .name-report-choice:not(:has(input:disabled)):hover{border-color:#edc986}}.quest-sheet{--quest-gutter:clamp(.65rem, 3.3cqw, 1.15rem);--quest-foot:max(.4rem, env(safe-area-inset-bottom,0px), calc((100dvh - 100cqh) / 2 + .4rem));inset:auto 0 var(--quest-foot);width:min(100cqw - .7rem,35rem);max-width:none;height:min(92cqh, calc(100dvh - var(--quest-foot) - max(.5rem, env(safe-area-inset-top,0px))));color:#fff1cc;background:#311834 url(/assets/quest-board-C8mth8Xj.webp) top/100% 100% no-repeat;border:2px solid #d6a154;border-radius:1.25rem;max-height:none;margin:0 auto;padding:0;position:fixed;overflow:hidden;box-shadow:0 0 0 3px #41202a,0 0 0 4px #aa7446,0 .8rem 3rem #100619db,inset 0 0 1.5rem #10051b}.quest-sheet[open]{animation:.3s ease-out quest-rise}.quest-sheet::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#100720b0}.quest-sheet-layout{flex-direction:column;height:100%;padding:.3rem;display:flex}.quest-sheet-controls{overscroll-behavior:contain;flex:none;max-height:65%;overflow:auto}.quest-sheet-heading{isolation:isolate;text-align:center;justify-content:center;align-items:flex-start;min-height:clamp(12rem,32cqh,17rem);padding:clamp(4.25rem,15cqh,8rem) 2.7rem .5rem;display:flex;position:relative}.quest-sheet-heading>div:not(.quest-magic){z-index:1;background:radial-gradient(#28112ed6,#28112e00 72%);border-radius:40%;padding:.3rem .65rem;position:relative}.quest-sheet-heading h2{color:#fff1bc;text-shadow:0 2px #713c27,0 3px 5px #210c25,0 0 12px #ffbf485c;margin:0;font-size:clamp(1.2rem,5.9cqw,2rem);font-weight:900;line-height:1.45}.quest-sheet-heading p{color:#ffdc98;text-shadow:0 1px 3px #18091e;justify-content:center;align-items:center;gap:.3rem;margin:.25rem 0 0;font-size:clamp(.68rem,2.9cqw,.85rem);font-weight:750;display:flex}.quest-sheet-heading p svg{width:1em;height:1em}.quest-close{z-index:2;aspect-ratio:1;background:0 0;border:0;border-radius:.75rem;place-items:center;width:2.75rem;padding:0;display:grid;position:absolute;inset:.35rem auto auto .2rem}.quest-close img{filter:drop-shadow(0 3px 2px #15091c);width:100%;display:block}.quest-magic{z-index:0;pointer-events:none;position:absolute;inset:0;overflow:hidden}.quest-magic i{background:#fff5bc;border-radius:50%;width:3px;height:3px;animation:4.5s ease-in infinite quest-mote;position:absolute;bottom:10%;left:15%;box-shadow:0 0 5px 2px #ffc347b0}.quest-magic i:nth-child(2){animation-delay:-1s;left:33%}.quest-magic i:nth-child(3){animation-delay:-2.6s;left:70%}.quest-magic i:nth-child(4){animation-delay:-3.8s;left:81%}.quest-magic i:nth-child(5){animation-delay:-1.9s;left:58%}.quest-filters{background:#211025bd;border:1px solid #ba82534d;border-radius:.7rem;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:0 .55rem .2rem;padding:.3rem;display:grid;position:relative;box-shadow:0 2px 5px #10061996}.quest-filters button{color:#e7cce5;background:linear-gradient(#54324bc2,#321a34d4);border:1px solid #a9746c69;border-radius:.5rem;justify-content:center;align-items:center;gap:.3rem;min-width:0;min-height:3.2rem;padding:.15rem .35rem;font-size:clamp(.73rem,3.3cqw,.92rem);font-weight:900;line-height:1.3;display:flex;position:relative;box-shadow:inset 0 1px #e8c7e21f}.quest-filters img{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px 2px #170920);width:2.6rem}.quest-filters button[aria-pressed=true]{color:#fff1c2;background:linear-gradient(#91558a,#643765 50%,#49264b);border-color:#ffda83;box-shadow:inset 0 1px #fff1ca70,inset 0 -3px #28152d80,0 0 .6rem #f1bb4d29}.quest-filters b{color:#fff5ce;background:linear-gradient(#d96154,#962a40);border:1px solid #ffd690;border-radius:50%;place-items:center;min-width:1.3rem;min-height:1.3rem;padding:0 .2rem;font-size:.68rem;display:grid;position:absolute;inset:-.25rem -.2rem auto auto}.quest-replay,.quest-announcement>span{color:#f3e0ec;background:#241229dc;border:1px solid #b38b6759;border-radius:.5rem;margin:.3rem .85rem;padding:.35rem .6rem;font-size:.72rem}.quest-replay-info,.quest-announcement>span{flex-wrap:wrap;align-items:center;gap:.25rem .5rem;display:flex}.quest-replay-info{justify-content:space-between;margin-top:.2rem}.quest-replay-info small{font-size:inherit}.quest-replay-info a,.quest-announcement>span{color:#eaffc6}.quest-announcement{margin:0}.quest-announcement svg{flex:none;width:.85rem;height:.85rem}.quest-list{min-width:0;min-height:0;padding:.75rem var(--quest-gutter) 1.2rem;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#bf8c60 #24132980;flex:1;overflow:auto}.quest-card{isolation:isolate;color:#42263d;gap:.65rem;margin:0 -.25rem .8rem;padding:2.1rem 1.75rem 2.15rem;display:grid;position:relative}.quest-card:before{content:"";z-index:-1;filter:drop-shadow(0 5px 3px #13071ec4);pointer-events:none;background:url(/assets/mission-parchment-BlPNd--W.webp) 50%/100% 100% no-repeat;position:absolute;inset:0}.quest-card[data-status=ready]:before{filter:drop-shadow(0 0 6px #ffd47080)drop-shadow(0 4px 3px #13071e)}.quest-card[data-status=claimed]:before{filter:saturate(.65)drop-shadow(0 4px 3px #13071e)}.quest-card[data-status=locked]:before{filter:saturate(.3)brightness(.85)drop-shadow(0 4px 3px #13071e)}.quest-card-heading{flex-wrap:wrap;align-items:center;gap:.2rem .45rem;display:flex}.quest-emblem{aspect-ratio:1;background:url(/assets/quest-medallions-UiHMG11T.webp) var(--emblem-x,0%) var(--emblem-y,0%) / 300% 200% no-repeat;filter:drop-shadow(0 2px 2px #75402769);border-radius:50%;flex:none;width:3.9rem;display:block}.quest-emblem[data-art=building],.quest-emblem[data-art=alliance]{--emblem-x:50%}.quest-emblem[data-art=resource],.quest-emblem[data-art=treasure]{--emblem-x:100%}.quest-emblem:is([data-art=battle],[data-art=alliance],[data-art=treasure]){--emblem-y:100%}.quest-emblem[data-art^=resource-]{--emblem-x:0%;--emblem-y:0%;background-image:url(/assets/resource-medallions-CpmgCMmR.webp);background-size:200% 200%}.quest-emblem:is([data-art=resource-wheat],[data-art=resource-iron]){--emblem-x:100%}.quest-emblem:is([data-art=resource-brick],[data-art=resource-iron]){--emblem-y:100%}.quest-card-title{overflow-wrap:anywhere;flex:7rem;min-width:0}.quest-card-title small{color:#77513f;font-size:.65rem;font-weight:800}.quest-card h3{color:#4a2945;margin:.1rem 0;font-size:clamp(.95rem,4.5cqw,1.2rem);font-weight:900;line-height:1.5}.quest-card p{color:#674638;overflow-wrap:anywhere;margin:0;font-size:clamp(.77rem,3.4cqw,.9rem);line-height:1.85}.quest-status{color:#456339;align-items:center;gap:.15rem;font-size:.68rem;font-weight:900;display:inline-flex}.quest-status svg{width:.85rem;height:.85rem}.quest-card[data-status=locked] .quest-status{color:#71575b}.quest-progress>div{color:#79513f;justify-content:space-between;gap:.5rem;margin-bottom:.25rem;font-size:.72rem;font-weight:800;display:flex}.quest-progress progress{appearance:none;background:#7b544f;border:1px solid #946347;border-radius:99px;width:100%;height:.65rem;display:block;overflow:hidden;box-shadow:inset 0 2px 3px #39243580,0 1px #fff4d5}.quest-progress progress::-webkit-progress-bar{background:0 0}.quest-progress progress::-webkit-progress-value{background:linear-gradient(#e0e8a7,#9bb85d 50%,#69823c);border-radius:99px;box-shadow:inset 0 1px #f2ffbf}.quest-progress progress::-moz-progress-bar{background:linear-gradient(#e0e8a7,#9bb85d,#69823c);border-radius:99px}.quest-card-loot{border-top:1px solid #b7874f66;gap:.3rem;padding-top:.3rem;display:grid}.quest-card-loot>span{color:#865c39;text-align:center;font-size:.68rem;font-weight:900}.quest-rewards{flex-wrap:wrap;justify-content:center;align-items:start;gap:.2rem .4rem;margin:0;padding:0;list-style:none;display:flex}.quest-rewards li{color:#56384a;align-content:start;justify-items:center;min-width:2rem;font-size:.75rem;line-height:1.3;display:grid}.quest-rewards img{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px 1px #9c704367);width:clamp(1.65rem,8cqw,2.5rem)}.quest-rewards .quest-xp-reward{color:#526c35;background:#fff1c563;border:1px solid #a5844c;border-radius:.4rem;align-self:center;min-width:2.6rem;padding:.25rem;font-size:.7rem}.quest-claim,.quest-activity-link,.quest-show-more{color:#fff0cd;background:linear-gradient(#94669c,#643d74 50%,#482b58);border:1px solid #965d39;border-radius:.55rem;justify-content:center;align-items:center;gap:.4rem;min-height:2.8rem;padding:.2rem .7rem;font-size:.88rem;font-weight:900;display:flex;box-shadow:inset 0 1px #fff5c886,inset 0 -3px #361e4663,0 3px #795237}.quest-claim{color:#59301e;text-shadow:0 1px #fff0ba;background:linear-gradient(#fff1a5,#f9ce6a 45%,#dc9b3b)}.quest-claim .quest-emblem{width:2.35rem;margin-block:-.15rem}.quest-show-more{width:100%}.quest-show-more svg{width:1rem;height:1rem}.quest-empty{text-align:center;justify-items:center;gap:.6rem;padding:1.5rem .9rem;display:grid}.quest-empty img{filter:drop-shadow(0 5px 5px #14071c);width:clamp(5rem,32cqw,9rem)}.quest-empty p{color:#ffe7bb;text-shadow:0 2px 3px #19091f;max-width:18rem;margin:0;font-size:.85rem;line-height:1.8}.quest-sheet button:focus-visible{outline-offset:3px;outline:2px solid #ffe2a4}.quest-card button:focus-visible{outline-color:#643956}.quest-list:focus-visible{outline-offset:-1px;outline:1px solid #ffdf9f}@keyframes quest-rise{0%{opacity:.65;transform:translateY(20px)scale(.98)}}@keyframes quest-mote{0%{opacity:0;transform:translateY(0)}25%{opacity:1}to{opacity:0;transform:translate(12px,-100px)}}@container game (width>=530px) and (height<=530px){.quest-sheet{width:min(100cqw - 1rem,46rem);height:min(95cqh, calc(100dvh - 2 * var(--quest-foot)))}.quest-sheet-layout{flex-direction:row}.quest-sheet-controls{flex:0 0 38%;max-height:none}.quest-sheet-heading{min-height:8.5rem;padding:2.5rem 2rem .5rem}.quest-sheet-heading h2{font-size:1.2rem}.quest-sheet{background-size:100%}.quest-filters{gap:.2rem;margin-inline:.35rem}.quest-filters button{flex-direction:column;gap:0;font-size:.72rem}.quest-filters img{width:2.1rem}}@media (prefers-reduced-motion:reduce){.quest-sheet[open],.quest-magic i{animation:none}}.construction-sheet.map-target-sheet{--target-gold:#f3cc84;--target-height:calc(100dvh - max(1rem, env(safe-area-inset-top)) - max(1rem, env(safe-area-inset-bottom)));inset:max(.5rem, env(safe-area-inset-top)) max(.5rem, env(safe-area-inset-right)) max(.5rem, env(safe-area-inset-bottom)) max(.5rem, env(safe-area-inset-left));width:min(100cqw - 1.5rem,25rem);max-height:var(--target-height);color:#fff2dc;background:radial-gradient(at 50% 100%,#372349,#0000 80%),#21162e;border:1px solid #b99358;border-radius:1.25rem;margin:auto;box-shadow:0 0 0 3px #170e21,0 0 0 4px #c19b594d,0 20px 60px #0c0619df}.construction-sheet.map-target-sheet[open]{animation:.22s ease-out map-target-arrive;display:block}.map-target-sheet::backdrop{-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:#120b20b8}.map-target-sheet .construction-toolbar{z-index:2;padding:0;position:absolute;inset-block-start:.875rem;inset-inline-end:.875rem}.map-target-sheet .construction-ornament{display:none}.map-target-sheet .construction-close{color:#ffe7b2;background:#20142ce8;border-color:#f2cf8f92;width:2.75rem;font-size:1.125rem;box-shadow:0 2px 10px #130b23a8,inset 0 1px #fff1c732}.map-target-sheet .construction-body{max-height:calc(var(--target-height) - 2px);scrollbar-width:thin;padding:0}.map-target-heading{isolation:isolate;background:#33354a var(--target-art) center / cover no-repeat;border-bottom:1px solid #d9ad5f91;align-items:end;min-height:clamp(10rem,54cqw,14rem);padding:3rem 1.125rem .875rem;display:grid;position:relative}.map-target-heading[data-kind=village]{--target-art:url(/assets/map-target-village-BVdOzhvp.webp);background-position:50% 48%}.map-target-heading[data-kind=resource]{--target-art:url(/assets/map-target-resource-CY6rCrWw.webp)}.map-target-heading:before{content:"";z-index:-1;background:linear-gradient(#140c2435 0%,#0000 29%,#1b122347 59%,#1a1128 100%);position:absolute;inset:0}.map-target-heading:after{content:"";pointer-events:none;border:1px solid #ffde9370;border-bottom:0;border-radius:.875rem .875rem 0 0;height:1rem;position:absolute;inset:.4375rem .4375rem auto}.map-target-heading[data-compact=true]{background-position:50% 51%;min-height:7.5rem}.map-target-heading[data-compact=true]:before{background:linear-gradient(#1a112829,#1a1128 100%)}.map-target-heading .map-target-resource{z-index:-1;filter:drop-shadow(0 8px 8px #100c0da8);width:clamp(5.75rem,28cqw,8.125rem);position:absolute;inset-block-start:13%;inset-inline-start:50%;transform:translate(50%)}.map-target-heading[data-compact=true] .map-target-resource{display:none}.map-target-identity{flex-wrap:wrap;justify-content:space-between;align-items:end;gap:.375rem .75rem;min-width:0;display:flex}.map-target-name{min-width:0}.map-target-kind{color:#ffe1a3;text-shadow:0 1px 4px #110a1a;font-size:.75rem;font-weight:800}.map-target-heading h2{color:#fff1d4;text-shadow:0 2px 9px #140d18,0 1px #140d18;font-size:clamp(1.5rem,6.5cqw,2rem);font-weight:900;line-height:1.28}.map-target-heading[data-compact=true] h2{font-size:1.375rem}.map-target-content{gap:.8125rem;padding:1rem;display:grid}.map-target-origin{color:#ffe5ac;margin:0;font-size:.78rem}.map-target-stats{background:#1b1129b8;border:1px solid #b38b7652;border-radius:.75rem;grid-template-columns:minmax(0,3fr) minmax(0,2fr);margin:0;font-size:.8125rem;display:grid;box-shadow:inset 0 1px #f1d0a110}.map-target-stats>div{align-content:start;gap:.3125rem;padding:.625rem .75rem;display:grid}.map-target-stats>div+div{border-inline-start:1px solid #ba98733d}.map-target-stats dt{color:#dfcedd;align-items:center;gap:.3125rem;font-size:.75rem;display:flex}.map-target-stats dt svg{color:var(--target-gold);flex:none}.map-target-stats dd{color:#ffebbf;margin:0;font-weight:800}.map-target-stats dd[data-level=easy]{color:#cbed9f}.map-target-stats dd[data-level=hard]{color:#ffbba5}.map-target-actions{gap:.5rem;display:grid}.map-target-actions[data-paired=true]{grid-template-columns:minmax(0,6fr) minmax(0,5fr)}.map-target-actions button{color:#f9e9ff;min-height:3rem;font:inherit;background:linear-gradient(#4a325e,#312141);border:1px solid #9473a9;border-radius:.625rem;justify-content:center;align-items:center;gap:.375rem;padding:.4375rem .375rem;font-size:clamp(.75rem,3.6cqw,.9375rem);font-weight:800;line-height:1.4;display:flex;box-shadow:inset 0 1px #ffebff25,0 2px 4px #0f081db3}.map-target-actions button svg{color:#ecc9ff;flex:none;font-size:1.1em}.map-target-actions .map-target-primary{color:#2c1a22;background:linear-gradient(#f5d895,#d39a51);border-color:#f0ca7e;box-shadow:inset 0 1px #fff1c4,inset 0 -2px #79522957,0 2px 6px #10081a99}.map-target-actions .map-target-primary svg{color:#55352f}.conquest-panel{background:radial-gradient(at 100% 0,#4a354b,#0000 85%),#251a33;border:1px solid #ad87565c;border-radius:.75rem;gap:.5rem;padding:.625rem .75rem;display:grid}.conquest-progress{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:.25rem .5rem;display:flex}.conquest-progress strong{color:#ffe0a1;font-size:.8125rem}.conquest-progress span{color:#e1cedb;font-size:.6875rem}.conquest-steps{grid-template-columns:repeat(5,1fr);gap:.25rem;display:grid}.conquest-steps i{background:#665270;border-radius:.25rem;height:.25rem}.conquest-steps i[data-state=marching]{background:#ac86b7}.conquest-steps i[data-state=done]{background:#e8bf78}.conquest-button{color:#ffe2ac;background:linear-gradient(#694541,#412b3a);border:1px solid #cd9e64;border-radius:.5rem;justify-content:center;align-items:center;gap:.4375rem;min-height:2.75rem;padding:.375rem;font-weight:800;display:flex;box-shadow:inset 0 1px #ffde9d2e}.conquest-button:disabled{opacity:.68;cursor:default}.conquest-button:not(:disabled):hover{filter:brightness(1.1)}.map-target-actions button:not(:disabled):active{translate:0 1px}.map-target-actions button:disabled{opacity:.65;cursor:default}@media (hover:hover){.map-target-actions button:not(:disabled):hover,.map-target-sheet .construction-close:hover{filter:brightness(1.12)}}.map-target-form{gap:.625rem;display:grid}.map-target-form h3{color:#ffebc6;align-items:center;gap:.4375rem;font-size:1.0625rem;display:flex}.map-target-form h3 svg{color:var(--target-gold)}.map-target-form label{margin:0;font-size:.8125rem}.map-target-form :is(input,textarea){color:#fff5e6;min-width:0;font:inherit;background:#1a1125;border:1px solid #a480b483;border-radius:.625rem;padding:.5rem .625rem;font-size:1rem}.map-target-form textarea{resize:vertical;width:100%}.map-target-message-meta{justify-content:space-between;align-items:start;gap:.375rem;display:flex}.map-target-message-meta bdi{color:#ead5a8;white-space:nowrap;font-size:.75rem}.map-target-sheet :is(button,input,textarea):focus-visible{outline-offset:2px;outline:2px solid #ffe6ad}.map-target-sheet .map-target-feedback{color:#e1efaf}.map-target-feedback:empty{position:absolute}@keyframes map-target-arrive{0%{opacity:.5;transform:translateY(6px)scale(.98)}}@media (prefers-reduced-motion:reduce){.construction-sheet.map-target-sheet[open]{animation:none}}.construction-sheet.expedition-sheet{--target-gold:#8a602d;color:#4d3925;background:#e8d5a9;border:3px solid #ba955a;border-radius:18px 18px 12px 12px;width:min(100cqw - 28px,430px);box-shadow:0 0 0 3px #3e3022,0 0 0 4px #e0bf7b66,0 20px 70px #11271cbb}.expedition-sheet::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#18291ea6}.expedition-sheet .construction-toolbar{inset:12px auto auto 12px}.expedition-sheet .construction-close{color:#ffebbb;background:linear-gradient(#716142,#393e2d);border:1px solid #e3c582;border-radius:50%;width:36px;height:36px;padding:0;box-shadow:inset 0 0 0 3px #354233,0 3px #2b3525,0 4px 8px #14271e66}.expedition-sheet .map-target-heading{background-color:#446242;border:0;min-height:230px;padding:135px 16px 0}.expedition-sheet .map-target-heading[data-kind=village]{--target-art:url(/assets/realm-village-CNyb-0n-.webp);background-position:50% 40%}.expedition-sheet .map-target-heading[data-kind=resource]{--target-art:url(/assets/realm-wilderness-B3vQ1j2T.webp);background-position:50% 44%}.expedition-sheet .map-target-heading:after{display:none}.expedition-sheet .map-target-heading .map-target-resource{filter:drop-shadow(0 6px 5px #21321bb3);width:100px;top:8%;left:50%;right:auto;transform:translate(-50%)}.expedition-sheet .map-target-identity{text-align:center;z-index:1;justify-content:center;margin-bottom:-15px;position:relative}.expedition-sheet .map-target-name{background:repeating-linear-gradient(3deg,#0000 0 6px,#f8d18306 7px 8px),linear-gradient(#60462d,#3c3022);border:1px solid #c29b5c;border-radius:4px 4px 12px 12px;min-width:70%;padding:10px 25px 12px;position:relative;box-shadow:inset 0 0 0 3px #382c20,inset 0 0 0 4px #d9b67735,0 4px 7px #263a2544}.expedition-sheet .map-target-name:before,.expedition-sheet .map-target-name:after{content:"◆";color:#b39354;font-size:8px;position:absolute;top:50%;transform:translateY(-50%)}.expedition-sheet .map-target-name:before{right:9px}.expedition-sheet .map-target-name:after{left:9px}.expedition-sheet .map-target-kind{color:#d4bd8b;margin-bottom:2px;font-size:.6rem;font-weight:500;display:block}.expedition-sheet .map-target-heading h2{color:#ffe7ad;text-shadow:0 2px #24271c;font-size:1.65rem;font-weight:900}.expedition-sheet .map-target-heading[data-compact=true]{min-height:125px;padding:40px 16px 0}.expedition-sheet .map-target-heading[data-compact=true] .map-target-name{padding:7px 22px 9px}.expedition-sheet .map-target-heading[data-compact=true] h2{font-size:1.25rem}.expedition-sheet .map-target-content{gap:17px;padding:32px 18px 22px}.expedition-sheet .map-target-content p{color:#6f5b3d;text-shadow:none;font-size:.72rem;line-height:1.85}.expedition-route{border-bottom:1px solid #aa844c45;justify-content:space-between;align-items:center;gap:8px;padding:0 0 14px;display:flex}.expedition-route-point{align-items:center;gap:6px;min-width:0;display:flex}.expedition-route-point>svg{color:#f4e2af;background:#586444;border:1px solid #af9960;border-radius:50%;flex:none;width:29px;height:29px;padding:6px;box-shadow:inset 0 0 0 2px #3d5039}.expedition-route-point>span{gap:2px;min-width:0;display:grid}.expedition-route-point small{color:#8c7450;font-size:.54rem}.expedition-route-point strong{white-space:nowrap;text-overflow:ellipsis;color:#634526;max-width:100px;font-size:.73rem;overflow:hidden}.expedition-route-trail{color:#967a48;flex:1;justify-items:center;gap:1px;min-width:50px;display:grid;position:relative}.expedition-route-trail:before{content:"";border-top:1px dashed #ac925c;width:100%;position:absolute;top:9px}.expedition-route-trail svg{z-index:1;background:#e9d6aa;width:23px;padding:0 3px}.expedition-route-trail b{font-size:.58rem;font-weight:500}.expedition-ruler{align-items:center;gap:11px;padding:4px 0;display:flex}.expedition-ruler>img{object-fit:contain;border:3px solid #b49254;border-radius:50%;width:65px;height:65px;box-shadow:0 0 0 2px #705535,0 3px 7px #66502d44}.expedition-ruler>div{flex:1;gap:5px;display:grid}.expedition-ruler small{color:#91764d;font-size:.6rem}.expedition-ruler strong{color:#513a22;font-size:1rem}.expedition-ruler>span{color:#6a542d;border-inline-start:1px solid #ab89544d;grid-template-columns:auto auto;place-items:center;gap:2px 5px;padding:6px 10px;display:grid}.expedition-ruler>span small{grid-column:1/-1}.expedition-section-title{justify-content:space-between;align-items:center;gap:8px;display:flex}.expedition-sheet .expedition-section-title h3{color:#5c442a;align-items:center;gap:5px;font-size:.9rem;display:flex}.expedition-section-title>span{color:#8a612d;background:#d4b46b25;border:1px solid #b4986255;border-radius:12px;align-items:center;gap:4px;padding:4px 9px;font-size:.65rem;display:flex}.expedition-animal-list{justify-content:center;gap:18px;padding:16px 0 7px;display:flex}.expedition-animal-list>div{align-content:start;justify-items:center;gap:5px;min-width:83px;display:grid;position:relative}.expedition-medal{background-image:url(/assets/expedition-medals-v2-D8a1vXiM.webp);background-repeat:no-repeat;background-size:300% 200%;border-radius:50%;flex:none;width:76px;height:76px;display:block;box-shadow:0 3px 7px #6e562744}.expedition-medal[data-animal=hare]{background-position:0 0}.expedition-medal[data-animal=deer]{background-position:50% 0}.expedition-medal[data-animal=boar]{background-position:100% 0}.expedition-medal[data-animal=wolf]{background-position:0 100%}.expedition-medal[data-animal=bear]{background-position:50% 100%}.expedition-medal[data-animal=army]{background-position:100% 100%}.expedition-animal-list strong{color:#ffecb5;background:#405437;border:1px solid #c7a86c;border-radius:7px;place-items:center;min-width:28px;height:24px;padding:0 5px;font-size:.88rem;display:grid;position:absolute;top:57px;left:50%;transform:translate(-50%);box-shadow:0 2px #6d653a}.expedition-animal-list small{color:#6d5331;padding-top:5px;font-size:.68rem}.expedition-sheet .map-target-actions{gap:10px}.expedition-sheet .map-target-actions .map-target-report{grid-column:1/-1;min-height:40px;font-size:.72rem}.expedition-sheet .map-target-actions button,.expedition-sheet .battle-gold-button,.expedition-sheet .battle-back{color:#f6e6ba;background:linear-gradient(#738358,#425b40);border:1px solid #a98a54;border-radius:7px;min-height:48px;padding:8px;font-size:.8rem;font-weight:800;box-shadow:inset 0 0 0 2px #3c5037,inset 0 3px #ffffd933,0 3px #35422b,0 5px 8px #765a3433}.expedition-sheet .map-target-actions button svg{color:inherit}.expedition-sheet .map-target-actions .map-target-primary,.expedition-sheet .battle-gold-button{color:#4b3422;background:linear-gradient(#ffdf92,#d2a456);border-color:#b58945;box-shadow:inset 0 0 0 2px #f5d187,inset 0 4px #fff6bf88,0 3px #946d35,0 5px 8px #765a3433}.expedition-sheet .conquest-panel{background:0 0;border:0;border-top:1px solid #aa844c45;border-radius:0;gap:9px;padding:14px 0 0}.expedition-sheet .conquest-panel>p{color:#907650;font-size:.64rem}.expedition-sheet .conquest-button{color:#725a37;background:#bfa66f25;border-color:#a58b5e;border-radius:7px;min-height:39px;font-size:.72rem;box-shadow:inset 0 1px #fff1bc}.expedition-sheet .conquest-progress strong{color:#6c4a24}.expedition-sheet .conquest-progress span{color:#8e7452}.expedition-sheet .map-target-form h3{color:#654c2d}.expedition-sheet .map-target-form textarea{color:#503d27;box-sizing:border-box;background:#fff1ca88;border:1px solid #b3965f;box-shadow:inset 0 2px 6px #ac885226}.expedition-sheet .map-target-message-meta bdi{color:#94764b}.battle-journey{justify-content:space-around;align-items:start;margin:0 0 4px;padding:0;list-style:none;display:flex}.battle-journey li{color:#a48f65;flex:1;justify-items:center;gap:5px;display:grid;position:relative}.battle-journey li+li:before{content:"";border-top:1px dashed #a8915f77;width:64%;position:absolute;top:17px;right:-32%}.battle-journey li>span{z-index:1;background:#e8d6ad;border:1px solid #b4a174;border-radius:50%;place-items:center;width:35px;height:35px;display:grid;position:relative;box-shadow:inset 0 0 0 3px #fff0cb77}.battle-journey small{font-size:.59rem}.battle-journey li[data-state=current]{color:#664a26;font-weight:800}.expedition-sheet .battle-stage-title{color:#5d4326;margin:0;font-size:1rem}.expedition-sheet .battle-stage-title svg{color:#886233}.expedition-sheet .battle-army-summary{background:linear-gradient(#f6e8c2aa,#d9c38e66);border:1px solid #b99b5a77;border-radius:8px;padding:6px 0;box-shadow:inset 0 0 0 2px #fff3cc66}.expedition-sheet .battle-army-summary>span{color:#8b754e;gap:3px;padding:4px;font-size:.65rem}.expedition-sheet .battle-army-summary svg{color:#896f3d;font-size:1rem}.expedition-sheet .battle-army-summary strong{color:#5d4626;font-size:1.25rem}.expedition-sheet .battle-army-group{background:0 0;border:0;border-top:1px solid #ac8e5655;border-radius:0;padding:5px 0 0}.expedition-sheet .battle-army-group legend{color:#8b7045;padding:0 0 0 10px;font-size:.65rem}.expedition-sheet .battle-army-group .battle-unit{grid-template-columns:47px minmax(0,1fr) auto;gap:8px;padding:7px 0}.expedition-sheet .battle-unit+.battle-unit{border-color:#bda16c44}.battle-unit-portrait{object-fit:contain;filter:drop-shadow(0 2px 2px #6f573b44);width:47px;height:57px}.expedition-sheet .battle-unit label{color:#654c2e;font-size:.75rem}.expedition-sheet .battle-unit small{color:#977b51;margin-top:4px;font-size:.58rem}.battle-unit-picker{direction:rtl;align-items:center;gap:3px;display:flex}.expedition-sheet .battle-unit-picker input{color:#5a4224;appearance:textfield;background:#fff1cc;border:1px solid #b39b65;border-radius:5px;width:35px;min-height:33px;padding:2px;font-size:.82rem;font-weight:800}.battle-unit-picker input::-webkit-inner-spin-button{appearance:none;margin:0}.battle-unit-picker input::-webkit-outer-spin-button{appearance:none;margin:0}.battle-unit-picker button{color:#f9e9b9;background:linear-gradient(#7b8a5e,#4b6543);border:1px solid #9a9c67;border-radius:5px;place-items:center;width:28px;height:32px;padding:0;display:grid;box-shadow:inset 0 0 0 2px #465b3b,0 2px #7e7b44}.battle-unit-picker button:disabled{opacity:.4;cursor:default}.battle-select-all{color:#6e663a;background:0 0;border:0;border-bottom:1px dashed #9b8358;justify-self:end;margin-bottom:-7px;padding:3px 0;font-size:.64rem}.battle-empty-army{text-align:center;justify-items:center;gap:10px;padding:12px 12px 17px;display:grid}.battle-empty-army .expedition-medal{width:84px;height:84px}.battle-empty-army>strong{color:#6c4e28;font-size:1rem}.expedition-sheet .battle-empty-army p{color:#8b714a;max-width:270px;font-size:.68rem}.expedition-sheet .battle-optional{color:#766243;background:#bba2671a;border:1px solid #aa925636;padding:10px}.expedition-sheet .battle-optional strong{color:#7b6238;font-size:.72rem}.expedition-sheet .battle-optional p{color:#8d7850;font-size:.64rem}.expedition-sheet .battle-optional>svg{color:#9b7c41}.expedition-sheet .battle-stage-actions{z-index:2;background:linear-gradient(#0000,#ecd9ac 25%);padding:13px 0 8px;position:sticky;bottom:-22px}.expedition-sheet .march-estimate{color:#8a714d;background:#d4bc7d33;border-color:#b59b664d;font-size:.65rem}.expedition-sheet .battle-category-grid button{color:#6e542d;background:linear-gradient(#f7e6be,#d6bf86);border-color:#b59a66;box-shadow:inset 0 0 0 3px #fff0c444,0 2px #b09559}.expedition-sheet .battle-category-grid button>svg{color:#8f6b35}.expedition-sheet .battle-category-grid button[aria-pressed=true]>svg{color:#efd99e}.expedition-sheet .battle-question-card{color:#634521;background:radial-gradient(at top,#fff4d8,#edcf93);border-color:#b08c4b;box-shadow:inset 0 0 0 3px #ac854333,0 3px 8px #8f71392b}.expedition-sheet .battle-quiz .battle-quiz-note{color:#725732}.expedition-sheet .battle-boosters button{color:#6a512d;background:linear-gradient(#f4dfb0,#ceb57c);border-color:#b49b65;box-shadow:inset 0 0 0 2px #fff1c333}.expedition-sheet .battle-boosters button>svg{color:#866534}.expedition-sheet .battle-boosters button>span{color:#765a2c}.expedition-sheet .map-battle-result strong{color:#5d4a2c}.expedition-sheet .map-battle-result svg{color:#967131}.expedition-sheet .map-battle-result span,.expedition-sheet .map-battle-comparison small{color:#8d714c}.expedition-sheet .map-battle-comparison{background:#d8c39166;border-color:#ac925b55}.expedition-sheet .map-battle-comparison dt{color:#8a724a}.expedition-sheet .map-battle-comparison dd{color:#684a28}.expedition-sheet :is(.map-battle-losses,.map-battle-loot){color:#725831;background:#c9ad6d26;border-color:#b89a6333}.expedition-sheet :is(.map-battle-loot strong,.map-battle-losses summary,.map-battle-losses li,.map-battle-score){color:#765b34}.expedition-sheet .map-battle-score :is(svg,strong){color:#6a7d3f}@container game (height<=650px){.expedition-sheet .map-target-heading{min-height:175px;padding-top:95px}.expedition-sheet .map-target-heading[data-compact=true]{min-height:105px;padding-top:24px}.expedition-sheet .map-target-content{gap:13px;padding-top:28px}}@container game (width<=360px){.expedition-sheet .map-target-content{padding-inline:12px}.expedition-sheet .battle-army-group .battle-unit{grid-template-columns:35px minmax(0,1fr) auto;gap:5px}.battle-unit-portrait{width:35px}.battle-unit-picker button{width:25px}}.target-active-expeditions{color:#f6dfb0;background:linear-gradient(145deg,#3b2725,#241c24);border:1px solid #9f7846;border-radius:.75rem;margin:.75rem 0;padding:.65rem;box-shadow:inset 0 1px #fff2c31f,0 4px 10px #160b2240}.target-active-expeditions>header{color:#ffe3a7;align-items:center;gap:.4rem;margin-bottom:.5rem;display:flex}.target-active-expeditions>header svg{color:#e9b95f}.target-active-expeditions>header b{color:#2e1b1d;text-align:center;background:#c99545;border-radius:999px;min-width:1.45rem;margin-inline-start:auto;padding:.1rem .35rem;font-size:.72rem}.target-active-expeditions>div{gap:.45rem;display:grid}.target-active-expeditions article{background:#fff3cf0d;border:1px solid #c3945a66;border-radius:.55rem;padding:.5rem}.target-expedition-title{align-items:baseline;gap:.45rem;display:flex}.target-expedition-title strong{color:#fff0c5;font-size:.78rem}.target-expedition-title span{color:#d4b785;font-size:.66rem}.target-active-expeditions article p{color:#ead3a5;margin:.25rem 0 .4rem;font-size:.68rem;line-height:1.6}.target-active-expeditions .march-clock{background:#17131b66;margin:0;padding:.35rem}.world-map{--map-ink:#f7e6bc;--map-gold:#cba267;--map-wood:#34271e;width:100cqw;max-width:100%;height:100cqh;max-height:100%;color:var(--map-ink);background:#34462c;border:0;margin:auto;padding:0;position:fixed;inset:0;overflow:hidden}.world-map[open]{flex-direction:column;display:flex}.world-map::backdrop{background:#121b12f5}.world-map-heading{z-index:3;padding:max(13px,env(safe-area-inset-top)) 16px 15px;text-align:center;background:repeating-linear-gradient(3deg,#0000 0 7px,#e6c38c04 8px 9px),linear-gradient(#514033,#30241d);border-bottom:3px solid #a27c45;flex:none;justify-content:space-between;align-items:center;gap:12px;display:flex;position:relative;box-shadow:inset 0 -1px #efd09b77,0 3px #3d301f,0 7px 15px #1c2b2344}.world-map-heading:after,.world-map-dock:after{content:"";pointer-events:none;border:1px solid #c79d5d30;border-radius:3px;position:absolute;inset:5px}.world-map-heading h2{color:#ffedbb;text-shadow:0 2px 1px #1f1c15;margin:2px 0 0;font-size:clamp(1.2rem,5.2cqw,1.6rem);font-weight:900;line-height:1.4}.world-map-eyebrow{color:#c2b18b;font-size:.62rem}.world-map-button{color:#ffebbb;background:linear-gradient(#796244,#493a2b);border:1px solid #d3b67b;border-radius:12px;flex:none;place-items:center;width:42px;height:42px;padding:0;font-size:1.25rem;display:grid;box-shadow:inset 0 0 0 3px #3e302a,inset 0 4px #fff0b51f,0 3px #29211b,0 5px 8px #15251e40}.world-map-button:disabled{opacity:.38;cursor:default}.world-map-button:not(:disabled):active,.world-map-home-button:active{translate:0 2px}.world-map-button:not(:disabled):hover{filter:brightness(1.15)}.world-map-frame{background:#91a766;flex:1;min-height:0;position:relative;overflow:hidden}.world-map-frame:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset 0 5px 14px #263c2c2b,inset 0 -8px 18px #263c2c20}.world-map-viewport{overscroll-behavior:contain;overflow-anchor:none;scrollbar-width:none;-webkit-user-select:none;user-select:none;cursor:grab;outline-offset:-4px;width:100%;height:100%;overflow:auto}.world-map-viewport::-webkit-scrollbar{display:none}.world-map-viewport[data-dragging],.world-map-viewport[data-dragging] button{cursor:grabbing}.world-map-zoom{z-index:2;gap:7px;display:grid;position:absolute;bottom:18px;left:14px}.world-map-zoom .world-map-button{color:#fff3ce;background:linear-gradient(#6b7151,#364b3b);border-radius:50%;width:40px;height:40px;box-shadow:inset 0 0 0 3px #334336,0 3px #223a2a,0 5px 9px #17312140}.world-map-drag-hint{color:#f5f4d9;pointer-events:none;white-space:nowrap;background:#334d37ba;border:1px solid #e3edbf66;border-radius:20px;align-items:center;gap:6px;padding:5px 12px;font-size:.6rem;display:flex;position:absolute;bottom:18px;left:50%;transform:translate(-50%)}.world-map-drag-hint svg{font-size:.8rem}.world-map-dock{z-index:3;padding:13px 12px max(13px,env(safe-area-inset-bottom));background:repeating-linear-gradient(2deg,#0000 0 7px,#e5b86f04 8px 9px),linear-gradient(120deg,#4e3a29,#30271f 60%,#483629);border-top:3px solid #c29a5a;flex:none;position:relative;box-shadow:inset 0 1px #f4d39677,0 -4px #3c3327,0 -8px 16px #2e402b33}.world-map-location{align-items:center;gap:9px;padding:0 3px 12px;display:flex}.world-map-home-seal{color:#ffe5a8;background:radial-gradient(at 40% 20%,#7b9660,#344e37);border:1px solid #d2b577;border-radius:50%;flex:none;place-items:center;width:37px;height:37px;display:grid;box-shadow:inset 0 0 0 3px #344d37,0 2px 4px #191d18}.world-map-location>div{flex:1;min-width:0}.world-map-location small{color:#bba887;font-size:.58rem;display:block}.world-map-location strong{text-overflow:ellipsis;white-space:nowrap;color:#ffe2a2;font-size:.95rem;display:block;overflow:hidden}.world-map-home-button{color:#f7e8b9;background:linear-gradient(#647451,#3b523d);border:1px solid #c6b27b;border-radius:7px;justify-content:center;align-items:center;gap:6px;min-height:37px;padding:6px 12px;font-size:.65rem;font-weight:800;display:flex;box-shadow:inset 0 0 0 2px #334934,0 3px #202c21}.world-map-home-button svg{font-size:1rem}.world-map-filters{border-top:1px solid #cfac6d35;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding-top:10px;display:grid}.world-map-filters button{color:#c9b998;background:#1c221b32;border:1px solid #0000;border-radius:9px;align-content:center;justify-items:center;gap:3px;min-width:0;min-height:77px;padding:5px 0 9px;font-size:clamp(.53rem,2.3cqw,.67rem);font-weight:800;transition:background .15s,border-color .15s;display:grid;position:relative}.world-map-filters button:hover{background-color:#f9da8e18}.world-map-filters button i{background:#7d7355;border-radius:50%;width:4px;height:4px;position:absolute;bottom:3px}.world-map-filters button[aria-pressed=true] i{background:#e8c078;border-radius:4px;width:16px;height:3px;box-shadow:0 0 5px #d4ac6b55}.world-map-all-icon{color:#e3c582;place-items:center;width:38px;height:38px;font-size:28px;display:grid}.world-map-search{z-index:5;color:#f3dfb3;background:linear-gradient(130deg,#4b3b2b,#292b22);border:2px solid #bc995e;border-radius:12px;max-height:calc(100% - 285px);padding:16px;position:absolute;inset:100px 14px auto;overflow:auto;box-shadow:0 8px 25px #13291b80,inset 0 0 0 3px #302c20}.world-map-search header{justify-content:space-between;align-items:center;gap:10px;margin-bottom:14px;display:flex}.world-map-search h3{color:#ffe3a7;margin:0;font-size:.95rem}.world-map-search .world-map-button{width:32px;height:32px;font-size:1rem}.world-map-search label{font-size:.72rem;display:block}.world-map-search input{color:#fff0cc;outline-offset:2px;background:#1e2c21;border:1px solid #a99165;border-radius:6px;width:100%;margin-top:6px;padding:11px}.world-map-search ul{margin:12px 0 0;padding:0;list-style:none}.world-map-search li button{color:#ffedc6;text-align:right;background:0 0;border:0;border-top:1px solid #c2ab7533;align-items:center;gap:8px;width:100%;padding:7px 0;font-size:.78rem;display:flex}.world-map-search li button>span:last-child{color:#ccb68b;align-items:center;gap:4px;margin-inline-start:auto;font-size:.62rem;display:flex}.world-map-no-results{color:#d6c5a3;padding:12px 0;font-size:.75rem}.world-map>.village-guide-companion{z-index:4;max-height:30%;position:absolute;top:105px;left:15px;right:15px;overflow:auto}@container game (height<=600px){.world-map-heading{padding-block:7px}.world-map-eyebrow{display:none}.world-map-dock{padding-block:8px}.world-map-location{padding-bottom:6px}.world-map-filters{padding-top:6px}.world-map-filters button{min-height:61px}.world-map-drag-hint{display:none}}@media (prefers-reduced-motion:reduce){.world-map *{transition:none!important}}.world-map-grid{width:calc(var(--map-size) * var(--tile-size));height:calc(var(--map-size) * var(--tile-size));overflow-anchor:none;background:#97ab60;position:relative}.world-map-marker{width:var(--tile-size);height:var(--tile-size);position:absolute}.world-map-tile{width:100%;height:100%;font:inherit;isolation:isolate;background:#97ab60 url(/assets/meadow-tiles-v2-YYH-Obkq.webp) 0 0/400% 200% no-repeat;border:0;border-radius:0;padding:0;display:block;position:relative;box-shadow:inset -1px -1px #435c3033,inset 1px 1px #d8e8ab25}.world-map-tile[data-grass="1"],.world-map-tile[data-grass="3"]{background-position:33.3333% 0}.world-map-cell-art{pointer-events:none;background-image:url(/assets/meadow-tiles-v2-YYH-Obkq.webp);background-repeat:no-repeat;background-size:400% 200%;transition:opacity .18s;position:absolute;inset:0}.world-map-tile[data-kind=wood] .world-map-cell-art{background-position:66.6667% 0}.world-map-tile[data-kind=wheat] .world-map-cell-art{background-position:100% 0}.world-map-tile[data-kind=brick] .world-map-cell-art{background-position:0 100%}.world-map-tile[data-kind=iron] .world-map-cell-art{background-position:33.3333% 100%}.world-map-tile[data-kind=village] .world-map-cell-art{background-position:66.6667% 100%}.world-map-tile[data-kind=home] .world-map-cell-art{background-position:100% 100%}.world-map-tile:after{content:"";pointer-events:none;position:absolute;inset:0;box-shadow:inset -1px -1px #435c3038,inset 1px 1px #d8e8ab30}.world-map-tile[data-tile=home]{z-index:1}.world-map-tile[data-tile=home]:after{border:2px solid #f9df8c;inset:2px;box-shadow:0 0 0 2px #456b3d,inset 0 0 10px #ffe99144}.world-map-tile[data-muted=true] .world-map-cell-art{opacity:.14}.world-map-tile[data-muted=true] :is(.world-map-village-name,.world-map-difficulty){opacity:.15}button.world-map-tile{cursor:pointer}button.world-map-tile:hover:after{background:#ffedbc16;border:2px solid #fff1b0}button.world-map-tile:focus-visible{outline-offset:-3px;z-index:2;outline:3px solid #fff2b9}.world-map-village-name{white-space:nowrap;text-overflow:ellipsis;color:#f9edc6;pointer-events:none;background:#374730e6;border:1px solid #d5c18a55;border-radius:3px;justify-content:center;align-items:center;gap:3px;width:max-content;max-width:calc(100% - 6px);padding:1px 4px;font-size:9px;font-weight:700;line-height:1.5;display:flex;position:absolute;bottom:3px;left:50%;overflow:hidden;transform:translate(-50%)}.world-map-tile[data-tile=home] .world-map-village-name{color:#ffebad;background:#31533b;border-color:#d9bc74;bottom:5px}.world-map-village-name svg{flex:none;width:10px;height:10px}.world-map-difficulty{pointer-events:none;background:#dfe7ac;border-radius:50%;width:5px;height:5px;position:absolute;bottom:6px;right:6px;box-shadow:0 0 0 2px #3f5b35aa}.world-map-difficulty[data-difficulty=medium]{background:#f4cc7a}.world-map-difficulty[data-difficulty=hard]{background:#d58060}.world-map-filter-art{background-image:url(/assets/meadow-tiles-v2-YYH-Obkq.webp);background-repeat:no-repeat;background-size:560% 280%;border-radius:50%;flex:none;width:38px;height:38px;display:block;box-shadow:0 1px 4px #162b1c44,inset 0 0 0 1px #d9be7b55}.world-map-filter-art[data-kind=wood]{background-position:65.2% 9%}.world-map-filter-art[data-kind=wheat]{background-position:95.6% 9%}.world-map-filter-art[data-kind=brick]{background-position:4.3% 87%}.world-map-filter-art[data-kind=iron]{background-position:34.8% 87%}.world-map-filter-art[data-kind=village]{background-position:65.2% 87%}.world-map-filter-art[data-kind=home]{background-position:95.6% 87%}.world-map-landmark{aspect-ratio:1;background:url(/assets/map-landmarks-ePC9dPCX.webp) 0 0/300% 200% no-repeat;display:block}.world-map-landmark[data-landmark=wood]{background-position:0 0}.world-map-landmark[data-landmark=wheat]{background-position:50% 0}.world-map-landmark[data-landmark=brick]{background-position:100% 0}.world-map-landmark[data-landmark=iron]{background-position:0 100%}@font-face{font-family:Dana;src:url(/assets/DanaFaNum-Regular-coOeJitY.woff2)format("woff2");font-weight:400;font-style:normal;font-display:swap}@font-face{font-family:Dana;src:url(/assets/DanaFaNum-Medium-BYIBr52k.woff2)format("woff2");font-weight:500;font-style:normal;font-display:swap}@font-face{font-family:Dana;src:url(/assets/DanaFaNum-Bold-CIOWe8s9.woff2)format("woff2");font-weight:700;font-style:normal;font-display:swap}@font-face{font-family:Dana;src:url(/assets/DanaFaNum-ExtraBold-Ckv7DOO1.woff2)format("woff2");font-weight:800;font-style:normal;font-display:swap}@font-face{font-family:Dana;src:url(/assets/DanaFaNum-Black-DojShDBt.woff2)format("woff2");font-weight:900;font-style:normal;font-display:swap}:root{color:#fff;font-synthesis:none;background:#100a25;font-family:Dana,Tahoma,sans-serif}*{box-sizing:border-box}html,body{width:100%;height:100%;margin:0;overflow:hidden}body{background:#0d081b;place-items:center;height:100dvh;display:grid}#root{width:100%;height:100dvh;container:game/size}@property --ui-unit{syntax:"<length>";inherits:true;initial-value:4px}button,input,select,textarea{font:inherit}button{cursor:pointer}:is(button,input,select,textarea,summary):focus-visible{outline-offset:2px;outline:2px solid #ffe3a0}.game-screen{--ui-unit:min(1cqw, .57cqh);--gutter:max(.625rem, 5cqw);--safe-top:env(safe-area-inset-top,0px);--safe-right:env(safe-area-inset-right,0px);--safe-bottom:env(safe-area-inset-bottom,0px);--safe-left:env(safe-area-inset-left,0px);--control-height:clamp(2.75rem, calc(14 * var(--ui-unit)), 3.625rem);isolation:isolate;background:#1c123d var(--screen-bg) center / cover no-repeat;width:100%;height:100%;position:relative;overflow:hidden}.game-screen:after{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#12082d2e,#1207282e);position:absolute;inset:0}.screen-content{z-index:1;text-align:center;height:100%;padding:calc(var(--safe-top) + 2.5cqh) calc(var(--safe-right) + var(--gutter)) calc(var(--safe-bottom) + 2.5cqh) calc(var(--safe-left) + var(--gutter));flex-direction:column;align-items:center;display:flex;position:relative}.game-screen:not(.home-screen,.splash-screen) .screen-content{overscroll-behavior:contain;justify-content:safe center;overflow-y:auto}.game-screen:not(.home-screen) .screen-content>*{flex-shrink:0}.splash-content{padding-top:calc(var(--safe-top) + 9cqh)}.logo,.login-logo{view-transition-name:qq-logo}.logo{filter:drop-shadow(0 8px 16px #00000040)drop-shadow(0 0 9px #cd89ff6b);width:min(35cqw,19cqh,9.375rem);height:auto}h1{margin:calc(3 * var(--ui-unit)) 0 .25em;font-size:clamp(1.25rem, calc(7 * var(--ui-unit)), 2.125rem);text-shadow:0 3px 8px #0003,0 0 8px #dcabff47;font-weight:800;line-height:1.25}p{color:#f2eafa;text-shadow:0 0 7px #daaaff42;margin:0;font-size:.875rem;line-height:1.9}.screen-content>p{max-width:28rem;font-size:clamp(.8125rem, calc(3.5 * var(--ui-unit)), 1rem);overflow-wrap:anywhere;line-height:1.65}.village{filter:drop-shadow(0 16px 20px #0a021e59);width:min(100%,45cqh,24.75rem);height:auto;margin:auto 0 5cqh;animation:4.8s ease-in-out infinite gentle-float}@keyframes gentle-float{0%,to{transform:translate(0,0)rotate(0)}50%{transform:translateY(-9px)rotate(-.6deg)}}.mist-layer{z-index:0;pointer-events:none;opacity:.7;filter:blur(18px);background:radial-gradient(at 50% 12%,#e2cbff85 0 12%,#0000 48%),radial-gradient(at 18% 48%,#b399ef7a 0 13%,#0000 44%),radial-gradient(at 84% 68%,#d3c1ff6b 0 16%,#0000 48%),linear-gradient(#0000 0%,#a181e13d 48%,#694dad61 100%);height:44%;position:absolute;bottom:0;left:-12%;right:-12%}.splash-content>.logo,.splash-content>h1,.splash-content>p,.splash-content>.village,.splash-content>.loading-area{z-index:1;position:relative}.loading-area{width:min(76%,17.5rem);margin-bottom:2cqh}.loading-meta{margin-bottom:calc(1.75 * var(--ui-unit));color:#f2eafa;font-size:clamp(.6875rem, calc(3 * var(--ui-unit)), .8125rem);justify-content:space-between;align-items:center;display:flex}.loading-meta strong{color:#ddff9d;direction:ltr;font-weight:700}.loading-track{width:100%;height:calc(4 * var(--ui-unit));background:#c69cee4d;border-radius:99px;overflow:hidden;box-shadow:inset 0 1px 2px #12052a40}.loading-track span{border-radius:inherit;background:linear-gradient(90deg,#b9f477,#e0ffad);height:100%;transition:width 80ms linear;display:block}.login-mist-layer{z-index:0;pointer-events:none;opacity:.66;filter:blur(18px);background:radial-gradient(at 50% 12%,#e2cbff80 0 12%,#0000 48%),radial-gradient(at 18% 48%,#b399ef75 0 13%,#0000 44%),radial-gradient(at 84% 68%,#d3c1ff66 0 16%,#0000 48%),linear-gradient(#0000 0%,#a181e138 48%,#694dad5c 100%);height:48%;position:absolute;bottom:0;left:-12%;right:-12%}.login-logo{filter:drop-shadow(0 8px 16px #00000040)drop-shadow(0 0 9px #cd89ff5c);width:min(35cqw,18cqh,9.375rem);height:auto;margin-bottom:1.5cqh;animation:1.1s cubic-bezier(.2,.65,.2,1) both login-logo-arrive}@keyframes login-logo-arrive{0%{opacity:.25;transform:scale(.88)translateY(-8px)}to{opacity:1;transform:scale(1)translateY(0)}}.login-content form{text-align:right;width:min(100%,22.5rem);margin-top:2.5cqh}label{font-size:clamp(.8125rem, calc(3.5 * var(--ui-unit)), .9375rem);color:#fff;margin:0 .5em .5em;font-weight:600;display:block}.phone-field{align-items:center;gap:calc(2.5 * var(--ui-unit));min-height:var(--control-height);padding:0 calc(3.75 * var(--ui-unit));border-radius:clamp(.625rem, calc(4 * var(--ui-unit)), 1.125rem);direction:ltr;background:#5e39828c;border:1px solid #d59dffb3;display:flex;box-shadow:inset 0 1px #ffffff21}.phone-field span{color:#f4e9ff;font-size:clamp(.8125rem, calc(3.5 * var(--ui-unit)), .9375rem);direction:ltr}input{color:#fff;text-align:left;direction:ltr;unicode-bidi:plaintext;background:0 0;border:0;outline:0;flex:1;min-width:0}input::placeholder{color:#f1e6ff;opacity:1;font-weight:600}.primary-button{width:100%;min-height:var(--control-height);margin-top:calc(4 * var(--ui-unit));border-radius:clamp(.625rem, calc(4 * var(--ui-unit)), 1.125rem);color:#fff;font-size:clamp(.875rem, calc(4 * var(--ui-unit)), 1.0625rem);background:linear-gradient(#c66dff,#8c3ed4);border:1px solid #dc9cff;padding:.25em .6em;font-weight:700;box-shadow:0 7px 15px #1b053959,inset 0 1px #ffffff59}.phone-field:focus-within{border-color:#ffe3a0}.phone-field input:focus-visible{outline-offset:0}.phone-field:has([aria-invalid=true]){border-color:#ffb1c4}.screen-content>.form-message{color:#ffe8ef;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);text-shadow:0 1px 3px #23052d8c;background:#3512526b;border:1px solid #ffb1c461;border-radius:.8em;margin-top:1cqh;padding:.35em .8em;font-weight:600;box-shadow:0 3px 10px #19052d2e,inset 0 1px #ffffff14}.primary-button:disabled{opacity:.65;cursor:default}.login-legal-links{color:#eadbff;font-size:clamp(.67rem, calc(3 * var(--ui-unit)), .78rem);justify-content:center;align-items:center;gap:.55em;margin-top:1.5cqh;display:flex}.login-legal-links button{color:#fff0b9;font:inherit;text-underline-offset:.25em;background:0 0;border:0;padding:.25em .1em;-webkit-text-decoration:underline #e4bcff88;text-decoration:underline #e4bcff88}.login-legal-links button:hover{color:#fff;text-shadow:0 0 8px #e0aeff99}.legal-content{padding-top:calc(var(--safe-top) + 2cqh);padding-bottom:calc(var(--safe-bottom) + 2cqh);gap:1.5cqh;animation:.55s cubic-bezier(.2,.75,.2,1) both legal-content-arrive}@keyframes legal-content-arrive{0%{opacity:0;transform:translate(24px)scale(.985)}to{opacity:1;transform:translate(0)scale(1)}}.legal-header{color:#ffe4a8;justify-content:center;align-items:center;gap:.45rem;width:min(100%,26rem);font-size:.78rem;font-weight:800;display:flex;position:relative}.legal-back{color:#fff0be;background:#3f2161aa;border:1px solid #d6a4ff99;border-radius:.75rem;place-items:center;width:2.35rem;height:2.35rem;display:grid;position:absolute;inset-inline-start:0;box-shadow:inset 0 1px #fff4}.legal-back svg{width:1.15rem;height:1.15rem}.legal-logo{filter:drop-shadow(0 3px 7px #16052c99);border-radius:.7rem;width:2.25rem;height:2.25rem}.legal-card{text-align:right;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);background:linear-gradient(145deg,#42245ebf,#25143dce);border:1px solid #d2a1f099;border-radius:1.15rem;width:min(100%,26rem);min-height:0;padding:clamp(1.1rem,4cqw,1.6rem);overflow-y:auto;box-shadow:inset 0 1px #fff3,0 12px 30px #16052c66}.legal-eyebrow{color:#d8b4f0;font-size:.66rem}.legal-card h1{color:#ffe1a0;text-align:center;margin:.2rem 0 .8rem;font-size:clamp(1.35rem,6cqw,1.8rem)}.legal-card h2{color:#e7ffb2;margin:1.1rem 0 .25rem;font-size:.88rem}.legal-card p{color:#f3eafa;text-shadow:none;font-size:clamp(.72rem,3.2cqw,.86rem);line-height:2}::view-transition-old(root){animation-duration:.45s}::view-transition-new(root){animation-duration:.45s}::view-transition-old(root){animation-name:legal-view-out}::view-transition-new(root){animation-name:legal-view-in}@keyframes legal-view-out{to{opacity:0;transform:translate(-18px)}}@keyframes legal-view-in{0%{opacity:0;transform:translate(18px)}}.otp-mist-layer{z-index:0;pointer-events:none;opacity:.66;filter:blur(18px);background:radial-gradient(at 50% 12%,#e2cbff80 0 12%,#0000 48%),radial-gradient(at 18% 48%,#b399ef75 0 13%,#0000 44%),radial-gradient(at 84% 68%,#d3c1ff66 0 16%,#0000 48%),linear-gradient(#0000 0%,#a181e138 48%,#694dad5c 100%);height:48%;position:absolute;bottom:0;left:-12%;right:-12%}.otp-code-input{width:min(100%,21rem);height:var(--control-height);border-radius:clamp(.5rem, calc(3.5 * var(--ui-unit)), .875rem);color:#fff;font-size:clamp(1.125rem, calc(6 * var(--ui-unit)), 1.5rem);text-align:center;letter-spacing:.2em;background:#5e398299;border:1px solid #d59dffbf;flex:none;margin-top:3cqh;padding:0 .75em;font-weight:700;box-shadow:inset 0 1px #ffffff26}.otp-code-input:focus{outline-offset:2px;outline:2px solid #ddff9dd9}.otp-code-input[aria-invalid=true]{border-color:#ff85a4e6;animation:.35s ease-in-out otp-shake}@keyframes otp-shake{25%{transform:translate(-4px)}75%{transform:translate(4px)}}.screen-content>.otp-error{color:#ffe8ef;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);text-shadow:0 1px 3px #23052d8c;background:#3512526b;border:1px solid #ffb1c461;border-radius:.8em;margin-top:1cqh;padding:.35em .8em;font-weight:600;box-shadow:0 3px 10px #19052d2e,inset 0 1px #ffffff14}.resend-button{color:#f2eafa;font-size:clamp(.8125rem, calc(3.5 * var(--ui-unit)), .9375rem);background:0 0;border:0;margin-top:1.5cqh;padding:.35em .6em}.resend-button span{color:#ddff9d;direction:ltr;margin-inline-start:.5em}.resend-button:disabled{cursor:default;opacity:.9}.resend-button:not(:disabled):hover{color:#fff;text-shadow:0 0 8px #ddff9d73}.otp-phone{color:#fff;direction:ltr;unicode-bidi:plaintext;font-weight:700}.edit-number-button{color:#f1e6ff;font-size:clamp(.8125rem, calc(3.25 * var(--ui-unit)), .875rem);background:0 0;border:0;margin-top:.5cqh;padding:.35em .6em;font-weight:600}.edit-number-button:hover{color:#fff;text-shadow:0 0 8px #ddff9d73}.otp-submit{max-width:22.5rem;margin-top:2.5cqh}.profile-mist-layer{z-index:0;pointer-events:none;opacity:.66;filter:blur(18px);background:radial-gradient(at 50% 12%,#e2cbff80 0 12%,#0000 48%),radial-gradient(at 18% 48%,#b399ef75 0 13%,#0000 44%),radial-gradient(at 84% 68%,#d3c1ff66 0 16%,#0000 48%),linear-gradient(#0000 0%,#a181e138 48%,#694dad5c 100%);height:48%;position:absolute;bottom:0;left:-12%;right:-12%}.selected-avatar-wrap{aspect-ratio:1;width:min(44cqw,20cqh,12rem);margin-top:1.5cqh}.selected-avatar{object-fit:cover;border-radius:25%;width:100%;height:100%;display:block}.display-name-input,.village-name-input{width:min(100%,19rem);min-height:var(--control-height);padding:.4em calc(4 * var(--ui-unit));color:#fff;text-align:right;direction:rtl;background:#5e398294;border:1px solid #d59dffbf;border-radius:.65em;flex:none;margin-top:1.5cqh;line-height:1.4;display:block}.display-name-input.has-error,.village-name-input.has-error{border-color:#ff91ad;box-shadow:0 0 0 2px #ff91ad2e}.screen-content>.profile-error{color:#fff0f4;text-shadow:0 1px 3px #23052d8c;background:#4a1859b8;border:1px solid #ffb1c47a;border-radius:1em;margin:1cqh 0 0;padding:.25em 1em;font-weight:700;box-shadow:0 4px 12px #19052d47,inset 0 1px #ffffff1f}.avatar-grid{gap:calc(2.25 * var(--ui-unit));direction:ltr;grid-template-columns:repeat(4,minmax(0,1fr));width:min(100%,43cqh,19rem);margin-top:1.5cqh;display:grid}.avatar-grid button{background:0 0;border:0;border-radius:13px;padding:0;position:relative;overflow:visible}.avatar-grid button.selected{border:0}.avatar-grid img{aspect-ratio:1;object-fit:cover;border-radius:10%;width:100%;display:block}.avatar-grid button.selected img{filter:drop-shadow(0 0 2px #c3fa7c)drop-shadow(0 0 2px #c3fa7c)drop-shadow(0 0 1px #c3fa7c)}.avatar-check{aspect-ratio:1;color:#39205e;background:#c3fa7c;border:2px solid #fff;border-radius:50%;place-items:center;width:27%;display:grid;position:absolute;top:1px;right:1px;box-shadow:0 2px 8px #10052073}.avatar-check svg{stroke-width:3px;width:75%;height:auto}.profile-submit{max-width:19rem;margin-top:1.75cqh}.village-house{filter:drop-shadow(0 14px 18px #13052961);width:min(90%,44cqh,19.5rem);height:auto;margin:2cqh auto 1cqh}.success-island{filter:drop-shadow(0 14px 18px #13052961);width:min(78%,36cqh,17.5rem);height:auto;margin-bottom:2cqh}.screen-content>.success-details{color:#f1e6ff;max-width:19rem;margin-top:.5em}.home-mist-layer{z-index:0;pointer-events:none;opacity:.68;filter:blur(24px);background:radial-gradient(at 50% 8%,#e2cbff8f 0 16%,#0000 52%),radial-gradient(at 18% 48%,#c0aaf46b 0 14%,#0000 48%),radial-gradient(at 84% 64%,#d3c1ff61 0 16%,#0000 48%),linear-gradient(#0000,#694dad70);height:70%;position:absolute;bottom:-4%;left:-16%;right:-16%}.home-content{--gutter:clamp(.5rem, 3.3cqw, .9375rem);--home-gap:clamp(.25rem, 1.25cqh, .8125rem);--map-min-height:min(35cqw, 8.5rem);grid-template:"overview" auto "island" minmax(var(--map-min-height), 1fr) "actions" auto / minmax(0, 1fr);align-items:stretch;gap:var(--home-gap);padding-block:calc(var(--safe-top) + var(--home-gap)) calc(var(--safe-bottom) + var(--home-gap));overscroll-behavior:contain;scrollbar-width:thin;display:grid;overflow-y:auto}.home-overview{gap:var(--home-gap);grid-area:overview;min-width:0;display:grid}.home-header{align-items:center;gap:max(.25rem, calc(2 * var(--ui-unit)));direction:ltr;min-width:0;display:flex}.home-player{width:clamp(2rem, calc(16 * var(--ui-unit)), 4.25rem);cursor:pointer;background:0 0;border:0;flex:none;padding:0}.home-player img{aspect-ratio:1;object-fit:cover;filter:drop-shadow(0 0 3px #c3fa7c);border-radius:23%;width:100%;display:block}.home-player:hover img,.home-player:focus-visible img{filter:drop-shadow(0 0 5px #ffe28d)brightness(1.08)}.home-player:focus-visible{outline-offset:3px;border-radius:25%;outline:2px solid #ffe28d}.home-resource-heading{justify-content:space-between;align-items:center;gap:.35rem;display:flex}.home-shield{color:#f0ffd6;white-space:nowrap;background:#223c23;border:1px solid #a6c987;border-radius:1rem;padding:.18rem .55rem;font-size:.72rem}.online-game-error{z-index:20;inset-inline:1rem;color:#fff7e8;background:#452019;border:1px solid #f2be94;border-radius:.5rem;justify-content:space-between;align-items:center;gap:.75rem;max-width:30rem;margin:auto;padding:.5rem .85rem;display:flex;position:fixed;bottom:1rem}.online-game-error button{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0}.profile-editor{z-index:20;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);background:#0b0615b8;place-items:center;padding:1rem;display:grid;position:fixed;inset:0}.profile-editor-card{color:#fff4df;width:min(100%,23rem);box-shadow:none;background:0 0;border:0;justify-items:center;padding:1.25rem 1rem 1rem;display:grid;position:relative}.profile-editor-close{inset-inline-start:.65rem;color:#fff;background:#ffffff12;border:1px solid #bb8cbd;border-radius:50%;width:2rem;height:2rem;font-size:1.35rem;line-height:1;position:absolute;top:.55rem}.profile-editor-crest{width:6rem;height:6rem;box-shadow:none;background:0 0;border:0;margin-top:.5rem;padding:0}.profile-editor-crest img{object-fit:contain;width:100%;height:100%}.profile-editor-card h2{color:#ffe2a2;margin:.65rem 0 .1rem;font-size:1.3rem}.profile-editor-card p{color:#dbc6e2;margin:0 0 .75rem;font-size:.78rem}.profile-editor-label{color:#ffe2a2;justify-self:stretch;margin-bottom:.25rem;font-size:.78rem;font-weight:700}.profile-editor-input{box-sizing:border-box;color:#fff;width:100%;font:inherit;text-align:right;background:#12091f;border:1px solid #b98cce;border-radius:.55rem;padding:.65rem .75rem}.profile-editor-avatars{grid-template-columns:repeat(6,1fr);gap:.35rem;width:100%;margin:.85rem 0;display:grid}.profile-editor-avatars button{min-width:0;box-shadow:none;cursor:pointer;background:0 0;border:0;padding:0;position:relative}.profile-editor-avatars button:focus-visible{outline-offset:2px;border-radius:.55rem;outline:2px solid #ffe09a}.profile-editor-avatars img{aspect-ratio:1;object-fit:contain;width:100%;display:block}.profile-editor-avatars svg{color:#fff;filter:drop-shadow(0 1px 2px #000);position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%)}.profile-editor-error{color:#ffb2ae!important}.profile-editor-save{color:#321b37;width:100%;font:inherit;background:linear-gradient(#ffe4a0,#c98a48);border:1px solid #f2c66f;border-radius:.65rem;padding:.7rem;font-weight:900}.profile-editor-exit{color:#e9d5ed;width:100%;font:inherit;background:#ffffff0d;border:1px solid #b98cce;border-radius:.65rem;margin-top:.45rem;padding:.55rem;font-size:.78rem;font-weight:700}.home-progress{text-align:left;direction:ltr;flex:1;min-width:0}.home-progress-top{color:#fff;font-size:clamp(.75rem, calc(3.25 * var(--ui-unit)), .9375rem);font-weight:800;line-height:1.25}.home-progress-top>span{text-overflow:ellipsis;white-space:nowrap;display:block;overflow:hidden}.home-progress-meta{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.2em .5em;margin-top:.3em;display:flex}.home-progress-top b{color:#3c205f;background:#ddff9d;border-radius:99px;padding:.2em .8em;font-size:.75em}.home-progress small{color:#eadbff;font-size:.7em}.home-xp{height:max(.25rem, calc(2 * var(--ui-unit)));margin-top:calc(1.5 * var(--ui-unit));background:#fff3;border-radius:99px;overflow:hidden}.home-xp i{border-radius:inherit;background:#c3fa7c;height:100%;display:block}.home-progress .home-production-bonus{color:#ddffb3;margin-top:.25em;font-size:.625rem;line-height:1.25;display:block}.home-coins{color:#ffe6a2;min-height:44px;font-size:clamp(.75rem, calc(3.2 * var(--ui-unit)), .9rem);cursor:pointer;isolation:isolate;background:0 0;border:0;border-radius:50px;flex:none;align-items:center;gap:4px;padding:3px 10px 3px 0;display:flex;position:relative}.home-coins:before{content:"";z-index:-1;background:repeating-linear-gradient(2deg,#0000 0 5px,#ffe0a30a 6px 7px),linear-gradient(#76502e,#3e2a24);border:1px solid #e3b563;border-radius:6px 10px 10px 6px;position:absolute;inset:7px 0 7px 13px;box-shadow:inset 0 1px #ffe3a466,inset 0 -2px #251b1eaa,0 2px #221529,0 3px 7px #160c2766}.home-coins img{aspect-ratio:1;object-fit:contain;filter:drop-shadow(0 2px #704329)drop-shadow(0 2px 4px #1c102a88);width:clamp(30px,8cqw,37px);height:auto}.home-coins strong{text-align:center;text-shadow:0 1px 2px #24151b;min-width:2ch;font-weight:900;line-height:1}.home-coins-add{color:#fff4c4;background:linear-gradient(#7d9a53,#405d36);border:1px solid #e8d38b;border-radius:5px;place-items:center;width:16px;height:16px;font:900 13px/1 sans-serif;display:grid;position:absolute;top:1px;right:-5px;box-shadow:inset 0 1px #d8ed9c66,0 2px #283323}@media (hover:hover){.home-coins:hover{filter:brightness(1.12)}}.home-coins:focus-visible,.coin-shop button:focus-visible{outline-offset:2px;outline:2px solid #ffe5a8}.resource-title{text-align:start;font-size:clamp(.75rem, calc(3.25 * var(--ui-unit)), .9375rem);text-shadow:0 2px 4px #14042dbf;margin:0;padding-inline-start:.5em;font-weight:800;line-height:1.1}.resource-row{gap:calc(var(--home-gap) * .6);grid-template-columns:repeat(2,minmax(0,1fr));display:grid}.resource-card{min-width:0;min-height:clamp(2.625rem, calc(13 * var(--ui-unit)), 3.625rem);border-radius:clamp(.5rem, calc(3 * var(--ui-unit)), .875rem);background:linear-gradient(to left, #c29fe045 0 var(--resource-fill,0%), #8c62ae3d var(--resource-fill,0%) calc(var(--resource-fill,0%) + 1px), #2d1b4f4d calc(var(--resource-fill,0%) + 1px) 100%);-webkit-backdrop-filter:blur(5px)saturate(1.08);color:#fff;font-size:clamp(.625rem, calc(2.75 * var(--ui-unit)), .8125rem);border:1px solid #dc9cff8c;grid-template:"icon info"/minmax(0,.4fr) minmax(0,1fr);align-items:center;gap:.2em;padding:.2em .4em;line-height:1.2;display:grid;box-shadow:inset 0 1px #ffffff1f}.resource-card.icon-left{grid-template-columns:minmax(0,1fr) minmax(0,.4fr);grid-template-areas:"info icon"}.resource-card.icon-right{background:linear-gradient(to right, #c29fe045 0 var(--resource-fill,0%), #8c62ae3d var(--resource-fill,0%) calc(var(--resource-fill,0%) + 1px), #2d1b4f4d calc(var(--resource-fill,0%) + 1px) 100%)}.resource-card>img{width:100%;max-height:calc(12 * var(--ui-unit));object-fit:contain;grid-area:icon;display:block}.resource-card .resource-info{grid-area:info;gap:.22em;min-width:0;display:grid}.resource-card .resource-copy{flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.12em .4em;display:flex}.resource-card .resource-info>small{color:#ddff9d;flex-wrap:wrap;justify-content:center;gap:.15em .5em;font-size:.9em;display:flex}.resource-card .consumption{color:#ff9da9}.resource-balance{overflow-wrap:anywhere;direction:ltr;unicode-bidi:isolate;flex-wrap:wrap;justify-content:center;align-items:baseline;gap:.16em;display:inline-flex}.resource-balance.resource-overflow>span{color:#ffe1a0}.resource-card{isolation:isolate;overflow:hidden}.resource-visual{grid-area:icon;align-self:stretch;place-items:end center;min-width:0;display:grid;position:relative}.resource-visual img{width:100%;max-height:calc(12 * var(--ui-unit));object-fit:contain;display:block}.resource-name{-webkit-backdrop-filter:blur(4px);color:#fff;text-align:center;text-shadow:0 1px 3px #16052de6;background:#2614459e;border:1px solid #ebcfff61;border-radius:.55em;inline-size:100%;padding:.24em .3em .3em;font-size:.82em;font-weight:800;line-height:1;position:absolute;inset-block-end:.08em;inset-inline:0}.village-summary{width:min(65%,16rem);height:clamp(2.5rem, calc(17 * var(--ui-unit)), 4.875rem);touch-action:pan-y;justify-self:center;line-height:1;position:relative}.village-signboard{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.village-sign-content{color:#fff;width:100%;height:100%;font-size:clamp(.6875rem, calc(3 * var(--ui-unit)), .875rem);text-shadow:0 2px 4px #14042dbf;align-content:center;justify-items:center;gap:.15em;padding:.6em 16% 0;display:grid;position:relative}.village-sign-content>strong{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-weight:800;overflow:hidden}.village-switch{z-index:1;aspect-ratio:1;color:#ffe4a5;background:linear-gradient(#9c5b2d,#4d2418);border:1px solid #e3ba7e;border-radius:.75rem;place-items:center;width:2.625rem;padding:0;font-size:1.125rem;display:grid;position:absolute;inset-block-start:50%;translate:0 -50%;box-shadow:0 3px 10px #160d23a6,inset 0 1px #e7ad64}.village-switch-prev{inset-inline-start:-1.25rem}.village-switch-next{inset-inline-end:-1.25rem}.village-activity-info{z-index:2;aspect-ratio:1;color:#fff0bd;background:linear-gradient(#6d4b8a,#33204d);border:1px solid #e3ba7e;border-radius:50%;place-items:center;width:1.75rem;padding:0;font-size:.95rem;display:grid;position:absolute;inset-block-start:50%;inset-inline-end:14%;translate:0 -50%;box-shadow:0 2px 7px #160d23a6}.village-activity-info:focus-visible,.village-switch:focus-visible{outline-offset:2px;outline:2px solid #fff0bf}.village-switcher-list{gap:.5rem;margin:0;padding:0;list-style:none;display:grid}.village-switcher-list button{text-align:start;color:#fff1da;background:linear-gradient(135deg,#503763,#302049);border:1px solid #956eadd1;border-radius:.625rem;justify-content:space-between;align-items:center;gap:.5rem;width:100%;min-height:3.5rem;padding:.5rem .75rem;display:flex}.village-switcher-list button[aria-current=true]{background:linear-gradient(135deg,#674658,#392348);border-color:#edc487}.village-switcher-list button:focus-visible{outline-offset:2px;outline:2px solid #ffe3a6}.village-switcher-name{flex:1;gap:.125rem;min-width:0;display:grid}.village-switcher-name small{color:#f6d497;font-size:.6875rem}.village-switcher-level{color:#e6d5ea;font-size:.6875rem}.village-switcher-list button>svg{color:#ffe3a6;flex:none}.population-stat{white-space:nowrap;justify-content:center;align-items:center;gap:.25em;font-size:.85em;font-weight:800;display:flex}.population-stat img{object-fit:contain;filter:brightness(0)invert();width:1.35em;height:1.35em}.home-island-wrap{grid-area:island;place-items:center;min-width:0;min-height:0;display:grid;container:island-space/size}.home-island-stage{--island-ratio:1560 / 1048;--map-unit:min(1cqw, calc(1cqh * var(--island-ratio)));width:calc(100 * var(--map-unit));aspect-ratio:var(--island-ratio);animation:5.5s ease-in-out infinite home-island-float;position:relative}.home-island{filter:drop-shadow(0 8px 14px #1003255c);width:100%;height:100%;display:block}@keyframes home-island-float{0%,to{transform:translateY(0)}50%{transform:translateY(calc(-.9 * var(--map-unit)))}}.resource-zone{z-index:2;color:#3c205f;width:23%;height:28%;font-size:clamp(.5625rem, calc(2.8 * var(--map-unit)), .8125rem);cursor:pointer;background:0 0;border:0;border-radius:18%;place-items:center;padding:0;font-weight:700;display:grid;position:absolute}.resource-zone>span{width:max(1rem, calc(8 * var(--map-unit)));aspect-ratio:1;background:#e1ffa5bd;border:1px solid #ebffb1bd;border-radius:50%;place-items:center;line-height:1;display:grid;position:absolute;inset:50% auto auto 50%;transform:translate(-50%,-50%);box-shadow:0 2px 6px #0c031e59}.resource-zone:focus-visible{outline-offset:2px;outline:2px solid #fff}.zone-wood{top:3%;left:5%}.zone-iron{top:3%;right:5%}.zone-brick{top:36%;right:2%}.zone-wheat{top:31%;left:2%}.zone-main{height:32%;top:29%;left:38.5%}.zone-main>span{top:35%}.home-content>.village-guide{z-index:2;grid-area:island;position:absolute;inset:auto 0 0}.home-content>.village-guide:is([data-step=hall2],[data-step=buildBarracks],[data-step=trainSpears]){grid-area:overview}.home-actions{gap:max(.125rem, calc(.6 * var(--ui-unit)));grid-area:actions;grid-template-columns:repeat(4,minmax(0,1fr));align-self:end;display:grid}.home-actions button{color:#fff;min-width:0;min-height:2.75rem;font-size:clamp(.6875rem, calc(3.25 * var(--ui-unit)), .9375rem);background:0 0;border:0;flex-direction:column;align-items:center;padding:0;font-weight:800;line-height:1.35;display:flex;position:relative}.home-actions button:active{transform:scale(.97)}.home-actions img{width:100%;height:clamp(2.125rem, calc(21 * var(--ui-unit)), 5.8125rem);object-fit:contain;display:block}.home-actions button>span{overflow-wrap:anywhere;max-width:100%}.home-actions button[aria-haspopup=dialog]:focus-visible{outline-offset:2px;border-radius:.75rem;outline:2px solid #ffdd8a}.home-actions .home-action-badge{min-width:clamp(1.125rem, calc(6.75 * var(--ui-unit)), 1.75rem);height:clamp(1.125rem, calc(6.75 * var(--ui-unit)), 1.75rem);color:#fff;pointer-events:none;background:#c51c3d;border:1px solid #ffc0ab;border-radius:999px;place-items:center;padding-inline:.2em;font-size:.85em;line-height:1;display:grid;position:absolute;inset-block-start:.15em;inset-inline-start:.45em;box-shadow:0 2px 7px #270719a6}@media (width>=521px) and (height>=521px){#root{width:min(100%,430px);height:min(100dvh,900px)}.game-screen{border-radius:1.5rem;box-shadow:0 0 0 1px #584078,0 24px 80px #00000073}}@media (orientation:portrait) and (height<=600px){.home-content{--home-gap:clamp(.25rem, .95cqh, .5rem)}.home-overview{grid-template:"header header""title sign""resources resources"/minmax(0,1fr) minmax(0,1fr);align-items:center}.home-header{grid-area:header}.home-resource-heading{grid-area:title}.village-summary{width:100%;max-width:14rem;height:clamp(2rem, calc(13.5 * var(--ui-unit)), 3rem);grid-area:sign}.resource-row{grid-area:resources}.home-actions img{height:clamp(2rem, calc(15 * var(--ui-unit)), 4rem)}}@media (orientation:portrait) and (height<=490px){.profile-content{align-content:safe center;place-items:center;gap:1.25cqh calc(3 * var(--ui-unit));grid-template:"title title""intro intro""preview name""avatars avatars""error error""submit submit"/auto minmax(0,1fr);display:grid}.profile-content>h1{grid-area:title;margin:0}.profile-content>p:not(.profile-error){grid-area:intro}.profile-content>.selected-avatar-wrap{grid-area:preview;width:15cqh;margin:0}.profile-content>.display-name-input{grid-area:name;margin:0}.profile-content>.profile-error{grid-area:error;margin:0}.profile-content>.profile-submit{grid-area:submit;margin:0}.profile-content>.avatar-grid{grid-area:avatars;margin:0}}@media (orientation:landscape) and (height<=520px){#root{width:min(100%,780px)}.game-screen{--gutter:clamp(.625rem, 3cqw, 1.375rem)}.home-content{grid-template:"overview island"minmax(min(30cqh,8.5rem),1fr)"overview actions"/minmax(0,1fr) minmax(0,1.15fr)}.home-overview{align-content:safe center}.home-content>.village-guide{grid-area:overview}.profile-content{grid-template:"title avatars""intro avatars""preview avatars""name avatars""error avatars""submit avatars"/minmax(0,1fr) minmax(0,1fr);align-content:safe center;justify-items:center;gap:1cqh clamp(.625rem,3cqw,1.5rem);display:grid}.profile-content>h1{grid-area:title;margin:0}.profile-content>p:not(.profile-error){grid-area:intro}.profile-content>.selected-avatar-wrap{grid-area:preview;margin:0}.profile-content>.display-name-input{grid-area:name;margin:0}.profile-content>.profile-error{grid-area:error;margin:0}.profile-content>.profile-submit{grid-area:submit;margin:0}.avatar-grid{grid-area:avatars;align-self:center;width:min(100%,70cqh,19rem);margin:0}}@media (prefers-reduced-motion:reduce){.login-logo,.village,.home-island-stage{animation:none}}.world-map,.map-target-sheet{--realm-base:#211433;--realm-inset:#241633;--realm-surface:#392447;--realm-raised:#50326a;--realm-line:#c6976259;--realm-gold:#eed19a;--realm-text:#fff1cf;--realm-muted:#d6bfdf;--realm-shadow:#140c234d;--realm-purple:linear-gradient(155deg, #50326a, #301b45 72%);--realm-panel:linear-gradient(150deg, #392447, #271835);--realm-button:linear-gradient(#6b4785, #422757);--realm-gold-button:linear-gradient(#ffe6a0, #e8b267)}.world-map{--map-ink:var(--realm-text);--map-gold:var(--realm-gold);--map-wood:var(--realm-inset);background:var(--realm-base)}.world-map::backdrop,.map-target-sheet::backdrop{background:#120821b8}.world-map-heading,.world-map-dock{background:var(--realm-purple);box-shadow:inset 0 1px #f5c88630, 0 3px 14px var(--realm-shadow);border-color:#b78b5e}.world-map-heading:after,.world-map-dock:after{border-color:var(--realm-line)}.world-map-heading h2{color:var(--realm-text);text-shadow:0 2px #211433}.world-map-eyebrow,.world-map-location small,.world-map-no-results{color:var(--realm-muted)}.world-map-button,.world-map-zoom .world-map-button,.world-map-home-seal{color:var(--realm-gold);border-color:var(--realm-line);background:var(--realm-button);box-shadow:inset 0 1px #f6ce9a41, 0 3px 0 #211433, 0 5px 8px var(--realm-shadow)}.world-map-home-button{color:#342014;background:var(--realm-gold-button);border-color:#ffe1a0;box-shadow:inset 0 1px #fff3c6,0 3px #975429}.world-map-location strong,.world-map-all-icon{color:var(--realm-gold)}.world-map-drag-hint{color:var(--realm-text);border-color:var(--realm-line);background:#301b45e6}.world-map-filters{border-color:var(--realm-line)}.world-map-filters button{color:var(--realm-muted);background:#24163380}.world-map-filters button[aria-pressed=true]{color:var(--realm-text);background:linear-gradient(#6b475a,#4a2c45);border-color:#d5a46791;box-shadow:inset 0 1px #f6ce9a41}.world-map-filters button i{background:#866695}.world-map-filters button[aria-pressed=true] i{background:var(--realm-gold)}.world-map-search{color:var(--realm-text);background:var(--realm-panel);border-color:#b78b5e;box-shadow:0 8px 25px #12082180,inset 0 0 0 3px #241633}.world-map-search h3{color:var(--realm-gold)}.world-map-search input{color:var(--realm-text);background:var(--realm-inset);border-color:#9877a9}.world-map-search li button{color:var(--realm-text);border-color:var(--realm-line)}.world-map-search li button>span:last-child{color:var(--realm-muted)}.world-map-village-name{color:var(--realm-text);border-color:var(--realm-line);background:#301b45e6}.world-map-tile[data-tile=home] .world-map-village-name{color:#ffe6a0;background:#50326a;border-color:#d5a467}.world-map-tile[data-tile=home]:after{box-shadow:0 0 0 2px #50326a,inset 0 0 10px #ffe99144}.world-map-difficulty{box-shadow:0 0 0 2px #301b45aa}.construction-sheet.expedition-sheet{--target-gold:var(--realm-gold);color:var(--realm-text);background:var(--realm-base);border-color:#b78b5e;box-shadow:0 0 0 3px #211433,0 0 0 4px #c19b594d,0 20px 70px #120821bb}.expedition-sheet .construction-body{scrollbar-color:#9f78bb transparent;background:radial-gradient(ellipse at top, #50326a66, transparent 65%), var(--realm-base)}.map-target-sheet .construction-close{color:var(--realm-text);border-color:var(--realm-line);background:var(--realm-button);box-shadow:inset 0 1px #f6ce9a41, 0 3px 6px var(--realm-shadow)}.expedition-sheet .map-target-heading{background-color:var(--realm-surface)}.expedition-sheet .map-target-heading:before{background:linear-gradient(#21143330,#0000 35%,#301b4555 65%,#211433)}.expedition-sheet .map-target-name{background:var(--realm-purple);box-shadow:inset 0 0 0 3px #24163388, inset 0 0 0 4px #d9b67735, 0 4px 7px var(--realm-shadow);border-color:#c6976280}.expedition-sheet .map-target-kind{color:var(--realm-gold)}.expedition-sheet .map-target-heading h2{color:var(--realm-text);text-shadow:0 2px #211433}.expedition-sheet .map-target-content p{color:var(--realm-muted)}.expedition-route,.expedition-sheet .conquest-panel,.expedition-sheet .battle-army-group,.expedition-sheet .battle-unit+.battle-unit{border-color:var(--realm-line)}.expedition-route-point>svg{color:var(--realm-gold);border-color:var(--realm-line);background:var(--realm-button);box-shadow:inset 0 0 0 2px #301b45}.expedition-route-point small,.expedition-ruler small{color:var(--realm-muted)}.expedition-route-point strong,.expedition-ruler strong,.expedition-sheet .expedition-section-title h3{color:var(--realm-text)}.expedition-route-trail{color:var(--realm-gold)}.expedition-route-trail:before{border-color:#c6976280}.expedition-route-trail svg{background:var(--realm-base)}.expedition-ruler>img{box-shadow:0 0 0 2px #50326a, 0 3px 7px var(--realm-shadow);border-color:#c69762}.expedition-ruler>span{color:var(--realm-gold);border-color:var(--realm-line)}.expedition-section-title>span{color:var(--realm-gold);border-color:var(--realm-line);background:#eed19a14}.expedition-section-title>span[data-level=easy]{color:#cbed9f;background:#8caf6c26}.expedition-section-title>span[data-level=hard]{color:#ffbba5;background:#bb765026}.expedition-animal-list strong{color:var(--realm-text);background:#50326a;border-color:#c69762;box-shadow:0 2px #241633}.expedition-animal-list small{color:var(--realm-muted)}.expedition-sheet .map-target-actions button,.expedition-sheet .battle-back,.battle-unit-picker button{color:var(--realm-text);background:var(--realm-button);box-shadow:inset 0 1px #f6ce9a41, 0 3px 0 #211433, 0 5px 8px var(--realm-shadow);border-color:#9877a9}.expedition-sheet .map-target-actions .map-target-primary,.expedition-sheet .battle-gold-button{color:#342014;background:var(--realm-gold-button);box-shadow:inset 0 1px #fff3c6, 0 3px #975429, 0 5px 8px var(--realm-shadow);border-color:#ffe1a0}.expedition-sheet .conquest-button{color:var(--realm-gold);border-color:var(--realm-line);background:var(--realm-button);box-shadow:inset 0 1px #f6ce9a41}.expedition-sheet .conquest-progress strong,.expedition-sheet .map-target-form h3{color:var(--realm-text)}.expedition-sheet .conquest-progress span,.expedition-sheet .map-target-message-meta bdi{color:var(--realm-muted)}.expedition-sheet .conquest-steps i{background:#665270}.expedition-sheet .conquest-steps i[data-state=done]{background:#cbed9f}.expedition-sheet .conquest-steps i[data-state=marching]{background:#eed19a}.expedition-sheet .map-target-form textarea{color:var(--realm-text);background:var(--realm-inset);box-shadow:inset 0 2px 6px var(--realm-shadow);border-color:#9877a9}.expedition-sheet .map-target-feedback{color:#cbed9f}.battle-journey li{color:var(--realm-muted)}.battle-journey li+li:before{border-color:var(--realm-line)}.battle-journey li>span{color:var(--realm-muted);background:var(--realm-inset);border-color:#9877a9;box-shadow:inset 0 0 0 3px #50326a55}.battle-journey li[data-state=current]{color:var(--realm-gold)}.battle-journey li[data-state=current]>span{color:var(--realm-text);background:var(--realm-button);border-color:#eed19a;box-shadow:inset 0 0 0 3px #301b45,0 0 0 2px #eed19a33}.battle-journey li[data-state=done]>span{color:#cbed9f;background:#33482d}.expedition-sheet .battle-stage-title,.expedition-sheet .battle-unit label,.battle-empty-army>strong{color:var(--realm-text)}.expedition-sheet .battle-stage-title svg,.expedition-sheet .battle-army-summary svg{color:var(--realm-gold)}.expedition-sheet .battle-army-summary,.expedition-sheet .map-battle-comparison{color:var(--realm-text);border-color:var(--realm-line);background:var(--realm-panel);box-shadow:inset 0 1px #ffe1a627}.expedition-sheet .battle-army-summary>span,.expedition-sheet .battle-unit small,.expedition-sheet .battle-army-group legend{color:var(--realm-muted)}.expedition-sheet .battle-army-summary strong{color:var(--realm-gold)}.expedition-sheet .battle-army-summary>span+span{border-color:var(--realm-line)}.expedition-sheet .battle-unit-picker input{color:var(--realm-text);background:var(--realm-inset);border-color:#9877a9}.battle-select-all{color:var(--realm-gold);border-color:var(--realm-line)}.battle-unit[data-selected=true] .battle-unit-portrait{filter:drop-shadow(0 0 5px #c397e080)}.expedition-sheet .battle-optional{color:var(--realm-muted);border-color:var(--realm-line);background:#50326a44}.expedition-sheet .battle-optional strong,.expedition-sheet .battle-optional>svg{color:var(--realm-gold)}.expedition-sheet .battle-return{color:var(--realm-muted)}.expedition-sheet .battle-stage-actions{background:linear-gradient(#0000,#211433 25%)}.expedition-sheet .march-estimate{color:var(--realm-muted);border-color:var(--realm-line);background:var(--realm-inset)}.expedition-sheet .march-estimate strong{color:var(--realm-gold)}.expedition-sheet .march-clock{background:var(--realm-purple);border-color:#c99e5c85}.expedition-sheet .march-clock small{color:var(--realm-muted)}.expedition-sheet .battle-category-grid button,.expedition-sheet .battle-boosters button{color:var(--realm-text);background:var(--realm-purple);border-color:#9877a9;box-shadow:inset 0 1px #ffe1a627,0 2px #211433}.expedition-sheet .battle-category-grid button>svg,.expedition-sheet .battle-boosters button>svg,.expedition-sheet .battle-boosters button>span{color:var(--realm-gold)}.expedition-sheet .battle-category-grid button[aria-pressed=true]{color:var(--realm-text);background:linear-gradient(#6b475a,#4a2c45);border-color:#eed19a;box-shadow:inset 0 1px #f6ce9a41,0 0 0 1px #eed19a33}.expedition-sheet .battle-quiz-meta{color:var(--realm-muted)}.expedition-sheet .battle-quiz-meta strong{color:var(--realm-text)}.expedition-sheet .battle-wallet{color:var(--realm-gold);background:var(--realm-inset);border-color:var(--realm-line)}.expedition-sheet .battle-quiz-progress i{background:#665270}.expedition-sheet .battle-quiz-progress i[data-state=active]{background:#eed19a}.expedition-sheet .battle-quiz-progress i[data-state=right]{background:#b5e777}.expedition-sheet .battle-quiz-progress i[data-state=wrong]{background:#e49a9e}.map-target-sheet .battle-question-card{color:var(--realm-text);background:radial-gradient(ellipse at top, #79558a55, transparent 75%), var(--realm-panel);box-shadow:inset 0 1px #ffe1a627, 0 5px 14px var(--realm-shadow);border-color:#c6976280}.map-target-sheet .battle-question-card>span{color:var(--realm-gold);border-color:var(--realm-line);background:var(--realm-inset)}.expedition-sheet .battle-answers button{color:var(--realm-text);background:var(--realm-button);border-color:#9877a9;box-shadow:inset 0 1px #ffe1a627,0 2px #211433}.expedition-sheet .battle-answer-letter{color:var(--realm-gold);background:var(--realm-inset)}.expedition-sheet .battle-answers button[data-state=right]{color:#e6ffc8;background:#33482d;border-color:#bdd980}.expedition-sheet .battle-answers button[data-state=wrong]{color:#ffe2db;background:#5a293f;border-color:#d99192}.expedition-sheet .battle-quiz .battle-quiz-note,.expedition-sheet .battle-question-timer{color:var(--realm-gold)}.expedition-sheet .battle-time-ring bdi{color:var(--realm-text);background:var(--realm-inset)}.expedition-sheet .battle-question-timer[data-urgent=true]{color:#ffbba5}.expedition-sheet .battle-question-timer[data-frozen=true]{color:#a4e7f2}.expedition-sheet .battle-question-timer[data-frozen=true] .battle-time-ring bdi{color:#a4e7f2;background:#284e58}.expedition-sheet .battle-music-toggle{color:var(--realm-muted);border-color:var(--realm-line);background:var(--realm-inset)}.expedition-sheet .battle-music-toggle[aria-pressed=true]{color:#cbed9f;border-color:#92a06488}.expedition-sheet .battle-boosters button[data-booster=freeze]{color:#a4e7f2;background:linear-gradient(#39475d,#293145);border-color:#76c6df80}.expedition-sheet .battle-boosters button[data-booster=freeze]>svg{color:#a4e7f2}.expedition-sheet .battle-ready-score{background:var(--realm-purple);border-color:#c6976280}.expedition-sheet .battle-ready-score strong{color:var(--realm-gold)}.expedition-sheet .battle-ready-score span{color:var(--realm-muted)}.expedition-sheet .map-battle-result{background:linear-gradient(135deg,#65404c,#2a1b3b);border-color:#bc8d8b}.expedition-sheet .map-battle-result[data-won=true]{background:linear-gradient(135deg,#655039,#33213e);border-color:#dbba71}.expedition-sheet .map-battle-result strong,.expedition-sheet .map-battle-comparison dd{color:var(--realm-text)}.expedition-sheet .map-battle-result svg,.expedition-sheet .map-battle-score :is(svg,strong){color:var(--realm-gold)}.expedition-sheet .map-battle-result span,.expedition-sheet .map-battle-comparison :is(dt,small),.expedition-sheet .map-battle-score{color:var(--realm-muted)}.expedition-sheet :is(.map-battle-losses,.map-battle-loot){color:var(--realm-text);border-color:var(--realm-line);background:var(--realm-inset)}.expedition-sheet :is(.map-battle-loot strong,.map-battle-losses summary){color:var(--realm-gold)}.expedition-sheet .map-battle-losses li{color:var(--realm-muted)}.expedition-sheet .battle-error{color:#ffc1b8}.expedition-sheet .battle-casualties{--casualty-ink:#fff1cf;--casualty-muted:#d6bfdf;--casualty-red:#ffc2cb;--casualty-green:#cbed9f;--casualty-line:#c6976233;background:var(--realm-panel);box-shadow:inset 0 1px #ffe1a627}.map-target-sheet .battle-casualties-heading{color:var(--realm-text);background:var(--realm-purple)}.expedition-sheet .battle-loot-title,.expedition-sheet .march-loot dd{color:var(--realm-gold)}.expedition-sheet .march-loot dt{color:var(--realm-muted)}.expedition-sheet .battle-loot-arrival{color:#cbed9f}.target-active-expeditions{color:var(--realm-text);border-color:var(--realm-line);background:var(--realm-panel)}.target-expedition-title span,.target-active-expeditions article p{color:var(--realm-muted)}
