.shop-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1500;display:grid;place-items:center;padding:max(16px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(16px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#03121bb8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.shop-panel{--shop-gold: #e6b953;--shop-cream: #fff0c5;position:relative;display:flex;flex-direction:column;width:min(100%,640px);max-height:calc(var(--game-height) - 40px);min-height:0;padding:16px;border:2px solid var(--shop-gold);border-radius:18px 14px;outline:none;color:var(--shop-cream);background:radial-gradient(ellipse at 45% 5%,#14506a55,transparent 65%),url(/assets/royalforge/shops/panel-texture-v1.webp),#062435;box-shadow:0 0 0 3px #4b2c13,0 0 0 5px #edc775,inset 0 0 0 3px #071825,0 20px 70px #000b;font-family:Forge Sans,Arial,sans-serif}.shop-panel:before,.shop-panel:after{position:absolute;z-index:2;left:50%;width:13px;height:13px;border:2px solid #f7d887;background:#0d364c;content:"";transform:translate(-50%) rotate(45deg);pointer-events:none}.shop-panel:before{top:-9px}.shop-panel:after{bottom:-9px}.shop-header{position:relative;flex:0 0 auto;padding:2px 45px 14px;text-align:center}.shop-header h1{margin:0;font:700 clamp(24px,calc(var(--game-width) * .044),38px) / 1.08 "Royal Display",Georgia,serif;color:var(--shop-cream);overflow-wrap:anywhere;text-shadow:0 2px 2px #0008}.shop-header p{margin:7px 0 0;font:clamp(13px,calc(var(--game-width) * .027),18px) / 1.25 Georgia,serif;color:#eadabb}.shop-close{position:absolute;top:-3px;right:-2px;display:grid;place-items:center;width:40px;height:40px;padding:0;border:2px solid #f1c870;border-radius:50%;box-shadow:0 0 0 2px #633d18,inset 0 0 0 2px #164769;background:linear-gradient(#246f9e,#073451);color:#ffedba;font:700 30px/1 Georgia,serif;cursor:pointer}.shop-scroll{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ad8644 #092737;padding:3px 5px 8px}.shop-footer{flex:0 0 auto;margin:9px 0 0;padding:9px 10px 0;border-top:1px solid #c49d5144;text-align:center;font:13px/1.35 Georgia,serif;color:#c4d0d7}.shop-footer small{display:block;margin-top:4px;font:11px/1.35 Forge Sans,Arial,sans-serif}.shop-action{display:block;min-width:0;min-height:42px;padding:8px 10px;border:2px solid #e6bc60;border-radius:9px 5px;background:linear-gradient(180deg,#2e8bca,#0960a0 22%,#064375 80%,#082a4b);box-shadow:inset 0 0 0 2px #1e4160,inset 0 2px #b8e4ff66,0 2px 3px #0006;color:#fff0c2;font:700 18px/1.15 Royal Display,Georgia,serif;text-align:center;cursor:pointer;overflow-wrap:anywhere}.shop-action:hover:not(:disabled){filter:brightness(1.13)}.shop-action:disabled{cursor:default;filter:saturate(.72)}.shop-panel button:focus-visible,.coin-shop-plus:focus-visible{outline:3px solid #b5ecff;outline-offset:3px}.shop-atlas-art{display:block;width:100%;height:100%;background-image:url(/assets/royalforge/shops/coin-packs-atlas-v1.webp);background-size:300% 200%;background-repeat:no-repeat}.shop-resource-icon{display:inline-block;flex:0 0 auto;width:32px;height:32px;background:url(/assets/royalforge/city-hub/resource-icons-v1.png) 0 0 / 200% 200% no-repeat}.shop-resource-icon.is-wood{background-position:100% 0}.shop-resource-icon.is-stone{background-position:0 100%}.shop-resource-icon.is-iron{background-position:100% 100%}.coin-shop-wallet{display:flex;align-items:center;justify-content:center;gap:7px;width:fit-content;min-width:145px;margin:0 0 13px auto;padding:6px 15px;border:1px solid #d1ad64;border-radius:12px;background:#021e30;color:#e0d2ae;font-size:12px}.coin-shop-wallet strong{display:block;margin-top:2px;font:700 23px/1.05 Royal Display,Georgia,serif;color:#f7dd91;font-variant-numeric:tabular-nums}.coin-pack-list{display:grid;gap:10px}.coin-pack{display:grid;grid-template-columns:29% minmax(0,1fr) 27%;min-height:clamp(82px,calc(var(--game-height) * .11),114px);align-items:center;gap:10px;border:1px solid #d3ad5d;border-radius:12px 6px;background:#061f2d;box-shadow:inset 0 0 0 2px #e8be5522;overflow:hidden}.coin-pack-art{height:100%;min-height:95px;aspect-ratio:1.15;overflow:hidden;-webkit-mask-image:linear-gradient(to right,#000 85%,transparent);mask-image:linear-gradient(to right,#000 85%,transparent)}.coin-pack-copy{min-width:0;padding:8px 0}.coin-pack h2{margin:0 0 5px;font:700 clamp(13px,calc(var(--game-width) * .028),20px) / 1.12 "Royal Display",Georgia,serif;color:#f5e5be;overflow-wrap:anywhere}.coin-pack-copy p{margin:0;font:clamp(12px,calc(var(--game-width) * .027),18px) / 1.15 "Royal Display",Georgia,serif;color:#f9d584}.coin-pack-copy p strong{font-size:clamp(22px,calc(var(--game-width) * .045),33px)}.coin-pack-buy{margin-right:10px;font-size:clamp(18px,calc(var(--game-width) * .038),26px);white-space:nowrap;padding:9px 4px}.coin-shop-availability{margin:11px 5px 0;color:#c8d4db;text-align:center;font-size:12px;line-height:1.4}.shop-notice{padding:12px;margin:0 0 10px;border:1px solid #b4935066;border-radius:8px;color:#d8e3e8;line-height:1.45;font-size:13px}.shop-notice button{margin-left:5px;padding:5px 8px;color:#ffe2a2;background:#194665;border:1px solid #b99550;border-radius:5px}.coin-shop-plus{display:inline-grid;place-items:center;width:34px;height:34px;padding:0;flex:0 0 auto;border:2px solid #f2cb70;border-radius:50%;background:linear-gradient(#2b7196,#07314a);box-shadow:0 0 0 2px #69400f,inset 0 0 0 1px #5196ac;color:#ffe9a9;font:700 28px/1 Georgia,serif;cursor:pointer;pointer-events:auto}.city-shop-entry{position:absolute;top:max(91px,calc(env(safe-area-inset-top) + 78px));left:50%;z-index:8;display:flex;align-items:center;justify-content:center;gap:7px;max-width:calc(100% - 30px);min-height:44px;padding:5px 16px 5px 7px;border:2px solid #dfb651;border-radius:10px 5px;box-shadow:0 0 0 2px #583611,0 5px 15px #0007,inset 0 0 0 2px #164363;background:linear-gradient(#206b9e,#073e6c);color:#fff0bf;font:700 17px/1.15 Royal Display,Georgia,serif;transform:translate(-50%);cursor:pointer}.city-shop-entry-art{width:46px;height:39px;overflow:hidden;border-radius:4px}.city-hub-balance.has-coin-shop{grid-template-columns:29px minmax(0,auto) 34px;gap:5px}.city-hub-balance.has-coin-shop strong{min-width:0;padding-left:2px}.coin-balance.has-coin-shop{gap:8px}.smithy-balance.has-coin-shop{pointer-events:auto;padding:4px 6px 4px 8px;gap:6px}.smithy-balance .coin-shop-plus{width:29px;height:29px;font-size:24px}@container game (max-width: 420px){.shop-overlay{padding:11px}.shop-panel{padding:10px 8px;max-height:calc(var(--game-height) - 30px);border-radius:13px}.shop-header{padding:5px 38px 11px 8px}.shop-header h1{font-size:25px}.shop-header p{font-size:12px}.shop-close{width:33px;height:33px;right:2px;top:1px;font-size:25px}.shop-scroll{padding-inline:3px}.coin-pack{grid-template-columns:27% minmax(0,1fr) 26%;gap:7px;min-height:83px}.coin-pack-art{min-height:83px}.coin-pack-buy{margin-right:6px;font-size:18px}.coin-pack h2{font-size:14px}.coin-pack-copy p strong{font-size:23px}.coin-pack-copy p span{display:block;font-size:12px}.coin-shop-wallet{margin-bottom:10px;padding:5px 12px}.coin-shop-wallet strong{font-size:21px}.shop-footer{font-size:11px}.city-shop-entry{top:83px;min-height:40px;font-size:15px}.city-hub-balance.has-coin-shop{grid-template-columns:24px minmax(0,auto) 29px;min-width:0;padding-right:6px;gap:4px}.city-hub-balance.has-coin-shop>span{width:24px}.city-hub-balance.has-coin-shop strong{font-size:18px}.city-hub-balance .coin-shop-plus{width:29px;height:29px;font-size:24px}}@media(prefers-reduced-motion:reduce){.shop-overlay{-webkit-backdrop-filter:none;backdrop-filter:none}}.shop-panel-city{width:min(100%,780px)}.city-catalog-wallet{margin:0 0 13px;padding:11px;border:1px solid #d1ac60;border-radius:12px;box-shadow:inset 0 0 0 2px #d0a14d22;background:#031e2e}.city-catalog-wallet h2{margin:0 0 9px;font:700 20px/1.1 Royal Display,Georgia,serif;text-align:center;text-transform:uppercase;color:#ffedbd;letter-spacing:.05em}.city-catalog-wallet dl{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin:0}.city-catalog-wallet dl>div{display:flex;align-items:center;gap:9px;padding:6px 12px;border:1px solid #9d7d3e99;border-radius:7px;min-width:0;background:linear-gradient(90deg,#0b3343,#031b29)}.city-catalog-wallet .shop-resource-icon{width:43px;height:43px}.city-catalog-wallet dt{font:14px/1.2 Georgia,serif;color:#e9dfc5}.city-catalog-wallet dd{margin:2px 0 0;font:700 24px/1 Royal Display,Georgia,serif;color:#f9db91;overflow-wrap:anywhere}.city-catalog-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px;margin:0 0 12px}.city-catalog-tabs button{min-height:42px;padding:6px 4px;border:1px solid #c3a05a;border-radius:8px 4px;background:#052435;color:#d0d6da;font:700 19px/1.2 Royal Display,Georgia,serif;cursor:pointer}.city-catalog-tabs button[aria-pressed=true]{border-color:#f4d380;background:linear-gradient(#267db2,#07507f);color:#fff2cb;box-shadow:inset 0 0 0 2px #163e56}.city-catalog-permissions{display:grid;gap:4px;margin:0 4px 10px;font-size:12px;line-height:1.4;color:#bdd6e1}.city-catalog-filter{display:flex;gap:10px;align-items:center;margin:0 0 12px;color:#c4dae4;font-size:13px}.city-catalog-filter select{min-width:0;flex:1;padding:8px;border:1px solid #b89957;border-radius:5px;color:#f8e7bd;background:#0c3045;font:inherit}.city-catalog-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:11px;align-items:start}.city-product{display:flex;flex-direction:column;min-width:0;padding:5px 7px 9px;border:1px solid #d1ad61;border-radius:12px 6px;background:linear-gradient(#0a3448,#031f2e);box-shadow:inset 0 0 0 2px #d5aa4a22}.city-product-art{position:relative;height:clamp(105px,calc(var(--game-height) * .18),180px);margin:-4px -6px 4px;overflow:hidden;border-radius:11px 5px 0 0;background:radial-gradient(at 50% 20%,#3b819e88,#082433)}.city-product-art .treasury-art-layer{position:absolute;top:0;right:0;bottom:0;left:0;background-repeat:no-repeat;background-size:contain}.city-product-art.is-scene .treasury-art-layer{background-size:cover!important}.city-product-preview{position:absolute;z-index:2;top:6px;right:6px;display:grid;place-items:center;width:33px;height:33px;padding:0;border:2px solid #dfb75f;border-radius:50%;background:#073451;box-shadow:0 0 0 2px #67441a;color:#ffe8b1;font:700 30px/1 Georgia,serif;cursor:pointer}.city-product-copy{text-align:center;min-width:0;padding:4px 0 6px}.city-product-copy h2{margin:0;color:#fff0bd;font:700 clamp(15px,calc(var(--game-width) * .03),23px) / 1.1 "Royal Display",Georgia,serif;overflow-wrap:anywhere}.city-product-copy p{margin:4px 0 0;color:#c1cdd7;font:12px/1.25 Georgia,serif}.city-product-price{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 5px;margin:0 0 8px;padding:5px 7px;min-height:62px;border:1px solid #bd984a99;border-radius:7px;background:#021c2b}.city-product-price>span{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;color:#ffe7ab;font:700 16px/1 Royal Display,Georgia,serif}.city-product-price .shop-resource-icon{width:24px;height:24px}.city-product-owned{display:flex;align-items:center;justify-content:center;gap:5px;min-height:62px;padding:8px 4px;margin:0 0 8px;border:1px solid #b8975099;border-radius:7px;background:#042827;color:#b8ed74;font:700 16px/1.1 Royal Display,Georgia,serif}.city-product-owned>span{flex-shrink:0;display:grid;place-items:center;width:22px;height:22px;border:1px solid #a7d15b;border-radius:50%;font-size:18px}.city-product-action{width:100%;white-space:nowrap}.city-product-action:disabled{opacity:.62}.city-product-hint{margin:7px 2px 0;font-size:11px;line-height:1.35;color:#c7d7de;text-align:center}.city-product-confirm{display:grid;gap:8px;padding:11px 5px 3px;font-size:12px;line-height:1.4;overflow-wrap:anywhere}.city-product-confirm strong{color:#fff0bd}.city-product-confirm p{margin:0;color:#c7dce5}.city-product-confirm>button:last-child{min-height:34px;padding:7px;border:1px solid #a38955;border-radius:5px;background:#153a4b;color:#ebdfc1;cursor:pointer}.shop-panel .city-shop-preview{padding:9px;margin:0 0 12px;background:#061d2b}.shop-panel .city-shop-scene{max-height:440px;margin-inline:auto}@container game (max-width: 420px){.city-catalog-wallet{padding:8px;margin-bottom:10px}.city-catalog-wallet h2{font-size:17px;margin-bottom:6px}.city-catalog-wallet dl>div{padding:5px 7px;gap:5px}.city-catalog-wallet .shop-resource-icon{width:32px;height:32px}.city-catalog-wallet dt{font-size:12px}.city-catalog-wallet dd{font-size:20px}.city-catalog-grid{gap:8px}.city-product{padding-inline:5px}.city-product-art{margin-inline:-4px;height:116px}.city-product-copy h2{font-size:16px}.city-product-price{padding:4px;gap:2px}.city-product-price>span{font-size:14px;gap:2px}.city-product-price .shop-resource-icon{width:21px;height:21px}.city-product-owned{font-size:14px}.city-product-owned>span{width:20px;height:20px}.city-product-action{font-size:15px;padding-inline:4px;min-height:39px}.city-product-confirm .shop-action{font-size:14px;padding-inline:3px;white-space:nowrap}}.city-choice-balance-shop{grid-template-columns:29px auto 34px;gap:6px}.city-choice-shop-entry{margin:0 0 13px;width:100%}.coin-pack-art{position:relative;width:100%;min-width:0;min-height:76px;aspect-ratio:auto}.coin-pack-art .shop-atlas-art{position:absolute;top:50%;left:50%;width:max(100%,114px);height:auto;aspect-ratio:1;transform:translate(-50%,-50%)}.coin-pack h2{font-size:clamp(15px,calc(var(--game-width) * .038),20px)}.coin-pack-copy p{font-size:clamp(14px,calc(var(--game-width) * .035),18px)}.coin-pack-copy p strong{font-size:clamp(26px,calc(var(--game-width) * .064),35px)}.coin-pack-buy{font-size:clamp(20px,calc(var(--game-width) * .046),28px)}.city-shop-entry{width:min(260px,calc(100% - 90px))}.city-product-art{height:auto;aspect-ratio:1.7}.city-catalog-wallet dl>div{padding:4px 9px}.city-catalog-wallet .shop-resource-icon{width:36px;height:36px}.city-catalog-wallet dt{font-size:13px}.city-catalog-wallet dd{font-size:22px}@container game (max-width: 420px){.city-shop-entry{left:calc(50% - 10px);width:calc(100% - 110px);padding-right:8px;gap:5px}.coin-pack h2{font-size:15px}.coin-pack-copy p strong{font-size:24px}.coin-pack-buy{font-size:18px}.city-product-art{height:auto;aspect-ratio:1.6}.city-catalog-wallet .shop-resource-icon{width:32px;height:32px}.city-catalog-wallet dt{font-size:12px}.city-catalog-wallet dd{font-size:20px}}.personal-shop-tabs{flex:0 0 auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 5px 12px}.personal-shop-tabs button{min-height:42px;padding:6px 10px;border:1px solid #c7a459;border-radius:7px;color:#c9d5de;background:#062536;font:700 20px/1.15 Royal Display,Georgia,serif;cursor:pointer}.personal-shop-tabs button[aria-selected=true]{color:#fff0c5;background:linear-gradient(#2a7cb5,#10476e);box-shadow:inset 0 0 0 2px #9bcce044}.personal-shop-scroll{flex:1 1 auto}.personal-shop-explainer{margin:0 0 12px;color:#c1d6df;font-size:13px;line-height:1.45}.personal-chest-list{display:grid;gap:13px}.personal-chest-card{display:grid;grid-template-columns:32% minmax(0,1fr);column-gap:13px;row-gap:9px;min-width:0;padding:12px;border:1px solid #d4b36b;border-radius:12px 6px;background:linear-gradient(140deg,#173e50,#051d2c 70%);box-shadow:inset 0 0 0 2px #e3b85a16}.personal-chest-card.is-rare{border-color:#7aafe5}.personal-chest-card.is-unusual{border-color:#bd8ce1}.personal-chest-art{position:relative;grid-row:span 2;min-height:140px;overflow:hidden;border-radius:9px;background:radial-gradient(ellipse,#e7c87a22,transparent 70%)}.personal-chest-copy{min-width:0}.personal-chest-copy h2{margin:2px 0 6px;color:#fff0bd;font:700 24px/1.1 Royal Display,Georgia,serif;overflow-wrap:anywhere}.personal-chest-copy p{margin:0 0 5px;color:#c3d4df;font-size:13px;line-height:1.4}.personal-chest-copy .personal-chest-tier{color:#e6bd67;font-size:11px;text-transform:uppercase;letter-spacing:.05em}.personal-chest-owned{color:#a9c7d8;font-size:12px}.personal-chest-buy{width:100%}.personal-chest-buy>span{display:block;font:12px/1.2 Forge Sans,Arial,sans-serif;margin-bottom:3px}.personal-chest-buy>strong{display:flex;align-items:center;justify-content:center;gap:5px;font-size:23px}.personal-chest-buy .shop-resource-icon{width:25px;height:25px}.personal-chest-buy small{font:13px/1.2 Forge Sans,Arial,sans-serif}.personal-chest-buy:disabled{opacity:.6}.personal-chest-hint{grid-column:1 / -1;margin:0;color:#dbbd88;font-size:12px;text-align:center}.personal-chest-odds{grid-column:1 / -1;min-width:0;border-top:1px solid #b08f4d55;padding-top:8px;font-size:12px;color:#bbcfdb}.personal-chest-odds summary{cursor:pointer;min-height:25px;line-height:1.5}.personal-chest-odds ul{padding:0;margin:7px 0 0;list-style:none}.personal-chest-odds li{display:flex;justify-content:space-between;gap:12px;padding:4px 0}.personal-chest-odds strong{white-space:nowrap;color:#ffdda0}.personal-chest-confirm{grid-column:1 / -1;padding:12px 0 2px;border-top:1px solid #c9aa66;color:#ffebbb;font-size:14px;line-height:1.4;outline:none}.personal-chest-confirm p{color:#bbcfdb;font-size:12px}.personal-chest-confirm>div{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px}.personal-shop-secondary,.collection-shop-link{cursor:pointer;border:1px solid #c0a462;border-radius:6px;color:#ffedc2;background:#123e56;padding:8px 12px;font:700 16px/1.25 Royal Display,Georgia,serif;min-height:40px}.chest-recovery{width:100%;margin-bottom:12px}.city-shop-entry{left:calc(50% - 26px);width:min(260px,calc(100% - 120px))}.collection-shop-link{margin:0 0 18px}.collection-empty-chests{border:1px solid #c4a75b88;border-radius:12px;background:#061d32d9;padding:28px 20px;text-align:center;max-width:620px;margin-inline:auto}.collection-empty-chests>span{color:#e6bc68;font-size:35px}.collection-empty-chests h3{margin:9px 0;font:700 26px/1.1 Royal Display,Georgia,serif;color:#fff0c5}.collection-empty-chests p{margin:0;color:#c0d2dd;font-size:14px;line-height:1.5}.collection-item-status{font:12px/1.3 Forge Sans,Arial,sans-serif;color:#e4c779;margin:6px 0;text-align:center}.treasury-chest-actions:has(>.treasury-open-button:only-child){grid-template-columns:1fr}@container game (max-width: 420px){.personal-shop-tabs{margin-bottom:9px}.personal-shop-tabs button{font-size:18px;min-height:39px}.personal-chest-card{padding:9px;column-gap:8px;grid-template-columns:29% minmax(0,1fr)}.personal-chest-copy h2{font-size:21px}.personal-chest-copy p{font-size:12px}.personal-chest-art{min-height:125px}.personal-chest-buy>strong{font-size:21px}.personal-chest-confirm .shop-action{font-size:15px;padding-inline:5px}}@container game (max-width: 420px){.profile-tabs button{font-size:15px;gap:3px;padding-inline:3px}.profile-tabs button>span{display:none}}.account-screen{position:absolute;top:0;right:0;bottom:0;left:0;overflow:auto;display:grid;place-items:center;padding:clamp(12px,3cqw,40px);background:radial-gradient(ellipse at top,#274d60,#071924 80%);color:#fff0c7}.account-welcome{width:min(100%,620px);margin:auto;padding:clamp(18px,4cqw,40px);border:2px solid #c69a4a;border-radius:18px;background:linear-gradient(145deg,#123d51,#071d2c);box-shadow:0 12px 50px #0008}.account-welcome h1{font-size:clamp(25px,3cqw,34px);line-height:1.15;margin:12px 0}.account-welcome p{line-height:1.5}.account-crest{color:#f3c667;font-size:32px;text-align:center}.account-eyebrow{color:#e8ba64;font-size:12px;letter-spacing:.14em;text-align:center}.account-welcome button{min-height:44px;border-radius:9px;border:1px solid #bd9449;background:#123a4d;color:#fff0c7;padding:10px 16px;font:inherit;cursor:pointer}.account-welcome .account-vk{width:100%;background:#07f;border-color:#69adff;color:#fff;font-weight:700}.account-soon{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}.account-soon button{flex:1 1 100px;font-size:13px}.account-welcome button:disabled{opacity:.5;cursor:default}.account-welcome label{display:grid;gap:7px;margin:12px 0;font-size:14px}.account-welcome input{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #8da8b5;border-radius:6px;background:#061a27;color:#fff;font:16px monospace}.account-welcome .account-guest{width:100%}.account-hint{font-size:12px;color:#c3d0d8}.account-error{color:#ffd0bb;padding:12px;border:1px solid #b46a47;border-radius:8px}.account-game{display:contents}.shop-panel:has(.account-dialog-body){width:min(100%,390px);padding:24px;border:1px solid #3b4b58;border-radius:20px;background:#101f2c;color:#f4f0e6;box-shadow:0 20px 50px #0005;font-family:Arial,sans-serif}.shop-panel:has(.account-dialog-body):before,.shop-panel:has(.account-dialog-body):after{content:none}.shop-panel:has(.account-dialog-body) .shop-header{display:flex;align-items:start;justify-content:space-between;gap:8px;padding:0 0 25px;text-align:left}.shop-panel:has(.account-dialog-body) .shop-header h1{color:#f4f0e6;font:500 22px/1.25 Arial,sans-serif;letter-spacing:-.4px;text-shadow:none}.shop-panel:has(.account-dialog-body) .shop-header p{margin:7px 0 0;color:#afbfcb;font:400 12px/1.5 Arial,sans-serif}.shop-panel:has(.account-dialog-body) .shop-close{position:relative;top:auto;right:auto;flex:0 0 32px;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff08;color:#afbfcb;box-shadow:none;font:400 24px/1 Arial,sans-serif}.shop-panel:has(.account-dialog-body) .shop-close:after{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;content:""}.account-dialog-body{min-width:0;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;padding:3px 1px;font:400 13px/1.5 Arial,sans-serif}.account-dialog-body button{cursor:pointer;font-family:inherit}.account-dialog-body button:disabled{opacity:.6;cursor:default}.account-provider{display:flex;align-items:center;gap:11px;margin-bottom:26px}.account-provider-icon{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:#1479e8;color:#fff;font-size:17px;font-weight:700}.account-provider-icon.is-yandex{background:#d73120}.account-provider-icon.is-ok{background:#c45500}.account-provider-icon.is-guest{background:#2b4151}.account-provider small{display:block;color:#afbfcb;font-size:11px}.account-provider strong{display:block;margin-top:5px;font-size:15px;font-weight:500}.account-player-details dl{margin:0}.account-identifier{margin-bottom:17px}.account-identifier dt{margin-bottom:7px;color:#d8e0e6;font-size:12px}.account-identifier dd{display:grid;grid-template-columns:minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:50px;margin:0;padding:3px 3px 3px 12px;border:1px solid #2d414f;border-radius:10px;background:#0a1723}.account-identifier code{min-width:0;color:#e8edf0;font:400 12px/1.6 ui-monospace,SFMono-Regular,Consolas,monospace;overflow-wrap:anywhere;-webkit-user-select:text;user-select:text}.account-copy{display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;background:transparent;color:#afbfcb}.account-copy:hover:not(:disabled){background:#ffffff0d;color:#dfbf7e}.account-copy svg{width:17px;height:17px}.account-copy-all{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:46px;margin-top:23px;padding:11px 9px;border:0;border-radius:10px;background:#dfbf7e;color:#14232f;font-size:13px;font-weight:500}.account-copy-all svg{flex:0 0 16px;width:16px;height:16px}.account-copy-status{min-height:16px;margin:11px 0 0;color:#dfbf7e;font-size:11px;text-align:center}.account-provider-login{display:grid;grid-template-columns:28px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:52px;padding:12px 14px;border:0;border-radius:10px;background:#1479e8;color:#fff;text-align:left}.account-provider-login>span{font-size:17px;font-weight:700}.account-provider-login>strong{font-size:14px;font-weight:500}.account-profile-note,.account-login-unavailable{margin:18px 0 24px;color:#afbfcb;font-size:12px;line-height:1.6}.account-stay-guest{width:100%;min-height:44px;padding:11px 10px;border:1px solid #33434f;border-radius:10px;background:transparent;color:#e6e9ec;font-size:13px}.account-stay-guest:hover:not(:disabled){background:#ffffff08}@container game (max-width: 360px){.shop-panel:has(.account-dialog-body){padding:18px}}@container game (max-height:500px) and (min-width:650px){.account-welcome{width:min(100%,900px);padding:18px 28px}.account-crest{display:none}.account-welcome h1{font-size:28px}}.coin-icon{position:relative;display:inline-block;width:1em;aspect-ratio:1;flex:0 0 auto;vertical-align:middle}:root .coin-icon{background:none;border:0;border-radius:0;box-shadow:none;clip-path:none}.coin-icon>img{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%;max-width:none;object-fit:contain;transform:scale(1.43);pointer-events:none}.ranking-panel.shop-panel{position:relative;display:flex;flex-direction:column;gap:0;width:min(880px,calc(var(--game-width) - 40px));height:min(810px,calc(var(--game-height) - 40px));max-height:calc(var(--game-height) - 40px);padding:18px 20px 15px;border:3px solid #dfb659;border-radius:22px;background:radial-gradient(ellipse at 50% 0,#2b6574a8,transparent 65%),url(/assets/royalforge/shops/panel-texture-v1.webp) center / cover,#082a40;box-shadow:0 0 0 2px #6b3e16,inset 0 0 0 2px #ffe7a482,inset 0 0 28px #000c,0 14px 60px #000b;color:#fff0cb;font-family:Forge Sans,sans-serif}.ranking-panel:before,.ranking-panel:after{content:"";position:absolute;width:48px;height:48px;background:url(/assets/royalforge/city-hub/panel-corner-v1.png) center / contain no-repeat;pointer-events:none;z-index:2;border:0;transform:none}.ranking-panel:before{top:-4px;left:-4px}.ranking-panel:after{bottom:-4px;left:auto;right:-4px;transform:rotate(180deg)}.ranking-panel .shop-header{position:relative;z-index:1;flex-shrink:0;align-items:flex-start;padding:0 0 12px;margin:0;border:0}.ranking-panel .shop-header h1{padding-right:34px;color:#ffe3a1;font:700 34px/1.1 Royal Display,Georgia,serif;text-shadow:0 2px 2px #000c}.ranking-panel .shop-header p{color:#e4cfa2;font-size:13px;margin:4px 0 0}.ranking-panel .shop-close{width:36px;height:36px;min-height:36px;flex:0 0 auto}.ranking-crest{position:absolute;top:-20px;right:70px;width:74px;height:74px;pointer-events:none}.ranking-crest .city-action-icon{width:100%;height:100%}.ranking-tabs,.ranking-periods,.ranking-resources{display:flex;flex-shrink:0;gap:7px;margin-bottom:10px}.ranking-panel button{cursor:pointer;font-family:inherit}.ranking-panel button:focus-visible{outline:3px solid #fff0a2;outline-offset:2px}.ranking-tabs button,.ranking-periods button,.ranking-resources button,.ranking-pagination button,.ranking-near{min-height:40px;min-width:0;padding:7px 12px;border:1px solid #9b803e;border-radius:9px;background:linear-gradient(#174d6c,#06263b);box-shadow:inset 0 0 0 1px #ffffff16,0 2px 3px #0006;color:#ecd7ac;font-size:14px;font-weight:700}.ranking-tabs button{flex:1;font:700 23px/1 Royal Display,Georgia,serif}.ranking-periods button,.ranking-resources button{flex:1}.ranking-tabs .is-active,.ranking-panel button[aria-pressed=true]{color:#fff5d8;border-color:#f0cc73;background:radial-gradient(ellipse at top,#eebf5b3b,transparent),linear-gradient(#3f655b,#153a45);box-shadow:inset 0 0 0 1px #f4d58f66,0 0 8px #edb64325}.ranking-resources button{display:flex;align-items:center;justify-content:center;gap:5px}.ranking-resources img,.ranking-resources .coin-icon{width:29px;height:29px;object-fit:contain}.ranking-rule{display:flex;align-items:center;justify-content:center;gap:9px;padding:1px 0 9px;font-size:14px;color:#f6dfac;text-align:center;flex-shrink:0}.ranking-rule button{border:1px solid #c29a52;border-radius:50%;background:#08273e;color:#f5dda1;width:26px;height:26px;flex:0 0 auto;font-weight:700}.ranking-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ba944d #092539;padding:0 3px 10px}.ranking-rules{border:1px solid #ab874e66;border-radius:10px;background:#00152699;padding:8px 12px;font-size:13px;line-height:1.5;margin-bottom:8px}.ranking-rules p{margin:4px 0 8px}.ranking-countdown,.ranking-column-head{display:flex;justify-content:space-between;gap:8px;font-size:12px;color:#b9ced2}.ranking-countdown{padding:0 4px 10px}.ranking-column-head{padding:9px 12px 6px;color:#d9c79c;border-top:1px solid #d6b36355}.ranking-podium{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding:10px 16px 15px;align-items:end}.ranking-winner{display:flex;flex-direction:column;align-items:center;position:relative;padding:10px 5px 8px;border:1px solid #ab8e5255;border-radius:40px 40px 9px 9px;background:linear-gradient(#1c455c33,#a085392b);color:#ffe4a5;min-width:0;gap:4px}.ranking-winner .ranking-avatar{width:68px;height:68px;border:2px solid #b9bfc5;background:#0b283c;box-shadow:0 2px 5px #0009}.ranking-winner.place-1{padding-top:14px;background:radial-gradient(ellipse at top,#fcd56a44,transparent 70%),linear-gradient(#15354e33,#a085393b);border-color:#e2bc67}.ranking-winner.place-1 .ranking-avatar{width:85px;height:85px;border-color:#f3d074}.ranking-winner.place-3 .ranking-avatar{border-color:#c38b5e}.ranking-winner>strong{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:14px}.ranking-medal{display:grid;place-items:center;width:27px;height:27px;border:2px solid #e2c581;background:linear-gradient(#a1b1bf,#526c7e);border-radius:50%;color:#fff;margin-top:-17px;z-index:1;font:700 19px/1 Royal Display,Georgia,serif;text-shadow:0 1px 2px #000}.place-1 .ranking-medal{background:linear-gradient(#f4d883,#9c6317)}.place-3 .ranking-medal{background:linear-gradient(#cc9363,#80513b)}.ranking-row{display:grid;grid-template-columns:36px 43px minmax(0,1fr) minmax(48px,auto);gap:10px;align-items:center;width:100%;padding:8px 10px;margin-bottom:6px;border:1px solid #75909c44;border-radius:9px;background:linear-gradient(100deg,#153e55d9,#072538c9);color:#f7e8cd;text-align:left}.ranking-row.is-viewer{border-color:#e7ba61;background:linear-gradient(100deg,#6c653a80,#173c4af0)}.ranking-place{color:#d5ba7a;font:700 23px/1 Royal Display,Georgia,serif;text-align:center}.ranking-avatar{display:block;overflow:hidden;width:43px;height:43px;border-radius:50%;border:1px solid #b4a16c;background:#08273e}.ranking-avatar img{position:static;display:block;width:100%;height:100%;object-fit:cover}.ranking-city-crest{display:block;width:100%;height:100%;background:url(/assets/royalforge/city-hub/dashboard-icons-v2.webp) 0 0 / 300% 100% no-repeat}.ranking-name{min-width:0}.ranking-name strong{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ranking-name small{display:block;color:#c3cab5;font-size:11px;padding-top:2px}.ranking-score{font-size:18px;color:#ffdf8e;text-align:right}.ranking-message{text-align:center;padding:25px 10px;font-size:14px;line-height:1.6}.ranking-message button{color:#ffe2a1;background:#164760;border:1px solid #b89b62;border-radius:5px;padding:5px 10px}.ranking-pagination{display:flex;gap:8px;justify-content:center;padding:8px}.ranking-own{flex-shrink:0;border-top:1px solid #ddbc6c80;padding-top:10px}.ranking-own .ranking-row{margin:0}.ranking-own p{margin:6px 0;text-align:center;font-size:12px;color:#edd9a9}.ranking-near{display:block;width:min(300px,100%);margin:7px auto 0;border-color:#d3ab59}.ranking-near:disabled{opacity:.55;cursor:default}.forge-hud{--forge-plus-size: clamp(34px, calc(var(--game-width) * .08), 44px);position:absolute;z-index:18;top:max(env(safe-area-inset-top),clamp(18px,calc(var(--game-height) * .034),48px));left:max(env(safe-area-inset-left),12px,calc(var(--game-width) * .026));right:max(env(safe-area-inset-right),12px,calc(var(--game-width) * .026));display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:12px;pointer-events:none}.forge-hud .coin-balance{position:static;grid-column:2;top:auto;left:auto;min-width:0;min-height:calc(var(--forge-plus-size) + 12px);height:clamp(44px,calc(var(--game-height) * .052),64px);gap:8px;padding:4px 8px;pointer-events:auto}.forge-hud .balance-coin{width:clamp(26px,calc(var(--game-width) * .06),38px)}.forge-hud .balance-value{min-width:0;font-size:clamp(20px,calc(var(--game-width) * .045),30px)}.forge-hud .coin-shop-plus{width:var(--forge-plus-size);height:var(--forge-plus-size)}.forge-ranking-entry{display:flex;flex-direction:column;align-items:center;justify-self:start;width:clamp(96px,calc(var(--game-width) * .255),130px);min-height:100px;border:0;background:transparent;color:#ffe6a2;padding:0 0 6px;text-shadow:0 2px 3px #000;font:700 clamp(17px,calc(var(--game-width) * .045),23px) / 1 "Royal Display",Georgia,serif;cursor:pointer;pointer-events:auto}.forge-ranking-entry .city-action-icon{width:clamp(64px,calc(var(--game-width) * .19),83px);height:clamp(58px,calc(var(--game-width) * .173),76px);transform-origin:50% 80%;animation:forge-ranking-nudge 3s ease-in-out infinite}.forge-ranking-entry:focus-visible{outline:2px solid #ffe09a;border-radius:10px}@keyframes forge-ranking-nudge{0%,80%,to{transform:rotate(0)}84%{transform:rotate(-3deg)}88%{transform:rotate(3deg)}92%{transform:rotate(-2deg)}96%{transform:rotate(2deg)}}@media(prefers-reduced-motion:reduce){.forge-ranking-entry .city-action-icon{animation:none}}@container game (orientation: portrait){.ranking-panel.shop-panel{padding:14px 12px 12px;border-radius:18px}.ranking-panel .shop-header h1{font-size:clamp(25px,calc(var(--game-width) * .074),33px)}.ranking-crest{display:none}.ranking-periods button{padding-inline:3px;font-size:12px}.ranking-tabs button{font-size:22px;padding-inline:5px}.ranking-resources button{flex-direction:column;padding:4px 2px;gap:0;font-size:11px}.ranking-rule{font-size:12px}.ranking-row{grid-template-columns:25px 36px minmax(0,1fr) minmax(35px,auto);gap:7px;padding:6px}.ranking-row .ranking-avatar{width:36px;height:36px}.ranking-name strong{font-size:13px}.ranking-score{font-size:16px}.ranking-podium{padding:7px 0 12px;gap:6px}.ranking-winner .ranking-avatar{width:53px;height:53px}.ranking-winner.place-1 .ranking-avatar{width:68px;height:68px}.ranking-winner>strong{font-size:12px}}@container game (max-height: 580px){.ranking-panel.shop-panel{padding:10px 12px;height:calc(var(--game-height) - 40px);max-height:calc(var(--game-height) - 40px)}.ranking-panel .shop-header{padding-bottom:7px}.ranking-panel .shop-header h1{font-size:26px}.ranking-tabs,.ranking-periods,.ranking-resources{margin-bottom:6px}.ranking-tabs button,.ranking-periods button{min-height:34px;padding-block:5px}.ranking-own{padding-top:6px}.ranking-near{min-height:35px;margin-top:5px;padding-block:5px}.ranking-own p{margin:4px 0}}@media(prefers-reduced-motion:reduce){.ranking-panel *{scroll-behavior:auto}}.ranking-controls{flex-shrink:0}@container game (orientation: landscape) and (min-width: 760px) and (max-height: 580px){.ranking-controls{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:6px 12px;margin-bottom:6px}.ranking-controls .ranking-tabs,.ranking-controls .ranking-periods{margin:0}.ranking-controls .ranking-tabs button{font-size:20px}.ranking-controls .ranking-periods button{font-size:12px}.ranking-controls .ranking-resources{grid-column:1 / -1;margin:0}.ranking-controls .ranking-resources button{min-height:34px;padding:2px 7px}.ranking-controls .ranking-resources img,.ranking-controls .ranking-resources .coin-icon{width:24px;height:24px}.ranking-own .ranking-row{grid-template-columns:30px 32px minmax(0,1fr) minmax(48px,auto);padding-block:4px}.ranking-own .ranking-avatar{width:32px;height:32px}}.ranking-list .is-podium-entry{display:none}@container game (max-height: 580px){.ranking-podium{display:none}.ranking-list .is-podium-entry{display:grid}.ranking-list .is-podium-entry .ranking-place{color:#ffe9a5;text-shadow:0 0 5px #efc96255}}@container game (orientation: landscape) and (min-width: 760px) and (max-height: 580px){.ranking-panel.shop-panel{display:grid;grid-template-columns:minmax(0,1fr) 240px;grid-template-rows:auto auto auto minmax(0,1fr);column-gap:12px}.ranking-panel .shop-header{grid-column:1 / -1;grid-row:1}.ranking-controls{grid-column:1 / -1;grid-row:2}.ranking-rule{grid-column:1 / -1;grid-row:3}.ranking-scroll{grid-column:1;grid-row:4}.ranking-own{grid-column:2;grid-row:4;display:flex;flex-direction:column;justify-content:center;border-top:0;border-left:1px solid #ddbc6c80;padding:5px 0 5px 12px;min-width:0}.ranking-own .ranking-row{gap:5px;grid-template-columns:23px 32px minmax(0,1fr) auto;padding-inline:4px}.ranking-own .ranking-name strong{font-size:12px}.ranking-own .ranking-score{font-size:15px}}@font-face{font-family:Shop Display;src:url(/assets/royalforge/fonts/cormorant-garamond-cyrillic-700.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}.shop-panel.personal-store,.shop-panel.personal-store-detail{--personal-title: "Shop Display", Georgia, serif;width:min(100%,480px);max-height:calc(var(--game-height) - 40px);padding:20px 18px 16px;border:1px solid #ffe0a1;border-radius:14px;background:radial-gradient(ellipse at 50% 8%,#17374438,transparent 65%),linear-gradient(#02141fb8,#02131ed0),url(/assets/royalforge/shops/panel-texture-v1.webp) center / 420px auto;box-shadow:0 0 0 2px #61401a,0 0 0 3px #e2b866,inset 0 0 0 2px #142c34,inset 0 0 0 3px #b78c4380,0 18px 55px #000b}.personal-store.shop-panel:before,.personal-store.shop-panel:after,.personal-store-detail.shop-panel:before,.personal-store-detail.shop-panel:after{display:none}.personal-store-corners{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.personal-store-corner{position:absolute;z-index:3;width:53px;aspect-ratio:1;background:url(/assets/royalforge/leagues/league-ornaments-v1.webp) 50% 100% / 300% 200% no-repeat}.personal-store-corner.is-tl{top:-6px;left:-6px}.personal-store-corner.is-tr{top:-6px;right:-6px;transform:rotate(90deg)}.personal-store-corner.is-bl{bottom:-6px;left:-6px;transform:rotate(-90deg)}.personal-store-corner.is-br{bottom:-6px;right:-6px;transform:rotate(180deg)}.personal-store .shop-header{padding:2px 35px 0 0}.personal-store .shop-header h1{color:#ffebbd;font:700 clamp(27px,7.4cqw,37px) / 1.05 var(--personal-title);white-space:nowrap;overflow-wrap:normal}.personal-store .shop-close,.personal-store-detail .shop-close{top:0;right:1px;width:33px;height:33px;font-size:27px;border-width:1px;box-shadow:inset 0 0 0 2px #53708388,0 0 0 2px #7a501e}.personal-store .personal-shop-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0 17px}.personal-store .personal-shop-tabs button{min-height:39px;padding:4px 9px;font:700 24px/1.1 var(--personal-title);border-color:#d8b365;border-radius:7px}.personal-store .personal-shop-tabs button[aria-selected=true]{background:linear-gradient(#287eae,#104776);box-shadow:inset 0 0 0 2px #83b6d28c}.personal-store .personal-shop-scroll{padding:1px 1px 4px;margin:0 -1px;scrollbar-gutter:stable}.personal-store .personal-shop-scroll:focus-visible{outline:1px solid #ffe5aa;outline-offset:-2px}.personal-store .personal-chest-list{gap:12px}.personal-store .personal-chest-card{position:relative;display:grid;grid-template-columns:28% minmax(0,1fr);align-items:center;gap:9px 10px;min-height:146px;padding:13px 9px;border:1px solid #d4b365;border-radius:12px;background:linear-gradient(135deg,#193440,#031924 80%);box-shadow:none}.personal-store .personal-chest-art{grid-column:1;grid-row:1 / 3;min-height:115px;align-self:stretch;border-radius:0;background:none}.personal-store .personal-chest-art .treasury-art-layer{inset:0 auto 0 50%;height:100%;width:auto;max-width:100%;aspect-ratio:1;transform:translate(-50%)}.personal-store .personal-chest-copy{grid-column:2;padding-right:14px}.personal-store .personal-chest-copy h2{margin:0 0 3px;color:#fff0c5;font:700 23px/1.02 var(--personal-title);overflow-wrap:normal}.personal-store .personal-chest-copy p{font-size:12px;line-height:1.3;margin:0 0 5px;color:#d0d9dc}.personal-store .personal-chest-owned{font-size:12px;color:#d0d9dc}.personal-store .personal-chest-owned strong{font-weight:600}.personal-store-info{position:absolute;top:10px;right:8px;display:grid;place-items:center;width:23px;height:23px;padding:0;border:1px solid #edc775;border-radius:50%;color:#ffe5aa;background:linear-gradient(#235575,#062839);box-shadow:inset 0 0 0 2px #a4c2d13b;font:700 19px/1 Georgia,serif;cursor:pointer}.personal-chest-actions{grid-column:2;display:grid;grid-template-columns:minmax(0,1.3fr) minmax(70px,1fr);align-items:stretch;gap:10px;min-width:0}.personal-store-quantity{display:flex;min-width:0;border:1px solid #a0b3bc;border-radius:7px;background:#051b28}.personal-store-quantity button{flex:1 1 0;min-width:0;min-height:35px;padding:4px 2px;border:1px solid transparent;border-radius:6px;background:none;color:#f0e9d7;font:13px/1.1 Forge Sans,Arial,sans-serif;white-space:nowrap;cursor:pointer}.personal-store-quantity button[aria-pressed=true]{background:linear-gradient(#276e9b,#103b60);border-color:#f0cb77;box-shadow:inset 0 0 0 1px #89c4e47a}.personal-store .personal-chest-buy{display:flex;justify-content:center;align-items:center;gap:5px;min-height:37px;padding:3px 6px;border:1px solid #f4ce7a;border-radius:7px;box-shadow:inset 0 0 0 2px #83b6d260;background:linear-gradient(#247eb2,#0b395e)}.personal-store .personal-chest-buy>strong{display:inline;font:700 25px/1 var(--personal-title);white-space:nowrap}.personal-store .personal-chest-buy .shop-resource-icon{width:23px;height:23px}.personal-store .personal-chest-hint{margin:0;font-size:11px}.personal-store .shop-footer{margin-top:13px;padding:0;border:0;color:#d1d9dc;font:13px/1.35 Forge Sans,Arial,sans-serif}.personal-store-help{display:flex;align-items:center;gap:9px;margin:0;font-size:11px;white-space:nowrap}.personal-store-help:before,.personal-store-help:after{content:"";height:1px;flex:1;background:#81909c88}.personal-store-bundle-notice{margin:9px 0 0;font-size:11px;color:#b7c8cf}.personal-store-bundle-notice button{padding:3px;border:0;background:none;color:#ffe0a0;text-decoration:underline;cursor:pointer}.personal-store .coin-pack-list{gap:10px}.personal-store .coin-pack{display:grid;grid-template-columns:28% minmax(0,1fr) 24%;align-items:center;gap:8px;min-height:88px;border:1px solid #d3b16a;border-radius:11px;background:#051e2c;overflow:hidden}.personal-store .coin-pack-art{width:100%;min-height:88px;height:100%;border-radius:0}.personal-store .coin-pack-art .shop-atlas-art{opacity:1}.personal-store .coin-pack-copy{min-width:0;padding:5px 0}.personal-store .coin-pack h2{margin:0 0 4px;font:700 25px/1 var(--personal-title)}.personal-store .coin-pack-copy p{margin:0;color:#d4dce0;font:13px/1.2 Forge Sans,Arial,sans-serif}.personal-store .coin-pack-buy{min-height:38px;margin:0 9px 0 0;padding:4px;border:1px solid #dfbf7f;border-radius:7px;font:700 24px/1 var(--personal-title);white-space:nowrap}.personal-store .coin-pack-buy.is-vk-price{white-space:normal}.personal-store .coin-pack-buy small{display:block;margin-top:3px;font:600 10px/1.1 Forge Sans,Arial,sans-serif}.personal-store .coin-pack-buy:disabled{opacity:1;color:#eee5cf;background:linear-gradient(#476379,#263e51);box-shadow:inset 0 0 0 2px #91a8b64d;cursor:not-allowed}.personal-store button:focus-visible,.personal-store-detail button:focus-visible{outline:2px solid #fff1bb;outline-offset:3px}.personal-store-detail .shop-header{padding:0 35px 16px 0}.personal-store-detail .shop-header h1{font:700 30px/1.05 var(--personal-title)}.personal-store-detail .shop-scroll{color:#d2dce1;font-size:14px;line-height:1.5}.personal-store-detail h2{color:#ffe8b1;font:700 26px/1.1 var(--personal-title)}@container game (max-width: 370px){.shop-panel.personal-store{padding:18px 11px 13px}.personal-store .shop-header h1{font-size:26px}.personal-store .shop-header{padding-right:28px}.personal-store .shop-close{width:28px;height:28px;font-size:24px}.personal-store .personal-shop-tabs{margin-bottom:12px}.personal-store .personal-chest-card{grid-template-columns:24% minmax(0,1fr);gap:8px;min-height:139px;padding:12px 7px}.personal-store .personal-chest-copy h2{font-size:21px}.personal-store .personal-chest-art{min-height:100px}.personal-chest-actions{gap:5px;grid-template-columns:minmax(0,1.2fr) minmax(65px,1fr)}.personal-store-quantity button{font-size:11px}.personal-store .personal-chest-buy{gap:3px;padding-inline:3px}.personal-store .personal-chest-buy>strong{font-size:23px}.personal-store .personal-chest-buy .shop-resource-icon{width:19px;height:19px}.personal-store .coin-pack{gap:5px;min-height:78px}.personal-store .coin-pack-art{min-height:78px}.personal-store .coin-pack h2{font-size:22px}.personal-store .coin-pack-copy p{font-size:12px}.personal-store .coin-pack-buy{font-size:21px;margin-right:6px}}@container game (min-width: 760px) and (min-aspect-ratio: 1 / 1){.shop-panel.personal-store{width:min(1120px,calc(var(--game-width) - 64px));padding:25px 26px 23px}.personal-store .shop-header{padding:0 45px}.personal-store .shop-header h1{font-size:clamp(38px,4.1cqw,52px)}.personal-store .shop-close{width:39px;height:39px;font-size:31px}.personal-store-corner{width:64px}.personal-store .personal-shop-tabs{width:55%;max-width:550px;align-self:center;gap:14px;margin-block:28px 22px}.personal-store .personal-shop-tabs button{font-size:29px;min-height:43px}.personal-store .personal-chest-list{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.personal-store .personal-chest-card{display:flex;flex-direction:column;padding:14px 15px 15px;gap:10px;text-align:center}.personal-store .personal-chest-art{width:100%;height:clamp(110px,18cqh,150px);min-height:110px;flex-shrink:0}.personal-store .personal-chest-copy{padding:0;flex:1}.personal-store .personal-chest-copy h2{font-size:clamp(25px,2.8cqw,32px);margin-bottom:9px}.personal-store .personal-chest-copy p{font-size:14px;margin-bottom:9px}.personal-store .personal-chest-owned{font-size:14px}.personal-chest-actions{display:flex;flex-direction:column;gap:15px;width:100%}.personal-store-quantity{width:90%;align-self:center}.personal-store-quantity button{min-height:37px;font-size:15px}.personal-store .personal-chest-buy{min-height:43px}.personal-store .personal-chest-buy>strong{font-size:29px}.personal-store .shop-footer{margin-top:18px}.personal-store-help{font-size:13px;gap:18px}.personal-store .coin-pack-list{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:15px}.personal-store .coin-pack{grid-column:span 2;display:flex;flex-direction:column;gap:0;padding:0 12px 12px;text-align:center}.personal-store .coin-pack-art{width:100%;height:clamp(95px,18cqh,150px);min-height:95px;flex-shrink:0}.personal-store .coin-pack-art .shop-atlas-art{width:auto;max-width:100%;height:100%;aspect-ratio:1}.personal-store .coin-pack-copy{padding:7px 0 12px}.personal-store .coin-pack h2{font-size:31px}.personal-store .coin-pack-copy p{font-size:14px}.personal-store .coin-pack-buy{width:90%;margin:auto 0 0;min-height:37px;font-size:27px}.personal-store .coin-pack:nth-child(n+4){grid-column:span 3;display:grid;grid-template-columns:43% minmax(0,1fr);grid-template-rows:1fr auto;gap:0 8px;padding:9px 15px 12px 5px;text-align:left}.personal-store .coin-pack:nth-child(n+4) .coin-pack-art{grid-row:1 / 3;height:100%;min-height:112px}.personal-store .coin-pack:nth-child(n+4) .coin-pack-buy{width:100%;margin:0}}@container game (min-width: 760px) and (max-height: 580px){.shop-panel.personal-store{padding-block:15px;max-height:calc(var(--game-height) - 32px)}.personal-store .shop-header h1{font-size:33px}.personal-store .personal-shop-tabs{margin-block:12px;width:50%}.personal-store .personal-shop-tabs button{font-size:23px;min-height:33px}.personal-store .personal-chest-card{padding:12px;gap:6px}.personal-store .personal-chest-art{min-height:70px;height:70px}.personal-store .personal-chest-copy h2{font-size:24px;margin-bottom:4px}.personal-store .personal-chest-copy p{font-size:12px;margin-bottom:4px}.personal-store .personal-chest-owned{font-size:12px}.personal-chest-actions{flex-direction:row;gap:8px}.personal-store-quantity{width:60%}.personal-store-quantity button{font-size:12px;min-height:32px}.personal-store .personal-chest-buy{width:40%;min-height:34px}.personal-store .personal-chest-buy>strong{font-size:23px}.personal-store .coin-pack-art{height:70px;min-height:70px}.personal-store .coin-pack-copy{padding-block:5px}.personal-store .coin-pack h2{font-size:26px}.personal-store .coin-pack:nth-child(n+4) .coin-pack-art{min-height:90px}.personal-store .shop-footer{margin-top:10px}}.personal-store .personal-chest-buy:disabled{opacity:1;color:#eee5cf;background:linear-gradient(#476379,#263e51);box-shadow:inset 0 0 0 2px #91a8b64d;cursor:not-allowed}.personal-store-payment-status{display:block;margin-top:7px;color:#b7c8cf;font-size:12px}.personal-store .personal-chest-buy.is-vk-price{flex-direction:column;gap:1px}.personal-store .personal-chest-buy small{font:600 10px/1.1 Forge Sans,Arial,sans-serif;white-space:nowrap}.personal-store .personal-chest-buy .payment-pending{white-space:normal}.personal-store .personal-chest-card{grid-template-columns:29% minmax(0,1fr);grid-template-rows:auto auto auto;gap:7px 12px;min-height:158px;padding:14px 12px;border-color:#ceab68}.personal-store .personal-chest-card.is-rare{border-color:#69b3e4;box-shadow:inset 0 0 0 1px #317aa544}.personal-store .personal-chest-card.is-unusual{border-color:#c28ae2;box-shadow:inset 0 0 0 1px #855aab44}.personal-store .personal-chest-art{--chest-art-size: 100px;grid-column:1;grid-row:1 / 3;min-height:90px;height:100%;align-self:stretch}.personal-store .personal-chest-art .treasury-art-layer{top:50%;bottom:auto;width:min(100%,var(--chest-art-size));height:auto;aspect-ratio:1;transform:translate(-50%,-50%)}.personal-store .personal-chest-copy{grid-column:2;grid-row:1;padding:0}.personal-store .personal-chest-copy h2{font-size:24px}.personal-store .personal-chest-copy p{margin:0;font-size:12px;line-height:1.3}.personal-store .personal-chest-actions{grid-column:1 / -1;grid-row:3;gap:8px}.chest-gallery-art .treasury-art-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:block;background-repeat:no-repeat}.chest-reward-resources,.chest-reward-bundle{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:center;justify-content:center;gap:2px}.chest-reward-resources .shop-resource-icon{flex:0 1 46px;width:46px;min-width:0;height:auto;aspect-ratio:1}.chest-reward-bundle-piece{position:relative;height:100%;flex:1;min-width:0}.chest-reward-chest{position:absolute;top:50%;left:50%;width:min(100%,var(--reward-art-size, 46px));aspect-ratio:1;transform:translate(-50%,-50%)}.personal-chest-contents-link{grid-column:2;grid-row:2;justify-self:start;text-align:left;min-height:32px;padding:2px 0;border:0;color:#f0d38b;background:transparent;font:700 15px/1.1 var(--personal-title);text-decoration:underline;text-underline-offset:3px;cursor:pointer}.personal-chest-contents-link:hover{color:#fff0bd}.personal-store-help{white-space:normal;text-align:center}.shop-panel.personal-store-detail{width:min(760px,calc(var(--game-width) - 36px))}.personal-store-detail .shop-header h1{text-align:center}.chest-gallery-hero{position:relative;width:90px;aspect-ratio:1;margin:0 auto 8px}.chest-gallery-hero .treasury-art-layer{position:absolute;top:0;right:0;bottom:0;left:0;background-repeat:no-repeat}.personal-store-detail .chest-gallery-heading{display:flex;align-items:center;gap:12px;margin:0 0 14px;text-align:center;font-size:25px}.chest-gallery-heading:before,.chest-gallery-heading:after{content:"";flex:1;height:1px;background:#b39a5b66}.chest-gallery-filters{position:sticky;top:0;z-index:1;display:flex;margin-bottom:13px;border:1px solid #c4a66c;border-radius:6px;background:#082432;box-shadow:0 0 0 5px #061c29}.chest-gallery-filters button{flex:1;min-width:0;min-height:36px;padding:5px;border:1px solid transparent;border-radius:5px;background:transparent;color:#e7dbbc;font:700 20px/1.1 var(--personal-title);cursor:pointer}.chest-gallery-filters button[aria-selected=true]{border-color:#ebca79;background:linear-gradient(#287eae,#104776);color:#fff0cc;box-shadow:inset 0 0 0 1px #85b4cc77}.chest-gallery-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.chest-gallery-tile{display:flex;flex-direction:column;align-items:center;min-width:0;margin:0;padding:9px 6px;border:1px solid #c3a866;border-radius:10px;background:linear-gradient(135deg,#122d3a,#041c29);box-shadow:inset 0 0 0 1px #cbb77d20}.chest-gallery-tile.is-rare{border-color:#54a7df;box-shadow:inset 0 0 0 1px #4a9dd842}.chest-gallery-tile.is-unusual{border-color:#bd88dc;box-shadow:inset 0 0 0 1px #a36ed142}.chest-gallery-art{--reward-art-size: 105px;position:relative;width:100%;height:105px;margin-bottom:5px}.chest-gallery-art .chest-reward-resources .shop-resource-icon{flex-basis:65px;width:65px}.chest-gallery-tile figcaption{margin-top:auto;max-width:100%;color:#ffedc7;font:700 18px/1.05 var(--personal-title);text-align:center;overflow-wrap:anywhere}.chest-gallery-more{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;margin:5px 0;padding:5px;border:0;background:none;color:#eed18d;font:600 12px/1.2 Forge Sans,Arial,sans-serif;cursor:pointer}.chest-gallery-notes{margin:12px 0 0;padding-top:12px;border-top:1px solid #b59f6655;color:#cbd7dd;text-align:center;font-size:12px;line-height:1.5}.chest-gallery-notes p{margin:2px 0}@container game (min-width: 760px) and (min-aspect-ratio: 1 / 1){.personal-store .personal-chest-card{display:flex;flex-direction:column;padding:15px;gap:10px}.personal-store .personal-chest-art{--chest-art-size: clamp(100px, 16cqh, 150px);width:100%;flex:0 0 auto;height:clamp(100px,16cqh,150px);min-height:100px}.personal-store .personal-chest-copy{flex:0;width:100%;min-height:75px}.personal-store .personal-chest-copy h2{font-size:clamp(25px,2.8cqw,32px);margin-bottom:6px}.personal-store .personal-chest-copy p{font-size:14px}.personal-chest-contents-link{margin-top:auto;align-self:center;font-size:20px;text-align:center}.personal-store .personal-chest-actions{flex-direction:column;gap:10px}.personal-store .personal-store-quantity{width:100%}.chest-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px}.chest-gallery-art{height:115px}.chest-gallery-tile figcaption{font-size:20px}}@container game (min-width: 760px) and (max-height: 800px){.personal-store .personal-chest-card{gap:7px;padding:12px}.personal-store .personal-chest-art{--chest-art-size: 110px;height:110px;min-height:110px}.personal-store .personal-chest-copy{min-height:65px}.personal-store .personal-chest-copy h2{font-size:26px}.personal-store .personal-chest-copy p{font-size:12px}.personal-chest-contents-link{font-size:18px}.personal-store .personal-chest-actions{gap:8px}.personal-store .personal-store-quantity button{min-height:32px}.personal-store .personal-chest-buy{min-height:36px}.chest-gallery-art{height:85px}.chest-gallery-tile figcaption{font-size:18px}}@container game (max-width: 370px){.personal-store .personal-chest-card{gap:5px 7px;padding:9px 7px}.personal-store .personal-chest-copy h2{font-size:20px}.personal-store .personal-chest-art{min-height:76px}.personal-chest-contents-link{font-size:14px}.personal-store-help{font-size:10px}.chest-gallery-filters button{font-size:18px}.chest-gallery-art{height:85px}.chest-gallery-tile figcaption{font-size:16px}}@container game (min-width: 760px) and (max-height: 580px){.personal-store-detail .shop-header{padding-bottom:10px}.personal-store-detail .shop-header h1{font-size:26px}.chest-gallery-hero{width:60px}.personal-store-detail .chest-gallery-heading{margin-bottom:10px;font-size:23px}.chest-gallery-art{height:70px}.chest-gallery-filters{margin-bottom:10px}}@container game (min-width: 760px) and (max-height: 580px){.personal-store .personal-chest-art{--chest-art-size: 65px;min-height:65px;height:65px}.personal-store .personal-chest-copy{min-height:0}.personal-chest-contents-link{min-height:28px;font-size:17px}.personal-store .personal-chest-actions{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);width:100%}.personal-store .personal-chest-buy{width:100%}}.shop-panel.purchase-reward-dialog{width:min(100%,740px);max-height:calc(var(--game-height) - 36px);padding:22px 25px 20px;border:1px solid #e5bc69;border-radius:15px;background:radial-gradient(ellipse at 50% 42%,#164052,#041923 72%);font-family:Forge Sans,Arial,sans-serif;overflow:visible}.purchase-reward-dialog .shop-header{padding:8px 35px 10px;flex-shrink:0}.purchase-reward-dialog .shop-header h1{font:700 clamp(30px,5.5cqw,46px) / 1.03 "Shop Display",Georgia,serif;color:#f8e8bc}.purchase-reward-body{position:relative;display:flex;flex-direction:column;align-items:center;min-height:0;overflow:hidden;padding:3px 8px 4px}.purchase-counters{position:relative;z-index:5;align-self:stretch;display:flex;justify-content:flex-end;gap:8px;margin-bottom:3px;flex-shrink:0}.purchase-counter{display:flex;align-items:center;justify-content:center;gap:7px;min-width:98px;min-height:40px;padding:5px 10px;border:1px solid #d2aa5a;border-radius:7px;background:#052131;color:#ffe19a;box-shadow:inset 0 0 0 2px #e4bc5920}.purchase-counter strong{font:700 26px/1 Shop Display,Georgia,serif}.purchase-counter .shop-resource-icon,.purchase-chest-icon{width:26px;height:26px;flex-shrink:0}.purchase-chest-icon{background:url(/assets/royalforge/treasury/chest-tier-atlas-v1.png) 0 50%/300% 300%}.purchase-counter.is-arriving{animation:purchaseCounter .3s ease-out}.purchase-object-stage{position:relative;display:flex;align-items:center;justify-content:center;width:100%;min-height:90px;height:min(230px,30cqh);flex:0 1 230px;isolation:isolate;perspective:650px}.purchase-aura{position:absolute;z-index:-2;width:320px;height:290px;max-width:125%;background:radial-gradient(ellipse,#e6bd6b50,#d0993628 24%,transparent 67%);animation:purchaseHalo 3.4s ease-out both;pointer-events:none}.purchase-rays{position:absolute;z-index:-2;width:390px;height:390px;max-width:150%;background:repeating-conic-gradient(from 3deg,transparent 0deg 18deg,#e8bc6226 19deg 25deg,transparent 26deg 42deg);-webkit-mask-image:radial-gradient(ellipse,#000,transparent 67%);mask-image:radial-gradient(ellipse,#000,transparent 67%);animation:purchaseRays 3.4s ease-out both;pointer-events:none}.purchase-shockwave{position:absolute;z-index:-1;width:90px;height:90px;border:1px solid #fbd593;border-radius:50%;opacity:0;box-shadow:0 0 17px #ffdd9c33;animation:purchaseShockwave 1.05s .08s ease-out both;pointer-events:none}.purchase-hero{position:relative;z-index:3;width:auto;height:min(220px,100%);aspect-ratio:1;max-height:230px;background-size:300% 300%;filter:drop-shadow(0 12px 14px #0009);animation:purchaseHero .9s .12s ease-out both;transform-origin:center 72%;flex-shrink:1}.purchase-hero.is-coins{background-size:300% 200%;-webkit-mask-image:radial-gradient(ellipse,#000 36%,#000d 51%,transparent 73%);mask-image:radial-gradient(ellipse,#000 36%,#000d 51%,transparent 73%)}.purchase-hero.is-chest,.purchase-rear-chest,.purchase-flying-chest{background-image:url(/assets/royalforge/treasury/chest-tier-atlas-v1.png);background-size:300% 300%}.purchase-rear-chest{position:absolute;z-index:1;width:145px;height:145px;opacity:0;filter:drop-shadow(0 6px 9px #0008);animation:purchaseRear .65s var(--rear-delay) ease-out both}.purchase-rear-chest.is-left{--rear-x: -70px;--rear-rotate: -13deg;--rear-delay: .3s}.purchase-rear-chest.is-right{--rear-x: 70px;--rear-rotate: 13deg;--rear-delay: .45s}.purchase-quantity{position:absolute;z-index:5;left:calc(50% + 52px);bottom:17px;border:1px solid #e6c571;border-radius:7px;background:#082535;padding:4px 10px;font:700 28px/1 Shop Display,Georgia,serif;animation:purchasePop .35s .6s ease-out both}.purchase-received{z-index:4;margin:5px 0 8px;color:#ffe196;text-align:center;font:700 clamp(34px,6cqw,47px) / 1 "Shop Display",Georgia,serif;animation:purchasePop .42s .4s ease-out both;flex-shrink:0}.purchase-reward-copy{position:relative;z-index:4;text-align:center;color:#c8d8dc;font-size:14px;line-height:1.4;max-width:350px;margin:0;animation:purchasePop .38s .56s ease-out both;flex-shrink:0}.purchase-test-badge{z-index:4;border:1px solid #b99b555f;border-radius:16px;background:#1b303455;color:#cdb788;font-size:11px;padding:4px 10px;margin-top:11px;animation:purchasePop .35s .7s ease-out both;flex-shrink:0}.purchase-reward-actions{position:relative;z-index:6;display:flex;flex-direction:column;gap:8px;width:min(100%,315px);margin-top:20px;animation:purchaseActions .35s .9s ease-out both;flex-shrink:0}.purchase-reward-actions .shop-action{width:100%;min-height:44px;font:700 25px/1 Shop Display,Georgia,serif}.purchase-continue{min-height:39px;border:1px solid #a4894d80;border-radius:7px;background:#082331;color:#d0bd93;font:700 22px/1 Shop Display,Georgia,serif;cursor:pointer}.purchase-fx{position:absolute;top:0;right:0;bottom:0;left:0;z-index:7;width:100%;height:100%;pointer-events:none}.purchase-flying-chest{position:absolute;z-index:8;width:60px;height:60px;filter:drop-shadow(0 5px 6px #0007);pointer-events:none}@keyframes purchaseHero{0%{opacity:0;transform:translateY(42px) rotate(-12deg) scale(.35)}32%{opacity:1}62%{transform:translateY(-9px) rotate(4deg) scale(1.1)}82%{transform:translateY(3px) rotate(-2deg) scale(.97)}to{opacity:1;transform:translateY(-3px) rotate(0) scale(1)}}@keyframes purchasePop{0%{opacity:0;transform:translateY(9px) scale(.65)}70%{opacity:1;transform:translateY(-2px) scale(1.04)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes purchaseRear{0%{opacity:0;transform:translateY(20px) scale(.5)}to{opacity:.83;transform:translate(var(--rear-x),-5px) rotate(var(--rear-rotate)) scale(.9)}}@keyframes purchaseHalo{0%{opacity:0;transform:scale(.2)}22%{opacity:1;transform:scale(1.14)}60%{opacity:.9;transform:scale(.95)}to{opacity:.6;transform:scale(1.04)}}@keyframes purchaseRays{0%{opacity:0;transform:scale(.3) rotate(-26deg)}30%{opacity:1}to{opacity:.5;transform:scale(1.08) rotate(24deg)}}@keyframes purchaseShockwave{0%{opacity:.8;transform:scale(.2)}to{opacity:0;transform:scale(4.5)}}@keyframes purchaseCounter{0%,to{transform:scale(1)}45%{transform:scale(1.08);box-shadow:0 0 22px #f1c26966}}@keyframes purchaseActions{0%{opacity:0;transform:translateY(9px)}to{opacity:1;transform:translateY(0)}}@container game (max-width:600px){.shop-panel.purchase-reward-dialog{padding:15px 13px 13px}.purchase-reward-dialog .shop-header h1{font-size:32px}.purchase-hero{max-width:200px}.purchase-rear-chest{width:125px;height:125px}.purchase-rear-chest.is-left{--rear-x: -50px}.purchase-rear-chest.is-right{--rear-x: 50px}.purchase-reward-copy{font-size:13px}.purchase-reward-actions{margin-top:17px}}@container game (max-height:610px){.shop-panel.purchase-reward-dialog{padding:12px 13px 10px}.purchase-reward-dialog .shop-header{padding-top:1px;padding-bottom:5px}.purchase-reward-dialog .shop-header h1{font-size:28px}.purchase-object-stage{min-height:70px;height:90px;flex-basis:90px}.purchase-hero{width:auto;height:min(90px,100%)}.purchase-rear-chest{width:83px;height:83px}.purchase-rear-chest.is-left{--rear-x: -42px}.purchase-rear-chest.is-right{--rear-x: 42px}.purchase-counters{margin-bottom:0}.purchase-counter{min-height:33px}.purchase-counter strong{font-size:23px}.purchase-received{font-size:35px;margin:3px 0 5px}.purchase-test-badge{margin-top:7px}.purchase-reward-actions{margin-top:12px}.purchase-quantity{left:calc(50% + 28px);bottom:5px;font-size:23px;padding:3px 7px}}@media(prefers-reduced-motion:reduce){.purchase-reward-dialog *{animation:none!important}.purchase-rays,.purchase-aura,.purchase-shockwave{display:none}.purchase-hero,.purchase-rear-chest{opacity:1}.purchase-rear-chest{transform:translate(var(--rear-x),-5px) rotate(var(--rear-rotate)) scale(.9)}}.city-choice-screen,.city-hub-screen{position:relative;width:100%;height:var(--game-height);min-width:320px;min-height:320px;overflow:hidden;isolation:isolate;color:#fff7d6;background:#17130f}.city-choice-screen{display:grid;grid-template-rows:auto minmax(0,1fr) auto}.city-choice-header,.city-choice-scroll,.city-create-dock{min-width:0}.city-choice-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-image:url(/assets/royalforge/cities/city-choice-forge-portrait-v2.webp);background-position:center;background-size:cover}.city-choice-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#080a0c14,#0808087a),linear-gradient(90deg,rgba(8,8,8,.38),transparent 58%);content:""}.city-choice-header{z-index:2;display:grid;justify-items:center;gap:8px;padding:max(14px,env(safe-area-inset-top)) 14px 8px;pointer-events:none}.city-choice-header h1{margin:0;color:#fff8de;font-family:Royal Display,Georgia,serif;font-size:42px;line-height:.94;letter-spacing:0;text-align:center;text-shadow:0 3px 0 #2a160a,0 6px 16px rgba(0,0,0,.78)}.city-coin-plaque{display:inline-grid;grid-template-columns:34px auto;align-items:center;min-width:132px;min-height:46px;padding:5px 15px 5px 7px;border:2px solid #c48b2c;border-radius:6px;background:linear-gradient(180deg,#172b3b,#0d1721);box-shadow:0 0 0 2px #2e1b0ce0,0 6px 16px #00000070;color:#fff2bd;pointer-events:auto}.city-coin-plaque>span{display:grid;width:30px;aspect-ratio:1;place-items:center;border:2px solid #ffe39a;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe991,#d38b1f 58%,#84400d);box-shadow:inset 0 0 0 2px #763b0a7a;color:#713a0c;font-family:Royal Display,Georgia,serif;font-weight:700}.city-coin-plaque strong{padding-left:8px;font-family:Royal Display,Georgia,serif;font-size:25px;letter-spacing:0}.city-choice-scroll{position:relative;z-index:1;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#a7732b rgba(15,17,18,.38);scrollbar-width:thin;-webkit-overflow-scrolling:touch}.city-choice-content{width:min(100% - 24px,720px);min-height:100%;margin:0 auto;padding:4px 0 24px}.game-shell.has-bottom-menu .city-choice-content{padding-bottom:12px}.city-search{position:relative;display:block;width:100%;margin-bottom:18px}.city-search input{width:100%;height:54px;padding:0 16px 0 54px;border:2px solid #ad762a;border-radius:6px;outline:none;background:#151311f0;box-shadow:inset 0 0 0 2px #ddac4a1f,0 5px 18px #0000006b;color:#fff8dc;font-size:18px;letter-spacing:0;-webkit-appearance:none;-moz-appearance:none;appearance:none}.city-search input::placeholder{color:#cfc6b6;opacity:.9}.city-search input:focus{border-color:#e6b553;box-shadow:inset 0 0 0 2px #f6cb662e,0 0 0 3px #2b6caa57,0 5px 18px #0000007a}.city-search-icon{position:absolute;top:16px;left:18px;z-index:1;width:18px;height:18px;border:3px solid #d7d0c3;border-radius:50%;pointer-events:none}.city-search-icon:after{position:absolute;right:-8px;bottom:-6px;width:10px;height:3px;border-radius:2px;background:#d7d0c3;content:"";transform:rotate(48deg);transform-origin:left center}.city-directory h2,.city-empty h2,.city-search-empty h2,.city-dialog h2{margin:0;font-family:Royal Display,Georgia,serif;letter-spacing:0}.city-row button,.city-dialog-confirm{min-width:112px;min-height:48px;padding:8px 16px;border:2px solid #d9a448;border-radius:5px;background:linear-gradient(180deg,#1c62b3,#103a78);box-shadow:inset 0 0 0 2px #ffe08f1f,0 3px #4b2d11;color:#fff7d7;font-family:Royal Display,Georgia,serif;font-size:23px;font-weight:700;letter-spacing:0;text-shadow:0 2px 1px #08182d;cursor:pointer}.city-row button:disabled,.city-dialog-confirm:disabled,.city-create-button:disabled,.city-more-button:disabled{filter:grayscale(.55);cursor:default;opacity:.7}.city-directory{margin-top:12px}.city-directory>h2{display:flex;align-items:center;gap:12px;margin-bottom:10px;color:#fff4d4;font-size:28px;text-align:center;text-shadow:0 3px 4px #120b06}.city-directory>h2:before,.city-directory>h2:after{height:1px;flex:1;background:#c38a32;content:""}.city-list{display:grid;gap:8px}.city-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;min-height:68px;padding:10px 11px 10px 16px;border:2px solid #9f6d2b;border-radius:5px;background:#231a13f5;box-shadow:inset 0 0 0 1px #e6b7571f,0 5px 14px #0000005c}.city-row-copy{min-width:0}.city-row h3{margin:0;overflow:hidden;color:#fff7db;font-family:Royal Display,Georgia,serif;font-size:26px;line-height:1;letter-spacing:0;text-overflow:ellipsis;white-space:nowrap}.city-row button{min-width:98px;min-height:44px;padding:6px 11px;font-size:20px}.city-more-button{display:block;min-height:46px;margin:12px auto 0;padding:8px 20px;border:1px solid #d4a34c;border-radius:5px;background:#152330f0;color:#fff3c8;cursor:pointer}.city-create-dock{z-index:3;padding:10px 12px max(12px,env(safe-area-inset-bottom));background:linear-gradient(180deg,transparent,rgba(12,10,8,.88) 28%)}.game-shell.has-bottom-menu .city-create-dock{padding-bottom:calc(var(--bottom-menu-total) + 12px)}.city-create-button{display:grid;grid-template-columns:42px minmax(0,auto);align-items:center;justify-content:center;gap:10px;width:min(100%,720px);min-height:58px;margin:0 auto;padding:7px 20px;border:3px solid #c28a31;border-radius:6px;background:linear-gradient(180deg,#193e60,#0d253b);box-shadow:inset 0 0 0 2px #eac0662e,0 4px #4b2b11,0 8px 20px #0000007a;color:#fff4ce;font-family:Royal Display,Georgia,serif;font-size:28px;font-weight:700;letter-spacing:0;cursor:pointer}.city-create-emblem{display:grid;width:38px;aspect-ratio:1;place-items:center;border:2px solid #e6b656;border-radius:50%;background:#9a431f;color:#ffe29b;font-family:Forge Sans,Arial,sans-serif;font-size:27px;line-height:1}.city-empty,.city-search-empty{display:grid;min-height:280px;align-content:center;justify-items:center;padding:24px;color:#fff3cc;text-align:center;text-shadow:0 3px 8px #000}.city-empty-crest{display:grid;width:76px;height:92px;margin-bottom:16px;place-items:center;border:3px solid #e0ae4c;background:linear-gradient(180deg,#174f93,#0d3269);clip-path:polygon(0 0,100% 0,100% 76%,50% 100%,0 76%);font-family:Royal Display,Georgia,serif;font-size:38px;font-weight:700}.city-empty h2,.city-search-empty h2{font-size:34px}.city-empty p,.city-search-empty p{max-width:360px;margin:8px 0 0;color:#eadab9;font-size:17px}.city-error{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px;padding:10px 12px;border:1px solid #cf7b4c;border-radius:5px;background:#451b14f0;color:#ffe4c9}.city-error button{min-height:40px;border:1px solid #efb369;border-radius:4px;background:#40251c;color:#fff2dc;cursor:pointer}.city-skeleton{display:grid;gap:10px;padding-top:16px}.city-skeleton span{display:block;height:76px;border:1px solid rgba(223,178,82,.42);border-radius:5px;background:linear-gradient(100deg,#2a2018d1 20%,#5a452beb,#2a2018d1 60%);background-size:220% 100%;animation:city-skeleton 1.2s linear infinite}.city-dialog-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:45;display:grid;padding:20px;place-items:center;background:#050709b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.city-dialog{width:min(100%,440px);padding:24px;border:3px solid #b78032;border-radius:7px;background:#241b14;box-shadow:inset 0 0 0 2px #e8ba5e1f,0 20px 48px #000000a8}.city-dialog h2{color:#fff2cb;font-size:34px;line-height:1;text-align:center}.city-dialog>p{margin:8px 0 20px;color:#d9c7a9;text-align:center}.city-dialog>.city-dialog-error{margin:0 0 14px;padding:9px 10px;border:1px solid #cf7b4c;border-radius:5px;background:#451b14;color:#ffe4c9;font-size:14px}.city-dialog label{display:grid;gap:6px;color:#f4e5c3}.city-dialog input{width:100%;height:52px;padding:0 13px;border:2px solid #a87834;border-radius:5px;outline:none;background:#0e151b;color:#fff8df;font-size:17px}.city-dialog input:focus{border-color:#e2b454;box-shadow:0 0 0 3px #2368ac5c}.city-dialog-actions{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin-top:20px}.city-dialog-cancel{min-height:48px;border:1px solid #9a7951;border-radius:5px;background:#332820;color:#eadcc4;cursor:pointer}.city-dialog-confirm{min-width:0;font-size:22px}.city-hub-screen{container-type:size;background:#263b2e;user-select:none;-webkit-user-select:none}.city-hub-screen{--city-header-bottom: 150px;--city-scene-ratio: calc(1672 / 941);--city-scene-top: calc(var(--city-header-bottom) + 8px);--city-scene-height: max( 1px, calc( var(--game-height) - var(--city-scene-top) - var(--bottom-menu-total) - 8px ) )}.city-hub-screen .city-hub-art,.city-hub-screen .city-hub-map{position:absolute;top:calc(var(--city-scene-top) + var(--city-scene-height) / 2);left:50%;width:min(var(--game-width),calc(var(--city-scene-height) * var(--city-scene-ratio)));height:min(var(--city-scene-height),calc(var(--game-width) / var(--city-scene-ratio)));transform:translate(-50%,-50%)}.city-hub-ambient,.city-hub-ambient img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.city-hub-ambient{overflow:hidden;opacity:.6}.city-hub-ambient img{object-fit:cover;filter:blur(20px) brightness(.7);transform:scale(1.08)}.city-hub-art img,.city-hub-shading{position:absolute;top:0;right:0;bottom:0;left:0;display:block;width:100%;height:100%}.city-hub-art img{-webkit-user-drag:none}.city-hub-shading{z-index:1;background:linear-gradient(180deg,rgba(6,16,24,.42) 0,rgba(8,15,18,.05) 17%,transparent 62%,rgba(10,8,5,.28) 100%),linear-gradient(90deg,rgba(8,12,11,.18),transparent 18% 82%,rgba(8,12,11,.18));pointer-events:none}.city-hub-header{position:absolute;top:max(14px,env(safe-area-inset-top));right:max(16px,env(safe-area-inset-right));left:max(16px,env(safe-area-inset-left));z-index:8;display:flex;align-items:flex-start;justify-content:space-between;gap:14px;pointer-events:none}.city-hub-identity{display:grid;grid-template-columns:48px minmax(0,auto);min-width:0;min-height:58px;align-items:center;gap:9px;padding:6px 18px 6px 7px;border:2px solid #b97b2a;border-radius:6px;background:linear-gradient(180deg,rgba(255,231,167,.1),transparent 30%),linear-gradient(180deg,#182f40f7,#081621f7);box-shadow:0 0 0 2px #2b1709e6,0 7px 18px #0006,inset 0 0 0 1px #ffe19921;pointer-events:auto}.city-hub-crest{display:grid;width:44px;height:48px;place-items:center;border:2px solid #dbab4f;background:linear-gradient(180deg,#215b98,#0e3567);clip-path:polygon(0 0,100% 0,100% 75%,50% 100%,0 75%);color:#ffe5a0;font-family:Royal Display,Georgia,serif;font-size:25px;font-weight:700;text-shadow:0 2px 2px #261408}.city-hub-identity div{min-width:0}.city-hub-identity div>span{display:block;color:#d9ae5f;font-size:.7rem;font-weight:700;line-height:1;text-transform:uppercase}.city-hub-identity h1{max-width:min(calc(var(--game-width) * .48),430px);margin:1px 0 0;overflow:hidden;color:#fff2c6;font-family:Royal Display,Georgia,serif;font-size:clamp(1.4rem,3.2cqh,2rem);line-height:.96;letter-spacing:0;text-overflow:ellipsis;text-shadow:0 2px 2px #1d1007;white-space:nowrap}.city-hub-balance{min-height:58px;flex:0 0 auto}.city-hub-map{z-index:3}.city-building-marker{position:absolute;top:var(--city-y-landscape);left:var(--city-x-landscape);display:grid;width:72px;min-height:72px;justify-items:center;border:0;outline:none;background:transparent;color:#e5f4ff;cursor:pointer;padding:0;transform:translate(-50%,-50%);animation:city-marker-pulse 3.6s ease-in-out infinite;animation-delay:var(--city-marker-pulse-delay, 0s);transition:filter .16s ease,transform .16s ease}.city-building-sawmill{--city-marker-pulse-delay: -.55s}.city-building-mine{--city-marker-pulse-delay: -1.1s}.city-building-quarry{--city-marker-pulse-delay: -1.65s}.city-building-forge{--city-marker-pulse-delay: -2.2s}@keyframes city-marker-pulse{0%,to{filter:brightness(1) drop-shadow(0 0 0 rgb(255 211 103 / 0%)) drop-shadow(0 0 0 rgb(255 183 48 / 0%))}50%{filter:brightness(1.2) drop-shadow(0 0 4px rgb(255 211 103 / 85%)) drop-shadow(0 0 14px rgb(255 183 48 / 80%))}}.city-building-marker img{display:block;width:58px;height:58px;border-radius:50%;box-shadow:0 0 0 2px #341f10b8,0 5px 10px #0000006b;transition:box-shadow .16s ease,transform .16s ease;-webkit-user-drag:none}.city-building-marker>span{max-width:132px;margin-top:-2px;padding:3px 9px 4px;border:1px solid rgba(202,143,51,.9);border-radius:3px;background:linear-gradient(180deg,#243138f5,#0c171cf5);box-shadow:0 2px #371f0df0,0 4px 9px #00000059;font-family:Royal Display,Georgia,serif;font-size:.92rem;font-weight:700;line-height:1;letter-spacing:0;text-shadow:0 1px 2px #000;white-space:nowrap}.city-building-marker:hover{filter:brightness(1.12);transform:translate(-50%,-50%) translateY(-3px)}.city-building-marker:focus-visible img,.city-building-marker.is-selected img{box-shadow:0 0 0 2px #4d2a0d,0 0 0 5px #ffd36f,0 0 24px #ffa323e6,0 6px 12px #00000080;transform:scale(1.08)}.city-building-marker.is-selected>span{border-color:#f2bf5d;background:linear-gradient(180deg,#8e4b18,#3f210e);color:#fff6cf}.city-hub-status{position:absolute;bottom:calc(var(--bottom-menu-total) + 16px);left:max(16px,env(safe-area-inset-left));z-index:6;display:flex;min-width:112px;min-height:44px;align-items:baseline;gap:6px;padding:8px 13px;border:1px solid #a9722b;border-radius:5px;background:#0c181ee6;box-shadow:0 0 0 2px #2f1a0ac7,0 6px 14px #00000061;color:#ead2a0;opacity:1;pointer-events:none;transition:opacity .14s ease}.city-hub-status span:first-child{color:#fff1bb;font-family:Royal Display,Georgia,serif;font-size:1.45rem;font-weight:700;line-height:1}.city-hub-status span:last-child{font-size:.82rem}.city-building-sheet{position:absolute;right:max(20px,env(safe-area-inset-right));bottom:calc(var(--bottom-menu-total) + 14px);left:max(20px,env(safe-area-inset-left));z-index:10;display:grid;grid-template-columns:minmax(190px,240px) minmax(0,1fr);width:min(980px,calc(100% - 40px));max-height:calc(var(--game-height) - var(--bottom-menu-total) - 36px);align-items:stretch;gap:22px;margin:0 auto;padding:24px 62px 23px 24px;overflow-x:hidden;overflow-y:auto;border:2px solid #d29a3d;border-radius:6px;background:linear-gradient(180deg,rgba(255,230,162,.08),transparent 19%),repeating-linear-gradient(112deg,rgba(255,255,255,.015) 0 1px,transparent 1px 9px),linear-gradient(145deg,#12354a,#092534 48%,#061b27);box-shadow:0 0 0 4px #301a09,0 0 0 6px #8f5b1d,0 18px 42px #000000a8,inset 0 0 0 1px #ffe28f38,inset 0 -18px 35px #0000002e;scrollbar-color:#bd8230 rgba(7,22,30,.65);scrollbar-width:thin;animation:city-sheet-arrive .22s ease-out both}.city-building-sheet:before{position:absolute;top:8px;right:8px;bottom:8px;left:8px;z-index:-1;border:1px solid rgba(229,176,76,.48);border-radius:2px;content:"";pointer-events:none}.city-building-sheet:after{position:absolute;right:22px;bottom:13px;left:22px;height:1px;background:linear-gradient(90deg,transparent,rgba(236,184,78,.72) 18% 82%,transparent);content:"";pointer-events:none}.city-building-sheet-ornament{position:absolute;top:-12px;left:50%;z-index:2;width:128px;height:28px;border:1px solid #d8a348;background:linear-gradient(180deg,#f2c46b,#8b4e14 58%,#3c210d);box-shadow:0 2px #2c1709,0 5px 12px #0000006b;clip-path:polygon(0 50%,35% 36%,44% 0,50% 34%,56% 0,65% 36%,100% 50%,65% 64%,56% 100%,50% 66%,44% 100%,35% 64%);transform:translate(-50%)}.city-building-portrait{position:relative;min-height:232px;overflow:hidden;border:2px solid #c78d34;border-radius:4px;background-image:url(/assets/royalforge/city-hub/city-hub-landscape-v2.webp);background-position:var(--building-preview-x) var(--building-preview-y);background-size:310% auto;box-shadow:0 0 0 3px #2d1809f0,inset 0 0 0 1px #ffe08f4d,inset 0 -40px 55px #030f16b8}.city-building-portrait:before{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,transparent 48%,rgba(4,16,23,.8)),linear-gradient(90deg,rgba(3,15,20,.32),transparent 22% 78%,rgba(3,15,20,.32));content:""}.city-building-portrait:after{position:absolute;top:9px;right:9px;bottom:9px;left:9px;border:1px solid rgba(236,190,96,.48);clip-path:polygon(0 0,28px 0,28px 2px,2px 2px,2px 28px,0 28px,0 0,100% 0,100% 28px,calc(100% - 2px) 28px,calc(100% - 2px) 2px,calc(100% - 28px) 2px,calc(100% - 28px) 0,100% 0,100% 100%,calc(100% - 28px) 100%,calc(100% - 28px) calc(100% - 2px),calc(100% - 2px) calc(100% - 2px),calc(100% - 2px) calc(100% - 28px),100% calc(100% - 28px),100% 100%,0 100%,0 calc(100% - 28px),2px calc(100% - 28px),2px calc(100% - 2px),28px calc(100% - 2px),28px 100%);content:""}.city-building-portrait img{position:absolute;right:14px;bottom:14px;z-index:1;width:64px;height:64px;border-radius:50%;filter:drop-shadow(0 4px 5px rgba(0,0,0,.55));box-shadow:0 0 0 2px #efbd5d,0 0 0 5px #2b180ae6}.city-building-sheet-copy{display:grid;min-width:0;align-content:start;gap:12px}.city-building-sheet-heading>span{display:block;color:#e2b859;font-size:.78rem;font-weight:700;letter-spacing:0;text-transform:uppercase}.city-building-sheet-heading>div{display:flex;min-width:0;align-items:center;gap:12px}.city-building-sheet h2{min-width:0;margin:0;overflow:visible;color:#fff2c7;font-family:Royal Display,Georgia,serif;font-size:clamp(2rem,5cqh,2.85rem);line-height:1.06;letter-spacing:0;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;text-shadow:0 2px 2px rgba(0,0,0,.66);white-space:normal}.city-building-sheet-heading small{flex:0 0 auto;padding:5px 12px;border:1px solid #bb7e29;border-radius:999px;background:#091922a8;color:#f2cc7b;font-family:Forge Sans,Arial,sans-serif;font-size:.76rem;font-weight:700}.city-building-sheet p{margin:0;color:#dac9a9;font-size:.9rem;line-height:1.25}.townhall-loading,.townhall-max-level{display:grid;min-height:208px;align-content:center;gap:8px;color:#e7d4af}.townhall-loading button{width:max-content;min-height:36px;padding:5px 13px;border:1px solid #d29b42;border-radius:4px;background:#153a5b;color:#fff1c8;cursor:pointer}.townhall-max-level strong{color:#ffe29a;font-family:Royal Display,Georgia,serif;font-size:1.65rem}.townhall-max-level>span{color:#d9a94d;font-size:.72rem;font-weight:700;text-transform:uppercase}.townhall-project{display:grid;gap:10px}.city-building-effect{display:grid;grid-template-columns:42px minmax(0,1fr) 22px minmax(0,1fr);min-height:62px;align-items:center;gap:10px;padding:8px 13px 8px 9px;border:1px solid rgba(194,133,44,.8);border-radius:4px;background:linear-gradient(90deg,#1c3a48c7,#071922d1),#071922eb;box-shadow:inset 0 0 0 1px #f8d17b0f,0 4px 9px #0000002e}.city-building-effect>span{display:grid;width:38px;aspect-ratio:1;place-items:center;border:1px solid #d7a14a;border-radius:50%;background:linear-gradient(180deg,#1e5d82,#0b2a3d);box-shadow:inset 0 0 0 3px #e3b04e2e,0 2px 5px #0000006b;color:#f4c85f;font-size:.95rem}.city-building-effect>div{display:grid;min-width:0;gap:1px}.city-building-effect small{color:#b6a27f;font-size:.66rem;font-weight:700;text-transform:uppercase}.city-building-effect strong{overflow:hidden;color:#f5e4b9;font-family:Royal Display,Georgia,serif;font-size:1rem;line-height:1.05;text-overflow:ellipsis}.city-building-effect>div:last-child strong{color:#9ed46e}.city-building-effect>i{color:#d9a64e;font-family:Georgia,serif;font-size:1.9rem;font-style:normal;text-align:center}.city-building-effect.is-max{grid-template-columns:42px minmax(0,1fr)}.townhall-project-title{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#ead9b5;font-size:.9rem;font-weight:700}.townhall-project-title strong{color:#ffd066;font-family:Royal Display,Georgia,serif;font-size:1.4rem}.townhall-progress-track,.townhall-build-track{height:12px;overflow:hidden;border:1px solid #9b6b2d;border-radius:999px;background:#131b1e;box-shadow:inset 0 1px 4px #000000d1,0 0 0 1px #e7b55214}.townhall-progress-track>span{display:block;height:100%;min-width:2px;border-radius:inherit;background:linear-gradient(90deg,#cf761f,#ffd463 68%,#fff0a6);box-shadow:0 0 10px #ffb539b8;transition:width .22s ease}.townhall-resources{display:grid;gap:7px}.townhall-resource{display:grid;grid-template-columns:50px minmax(0,1fr) 18px auto;min-width:0;align-items:center;gap:10px;min-height:58px;padding:4px 14px 4px 6px;border:1px solid rgba(187,126,38,.82);border-radius:4px;background:linear-gradient(90deg,#142f3bc2,#07171fd6);box-shadow:inset 0 0 0 1px #ffde930a;color:#e5d5b5}.townhall-resource-icon{display:block;width:48px;height:48px;border-radius:50%;background-image:url(/assets/royalforge/city-hub/resource-icons-v1.png);background-position:0 0;background-size:200% 200%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.48))}.townhall-resource.is-wood .townhall-resource-icon{background-position:100% 0}.townhall-resource.is-stone .townhall-resource-icon{background-position:0 100%}.townhall-resource.is-iron .townhall-resource-icon{background-position:100% 100%}.townhall-resource-copy{display:grid;min-width:0;gap:1px}.townhall-resource-copy strong{overflow:hidden;color:#f6e7bd;font-family:Royal Display,Georgia,serif;font-size:1.05rem;line-height:1;text-overflow:ellipsis;white-space:nowrap}.townhall-resource-copy small{color:#b6a78b;font-size:.68rem}.townhall-resource-separator{color:#e4ad4f;font-size:.7rem;text-align:center}.townhall-resource-amount{min-width:62px;color:#ff8067;font-family:Royal Display,Georgia,serif;font-size:1.22rem;line-height:1;text-align:right}.townhall-resource.is-complete .townhall-resource-amount{color:#9bd16d}.townhall-contribute{min-width:0;max-width:100%;min-height:52px;padding:6px 12px;line-height:1.1;overflow-wrap:anywhere;border:2px solid #d4a044;border-radius:5px;background:linear-gradient(180deg,rgba(255,227,145,.12),transparent 35%),linear-gradient(180deg,#1f70bd,#0d4785);box-shadow:inset 0 0 0 2px #072342b3,inset 0 0 0 3px #ffe6a724,0 3px #44280f,0 6px 12px #00000047;color:#fff2c7;font-family:Royal Display,Georgia,serif;font-size:1.35rem;font-weight:700;cursor:pointer;text-shadow:0 2px 1px #0b1b2a,0 0 8px rgba(255,220,133,.18);transition:filter .14s ease,transform .14s ease}.townhall-contribute:not(:disabled):hover{filter:brightness(1.12)}.townhall-contribute:not(:disabled):active{transform:translateY(2px)}.townhall-contribute:disabled{filter:grayscale(.58);cursor:default;opacity:.72}.townhall-message{color:#ffd1ad;font-size:.72rem;text-align:center}.townhall-building{display:grid;min-height:240px;align-content:center;justify-items:center;gap:12px;color:#e5c97f}.townhall-building .city-building-effect{width:100%;margin-bottom:8px;text-align:left}.townhall-building>span{font-size:.78rem;font-weight:700;text-transform:uppercase}.townhall-building>strong{color:#fff0ba;font-family:Royal Display,Georgia,serif;font-size:2rem}.townhall-build-track{width:min(100%,420px)}.townhall-build-track>span{display:block;width:34%;height:100%;background:linear-gradient(90deg,transparent,#f4bd50,transparent);animation:townhall-building 1.4s ease-in-out infinite}.city-building-close{position:absolute;top:17px;right:17px;z-index:4;display:grid;width:42px;height:42px;place-items:center;border:2px solid rgba(218,161,67,.9);border-radius:50%;background:linear-gradient(180deg,#2f291f,#0f171a);box-shadow:0 0 0 3px #2c180adb,0 4px 9px #00000070;color:#f5cf79;cursor:pointer;font-family:Forge Sans,Arial,sans-serif;font-size:1.65rem;line-height:1}.city-building-close:hover,.city-building-close:focus-visible{border-color:#f0ba57;outline:none;background:#57301a;color:#fff4cb}.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}@keyframes city-skeleton{to{background-position:-120% 0}}@keyframes city-sheet-arrive{0%{opacity:0;transform:translateY(12px)}}@keyframes townhall-building{0%{transform:translate(-100%)}to{transform:translate(300%)}}@container game (min-width: 760px) and (orientation: landscape){.city-choice-backdrop{background-image:url(/assets/royalforge/cities/city-choice-forge-landscape-v2.webp)}.city-choice-header{gap:4px;padding-top:16px}.city-choice-header h1{font-size:48px}.city-choice-content{width:min(100% - 40px,760px)}}@container game (orientation: portrait){.city-hub-screen{--city-scene-ratio: calc(941 / 1672);--city-portrait-height: max( var(--city-scene-height), calc(var(--game-width) / var(--city-scene-ratio)) )}.city-hub-screen .city-hub-art,.city-hub-screen .city-hub-map{width:max(var(--game-width),calc(var(--city-scene-height) * var(--city-scene-ratio)));height:var(--city-portrait-height);top:calc(var(--city-scene-top) + var(--city-scene-height) / 2)}.city-hub-ambient{display:none}.city-building-marker{top:var(--city-y-portrait);left:var(--city-x-portrait)}.city-building-marker img{width:54px;height:54px}.city-building-marker>span{width:max-content;max-width:112px;font-size:.82rem;line-height:.88;text-align:center;white-space:normal}.city-hub-status{bottom:calc(var(--bottom-menu-total) + 12px)}.city-building-sheet{right:max(10px,env(safe-area-inset-right));bottom:calc(var(--bottom-menu-total) + 10px);left:max(10px,env(safe-area-inset-left));display:block;width:calc(100% - 20px);max-height:min(calc(var(--game-height) * .66),610px);padding:18px 14px 20px}.city-building-sheet-ornament{width:104px;height:23px}.city-building-portrait{position:absolute;top:18px;left:16px;width:102px;min-height:100px;background-size:250% auto}.city-building-portrait img{right:9px;bottom:9px;width:42px;height:42px}.city-building-sheet-copy{gap:10px}.city-building-sheet-heading{min-height:100px;padding:8px 44px 8px 116px}.city-building-sheet-heading>div{display:grid;justify-items:start;gap:6px}.city-building-sheet h2{max-width:100%;font-size:1.85rem;white-space:normal}.city-building-sheet-heading small{padding:4px 9px;font-size:.68rem}.city-building-effect{grid-template-columns:36px minmax(0,1fr) 16px minmax(0,1fr);min-height:58px;gap:6px;padding:7px}.city-building-effect>span{width:34px}.city-building-effect small{font-size:.57rem}.city-building-effect strong{font-size:.88rem;white-space:normal}.townhall-project-title{font-size:.8rem}.townhall-project-title strong{font-size:1.22rem}.townhall-resource{grid-template-columns:46px minmax(0,1fr) 14px auto;min-height:54px;gap:7px;padding:3px 10px 3px 4px}.townhall-resource-icon{width:44px;height:44px}.townhall-resource-copy strong{font-size:.98rem}.townhall-resource-amount{min-width:54px;font-size:1.1rem}.townhall-contribute{min-height:50px;font-size:1.2rem}.city-building-close{top:16px;right:15px;width:38px;height:38px}}@container game (max-height: 720px){.city-choice-header{grid-template-columns:126px minmax(0,1fr);align-items:center;justify-items:start;padding-bottom:6px}.city-choice-header h1{min-width:0;justify-self:stretch;font-size:32px}.city-coin-plaque{width:126px;min-width:0;min-height:42px}}@container game (max-width: 390px){.city-choice-header h1{font-size:38px}.city-choice-content{width:calc(100% - 18px)}.city-row{grid-template-columns:minmax(0,1fr) 86px;gap:7px;padding-inline:7px}.city-row h3{font-size:22px}.city-row button{min-width:84px;padding-inline:7px;font-size:18px}.city-create-button{font-size:25px}.city-hub-header{top:max(8px,env(safe-area-inset-top));right:9px;left:9px;gap:7px}.city-hub-identity{grid-template-columns:36px minmax(0,auto);min-height:48px;gap:6px;padding:4px 9px 4px 5px}.city-hub-crest{width:33px;height:38px;font-size:20px}.city-hub-identity h1{max-width:calc(var(--game-width) * .42);font-size:1.08rem}.city-hub-identity div>span{font-size:.58rem}.city-hub-balance{grid-template-columns:29px auto;min-width:92px;min-height:48px;padding:4px 9px 4px 5px}.city-hub-balance>span{width:27px}.city-hub-balance strong{padding-left:5px;font-size:21px}.city-building-marker{width:64px;min-height:64px}.city-building-marker img{width:48px;height:48px}.city-building-marker>span{max-width:106px;padding-inline:6px;font-size:.75rem}.city-hub-status{left:10px;min-width:94px;min-height:38px;padding:6px 10px}.city-hub-status span:first-child{font-size:1.2rem}.city-hub-status span:last-child{font-size:.72rem}}@container game (max-height: 650px) and (orientation: landscape){.city-hub-header{top:8px}.city-hub-identity,.city-hub-balance{min-height:48px}.city-hub-crest{width:36px;height:40px}.city-hub-identity{grid-template-columns:38px minmax(0,auto)}.city-building-marker img{width:48px;height:48px}.city-building-marker>span{font-size:.78rem}}@media(prefers-reduced-motion:reduce){.city-skeleton span,.city-building-marker,.city-building-sheet,.townhall-build-track>span{animation:none}}.city-hub-art{transition:opacity .22s ease}.city-building-marker:before{position:absolute;top:28px;left:50%;z-index:-1;width:clamp(112px,calc(var(--game-width) * .12),170px);aspect-ratio:1;border:2px solid transparent;border-radius:50%;background:conic-gradient(from 20deg,transparent,rgba(255,210,94,.95),transparent 34%,rgba(255,238,160,.82),transparent 68%,rgba(255,190,49,.92),transparent);box-shadow:0 0 24px #ffb02a6b,inset 0 0 22px #ffc4423d;content:"";-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));mask:radial-gradient(farthest-side,transparent calc(100% - 5px),#000 calc(100% - 4px));opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.74);transition:opacity .18s ease,transform .22s ease}.city-building-marker.is-selected:before{opacity:1;transform:translate(-50%,-50%) scale(1);animation:city-selection-aura 2.4s ease-in-out infinite}.city-building-sheet{right:max(16px,env(safe-area-inset-right));bottom:calc(var(--bottom-menu-total) + 10px);left:max(16px,env(safe-area-inset-left));grid-template-columns:214px minmax(0,1fr);width:min(1160px,calc(100% - 32px));max-height:306px;gap:18px;padding:18px 56px 17px 18px;border-color:#e0aa4e;border-radius:7px 7px 4px 4px;background:radial-gradient(ellipse at 50% -20%,rgba(59,132,164,.23),transparent 48%),repeating-linear-gradient(112deg,rgba(255,255,255,.016) 0 1px,transparent 1px 9px),linear-gradient(145deg,#123c52,#082838 52%,#051b27);box-shadow:0 0 0 4px #2d1808,0 0 0 7px #94601d,0 -8px 25px #ffb12b1f,0 18px 42px #000000ad,inset 0 0 0 1px #ffe28f47,inset 0 -22px 42px #0003}.city-building-sheet:before{top:8px;right:8px;bottom:8px;left:8px;border-color:#f4c25b9e;box-shadow:inset 0 0 0 3px #2615086b,inset 0 0 26px #eba9350d}.city-building-sheet:after{right:16px;bottom:8px;left:16px;height:5px;background:linear-gradient(90deg,transparent,#70400f 8%,#efbb59 50%,#70400f 92%,transparent);clip-path:polygon(0 40%,45% 40%,48% 0,50% 65%,52% 0,55% 40%,100% 40%,100% 60%,55% 60%,52% 100%,50% 35%,48% 100%,45% 60%,0 60%)}.city-building-sheet-ornament{top:-17px;width:184px;height:36px;filter:drop-shadow(0 5px 5px rgba(0,0,0,.5))}.city-building-portrait{display:grid;min-height:0;aspect-ratio:1;place-items:center;align-self:center;overflow:visible;border:0;background:radial-gradient(ellipse at 50% 78%,rgba(254,190,62,.3),transparent 58%);box-shadow:none;filter:drop-shadow(0 14px 12px rgba(0,0,0,.52))}.city-building-portrait:before{top:9%;right:4%;bottom:4%;left:4%;border:1px solid rgba(230,174,70,.52);border-radius:48% 48% 42% 42%;background:radial-gradient(circle at 50% 45%,rgba(40,105,136,.24),transparent 66%),#0419233d;box-shadow:0 0 0 3px #301a0999,inset 0 0 24px #ffc2441a}.city-building-portrait:after{inset:auto 12% 3%;width:76%;height:18px;border:0;border-radius:50%;background:#00000061;clip-path:none;filter:blur(7px)}.city-building-portrait-art{position:relative;z-index:1;display:block;width:112%;aspect-ratio:1;background-image:url(/assets/royalforge/city-hub/building-portraits-v1.png);background-position:0 0;background-repeat:no-repeat;background-size:300% 200%}.city-building-portrait.is-sawmill .city-building-portrait-art{background-position:50% 0}.city-building-portrait.is-mine .city-building-portrait-art{background-position:100% 0}.city-building-portrait.is-quarry .city-building-portrait-art{background-position:0 100%}.city-building-portrait.is-forge .city-building-portrait-art{background-position:50% 100%}.city-building-sheet-copy{gap:7px}.city-building-sheet-heading>div{gap:10px}.city-building-sheet h2{font-size:clamp(1.9rem,4.5cqh,2.55rem)}.city-building-sheet-heading small{padding:4px 10px}.townhall-project{gap:7px}.townhall-project-title{font-size:.82rem}.townhall-project-title strong{font-size:1.22rem}.townhall-progress-track,.townhall-build-track{height:10px}.townhall-resources{grid-template-columns:repeat(auto-fit,minmax(165px,1fr));gap:7px}.townhall-resource{grid-template-columns:44px minmax(0,1fr) auto;min-height:54px;gap:7px;padding:3px 10px 3px 4px}.townhall-resource-icon{width:42px;height:42px}.townhall-resource-separator{display:none}.townhall-resource-copy strong{font-size:.96rem}.townhall-resource-amount{min-width:48px;font-size:1.05rem}.city-building-project-footer{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:9px}.city-building-reward{display:grid;grid-template-columns:46px minmax(0,1fr);min-width:0;min-height:54px;align-items:center;gap:9px;padding:4px 12px 4px 5px;border:1px solid rgba(202,143,48,.84);border-radius:4px;background:linear-gradient(90deg,#163b48e6,#071b24e6);box-shadow:inset 0 0 0 1px #ffe29712,0 4px 10px #0003}.city-building-reward img,.city-building-effect.is-max img{display:block;width:44px;height:44px;border-radius:50%;filter:drop-shadow(0 3px 4px rgba(0,0,0,.45))}.city-building-reward div{display:grid;min-width:0;gap:1px}.city-building-reward small{color:#d7b467;font-size:.63rem;font-weight:700;text-transform:uppercase}.city-building-reward strong{overflow:hidden;color:#9ed76e;font-family:Royal Display,Georgia,serif;font-size:1rem;line-height:1.05;text-overflow:ellipsis;white-space:nowrap}.city-building-effect.is-max{grid-template-columns:46px minmax(0,1fr)}.townhall-contribute{min-height:54px;font-size:1.26rem}.townhall-building{min-height:190px}.townhall-building .city-building-reward{width:min(100%,540px)}@keyframes city-selection-aura{50%{filter:brightness(1.16);transform:translate(-50%,-50%) scale(1.06) rotate(8deg)}}@container game (orientation: portrait){.city-building-marker:before{top:25px;width:clamp(96px,calc(var(--game-width) * .27),132px)}.city-building-sheet{top:calc(var(--game-height) * .41);right:max(7px,env(safe-area-inset-right));bottom:var(--bottom-menu-total);left:max(7px,env(safe-area-inset-left));display:block;width:calc(100% - 14px);max-height:none;padding:15px 11px 14px;border-radius:5px 5px 0 0;overscroll-behavior:contain}.city-building-sheet-ornament{top:-15px;width:138px;height:30px}.city-building-portrait{top:15px;left:13px;width:126px;min-height:0;aspect-ratio:1;background:radial-gradient(ellipse at 50% 78%,rgba(254,190,62,.28),transparent 60%)}.city-building-portrait-art{width:118%}.city-building-sheet-copy{gap:7px}.city-building-sheet-heading{min-height:122px;padding:11px 42px 7px 140px}.city-building-sheet h2{font-size:clamp(1.72rem,calc(var(--game-width) * .082),2.2rem);line-height:.9}.city-building-sheet-heading>span{font-size:.68rem}.townhall-project{gap:6px}.townhall-project-title{font-size:.78rem}.townhall-progress-track{height:9px}.townhall-resources{grid-template-columns:1fr;gap:5px}.townhall-resource{grid-template-columns:42px minmax(0,1fr) auto;min-height:49px;padding:2px 9px 2px 3px}.townhall-resource-icon{width:40px;height:40px}.townhall-resource-copy strong{font-size:.94rem}.townhall-resource-copy small{font-size:.62rem}.townhall-resource-amount{font-size:1rem}.city-building-project-footer{grid-template-columns:1fr;gap:6px}.city-building-reward{min-height:49px}.city-building-reward img{width:40px;height:40px}.townhall-contribute{min-height:50px;font-size:1.15rem}.city-building-close{top:17px;right:14px;width:40px;height:40px}}@container game (max-width: 390px) and (orientation: portrait){.city-building-sheet{right:5px;left:5px;width:calc(100% - 10px);padding-inline:9px}.city-building-portrait{left:11px;width:108px}.city-building-sheet-heading{min-height:108px;padding-left:120px}.city-building-sheet h2{font-size:1.65rem}}.city-hub-buildings{z-index:2;opacity:1;pointer-events:none}.city-hub-screen[data-city-scene-id=golden-harvest-v1] .city-hub-buildings img{filter:sepia(.16) saturate(1.08) brightness(1.02)}.city-hub-screen[data-city-scene-id=starlit-vale-v1] .city-hub-buildings img{filter:brightness(.68) saturate(.82) hue-rotate(8deg) drop-shadow(0 0 8px rgba(104,135,255,.18))}@container game (max-height: 720px) and (orientation: portrait){.city-building-sheet{top:calc(var(--game-height) * .39)}.city-building-sheet-heading{min-height:94px}.city-building-portrait{width:94px}.city-building-sheet-heading{padding-left:105px}}@media(prefers-reduced-motion:reduce){.city-hub-art,.city-building-marker:before{transition:none}.city-building-marker.is-selected:before{animation:none}}.city-building-marker{width:64px;min-height:64px}.city-building-marker>.city-building-marker-art,.city-building-reward-icon{display:block;width:50px;aspect-ratio:1;margin:0;padding:0;border:0;border-radius:50%;background-color:transparent;background-image:url(/assets/royalforge/city-hub/building-markers-v2.png);background-position:0 0;background-repeat:no-repeat;background-size:300% 200%;box-shadow:none;filter:drop-shadow(0 4px 5px rgba(0,0,0,.64));transition:filter .16s ease,transform .16s ease}.city-building-sawmill>.city-building-marker-art,.city-building-reward-icon.is-sawmill{background-position:50% 0}.city-building-mine>.city-building-marker-art,.city-building-reward-icon.is-mine{background-position:100% 0}.city-building-quarry>.city-building-marker-art,.city-building-reward-icon.is-quarry{background-position:0 100%}.city-building-forge>.city-building-marker-art,.city-building-reward-icon.is-forge{background-position:50% 100%}.city-building-marker>span:last-child{width:max-content;max-width:126px;margin-top:-4px;padding:3px 9px 4px;border-color:#dfa746eb;background:linear-gradient(180deg,#172b34f7,#07141bfa);box-shadow:0 0 0 2px #301908d6,0 5px 10px #0000006b,inset 0 1px #ffe7a31f;font-size:.84rem}.city-building-marker:focus-visible>.city-building-marker-art,.city-building-marker.is-selected>.city-building-marker-art{border:0;background-color:transparent;background-image:url(/assets/royalforge/city-hub/building-markers-v2.png);background-position:0 0;background-repeat:no-repeat;background-size:300% 200%;box-shadow:none;filter:brightness(1.08) saturate(1.08) drop-shadow(0 0 7px rgba(255,199,75,.56)) drop-shadow(0 5px 5px rgba(0,0,0,.66));transform:scale(1.035)}.city-building-marker.city-building-sawmill.is-selected>.city-building-marker-art{background-position:50% 0}.city-building-marker.city-building-mine.is-selected>.city-building-marker-art{background-position:100% 0}.city-building-marker.city-building-quarry.is-selected>.city-building-marker-art{background-position:0 100%}.city-building-marker.city-building-forge.is-selected>.city-building-marker-art{background-position:50% 100%}.city-building-marker:before{top:56px;z-index:-1;width:clamp(122px,calc(var(--game-width) * .13),186px);height:clamp(38px,calc(var(--game-width) * .044),58px);aspect-ratio:auto;border:2px solid rgba(255,211,103,.82);border-radius:50%;background:radial-gradient(ellipse,rgba(255,214,94,.12) 0 42%,rgba(255,193,48,.07) 43% 59%,transparent 61%);box-shadow:0 0 14px #ffb82f7a,inset 0 0 13px #ffdd6f38;-webkit-mask:none;mask:none;transform:translate(-50%,-50%) scale(.84)}.city-building-marker.is-selected:before{transform:translate(-50%,-50%) scale(1)}@keyframes city-selection-aura{50%{filter:brightness(1.15);opacity:.78;transform:translate(-50%,-50%) scale(1.035)}}.city-building-sheet{border-color:#ebb95b;background:radial-gradient(ellipse at 50% -16%,rgba(47,130,167,.2),transparent 44%),linear-gradient(90deg,rgba(255,221,142,.035),transparent 13% 87%,rgba(255,221,142,.035)),linear-gradient(145deg,#0d354a,#062735 54%,#041b26);box-shadow:0 0 0 3px #2b1607,0 0 0 6px #b77925,0 0 0 8px #3a1c08,0 -7px 27px #ffb93126,0 18px 42px #000000b8,inset 0 0 0 1px #ffe9ab57,inset 0 0 42px #0000002e}.city-building-sheet:before{top:8px;right:8px;bottom:8px;left:8px;border-color:#f9c967ad;box-shadow:inset 0 0 0 2px #2d1707a8,inset 0 0 0 4px #d393301f}.city-building-sheet-corner{position:absolute;z-index:3;width:34px;height:34px;border-color:#f0be5d;border-style:solid;filter:drop-shadow(0 2px 2px rgba(0,0,0,.62));pointer-events:none}.city-building-sheet-corner.is-top-left{top:-7px;left:-7px;border-width:5px 0 0 5px;border-radius:9px 0 0}.city-building-sheet-corner.is-top-right{top:-7px;right:-7px;border-width:5px 5px 0 0;border-radius:0 9px 0 0}.city-building-sheet-corner.is-bottom-left{bottom:-7px;left:-7px;border-width:0 0 5px 5px;border-radius:0 0 0 9px}.city-building-sheet-corner.is-bottom-right{right:-7px;bottom:-7px;border-width:0 5px 5px 0;border-radius:0 0 9px}.city-building-sheet-ornament{width:210px;height:39px;background:linear-gradient(180deg,#ffd983,#b46c1c 54%,#4c2509);clip-path:polygon(0 56%,31% 40%,40% 23%,45% 0,50% 34%,55% 0,60% 23%,69% 40%,100% 56%,70% 67%,58% 61%,50% 100%,42% 61%,30% 67%)}.city-building-portrait{overflow:hidden;border:1px solid rgba(237,183,80,.84);border-radius:50% 50% 43% 43%;background:radial-gradient(ellipse at 50% 70%,#1f637e73,#03151e66 67%,#020e15b8);box-shadow:0 0 0 3px #2d1708eb,0 0 0 5px #db9e3494,inset 0 0 24px #ffc2431f;filter:drop-shadow(0 10px 10px rgba(0,0,0,.48))}.city-building-portrait:before{top:5px;right:5px;bottom:5px;left:5px;border-color:#fcd78075;background:transparent;box-shadow:none}.city-building-portrait:after{bottom:2%}.city-building-portrait-art{width:103%;transform:translateY(2%)}.townhall-resources{grid-template-columns:repeat(auto-fit,minmax(185px,1fr))}.townhall-resource{grid-template-columns:44px minmax(0,1fr) 14px auto;background:linear-gradient(90deg,#123946f0,#051922f0)}.townhall-resource-separator{display:block;color:#d8a84e;font-size:.75rem;text-align:center}.city-building-project-footer{grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr))}.city-building-reward{grid-template-columns:48px minmax(0,1fr);border-color:#e2aa45e6;background:linear-gradient(90deg,#174452d1,#051b25f0),#061e2a}.city-building-reward-icon{width:44px}.city-building-reward-copy{display:grid;min-width:0;gap:2px}.city-building-reward-benefits{display:grid;grid-template-columns:minmax(0,1fr) 14px minmax(82px,auto);align-items:center;gap:8px}.city-building-reward-benefits strong{color:#9edf72;font-size:.98rem}.city-building-reward-benefits strong:last-child{color:#f4ddb1;text-align:right}.city-building-reward-benefits i{color:#dfac50;font-size:.72rem;font-style:normal;text-align:center}.city-building-effect.is-max>.city-building-reward-icon{width:44px}.townhall-contribute{position:relative;min-height:52px;overflow:hidden;border-color:#f2bd58;border-radius:3px;background:linear-gradient(180deg,#2c7bd0,#14529a 52%,#0b3167);box-shadow:0 0 0 3px #3a1c08,0 0 0 5px #cb8a28c2,0 0 18px #328beb38,inset 0 2px #fff2be52,inset 0 -8px 14px #03133057;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,12px 100%,0 50%)}.townhall-contribute:before,.townhall-contribute:after{position:absolute;top:50%;width:8px;height:8px;border:2px solid #f5ca6d;background:#e8af4c;box-shadow:0 0 7px #ffd265b8;content:"";transform:translateY(-50%) rotate(45deg)}.townhall-contribute:before{left:9px}.townhall-contribute:after{right:9px}@container game (orientation: portrait){.city-hub-identity{grid-template-columns:32px minmax(0,auto);min-height:45px;padding:3px 8px 3px 4px}.city-hub-crest{width:30px;height:35px;font-size:18px}.city-hub-identity h1{font-size:1.02rem}.city-hub-balance{grid-template-columns:27px auto;min-width:88px;min-height:45px}.city-building-marker{width:54px;min-height:54px}.city-building-marker>.city-building-marker-art{width:42px}.city-building-marker>span:last-child{max-width:100px;margin-top:-4px;padding:2px 7px 3px;font-size:.7rem;line-height:.92}.city-building-marker:before{top:48px;width:clamp(90px,calc(var(--game-width) * .24),112px);height:clamp(30px,calc(var(--game-width) * .08),38px)}.city-building-sheet{top:calc(var(--game-height) * .445);padding:14px 10px 12px}.city-building-sheet-ornament{top:-14px;width:148px;height:30px}.city-building-sheet-corner{width:25px;height:25px}.city-building-portrait{top:14px;left:13px;width:108px}.city-building-portrait-art{width:102%;transform:translateY(3%)}.city-building-sheet-heading{min-height:104px;padding:9px 40px 6px 125px}.city-building-sheet-heading>div{display:flex;flex-wrap:wrap;align-items:center;gap:5px 8px}.city-building-sheet h2{font-size:clamp(1.6rem,calc(var(--game-width) * .076),1.98rem);line-height:.94}.city-building-sheet-heading small{padding:3px 8px}.city-building-sheet-copy,.townhall-project{gap:5px}.townhall-project-title{font-size:.74rem}.townhall-project-title strong{font-size:1.1rem}.townhall-resources{grid-template-columns:1fr;gap:4px}.townhall-resource{grid-template-columns:39px minmax(0,1fr) 12px auto;min-height:45px;gap:5px;padding:2px 8px 2px 3px}.townhall-resource-icon{width:37px;height:37px}.townhall-resource-copy strong{font-size:.9rem}.townhall-resource-copy small{font-size:.59rem}.townhall-resource-amount{min-width:43px;font-size:.96rem}.city-building-project-footer{grid-template-columns:1fr;gap:5px}.city-building-reward{grid-template-columns:41px minmax(0,1fr);min-height:46px;padding:3px 8px 3px 3px}.city-building-reward-icon{width:39px}.city-building-reward-benefits{grid-template-columns:minmax(0,1fr) 10px minmax(70px,auto);gap:5px}.city-building-reward-benefits strong{font-size:.9rem}.townhall-contribute{min-height:48px;font-size:1.1rem}.city-building-close{top:15px;right:13px;width:38px;height:38px}}@container game (max-width: 390px) and (orientation: portrait){.city-building-sheet{top:calc(var(--game-height) * .435)}.city-building-portrait{left:11px;width:96px}.city-building-sheet-heading{min-height:94px;padding-left:112px}.city-building-sheet h2{font-size:1.55rem}}@container game (max-height: 720px) and (orientation: portrait){.city-building-sheet{top:calc(var(--game-height) * .37);padding:10px 8px 8px}.city-building-portrait{top:11px;left:10px;width:72px}.city-building-sheet-heading{min-height:70px;padding:5px 35px 4px 84px}.city-building-sheet-heading>span{font-size:.58rem}.city-building-sheet h2{font-size:1.34rem}.city-building-sheet-heading small{padding:2px 6px;font-size:.56rem}.city-building-sheet-copy,.townhall-project{gap:3px}.townhall-project-title{font-size:.65rem}.townhall-project-title strong{font-size:.9rem}.townhall-progress-track{height:7px}.townhall-resource{grid-template-columns:32px minmax(0,1fr) 10px auto;min-height:35px;gap:4px;padding:1px 7px 1px 2px}.townhall-resource-icon{width:30px;height:30px}.townhall-resource-copy strong{font-size:.78rem}.townhall-resource-copy small{font-size:.52rem}.townhall-resource-amount{min-width:39px;font-size:.82rem}.city-building-reward{grid-template-columns:33px minmax(0,1fr);min-height:37px;padding-block:1px}.city-building-reward-icon{width:31px}.city-building-reward small{font-size:.52rem}.city-building-reward-benefits strong{font-size:.76rem}.townhall-contribute{min-height:41px;font-size:.98rem}.city-building-close{top:12px;right:11px;width:34px;height:34px}}.city-building-sheet{overflow:visible auto;border-width:1px;border-color:#ffd984e6;border-radius:15px 15px 8px 8px;box-shadow:0 0 0 3px #1d0d03,0 0 0 6px #9b5a18,0 0 0 8px #3a1905,0 -7px 30px #ffb72b33,0 20px 46px #000000c2,inset 0 0 0 2px #ffe19238,inset 0 0 0 5px #3a1906b8,inset 0 0 0 7px #d4963240,inset 0 0 52px #0000003d}.city-building-sheet:before{top:11px;right:11px;bottom:11px;left:11px;border:1px solid rgba(255,219,132,.58);border-radius:7px;background:linear-gradient(135deg,rgba(245,188,74,.14),transparent 13% 87%,rgba(245,188,74,.1)),linear-gradient(45deg,rgba(10,49,65,.16),transparent 30% 70%,rgba(10,49,65,.16));box-shadow:0 0 0 2px #291104db,0 0 0 4px #cb8b252e,inset 0 0 20px #f9be4a0d}.city-building-sheet:after{right:auto;bottom:-75px;left:50%;z-index:5;width:250px;height:125px;background:url(/assets/royalforge/city-hub/panel-crest-v1.png) center / contain no-repeat;clip-path:none;content:"";filter:drop-shadow(0 4px 4px rgba(0,0,0,.68));opacity:.95;transform:translate(-50%) rotate(180deg)}.city-building-sheet-ornament{top:-112px;z-index:5;width:min(470px,54%);height:235px;border:0;background:url(/assets/royalforge/city-hub/panel-crest-v1.png) center / contain no-repeat;box-shadow:none;clip-path:none;filter:drop-shadow(0 6px 5px rgba(0,0,0,.7)) drop-shadow(0 0 8px rgba(255,184,47,.2))}.city-building-sheet-corner{width:216px;height:216px;border:0;border-radius:0;background:url(/assets/royalforge/city-hub/panel-corner-v1.png) left top / contain no-repeat;filter:drop-shadow(0 5px 4px rgba(0,0,0,.7)) drop-shadow(0 0 5px rgba(255,188,47,.18))}.city-building-sheet-corner.is-top-left{top:-20px;left:-20px;border:0}.city-building-sheet-corner.is-top-right{top:-20px;right:-20px;border:0;transform:scaleX(-1)}.city-building-sheet-corner.is-bottom-left{bottom:-20px;left:-20px;border:0;transform:scaleY(-1)}.city-building-sheet-corner.is-bottom-right{right:-20px;bottom:-20px;border:0;transform:scale(-1)}.city-building-close{z-index:7}@container game (orientation: portrait){.city-building-sheet{border-radius:12px 12px 5px 5px}.city-building-sheet-ornament{top:-90px;width:320px;height:160px}.city-building-sheet-corner{width:174px;height:174px}.city-building-sheet-corner.is-top-left{top:-18px;left:-18px}.city-building-sheet-corner.is-top-right{top:-18px;right:-18px}.city-building-sheet-corner.is-bottom-left{bottom:-18px;left:-18px}.city-building-sheet-corner.is-bottom-right{right:-18px;bottom:-18px}.city-building-sheet:after{bottom:-58px;width:210px;height:105px}}@container game (max-height: 720px) and (orientation: portrait){.city-building-sheet-ornament{top:-67px;width:240px;height:120px}.city-building-sheet-corner{width:126px;height:126px}.city-building-sheet:after{bottom:-45px;width:164px;height:82px}}@container game (orientation: portrait){.city-building-sheet-copy{height:100%;grid-template-rows:auto minmax(0,1fr)}.townhall-project{height:100%;grid-template-rows:auto auto minmax(0,1fr) auto}.townhall-resources{min-height:0;grid-auto-rows:minmax(45px,1fr)}.city-building-project-footer{align-self:end}}@container game (max-height: 720px) and (orientation: portrait){.townhall-resources{grid-auto-rows:minmax(35px,1fr)}}.city-building-marker:before{display:none}.city-building-sheet{overflow:visible;overscroll-behavior:none}@container game (orientation: portrait){.city-building-sheet{top:auto}.city-building-sheet-copy{height:auto;grid-template-rows:auto auto}.townhall-project{height:auto;grid-template-rows:auto auto auto auto}.townhall-resources{grid-auto-rows:minmax(45px,auto)}.city-building-project-footer{align-self:auto;padding-top:4px}}@container game (max-width: 390px) and (orientation: portrait){.city-building-portrait{width:86px}.city-building-sheet-heading{min-height:96px;padding-top:7px;padding-left:102px}.townhall-project{gap:6px}.townhall-resources{gap:5px;grid-auto-rows:41px}.townhall-resource{min-height:41px}.townhall-resource-icon{width:33px;height:33px}.city-building-project-footer{gap:5px;padding-top:3px}.city-building-reward{min-height:43px}.townhall-contribute{min-height:44px}}.city-hub-screen.has-building-selection{z-index:31}.city-building-modal-backdrop{position:absolute;z-index:9;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 44%,rgba(7,25,35,.14),transparent 42%),#03090eb3;-webkit-backdrop-filter:blur(1.5px) saturate(.72);backdrop-filter:blur(1.5px) saturate(.72);animation:city-modal-backdrop-arrive .18s ease-out both}.city-building-sheet{top:50%;right:auto;bottom:auto;left:50%;width:min(980px,calc(100% - 44px));max-height:calc(var(--game-height) - 64px);margin:0;animation:city-modal-arrive .24s cubic-bezier(.2,.78,.24,1) both;transform:translate(-50%,-50%)}@keyframes city-modal-backdrop-arrive{0%{opacity:0}}@keyframes city-modal-arrive{0%{opacity:0;transform:translate(-50%,-47%) scale(.965)}to{opacity:1;transform:translate(-50%,-50%) scale(1)}}@container game (orientation: portrait){.city-building-sheet{top:50%;right:auto;bottom:auto;left:50%;width:min(560px,calc(100% - 30px));max-height:calc(var(--game-height) - 72px)}.city-building-sheet-copy{max-height:calc(var(--game-height) - 104px);padding-right:2px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#bd8230 rgba(7,22,30,.65);scrollbar-width:thin}}@media(prefers-reduced-motion:reduce){.city-building-modal-backdrop,.city-building-sheet{animation:none}}.city-hub-status{pointer-events:auto;cursor:pointer;font:inherit;text-align:left}.city-hub-status:after{content:"›";margin-left:5px;color:#f1c86d}.city-hub-status:focus-visible,.city-townhall-tabs button:focus-visible,.city-resident:focus-visible,.city-residents-message button:focus-visible{outline:2px solid #fff0a0;outline-offset:3px}.city-townhall-tabs{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:5px 0 10px}.city-townhall-tabs button,.city-residents-message button{min-height:40px;padding:7px 12px;border:1px solid #c79a47;border-radius:5px;background:#0b293b;color:#ead6a6;font:700 1rem Royal Display,Georgia,serif;cursor:pointer}.city-townhall-tabs button[aria-selected=true]{background:linear-gradient(180deg,#2267a1,#123b64);border-color:#f1cd80;color:#fff2c9;box-shadow:inset 0 1px #fff3}.city-residents-summary{margin:0 0 10px;color:#e1cea8}.city-residents-summary strong{color:#fff0bd}.city-residents-list{display:grid;gap:7px;max-height:none;overflow:visible;overscroll-behavior:contain;margin:0;padding:0;list-style:none;scrollbar-width:thin;scrollbar-color:#c19650 #0b2534}.city-resident{display:grid;grid-template-columns:34px minmax(0,1fr) 12px;align-items:center;gap:9px;width:100%;min-height:76px;padding:9px 10px;border:1px solid rgb(204 165 86 / 55%);border-radius:6px;background:linear-gradient(110deg,#14374a,#0a2332);color:#f9e7bc;cursor:pointer;text-align:left}.city-resident.is-viewer{border-color:#efc770;background:linear-gradient(110deg,#334a43,#123748)}.city-resident-crest{display:grid;width:32px;aspect-ratio:1;place-items:center;border:1px solid #d2a759;border-radius:50%;background:#123f64;color:#f3d183;font-size:1.2rem}.city-resident-copy{display:grid;min-width:0;gap:3px}.city-resident-copy strong{font:700 1rem Royal Display,Georgia,serif;overflow-wrap:anywhere}.city-resident-copy>span{color:#e3c787;font-size:.73rem}.city-resident-copy small{color:#b8cbd0;font-size:.68rem}.city-residents-message{padding:12px 0;color:#ead9b5}.city-completion-notice{position:absolute;z-index:8;top:94px;left:50%;display:flex;align-items:center;gap:10px;width:min(460px,calc(100% - 30px));padding:12px;border:2px solid #d4ac59;border-radius:8px;background:#123a55;color:#fff0c2;box-shadow:0 5px 20px #00000059;transform:translate(-50%)}.city-completion-notice button{flex:0 0 32px;min-height:32px;border:1px solid #d4ac59;border-radius:50%;background:#0b2438;color:#fff0c2;cursor:pointer;font-size:1.2rem}.townhall-resources{grid-auto-rows:auto}.townhall-resource.is-selectable{grid-template-columns:38px minmax(0,1fr) auto;min-height:100px;gap:4px 8px;padding:8px 4px;border:0;border-bottom:1px solid rgb(157 185 203 / 22%);border-radius:0;background:transparent;box-shadow:none}.townhall-resource.is-selectable.has-selection{background:#68b4e112;box-shadow:none}.townhall-resource.is-selectable.is-complete{min-height:82px;padding:10px 8px;border-bottom-color:#7dcc9359;border-radius:5px;background:linear-gradient(90deg,#3c8b5b3d,#24644317);box-shadow:inset 3px 0 #79c88c}.city-resource-complete{display:grid;min-width:0;gap:4px;color:#a6e9b4;font-size:.78rem;font-weight:700;line-height:1.3;text-align:right}.city-resource-complete strong{color:#d3f3d7;font-size:.9rem;overflow-wrap:anywhere}.townhall-resource.is-selectable .townhall-resource-icon{width:36px;height:36px}.townhall-resource.is-selectable .townhall-resource-copy small{display:grid;gap:1px;font-size:.76rem;color:#b9ced3;line-height:1.4}.city-contribution-quantity{display:grid;min-width:66px;gap:2px;white-space:nowrap;color:#c6dbe7;font:.76rem Forge Sans,Arial,sans-serif;text-align:right}.city-contribution-quantity strong{color:#bde5ff;font:700 1.4rem Royal Display,Georgia,serif;text-shadow:none}.city-contribution-slider{grid-column:1 / -1;display:grid;grid-template-columns:34px minmax(0,1fr) 34px;align-items:center;gap:9px}.city-contribution-slider button{display:grid;width:34px;height:34px;padding:0;place-items:center;border:1px solid #7797ad;border-radius:7px;background:linear-gradient(#3b7293,#15425f 55%,#0c2c43);box-shadow:inset 0 1px 2px #ffffff4d,0 2px 3px #0000004d;color:#e5f4ff;cursor:pointer;font:700 1.3rem Georgia,serif;line-height:1}.city-contribution-slider input{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:34px;margin:0;background:transparent;cursor:pointer;touch-action:pan-y}.city-contribution-slider input::-webkit-slider-runnable-track{height:10px;border:1px solid #638aa4;border-radius:12px;background:linear-gradient(90deg,#64b7e5 0%,#64b7e5 var(--contribution-fill),#10283b var(--contribution-fill),#10283b 100%);box-shadow:inset 0 2px 3px #00000073,0 1px #ffffff1f}.city-contribution-slider input::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:23px;height:23px;margin-top:-8px;border:2px solid #c0e5fa;border-radius:50%;background:radial-gradient(circle at 35% 25%,#78b7d4,#2d6a91 48%,#12364f);box-shadow:0 2px 5px #0009,inset 0 1px 2px #fff9}.city-contribution-slider input::-moz-range-track{height:8px;border:1px solid #638aa4;border-radius:12px;background:#10283b}.city-contribution-slider input::-moz-range-progress{height:8px;border-radius:12px;background:#64b7e5}.city-contribution-slider input::-moz-range-thumb{width:19px;height:19px;border:2px solid #c0e5fa;border-radius:50%;background:radial-gradient(circle at 35% 25%,#78b7d4,#2d6a91 48%,#12364f)}.city-contribution-slider :disabled{opacity:.3;box-shadow:none;cursor:default}.city-contribution-slider :focus-visible{outline:2px solid #fff0a0;outline-offset:2px;border-radius:8px}.city-contribution-limit.is-error{grid-column:1 / -1;color:#efb3a1;font-size:.72rem}.city-contribution-summary{grid-column:1 / -1;margin:0;padding:6px 4px;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 8px;color:#d7e6ee;font-size:.82rem;line-height:1.4}.city-contribution-summary>strong{color:#bde5ff;font-size:1.05rem}.city-contribution-summary>small{flex-basis:100%;color:#aebfc9;font-size:.75rem}.city-building-project-footer .city-building-reward-benefits{display:flex;flex-wrap:wrap;gap:3px 8px}.city-building-project-footer .city-building-reward-benefits strong{overflow:visible;white-space:normal;text-overflow:clip}@container game (orientation: landscape) and (min-width: 900px){.city-building-sheet-heading{padding-top:58px}.townhall-resources{grid-template-columns:repeat(2,minmax(0,1fr))}}@container game (orientation: portrait){.city-building-sheet-heading{padding-top:29px;padding-bottom:10px}.city-building-sheet h2{font-size:clamp(1.3rem,calc(var(--game-width) * .06),1.65rem);line-height:1.06}.city-building-sheet-copy{display:flex;flex-direction:column;overflow:visible}.city-building-sheet-heading,.city-townhall-tabs{flex-shrink:0}.city-building-sheet-copy>div:last-child{min-height:0;padding:8px 10px 14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#bd8230 rgba(7,22,30,.65);scrollbar-width:thin}}@container game (max-width: 390px){.townhall-resource.is-selectable{grid-template-columns:32px minmax(0,1fr) auto;min-height:96px;column-gap:6px;padding:6px 8px 4px}.townhall-resource.is-selectable .townhall-resource-icon{width:30px;height:30px}.city-contribution-quantity strong{font-size:1.18rem}}@container game (orientation: landscape){.city-building-sheet-copy{display:flex;flex-direction:column;min-height:0;max-height:calc(var(--game-height) - 104px)}.city-building-sheet-heading,.city-townhall-tabs{flex-shrink:0}.city-building-sheet-copy>div:last-child{min-height:0;padding:8px 10px 14px;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#bd8230 rgba(7,22,30,.65);scrollbar-width:thin}}.city-townhall-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.city-townhall-tabs button{min-width:0;white-space:normal;overflow-wrap:anywhere}.city-governance-viewer,.city-member-permission-note{margin:4px 0 10px;color:#c5dce1;font-size:.8rem;line-height:1.5}.city-governance-viewer span{display:block}.city-member-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 4px 14px}.city-exit button,.city-member-actions button,.city-governance-confirm button,.city-governance-message button,.city-residents>button,.city-residents [role=alert] button{min-height:40px;max-width:100%;padding:8px 12px;border:1px solid #648ba3;border-radius:6px;background:linear-gradient(#235573,#10364b);color:#e1edf2;font:700 .78rem Forge Sans,Arial,sans-serif;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.city-exit .is-danger,.city-member-actions .is-danger{color:#ffcbba;border-color:#ad7964}.city-exit button:disabled,.city-member-actions button:disabled,.city-governance-confirm button:disabled{opacity:.45;cursor:default}.city-member-permission{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;color:#dcdfbd;font-size:.8rem;line-height:1.4}.city-member-permission input{width:22px;height:22px;flex:0 0 22px;accent-color:#4797b9}.city-member-permission-note{padding-left:8px}.city-governance-confirm,.city-governance-message{padding:12px;margin:10px 0;border:1px solid #c09c56;border-radius:7px;background:#112f3d;color:#f6e6c4;font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}.city-governance-confirm p{margin:10px 0;font-size:.82rem;line-height:1.5}.city-governance-confirm>div{display:flex;flex-wrap:wrap;gap:8px}.city-governance-message button{display:block;margin-top:8px}.city-governance-rules p{margin:8px 0;font-size:.84rem;line-height:1.5}.city-residents h3{margin:16px 0 8px;color:#f1d496;font-size:1rem}.city-governance-leaders,.city-governance-history{margin:0;padding:0;list-style:none}.city-governance-leaders li,.city-governance-history li{display:grid;gap:5px;padding:12px 4px;border-bottom:1px solid #446173;font-size:.82rem;line-height:1.4;overflow-wrap:anywhere}.city-governance-leaders span,.city-governance-history span,.city-governance-history time{color:#c0d4dd}.city-resident-copy>strong{white-space:normal;overflow-wrap:anywhere;overflow:visible}@container game (orientation: portrait){.city-townhall-tabs button{padding:8px 3px;font-size:clamp(.7rem,calc(var(--game-width) * .03),.88rem)}}.city-exit{padding:0 4px 16px;border-bottom:1px solid #446173}.city-exit p,.city-exit label{font-size:.84rem;line-height:1.5;overflow-wrap:anywhere}.city-exit label{display:block;margin:12px 0 6px}.city-exit select{display:block;width:100%;min-width:0;min-height:44px;padding:8px;border:1px solid #648ba3;border-radius:6px;background:#10364b;color:#e1edf2;font:inherit;font-size:.84rem}.city-exit-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}.city-building-sheet:has(.city-residents){display:block;width:min(560px,calc(100% - 40px));max-height:calc(var(--game-height) - 100px);padding:28px 20px 22px}.city-building-sheet:has(.city-residents) .city-building-sheet-copy{display:flex;flex-direction:column;max-height:calc(var(--game-height) - 154px);min-height:0;padding:0}.city-building-sheet:has(.city-residents) .city-building-portrait{position:absolute;top:30px;left:24px;width:88px;height:88px}.city-building-sheet:has(.city-residents) .city-building-sheet-heading{flex-shrink:0;min-height:100px;padding:10px 38px 12px 102px}.city-building-sheet:has(.city-residents) .city-building-sheet-heading h2{font-size:clamp(1.6rem,calc(var(--game-width) * .06),2.25rem)}.city-building-sheet:has(.city-residents) .city-townhall-tabs{flex-shrink:0;margin:0 0 12px;gap:0}.city-building-sheet:has(.city-residents) .city-townhall-tabs button{min-height:44px;border-color:#506976;border-radius:5px;font-size:clamp(.75rem,calc(var(--game-width) * .028),.95rem)}.city-building-sheet:has(.city-residents) .city-townhall-tabs button[aria-selected=true]{border-color:#85b5d1;box-shadow:inset 0 -2px #71c7f8}.city-building-sheet:has(.city-residents) [role=tabpanel]{min-height:0;overflow:auto;overscroll-behavior:contain;padding:4px 6px 10px;scrollbar-width:thin;scrollbar-color:#7b755b transparent}.city-building-sheet:has(.city-member-editor) .city-building-portrait,.city-building-sheet:has(.city-member-editor) .city-building-sheet-heading,.city-building-sheet:has(.city-member-editor) .city-townhall-tabs{display:none}.city-residents-overview{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:12px;border:1px solid #36586b;border-radius:8px;background:#21425559}.city-residents-overview p{margin:0;font-size:.8rem}.city-residents-summary strong{font-size:1rem}.city-resident-group-title{display:flex;align-items:center;gap:10px;padding-bottom:9px;border-bottom:1px solid #375361;font-family:Royal Display,Georgia,serif}.city-resident-group-title span{margin-left:auto;color:#a7bdc7;font:400 .78rem Forge Sans,Arial,sans-serif}.city-resident-empty{margin:12px 0;color:#a8becb;font-size:.78rem;line-height:1.5}.city-residents-list{gap:0}.city-residents-list>li{position:relative}.city-resident-row{display:flex;align-items:center;min-width:0;border-bottom:1px solid rgb(70 102 119 / 50%)}.city-resident-row.is-viewer{background:linear-gradient(90deg,rgb(188 154 70 / 10%),transparent)}.city-resident-row.is-open{background:#2a5a7838}.city-resident-row .city-resident{grid-template-columns:48px minmax(0,1fr);gap:12px;flex:1;min-width:0;min-height:84px;padding:12px 6px;border:0;background:transparent}.city-resident-crest{width:48px;border:2px solid #c89c50;box-shadow:0 0 0 2px #061923,inset 0 0 14px #020c15;background:radial-gradient(circle at 40% 30%,#254e71,#061923);overflow:hidden}.city-resident-crest img{width:100%;height:100%;object-fit:contain}.city-resident-copy{gap:7px}.city-resident-copy strong{font-size:1.03rem;line-height:1.2}.city-resident-copy .city-resident-joined{display:none}.city-resident-copy .city-member-badge,.city-member-badge{display:inline-block;justify-self:start;width:fit-content;max-width:100%;padding:3px 9px;border:1px solid #486879;border-radius:20px;background:#153143;color:#b9d1df;font:600 .72rem Forge Sans,Arial,sans-serif;line-height:1.4}.city-resident-copy .city-member-badge.is-mayor{background:linear-gradient(110deg,#e2be7d,#b68a48);border-color:#dabb77;color:#172b36}.city-member-trigger{flex:0 0 44px;width:44px;min-height:44px;margin:0 2px 0 6px;padding:0;border:1px solid #4d738a;border-radius:8px;background:linear-gradient(#214358,#122d40);color:#c9dce8;cursor:pointer;font:700 1.6rem Georgia,serif;line-height:1}.city-member-trigger[aria-expanded=true]{background:#285d7c;border-color:#d7b96e}.city-member-trigger:disabled{opacity:.45;cursor:default}.city-member-trigger:focus-visible,.city-member-panel button:focus-visible,.city-member-editor button:focus-visible,.city-member-editor input:focus-visible+span{outline:2px solid #f4d58d;outline-offset:2px}.city-member-panel{position:absolute;z-index:4;top:68px;right:2px;width:min(294px,100%);padding:8px 12px;border:1px solid #d2ad62;border-radius:10px;background:linear-gradient(135deg,#163b4d,#061c29);box-shadow:0 12px 30px #0009,inset 0 0 0 3px #96743926;overflow-wrap:anywhere}.city-member-panel-heading{display:flex;align-items:center;gap:8px;color:#c5d5db;font-size:.75rem}.city-member-panel-heading>strong{flex:1;min-width:0}.city-member-panel .city-member-panel-close{min-width:36px;min-height:36px;padding:0;font-size:1.3rem}.city-member-panel button{min-height:44px;padding:10px 2px;border:0;border-radius:0;background:transparent;color:#e4edf1;font:500 .8rem Forge Sans,Arial,sans-serif;line-height:1.5;white-space:normal;overflow-wrap:anywhere;cursor:pointer}.city-member-panel button:disabled{opacity:.45;cursor:default}.city-member-panel .city-member-actions{display:grid;gap:0;padding:0}.city-member-panel .city-member-actions button{display:flex;align-items:center;gap:12px;text-align:left;border-top:1px solid #3c59675c}.city-member-actions button>span{flex:0 0 22px;color:#cfae6b;font-size:1.35rem;text-align:center}.city-member-panel .is-danger,.city-member-panel .is-danger>span{color:#ef998b}.city-member-panel button:hover{color:#fff2c9}.city-member-editor{padding:0 4px 4px;color:#d4e1e5}.city-member-editor>h2{margin:4px 34px 16px 0;color:#fff0c9;font:700 clamp(1.3rem,calc(var(--game-width) * .05),1.65rem) "Royal Display",Georgia,serif}.city-member-editor button{min-height:44px;max-width:100%;cursor:pointer;font:600 .85rem Forge Sans,Arial,sans-serif;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.city-member-editor button:disabled{opacity:.45;cursor:default}.city-member-back{padding:0 8px 8px 0;border:0;background:none;color:#ddc08a}.city-member-identity{display:grid;justify-items:center;gap:10px;padding:4px 0 20px;border-bottom:1px solid #8a734e80;text-align:center}.city-member-identity .city-resident-crest{width:92px}.city-member-identity h3{margin:2px 0 0;font:700 1.45rem Royal Display,Georgia,serif;overflow-wrap:anywhere}.city-member-identity small{color:#a4c0cf;font-size:.74rem}.city-member-role,.city-member-rights{min-width:0;margin:20px 0 0;padding:0;border:0}.city-member-role legend,.city-member-rights legend{padding:0 0 10px;color:#f0ddb1;font:700 1.15rem Royal Display,Georgia,serif}.city-member-role-options{display:grid;grid-template-columns:1fr 1fr}.city-member-role-options label{position:relative;min-width:0;cursor:pointer}.city-member-role-options input{position:absolute;opacity:0}.city-member-role-options span{display:flex;align-items:center;justify-content:center;gap:8px;min-height:48px;padding:6px;border:1px solid #527489;border-radius:7px;background:#102d3e;font-size:.82rem}.city-member-role-options i{font-style:normal;font-size:1.35rem}.city-member-role-options input:checked+span{border-color:#e4bf75;color:#fff0cc;background:linear-gradient(#226cba,#12417b);box-shadow:inset 0 0 0 2px #6098c533}.city-member-role-options input:disabled+span{opacity:.6;cursor:default}.city-member-rights label{position:relative;display:flex;align-items:center;gap:12px;padding:14px 12px;border:1px solid #507487;border-radius:7px;background:#163446;cursor:pointer}.city-member-rights label>span:first-child{flex:1;min-width:0}.city-member-rights strong{display:block;color:#e5edf1;font-size:.87rem}.city-member-rights small{display:block;margin-top:5px;color:#acc5d3;font-size:.75rem;line-height:1.5}.city-member-rights input{position:absolute;right:12px;width:44px;height:28px;opacity:0}.city-member-switch{flex:0 0 44px;height:28px;border:1px solid #698a9c;border-radius:20px;background:#294555}.city-member-switch:after{content:"";display:block;width:20px;height:20px;margin:3px;border-radius:50%;background:#dce7eb;transition:transform .12s ease}.city-member-rights input:checked+.city-member-switch{background:#176dcc;border-color:#569cef}.city-member-rights input:checked+.city-member-switch:after{transform:translate(16px);background:#fff3d7}.city-member-rights:disabled label{opacity:.5;cursor:default}.city-member-editor .city-member-rights-note{margin:10px 0 16px;color:#a8c1cf;font-size:.76rem;line-height:1.55}.city-member-save{display:block;width:100%;padding:12px;border:1px solid #e2b958;border-radius:6px;background:linear-gradient(#276cb8,#0d3975);box-shadow:inset 0 0 0 2px #97b9d42e;color:#fff1cf}.city-member-transfer{display:flex;align-items:center;gap:12px;width:100%;margin-top:16px;padding:10px 12px;border:1px solid #4a6a7b;border-radius:6px;background:#153346;color:#e5e9df;text-align:left}.city-member-transfer span:first-child{color:#dfbd74;font-size:1.4rem}.city-member-transfer span:last-child{margin-left:auto;font-size:1.3rem}.city-member-remove{display:block;width:100%;margin-top:16px;padding:10px;border:0;border-top:1px solid #425c69;border-radius:0;background:transparent;color:#f19a88}.city-member-cancel{display:block;width:100%;padding:10px;border:0;background:none;color:#abc4d2}@container game (max-width: 390px){.city-building-sheet:has(.city-residents){width:calc(100% - 32px);padding:24px 12px 18px}.city-building-sheet:has(.city-residents) .city-building-portrait{left:18px;width:72px;height:72px}.city-building-sheet:has(.city-residents) .city-building-sheet-heading{padding-left:86px;min-height:92px}.city-resident-row .city-resident{grid-template-columns:40px minmax(0,1fr);gap:8px}.city-resident-crest{width:40px}.city-resident-copy strong{font-size:.95rem}.city-member-identity .city-resident-crest{width:72px}}@media(prefers-reduced-motion:reduce){.city-member-switch:after{transition:none}}.city-member-editor>h2:focus{outline:none}.city-member-identity .city-member-badge{justify-self:center}.city-townhall-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}.city-building-sheet:has(.city-admission){display:block;width:min(560px,calc(100% - 40px));max-height:calc(var(--game-height) - 100px);padding:28px 20px 22px}.city-building-sheet:has(.city-admission) .city-building-sheet-copy{display:flex;flex-direction:column;max-height:calc(var(--game-height) - 154px);min-height:0;padding:0}.city-building-sheet:has(.city-admission) .city-building-portrait{position:absolute;top:30px;left:24px;width:88px;height:88px}.city-building-sheet:has(.city-admission) .city-building-sheet-heading{flex-shrink:0;min-height:100px;padding:10px 38px 12px 102px}.city-building-sheet:has(.city-admission) .city-building-sheet-heading h2{font-size:clamp(1.6rem,calc(var(--game-width) * .06),2.25rem)}.city-building-sheet:has(.city-admission) .city-townhall-tabs{flex-shrink:0}.city-building-sheet:has(.city-admission) [role=tabpanel]{min-height:0;overflow:auto;padding:4px 6px 10px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#7b755b transparent}.city-admission{min-width:0;color:#dce8ed;font:400 .86rem Forge Sans,Arial,sans-serif;line-height:1.5;overflow-wrap:anywhere}.city-admission h2,.city-admission h3{margin:12px 0;color:#f2d9a4;font-family:Royal Display,Georgia,serif;line-height:1.3}.city-admission h2{font-size:1.3rem}.city-admission h3{font-size:1.15rem}.city-admission button,.city-admission select,.city-admission input,.city-admission textarea,.city-dialog select{max-width:100%;min-height:44px;border:1px solid #52758a;border-radius:7px;background:linear-gradient(#214b66,#102c3e);color:#e3edf2;font:600 .82rem Forge Sans,Arial,sans-serif;line-height:1.4}.city-admission button{padding:10px 13px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.city-admission button:disabled{opacity:.45;cursor:default}.city-admission button:focus-visible,.city-admission select:focus-visible,.city-admission input:focus-visible,.city-admission textarea:focus-visible,.city-dialog select:focus-visible{outline:2px solid #f2ce85;outline-offset:2px}.city-admission label{display:grid;gap:8px;margin:12px 0;color:#ecd8af}.city-admission select,.city-admission input,.city-admission textarea,.city-dialog select{display:block;width:100%;min-width:0;padding:10px;background:#102c3d;color-scheme:dark}.city-admission textarea{min-height:100px;resize:vertical}.city-admission p,.city-building-sheet .city-admission p{margin:10px 0;line-height:1.5;font-size:.82rem;color:#bdd1dc}.city-admission small{display:block;color:#a3bfce;font-size:.75rem;line-height:1.5}.city-admission-access{padding:12px;border:1px solid #405e70;border-radius:8px;background:#143141}.city-admission-access form{display:grid;gap:10px;margin-bottom:12px}.city-admission-access label{margin:0}.city-admission .is-quiet,.city-admission .city-admission-history-toggle{background:transparent;border-color:#3c5a6b;color:#b8ceda}.city-admission-inbox{margin:0 0 18px;padding:14px;border:1px solid #3e5e71;border-radius:10px;background:linear-gradient(130deg,#143b50ee,#0b2436f5)}.city-admission-inbox>h2{margin-top:0}.city-admission .city-admission-feedback{padding:12px;border:1px solid #887950;border-radius:7px;color:#eddbaf;background:#173748}.city-admission-filter,.city-admission-actions{display:flex;flex-wrap:wrap;gap:8px;margin:14px 0 4px}.city-admission-filter button{flex:1;min-width:80px;padding:8px 6px}.city-admission-filter button[aria-pressed=true]{background:linear-gradient(#2365a1,#133f6c);border-color:#a0bcd1;color:#fff0d0;box-shadow:inset 0 -2px #74bfff}.city-admission-entry{margin-top:12px;padding:14px 0;border-bottom:1px solid #3c5c6c}.city-admission-entry-heading{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.city-admission .city-admission-name{display:block;min-height:36px;padding:2px 0;text-align:left;border:0;background:none;color:#f3deb5;font:700 1rem Royal Display,Georgia,serif}.city-admission .city-admission-name:disabled{opacity:1}.city-admission-status{padding:2px 7px;border:1px solid #5b7683;border-radius:12px;font-size:.68rem;color:#c1d5df}.city-admission-status.is-accepted{border-color:#6c9964;color:#b6dfa5}.city-admission-status.is-pending{border-color:#aa8d53;color:#edd198}.city-admission-letter{padding:10px;border-radius:6px;background:#061b2977;white-space:pre-wrap}.city-admission .city-admission-history-toggle{margin-top:12px}.city-recruit-profile{padding:14px;border:1px solid #536a70;border-radius:9px;background:#0c2d40e8}.city-recruit-profile>button{margin:4px 8px 4px 0}.city-public-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100;display:grid;place-items:center;padding:20px;background:#020e19c9;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.city-public-dialog{position:relative;width:min(460px,100%);max-height:calc(var(--game-height) - 40px);overflow:auto;padding:24px;border:1px solid #c69a48;border-radius:12px;background:linear-gradient(140deg,#173c50,#061d2c);box-shadow:0 12px 60px #000a,inset 0 0 0 3px #b58d441a}.city-public-dialog>h2{margin:8px 32px 16px 0}.city-admission .city-public-close{position:absolute;right:10px;top:10px;width:40px;min-height:40px;padding:0;border-radius:50%;font-size:1.5rem}.city-public-dialog form>button{width:100%}.city-access-label{display:block;color:#e2ca8b;font-size:.65rem}.city-row-copy>small{display:block;margin-top:6px;color:#bfd0d6;font-size:.75rem}.city-member-rights label+label{margin-top:10px}@container game (max-width: 600px){.city-townhall-tabs{grid-template-columns:repeat(2,minmax(0,1fr));gap:4px}.city-building-sheet:has(.city-residents) .city-townhall-tabs{gap:4px}.city-admission-actions>button{flex:1}}@container game (max-width: 390px){.city-building-sheet:has(.city-admission){width:calc(100% - 32px);padding:24px 12px 18px}.city-building-sheet:has(.city-admission) .city-building-portrait{left:18px;width:72px;height:72px}.city-building-sheet:has(.city-admission) .city-building-sheet-heading{padding-left:86px;min-height:92px}}.city-building-sheet.is-townhall .city-townhall-tabs button{padding:8px 4px;font-size:clamp(.75rem,calc(var(--game-width) * .026),.88rem);white-space:nowrap;overflow-wrap:normal}.city-treasury-shortcut{position:absolute;right:clamp(12px,calc(var(--game-width) * .03),32px);bottom:calc(var(--bottom-menu-total) + 15px);z-index:4;display:grid;gap:3px;max-width:min(48%,240px);padding:10px 14px;color:#fff2c8;background:linear-gradient(135deg,#123e4c,#082632);border:1px solid #c18b32;border-radius:10px;box-shadow:0 3px 12px #0008;text-align:left}.city-treasury-shortcut>span{font-size:13px;color:#e6b95c;font-weight:700}.city-treasury-shortcut strong{font-size:17px}.city-treasury-shortcut small{font-size:10px;color:#c3d7dc;line-height:1.35}.city-treasury-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:80;background:#020d16b8;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.city-treasury-dialog{position:fixed;z-index:81;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(560px,calc(100% - 24px));max-height:calc(var(--game-height) - 28px);display:flex;flex-direction:column;overflow:hidden;padding:24px;color:#f9eecf;background:radial-gradient(ellipse at top,#174855,#08252f 70%);border:2px solid #d6a84e;border-radius:18px;box-shadow:0 0 0 4px #14272e,0 0 0 5px #765321,0 24px 100px #000a}.city-treasury-dialog>header{padding:0 42px 16px 0}.city-treasury-dialog>header>span{font-size:11px;color:#e2b65c;text-transform:uppercase;letter-spacing:.04em}.city-treasury-dialog h2{font-family:"Forge Serif",Georgia,serif;font-size:32px;margin:4px 0}.city-treasury-dialog header p{margin:0;color:#bed3d8;font-size:14px;overflow-wrap:anywhere}.city-treasury-close{position:absolute;right:16px;top:16px;width:38px;height:38px;border:1px solid #d6a84e;border-radius:50%;background:#183944;color:#ffdc83;font-size:28px;line-height:1}.city-treasury-tabs,.city-funding-source{display:flex;gap:6px;margin-bottom:16px}.city-treasury-tabs button,.city-funding-source button{flex:1;min-width:0;padding:10px 6px;border:1px solid #52717a;border-radius:7px;background:#102f3b;color:#c5d7db;font-size:13px}.city-treasury-tabs button[aria-pressed=true],.city-funding-source button[aria-pressed=true]{border-color:#edc372;background:#315464;color:#fff1bc}.city-treasury-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;padding:2px 3px 4px;scrollbar-width:thin}.city-treasury-balances{display:grid;grid-template-columns:1fr 1fr;gap:10px}.city-treasury-balances>div{display:flex;align-items:center;gap:10px;padding:14px 10px;background:#163e49;border:1px solid #42616a;border-radius:10px;min-width:0}.city-treasury-balances .townhall-resource-icon,.city-treasury-deposit-row .townhall-resource-icon{display:block;position:static;flex:none;width:32px;height:32px}.city-treasury-balances>div>span:last-child{display:grid;gap:3px;min-width:0;font-size:13px}.city-treasury-balances strong{font-size:22px;overflow-wrap:anywhere}.city-treasury-balances small{color:#9fd287;font-size:11px}.city-treasury-note,.city-treasury-notice{font-size:13px;line-height:1.55;color:#c8dbe0;margin:14px 0;overflow-wrap:anywhere}.city-treasury-notice{padding:10px;border:1px solid #9b854d;background:#26474a;border-radius:7px}.city-treasury-deposit{padding:0;margin:0;border:0;display:grid;gap:12px}.city-treasury-deposit-row{padding:12px;background:#123540;border:1px solid #42616a;border-radius:9px}.city-treasury-deposit-row label{display:flex;align-items:center;gap:9px}.city-treasury-deposit-row p{display:flex;justify-content:space-between;gap:8px;flex-wrap:wrap;font-size:12px;color:#b9d1d7;margin:8px 0}.city-treasury-picker{display:flex;gap:8px}.city-treasury-picker button{width:36px;height:36px;border:1px solid #61828e;border-radius:7px;background:#214b5d;color:#f3daa0;font-size:21px}.city-treasury-picker input{min-width:0;width:100%;text-align:center;border:1px solid #61828e;border-radius:7px;background:#092733;color:#fff3d2;font-size:18px;font-variant-numeric:tabular-nums}.city-treasury-deposit-row>input[type=range]{width:100%;margin:12px 0 0;accent-color:#d5ae56}.city-treasury-dialog button:disabled{opacity:.45;cursor:default}.city-treasury-journal{list-style:none;padding:0;margin:0}.city-treasury-journal li{padding:13px 0;border-bottom:1px solid #42616a;display:grid;gap:7px;overflow-wrap:anywhere}.city-treasury-journal strong{font-size:14px;line-height:1.45}.city-treasury-journal li>div{display:flex;flex-wrap:wrap;gap:5px 12px;font-size:13px}.city-treasury-journal time{font-size:11px;color:#9ebac4;line-height:1.4}.city-treasury-journal .is-income{color:#a8dd86}.city-treasury-journal .is-expense{color:#ffd08a}.city-treasury-balances .is-coins .townhall-resource-icon,.city-treasury-deposit-row.is-coins .townhall-resource-icon{background-position:0 0}.city-treasury-balances .is-wood .townhall-resource-icon,.city-treasury-deposit-row.is-wood .townhall-resource-icon{background-position:100% 0}.city-treasury-balances .is-stone .townhall-resource-icon,.city-treasury-deposit-row.is-stone .townhall-resource-icon{background-position:0 100%}.city-treasury-balances .is-iron .townhall-resource-icon,.city-treasury-deposit-row.is-iron .townhall-resource-icon{background-position:100% 100%}@container game (max-width: 400px){.city-treasury-dialog{padding:18px 14px}.city-treasury-shortcut{padding:9px 10px;max-width:47%}.city-treasury-shortcut small{font-size:9px}.city-treasury-balances>div{gap:6px;padding:10px 8px}}.city-building-sheet:has(.city-residents),.city-building-sheet:has(.city-admission){height:min(560px,calc(var(--game-height) - 100px))}.city-building-sheet:has(.city-residents) .city-building-sheet-copy,.city-building-sheet:has(.city-admission) .city-building-sheet-copy{height:100%}.city-building-sheet:has(.city-residents) [role=tabpanel],.city-building-sheet:has(.city-admission) [role=tabpanel]{flex:1 1 auto;padding-bottom:28px}.city-building-sheet:has(.city-admission) .city-townhall-tabs{margin:0 0 12px}.city-landing-screen{position:relative;isolation:isolate;display:grid;grid-template-rows:auto minmax(0,1fr) auto;width:100%;height:var(--game-height);min-width:0;overflow:hidden;padding:12px 12px calc(var(--bottom-menu-total, 78px) + 8px);color:#fff3d2;background:#17130f}.cc-backdrop{position:absolute;z-index:-2;top:0;right:0;bottom:0;left:0;background:url(/assets/royalforge/cities/city-choice-forge-portrait-v2.webp) center / cover}.cc-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;content:"";background:linear-gradient(180deg,#0002,#090e13b8 65%,#090e13e8)}.cc-header{display:grid;gap:12px;padding-bottom:12px;min-width:0}.cc-wallet{display:flex;justify-self:end;align-items:center;gap:10px;min-height:42px;max-width:100%;padding:3px 5px 3px 10px;border:2px solid #c8953c;border-radius:24px;background:linear-gradient(#193744,#081b2a);box-shadow:inset 0 0 0 2px #eed08a22,0 3px 8px #0008}.cc-wallet .coin-icon{width:26px}.cc-wallet strong{font:700 22px/1 Royal Display,Georgia,serif;font-variant-numeric:tabular-nums;white-space:nowrap}.cc-wallet .coin-shop-plus{width:32px;height:32px;min-height:32px;margin:0;flex:none;font-size:30px}.cc-heading{text-align:center}.cc-heading h1,.cc-empty h1,.cc-preview h2,.cc-dialog h2,.cc-message h2{margin:0;color:#fff3d2;font-family:Royal Display,Georgia,serif;font-weight:700;text-shadow:0 2px 4px #000a}.cc-heading h1{font-size:clamp(25px,calc(var(--game-width) * .073),32px);line-height:1.08}.cc-heading p{margin:5px 0 0;font-size:14px;color:#e8d9b9}.cc-workspace{display:grid;min-height:0;min-width:0}.cc-browser{min-height:0;min-width:0;display:flex;flex-direction:column;gap:10px}.cc-tabs{display:grid;grid-template-columns:1fr 1fr;gap:3px;flex:none}.cc-tabs button{min-height:42px;border:1px solid #7e6c46;border-radius:6px;background:#081b25e8;color:#d9d8cb;font:700 19px/1 Royal Display,Georgia,serif}.cc-tabs button[aria-selected=true]{border-color:#e5b85b;background:linear-gradient(#1476b8,#0d3a67);color:#fff4d5;box-shadow:inset 0 0 0 2px #d8b76e30}.cc-cities-panel{display:flex;flex-direction:column;gap:10px;min-height:0}.cc-cities-panel[hidden],.cc-inbox-panel[hidden]{display:none}.cc-search{display:block;position:relative;flex:none}.cc-search input{display:block;width:100%;min-width:0;height:44px;padding:0 12px 0 42px;border:1px solid #b58b43;border-radius:6px;background:#0f1417ee;color:#fff4d7;font:16px Forge Sans,Arial,sans-serif}.cc-search input::placeholder{color:#d2cbbb;opacity:1}.cc-search-icon{position:absolute;width:15px;height:15px;border:2px solid #e0d6bf;border-radius:50%;left:14px;top:12px;pointer-events:none}.cc-search-icon:after{content:"";position:absolute;width:8px;height:2px;background:#e0d6bf;transform:rotate(45deg);right:-6px;bottom:-4px}.cc-scroll,.cc-inbox-panel{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#b18945 #081b25;padding:2px 3px 3px}.cc-list{display:grid;gap:9px}.cc-row{display:grid;grid-template-columns:64px minmax(0,1fr) auto;gap:9px;align-items:center;min-height:82px;width:100%;min-width:0;padding:5px 8px 5px 5px;text-align:left;color:#fff3d2;border:1px solid #947744;border-radius:8px;background:linear-gradient(120deg,#26332de8,#121a20f5 70%);box-shadow:0 3px 6px #0006}.cc-row.is-selected{border-color:#e9b957;box-shadow:inset 0 0 0 1px #e0a53f66,0 0 8px #d39b3230}.cc-thumbnail{display:block;width:64px;height:68px;object-fit:cover;border-radius:5px;border:1px solid #caa04b}.cc-row-copy{min-width:0;display:grid;gap:6px}.cc-row-copy strong{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere;font:700 19px/1.08 Royal Display,Georgia,serif}.cc-row-copy small{color:#d4d9d6;font-size:12px;line-height:1.3}.cc-row-action{min-width:72px;text-align:center;padding:7px 5px;border:1px solid #ddb260;border-radius:4px;background:linear-gradient(#146ba4,#0b355f);color:#fff1cb;font:700 17px/1 Royal Display,Georgia,serif}.cc-row-action.is-full{background:#394048;border-color:#7f8585;color:#c0c4c6}.cc-chevron{display:none;color:#efc76c;font-size:32px}.cc-preview{display:none}.cc-footer{display:flex;justify-content:center;padding:9px 0 2px}.cc-create{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;max-width:100%;padding:4px 18px;border:0;background:transparent;color:#fff0c9;font:700 21px/1.1 Royal Display,Georgia,serif}.cc-plus{width:25px;height:25px;display:grid;place-items:center;border:1px solid #efc66d;border-radius:50%;background:#8b541f;color:#ffedb0;font:700 23px/1 Arial,sans-serif}.cc-primary{display:inline-flex;justify-content:center;align-items:center;min-height:46px;padding:8px 22px;border:2px solid #dca744;border-radius:6px;color:#fff2cc;background:linear-gradient(#176ba0,#10385d);box-shadow:inset 0 0 0 2px #f2d08925,0 3px #4c3319;font:700 23px/1.1 Royal Display,Georgia,serif}.cc-text-button{min-height:40px;padding:7px 8px;border:0;background:transparent;color:#b8d2de;text-decoration:underline;text-underline-offset:3px;font-size:14px}.cc-inbox-link{font-size:12px;color:#b3c4cb}.cc-more{display:block;margin:12px auto 4px;min-height:44px;border:1px solid #ad8a48;border-radius:5px;background:#102837;color:#f2dfb6;padding:7px 20px}.cc-error{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px;margin:8px 0;background:#4b251fee;border:1px solid #dca06e;border-radius:6px;color:#ffead1;font-size:14px}.cc-error button{border:1px solid #e3bc78;border-radius:4px;background:#302722;padding:8px;color:#fff0d4}.cc-message{padding:25px 12px;text-align:center}.cc-message h2{font-size:26px}.cc-message p{font-size:15px}.cc-skeleton{display:grid;gap:10px}.cc-skeleton span{display:block;height:82px;background:#102837cc;border:1px solid #99753b;border-radius:8px}.cc-inbox-panel .city-admission-inbox{margin:0}.cc-crest{display:block;width:70px;height:70px;background:url(/assets/royalforge/city-hub/dashboard-icons-v2.webp) 0 0 / 300% 100% no-repeat;filter:drop-shadow(0 3px 4px #0008)}.cc-eyebrow{text-transform:uppercase;letter-spacing:.12em;font:700 15px Royal Display,Georgia,serif;color:#ebc46d}.city-landing-screen.is-empty{grid-template-rows:auto minmax(0,1fr)}.is-empty .cc-backdrop:after{background:linear-gradient(180deg,transparent 28%,#0b1826d9 68%,#0b1826f2)}.cc-empty{align-self:end;display:flex;flex-direction:column;align-items:center;text-align:center;min-height:0;overflow:auto;max-height:100%;padding:6px 16px}.cc-empty .cc-crest{flex:none;margin:0 0 3px}.cc-empty h1{max-width:360px;margin:10px 0 4px;font-size:32px;line-height:1.05}.cc-empty p{max-width:360px;margin:12px 0 18px;font-size:15px;line-height:1.5;color:#d5e0e4}.cc-empty .cc-primary{width:min(100%,360px);margin-bottom:8px;flex:none}.cc-empty .cc-text-button{flex:none}.cc-overlay{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:14px;background:#030e1bcc;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.cc-dialog{display:flex;flex-direction:column;width:min(460px,100%);max-height:100%;min-height:0;color:#fff1cf;border:2px solid #c99e51;border-radius:12px;background:linear-gradient(135deg,#173b50,#081b2b);box-shadow:0 16px 60px #0009,inset 0 0 0 3px #e5be6a1a}.cc-dialog header{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:18px 18px 10px;flex:none}.cc-dialog h2{font-size:29px;line-height:1.1}.cc-dialog header button{flex:none;width:36px;height:36px;padding:0;border:1px solid #bda069;border-radius:50%;color:#f9df9d;background:#142c3c;font-size:26px}.cc-dialog-body{min-height:0;overflow:auto;overscroll-behavior:contain;padding:0 18px 18px}.cc-dialog p,.cc-dialog li{color:#c8d8df;font-size:15px;line-height:1.5}.cc-dialog li+li{margin-top:10px}.cc-dialog label{display:grid;gap:7px;margin-top:16px;font-size:15px}.cc-dialog input,.cc-dialog select{width:100%;min-width:0;min-height:44px;padding:10px;border:1px solid #9c894f;border-radius:5px;color:#fff0cf;background:#091f2f;font:16px Forge Sans,Arial,sans-serif;color-scheme:dark}.cc-dialog footer{display:flex;gap:10px;padding:12px 18px 18px;border-top:1px solid #d4b16d30;flex:none}.cc-dialog footer button{flex:1;min-height:44px;border:1px solid #bda069;border-radius:5px;background-color:#183548;color:#fff0ce}.city-landing-screen button,.cc-dialog button{cursor:pointer}.city-landing-screen button:disabled,.cc-dialog button:disabled{cursor:default;opacity:.6}.city-landing-screen button:focus-visible,.city-landing-screen input:focus-visible,.cc-dialog :is(button,input,select):focus-visible{outline:2px solid #ffe6a3;outline-offset:2px}@container game (max-width: 360px){.city-landing-screen{padding-inline:8px}.cc-row{grid-template-columns:48px minmax(0,1fr) auto;gap:7px;min-height:72px}.cc-thumbnail{width:48px;height:58px}.cc-row-copy strong{font-size:17px}.cc-row-copy small{font-size:11px}.cc-row-action{min-width:62px;font-size:15px}.cc-empty h1{font-size:28px}.cc-empty .cc-crest{width:54px;height:54px}}@container game (max-height: 620px) and (max-width: 799px){.cc-header{gap:6px;padding-bottom:8px}.cc-heading p{display:none}.cc-browser,.cc-cities-panel{gap:7px}.cc-tabs button{min-height:36px}.cc-empty p{margin-block:8px 10px;font-size:14px}.cc-empty h1{margin-top:5px}.cc-empty .cc-crest{width:48px;height:48px}.cc-empty .cc-text-button{min-height:32px}}@container game (min-width: 800px) and (min-aspect-ratio: 6/5){.city-landing-screen{padding:16px max(32px,calc((var(--game-width) - 1120px) / 2)) calc(var(--bottom-menu-total, 90px) + 12px)}.cc-backdrop{background-image:url(/assets/royalforge/cities/city-choice-forge-landscape-v2.webp)}.cc-backdrop:after{background:linear-gradient(90deg,#050d13aa,#050d1340 70%),linear-gradient(0deg,#080b11b8,transparent 80%)}.cc-header{grid-template-columns:minmax(0,1fr) auto;grid-template-areas:"heading wallet";align-items:start;padding-bottom:20px}.cc-wallet{grid-area:wallet}.cc-heading{grid-area:heading;text-align:left;align-self:end;padding-top:8px}.cc-heading h1{font-size:clamp(32px,calc(var(--game-height) * .055),44px)}.cc-heading p{font-size:16px;margin-top:8px}.cc-workspace{grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:24px}.cc-workspace:has(.cc-inbox-panel:not([hidden])),.cc-workspace:not(:has(.cc-preview)){grid-template-columns:1fr}.cc-browser,.cc-cities-panel{gap:12px}.cc-list{gap:8px}.cc-row{grid-template-columns:70px minmax(0,1fr) 20px;min-height:70px;gap:12px}.cc-thumbnail{width:70px;height:58px}.cc-row-copy strong{font-size:23px}.cc-row-copy small{font-size:14px}.cc-row-action{display:none}.cc-chevron{display:block}.cc-preview{display:flex;flex-direction:column;align-self:center;min-height:0;max-height:100%;overflow:auto;padding:4px;border:2px solid #c59b4c;border-radius:12px;background:linear-gradient(#173b53,#081b2b);box-shadow:inset 0 0 0 3px #dcb65d33,0 6px 16px #0009}.cc-preview-art{position:relative;flex:none;height:clamp(100px,calc(var(--game-height) * .24),220px)}.cc-preview-art>img{display:block;width:100%;height:100%;object-fit:cover;border-radius:6px 6px 0 0}.cc-preview-art .cc-crest{position:absolute;width:64px;height:64px;bottom:-24px;left:calc(50% - 32px)}.cc-preview-copy{text-align:center;padding:26px 14px 14px}.cc-preview h2{font-size:32px;line-height:1.08;overflow-wrap:anywhere;margin-bottom:12px}.cc-access{display:inline-block;border-block:1px solid #b89c5d;padding:4px 14px;font-size:14px;color:#edd3a1}.cc-preview p{margin:12px 0 16px;color:#e0e5e0;font-size:16px}.cc-preview .cc-primary{width:min(100%,260px)}.cc-preview small{display:block;margin-top:10px;color:#a9c1ce;font-size:12px}.cc-footer{justify-content:flex-start;padding-top:10px}.cc-create{min-width:180px}.is-empty .cc-header{grid-template-areas:". wallet"}.is-empty .cc-backdrop:after{background:linear-gradient(90deg,#080e15b8,#080e1533 50%,transparent 75%),linear-gradient(0deg,#050b1177,transparent)}.cc-empty{align-self:center;align-items:flex-start;text-align:left;max-width:430px;padding:12px 0}.cc-empty>.cc-crest{display:none}.cc-empty h1{max-width:420px;font-size:clamp(38px,calc(var(--game-height) * .075),58px);margin-top:18px}.cc-empty p{font-size:17px;margin-block:20px 24px}.cc-empty .cc-primary{width:min(100%,360px);min-height:52px}.cc-empty .cc-text-button{align-self:center}}@container game (min-width: 800px) and (max-height: 520px){.cc-header{padding-bottom:10px}.cc-heading p{display:none}.cc-preview-art{height:75px}.cc-preview-copy{padding:20px 10px 10px}.cc-preview h2{font-size:24px;margin-bottom:8px}.cc-preview p{margin:8px 0}.cc-preview small{display:none}.cc-empty h1{font-size:36px;margin-top:8px}.cc-empty p{margin-block:10px 14px;font-size:15px}.cc-empty .cc-primary{min-height:44px}}@container game (max-width: 799px){.city-landing-screen.has-vk-controls{padding-top:max(60px,env(safe-area-inset-top))}}@container game (max-width: 799px){.has-vk-controls .cc-header{grid-template-areas:"heading wallet";grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:8px}.has-vk-controls .cc-wallet{grid-area:wallet}.has-vk-controls .cc-heading{grid-area:heading;text-align:left}.has-vk-controls .cc-heading h1{font-size:24px}.has-vk-controls .cc-heading p{display:none}.has-vk-controls.is-empty .cc-header{grid-template-areas:". wallet"}}.city-hub-screen .city-hub-header{top:max(12px,env(safe-area-inset-top));right:max(8px,env(safe-area-inset-right));left:max(8px,env(safe-area-inset-left));display:grid;grid-template-areas:"identity wallet" "actions actions";grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:2px 10px;padding:4px 12px 6px;border:0;border-radius:12px;background:radial-gradient(ellipse at 20% 0,#16426480,transparent 65%),linear-gradient(120deg,#08263e,#031323 82%);box-shadow:0 6px 14px #0008,inset 0 0 18px #0009;pointer-events:auto}.city-hub-screen .city-hub-header:before{position:absolute;top:-3px;right:-3px;bottom:-3px;left:-3px;border:14px solid transparent;border-image:url(/assets/royalforge/city-hub/dashboard-frame-v2.webp) 140 stretch;content:"";pointer-events:none}.city-hub-screen .city-hub-header:after{position:absolute;top:-13px;left:50%;width:68px;height:30px;background:url(/assets/royalforge/city-hub/panel-crest-v1.png) center / contain no-repeat;content:"";transform:translate(-50%);pointer-events:none}.city-hub-screen .city-hub-identity,.city-hub-screen .city-hub-balance{width:100%;min-width:0;min-height:36px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none}.city-hub-screen .city-hub-identity{grid-area:identity;grid-template-columns:44px minmax(0,1fr);gap:5px}.city-hub-screen .city-hub-crest{width:44px;height:44px;margin-block:-4px;border:0;background:url(/assets/royalforge/city-hub/dashboard-icons-v2.webp) 0 0 / 300% 100% no-repeat;box-shadow:none;clip-path:none;filter:drop-shadow(0 2px 2px #0009)}.city-hub-screen .city-hub-name h1{max-width:none;margin:0;overflow:visible;color:#fff0c9;font:700 clamp(22px,calc(var(--game-width) * .065),28px) / 1 "Royal Display",Georgia,serif;white-space:normal;overflow-wrap:anywhere;text-shadow:0 2px 2px #000b}.city-hub-screen .city-hub-name.is-long-name h1{font-size:clamp(16px,calc(var(--game-width) * .046),22px)}.city-hub-screen .city-hub-balance,.city-hub-screen .city-hub-balance.has-coin-shop{grid-area:wallet;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:5px;padding-left:10px;border-left:1px solid #bd914b80}.city-hub-screen .city-hub-balance>.coin-icon{width:28px}.city-hub-screen .city-hub-balance strong{min-width:0;padding:0;color:#fff0c9;font:700 clamp(12px,calc(150px / var(--city-balance-characters, 6)),28px) / 1 "Royal Display",Georgia,serif;white-space:nowrap;text-align:center;font-variant-numeric:tabular-nums}.city-hub-screen .city-hub-balance .coin-shop-plus{width:32px;min-width:0;min-height:32px;height:32px;padding:0;border:2px solid #e5b85b;border-radius:50%;background:radial-gradient(circle at 45% 25%,#2878b0,#073c6b 70%);box-shadow:0 0 0 1px #754714,inset 0 0 0 1px #fff3bc70,0 2px 3px #0008;color:#ffe8a2;font:700 29px/1 Royal Display,Georgia,serif}.city-hub-screen .city-hub-actions{position:static;grid-area:actions;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;min-width:0;width:100%;margin:0}.city-hub-screen .city-hub-action{position:static;display:flex;align-items:center;justify-content:center;gap:7px;width:100%;max-width:none;min-width:0;min-height:32px;padding:2px 7px;border:2px solid #d4a048;border-radius:12px;background:radial-gradient(ellipse at top,#1d5682a0,transparent 75%),linear-gradient(#082d4d,#04192b);box-shadow:0 0 0 1px #4d2c0a,inset 0 0 0 1px #ffe5a255,inset 0 -3px 5px #0008;color:#fff0c9;font:700 clamp(19px,calc(var(--game-width) * .058),24px) / 1 "Royal Display",Georgia,serif;text-align:center;text-shadow:0 2px 2px #000a;cursor:pointer;pointer-events:auto;transform:none}.city-action-icon{display:block;width:32px;height:26px;flex:0 0 auto;background:url(/assets/royalforge/city-hub/dashboard-icons-v2.webp) 50% 0 / 300% 100% no-repeat;filter:drop-shadow(0 2px 2px #0008)}.city-action-icon.is-treasury{background-position:100% 0}.city-hub-screen .city-shop-entry-art{display:block;width:32px;height:26px;flex:0 0 auto}.city-hub-screen .city-shop-entry-art .city-action-icon{width:100%;height:100%}.city-shop-entry-label,.city-hub-screen .city-hub-action-copy,.city-hub-screen .city-hub-action-copy strong{min-width:0;color:inherit;font:inherit;white-space:nowrap}.city-hub-screen .city-hub-action:focus-visible{outline:3px solid #ffedb0;outline-offset:3px}.city-hub-screen .city-hub-action:disabled{cursor:default}.city-hub-screen .city-building-marker{grid-template-columns:minmax(0,1fr)}.city-hub-screen .city-building-marker>span:last-child{max-width:130px;padding:3px 8px 4px;border-color:#d5ab54;border-radius:4px;background:linear-gradient(#12384c,#061c28);font-size:14px;line-height:1.05;white-space:normal;text-align:center}@container game (max-width: 380px){.city-hub-screen .city-hub-header{padding-inline:9px;column-gap:6px}.city-hub-screen .city-hub-identity{grid-template-columns:36px minmax(0,1fr);gap:3px}.city-hub-screen .city-hub-crest{width:36px;height:36px;margin:0}.city-hub-screen .city-hub-name h1{font-size:23px}.city-hub-screen .city-hub-name.is-long-name h1{font-size:16px}.city-hub-screen .city-hub-balance,.city-hub-screen .city-hub-balance.has-coin-shop{grid-template-columns:23px minmax(0,1fr) auto;padding-left:5px;gap:3px}.city-hub-screen .city-hub-balance>.coin-icon{width:23px}.city-hub-screen .city-hub-balance strong{font-size:clamp(11px,calc(125px / var(--city-balance-characters, 6)),25px)}.city-hub-screen .city-hub-balance .coin-shop-plus{width:28px;min-height:28px;height:28px;font-size:25px}.city-hub-screen .city-hub-actions{gap:6px}.city-hub-screen .city-hub-action{gap:4px;padding-inline:5px;font-size:19px}.city-action-icon,.city-hub-screen .city-shop-entry-art{width:26px;height:24px}.city-hub-screen .city-building-marker>span:last-child{max-width:112px;font-size:12px;transform:none}}@container game (orientation: portrait) and (min-width: 381px){.city-hub-screen .city-building-sawmill>span:last-child{transform:translate(18px)}.city-hub-screen .city-building-quarry>span:last-child{transform:translate(8px)}}@container game (orientation: landscape) and (min-width: 760px){.city-hub-screen .city-hub-header{grid-template-areas:"identity actions wallet";grid-template-columns:minmax(200px,1.25fr) minmax(300px,1.8fr) minmax(190px,1fr);gap:18px;padding:7px 20px}.city-hub-screen .city-hub-identity{grid-template-columns:58px minmax(0,1fr);gap:12px}.city-hub-screen .city-hub-crest{width:58px;height:58px;margin-block:0}.city-hub-screen .city-hub-name h1{font-size:36px}.city-hub-screen .city-hub-name.is-long-name h1{font-size:25px}.city-hub-screen .city-hub-action{min-height:48px;gap:10px;font-size:28px}.city-action-icon,.city-hub-screen .city-shop-entry-art{width:50px;height:42px}.city-hub-screen .city-hub-balance,.city-hub-screen .city-hub-balance.has-coin-shop{grid-template-columns:40px max-content auto;justify-content:end;min-height:44px;gap:10px;padding-left:16px}.city-hub-screen .city-hub-balance>.coin-icon{width:40px}.city-hub-screen .city-hub-balance strong{font-size:clamp(16px,calc(280px / var(--city-balance-characters, 6)),36px)}.city-hub-screen .city-hub-balance .coin-shop-plus{width:38px;min-height:38px;height:38px;font-size:32px}}@container game (orientation: landscape) and (min-width: 760px) and (max-width: 1100px){.city-hub-screen .city-hub-header{padding-inline:14px;gap:12px}.city-hub-screen .city-hub-identity{grid-template-columns:44px minmax(0,1fr);gap:8px}.city-hub-screen .city-hub-crest{width:44px;height:44px}.city-hub-screen .city-hub-name h1{font-size:30px}.city-hub-screen .city-hub-name.is-long-name h1{font-size:22px}.city-hub-screen .city-hub-action{font-size:clamp(20px,calc(var(--game-width) * .023),24px);gap:4px;padding-inline:5px;min-height:40px}.city-action-icon,.city-hub-screen .city-shop-entry-art{width:28px;height:26px}.city-hub-screen .city-hub-balance,.city-hub-screen .city-hub-balance.has-coin-shop{grid-template-columns:32px max-content auto;gap:6px;padding-left:12px}.city-hub-screen .city-hub-balance>.coin-icon{width:32px}.city-hub-screen .city-hub-balance strong{font-size:clamp(12px,calc(180px / var(--city-balance-characters, 6)),30px)}.city-hub-screen .city-hub-balance .coin-shop-plus{width:32px;height:32px;min-height:32px;font-size:28px}}@container game (orientation: landscape) and (max-height: 500px){.city-hub-screen .city-hub-header{top:8px;padding-block:5px;gap:10px}.city-hub-screen .city-hub-crest{width:44px;height:44px}.city-hub-screen .city-hub-identity{grid-template-columns:44px minmax(0,1fr)}.city-hub-screen .city-hub-action{min-height:40px;font-size:clamp(19px,calc(var(--game-width) * .025),24px)}.city-action-icon,.city-hub-screen .city-shop-entry-art{width:clamp(26px,calc(var(--game-width) * .036),38px);height:28px}.city-hub-screen .city-building-marker{min-height:44px}.city-hub-screen .city-building-marker>.city-building-marker-art{width:28px}.city-hub-screen .city-building-marker>span:last-child{font-size:11px;padding-block:2px}}.city-hub-screen .city-hub-actions{grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}.city-icon-action{position:relative;min-width:0;pointer-events:auto}.city-hub-screen .city-icon-action .city-hub-action{min-height:54px;height:54px;padding:0;border-radius:13px}.city-hub-screen .city-icon-action .city-action-icon{width:54px;height:48px}.city-action-icon.is-residents,.city-action-icon.is-cities,.city-action-icon.is-players{background-image:url(/assets/royalforge/rankings/ranking-icons-v1.webp);background-position:0 0}.city-action-icon.is-cities{background-position:50% 0}.city-action-icon.is-players{background-position:100% 0}.city-icon-hint{position:absolute;z-index:40;top:calc(100% + 7px);left:50%;transform:translate(-50%);max-width:150px;width:max-content;padding:6px 9px;border:1px solid #d4a048;border-radius:7px;background:#04192bf5;color:#fff0c9;font:600 12px/1.3 Forge Sans,sans-serif;text-align:center;pointer-events:none;box-shadow:0 3px 8px #0009}.city-icon-action:first-child .city-icon-hint{left:0;transform:none}.city-icon-action:last-child .city-icon-hint{right:0;left:auto;transform:none}@container game (orientation: landscape) and (min-width: 760px){.city-hub-screen .city-hub-actions{max-width:440px;justify-self:center}.city-hub-screen .city-icon-action .city-hub-action{height:60px}.city-hub-screen .city-icon-action .city-action-icon{width:62px;height:54px}}@container game (max-height: 580px){.city-hub-screen .city-icon-action .city-hub-action{min-height:44px;height:44px}.city-hub-screen .city-icon-action .city-action-icon{width:46px;height:40px}}.forge-impact-effects{--forge-glow: #ffb52f;--forge-core: #fff3b5}.forge-impact-effects.effect-sapphire{--forge-glow: #48aaff;--forge-core: #c9f5ff}.forge-impact-effects.effect-ember{--forge-glow: #ff6035;--forge-core: #ffe5b3}.forge-impact-effects.effect-verdant{--forge-glow: #44eb96;--forge-core: #dcffb9}.forge-impact-effects.effect-moonfrost{--forge-glow: #83c9ff;--forge-core: #e0fcff}.forge-impact-effects.effect-sunforge{--forge-glow: #ffbb35;--forge-core: #fff8c9}.forge-impact-effects.effect-crownfire{--forge-glow: #d184ff;--forge-core: #ffe4a1}.impact-charge,.impact-swing,.impact-bloom,.impact-ember{position:absolute;top:0;left:0;display:block;pointer-events:none;opacity:0}.impact-charge{width:13cqw;aspect-ratio:1;border:1px solid var(--forge-core);border-radius:50%;background:radial-gradient(ellipse,var(--forge-core),transparent 60%);box-shadow:0 0 2cqw var(--forge-glow),inset 0 0 1cqw var(--forge-glow)}.forge-impact-effects.is-active .impact-charge{animation:forge-charge var(--impact-delay) ease-in both}.impact-swing{width:31cqw;height:23cqw;border:.4cqw solid transparent;border-right-color:var(--forge-core);border-top-color:var(--forge-glow);border-radius:50%;filter:drop-shadow(0 0 .8cqw var(--forge-glow));transform-origin:10% 90%}.forge-impact-effects.is-active .impact-swing{animation:forge-swing .34s ease-in .4s both}.impact-bloom{width:27cqw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff8df 0,var(--forge-core) 8%,var(--forge-glow) 24%,transparent 66%);mix-blend-mode:screen}.forge-impact-effects.is-active .impact-bloom{animation:forge-bloom .65s ease-out var(--impact-delay) both}.impact-ember{width:clamp(3px,.65cqw,8px);aspect-ratio:1;border-radius:2px;background:var(--forge-core);box-shadow:0 0 5px var(--forge-core),0 0 12px var(--forge-glow)}.forge-impact-effects.is-active .impact-ember{animation:forge-ember .98s cubic-bezier(.16,.65,.25,1) calc(var(--impact-delay) + var(--ember-delay)) both}@keyframes forge-ember{0%{opacity:0;transform:translate(-50%,-50%) scale(.3)}18%{opacity:1}55%{opacity:.85;transform:translate(var(--ember-x),var(--ember-y)) rotate(100deg) scale(.8)}to{opacity:0;transform:translate(calc(var(--ember-x) * 1.12),calc(var(--ember-y) + 9cqw)) rotate(190deg) scale(.1)}}@keyframes forge-charge{0%,15%{opacity:0;transform:translate(-50%,-50%) scale(1.2,.5)}50%{opacity:.45}85%{opacity:.7;transform:translate(-50%,-50%) scale(.22,.12)}to{opacity:0;transform:translate(-50%,-50%) scale(.05)}}@keyframes forge-swing{0%{opacity:0;transform:translate(-9%,-108%) rotate(-56deg) scale(.8)}55%{opacity:.65}to{opacity:0;transform:translate(-9%,-108%) rotate(12deg) scale(1)}}@keyframes forge-bloom{0%{opacity:0;transform:translate(-50%,-50%) scale(.15,.1)}12%{opacity:.85;transform:translate(-50%,-50%) scale(.75,.36)}40%{opacity:.4}to{opacity:0;transform:translate(-50%,-50%) scale(1.35,.6)}}@media(prefers-reduced-motion:reduce){.forge-impact-effects .impact-charge,.forge-impact-effects .impact-swing,.forge-impact-effects .impact-bloom,.forge-impact-effects .impact-ember{display:none;animation:none}}.shop-panel.forge-reward-dialog{--reward-light: #ffd477;--reward-glow: #ffae3859;width:min(100%,460px);padding:25px 24px 22px;border:1px solid #f5d891;border-radius:28px 28px 22px 22px;background:radial-gradient(ellipse at 50% 36%,var(--reward-glow),transparent 58%),linear-gradient(160deg,#16445a,#081f34 58%,#0a172b);box-shadow:0 0 0 4px #112d3e,0 0 0 5px #ae854c,inset 0 0 36px #020e2866,0 20px 70px #0009,0 0 90px var(--reward-glow);animation:forge-reward-arrive .46s cubic-bezier(.16,1,.3,1) both}.forge-reward-dialog.is-rare{--reward-light: #b7eaff;--reward-glow: #69acff66}.forge-reward-dialog .shop-header{padding:5px 22px 0;z-index:1}.forge-reward-dialog .shop-header h1{font-size:clamp(28px,calc(var(--game-width) * .075),38px);color:#fff0c5}.forge-reward-dialog .shop-header p{font:600 11px/1.4 Forge Sans,sans-serif;letter-spacing:.18em;text-transform:uppercase;color:#d7bf91;margin-top:10px}.forge-reward-dialog .shop-close{top:-12px;right:-12px;width:34px;height:34px;font-size:25px}.forge-reward-content{min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;text-align:center}.forge-reward-showcase{position:relative;display:grid;place-items:center;width:min(100%,290px);height:clamp(160px,calc(var(--game-height) * .28),250px);margin:0 auto;isolation:isolate}.forge-reward-showcase:before{position:absolute;width:86%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff5cf9c,var(--reward-glow) 38%,transparent 69%);content:"";animation:forge-reward-halo .9s ease-out both}.forge-reward-rays{position:absolute;width:112%;aspect-ratio:1;background:repeating-conic-gradient(from 12deg,transparent 0deg 17deg,var(--reward-light) 22deg,transparent 28deg 40deg);-webkit-mask-image:radial-gradient(circle,transparent 10%,#0009 28%,#0000 68%);mask-image:radial-gradient(circle,transparent 10%,#0009 28%,#0000 68%);opacity:.5;animation:forge-reward-rays 24s linear infinite}.forge-reward-ring{position:absolute;width:56%;aspect-ratio:1;border:1px solid var(--reward-light);border-radius:50%;box-shadow:0 0 18px var(--reward-glow),inset 0 0 12px var(--reward-glow);animation:forge-reward-ring .85s ease-out both}.forge-reward-rise{position:relative;width:min(76%,calc(var(--game-height) * .25));max-width:220px;aspect-ratio:1;animation:forge-reward-rise .8s cubic-bezier(.16,1,.3,1) both}.forge-reward-art{display:block;width:100%;height:100%;background:url(/assets/royalforge/wheel/wheel-prizes-atlas-v2.webp) no-repeat;background-size:300% 300%;filter:drop-shadow(0 12px 8px #0006) drop-shadow(0 0 15px var(--reward-glow));animation:forge-reward-float 3.6s ease-in-out .8s infinite}.forge-reward-art.reward-wood{background-position:50% 0}.forge-reward-art.reward-stone{background-position:100% 0}.forge-reward-art.reward-iron{background-position:0 50%}.forge-reward-art.reward-common_chest{background-position:50% 100%}.forge-reward-art.reward-rare_chest{background-image:url(/assets/royalforge/treasury/chest-tier-atlas-v1.png);background-size:300% 300%;background-position:50% 50%}.forge-reward-glint,.forge-reward-mote{position:absolute;top:50%;left:50%;width:7px;height:7px;background:#fff8df;box-shadow:0 0 9px var(--reward-light);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.forge-reward-glint{top:28%;left:70%;width:36px;height:36px;animation:forge-reward-glint .65s ease-out .43s both}.forge-reward-mote{animation:forge-reward-mote 1.3s cubic-bezier(.12,.6,.25,1) var(--mote-delay) both}.forge-reward-copy{position:relative;padding:8px 4px;animation:forge-reward-copy .48s ease-out .18s both}.forge-reward-copy h2{margin:0;font:700 clamp(23px,calc(var(--game-width) * .06),29px) / 1.2 "Royal Display",Georgia,serif;color:#fff5d7}.forge-reward-amount{display:block;color:var(--reward-light);font:700 48px/1.1 Royal Display,Georgia,serif;text-shadow:0 2px 0 #5d341c,0 0 22px var(--reward-glow);margin:5px 0}.forge-reward-copy p{margin:8px 0 0;color:#c9d8dc;font:13px/1.5 Forge Sans,sans-serif}.forge-reward-collect{position:relative;overflow:hidden;flex:0 0 auto;align-self:center;width:min(100%,260px);min-height:48px;margin-top:16px;padding:10px 24px;border:1px solid #ffe4a0;border-radius:12px;background:linear-gradient(#ffe6a4,#e9b957 48%,#c48b32);box-shadow:inset 0 0 0 2px #9c641b66,0 4px #5c3c21,0 8px 24px #ffb94a26;color:#34250f;font:800 17px/1.2 Forge Sans,sans-serif;cursor:pointer}.forge-reward-collect:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(110deg,transparent 25%,#fff9 50%,transparent 75%);content:"";transform:translate(-120%);animation:forge-reward-sheen .8s ease-in-out .6s both;pointer-events:none}.forge-reward-collect:hover{filter:brightness(1.08)}.forge-reward-collect:focus-visible{outline:3px solid #fff;outline-offset:5px}@keyframes forge-reward-arrive{0%{opacity:0;transform:translateY(18px) scale(.94)}to{opacity:1;transform:none}}@keyframes forge-reward-rise{0%{opacity:0;transform:translateY(55px) scale(.35) rotate(-12deg)}50%{opacity:1;transform:translateY(-9px) scale(1.12) rotate(3deg)}75%{transform:translateY(3px) scale(.98) rotate(-1deg)}to{opacity:1;transform:none}}@keyframes forge-reward-halo{0%{opacity:0;transform:scale(.3)}35%{opacity:1}to{opacity:.7;transform:scale(1)}}@keyframes forge-reward-rays{to{transform:rotate(360deg)}}@keyframes forge-reward-ring{0%{opacity:.95;transform:scale(.35)}to{opacity:0;transform:scale(1.65)}}@keyframes forge-reward-float{0%,to{transform:translateY(0) rotate(-1deg)}50%{transform:translateY(-6px) rotate(1deg)}}@keyframes forge-reward-mote{0%{opacity:0;transform:rotate(var(--mote-angle)) translate(25px) scale(.2)}20%{opacity:1}to{opacity:0;transform:rotate(var(--mote-angle)) translate(var(--mote-distance)) rotate(100deg) scale(.4)}}@keyframes forge-reward-glint{0%,to{opacity:0;transform:scale(.2) rotate(0)}40%{opacity:1;transform:scale(1) rotate(45deg)}}@keyframes forge-reward-copy{0%{opacity:0;transform:translateY(12px)}to{opacity:1;transform:none}}@keyframes forge-reward-sheen{to{transform:translate(120%)}}@container game (max-height: 650px){.shop-panel.forge-reward-dialog{padding:18px 20px}.forge-reward-showcase{height:160px}.forge-reward-rise{width:156px}.forge-reward-amount{font-size:39px}.forge-reward-collect{margin-top:10px}}@container game (max-height: 500px) and (orientation: landscape){.shop-panel.forge-reward-dialog{width:min(100%,620px)}.forge-reward-content{display:grid;grid-template-columns:1fr 1fr;align-items:center}.forge-reward-showcase{height:150px}.forge-reward-copy{padding:12px 12px 0 0}.forge-reward-collect{margin-top:2px}}@media(prefers-reduced-motion:reduce){.shop-panel.forge-reward-dialog,.forge-reward-dialog *,.forge-reward-dialog *:before,.forge-reward-dialog *:after{animation:none!important}.forge-reward-mote,.forge-reward-ring,.forge-reward-glint{display:none}}.match3-screen,.match3-map-screen{position:relative;width:100%;height:var(--game-height);min-width:320px;min-height:480px;overflow:hidden;isolation:isolate;color:#fff4cf}.match3-screen{display:flex;flex-direction:column;padding-bottom:var(--bottom-menu-total)}.match3-backdrop,.match3-map-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-position:center;background-size:cover}.match3-backdrop{bottom:var(--bottom-menu-total);background-image:url(/assets/royalforge/match3/match3-castle-quarry-background-portrait-v2.webp);background-size:100% 100%;filter:brightness(1.03) saturate(1.04)}.match3-map-backdrop{background-image:url(/assets/royalforge/city-hub/city-hub-portrait.webp)}.match3-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,rgba(255,250,226,.02),transparent 48%,rgba(7,36,48,.03));content:""}.match3-map-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(180deg,#05172714,#091c2b3d 44%,#040e1780);content:""}.match3-game-header{position:relative;z-index:3;display:grid;grid-template-columns:46px minmax(0,1fr) 46px;width:min(100% - 20px,620px);min-height:70px;align-items:center;gap:8px;margin:max(8px,env(safe-area-inset-top)) auto 0}.match3-back-button{display:grid;width:44px;aspect-ratio:1;place-items:center;border:2px solid #d7a445;border-radius:50%;background:radial-gradient(circle at 40% 30%,#2c8de0,#0b3d7a 70%);box-shadow:0 0 0 2px #321d0b,inset 0 2px #fff4c052,0 5px 10px #0000006b;color:#fff4c7;cursor:pointer;font-family:Georgia,serif;font-size:2.2rem;line-height:1;padding:0 0 5px}.match3-header-crown{width:44px;height:44px}.match3-level-copy{display:grid;min-width:0;justify-items:center;line-height:1;text-align:center;text-shadow:0 2px 3px rgba(0,0,0,.8)}.match3-level-copy small,.match3-map-header small,.match3-result-panel>small{color:#f0c463;font-size:.72rem;font-weight:700;text-transform:uppercase}.match3-level-copy strong{max-width:100%;overflow:hidden;color:#fff2c2;font-family:Royal Display,Georgia,serif;font-size:clamp(1.12rem,calc(var(--game-width) * .048),1.75rem);text-overflow:ellipsis;white-space:nowrap}.match3-move-shield{position:relative;display:grid;width:66px;height:78px;align-content:center;justify-items:center;border:3px solid #e0af4d;border-radius:9px 9px 24px 24px;background:linear-gradient(125deg,transparent 48%,rgba(255,255,255,.14) 49% 55%,transparent 56%),linear-gradient(55deg,#1d78d2,#084388 62%,#062a62);box-shadow:0 0 0 2px #3c220c,inset 0 2px #fff8c74d,0 7px 12px #00000070;text-shadow:0 2px 1px #061a34}.match3-move-shield:before{position:absolute;top:-20px;left:50%;width:30px;height:30px;border-radius:50%;background:url(/assets/royalforge/match3/tile-crown-v1.webp) center / cover no-repeat;box-shadow:0 2px 5px #391b05a3;content:"";transform:translate(-50%)}.match3-move-shield span{font-family:Royal Display,Georgia,serif;font-size:2.25rem;font-weight:700;line-height:.78}.match3-move-shield small{color:#f7d788;font-size:.58rem;font-weight:700;text-transform:uppercase}.match3-goals{position:relative;z-index:3;display:grid;width:min(100% - 18px,520px);min-height:88px;grid-template-columns:minmax(0,1fr) 68px minmax(0,1fr);align-items:center;justify-items:center;gap:5px;margin:0 auto 7px;padding:8px 8px 5px;border:0;background:transparent;filter:drop-shadow(0 3px 3px rgba(3,20,30,.72))}.match3-goals-title,.match3-section-title{color:#f3c660;font-size:.7rem;font-weight:700;text-transform:uppercase;text-shadow:0 2px 2px rgba(0,0,0,.72)}.match3-goal-group{display:flex;min-width:0;align-items:center;justify-content:center;gap:3px}.match3-goal{display:grid;width:min(64px,calc(var(--game-width) * .18));min-width:0;justify-items:center;gap:1px;transition:opacity .18s ease,transform .18s ease}.match3-goal.is-complete{opacity:.7}.match3-goal-medallion{position:relative;display:grid;container-type:inline-size;width:52px;aspect-ratio:1;place-items:center;border:2px solid #efbd55;border-radius:50%;background:#0a2b48;box-shadow:0 0 0 1px #2c1809,inset 0 2px #ffe8a02e,0 4px 7px #00000061}.match3-goal>span:last-child{width:100%;overflow:hidden;color:#e9ddbd;font-size:.65rem;line-height:1;text-align:center;text-overflow:ellipsis;white-space:nowrap}.match3-goal-medallion>.match3-tile-icon,.match3-goal-medallion>.match3-goal-blocker{width:45px;height:45px}.match3-goal-medallion>strong{position:absolute;right:-5px;bottom:-5px;display:grid;min-width:24px;height:24px;place-items:center;border:2px solid #d9a64c;border-radius:50%;background:#102f55;box-shadow:0 0 0 1px #291507;color:#fff1bd;font-size:.8rem;animation:match3-goal-count .22s ease-out}.match3-goal.is-complete .match3-goal-medallion>strong{border-color:#9dde77;background:#1d693d;color:#f1ffd9}.match3-board{position:relative;z-index:2;display:grid;width:min(calc(var(--game-width) - 18px),480px,calc(var(--game-height) - 430px));min-width:288px;min-height:288px;flex:0 0 auto;gap:2px;margin:0 auto;padding:6px;border:3px solid #e0af4f;border-radius:6px;background:linear-gradient(145deg,#174b70,#082a46);box-shadow:0 0 0 2px #4a250b,0 0 0 4px #dea441a3,0 10px 20px #0000006b,inset 0 0 12px #00000059;touch-action:none}.match3-board:before,.match3-board:after{position:absolute;left:50%;z-index:2;width:12px;aspect-ratio:1;border:2px solid #c18d3d;background:#1b65a8;box-shadow:0 0 0 1px #2e1809;content:"";pointer-events:none;transform:translate(-50%) rotate(45deg)}.match3-board:before{top:-8px}.match3-board:after{display:none}.match3-cell{position:relative;display:grid;container-type:inline-size;width:100%;height:100%;min-width:0;min-height:0;place-items:center;overflow:visible;border:1px solid rgba(71,133,165,.52);border-radius:4px;background:linear-gradient(145deg,#194a65f0,#07253af7);box-shadow:inset 0 0 5px #00000061;cursor:pointer;padding:2px;transform:translateZ(0);will-change:transform}.match3-cell:focus-visible,.match3-cell.is-selected{z-index:2;outline:3px solid #fff1a5;outline-offset:-2px}.match3-cell:active{filter:brightness(1.2)}.match3-cell.is-swapping{z-index:6;animation:match3-swap .19s cubic-bezier(.24,.78,.34,1) both;pointer-events:none}.match3-cell.is-swapping.is-invalid-swap{animation:match3-invalid-swap .36s ease-in-out both}.match3-cell.is-matched{z-index:5;border-color:#ffef94f5;box-shadow:inset 0 0 8px #fff4a1b3,0 0 12px #ffbd2ed1}.match3-cell.is-matched:after{position:absolute;top:-18%;right:-18%;bottom:-18%;left:-18%;z-index:4;border:2px solid rgba(255,246,166,.9);border-radius:50%;background:radial-gradient(circle,rgba(255,255,218,.94),rgba(255,184,48,.36) 42%,transparent 70%);content:"";pointer-events:none;animation:match3-match-flash .32s ease-out forwards}.match3-cell.is-matched>.match3-tile-icon,.match3-cell.is-matched>.match3-crate,.match3-cell.is-matched>.match3-chained-stone{animation:match3-match-pop .32s ease-in forwards}.match3-board.is-dropping .match3-cell:not(.blocker-crate):not(.blocker-chainedStone)>.match3-tile-icon{animation:match3-tile-drop .26s cubic-bezier(.2,.74,.3,1.22) both;animation-delay:calc(var(--cell-row) * 9ms + var(--cell-column) * 3ms)}.match3-match-callout{position:absolute;top:47%;left:50%;z-index:12;width:max-content;max-width:80%;padding:5px 14px 7px;border:2px solid #f3c55d;border-radius:5px;background:#0a3051f0;box-shadow:0 0 0 2px #2f1909f5,0 0 24px #ffbd33b8;color:#fff4b5;font-family:Royal Display,Georgia,serif;font-size:clamp(1rem,calc(var(--game-width) * .05),1.55rem);font-weight:700;line-height:1;pointer-events:none;text-align:center;text-shadow:0 2px 2px #402006;transform:translate(-50%,-50%);animation:match3-callout .32s ease-out both}@keyframes match3-swap{0%{transform:translateZ(0)}to{transform:translate3d(var(--swap-x),var(--swap-y),0)}}@keyframes match3-invalid-swap{0%,to{filter:none;transform:translateZ(0)}45%{filter:saturate(.55) brightness(1.24);transform:translate3d(var(--swap-x),var(--swap-y),0)}}@keyframes match3-match-pop{0%{filter:brightness(1);opacity:1;transform:scale(1)}46%{filter:brightness(1.7);opacity:1;transform:scale(1.13)}to{filter:brightness(1.9);opacity:0;transform:scale(.38)}}@keyframes match3-match-flash{0%{opacity:1;transform:scale(.45)}to{opacity:0;transform:scale(1.45)}}@keyframes match3-tile-drop{0%{filter:brightness(1.35);opacity:0;transform:translateY(-62%)}72%{opacity:1;transform:translateY(7%)}to{filter:brightness(1);opacity:1;transform:translateY(0)}}@keyframes match3-callout{0%{opacity:0;transform:translate(-50%,-42%) scale(.86)}45%{opacity:1;transform:translate(-50%,-54%) scale(1.05)}to{opacity:.92;transform:translate(-50%,-50%) scale(1)}}@keyframes match3-goal-count{0%{filter:brightness(1.7);transform:scale(1.35)}to{filter:brightness(1);transform:scale(1)}}.match3-tile-icon{position:relative;display:grid;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:1;overflow:hidden;place-items:center;border:0;border-radius:50%;background-position:center;background-repeat:no-repeat;background-size:cover;box-shadow:0 2px 4px #00000057;font-family:Georgia,serif;font-size:1.2rem;font-size:56cqi;font-weight:700;line-height:1;text-shadow:0 2px 2px rgba(0,0,0,.52);-webkit-user-select:none;user-select:none}.match3-cell>.match3-tile-icon{font-size:68cqi}.tile-hammer{background-image:url(/assets/royalforge/match3/tile-hammer-v3.webp)}.tile-anvil{background-image:url(/assets/royalforge/match3/tile-anvil-v1.webp)}.tile-flame{background-image:url(/assets/royalforge/match3/tile-flame-v1.webp)}.tile-crystal{background-image:url(/assets/royalforge/match3/tile-crystal-v1.webp)}.tile-crown{background-image:url(/assets/royalforge/match3/tile-crown-v1.webp)}.tile-lily{background-image:url(/assets/royalforge/match3/tile-lily-v2.webp)}.match3-crate,.match3-chained-stone,.match3-goal-blocker{position:relative;display:block;width:100%;height:100%}.match3-crate,.goal-crate{border:0;border-radius:4px;background:url(/assets/royalforge/match3/blocker-crate-v1.webp) center / cover no-repeat;box-shadow:0 3px 4px #0000006b}.match3-chained-stone,.goal-stone{border:0;border-radius:5px;background:url(/assets/royalforge/match3/blocker-chained-stone-v1.webp) center / cover no-repeat;box-shadow:0 3px 4px #0000007a}.match3-chained-stone[data-hits="1"]{filter:brightness(1.14);opacity:.86}.match3-notice{position:relative;z-index:2;min-height:24px;margin:7px 12px 4px;color:#f4d98f;font-size:.82rem;font-weight:700;line-height:1.1;text-align:center;text-shadow:0 2px 3px #06121b}.match3-game-footer{position:relative;z-index:3;display:grid;width:min(100% - 18px,480px);min-height:104px;flex:1 1 auto;grid-template-columns:1fr;grid-template-rows:auto 1fr;align-content:space-between;gap:5px;margin:0 auto;padding:8px 8px 10px;border-top:2px solid rgba(255,205,90,.88);background:linear-gradient(180deg,#fff8d30a,#114c631a);box-shadow:inset 0 2px #fff4bf2e;isolation:isolate}.match3-game-footer:before,.match3-game-footer:after{position:absolute;top:-5px;z-index:0;width:clamp(46px,calc(var(--game-width) * .14),62px);height:clamp(88px,calc(var(--game-width) * .24),116px);background:url(/assets/royalforge/match3/royal-side-banner-v1.png) center top / contain no-repeat;content:"";filter:drop-shadow(0 4px 3px rgba(30,16,5,.58));pointer-events:none}.match3-game-footer:before{left:-8px}.match3-game-footer:after{right:-8px;transform:scaleX(-1)}.match3-booster-tray,.match3-reward-preview{display:grid;min-width:0;align-content:start;gap:4px}.match3-booster-tray{position:relative;z-index:1;justify-items:center;border:0;padding:0}.match3-booster-tray>.match3-section-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.match3-boosters{display:flex;min-width:0;width:min(100%,320px);justify-content:center;gap:clamp(12px,calc(var(--game-width) * .07),30px)}.match3-booster{position:relative;display:grid;width:82px;min-width:0;justify-items:center;gap:2px;border:0;background:transparent;box-shadow:none;color:#fff2b7;cursor:pointer;padding:0}.match3-booster-medallion{position:relative;display:grid;width:76px;aspect-ratio:1;place-items:center;border:3px solid #efbd55;border-radius:50%;background:radial-gradient(circle at 50% 40%,#2488d8,#07366d 70%);box-shadow:0 0 0 1px #38200b,inset 0 2px #fff5be47,0 4px 7px #00000075;overflow:hidden;padding:0}.match3-booster.is-active .match3-booster-medallion{box-shadow:0 0 0 2px #fff1a1,0 0 18px #ffbe35,inset 0 2px #ffffff61;transform:translateY(-2px)}.match3-booster:disabled{filter:grayscale(1);opacity:.45}.match3-booster-art{display:block;width:100%;height:100%;background-position:center;background-repeat:no-repeat;border-radius:50%;background-size:cover;font-family:Georgia,serif;font-size:1.9rem;line-height:1.05}.booster-hammer .match3-booster-art{background-image:url(/assets/royalforge/match3/booster-hammer-v1.webp)}.booster-blast .match3-booster-art{width:100%;height:100%;background-image:url(/assets/royalforge/match3/booster-blast-v1.webp);clip-path:none;filter:none}.booster-crown .match3-booster-art{background-image:url(/assets/royalforge/match3/booster-crown-v1.webp)}.match3-booster-medallion>strong{position:absolute;right:auto;bottom:-1px;left:50%;display:grid;min-width:28px;height:28px;place-items:center;border:2px solid #e0ae51;border-radius:50%;background:#082952;font-size:.86rem;transform:translate(-50%)}.match3-booster-label{width:100%;overflow:hidden;color:#e8d9b7;font-size:.7rem;line-height:1;text-align:center;text-overflow:ellipsis;text-shadow:0 2px 3px rgba(5,23,31,.92);white-space:nowrap}.match3-reward-preview{padding-left:2px}.match3-reward-bar{position:relative;z-index:4;display:grid;width:min(100% - 34px,460px);min-height:48px;place-items:center;margin:0 auto 6px;padding:3px 12px;border:2px solid #e7b34e;border-radius:5px;background:linear-gradient(180deg,#0f3a5bfa,#051e35fa);box-shadow:0 0 0 2px #422008f0,inset 0 2px #ffefb12e,0 6px 12px #0000004d}.match3-reward-bar>.match3-section-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.match3-reward-bar .match3-reward-resources{display:flex;width:100%;align-items:center;justify-content:center;gap:clamp(12px,calc(var(--game-width) * .07),34px)}.match3-reward-bar .match3-resource.is-compact{min-width:0;justify-content:center;gap:3px;font-family:Royal Display,Georgia,serif;font-size:1.05rem}.match3-reward-bar .match3-resource.is-compact .match3-resource-icon{width:38px;background-position:center;background-repeat:no-repeat;background-size:cover}.match3-reward-bar .resource-wood{background-image:url(/assets/royalforge/match3/resource-wood-v1.webp)}.match3-reward-bar .resource-stone{background-image:url(/assets/royalforge/match3/resource-stone-v1.webp)}.match3-reward-bar .resource-iron{background-image:url(/assets/royalforge/match3/resource-iron-v1.webp)}.match3-reward-bar .match3-resource-copy small{display:none}.match3-reward-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-content:start;gap:2px}.match3-reward-preview .match3-resource.is-compact{justify-content:start;font-size:.8rem}.match3-resource-copy{display:grid;min-width:0;align-content:center;line-height:1}.match3-resource-copy small{overflow:hidden;color:#cbd9d5;font-size:.57rem;font-weight:400;text-overflow:ellipsis;white-space:nowrap}.match3-reward-preview .match3-resource.is-compact .match3-resource-icon{width:32px}.match3-reward-chest{display:inline-flex;align-items:center;gap:3px;color:#fff0b9;font-size:.72rem}.match3-reward-chest>span{display:grid;width:25px;height:21px;place-items:center;border:2px solid #dfb25b;border-radius:4px 4px 7px 7px;background:linear-gradient(150deg,#d7a943,#7b3c13);color:#fff0ac;font-size:.8rem}.match3-unlock-hint{position:relative;z-index:1;align-self:end;grid-column:1 / -1;margin:4px 0 0;padding-top:6px;border-top:1px solid rgba(216,165,72,.32);color:#f0d189;font-family:Royal Display,Georgia,serif;font-size:.8rem;font-weight:700;line-height:1;text-align:center;text-shadow:0 2px 2px rgba(0,0,0,.72)}.match3-result-overlay{position:fixed;inset:0 0 var(--bottom-menu-total);z-index:20;display:grid;place-items:center;padding:18px;background:#030c13b3;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.match3-result-panel{display:grid;width:min(100%,365px);justify-items:center;gap:9px;padding:24px 22px 20px;border:3px solid #d2a049;border-radius:7px;background:linear-gradient(180deg,#183b58,#091d31 68%);box-shadow:0 0 0 3px #39210d,0 18px 40px #0000009e,inset 0 2px #ffefb338;text-align:center}.match3-result-panel h2{margin:0;color:#fff0b8;font-family:Royal Display,Georgia,serif;font-size:2.45rem;line-height:.95}.match3-result-panel p{margin:0 0 4px;color:#d9e8eb;line-height:1.25}.match3-victory-crown{color:#ffd75e;font-family:Georgia,serif;font-size:4.2rem;line-height:.75;text-shadow:0 0 18px rgba(255,194,47,.68)}.match3-result-anvil{width:92px;height:66px;background-image:url(/assets/royalforge/treasury/items/royal-anvil-v1.png);background-position:center;background-repeat:no-repeat;background-size:contain}.match3-result-rewards{display:flex;flex-wrap:wrap;justify-content:center;gap:9px;margin:4px 0 7px}.match3-result-primary,.match3-result-secondary,.match3-map-state button{width:min(100%,280px);min-height:46px;border-radius:5px;cursor:pointer;font-weight:700}.match3-result-primary,.match3-map-state button{border:2px solid #e2b254;background:linear-gradient(180deg,#2a79c2,#0d3d7a);box-shadow:inset 0 2px #fff3;color:#fff4c8;font-family:Royal Display,Georgia,serif;font-size:1.28rem}.match3-result-secondary{min-height:36px;border:0;background:transparent;color:#e6ca8a}.match3-map-screen{overflow-y:auto;overscroll-behavior:contain;padding-bottom:calc(var(--bottom-menu-total) + 20px)}.match3-map-backdrop{position:fixed}.match3-map-header{position:sticky;top:0;z-index:5;display:grid;width:min(100%,720px);min-height:92px;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;margin:0 auto;padding:max(10px,env(safe-area-inset-top)) 16px 10px;border-bottom:2px solid rgba(213,161,71,.72);background:linear-gradient(180deg,#071928fa,#081c2ce6);box-shadow:0 7px 18px #00000061;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}.match3-map-header h1{margin:0;color:#fff1bc;font-family:Royal Display,Georgia,serif;font-size:clamp(2rem,calc(var(--game-width) * .08),3rem);line-height:.85;text-shadow:0 2px 2px #03101b}@container game (max-width: 420px){.match3-map-resources{justify-self:start}}.match3-map-resources{display:flex;gap:7px}.match3-resource{display:inline-flex;min-width:52px;align-items:center;justify-content:center;gap:2px;color:#fff1bd;font-size:.84rem}.match3-resource-icon{display:block;width:38px;aspect-ratio:1;flex:0 0 auto;background-image:url(/assets/royalforge/city-hub/resource-icons-v1.png);background-repeat:no-repeat;background-size:200% 200%;filter:drop-shadow(0 2px 2px rgba(0,0,0,.55))}.resource-coins{background-position:0 0}.resource-wood{background-position:100% 0}.resource-stone{background-position:0 100%}.resource-iron{background-position:100% 100%}.match3-resource.is-compact{min-width:0;font-size:.7rem}.match3-resource.is-compact .match3-resource-icon{width:26px}.match3-level-path{position:relative;display:grid;width:min(100% - 24px,620px);gap:14px;margin:0 auto;padding:22px 0 28px}.match3-level-path:before{position:absolute;top:20px;bottom:30px;left:50%;width:6px;border:1px solid #c79646;background:#233c48;box-shadow:0 0 0 2px #2a190ae6;content:"";transform:translate(-50%)}.match3-level-stop{position:relative;display:flex;width:88%}.match3-level-stop.align-left{justify-self:start}.match3-level-stop.align-right{justify-self:end}.match3-level-stop>button{position:relative;display:grid;width:100%;min-height:82px;grid-template-columns:60px minmax(0,1fr) auto;align-items:center;gap:8px;border:2px solid #cf9941;border-radius:7px;background:linear-gradient(135deg,#16405afa,#071f31fa);box-shadow:0 0 0 2px #35200c,0 9px 15px #0000006b,inset 0 2px #ffeca926;color:#fff0bc;cursor:pointer;padding:8px;text-align:left}.match3-level-stop>button:after{position:absolute;top:50%;width:16px;height:16px;border:3px solid #d4a048;border-radius:50%;background:#1f65a0;box-shadow:0 0 0 2px #33200e;content:"";transform:translateY(-50%)}.match3-level-stop.align-left>button:after{right:-14.5%}.match3-level-stop.align-right>button:after{left:-14.5%}.match3-level-stop.is-locked>button{filter:grayscale(.8) brightness(.58);cursor:not-allowed}.match3-level-number{display:grid;width:56px;aspect-ratio:1;place-items:center;border:3px solid #dfac4e;border-radius:50%;background:radial-gradient(circle,#2876b8,#0a3568 72%);box-shadow:0 0 0 2px #36200d;font-family:Royal Display,Georgia,serif;font-size:1.7rem;font-weight:700}.match3-level-info{display:grid;min-width:0;gap:2px}.match3-level-info strong{overflow:hidden;font-family:Royal Display,Georgia,serif;font-size:1.2rem;line-height:1;text-overflow:ellipsis;white-space:nowrap}.match3-level-info small{color:#b9d3d8;font-size:.72rem}.match3-level-reward{display:flex;flex-wrap:wrap;width:66px;justify-content:flex-end;gap:1px}.match3-map-state{position:relative;z-index:2;display:grid;width:min(100%,330px);justify-self:center;justify-items:center;gap:16px;margin-top:80px;padding:24px;border:2px solid #c89443;border-radius:7px;background:#061b2bf0}.match3-map-loader{width:54px;aspect-ratio:1;border:5px solid rgba(221,174,81,.28);border-top-color:#e3b456;border-radius:50%;animation:match3-spin .9s linear infinite}@keyframes match3-spin{to{transform:rotate(360deg)}}@container game (max-width: 560px){.match3-map-header{min-height:84px;padding-inline:11px}.match3-map-header h1{font-size:2rem}.match3-map-header small{font-size:.58rem}.match3-map-resources{gap:1px}.match3-resource{min-width:43px;font-size:.7rem}.match3-resource-icon{width:30px}.match3-level-stop{width:91%}.match3-level-stop>button{grid-template-columns:52px minmax(0,1fr) auto;min-height:76px}.match3-level-number{width:48px;font-size:1.5rem}.match3-level-info strong{font-size:1rem}.match3-level-reward{width:54px}.match3-resource.is-compact .match3-resource-icon{width:22px}.match3-resource.is-compact{font-size:.62rem}}@container game (orientation: portrait) and (min-height: 721px){.match3-game-footer{grid-template-columns:1fr;grid-template-rows:auto 1fr;align-content:space-between;gap:4px}.match3-booster-tray{border-right:0;border-bottom:0;padding:0 0 3px}.match3-boosters{width:min(100%,230px);margin:0 auto}.match3-reward-bar .match3-reward-resources{min-height:38px}}@container game (max-height: 720px) and (orientation: portrait){.match3-game-header{min-height:54px;margin-top:max(4px,env(safe-area-inset-top))}.match3-back-button{width:38px}.match3-header-crown{width:38px;height:38px}.match3-reward-bar{min-height:39px;margin-bottom:4px;padding-block:1px}.match3-reward-bar .match3-reward-resources{gap:clamp(7px,calc(var(--game-width) * .05),18px)}.match3-reward-bar .match3-resource.is-compact{font-size:.82rem}.match3-reward-bar .match3-resource.is-compact .match3-resource-icon{width:30px}.match3-move-shield{width:52px;height:61px;border-radius:6px 6px 18px 18px}.match3-move-shield:before{top:-15px;width:24px;height:24px}.match3-move-shield span{font-size:1.55rem}.match3-goals{min-height:70px;grid-template-columns:minmax(0,1fr) 54px minmax(0,1fr);margin-bottom:3px;padding:4px 5px 3px}.match3-goal{width:min(56px,calc(var(--game-width) * .17))}.match3-goal-medallion{width:42px}.match3-goal-medallion>.match3-tile-icon,.match3-goal-medallion>.match3-goal-blocker{width:31px;height:31px}.match3-goal-medallion>strong{min-width:21px;height:21px;font-size:.67rem}.match3-goal>span:last-child{font-size:.56rem}.match3-board{width:min(calc(var(--game-width) - 18px),calc(var(--game-height) - 348px));min-width:272px;min-height:272px}.match3-notice{min-height:19px;margin-block:5px 1px;font-size:.71rem}.match3-game-footer{min-height:74px;grid-template-columns:1fr;grid-template-rows:auto 1fr;padding-block:4px 6px}.match3-booster{width:58px}.match3-booster-medallion{width:54px}.match3-booster-medallion>strong{min-width:22px;height:22px;font-size:.7rem}.match3-booster-label,.match3-goal>span:last-child{font-size:.58rem}.match3-resource-copy small{font-size:.54rem}}@container game (max-height: 660px) and (orientation: portrait){.match3-screen{display:grid;grid-template-rows:auto auto auto minmax(0,1fr) auto auto}.match3-board{width:auto;height:100%;min-width:0;min-height:0;max-width:calc(var(--game-width) - 18px);justify-self:center}.match3-unlock-hint{display:none}}@container game (min-width: 900px) and (min-height: 760px){.match3-screen{--match3-desktop-board-size: min( calc(var(--game-width) * .54), calc(var(--game-height) - var(--bottom-menu-total) - 250px), 580px );--match3-desktop-board-top: clamp( 215px, calc(var(--game-height) * .22), 235px );display:block;padding:0}.match3-backdrop{inset:0 0 var(--bottom-menu-total);background-image:url(/assets/royalforge/match3/match3-castle-quarry-background-landscape-v1.webp);background-size:100% 100%}.match3-game-header{position:absolute;top:max(10px,env(safe-area-inset-top));right:0;left:0;width:min(100% - 40px,720px);min-height:68px;margin:0 auto}.match3-level-copy strong{font-size:2rem}.match3-reward-bar{position:absolute;top:calc(var(--match3-desktop-board-top) - 144px);right:0;left:0;width:min(100% - 40px,380px);min-height:48px;margin:0 auto}.match3-goals{position:absolute;top:calc(var(--match3-desktop-board-top) - 91px);right:0;left:0;width:min(100% - 40px,580px);min-height:88px;margin:0 auto}.match3-goal{width:76px}.match3-goal-medallion{width:58px}.match3-goal-medallion>.match3-tile-icon,.match3-goal-medallion>.match3-goal-blocker{width:50px;height:50px}.match3-move-shield{width:72px;height:84px}.match3-board{position:absolute;top:var(--match3-desktop-board-top);left:50%;width:var(--match3-desktop-board-size);height:var(--match3-desktop-board-size);min-width:0;min-height:0;margin:0;transform:translate(-50%)}.match3-notice{position:absolute;top:calc(var(--match3-desktop-board-top) + var(--match3-desktop-board-size) + 7px);right:0;left:0;width:var(--match3-desktop-board-size);margin:0 auto;font-size:.88rem}.match3-game-footer{position:absolute;top:var(--match3-desktop-board-top);left:min(calc(var(--game-width) * .78),calc(50% + 320px));width:min(180px,calc(calc(var(--game-width) * .22) - 10px));min-height:var(--match3-desktop-board-size);grid-template-rows:1fr auto;align-content:center;gap:18px;margin:0;padding:18px 0 8px;border:0;background:transparent;box-shadow:none}.match3-game-footer:before,.match3-game-footer:after{display:none}.match3-booster-tray{align-content:center}.match3-boosters{width:auto;flex-direction:column;gap:17px}.match3-booster{width:92px;gap:4px}.match3-booster-medallion{width:84px}.match3-booster-label{font-size:.78rem}.match3-unlock-hint{align-self:end;margin:0;padding-top:9px;font-size:.86rem}}@container game (orientation: landscape) and (max-height: 759px){.match3-screen{display:block;min-height:0;padding:0}.match3-backdrop{top:0;right:0;bottom:0;left:0;background-image:url(/assets/royalforge/match3/match3-castle-quarry-background-landscape-v1.webp)}.match3-game-header{position:absolute;top:8px;right:max(12px,env(safe-area-inset-right));left:max(12px,env(safe-area-inset-left));width:auto;min-height:68px;margin:0 auto}.match3-reward-bar{position:absolute;top:79px;left:max(12px,env(safe-area-inset-left));width:min(calc(var(--game-width) * .28),240px);min-height:42px;margin:0}.match3-reward-bar .match3-reward-resources{flex-wrap:wrap;gap:2px 8px}.match3-reward-bar .match3-resource.is-compact{font-size:.72rem}.match3-reward-bar .match3-resource.is-compact .match3-resource-icon{width:27px}.match3-goals{position:absolute;top:133px;left:max(12px,env(safe-area-inset-left));width:min(calc(var(--game-width) * .28),240px);min-height:0;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);align-content:start;gap:5px;margin:0;padding:7px}.match3-goal-group{flex-wrap:wrap}.match3-goal{width:52px}.match3-goal-medallion{width:40px}.match3-goal-medallion>.match3-tile-icon,.match3-goal-medallion>.match3-goal-blocker{width:31px;height:31px}.match3-move-shield{width:48px;height:58px}.match3-move-shield:before{top:-15px;width:24px;height:24px}.match3-move-shield span{font-size:1.55rem}.match3-board{position:absolute;top:82px;left:50%;width:min(calc(var(--game-height) - var(--bottom-menu-total) - 94px),420px);min-width:190px;min-height:190px;margin:0;transform:translate(-50%)}.match3-notice{display:none}.match3-game-footer{position:absolute;top:92px;right:max(12px,env(safe-area-inset-right));width:min(calc(var(--game-width) * .25),210px);min-height:0;grid-template-columns:1fr;gap:7px;margin:0;padding:7px}.match3-booster-tray{border-right:0;border-bottom:0;padding:0}.match3-booster{width:58px}.match3-booster-medallion{width:54px}.match3-booster-medallion>strong{min-width:20px;height:20px;font-size:.66rem}.match3-unlock-hint{display:none}}@media(prefers-reduced-motion:reduce){.match3-map-loader{animation-duration:2s}.match3-board,.match3-goal,.match3-booster-medallion{transition:none}}.match3-map-status{padding:.65rem 1rem;margin:.4rem auto;max-width:30rem;color:#fff2c4;text-align:center;background:#152d46e8;border-radius:.8rem}.match3-chest-chance{display:block;text-align:center;color:#ffe3a4;font-size:.7rem;margin-top:.2rem}.mining-play{--mining-goal-extra: 0px;--mining-board-size: min( calc(var(--game-width) - 20px), calc( var(--game-height) - var(--bottom-menu-total) - 366px - var(--mining-goal-extra) ), 520px );position:relative;isolation:isolate;display:grid;grid-template-rows:50px calc(64px + var(--mining-goal-extra)) var(--mining-board-size) 28px 180px;align-content:center;gap:8px;width:100%;height:calc(var(--game-height) - var(--bottom-menu-total));padding:6px 10px;color:#fff4cf}.mining-play .match3-backdrop{top:0;right:0;bottom:0;left:0;background-size:cover}.mining-header{display:grid;grid-template-columns:40px minmax(0,1fr) 78px;align-items:center;gap:6px}.mining-header .match3-back-button{width:34px;font-size:26px}.mining-header .match3-level-copy strong{font-size:clamp(18px,5.5cqw,30px)}.mining-header .match3-level-copy small{font-size:10px}.mining-reward-entry{min-height:34px;padding:6px 8px;border:1px solid #c4a35c;border-radius:8px;background:#092d48ed;color:#fff0ca;font-size:12px;cursor:pointer}.mining-goals{display:grid;grid-template-columns:minmax(0,1fr) 50px minmax(0,1fr);align-items:center;gap:5px;width:min(100%,520px);justify-self:center;padding:3px 5px;border:2px solid #e6b756;border-radius:18px;background:linear-gradient(100deg,#07314deb,#0c4161f5,#07314deb);box-shadow:inset 0 0 0 2px #9e732f,0 2px 5px #0008}.mining-play .match3-goal-group{gap:5px;flex-wrap:nowrap}.mining-play .match3-goal{display:flex;flex-direction:column;align-items:center;justify-content:center;width:auto;min-width:0;gap:2px}.mining-play .match3-goal-medallion{width:36px;height:36px}.mining-play .match3-goal-medallion>.match3-tile-icon,.mining-play .match3-goal-medallion>.match3-goal-blocker{width:32px;height:32px}.mining-play .match3-goal>.mining-goal-copy{display:flex;width:auto;min-width:0;overflow:visible;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px;max-width:100%;font:11px/1.1 Forge Sans,Arial,sans-serif;color:#fff1c4;text-shadow:0 1px 3px #001727;white-space:normal}.mining-goal-copy strong{color:#ffd16c;font-size:18px}.mining-goals[data-goals="2"] .match3-goal{flex-direction:row;gap:5px}.mining-goals[data-goals="2"] .mining-goal-copy{flex-wrap:nowrap;font-size:clamp(9px,2.6cqw,12px)}.mining-play.has-many-goals{--mining-goal-extra: 16px}.has-many-goals .match3-goal{position:relative;flex:1 1 0}.has-many-goals .match3-goal>.mining-goal-copy{font-size:9px;line-height:1.05}.has-many-goals .mining-goal-copy strong{position:absolute;top:14px;left:calc(50% + 4px);display:grid;place-items:center;min-width:18px;height:18px;border:1px solid #ecc46f;border-radius:50%;background:#092d48;font-size:11px}.mining-play .match3-move-shield{width:48px;height:54px}.mining-play .match3-move-shield:before{display:none}.mining-play .match3-move-shield span{font-size:28px}.mining-play .match3-move-shield small{font-size:9px}.mining-play .match3-move-shield.is-low{background:linear-gradient(#a84229,#642114);border-color:#ffbe77}.mining-board-slot{display:grid;min-height:0;min-width:0;place-items:center}.mining-play .match3-board{position:relative;top:auto;left:auto;transform:none;flex:none;width:var(--mining-board-size);height:var(--mining-board-size);min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;padding:5px;gap:2px}.mining-play .match3-cell.is-target-preview{background:#e5af3a;box-shadow:inset 0 0 0 2px #fff3a7,0 0 8px #ffcb5c}.mining-play .match3-cell.is-target-center{outline:3px solid #fff;outline-offset:-3px}.mining-play .match3-cell.is-hint{outline:2px solid #b5ffff;outline-offset:-2px;box-shadow:inset 0 0 12px #69ecffd9;animation:mining-hint-glow 1.4s ease-in-out infinite alternate}.match3-hint-arrow{position:absolute;right:0;bottom:0;z-index:2;border-radius:4px;padding:0 2px;background:#073c50;color:#d5ffff;font:700 16px/1 Arial,sans-serif;pointer-events:none}@keyframes mining-hint-glow{to{box-shadow:inset 0 0 3px #69ecff66}}@media(prefers-reduced-motion:reduce){.mining-play .match3-cell.is-hint{animation:none}}.mining-notice{display:grid;place-items:center;min-width:0;margin:0;padding:1px 5px;border-radius:6px;background:#092b43e8;color:#fff1c3;font:12px/1.2 Arial,sans-serif;text-align:center}.mining-notice small{display:block;font-size:10px;color:#eacb8d}.mining-notice button{min-height:28px;padding:2px 12px;border:1px solid #e6bc68;border-radius:5px;background:#16476a;color:#fff1c3;cursor:pointer}.mining-boosters{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:minmax(0,1fr) auto;gap:5px;width:min(100%,520px);justify-self:center}.mining-booster-renewal{grid-column:1 / -1;margin:0;padding:3px 4px;border-radius:5px;background:#092b43e8;color:#fff0cc;font:10px/1.2 Arial,sans-serif;text-align:center}.mining-booster-card{display:grid;grid-template-rows:minmax(0,1fr) 28px;min-width:0;padding:6px 4px 4px;border:2px solid #d7a747;border-radius:13px;background:radial-gradient(ellipse at top,#15516a88,transparent 80%),#062b40ee;box-shadow:inset 0 0 0 1px #f5da8c,0 0 0 1px #623f19,0 3px 5px #0008}.mining-booster-card.is-active{border-color:#ffedb4;background-color:#285166;box-shadow:inset 0 0 0 1px #fff1aa,0 0 12px #efc45a80}.mining-play .match3-booster{display:grid;grid-template-columns:1fr;grid-template-rows:minmax(0,1fr) auto auto;align-items:center;justify-items:center;align-content:center;width:100%;min-width:0;padding:0;border:0;border-radius:6px;background:none;gap:3px}.mining-play .match3-booster:disabled{filter:none;opacity:.65}.mining-play .match3-booster-medallion{width:52px;height:52px;border-width:2px}.mining-play .match3-booster-label{font:700 clamp(14px,4cqw,21px) / 1.1 "Royal Display",Georgia,serif;text-align:center;color:#fff0c5}.mining-booster-free{width:100%;padding:2px 0;border:1px solid #34708b;border-radius:15px;color:#fff2cd;font:500 clamp(10px,2.8cqw,14px) / 1.2 "Forge Sans",Arial,sans-serif;white-space:nowrap}.mining-booster-stock{display:flex;align-items:center;justify-content:center;gap:4px;min-width:0;font:12px/1.1 Forge Sans,Arial,sans-serif;color:#dacba8}.mining-booster-plus{display:grid;flex:0 0 28px;width:28px;height:28px;padding:0;place-items:center;border:2px solid #e9bd61;border-radius:50%;background:radial-gradient(circle at 40% 25%,#267da5,#073255 75%);box-shadow:inset 0 1px 2px #fff5c766,0 2px 3px #0009;color:#ffe8a1;font:700 24px/1 Arial,sans-serif;cursor:pointer}.mining-booster-plus:hover:not(:disabled){filter:brightness(1.2)}.mining-booster-plus:disabled{opacity:.5;cursor:default}.mining-booster-plus:focus-visible,.mining-play .match3-booster:focus-visible{outline:2px solid #b6f1ff;outline-offset:2px}.mining-booster-renewal>span{display:block;color:#d6c28d}.mining-booster-card .match3-booster-art,.mining-purchase-item .match3-booster-art{background-size:130% auto;background-position:center top}.mining-purchase>button{align-self:center;width:100%}.mining-purchase-item{display:grid;justify-items:center;gap:8px}.mining-purchase-item .match3-booster-medallion{width:80px;height:80px}.mining-purchase-item h2{margin:0;font:700 26px Royal Display,Georgia,serif}.mining-purchase-item p{margin:0;text-align:center;line-height:1.4}.mining-purchase-wallet{display:flex;align-items:center;justify-content:center;gap:6px}.mining-purchase-wallet .coin-icon{width:24px;height:24px}.mining-purchase .mining-purchase-help{font-size:12px;color:#dfc98d}.shop-panel.mining-dialog{width:min(100%,440px);gap:12px;overflow-y:auto}.mining-dialog>p{margin:0;line-height:1.45}.mining-dialog .match3-reward-bar{position:static;width:100%;min-height:0;margin:0;padding:12px}.mining-dialog .match3-reward-resources{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.mining-dialog .match3-section-title{display:none}.mining-dialog .match3-resource-copy small{display:block;font-size:12px}.mining-dialog .match3-chest-chance{display:block;margin-top:12px;font-size:12px}.mining-chest{display:inline-flex;align-items:center;gap:5px;color:#ffe4ac;font:12px/1.2 Arial,sans-serif}.mining-chest-art{width:42px;height:42px;flex:0 0 42px;background-image:url(/assets/royalforge/treasury/chest-tier-atlas-v1.png);background-size:300% auto;background-position:0 50%}.mining-chest-art.tier-rare{background-position:50% 50%}.mining-chest-art.tier-unusual{background-position:100% 50%}.mining-dialog .match3-result-rewards{display:flex;flex-wrap:wrap;justify-content:center;gap:12px}.mining-dialog p,.mining-dialog .match3-victory-crown{text-align:center}.mining-current{display:grid;grid-column:1 / -1;gap:6px}.mining-current>button:first-child{min-height:44px;padding:8px 14px;border:1px solid #e0bd71;border-radius:8px;background:linear-gradient(#205879,#12374f);color:#fff2cb;font:700 16px Royal Display,Georgia,serif;cursor:pointer}.mining-current small{font:12px Arial,sans-serif;color:#e0c68f}.mining-restart{justify-self:center;min-height:28px;border:0;background:none;color:#d7c8aa;cursor:pointer}.match3-level-stop.is-current>button{border-color:#ffe4a1;box-shadow:0 0 0 2px #dca344,0 6px 14px #0008}.match3-level-info strong{overflow:visible;white-space:normal;overflow-wrap:break-word}.match3-level-stop .match3-level-reward{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px}.match3-level-stop .mining-chest{flex-direction:column;gap:1px;font-size:10px;text-align:center}.match3-level-stop .mining-chest-art{width:24px;height:24px;flex-basis:24px}@container game (max-width: 560px){.match3-map-header{grid-template-columns:minmax(0,1fr);gap:8px}.match3-map-header h1{white-space:nowrap}.match3-map-resources{width:100%;justify-content:space-between}.match3-map-resources .match3-resource{min-width:0}}@container game (orientation: portrait) and (max-height: 799px){.mining-play{--mining-board-size: min( calc(var(--game-width) - 16px), calc( var(--game-height) - var(--bottom-menu-total) - 266px - var(--mining-goal-extra) ) );grid-template-rows:40px calc(50px + var(--mining-goal-extra)) var(--mining-board-size) 24px 128px;gap:4px;padding:4px 8px}.mining-play .match3-goal-medallion{width:32px;height:32px}.mining-play .match3-goal-medallion>.match3-tile-icon,.mining-play .match3-goal-medallion>.match3-goal-blocker{width:28px;height:28px}.mining-play .match3-goal-medallion>strong{min-width:20px;height:20px;font-size:11px}.mining-play .match3-move-shield{width:44px;height:46px}.mining-play .match3-move-shield span{font-size:25px}.mining-play .match3-booster-medallion{width:36px;height:36px;grid-row:1 / 3}.mining-play .match3-booster{grid-template-columns:36px minmax(0,1fr);grid-template-rows:18px 18px;gap:0 3px}.mining-play .match3-booster-label{font-size:14px}.mining-notice{font-size:10px}.mining-notice small{font-size:9px}}@container game (orientation: portrait) and (max-height: 620px){.mining-play{--mining-board-size: min( calc(var(--game-width) - 16px), calc( var(--game-height) - var(--bottom-menu-total) - 246px - var(--mining-goal-extra) ) );grid-template-rows:36px calc(46px + var(--mining-goal-extra)) var(--mining-board-size) 24px 116px}.mining-play .match3-booster-medallion{width:28px;height:28px}.mining-play .match3-booster{grid-template-columns:28px minmax(0,1fr);grid-template-rows:14px 14px}.mining-play .match3-booster-label{font-size:12px}.mining-booster-card{padding:3px 3px 2px}.mining-booster-free{font-size:9px;border:0}.mining-booster-stock{font-size:11px;gap:2px}.mining-booster-renewal{font-size:9px;padding:2px}}@container game (orientation: landscape){.mining-play{--mining-board-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 108px), calc(var(--game-width) - 360px), 580px );width:min(100%,1000px);margin:0 auto;grid-template-columns:148px minmax(0,1fr) 148px;grid-template-rows:48px minmax(0,1fr) 40px;gap:6px;padding:4px 12px}.mining-play .match3-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background-image:url(/assets/royalforge/match3/match3-castle-quarry-background-landscape-v1.webp)}.mining-header{grid-column:1 / -1}.mining-goals{grid-column:1;grid-row:2;grid-template-columns:1fr;gap:16px;align-self:center}.mining-play .match3-move-shield{grid-row:1;justify-self:center;width:64px;height:68px}.mining-play .match3-goal-group{flex-wrap:wrap}.mining-play .match3-goal{width:100%}.has-many-goals .match3-goal{width:calc((100% - 5px)/2)}.mining-board-slot{grid-column:2;grid-row:2}.mining-notice{grid-column:2;grid-row:3}.mining-boosters{grid-column:3;grid-row:2;grid-template-columns:1fr;grid-template-rows:none;align-content:center;gap:12px}.mining-booster-card{min-height:124px}.mining-play .match3-booster-medallion{width:40px;height:40px}.mining-play .match3-booster-label{font-size:17px}.mining-booster-free{font-size:11px}}@container game (orientation: landscape) and (max-height: 500px){.match3-map-header{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:0;gap:4px 12px;padding:8px 16px}.match3-map-header>div:first-child{grid-column:1;grid-row:1}.match3-map-header h1{font-size:30px}.match3-map-resources{grid-column:1;grid-row:2}.mining-current{grid-column:2;grid-row:1 / span 2;grid-template-columns:minmax(0,1fr) auto}.mining-current>button:first-child{grid-column:1 / -1;min-height:38px;font-size:14px}.mining-current small{align-self:center}.mining-play{--mining-board-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 88px), calc(var(--game-width) - 320px) );grid-template-columns:132px minmax(0,1fr) 132px;grid-template-rows:38px minmax(0,1fr) 30px;gap:4px}.mining-goals{gap:4px}.mining-play .match3-move-shield{width:48px;height:44px}.mining-play .match3-goal-medallion{width:32px;height:32px}.mining-play .match3-goal-medallion>.match3-tile-icon,.mining-play .match3-goal-medallion>.match3-goal-blocker{width:27px;height:27px}.mining-boosters{gap:6px}.mining-booster-card{min-height:66px;grid-template-rows:28px 28px;padding:3px 4px}.mining-play .match3-booster{grid-template-columns:34px minmax(0,1fr);grid-template-rows:14px 14px;column-gap:3px;row-gap:0}.mining-play .match3-booster-medallion{grid-row:1 / 3;width:28px;height:28px}.mining-play .match3-booster-label{font-size:14px}.mining-booster-free{font-size:10px;border:0}.mining-boosters{align-self:center}.mining-booster-renewal{font-size:8px;padding:1px 2px}.mining-purchase-item .match3-booster-medallion{width:52px;height:52px}.shop-panel.mining-purchase{gap:6px}}.profile-screen{--profile-gold: #f0c466;--profile-ink: #081522;--profile-blue: #103f7d;position:relative;display:grid;width:100%;height:var(--game-height);min-width:320px;min-height:320px;grid-template-rows:auto auto auto minmax(0,1fr);overflow:hidden;isolation:isolate;color:#fff5d7;background:#102a43}.player-profile-screen{grid-template-rows:auto auto minmax(0,1fr)}.player-profile-screen:has(.profile-context-bar){grid-template-rows:auto auto auto minmax(0,1fr)}.profile-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-color:#347ca8;background-image:linear-gradient(180deg,#071b3324,#060e1bd1),var(--profile-scene-image, none),radial-gradient(circle at 50% 8%,#b8e5ff 0,#5899c1 38%,#153c65);background-position:center;background-size:cover;filter:saturate(.9);transform:scale(1.02)}.profile-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(3,12,23,.5),transparent 25% 75%,rgba(3,12,23,.5)),radial-gradient(circle at 50% 18%,rgba(255,234,171,.17),transparent 42%);content:""}.profile-header{z-index:3;display:flex;min-width:0;align-items:center;justify-content:space-between;gap:14px;padding:max(11px,env(safe-area-inset-top)) clamp(12px,calc(var(--game-width) * .03),30px) 8px;background:linear-gradient(180deg,rgba(5,18,34,.94),rgba(5,18,34,.56),transparent)}.profile-header-title{display:flex;min-width:0;align-items:center;gap:10px}.profile-header.profile-heading{display:grid;grid-template-columns:44px minmax(0,1fr) 44px}.profile-heading>h1{grid-column:2;grid-row:1;text-align:center}.profile-heading>.profile-back-button{grid-column:1;grid-row:1}.profile-header-title p,.profile-header-title h1,.profile-heading h1{margin:0}.profile-header-title p{color:#f3c96c;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.profile-header-title h1,.profile-heading h1{color:#fff6da;font-family:Royal Display,Georgia,serif;font-size:clamp(29px,calc(var(--game-width) * .05),44px);line-height:.88;text-shadow:0 3px 0 #241307,0 7px 18px rgba(0,0,0,.48)}.profile-header-crest,.profile-back-button{display:grid;width:clamp(42px,calc(var(--game-width) * .07),56px);aspect-ratio:1;flex:0 0 auto;place-items:center;border:2px solid #f0c665;border-radius:50%;background:linear-gradient(145deg,#236eb5,#0a2e61);box-shadow:inset 0 0 0 3px #ffe3971f,0 4px #4f2b0d,0 8px 18px #00000057;color:#ffe399;font-size:25px}.profile-back-button{width:42px;border-radius:8px;color:#fff0ba;cursor:pointer;font-family:Georgia,serif;font-size:34px;line-height:1}.profile-ranking-return{display:inline-flex;min-height:40px;align-items:center;gap:7px;padding:7px 13px;border:1px solid #e8bd63;border-radius:999px;background:linear-gradient(180deg,#1e548afa,#0a2c57fa);box-shadow:inset 0 0 0 2px #ffe59f14,0 4px #42260d;color:#fff2c6;cursor:pointer;font-size:13px;font-weight:700}.profile-tabs{z-index:3;display:grid;width:min(calc(100% - 24px),650px);grid-auto-columns:minmax(0,1fr);grid-auto-flow:column;gap:4px;margin:0 auto 9px;padding:4px;border:1px solid rgba(239,193,97,.88);border-radius:9px;background:#071423eb;box-shadow:inset 0 0 0 2px #e5b14e14,0 7px 18px #00000059}.profile-tabs button{display:flex;min-width:0;min-height:42px;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#c9bea4;cursor:pointer;font-family:Royal Display,Georgia,serif;font-size:clamp(17px,calc(var(--game-width) * .03),21px);font-weight:700}.profile-tabs button[aria-current=page]{border-color:#f2c76b;background:linear-gradient(180deg,#2872bc,#103c79);box-shadow:inset 0 0 0 2px #ffedb51c,0 3px #4f2d0e;color:#fff5d3;text-shadow:0 2px 1px #071a35}.profile-screen button:focus-visible{outline:3px solid #a4ddff;outline-offset:2px}.profile-scroll{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#d7a94f rgba(10,25,42,.58);scrollbar-width:thin;-webkit-overflow-scrolling:touch}.profile-content{display:grid;width:min(calc(100% - 24px),1160px);gap:14px;margin:0 auto;padding:5px 0 max(26px,env(safe-area-inset-bottom))}.game-shell.has-bottom-menu .profile-content{padding-bottom:calc(var(--bottom-menu-total) + 20px)}.profile-hero{position:relative;display:grid;min-height:196px;grid-template-columns:148px minmax(0,1fr);align-items:center;gap:clamp(14px,calc(var(--game-width) * .03),28px);padding:clamp(18px,calc(var(--game-width) * .03),28px);overflow:hidden;border:2px solid #e5b65c;border-radius:14px;background:linear-gradient(105deg,#092444fa,#0e1c2bf0);box-shadow:inset 0 0 0 3px #ffe7aa0f,0 10px 30px #00000057;isolation:isolate}.profile-hero-scene{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-1;background-image:linear-gradient(90deg,#051930f0,#071d36b8 46%,#071422ed),var(--profile-scene-image, none);background-position:center;background-size:cover;filter:saturate(1.08)}.profile-avatar{position:relative;display:grid;width:140px;aspect-ratio:1;place-items:center;border:4px solid #f1c568;border-radius:50%;background:radial-gradient(circle at 50% 42%,#377db5,#112e52 66%,#071a30);box-shadow:0 0 0 4px #532d0f,0 0 0 7px #dea444bf,0 12px 26px #00000085,inset 0 0 28px #ffe0921f}.profile-tenure{position:absolute;top:10px;right:10px;z-index:2}.profile-tenure-button{position:relative;display:grid;place-items:center;width:36px;height:36px;padding:8px;border:1px solid #c2a05c66;border-radius:9px;color:#e7c683;background:#102b42e8;cursor:pointer}.profile-tenure-button:after{position:absolute;top:-4px;right:-4px;bottom:-4px;left:-4px;content:""}.profile-tenure-button svg{width:18px;height:18px}.profile-tenure-button[aria-expanded=true]{border-color:#dfbf7e;background:#254a67}.profile-tenure-popover{position:absolute;top:calc(100% + 8px);right:0;display:grid;gap:5px;width:max-content;max-width:min(260px,calc(var(--game-width) - 68px));padding:12px 16px;border:1px solid #c2a05c88;border-radius:10px;background:#102332;color:#f4f0e6;box-shadow:0 8px 24px #0006;font:400 13px/1.4 Forge Sans,Arial,sans-serif;overflow-wrap:anywhere}.profile-tenure-popover strong{font-size:14px}.profile-tenure-popover span{color:#b9c6cf}.profile-identity{min-width:0;padding-right:24px}.profile-eyebrow{margin:0;color:#f1c76c;font-size:10px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.profile-identity h2,.profile-ranking h2,.profile-inventory-intro h2,.profile-inventory-group h2{margin:0;color:#fff4d3;font-family:Royal Display,Georgia,serif;font-size:clamp(28px,calc(var(--game-width) * .04),44px);line-height:.96;text-shadow:0 3px 0 rgba(35,18,7,.9)}.profile-tier-rare{--profile-tier: #6bb6ff}.profile-tier-unusual{--profile-tier: #d18aff}.profile-ranking,.profile-inventory-group,.profile-inventory-intro{padding:clamp(13px,calc(var(--game-width) * .02),19px);border:1px solid rgba(226,179,86,.76);border-radius:11px;background:#07182aeb;box-shadow:inset 0 0 0 3px #ffe7ac0a,0 9px 25px #00000047}.profile-ranking>header,.profile-inventory-intro{display:flex;align-items:end;justify-content:space-between;gap:14px;margin-bottom:13px}.profile-ranking>header>span{padding:5px 9px;border:1px solid rgba(227,180,87,.45);border-radius:999px;color:#decda8;font-size:11px;white-space:nowrap}.profile-inventory-item small{color:var(--profile-tier);font-size:9px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.profile-inventory-item h3{margin:1px 0 0;color:#fff1cc;font-family:Royal Display,Georgia,serif;font-size:20px;line-height:.96;overflow-wrap:anywhere}.profile-item-art,.profile-ranking-avatar{position:relative;display:grid;overflow:hidden;place-items:center;border:1px solid var(--profile-tier, #d7b76d);background:radial-gradient(circle at 50% 38%,#ffe39938,#091d31f5)}.profile-item-art{width:72px;aspect-ratio:1;border-radius:7px;color:var(--profile-tier, #d7b76d);font-size:31px}.profile-inventory-content{gap:12px}.profile-inventory-intro{align-items:center;margin-bottom:0;background:linear-gradient(105deg,#0e3861f2,#0a1a2bf0)}.profile-inventory-intro>p{max-width:560px;margin:0;color:#d7d0bf;font-size:13px;line-height:1.35}.profile-inventory-group>header{display:flex;align-items:center;gap:10px;margin-bottom:10px}.profile-inventory-group>header>span{display:grid;width:43px;aspect-ratio:1;place-items:center;border:1px solid #e1b45c;border-radius:50%;background:#17436f;color:#ffe29a;font-size:20px}.profile-inventory-group header p{margin:0;color:#e5bd68;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.profile-inventory-group h2{font-size:29px}.profile-inventory-grid{display:grid;gap:9px;grid-template-columns:repeat(3,minmax(0,1fr))}.profile-inventory-item{--profile-tier: #cdb786;display:grid;min-width:0;grid-template-columns:78px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 10px;padding:9px;border:1px solid var(--profile-tier);border-radius:8px;background:linear-gradient(145deg,#1f3141fa,#0b1723fa)}.profile-inventory-item .profile-item-art{width:78px}.profile-inventory-item.is-locked{filter:saturate(.34);opacity:.64}.profile-inventory-item.is-equipped{box-shadow:inset 0 0 0 2px #ffdb7033,0 0 18px #ffc44729}.profile-inventory-copy{min-width:0}.profile-inventory-copy p,.profile-inventory-copy em{display:block;margin:4px 0 0;color:#cfc7b5;font-size:11px;font-style:normal;line-height:1.25}.profile-inventory-copy em{color:#f0d69b}.profile-inventory-item>button{min-height:39px;grid-column:1 / -1;border:1px solid #e8bd66;border-radius:5px;background:linear-gradient(180deg,#246fba,#103c78);box-shadow:inset 0 0 0 2px #ffe9b114,0 3px #4a2b0e;color:#fff2ca;cursor:pointer;font-family:Royal Display,Georgia,serif;font-size:18px;font-weight:700}.profile-inventory-item>button:disabled{cursor:default;filter:grayscale(.42);opacity:.58}.profile-empty{margin:0;padding:24px;border:1px dashed rgba(230,184,91,.55);border-radius:9px;background:#07182ae6;color:#d7ceb9;text-align:center}.profile-ranking>header{align-items:center}.profile-ranking-switcher{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:11px;padding:4px;border:1px solid rgba(220,177,89,.5);border-radius:8px;background:#04111fb3}.profile-ranking-switcher button{display:flex;min-width:0;min-height:41px;align-items:center;justify-content:center;gap:7px;border:1px solid transparent;border-radius:6px;background:transparent;color:#bfc3bb;cursor:pointer;font-family:Royal Display,Georgia,serif;font-size:18px;font-weight:700}.profile-ranking-switcher button[aria-pressed=true]{border-color:#edc268;background:linear-gradient(180deg,#286fb0,#123c70);box-shadow:inset 0 0 0 2px #ffe7a914;color:#fff0c5}.profile-ranking-list{display:grid;gap:7px}.profile-ranking-list>button{display:grid;min-width:0;min-height:70px;grid-template-columns:56px 54px minmax(0,1fr) auto 24px;align-items:center;gap:10px;padding:7px 10px;border:1px solid rgba(217,174,88,.58);border-radius:8px;background:linear-gradient(90deg,#143552fa,#081829fa);color:#f7ecd0;cursor:pointer;text-align:left}.profile-ranking-list>button:hover{filter:brightness(1.1)}.profile-ranking-list>button.is-current{border-color:#f4c665;box-shadow:inset 0 0 0 2px #ffdd821f,0 0 16px #ffc04226}.profile-ranking-list>button.is-podium{border-color:#e7bd65;background:linear-gradient(90deg,#513816f7,#112536fa 52%,#081829fa)}.profile-ranking-list>button.rank-1{border-color:#ffe08a;box-shadow:inset 0 0 0 2px #ffe08a1f,0 0 18px #ffc84b2b}.profile-ranking-place{color:#ffe198;font-family:Royal Display,Georgia,serif;font-size:26px;text-align:center}.profile-ranking-avatar{width:52px;aspect-ratio:1;border-radius:50%}.profile-city-crest{color:#ffe19a;font-family:Georgia,serif;font-size:27px;text-shadow:0 2px 0 #5b3513}.profile-ranking-name,.profile-ranking-score{display:grid;min-width:0}.profile-ranking-name strong{overflow:hidden;font-family:Royal Display,Georgia,serif;font-size:20px;text-overflow:ellipsis;white-space:nowrap}.profile-ranking-name small,.profile-ranking-score small{overflow:hidden;color:#bfc1ba;font-size:10px;text-overflow:ellipsis;white-space:nowrap}.profile-ranking-score{justify-items:end}.profile-ranking-score strong{color:#ffe29b;font-family:Royal Display,Georgia,serif;font-size:22px}.profile-ranking-arrow{color:#e6bd6a;font-family:Georgia,serif;font-size:30px}@container game (max-width: 900px){.profile-inventory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@container game (max-width: 640px){.profile-header{padding-right:10px;padding-left:10px}.profile-header-crest{width:42px}.profile-tabs{margin-bottom:5px}.profile-tabs button{min-height:39px;font-size:17px}.profile-content{width:min(calc(100% - 14px),1160px);gap:9px;padding-top:2px}.profile-hero{min-height:156px;grid-template-columns:94px minmax(0,1fr);gap:13px;padding:17px 13px}.profile-avatar{width:88px}.profile-identity h2{font-size:clamp(24px,calc(var(--game-width) * .08),34px)}.profile-identity{padding-right:33px}.profile-ranking,.profile-inventory-group,.profile-inventory-intro{padding:10px}.profile-ranking h2,.profile-inventory-intro h2{font-size:27px}.profile-inventory-intro{display:grid;gap:7px}.profile-inventory-grid{grid-template-columns:1fr}.profile-ranking>header{align-items:end}.profile-ranking-switcher button{gap:4px;font-size:14px}.profile-ranking-list>button{min-height:62px;grid-template-columns:38px 44px minmax(0,1fr) auto 13px;gap:6px;padding:6px}.profile-ranking-avatar{width:42px}.profile-ranking-place{font-size:21px}.profile-ranking-name strong{font-size:17px}.profile-ranking-score strong{font-size:18px}.profile-ranking-score small{font-size:8px}.profile-ranking-arrow{font-size:22px}}@container game (orientation: landscape) and (max-height: 560px){.profile-header{padding-top:max(5px,env(safe-area-inset-top))}.profile-header-crest,.profile-back-button{width:38px}.profile-header-title h1,.profile-heading h1{font-size:28px}.profile-tabs button{min-height:37px}.profile-content{grid-template-columns:minmax(0,1fr)}.profile-hero{min-height:142px}}@container game (max-width: 380px){.profile-tabs button{gap:3px;padding-inline:4px;font-size:clamp(13px,calc(var(--game-width) * .043),17px)}}.profile-scroll.is-inventory{overflow:hidden}.profile-inventory-host{height:100%;min-height:0}.profile-inventory-host .treasury-screen.is-embedded-inventory{width:100%;height:100%;min-width:0;min-height:0;grid-template-rows:auto minmax(0,1fr);background:transparent}.profile-inventory-host .treasury-scroll{padding-bottom:calc(var(--bottom-menu-total) + 24px)}.treasury-item.is-targeted-item{outline:3px solid #ffe09a;outline-offset:-3px;box-shadow:0 0 24px #d8aa4355}.profile-inventory-host .treasury-intro{padding:10px 12px;margin-bottom:10px;gap:5px}.profile-inventory-host .treasury-intro .treasury-eyebrow{display:none}.profile-inventory-host .treasury-intro h2{font-size:24px}.profile-inventory-host .treasury-intro p{font-size:12px;line-height:1.4}.profile-inventory-host .treasury-showcase{display:flex;align-items:center;gap:10px;padding:10px 12px;margin-bottom:12px}.profile-inventory-host .treasury-showcase-copy{flex:1;grid-template-columns:minmax(0,1fr);gap:8px}.profile-inventory-host .treasury-showcase-copy>span{display:none}.profile-inventory-host .treasury-showcase-copy strong{font-size:15px;line-height:1.2}.profile-inventory-host .treasury-showcase-copy p{font-size:12px;line-height:1.4;margin-top:4px}.profile-inventory-host .treasury-showcase-actions{display:flex;flex:0 0 132px}.profile-inventory-host .treasury-showcase-actions button{min-width:0;width:100%;font-size:15px;padding:8px;white-space:normal}.profile-inventory-host .treasury-item h4{font-size:20px;line-height:1.15;overflow-wrap:break-word}@container game (max-width: 400px){.profile-inventory-host .treasury-item{grid-template-columns:72px minmax(0,1fr);column-gap:8px}.profile-inventory-host .treasury-item-art{width:72px}.profile-inventory-host .treasury-item h4{font-size:18px}}@container game (max-width: 360px){.profile-inventory-host .treasury-showcase{align-items:stretch;flex-direction:column}.profile-inventory-host .treasury-showcase-actions{flex-basis:auto}.profile-inventory-host .treasury-showcase-actions button{min-height:36px}}.profile-context-bar{z-index:2;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;padding:8px 14px;background:#102a43ed;border-block:1px solid #e5b95a66;text-align:center;font-size:13px}.profile-context-bar button,.profile-wallet button{min-height:40px;border:1px solid #dfb65e;border-radius:9px;padding:8px 12px;background:linear-gradient(#245886,#12385f);color:#fff4d2;cursor:pointer}.profile-selected-avatar{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover;border-radius:inherit;display:block}.profile-wallet{min-width:0;padding:14px;border:1px solid #b49a5a88;border-radius:14px;background:#0f2539;font-family:Arial,sans-serif}.profile-wallet-compact{display:grid;grid-template-areas:"coins" "materials"}.profile-wallet-coins{grid-area:coins;display:grid;grid-template-columns:minmax(46px,1fr) 30px minmax(0,auto) 32px;column-gap:9px;align-items:center;min-width:0}.profile-wallet-caption{grid-column:1;grid-row:1;color:#c1ccd4;font-size:13px;line-height:1.3}.profile-wallet-coins .shop-resource-icon{grid-column:2;grid-row:1;width:30px;height:30px}.profile-wallet-balance{grid-column:3;grid-row:1;min-width:0;color:#ffe49e;font-size:25px;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profile-wallet-coins .coin-shop-plus{position:relative;grid-column:4;grid-row:1;width:32px;height:32px;min-height:32px;padding:6px;border:1px solid #dfba69;border-radius:50%;background:#174569;color:#ffe49e;box-shadow:inset 0 1px #80b6d755;font-size:20px}.profile-wallet-coins .coin-shop-plus:after{position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:50%;content:""}.profile-wallet-coins .coin-shop-plus svg{width:19px;height:19px}.profile-wallet-coins .coin-shop-plus:hover{background:#245d84}.profile-wallet-materials{grid-area:materials;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin-top:12px;padding-top:12px;border-top:1px solid #b7a57230}.profile-wallet-resource{display:flex;align-items:center;gap:8px;min-width:0}.profile-wallet-resource-copy{display:grid;gap:3px;min-width:0}.profile-wallet-resource-copy>span{color:#c1ccd4;font-size:11px;line-height:1.25}.profile-wallet-resource-copy>strong{color:#fff0c5;font-size:18px;line-height:1.1;font-weight:600;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.profile-wallet-materials .shop-resource-icon{flex:0 0 28px;width:28px;height:28px}.profile-wallet-compact>.profile-identity-message{grid-column:1 / -1}@container game (min-width: 641px){.profile-wallet-compact{grid-template-areas:"materials coins";grid-template-columns:minmax(0,3fr) minmax(180px,1.7fr);gap:22px;padding:18px 20px}.profile-wallet-coins{grid-template-columns:32px minmax(0,auto) 32px;justify-content:end;column-gap:10px;padding-left:20px;border-left:1px solid #b7a57230}.profile-wallet-caption{grid-column:2;grid-row:1;align-self:end;font-size:11px}.profile-wallet-coins .shop-resource-icon{grid-column:1;grid-row:1 / 3;width:32px;height:32px}.profile-wallet-balance{grid-column:2;grid-row:2;align-self:start;margin-top:3px;font-size:23px}.profile-wallet-coins .coin-shop-plus{grid-column:3;grid-row:1 / 3}.profile-wallet-materials{align-items:center;margin:0;padding:0;border:0}.profile-wallet-resource-copy>strong{font-size:21px}}@container game (max-width: 360px){.profile-wallet-compact{padding:12px}.profile-wallet-materials{gap:8px}.profile-wallet-resource{gap:5px}.profile-wallet-balance{font-size:23px}}.profile-identity-editor{display:grid;gap:10px;margin-top:18px;padding-top:14px;border-top:1px solid #e5b95a44}.profile-identity-editor input{width:100%;min-width:0;padding:11px 13px;border:1px solid #dec47d;border-radius:8px;background:#f8f1df;color:#11253a;font:inherit}.profile-identity-editor p,.profile-identity-message{margin:0;color:#e7d9b9;font-size:13px;line-height:1.5}.profile-identity-editor fieldset{min-width:0;margin:0;padding:10px 0;border:0}.profile-avatar-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-avatar-picker button{min-width:0;display:grid;justify-items:center;padding:8px 5px;gap:6px;font-size:12px}.profile-avatar-picker img{height:60px;width:60px;object-fit:contain}.profile-avatar-picker button[aria-pressed=true]{background:#22669b;outline:2px solid #ffe0a1;outline-offset:-3px}.profile-wallet button:disabled{opacity:.6;cursor:wait}.profile-identity-message{margin-top:10px}.rankings-screen{grid-template-rows:auto auto minmax(0,1fr)}.rankings-intro{margin:4px 16px 12px;text-align:center;font-size:13px}@container game (max-width: 430px){.profile-wallet:not(.profile-wallet-compact){padding:12px}}.profile-vk-photo{width:100%;height:100%;min-width:0;object-fit:cover;border-radius:inherit;display:block}.profile-identity{min-width:0}.profile-identity h2{overflow-wrap:anywhere}.profile-ranking-avatar .profile-selected-avatar{position:static;width:100%;height:100%}.profile-account-services{display:grid;grid-template-columns:minmax(0,1fr) auto;grid-column:1 / -1;min-width:0;border:1px solid #50616b;border-radius:14px;background:#101f2c;font-family:Arial,sans-serif}.profile-tutorial-entry{display:grid;grid-template-columns:32px minmax(0,1fr) 18px;grid-column:1 / -1;align-items:center;gap:11px;width:100%;min-width:0;min-height:58px;padding:8px 12px;border:1px solid #a99056;border-radius:10px;background:linear-gradient(112deg,#173a49,#0a2634);box-shadow:inset 0 0 0 1px #e1bc6824;color:#fff1cb;text-align:left}button.profile-tutorial-entry{cursor:pointer}button.profile-tutorial-entry:hover{border-color:#e6c77d;background:linear-gradient(112deg,#214858,#103441)}button.profile-tutorial-entry:focus-visible{outline:2px solid #e8bd64;outline-offset:2px}.profile-tutorial-entry.is-completed{min-height:46px;border-color:#a9905677;background:linear-gradient(112deg,#183643,#0b2632)}.profile-tutorial-icon{display:grid;width:32px;height:32px;place-items:center;border:1px solid #cfa95770;border-radius:7px;background:#225061;color:#ffdd8e}.profile-tutorial-icon>svg,.profile-tutorial-entry>svg{width:18px;height:18px}.profile-tutorial-entry>svg{color:#ffe29b}.profile-tutorial-copy{display:grid;min-width:0;gap:3px}.profile-tutorial-copy strong{font:700 20px/1.1 Shop Display,Georgia,serif}.profile-tutorial-copy small{color:#cadae0;font:12px/1.3 Forge Sans,Arial,sans-serif}.profile-tutorial-check{color:#c9d9a5;font:700 17px/1 Arial,sans-serif;text-align:center}.profile-details-entry{display:grid;grid-template-columns:35px minmax(0,1fr) 16px;align-items:center;gap:10px;width:100%;min-width:0;padding:17px 15px;border:0;border-radius:14px;background:transparent;color:#f4f0e6;font-family:inherit;text-align:left;cursor:pointer}.profile-details-entry:hover{background:#ffffff07}.profile-details-icon{display:grid;place-items:center;width:35px;height:35px;border-radius:10px;background:#203545;color:#dfbf7e}.profile-details-icon svg{width:20px;height:20px}.profile-details-entry strong{display:block;font-size:15px;font-weight:500}.profile-details-entry small{display:block;margin-top:5px;color:#afbfcb;font-size:11px}.profile-details-entry>svg{width:16px;height:16px;color:#afbfcb}.profile-session-action{display:grid;align-content:center;gap:8px;min-width:240px;margin:16px 15px;padding-left:20px;border-left:1px solid #33434f;text-align:center}.profile-session-action>small{color:#afbfcb;font-size:11px}.profile-session-button{display:flex;align-items:center;justify-content:center;gap:9px;width:100%;min-height:44px;padding:9px 12px;border:1px solid transparent;border-radius:9px;background:transparent;color:#dfaaa8;font:400 13px/1.3 Arial,sans-serif;cursor:pointer}.profile-session-button.is-guest{border-color:#bda36e88;background:#dfbf7e0c;color:#dfbf7e;font-size:14px;font-weight:500}.profile-session-button:hover:not(:disabled){background:#ffffff08}.profile-session-button:disabled{opacity:.6;cursor:default}.profile-session-button svg{flex:0 0 17px;width:17px;height:17px}.profile-session-error{margin:0;color:#ffd0bb;font-size:12px;overflow-wrap:anywhere}.profile-details-entry:focus-visible,.profile-session-button:focus-visible{outline:2px solid #dfbf7e;outline-offset:3px}@container game (max-width: 640px){.profile-account-services{grid-template-columns:minmax(0,1fr)}.profile-session-action{min-width:0;margin:0 15px;padding:14px 0 16px;border-top:1px solid #33434f;border-left:0}}.profile-edit-entry,.profile-avatar-camera{border:1px solid #e6bd62;color:#fff1ca;background:linear-gradient(#246ca0,#083553);cursor:pointer}.profile-identity-actions{display:grid;grid-template-columns:minmax(0,max-content) auto;align-items:center;justify-content:start;gap:6px;min-width:0;margin-top:14px}.profile-edit-entry{min-width:0;max-width:100%;white-space:normal;padding:10px 18px;border-radius:9px;font:700 15px Forge Sans,sans-serif}.profile-avatar-camera{position:absolute;right:0;bottom:0;z-index:5;display:grid;place-items:center;width:28px;height:28px;min-width:0;min-height:0;padding:0;border-radius:50%}.profile-avatar-camera svg{width:16px;height:16px}.profile-avatar-camera:after{position:absolute;top:-10px;right:-10px;bottom:-10px;left:-10px;border-radius:50%;content:""}.profile-avatar-camera:focus-visible{outline:2px solid #b5ecff;outline-offset:3px}@container game (max-width: 640px){.profile-avatar-camera{width:20px;height:20px}.profile-avatar-camera svg{width:12px;height:12px}}.shop-panel:has(.profile-editor){--profile-editor-surface: #101f2c;--profile-editor-gold: #dfbf7e;--profile-editor-muted: #9caebd;width:min(100%,390px);max-height:calc(var(--game-height) - 40px);padding:26px;border:1px solid #354450;border-radius:22px;color:#f4f0e6;background:var(--profile-editor-surface);box-shadow:0 22px 60px #0005;font-family:Arial,sans-serif}.shop-panel:has(.profile-editor):before,.shop-panel:has(.profile-editor):after{content:none}.shop-panel:has(.profile-editor) .shop-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 0 30px;text-align:left}.shop-panel:has(.profile-editor) .shop-header h1{color:#f4f0e6;font:500 22px/1.25 Arial,sans-serif;letter-spacing:-.6px;text-shadow:none}.shop-panel:has(.profile-editor) .shop-close{position:static;flex-shrink:0;width:32px;height:32px;border:0;border-radius:50%;background:#ffffff08;box-shadow:none;color:var(--profile-editor-muted);font:400 22px/1 Arial,sans-serif}.shop-panel:has(.profile-editor) button:focus-visible,.profile-editor input:focus-visible{outline:2px solid var(--profile-editor-gold);outline-offset:3px}.profile-editor{display:flex;flex-direction:column;min-height:0}.profile-editor form{flex:1;display:flex;flex-direction:column;min-height:0}.profile-editor-scroll{overflow:auto;min-height:0;overscroll-behavior:contain;padding:5px 1px 0;scrollbar-width:thin}.profile-editor-fields{min-width:0}.profile-editor-avatar{display:grid;grid-template-columns:116px minmax(0,1fr);gap:20px;align-items:center;min-width:0}.profile-editor-name{margin-top:25px;padding-top:22px;border-top:1px solid #2a3b49}.profile-editor-label-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:10px}.profile-editor-label-row label{color:#f4f0e6;font:500 13px/1.4 Arial,sans-serif}.profile-name-count{color:var(--profile-editor-muted);font-size:11px;font-variant-numeric:tabular-nums}.profile-avatar-preview{width:104px;margin:0 auto;aspect-ratio:1;flex-shrink:0;overflow:hidden;border:0;border-radius:50%;box-shadow:0 0 0 4px var(--profile-editor-surface),0 0 0 5px #b69a6066;background:#1b3246}.profile-avatar-preview img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.profile-avatar-sources{display:flex;flex-direction:column;gap:3px;min-width:0}.profile-editor input:not([type=range]):not([type=file]){min-width:0;width:100%;height:48px;box-sizing:border-box;border:1px solid #334856;border-radius:10px;background:#0a1723;color:#f4f0e6;font:400 17px/1.3 Arial,sans-serif;padding:0 42px 0 14px}.profile-editor-input-wrap{position:relative}.profile-editor-input-wrap>svg{position:absolute;top:16px;right:15px;width:15px;height:15px;color:#8299a9;pointer-events:none}.profile-editor button{min-width:0;min-height:44px;padding:8px 10px;border:0;border-radius:10px;color:#b7c3cc;background:transparent;box-shadow:none;font:400 14px/1.3 Arial,sans-serif;cursor:pointer}.profile-editor button:disabled{cursor:default;opacity:.55}.profile-editor button.profile-editor-primary{color:#182630;background:var(--profile-editor-gold);box-shadow:inset 0 1px #fff3}.profile-editor button.profile-editor-primary:hover:not(:disabled){background:#e9cb90}.profile-editor button.profile-editor-link{display:flex;align-items:center;flex-shrink:0;gap:5px;border:0;min-height:28px;padding:5px 0 5px 6px;color:var(--profile-editor-gold);font-size:12px}.profile-editor-link svg{width:12px;height:12px}.profile-editor button.profile-avatar-source{display:flex;align-items:center;gap:9px;width:100%;min-height:42px;padding:4px 7px;border-radius:9px;font-size:13px;text-align:left;color:var(--profile-editor-muted)}.profile-editor .profile-avatar-source[aria-pressed=true]{color:var(--profile-editor-gold);background:#dfbf7e0d}.profile-avatar-source:hover:not(:disabled){background:#ffffff06}.profile-source-art{display:grid;place-items:center;flex-shrink:0;width:28px;height:28px;border-radius:50%;background:#223442;color:#b5c6d2}.profile-source-art img{display:block;width:100%;height:100%;border-radius:inherit;object-fit:cover}.profile-source-art svg{width:15px;height:15px}.profile-source-art.is-native{background:#203e56;color:#b4d7f1}.profile-source-art.is-upload{background:#1a2b38;box-shadow:0 0 0 1px #425767}.profile-source-check{display:flex;margin-left:auto;visibility:hidden}.profile-source-check svg{width:14px;height:14px}.profile-avatar-source[aria-pressed=true] .profile-source-check{visibility:visible}.profile-editor small,.profile-editor p{margin:0;color:var(--profile-editor-muted);font:400 12px/1.4 Arial,sans-serif}.profile-editor .profile-editor-photo-note{margin-top:17px;text-align:center}.profile-editor-name-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:28px;margin-top:7px}.profile-editor .profile-editor-name-bottom p{font-size:11px}.profile-editor #profile-name-error{margin-top:8px;color:#f4b8aa}.profile-editor-footer{flex:0 0 auto;display:grid;grid-template-columns:1fr 1.6fr;align-items:center;gap:10px;margin-top:23px}.profile-editor-footer>button{min-width:0}.profile-crop-content{display:grid;justify-items:center;gap:10px}.avatar-crop-window{position:relative;width:min(100%,360px,calc(var(--game-height) - 275px));aspect-ratio:1;overflow:hidden;background:#041520;touch-action:none;cursor:grab;border:1px solid #e6bd62}.avatar-crop-window:active{cursor:grabbing}.avatar-crop-window img{position:absolute;max-width:none;max-height:none;pointer-events:none;-webkit-user-select:none;user-select:none}.avatar-crop-mask{position:absolute;top:0;right:0;bottom:0;left:0;border:1px solid #f6db91;border-radius:50%;box-shadow:0 0 0 150px #0009;pointer-events:none}.avatar-zoom{display:flex;align-items:center;gap:12px;width:min(100%,360px)}.avatar-zoom input{flex:1;min-width:0;accent-color:#e7bc61}@container game (max-width: 420px){.shop-panel:has(.profile-editor){padding:21px 19px;border-radius:18px}.shop-panel:has(.profile-editor) .shop-header h1{font-size:19px;letter-spacing:-.4px}.profile-editor-avatar{grid-template-columns:92px minmax(0,1fr);gap:10px}.profile-avatar-preview{width:84px}.profile-editor button.profile-avatar-source{gap:7px;padding-inline:4px;font-size:12px}}@media(pointer:coarse){.shop-panel:has(.profile-editor) .shop-close{width:36px;height:36px}.profile-editor button.profile-avatar-source{min-height:44px}.profile-editor button.profile-editor-link{min-height:36px}}@container game (max-width: 600px){.profile-edit-entry{font-size:13px;padding:8px 10px}}.profile-settings-trigger{position:relative;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:8px;color:#ffe8ab;background:transparent;cursor:pointer}.profile-settings-trigger:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;border:1px solid #e6bd62;border-radius:8px;background:linear-gradient(#246ca0,#083553);box-shadow:inset 0 1px #ffffff28,0 2px 3px #071a24aa}.profile-settings-trigger svg{position:relative}.shop-panel.profile-settings-panel{width:min(100%,356px);padding:18px 16px 16px}.profile-settings-panel .shop-header{display:grid;place-items:center;min-height:44px;padding:0 43px 11px}.profile-settings-panel .shop-header h1{font:700 clamp(25px,7.6cqw,32px) / 1.06 "Shop Display",Georgia,serif}.profile-settings-panel .shop-close,.profile-settings-panel .shop-back{top:-4px;width:44px;height:44px}.profile-settings-panel .shop-back{position:absolute;left:-2px;padding:0;border:0;border-radius:7px;color:#ffdf98;background:transparent;font:32px/1 Georgia,serif;cursor:pointer}.profile-settings-body{display:grid;gap:7px;min-height:0;overflow-y:auto;overscroll-behavior:contain}.profile-settings-entry,.profile-settings-option{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid #8c7950;border-radius:7px;color:#fff0c5;text-align:left;font:700 21px/1.1 Shop Display,Georgia,serif;cursor:pointer}.profile-settings-entry{min-height:54px;background:linear-gradient(110deg,#173b4b,#0c2836)}.profile-settings-entry span{color:#ffe1a4;font:24px/1 Georgia,serif}.profile-settings-option{min-height:46px;padding:6px 13px;border-color:#596d71;background:#0c2635;font-size:22px}.profile-settings-option[aria-pressed=true]{border-color:#c9a75a;background:linear-gradient(#23566d,#123448)}.profile-settings-option span{color:#ffe2a0;font:700 18px/1 Arial,sans-serif}.profile-settings-body button:focus-visible{outline-offset:-4px}.treasury-screen{--treasury-gold: #e5b65b;--treasury-gold-bright: #ffe39a;--treasury-ink: #111b29;--treasury-blue: #0e3c78;--treasury-blue-bright: #2369b6;--treasury-parchment: #fff2d0;position:relative;display:grid;width:100%;height:var(--game-height);min-width:320px;min-height:320px;grid-template-rows:auto minmax(0,1fr);overflow:hidden;isolation:isolate;color:#fff7dc;background:#16324f}.treasury-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background-color:#315f83;background-image:linear-gradient(180deg,#0a25460f,#09121f9e),var(--treasury-background-image, none),radial-gradient(circle at 50% 12%,#9dd8ff 0,#4d9bce 35%,#174876);background-position:center;background-size:cover}.treasury-backdrop:after{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(90deg,rgba(7,18,31,.38),transparent 22% 78%,rgba(7,18,31,.38)),linear-gradient(180deg,#ffedb10f,#060d187a);content:""}.treasury-header{z-index:2;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:max(12px,env(safe-area-inset-top)) clamp(12px,calc(var(--game-width) * .03),32px) 10px;background:linear-gradient(180deg,rgba(7,21,39,.88),rgba(7,21,39,.45),transparent)}.treasury-title-lockup{display:flex;min-width:0;align-items:center;gap:10px}.treasury-crown{display:grid;width:clamp(42px,calc(var(--game-width) * .07),58px);aspect-ratio:1;flex:0 0 auto;place-items:center;border:2px solid #f0c665;border-radius:12px 12px 48% 48%;background:linear-gradient(145deg,#1758a2,#0a2d62);box-shadow:inset 0 0 0 3px #ffe08e1f,0 4px #4f2c0d,0 8px 20px #00000059;color:#ffe195;font-family:Royal Display,Georgia,serif;font-size:28px}.treasury-title-lockup p,.treasury-title-lockup h1{margin:0}.treasury-title-lockup p{color:#ffe09a;font-size:11px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.treasury-title-lockup h1{overflow:hidden;color:#fff8df;font-family:Royal Display,Georgia,serif;font-size:clamp(30px,calc(var(--game-width) * .05),46px);line-height:.92;text-overflow:ellipsis;text-shadow:0 3px 0 #28180c,0 7px 18px rgba(0,0,0,.52);white-space:nowrap}.treasury-balance{display:grid;min-width:132px;grid-template-columns:30px auto;align-items:center;padding:5px 14px 5px 6px;border:2px solid #d7a84d;border-radius:999px;background:linear-gradient(180deg,#192533fa,#0a1420fa);box-shadow:inset 0 0 0 2px #ffe09714,0 5px #381f0beb,0 10px 20px #00000047}.treasury-balance>span{display:grid;width:30px;aspect-ratio:1;grid-row:1 / 3;place-items:center;border:2px solid #ffe5a0;border-radius:50%;background:radial-gradient(circle at 36% 27%,#fff0a4,#e4a42d 58%,#8d4a0d);color:#75400d}.treasury-balance strong{padding-left:9px;color:#fff5cd;font-family:Royal Display,Georgia,serif;font-size:24px;line-height:.92}.treasury-balance small{padding-left:9px;color:#cfbf9e;font-size:10px;letter-spacing:.1em;text-transform:uppercase}.treasury-resource-balance{display:flex;align-items:center;gap:5px;color:#f4dfb1;font-size:12px;font-weight:700}.treasury-resource-balance span{padding:5px 8px;border:1px solid rgba(215,168,77,.74);border-radius:999px;background:#0a1420e6;box-shadow:0 3px 9px #0000003d;white-space:nowrap}.treasury-tabs{z-index:2;padding:0 clamp(12px,calc(var(--game-width) * .03),32px) 10px}.treasury-tabs>div{display:grid;width:min(100%,580px);margin:0 auto;padding:4px;grid-template-columns:repeat(2,minmax(0,1fr));border:1px solid rgba(245,194,92,.88);border-radius:9px;background:#10161df0;box-shadow:inset 0 0 0 2px #e2ac4a1a,0 7px 18px #00000061}.treasury-tabs button{display:flex;min-width:0;min-height:46px;align-items:center;justify-content:center;gap:9px;border:1px solid transparent;border-radius:6px;background:transparent;color:#cabd9e;font-family:Royal Display,Georgia,serif;font-size:22px;font-weight:700;cursor:pointer}.treasury-tabs button[aria-selected=true]{border-color:#f4c96c;background:linear-gradient(180deg,#236bb8,#103d80);box-shadow:inset 0 0 0 2px #ffecae1f,0 3px #4e2b0d;color:#fff4cb;text-shadow:0 2px 1px #071a35}.treasury-tabs button:focus-visible,.treasury-screen button:focus-visible,.treasury-screen select:focus-visible,.treasury-screen input:focus-visible{outline:3px solid #8dd2ff;outline-offset:2px}.treasury-scroll{min-width:0;min-height:0;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain;scrollbar-color:#d0a14f rgba(11,26,43,.58);scrollbar-width:thin;-webkit-overflow-scrolling:touch}.treasury-panel{width:min(100% - 24px,1180px);min-height:100%;margin:0 auto;padding:8px 0 max(28px,env(safe-area-inset-bottom))}.game-shell.has-bottom-menu .treasury-panel{padding-bottom:calc(var(--bottom-menu-total) + 20px)}.treasury-error{width:min(100% - 24px,760px);margin:2px auto 10px;padding:10px 14px;border:1px solid #f4aa6b;border-radius:7px;background:#5b1914f0;color:#fff2df;text-align:center}.treasury-intro{display:grid;align-items:end;gap:16px;margin-bottom:14px;grid-template-columns:minmax(200px,.8fr) minmax(280px,1.2fr);padding:12px clamp(14px,calc(var(--game-width) * .02),24px);border:1px solid rgba(230,181,88,.64);border-radius:8px;background:linear-gradient(105deg,#0b2544f0,#111b25db);box-shadow:inset 0 0 0 2px #ffe2a112,0 8px 24px #00000042}.treasury-intro p,.treasury-intro h2{margin:0}.treasury-intro>p{color:#ddd6c3;font-size:15px;line-height:1.35}.treasury-eyebrow{color:#f0c66b;font-size:11px;font-weight:700;letter-spacing:.13em;text-transform:uppercase}.treasury-intro h2{color:#fff5d5;font-family:Royal Display,Georgia,serif;font-size:clamp(27px,calc(var(--game-width) * .04),38px);line-height:.95}.treasury-showcase{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:14px;margin-bottom:16px;padding:12px 14px;border:1px solid rgba(247,200,103,.78);border-radius:9px;background:radial-gradient(circle at 10% 0%,rgba(57,128,198,.28),transparent 45%),linear-gradient(135deg,#143759f7,#121a25f7);box-shadow:inset 0 0 0 2px #ffe49f12,0 8px 24px #0000003d}.treasury-showcase-copy{display:grid;min-width:0;grid-template-columns:34px minmax(0,1fr);align-items:center;gap:10px}.treasury-showcase-copy>span{display:grid;width:34px;aspect-ratio:1;place-items:center;border:1px solid #f1c86f;border-radius:50%;background:radial-gradient(circle,#256fba,#0a2e59 72%);color:#ffe6a2;box-shadow:0 0 16px #449ceb52}.treasury-showcase strong{color:#fff1c8;font-family:Royal Display,Georgia,serif;font-size:21px}.treasury-showcase p{margin:3px 0 0;color:#d5d0c2;font-size:12px;line-height:1.3}.treasury-showcase-actions{display:flex;gap:8px}.treasury-showcase-actions button{min-height:40px;padding:7px 12px;border:1px solid #eac26d;border-radius:6px;background:linear-gradient(180deg,#236dbd,#103b7c);box-shadow:inset 0 0 0 2px #ffe8af17,0 3px #4d2b0e;color:#fff4d0;font-family:Royal Display,Georgia,serif;font-size:17px;font-weight:700;cursor:pointer;white-space:nowrap}.treasury-chest-grid{display:grid;gap:clamp(10px,calc(var(--game-width) * .018),18px);grid-template-columns:repeat(3,minmax(0,1fr))}.treasury-chest-card{--tier-color: #ccb486;--tier-glow: rgba(225, 206, 167, .28);position:relative;display:grid;min-width:0;grid-template-rows:repeat(5,auto);padding:16px 14px 14px;overflow:hidden;border:2px solid var(--tier-color);border-radius:12px;background:linear-gradient(180deg,#1c3753f5,#0d1724fa),#14283d;box-shadow:inset 0 0 0 3px #ffe3a60f,0 8px #4c2c12,0 15px 30px #00000057,0 0 30px var(--tier-glow)}.treasury-tier-rare{--tier-color: #65abf3;--tier-glow: rgba(63, 147, 255, .3)}.treasury-tier-unusual{--tier-color: #cc7fff;--tier-glow: rgba(183, 75, 255, .35)}.treasury-card-ribbon{position:absolute;top:12px;left:50%;z-index:2;min-width:118px;padding:5px 13px;border:1px solid var(--tier-color);border-radius:4px;background:linear-gradient(180deg,#173f78,#0b2854);box-shadow:0 3px #3e250f;color:#fff2c9;font-family:Royal Display,Georgia,serif;font-size:18px;font-weight:700;text-align:center;transform:translate(-50%)}.treasury-tier-unusual .treasury-card-ribbon{background:linear-gradient(180deg,#6b2e8d,#371750)}.treasury-chest-art{position:relative;display:grid;min-height:174px;place-items:center;margin:20px -2px 4px;overflow:hidden;border-radius:50%;background:radial-gradient(circle,var(--tier-glow),transparent 68%)}.treasury-chest-art:before,.treasury-reveal-rays:before{position:absolute;width:160%;aspect-ratio:1;background:repeating-conic-gradient(from 8deg,rgba(255,226,145,.14) 0 8deg,transparent 8deg 18deg);content:"";animation:treasury-rays 22s linear infinite}.treasury-chest-art>.treasury-art-fallback{display:grid;width:clamp(110px,calc(var(--game-width) * .12),148px);aspect-ratio:1.18;place-items:center;border:5px solid var(--tier-color);border-radius:18px 18px 28px 28px;background:linear-gradient(150deg,#d7a943,#7b3c13);box-shadow:inset 0 0 0 6px #28140761,0 12px 18px #00000073;color:#fff0ac;font-size:54px;transform:perspective(300px) rotateX(-5deg)}.treasury-tier-rare .treasury-chest-art>.treasury-art-fallback{background:linear-gradient(150deg,#599ce0,#174779)}.treasury-tier-unusual .treasury-chest-art>.treasury-art-fallback{background:linear-gradient(150deg,#a253d0,#4d1c67)}.treasury-art-layer{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;background-repeat:no-repeat;filter:drop-shadow(0 10px 8px rgba(0,0,0,.38))}.treasury-card-copy{text-align:center}.treasury-card-copy h3,.treasury-card-copy p{margin:0}.treasury-card-copy h3{color:#fff3cf;font-family:Royal Display,Georgia,serif;font-size:clamp(25px,calc(var(--game-width) * .03),32px);line-height:.95}.treasury-card-copy p{min-height:42px;margin-top:7px;color:#d9d1be;font-size:14px;line-height:1.3}.treasury-owned{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:12px 0 9px;padding:7px 10px;border-top:1px solid rgba(229,182,91,.32);border-bottom:1px solid rgba(229,182,91,.32);color:#bdb6a4;font-size:12px;letter-spacing:.04em;text-transform:uppercase}.treasury-owned strong{color:#fff1c6;font-family:Royal Display,Georgia,serif;font-size:21px}.treasury-chest-actions{display:grid;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,.82fr)}.treasury-chest-actions button,.treasury-item button,.treasury-simulate-button,.treasury-reveal-confirm{min-height:45px;border:1px solid #eac26d;border-radius:6px;box-shadow:inset 0 0 0 2px #ffe8af17,0 3px #4d2b0e;color:#fff4d0;font-family:Royal Display,Georgia,serif;font-size:19px;font-weight:700;cursor:pointer}.treasury-buy-button,.treasury-item button,.treasury-simulate-button,.treasury-reveal-confirm{background:linear-gradient(180deg,#236dbd,#103b7c);text-shadow:0 2px 1px #071a35}.treasury-buy-button{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:5px 9px}.treasury-buy-button strong{display:inline-flex;align-items:center;gap:4px;color:#ffe098;font-size:17px}.treasury-buy-button i{font-style:normal}.treasury-open-button{background:linear-gradient(180deg,#9a6122,#5d3514)}.treasury-screen button:disabled{cursor:default;filter:grayscale(.5);opacity:.58}.treasury-card-hint{margin:8px 0 0;color:#efc2a3;font-size:12px;text-align:center}.treasury-inventory-group{margin-bottom:16px;padding:14px;border:1px solid rgba(229,182,91,.7);border-radius:10px;background:#0a192be8;box-shadow:inset 0 0 0 3px #ffe5a60a,0 9px 24px #00000047}.treasury-inventory-group>header{display:flex;align-items:center;gap:10px;margin-bottom:12px}.treasury-inventory-group>header>span{display:grid;width:44px;aspect-ratio:1;flex:0 0 auto;place-items:center;border:1px solid #e2b65e;border-radius:50%;background:#173c68;color:#ffe09a;font-size:21px}.treasury-inventory-group header p,.treasury-inventory-group header h3{margin:0}.treasury-inventory-group header p{color:#e5bd68;font-size:10px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.treasury-inventory-group header h3{color:#fff2ce;font-family:Royal Display,Georgia,serif;font-size:30px;line-height:.95}.treasury-item-grid{display:grid;gap:10px;grid-template-columns:repeat(3,minmax(0,1fr))}.treasury-item{--tier-color: #c9b17d;display:grid;min-width:0;grid-template-columns:92px minmax(0,1fr);grid-template-rows:1fr auto;gap:8px 10px;padding:10px;border:1px solid var(--tier-color);border-radius:8px;background:linear-gradient(145deg,#212f3dfa,#0f1823fa)}.treasury-item.treasury-tier-rare{--tier-color: #65abf3}.treasury-item.treasury-tier-unusual{--tier-color: #cb7fff}.treasury-item.is-equipped{box-shadow:inset 0 0 0 2px #ffdc713d,0 0 20px #ffc14a2e}.treasury-item.is-preview-selected{box-shadow:inset 0 0 0 2px #ffe07e57,0 0 24px #4aa0ec4d}.treasury-item.is-preview-selected button{background:linear-gradient(180deg,#7b5b1a,#46300c);color:#ffe8a8}.treasury-item.is-locked{filter:saturate(.38);opacity:.68}.treasury-item-art{position:relative;display:grid;width:92px;aspect-ratio:1;place-items:center;overflow:hidden;border:1px solid var(--tier-color);border-radius:7px;background:radial-gradient(circle at 50% 38%,#ffe49c3d,#0b1c31f2)}.treasury-item-art>.treasury-art-fallback{color:var(--tier-color);font-size:40px}.treasury-item-copy{min-width:0}.treasury-item-copy>span{color:var(--tier-color);font-size:10px;font-weight:700;letter-spacing:.1em;text-transform:uppercase}.treasury-item h4,.treasury-item p{margin:0}.treasury-item h4{color:#fff3d0;font-family:Royal Display,Georgia,serif;font-size:23px;line-height:1;overflow-wrap:anywhere}.treasury-item p{margin-top:5px;color:#cfc9ba;font-size:12px;line-height:1.25}.treasury-item .treasury-item-effect{color:#f2d9a2}.treasury-item button{grid-column:1 / -1}.treasury-empty{margin:0;padding:18px;border:1px dashed rgba(229,182,91,.45);border-radius:7px;color:#d0c8b7;text-align:center}.treasury-lab{margin-top:18px;overflow:hidden;border:1px solid rgba(132,188,232,.72);border-radius:9px;background:#081523f0;box-shadow:0 8px 24px #0000004d}.treasury-lab-toggle{display:grid;width:100%;min-height:58px;grid-template-columns:36px minmax(0,1fr) 32px;align-items:center;gap:8px;padding:9px 14px;border:0;background:linear-gradient(90deg,#153c65,#10263c);color:#f0f6fb;text-align:left;cursor:pointer}.treasury-lab-toggle>span:first-child{display:grid;width:34px;aspect-ratio:1;place-items:center;border:1px solid #7fc5f4;border-radius:50%;color:#9fd8ff;font-size:22px}.treasury-lab-toggle>span:nth-child(2){display:grid}.treasury-lab-toggle small{color:#9ec7e1;font-size:9px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.treasury-lab-toggle strong{font-family:Royal Display,Georgia,serif;font-size:23px}.treasury-lab-toggle i{font-size:25px;font-style:normal;text-align:center}.treasury-lab-content{padding:14px;border-top:1px solid rgba(137,199,241,.44)}.treasury-lab-notice{margin:0 0 12px;padding:8px 11px;border-left:3px solid #6bc0f7;background:#3781b129;color:#d9effc;font-size:13px}.treasury-lab-controls{display:grid;grid-template-columns:minmax(180px,1fr) minmax(260px,auto) minmax(180px,auto);align-items:end;gap:12px}.treasury-lab-controls>label{display:grid;gap:5px;color:#c9e1ef;font-size:12px}.treasury-lab select{width:100%;min-height:44px;padding:7px 10px;border:1px solid #6999bd;border-radius:5px;background:#101d2b;color:#f2f7f9}.treasury-lab fieldset{display:flex;min-height:44px;align-items:center;gap:5px;margin:0;padding:3px 5px;border:1px solid #6999bd;border-radius:5px}.treasury-lab legend{padding:0 4px;color:#c9e1ef;font-size:11px}.treasury-lab fieldset label{cursor:pointer}.treasury-lab fieldset input{position:absolute;width:1px;height:1px;opacity:0}.treasury-lab fieldset span{display:grid;min-height:33px;place-items:center;padding:3px 9px;border-radius:4px;color:#c5d7e2}.treasury-lab fieldset input:checked+span{background:#1e5e99;color:#fff;box-shadow:inset 0 0 0 1px #86cdf8}.treasury-simulate-button{padding:6px 14px}.treasury-lab-error{margin:12px 0 0;color:#ffd4bb}.treasury-simulation-result{margin-top:14px;padding-top:12px;border-top:1px solid rgba(130,187,225,.28)}.treasury-simulation-result h3{margin:0 0 8px;color:#e6f3fb;font-family:Royal Display,Georgia,serif;font-size:22px}.treasury-simulation-table{display:grid;gap:5px}.treasury-simulation-table [role=row]{display:grid;grid-template-columns:minmax(0,1fr) 100px 80px;gap:8px;padding:7px 10px;border-radius:4px;background:#47719029}.treasury-simulation-table [role=cell]:nth-child(n+2){text-align:right}.treasury-dialog-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:20;display:grid;place-items:center;padding:18px;overflow:auto;background:#040a11c7;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.treasury-reveal{--tier-color: #d2b679;--tier-glow: rgba(245, 209, 120, .3);position:relative;display:grid;width:min(100%,480px);max-height:100%;justify-items:center;padding:28px 24px 22px;overflow:auto;border:2px solid var(--tier-color);border-radius:14px;background:radial-gradient(circle at 50% 36%,var(--tier-glow),transparent 40%),linear-gradient(180deg,#17385e,#0d1a2a 78%);box-shadow:inset 0 0 0 4px #ffe5a612,0 10px #4b2c12,0 20px 60px #0000009e,0 0 44px var(--tier-glow);text-align:center}.treasury-reveal.treasury-tier-rare{--tier-color: #65abf3;--tier-glow: rgba(63, 147, 255, .32)}.treasury-reveal.treasury-tier-unusual{--tier-color: #ce82ff;--tier-glow: rgba(183, 75, 255, .36)}.treasury-dialog-close{position:absolute;top:9px;right:9px;z-index:4;display:grid;width:38px;aspect-ratio:1;place-items:center;border:1px solid #d5b166;border-radius:50%;background:#172333;color:#fff0ca;font-size:27px;cursor:pointer}.treasury-reveal-kicker{z-index:2;margin:0;color:#ffe09a;font-size:12px;font-weight:700;letter-spacing:.14em;text-transform:uppercase}.treasury-reveal-rays{position:absolute;top:42px;left:50%;width:min(90%,360px);aspect-ratio:1;overflow:hidden;border-radius:50%;transform:translate(-50%)}.treasury-reveal-art{position:relative;z-index:1;display:grid;width:min(calc(var(--game-width) * .7),250px);aspect-ratio:1;place-items:center;margin-top:8px}.treasury-reveal-art>.treasury-art-fallback{color:var(--tier-color);font-size:102px;filter:drop-shadow(0 9px 6px rgba(0,0,0,.45))}.treasury-resource-artwork{position:relative;width:100%;height:100%;filter:drop-shadow(0 11px 9px rgba(0,0,0,.42))}.treasury-resource-medallion{position:absolute;top:50%;left:50%;display:block;width:60%;aspect-ratio:1;border-radius:50%;background-image:url(/assets/royalforge/city-hub/resource-icons-v1.png);background-size:200% 200%}.treasury-resource-medallion.is-wood{background-position:100% 0}.treasury-resource-medallion.is-stone{background-position:0 100%}.treasury-resource-medallion.is-iron{background-position:100% 100%}.treasury-resource-artwork.has-1 .treasury-resource-medallion{width:78%;transform:translate(-50%,-50%)}.treasury-resource-artwork.has-2 .treasury-resource-medallion:first-child{transform:translate(-72%,-58%) rotate(-8deg)}.treasury-resource-artwork.has-2 .treasury-resource-medallion:last-child{transform:translate(-28%,-42%) rotate(8deg)}.treasury-resource-artwork.has-3 .treasury-resource-medallion{width:54%}.treasury-resource-artwork.has-3 .treasury-resource-medallion:nth-child(1){transform:translate(-50%,-77%)}.treasury-resource-artwork.has-3 .treasury-resource-medallion:nth-child(2){transform:translate(-77%,-25%) rotate(-8deg)}.treasury-resource-artwork.has-3 .treasury-resource-medallion:nth-child(3){transform:translate(-23%,-25%) rotate(8deg)}.treasury-reveal-art>strong{position:absolute;right:13%;bottom:14%;display:grid;min-width:48px;min-height:40px;place-items:center;padding:4px 10px;border:2px solid var(--tier-color);border-radius:999px;background:#101d2c;color:#fff1cb;font-size:21px}.treasury-reveal-tier{z-index:1;color:var(--tier-color);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.treasury-reveal h2,.treasury-reveal>p:not(.treasury-reveal-kicker){z-index:1;margin:0}.treasury-reveal-resources{position:relative;z-index:1;display:flex;flex-wrap:wrap;justify-content:center;gap:7px;margin-top:12px}.treasury-reveal-resources strong{padding:6px 10px;border:1px solid color-mix(in srgb,var(--tier-color),transparent 24%);border-radius:999px;background:#08141fc7;color:#fff0c6}.treasury-reveal h2{color:#fff4d1;font-family:Royal Display,Georgia,serif;font-size:clamp(30px,calc(var(--game-width) * .07),42px);line-height:1}.treasury-reveal>p:not(.treasury-reveal-kicker){margin-top:8px;color:#d7cfbc}.treasury-reveal-confirm{z-index:1;width:min(100%,260px);margin-top:18px}@keyframes treasury-rays{to{transform:rotate(1turn)}}@container game (max-width: 860px){.treasury-header{flex-wrap:wrap}.treasury-resource-balance{width:100%;justify-content:flex-end;order:3;margin-top:-5px}.treasury-item-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.treasury-lab-controls{grid-template-columns:1fr 1fr}.treasury-simulate-button{grid-column:1 / -1}}@container game (max-width: 680px){.treasury-header{gap:8px}.treasury-title-lockup p{display:none}.treasury-balance{min-width:116px;padding-right:10px}.treasury-intro{grid-template-columns:1fr;gap:7px}.treasury-showcase{grid-template-columns:1fr}.treasury-showcase-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.treasury-showcase-actions button{min-width:0;white-space:normal}.treasury-chest-grid{grid-template-columns:1fr}.treasury-chest-card{grid-template-columns:minmax(122px,.8fr) minmax(160px,1.2fr);grid-template-rows:auto auto auto auto;column-gap:10px}.treasury-card-ribbon{top:10px;left:5px;width:106px;min-width:0;padding-inline:4px;font-size:15px;transform:none}.treasury-chest-art{min-height:154px;grid-row:1 / 4;margin:20px 0 0}.treasury-card-copy{align-self:end;padding-top:16px;text-align:left}.treasury-card-copy p{min-height:0}.treasury-owned{margin:8px 0}.treasury-chest-actions,.treasury-card-hint{grid-column:1 / -1}.treasury-item-grid,.treasury-lab-controls{grid-template-columns:1fr}.treasury-simulate-button{grid-column:auto}}@container game (max-width: 420px){.treasury-crown{display:none}.treasury-title-lockup h1{font-size:28px}.treasury-balance{min-width:104px;grid-template-columns:27px auto}.treasury-balance>span{width:27px}.treasury-balance strong{font-size:21px}.treasury-tabs button{min-height:42px;font-size:20px}.treasury-intro>p{font-size:13px}.treasury-showcase{gap:10px;padding:10px}.treasury-showcase strong{font-size:18px}.treasury-showcase-actions button{min-height:38px;padding-inline:7px;font-size:15px}.treasury-chest-card{grid-template-columns:110px minmax(0,1fr);padding:12px 10px}.treasury-chest-art{min-height:136px}.treasury-chest-art>.treasury-art-fallback{width:94px;font-size:44px}.treasury-card-copy h3{font-size:24px}.treasury-chest-actions button{font-size:17px}.treasury-lab fieldset{justify-content:space-between}.treasury-simulation-table [role=row]{grid-template-columns:minmax(0,1fr) 66px 62px}}@container game (orientation: landscape) and (max-height: 560px){.treasury-header{padding-top:max(7px,env(safe-area-inset-top));padding-bottom:6px}.treasury-crown{width:39px;font-size:22px}.treasury-title-lockup p,.treasury-balance small{display:none}.treasury-title-lockup h1{font-size:29px}.treasury-tabs{padding-bottom:6px}.treasury-tabs button{min-height:37px;font-size:19px}.treasury-intro{padding-block:8px}.treasury-intro h2{font-size:27px}.treasury-chest-card{grid-template-columns:100px minmax(130px,1fr);grid-template-rows:auto auto auto auto;column-gap:9px;padding:10px}.treasury-card-ribbon{top:8px;left:5px;width:104px;min-width:0;padding-inline:4px;font-size:15px;transform:none}.treasury-chest-art{min-height:124px;grid-row:1 / 4;margin:17px 0 0}.treasury-chest-art>.treasury-art-fallback{width:88px;font-size:38px}.treasury-card-copy{align-self:end;padding-top:10px;text-align:left}.treasury-card-copy h3{font-size:22px}.treasury-card-copy p{min-height:0;font-size:11px}.treasury-owned{margin:5px 0;padding:4px 7px}.treasury-chest-actions,.treasury-card-hint{grid-column:1 / -1}}@media(prefers-reduced-motion:reduce){.treasury-chest-art:before,.treasury-reveal-rays:before{animation:none}}.city-shop{max-width:1100px;margin:0 auto;color:#f8edcf}.city-shop-heading h2{font-size:clamp(23px,calc(var(--game-width) * .04),34px);margin:5px 0 10px}.city-shop-heading>p:last-child{color:#c6d7dd;font-size:14px;line-height:1.55}.city-shop-wallet{padding:15px;margin:18px 0;background:linear-gradient(135deg,#163e4e,#0b2938);border:1px solid #bf9647;border-radius:12px;display:grid;gap:10px}.city-shop-wallet strong{font-size:17px;overflow-wrap:anywhere}.city-shop-wallet>div{display:flex;flex-wrap:wrap;gap:8px 16px;color:#ffe09a;font-variant-numeric:tabular-nums}.city-shop-wallet small,.city-shop-hint{font-size:12px;line-height:1.5;color:#bdcfd6}.city-shop-filter{display:grid;gap:7px;max-width:350px;font-size:13px;margin:18px 0;color:#d5b877}.city-shop-filter select{padding:11px;border:1px solid #7c734f;border-radius:7px;background:#123341;color:#fff0cd;font-size:15px}.city-shop-grid{align-items:start}.city-shop-grid>article{min-width:0;overflow-wrap:anywhere}.city-shop-grid h3{font-size:18px;margin:7px 0;line-height:1.25}.city-shop-grid button{min-height:40px;height:auto;white-space:normal;line-height:1.3;padding:9px 8px;font-size:13px}.city-shop-grid button:disabled{opacity:.5;cursor:default}.city-shop-price{display:flex;flex-wrap:wrap;gap:5px 11px;color:#f7d57f;font-size:12px;line-height:1.45}.city-shop-preview{border:1px solid #b59451;border-radius:12px;background:#0c2737;padding:12px;margin:16px 0;max-width:480px}.city-shop-preview-heading{display:flex;gap:12px;align-items:start;justify-content:space-between;margin-bottom:10px;line-height:1.4}.city-shop-preview-heading button{flex:none;width:32px;height:32px;border-radius:50%;border:1px solid #d3a644;background:#123d50;color:#ffe7a3;font-size:22px}.city-shop-preview p{font-size:12px;color:#c3d4dc;line-height:1.4;margin:10px 0 0}.city-shop-scene{position:relative;width:min(100%,280px);aspect-ratio:941/1672;margin:auto;overflow:hidden;border-radius:7px}.city-shop-scene img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:cover}.city-shop-confirm{padding:12px;border:1px solid #d6b764;background:#102d40;border-radius:8px;display:grid;gap:10px}.city-shop-confirm strong,.city-shop-confirm p{font-size:12px;line-height:1.5;margin:0}.city-shop-message{padding:12px;background:#173b48;border:1px solid #9f8a55;border-radius:9px;font-size:14px;line-height:1.5}@container game (max-width: 560px){.city-shop-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.city-shop-grid .treasury-item-copy{padding:8px}.city-shop-grid h3{font-size:15px}.city-shop-grid .treasury-item-copy>span{font-size:10px}.city-shop-grid .city-shop-confirm{grid-column:1/-1}.city-shop-grid button{font-size:12px}}.treasury-screen.has-city-shop .treasury-tabs>div{grid-template-columns:repeat(3,minmax(0,1fr))}.treasury-screen.has-city-shop .treasury-tabs button{font-size:clamp(13px,calc(var(--game-width) * .037),20px);padding:8px 4px;gap:0}.city-shop-grid>.treasury-item{display:flex;flex-direction:column;gap:10px;padding:12px}.city-shop-grid .treasury-item-art{width:100%;height:130px;min-height:100px}.city-shop-grid .treasury-item-copy{width:100%;padding:0;min-width:0}.city-shop-grid .treasury-item-copy>span{display:block;white-space:normal;line-height:1.4}.city-shop-grid button{width:100%;flex:none}.city-shop-grid .city-shop-hint{margin:0}@container game (max-width: 560px){.city-shop-grid>.treasury-item{padding:10px}.city-shop-grid .treasury-item-art{height:100px}}.treasury-screen:has(.treasury-tabs){grid-template-rows:auto auto minmax(0,1fr)}.city-shop-grid>.treasury-item.is-confirming{grid-column:1/-1}.unified-profile.player-profile-screen{grid-template-rows:auto minmax(0,1fr)}.unified-profile.player-profile-screen:has(.profile-context-bar){grid-template-rows:auto auto minmax(0,1fr)}.unified-profile .profile-content{width:min(calc(100% - 24px),1160px);gap:12px;padding-top:8px}.unified-profile .profile-heading{padding-block:8px}.unified-profile .profile-heading h1{font-family:Shop Display,Georgia,serif;font-size:clamp(30px,4.5cqw,46px)}.unified-profile .profile-hero{min-height:108px;grid-template-columns:78px minmax(0,1fr);gap:15px;padding:12px 14px;border-width:1px;border-radius:12px;box-shadow:inset 0 0 0 2px #ffe2a311}.unified-profile .profile-avatar{width:70px;border-width:2px;box-shadow:0 0 0 3px #67451e,0 0 0 5px #d5aa5b}.unified-profile .profile-avatar-camera{width:24px;height:24px;right:-4px;bottom:0}.unified-profile .profile-avatar-camera svg{width:14px;height:14px}.unified-profile .profile-identity{padding-right:25px}.unified-profile .profile-identity h2{font:700 clamp(22px,5.3cqw,30px) / 1 "Shop Display",Georgia,serif}.unified-profile .profile-identity-actions{margin-top:8px}.unified-profile .profile-edit-entry{font-size:12px;padding:7px 11px;border-radius:6px}.unified-profile .profile-tenure{top:10px;right:10px}.unified-profile .profile-tenure-button{width:31px;height:31px;border-radius:7px}.unified-profile .profile-tenure-button svg{width:19px;height:19px}.unified-profile .profile-wallet{min-width:0;margin:0;border-color:#b89a59;border-radius:12px;background:linear-gradient(110deg,#173442ed,#081e2bea)}.unified-profile .profile-wallet-compact{padding:10px 13px;gap:9px}.unified-profile .profile-wallet-coins{min-width:0}.unified-profile .profile-wallet-balance{font-size:26px}.unified-profile .profile-wallet-materials{padding-top:9px;gap:8px}.unified-profile .profile-wallet-resource-copy>strong{font-size:18px}.unified-profile .profile-wallet-resource-copy>span{font-size:11px}.unified-profile .profile-wallet-materials .shop-resource-icon{width:30px;height:30px}.unified-profile .profile-account-services{border-color:#8d8d71;border-radius:10px;background:#0b2532e8}.unified-profile .profile-details-entry{gap:8px;padding:8px 12px;grid-template-columns:25px minmax(0,1fr) 14px}.unified-profile .profile-details-icon{width:25px;height:25px;border-radius:7px}.unified-profile .profile-details-icon svg{width:18px;height:18px}.unified-profile .profile-details-entry small,.unified-profile .profile-session-action>small{display:none}.unified-profile .profile-session-action{min-width:0;margin:0 12px;padding:7px 0 10px}.unified-profile .profile-session-button{min-height:34px;padding-block:6px;border-radius:6px}.profile-inline-inventory{min-width:0}.profile-inventory{min-width:0;color:#ffedc2}.profile-inventory-panel{min-width:0;padding:0 10px 3px;border:1px solid #cdb678;border-radius:12px;background:linear-gradient(120deg,#13333fe8,#061d2bf5);box-shadow:inset 0 0 0 2px #fae2a710}.profile-inventory-heading{display:flex;align-items:center;gap:10px;margin:0;padding:11px 5px;border-bottom:1px solid #c5a96166;font:700 25px/1.1 Shop Display,Georgia,serif}.profile-fold{min-width:0}.profile-fold+.profile-fold{border-top:1px solid #9baf9e55}.profile-fold>h3{margin:0}.profile-fold>h3>button{display:flex;align-items:center;gap:12px;width:100%;min-width:0;min-height:58px;padding:10px 6px;border:0;border-radius:0;background:transparent;color:#fff0cc;font:700 20px/1.1 Shop Display,Georgia,serif;text-align:left;cursor:pointer}.profile-fold>h3>button:hover{background:#5277871a}.profile-fold>h3>button:focus-visible,.profile-look-filters>button:focus-visible{outline:2px solid #ffe2a0;outline-offset:-3px}.profile-fold-copy{display:flex;flex:1;flex-direction:column;min-width:0;gap:3px}.profile-fold-copy small{color:#c1d1d5;font:12px/1.2 Forge Sans,Arial,sans-serif}.profile-fold-chevron{flex:0 0 21px;width:21px;height:21px;color:#ffe2a0}.profile-inventory-icon{flex:0 0 24px;width:24px;height:24px;color:#edc567}.profile-fold-body{padding:0 3px 10px}.profile-fold-body[hidden],.profile-fold-body>[role=tabpanel][hidden]{display:none}.profile-look-filters{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));padding:2px;margin-bottom:9px;border:1px solid #c5a969;border-radius:7px;background:#061d2bb3}.profile-look-filters>button{min-width:0;min-height:34px;padding:6px;border:1px solid transparent;border-radius:5px;background:transparent;color:#eddfb9;font:700 15px/1.1 Shop Display,Georgia,serif;cursor:pointer}.profile-look-filters>button[aria-selected=true]{border-color:#e5be65;color:#fff0cc;background:linear-gradient(#287bb5,#123a5a);box-shadow:inset 0 0 0 1px #e7cb7c44}.profile-look-filters>button:hover:not([aria-selected=true]){background:#52778722}.profile-equipped-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-looks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.profile-look{display:grid;min-width:0;gap:5px;align-items:center;padding:8px;border:1px solid #b9b69d;border-radius:9px;background:linear-gradient(125deg,#1d303b,#071c29)}.profile-look-art{position:relative;width:68px;max-width:100%;aspect-ratio:1;justify-self:center}.profile-look-art .treasury-art-layer,.profile-chest-art .treasury-art-layer{position:absolute;top:0;right:0;bottom:0;left:0;display:block;background-repeat:no-repeat}.profile-look-copy{display:flex;min-width:0;flex-direction:column;gap:6px}.profile-look h3{margin:0;color:#fff0ce;font:700 17px/1.06 Shop Display,Georgia,serif;overflow-wrap:anywhere}.profile-look.is-equipped{text-align:center;padding:6px}.profile-look.is-equipped .profile-look-art{width:55px}.profile-look.is-equipped h3{font-size:15px}.profile-look-installed{color:#a9df6d;font:600 11px/1.25 Forge Sans,Arial,sans-serif}.profile-look.is-locked{border-color:#687d81;background:linear-gradient(125deg,#152c36,#0b202b)}.profile-look.is-locked .profile-look-art{opacity:.65;filter:saturate(.65)}.profile-look-locked{display:inline-flex;align-items:center;gap:5px;color:#d4d5cb;font:12px/1.2 Forge Sans,Arial,sans-serif}.profile-look-locked svg{width:15px;height:15px;color:#e3bd67}.profile-inventory-action{min-height:32px;padding:5px 12px;border:1px solid #eac873;border-radius:6px;color:#fff1c9;background:linear-gradient(#267abb,#093a62);box-shadow:inset 0 0 0 2px #e7c67722;font:700 16px/1.1 Shop Display,Georgia,serif;cursor:pointer}.profile-inventory-action:hover:not(:disabled){filter:brightness(1.15)}.profile-inventory-action:disabled{opacity:.6;cursor:default}.profile-look-copy .profile-inventory-action{align-self:stretch;margin-top:auto}.profile-inventory-empty{margin:0;padding:10px 5px;color:#bdd0d7;font:13px/1.5 Forge Sans,Arial,sans-serif}.profile-inventory-empty p{margin:0 0 7px}.profile-inventory-shop{padding:0;border:0;background:none;color:#eac873;cursor:pointer;font:inherit}.profile-chests-list{display:grid;gap:7px}.profile-owned-chest{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:9px;min-width:0;padding:7px 9px;border:1px solid #b9b69d;border-radius:9px;background:linear-gradient(120deg,#19313b,#071c29)}.profile-chest-art{position:relative;width:48px;aspect-ratio:1}.profile-owned-chest h3{margin:0;font:700 17px/1.1 Shop Display,Georgia,serif;overflow-wrap:anywhere}.profile-chest-count{color:#ffe198;font-size:17px;white-space:nowrap}.profile-inventory-error{margin:0 0 8px;padding:9px;border:1px solid #cb9b6c;border-radius:6px;color:#ffe5bd;font:13px/1.4 Forge Sans,Arial,sans-serif}.profile-look.is-targeted-item{outline:2px solid #9eddff;outline-offset:2px;box-shadow:0 0 14px #80d0ff66}@container game (min-width: 800px){.unified-profile.is-own-profile .profile-content{grid-template-columns:minmax(0,.85fr) minmax(0,1.25fr);align-items:center}.unified-profile .profile-hero{min-height:112px}.unified-profile.is-own-profile .profile-content:has(>.profile-tutorial-entry)>.profile-wallet{grid-area:1 / 2}.unified-profile .profile-wallet-compact{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:13px;align-items:center;min-height:94px}.unified-profile .profile-wallet-coins{grid-column:2;grid-row:1;padding-left:14px;border-left:1px solid #8b95625e}.unified-profile .profile-wallet-caption{display:none}.unified-profile .profile-wallet-materials{grid-column:1;grid-row:1;padding:0;border:0}.unified-profile .profile-wallet-resource{flex-direction:row}.unified-profile .profile-inline-inventory,.unified-profile .profile-account-services{grid-column:1 / -1}.unified-profile .profile-session-action{min-width:260px;padding:6px 0 6px 15px}.profile-inventory-panel{padding:0 13px 11px}.profile-look{grid-template-columns:68px minmax(0,1fr);gap:12px;padding:9px 12px}.profile-look.is-equipped{grid-template-columns:60px minmax(0,1fr);text-align:left;padding:8px 12px}.profile-look.is-equipped h3{font-size:18px}.profile-look-copy .profile-inventory-action{align-self:flex-start;min-width:120px}.profile-look.is-equipped .profile-look-art{width:60px}.profile-look h3{font-size:20px}.profile-owned-chest{grid-template-columns:60px minmax(0,1fr) auto minmax(120px,180px);padding:8px 15px}.profile-chest-art{width:60px}.profile-owned-chest h3{font-size:21px}}@container game (max-width: 370px){.unified-profile .profile-content{width:calc(100% - 14px);gap:8px}.unified-profile .profile-hero{grid-template-columns:64px minmax(0,1fr);padding:11px 10px;gap:10px}.unified-profile .profile-avatar{width:58px}.unified-profile .profile-identity{padding-right:18px}.unified-profile .profile-identity h2{font-size:22px}.unified-profile .profile-edit-entry{padding:6px 8px;font-size:11px}.profile-inventory-panel{padding-inline:6px}.profile-look{padding:6px}.profile-look h3{font-size:15px}.profile-look.is-equipped h3{font-size:13px}.profile-look-installed{font-size:10px}.profile-owned-chest{grid-template-columns:38px minmax(0,1fr) auto auto;gap:6px;padding:6px}.profile-chest-art{width:38px}.profile-owned-chest h3{font-size:15px}.profile-owned-chest .profile-inventory-action{padding-inline:7px;font-size:14px}}.unified-profile .profile-wallet-materials{margin-top:0}.profile-looks-grid>.profile-look:only-child{grid-column:1 / -1;grid-template-columns:60px minmax(0,1fr)}.profile-looks-grid>.profile-look:only-child .profile-look-copy .profile-inventory-action{align-self:flex-start;min-width:110px}@container game (min-width: 800px) and (max-height: 800px){.unified-profile .profile-content{gap:9px;padding-top:5px}.unified-profile .profile-heading{padding-block:4px}.unified-profile .profile-heading h1{font-size:34px}.unified-profile .profile-hero{min-height:94px;padding-block:10px}.unified-profile .profile-wallet-compact{min-height:80px}.profile-inventory-heading{font-size:23px;padding-block:8px}.profile-fold>h3>button{min-height:51px;padding-block:7px;font-size:19px}.profile-look,.profile-look.is-equipped{grid-template-columns:48px minmax(0,1fr);padding:6px 10px}.profile-look-art,.profile-look.is-equipped .profile-look-art{width:48px}.profile-look h3{font-size:18px}.profile-owned-chest{grid-template-columns:42px minmax(0,1fr) auto minmax(100px,160px);padding-block:5px}.profile-chest-art{width:42px}}.unified-profile .profile-hero{overflow:visible;z-index:1}.unified-profile .profile-hero-scene{border-radius:inherit}.profile-discovery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.profile-discovery-grid .profile-look{display:flex;flex-direction:column;gap:7px;padding:7px 5px;text-align:center;border-color:#d1ac59}.profile-discovery-grid .profile-look-art{width:100%;aspect-ratio:1.15;opacity:1;filter:none}.profile-discovery-grid .profile-look-copy{flex:1;width:100%;align-items:center}.profile-discovery-grid .profile-look h3{font-size:16px;line-height:1.06}.profile-discovery-grid .profile-look-locked{margin-top:auto;color:#e6decd;font-size:10px}.profile-discovery-grid .profile-look-locked svg{width:13px;height:13px}.profile-all-looks{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;min-height:36px;padding:7px;border:0;background:transparent;color:#f2d379;font:600 13px/1.2 Forge Sans,Arial,sans-serif;cursor:pointer}.profile-all-looks:hover{color:#fff0ba}.profile-all-looks svg{width:17px;height:17px}@container game (min-width: 800px){.profile-discovery-grid{gap:14px}.profile-discovery-grid .profile-look{padding:10px 9px;border-radius:12px}.profile-discovery-grid .profile-look-art{aspect-ratio:1.7}.profile-discovery-grid .profile-look h3{font-size:23px}.profile-discovery-grid .profile-look-locked{font-size:13px}.profile-discovery-grid .profile-look-locked svg{width:16px;height:16px}}@container game (max-width: 370px){.profile-discovery-grid{gap:5px}.profile-discovery-grid .profile-look{padding:6px 3px}.profile-discovery-grid .profile-look h3{font-size:14px}.profile-discovery-grid .profile-look-locked{font-size:9px;gap:3px}}@container game (min-width: 800px) and (max-height: 800px){.profile-discovery-grid .profile-look-art{height:105px;aspect-ratio:auto}.profile-discovery-grid .profile-look{padding:8px}.profile-discovery-grid .profile-look h3{font-size:20px}}@container game (max-width: 759px) and (max-height: 760px){.unified-profile .profile-content{gap:8px;padding-top:5px}.unified-profile .profile-heading{padding-block:4px}.unified-profile .profile-heading h1{font-size:30px}.unified-profile .profile-hero{min-height:90px;grid-template-columns:64px minmax(0,1fr);padding-block:9px;gap:10px}.unified-profile .profile-avatar{width:58px}.unified-profile .profile-identity h2{font-size:22px}.unified-profile .profile-edit-entry{padding-block:6px;font-size:11px}.unified-profile .profile-wallet-compact{padding:8px 11px;gap:5px}.unified-profile .profile-wallet-materials{padding-top:6px}.unified-profile .profile-wallet-balance{font-size:24px}.profile-inventory-heading{font-size:23px;padding-block:8px}.profile-fold>h3>button{min-height:51px;padding-block:7px;font-size:19px}.profile-discovery-grid .profile-look-art{height:66px;aspect-ratio:auto}.profile-discovery-grid .profile-look h3{font-size:14px}.profile-discovery-grid .profile-look{gap:5px;padding:6px 4px}.profile-discovery-grid .profile-look-locked{font-size:9px}}@font-face{font-family:League Display;src:url(/assets/royalforge/fonts/cormorant-garamond-cyrillic-700.ttf) format("truetype");font-style:normal;font-weight:700;font-display:swap}.league-emblem{display:block;flex:0 0 auto;width:90px;aspect-ratio:1;background:url(/assets/royalforge/leagues/league-emblems-v1.webp) 0 0 / 300% 200% no-repeat}.league-emblem[data-tier="1"]{background-position:50% 0}.league-emblem[data-tier="2"]{background-position:100% 0}.league-emblem[data-tier="3"]{background-position:0 100%}.league-emblem[data-tier="4"]{background-position:50% 100%}.smithy-screen .workshop-league-trigger>.league-emblem{width:36px}.shop-overlay:has(>.league-panel){padding:20px;background:linear-gradient(#03101930,#03101950),url(/assets/royalforge/leagues/workshop-surround-v1.webp) center / cover no-repeat;-webkit-backdrop-filter:none;backdrop-filter:none}.league-panel.shop-panel{--league-line: #bd954965;width:min(100%,900px);height:auto;max-height:calc(var(--game-height) - 48px);min-height:0;padding:14px 18px 16px;border:1px solid #f7d689;border-radius:12px;background:radial-gradient(ellipse at 50% 12%,#17374438,transparent 60%),linear-gradient(#02141fc9,#02131ed5),url(/assets/royalforge/shops/panel-texture-v1.webp) center / 420px auto;box-shadow:0 0 0 2px #61401a,0 0 0 3px #e2b866,inset 0 0 0 2px #142c34,inset 0 0 0 3px #b78c4380,0 18px 55px #000b;color:#ffedc6;font-family:Georgia,serif}.league-panel.shop-panel:before,.league-panel.shop-panel:after{display:none}.league-panel .shop-header{flex:0 0 auto;padding:0 27px 9px;border-bottom:1px solid var(--league-line)}.league-panel .shop-header h1{color:#ffe0a0;font:700 clamp(27px,7.9cqw,42px) / 1 "League Display",Georgia,serif;text-shadow:0 2px 2px #000,0 0 12px #e5b75025;overflow-wrap:normal}.league-panel .shop-close{top:1px;right:-5px;width:29px;height:29px;border:1px solid #f2ce79;font-size:24px;box-shadow:inset 0 0 0 2px #1c3a43,0 2px 5px #0009;background:#092331}.league-corner{position:absolute;z-index:3;width:53px;aspect-ratio:1;background:url(/assets/royalforge/leagues/league-ornaments-v1.webp) 50% 100% / 300% 200% no-repeat;pointer-events:none}.league-corner-tl{left:-6px;top:-6px}.league-corner-tr{right:-6px;top:-6px;transform:rotate(90deg)}.league-corner-bl{left:-6px;bottom:-6px;transform:rotate(-90deg)}.league-corner-br{right:-6px;bottom:-6px;transform:rotate(180deg)}.league-tiers{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));flex:0 0 auto;list-style:none;margin:0;padding:7px 0 0;border-bottom:1px solid var(--league-line)}.league-tiers li{position:relative;display:flex;flex-direction:column;align-items:center;min-width:0;padding:0 0 8px;font-size:15px;line-height:1}.league-tiers .league-emblem{width:clamp(54px,17.5cqw,84px)}.league-tiers li[aria-current]{color:#ffe49c;text-shadow:0 0 8px #d6a23888}.league-tiers li[aria-current]:after{content:"";position:absolute;left:10%;right:10%;bottom:-2px;height:3px;border-radius:4px;background:linear-gradient(90deg,#e7a337,#fff2ad,#e7a337);box-shadow:0 0 7px #efb43d}.league-tiers li[aria-current] .league-emblem{filter:drop-shadow(0 0 9px #e8bb3460)}.league-summary{text-align:center;flex:0 0 auto;padding:0 0 10px}.league-divider{position:relative;display:flex;align-items:center;justify-content:center;gap:8px;width:70%;margin:3px auto 0;color:#e9bc63;height:15px;font-size:22px}.league-divider:before,.league-divider:after{content:"";height:1px;flex:1;background:linear-gradient(90deg,transparent,#c5994c)}.league-divider:after{transform:rotate(180deg)}.league-summary h2{margin:0 0 5px;color:#ffd488;font:700 clamp(32px,9cqw,43px) / .95 "League Display",Georgia,serif;text-shadow:0 2px 2px #000}.league-countdown{display:flex;align-items:center;justify-content:center;gap:7px;margin:0 0 6px;font-size:15px;line-height:1.25}.league-countdown:before,.league-countdown:after{content:"";width:25px;height:1px;background:linear-gradient(90deg,transparent,#b8934c)}.league-countdown:after{transform:rotate(180deg)}.league-clock{position:relative;display:inline-block;width:16px;height:16px;border:1.5px solid #edbd66;border-radius:50%;flex:0 0 auto;box-shadow:0 1px 3px #000}.league-clock:before,.league-clock:after{content:"";position:absolute;background:#edbd66;left:6px;top:3px;width:1px;height:5px}.league-clock:after{top:7px;width:5px;height:1px}.league-score-rule{margin:0;font:700 18px/1.1 League Display,Georgia,serif}.league-score-rule small{display:block;margin-top:3px;color:#acbdc3;font:11px/1.2 Forge Sans,Arial,sans-serif}.league-group-heading{display:flex;align-items:center;justify-content:space-between;flex:0 0 auto;gap:8px;padding:5px 0 6px;border-top:1px solid var(--league-line)}.league-group-heading h2{margin:0;color:#ffd58b;font:700 30px/1 League Display,Georgia,serif;text-shadow:0 1px #000}.league-group-heading>span{font-size:14px;white-space:nowrap}.league-zones{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:0 0 auto;border-block:1px solid var(--league-line);padding:7px 0}.league-zones>span{display:flex;align-items:center;justify-content:center;gap:7px}.league-zones>span+span{border-left:1px solid #bc914764}.league-zones strong,.league-zones small{display:block}.league-zones strong{color:#ffebbc;font-size:18px;line-height:1}.league-zones small{font-size:13px;line-height:1.1;margin-top:2px}.league-panel [data-zone=up]{color:#a4e881}.league-panel [data-zone=stay]{color:#ced8da}.league-panel [data-zone=down]{color:#ff9b80}.league-direction{flex:0 0 auto;display:inline-block;width:22px;height:27px;background:linear-gradient(110deg,#ddffab,#77c64d 48%,#3b782d);clip-path:polygon(50% 0,100% 43%,73% 43%,73% 100%,27% 100%,27% 43%,0 43%);filter:drop-shadow(0 2px 2px #0008)}.league-direction[data-movement=down]{transform:rotate(180deg);background:linear-gradient(110deg,#be4e35,#f17c62 55%,#ffb39b)}.league-direction[data-movement=stay]{width:23px;height:7px;clip-path:none;border:1px solid #9eacb2;border-radius:1px;background:linear-gradient(#e9f0ed,#809198);box-shadow:0 1px 3px #0009}.league-table-labels{display:grid;grid-template-columns:55px 1fr auto;flex:0 0 auto;padding:6px 9px 4px;font-size:13px;line-height:1;color:#dccaa7}.league-group-scroll{flex:1 1 auto;height:min(35cqh,350px);min-height:44px;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#ad8d4d #061c28}.league-panel-sparse .league-group-scroll{height:min(16cqh,110px)}.league-rows{list-style:none;margin:0;padding:0 2px}.league-rows li{display:grid;grid-template-columns:39px 43px minmax(0,1fr) auto;gap:8px;align-items:center;min-height:49px;padding:1px 7px;border:1px solid transparent;border-bottom-color:#b7af8252}.league-rows li.is-viewer{border-color:#f4ce70;border-radius:8px;background:linear-gradient(110deg,#285a459c,#0e363a88);box-shadow:inset 0 0 0 1px #a07b3a50,0 1px 3px #000a}.league-rank{display:grid;place-items:center;width:36px;height:36px;font:700 25px/1 League Display,Georgia,serif;color:#f8d895;text-shadow:0 1px 2px #000}.league-rank[data-rank="1"],.league-rank[data-rank="2"],.league-rank[data-rank="3"]{padding-bottom:2px;background:url(/assets/royalforge/leagues/league-ornaments-v1.webp) 0 0 / 300% 200% no-repeat;color:#fff0ba}.league-rank[data-rank="2"]{background-position:50% 0;color:#f7f6e9}.league-rank[data-rank="3"]{background-position:100% 0;color:#ffe5b1}.league-avatar{position:relative;display:block;width:42px;height:42px;overflow:hidden;border-radius:50%;border:1.5px solid #e8c674;box-shadow:0 1px 4px #0009;background:#102936}.league-avatar img{position:static;display:block;width:100%;height:100%;object-fit:cover}.league-player{min-width:0}.league-player strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 23px/1 League Display,Georgia,serif}.league-player small{display:inline-block;margin-top:2px;border:1px solid #779f50;border-radius:3px;background:#123626;padding:0 5px;color:#e9f5b8;font:12px/1.1 Georgia,serif}.league-points{font:700 30px/1 League Display,Georgia,serif;white-space:nowrap}.league-footer{flex:0 0 auto;text-align:center;padding-top:12px}.league-own{position:relative;isolation:isolate;display:grid;grid-template-columns:1fr 1fr;align-items:center;gap:14px;padding:13px 28px;text-align:left;background:url(/assets/royalforge/leagues/result-frame-v2.svg) 0 0 / 100% 100% no-repeat,linear-gradient(110deg,#1f413dcc,#0e2d30cc);box-shadow:0 3px 7px #0008,inset 0 0 18px #66944620}.league-own:before,.league-own:after{content:"";position:absolute;z-index:-1;width:35px;height:80%;top:10%;left:4px;background:url(/assets/royalforge/leagues/league-ornaments-v1.webp) 100% 100% / 300% 200% no-repeat;opacity:.68;pointer-events:none}.league-own:after{left:auto;right:4px;transform:scaleX(-1)}.league-own>div{color:#ffe2a1;border-right:1px solid #c09c5866;padding-right:9px}.league-own strong{display:block;font:700 25px/1 League Display,Georgia,serif}.league-own>div>span{display:block;margin-top:3px;font-size:16px}.league-own>b{display:flex;align-items:center;gap:10px;font:700 23px/1 League Display,Georgia,serif}.league-own .league-direction{width:25px;height:32px}.league-own .league-direction[data-movement=stay]{height:7px}.league-rules-button{display:inline-flex;align-items:center;justify-content:center;gap:10px;margin:15px auto 0;min-height:48px;padding:1px 30px 1px 18px;border:1px solid #f8d07b;border-radius:9px 3px;color:#ffe0a2;background:linear-gradient(#26414b,#0c2633);box-shadow:0 0 0 1px #6f451b,inset 0 0 0 2px #70899130,0 4px 8px #000a;font:700 28px/1 League Display,Georgia,serif;text-shadow:0 1px 1px #000;cursor:pointer}.league-scroll-art{display:inline-block;width:46px;height:46px;background:url(/assets/royalforge/leagues/league-ornaments-v1.webp) 0 100% / 300% 200% no-repeat;transform:rotate(-8deg)}.league-panel button:focus-visible,.league-group-scroll:focus-visible{outline:2px solid #bde0f1;outline-offset:3px}.league-empty{margin:0;padding:22px 10px;color:#bbcdd0;text-align:center;font:15px/1.4 Forge Sans,Arial,sans-serif}.league-notice{flex:0 0 auto;font:13px/1.4 Forge Sans,Arial,sans-serif}.league-notice button{color:#ffdc93;background:#113a48;border:1px solid #c4a05c;border-radius:4px}.league-rules-panel .shop-header{border-bottom:1px solid #ae8f4f66}.league-rules-scroll{overflow-y:auto;overscroll-behavior:contain;font:16px/1.5 Forge Sans,Arial,sans-serif}.league-rules-scroll h2{color:#ffd280;font:700 28px/1.1 League Display,Georgia,serif}@container game (max-width: 600px){.shop-overlay:has(>.league-panel){padding:22px clamp(24px,8cqw,38px);background-image:linear-gradient(#03101920,#03101940),url(/assets/royalforge/leagues/workshop-surround-portrait-v1.webp)}.league-panel.shop-panel{padding:12px 12px 13px}.league-tiers li{font-size:13px}.league-summary h2{font-size:clamp(30px,9cqw,38px)}.league-countdown{gap:5px;font-size:13px}.league-score-rule{font-size:17px}.league-score-rule small{font-size:10px}.league-group-heading h2{font-size:28px}.league-group-heading>span{font-size:12px}.league-zones{padding:6px 0}.league-zones>span{gap:5px}.league-zones strong{font-size:16px}.league-zones small{font-size:11px}.league-zones .league-direction{width:18px;height:23px}.league-zones .league-direction[data-movement=stay]{width:19px;height:6px}.league-table-labels{grid-template-columns:43px 1fr auto;font-size:12px}.league-rows li{grid-template-columns:34px 38px minmax(0,1fr) auto;min-height:45px;gap:5px;padding-inline:5px}.league-rank{width:33px;height:33px;font-size:23px}.league-avatar{width:37px;height:37px}.league-player strong{font-size:21px}.league-points{font-size:26px}.league-own{grid-template-columns:minmax(0,1fr) minmax(0,1.2fr);padding:12px 23px;gap:10px}.league-own strong{font-size:18px;white-space:nowrap}.league-own>div>span{font-size:14px}.league-own>b{gap:6px;font-size:18px}.league-own .league-direction{width:22px;height:28px}.league-rules-button{min-height:44px;font-size:26px}}@container game (max-height: 760px) and (max-width: 699px){.league-tiers{padding-top:5px}.league-tiers .league-emblem{width:61px}.league-tiers li{padding-bottom:6px;font-size:12px}.league-summary{padding-bottom:7px}.league-summary h2{font-size:32px;margin-bottom:3px}.league-divider{height:10px;margin-top:2px}.league-countdown{margin-bottom:4px}.league-score-rule{font-size:16px}.league-score-rule small{display:none}.league-group-heading{padding-block:3px}.league-group-heading h2{font-size:27px}.league-zones{padding-block:4px}.league-zones strong{font-size:15px}.league-zones small{font-size:10px;margin-top:1px}.league-rows li{min-height:38px;grid-template-columns:30px 32px minmax(0,1fr) auto}.league-rank{width:29px;height:29px;font-size:21px}.league-avatar{width:31px;height:31px}.league-player strong{font-size:20px}.league-player small{font-size:10px;margin-top:1px}.league-points{font-size:24px}.league-footer{padding-top:8px}.league-own{padding-block:10px}.league-rules-button{margin-top:12px;min-height:42px;font-size:25px}.league-scroll-art{width:40px;height:40px}}@container game (max-height: 620px) and (max-width: 699px){.league-panel.shop-panel{padding:9px 10px 10px}.league-panel .shop-header h1{font-size:27px}.league-tiers .league-emblem{width:54px}.league-tiers li{padding-bottom:5px;font-size:12px}.league-summary{padding-bottom:7px}.league-summary h2{font-size:31px}.league-countdown{margin-bottom:4px;font-size:12px}.league-score-rule{font-size:15px}.league-divider{margin-top:1px;height:10px}.league-group-heading h2{font-size:25px}.league-footer{padding-top:8px}.league-own{padding-block:10px}.league-own strong{font-size:19px}.league-own>b{font-size:18px}.league-rules-button{min-height:38px;margin-top:10px;font-size:24px}.league-scroll-art{width:36px;height:36px}}@container game (max-width: 360px){.league-panel .shop-header h1{font-size:24px}.league-panel .shop-header{padding-inline:22px}.league-panel .shop-close{width:25px;height:25px;font-size:21px}.league-tiers li{font-size:11px}.league-countdown{gap:4px;font-size:12px}.league-countdown:before,.league-countdown:after{display:none}.league-score-rule small{font-size:9px}.league-group-heading h2{font-size:24px}.league-group-heading>span{font-size:11px}.league-zones strong{font-size:15px}.league-zones small{font-size:10px}.league-zones>span{gap:3px}.league-zones .league-direction{width:15px;height:20px}.league-zones .league-direction[data-movement=stay]{width:15px;height:5px}.league-own{padding:11px 14px;gap:7px}.league-own strong{font-size:16px}.league-own>b{gap:5px;font-size:15px}.league-own .league-direction{width:17px;height:23px}.league-own>div>span{font-size:13px}.league-player strong{font-size:19px}}@container game (min-width: 700px){.league-panel.shop-panel{display:grid;grid-template-columns:minmax(0,1fr) 275px;grid-template-rows:auto auto auto auto auto minmax(55px,1fr);column-gap:20px;padding:17px 23px 20px}.league-panel .shop-header{grid-column:1 / -1;padding-bottom:12px}.league-panel .shop-header h1{font-size:43px}.league-panel .shop-close{width:33px;height:33px;font-size:26px}.league-tiers{grid-column:1;grid-row:2 / 4;padding-top:12px}.league-tiers .league-emblem{width:82px}.league-summary{grid-column:2;grid-row:2 / 4;align-self:center;padding-top:10px}.league-summary h2{font-size:35px}.league-summary .league-divider{display:none}.league-countdown{font-size:13px}.league-countdown:before,.league-countdown:after{display:none}.league-score-rule{font-size:17px}.league-score-rule small{font-size:10px}.league-group-heading{grid-column:1;grid-row:4;padding-top:10px}.league-zones{grid-column:1;grid-row:5}.league-table-labels{display:none}.league-group-scroll{grid-column:1;grid-row:6}.league-footer{grid-column:2;grid-row:4 / 7;align-self:start}.league-own{grid-template-columns:1fr;text-align:center;padding:18px 28px;gap:12px}.league-own>div{padding:0 0 10px;border-right:0;border-bottom:1px solid #c09c5866}.league-own>b{justify-content:center;font-size:24px}.league-rules-button{padding-inline:16px 23px}.league-notice{grid-column:1 / -1;grid-row:7}}@container game (min-width: 700px) and (max-height: 520px){.league-panel.shop-panel{padding-block:10px 14px;column-gap:18px}.league-panel .shop-header{padding-bottom:7px}.league-panel .shop-header h1{font-size:32px}.league-tiers{padding-top:6px}.league-tiers .league-emblem{width:56px}.league-tiers li{font-size:13px;padding-bottom:6px}.league-summary h2{font-size:28px}.league-group-heading{padding-top:6px}.league-group-heading h2{font-size:27px}.league-zones{padding-block:5px}.league-own{padding-block:12px;gap:9px}.league-own strong{font-size:23px}.league-own>b{font-size:21px}.league-rules-button{min-height:40px;margin-top:10px;font-size:24px}.league-scroll-art{width:36px;height:36px}}.smithy-screen{position:relative;width:100%;min-width:320px;height:calc(var(--game-height) - var(--bottom-menu-total));overflow:hidden;color:#fff3c5;background:#78d3f1;touch-action:none;-webkit-user-select:none;user-select:none}.smithy-lab{width:100%;min-height:calc(var(--game-height) - var(--bottom-menu-total));padding:max(18px,env(safe-area-inset-top)) 16px max(26px,env(safe-area-inset-bottom));overflow:auto;color:#fff0bd;background:linear-gradient(#031c31db,#021425f0),url(/assets/royalforge/smithy/smithy-mountain-spring-portrait-v1.webp) center / cover fixed}.smithy-lab>header{width:min(100%,980px);margin:0 auto 18px;text-align:center}.smithy-lab>header span,.smithy-lab>header p{color:#b9dff2;font-size:13px}.smithy-lab>header h1{margin:4px 0;color:#ffe18a;font-family:Georgia,Times New Roman,serif;font-size:clamp(25px,calc(var(--game-width) * .06),42px);text-shadow:0 2px 3px #3a2105}.smithy-lab>header p{margin:0}.smithy-lab-grid{display:grid;width:min(100%,980px);margin:0 auto;grid-template-columns:repeat(auto-fit,minmax(118px,1fr));gap:10px}.smithy-lab-card{position:relative;display:grid;min-height:138px;place-items:center;overflow:hidden;border:2px solid #bd8230;border-radius:14px;background:radial-gradient(circle at 50% 42%,rgb(45 116 143 / 52%),transparent 57%),linear-gradient(145deg,#114158f5,#051e33fa);box-shadow:inset 0 0 0 2px #ffe08a29,0 5px 13px #00091252}.smithy-lab-card>img{width:106px;height:106px;object-fit:contain;filter:drop-shadow(0 6px 5px rgb(0 8 14 / 55%))}.smithy-lab-card>.smithy-level-badge{right:4px;bottom:2px;left:auto;width:29px;height:38px;transform:none}.smithy-ambient{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(#2c93ca1f,#0b63822e),url(/assets/royalforge/smithy/smithy-mountain-spring-portrait-v1.webp) center 42% / cover no-repeat;filter:saturate(.92) brightness(1.06)}.smithy-stage{position:relative;width:100%;height:100%;margin:0 auto;overflow:hidden;background:url(/assets/royalforge/smithy/smithy-mountain-spring-portrait-v1.webp) center / 100% 100% no-repeat;box-shadow:0 0 32px #0d445c52;isolation:isolate}.smithy-header{position:absolute;z-index:5;top:max(8px,env(safe-area-inset-top));left:50%;width:94%;min-height:48px;transform:translate(-50%);pointer-events:none}.smithy-balance{position:absolute;left:0;display:flex;min-width:76px;align-items:center;gap:5px;padding:7px 10px;border:2px solid #edc35e;border-radius:22px;color:#fff3c0;background:#083454e5;box-shadow:0 0 0 2px #6c3b0d,0 3px 7px #122a2f57;font-size:14px}.smithy-balance>span{color:#ffd84f;font-size:16px;text-shadow:0 1px 1px #573003}.smithy-best-hammer{position:absolute;z-index:2;top:0;left:50%;width:23%;max-width:202px;aspect-ratio:1;transform:translate(-50%);pointer-events:none}.smithy-best-hammer:after{position:absolute;z-index:-1;top:23%;left:50%;width:74%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgb(255 245 181 / 68%) 0 8%,rgb(255 205 72 / 28%) 32%,transparent 68%);box-shadow:0 0 22px #ffce4b52;content:"";transform:translate(-50%);animation:smithy-best-glow 3.2s ease-in-out infinite}.smithy-best-aura{position:absolute;top:0;right:0;bottom:0;left:0;z-index:1;background:url(/assets/royalforge/smithy/smithy-best-hammer-aura-v1.png) center / contain no-repeat;filter:drop-shadow(0 6px 6px rgb(57 35 8 / 42%))}.smithy-best-art{position:absolute;z-index:2;top:22%;left:50%;width:61%;height:61%;object-fit:contain;transform:translate(-50%);filter:drop-shadow(0 5px 4px rgb(21 31 26 / 55%)) drop-shadow(0 0 7px rgb(255 222 119 / 42%))}.smithy-best-hammer>.smithy-level-badge{z-index:4;bottom:3%;width:clamp(31px,calc(var(--game-width) * .082),42px);height:clamp(40px,calc(var(--game-width) * .107),55px)}.smithy-best-label{position:absolute;z-index:5;top:96%;left:50%;min-width:84px;padding:2px 8px 3px;border:1px solid rgb(255 222 117 / 88%);border-radius:9px;color:#fff0b4;background:#052c49db;box-shadow:0 2px 5px #03182452;font-family:Georgia,Times New Roman,serif;font-size:clamp(8px,calc(var(--game-width) * .021),10px);font-weight:800;line-height:1;letter-spacing:.045em;text-align:center;text-shadow:0 1px 1px #382006;text-transform:uppercase;white-space:nowrap;transform:translate(-50%)}@keyframes smithy-best-glow{0%,to{opacity:.72;transform:translate(-50%) scale(.96)}50%{opacity:1;transform:translate(-50%) scale(1.04)}}.smithy-board{position:absolute;z-index:3;top:0;right:0;bottom:0;left:0;display:block}.smithy-board.is-busy{pointer-events:none}.smithy-slot{--smithy-hammer-y: -2%;--smithy-hammer-selected-y: -3%;--smithy-slot-scale: 1;position:absolute;display:grid;width:25.7%;min-width:0;height:12.6%;min-height:0;place-items:center;padding:0;overflow:visible;border:0;border-radius:50%;outline:none;background:transparent;cursor:grab;isolation:isolate;touch-action:none;transform:translate(-50%,-50%) scale(var(--smithy-slot-scale))}.smithy-slot:nth-child(1){top:40.7%;left:23.4%;--smithy-slot-scale: 1.04}.smithy-slot:nth-child(2){top:40.9%;left:52%;--smithy-slot-scale: 1.04}.smithy-slot:nth-child(3){top:41.1%;left:80.1%;--smithy-slot-scale: 1.04}.smithy-slot:nth-child(4){top:54.3%;left:20.5%;--smithy-slot-scale: 1.02}.smithy-slot:nth-child(5){top:54.3%;left:50.8%;--smithy-slot-scale: 1.02}.smithy-slot:nth-child(6){top:54.5%;left:80.2%;--smithy-slot-scale: 1.02}.smithy-slot:nth-child(7){top:67%;left:22.8%;--smithy-slot-scale: .99}.smithy-slot:nth-child(8){top:67%;left:51.2%;--smithy-slot-scale: .99}.smithy-slot:nth-child(9){top:67.2%;left:79.4%;--smithy-slot-scale: .99}.smithy-slot:nth-child(10){top:79.7%;left:21.2%;--smithy-slot-scale: .96}.smithy-slot:nth-child(11){top:79.7%;left:51%;--smithy-slot-scale: .96}.smithy-slot:nth-child(12){top:79.9%;left:81.5%;--smithy-slot-scale: .96}.smithy-slot.is-empty{cursor:pointer}.smithy-slot:before{position:absolute;z-index:2;width:76%;aspect-ratio:1;border:3px solid transparent;border-radius:50%;content:"";transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.smithy-slot.is-selected:before{border-color:transparent;box-shadow:none}.smithy-slot:focus-visible:before{border-color:transparent;box-shadow:none}.smithy-hammer{position:relative;z-index:1;display:grid;width:78%;height:82%;place-items:center;pointer-events:none;transform:translateY(var(--smithy-hammer-y));transition:transform .16s ease,filter .16s ease,opacity .16s ease}.smithy-hammer img{width:92%;height:92%;object-fit:contain;transform:translate(var(--smithy-hammer-x, 0),-7%) rotate(var(--smithy-hammer-angle, 0deg));filter:drop-shadow(0 5px 4px rgb(17 44 37 / 52%))}.smithy-slot:nth-child(3n+1){--smithy-hammer-angle: -3deg;--smithy-hammer-x: 2%}.smithy-slot:nth-child(3n+2){--smithy-hammer-angle: 0deg;--smithy-hammer-x: 0}.smithy-slot:nth-child(3n){--smithy-hammer-angle: 3deg;--smithy-hammer-x: -2%}.smithy-slot:nth-child(n+10){--smithy-hammer-y: -10%;--smithy-hammer-selected-y: -11%}.smithy-slot:nth-child(n+10) .smithy-hammer>.smithy-level-badge{bottom:0}.smithy-level-badge{position:absolute;z-index:3;bottom:-11%;left:50%;display:block;width:clamp(32px,calc(var(--game-width) * .082),42px);height:clamp(42px,calc(var(--game-width) * .108),55px);filter:drop-shadow(0 1px 1px #201207) drop-shadow(0 3px 2px rgb(20 24 18 / 62%));transform:translate(-50%)}.smithy-hammer>.smithy-level-badge{left:48%}.smithy-slot:nth-child(3n+2) .smithy-hammer>.smithy-level-badge{left:44%}.smithy-level-badge svg{display:block;width:100%;height:100%;overflow:visible;shape-rendering:geometricprecision}.smithy-level-crown circle{fill:#ffe990;stroke:#6d3609;stroke-width:2.5px}.smithy-level-crown path{fill:#d89a2c;stroke:#5b2c07;stroke-width:2.5px;stroke-linejoin:round}.smithy-level-crown .smithy-level-crown-band{fill:#f1c45a;stroke-width:2px}.smithy-level-shadow{fill:#241208;stroke:#100703;stroke-width:2px;stroke-linejoin:round}.smithy-level-gold-frame{stroke:#ffe58b;stroke-width:1.5px;stroke-linejoin:round}.smithy-level-dark-frame{fill:#4d290d;stroke:#1c0c04;stroke-width:1.5px;stroke-linejoin:round}.smithy-level-blue-field{stroke:#e5ae3f;stroke-width:2px;stroke-linejoin:round}.smithy-level-highlight{fill:none;stroke:#ffffff3d;stroke-width:1.5px;stroke-linecap:round}.smithy-level-rivet{fill:#ffd66a;stroke:#5c2c07;stroke-width:1px}.smithy-level-value{fill:#fff1bd;stroke:#06131f;stroke-width:2.4px;font-family:Georgia,Times New Roman,serif;font-size:39px;font-weight:700;font-variant-numeric:lining-nums tabular-nums;paint-order:stroke fill;text-align:center;text-anchor:middle;dominant-baseline:middle}.smithy-level-badge[data-double-digit=true] .smithy-level-value{font-size:32px}.smithy-slot.is-selected .smithy-hammer{transform:translateY(var(--smithy-hammer-selected-y)) scale(1.05)}.smithy-slot.is-selected .smithy-hammer img{filter:brightness(1.1) drop-shadow(0 5px 4px rgb(17 44 37 / 52%)) drop-shadow(0 0 7px rgb(255 237 148 / 88%)) drop-shadow(0 0 13px rgb(38 151 218 / 58%))}.smithy-slot.is-selected .smithy-level-badge{filter:drop-shadow(0 1px 1px #201207) drop-shadow(0 3px 2px rgb(20 24 18 / 62%)) drop-shadow(0 0 6px rgb(255 232 119 / 92%))}.smithy-slot.is-result .smithy-hammer{animation:smithy-result-pop .68s cubic-bezier(.2,.9,.25,1.25)}.smithy-slot.is-result:after{position:absolute;width:88%;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgb(255 244 158 / 70%),transparent 66%);content:"";animation:smithy-result-glow .7s ease-out both;pointer-events:none}.smithy-unlock{position:fixed;z-index:100;top:0;right:0;bottom:0;left:0;display:grid;overflow:hidden;place-items:center;color:#fff2bd;outline:none;isolation:isolate}.smithy-unlock-backdrop{position:absolute;z-index:-2;top:0;right:0;bottom:0;left:0;background:radial-gradient(circle at 50% 46%,rgb(7 42 63 / 34%),transparent 42%),linear-gradient(#010c1bc2,#000812e3);-webkit-backdrop-filter:blur(2px) saturate(.72);backdrop-filter:blur(2px) saturate(.72);animation:smithy-unlock-backdrop-in .26s ease-out both}.smithy-unlock-content{--smithy-unlock-duration: 1.65s;position:relative;display:grid;width:min(calc(var(--game-width) * .92),470px);height:auto;max-height:calc(var(--game-height) - 18px);grid-template-rows:auto min(calc(var(--game-width) * .89),455px) auto;gap:clamp(7px,calc(var(--game-height) * .015),13px);place-items:center;padding:max(20px,env(safe-area-inset-top)) 12px max(18px,env(safe-area-inset-bottom))}.smithy-unlock-content:before{position:absolute;z-index:-1;top:13%;left:50%;width:min(calc(var(--game-width) * 1.16),610px);aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,rgb(255 214 83 / 20%) 0 14%,rgb(32 139 197 / 12%) 35%,transparent 69%);content:"";transform:translate(-50%);animation:smithy-unlock-ambient 2.8s ease-in-out 1.05s infinite}.smithy-unlock h2{position:relative;z-index:5;width:min(calc(var(--game-width) * .92),470px);margin:10px 0 0;padding:clamp(8px,calc(var(--game-height) * .015),12px) 4px clamp(4px,calc(var(--game-height) * .008),7px);color:#fff0a6;font-family:Georgia,Times New Roman,serif;line-height:1;letter-spacing:.025em;text-align:center;text-shadow:0 2px 0 #6d3a09,0 4px 7px rgb(0 7 17 / 78%),0 0 15px rgb(255 222 105 / 58%);text-transform:uppercase;filter:drop-shadow(0 3px 5px rgb(0 4 13 / 72%));animation:smithy-unlock-title-in .6s cubic-bezier(.2,.8,.25,1.15) both}.smithy-unlock h2>span,.smithy-unlock h2>small{display:block;white-space:nowrap}.smithy-unlock h2>span{color:#ffe6a0;font-size:clamp(27px,calc(var(--game-width) * .082),44px);font-weight:700;letter-spacing:.025em;-webkit-text-stroke:.4px #945510;filter:drop-shadow(0 0 6px rgb(255 228 133 / 42%))}.smithy-unlock h2>small{margin-top:clamp(6px,calc(var(--game-height) * .009),8px);color:#fff0b0;font-size:clamp(13px,calc(var(--game-width) * .04),21px);font-weight:700;letter-spacing:.075em;text-shadow:0 2px 0 #4a2707,0 3px 6px rgb(0 5 15 / 82%),0 0 10px rgb(255 223 117 / 34%)}.smithy-unlock-merge{--smithy-unlock-old-offset: min(calc(var(--game-width) * .3), 142px);--smithy-unlock-old-mid-offset: min(calc(var(--game-width) * .216), 102px);--smithy-unlock-old-near-offset: min(calc(var(--game-width) * .084), 40px);position:relative;width:100%;height:100%;min-height:260px;overflow:visible;isolation:isolate}.smithy-unlock-orbit,.smithy-unlock-impact,.smithy-unlock-rays{position:absolute;top:50%;left:50%;aspect-ratio:1;border-radius:50%;pointer-events:none}.smithy-unlock-orbit{z-index:0;width:min(calc(var(--game-width) * .89),455px);border:2px solid rgb(255 218 93 / 60%);box-shadow:0 0 12px #ffca3075,inset 0 0 16px #2696d257;opacity:0;transform:translate(-50%,-50%) rotate(-18deg) scale(.58);animation:smithy-unlock-orbit var(--smithy-unlock-duration) ease-out both}.smithy-unlock-old,.smithy-unlock-new{position:absolute;top:50%;left:50%;display:grid;width:min(calc(var(--game-width) * .42),205px);aspect-ratio:1;place-items:center;transform-origin:50% 50%}.smithy-unlock-old{z-index:2;width:min(calc(var(--game-width) * .31),150px);opacity:0}.smithy-unlock-old.is-left{animation:smithy-unlock-old-left var(--smithy-unlock-duration) cubic-bezier(.42,.02,.78,.52) both}.smithy-unlock-old.is-right{animation:smithy-unlock-old-right var(--smithy-unlock-duration) cubic-bezier(.42,.02,.78,.52) both}.smithy-unlock-old img,.smithy-unlock-new img{width:100%;height:100%;object-fit:contain}.smithy-unlock-old img{filter:drop-shadow(0 7px 5px rgb(0 7 14 / 70%)) drop-shadow(0 0 8px rgb(255 220 103 / 42%))}.smithy-unlock-old>.smithy-level-badge{bottom:-3%;width:clamp(34px,calc(var(--game-width) * .1),49px);height:clamp(44px,calc(var(--game-width) * .13),64px)}.smithy-unlock-impact{z-index:3;width:min(calc(var(--game-width) * .57),280px);background:radial-gradient(circle,#fff 0 4%,#fff9c8 8%,#ffd54f 20%,transparent 62%),conic-gradient(from 4deg,transparent 0 8%,rgb(255 231 136 / 84%) 9% 10%,transparent 11% 20%,rgb(67 183 235 / 78%) 21% 22%,transparent 23% 35%,rgb(255 218 84 / 78%) 36% 37%,transparent 38% 100%);box-shadow:0 0 22px #fff3a3,0 0 48px #ffb224e0,0 0 78px #2791d094;opacity:0;transform:translate(-50%,-50%) scale(.08) rotate(-18deg);animation:smithy-unlock-impact var(--smithy-unlock-duration) ease-out both}.smithy-unlock-rays{z-index:1;width:min(calc(var(--game-width) * 1.08),530px);background:repeating-conic-gradient(from 4deg,rgb(255 221 115 / 28%) 0deg 5deg,transparent 5deg 17deg);-webkit-mask-image:radial-gradient(circle,#000 0 21%,transparent 69%);mask-image:radial-gradient(circle,#000 0 21%,transparent 69%);opacity:0;transform:translate(-50%,-50%) rotate(-10deg) scale(.55);animation:smithy-unlock-rays var(--smithy-unlock-duration) ease-out both}.smithy-unlock-new{z-index:4;width:min(calc(var(--game-width) * .65),315px);opacity:0;transform:translate(-50%,-50%) scale(.12) rotate(-12deg);animation:smithy-unlock-new-hammer var(--smithy-unlock-duration) cubic-bezier(.18,.78,.22,1) both}.smithy-unlock-new img{filter:brightness(1.08) drop-shadow(0 11px 8px rgb(0 9 17 / 72%)) drop-shadow(0 0 12px rgb(255 224 112 / 72%))}.smithy-unlock-new>.smithy-level-badge{bottom:-5%;width:clamp(48px,calc(var(--game-width) * .15),72px);height:clamp(62px,calc(var(--game-width) * .195),94px)}.smithy-unlock-sparks{position:absolute;z-index:5;top:50%;left:50%;width:1px;height:1px}.smithy-unlock-sparks i{position:absolute;color:#ffe881;font-size:clamp(11px,calc(var(--game-width) * .035),18px);font-style:normal;text-shadow:0 0 5px #fffbd7,0 0 11px #f0a92e;opacity:0;animation:smithy-unlock-spark var(--smithy-unlock-duration) ease-out both}.smithy-unlock-sparks i:nth-child(1){--smithy-spark-x: -126px;--smithy-spark-y: -84px}.smithy-unlock-sparks i:nth-child(2){--smithy-spark-x: 118px;--smithy-spark-y: -73px}.smithy-unlock-sparks i:nth-child(3){--smithy-spark-x: -143px;--smithy-spark-y: 35px}.smithy-unlock-sparks i:nth-child(4){--smithy-spark-x: 132px;--smithy-spark-y: 52px}.smithy-unlock-sparks i:nth-child(5){--smithy-spark-x: -78px;--smithy-spark-y: 117px}.smithy-unlock-sparks i:nth-child(6){--smithy-spark-x: 83px;--smithy-spark-y: 109px}.smithy-unlock-confirm{position:relative;z-index:6;width:min(calc(var(--game-width) * .78),340px);min-height:clamp(60px,calc(var(--game-height) * .085),76px);margin:12px 0 4px;padding:11px 36px 13px;overflow:hidden;border:0;color:#fff2ad;background:linear-gradient(145deg,#fff0a0,#d79a2c 18%,#70400e,#f5ca61 68%,#8a500f);box-shadow:none;font-family:Georgia,Times New Roman,serif;font-size:clamp(23px,calc(var(--game-width) * .065),33px);font-weight:800;letter-spacing:.065em;line-height:1;text-shadow:0 2px 0 #3e2205,0 0 8px rgb(255 227 126 / 28%);text-transform:uppercase;clip-path:polygon(7% 0,93% 0,100% 28%,100% 72%,93% 100%,7% 100%,0 72%,0 28%);cursor:pointer;opacity:0;transform:translateY(12px) scale(.94);filter:drop-shadow(0 8px 8px rgb(0 4 13 / 72%)) drop-shadow(0 0 5px rgb(238 182 58 / 44%));isolation:isolate;animation:smithy-unlock-button-in var(--smithy-unlock-duration) ease-out both}.smithy-unlock-confirm:before{position:absolute;z-index:-2;top:4px;right:6px;bottom:4px;left:6px;background:radial-gradient(circle at 5% 50%,#fff0a0 0 2px,#7b430d 3px 4px,transparent 5px),radial-gradient(circle at 95% 50%,#fff0a0 0 2px,#7b430d 3px 4px,transparent 5px),radial-gradient(ellipse at 50% -24%,rgb(75 194 247 / 72%),transparent 54%),linear-gradient(180deg,#1769a8,#073d78 51%,#021d42);box-shadow:inset 0 2px 2px #ffffff47,inset 0 -8px 11px #00071cad,inset 0 0 0 2px #031730e0;clip-path:inherit;content:""}.smithy-unlock-confirm:after{position:absolute;z-index:-1;top:7px;right:15%;left:15%;height:1px;background:linear-gradient(90deg,transparent,#fff2a3,transparent);content:"";opacity:.78}.smithy-unlock-confirm>span{position:relative;z-index:1}.smithy-unlock-confirm:disabled{cursor:wait}.smithy-unlock-confirm:active:not(:disabled){transform:translateY(2px) scale(.975);filter:drop-shadow(0 4px 4px rgb(0 4 13 / 70%))}.smithy-unlock-confirm:focus-visible{outline:3px solid #fff8ba;outline-offset:4px}.smithy-drag-ghost{position:fixed;z-index:60;display:grid;width:clamp(76px,calc(var(--game-width) * .23),116px);aspect-ratio:1;place-items:center;pointer-events:none;transform:translate(-50%,-58%) scale(1.08);filter:drop-shadow(0 9px 8px rgb(5 33 41 / 48%))}.smithy-drag-ghost img{width:88%;height:88%;object-fit:contain;transform:translateY(-6%)}.smithy-drag-ghost .smithy-level-badge{bottom:-5%;width:34px;height:44px}.smithy-dock{position:absolute;z-index:5;right:0;bottom:10px;left:0;display:grid;min-width:0;gap:0;padding:0 7px;background:linear-gradient(180deg,transparent 0%,rgb(4 37 58 / 16%) 22%,rgb(2 24 41 / 76%) 54%,rgb(1 17 31 / 98%) 100%)}.smithy-shop-title{position:relative;z-index:3;display:flex;width:100%;min-width:0;align-items:center;justify-content:center;margin-bottom:-3px;pointer-events:none}.smithy-shop-title strong{position:relative;min-width:214px;padding:6px 22px 7px;border:2px solid #f0ca66;border-radius:7px 7px 3px 3px;color:#fff2bd;background:radial-gradient(circle at 50% -8%,rgb(80 176 232 / 42%),transparent 48%),linear-gradient(180deg,rgb(255 255 255 / 13%),transparent 42%),linear-gradient(180deg,#174b70,#082c4c 58%,#031a31);box-shadow:0 0 0 2px #583008,0 5px 10px #000c196b,inset 0 2px 2px #ffffff38,inset 0 -4px 6px #000a1985;font-family:Georgia,Times New Roman,serif;font-size:clamp(13px,calc(var(--game-width) * .037),18px);font-weight:800;line-height:1;letter-spacing:.025em;text-align:center;text-shadow:0 2px 1px #4c2c08;text-transform:uppercase}.smithy-shop-carousel{position:relative;display:grid;width:100%;min-width:0;grid-template-columns:38px minmax(0,1fr) 38px;gap:4px;align-items:center}.smithy-shop-rail{position:relative;display:flex;box-sizing:border-box;width:100%;min-width:0;min-height:80px;gap:4px;padding:5px;overflow-x:auto;overscroll-behavior-x:contain;scroll-padding-inline:7px;scroll-snap-type:x mandatory;border:2px solid #dca744;border-radius:8px 8px 5px 5px;background:linear-gradient(180deg,rgb(255 239 181 / 8%),transparent 16%),repeating-linear-gradient(90deg,transparent 0 31px,rgb(255 225 151 / 3%) 31px 32px),linear-gradient(180deg,#172e3d,#0b263a 38%,#06192c);box-shadow:0 0 0 3px #4b2b10,0 0 0 4px #754516b3,0 5px 9px #000d167a,inset 0 2px 2px #fff4c229,inset 0 -6px 9px #00081394;scrollbar-width:none;touch-action:pan-x}.smithy-shop-rail::-webkit-scrollbar{display:none}.smithy-buy-card{position:relative;display:grid;flex:0 0 calc((100% - 16px)/5);min-width:54px;max-width:72px;height:66px;grid-template-rows:48px 18px;place-items:center;padding:0;border:0;border-radius:24px 24px 8px 8px;color:#fff2bd;background:transparent;box-shadow:none;cursor:pointer;scroll-snap-align:start}.smithy-buy-card:before{position:absolute;z-index:0;top:0;right:1px;bottom:16px;left:1px;border:2px solid #cf9c3d;border-radius:26px 26px 6px 6px;background:radial-gradient(circle at 50% 34%,rgb(48 145 201 / 46%),transparent 52%),linear-gradient(180deg,#12496f,#092e4c 56%,#041c32);box-shadow:inset 0 2px 2px #fff4be26,inset 0 -5px 7px #0009188a,0 3px 4px #0008117a;content:""}.smithy-buy-art{position:relative;z-index:1;display:grid;width:100%;height:48px;place-items:center}.smithy-buy-art:after{position:absolute;right:12px;bottom:5px;left:12px;height:5px;border:1px solid #936221;border-radius:50%;background:#01111fb8;box-shadow:0 1px #ffd66b47;content:""}.smithy-buy-art img{position:relative;z-index:1;width:40px;height:40px;object-fit:contain;transform:translateY(-5px);filter:drop-shadow(0 2px 2px rgb(42 26 7 / 50%))}.smithy-buy-art .smithy-level-badge{bottom:-6px;width:25px;height:33px}.smithy-buy-card small{position:relative;z-index:2;display:flex;width:100%;height:16px;align-items:center;justify-content:center;gap:2px;align-self:end;max-width:none;overflow:hidden;border:1px solid #c99536;border-radius:9px;color:#fff0b2;background:linear-gradient(180deg,#123f61,#061f37);box-shadow:inset 0 1px #ffefb11f,0 2px 3px #00081285;font-size:clamp(8px,calc(var(--game-width) * .0245),10px);font-weight:800;line-height:1.1;text-align:center;text-overflow:ellipsis;text-shadow:0 1px 1px #4b2b07;white-space:nowrap}.smithy-shop-arrow{position:relative;z-index:6;display:grid;width:30px;aspect-ratio:1;place-items:center;padding:0;border:2px solid #f4cf68;border-radius:50%;color:#fff4c7;background:radial-gradient(circle at 42% 32%,#2b8bc0,#0a4773 60%,#052b4d);box-shadow:0 0 0 2px #5c320b,0 3px 6px #000a168c,inset 0 1px 1px #ffffff52;cursor:pointer;justify-self:center}.smithy-shop-arrow.is-left{grid-column:1;grid-row:1}.smithy-shop-arrow.is-right{grid-column:3;grid-row:1}.smithy-shop-rail{grid-column:2;grid-row:1}.smithy-shop-arrow>span{display:block;margin-top:-2px;font-family:Arial,sans-serif;font-size:27px;font-weight:800;line-height:1;text-shadow:0 2px 1px #3e2408}.smithy-shop-arrow:active:not(:disabled){transform:translateY(1px) scale(.96)}.smithy-shop-arrow:focus-visible{outline:3px solid #fff5ad;outline-offset:2px}.smithy-shop-arrow:disabled{cursor:default;filter:grayscale(.12) brightness(.82);opacity:.76}.smithy-buy-card small>span{color:#ffd54d;font-size:9px}.smithy-buy-card:active:not(:disabled){transform:translateY(1px) scale(.985)}.smithy-buy-card:focus-visible{outline:3px solid #fff5ad;outline-offset:2px}.smithy-buy-card:disabled{cursor:wait;filter:saturate(.7);opacity:.84}.smithy-buy-card.is-unaffordable{cursor:not-allowed;filter:grayscale(.38) brightness(.7);opacity:.68}.smithy-dock p{position:absolute;right:12px;bottom:calc(100% + 7px);left:12px;margin:0;padding:4px 8px;border-radius:4px;color:transparent;background:transparent;font-size:10px;font-weight:800;line-height:1.2;text-align:center;text-shadow:none;pointer-events:none}.smithy-dock p.is-visible{color:#fff6cb;background:#053048e0;box-shadow:0 0 0 1px #f7cd64a3;text-shadow:0 1px 1px rgb(40 24 3 / 78%)}@keyframes smithy-result-pop{0%{opacity:0;transform:translateY(var(--smithy-hammer-y)) scale(.42) rotate(-12deg)}55%{transform:translateY(var(--smithy-hammer-y)) scale(1.18) rotate(3deg)}to{opacity:1;transform:translateY(var(--smithy-hammer-y)) scale(1)}}@keyframes smithy-result-glow{0%{opacity:0;transform:scale(.3)}42%{opacity:1}to{opacity:0;transform:scale(1.24)}}@keyframes smithy-unlock-backdrop-in{0%{opacity:0}to{opacity:1}}@keyframes smithy-unlock-title-in{0%{opacity:0;transform:translateY(-14px) scale(.92)}68%{opacity:1;transform:translateY(2px) scale(1.025)}to{opacity:1;transform:translateY(0) scale(1)}}@keyframes smithy-unlock-orbit{0%,8%{opacity:0;transform:translate(-50%,-50%) rotate(-18deg) scale(.58)}22%,48%{opacity:.78}54%{opacity:1;transform:translate(-50%,-50%) rotate(178deg) scale(.96)}72%,to{opacity:.42;transform:translate(-50%,-50%) rotate(214deg) scale(1)}}@keyframes smithy-unlock-old-left{0%,7%{opacity:0;transform:translate(calc(-50% - var(--smithy-unlock-old-offset)),-50%) rotate(-24deg) scale(.68)}18%{opacity:1;transform:translate(calc(-50% - var(--smithy-unlock-old-offset)),-50%) rotate(30deg) scale(.86)}36%{opacity:1;transform:translate(calc(-50% - var(--smithy-unlock-old-mid-offset)),-57%) rotate(390deg) scale(.94)}47%{opacity:.92;transform:translate(calc(-50% - var(--smithy-unlock-old-near-offset)),-52%) rotate(390deg) scale(.9)}52%,to{opacity:0;transform:translate(-50%,-50%) rotate(408deg) scale(.28)}}@keyframes smithy-unlock-old-right{0%,7%{opacity:0;transform:translate(calc(-50% + var(--smithy-unlock-old-offset)),-50%) rotate(24deg) scale(.68)}18%{opacity:1;transform:translate(calc(-50% + var(--smithy-unlock-old-offset)),-50%) rotate(-30deg) scale(.86)}36%{opacity:1;transform:translate(calc(-50% + var(--smithy-unlock-old-mid-offset)),-57%) rotate(-390deg) scale(.94)}47%{opacity:.92;transform:translate(calc(-50% + var(--smithy-unlock-old-near-offset)),-52%) rotate(-390deg) scale(.9)}52%,to{opacity:0;transform:translate(-50%,-50%) rotate(-408deg) scale(.28)}}@keyframes smithy-unlock-impact{0%,46%{opacity:0;transform:translate(-50%,-50%) scale(.08) rotate(-18deg)}51%{opacity:1;transform:translate(-50%,-50%) scale(.72) rotate(8deg)}61%{opacity:.72;transform:translate(-50%,-50%) scale(1.08) rotate(24deg)}70%,to{opacity:0;transform:translate(-50%,-50%) scale(1.34) rotate(34deg)}}@keyframes smithy-unlock-rays{0%,48%{opacity:0;transform:translate(-50%,-50%) rotate(-10deg) scale(.55)}60%{opacity:.9}78%,to{opacity:.48;transform:translate(-50%,-50%) rotate(25deg) scale(1)}}@keyframes smithy-unlock-new-hammer{0%,49%{opacity:0;transform:translate(-50%,-50%) scale(.12) rotate(-12deg)}58%{opacity:1;filter:brightness(1.55);transform:translate(-50%,-50%) scale(1.1) rotate(3deg)}68%{opacity:1;filter:brightness(1.12);transform:translate(-50%,-50%) scale(.97) rotate(-1deg)}78%,to{opacity:1;filter:brightness(1);transform:translate(-50%,-50%) scale(1) rotate(0)}}@keyframes smithy-unlock-spark{0%,49%{opacity:0;transform:translate(-50%,-50%) scale(.15) rotate(0)}55%{opacity:1}76%{opacity:.9;transform:translate(calc(-50% + var(--smithy-spark-x)),calc(-50% + var(--smithy-spark-y))) scale(1.15) rotate(105deg)}88%,to{opacity:0;transform:translate(calc(-50% + var(--smithy-spark-x)),calc(-50% + var(--smithy-spark-y) + 15px)) scale(.65) rotate(145deg)}}@keyframes smithy-unlock-button-in{0%,66%{opacity:0;transform:translateY(12px) scale(.94)}79%{opacity:1;transform:translateY(-2px) scale(1.025)}89%,to{opacity:1;transform:translateY(0) scale(1)}}@keyframes smithy-unlock-ambient{0%,to{opacity:.66;transform:translate(-50%) scale(.96)}50%{opacity:1;transform:translate(-50%) scale(1.04)}}@container game (min-width: 760px){.smithy-screen{background:#75d2f1}.smithy-stage{border-right:1px solid rgb(255 235 170 / 44%);border-left:1px solid rgb(255 235 170 / 44%)}.smithy-shop-title strong{font-size:15px}}@container game (max-height: 940px){.smithy-header{top:4px}.smithy-shop-title{margin-bottom:-3px}.smithy-shop-title strong{min-width:184px;padding:5px 16px 6px;border-width:2px;font-size:13px}.smithy-shop-rail{min-height:70px;padding:4px;border-width:2px}.smithy-buy-card{min-width:52px;height:58px;grid-template-rows:42px 16px}.smithy-buy-card:before{bottom:14px}.smithy-buy-art{height:42px}.smithy-buy-art img{width:35px;height:35px;transform:translateY(-4px)}.smithy-buy-art .smithy-level-badge{bottom:-5px;width:23px;height:30px}.smithy-buy-card small{height:15px;gap:2px;font-size:8px}.smithy-shop-arrow{width:28px}.smithy-shop-arrow>span{font-size:25px}}@container game (max-height: 700px){.smithy-unlock-content{height:auto;gap:5px;padding-top:max(14px,env(safe-area-inset-top));padding-bottom:max(10px,env(safe-area-inset-bottom))}.smithy-unlock h2{margin-top:8px;padding-top:5px;padding-bottom:3px}.smithy-unlock-merge{min-height:220px}.smithy-unlock-confirm{min-height:54px;margin-top:3px}.smithy-shop-title strong{min-width:160px;padding:3px 12px 4px;font-size:11px}.smithy-shop-rail{min-height:55px;gap:3px;padding:3px}.smithy-buy-card{flex-basis:calc((100% - 12px)/5);min-width:48px;height:47px;grid-template-rows:34px 13px}.smithy-buy-card:before{right:1px;bottom:12px;left:1px}.smithy-buy-art{height:34px}.smithy-buy-art:after{right:10px;bottom:3px;left:10px;height:4px}.smithy-buy-art img{width:30px;height:30px;transform:translateY(-3px)}.smithy-buy-art .smithy-level-badge{bottom:-4px;width:20px;height:26px}.smithy-buy-card small{height:13px;font-size:7.5px}.smithy-shop-arrow{width:25px}.smithy-shop-arrow>span{font-size:22px}}@media(prefers-reduced-motion:reduce){.smithy-slot.is-result .smithy-hammer,.smithy-slot.is-result:after,.smithy-unlock-backdrop,.smithy-unlock-content:before,.smithy-unlock h2,.smithy-unlock-orbit,.smithy-unlock-impact,.smithy-unlock-rays,.smithy-unlock-new,.smithy-unlock-confirm,.smithy-unlock-sparks i{animation:none}.smithy-unlock-old,.smithy-unlock-impact,.smithy-unlock-sparks{display:none}.smithy-unlock-new{opacity:1;transform:translate(-50%,-50%)}.smithy-unlock-orbit,.smithy-unlock-rays{opacity:.45;transform:translate(-50%,-50%)}.smithy-unlock-confirm{opacity:1;transform:none}.smithy-hammer{transition:none}.smithy-best-hammer:after{animation:none}}.workshop-league-trigger{position:absolute;right:0;top:0;display:flex;gap:7px;align-items:center;max-width:62%;min-height:45px;padding:5px 10px;border:2px solid #d8ad57;border-radius:12px;background:linear-gradient(#164e70,#07273e);color:#fff1c7;pointer-events:auto;text-align:left;box-shadow:0 3px 8px #082e45aa}.workshop-league-trigger>span:first-child{font-size:26px;color:#ffe295}.workshop-league-trigger strong,.workshop-league-trigger small{display:block;line-height:1.2}.workshop-league-trigger strong{font-size:14px}.workshop-league-trigger small{margin-top:3px;font-size:10px;color:#c6dce7}.workshop-city-bonus{padding:14px;margin-bottom:14px;border:1px solid #d9b55e;border-radius:12px;background:linear-gradient(125deg,#214855,#102f44)}.workshop-city-bonus-title{display:flex;gap:9px;align-items:center}.workshop-city-bonus-title>span{font-size:26px;color:#ffe3a2;flex:none}.workshop-city-bonus-title>h3{font-size:19px;margin:0;line-height:1.2}.workshop-city-bonus dl{margin:12px 0;display:grid;gap:8px}.workshop-city-bonus dl>div{display:flex;gap:14px;align-items:baseline;justify-content:space-between}.workshop-city-bonus dt{color:#c6dbe5;font-size:12px;line-height:1.4}.workshop-city-bonus dd{margin:0;color:#ffe3a1;font-size:18px;font-weight:700;flex:none}.workshop-city-bonus .workshop-city-bonus-help{font-size:12px;color:#e3e7d2}.workshop-city-bonus>small{display:block;font-size:11px;color:#bfd3dc;line-height:1.5}.workshop-city-bonus>button,.workshop-city-bonus p>button{width:100%;margin-top:12px;min-height:44px;padding:9px 12px;border:1px solid #e4bf65;border-radius:9px;background:linear-gradient(#226a96,#123e62);color:#fff0be;font-weight:700;white-space:normal;line-height:1.3}.workshop-city-bonus button:disabled{opacity:.6;cursor:default;background:#203c4b}.smithy-dock-tabs{display:flex;justify-content:center;gap:5px;padding:0 10px;position:relative;z-index:3}.smithy-dock-tabs button{flex:1;max-width:230px;padding:9px 5px;border:1px solid #94733d;border-radius:8px 8px 0 0;background:#082a40;color:#b1c6cc;font:700 clamp(11px,calc(var(--game-width) * .03),15px) Georgia,serif;cursor:pointer}.smithy-dock-tabs button[aria-selected=true]{color:#fff0ba;border-color:#e8c267;background:linear-gradient(#285f7d,#0b304b)}.rain-card{display:flex;align-items:center;gap:10px;width:calc(100% - 18px);min-height:106px;margin:7px 9px;border:1px solid #cda456;border-radius:10px;background:radial-gradient(at 10% 40%,#35647c,#0a283b 65%);color:#fff0c0;text-align:left;cursor:pointer}.rain-card img{width:72px;height:88px;object-fit:contain;filter:drop-shadow(0 0 12px #9fdcff80)}.rain-card span{display:grid;gap:8px;flex:1}.rain-card strong{font:700 clamp(16px,calc(var(--game-width) * .045),22px) Georgia,serif}.rain-card small{font-size:13px;color:#c1d8de}.rain-card b{font-size:30px;padding-right:14px}.rain-overlay{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1100;display:flex;align-items:center;justify-content:center;padding:20px;background:#020f1cdb;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.rain-dialog{box-sizing:border-box;width:min(100%,430px);max-height:calc(var(--game-height) - 40px);overflow:auto;padding:28px 23px 23px;border:2px solid #b89143;border-radius:18px;background:radial-gradient(at 30% 0%,#1d4b60,#071e2c 65%);color:#e6f0ee;box-shadow:0 15px 70px #000a;position:relative}.rain-close{position:absolute;right:12px;top:10px;width:36px;height:36px;border:1px solid #b89143;border-radius:50%;background:#0d2b3e;color:#ffe5a4;font-size:27px;cursor:pointer}.rain-eyebrow{display:block;margin-right:35px;color:#e8bb69;font-size:11px;text-transform:uppercase;letter-spacing:.06em}.rain-dialog h2{margin:10px 0;color:#ffedb9;font:700 clamp(25px,calc(var(--game-width) * .07),32px) Georgia,serif}.rain-intro{font-size:14px;line-height:1.45;color:#bdd1d5}.rain-facts{display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding:17px 0;border-block:1px solid #55707c70;margin:20px 0}.rain-facts.joker-facts{grid-template-columns:repeat(2,minmax(0,1fr))}.rain-facts div{display:grid;gap:5px;text-align:center}.rain-facts strong{font:700 26px Georgia,serif;color:#ffe3a1}.rain-facts span{font-size:11px;color:#bdd1d5}.rain-speed{display:flex;justify-content:space-between;gap:8px;font-size:14px}.rain-dialog input[type=range]{width:100%;margin:17px 0 10px;accent-color:#e4bb61;cursor:pointer}.rain-speed-labels{display:flex;justify-content:space-between;font-size:11px;color:#b6ccd2}.rain-dialog ul{padding-left:18px;margin:22px 0;font-size:12px;line-height:1.5;color:#bed1d5}.rain-dialog li+li{margin-top:8px}.rain-start{width:100%;min-height:46px;padding:10px;border:1px solid #edcc83;border-radius:9px;background:linear-gradient(#b57f2f,#704711);color:#fff1c9;font:700 16px Georgia,serif;cursor:pointer}.rain-start:disabled{opacity:.6;cursor:default}.rain-notice{font-size:13px;color:#ffe1a1}.rain-status{position:absolute;top:25%;left:12%;right:12%;z-index:6;display:grid;gap:2px;text-align:center;padding:3px 8px;border:1px solid #c7a15c99;border-radius:8px;background:#061e30e8;pointer-events:none;box-shadow:0 0 20px #a9d9ed25}.rain-status strong{font:700 clamp(11px,calc(var(--game-width) * .028),14px) Georgia,serif;color:#ffe7a7}.rain-status span{font-size:clamp(9px,calc(var(--game-width) * .024),11px);color:#cbe0e3}.rain-status.is-finished{opacity:.9}@container game (max-height: 750px){.rain-card{min-height:80px}.rain-card img{height:64px;width:58px}.rain-dialog{padding:23px 18px 18px}.rain-facts{margin:14px 0;padding:12px 0}}.rain-card{min-height:clamp(48px,calc(var(--game-height) * .08),76px);margin-block:4px}.rain-card img{height:clamp(40px,calc(var(--game-height) * .067),64px);width:56px}.smithy-dock-tabs button{padding-block:7px}@container game (max-height: 750px){.rain-card strong{font-size:15px}.rain-card span{gap:3px}.rain-card small{font-size:11px}.smithy-dock-tabs button{padding-block:5px}}.workshop-upgrades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;padding:4px 9px}.workshop-upgrades .rain-card{box-sizing:border-box;width:100%;margin:0;padding:4px;gap:3px;min-height:clamp(48px,calc(var(--game-height) * .08),76px)}.workshop-upgrades .rain-card img{width:40px;height:52px}.workshop-upgrades .rain-card strong{font-size:clamp(12px,calc(var(--game-width) * .032),16px);line-height:1.15}.workshop-upgrades .rain-card small{font-size:clamp(10px,calc(var(--game-width) * .026),12px)}.workshop-upgrades .rain-card span{gap:5px;min-width:0}.workshop-upgrades .rain-card b{padding-right:3px;font-size:22px}.joker-card-icon{flex:0 0 36px!important;text-align:center;font-size:35px;color:#ffdfa1;text-shadow:0 0 10px #aa72fa,0 0 18px #9978fc80}.joker-card{background:radial-gradient(at 10% 30%,#544574,#142c46 70%)}.joker-selection{pointer-events:auto}.joker-selection button,.joker-cancel{border:1px solid #9e895d;border-radius:6px;background:#0a2b40;color:#ead9ae;padding:7px 12px;cursor:pointer}.joker-selection button{justify-self:center;margin-top:3px;font-size:11px}.joker-cancel{display:block;width:100%;margin-top:10px;min-height:40px;font-size:14px}.smithy-slot.is-joker-eligible:before{opacity:1;box-shadow:0 0 10px #f8d983,0 0 20px #b5a5ff90;outline:2px solid #f8d983}.smithy-slot:disabled{cursor:default}.smithy-slot:disabled .smithy-hammer{filter:grayscale(.8) brightness(.7)}.joker-preview{display:flex;justify-content:center;align-items:center;gap:16px;padding:0 0 15px}.joker-preview>div{display:grid;text-align:center;gap:5px}.joker-preview img{height:82px;width:82px;object-fit:contain;filter:drop-shadow(0 0 12px #d6a8ff70)}.joker-preview strong{font-size:12px;color:#ffe6b8}.joker-preview>span{font-size:27px;color:#e2c07b}.joker-objective{padding:14px;border:1px solid #6b677e;border-radius:10px;background:#101c2e80}.joker-objective>div{display:flex;align-items:center;justify-content:space-between;gap:8px}.joker-objective h3{font:700 16px Georgia,serif;color:#f6deaa;margin:0}.joker-objective strong{font-size:14px;color:#f4d9a1}.joker-objective progress{width:100%;height:10px;margin:12px 0 7px;accent-color:#c8abf5}.joker-objective p{font-size:13px;line-height:1.4;margin:0 0 8px;color:#d2dce3}.joker-objective small{display:block;font-size:11px;line-height:1.4;color:#aebfce}.joker-help{font-size:12px;line-height:1.5;color:#b4c8d1;margin:16px 0}.joker-dialog .rain-facts{margin:16px 0}@container game (max-height: 750px){.workshop-upgrades .rain-card img{height:42px;width:32px}.joker-card-icon{font-size:27px;flex-basis:27px!important}.joker-preview img{width:65px;height:65px}}.workshop-upgrades{grid-template-columns:repeat(3,minmax(0,1fr))}.workshop-upgrades .rain-card{position:relative;display:flex;flex-direction:column;justify-content:center;isolation:isolate}.workshop-upgrades .rain-card>img,.workshop-upgrades .rain-card>.joker-card-icon,.workshop-upgrades .rain-card>.league-boost-card-icon{position:absolute;left:3px;top:5px;width:32px;height:42px;opacity:.18;z-index:-1;pointer-events:none}.workshop-upgrades .rain-card>span:not(.joker-card-icon):not(.league-boost-card-icon){flex:0 0 auto;width:100%;text-align:center}.workshop-upgrades .rain-card strong{font-size:clamp(11px,calc(var(--game-width) * .03),14px)}.workshop-upgrades .rain-card b{display:none}.league-boost-card{background:radial-gradient(at 20% 0%,#586735,#0b2e35 75%)}.league-boost-card.is-active{border-color:#ecdc87;box-shadow:inset 0 0 14px #e8d57b35}.league-boost-card-icon{font:700 26px Georgia,serif;color:#ffefa2}.league-boost-active{display:grid;gap:7px;text-align:center;padding:12px;margin:0 0 16px;border:1px solid #b6a160;border-radius:9px;background:#67723430}.league-boost-active strong{color:#ffeb9b;font:700 25px Georgia,serif}.league-boost-active span{font-size:12px;color:#d6e5c4}.league-boost-rules{margin:15px 0!important}.joker-objective .is-rewarded{color:#c6e6a7}.league-boost-status{position:absolute;top:30.5%;left:21%;right:21%;z-index:6;display:flex;align-items:center;justify-content:center;gap:9px;padding:3px 8px;border:1px solid #d9d087;border-radius:16px;background:#172d29ed;color:#f9efb1;pointer-events:none;font-size:clamp(11px,calc(var(--game-width) * .028),14px);box-shadow:0 0 12px #d2cd6e30}.league-boost-status span{font-variant-numeric:tabular-nums;color:#fff4bf}.spark-symbol{color:#8cf2ff!important;text-shadow:0 0 7px #38bdec}.smithy-sparks{position:absolute;top:44px;left:0;display:flex;align-items:center;gap:7px;max-width:43%;padding:5px 10px;border:1px solid #73d3e7;border-radius:13px;color:#e6fbff;background:linear-gradient(135deg,#103b58f5,#05212ff5);box-shadow:0 2px 6px #07182780;pointer-events:auto;text-align:left;cursor:pointer}.smithy-sparks>.spark-symbol{font-size:25px;line-height:1}.smithy-sparks>span:last-child{display:grid;gap:1px;min-width:0}.smithy-sparks strong{font-size:clamp(12px,calc(var(--game-width) * .03),15px);line-height:1.1;white-space:nowrap}.smithy-sparks small{font-size:clamp(9px,calc(var(--game-width) * .023),11px);color:#a3deeb;white-space:nowrap}.spark-details{display:grid;gap:12px;margin:20px 0}.spark-details>div{display:grid;gap:4px;padding-bottom:10px;border-bottom:1px solid #e3c47838}.spark-details dt{color:#b4d2df;font-size:13px}.spark-details dd{margin:0;color:#a6edff;font-size:19px;overflow-wrap:anywhere}.booster-purchase{margin:12px 0 10px;padding:12px 0;border-top:1px solid #dcbe7944}.booster-purchase>button{width:100%;min-height:40px;padding:8px 10px;border:1px solid #b99550;border-radius:9px;background:linear-gradient(#244a5c,#102d40);color:#ffe8a9;font-size:14px;font-weight:700;cursor:pointer}.booster-purchase>button:disabled{opacity:.55;cursor:default}.booster-purchase>small,.booster-purchase>p{display:block;margin:7px 0 0;color:#bcd6e0;font-size:11px;line-height:1.4}@container game (max-width: 380px){.smithy-sparks{top:36px;padding:4px 8px;gap:4px}.smithy-sparks>.spark-symbol{font-size:21px}}.spark-return{display:grid;gap:7px;margin:18px 0;padding:15px;border:1px solid #78ccdf88;border-radius:10px;background:#1f778329;text-align:center}.spark-return>span,.spark-return>small{color:#b7deeb;font-size:12px;line-height:1.4}.spark-return>strong{color:#a2f0ff;font-size:24px;overflow-wrap:anywhere}.smithy-dock-tabs button{min-width:0;white-space:nowrap;font-size:clamp(10px,calc(var(--game-width) * .028),13px)}.workshop-upgrades{display:flex;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9b7944 #09283b;padding-bottom:7px}.workshop-upgrades .rain-card{flex:0 0 max(100px,calc((100% - 18px)/4));min-height:clamp(44px,calc(var(--game-height) * .07),54px)}.offline-card{background:radial-gradient(at 20% 0%,#246470,#0b2e35 80%)}.offline-current{display:grid;gap:5px;text-align:center;padding:16px;border:1px solid #a8884d;border-radius:12px;background:#113d4c}.offline-current strong{font-size:30px;color:#ffe5a0}.offline-current small{color:#bed9e2}.offline-next{margin-block:16px;padding:14px;border:1px solid #7ba3ac;border-radius:12px;background:#0a2b3a}.offline-next h3{margin:0;font-size:19px;color:#ffe5a0}.offline-next p{line-height:1.5}.offline-payments{display:grid;grid-template-columns:1fr 1fr;gap:10px}.offline-payments button,.offline-secondary{padding:12px 8px;min-height:44px;border:1px solid #d6ad60;border-radius:9px;background:#16455c;color:#fff0c4;font-weight:700;font-size:14px;cursor:pointer;white-space:normal;overflow-wrap:anywhere}.offline-payments button:disabled{opacity:.5;cursor:default}.offline-secondary{margin-top:10px;width:100%;background:#0c2c3b}.offline-message{padding:12px;border:1px solid #94b76a;border-radius:8px;color:#d7efb7;line-height:1.5}.offline-table{overflow-x:auto;margin-top:14px}.offline-table table{border-collapse:collapse;width:100%;font-size:13px;font-variant-numeric:tabular-nums}.offline-table caption{text-align:left;margin-bottom:10px;color:#c9dde4}.offline-table th,.offline-table td{text-align:right;padding:9px 5px;border-bottom:1px solid #42606c;white-space:nowrap}.offline-table th:first-child,.offline-table td:first-child{text-align:left}.offline-table tr[aria-current]{background:#294b45;color:#f9e3a0}.workshop-upgrades .rain-card strong{font-size:clamp(10px,calc(var(--game-width) * .027),12px);line-height:1.1}.workshop-upgrades .rain-card small{font-size:clamp(9px,calc(var(--game-width) * .025),10px)}.workshop-merges{position:absolute;z-index:6;top:16%;left:6%;right:6%;display:grid;gap:2px;padding:5px 10px;border:1px solid #cfa95e99;border-radius:10px;background:#072c40ed;color:#fff0c1;text-align:center;pointer-events:none;font-variant-numeric:tabular-nums}.workshop-merges-title{font-size:11px;line-height:1.1;color:#f0cb7b}.workshop-merges dl{display:grid;grid-template-columns:1fr 1fr;margin:0;gap:10px}.workshop-merges dl>div{display:flex;align-items:baseline;justify-content:center;gap:6px;min-width:0}.workshop-merges dt{font-size:11px;color:#c9dfe7}.workshop-merges dd{margin:0;font-size:15px;font-weight:700;overflow-wrap:anywhere}.workshop-merges small{font-size:10px;line-height:1.2;color:#b3cbd7}.workshop-merges time{color:#e7d7a3}@container game (max-height: 750px){.workshop-merges{gap:1px;padding:3px 8px}.workshop-merges-title{font-size:10px}.workshop-merges dd{font-size:13px}.workshop-merges dt{font-size:10px}}.smithy-screen{--workshop-field-inset: 108px}.smithy-screen .smithy-stage{container:smithy-scene / size;background-position:center top;background-size:100% calc(100% - var(--workshop-field-inset));border:0}.smithy-screen .smithy-board{bottom:var(--workshop-field-inset)}.smithy-screen .smithy-ambient{top:-20px;right:-20px;bottom:-20px;left:-20px;filter:blur(16px) saturate(.9)}@container game (max-width: 600px){.smithy-screen .smithy-stage{width:100%;box-shadow:none}.smithy-screen .smithy-ambient{display:none}}.smithy-screen .smithy-hammer>.smithy-level-badge{width:clamp(18px,8cqw,36px);height:clamp(24px,10.5cqw,47px)}.smithy-screen .smithy-hammer{width:84%;height:82%}.smithy-screen .smithy-slot:nth-child(-n+3){z-index:4}.smithy-screen .smithy-slot:nth-child(n+4):nth-child(-n+6){z-index:3}.smithy-screen .smithy-slot:nth-child(n+7):nth-child(-n+9){z-index:2}.smithy-screen .smithy-slot:nth-child(n+10){z-index:1}.smithy-screen .smithy-slot.is-selected{z-index:5}.smithy-screen .smithy-hammer img{width:100%;height:100%;filter:brightness(1.12) saturate(1.1) contrast(1.06) drop-shadow(0 1px 1px #fff0b6b3) drop-shadow(0 5px 3px #06212de6)}.smithy-screen .smithy-slot.is-selected .smithy-hammer img{filter:brightness(1.2) saturate(1.12) contrast(1.08) drop-shadow(0 0 2px #fff0b6) drop-shadow(0 0 7px #f8c66099) drop-shadow(0 5px 3px #06212de6)}.smithy-screen .smithy-slot.is-selected:before,.smithy-screen .smithy-slot:focus-visible:before{border-color:#ffe7a6c9;box-shadow:0 0 9px #f4c16e77}.smithy-screen .smithy-header{container:smithy-toolbar / inline-size;top:max(8px,env(safe-area-inset-top));display:grid;gap:5px;pointer-events:none}.smithy-wallet-row,.smithy-progression-row{display:grid;min-width:0;align-items:center;border:1.5px solid #e0b961;border-radius:8px;background:linear-gradient(145deg,#124263f5,#061e34f5 80%);box-shadow:0 0 0 2px #442c13,inset 0 0 0 1px #ffeab333,0 3px 7px #00132266}.smithy-wallet-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1.05fr);min-height:46px;gap:5px;padding:5px 7px}.smithy-screen .smithy-heading{margin:0;color:#fff0cb;font:700 clamp(15px,4.8cqw,22px) / 1.1 Georgia,serif;text-shadow:0 1px 2px #020c17}.smithy-screen .smithy-balance,.smithy-screen .smithy-sparks{position:static;display:flex;align-items:center;gap:4px;min-width:0;max-width:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:auto}.smithy-screen .smithy-coin-icon{display:inline-block;flex:0 0 auto;width:20px;height:20px}.smithy-screen .smithy-balance>.smithy-coin-icon{width:clamp(20px,6cqw,27px);height:clamp(20px,6cqw,27px)}.smithy-screen .smithy-balance strong{min-width:0;font:700 clamp(12px,3.9cqw,18px) / 1.1 Georgia,serif;white-space:nowrap}.smithy-screen .smithy-balance .coin-shop-plus,.smithy-screen .smithy-wallet-info{display:grid;flex:0 0 auto;width:clamp(22px,6.6cqw,28px);height:clamp(22px,6.6cqw,28px);min-width:0;min-height:0;padding:0;place-items:center;border:1.5px solid #e6c16e;border-radius:50%;background:linear-gradient(#1d6896,#083453);box-shadow:inset 0 0 0 1px #ffe8a544;color:#ffecb1;font:700 23px/1 Arial,sans-serif}.smithy-screen .smithy-sparks{justify-content:flex-end}.smithy-screen .smithy-wallet-info{width:20px;height:20px;border-color:#9acbd999;background:#123e55;color:#c2e5ef;font:italic 700 15px/1 Georgia,serif}.smithy-screen .smithy-sparks>.spark-symbol{font-size:clamp(19px,6cqw,29px)}.smithy-screen .smithy-sparks-copy{display:grid;min-width:0;gap:2px}.smithy-screen .smithy-sparks strong{font-size:clamp(10px,3.3cqw,15px);line-height:1.1}.smithy-screen .smithy-sparks small{font-size:clamp(9px,2.5cqw,11px);line-height:1.1}.smithy-progression-row{grid-template-columns:minmax(0,1fr) minmax(0,1fr);min-height:42px;border-color:#bbad8177;box-shadow:inset 0 0 0 1px #ffeab311}.smithy-screen .workshop-league-trigger{position:static;width:100%;max-width:none;min-height:42px;min-width:0;padding:4px 8px;border:0;border-radius:7px 0 0 7px;background:none;box-shadow:none;gap:8px}.smithy-screen .workshop-league-trigger>span:nth-child(2){flex:1;min-width:0}.smithy-screen .workshop-league-chevron{color:#f5d58f;font:25px/1 Arial,sans-serif}.smithy-screen .workshop-league-trigger>span:first-child{font-size:clamp(22px,6cqw,28px)}.smithy-screen .workshop-league-trigger strong{font:700 clamp(12px,3.7cqw,16px) / 1.1 Georgia,serif}.smithy-screen .workshop-league-trigger small{font-size:clamp(9px,2.7cqw,12px)}.smithy-screen .smithy-best-hammer{position:static;display:flex;width:100%;max-width:none;min-width:0;min-height:34px;aspect-ratio:auto;align-items:center;gap:6px;padding:4px 8px;border-left:1px solid #d3b15d77;transform:none}.smithy-screen .smithy-best-hammer:after{content:none}.smithy-screen .smithy-best-art{position:static;flex:0 0 auto;width:clamp(24px,7cqw,34px);height:32px;transform:none;filter:drop-shadow(0 2px 2px #0007)}.smithy-screen .smithy-best-label{position:static;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 5px;min-width:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:400 clamp(10px,3.1cqw,14px) / 1.2 Georgia,serif;letter-spacing:0;text-transform:none;text-align:left;white-space:normal;transform:none}.smithy-best-label strong{color:#f9d37a;font-size:1.35em}.smithy-screen .workshop-merges{position:static;display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:center;min-height:32px;gap:6px;padding:4px 7px;border:0;border-top:1px solid #adc9cf44;border-radius:6px;background:#082b42df}.smithy-screen .workshop-merges-title{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.smithy-screen .workshop-merges dl{gap:7px}.smithy-screen .workshop-merges dl>div{gap:4px;flex-wrap:wrap}.smithy-screen .workshop-merges dt{font-size:clamp(9px,2.7cqw,12px);white-space:nowrap}.smithy-screen .workshop-merges dd{font-size:clamp(13px,3.6cqw,16px)}.smithy-screen .workshop-merges small{display:grid;gap:2px;padding-left:5px;border-left:1px solid #a9904e66;font-size:clamp(9px,2.4cqw,11px)}.smithy-statuses{display:grid;gap:5px}.smithy-statuses:empty{display:none}.smithy-screen .smithy-statuses>.rain-status,.smithy-screen .smithy-statuses>.league-boost-status{position:static;margin:0;padding:4px 8px;border-radius:6px}.smithy-screen .smithy-statuses .joker-selection{pointer-events:auto;grid-template-columns:minmax(0,1fr) auto;column-gap:8px;text-align:left}.smithy-screen .joker-selection>strong,.smithy-screen .joker-selection>span{grid-column:1}.smithy-screen .joker-selection>strong{font-size:11px}.smithy-screen .joker-selection>button{grid-column:2;grid-row:1 / span 2;min-height:30px;padding:4px 6px;font-size:11px}.smithy-statuses:has(>.rain-status):has(>.league-boost-status){grid-template-columns:repeat(2,minmax(0,1fr))}.smithy-screen .smithy-dock{--workshop-card-height: clamp(68px, 9cqh, 82px);bottom:8px;padding:0 7px;background:none}.smithy-screen .smithy-dock-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}.smithy-screen .smithy-dock-tabs button{display:flex;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:31px;padding:5px 2px;border:1.5px solid #dfb45b;border-radius:7px 7px 0 0;background:linear-gradient(#123e59,#052439);color:#e7dfc9;font:700 clamp(10px,3.4cqw,15px) / 1.1 Georgia,serif}.smithy-screen .smithy-dock-tabs button[aria-selected=true]{color:#fff1c9;background:linear-gradient(#2274aa,#0c426b);box-shadow:inset 0 0 0 1px #ffe19b55}.smithy-screen .smithy-shop-carousel{grid-template-columns:28px minmax(0,1fr) 28px;gap:3px;padding:3px 2px;border:1.5px solid #d9af59;border-radius:0 0 8px 8px;background:linear-gradient(#0e344c,#041e32);box-shadow:0 0 0 2px #3c2814}.smithy-screen .smithy-shop-rail{gap:7px;min-height:0;padding:3px;border:0;border-radius:0;background:none;box-shadow:none}.smithy-screen .smithy-buy-card{flex:0 0 calc((100% - 21px)/4);min-width:44px;max-width:none;height:var(--workshop-card-height);grid-template-rows:minmax(0,1fr) 19px;padding:2px 2px 0;border:1px solid #d2aa54;border-radius:6px;background:linear-gradient(#154567,#06263f);box-shadow:inset 0 0 0 1px #e1bf6722}.smithy-screen .smithy-buy-card:before,.smithy-screen .smithy-buy-art:after{content:none}.smithy-screen .smithy-buy-art{min-height:0;height:100%}.smithy-screen .smithy-buy-art img{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;transform:none}.smithy-buy-level{position:absolute;top:0;right:0;z-index:2;display:grid;min-width:16px;height:16px;padding-inline:3px;place-items:center;border:1px solid #cba955;border-radius:4px;background:#082c43ed;color:#ffe4a3;font:700 11px/1 Arial,sans-serif}.smithy-screen .smithy-buy-card small{height:19px;padding:1px 0;border-radius:4px;font-size:clamp(10px,2.7cqw,12px)}.smithy-screen .smithy-buy-card small>span{font-size:11px}.smithy-screen .smithy-buy-card small .smithy-coin-icon{width:16px;height:16px}.smithy-screen .smithy-shop-arrow{width:25px}.smithy-screen .smithy-shop-arrow>span{font-size:25px}.smithy-screen .workshop-upgrades{container-type:inline-size;gap:7px;padding:4px;scrollbar-width:none;border:1.5px solid #d9af59;border-radius:0 0 8px 8px;background:#072840f5}.smithy-screen .workshop-upgrades::-webkit-scrollbar{display:none}.smithy-screen .workshop-upgrades .rain-card{flex:0 0 calc((100% - 21px)/4);min-width:68px;display:grid;grid-template-rows:minmax(0,1fr) 24px;justify-items:center;gap:2px;height:calc(var(--workshop-card-height) + 8px);min-height:0;padding:4px;overflow:hidden;background:radial-gradient(ellipse at 50% 30%,#28637a99,transparent 75%),linear-gradient(#10394f,#062435)}.smithy-screen .workshop-upgrades .joker-card{background:radial-gradient(ellipse at 50% 30%,#426a9f88,transparent 75%),linear-gradient(#163c58,#08263e)}.smithy-screen .workshop-upgrades .league-boost-card{background:radial-gradient(ellipse at 50% 30%,#7c703e77,transparent 75%),linear-gradient(#304c4b,#092c36)}.smithy-screen .workshop-upgrades .rain-card>.workshop-upgrade-art{position:static;z-index:auto;width:100%;height:100%;min-height:0;max-height:48px;opacity:1;object-fit:contain;filter:drop-shadow(0 2px 2px #001622aa)}.smithy-screen .workshop-upgrades .rain-card strong{font-size:clamp(10px,3.2cqw,12px);overflow-wrap:normal;line-height:1.1}.smithy-screen .workshop-upgrades .rain-card>span{min-width:0;gap:1px;height:24px;align-content:center}.smithy-screen .workshop-upgrades .rain-card small.workshop-charge-badge,.smithy-screen .workshop-upgrades .rain-card small.workshop-upgrade-level{position:absolute;top:3px;right:3px;display:block;min-width:19px;max-width:calc(100% - 6px);height:18px;padding:2px 4px;border:1px solid #f0d899;border-radius:7px;color:#173448;background:linear-gradient(#ffeac0,#e4b75c);box-shadow:0 1px 3px #00121d99;font:800 12px/1 Arial,sans-serif;text-align:center;font-variant-numeric:tabular-nums}.smithy-screen .workshop-upgrades .rain-card small.workshop-charge-badge.is-empty{border-color:#829ca8;background:#16384a;color:#d5e1e7}.smithy-screen .workshop-upgrades .rain-card small.workshop-upgrade-level{height:16px;min-width:0;padding:2px 3px;font-size:9px;color:#d4eced;background:#164255;border-color:#8ab5be}.smithy-screen .workshop-upgrades .rain-card .workshop-card-status{position:absolute;left:4px;right:4px;bottom:29px;padding:2px 1px;border-radius:4px;background:#082d43ed;color:#d2e7eb;font-size:9px;line-height:1.1}@container smithy-scene (max-width: 360px){.smithy-screen .smithy-dock{--workshop-card-height: 68px}.smithy-screen .smithy-dock-tabs button{min-height:28px}.smithy-screen .smithy-shop-rail{gap:5px;padding:2px}.smithy-screen .smithy-buy-card{flex-basis:calc((100% - 15px)/4)}}@container smithy-toolbar (max-width: 340px){.smithy-screen .smithy-wallet-row{gap:3px;padding-inline:4px}.smithy-screen .smithy-balance,.smithy-screen .smithy-sparks{gap:3px}.smithy-screen .workshop-merges dl>div{display:grid;gap:1px}}@container game (orientation: portrait) and (max-height: 740px){.smithy-screen .smithy-header{top:max(4px,env(safe-area-inset-top));gap:3px}.smithy-screen .smithy-wallet-row{min-height:32px;padding-block:2px}.smithy-screen .smithy-progression-row,.smithy-screen .workshop-league-trigger,.smithy-screen .smithy-best-hammer{min-height:30px}.smithy-screen .workshop-league-trigger,.smithy-screen .smithy-best-hammer{padding-block:2px}.smithy-screen .smithy-best-art{width:24px;height:24px}.smithy-screen .workshop-merges{min-height:24px;padding-block:2px}.smithy-screen .workshop-merges dl>div{display:flex;flex-wrap:nowrap;gap:3px}.smithy-screen .workshop-merges dt,.smithy-screen .workshop-merges small{font-size:8.5px}.smithy-screen .workshop-merges dd{font-size:12px}.smithy-screen .smithy-statuses>.rain-status,.smithy-screen .smithy-statuses>.league-boost-status{min-height:22px;padding:2px 4px;gap:1px;font-size:9px}.smithy-screen .smithy-statuses .rain-status strong{font-size:9px;line-height:1.1}.smithy-screen .smithy-statuses .rain-status span{font-size:8px;line-height:1.1}.smithy-screen .joker-selection>button{min-height:24px;padding:3px;font-size:9px}}@container game (orientation: portrait) and (max-height: 640px){.smithy-screen .smithy-header{top:max(3px,env(safe-area-inset-top));gap:2px}.smithy-screen .smithy-wallet-row{min-height:30px}.smithy-screen .workshop-merges{min-height:20px}.smithy-screen .workshop-reset-caption{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.smithy-screen .workshop-weekly-goal{height:20px;padding:2px 6px 4px;grid-template-columns:minmax(0,1fr) auto}.smithy-screen .workshop-weekly-goal.is-complete{grid-template-columns:minmax(0,1fr)}.smithy-screen .workshop-weekly-goal>.workshop-upgrade-art,.smithy-screen .workshop-weekly-check{display:none}.smithy-screen .workshop-weekly-copy small{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}}@container game (orientation: landscape) and (min-width: 760px){.smithy-screen{--workshop-field-inset: 0px}.smithy-screen .smithy-hammer>.smithy-level-badge{width:clamp(16px,9cqw,25px);height:clamp(21px,12cqw,33px)}.smithy-screen .smithy-stage{overflow:visible}.smithy-screen .smithy-header{position:fixed;left:max(14px,env(safe-area-inset-left));top:10px;width:clamp(180px,calc(var(--game-width) * .27),260px);max-height:calc(var(--game-height) - var(--bottom-menu-total) - 22px);overflow-y:auto;overflow-x:hidden;padding:3px;transform:none;touch-action:pan-y;pointer-events:auto;scrollbar-width:thin}.smithy-screen .smithy-wallet-row{grid-template-columns:1fr 1fr}.smithy-screen .smithy-heading{grid-column:1 / -1;grid-row:1;text-align:center;font-size:19px}.smithy-screen .smithy-progression-row{grid-template-columns:1fr}.smithy-screen .smithy-best-hammer{border-left:0;border-top:1px solid #d3b15d77}.smithy-screen .workshop-upgrades .rain-card{flex-basis:104px;min-width:104px}.smithy-screen .smithy-dock{position:fixed;right:max(14px,env(safe-area-inset-right));left:auto;bottom:calc(var(--bottom-menu-total) + 12px);width:clamp(180px,calc(var(--game-width) * .27),260px);padding:0}}.offline-wallet .shop-resource-icon{width:18px;height:18px;vertical-align:middle}.workshop-weekly-goal{position:relative;display:grid;grid-template-columns:26px minmax(0,1fr) auto;align-items:center;gap:7px;height:36px;padding:3px 7px 5px;border:1px solid #c2a36588;border-bottom:0;background:#082b40f5;color:#ffebbc}.workshop-weekly-goal>.workshop-upgrade-art{width:26px;height:26px;object-fit:contain}.workshop-weekly-copy{display:grid;min-width:0;gap:1px}.workshop-weekly-copy strong{font:700 11px/1.1 Forge Sans,Arial,sans-serif}.workshop-weekly-copy small{color:#c1d5df;font:400 9px/1.2 Forge Sans,Arial,sans-serif}.workshop-weekly-count{color:#ffe4a0;font:700 13px/1.1 Forge Sans,Arial,sans-serif;font-variant-numeric:tabular-nums;white-space:nowrap}.workshop-weekly-goal progress{position:absolute;bottom:0;left:0;width:100%;height:3px;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;background:#294b5c;color:#eac773}.workshop-weekly-goal progress::-webkit-progress-bar{background:#294b5c}.workshop-weekly-goal progress::-webkit-progress-value{background:linear-gradient(90deg,#ca9437,#ffe6a1)}.workshop-weekly-goal progress::-moz-progress-bar{background:#eac773}.workshop-weekly-goal.is-complete{grid-template-columns:26px minmax(0,1fr);color:#d4efbd}.workshop-weekly-check{display:grid;place-items:center;width:24px;height:24px;border:1px solid #a6c783;border-radius:50%;background:#244b3c;font-size:17px}.smithy-screen .smithy-slot.is-merge-candidate:before{border:2px solid #f3d587bb;background:radial-gradient(circle,#efc96518,transparent 70%);box-shadow:0 0 8px #efc96555}.smithy-screen .smithy-slot.is-move-candidate:before{border:1.5px dashed #a0e7f1aa;background:#5db4de0c}.smithy-screen .smithy-slot.is-drop-merge:before{border:3px solid #ffedac;background:#efc96533;box-shadow:0 0 15px #f5cd74bb}.smithy-screen .smithy-slot.is-drop-move:before{border:3px solid #b5f3ff;background:#50bbe733;box-shadow:0 0 15px #5abedf99}.smithy-screen .smithy-slot.is-drop-invalid:before{border:2px solid #d39a8b;background:#9d5d4a22}.smithy-screen .smithy-slot.is-drag-source .smithy-hammer{opacity:.35}.smithy-screen .smithy-board .smithy-slot.has-merge-award{z-index:6}.smithy-screen .smithy-board .smithy-slot.is-selected{z-index:7}.smithy-merge-award{position:absolute;top:15%;left:calc(100% + 3px);z-index:8;width:max-content;padding:4px 5px;border:1px solid #f3d686;border-radius:10px;background:#073249f5;box-shadow:0 2px 8px #00172288;color:#fff0c0;font:700 10px/1.2 Forge Sans,Arial,sans-serif;white-space:nowrap;pointer-events:none;transform:translate(-50%);animation:smithy-score-rise 2.2s ease-out both}.smithy-slot:nth-child(3n) .smithy-merge-award{left:-3px}.smithy-drag-ghost .smithy-level-badge{bottom:8px}.smithy-drag-caption{position:absolute;bottom:-8px;left:50%;padding:4px 7px;border:1px solid #b7cdd8;border-radius:8px;background:#14384deb;color:#ebf4f7;font:700 10px/1.1 Forge Sans,Arial,sans-serif;white-space:nowrap;transform:translate(-50%)}.smithy-drag-caption.is-merge{border-color:#ffe4a2;color:#ffedbd}.smithy-drag-caption.is-move{border-color:#9ceaff;color:#c4f4ff}.smithy-drag-caption.is-invalid{border-color:#d39a8b;color:#f1c8bc}@keyframes smithy-score-rise{0%{opacity:0;margin-top:3px}12%,75%{opacity:1}to{opacity:0;margin-top:-10px}}@media(prefers-reduced-motion:reduce){.smithy-merge-award{animation:none}}.smithy-screen{--workshop-field-inset: clamp(130px, 21cqh, 166px);background:#15303b}.smithy-screen:has(.workshop-weekly-goal){--workshop-field-inset: clamp(162px, 27cqh, 204px)}.smithy-screen .smithy-stage{background-image:url(/assets/royalforge/smithy/courtyard/background-v1.webp);background-size:100% 100%;background-color:#15303b}.smithy-screen .smithy-ambient{background-image:url(/assets/royalforge/smithy/courtyard/background-v1.webp);filter:blur(20px) saturate(.8) brightness(.7)}.smithy-screen .smithy-board{inset:31% 3% calc(var(--workshop-field-inset) + 20px);display:grid;gap:0}.smithy-screen .smithy-board .smithy-slot{--smithy-hammer-y: -3%;--smithy-hammer-selected-y: -6%;container:smithy-cell / size;position:relative;top:auto;left:auto;width:100%;height:100%;transform:none}.smithy-cell-disc{position:absolute;z-index:0;top:57%;left:50%;width:min(84cqw,112cqh);aspect-ratio:1;border:1.5px solid #eeedf5;border-radius:50%;background:radial-gradient(ellipse at 40% 30%,#e1e0e7,#c5c5cf 78%);box-shadow:0 2px #9c9ca9,0 5px 5px #0c19254d,inset 0 0 0 1px #ffffff70;transform:translate(-50%,-50%) scaleY(.8);pointer-events:none}.smithy-screen .smithy-board .smithy-hammer{width:min(98cqw,116cqh);height:min(98cqw,116cqh)}.smithy-screen .smithy-board .smithy-hammer img{width:100%;height:100%;transform:none;filter:drop-shadow(1px 3px 2px #0f101750)}.smithy-screen .smithy-board .is-selected .smithy-hammer img{filter:brightness(1.1) drop-shadow(0 0 3px #ffdd8ab0) drop-shadow(1px 3px 2px #0f101750)}.smithy-screen .smithy-board .smithy-slot:before{z-index:0;top:57%;left:50%;width:min(88cqw,118cqh);height:auto;aspect-ratio:1;border-width:2px;transform:translate(-50%,-50%) scaleY(.8)}.smithy-screen .smithy-board .smithy-slot.is-merge-candidate:before{box-shadow:0 0 6px #ffcf6a9c}.smithy-screen .smithy-board .smithy-slot.is-drop-invalid:before{z-index:2}.smithy-screen .smithy-board .smithy-slot.is-result:after{top:0;right:0;bottom:0;left:0}.smithy-screen .smithy-merge-award{z-index:8;top:-8%;left:53%;font-size:clamp(9px,2.8cqw,12px)}.smithy-screen .smithy-slot:nth-child(3n) .smithy-merge-award{left:47%}.smithy-screen .smithy-header{width:94%;gap:4px}.smithy-screen .smithy-wallet-row,.smithy-screen .smithy-progression-row{background:linear-gradient(110deg,#082c35f5,#04232bf5);border-color:#c39d51;border-radius:6px;box-shadow:0 0 0 1px #3e311b,inset 0 0 0 1px #e5c78524}.smithy-screen .smithy-wallet-row{min-height:45px;padding:4px 7px}.smithy-screen .smithy-balance .coin-shop-plus{border-radius:5px;background:#0c4546}.smithy-screen .smithy-best-label{font-size:clamp(10px,3cqw,14px)}.smithy-screen .smithy-best-label strong{color:#fff1c5}.smithy-screen .smithy-best-art{width:28px;height:28px}.smithy-screen .workshop-merges{border:1px solid #c3a76455;border-radius:5px;background:#062a34e8}.smithy-screen .smithy-dock{--workshop-card-height: clamp(78px, 13cqh, 106px);bottom:5px;padding:5px 8px;border:1px solid #c59a4d;border-radius:7px;background:#05282ff5;box-shadow:0 0 0 2px #352919}.smithy-screen .smithy-dock-tabs{gap:4px;margin-bottom:4px}.smithy-screen .smithy-dock-tabs button{min-height:29px;border:1px solid #8c9a915c;border-radius:5px;background:#06272e}.smithy-screen .smithy-dock-tabs button[aria-selected=true]{border-color:#b99a54;color:#fff0c0;background:#105052;box-shadow:inset 0 -2px #dabd6e}.smithy-screen .smithy-shop-carousel{grid-template-columns:18px minmax(0,1fr) 18px;gap:2px;padding:0;border:0;background:none;box-shadow:none}.smithy-screen .smithy-shop-rail{gap:5px;padding:1px}.smithy-screen .smithy-buy-card{flex-basis:calc((100% - 15px)/4);min-width:45px;border-color:#8b9a8c99;background:linear-gradient(#0b343b,#04242c);grid-template-rows:minmax(0,1fr) 22px;padding:1px 1px 0}.smithy-screen .smithy-buy-art img{transform:none;filter:drop-shadow(0 2px 2px #00161c80)}.smithy-screen .smithy-buy-card small{height:22px;margin:0 -1px;padding-inline:1px;background:#06272d;font-size:clamp(9px,3cqw,13px);border-top:1px solid #789b963d;border-radius:4px}.smithy-screen .smithy-shop-arrow{width:18px;height:32px;min-height:0;align-self:center;border-width:1px;background:#10373b;box-shadow:none}.smithy-screen .smithy-shop-arrow>span{font-size:22px}.smithy-screen .workshop-upgrades{border:0;background:none;padding:1px}.smithy-screen .workshop-weekly-goal{border-color:#bca26370;background:#09353b}.smithy-screen .workshop-upgrades .rain-card{border-color:#789c8c80;background:linear-gradient(#164349,#092c35)}.smithy-screen .smithy-drag-ghost img{transform:none}.smithy-screen .smithy-unlock-old img,.smithy-screen .smithy-unlock-new img{object-fit:contain}.smithy-lab-card{background:radial-gradient(ellipse,#cfcfd4 48%,#17434b 49%)}@container game (orientation: portrait) and (max-height: 740px){.smithy-screen{--workshop-field-inset: 132px}.smithy-screen:has(.workshop-weekly-goal){--workshop-field-inset: 160px}.smithy-screen .smithy-wallet-row{min-height:35px}.smithy-screen .smithy-dock{--workshop-card-height: 78px}}@container game (orientation: portrait) and (max-height: 640px){.smithy-screen{--workshop-field-inset: 124px}.smithy-screen:has(.workshop-weekly-goal){--workshop-field-inset: 152px}.smithy-screen .smithy-board{top:28%}.smithy-screen .smithy-wallet-row{min-height:30px}.smithy-screen .smithy-dock{--workshop-card-height: 70px;padding:3px 6px;bottom:4px}.smithy-screen .smithy-dock-tabs button{min-height:25px;font-size:10px}}@container game (orientation: landscape) and (min-width: 760px){.smithy-screen,.smithy-screen:has(.workshop-weekly-goal){--workshop-field-inset: 0px;--workshop-side-width: clamp(180px, calc(var(--game-width) * .27), 260px);--workshop-board-width: min( calc(var(--game-width) - 2 * var(--workshop-side-width) - 30px), calc((var(--game-height) - var(--bottom-menu-total)) * .8) );--workshop-side-offset: max( 14px, calc( (var(--game-width) - var(--workshop-board-width)) / 2 - var(--workshop-side-width) - 14px ) )}.smithy-screen .smithy-stage{width:var(--workshop-board-width);background-size:100% 100%}.smithy-screen .smithy-board{top:31%;right:2%;bottom:3%;left:2%}.smithy-screen .smithy-header{left:var(--workshop-side-offset);width:var(--workshop-side-width)}.smithy-screen .smithy-dock{right:var(--workshop-side-offset);--workshop-card-height: 72px;width:var(--workshop-side-width);bottom:calc(var(--bottom-menu-total) + 10px)}.smithy-screen .smithy-dock-tabs button{font-size:10px}}@container game (orientation: landscape) and (min-width: 760px) and (min-height: 601px){.smithy-screen .smithy-dock{--workshop-card-height: 106px;top:12px;bottom:auto}.smithy-screen .smithy-dock-tabs button{min-height:36px;font-size:12px}}.smithy-screen{touch-action:auto}.smithy-screen .smithy-header{top:max(5px,env(safe-area-inset-top));width:100%;gap:4px}.smithy-screen .smithy-wallet-row{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:48px;gap:6px;padding:4px 10px;border:0;border-radius:0;background:linear-gradient(110deg,#083943f5,#042b32f5);box-shadow:0 2px 8px #001b2b40}.smithy-screen .smithy-sparks{justify-content:flex-start;justify-self:start;max-width:100%;min-height:38px;gap:4px;text-align:left}.smithy-screen .smithy-sparks-copy{gap:1px}.smithy-screen .smithy-sparks strong{overflow:hidden;font-size:clamp(11px,3.3cqw,15px);text-overflow:ellipsis;white-space:nowrap}.smithy-screen .smithy-sparks small{font-size:clamp(9px,2.5cqw,11px)}.smithy-screen .smithy-sparks>.spark-symbol{font-size:clamp(22px,6cqw,29px)}.smithy-screen .smithy-wallet-info{width:19px;height:19px;font-size:16px}.smithy-screen .smithy-balance{justify-self:end;justify-content:flex-end;gap:4px}.smithy-screen .smithy-balance strong{overflow:hidden;font-size:clamp(12px,3.8cqw,18px);text-overflow:ellipsis}.smithy-screen .smithy-balance>.smithy-coin-icon{width:clamp(18px,5.2cqw,24px);height:clamp(18px,5.2cqw,24px)}.smithy-screen .smithy-balance .coin-shop-plus{width:clamp(24px,6.5cqw,29px);height:clamp(24px,6.5cqw,29px);border-radius:4px}.smithy-screen .workshop-league-trigger.is-compact{width:auto;min-height:30px;padding:0 8px;gap:4px;border-inline:1px solid #bdc4ac55;border-radius:0;justify-content:center}.smithy-screen .workshop-league-trigger.is-compact>.league-emblem{flex:0 0 auto;width:clamp(22px,6.5cqw,30px)}.smithy-screen .workshop-league-trigger.is-compact>span:nth-child(2){flex:none}.smithy-screen .workshop-league-trigger.is-compact strong{font:700 clamp(15px,4.3cqw,20px) / 1 "League Display",Georgia,serif}.smithy-screen .workshop-league-trigger.is-compact .workshop-league-chevron{display:none}.smithy-screen .smithy-statuses{margin-inline:8px}.smithy-screen .smithy-dock{padding:4px 6px 5px;border:0;border-radius:10px 10px 0 0;background:#063239f5;box-shadow:none}.smithy-shop-toolbar{display:flex;min-width:0;gap:6px;align-items:center;padding-inline:7px;border-bottom:1px solid #bcb78a42}.smithy-screen .smithy-dock-tabs{display:flex;flex:1;min-width:0;gap:10px;margin:0}.smithy-screen .smithy-dock-tabs button{position:relative;min-width:0;min-height:34px;padding:4px 5px;border:0;border-radius:0;color:#c7dde0;background:none;box-shadow:none;font:400 clamp(12px,3.5cqw,16px) / 1.2 Arial,sans-serif}.smithy-screen .smithy-dock-tabs button[aria-selected=true]{color:#fff3cf;background:none;box-shadow:none;font-weight:700}.smithy-screen .smithy-dock-tabs button[aria-selected=true]:after{position:absolute;right:0;bottom:-1px;left:0;height:2px;border-radius:2px;background:#ffe7a4;content:""}.smithy-currency-toggle{display:flex;flex:0 0 auto;padding:1px;border:1px solid #94b5b044;border-radius:20px;background:#001f2780}.smithy-currency-toggle button{display:grid;width:32px;height:28px;min-height:0;padding:0;place-items:center;border:0;border-radius:18px;color:#9ce9f4;background:transparent}.smithy-currency-toggle button[aria-pressed=true]{background:#2c777f;box-shadow:inset 0 0 8px #75d4df36}.smithy-currency-toggle .spark-symbol{font-size:24px}.smithy-screen .smithy-currency-toggle .smithy-coin-icon{width:21px;height:21px}.smithy-screen .smithy-shop-carousel{grid-template-columns:28px minmax(0,1fr) 28px;gap:2px;padding-top:3px}.smithy-screen .smithy-shop-rail{gap:0;padding:1px 0;border:0;border-radius:0;background:none;box-shadow:none;scroll-padding:0}.smithy-offer-page{display:grid;flex:0 0 100%;min-width:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;scroll-snap-align:start}.smithy-screen .smithy-buy-card{width:100%;min-width:0;max-width:none;grid-template-rows:minmax(0,1fr) 21px;padding:1px 0 0;border:0;border-radius:6px;background:none;box-shadow:none;scroll-snap-align:none}.smithy-screen .smithy-buy-card small{height:21px;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;font:700 clamp(11px,calc(var(--game-width) * .032),14px) / 1.2 Arial,sans-serif}.smithy-screen .smithy-shop-arrow{width:28px;height:34px;border:1px solid #a3bfab66;border-radius:8px;color:#ffe9b6;background:#0b424780;box-shadow:none}.smithy-screen .smithy-shop-arrow>span{font:34px/.8 Arial,sans-serif}.smithy-screen .smithy-shop-arrow:disabled{opacity:.35}.smithy-screen .smithy-buy-card:focus-visible,.smithy-screen .smithy-currency-toggle button:focus-visible,.smithy-screen .smithy-dock-tabs button:focus-visible{outline:2px solid #ffe4a1;outline-offset:-2px}.workshop-information{padding:10px 0;border-block:1px solid #bca66d55}.workshop-information-best{display:flex;align-items:center;gap:12px}.workshop-information-best>img{width:54px;height:54px;object-fit:contain}.workshop-information .smithy-best-label{position:static;display:flex;align-items:baseline;gap:8px;width:auto;padding:0;border:0;background:none;box-shadow:none;color:#ffedbf;font:700 17px/1.2 Georgia,serif;text-transform:none;transform:none}.workshop-information .workshop-merges{position:static;display:grid;width:auto;gap:8px;margin-top:10px;padding:8px 0 0;border:0;border-top:1px solid #bca66d33;background:none;box-shadow:none}.workshop-information .workshop-merges-title{display:block;font-size:16px}.workshop-information .workshop-merges dl{display:flex;gap:25px;margin:0}.workshop-information .workshop-merges dl>div{display:grid;gap:3px}.workshop-information .workshop-merges dt,.workshop-information .workshop-merges small{color:#bdd6dd;font-size:12px}.workshop-information .workshop-merges dd{margin:0;font-size:18px}@container game (max-width: 360px){.smithy-screen .smithy-wallet-row{gap:3px;padding-inline:6px}.smithy-screen .workshop-league-trigger.is-compact{gap:2px;padding-inline:5px}.smithy-screen .smithy-sparks>.spark-symbol{display:none}.smithy-screen .smithy-balance{gap:3px}}@container game (orientation: portrait) and (max-height: 640px){.smithy-screen .smithy-wallet-row{min-height:40px}.smithy-screen .smithy-dock-tabs button{min-height:29px;font-size:12px}}@container game (orientation: landscape) and (min-width: 760px){.smithy-screen .smithy-header{top:max(5px,env(safe-area-inset-top));left:0;width:100%;max-height:none;padding:0;overflow:visible}.smithy-screen .smithy-wallet-row{min-height:52px;padding-inline:22px}.smithy-screen .smithy-sparks strong{font-size:16px}.smithy-screen .smithy-sparks small{font-size:11px}.smithy-screen .smithy-balance strong{font-size:20px}.smithy-screen .workshop-league-trigger.is-compact{min-width:160px;padding-inline:22px}.smithy-screen .smithy-statuses{width:var(--workshop-side-width);margin-left:var(--workshop-side-offset)}.smithy-screen .smithy-dock{--workshop-shop-width: min( 340px, calc((var(--game-width) - var(--workshop-board-width)) / 2 - 14px) );right:max(14px,calc((var(--game-width) - var(--workshop-board-width)) / 2 - var(--workshop-shop-width) - 14px));width:var(--workshop-shop-width);top:76px;bottom:auto;max-height:calc(var(--game-height) - var(--bottom-menu-total) - 90px);padding:6px;overflow-y:auto;border-radius:12px;touch-action:auto}.smithy-screen .workshop-upgrades{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible}.smithy-screen .workshop-upgrades .rain-card{min-width:0;width:100%}.smithy-screen .workshop-upgrades .rain-card>.workshop-upgrade-art{max-height:min(80px,calc(var(--workshop-card-height) - 24px))}.smithy-shop-toolbar{gap:3px;padding-inline:2px}.smithy-screen .smithy-dock-tabs{gap:5px}.smithy-screen .smithy-dock-tabs button{min-height:34px;padding-inline:2px;font-size:clamp(12px,calc(var(--game-width) * .01),15px)}.smithy-currency-toggle button{width:25px;height:26px}.smithy-screen .smithy-shop-carousel{grid-template-columns:32px minmax(0,1fr) 32px;gap:0}.smithy-screen .smithy-shop-arrow{width:32px}.smithy-offer-page{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 4px}.smithy-screen .smithy-buy-card{height:var(--workshop-card-height)}.smithy-screen .smithy-buy-card small{font-size:14px}}@media(prefers-reduced-motion:reduce){.smithy-screen .smithy-shop-rail{scroll-behavior:auto}}@container game (orientation: landscape) and (min-width: 760px) and (min-height: 601px){.smithy-screen .smithy-dock{--workshop-card-height: 128px}}.fortune-wheel-screen{--fortune-wheel-size: min( calc(var(--game-width) - 24px), calc(var(--game-height) - var(--bottom-menu-total) - 286px), 520px );position:relative;isolation:isolate;display:grid;grid-template-rows:44px minmax(0,1fr);gap:6px;width:100%;height:var(--game-height);min-height:0;padding:8px 12px calc(var(--bottom-menu-total) + 8px);overflow:auto;color:#fff0c5;font-family:Forge Sans,Arial,sans-serif}.fortune-wheel-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:-2;background:url(/assets/royalforge/wheel/wheel-palace-garden-portrait-v4.webp) center / cover;pointer-events:none}.fortune-header{display:flex;align-items:center;justify-content:space-between;gap:8px;width:min(100%,1120px);margin-inline:auto}.fortune-header h1{margin:0;font:700 clamp(19px,4.8cqw,32px) / 1 "Royal Display",Georgia,serif;text-shadow:0 2px 2px #072e48,0 0 6px #072e48}.fortune-header-actions,.fortune-wallet{display:flex;align-items:center;gap:6px}.fortune-wallet{padding:4px 5px;border:2px solid #d5ae59;border-radius:8px;background:#092739ed;box-shadow:0 2px 5px #0007,inset 0 0 0 1px #3f250e;font-size:14px}.fortune-wallet>.coin-icon{width:27px;height:27px}.fortune-info-button,.fortune-jackpot-help,.fortune-wallet button{display:grid;place-items:center;flex:none;width:30px;height:30px;border:2px solid #e7bb65;border-radius:50%;background:linear-gradient(#276f96,#073450);color:#ffedbe;font:700 20px Georgia,serif;cursor:pointer;box-shadow:0 0 0 1px #442812}.fortune-wallet button{font:25px/1 Arial,sans-serif}.fortune-layout{display:grid;grid-template-areas:"jackpot" "wheel" "payment" "action";grid-template-rows:74px var(--fortune-wheel-size) 48px 80px;align-content:center;justify-items:center;gap:6px;width:min(100%,1120px);min-height:0;margin-inline:auto}.fortune-jackpot-panel{grid-area:jackpot;position:relative;display:grid;grid-template-columns:auto auto;align-items:center;justify-content:center;gap:2px 8px;width:min(100%,390px);padding:5px 16px;border:1px solid #e8bd65;border-radius:12px 8px;background:url(/assets/royalforge/shops/panel-texture-v1.webp) center / cover,#092e43;box-shadow:0 0 0 2px #4b3017,inset 0 0 0 2px #0a2232,0 5px 10px #0006}.fortune-jackpot-emblem{flex:none;width:34px;height:34px;background:url(/assets/royalforge/wheel/wheel-prizes-atlas-v2.webp) 100% 100% / 300% 300% no-repeat}.fortune-jackpot-copy{display:grid;grid-template-columns:auto auto;align-items:center;gap:1px 16px}.fortune-jackpot-copy>small{font-size:12px;color:#e9d39c}.fortune-jackpot-copy>strong{grid-column:2;grid-row:1 / span 2;font:700 34px/1 Royal Display,Georgia,serif;color:#ffe5a5;white-space:nowrap}.fortune-jackpot-growth{font-size:11px;color:#fff0c7}.fortune-jackpot-help{position:absolute;top:7px;right:7px;width:27px;height:27px;font-size:17px}.fortune-last-win{display:grid;grid-template-columns:auto minmax(0,auto);justify-content:center;gap:1px 5px;max-width:100%;margin:0;color:#d7d9d4;font-size:11px;line-height:1.25;text-align:center}.fortune-jackpot-panel>.fortune-last-win{grid-column:1 / -1}.fortune-last-win strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:600;color:#fff0c5}.fortune-last-win small{grid-column:1 / -1;font:inherit}.fortune-jackpot-dialog{width:min(100%,440px)}.fortune-jackpot-explainer-art{display:grid;place-items:center;width:110px;aspect-ratio:1;margin:0 auto 12px}.fortune-rules-content .fortune-last-win{grid-template-columns:1fr;padding-top:12px;margin-top:18px;border-top:1px solid #b9985d66;font-size:14px}.fortune-rules-content .fortune-last-win strong{white-space:normal;overflow-wrap:anywhere}.fortune-wheel-stage{grid-area:wheel;display:grid;place-items:center;min-width:0;min-height:0}.fortune-wheel-machine{width:var(--fortune-wheel-size);aspect-ratio:1;container-type:inline-size}.fortune-wheel-shell{position:relative;width:100%;height:100%}.fortune-wheel-shell:before{position:absolute;top:8%;right:8%;bottom:8%;left:8%;border-radius:50%;content:"";box-shadow:0 12px 24px #1c170b88,0 0 20px #e8c77744}.fortune-wheel-disc{position:absolute;top:9.2%;right:9.2%;bottom:9.2%;left:9.2%;border-radius:50%;overflow:hidden;background:url(/assets/royalforge/shops/panel-texture-v1.webp) center / cover,#0b3248;box-shadow:0 0 0 3px #dcb560,inset 0 0 20px #0008;transition:transform var(--wheel-spin-duration, 6.4s) cubic-bezier(.1,.62,.08,1);will-change:transform}.fortune-wheel-face{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.fortune-wheel-face path{fill:#0c3147c9;stroke:#cea45c;stroke-width:.55}.fortune-wheel-face path.is-alternate{fill:#1c526dbb}.fortune-wheel-face path.is-jackpot{fill:#97672dc9}.fortune-wheel-rim{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;filter:saturate(.78) brightness(.97) drop-shadow(0 4px 4px #311b0a88);pointer-events:none}.fortune-wheel-pointer{position:absolute;top:1.5%;left:50%;z-index:3;width:9%;height:auto;transform:translate(-50%);filter:drop-shadow(0 3px 2px #1a0b07aa);pointer-events:none}.fortune-sector{position:absolute;top:var(--sector-y);left:var(--sector-x);width:18%;height:24%;transform:translate(-50%,-50%)}.fortune-sector-content{display:flex;flex-direction:column;align-items:center;justify-content:center;width:100%;height:100%;transform:rotate(calc(-1 * var(--wheel-rotation, 0deg)));transition:transform var(--wheel-spin-duration, 6.4s) cubic-bezier(.1,.62,.08,1)}.fortune-prize-icon{display:inline-block;flex:none;width:82%;aspect-ratio:1;background-image:url(/assets/royalforge/wheel/wheel-prizes-atlas-v2.webp);background-repeat:no-repeat;background-size:300% 300%;filter:drop-shadow(0 2px 2px #0005)}.fortune-prize-icon.prize-coins{background-position:0 0}.fortune-prize-icon.prize-wood{background-position:50% 0}.fortune-prize-icon.prize-stone{background-position:100% 0}.fortune-prize-icon.prize-iron{background-position:0 50%}.fortune-prize-icon.prize-booster_hammer{background-position:50% 50%}.fortune-prize-icon.prize-booster_blast{background-position:100% 50%}.fortune-prize-icon.prize-booster_crown{background-position:0 100%}.fortune-prize-icon.prize-common_chest{background-position:50% 100%}.fortune-prize-icon.prize-jackpot{background-position:100% 100%}.fortune-sector-amount{margin-top:1px;padding:0 4px;color:#fff1c2;font:700 clamp(9px,3.2cqw,16px) / 1.2 "Forge Sans",Arial,sans-serif;text-shadow:0 1px 2px #000;white-space:nowrap}.fortune-wheel-hub{position:absolute;top:50%;left:50%;width:15%;aspect-ratio:1;transform:translate(-50%,-50%);border:2px solid #ffe3a0;border-radius:50%;background:radial-gradient(circle at 35% 25%,#5aafcd,#145370 45%,#062a43 80%);box-shadow:0 0 0 2px #69441e,0 0 0 4px #cc9d49,0 4px 8px #0009,inset 0 2px 3px #fff8}.fortune-wheel-hub:after{position:absolute;top:25%;right:25%;bottom:25%;left:25%;content:"";background:linear-gradient(135deg,#fff1a2,#bd7e26);clip-path:polygon(50% 0,62% 38%,100% 50%,62% 62%,50% 100%,38% 62%,0 50%,38% 38%)}.fortune-payment-panel{grid-area:payment;width:min(100%,420px)}.fortune-payment-panel h2,.fortune-payment-note{display:none}.fortune-payment-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px;height:100%}.fortune-payment-options button{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:2px;min-width:0;padding:4px;border:1px solid #aa8a50;border-radius:8px;background:linear-gradient(#10394be8,#062737f5),url(/assets/royalforge/shops/panel-texture-v1.webp);box-shadow:inset 0 0 0 2px #051c2b;color:#e4d9bb;font-family:inherit;cursor:pointer}.fortune-payment-options button>span{font-size:11px}.fortune-payment-options button>strong{display:flex;align-items:center;gap:3px;font-size:12px}.fortune-payment-options .coin-icon{width:18px;height:18px}.fortune-payment-options button[aria-pressed=true]{border-color:#ffe4a4;background:linear-gradient(#246c8d,#0c354e);box-shadow:inset 0 0 0 2px #071e2e,0 0 0 1px #c39244;color:#fff1c6}.fortune-payment-options button:disabled{cursor:default}.fortune-wheel-controls{grid-area:action;display:grid;justify-items:center;align-content:start;gap:5px;width:min(100%,420px)}.fortune-spin-button{display:grid;place-items:center;width:min(280px,100%);min-height:54px;border:0;padding:8px 30px;background:url(/assets/royalforge/wheel/wheel-spin-button-v5.webp) center / 100% 100% no-repeat;color:#ffedbd;text-shadow:0 2px 2px #281604;font:700 28px/1 Royal Display,Georgia,serif;text-transform:uppercase;cursor:pointer;filter:drop-shadow(0 3px 3px #20120588)}.fortune-spin-button:hover:not(:disabled){filter:brightness(1.08) drop-shadow(0 3px 4px #20120588)}.fortune-spin-button:active:not(:disabled){transform:translateY(2px)}.fortune-spin-button:disabled{cursor:default;filter:saturate(.65) brightness(.8)}.fortune-wheel-screen button:focus-visible,.fortune-spin-button:focus-visible{outline:3px solid #fff0ad;outline-offset:3px}.fortune-wheel-status{margin:0;max-width:100%;padding:2px 8px;border-radius:5px;background:#07293cdb;color:#fff0c7;text-align:center;font-size:12px;line-height:1.3}.fortune-wheel-screen.has-error{--fortune-wheel-size: min( calc(var(--game-width) - 24px), calc(var(--game-height) - var(--bottom-menu-total) - 308px), 520px )}.fortune-wheel-screen.has-error .fortune-layout{grid-template-rows:74px var(--fortune-wheel-size) 48px 102px}.fortune-rules-dialog{width:min(100%,540px)}.fortune-rules-content{overflow:auto;min-height:0;padding:0 5px 6px;font-size:14px;line-height:1.45}.fortune-rules-content p{margin:6px 0 14px}.fortune-prizes-list{margin:0;padding:0;list-style:none}.fortune-prizes-list li{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:9px;padding:7px 0;border-top:1px solid #d8b16c40}.fortune-prizes-list .fortune-prize-icon{width:36px}.fortune-rules-last-win{color:#cfdbdd}.fortune-reward-dialog{width:min(100%,420px)}.fortune-reward-content{display:flex;flex-direction:column;align-items:center;overflow:auto;min-height:0;padding:6px 8px 8px;text-align:center}.fortune-reward-showcase{display:grid;place-items:center;width:min(148px,calc(var(--game-height) * .22));aspect-ratio:1;flex:none;border:2px solid #d4a455;border-radius:50%;background:radial-gradient(circle,#31667c 0,#082737 75%);box-shadow:inset 0 0 18px #d9af4833,0 0 0 3px #4e3118}.fortune-reward-showcase.is-jackpot{background:radial-gradient(circle,#bc8b37,#163e50 70%)}.fortune-reward-content h2{margin:16px 0 6px;color:#ffe2a0;font:700 30px/1.1 Royal Display,Georgia,serif}.fortune-reward-content p{margin:0 0 16px;max-width:290px;font-size:14px;line-height:1.35}.fortune-reward-content .fortune-spin-button{flex:none}@container game (orientation: portrait) and (max-height: 620px){.fortune-wheel-screen{--fortune-wheel-size: min( calc(var(--game-width) - 16px), calc(var(--game-height) - var(--bottom-menu-total) - 230px) );grid-template-rows:36px minmax(0,1fr);gap:4px;padding:4px 8px calc(var(--bottom-menu-total) + 4px)}.fortune-layout{grid-template-rows:66px var(--fortune-wheel-size) 36px 68px;gap:4px}.fortune-header h1{font-size:19px}.fortune-wallet{font-size:12px;gap:3px}.fortune-wallet>.coin-icon{width:22px;height:22px}.fortune-wallet button,.fortune-info-button{width:27px;height:27px}.fortune-jackpot-panel{padding:3px 10px}.fortune-jackpot-emblem{width:30px;height:30px}.fortune-jackpot-copy{gap:0 14px}.fortune-jackpot-copy>strong{font-size:30px}.fortune-jackpot-copy>small{font-size:11px}.fortune-jackpot-growth{font-size:10px}.fortune-payment-options button>span{font-size:10px}.fortune-payment-options button>strong{font-size:11px}.fortune-payment-options .coin-icon{width:14px;height:14px}.fortune-spin-button{min-height:46px;font-size:25px}.fortune-wheel-status{font-size:11px}.fortune-wheel-screen.has-error{--fortune-wheel-size: min( calc(var(--game-width) - 16px), calc(var(--game-height) - var(--bottom-menu-total) - 257px) )}.fortune-wheel-screen.has-error .fortune-layout{grid-template-rows:66px var(--fortune-wheel-size) 36px 95px}}@container game (orientation: landscape){.fortune-wheel-screen{--fortune-wheel-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 164px), calc(var(--game-width) - 484px), 620px );grid-template-rows:52px minmax(0,1fr);padding-inline:16px}.fortune-wheel-backdrop{background-image:url(/assets/royalforge/wheel/wheel-palace-garden-landscape-v1.webp)}.fortune-layout,.fortune-wheel-screen.has-error .fortune-layout{grid-template-areas:"jackpot wheel payment" ". action .";grid-template-columns:200px minmax(0,1fr) 200px;grid-template-rows:var(--fortune-wheel-size) 80px;gap:8px 24px}.fortune-jackpot-panel{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px;padding:18px 14px;align-self:center}.fortune-jackpot-emblem{width:75px;height:75px}.fortune-jackpot-copy{grid-template-columns:1fr;gap:7px;text-align:center}.fortune-jackpot-copy>small{text-transform:uppercase;font-size:12px}.fortune-jackpot-copy>strong{grid-column:auto;grid-row:auto;font-size:42px}.fortune-jackpot-growth{font-size:12px}.fortune-last-win{display:grid;grid-template-columns:minmax(0,1fr);gap:4px;margin:0;padding-top:14px;border-top:1px solid #ad8d5066;text-align:center;font-size:12px}.fortune-last-win strong{font-weight:400;color:#e8d19c}.fortune-payment-panel{align-self:center;padding:18px 12px;border:1px solid #e6b962;border-radius:8px 12px;background:url(/assets/royalforge/shops/panel-texture-v1.webp) center / cover,#092e43;box-shadow:0 0 0 2px #4b3017,0 5px 10px #0006}.fortune-payment-panel h2{display:block;margin:0 0 14px;text-align:center;font:700 22px/1.1 Royal Display,Georgia,serif}.fortune-payment-options{grid-template-columns:1fr;gap:9px}.fortune-payment-options button{min-height:56px}.fortune-payment-options button>span{font-size:13px}.fortune-payment-options button>strong{font-size:15px}.fortune-payment-note{display:block;margin:12px 0 0;text-align:center;color:#d9d0b6;font-size:12px;line-height:1.3}.fortune-wheel-screen.has-error{--fortune-wheel-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 186px), calc(var(--game-width) - 484px), 620px )}.fortune-wheel-screen.has-error .fortune-layout{grid-template-rows:var(--fortune-wheel-size) 102px}}@container game (orientation: landscape) and (max-height: 500px){.fortune-wheel-screen{--fortune-wheel-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 132px), calc(var(--game-width) - 400px) );grid-template-rows:36px minmax(0,1fr);gap:4px;padding-block:4px calc(var(--bottom-menu-total) + 4px)}.fortune-layout,.fortune-wheel-screen.has-error .fortune-layout{grid-template-columns:160px minmax(0,1fr) 160px;grid-template-rows:var(--fortune-wheel-size) 70px;gap:6px 16px}.fortune-header h1{font-size:25px}.fortune-jackpot-panel{padding:10px;gap:5px}.fortune-jackpot-emblem{width:40px;height:40px}.fortune-jackpot-copy{gap:4px}.fortune-jackpot-copy>strong{font-size:34px}.fortune-last-win{padding-top:8px;font-size:11px}.fortune-payment-panel{padding:10px}.fortune-payment-panel h2{font-size:17px;margin-bottom:8px}.fortune-payment-options{gap:5px}.fortune-payment-options button{min-height:40px;gap:0}.fortune-payment-options button>span{font-size:11px}.fortune-payment-options button>strong{font-size:12px}.fortune-payment-note{display:none}.fortune-spin-button{min-height:46px;font-size:25px}.fortune-wheel-screen.has-error{--fortune-wheel-size: min( calc(var(--game-height) - var(--bottom-menu-total) - 152px), calc(var(--game-width) - 400px) )}.fortune-wheel-screen.has-error .fortune-layout{grid-template-rows:var(--fortune-wheel-size) 90px}}@media(prefers-reduced-motion:reduce){.fortune-wheel-disc,.fortune-sector-content{transition-duration:.01ms}}.tutorial-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:65;pointer-events:none;color:#fff1cf;font:400 14px/1.35 Forge Sans,Arial,sans-serif}.tutorial-spotlight{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.tutorial-dim{fill:#030e17b3;pointer-events:visiblePainted}.tutorial-outline{fill:none;stroke:#ffe29a;stroke-width:2.4;stroke-linejoin:round;filter:drop-shadow(0 0 3px #f4bf4c70)}.tutorial-tap{fill:#fff3ca;stroke:#ffe29a}.tutorial-tap circle:first-child{fill:#11233480;stroke-width:2}.tutorial-arrow{fill:none;stroke:#ffe29a;stroke-width:3;stroke-linejoin:round;stroke-linecap:round;filter:drop-shadow(0 1px 2px #000)}.tutorial-index circle{fill:#ffe39b;stroke:#fff2ca;stroke-width:1}.tutorial-index:last-child circle{fill:#123b4a;stroke:#ffe39b}.tutorial-index text{fill:#2c2212;text-anchor:middle;font:700 13px Arial,sans-serif}.tutorial-index:last-child text{fill:#ffedb5}.tutorial-note{position:absolute;top:12px;left:12px;width:min(346px,calc(100% - 24px));padding:10px 36px 11px 13px;border:1px solid #c5a060;border-radius:11px;background:linear-gradient(155deg,#173c4a,#0a2433 78%);box-shadow:0 5px 17px #01070db0,inset 0 0 0 2px #e2bd7820;pointer-events:auto}.tutorial-note small{display:block;color:#f0c976;font-size:11px;letter-spacing:.065em;text-transform:uppercase}.tutorial-title{display:block;margin-top:2px;font:700 clamp(17px,5.6cqw,24px) / 1.06 "Royal Display",Georgia,serif}.tutorial-note p{margin:4px 0 0;color:#f4efe2}.tutorial-close{position:absolute;top:0;right:1px;display:grid;place-items:center;width:38px;height:38px;border:none;background:transparent;color:#fff1cf;font-size:24px;cursor:pointer;touch-action:manipulation}.tutorial-primary{min-height:40px;margin-top:8px;padding:5px 12px;border:1px solid #e1b665;border-radius:8px;background:linear-gradient(#1d5a79,#0c3550);color:#fff1ca;cursor:pointer;touch-action:manipulation}.tutorial-completion{width:min(380px,100%)}.tutorial-completion-coins{display:flex;justify-content:center;align-items:center;gap:12px;margin:16px 0;color:#ffe29d;font:700 32px/1.2 Royal Display,Georgia,serif}.tutorial-completion-coins .coin-icon{width:46px;height:46px}.tutorial-completion .tutorial-primary{width:100%}@container game (max-width: 360px){.tutorial-note p{font-size:12px}}.game-host{position:fixed;top:0;right:0;bottom:0;left:0;display:flex;justify-content:center;align-items:flex-start;width:100%;height:100dvh;overflow:hidden;background:radial-gradient(ellipse at top,#314854,#101b24 80%)}.game-host[data-host-controls=vk]{--host-controls-height: 56px;box-sizing:border-box;padding-top:calc(max(env(safe-area-inset-top),var(--vk-inset-top, 0px)) + var(--host-controls-height));background:#0c1720}.game-viewport{container:game / size;contain:layout paint;position:relative;width:var(--game-width);height:var(--game-height);overflow:hidden;isolation:isolate;box-shadow:0 0 50px #0007}.game-content{width:100%;height:100%}.game-overlays{position:absolute;z-index:100;top:0;right:0;bottom:0;left:0;pointer-events:none}.game-overlays>*{pointer-events:auto}.game-shell,.game-overlays{--bottom-menu-total: calc( var(--bottom-menu-height) + env(safe-area-inset-bottom) )}@font-face{font-family:Royal Display;src:url(/assets/royalforge/fonts/cormorant-garamond-latin.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:700}@font-face{font-family:Forge Sans;src:url(/assets/royalforge/fonts/pt-sans-cyrillic-400.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:400}@font-face{font-family:Forge Sans;src:url(/assets/royalforge/fonts/pt-sans-cyrillic-700.woff2) format("woff2");font-display:swap;font-style:normal;font-weight:700}:root{--game-width: 100vw;--game-height: 100dvh;--bottom-menu-height: 94px;--bottom-menu-total: calc( var(--bottom-menu-height) + env(safe-area-inset-bottom) );color:#fff8d9;background:#122231;font-family:Forge Sans,Arial,sans-serif;font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box}html,body,#root{width:100%;min-width:0;height:100%;min-height:100%;margin:0}body{min-height:100vh;min-height:100dvh;overflow:hidden;overscroll-behavior:none;background:#122231}#root{position:relative;isolation:isolate}.game-shell{position:relative;width:100%;height:100%;min-width:0;min-height:320px;overflow:hidden;isolation:isolate}button,input,textarea,select{font:inherit}button,[role=button],a[href]{-webkit-tap-highlight-color:transparent;touch-action:manipulation}button.is-interaction-pressed,[role=button].is-interaction-pressed,a[href].is-interaction-pressed{scale:.96;translate:0 2px;filter:brightness(.84) saturate(1.14)}button.is-interaction-released,[role=button].is-interaction-released,a[href].is-interaction-released{filter:brightness(1.1) saturate(1.08)}.interaction-feedback-layer{position:fixed;z-index:1000;top:0;right:0;bottom:0;left:0;overflow:hidden;pointer-events:none;contain:strict}.interaction-tap-burst{position:fixed;top:var(--interaction-tap-y);left:var(--interaction-tap-x);width:34px;aspect-ratio:1;border:2px solid rgb(255 231 133 / 92%);border-radius:50%;box-shadow:0 0 7px #fff6bee0,0 0 15px #eeaa30ad,inset 0 0 6px #31aee78a;opacity:0;transform:translate(-50%,-50%) scale(.35);animation:interaction-tap-burst .42s cubic-bezier(.16,.78,.24,1) both}.interaction-tap-burst:before,.interaction-tap-burst:after{position:absolute;top:50%;left:50%;background:linear-gradient(90deg,transparent,#fff0a0,transparent);content:"";transform:translate(-50%,-50%)}.interaction-tap-burst:before{width:46px;height:2px}.interaction-tap-burst:after{width:2px;height:46px;background:linear-gradient(180deg,transparent,#fff0a0,transparent)}@keyframes interaction-tap-burst{0%{opacity:0;transform:translate(-50%,-50%) scale(.25) rotate(-18deg)}22%{opacity:.96}68%{opacity:.74;transform:translate(-50%,-50%) scale(1) rotate(7deg)}to{opacity:0;transform:translate(-50%,-50%) scale(1.38) rotate(14deg)}}.first-hammer-screen{position:relative;width:100%;height:var(--game-height);min-height:320px;overflow:hidden;overflow:clip;background:#122231;touch-action:manipulation}.forge-ambient{position:absolute;top:-34px;right:-34px;bottom:-34px;left:-34px;background-position:center;background-size:cover;filter:blur(24px) brightness(.55) saturate(.9);opacity:.86;pointer-events:none;transform:scale(1.04)}.forge-ambient:after{position:absolute;top:0;right:0;bottom:0;left:0;background:#080f1638;content:""}.hammer-scene{position:absolute;top:0;right:0;bottom:0;left:0;display:grid;min-width:0;min-height:320px;place-items:center;overflow:hidden;isolation:isolate}.forge-stage{--impact-x: 52cqw;--impact-y: 57.2cqh;--scene-height: max(var(--game-height), calc(var(--game-width) * 941 / 1672));--scene-clearance: 24px;--scene-shift: min( 0px, calc( var(--game-height) * .5 - var(--scene-height) * .39 - var(--scene-clearance) ) );--impact-delay: .72s;--strike-duration: 1.6s;position:absolute;left:50%;top:calc(50% + var(--scene-shift));translate:-50% -50%;z-index:1;width:max(var(--game-width),calc(var(--game-height) * 1672 / 941));max-width:none;flex:none;aspect-ratio:1672 / 941;overflow:hidden;background:#2694d6;box-shadow:0 18px 60px #03090e61;container-type:size;isolation:isolate;pointer-events:none;-webkit-user-select:none;user-select:none}.has-bottom-menu .forge-stage{--scene-clearance: calc(var(--bottom-menu-total) + 24px)}.forge-stage.is-striking{animation:forge-stage-impact var(--strike-duration) linear both;will-change:transform}.forge-stage.is-striking .forge-backdrop{animation:forge-backdrop-depth var(--strike-duration) cubic-bezier(.22,.62,.36,1) both}.forge-stage:before{position:absolute;top:0;right:0;bottom:0;left:0;z-index:5;background:radial-gradient(circle at var(--impact-x) var(--impact-y),rgba(255,252,215,.68) 0,rgba(255,174,50,.28) 8%,transparent 25%);content:"";opacity:0;pointer-events:none}.forge-stage.is-striking:before{animation:forge-impact-light var(--strike-duration) linear both}.forge-stage:after{position:absolute;top:0;right:0;bottom:0;left:0;z-index:6;background:linear-gradient(to bottom,#0c375905 46%,#1b150e26),linear-gradient(90deg,rgba(15,27,32,.07),transparent 16% 84%,rgba(15,24,29,.07));content:"";pointer-events:none}.forge-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:block;width:100%;height:100%;object-fit:cover;-webkit-user-drag:none}.forge-anvil{--anvil-rest-transform: translateX(-50%);--anvil-top: 42.5%;position:absolute;top:var(--anvil-top);left:50%;z-index:2;display:block;width:58%;height:auto;filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34));transform:var(--anvil-rest-transform);transform-origin:50% 81.5%;will-change:filter,transform;-webkit-user-drag:none}.forge-anvil.anvil-classic{--anvil-top: 41.8%}.forge-anvil.anvil-sapphire,.forge-anvil.anvil-ember,.forge-anvil.anvil-verdant,.forge-anvil.anvil-moonfrost,.forge-anvil.anvil-sunforge{--anvil-top: 35.5%}.forge-stage.is-striking .forge-anvil{animation:forge-anvil-impact var(--strike-duration) linear both}.forge-anvil.anvil-sapphire{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .7cqw rgba(69,160,255,.42))}.forge-anvil.anvil-ember{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .72cqw rgba(255,79,45,.5))}.forge-anvil.anvil-verdant{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .72cqw rgba(42,215,119,.48))}.forge-anvil.anvil-moonfrost{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .76cqw rgba(135,221,255,.56))}.forge-anvil.anvil-sunforge{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .78cqw rgba(255,183,54,.56))}.forge-anvil.anvil-crownfire{--anvil-top: 44.2%;width:50%;animation:crownfire-anvil-idle 2.8s ease-in-out infinite;filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .82cqw rgba(255,179,54,.5)) drop-shadow(0 0 1.25cqw rgba(190,52,255,.5))}.forge-hammer{--hammer-head-bottom: 21.87cqw;--hammer-top: 36cqh;--strike-x-windup: 2%;--strike-x-flight-42: 0%;--strike-x-flight-50: -4%;--strike-x-flight-58: -8.5%;--strike-x-flight-65: -12%;--strike-x-contact: -14.85%;--strike-x-rebound: -13.5%;--strike-x-recovery: -9.5%;--strike-x-settle: -3.5%;--strike-y-contact: calc( var(--impact-y) - var(--hammer-top) - var(--hammer-head-bottom) );--strike-y-rebound: calc(var(--strike-y-contact) - 3cqh);--strike-y-recovery: calc(var(--strike-y-contact) - 6cqh);--hammer-filter: drop-shadow(0 .5cqh .45cqw rgba(31, 18, 9, .28));position:absolute;top:36%;right:-3.42%;z-index:4;display:block;width:52%;height:auto;transform:translateY(-50%) rotate(23deg);transform-origin:50% 50%;filter:var(--hammer-filter);will-change:filter,transform;-webkit-user-drag:none}.forge-hammer.is-striking{animation:forge-hammer-strike var(--strike-duration) linear both}.forge-hammer.hammer-sapphire{--hammer-filter: drop-shadow(0 0 .58cqw rgba(71, 169, 255, .48))}.forge-hammer.hammer-ember{--hammer-filter: drop-shadow(0 0 .64cqw rgba(255, 80, 45, .58))}.forge-hammer.hammer-verdant{--hammer-filter: drop-shadow(0 0 .64cqw rgba(45, 224, 126, .55))}.forge-hammer.hammer-moonfrost{--hammer-filter: drop-shadow(0 0 .68cqw rgba(151, 231, 255, .62))}.forge-hammer.hammer-sunforge{--hammer-filter: drop-shadow(0 0 .68cqw rgba(255, 190, 59, .62))}.forge-hammer.hammer-crownfire{--hammer-head-bottom: 23cqw;--hammer-filter: drop-shadow(0 0 .52cqw rgba(255, 187, 63, .48)) drop-shadow(0 0 1.05cqw rgba(205, 55, 255, .72))}.forge-impact-effects{position:absolute;top:var(--impact-y);left:var(--impact-x);z-index:3;width:1px;height:1px;pointer-events:none}.forge-impact-effects:before,.forge-impact-effects:after{position:absolute;top:0;left:0;display:block;border-radius:999px;background:linear-gradient(90deg,transparent,rgba(255,188,51,.12) 12%,#fff8c9 44%,#fff 50%,#fff8c9 56%,rgba(255,188,51,.12) 88%,transparent);box-shadow:0 0 1.1cqw #ff8f1bd1;content:"";opacity:0;pointer-events:none}.forge-impact-effects:before{--impact-ray-angle: -8deg;width:18cqw;height:.52cqw;transform:translate(-50%,-50%) rotate(var(--impact-ray-angle)) scaleX(.12)}.forge-impact-effects:after{--impact-ray-angle: 82deg;width:15cqw;height:.44cqw;transform:translate(-50%,-50%) rotate(var(--impact-ray-angle)) scaleX(.12)}.forge-impact-effects.is-active:before{animation:impact-strike-ray .33s ease-out var(--impact-delay) both}.forge-impact-effects.is-active:after{animation:impact-strike-ray .3s ease-out calc(var(--impact-delay) + 12ms) both}.impact-flash,.impact-contact-core,.impact-metal-glow,.impact-wave,.impact-rune,.impact-sigil,.impact-column,.impact-shard,.impact-arc,.impact-smoke,.impact-debris,.impact-spark{position:absolute;display:block;opacity:0;pointer-events:none;transform:translate(-50%,-50%)}.impact-flash{width:16cqw;aspect-ratio:1;border-radius:50%;background:radial-gradient(circle,#fff 0 4%,rgba(255,229,118,.98) 12%,rgba(255,142,30,.72) 30%,rgba(225,59,10,.2) 58%,transparent 75%)}.forge-impact-effects.effect-sapphire .impact-flash{background:radial-gradient(circle,rgba(255,255,255,.98) 0 5%,rgba(91,194,255,.84) 18%,rgba(34,99,255,.32) 48%,transparent 72%)}.forge-impact-effects.effect-ember .impact-flash{background:radial-gradient(circle,#fff 0 5%,rgba(255,178,93,.96) 15%,rgba(255,63,35,.65) 38%,rgba(128,16,26,.22) 60%,transparent 74%)}.forge-impact-effects.effect-verdant .impact-flash{background:radial-gradient(circle,#fff 0 5%,rgba(170,255,185,.96) 16%,rgba(40,211,113,.58) 40%,rgba(16,98,68,.2) 62%,transparent 74%)}.forge-impact-effects.effect-moonfrost .impact-flash{background:radial-gradient(circle,#fff 0 6%,rgba(205,247,255,.98) 17%,rgba(100,162,255,.58) 40%,rgba(56,75,181,.2) 62%,transparent 74%)}.forge-impact-effects.effect-sunforge .impact-flash{background:radial-gradient(circle,#fff 0 5%,rgba(255,242,166,.98) 16%,rgba(255,173,38,.66) 39%,rgba(176,79,13,.2) 61%,transparent 74%)}.forge-impact-effects.effect-crownfire .impact-flash{background:radial-gradient(circle,#fff 0 4%,rgba(255,222,122,.98) 12%,rgba(238,76,255,.86) 28%,rgba(116,31,210,.58) 48%,rgba(255,157,38,.24) 62%,transparent 76%)}.forge-impact-effects.is-active .impact-flash{animation:equipment-impact-flash .44s ease-out var(--impact-delay) both}.impact-contact-core{z-index:2;width:8.8cqw;height:1.55cqh;border-radius:50%;background:radial-gradient(ellipse,#fff 0 10%,#fff0a0 26%,rgba(255,128,24,.88) 55%,transparent 78%);box-shadow:0 0 1.1cqw #ffa42aad;filter:blur(.06cqw);mix-blend-mode:screen}.forge-impact-effects.is-active .impact-contact-core{animation:impact-contact-core .34s cubic-bezier(.18,.72,.2,1) var(--impact-delay) both}.impact-metal-glow{top:.55cqh;width:13.5cqw;height:1.85cqh;border-radius:50%;background:radial-gradient(ellipse,rgba(255,245,177,.96),rgba(255,132,22,.68) 42%,transparent 74%);filter:blur(.28cqw);mix-blend-mode:screen;transform-origin:center}.forge-impact-effects.is-active .impact-metal-glow{animation:impact-metal-forge .62s cubic-bezier(.2,.72,.2,1) var(--impact-delay) both}.impact-wave{width:5cqw;aspect-ratio:1;border:.22cqw solid rgba(255,193,58,.96);border-radius:50%;box-shadow:0 0 .75cqw #ff8f18b8,inset 0 0 .55cqw #ffe6877a}.impact-wave-secondary{width:3.4cqw;border-width:.12cqw}.forge-impact-effects.effect-sapphire .impact-wave{border-color:#97e5fffa;box-shadow:0 0 .85cqw #3eb1ffeb,inset 0 0 .65cqw #486cff99}.forge-impact-effects.effect-ember .impact-wave{border-color:#ffb968fa;box-shadow:0 0 .86cqw #ff4523f0,inset 0 0 .66cqw #84121ca3}.forge-impact-effects.effect-verdant .impact-wave{border-color:#b1ffc2fa;box-shadow:0 0 .86cqw #24d973eb,inset 0 0 .66cqw #126f4ba3}.forge-impact-effects.effect-moonfrost .impact-wave{border-color:#dcfbfffa;box-shadow:0 0 .92cqw #66b1fff5,inset 0 0 .66cqw #475ae89e}.forge-impact-effects.effect-sunforge .impact-wave{border-color:#fff19efa;box-shadow:0 0 .9cqw #ffa822f5,inset 0 0 .66cqw #be530f9e}.forge-impact-effects.effect-crownfire .impact-wave{border-color:#ffd55dfa;box-shadow:0 0 .82cqw #ffb12ad6,0 0 1.35cqw #d039ffcc,inset 0 0 .7cqw #821de7c2}.forge-impact-effects.is-active .impact-wave-primary{animation:impact-wave-primary .52s ease-out calc(var(--impact-delay) + 18ms) both}.forge-impact-effects.is-active .impact-wave-secondary{animation:impact-wave-secondary .59s ease-out calc(var(--impact-delay) + 58ms) both}.forge-impact-effects.effect-classic .impact-rune{display:none}.forge-impact-effects.effect-classic .impact-wave-primary{width:5.8cqw}.forge-impact-effects.effect-classic .impact-wave-secondary{width:4cqw}.forge-impact-effects.effect-sapphire.is-active .impact-flash,.forge-impact-effects.effect-ember.is-active .impact-flash,.forge-impact-effects.effect-verdant.is-active .impact-flash,.forge-impact-effects.effect-moonfrost.is-active .impact-flash,.forge-impact-effects.effect-sunforge.is-active .impact-flash,.forge-impact-effects.effect-crownfire.is-active .impact-flash{animation-duration:.68s}.impact-rune{width:5.5cqw;aspect-ratio:1;border:.16cqw solid rgba(255,201,72,.9);box-shadow:0 0 .62cqw #ff8f1aad,inset 0 0 .48cqw #ffd25675;transform:translate(-50%,-50%) rotate(45deg)}.forge-impact-effects.effect-sapphire .impact-rune{border-color:#87ddfffa;box-shadow:0 0 .72cqw #32afffe6,inset 0 0 .58cqw #4759ffad}.forge-impact-effects.effect-ember .impact-rune{border-color:#ff9d57fa;box-shadow:0 0 .78cqw #ff3e25eb,inset 0 0 .58cqw #820f1bb8}.forge-impact-effects.effect-verdant .impact-rune{border-color:#95ffaffa;border-radius:46% 0;box-shadow:0 0 .78cqw #28de79eb,inset 0 0 .58cqw #147349b8}.forge-impact-effects.effect-moonfrost .impact-rune{width:6.2cqw;border-color:#cff8fffa;border-radius:50%;box-shadow:0 0 .82cqw #68b8fff0,inset 0 0 .62cqw #4c5de5b3}.forge-impact-effects.effect-sunforge .impact-rune{width:6.4cqw;border-color:#ffe985fa;box-shadow:0 0 .82cqw #ffa621f0,inset 0 0 .62cqw #be4f0ab3}.forge-impact-effects.effect-crownfire .impact-rune{width:7cqw;border-color:#e55cfff5;border-radius:50%;box-shadow:0 0 .85cqw #e649fff0,0 0 1.4cqw #ffb1288a,inset 0 0 .75cqw #6b1ad1c2}.forge-impact-effects.effect-classic.is-active .impact-rune,.forge-impact-effects.effect-sapphire.is-active .impact-rune,.forge-impact-effects.effect-ember.is-active .impact-rune,.forge-impact-effects.effect-verdant.is-active .impact-rune,.forge-impact-effects.effect-moonfrost.is-active .impact-rune,.forge-impact-effects.effect-sunforge.is-active .impact-rune,.forge-impact-effects.effect-crownfire.is-active .impact-rune{animation:equipment-impact-rune .7s ease-out calc(var(--impact-delay) + 34ms) both}.impact-sigil{color:#ffe39a;font-family:Georgia,serif;font-size:4.8cqw;font-weight:700;line-height:1;text-shadow:0 0 .45cqw #fff4bd,0 0 1cqw rgba(240,79,255,.96),0 0 1.8cqw rgba(105,27,211,.82);transform:translate(-50%,-58%) scale(.2)}.forge-impact-effects.effect-crownfire.is-active .impact-sigil{animation:crownfire-impact-sigil .7s ease-out calc(var(--impact-delay) + 34ms) both}.impact-column{width:4.2cqw;height:23cqh;border-radius:50%;background:linear-gradient(to top,rgba(255,215,103,.84),rgba(234,78,255,.5) 38%,transparent 90%);filter:blur(.65cqw);transform:translate(-50%,-90%) scaleX(.1)}.forge-impact-effects.effect-crownfire.is-active .impact-column{animation:crownfire-impact-column .56s ease-out var(--impact-delay) both}.impact-shard{width:1.25cqw;height:.48cqw;background:linear-gradient(90deg,#fff,#8ee8ff 42%,#395dff);box-shadow:0 0 .7cqw #39aafff2;clip-path:polygon(0 50%,42% 0,100% 50%,42% 100%);transform-origin:left center}.forge-impact-effects.effect-sapphire.is-active .impact-shard{animation:sapphire-impact-shard .62s cubic-bezier(.12,.7,.16,1) calc(var(--impact-delay) + 18ms + var(--shard-delay)) both}.forge-impact-effects.effect-ember .impact-shard{background:linear-gradient(90deg,#fff3d5,#ff773e 42%,#8f1026);box-shadow:0 0 .72cqw #ff4323f5}.forge-impact-effects.effect-verdant .impact-shard{height:.72cqw;border-radius:100% 0;background:linear-gradient(90deg,#efffe9,#5df190 45%,#096c4c);box-shadow:0 0 .72cqw #2ce17af5}.forge-impact-effects.effect-moonfrost .impact-shard{width:1.4cqw;background:linear-gradient(90deg,#fff,#b9f2ff 42%,#5b70ef);box-shadow:0 0 .82cqw #75c7fffa;clip-path:polygon(0 50%,60% 0,100% 50%,60% 100%)}.forge-impact-effects.effect-sunforge .impact-shard{background:linear-gradient(90deg,#fffbe0,#ffd45f 42%,#d56a12);box-shadow:0 0 .8cqw #ffad23fa;clip-path:polygon(0 50%,50% 0,100% 50%,50% 100%)}.forge-impact-effects.effect-ember.is-active .impact-shard,.forge-impact-effects.effect-verdant.is-active .impact-shard,.forge-impact-effects.effect-moonfrost.is-active .impact-shard,.forge-impact-effects.effect-sunforge.is-active .impact-shard{animation:sapphire-impact-shard .7s cubic-bezier(.12,.7,.16,1) calc(var(--impact-delay) + 18ms + var(--shard-delay)) both}.impact-arc{width:5.4cqw;height:.26cqw;border-radius:999px;background:linear-gradient(90deg,#fff7bd,#f05bff 38%,#771be000);box-shadow:0 0 .55cqw #f154fff2,0 0 1cqw #ffb32f9e;transform-origin:left center}.forge-impact-effects.effect-crownfire.is-active .impact-arc{animation:crownfire-impact-arc .7s cubic-bezier(.12,.72,.16,1) calc(var(--impact-delay) + 18ms + var(--arc-delay)) both}.impact-spark{top:calc(var(--spark-y) * .25);left:calc(var(--spark-x) * .25);width:6cqw;height:max(2px,.29cqw);border-radius:999px;background:linear-gradient(90deg,#fffce8,#ffd34c 35%,#ff590c00);box-shadow:0 0 .55cqw #ff9622e0;transform-origin:left center}.forge-impact-effects.effect-sapphire .impact-spark{background:linear-gradient(90deg,#fff,#7fd8ff 35%,#1d5cff00);box-shadow:0 0 .72cqw #41a4ffeb}.forge-impact-effects.effect-ember .impact-spark{background:linear-gradient(90deg,#fff7e6,#ff7b3e 35%,#8f0e2000);box-shadow:0 0 .76cqw #ff3d20f5}.forge-impact-effects.effect-verdant .impact-spark{background:linear-gradient(90deg,#f4fff0,#65ee94 35%,#086a4800);box-shadow:0 0 .76cqw #2ae178f5}.forge-impact-effects.effect-moonfrost .impact-spark{background:linear-gradient(90deg,#fff,#b8f2ff 35%,#4d5be600);box-shadow:0 0 .82cqw #71c7fffa}.forge-impact-effects.effect-sunforge .impact-spark{background:linear-gradient(90deg,#fffde8,#ffd65f 35%,#cd560800);box-shadow:0 0 .82cqw #ffaf22fa}.forge-impact-effects.effect-crownfire .impact-spark{background:linear-gradient(90deg,#fff7d1,#f08aff 28%,#9b35ff 58%,#6c19de00);box-shadow:0 0 .82cqw #ed5bfff0,0 0 1.35cqw #ffaf2d8a}.forge-impact-effects.is-active .impact-spark{animation:impact-spark .64s cubic-bezier(.16,.72,.2,1) calc(var(--impact-delay) + 12ms + var(--spark-delay)) both}.impact-debris{width:var(--debris-size);aspect-ratio:1.65;border-radius:50% 35% 45% 30%;background:linear-gradient(145deg,#d09a5c,#5d3a24 62%,#22170f);box-shadow:0 0 .22cqw #ff913033;transform-origin:left center}.forge-impact-effects.is-active .impact-debris{animation:impact-debris .61s cubic-bezier(.12,.7,.2,1) calc(var(--impact-delay) + var(--debris-delay)) both}.impact-smoke{width:6cqw;height:4cqh;border-radius:50%;background:radial-gradient(ellipse,rgba(80,54,39,.3),rgba(68,45,33,.08) 52%,transparent 73%);filter:blur(.45cqw)}.forge-impact-effects.effect-sapphire .impact-smoke{background:radial-gradient(ellipse,rgba(89,176,255,.3),rgba(66,92,170,.08) 52%,transparent 73%)}.forge-impact-effects.effect-ember .impact-smoke{background:radial-gradient(ellipse,rgba(221,66,42,.32),rgba(105,26,32,.09) 52%,transparent 73%)}.forge-impact-effects.effect-verdant .impact-smoke{background:radial-gradient(ellipse,rgba(68,205,119,.3),rgba(24,89,65,.08) 52%,transparent 73%)}.forge-impact-effects.effect-moonfrost .impact-smoke{background:radial-gradient(ellipse,rgba(137,213,255,.32),rgba(66,82,167,.08) 52%,transparent 73%)}.forge-impact-effects.effect-sunforge .impact-smoke{background:radial-gradient(ellipse,rgba(244,170,61,.32),rgba(133,71,20,.08) 52%,transparent 73%)}.forge-impact-effects.effect-crownfire .impact-smoke{background:radial-gradient(ellipse,rgba(178,55,224,.3),rgba(86,34,116,.09) 52%,transparent 73%)}.impact-smoke-left{transform:translate(-85%,-15%)}.impact-smoke-right{transform:translateY(-20%)}.forge-impact-effects.is-active .impact-smoke-left{animation:impact-smoke-left .7s ease-out calc(var(--impact-delay) + 90ms) both}.forge-impact-effects.is-active .impact-smoke-right{animation:impact-smoke-right .68s ease-out calc(var(--impact-delay) + 105ms) both}.coin-balance{position:absolute;top:3.4%;left:2.6%;z-index:8;display:flex;min-width:max(86px,10.5cqw);height:max(36px,5.2cqh);align-items:center;gap:max(7px,.65cqw);border:max(1px,.12cqw) solid #e5af43;border-radius:6px;background:linear-gradient(180deg,#223341f5,#0b1823f5);box-shadow:0 0 0 max(1px,.12cqw) #2e180ae0,0 max(3px,.45cqh) max(8px,1.3cqw) #00000047,inset 0 1px #ffebae3d;padding:max(4px,.45cqh) max(10px,.85cqw) max(4px,.45cqh) max(5px,.45cqw)}.coin-balance.is-pulsing{animation:balance-arrival .3s ease-out 1.06s both}.balance-coin{display:grid;width:max(26px,3.4cqh);flex:0 0 auto;aspect-ratio:1;place-items:center;border:max(1px,.12cqw) solid #fff0a9;border-radius:50%;background:radial-gradient(circle at 34% 28%,rgba(255,255,225,.9),transparent 17%),linear-gradient(145deg,#fff29a 3%,#edaa25 42%,#9c4e0d 91%);box-shadow:inset 0 0 0 max(2px,.16cqw) #bd6812,0 0 max(8px,.8cqw) #ffa4226b;color:#71310d;font-family:Royal Display,Georgia,serif;font-size:max(15px,1.5cqw);font-weight:700;line-height:1;text-shadow:0 1px rgba(255,239,153,.62)}.balance-value{min-width:2.2ch;color:#fff2bf;font-family:Royal Display,Georgia,serif;font-size:max(20px,2.05cqw);font-variant-numeric:tabular-nums;font-weight:700;line-height:1;text-shadow:0 2px 4px rgba(0,0,0,.62)}.coin-burst{--reward-beat-delay: .23s;position:absolute;top:0;right:0;bottom:0;left:0;z-index:3;overflow:visible;pointer-events:none}.reward-popup{position:absolute;top:calc(var(--impact-y) - 2.1cqh);left:var(--impact-x);min-width:2.7em;border-radius:50%;background:radial-gradient(ellipse,rgba(255,180,48,.22),transparent 70%);color:#fff4a4;font-family:Royal Display,Georgia,serif;font-size:max(28px,3.5cqw);font-weight:700;letter-spacing:.025em;line-height:1;padding:.22em .3em;text-align:center;text-shadow:0 2px 0 #713008,0 0 .45cqw #ffcf55,0 0 1.35cqw rgba(255,100,16,.88);transform:translate(-50%);animation:reward-popup .86s cubic-bezier(.18,.75,.22,1) calc(var(--reward-beat-delay) + 70ms) both}.flying-coin{position:absolute;top:var(--impact-y);left:var(--impact-x);display:grid;width:max(15px,var(--coin-size));aspect-ratio:1;place-items:center;opacity:0;animation:flying-coin var(--coin-duration) cubic-bezier(.18,.66,.22,1) calc(var(--reward-beat-delay) + var(--coin-delay)) both}.flying-coin-face{width:100%;height:100%}.strike-button{position:absolute;bottom:max(24px,calc(env(safe-area-inset-bottom) + 12px));left:50%;z-index:10;display:flex;width:min(280px,calc(var(--game-width) * .7));min-height:62px;align-items:center;justify-content:center;overflow:visible;border:0;border-radius:0;outline:none;background:transparent;box-shadow:none;color:#fff1c1;cursor:pointer;filter:drop-shadow(0 4px 0 #2e1607) drop-shadow(0 9px 16px rgba(5,10,15,.52)) drop-shadow(0 0 5px rgba(255,211,112,.62)) drop-shadow(0 0 12px rgba(224,134,31,.46));isolation:isolate;padding:0 30px;text-shadow:0 2px 0 #35200f,0 3px 8px rgba(0,0,0,.7);transform:translate(-50%);transition:filter .16s ease,transform .12s ease;user-select:none;-webkit-user-select:none}.strike-button-frame{position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;display:block;width:100%;height:100%;overflow:visible;pointer-events:none}.strike-button-frame-shadow{fill:#261105f5;stroke:#2c1507;stroke-width:2}.strike-button-frame-gold{fill:url(#strike-frame-gold);stroke:#ffe5a0;stroke-width:1.15}.strike-button-frame-face{fill:url(#strike-frame-blue);stroke:#5a2b0b;stroke-width:2}.strike-button-frame-light{fill:url(#strike-frame-light)}.strike-button-frame-rim{fill:none;stroke:#ffe197b3;stroke-width:1}.strike-button-frame-facet{fill:url(#strike-frame-gold);stroke:#ffe5a0;stroke-width:.7}.strike-button:active:not(:disabled){filter:brightness(.94) drop-shadow(0 1px 0 #432009) drop-shadow(0 5px 10px rgba(5,10,15,.5)) drop-shadow(0 0 8px rgba(255,171,42,.34));transform:translate(-50%) translateY(4px)}.strike-button:disabled{cursor:wait;filter:saturate(.9) brightness(.96)}.strike-button:focus,.strike-button:focus-visible{outline:none}.strike-button:focus-visible{filter:drop-shadow(0 0 3px #fff1b8) drop-shadow(0 0 9px #ffc85e) drop-shadow(0 7px 15px rgba(5,10,15,.52))}.button-label{position:relative;z-index:2;display:flex;align-items:center;justify-content:center;gap:16px;font-family:Royal Display,Georgia,serif;font-size:1.56rem;font-weight:700;line-height:1;letter-spacing:.09em;white-space:nowrap}.button-label:before,.button-label:after{width:7px;aspect-ratio:1;background:linear-gradient(135deg,#fff0ad,#c37a20 70%);box-shadow:0 0 0 1px #5c2d0e,0 0 9px #ffba3d80;content:"";transform:rotate(45deg)}.forge-message{position:absolute;bottom:max(114px,calc(env(safe-area-inset-bottom) + 102px));left:50%;z-index:11;max-width:calc(var(--game-width) - 32px);min-height:42px;border:1px solid rgba(255,220,141,.82);border-radius:6px;background:#3e1c14f0;box-shadow:0 8px 18px #00000057;color:#ffe9bd;cursor:pointer;padding:7px 14px;transform:translate(-50%)}.has-bottom-menu .strike-button{bottom:calc(var(--bottom-menu-total) + 8px)}.has-bottom-menu .forge-message{bottom:calc(var(--bottom-menu-total) + 100px)}.bottom-menu{position:fixed;right:0;bottom:0;left:0;z-index:30;display:grid;grid-template-columns:1.22fr 1.32fr 1.18fr 1.16fr 1.02fr 1.16fr;width:min(calc(100% - 18px),1040px);height:var(--bottom-menu-total);min-height:var(--bottom-menu-height);align-items:end;gap:0;margin:0 auto;padding:13px max(10px,env(safe-area-inset-right)) max(9px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border:4px solid #bb7a2d;border-bottom:0;border-radius:9px 9px 0 0;background:linear-gradient(180deg,rgba(255,231,165,.32),rgba(255,216,124,.04) 16%,transparent 24%),repeating-linear-gradient(96deg,#ffe29a0e 0,#ffe29a0e 8px,#2411071c 8px,#2411071c 19px,#824d1c0a 19px,#824d1c0a 32px),linear-gradient(180deg,#805024,#4a2913 45%,#211108);box-shadow:0 -12px 34px #00000094,0 0 0 2px #281306,0 0 0 4px #49270de6,inset 0 3px #ffecad52,inset 0 -12px 24px #0f07036b,inset 0 0 0 2px #ffd4751f}.bottom-menu:before{position:absolute;inset:7px 7px max(6px,env(safe-area-inset-bottom)) 7px;border:1px solid rgba(255,221,139,.34);border-radius:5px 5px 0 0;background:linear-gradient(180deg,rgba(255,233,167,.09),transparent 20%),linear-gradient(90deg,rgba(17,8,3,.28),transparent 12% 88%,rgba(17,8,3,.28));box-shadow:inset 0 0 0 2px #331808b8,inset 0 8px 14px #ffc85b09;content:"";pointer-events:none}.bottom-menu-item{container-type:inline-size;position:relative;z-index:1;display:grid;min-width:0;min-height:70px;align-content:center;justify-items:center;gap:2px;border:2px solid #291407;border-right-color:#8d5723;border-left-color:#bd7e36;border-radius:3px;background:linear-gradient(180deg,rgba(255,224,151,.12),transparent 24%),repeating-linear-gradient(94deg,#ffdc9308 0,#ffdc9308 7px,#200e0514 7px,#200e0514 16px),linear-gradient(180deg,#62391b,#351c0d 56%,#1f1008);box-shadow:inset 0 0 0 1px #efaf5029,inset 0 7px 10px #ffde970a,inset 0 -10px 14px #08040247;color:#dfc18a;cursor:pointer;padding:5px 2px 4px;text-shadow:0 1px 0 #120905,0 2px 5px rgba(0,0,0,.82);transition:filter .14s ease,transform .14s ease}.bottom-menu-item:hover{filter:brightness(1.12)}.bottom-menu-item:active{transform:translateY(1px)}.bottom-menu-copy{position:relative;z-index:1;display:grid;justify-items:center;gap:2px;max-width:100%;overflow:hidden}.bottom-menu-copy>span{max-width:100%;overflow:hidden;color:#ffe4ad;font-family:Royal Display,Georgia,serif;font-size:.96rem;font-weight:700;line-height:1;text-overflow:ellipsis;white-space:nowrap}.bottom-menu-copy small{color:#efc46f;font-size:.69rem;font-weight:700;line-height:1;text-shadow:0 1px 1px #1b0c05}.bottom-menu-item.is-active{color:#fff3c4}.bottom-menu-item.is-active:before{position:absolute;top:4px;right:4px;bottom:4px;left:4px;border:2px solid #e3ad50;border-radius:4px;background:linear-gradient(180deg,#3a7fbe8a,#0a2443b8),linear-gradient(180deg,#2a5788,#102946);box-shadow:0 0 0 1px #2d1607f5,0 0 12px #3b99e538,inset 0 0 0 1px #ffeeb23d,inset 0 -10px 18px #0000003d;content:""}.bottom-menu-item.is-central{z-index:3;min-height:96px;margin-top:-38px;border-color:transparent;background:transparent;color:#fff4c9;filter:none}.bottom-menu-item.is-central:before{display:none}.bottom-menu-item.is-central:after{position:absolute;top:0;left:50%;z-index:0;width:88px;aspect-ratio:1;border:3px solid #9d712d;border-radius:50%;background:radial-gradient(circle at 50% 50%,#d29d4333,#5d2d139e 48%,#211008 70%),linear-gradient(180deg,#765028,#2a160b);box-shadow:0 0 0 3px #301707fa,0 0 0 5px #8252229e,0 0 12px #d9872238,0 10px 18px #00000085,inset 0 3px #ffeeb233,inset 0 -14px #37140861;content:"";transform:translate(-50%);transition:border-color .16s ease,box-shadow .16s ease,filter .16s ease}.bottom-menu-item.is-central .bottom-menu-copy{width:max-content;max-width:none;margin-top:61px;overflow:visible;opacity:.78;transition:background .16s ease,border-color .16s ease,box-shadow .16s ease,opacity .16s ease}.bottom-menu-item.is-central .bottom-menu-copy>span{max-width:none;overflow:visible;color:#fff1bd;font-size:1.05rem;text-shadow:0 2px 1px #451b09,0 0 8px rgba(255,196,84,.34)}.bottom-menu-icon,.bottom-menu-copy{position:relative;z-index:1}.bottom-menu-icon{display:block;width:48px;height:48px;background-position:center;background-repeat:no-repeat;background-size:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.72))}.bottom-menu-item.is-central .bottom-menu-icon{position:absolute;top:2px;left:50%;width:84px;height:84px;filter:brightness(.74) saturate(.74) drop-shadow(0 4px 4px rgba(0,0,0,.72));transform:translate(-50%);transition:filter .16s ease}.bottom-menu-item.is-central.is-active:after{border-color:#f0bc58;background:radial-gradient(circle at 50% 50%,#ffe77b8a,#af491294 48%,#321408 70%),linear-gradient(180deg,#c87a28,#471b0a);box-shadow:0 0 0 3px #301707fa,0 0 0 5px #da973cdb,0 0 34px #ff971ce0,0 10px 18px #00000085,inset 0 3px #fff5c285,inset 0 -14px #4d190757}.bottom-menu-item.is-central.is-active .bottom-menu-icon{filter:brightness(1.12) saturate(1.16) drop-shadow(0 4px 4px rgba(0,0,0,.72)) drop-shadow(0 0 10px rgba(255,197,64,.8))}.bottom-menu-item.is-central.is-active .bottom-menu-copy{padding:3px 11px 4px;border:1px solid rgba(238,179,73,.86);border-radius:3px;background:linear-gradient(180deg,#753e14f0,#2f170af5);box-shadow:0 0 0 1px #281206f0,0 0 12px #ffa02261,inset 0 1px #ffe09247;opacity:1}.icon-city{background-image:url(/assets/royalforge/navigation/city.webp)}.icon-mining{background-image:url(/assets/royalforge/navigation/mining.webp)}.icon-hammer{background-image:url(/assets/royalforge/navigation/hammer.webp)}.icon-smithy{background-image:url(/assets/royalforge/navigation/smithy.webp)}.icon-wheel{background-image:url(/assets/royalforge/navigation/wheel.webp)}.icon-profile{background-image:url(/assets/royalforge/navigation/profile.webp)}.bottom-menu-item:focus-visible{outline:2px solid #ffe29a;outline-offset:-2px}.menu-placeholder-screen{position:relative;display:grid;width:100%;height:var(--game-height);min-width:0;min-height:320px;place-items:center;overflow:hidden;isolation:isolate;background:#122231}.menu-placeholder-screen .forge-ambient{top:0;right:0;bottom:0;left:0;background-size:cover;filter:brightness(.64) saturate(.9);opacity:1;transform:none}.menu-placeholder-screen .forge-ambient:after{background:linear-gradient(180deg,#070a0d29,#070a0da8),radial-gradient(circle at center,#2745581a,#00000047)}.menu-placeholder-balance{position:absolute;top:max(16px,env(safe-area-inset-top));left:max(16px,env(safe-area-inset-left));z-index:2}.menu-placeholder-panel{position:relative;z-index:1;display:grid;width:min(100% - 34px,390px);justify-items:center;gap:10px;padding:26px 20px 24px;border:3px solid #b87c2e;border-radius:6px;background:linear-gradient(180deg,rgba(255,222,149,.09),transparent 22%),repeating-linear-gradient(90deg,#ffe59e0a 0,#ffe59e0a 12px,#361b0a14 12px,#361b0a14 24px),linear-gradient(180deg,#593519,#24150c);box-shadow:0 0 0 2px #311909eb,0 18px 38px #00000080,inset 0 1px #ffebae38,inset 0 0 0 1px #ffd8861a;text-align:center}.menu-placeholder-icon{position:relative;display:block;width:54px;height:54px;margin-bottom:2px;color:#e9c178;filter:drop-shadow(0 3px 4px rgba(0,0,0,.72))}.menu-placeholder-panel p{margin:0;color:#e8be62;font-size:.92rem;font-weight:700;text-transform:uppercase}.menu-placeholder-panel h1{margin:0;color:#fff2c6;font-family:Royal Display,Georgia,serif;font-size:2.9rem;line-height:.96;letter-spacing:0;overflow-wrap:anywhere;text-shadow:0 3px 0 #2a160a}.menu-placeholder-panel strong{display:inline-grid;min-height:32px;align-items:center;padding:4px 16px;border:1px solid rgba(226,172,74,.64);border-radius:4px;background:#121e2aad;color:#ead6a8;font-size:.95rem}.menu-placeholder-panel button{min-height:48px;margin-top:6px;padding:8px 18px;border:2px solid #d9a448;border-radius:5px;background:linear-gradient(180deg,#1c62b3,#103a78);color:#fff7d7;cursor:pointer;font-family:Royal Display,Georgia,serif;font-size:1.38rem;font-weight:700;letter-spacing:0;text-shadow:0 2px 1px #08182d}@container game (max-width: 560px){.game-shell,.game-overlays{--bottom-menu-height: 86px}.bottom-menu{grid-template-columns:.9fr 1fr 1.1fr 1.3fr .9fr 1fr;width:100%;padding-top:10px;padding-inline:max(3px,env(safe-area-inset-left)) max(3px,env(safe-area-inset-right));border-right:0;border-left:0;border-radius:7px 7px 0 0}.bottom-menu-item{min-height:62px;padding-inline:1px;gap:1px}.bottom-menu-copy>span{font-size:.7rem;line-height:1.05;text-overflow:clip}.bottom-menu-copy small{font-size:.54rem}.bottom-menu-icon{width:38px;height:38px}.bottom-menu-item.is-central{min-height:84px;margin-top:-31px}.bottom-menu-item.is-central:after{width:72px}.bottom-menu-item.is-central .bottom-menu-icon{top:1px;width:70px;height:70px}.bottom-menu-item.is-central .bottom-menu-copy{margin-top:52px}.bottom-menu-item.is-central .bottom-menu-copy>span{font-size:.82rem}}@container game (max-width: 560px){.bottom-menu-item.nav-profile .bottom-menu-copy>span{font-size:clamp(9px,18cqw,11.2px)}.bottom-menu-item.nav-mining .bottom-menu-copy>span,.bottom-menu-item.nav-wheel .bottom-menu-copy>span{font-size:clamp(9px,23cqw,11.2px)}}.update-button{position:fixed;top:max(16px,calc(env(safe-area-inset-top) + 8px));right:max(16px,env(safe-area-inset-right));z-index:20;min-height:44px;border:1px solid rgba(255,247,187,.78);border-radius:6px;background:#125f9f;box-shadow:0 12px 24px #17242757;color:#fff7cf;cursor:pointer;font-weight:700;padding:0 18px}.update-button:focus-visible,.forge-message:focus-visible{outline:3px solid #fff2a4;outline-offset:3px}.visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.bottom-menu{border-width:3px;border-color:#d29a45;background:linear-gradient(180deg,rgba(255,236,180,.34),rgba(255,216,124,.04) 15%,transparent 24%),repeating-linear-gradient(94deg,#ffe0970a 0,#ffe0970a 7px,#230f051f 7px,#230f051f 18px),linear-gradient(180deg,#765027,#41230f 48%,#1b0d06);box-shadow:0 -10px 28px #0000009e,0 0 0 2px #241004,0 0 0 4px #683b13f0,inset 0 3px #ffefb85c,inset 0 -14px 24px #0c05027a}.bottom-menu:after{position:absolute;top:-8px;left:50%;z-index:4;width:min(220px,28%);height:18px;background:linear-gradient(90deg,transparent,#b87929 17%,#f0bd61 43%,#6b3a12 50%,#f0bd61 57%,#b87929 83%,transparent);clip-path:polygon(0 45%,39% 45%,44% 8%,50% 70%,56% 8%,61% 45%,100% 45%,100% 58%,61% 58%,55% 100%,50% 54%,45% 100%,39% 58%,0 58%);content:"";filter:drop-shadow(0 2px 2px rgba(0,0,0,.6));pointer-events:none;transform:translate(-50%)}.bottom-menu-item{min-height:66px}.bottom-menu-item.is-central{min-height:90px;margin-top:-32px}.bottom-menu-item.is-central:after{width:80px}.bottom-menu-item.is-central .bottom-menu-icon{width:76px;height:76px}.bottom-menu-item.is-central .bottom-menu-copy{margin-top:56px}@container game (max-width: 560px){.bottom-menu-item.is-central{min-height:80px;margin-top:-26px}.bottom-menu-item.is-central:after{width:62px}.bottom-menu-item.is-central .bottom-menu-icon{width:60px;height:60px}.bottom-menu-item.is-central .bottom-menu-copy{margin-top:44px}}@media(hover:hover)and (pointer:fine){.strike-button:hover:not(:disabled){filter:brightness(1.08) drop-shadow(0 5px 0 #432009) drop-shadow(0 12px 19px rgba(5,10,15,.52)) drop-shadow(0 0 12px rgba(255,179,50,.52));transform:translate(-50%) translateY(-2px)}}@container game (max-height: 600px) and (min-aspect-ratio: 1 / 1){.strike-button{bottom:max(14px,calc(env(safe-area-inset-bottom) + 8px));width:min(270px,calc(var(--game-width) * .7));min-height:54px;padding:0 28px}.button-label{font-size:1.38rem}.forge-message{bottom:max(82px,calc(env(safe-area-inset-bottom) + 76px));min-height:36px;font-size:.9rem}}@container game (max-width: 520px){.strike-button{width:min(280px,calc(var(--game-width) * .7));min-height:62px;padding:0 26px}.button-label{font-size:1.42rem}}@container game (max-width: 360px){.button-label{font-size:1.18rem}}@container game (orientation: portrait){.hammer-scene{display:grid}.forge-stage{--impact-x: 50.4cqw;--impact-y: 56.7cqh;--scene-height: max( var(--game-height), calc(var(--game-width) * 1671 / 941) );--scene-clearance: 196px;--scene-shift: min( 0px, calc( var(--game-height) * .5 - var(--scene-height) * .23 - var(--scene-clearance) ) );width:max(var(--game-width),calc(var(--game-height) * 941 / 1671));max-width:none;height:auto;aspect-ratio:941 / 1671;box-shadow:none}.has-bottom-menu .forge-stage{--scene-clearance: calc(var(--bottom-menu-total) + 196px)}.forge-hammer{--hammer-head-bottom: 42.05cqw;--hammer-top: max( 44cqh, calc( 50cqh - var(--game-height) * .5 - var(--scene-shift) + 20px + 30.8cqw ) );--strike-x-windup: 5%;--strike-x-flight-42: 4%;--strike-x-flight-50: 2%;--strike-x-flight-58: 0%;--strike-x-flight-65: -2%;--strike-x-contact: -3.69%;--strike-x-rebound: -2.8%;--strike-x-recovery: -1.8%;--strike-x-settle: -.8%;top:var(--hammer-top);right:-38.13%;width:100%}.forge-hammer.hammer-crownfire{--hammer-head-bottom: 44.5cqw}.forge-anvil{--anvil-rest-transform: translateX(-50%);--anvil-top: 57.1%;left:50%;width:93%;transform:var(--anvil-rest-transform);transform-origin:50% 100%}.forge-anvil.anvil-classic{--anvil-top: 48.9%}.forge-anvil.anvil-sapphire,.forge-anvil.anvil-ember,.forge-anvil.anvil-verdant,.forge-anvil.anvil-moonfrost,.forge-anvil.anvil-sunforge{--anvil-top: 45.6%}.forge-anvil.anvil-crownfire{--anvil-top: 50.9%;width:78%}.strike-button{position:absolute;bottom:max(20px,calc(env(safe-area-inset-bottom) + 12px));left:50%;transform:translate(-50%)}.strike-button:active:not(:disabled){transform:translate(-50%) translateY(4px)}.forge-message{position:fixed}}@media(hover:hover)and (pointer:fine){@container game (orientation: portrait){.strike-button:hover:not(:disabled){transform:translate(-50%) translateY(-2px)}}}@keyframes forge-stage-impact{0%,44.6%,to{transform:translate(0)}45.2%{transform:translate(-.4cqw,.2cqh)}46.3%{transform:translate(.32cqw,-.14cqh)}47.4%{transform:translate(-.18cqw,.09cqh)}49.5%{transform:translate(.05cqw,-.025cqh)}}@keyframes forge-backdrop-depth{0%,20%,to{transform:scale(1) translate(0)}44%{transform:scale(1.004) translate(-.06cqw,.025cqh)}49%{transform:scale(1.002) translate(.025cqw,-.015cqh)}}@keyframes forge-impact-light{0%,43.8%,59%,to{opacity:0}45%,52%{opacity:1}56%{opacity:.28}}@keyframes forge-anvil-impact{0%,44.6%,64%,to{transform:var(--anvil-rest-transform)}45.4%,55%{transform:var(--anvil-rest-transform) translateY(.2cqh) scaleX(1.006) scaleY(.986)}58%{transform:var(--anvil-rest-transform) translateY(-.08cqh) scaleX(.998) scaleY(1.005)}}@keyframes impact-strike-ray{0%{opacity:0}18%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) rotate(var(--impact-ray-angle, -8deg)) scaleX(1.15)}}@keyframes forge-hammer-strike{0%,7%{filter:var(--hammer-filter) blur(0);transform:translateY(-50%) rotate(23deg);animation-timing-function:cubic-bezier(.35,0,.3,1)}20%{filter:var(--hammer-filter) blur(0);transform:translate(var(--strike-x-windup),-67%) rotate(43deg);animation-timing-function:ease-out}27%{transform:translate(var(--strike-x-windup),-67%) rotate(43deg);animation-timing-function:cubic-bezier(.45,0,.82,.55)}31%{filter:var(--hammer-filter) blur(.045cqw);transform:translate(var(--strike-x-flight-42),-63%) rotate(38deg)}36%{filter:var(--hammer-filter) blur(.105cqw);transform:translate(var(--strike-x-flight-50),-55%) rotate(27deg)}40%{filter:var(--hammer-filter) blur(.15cqw);transform:translate(var(--strike-x-flight-58),-49%) rotate(19deg)}43%{filter:var(--hammer-filter) blur(.08cqw);transform:translate(var(--strike-x-flight-65),-42%) rotate(10deg)}45%,49%{filter:var(--hammer-filter) blur(0);transform:translate(var(--strike-x-contact),var(--strike-y-contact)) rotate(0);animation-timing-function:cubic-bezier(.16,.72,.2,1)}58%{transform:translate(var(--strike-x-rebound),var(--strike-y-rebound)) rotate(6deg);animation-timing-function:ease-out}70%{transform:translate(var(--strike-x-recovery),var(--strike-y-recovery)) rotate(12deg)}88%{transform:translate(var(--strike-x-settle),-48%) rotate(19deg)}to{filter:var(--hammer-filter) blur(0);transform:translateY(-50%) rotate(23deg)}}@keyframes crownfire-anvil-idle{0%,to{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 .72cqw rgba(255,177,50,.42)) drop-shadow(0 0 1cqw rgba(185,47,255,.38))}50%{filter:drop-shadow(0 1.1cqh .8cqw rgba(39,19,7,.34)) drop-shadow(0 0 1cqw rgba(255,194,72,.68)) drop-shadow(0 0 1.45cqw rgba(208,59,255,.62))}}@keyframes equipment-impact-flash{0%{opacity:0;transform:translate(-50%,-50%) scale(.2)}14%{opacity:.96}to{opacity:0;transform:translate(-50%,-50%) scale(1.65)}}@keyframes impact-contact-core{0%{opacity:0;transform:translate(-50%,-50%) scaleX(.28) scaleY(.4)}16%,38%{opacity:1;transform:translate(-50%,-50%) scaleX(1.08) scaleY(.82)}to{opacity:0;transform:translate(-50%,-50%) scaleX(1.65) scaleY(.34)}}@keyframes impact-metal-forge{0%{opacity:0;transform:translate(-50%,-50%) scaleX(.45) scaleY(.7)}13%{opacity:.95;transform:translate(-50%,-50%) scaleX(1.08) scaleY(.72)}44%{opacity:.62;transform:translate(-50%,-50%) scaleX(1.18) scaleY(.54)}to{opacity:0;transform:translate(-50%,-50%) scaleX(1.28) scaleY(.42)}}@keyframes equipment-impact-rune{0%{opacity:0;transform:translate(-50%,-50%) rotate(25deg) scale(.25)}24%{opacity:.92}to{opacity:0;transform:translate(-50%,-50%) rotate(135deg) scale(2.7)}}@keyframes impact-wave-primary{0%{opacity:0;transform:translate(-50%,-50%) scale(.15,.06)}24%{opacity:1}to{opacity:0;transform:translate(-50%,-50%) scale(5.8,2.1)}}@keyframes impact-wave-secondary{0%{opacity:0;transform:translate(-50%,-50%) scale(.2,.08)}20%{opacity:.88}to{opacity:0;transform:translate(-50%,-50%) scale(7.2,2.8)}}@keyframes impact-spark{0%{opacity:0;transform:rotate(var(--spark-angle)) translate(0) scaleX(.5)}18%{opacity:1;transform:rotate(var(--spark-angle)) translate(calc(var(--spark-distance) * .45)) scaleX(1.15)}to{opacity:0;transform:rotate(var(--spark-angle)) translate(calc(var(--spark-distance) * 1.5)) scaleX(.08)}}@keyframes impact-debris{0%{opacity:0;transform:rotate(var(--debris-angle)) translate(0) scale(.35) rotate(0)}16%{opacity:.86}68%{opacity:.72}to{opacity:0;transform:rotate(var(--debris-angle)) translate(var(--debris-distance)) translateY(2.6cqh) scale(.72) rotate(230deg)}}@keyframes sapphire-impact-shard{0%{opacity:0;transform:rotate(var(--shard-angle)) translate(0) scale(.2) rotate(0)}18%{opacity:1}to{opacity:0;transform:rotate(var(--shard-angle)) translate(var(--shard-distance)) scale(.7) rotate(210deg)}}@keyframes crownfire-impact-sigil{0%{opacity:0;transform:translate(-50%,-45%) scale(.2) rotate(-12deg)}28%{opacity:1;transform:translate(-50%,-72%) scale(1.08) rotate(0)}70%{opacity:.92}to{opacity:0;transform:translate(-50%,-145%) scale(1.55) rotate(6deg)}}@keyframes crownfire-impact-column{0%{opacity:0;transform:translate(-50%,-72%) scaleX(.08) scaleY(.2)}26%{opacity:.88;transform:translate(-50%,-94%) scaleX(1) scaleY(1)}to{opacity:0;transform:translate(-50%,-112%) scaleX(1.8) scaleY(1.25)}}@keyframes crownfire-impact-arc{0%{opacity:0;transform:rotate(var(--arc-angle)) translate(0) scaleX(.15)}16%{opacity:1}to{opacity:0;transform:rotate(var(--arc-angle)) translate(var(--arc-distance)) scaleX(.22)}}@keyframes impact-smoke-left{0%{opacity:0;transform:translate(-75%,-10%) scale(.35)}28%{opacity:.46}to{opacity:0;transform:translate(-150%,-130%) scale(1.35)}}@keyframes impact-smoke-right{0%{opacity:0;transform:translate(-10%,-10%) scale(.35)}28%{opacity:.42}to{opacity:0;transform:translate(75%,-145%) scale(1.3)}}@keyframes reward-popup{0%{opacity:0;transform:translate(-50%,20%) scale(.5)}22%{opacity:1;transform:translate(-50%,-18%) scale(1.08)}72%{opacity:1;transform:translate(-50%,-78%) scale(1)}to{opacity:0;transform:translate(-50%,-115%) scale(.9)}}@keyframes flying-coin{0%{top:var(--impact-y);left:var(--impact-x);opacity:0;transform:translate(-50%,-50%) rotate(0) scale(.35)}16%{opacity:1;transform:translate(-50%,-50%) rotate(calc(var(--coin-spin) * .18)) scale(1.08)}52%{top:var(--coin-mid-top);left:var(--coin-mid-left);opacity:1;transform:translate(-50%,-50%) rotate(calc(var(--coin-spin) * .55)) scale(1)}88%{opacity:1}to{top:var(--coin-target-top, 5.9%);left:var(--coin-target-left, 95.5%);opacity:0;transform:translate(-50%,-50%) rotate(var(--coin-spin)) scale(.55)}}@keyframes balance-arrival{0%,to{filter:brightness(1);transform:scale(1)}45%{filter:brightness(1.35);transform:scale(1.08)}}@media(prefers-reduced-motion:reduce){button.is-interaction-pressed,[role=button].is-interaction-pressed,a[href].is-interaction-pressed{scale:1;translate:0}.interaction-tap-burst{animation-duration:.18s}.strike-button{transition:none}.forge-stage.is-striking,.forge-stage.is-striking:before,.forge-stage.is-striking .forge-backdrop,.forge-stage.is-striking .forge-anvil,.forge-impact-effects.is-active:before,.forge-impact-effects.is-active:after{animation-duration:1ms!important;animation-delay:0ms!important}.forge-hammer.is-striking{animation-duration:1ms}.impact-smoke,.impact-debris,.impact-spark,.impact-flash,.impact-contact-core,.impact-metal-glow,.impact-wave,.impact-rune,.impact-sigil,.impact-column,.impact-shard,.impact-arc,.flying-coin,.reward-popup,.coin-balance.is-pulsing{animation-duration:1ms!important;animation-delay:0ms!important}.forge-anvil.anvil-crownfire{animation:none}}.bottom-menu-item.nav-smithy .bottom-menu-copy>span{font-size:clamp(9px,15.5cqw,15px);white-space:nowrap;line-height:1.15;text-align:center;text-overflow:clip}.forge-actions{position:absolute;z-index:12;left:50%;bottom:max(16px,env(safe-area-inset-bottom));transform:translate(-50%);display:flex;flex-direction:column-reverse;align-items:center;gap:8px;width:min(350px,calc(var(--game-width) - 24px))}.has-bottom-menu .forge-actions{bottom:calc(var(--bottom-menu-total) + 10px)}.forge-actions .strike-button{position:relative;inset:auto;transform:none;width:min(280px,100%);min-height:56px}.forge-actions .strike-button:hover:not(:disabled){transform:translateY(-2px)}.forge-actions .strike-button:active:not(:disabled){transform:translateY(2px)}.forge-day-info{display:grid;gap:4px;width:100%;padding:9px 12px;border-radius:12px;border:1px solid #bd9a58;background:#092339ee;box-shadow:0 4px 18px #0004;color:#fff0cf;text-align:center}.forge-day-info strong{font-size:16px}.forge-day-info span{font-size:13px}.forge-day-info small{font-size:11px;color:#dfd4bb}.forge-day-info .forge-shortfall{color:#ffcd9f}.forge-status-action{border:0;padding:6px 2px;min-height:32px;background:transparent;color:#ffe5a3;text-decoration:underline;cursor:pointer;font-size:13px}@container game (max-height: 600px){.forge-actions{gap:4px}.forge-day-info{gap:2px;padding:6px 10px}.forge-actions .strike-button{min-height:48px}}@container game (max-height: 600px) and (orientation: portrait){.forge-stage{--scene-clearance: 172px}.has-bottom-menu .forge-stage{--scene-clearance: calc(var(--bottom-menu-total) + 172px)}}@container game (max-height: 600px) and (min-aspect-ratio: 1 / 1){.forge-hammer{--hammer-top: 56cqh;top:56%}}
