.game-shell .city-stage.active-city .city-garrison-stack{min-width:0;pointer-events:auto;z-index:86}.game-shell .city-stage.active-city .city-garrison{align-items:stretch;backdrop-filter:blur(16px) saturate(1.1);background:linear-gradient(180deg,rgba(18,27,23,.98),rgba(5,10,8,.98)),radial-gradient(circle at 32% 0,rgba(52,165,166,.14),transparent 48%);border:1px solid rgba(190,146,76,.7);border-radius:10px;box-shadow:0 18px 42px rgba(0,0,0,.54),inset 0 1px rgba(255,232,183,.08);box-sizing:border-box;display:grid;gap:0;grid-template-columns:154px minmax(0,1fr) auto;min-width:0;overflow:hidden;padding:0;position:relative;right:auto;width:100%}.game-shell .city-stage.active-city .city-garrison.is-open{border-color:rgba(85,200,202,.72);box-shadow:0 18px 42px rgba(0,0,0,.58),0 0 0 1px rgba(58,169,173,.16)}.game-shell .city-stage.active-city .city-garrison-summary{align-items:center;background:linear-gradient(135deg,rgba(18,45,38,.94),rgba(8,19,16,.9));border:0;border-right:1px solid rgba(190,146,76,.26);color:#d9c397;cursor:pointer;display:grid;gap:8px;grid-template-columns:34px minmax(0,1fr);min-width:0;padding:10px 11px;position:relative;text-align:left}.game-shell .city-stage.active-city .city-garrison-summary:focus-visible,.game-shell .city-stage.active-city .city-garrison-summary:hover{background:linear-gradient(135deg,rgba(24,76,68,.95),rgba(9,37,33,.92))}.game-shell .city-stage.active-city .garrison-summary-icon{align-items:center;background:radial-gradient(circle at 50% 35%,rgba(67,176,176,.22),rgba(7,22,19,.86));border:1px solid rgba(89,202,202,.48);border-radius:50%;color:#6fd0d1;display:flex;height:34px;justify-content:center;width:34px}.game-shell .city-stage.active-city .garrison-copy{align-content:center;display:grid;min-width:0}.game-shell .city-stage.active-city .garrison-copy small{color:#6ccfd1;font-size:7px;font-weight:800;letter-spacing:.13em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-shell .city-stage.active-city .garrison-copy b{color:#f0d8a7;font-family:Georgia,serif;font-size:22px;font-variant-numeric:tabular-nums;font-weight:500;line-height:1;margin-top:4px}.game-shell .city-stage.active-city .garrison-copy em{color:#9da094;font-size:7px;font-style:normal;margin-top:2px}.game-shell .city-stage.active-city .garrison-summary-meta{background:rgba(4,11,9,.74);border:1px solid rgba(183,143,78,.26);border-radius:10px;bottom:8px;color:#a69a82;font-size:6px;padding:2px 5px;position:absolute;right:8px}.game-shell .city-stage.active-city .city-garrison-roster{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(112px,1fr);min-width:0;overflow:hidden}.game-shell .city-stage.active-city .city-garrison-unit{align-items:center;background:linear-gradient(180deg,rgba(255,255,255,.025),rgba(0,0,0,.17));border:0;border-right:1px solid rgba(190,146,76,.2);color:#e8d5ac;cursor:pointer;display:grid;gap:2px 7px;grid-template-columns:38px minmax(0,1fr) auto;grid-template-rows:1fr;justify-items:stretch;min-width:0;padding:7px 8px 7px 6px;position:relative;text-align:left;transition:background .18s ease,box-shadow .18s ease}.game-shell .city-stage.active-city .city-garrison-unit:focus-visible,.game-shell .city-stage.active-city .city-garrison-unit:hover{background:linear-gradient(180deg,rgba(34,126,125,.26),rgba(7,47,43,.34));box-shadow:inset 0 -2px rgba(93,207,209,.55);outline:0}.game-shell .city-stage.active-city .city-garrison-unit-art{align-self:stretch;background-position:bottom;background-repeat:no-repeat;background-size:contain;display:block;filter:drop-shadow(0 3px 3px rgba(0,0,0,.7));grid-column:1;grid-row:1;min-height:46px;width:38px}.game-shell .city-stage.active-city .city-garrison-unit>span{display:grid;min-width:0}.game-shell .city-stage.active-city .city-garrison-unit>span small{color:#5fb8b5;font-size:6px;letter-spacing:.06em;overflow:hidden;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap}.game-shell .city-stage.active-city .city-garrison-unit>span b{align-self:start;color:#d8c59f;display:-webkit-box;font-family:Georgia,serif;font-size:10px;font-weight:500;line-height:1.05;overflow:hidden;-webkit-box-orient:vertical;-webkit-line-clamp:2}.game-shell .city-stage.active-city .city-garrison-unit>strong{color:#f1d8a7;display:grid;font-family:Georgia,serif;font-size:15px;font-variant-numeric:tabular-nums;font-weight:500;line-height:1;text-align:right}.game-shell .city-stage.active-city .city-garrison-unit>strong small{color:#7f897f;font-family:Inter,Segoe UI,sans-serif;font-size:6px;font-weight:500;margin-top:3px}.game-shell .city-stage.active-city .garrison-away-badge{background:#814733;border:1px solid rgba(219,135,97,.65);border-radius:7px;bottom:4px;color:#ffd5ae;font-size:6px;font-style:normal;padding:2px 4px;position:absolute;right:6px}.game-shell .city-stage.active-city .garrison-empty-state{align-items:center;background:rgba(11,28,24,.5);border:0;color:#6ec8c8;cursor:pointer;display:flex;gap:8px;grid-column:1/-1;justify-content:center;min-width:0;padding:8px}.game-shell .city-stage.active-city .garrison-empty-state span{display:grid;text-align:left}.game-shell .city-stage.active-city .garrison-empty-state b{color:#d9c59d;font-family:Georgia,serif;font-size:10px}.game-shell .city-stage.active-city .garrison-empty-state small{color:#829087;font-size:7px}.game-shell .city-stage.active-city .garrison-more-units{align-content:center;background:rgba(16,45,39,.62);border:0;border-right:1px solid rgba(190,146,76,.2);color:#73ccca;cursor:pointer;display:grid;justify-items:center;padding:8px}.game-shell .city-stage.active-city .garrison-more-units b{font-family:Georgia,serif;font-size:18px;font-weight:500}.game-shell .city-stage.active-city .garrison-more-units small{color:#89938a;font-size:6px}.game-shell .city-stage.active-city .city-garrison-quick-actions{background:rgba(3,9,7,.72);display:grid;grid-auto-flow:column;grid-auto-columns:minmax(43px,auto)}.game-shell .city-stage.active-city .city-garrison-quick-actions button{align-items:center;background:transparent;border:0;border-left:1px solid rgba(190,146,76,.2);color:#ad9e83;cursor:pointer;display:flex;flex-direction:column;font-size:6px;gap:4px;justify-content:center;min-width:43px;padding:7px 8px}.game-shell .city-stage.active-city .city-garrison-quick-actions button:focus-visible,.game-shell .city-stage.active-city .city-garrison-quick-actions button:hover{background:rgba(24,94,87,.34);color:#6fd0d1;outline-offset:-2px}.game-shell .city-stage.active-city .city-garrison-quick-actions button.primary{color:#dfc38f}.game-shell .city-stage.active-city .city-garrison-expand .icon{transform:rotate(-90deg);transition:transform .18s ease}.game-shell .city-stage.active-city .city-garrison.is-open .city-garrison-expand .icon{transform:rotate(90deg)}.game-shell .city-stage.active-city .city-garrison-panel{backdrop-filter:blur(20px) saturate(1.12);background:linear-gradient(155deg,rgba(17,28,23,.99),rgba(5,10,8,.99)),radial-gradient(circle at 20% 0,rgba(55,170,166,.15),transparent 40%);border:1px solid rgba(190,146,76,.76);border-radius:11px;bottom:calc(100% + 10px);box-shadow:0 24px 64px rgba(0,0,0,.72),inset 0 1px rgba(255,228,174,.07);display:grid;max-height:min(510px,calc(100cqh - 150px));overflow:hidden;position:absolute;right:0;width:min(620px,100cqw);z-index:92}.game-shell .city-stage.active-city .city-garrison-panel>header{align-items:center;background:linear-gradient(90deg,rgba(27,62,52,.62),rgba(7,14,12,.2));border-bottom:1px solid rgba(190,146,76,.24);display:flex;justify-content:space-between;padding:13px 15px 11px}.game-shell .city-stage.active-city .city-garrison-panel>header>span{display:grid}.game-shell .city-stage.active-city .city-garrison-panel>header small{color:#66c8c9;font-size:7px;font-weight:800;letter-spacing:.14em}.game-shell .city-stage.active-city .city-garrison-panel>header b{color:#efd6a6;font-family:Georgia,serif;font-size:18px;font-weight:500;margin-top:3px}.game-shell .city-stage.active-city .city-garrison-panel>header em{color:#8d958b;font-size:7px;font-style:normal;margin-top:3px}.game-shell .city-stage.active-city .city-garrison-panel>header button{align-items:center;background:rgba(119,54,40,.12);border:1px solid rgba(175,99,75,.2);border-radius:7px;color:#ae9373;cursor:pointer;display:flex;height:31px;justify-content:center;width:31px}.game-shell .city-stage.active-city .city-garrison-panel>header button:hover{background:rgba(139,58,42,.28);color:#e6a48c}.game-shell .city-stage.active-city .city-garrison-panel>.garrison-overview{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));min-height:0;overflow:visible;padding:0}.game-shell .city-stage.active-city .garrison-overview>button{align-items:center;background:rgba(255,255,255,.014);border:0;border-bottom:1px solid rgba(190,146,76,.18);border-right:1px solid rgba(190,146,76,.16);cursor:pointer;display:grid;gap:8px;grid-template-columns:30px minmax(0,1fr);padding:10px 12px;text-align:left}.game-shell .city-stage.active-city .garrison-overview>button:last-child{border-right:0}.game-shell .city-stage.active-city .garrison-overview>button:hover{background:rgba(40,125,119,.16)}.game-shell .city-stage.active-city .garrison-overview>button>i{align-items:center;border:1px solid;border-radius:50%;display:flex;height:30px;justify-content:center;opacity:.88;width:30px}.game-shell .city-stage.active-city .garrison-overview>button>span{display:grid}.game-shell .city-stage.active-city .garrison-overview small{color:#7d8b83;font-size:6px;font-weight:800;letter-spacing:.1em}.game-shell .city-stage.active-city .garrison-overview b{color:#e9d2a3;font-family:Georgia,serif;font-size:17px;font-variant-numeric:tabular-nums;font-weight:500;line-height:1;margin-top:2px}.game-shell .city-stage.active-city .garrison-overview em{color:#81877f;font-size:6px;font-style:normal;margin-top:3px}.game-shell .city-stage.active-city .garrison-overview .ready{color:#64c8c8}.game-shell .city-stage.active-city .garrison-overview .stationed{color:#d1ad69}.game-shell .city-stage.active-city .garrison-overview .away{color:#d77f63}.game-shell .city-stage.active-city .garrison-training-status{align-items:center;background:linear-gradient(90deg,rgba(28,103,98,.2),rgba(9,25,21,.18));border:0;border-bottom:1px solid rgba(79,174,169,.22);color:#65c7c7;cursor:pointer;display:grid;gap:9px;grid-template-columns:28px 1fr auto auto;padding:8px 13px;text-align:left}.game-shell .city-stage.active-city .garrison-training-status>i{align-items:center;background:rgba(40,130,124,.18);border-radius:50%;display:flex;height:28px;justify-content:center;width:28px}.game-shell .city-stage.active-city .garrison-training-status>span{display:grid}.game-shell .city-stage.active-city .garrison-training-status small{font-size:6px;letter-spacing:.12em}.game-shell .city-stage.active-city .garrison-training-status b{color:#d9c49b;font-size:9px;margin-top:2px}.game-shell .city-stage.active-city .garrison-training-status time{color:#f0d39b;font-family:Georgia,serif;font-size:12px}.game-shell .city-stage.active-city .city-garrison-panel>.garrison-unit-ledger{display:grid;gap:0;grid-template-columns:repeat(2,minmax(0,1fr));min-height:0;overflow:auto;padding:5px 10px;scrollbar-color:rgba(75,161,158,.5) transparent;scrollbar-width:thin}.game-shell .city-stage.active-city .garrison-unit-ledger>button{align-items:center;background:transparent;border:0;border-bottom:1px solid rgba(190,146,76,.13);color:#d8c49c;cursor:pointer;display:grid;gap:4px 8px;grid-template-columns:42px minmax(0,1fr) auto;min-width:0;padding:7px 8px 9px;position:relative;text-align:left;width:100%}.game-shell .city-stage.active-city .garrison-unit-ledger>button:nth-child(odd){border-right:1px solid rgba(190,146,76,.13)}.game-shell .city-stage.active-city .garrison-unit-ledger>button:focus-visible,.game-shell .city-stage.active-city .garrison-unit-ledger>button:hover{background:rgba(35,119,113,.15);outline:1px solid rgba(86,194,193,.32);outline-offset:-1px}.game-shell .city-stage.active-city .garrison-unit-ledger>button.empty{opacity:.55}.game-shell .city-stage.active-city .garrison-unit-ledger>button.empty:hover{opacity:.9}.game-shell .city-stage.active-city .garrison-unit-ledger .garrison-unit-avatar{background-color:rgba(30,38,31,.76);background-position:bottom;background-repeat:no-repeat;background-size:contain;border:1px solid rgba(155,119,66,.56);border-radius:7px;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5));grid-row:1/3;height:44px;width:42px}.game-shell .city-stage.active-city .garrison-unit-copy{align-self:center;display:grid;min-width:0}.game-shell .city-stage.active-city .garrison-unit-copy small{color:#62b9b5;font-size:5.5px;letter-spacing:.1em}.game-shell .city-stage.active-city .garrison-unit-copy b{color:#dcc8a0;font-family:Georgia,serif;font-size:10px;font-weight:500;margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-shell .city-stage.active-city .garrison-unit-copy em{color:#7e867d;font-size:6px;font-style:normal;margin-top:2px}.game-shell .city-stage.active-city .garrison-unit-state{display:flex;gap:6px}.game-shell .city-stage.active-city .garrison-unit-state>i{display:grid;font-style:normal;justify-items:end}.game-shell .city-stage.active-city .garrison-unit-state small{color:#737c75;font-size:5px}.game-shell .city-stage.active-city .garrison-unit-state b{color:#d7bd8e;font-size:8px;font-variant-numeric:tabular-nums}.game-shell .city-stage.active-city .garrison-allocation{background:rgba(255,255,255,.05);bottom:5px;display:flex;height:2px;left:58px;overflow:hidden;position:absolute;right:8px}.game-shell .city-stage.active-city .garrison-allocation i{display:block;height:100%}.game-shell .city-stage.active-city .garrison-allocation .ready{background:#55bdbc}.game-shell .city-stage.active-city .garrison-allocation .stationed{background:#bd914b}.game-shell .city-stage.active-city .garrison-allocation .away{background:#b96049}.game-shell .city-stage.active-city .city-garrison-panel>footer{align-items:stretch;background:rgba(12,25,21,.88);border-top:1px solid rgba(190,146,76,.2);display:grid;gap:7px;grid-template-columns:1fr 1.15fr;padding:9px 11px}.game-shell .city-stage.active-city .city-garrison-panel>footer button{align-items:center;border:1px solid rgba(190,146,76,.34);border-radius:7px;color:#c7ad7d;cursor:pointer;display:flex;font-size:8px;gap:6px;justify-content:center;min-height:34px}.game-shell .city-stage.active-city .garrison-defence-action{background:rgba(117,83,37,.12)}.game-shell .city-stage.active-city .garrison-army-action{background:linear-gradient(180deg,rgba(27,115,111,.62),rgba(13,67,64,.72));border-color:rgba(81,193,192,.5)!important;color:#e9d4a8!important}.game-shell .city-stage.active-city .city-garrison-panel>footer button:hover{filter:brightness(1.16)}@media (min-width:1024px){.game-shell .city-stage.active-city .city-bottom-hud{align-items:end;bottom:13px;display:grid;gap:18px;grid-template-columns:minmax(190px,230px) minmax(0,1fr);left:14px;right:17px}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel{grid-column:1}.game-shell .city-stage.active-city .city-bottom-hud .city-garrison-stack{bottom:auto;grid-column:2;justify-self:end;max-width:760px;position:relative;right:auto;width:min(100%,760px)}}@media (max-width:1180px) and (min-width:721px){.game-shell .city-stage.active-city .city-garrison{grid-template-columns:130px minmax(0,1fr) auto}.game-shell .city-stage.active-city .garrison-summary-icon{display:none}.game-shell .city-stage.active-city .city-garrison-summary{grid-template-columns:minmax(0,1fr)}.game-shell .city-stage.active-city .city-garrison-quick-actions button span{display:none}.game-shell .city-stage.active-city .city-garrison-quick-actions button{padding-inline:7px}}@media (max-width:1023px){.game-shell .city-stage.active-city .city-bottom-hud .city-garrison-stack{bottom:58px!important;display:block!important;left:0!important;max-width:none!important;position:absolute!important;right:0!important;transform:none!important;width:auto!important}.game-shell .city-stage.active-city .city-garrison{grid-template-columns:112px minmax(0,1fr) auto}.game-shell .city-stage.active-city .city-garrison-summary{padding:8px 9px}.game-shell .city-stage.active-city .garrison-summary-icon,.game-shell .city-stage.active-city .garrison-summary-meta{display:none}.game-shell .city-stage.active-city .city-garrison-summary{grid-template-columns:1fr}.game-shell .city-stage.active-city .garrison-copy small{font-size:6px;letter-spacing:.08em}.game-shell .city-stage.active-city .garrison-copy b{font-size:18px}.game-shell .city-stage.active-city .city-garrison-roster{grid-auto-columns:minmax(108px,1fr);overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:none;scroll-snap-type:x proximity}.game-shell .city-stage.active-city .city-garrison-roster::-webkit-scrollbar{display:none}.game-shell .city-stage.active-city .city-garrison-unit{grid-template-columns:32px minmax(0,1fr) auto;padding:5px;scroll-snap-align:start}.game-shell .city-stage.active-city .city-garrison-unit-art{min-height:39px;width:31px}.game-shell .city-stage.active-city .city-garrison-unit>span b{font-size:8px}.game-shell .city-stage.active-city .city-garrison-unit>strong{font-size:12px}.game-shell .city-stage.active-city .city-garrison-quick-actions button span,.game-shell .city-stage.active-city .city-garrison-unit>strong small,.game-shell .city-stage.active-city .garrison-away-badge{display:none}.game-shell .city-stage.active-city .city-garrison-quick-actions button{min-width:35px;padding:6px}.game-shell .city-stage.active-city .city-garrison-panel{bottom:calc(100% + 8px)!important;left:0!important;max-height:min(58dvh,430px)!important;right:0!important;width:100%!important}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city .city-bottom-hud .city-garrison-stack{bottom:58px!important}.game-shell .city-stage.active-city .city-garrison{border-radius:9px;grid-template-columns:88px minmax(0,1fr) auto}.game-shell .city-stage.active-city .garrison-copy small{white-space:normal}.game-shell .city-stage.active-city .garrison-copy em{display:none}.game-shell .city-stage.active-city .city-garrison-roster{grid-auto-columns:104px}.game-shell .city-stage.active-city .city-garrison-quick-actions button:not(.city-garrison-expand),.game-shell .city-stage.active-city .city-garrison-unit:nth-of-type(n+3){display:none}.game-shell .city-stage.active-city .city-garrison-quick-actions{grid-auto-columns:34px}.game-shell .city-stage.active-city .garrison-overview em,.game-shell .city-stage.active-city .garrison-unit-state small{display:none}.game-shell .city-stage.active-city .city-garrison-panel>.garrison-unit-ledger{grid-template-columns:1fr}.game-shell .city-stage.active-city .garrison-unit-ledger>button:nth-child(odd){border-right:0}}@media (max-width:390px) and (orientation:portrait){.game-shell .city-stage.active-city .city-garrison{grid-template-columns:76px minmax(0,1fr) 30px}.game-shell .city-stage.active-city .city-garrison-roster{grid-auto-columns:96px}.game-shell .city-stage.active-city .city-garrison-unit>span small{display:none}}@media (prefers-reduced-motion:reduce){.game-shell .city-stage.active-city .city-garrison-expand .icon,.game-shell .city-stage.active-city .city-garrison-unit{transition:none}}.game-shell .city-construction-site{pointer-events:none}.game-shell .construction-site-status{gap:4px;min-width:132px;padding:8px}.game-shell .construction-site-status>b{font-size:10.5px}.game-shell .construction-site-status>b .icon{height:14px;width:14px}.game-shell .construction-site-status>small{font-size:8.5px}.game-shell .construction-site-status>i{height:4px}.game-shell .construction-site-rush{align-items:center;background:linear-gradient(180deg,rgba(26,137,143,.92),rgba(10,73,78,.96));border:1px solid rgba(92,210,216,.72);color:#e7d2a4;cursor:pointer;display:flex;font-size:8.5px;font-weight:700;gap:4px;justify-content:center;letter-spacing:.035em;margin-top:4px;min-height:29px;padding:0 8px;pointer-events:auto;white-space:nowrap;width:100%}.game-shell .construction-site-rush .icon{color:#74e1e8;filter:drop-shadow(0 0 5px rgba(70,211,220,.48));flex:0 0 auto;height:12px;width:12px}.game-shell .construction-site-rush:hover:not(:disabled){background:linear-gradient(180deg,rgba(37,166,171,.98),rgba(12,91,96,.98));color:#fff0cb}.game-shell .construction-site-rush:focus-visible{outline:2px solid #f0c96e;outline-offset:2px}.game-shell .construction-site-rush:disabled{cursor:not-allowed;filter:grayscale(.7);opacity:.52}@media (max-width:720px),(orientation:landscape) and (max-width:950px) and (max-height:520px){.game-shell .construction-site-status{min-width:138px}.game-shell .construction-site-rush{font-size:9px;min-height:31px}}@media (max-width:720px) and (orientation:portrait){.game-shell .city-stage.active-city.city-layered .city-building-layer:not(.layer-watch):not(.layer-wall){transform:translate(calc(-50% + var(--city-layer-level-x, 0%)),calc(-72% + var(--city-layer-level-y, 0%))) scale(var(--city-layer-level-scale,1))!important}.game-shell .city-stage.active-city.city-layered .city-building-layer.layer-watch{transform:translate(calc(-50% + var(--city-layer-level-x, 0%)),calc(-82% + var(--city-layer-level-y, 0%))) scale(var(--city-layer-level-scale,1))!important}.game-shell .city-stage.active-city.city-layered .city-building-layer.layer-wall{transform:translate(calc(-50% + var(--city-layer-level-x, 0%)),calc(-72% + var(--city-layer-level-y, 0%))) scale(var(--city-layer-level-scale,1))!important}.game-shell .city-stage.active-city .city-bottom-hud{inset:auto 0 0!important;pointer-events:none!important;position:fixed!important;width:100%!important;z-index:170!important}.game-shell .city-stage.active-city .city-bottom-hud .city-garrison-stack{bottom:calc(var(--mobile-tab-height, 62px) + 72px + env(safe-area-inset-bottom))!important;display:block!important;left:10px!important;max-width:none!important;pointer-events:auto!important;position:fixed!important;right:10px!important;transform:none!important;width:auto!important;z-index:172!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{left:10px!important;max-width:none!important;pointer-events:auto!important;right:calc(50% + 5px)!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed,.game-shell .city-stage.active-city .city-command-scores{bottom:calc(var(--mobile-tab-height, 62px) + 10px + env(safe-area-inset-bottom))!important;position:fixed!important;transform:none!important;width:auto!important;z-index:173!important}.game-shell .city-stage.active-city .city-command-scores{height:50px!important;left:calc(50% + 5px)!important;min-height:50px!important;right:10px!important;top:auto!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-garrison-stack{opacity:0!important;pointer-events:none!important;visibility:hidden!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;pointer-events:auto!important;position:fixed!important;right:8px!important;transform:none!important;width:auto!important;z-index:176!important}.game-shell .city-stage.active-city .city-construction-site{transform:translate(-50%,-198%)!important}.game-shell .city-stage.active-city .city-construction-site.construction-watch{transform:translate(-50%,-218%)!important}.game-shell .city-stage.active-city .city-construction-site.construction-wall{transform:translate(-50%,-228%)!important}}@media (max-width:390px) and (orientation:portrait){.game-shell .city-stage.active-city .city-bottom-hud .city-garrison-stack{left:8px!important;right:8px!important}.game-shell .city-stage.active-city .city-bottom-hud .chat-panel.closed{left:8px!important;right:calc(50% + 4px)!important}.game-shell .city-stage.active-city .city-command-scores{left:calc(50% + 4px)!important;right:8px!important}}html{-webkit-text-size-adjust:100%;text-size-adjust:100%}.entry-portal{max-width:100%;overflow-x:clip;overscroll-behavior-x:none}.entry-portal :is(img,picture,video,canvas,svg){max-width:100%}.entry-portal :is(button,input,select,textarea){max-width:100%}.portal-archive-grid>*,.portal-cinematic-copy,.portal-final-cta>*,.portal-footer-inner>*,.portal-form-card,.portal-gameplay-showcase>article>*,.portal-live-grid>*{min-width:0}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{align-items:center;backdrop-filter:none;background:transparent;border:0;box-shadow:none;display:flex;height:116px;justify-content:space-between;max-width:1520px;padding:0 74px 0 86px;top:20px;width:calc(100% - 62px)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame{grid-template-columns:48px minmax(0,1fr) 48px;inset:0}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame:before{content:none;display:none}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame>i{background-position:50%;background-repeat:no-repeat!important;background-size:100% 100%!important}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-left{background-image:url(/assets/portal/navigation/kaira-navbar-panel-left-v2.webp)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-rail{background-image:url(/assets/portal/navigation/kaira-navbar-panel-rail-v2.webp)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-right{background-image:url(/assets/portal/navigation/kaira-navbar-panel-right-v2.webp)}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand{align-self:center;bottom:auto;flex:0 0 142px;grid-template-columns:142px!important;height:116px;left:auto;margin:0;min-width:142px!important;position:relative;top:auto;transform:none;width:142px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand:hover>span.kaira-logo-mark,:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand>span.kaira-logo-mark{height:142px!important;transform:translateY(-9px);width:150px!important}:is(.portal-screen-faction,.portal-screen-placement) .portal-brand>:is(b,small,.historical-wordmark){display:none!important}:is(.portal-screen-faction,.portal-screen-placement) .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-faction,.portal-screen-placement) .portal-cinematic-header nav button{align-items:center;box-sizing:border-box;display:flex;height:40px;justify-content:center;line-height:1;min-height:40px;padding-bottom:0;padding-top:0;width:auto}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav .portal-nav-login,:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav .portal-nav-play{background:none!important;border:9px solid transparent!important;border-image-repeat:stretch!important;border-image-slice:29% 9% fill!important;border-image-width:9px!important;clip-path:none!important;height:44px;padding:0 13px;position:relative}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav .portal-nav-login{border-image-source:url(/assets/portal/navigation/buttons/kaira-login-button-v1.webp)!important;min-width:86px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav .portal-nav-play{border-image-source:url(/assets/portal/navigation/buttons/kaira-play-button-v1.webp)!important;min-width:146px;padding-inline:19px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav :is(.portal-nav-login,.portal-nav-play):after{display:none}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav :is(.portal-nav-login,.portal-nav-play)>span{align-items:center;display:flex;height:100%;justify-content:center;white-space:nowrap}:is(.portal-screen-faction,.portal-screen-placement) :is(.faction-overlay,.placement-overlay){inset:136px 0 0;min-height:calc(100svh - 136px)}.faction-world-schedule{align-items:center;background:rgba(34,106,101,.1);border:1px solid rgba(83,190,186,.24);display:flex;gap:9px;padding:8px 12px}.faction-world-schedule>.icon{color:#58c4c1}.faction-world-schedule p{display:grid;margin:0}.faction-world-schedule small,.registration-availability-notice small{color:#59c4c2;font-size:7px;font-weight:800;letter-spacing:.15em}.faction-world-schedule b{color:#dfc79b;font-family:Georgia,serif;font-size:11px;font-weight:500;margin-top:2px}.registration-availability-notice{align-items:center;background:radial-gradient(circle at 14% 50%,rgba(65,174,167,.13),transparent 32%),linear-gradient(90deg,rgba(9,30,25,.97),rgba(6,14,11,.98));border:1px solid rgba(83,190,186,.34);display:grid;gap:13px;grid-template-columns:44px minmax(0,1fr);margin:20px auto 0;max-width:1370px;padding:13px 16px}.registration-availability-notice>i{align-items:center;border:1px solid rgba(207,158,79,.48);border-radius:50%;color:#ddac5e;display:flex;height:42px;justify-content:center;width:42px}.registration-availability-notice>span{display:grid}.registration-availability-notice b{color:#ecd3a8;font-family:Georgia,serif;font-size:15px;font-weight:500;margin-top:3px}.registration-availability-notice p{color:#92998f;font-size:9px;line-height:1.5;margin:4px 0 0}.registration-world-list>button{position:relative}.registration-world-list>button>mark{background:rgba(20,115,112,.18);border:1px solid rgba(84,198,193,.34);color:#65cbc6;font-size:6px;font-weight:800;letter-spacing:.1em;padding:4px 6px;position:absolute;right:8px;top:8px}.registration-world-list>button:is(.upcoming,.locked,.full){cursor:not-allowed;filter:saturate(.48);opacity:.68}.registration-world-list>button.upcoming{background:linear-gradient(90deg,rgba(112,80,35,.14),rgba(255,255,255,.012));border-color:rgba(200,151,76,.33);filter:none;opacity:.82}.registration-world-list>button.upcoming>mark{background:rgba(131,90,38,.24);border-color:rgba(213,164,86,.48);color:#e5c17f}.registration-world-list>button.full>mark,.registration-world-list>button.locked>mark{background:rgba(91,39,30,.28);border-color:rgba(177,90,70,.42);color:#d58f7c}.registration-world-empty{align-items:center;border:1px dashed rgba(192,145,73,.32);color:#b69e77;display:flex;gap:10px;margin:12px 0 0;padding:14px}.registration-world-empty span{display:grid}.registration-world-empty b{font-family:Georgia,serif;font-size:12px;font-weight:500}.registration-world-empty small{color:#7f887f;font-size:8px;margin-top:3px}@media (max-width:1180px){.portal-cinematic-hero{min-height:min(940px,100svh)}.portal-cinematic-copy{max-width:min(760px,calc(100vw - 64px));padding-inline:16px}.portal-feature-strip{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-feature-strip article+article{border-left:0}.portal-feature-strip article:nth-child(2n){border-left:1px solid rgba(190,145,76,.18)}.portal-archive-grid,.portal-live-grid{grid-template-columns:minmax(0,1fr)}.portal-live-overview,.portal-season-archive,.portal-standalone-section{padding-inline:clamp(20px,4vw,48px)}.faction-overlay,.placement-overlay{box-sizing:border-box;inset:0;max-width:100vw;min-width:0;overflow-x:clip;overflow-y:auto;padding-inline:clamp(20px,4vw,54px);width:100%}.faction-grid,.faction-overlay .faction-grid{grid-template-columns:repeat(2,minmax(0,1fr));min-width:0;width:100%}.faction-footer,.faction-footer-actions,.faction-overlay>footer,.placement-flow{min-width:0;width:100%}.placement-flow{grid-template-columns:minmax(220px,.72fr) minmax(0,1.28fr)}.placement-confirm{box-sizing:border-box}.game-shell,.placement-confirm,.quadrant-map,.registration-region-map,.registration-world-list{min-width:0;width:100%}.game-shell{--nav-width:84px;--panel-width:238px}.topbar{grid-template-columns:minmax(174px,.72fr) minmax(420px,1.7fr) minmax(168px,.64fr)}.game-grid{grid-template-columns:var(--nav-width) minmax(0,1fr) var(--panel-width)}}@media (max-width:1100px){:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive,.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{max-width:none;z-index:100}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{height:86px;padding:0 20px;top:10px;width:calc(100% - 24px)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame{grid-template-columns:38px minmax(0,1fr) 38px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand{flex:0 0 104px;grid-template-columns:104px!important;height:86px;margin-right:auto;min-width:104px!important;width:104px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand:hover>span.kaira-logo-mark,:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand>span.kaira-logo-mark{height:104px!important;transform:translateY(-8px);width:116px!important}:is(.portal-screen-faction,.portal-screen-placement) :is(.faction-overlay,.placement-overlay){inset:96px 0 0;min-height:calc(100svh - 96px)}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive,.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav{backdrop-filter:blur(22px);-webkit-backdrop-filter:blur(22px);background:radial-gradient(circle at 50% 0,rgba(73,151,144,.12),transparent 58%),linear-gradient(180deg,rgba(4,17,14,.99),rgba(2,9,8,.99));border:1px solid rgba(198,150,76,.42);box-shadow:0 24px 70px rgba(0,0,0,.7);max-height:calc(100svh - 112px);overflow-y:auto;z-index:102}:is(.portal-screen-faction,.portal-screen-placement) .portal-menu-toggle{display:flex;margin-left:auto}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav{display:grid;gap:8px;grid-template-columns:repeat(2,minmax(0,1fr));left:12px;opacity:0;padding:18px;pointer-events:none;position:fixed;right:12px;top:98px;transform:translateY(-10px);visibility:hidden;width:auto}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav.open{opacity:1;pointer-events:auto;transform:translateY(0);visibility:visible}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav button{display:flex;justify-content:center;min-height:44px;width:100%}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav :is(.portal-nav-login,.portal-nav-play){justify-self:center;max-width:220px;width:min(100%,220px)}}@media (min-width:721px) and (max-width:930px){.game-shell{--nav-width:72px;--panel-width:204px}.topbar{grid-template-columns:minmax(148px,.64fr) minmax(360px,1.72fr) minmax(142px,.62fr)}.topbar :is(small,em){font-size:7px}.topbar b{font-size:11px}.side-nav button{padding-inline:7px}.activity-panel{padding-inline:10px}}@media (max-width:900px){.portal-cinematic-hero{min-height:max(720px,100svh)}.portal-cinematic-copy{max-width:min(680px,calc(100vw - 40px))}.portal-cinematic-copy h1{font-size:clamp(52px,10vw,82px)}.portal-final-cta,.portal-gameplay-showcase,.portal-kaganate-stage,.portal-live-overview,.portal-season-archive,.portal-world-proof{max-width:calc(100vw - 28px)}.portal-gameplay-showcase>article,.portal-gameplay-showcase>article:nth-of-type(2n){grid-template-columns:minmax(0,1fr)}.portal-gameplay-showcase>article:nth-of-type(2n) .portal-scene-art,.portal-gameplay-showcase>article:nth-of-type(2n) .portal-scene-copy{grid-column:1;grid-row:auto}.portal-final-cta,.portal-world-proof{grid-template-columns:minmax(0,1fr)}.portal-final-cta>img{height:clamp(280px,45vw,420px);order:-1}.portal-final-cta:after{background:linear-gradient(180deg,transparent 26%,#030b09 55%)}.portal-active-worlds,.portal-ranking-list,.portal-ranking-podium{min-width:0;width:100%}.portal-form-card.login-card,.portal-form-card.register-card{max-width:min(640px,calc(100vw - 48px));width:100%}.placement-flow{grid-template-columns:minmax(0,1fr)}.registration-world-list{grid-template-columns:repeat(2,minmax(0,1fr))}}@media (max-width:680px){.entry-portal{min-height:100svh}:is(.portal-screen-landing,.portal-screen-live,.portal-screen-archive,.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{left:7px;right:7px;width:auto}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header nav{grid-template-columns:minmax(0,1fr);left:7px;padding:14px;right:7px;top:82px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{height:72px;padding:0 14px}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame{grid-template-columns:31px minmax(0,1fr) 31px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand{flex-basis:82px;grid-template-columns:82px!important;height:72px;min-width:82px!important;width:82px}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand:hover>span.kaira-logo-mark,:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header .portal-brand>span.kaira-logo-mark{height:78px!important;transform:translateY(-4px);width:86px!important}:is(.portal-screen-faction,.portal-screen-placement) :is(.faction-overlay,.placement-overlay){inset:82px 0 0;min-height:calc(100svh - 82px)}.portal-cinematic-hero{box-sizing:border-box;height:auto;min-height:max(700px,100svh);padding:104px 14px 46px}.portal-stage-art,.portal-stage-atmosphere,.portal-stage-background,.portal-stage-banners,.portal-stage-characters{max-width:none}.portal-cinematic-copy{max-width:100%;padding-inline:0;width:100%}.portal-cinematic-copy h1{font-size:clamp(43px,13vw,62px);line-height:.94;overflow-wrap:anywhere}.portal-cinematic-copy>p{font-size:14px;line-height:1.55;margin-inline:auto;max-width:35ch}.portal-cinematic-actions{align-items:stretch;margin-inline:auto;max-width:360px;width:100%}.portal-cinematic-actions button{min-height:48px;width:100%}.portal-store-badges{align-items:stretch;display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-inline:auto;max-width:340px;width:100%}.portal-store-badges :is(a,button,img,picture){box-sizing:border-box;height:auto;min-width:0;width:100%}.portal-waitlist{box-sizing:border-box;max-width:420px;width:100%}.portal-feature-strip{grid-template-columns:minmax(0,1fr);margin-inline:14px;width:auto}.portal-feature-strip article,.portal-feature-strip article:nth-child(2n){border-left:0;border-top:1px solid rgba(190,145,76,.18)}.portal-feature-strip article:first-child{border-top:0}.portal-gameplay-showcase,.portal-kaganates,.portal-live-overview,.portal-season-archive,.portal-standalone-section{box-sizing:border-box;max-width:100%;padding-inline:14px;width:100%}.portal-kaganate-stage{box-sizing:border-box;height:auto;min-height:580px;overflow:hidden;width:100%}.portal-kaganate-grid{gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));padding-inline:12px;width:100%}.portal-kaganate-grid>*{min-width:0}.portal-gameplay-showcase{margin-bottom:48px;padding-top:16px}.portal-gameplay-showcase>header{margin-bottom:26px}.portal-gameplay-showcase>header h2{font-size:clamp(32px,10vw,42px)}.portal-gameplay-showcase>article{margin-top:16px;min-height:0}.portal-scene-art{min-height:260px}.portal-scene-copy{padding:27px 20px 30px}.portal-scene-copy h3{font-size:clamp(29px,9vw,38px)}.portal-scene-copy>button,.portal-world-proof>button{min-height:46px;width:100%}.portal-world-proof{box-sizing:border-box;margin:0 14px 48px;max-width:calc(100% - 28px);padding:20px 16px;width:auto}.portal-world-proof>div{grid-template-columns:repeat(2,minmax(0,1fr))}.portal-world-proof>div span{min-width:0;padding:12px 9px}.portal-final-cta{box-sizing:border-box;margin:40px 14px 24px;max-width:calc(100% - 28px);min-height:0;width:auto}.portal-final-cta>img{height:270px}.portal-final-cta>div{padding:32px 22px 36px}.portal-final-cta h2{font-size:clamp(37px,11vw,50px)}.portal-final-cta>div>div{align-items:stretch;flex-direction:column}.portal-final-cta button{width:100%}.portal-screen-login .portal-content,.portal-screen-register .portal-content{align-items:flex-start;box-sizing:border-box;min-height:100svh;overflow:visible;padding:62px 14px 42px;width:100%}.portal-form-card.login-card,.portal-form-card.register-card,.portal-screen-login .portal-form-card,.portal-screen-register .portal-form-card{box-sizing:border-box;margin:0 auto 28px;max-width:calc(100vw - 42px);padding:66px 24px 30px;width:100%}.portal-ornate-frame{inset:-14px}.frame-rail-bottom,.frame-rail-top{left:38px;right:38px}.frame-rail-left,.frame-rail-right{bottom:50px;top:50px;width:46px}.frame-corner{height:74px;width:78px}.frame-medallion{height:78px;top:-26px;width:172px}.portal-form-card h2{font-size:clamp(29px,9vw,38px)}.portal-form-card>p{font-size:12px;line-height:1.55}.portal-form-card input:not([type=checkbox]){font-size:16px;min-height:50px}.portal-oauth{grid-template-columns:minmax(0,1fr)}.portal-oauth button,.portal-submit{min-height:48px}.portal-auth-perks{grid-template-columns:minmax(0,1fr)}.portal-form-row{align-items:flex-start;flex-direction:column;gap:10px}.portal-legal-consents .portal-consent{align-items:flex-start!important;column-gap:10px}.portal-screen-register .portal-legal-consents .portal-consent input[type=checkbox]{margin-top:2px!important}.faction-overlay,.placement-overlay{padding:94px 14px 34px}.faction-overlay>header,.placement-overlay>header{padding-inline:4px}.faction-grid,.faction-overlay .faction-grid{grid-template-columns:minmax(0,1fr);margin-inline:auto;max-width:480px}.faction-grid>button,.faction-overlay .faction-grid>button{min-height:230px}.faction-footer,.faction-footer-actions,.faction-overlay>footer{align-items:stretch;flex-direction:column;gap:10px}.faction-footer-actions button,.faction-overlay>footer button{min-height:48px;width:100%}.faction-footer,.faction-footer-actions,.faction-overlay>footer,.placement-flow{min-width:0;width:100%}:is(.portal-screen-faction,.portal-screen-placement) .portal-cinematic-header{align-items:center;backdrop-filter:none;background:transparent;border:0;box-shadow:none;display:flex;height:116px;justify-content:space-between;max-width:1520px;padding:0 74px 0 86px;top:20px;width:calc(100% - 62px)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame{grid-template-columns:48px minmax(0,1fr) 48px;inset:0}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame:before{content:none;display:none}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame>i{background-position:50%;background-repeat:no-repeat!important;background-size:100% 100%!important}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-left{background-image:url(/assets/portal/navigation/kaira-navbar-panel-left-v2.webp)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-rail{background-image:url(/assets/portal/navigation/kaira-navbar-panel-rail-v2.webp)}:is(.portal-screen-faction,.portal-screen-placement) .portal-navigation-frame-right{background-image:url(/assets/portal/navigation/kaira-navbar-panel-right-v2.webp)}}@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}}}