@media (min-width:1101px){:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header{align-items:center;display:flex;height:116px;justify-content:space-between;padding:0 74px 0 86px;width:calc(100% - 62px)}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header .portal-brand{align-self:center;bottom:auto;flex:0 0 142px;height:116px;left:auto;margin:0;min-width:142px!important;position:relative;top:auto;transform:none;width:142px}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header .portal-brand:hover>span.kaira-logo-mark,:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header .portal-brand>span.kaira-logo-mark{height:142px!important;transform:translateY(-9px);width:150px!important}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav{align-items:center;display:flex;gap:clamp(14px,1.65vw,29px);justify-content:flex-end;margin:0 0 0 auto;width:auto}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button,:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:first-child,:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:nth-child(2),:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:nth-child(3),:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:nth-child(4),:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:nth-child(5),:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:nth-child(6){display:flex;grid-column:auto;justify-content:center;max-width:none;width:auto}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav button:last-child{min-width:146px;width:146px}}@media (prefers-reduced-motion:reduce){:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav .portal-nav-login,:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav .portal-nav-play,:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive) .portal-cinematic-header nav .portal-nav-play:before{animation:none!important;transition:none!important}}@media (min-width:721px) and (max-width:1180px){.game-shell,.game-shell .activity-panel,.game-shell .city-stage,.game-shell .game-grid,.game-shell .game-view,.game-shell .topbar{min-width:0;max-width:100%}.game-shell .game-grid>*,.game-shell .topbar>*{min-width:0}}@media (max-width:720px){:root{--ui-scale:1!important;--ui-width:100vw!important;--ui-height:100dvh!important}body,html{max-width:100%;overscroll-behavior-x:none;width:100%}.game-shell{height:100dvh!important;max-width:100vw;min-height:0!important;min-width:0!important;overflow:hidden;transform:none!important;width:100vw!important}.game-shell .city-stage,.game-shell .game-grid,.game-shell .game-view,.game-shell .topbar{max-width:100%;min-width:0;width:100%}.game-shell .game-grid>*,.game-shell .resource-copy,.game-shell .resource-item,.game-shell .resource-strip,.game-shell .topbar>*{min-width:0}.game-shell .resource-item{overflow:hidden}.game-shell .resource-copy strong{font-size:clamp(9px,2.8vw,11px);max-width:100%;overflow:hidden;text-overflow:ellipsis}.mobile-tab-bar{box-sizing:border-box;min-height:calc(56px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom)}.mobile-tab-bar button{min-width:0;touch-action:manipulation}.city-bottom-hud{bottom:calc(62px + env(safe-area-inset-bottom));left:8px;max-width:none;right:8px;width:auto}.city-bottom-hud .chat-panel,.city-bottom-hud .chat-panel.open{max-width:100%}.city-bottom-hud .chat-panel.open{width:min(430px,100%)}.city-stage{padding-bottom:calc(62px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.activity-panel.mobile-open{padding-bottom:calc(24px + env(safe-area-inset-bottom));padding-top:max(16px,env(safe-area-inset-top))}.activity-panel.mobile-open,.modal-backdrop{box-sizing:border-box;max-height:100dvh;-webkit-overflow-scrolling:touch}.modal-backdrop{overflow-y:auto;padding-bottom:max(10px,env(safe-area-inset-bottom));padding-top:max(10px,env(safe-area-inset-top))}.modal-backdrop>*,.season-transition-modal{max-height:calc(100dvh - 20px - env(safe-area-inset-top) - env(safe-area-inset-bottom))!important;overscroll-behavior:contain}.building-card,.building-card.redesigned{max-height:calc(100dvh - var(--header-height, 86px) - 150px);overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.game-shell input:not([type=checkbox]):not([type=radio]),.game-shell select,.game-shell textarea{font-size:16px}.game-shell button,.game-shell input,.game-shell select,.game-shell textarea{touch-action:manipulation}}@media (max-width:360px){.game-shell .topbar{grid-template-columns:48px minmax(0,1fr) 48px}.game-shell .resource-icon{height:22px;width:22px}.game-shell .resource-icon .icon{height:14px;width:14px}.game-shell .resource-item{gap:1px;padding-inline:1px}.game-shell .resource-copy strong{font-size:9px}.mobile-tab-bar button span{font-size:8px}}@media (orientation:landscape) and (max-width:950px) and (max-height:520px){:root{--ui-scale:1!important;--ui-width:100vw!important;--ui-height:100dvh!important}.game-shell{--header-height:64px;height:100dvh!important;max-width:100vw;min-height:0!important;min-width:0!important;overflow:hidden;transform:none!important;width:100vw!important}.game-shell .topbar{grid-template-columns:52px minmax(0,1fr) 52px;height:var(--header-height);min-width:0;width:100%}.game-shell .brand-block{border-right:0;gap:0;padding:0 5px}.game-shell .brand-block .brand-name,.game-shell .brand-block .server-name,.game-shell .profile-block>.icon,.game-shell .profile-copy,.game-shell .profile-signout,.game-shell .resource-copy b,.game-shell .resource-copy small{display:none}.game-shell .wolf-mark{height:34px;width:32px}.game-shell .resource-strip{grid-template-columns:repeat(5,minmax(0,1fr));min-width:0}.game-shell .resource-item{gap:3px;min-width:0;padding:0 2px}.game-shell .resource-icon{height:24px;width:24px}.game-shell .resource-icon .icon{height:15px;width:15px}.game-shell .resource-copy strong{font-size:10px}.game-shell .profile-area{grid-template-columns:42px}.game-shell .profile-block{padding:0 3px}.game-shell .game-grid{grid-template-columns:1fr;height:auto;min-height:0;min-width:0}.game-shell .side-nav{display:none}.game-shell .game-view{max-width:100%;min-width:0;overflow-y:auto}.game-shell .city-stage{min-height:calc(100dvh - var(--header-height) - 54px);overflow-y:auto;padding-bottom:calc(54px + env(safe-area-inset-bottom))}.mobile-tab-bar{background:linear-gradient(0deg,#0b0e0d,#151815);border-top:1px solid #6a502f;bottom:0;box-sizing:border-box;display:flex;left:0;min-height:calc(48px + env(safe-area-inset-bottom));padding-bottom:env(safe-area-inset-bottom);position:fixed;right:0;z-index:130}.mobile-tab-bar button{align-items:center;background:transparent;border:0;color:#9d8a6a;display:flex;flex:1;flex-direction:column;gap:1px;min-height:48px;min-width:0;padding:4px 2px}.mobile-tab-bar button span{font-size:8px}.mobile-agenda-trigger{align-items:center;background:rgba(8,12,11,.92);border:1px solid rgba(184,139,70,.48);border-radius:50%;color:#d8bd88;display:flex;height:34px;justify-content:center;position:fixed;right:54px;top:calc(var(--header-height) / 2);transform:translateY(-50%);width:34px;z-index:131}.game-shell .activity-panel{display:none}.game-shell .activity-panel.mobile-open{background:#0d100f;bottom:0;box-sizing:border-box;display:flex;flex-direction:column;inset:0;max-height:100dvh;overflow-y:auto;padding:max(10px,env(safe-area-inset-top)) 14px max(14px,env(safe-area-inset-bottom));position:fixed;width:100%;z-index:200}.game-shell .mobile-agenda-close{color:#a28b67;cursor:pointer;visibility:visible}.game-shell .city-bottom-hud{bottom:calc(54px + env(safe-area-inset-bottom));grid-template-columns:minmax(0,1fr) auto;left:8px;right:8px;width:auto}.game-shell .city-bottom-hud .city-garrison-stack{display:none}.game-shell .city-bottom-hud .chat-panel,.game-shell .city-bottom-hud .chat-panel.open{max-width:100%}.game-shell .building-card,.game-shell .building-card.redesigned{left:12px;max-height:calc(100dvh - var(--header-height) - 70px);overflow-y:auto;right:12px;transform:translateY(-50%);width:auto}.game-shell .modal-backdrop{max-height:100dvh;overflow-y:auto;padding:6px 0}.game-shell .modal-backdrop>*,.game-shell .season-transition-modal{max-height:calc(100dvh - 12px)!important;max-width:calc(100% - 16px)!important;overflow-y:auto;width:calc(100% - 16px)!important}}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .army-modal-backdrop,.game-shell .modal-backdrop{z-index:220}.game-shell .army-modal-backdrop{position:fixed}.game-shell .premium-vault{height:100dvh;max-height:100dvh;z-index:210}.game-shell .premium-vault-body{padding-bottom:calc(24px + env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.game-shell .resource-ledger{box-sizing:border-box;left:8px;max-height:calc(100dvh - var(--header-height, 86px) - 78px - env(safe-area-inset-bottom));max-width:none;right:8px;top:calc(var(--header-height, 86px) + 8px);width:auto;z-index:190;-webkit-overflow-scrolling:touch}.game-shell .resource-ledger-balance{grid-template-columns:repeat(3,minmax(0,1fr))}.game-shell .resource-ledger-balance span{min-width:0;padding-inline:7px}.game-shell .resource-ledger-balance b,.game-shell .resource-ledger-balance small{overflow-wrap:anywhere}.game-shell .map-village-card{bottom:calc(68px + env(safe-area-inset-bottom))}.game-shell .interactive-guide-card{bottom:calc(66px + env(safe-area-inset-bottom));max-height:calc(100dvh - var(--header-height, 86px) - 82px - env(safe-area-inset-bottom));overflow-y:auto;-webkit-overflow-scrolling:touch}}@media (max-width:420px){.game-shell .premium-vault>header{gap:6px;grid-template-columns:32px minmax(0,1fr) auto 34px;padding-inline:10px}.game-shell .premium-vault>header .resource-icon{height:32px;width:32px}.game-shell .premium-vault>header h2{font-size:16px}.game-shell .premium-vault-header-balance{gap:3px;padding:5px 7px}.game-shell .premium-vault-header-balance small{display:none}.game-shell .premium-vault-header-balance b{font-size:13px}}@media (max-width:360px){.game-shell .diamond-store-grid{grid-template-columns:1fr}.game-shell .resource-ledger{left:6px;padding:11px;right:6px}.game-shell .resource-ledger>header{gap:8px;grid-template-columns:34px minmax(0,1fr) 28px}.game-shell .resource-ledger>header .resource-icon{height:34px;width:34px}}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){body,html{max-width:100vw!important;overflow-x:hidden!important;width:100%!important}.game-shell{height:100dvh!important;left:0!important;min-height:0!important;overflow:hidden!important;transform:none!important;width:100vw!important;zoom:1!important}.game-shell,.game-shell .topbar{max-width:100vw!important;min-width:0!important}.game-shell .topbar{display:grid!important;grid-template-columns:52px minmax(0,1fr) 52px!important;width:100%!important}.game-shell .brand-block,.game-shell .profile-area,.game-shell .profile-block,.game-shell .resource-copy,.game-shell .resource-item,.game-shell .resource-strip,.game-shell .topbar>*{min-width:0!important}.game-shell .brand-block{border-right:0!important;gap:0!important;overflow:hidden;padding-inline:4px!important}.game-shell .brand-block .brand-name,.game-shell .brand-block .server-name{display:none!important}.game-shell .wolf-mark{height:34px!important;width:32px!important}.game-shell .resource-strip{grid-template-columns:repeat(5,minmax(0,1fr))!important;overflow:hidden}.game-shell .resource-item{gap:2px!important;justify-content:center!important;overflow:hidden;padding-inline:1px!important}.game-shell .resource-icon{height:24px!important;width:24px!important}.game-shell .resource-icon .icon{height:15px!important;width:15px!important}.game-shell .resource-copy b,.game-shell .resource-copy small{display:none!important}.game-shell .resource-copy strong{font-size:clamp(9px,2.65vw,11px)!important;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-shell .profile-area{grid-template-columns:44px!important}.game-shell .profile-block{justify-content:center!important;padding-inline:2px!important}.game-shell .profile-block>.icon,.game-shell .profile-copy,.game-shell .profile-signout{display:none!important}.game-shell .avatar{height:38px!important;width:38px!important}.game-shell .game-grid{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(0,1fr)!important;height:calc(100dvh - var(--header-height, 86px))!important;max-width:100%!important;min-height:0!important;min-width:0!important;width:100%!important}.game-shell .activity-panel,.game-shell .side-nav{display:none!important}.game-shell .activity-panel.mobile-open{bottom:0!important;display:flex!important;height:100dvh!important;inset:0!important;max-height:100dvh!important;max-width:100vw!important;position:fixed!important;top:0!important;width:100vw!important;z-index:230!important}.game-shell .city-stage{grid-column:1!important;grid-row:1!important;height:100%!important;min-height:0!important}.game-shell .city-stage,.game-shell .game-view{max-width:100%!important;min-width:0!important;width:100%!important}.game-shell .game-view{bottom:0!important;left:0!important;overflow-x:hidden!important;overflow-y:auto!important;right:0!important;top:0!important;-webkit-overflow-scrolling:touch}.game-shell .game-view>*,.game-shell .view-header,.game-shell .view-header>*{max-width:100%!important;min-width:0!important}.game-shell :is(.market-command-layout,.army-command-layout,.profile-command-layout,.alliance-directory-layout,.alliance-dashboard,.council-layout-v2,.reports-layout,.march-planner-layout){max-width:100%!important;min-width:0!important}.game-shell :is(.market-command-layout,.army-command-layout,.profile-command-layout){inset:auto!important;position:relative!important;width:auto!important}.game-shell :is(.alliance-directory-layout,.alliance-dashboard,.council-layout-v2,.reports-layout,.march-planner-layout){grid-template-columns:minmax(0,1fr)!important;width:auto!important}.game-shell :is(.market-command-layout,.army-command-layout,.profile-command-layout,.alliance-directory-layout,.alliance-dashboard,.council-layout-v2,.reports-layout,.march-planner-layout)>*{max-width:100%!important;min-width:0!important}}@media (max-width:430px){.game-shell .mobile-tab-bar button{min-width:0!important;padding-inline:1px!important}.game-shell .mobile-tab-bar button span{font-size:8px!important}.game-shell .view-header{padding-left:14px!important;padding-right:14px!important}.game-shell .view-header h1{font-size:clamp(24px,8vw,31px)!important;overflow-wrap:anywhere}}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .game-grid:has(.city-stage.active-city){display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:calc(100dvh - var(--header-height, 68px)) 220px!important;height:calc(100dvh - var(--header-height, 68px))!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-x:none!important;overscroll-behavior-y:contain!important;scroll-padding-bottom:calc(var(--mobile-tab-height, 62px) + 100px + env(safe-area-inset-bottom))!important;touch-action:pan-y pinch-zoom!important;-webkit-overflow-scrolling:touch!important}.game-shell .game-grid:has(.city-stage.active-city):after{content:"";display:block;grid-column:1;grid-row:2;height:220px;pointer-events:none;width:1px}.game-shell .city-stage.active-city{grid-column:1!important;grid-row:1!important;height:calc(100dvh - var(--header-height, 68px))!important;max-height:none!important;min-height:calc(100dvh - var(--header-height, 68px))!important;overflow:hidden!important;padding-bottom:0!important;touch-action:pan-y pinch-zoom!important}.game-shell .city-stage.active-city .city-bottom-hud{bottom:calc(var(--mobile-tab-height, 62px) + 7px + env(safe-area-inset-bottom))!important;left:7px!important;position:fixed!important;right:7px!important;width:auto!important;z-index:170!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{bottom:56px!important;display:block!important;left:0!important;max-width:min(230px,72vw)!important;position:absolute!important;right:auto!important;width:min(230px,72vw)!important;z-index:12!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle{backdrop-filter:blur(12px)!important;background:rgba(8,15,13,.96)!important;border:1px solid rgba(73,183,187,.42)!important;box-shadow:0 8px 22px rgba(0,0,0,.48)!important;min-height:40px!important;padding:7px 9px!important;width:100%!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle span{font-size:9px!important;max-width:150px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.game-shell .city-stage.active-city .city-bottom-hud:has(.chat-panel.open) .build-dock{opacity:0!important;pointer-events:none!important;transform:translateY(10px)!important;visibility:hidden!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open{bottom:0!important;display:flex!important;flex-direction:column!important;left:0!important;max-height:min(52dvh,470px)!important;max-width:100%!important;overflow:hidden!important;position:absolute!important;right:0!important;width:100%!important;z-index:18!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open .chat-toggle{flex:0 0 42px!important;min-height:42px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open .chat-channel-tabs,.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open .chat-world-notice{flex:0 0 auto!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open .chat-messages{flex:1 1 auto!important;height:auto!important;min-height:120px!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open form{background:rgba(7,10,9,.99)!important;flex:0 0 46px!important;min-height:46px!important;position:relative!important;z-index:4!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open form input{font-size:16px!important;height:46px!important;min-height:46px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open form button{min-height:46px!important;width:46px!important}.game-shell .world-screen{overflow:hidden!important;padding-bottom:0!important}.game-shell .world-screen .world-toolbar{overflow-x:auto!important;overscroll-behavior-x:contain!important;scrollbar-width:none!important;-webkit-overflow-scrolling:touch!important}.game-shell .world-screen .world-toolbar::-webkit-scrollbar{display:none!important}.game-shell .world-screen .world-map-canvas{bottom:0!important;max-height:none!important}.game-shell .world-screen .map-village-card{bottom:10px!important;left:10px!important;max-height:min(38dvh,330px)!important;max-width:none!important;overflow-x:hidden!important;overflow-y:auto!important;padding:13px 12px 16px!important;right:10px!important;top:auto!important;width:auto!important;z-index:24!important;-webkit-overflow-scrolling:touch!important}.game-shell .world-screen .map-village-card .map-card-toggle{background:rgba(11,87,92,.96)!important;float:right!important;position:sticky!important;right:0!important;top:0!important;z-index:8!important}.game-shell .world-screen .map-village-card .village-image-preview{height:clamp(105px,18dvh,150px)!important}.game-shell .world-screen .map-village-card .map-card-actions{padding-bottom:4px!important}.game-shell:has(.army-modal-backdrop) .city-bottom-hud,.game-shell:has(.building-card) .city-bottom-hud,.game-shell:has(.modal-backdrop) .city-bottom-hud{opacity:0!important;pointer-events:none!important}}@media (max-width:390px){.game-shell .world-screen .map-village-card{left:7px!important;max-height:min(38dvh,330px)!important;right:7px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open{max-height:48dvh!important}}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .character-screen .council-layout-v2 .character-focus{background:#090d0b!important;overflow:hidden!important}.game-shell .character-screen .council-layout-v2 .character-hero{background-position:center 18%!important;background-repeat:no-repeat!important;background-size:cover!important;height:clamp(190px,47vw,230px)!important;width:100%!important}.game-shell .character-screen .council-layout-v2 .character-hero:after{background:linear-gradient(0deg,#090d0b,rgba(9,13,11,.58) 13%,transparent 42%),linear-gradient(90deg,rgba(9,13,11,.08),transparent 45%,rgba(9,13,11,.08))!important;inset:0!important}.game-shell .character-screen .council-layout-v2 .character-hero>span{bottom:12px!important;left:14px!important;z-index:3!important}.game-shell .character-screen .council-layout-v2 .dialogue-card{background:#090d0b!important;margin-left:0!important;width:100%!important}.game-shell .alliance-dashboard,.game-shell .character-layout.council-layout-v2,.game-shell .market-command-layout{-webkit-overflow-scrolling:touch!important;display:grid!important;gap:10px!important;grid-auto-flow:column!important;grid-auto-columns:calc(100vw - 32px)!important;grid-template-columns:none!important;max-width:100vw!important;min-width:0!important;overflow-x:auto!important;overflow-y:hidden!important;overscroll-behavior-x:contain!important;scroll-padding-inline:12px!important;scroll-snap-type:x mandatory!important;scrollbar-width:none!important}}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .alliance-dashboard::-webkit-scrollbar,.game-shell .character-layout.council-layout-v2::-webkit-scrollbar,.game-shell .market-command-layout::-webkit-scrollbar{display:none!important}.game-shell .alliance-dashboard>*,.game-shell .character-layout.council-layout-v2>*,.game-shell .market-command-layout>*{grid-column:auto!important;max-width:100%!important;min-width:0!important;scroll-snap-align:start!important;scroll-snap-stop:always!important}.game-shell .alliance-screen .alliance-hero{gap:9px!important;grid-template-columns:58px minmax(0,1fr)!important;margin-bottom:0!important;min-height:0!important;padding:11px 12px!important}.game-shell .alliance-screen .alliance-crest{height:52px!important;width:52px!important}.game-shell .alliance-screen .alliance-identity h2{font-size:20px!important}.game-shell .alliance-screen .alliance-identity>div{flex-wrap:wrap!important}.game-shell .alliance-screen .alliance-power{border-left:0!important;border-top:1px solid var(--line-soft)!important;grid-column:1/-1!important;grid-template-columns:auto minmax(0,1fr)!important;padding:7px 0 0!important}.game-shell .alliance-screen .alliance-power strong{font-size:19px!important;margin:0 10px 0 0!important}.game-shell .alliance-screen .alliance-power>span{align-self:center!important}.game-shell .alliance-dashboard{align-items:stretch!important;height:min(58dvh,500px)!important;margin:10px 0 24px!important;padding:0 12px 8px!important;position:relative!important;width:100%!important}.game-shell .alliance-dashboard>*{align-content:start!important;align-self:stretch!important;height:100%!important;margin:0!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;position:relative!important;-webkit-overflow-scrolling:touch!important}.game-shell .alliance-dashboard .alliance-diplomacy,.game-shell .alliance-dashboard .alliance-season-share{display:grid!important;gap:12px!important;grid-template-columns:minmax(0,1fr)!important;padding:15px!important}.game-shell .alliance-dashboard .alliance-season-share dl{grid-template-columns:repeat(3,minmax(0,1fr))!important}.game-shell .alliance-dashboard .alliance-season-share>em,.game-shell .alliance-dashboard .alliance-season-share>strong{justify-self:start!important;text-align:left!important}.game-shell .alliance-dashboard .alliance-diplomacy-form{grid-template-columns:minmax(0,1fr)!important}.game-shell .alliance-dashboard .alliance-diplomacy-form>*{width:100%!important}.game-shell .alliance-dashboard .alliance-members,.game-shell .alliance-dashboard .alliance-objective,.game-shell .alliance-dashboard .live-alliance-card{padding:15px!important}.game-shell .alliance-dashboard>:after,.game-shell .character-layout.council-layout-v2>:after,.game-shell .market-command-layout>:after{background:linear-gradient(180deg,transparent,rgba(77,207,213,.68),transparent)!important;content:""!important;height:34px!important;pointer-events:none!important;position:absolute!important;right:-1px!important;top:calc(50% - 17px)!important;width:2px!important;z-index:40!important}.game-shell .character-screen .character-layout.council-layout-v2{align-items:stretch!important;height:min(66dvh,570px)!important;margin:10px 0 24px!important;padding:0 12px 8px!important;position:relative!important;width:100%!important}.game-shell .character-layout.council-layout-v2>.character-focus,.game-shell .character-layout.council-layout-v2>.council-sidebar{height:100%!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;-webkit-overflow-scrolling:touch!important}.game-shell .character-layout.council-layout-v2 .character-focus{background:#090d0b!important}.game-shell .character-layout.council-layout-v2 .character-hero{height:clamp(190px,31dvh,260px)!important}.game-shell .character-layout.council-layout-v2 .dialogue-card{padding:15px!important}.game-shell .character-layout.council-layout-v2 .council-sidebar{display:grid!important;gap:10px!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;padding-bottom:8px!important}.game-shell .character-layout.council-layout-v2 .council-sidebar .character-list,.game-shell .character-layout.council-layout-v2 .council-sidebar .council-agenda{max-height:none!important;overflow:visible!important}.game-shell .market-screen .market-command-layout{align-items:stretch!important;height:min(66dvh,570px)!important;inset:auto!important;margin:10px 0 24px!important;padding:0 12px 8px!important;position:relative!important;width:100%!important}.game-shell .market-command-layout>.market-board,.game-shell .market-command-layout>.market-trade-desk{height:100%!important;max-height:100%!important;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior-y:contain!important;position:relative!important;-webkit-overflow-scrolling:touch!important}.game-shell .market-command-layout .market-board{display:flex!important;flex-direction:column!important}.game-shell .market-command-layout .market-board-header{flex:0 0 auto!important;position:sticky!important;top:0!important;z-index:12!important}.game-shell .market-command-layout .market-board-header nav{flex-wrap:nowrap!important;max-width:100%!important;overflow-x:auto!important;scrollbar-width:none!important}.game-shell .market-command-layout .market-board-header nav::-webkit-scrollbar{display:none!important}.game-shell .market-command-layout .market-board-header nav button{flex:0 0 auto!important;min-width:max-content!important;padding-inline:10px!important}}@media (max-width:390px){.game-shell .alliance-dashboard,.game-shell .character-layout.council-layout-v2,.game-shell .market-command-layout{grid-auto-columns:calc(100vw - 24px)!important;padding-left:8px!important;padding-right:8px!important}.game-shell .alliance-dashboard{height:min(56dvh,470px)!important}.game-shell .character-screen .character-layout.council-layout-v2,.game-shell .market-screen .market-command-layout{height:min(64dvh,530px)!important}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city.city-layered{--mobile-city-camera-width:clamp(650px,185vw,810px);--mobile-city-camera-y:43%;background-position:50%,50%,center var(--mobile-city-camera-y)!important;background-repeat:no-repeat,no-repeat,no-repeat!important;background-size:auto,auto,var(--mobile-city-camera-width) auto!important;overflow:hidden!important}.game-shell .city-stage.active-city.city-layered .city-building-layers,.game-shell .city-stage.active-city.city-layered .city-hotspot-plane,.game-shell .city-stage.active-city.city-layered .city-life-layer{aspect-ratio:16/9!important;height:auto!important;inset:auto!important;left:50%!important;max-height:none!important;max-width:none!important;overflow:visible!important;top:var(--mobile-city-camera-y)!important;transform:translate(-50%,-50%)!important;transform-origin:center center!important;width:var(--mobile-city-camera-width)!important}.game-shell .game-grid:has(.city-stage.active-city){grid-template-rows:calc(100dvh - var(--header-height, 68px)) 300px!important;scroll-padding-bottom:calc(var(--mobile-tab-height, 62px) + 130px + env(safe-area-inset-bottom))!important}.game-shell .game-grid:has(.city-stage.active-city):after{height:300px!important}.game-shell .city-stage.active-city.city-layered .building-hotspot,.game-shell .city-stage.active-city.city-layered .hotspot-ring{height:38px!important;width:38px!important}.game-shell .city-stage.active-city.city-layered .hotspot-ring .icon{height:16px!important;width:16px!important}.game-shell .city-stage.active-city.city-layered .hotspot-label{font-size:7.5px!important;line-height:1.1!important;max-width:108px!important;padding:3px 5px!important}.game-shell .city-stage.active-city.city-layered .hotspot-label small{font-size:6px!important}@media (max-width:390px){.game-shell .city-stage.active-city.city-layered{--mobile-city-camera-width:clamp(620px,178vw,700px);--mobile-city-camera-y:44%}}@media (max-height:760px){.game-shell .city-stage.active-city.city-layered{--mobile-city-camera-width:clamp(630px,182vw,760px);--mobile-city-camera-y:44%}.game-shell .game-grid:has(.city-stage.active-city){grid-template-rows:calc(100dvh - var(--header-height, 68px)) 270px!important}.game-shell .game-grid:has(.city-stage.active-city):after{height:270px!important}}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city{--mobile-city-camera-width:clamp(590px,165vw,740px);--mobile-city-camera-y:50%;background-color:#6e5838!important;overflow:hidden!important}.game-shell .city-stage.active-city.city-layered{background-position:50%,50%,center var(--mobile-city-camera-y)!important;background-size:auto,auto,var(--mobile-city-camera-width) auto!important}.game-shell .city-stage.active-city.city-layered .city-building-layers,.game-shell .city-stage.active-city.city-layered .city-hotspot-plane,.game-shell .city-stage.active-city.city-layered .city-life-layer{aspect-ratio:16/9!important;height:auto!important;left:50%!important;top:var(--mobile-city-camera-y)!important;transform:translate(-50%,-50%)!important;width:var(--mobile-city-camera-width)!important}.game-shell .game-grid:has(.city-stage.active-city){grid-template-rows:calc(100dvh - var(--header-height, 68px)) 160px!important;scroll-padding-bottom:calc(var(--mobile-tab-height, 62px) + 90px + env(safe-area-inset-bottom))!important}.game-shell .game-grid:has(.city-stage.active-city):after{height:160px!important}.game-shell .city-stage.active-city .city-title{display:grid!important;left:12px!important;max-width:calc(100% - 176px)!important;pointer-events:none!important;position:absolute!important;top:48px!important;z-index:88!important}.game-shell .city-stage.active-city .city-title>span{align-items:center!important;background:rgba(6,24,21,.86)!important;border:1px solid rgba(66,181,184,.32)!important;border-radius:999px!important;color:#62cbd0!important;display:inline-flex!important;font-size:6.5px!important;font-weight:700!important;justify-self:start!important;letter-spacing:.16em!important;min-height:22px!important;padding:4px 8px!important;white-space:nowrap!important}.game-shell .city-stage.active-city .city-title>strong{color:#edd7ad!important;font-family:Georgia,Times New Roman,serif!important;font-size:clamp(22px,7.4vw,30px)!important;font-weight:500!important;line-height:1!important;margin-top:7px!important;overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:0 3px 12px rgba(0,0,0,.72)!important;white-space:nowrap!important}.game-shell .city-stage.active-city .city-title>small{display:none!important}.game-shell .city-stage.active-city .city-right-stack{display:contents!important}.game-shell .city-stage.active-city .village-progress,.game-shell .city-stage.active-city .village-progress.collapsed{left:12px!important;max-width:210px!important;padding:0!important;position:absolute!important;right:auto!important;top:10px!important;width:auto!important;z-index:92!important}.game-shell .city-stage.active-city .village-progress-header,.game-shell .city-stage.active-city .village-progress.collapsed .village-progress-header{backdrop-filter:blur(10px)!important;background:rgba(6,22,19,.88)!important;border:1px solid rgba(67,183,187,.34)!important;border-radius:999px!important;gap:5px!important;min-height:30px!important;padding:5px 8px!important}.game-shell .city-stage.active-city .village-progress-header .icon:first-child{height:13px!important;width:13px!important}.game-shell .city-stage.active-city .village-progress-header span{font-size:6.5px!important;letter-spacing:.13em!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.game-shell .city-stage.active-city .village-progress-header b{font-size:9px!important;white-space:nowrap!important}.game-shell .city-stage.active-city .village-progress.open{backdrop-filter:blur(15px)!important;background:rgba(6,13,11,.97)!important;border:1px solid rgba(184,139,70,.5)!important;border-radius:0!important;left:10px!important;max-height:min(48dvh,410px)!important;max-width:none!important;overflow-y:auto!important;right:10px!important;top:8px!important;width:auto!important;z-index:175!important;-webkit-overflow-scrolling:touch!important}.game-shell .city-stage.active-city .village-progress.open .village-progress-header{border-radius:0!important;position:sticky!important;top:0!important;z-index:3!important}.game-shell .city-stage.active-city .city-settlement-integrity{backdrop-filter:blur(12px)!important;background:rgba(6,22,18,.91)!important;border:1px solid rgba(72,173,159,.38)!important;border-radius:15px!important;display:grid!important;gap:3px 7px!important;grid-template-columns:minmax(0,1fr) auto!important;left:auto!important;min-height:58px!important;padding:8px 10px!important;right:10px!important;top:47px!important;width:150px!important;z-index:91!important}.game-shell .city-stage.active-city .city-settlement-integrity>.icon{display:none!important}.game-shell .city-stage.active-city .city-settlement-integrity span{min-width:0!important}.game-shell .city-stage.active-city .city-settlement-integrity small{font-size:6px!important;letter-spacing:.12em!important}.game-shell .city-stage.active-city .city-settlement-integrity b{font-size:8px!important}.game-shell .city-stage.active-city .city-settlement-integrity strong{align-self:center!important;font-size:15px!important}.game-shell .city-stage.active-city .city-settlement-integrity i{grid-column:1/-1!important;height:5px!important}.game-shell .city-stage.active-city .time-control{backdrop-filter:blur(10px)!important;background:rgba(7,13,11,.86)!important;left:12px!important;min-height:37px!important;padding:5px 8px!important;top:104px!important;width:130px!important;z-index:87!important}.game-shell .city-stage.active-city .time-control>span{font-size:15px!important}.game-shell .city-stage.active-city .time-control b{font-size:10px!important}.game-shell .city-stage.active-city .time-control small{font-size:5.5px!important}.game-shell .city-stage.active-city .city-command-scores{backdrop-filter:blur(11px)!important;background:rgba(6,20,17,.9)!important;border:1px solid rgba(184,139,70,.4)!important;border-radius:14px!important;bottom:calc(var(--mobile-tab-height, 62px) + 65px + env(safe-area-inset-bottom))!important;display:grid!important;gap:4px!important;grid-template-columns:1fr 1fr!important;left:auto!important;min-height:48px!important;padding:6px 8px!important;right:10px!important;top:auto!important;width:128px!important;z-index:112!important}.game-shell .city-stage.active-city .city-command-scores>.icon:last-child{display:none!important}.game-shell .city-stage.active-city .city-command-scores>span{gap:3px!important;min-width:0!important}.game-shell .city-stage.active-city .city-command-scores>span>.icon{height:12px!important;width:12px!important}.game-shell .city-stage.active-city .city-command-scores small{font-size:5.5px!important}.game-shell .city-stage.active-city .city-command-scores b{font-size:8px!important}.game-shell .city-stage.active-city .city-bottom-hud{bottom:auto!important;display:contents!important;left:auto!important;position:static!important;right:auto!important;width:auto!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock{backdrop-filter:blur(13px)!important;background:linear-gradient(180deg,rgba(7,15,13,.93),rgba(4,9,8,.96))!important;border:1px solid rgba(184,139,70,.43)!important;bottom:calc(var(--mobile-tab-height, 62px) + 8px + env(safe-area-inset-bottom))!important;display:grid!important;gap:3px!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;left:10px!important;max-width:none!important;padding:4px!important;position:absolute!important;right:10px!important;transform:none!important;width:auto!important;z-index:116!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock button{background:rgba(255,255,255,.015)!important;border:1px solid rgba(184,139,70,.18)!important;height:46px!important;min-height:46px!important;padding:4px 1px!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock button.active{background:linear-gradient(180deg,rgba(21,117,122,.28),rgba(8,55,57,.2))!important;border-color:rgba(74,190,195,.65)!important;box-shadow:inset 0 2px 0 rgba(79,205,210,.65)!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock button .icon{height:17px!important;width:17px!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock span{font-size:6.5px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{bottom:calc(var(--mobile-tab-height, 62px) + 62px + env(safe-area-inset-bottom))!important;left:50%!important;max-width:180px!important;position:absolute!important;right:auto!important;transform:translateX(-50%)!important;width:min(180px,48vw)!important;z-index:118!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle{border-radius:12px!important;min-height:42px!important;padding:7px 9px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle span{font-size:7.5px!important;max-width:112px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open{bottom:calc(var(--mobile-tab-height, 62px) + 8px + env(safe-area-inset-bottom))!important;left:8px!important;max-height:min(50dvh,450px)!important;max-width:none!important;position:absolute!important;right:8px!important;transform:none!important;width:auto!important;z-index:176!important}.game-shell .city-stage.active-city:has(.chat-panel.open) .city-command-scores,.game-shell .city-stage.active-city:has(.chat-panel.open) .city-settlement-integrity,.game-shell .city-stage.active-city:has(.chat-panel.open) .city-title,.game-shell .city-stage.active-city:has(.chat-panel.open) .time-control,.game-shell .city-stage.active-city:has(.chat-panel.open) .village-progress{opacity:.2!important;pointer-events:none!important}.game-shell .city-stage.active-city .map-tools{display:none!important}.game-shell .city-stage.active-city .city-vignette{background:linear-gradient(180deg,rgba(4,8,7,.34),transparent 18%,transparent 72%,rgba(3,7,6,.42))!important;opacity:1!important}.game-shell .city-stage.active-city.city-layered .building-hotspot,.game-shell .city-stage.active-city.city-layered .hotspot-ring{height:36px!important;width:36px!important}.game-shell .city-stage.active-city.city-layered .hotspot-ring .icon{height:15px!important;width:15px!important}.game-shell .city-stage.active-city.city-layered .hotspot-label{font-size:7px!important;max-width:102px!important}}@media (max-width:390px) and (orientation:portrait){.game-shell .city-stage.active-city{--mobile-city-camera-width:clamp(560px,158vw,650px);--mobile-city-camera-y:51%}.game-shell .city-stage.active-city .city-title{max-width:calc(100% - 156px)!important}.game-shell .city-stage.active-city .city-settlement-integrity{right:7px!important;width:138px!important}.game-shell .city-stage.active-city .city-command-scores{right:7px!important;width:116px!important}.game-shell .city-stage.active-city .city-bottom-hud .build-dock{left:7px!important;right:7px!important}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city .city-bottom-hud .build-dock{display:none!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{bottom:calc(var(--mobile-tab-height, 62px) + 10px + env(safe-area-inset-bottom))!important;left:10px!important;max-width:min(190px,52vw)!important;right:auto!important;transform:none!important;width:min(190px,52vw)!important}.game-shell .city-stage.active-city .city-command-scores{bottom:calc(var(--mobile-tab-height, 62px) + 10px + env(safe-area-inset-bottom))!important;right:10px!important;width:124px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.open{bottom:calc(var(--mobile-tab-height, 62px) + 8px + env(safe-area-inset-bottom))!important}.game-shell .game-grid:has(.city-stage.active-city){grid-template-rows:calc(100dvh - var(--header-height, 68px)) 96px!important;scroll-padding-bottom:calc(var(--mobile-tab-height, 62px) + 46px + env(safe-area-inset-bottom))!important}.game-shell .game-grid:has(.city-stage.active-city):after{height:96px!important}}@media (max-width:390px) and (orientation:portrait){.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{max-width:176px!important;width:48vw!important}.game-shell .city-stage.active-city .city-command-scores{width:116px!important}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city .village-progress,.game-shell .city-stage.active-city .village-progress.collapsed{left:10px!important;max-width:none!important;right:10px!important;top:8px!important;width:auto!important}.game-shell .city-stage.active-city .village-progress-header,.game-shell .city-stage.active-city .village-progress.collapsed .village-progress-header{border-radius:12px!important;min-height:34px!important;padding:6px 10px!important;width:100%!important}.game-shell .city-stage.active-city .village-progress-header span{font-size:7px!important;max-width:none!important}.game-shell .city-stage.active-city .city-title{left:10px!important;max-width:none!important;top:50px!important;width:calc(50% - 15px)!important}.game-shell .city-stage.active-city .city-title>span{border-radius:10px!important;box-sizing:border-box!important;justify-content:center!important;min-height:25px!important;overflow:hidden!important;padding:5px 7px!important;text-overflow:ellipsis!important;width:100%!important}.game-shell .city-stage.active-city .time-control{grid-template-columns:18px minmax(0,1fr)!important;left:10px!important;min-height:35px!important;padding:5px 7px!important;top:78px!important;width:calc(50% - 15px)!important}.game-shell .city-stage.active-city .time-control>span{font-size:14px!important}.game-shell .city-stage.active-city .time-control b{font-size:9px!important}.game-shell .city-stage.active-city .time-control small{font-size:5.25px!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}.game-shell .city-stage.active-city .city-settlement-integrity{box-sizing:border-box!important;left:auto!important;min-height:63px!important;right:10px!important;top:50px!important;width:calc(50% - 15px)!important}.game-shell .city-stage.active-city .city-settlement-integrity strong{font-size:16px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{bottom:calc(var(--mobile-tab-height, 62px) + 10px + env(safe-area-inset-bottom))!important;left:10px!important;max-width:none!important;right:auto!important;transform:none!important;width:calc(50% - 15px)!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle{border-radius:12px!important;height:48px!important;min-height:48px!important;padding:7px 9px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed .chat-toggle span{font-size:7px!important;max-width:calc(100% - 48px)!important}.game-shell .city-stage.active-city .city-command-scores{bottom:calc(var(--mobile-tab-height, 62px) + 10px + env(safe-area-inset-bottom))!important;height:48px!important;left:auto!important;min-height:48px!important;right:10px!important;width:calc(50% - 15px)!important}.game-shell .city-stage.active-city.city-layered .building-hotspot{overflow:visible!important}.game-shell .city-stage.active-city.city-layered .building-hotspot .hotspot-label{align-items:center!important;backdrop-filter:blur(9px)!important;background:rgba(7,15,13,.92)!important;border:1px solid rgba(184,139,70,.46)!important;border-radius:9px!important;bottom:calc(100% + 6px)!important;box-shadow:0 5px 14px rgba(0,0,0,.48)!important;color:#ead6ad!important;display:flex!important;font-family:Georgia,Times New Roman,serif!important;font-size:6.5px!important;gap:3px!important;left:50%!important;line-height:1!important;max-width:108px!important;min-height:20px!important;opacity:1!important;padding:4px 6px!important;pointer-events:none!important;position:absolute!important;right:auto!important;top:auto!important;transform:translateX(-50%)!important;transition:none!important;white-space:nowrap!important;width:max-content!important;z-index:12!important}.game-shell .city-stage.active-city.city-layered .building-hotspot .hotspot-label small{color:#65c9cd!important;display:inline!important;font-family:Inter,Segoe UI,sans-serif!important;font-size:5.5px!important;line-height:1!important;margin:0!important;white-space:nowrap!important}.game-shell .city-stage.active-city.city-layered .building-hotspot .hotspot-label small:before{color:#8c806b!important;content:"• "!important}.game-shell .city-stage.active-city.city-layered .building-hotspot.selected .hotspot-label,.game-shell .city-stage.active-city.city-layered .building-hotspot:focus-visible .hotspot-label,.game-shell .city-stage.active-city.city-layered .building-hotspot:hover .hotspot-label{opacity:1!important;transform:translateX(-50%)!important}.game-shell .city-stage.active-city.city-layered .building-hotspot[aria-label^="Taş Sur"] .hotspot-label{bottom:calc(100% + 4px)!important}}@media (max-width:390px) and (orientation:portrait){.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed,.game-shell .city-stage.active-city .city-command-scores,.game-shell .city-stage.active-city .city-settlement-integrity,.game-shell .city-stage.active-city .city-title,.game-shell .city-stage.active-city .time-control{width:calc(50% - 13px)!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed,.game-shell .city-stage.active-city .city-title,.game-shell .city-stage.active-city .time-control{left:8px!important}.game-shell .city-stage.active-city .city-command-scores,.game-shell .city-stage.active-city .city-settlement-integrity{right:8px!important}.game-shell .city-stage.active-city.city-layered .building-hotspot .hotspot-label{font-size:6px!important;max-width:92px!important;padding-inline:5px!important}.game-shell .city-stage.active-city.city-layered .building-hotspot .hotspot-label small{font-size:5px!important}}.game-shell .toast{isolation:isolate!important;left:50%!important;max-width:calc(100vw - 24px)!important;pointer-events:none!important;position:fixed!important;right:auto!important;top:18px!important;transform:translateX(-50%)!important;width:max-content!important;z-index:10000!important}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .toast{box-shadow:0 12px 32px rgba(0,0,0,.58)!important;left:50%!important;max-width:calc(100vw - 24px)!important;position:fixed!important;right:auto!important;top:calc(var(--header-height, 68px) + 8px)!important;transform:translateX(-50%)!important;width:max-content!important}@keyframes toast-in{0%{opacity:0;transform:translate(-50%,-8px)}}}.game-shell .building-visual-preview{align-items:end;background:radial-gradient(ellipse at 52% 76%,rgba(83,151,137,.23),transparent 42%),linear-gradient(180deg,rgba(27,39,31,.92),rgba(7,12,10,.98));border:1px solid rgba(184,139,70,.42);box-shadow:inset 0 0 34px rgba(0,0,0,.4);display:flex;height:126px;justify-content:center;margin:0;overflow:hidden;position:relative}.game-shell .building-card.has-specialisations .building-visual-preview{grid-column:1/-1;height:142px}.game-shell .building-card-primary-actions{display:grid;gap:8px;grid-column:1/-1;grid-template-columns:1fr}.game-shell .building-card-primary-actions.queue-busy{grid-template-columns:minmax(170px,.78fr) minmax(280px,1.22fr)}.game-shell .building-card-primary-actions .upgrade-button{margin:0;min-height:46px}.game-shell .building-card-primary-actions.queue-busy .upgrade-button:disabled{opacity:.72}.game-shell .building-queue-rush{align-items:center;background:linear-gradient(135deg,rgba(8,91,99,.96),rgba(7,43,46,.98)),radial-gradient(circle at 12% 50%,rgba(88,218,224,.22),transparent 35%);border:1px solid rgba(92,213,217,.72);box-shadow:inset 0 0 0 2px rgba(3,22,23,.5),0 7px 18px rgba(0,0,0,.32);color:#6bd5da;cursor:pointer;display:grid;gap:9px;grid-template-columns:22px minmax(0,1fr) auto;min-height:46px;padding:7px 10px;text-align:left}.game-shell .building-queue-rush:hover:not(:disabled){background:linear-gradient(135deg,rgba(12,119,127,.98),rgba(8,58,62,.98));border-color:#8ce5e7;transform:translateY(-1px)}.game-shell .building-queue-rush:disabled{cursor:not-allowed;filter:grayscale(.72);opacity:.55}.game-shell .building-queue-rush>span{display:grid;gap:2px;min-width:0}.game-shell .building-queue-rush small{color:#83c9c7;font-size:7px;font-weight:800;letter-spacing:.1em}.game-shell .building-queue-rush b{color:#ead7b2;font-family:Georgia,serif;font-size:11px;font-weight:500;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-shell .building-queue-rush strong{background:rgba(2,12,12,.36);border:1px solid rgba(97,218,221,.34);color:#d9f4ef;font-size:9px;padding:7px 8px;white-space:nowrap}.game-shell .building-visual-preview:before{background:linear-gradient(90deg,transparent,rgba(103,194,185,.15),transparent),repeating-linear-gradient(90deg,transparent 0 54px,rgba(186,143,75,.07) 55px 56px);bottom:0;content:"";height:38%;left:0;opacity:.7;position:absolute;right:0}.game-shell .building-visual-preview img{filter:drop-shadow(0 12px 9px rgba(0,0,0,.68)) saturate(.96) brightness(1.04);height:calc(100% - 8px);max-width:94%;object-fit:contain;object-position:center bottom;position:relative;width:auto;z-index:1}.game-shell .building-visual-wall img{height:auto;max-height:92%;width:96%}.game-shell .building-visual-preview figcaption{align-items:flex-start;backdrop-filter:blur(8px);background:rgba(5,14,12,.84);border:1px solid rgba(74,184,183,.3);display:grid;gap:2px;left:9px;padding:6px 8px;position:absolute;top:9px;z-index:2}.game-shell .building-visual-preview figcaption span{color:#5fc4c8;font-size:6px;font-weight:800;letter-spacing:.14em}.game-shell .building-visual-preview figcaption b{color:#dfc89f;font-family:Georgia,serif;font-size:10px;font-weight:500}@media (min-width:1280px) and (hover:hover) and (pointer:fine){.game-shell .building-card.redesigned{padding:18px}.game-shell .building-card.redesigned>header span{font-size:10px}.game-shell .building-card.redesigned>header h1{font-size:25px}.game-shell .building-card.redesigned>header>strong{font-size:12px;padding:7px 9px}.game-shell .building-card-summary>p{font-size:12px;line-height:1.55;margin:12px 0}.game-shell .building-integrity{padding:12px}.game-shell .building-integrity small{font-size:9px}.game-shell .building-integrity b{font-size:12px}.game-shell .building-integrity strong{font-size:17px}.game-shell .building-integrity>p{font-size:9.5px!important;line-height:1.5!important}.game-shell .building-benefits{padding:12px}.game-shell .building-benefits>header span{font-size:9px}.game-shell .building-benefits>header b{font-size:12px}.game-shell .building-benefits>p{font-size:10px!important;line-height:1.5!important}.game-shell .building-benefits article{min-height:52px;padding:7px 8px}.game-shell .building-benefits article small{font-size:8px}.game-shell .building-benefits article b{font-size:11.5px}.game-shell .building-benefits article em,.game-shell .building-benefits>footer{font-size:8.5px}.game-shell .requirements div{font-size:11.5px;padding:6px 0}.game-shell .requirements b{font-size:11.5px}.game-shell .requirements i{font-size:10px}.game-shell .upgrade-button{min-height:46px}.game-shell .upgrade-button span{font-size:17px}.game-shell .upgrade-button small{font-size:11px}.game-shell .building-specialisation{padding:12px}.game-shell .building-specialisation>header span{font-size:9px}.game-shell .building-specialisation>header b{font-size:10px}.game-shell .building-specialisation .specialisation-intro{font-size:10.5px;line-height:1.5;padding-bottom:10px}.game-shell .specialisation-tabs{gap:7px}.game-shell .specialisation-tabs>button{min-height:62px;padding:9px 10px}.game-shell .specialisation-tabs small{font-size:8px}.game-shell .specialisation-tabs b{font-size:12px}.game-shell .specialisation-tabs em{font-size:8px}.game-shell .specialisation-branches>article{padding:12px}.game-shell .specialisation-branches>article>header span{font-size:8px}.game-shell .specialisation-branches>article>header b{font-size:9px}.game-shell .specialisation-branches h3{font-size:17px;margin:6px 0 4px}.game-shell .specialisation-branches article>p{font-size:10.5px;line-height:1.5}.game-shell .specialisation-effect{padding:9px}.game-shell .specialisation-effect small{font-size:8px}.game-shell .specialisation-effect b{font-size:10px;line-height:1.4}.game-shell .specialisation-cost span{font-size:8px;padding:5px 6px}.game-shell .specialisation-branches>article>button{font-size:10px;min-height:36px}.game-shell .building-visual-preview figcaption span{font-size:8px}.game-shell .building-visual-preview figcaption b{font-size:12px}.game-shell .building-queue-rush small{font-size:9px}.game-shell .building-queue-rush b{font-size:13px}.game-shell .building-queue-rush strong{font-size:10px}}@media (max-width:720px){.game-shell .building-card-primary-actions.queue-busy{grid-template-columns:1fr}.game-shell .building-queue-rush{grid-template-columns:19px minmax(0,1fr) auto}.game-shell .building-card.has-specialisations .building-visual-preview,.game-shell .building-visual-preview{grid-column:1;height:112px}.game-shell .building-visual-preview figcaption{left:7px;padding:5px 7px;top:7px}}.game-shell .game-settings-backdrop{align-items:stretch!important;background:#070b09!important;inset:0!important;justify-content:stretch!important;overflow:hidden!important;padding:0!important;z-index:500!important}.game-shell .game-settings-modal{align-content:start;background:radial-gradient(circle at 12% 0,rgba(178,127,56,.16),transparent 31%),radial-gradient(circle at 88% 12%,rgba(43,142,141,.09),transparent 29%),linear-gradient(145deg,#151914,#060a08 68%);border:0!important;box-shadow:none!important;box-sizing:border-box;display:grid;grid-template-columns:minmax(28px,1fr) minmax(0,1320px) minmax(28px,1fr);height:100%!important;margin:0!important;max-height:none!important;max-width:none!important;min-height:0;overflow-x:hidden!important;overflow-y:auto!important;overscroll-behavior:contain;padding:clamp(30px,3vw,58px) 0 clamp(48px,5vw,86px)!important;scrollbar-color:rgba(78,179,181,.46) rgba(255,255,255,.025);width:100%!important}.game-shell .game-settings-modal>.account-privacy-centre,.game-shell .game-settings-modal>.game-settings-grid,.game-shell .game-settings-modal>.game-settings-sections,.game-shell .game-settings-modal>.player-feedback-centre,.game-shell .game-settings-modal>.settings-locked-panel,.game-shell .game-settings-modal>footer,.game-shell .game-settings-modal>header{box-sizing:border-box;grid-column:2;min-width:0;width:100%}.game-shell .game-settings-modal>header{border-bottom:1px solid rgba(190,145,76,.22);padding:0 64px 22px 0!important}.game-shell .game-settings-modal>.modal-close{position:fixed!important;right:max(22px,env(safe-area-inset-right))!important;top:max(22px,env(safe-area-inset-top))!important;z-index:3}.game-shell .game-settings-sections{background:rgba(2,11,10,.7);border:1px solid rgba(190,145,76,.24);display:grid;gap:0;grid-template-columns:repeat(3,minmax(0,1fr));margin-top:18px;padding:4px}.game-shell .game-settings-sections>button{align-items:center;background:transparent;border:0;border-right:1px solid rgba(190,145,76,.16);color:#8c978e;cursor:pointer;display:grid;gap:11px;grid-template-columns:24px minmax(0,1fr) auto;min-height:62px;padding:10px 16px;position:relative;text-align:left}.game-shell .game-settings-sections>button:last-child{border-right:0}.game-shell .game-settings-sections>button:after{background:#54cdca;bottom:-4px;content:"";height:2px;left:16px;opacity:0;position:absolute;right:16px;transform:scaleX(.45);transition:opacity .16s ease,transform .16s ease}.game-shell .game-settings-sections>button:focus-visible,.game-shell .game-settings-sections>button:hover{background:rgba(25,91,87,.13);color:#d7c69f;outline:none}.game-shell .game-settings-sections>button.active{background:linear-gradient(135deg,rgba(18,86,82,.36),rgba(15,24,20,.72));color:#67d4d1}.game-shell .game-settings-sections>button.active:after{opacity:1;transform:scaleX(1)}.game-shell .game-settings-sections>button>span{display:grid;min-width:0}.game-shell .game-settings-sections>button b{color:inherit;font-family:Georgia,serif;font-size:15px;font-weight:500}.game-shell .game-settings-sections>button small{color:#77847c;font-size:9px;letter-spacing:.06em;margin-top:3px}.game-shell .game-settings-sections>button>i{align-items:center;background:#b94837;border-radius:999px;color:#fff4dc;display:flex;font-size:9px;font-style:normal;height:20px;justify-content:center;min-width:20px;padding:0 5px}.game-shell .game-settings-grid{gap:16px;grid-template-columns:repeat(3,minmax(0,1fr))!important;margin-top:16px}.game-shell .game-settings-grid.player-only{grid-template-columns:repeat(2,minmax(0,1fr))!important}.game-shell .game-settings-grid>article{min-height:172px;padding:20px}.game-shell .game-settings-grid .settings-legal-card{grid-column:auto!important}.game-shell .game-settings-modal>.player-feedback-centre{margin-top:16px;overflow:hidden}.game-shell .account-privacy-centre{margin-top:16px;padding:clamp(17px,2vw,24px)}.game-shell .settings-locked-panel{align-items:center;background:linear-gradient(135deg,rgba(11,38,35,.72),rgba(7,13,11,.94));border:1px solid rgba(61,206,205,.3);color:#55c9c7;display:grid;gap:16px;grid-template-columns:46px minmax(0,1fr);margin-top:16px;min-height:190px;padding:24px}.game-shell .settings-locked-panel>span{display:grid;gap:4px}.game-shell .settings-locked-panel small{color:#57cecc;font-size:8px;letter-spacing:.15em}.game-shell .settings-locked-panel b{color:#e4cda0;font-family:Georgia,serif;font-size:20px;font-weight:500}.game-shell .settings-locked-panel p{color:#89958b;font-size:11px;line-height:1.55;margin:0}.game-shell .game-settings-modal>footer{margin-top:16px}@media (max-width:900px){.game-shell .game-settings-modal{grid-template-columns:18px minmax(0,1fr) 18px;padding-bottom:calc(46px + env(safe-area-inset-bottom))!important}.game-shell .game-settings-grid,.game-shell .game-settings-grid.player-only{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr))!important}}@media (max-width:640px){.game-shell .game-settings-modal{grid-template-columns:10px minmax(0,1fr) 10px;padding-top:calc(66px + env(safe-area-inset-top))!important}.game-shell .game-settings-modal>header{padding:0 0 17px!important}.game-shell .game-settings-modal>.modal-close{right:max(14px,env(safe-area-inset-right))!important;top:max(14px,env(safe-area-inset-top))!important}.game-shell .game-settings-grid{grid-template-columns:minmax(0,1fr)!important;gap:10px;margin-top:12px}.game-shell .game-settings-sections{margin-top:13px;padding:3px}.game-shell .game-settings-sections>button{gap:5px;grid-template-columns:minmax(0,1fr);justify-items:center;min-height:66px;padding:8px 5px;text-align:center}.game-shell .game-settings-sections>button>.icon{display:none}.game-shell .game-settings-sections>button b{font-size:13px}.game-shell .game-settings-sections>button small{font-size:7px}.game-shell .game-settings-sections>button>i{position:absolute;right:6px;top:5px}.game-shell .game-settings-grid>article{min-height:0;padding:15px}.game-shell .account-privacy-centre{padding:14px}.game-shell .account-privacy-centre>header{align-items:flex-start;flex-direction:column;gap:7px}.game-shell .account-deletion-box,.game-shell .privacy-centre-actions{grid-template-columns:minmax(0,1fr)}}.game-shell .notification-segments{background:rgba(2,8,7,.66);border:1px solid rgba(190,143,70,.24);display:grid;flex:0 0 auto;gap:1px;grid-template-columns:repeat(5,minmax(0,1fr));margin-top:13px;padding:3px}.game-shell .notification-segments>button{align-items:center;background:transparent;border:0;color:#89897d;cursor:pointer;display:flex;gap:7px;justify-content:center;min-height:36px;padding:0 9px;position:relative}.game-shell .notification-segments>button+button{border-left:1px solid rgba(190,143,70,.12)}.game-shell .notification-segments>button:hover{background:rgba(27,123,124,.1);color:#c8b58f}.game-shell .notification-segments>button.active{background:linear-gradient(180deg,rgba(28,135,137,.28),rgba(11,67,67,.18));box-shadow:inset 0 -2px #5bc6c9;color:#73d2d4}.game-shell .notification-segments span{font-size:8px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap}.game-shell .notification-segments b{align-items:center;background:rgba(255,255,255,.05);border-radius:9px;color:#bca77f;display:flex;font-size:7px;font-variant-numeric:tabular-nums;height:17px;justify-content:center;min-width:17px;padding:0 4px}.game-shell .notification-segments .has-unread:not(.active):after{background:#58c9cc;border-radius:50%;box-shadow:0 0 7px rgba(88,201,204,.65);content:"";height:4px;position:absolute;right:7px;top:6px;width:4px}@media (max-width:640px){.game-shell .notification-segments{display:flex;margin-left:-4px;margin-right:-4px;overflow-x:auto;scrollbar-width:none}.game-shell .notification-segments::-webkit-scrollbar{display:none}.game-shell .notification-segments>button{flex:1 0 auto;min-width:92px}.game-shell .notification-segments>button:first-child{min-width:74px}}.game-shell .queue-section-heading{align-items:center;display:flex;justify-content:space-between;margin-bottom:8px}.game-shell .queue-section-heading h3{margin:0}.game-shell .queue-section-heading>b{background:rgba(29,92,82,.24);border:1px solid rgba(101,190,174,.34);border-radius:999px;color:#8fded1;font-size:9px;letter-spacing:.08em;padding:4px 8px}.game-shell .subscriber-slot-upsell{align-items:center;background:linear-gradient(135deg,rgba(73,50,16,.92),rgba(20,45,39,.94));border:1px solid rgba(213,166,79,.54);border-radius:10px;color:#ead9ad;display:flex;gap:10px;margin-top:8px;padding:10px 12px;text-align:left;width:100%}.game-shell .subscriber-slot-upsell>span{display:grid;flex:1;gap:2px}.game-shell .subscriber-slot-upsell small{color:#6bc4b4;font-size:8px;font-weight:900;letter-spacing:.1em}.game-shell .subscriber-slot-upsell b{color:#f0ddb0;font-size:11px}.game-shell .subscriber-slot-upsell:hover{border-color:rgba(231,188,99,.86);transform:translateY(-1px)}.game-shell .subscriber-queue-slot{border-color:rgba(213,166,79,.58)}.game-shell .subscriber-queue-slot.active{box-shadow:inset 0 0 0 1px rgba(101,190,174,.18)}.game-shell .building-slot-upsell{margin:0;min-height:58px}@media (max-width:700px){.game-shell .subscriber-slot-upsell{min-height:54px;padding:9px 10px}}.game-shell .village-switch-control{appearance:none;cursor:pointer;font:inherit;grid-template-columns:30px minmax(0,1fr) 14px!important;transition:background-color .18s ease,border-color .18s ease,box-shadow .18s ease}.game-shell .village-switch-control:hover{background:rgba(9,34,30,.94);border-color:rgba(83,197,201,.7);box-shadow:0 12px 28px rgba(0,0,0,.32),inset 2px 0 #58c7ca}.game-shell .village-switch-control:focus-visible{outline:2px solid #63cbd0;outline-offset:2px}.game-shell .village-switch-control>.village-switch-emblem{align-items:center;color:#62cbd0;display:flex;grid-column:1;grid-row:1/4;justify-content:center}.game-shell .village-switch-control>.village-region-label,.game-shell .village-switch-control>b,.game-shell .village-switch-control>small{grid-column:2;min-width:0;overflow:hidden;text-align:left;text-overflow:ellipsis;white-space:nowrap}.game-shell .village-switch-control>b{color:#ead2a5}.game-shell .village-switch-control>.village-region-label{color:#e0cfad;font-size:12px;font-style:normal;line-height:1.35;white-space:normal;overflow-wrap:anywhere}.game-shell .village-switch>span>.village-region-location{color:#c8bb9e;font-size:12px;white-space:normal}.game-shell .village-switch-control>small{color:#67c7ca;font-weight:700;letter-spacing:.07em}.game-shell .village-switch-control>i{align-items:center;color:#c8a76d;display:flex;grid-column:3;grid-row:1/4;justify-content:center}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .city-stage.active-city .village-switch-control{grid-template-columns:17px minmax(0,1fr) 10px!important;height:auto!important;min-height:48px!important}.game-shell .city-stage.active-city .village-switch-control>.village-switch-emblem .icon{height:13px;width:13px}.game-shell .city-stage.active-city .village-switch-control>i .icon{height:9px;width:9px}}