.install-hint{max-width:440px;margin:14px auto 0;padding:14px 16px;border:1px solid #b99a5c88;border-radius:14px;background:linear-gradient(#1e332acc,#13221bcc);color:#efe6d0;font:14px/1.4 PT Sans,sans-serif;text-align:left}.install-hint h3{margin:0 0 4px;font:700 20px Cormorant Garamond,Georgia,serif;color:#f0cd78}.install-hint p{margin:4px 0}.install-lead{color:#d9d2bd}.install-note{font-size:12px;color:#aab5a8}.install-warn{padding:6px 10px;border-radius:8px;background:#7a4a1e55;color:#ffd9a8}.install-steps{margin:8px 0 0;padding-left:20px;display:grid;gap:6px}.install-button{display:block;width:100%;min-height:48px;margin:10px 0 4px;border:1px solid #2e5d12;border-radius:10px;background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;font:700 17px PT Sans,sans-serif;cursor:pointer}body .activity-panel .activity-row:has(.activity-speed){display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;column-gap:8px}body .activity-panel .activity-row:has(.activity-speed)>.activity-speed{grid-column:2;grid-row:1/3}body .activity-panel .activity-speed{min-height:30px;padding:3px 10px;border:1px solid #2e7d12;border-radius:8px;background:linear-gradient(#7fd04a,#2e7d12);color:#fff;font:700 13px var(--control-font,sans-serif);cursor:pointer;transform:none;box-shadow:none}body .activity-panel .activity-speed:hover{filter:brightness(1.08)}body .speedup-window{width:min(440px,calc(100vw - 24px))!important}.speedup-window .window-content{display:grid;gap:8px}.speedup-title{margin:0;font:700 18px Cormorant Garamond,serif;color:#3a2208}.speedup-left{font:700 16px PT Sans,sans-serif;color:#93662d}.speedup-done{font:700 18px PT Sans,sans-serif;color:#2e6e12}.speedup-list{display:grid;gap:4px;max-height:min(40vh,260px);overflow-y:auto}.speedup-row{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 6px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd;font:13px PT Sans,sans-serif;color:#2b1a07}.speedup-row button{min-height:30px;padding:3px 10px;font-size:13px;flex:none}.speedup-now{min-height:40px;font-size:15px}:is(.speedup-now,.building-instant,.research-instant){display:inline-flex!important;align-items:center;justify-content:center;gap:4px;white-space:nowrap}:is(.speedup-now,.building-instant,.research-instant) .currency-icon{width:18px;height:18px;object-fit:contain;flex:none}.speedup-window small .currency-icon{width:14px;height:14px;vertical-align:-2px}html body #speedup-dialog .speedup-row{background:#22343a!important;border-color:#8f7950!important;padding:8px 10px!important;gap:10px!important}html body #speedup-dialog .speedup-row>span{color:#f5e8cd!important;font-weight:600!important;line-height:1.35!important;min-width:0;overflow-wrap:anywhere}html body #speedup-dialog .speedup-row>button{flex:0 0 auto!important;width:auto!important;min-width:104px!important;min-height:44px!important;padding:6px 12px!important}html body #speedup-dialog .speedup-list{grid-auto-rows:max-content;min-height:0;overscroll-behavior:contain}html body #speedup-dialog>.window-content{padding:12px!important;gap:10px!important}@media(max-width:360px){html body #speedup-dialog .speedup-row>button{min-width:90px!important;padding-inline:8px!important}}.hospital-tab{display:grid;gap:8px;padding:8px 10px;color:#3a2412;font:14px/1.3 PT Sans,sans-serif}.hospital-tab .hosp-muted{margin:0;color:#7a5a30;text-align:center}.hospital-tab .hosp-cols{display:flex;gap:6px;overflow-x:auto;padding-bottom:4px}.hospital-tab .hosp-col{flex:0 0 110px;display:grid;justify-items:center;gap:4px;padding:6px 4px;border:1px solid #c9a76b;border-radius:6px;background:linear-gradient(#f3e6c6,#e3cf9f)}.hospital-tab .hosp-name{font:700 13px "PT Serif",serif;color:#3a2412;text-align:center;min-height:32px}.hospital-tab .hosp-val{font:700 italic 15px "PT Serif",serif;color:#5a3a18}.hospital-tab .hosp-range{writing-mode:vertical-lr;direction:rtl;width:28px;height:150px;accent-color:#8a6a2a}.hospital-tab .hosp-face{width:58px;height:58px;border-radius:50%;object-fit:cover;border:2px solid #b38a3a;background:#2b1d10}.hospital-tab .hosp-count{min-width:90px;padding:2px 6px;border-radius:4px;background:#1f8aa0;color:#fff;font-weight:700;text-align:center}.hospital-tab .hosp-foot{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:center;padding:8px;border-top:2px solid #a98945;background:#2b2418;color:#efe2c2;border-radius:6px}.hospital-tab .hosp-left{display:grid;gap:4px;justify-items:center}.hospital-tab .hosp-need{display:grid;grid-template-columns:auto repeat(5,minmax(44px,1fr));gap:2px 8px;align-items:center;font-weight:700}.hospital-tab .hosp-label{color:#d8c48f;font-size:13px}.hospital-tab .hosp-res{text-align:center}.hospital-tab .hosp-res.have{color:#bfb59a;font-weight:400}.hospital-tab .hosp-res.lack{color:#ff8a7a}.hospital-tab .hosp-heal,.hospital-tab .hosp-all{min-height:44px;min-width:150px}.hospital-tab .hosp-all{display:grid;gap:0}.hospital-tab .hosp-all small{font-size:13px}.hospital-tab .hosp-error{color:#a0261a;margin:0}.hospital-tab .hosp-care{display:grid;gap:4px}.hospital-tab .hosp-care-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:4px 6px;border:1px solid #d2b47c;border-radius:6px;background:#fbf3e0}html[data-device] body #details.game-dialog:has(.hospital-tab){background:linear-gradient(#242d35,#171d22)!important;color:#efe4ce!important}html[data-device] body #details.game-dialog #dialog-content.hospital-tab{display:flex;flex-direction:column;min-width:0;gap:12px;padding:10px;color:#efe4ce!important}html[data-device] body #details.game-dialog .hospital-tab :is(p,span,small,b,strong,h3,h4,label){color:#efe4ce!important;text-shadow:none!important}html[data-device] body #details.game-dialog .hospital-tab .hosp-muted{font:14px/1.4 PT Sans,sans-serif!important;color:#d2d4cc!important}html[data-device] body #details.game-dialog .hospital-tab .hosp-empty{width:100%;box-sizing:border-box;text-align:center;padding:22px 12px;border:1px solid #c5a56877;border-radius:8px;background:#233b32}html[data-device] body #details.game-dialog .hospital-tab .hosp-empty h3{margin:0 0 8px;font-size:22px}html[data-device] body #details.game-dialog .hospital-tab .hosp-col{background:#242d35!important;border-color:#c5a56888}html[data-device] body #details.game-dialog .hospital-tab .hosp-foot{grid-template-columns:1fr;background:#202b33!important;border:1px solid #c5a56888;padding:12px;gap:12px}html[data-device] body #details.game-dialog .hospital-tab .hosp-foot[hidden]{display:none!important}html[data-device] body #details.game-dialog .hospital-tab .hosp-need{grid-template-columns:48px repeat(5,minmax(0,1fr));gap:6px 3px;font-size:12px;text-align:center;min-width:0}.hospital-tab .hosp-need>img{width:22px;height:22px;object-fit:contain;justify-self:center}html[data-device] body #details.game-dialog .hospital-tab .hosp-res.lack,.hospital-tab .hosp-error{color:#ffad9e!important}html[data-device] body #details.game-dialog .hospital-tab :is(.hosp-heal,.hosp-all){width:100%;min-width:0;min-height:44px;background:linear-gradient(#82653b,#4b3926)!important;color:#fff0d2!important;border:1px solid #c5a568!important;border-radius:5px}html[data-device] body #details.game-dialog .hospital-tab :is(.hosp-heal,.hosp-all):disabled{opacity:.55}.hospital-tab .hosp-all small{display:inline-flex;align-items:center;justify-content:center;gap:5px}html[data-device] body #details.game-dialog .hospital-tab .hosp-care-row{background:#242d35!important;border-color:#c5a56888;flex-wrap:wrap}@layer kingdom-window-ui{:root{--ui-text:#efe5d2;--ui-muted:#c1cbd0;--ui-title:#efd49b;--ui-surface:#17252e;--ui-card:#243640;--ui-header:#142129;--ui-edge:#ad925e;--ui-selected:#3c493e;--ui-danger:#ffb5a2;--ui-danger-bg:#482c2c;--ui-success:#bce2ab;--window-text:var(--ui-text)!important;--window-title:var(--ui-title)!important;--window-muted:var(--ui-muted)!important;--window-surface:var(--ui-surface)!important;--window-card:var(--ui-card)!important;--window-header:var(--ui-header)!important;--window-edge:var(--ui-edge)!important;--window-warning:var(--ui-danger)!important;--window-warning-bg:var(--ui-danger-bg)!important;--window-success:var(--ui-success)!important}dialog:not([open]){display:none!important}dialog:is(.game-dialog,.chat-window,.parch-window){--ink:var(--ui-text);--ink-soft:var(--ui-muted);--parch:var(--ui-surface);--parch-2:var(--ui-card);--gold:var(--ui-title);--bronze:var(--ui-edge);color:var(--ui-text)!important;background:var(--ui-surface)!important;border-color:var(--ui-edge)!important;color-scheme:dark}dialog:is(.game-dialog,.chat-window,.parch-window) [hidden]{display:none!important}dialog:is(.game-dialog,.chat-window,.parch-window)>.window-head{position:relative!important;flex-shrink:0!important;box-sizing:border-box!important;min-height:64px!important;height:auto!important;padding:12px 64px!important;background:var(--ui-header)!important;border-bottom:1px solid var(--ui-edge)!important}dialog:is(.game-dialog,.parch-window)>.window-head :is(h2,h3){margin:0!important;color:var(--ui-title)!important;font:600 28px/1.2 Georgia,serif!important;text-align:center!important;overflow-wrap:anywhere}dialog:is(.game-dialog,.chat-window,.parch-window) :is(.close-dialog,.chat-close,.parch-close,.world-march-close),dialog.quest-book .qb-close{display:grid!important;place-items:center!important;box-sizing:border-box!important;flex-shrink:0!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;padding:0!important;border:1px solid var(--ui-edge)!important;border-radius:6px!important;background:#263b46!important;color:var(--ui-title)!important;font:400 28px/1 Georgia,serif!important;text-shadow:none!important;box-shadow:none!important;transform:none!important;z-index:5}dialog.game-dialog>.window-head>.close-dialog{position:absolute!important;inset:9px 8px auto auto!important;margin:0!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(button,input,select,textarea){box-sizing:border-box!important}dialog:is(.game-dialog,.chat-window,.parch-window) button{min-height:44px!important;touch-action:manipulation}dialog:is(.game-dialog,.chat-window,.parch-window) :is(input:not([type=range]):not([type=checkbox]):not([type=radio]),select,textarea){background:#10212a!important;color:var(--ui-text)!important;border-color:#897b5e!important;border-radius:5px!important;font-size:16px!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(input,textarea)::placeholder{color:var(--ui-muted)!important;opacity:1!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(button,input,select,textarea,a):focus-visible{outline:2px solid #f6db9f!important;outline-offset:2px!important}dialog:is(.game-dialog,.chat-window,.parch-window) button:is(.primary,.research-submit){background:linear-gradient(#d8bb7c,#b18e53)!important;color:#172129!important;border:1px solid #d8bd83!important;text-shadow:none!important;box-shadow:none!important;border-radius:6px!important}dialog:is(.game-dialog,.chat-window,.parch-window) button:is(.btn-green,.btn-blue,.quiet){background:linear-gradient(#345c60,#233e46)!important;color:var(--ui-text)!important;border:1px solid var(--ui-edge)!important;text-shadow:none!important;box-shadow:none!important;border-radius:6px!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(nav,.building-tabs,.profile-tabs,.recruit-tabs,.mail-tabs,.ally-tabs,.inventory-filters,.ratings-tabs,.ratings-sort)>button:is([aria-pressed=true],[aria-selected=true],.on,.active){background:#4c4934!important;color:#ffe4ac!important;border-color:#d8ba7a!important;box-shadow:inset 0 -2px #d8ba7a!important}dialog:is(.game-dialog,.chat-window,.parch-window) button:disabled{opacity:1!important;filter:none!important;background:#33434c!important;color:#c9d0d3!important;border-color:#6e818a!important;text-shadow:none!important;box-shadow:none!important;cursor:not-allowed!important}dialog:is(.game-dialog,.chat-window,.parch-window) button :is(span,small,b,strong){color:inherit!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(.muted,.hospital-muted,.resource-note,.res-note){color:var(--ui-muted)!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(.form-error,.hospital-error,.holding-error,.research-error,.cost-short,.cost-missing,.lack,.short,.res-error){color:var(--ui-danger)!important}dialog:is(.game-dialog,.chat-window,.parch-window) :is(.hospital-section,.holding-block,.holding-reason,.resource-info,.res-info){background:var(--ui-card)!important;color:var(--ui-text)!important;border-color:#7f775d!important}body.dialog-open :is(.hud,.kingdom-hud,.activity-panel,.world-tools,.world-zoom){visibility:hidden!important;pointer-events:none!important}dialog[open]{z-index:1000!important;overscroll-behavior:contain}@media(max-width:600px){dialog:is(.game-dialog,.parch-window)>.window-head{min-height:58px!important;padding:10px 58px!important}dialog:is(.game-dialog,.parch-window)>.window-head :is(h2,h3){font-size:25px!important}dialog.game-dialog>.window-head>.close-dialog{top:6px!important}}@media(prefers-reduced-motion:reduce){dialog *,dialog *:before,dialog *:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}}@layer kingdom-window-ui{body{--city-ink:var(--ui-text);--city-muted:var(--ui-muted);--city-gold:var(--ui-title);--city-panel:linear-gradient(155deg,#243640f5,#17252ef5);--city-line:#ad925e66}dialog:is(.game-dialog,.chat-window,.parch-window)>:is(.ep-header,.parch-head){background:var(--ui-header)!important;border-bottom-color:var(--ui-edge)!important;color:var(--ui-title)!important}dialog:is(.game-dialog,.parch-window)>:is(.ep-header,.parch-head) h2{font:600 28px/1.2 Georgia,serif!important;color:var(--ui-title)!important}dialog .ep-close,dialog .research-popup-close{width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;background:#263b46!important;color:var(--ui-title)!important;border:1px solid var(--ui-edge)!important;border-radius:6px!important;font:28px/1 Georgia,serif!important}.activity-panel{background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-edge)!important}.activity-panel>header{background:var(--ui-header)!important;border-bottom:1px solid var(--ui-edge)!important}.activity-panel>header h2{color:var(--ui-title)!important;font:600 28px/1.2 Georgia,serif!important}.activity-panel .activity-close{width:44px!important;height:44px!important;min-height:44px!important;background:#263b46!important;color:var(--ui-title)!important;border:1px solid var(--ui-edge)!important;border-radius:6px!important;font:28px/1 Georgia,serif!important}}@layer kingdom-window-ui{dialog :is(nav,.building-tabs,.profile-tabs,.recruit-tabs,.res-tabs,.inventory-filters,.parch-tabs)>button{font:600 14px/1.3 PT Sans,sans-serif!important}dialog button:is(.res-apply,.inventory-apply,.ep-primary,.ep-claim){background:linear-gradient(#d8bb7c,#b18e53)!important;color:#172129!important;border-color:#d8bd83!important;text-shadow:none!important}dialog .ui-window-state{margin:12px 0;padding:16px;border:1px solid #7f775d;border-radius:6px;background:var(--ui-card);color:var(--ui-text);font:15px/1.5 PT Sans,sans-serif}dialog .ui-window-state p{margin:0 0 12px;color:inherit!important}dialog .ui-window-state p:last-child{margin-bottom:0}dialog .ui-window-state.is-error{background:var(--ui-danger-bg);color:var(--ui-danger);border-color:#ae7866}dialog :is(.ep-error,.parch-error,.mail-error){color:var(--ui-danger)!important}}@layer kingdom-window-ui{html[data-device=phone] dialog#hospital-dialog{transform:none!important}dialog.quest-book [hidden]{display:none!important}dialog.quest-book .qb-close{position:absolute!important;inset:8px 8px auto auto!important;clip-path:none!important}dialog.quest-book :is(.qb-prev,.qb-next){position:absolute!important;top:auto!important;bottom:12px!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;clip-path:none!important;border-radius:6px!important;background:#263b46!important;color:var(--ui-title)!important;border:1px solid var(--ui-edge)!important;font:28px/1 Georgia,serif!important;opacity:1!important}dialog.quest-book .qb-prev{left:12px!important;right:auto!important}dialog.quest-book .qb-next{right:12px!important;left:auto!important}dialog.quest-book :is(.qb-left,.qb-right){padding-bottom:68px!important}}@layer kingdom-window-ui{dialog button[aria-label^=Закрыть]{box-sizing:border-box!important;min-width:44px!important;min-height:44px!important;width:44px!important;height:44px!important;padding:0!important;border:1px solid var(--ui-edge)!important;border-radius:6px!important;background:#263b46!important;color:var(--ui-title)!important;font:28px/1 Georgia,serif!important;text-shadow:none!important}}@layer kingdom-window-ui{#hospital-dialog .hospital-body{align-content:start!important;grid-auto-rows:max-content!important}#hospital-dialog .hospital-section{align-content:start!important}dialog.quest-book{color:var(--ui-text)!important;background:var(--ui-surface)!important;border:1px solid var(--ui-edge)!important;border-radius:8px!important}dialog.quest-book :is(.qb-pages,.qb-left,.qb-right){background:var(--ui-surface)!important;color:var(--ui-text)!important;border-color:var(--ui-edge)!important;box-shadow:none!important}dialog.quest-book :is(.qb-chapter,.qb-story,.qb-count,.qb-motto,.qb-toc li,.qb-toc li em,.qb-side em,.qb-locked){color:var(--ui-muted)!important}dialog.quest-book .qb-toc-on{background:var(--ui-selected)!important;color:var(--ui-title)!important}dialog.quest-book :is(.qb-bar,.qb-ribbon){background:var(--ui-card)!important;color:var(--ui-title)!important;border-color:var(--ui-edge)!important;text-shadow:none!important}dialog.quest-book :is(.qb-secret,.qb-secret-note,.qb-mark,.qb-label){color:#f0cf93!important}dialog.quest-book .qb-done :is(.qb-label,.qb-mark){color:var(--ui-success)!important}dialog.quest-book :is(.qb-help,.qb-claim){min-height:44px!important;padding:6px 12px!important;background:#29444e!important;color:var(--ui-text)!important;border:1px solid var(--ui-edge)!important;border-radius:6px!important;font:600 14px/1.35 PT Sans,sans-serif!important}}@layer kingdom-window-ui{dialog.quest-book .qb-pages{height:calc(100% - 60px)!important}dialog.quest-book :is(.qb-left,.qb-right){padding-bottom:20px!important}#market-window .window-content{padding:16px!important;box-sizing:border-box!important}@media(orientation:portrait){html[data-device=phone] dialog.quest-book .qb-pages{padding-bottom:12px!important}}}.startup-screen{position:fixed;inset:0;z-index:10000;display:grid;align-items:safe center;justify-items:center;overflow-y:auto;overflow-x:hidden;box-sizing:border-box;padding:max(20px,env(safe-area-inset-top)) max(16px,env(safe-area-inset-right)) max(20px,env(safe-area-inset-bottom)) max(16px,env(safe-area-inset-left));background:#142129;color:#efe5d2;text-align:center;font-family:PT Sans,system-ui,sans-serif;isolation:isolate}.startup-backdrop,.startup-shade{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:-2}.startup-backdrop{object-fit:cover;object-position:56% 42%}.startup-shade{z-index:-1;background:linear-gradient(180deg,#08131e38,#10202b66 35%,#091722e6),radial-gradient(ellipse at center,#10212c10,#09172277)}.startup-content{box-sizing:border-box;display:flex;flex-direction:column;align-items:center;gap:0;width:min(480px,100%);padding:26px 24px;border:1px solid #ad925e99;border-radius:12px;background:linear-gradient(145deg,#142129ee,#17252ee8);box-shadow:0 20px 70px #0007,inset 0 0 0 3px #0e1c2455;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px)}.startup-emblem{display:block;object-fit:contain;width:clamp(96px,18vh,176px);height:auto;aspect-ratio:1;margin-bottom:16px;filter:drop-shadow(0 5px 12px #0009)}.startup-content h1{font:600 clamp(30px,6vw,44px)/1.15 Georgia,serif;letter-spacing:.025em;margin:0 0 10px;color:#efd49b;text-shadow:0 2px 8px #0007}.startup-subtitle{font:400 clamp(17px,3vw,21px)/1.4 Georgia,serif;margin:0 0 28px;color:#e0d4b9}.startup-loading{width:100%;border-top:1px solid #ad925e55;padding-top:20px}.startup-status{font:400 16px/1.5 PT Sans,system-ui,sans-serif;min-height:24px;margin:0 0 14px;color:#efe5d2;overflow-wrap:anywhere}.startup-loading progress{display:block;appearance:none;box-sizing:border-box;width:100%;height:10px;border:1px solid #ad925e;border-radius:3px;padding:2px;background:#0d1c25;overflow:hidden}.startup-loading progress::-webkit-progress-bar{background:#0d1c25;border-radius:1px}.startup-loading progress::-webkit-progress-value{background:linear-gradient(90deg,#ad8a4e,#efd49b);border-radius:1px;transition:width .2s}.startup-loading progress::-moz-progress-bar{background:linear-gradient(90deg,#ad8a4e,#efd49b);border-radius:1px}.startup-value{display:block;font:400 14px/1.5 PT Sans,system-ui,sans-serif;color:#c1cbd0;margin-top:8px;font-variant-numeric:tabular-nums}.startup-actions{display:flex;justify-content:center;flex-wrap:wrap;gap:10px;margin-top:18px}.startup-actions:empty{display:none}.startup-actions button{flex:1;min-width:140px;min-height:44px;padding:10px 14px;border:1px solid #d8bd83;border-radius:6px;background:linear-gradient(#d8bb7c,#b18e53);color:#172129;font:600 15px/1.3 PT Sans,system-ui,sans-serif;box-shadow:none;text-shadow:none}.startup-actions button+button{background:#29444e;color:#efe5d2;border-color:#ad925e}.startup-actions button:focus-visible{outline:2px solid #f6db9f;outline-offset:3px}.startup-failed .startup-status{color:#ffb5a2}.startup-failed :is(progress,.startup-value){display:none}@media(max-width:360px){.startup-content{padding:22px 16px}.startup-content h1{font-size:30px}.startup-subtitle{font-size:17px}}@media(max-height:600px)and (orientation:landscape){.startup-content{width:min(640px,100%);display:grid;grid-template-columns:96px minmax(0,1fr);grid-template-areas:"emblem title" "emblem subtitle" "loading loading";gap:6px 20px;padding:18px 24px}.startup-emblem{grid-area:emblem;width:96px;margin:0}.startup-content h1{grid-area:title;align-self:end;font-size:34px;margin:0}.startup-subtitle{grid-area:subtitle;align-self:start;margin:0;font-size:18px}.startup-loading{grid-area:loading;margin-top:10px;padding-top:14px}.startup-actions{margin-top:12px}}@media(prefers-reduced-motion:reduce){.startup-loading progress::-webkit-progress-value{transition:none}}:root{font-family:Inter,Segoe UI,system-ui,sans-serif;color:#f5efdb;background:#14231d;font-synthesis:none;--surface:#1b3027;--line:#536044;--gold:#e7c878;--muted:#bfccb8;--danger:#ffd2c6;--ink:#17241d;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,input{font:inherit}button{cursor:pointer;min-height:44px;border:1px solid #697154;border-radius:8px;padding:11px 16px;background:#2b4031;color:#fff8e4;transition:background .15s,transform .15s;touch-action:manipulation}button:hover{background:#3c5140}button:active{transform:translateY(1px)}button:disabled{cursor:not-allowed;opacity:.5}button:focus-visible,input:focus-visible,a:focus-visible{outline:3px solid #ffe4a0;outline-offset:3px}.primary{background:var(--gold);border-color:var(--gold);color:var(--ink);font-weight:700;width:100%}.primary:hover{background:#f7da91}.quiet{background:transparent;border-color:#697154;color:#ebe5d2}.muted{color:var(--muted);font-size:14px;line-height:1.6}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;color:var(--gold);margin:0 0 16px}h1,h2,h3,p{margin-top:0}h1,h2{font-family:Georgia,Cambria,serif;font-weight:500}h2{font-size:26px}h3{font-size:16px}.welcome{min-height:100dvh;position:relative;display:grid;grid-template-columns:1fr 440px;align-items:center;gap:70px;padding:64px max(5vw,24px)}.welcome-art{position:absolute;inset:0;background:linear-gradient(90deg,#12241ce0,#12241c45 50%,#12241cbf),url(/art/bg-city-16x9.webp) center/cover;z-index:-1}.welcome-copy h1{font-size:clamp(42px,5vw,82px);line-height:1.05;margin-bottom:30px;text-shadow:0 3px 25px #0007}.welcome-copy>p:last-child{font-size:18px;line-height:1.7;text-shadow:0 2px 12px #000}.auth-card{background:#172b24f5;border:1px solid #b29a6670;border-radius:18px;padding:32px;box-shadow:0 20px 80px #0006}.brand-mark{width:72px;height:72px;display:block;margin-bottom:18px}.brand-mark img{width:100%;height:100%;display:block}.auth-tabs{display:flex;gap:8px;margin:24px 0}.auth-tabs button{flex:1;background:transparent}.auth-tabs [aria-pressed=true]{border-color:var(--gold);color:var(--gold);background:#e7c87812}label{display:block;font-size:14px;color:#e3e5d5;margin:0 0 16px}input{display:block;margin-top:8px;width:100%;height:48px;padding:10px 12px;border:1px solid #788371;background:#0f2119;border-radius:6px;color:#fff8e4;font-size:16px}input:invalid:not(:placeholder-shown):not(:focus){box-shadow:none}.form-error{color:var(--danger);min-height:0;font-size:14px;line-height:1.6;margin:10px 0}.form-error:empty{margin:0}.auth-footnote{text-align:center;color:var(--muted);font-size:12px;margin:22px 0 0}.topbar{display:flex;align-items:center;gap:24px;padding:18px 4vw;border-bottom:1px solid #4e5e40;background:#15271f}.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--gold);font:700 36px Georgia}.brand span{font:700 17px system-ui;letter-spacing:.12em}.brand small{display:block;font-size:9px;font-weight:500;margin-top:3px;letter-spacing:.2em;color:#bbc9b3}.city-title{margin:auto}.city-title h1{font-size:26px;margin-bottom:4px}.city-title p{font-size:12px;color:var(--muted);margin:0}#city-main{max-width:1600px;margin:auto;padding:20px 3vw 48px}.resources{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:10px}.resource{display:flex;align-items:center;gap:12px;min-width:0;background:#21342a;border:1px solid #536044;border-radius:10px;padding:12px 16px}.resource img{object-fit:contain;width:46px;height:46px}.resource>div{flex:1;min-width:0}.resource h2{font:500 12px system-ui;color:#e1e7d5;margin-bottom:4px}.resource strong{font-size:23px;display:block;font-variant-numeric:tabular-nums;letter-spacing:-.02em}.resource span[data-rate]{font-size:12px;color:#d7e4bd;display:block}.resource small{font-size:11px;color:#b7c4ac;display:block}.resource-track{height:3px;background:#0c2118;margin-top:7px;border-radius:3px;overflow:hidden}.resource-track span{display:block;height:100%;background:var(--gold)}.notice{font-size:14px;line-height:1.5;min-height:18px;margin:10px 0;color:#e2d9ba}.notice.error{color:var(--danger)}.city-layout{display:grid;grid-template-columns:minmax(0,1fr) 300px;gap:24px;align-items:start}.city-view{background:#1a2d23;border:1px solid #697154;border-radius:12px;overflow:hidden}.scene-heading{display:flex;align-items:center;justify-content:space-between;padding:10px 18px;font-size:11px;letter-spacing:.15em;color:var(--gold)}.scene-heading button{min-height:34px;padding:5px 12px;letter-spacing:0;font-size:12px}.scene{position:relative;height:650px;overflow:hidden;background:#526345}.scene picture,.scene picture img,#canvas,#hotspots{position:absolute;inset:0;width:100%;height:100%}.scene picture img{object-fit:cover}#canvas canvas{display:block}#hotspots{pointer-events:none}.hotspot{position:absolute;width:100px;height:100px;transform:translate(-50%,-50%);padding:0;border:0;border-radius:14px;background:transparent;pointer-events:auto}.hotspot:hover{background:#ffdf8b18}.hotspot:active{transform:translate(-50%,-50%)}#scene-loading{position:absolute;top:40%;left:10%;right:10%;padding:16px;background:#172b24ee;text-align:center;border-radius:10px}.scene-hint{font-size:12px;line-height:1.5;text-align:center;margin:0;padding:12px;color:#d6dec4}.city-side{display:grid;gap:20px}.queue-panel,.guide-panel{background:var(--surface);border:1px solid #58634a;border-radius:12px;padding:22px}.queue-panel h2{margin-bottom:20px}.queue-empty{font-size:16px;margin-bottom:8px}.queue-panel .primary{margin-top:16px}.queue-job h3{color:#f3e6c4;font-weight:600}.queue-timer{font:600 24px system-ui;font-variant-numeric:tabular-nums;color:var(--gold);margin-bottom:8px}.guide-panel{background:#203428}.guide-panel h2{font-size:21px}.guide-panel p{color:#d1ddc6;font-size:14px;line-height:1.6;margin-bottom:12px}.guide-panel p:last-child{margin:0}.buildings-title{font-size:21px;margin-bottom:12px}.building-list{display:grid;grid-template-columns:1fr 1fr;gap:8px}.building-row{padding:10px;display:flex;gap:10px;align-items:center;justify-content:space-between;font-size:12px;min-height:48px;text-align:left}.building-row strong{color:var(--gold);font-size:16px}dialog{background:#1b3027;color:#f5efdb;border:1px solid #b29a66;border-radius:14px;padding:32px;width:min(480px,calc(100vw - 24px));max-height:85dvh;overflow:auto;box-shadow:0 25px 100px #0009}dialog::backdrop{background:#08190bc9;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}dialog h2{font-size:32px;margin-bottom:14px}dialog h3{margin-top:24px;margin-bottom:10px}dialog p{line-height:1.6}dialog .eyebrow{padding-right:28px}dialog .primary{margin-top:12px}.close-dialog{position:absolute;top:8px;right:8px;width:44px;height:44px;border:0;background:transparent;font-size:26px;padding:0}.effect-now{color:var(--gold);border-bottom:1px solid #6b714a;padding-bottom:20px}.cost-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:14px 0}.cost-grid>div{display:flex;justify-content:space-between;gap:10px;background:#14251d;border-radius:6px;padding:10px 12px;font-size:13px}.cost-grid strong{font-variant-numeric:tabular-nums}.cost-short{color:#ffbdae}.blocked-reason{padding:18px;border:1px solid #718060;border-radius:8px;background:#263c2d}.slot-card{border-bottom:1px solid #5c6c4d;padding:0 0 22px;margin-bottom:18px}.slot-card:last-child{border:0;margin:0}.slot-card h3{font-size:19px}@media(min-width:1500px){.scene{height:740px}}@media(prefers-reduced-motion:reduce){*,*:before,*:after{transition:none!important;scroll-behavior:auto!important}}.game-nav{display:flex;gap:8px;margin:16px 0 22px;border-bottom:1px solid var(--line);padding-bottom:12px}.game-nav button{min-width:110px;background:transparent}.game-nav [aria-pressed=true],.branch-tabs [aria-pressed=true]{background:#e7c87818;border-color:var(--gold);color:var(--gold)}.progress-heading{display:flex;justify-content:space-between;align-items:start;gap:16px;margin:26px 0}.progress-heading h2{font-size:36px;margin:0 0 8px}.progress-heading .eyebrow{margin-bottom:12px}.progress-heading p:last-child{margin-bottom:0}.science-toolbar{display:flex;justify-content:space-between;gap:16px;align-items:center;flex-wrap:wrap}.branch-tabs{display:flex;gap:8px;flex-wrap:wrap}.progress-queue{border:1px solid var(--line);border-radius:12px;background:var(--surface);padding:20px;margin:20px 0}.progress-queue h3{color:var(--gold);margin-bottom:14px}.progress-queue p{margin:0}.work-row{display:flex;justify-content:space-between;gap:16px;padding:10px 0;border-bottom:1px solid #53604466;font-size:14px}.work-row:last-child{border:0}.work-row strong{color:var(--gold);font-variant-numeric:tabular-nums;white-space:nowrap}.level-jump{display:flex;gap:16px;align-items:center;flex-wrap:wrap}select{font:inherit;min-height:44px;background:var(--surface);color:#f5efdb;padding:10px 14px;border:1px solid var(--line);border-radius:8px}select:focus-visible,summary:focus-visible,.graph-viewport:focus-visible{outline:3px solid var(--gold);outline-offset:3px}.graph-viewport{overflow-x:auto;border:1px solid var(--line);border-radius:14px;background:#10231b;padding:20px;max-width:100%;scroll-snap-type:x proximity}.science-graph{display:flex;gap:36px;position:relative;width:max-content;align-items:flex-start}.science-column{display:flex;flex-direction:column;gap:22px;width:270px;scroll-snap-align:start;position:relative}.science-column>*{position:relative;z-index:1}.level-node{border-color:var(--gold);color:var(--gold);background:#1f3526;border-radius:30px;font-weight:600;font-size:14px}.science-node{display:flex;flex-direction:column;align-items:flex-start;text-align:left;gap:8px;position:relative;background:#21362b;min-height:142px;border-color:#667251;padding:18px;border-radius:12px;box-shadow:0 6px 12px #0002;white-space:normal}.science-node strong{font-size:16px;line-height:1.45;padding-right:28px}.node-level{align-self:flex-end;font-size:12px;color:var(--gold);font-variant-numeric:tabular-nums}.node-effect{font-size:13px;line-height:1.5;color:#d3ddc3}.node-status{font-size:12px;line-height:1.4;color:#b9c9b3;border-top:1px solid #56634a;padding-top:8px;width:100%}.science-node[data-state=ready]{border-color:var(--gold)}.science-node[data-state=ready] .node-status{color:var(--gold)}.science-node[data-state=complete]{background:#1c4937}.science-node:hover{background:#314a36}#science-edges{position:absolute;inset:0;pointer-events:none;z-index:0;overflow:visible}#science-edges path{fill:none;stroke:#718b59;stroke-width:2}#science-edges .requirement-edge{stroke:var(--gold);stroke-dasharray:5 4}.requirement-link{display:block;width:100%;margin:10px 0;text-align:left;background:#243d2e;font-size:14px}.army-summary{display:flex;gap:16px;flex-wrap:wrap;align-items:center;padding:18px 20px;border:1px solid var(--line);border-radius:12px;font-variant-numeric:tabular-nums;background:#253b2c}.army-summary>div{padding:6px 12px;border-right:1px solid var(--line)}.unit-class{margin-top:32px}.unit-class>h3{font:26px Georgia;color:var(--gold);margin-bottom:16px}.unit-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.unit-card{background:var(--surface);padding:22px;border:1px solid var(--line);border-radius:14px;min-width:0}.unit-heading{display:flex;gap:16px;align-items:center}.unit-heading h4{font:24px Georgia;margin:0 0 6px}.unit-heading p{margin:0;font-size:12px}.unit-portrait{width:64px;height:76px;display:grid;place-items:center;border:1px solid #6b825b;border-radius:12px;background:#16241d;flex-shrink:0;color:#b1c7dc}.unit-portrait svg{width:48px;height:48px}.unit-portrait.cavalry{color:#ddac9e}.unit-portrait.ranged{color:#9ecc9b}.unit-portrait.mage{color:#c8afd9}.unit-portrait.siege{color:#dfc280}.unit-portrait.scout{color:#c5cdc1}.unit-counts{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:14px;margin:20px 0}.unit-counts dt{color:var(--muted)}.unit-counts dd{margin:0;font-weight:600;font-variant-numeric:tabular-nums}.unit-stats{padding:12px 0;border-top:1px solid var(--line);margin-bottom:16px;font-size:14px;line-height:1.5}.unit-stats summary{cursor:pointer;min-height:44px;padding:10px 0}.unit-stats dl{display:grid;grid-template-columns:1fr auto;gap:8px}.unit-stats dt{color:var(--muted)}.unit-stats dd{margin:0}.unit-card>.quiet{width:100%}.unit-moves{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}.unit-moves button{padding:11px 8px;font-size:13px}.training-building h4{font-size:15px;margin:16px 0 6px}.hunger-warning{color:var(--danger);font-size:14px;font-weight:600;line-height:1.5;margin:8px 0 0}.resource.starving{border-color:#f4a189;background:#513025;grid-column:span 2}.resource.grain-deficit [data-rate]{color:var(--danger)}#progress-dialog input[type=range]{padding:0;accent-color:var(--gold);background:transparent}#progress-dialog input[type=number]{max-width:140px}#progress-dialog .eyebrow{text-transform:uppercase}#progress-dialog .requirement-link{min-height:48px}.unit-upgrade{display:flex;gap:6px;flex-wrap:wrap;align-items:center;margin-top:6px}.unit-upgrade select{flex:1 1 180px;min-height:34px}.unit-upgrade input{width:70px;min-height:34px}:root{--u:min(calc(100dvh / 720),calc(100vw / 1280));--gold:#f3d27a;--gold-2:#b8862f;--gold-dark:#5e3f0e;--ink:#2b1a07;--blue:#1d3f78;--blue-2:#0f2550;--red-2:#5e0c0c;--green-num:#b9ef6a;--glow:0 1px 0 #000,0 0 2px #000,0 0 5px rgba(0,0,0,.9)}*{box-sizing:border-box;margin:0;padding:0}html,body{height:100%;background:#0d1a12;overflow:hidden;font-family:PT Sans,sans-serif;color:#fff;-webkit-tap-highlight-color:transparent;-webkit-user-select:none;user-select:none}.disp{font-family:Cormorant Garamond,serif;font-weight:700;font-style:italic}.viewport{position:fixed;inset:0;overflow:hidden;cursor:grab;touch-action:none}.scene{position:absolute;left:50%;top:50%;transform:translate(calc(-50% + var(--px,0px)),calc(-50% + var(--py,0px)))}#city>img.bg{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}#map{width:calc(var(--u)*2600);height:calc(var(--u)*1500);background:linear-gradient(#463c0f47,#463c0f47),url(/art/shell/tile-grass.webp) 0 0/calc(var(--u)*520) repeat;display:none}body.on-map #city{display:none}body.on-map #map{display:block}.bld{position:absolute;transform:translate(-50%,-56%);cursor:pointer}.bld img{width:100%;height:auto;display:block;filter:drop-shadow(0 6px 6px rgba(0,0,0,.45))}.plaque{position:absolute;left:50%;bottom:8%;transform:translate(-50%);width:calc(var(--u)*30);height:calc(var(--u)*34);background:linear-gradient(#fbecc5,#c99c4c);clip-path:polygon(0 0,100% 0,100% 62%,50% 100%,0 62%);display:grid;place-items:start center;padding-top:calc(var(--u)*3);font:700 calc(var(--u)*17)/1 "Cormorant Garamond",serif;color:#3a2208;filter:drop-shadow(0 2px 2px rgba(0,0,0,.7))}.tplate{position:absolute;left:50%;top:-2%;transform:translate(-50%) rotate(-8deg);white-space:nowrap;padding:calc(var(--u)*3) calc(var(--u)*8);background:linear-gradient(#f2dca0,#c8994a);border:calc(var(--u)*1.5) solid #6b4a14;border-radius:calc(var(--u)*3);font:700 calc(var(--u)*15) "PT Sans";color:#5a1010;box-shadow:0 2px 3px #0009}.plot{position:absolute;transform:translate(-50%,-50%);width:5%;aspect-ratio:1;border-radius:50%;cursor:pointer;background:radial-gradient(circle,#ffe79680,#ffe79600 70%);display:grid;place-items:center;animation:pulse 2.4s infinite}.plot span{width:46%;aspect-ratio:1;border-radius:50%;background:linear-gradient(#ffe7a0,#c48a26);border:2px solid #5a3a08;display:grid;place-items:center;color:#4a2c00;font:700 calc(var(--u)*20)/1 "PT Sans"}@keyframes pulse{50%{transform:translate(-50%,-50%) scale(1.12)}}.mobj{position:absolute;transform:translate(-50%,-60%);text-align:center;cursor:pointer}.mobj img{display:block;margin:0 auto;filter:drop-shadow(0 4px 4px rgba(0,0,0,.45))}.mobj b{display:inline-block;margin-top:calc(var(--u)*-6);padding:calc(var(--u)*1) calc(var(--u)*12);background:linear-gradient(90deg,transparent,rgba(20,26,40,.75) 15%,rgba(20,26,40,.75) 85%,transparent);font:600 calc(var(--u)*15) "PT Sans";color:#eef;white-space:nowrap;text-shadow:0 1px 0 #000}.mobj.own b{color:#ffe36a;font-weight:700}.mobj.enemy b{color:#ffb0a0}.patch{position:absolute;border-radius:50%;background-size:calc(var(--u)*360);-webkit-mask-image:radial-gradient(closest-side,#000 55%,transparent);mask-image:radial-gradient(closest-side,#000 55%,transparent)}.hud{position:fixed;inset:0;pointer-events:none;z-index:5}.hud>*{pointer-events:auto;position:absolute}.ribbon{left:0;top:calc(var(--u)*2);height:calc(var(--u)*30);padding:0 calc(var(--u)*34) 0 calc(var(--u)*12);background:linear-gradient(#c22a2a,var(--red-2));clip-path:polygon(0 0,100% 0,93% 50%,100% 100%,0 100%);font:700 calc(var(--u)*21)/calc(var(--u)*30) "Cormorant Garamond",serif;color:#fff3cf;text-shadow:var(--glow);z-index:3}.avatar{left:calc(var(--u)*6);top:calc(var(--u)*24);width:calc(var(--u)*84);height:calc(var(--u)*84);border-radius:50%;overflow:hidden;cursor:pointer;z-index:2;border:calc(var(--u)*3.5) solid var(--gold);background:radial-gradient(#7d93b4,#24344f);box-shadow:0 0 0 calc(var(--u)*1.5) var(--gold-dark),0 3px 8px #000000b3}.avatar img{width:165%;margin:-8% 0 0 -32%}.avatar .chains,.avatar .rtimer{display:none}body.executed .avatar img{filter:grayscale(1) brightness(.75)}body.executed .avatar .chains{display:block;position:absolute;inset:0}body.executed .avatar .rtimer{display:block;position:absolute;left:0;right:0;top:8%;text-align:center;font:700 calc(var(--u)*15) "PT Sans";color:#fff;text-shadow:var(--glow)}.bank{left:calc(var(--u)*10);top:calc(var(--u)*96);width:calc(var(--u)*76);height:calc(var(--u)*60);cursor:pointer;background:linear-gradient(#c02626,#6e0b0b);clip-path:polygon(0 0,100% 0,100% 82%,50% 100%,0 82%);text-align:center;padding-top:calc(var(--u)*4)}.bank i{display:block;width:calc(var(--u)*18);height:calc(var(--u)*14);margin:0 auto;background:linear-gradient(135deg,#ffb3c6,#d4003a);clip-path:polygon(20% 0,80% 0,100% 35%,50% 100%,0 35%)}.bank b{display:block;font:700 calc(var(--u)*17)/1.05 "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.bank span{display:block;font:700 calc(var(--u)*17)/1 "Cormorant Garamond",serif;color:#fff2c4;text-shadow:var(--glow)}.prestige{left:calc(var(--u)*96);top:calc(var(--u)*30);width:calc(var(--u)*80);text-align:center;cursor:pointer}.prestige .crown{width:calc(var(--u)*46);height:calc(var(--u)*40);margin:0 auto;display:grid;place-items:center;background:linear-gradient(#ffe27a,#b07a1c);clip-path:polygon(0 30%,20% 50%,35% 10%,50% 40%,65% 10%,80% 50%,100% 30%,90% 100%,10% 100%);font:700 calc(var(--u)*24)/1 "Cormorant Garamond",serif;color:#3a2208;padding-top:calc(var(--u)*10)}.prestige b{display:block;margin-top:calc(var(--u)*-2);font:700 calc(var(--u)*17) "Cormorant Garamond",serif;color:#ffe9a8;text-shadow:var(--glow)}.prestige small{display:inline-block;padding:0 calc(var(--u)*6);background:#281c0ad9;border:1px solid var(--gold-2);border-radius:calc(var(--u)*3);font:calc(var(--u)*10) "PT Sans";color:#e8d9a8}.resbar{left:calc(var(--u)*240);right:calc(var(--u)*330);top:0;height:calc(var(--u)*34);display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--u)*34);background:linear-gradient(#1e180cdb,#1e180c99);border-bottom:calc(var(--u)*1.5) solid rgba(184,134,47,.7)}.resbar:before,.resbar:after{content:"";position:absolute;top:calc(var(--u)*4);width:calc(var(--u)*26);height:calc(var(--u)*26);border:calc(var(--u)*2) solid var(--gold-2);transform:rotate(45deg)}.resbar:before{left:calc(var(--u)*-6);border-right:0;border-top:0}.resbar:after{right:calc(var(--u)*-6);border-left:0;border-bottom:0}.res{position:relative;display:flex;align-items:center;gap:calc(var(--u)*5);cursor:help}.res img{width:calc(var(--u)*28);height:calc(var(--u)*28);object-fit:contain;filter:drop-shadow(0 1px 1px #000)}.res b{font:700 italic calc(var(--u)*22) "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.res.grow b{color:var(--green-num)}.res .tip{display:none;position:absolute;top:calc(var(--u)*34);left:0;white-space:nowrap;background:#0f0a04f2;border:1px solid var(--gold-2);border-radius:6px;padding:4px 8px;font:calc(var(--u)*13) "PT Sans";color:#eee;z-index:9}.res:hover .tip{display:block}.menu{right:calc(var(--u)*6);top:calc(var(--u)*4);bottom:calc(var(--u)*4);width:calc(var(--u)*80);display:flex;flex-direction:column;justify-content:space-between;align-items:center}.medal{display:flex;flex-direction:column;align-items:center;cursor:pointer;position:relative}.medal i{width:calc(var(--u)*50);height:calc(var(--u)*50);border-radius:50%;display:grid;place-items:center;background:radial-gradient(circle at 35% 30%,#5c86c4,var(--blue) 48%,var(--blue-2));border:calc(var(--u)*2.5) solid #d7b25c;box-shadow:0 0 0 calc(var(--u)*1) #4a3208,inset 0 calc(var(--u)*-4) calc(var(--u)*8) #00000073,0 3px 6px #0009}.medal.olive i{background:radial-gradient(circle at 35% 30%,#c9b86a,#857330 48%,#4a3d12)}.medal.red i{background:radial-gradient(circle at 35% 30%,#e06a4a,#9a2a12 48%,#4d0f06)}.medal svg{width:calc(var(--u)*28);height:calc(var(--u)*28);fill:#f3e2b0;filter:drop-shadow(0 1px 0 #1a1004)}.medal span{font:700 italic calc(var(--u)*17)/1.1 "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.medal[data-n]:after{content:attr(data-n);position:absolute;right:calc(var(--u)*8);top:calc(var(--u)*-3);min-width:calc(var(--u)*19);height:calc(var(--u)*19);border-radius:50%;background:#d21d1d;border:calc(var(--u)*1.5) solid #fff;font:700 calc(var(--u)*12)/calc(var(--u)*16) "PT Sans";color:#fff;text-align:center}.menu-map,body.on-map .menu-city{display:none}body.on-map .menu-map{display:flex}.side{left:calc(var(--u)*8);top:calc(var(--u)*180);display:flex;flex-direction:column;gap:calc(var(--u)*14);padding-left:calc(var(--u)*4);border-left:calc(var(--u)*3) solid rgba(184,134,47,.55)}.quest{width:calc(var(--u)*58);height:calc(var(--u)*58);position:relative;cursor:pointer;border-radius:50%;background:radial-gradient(circle at 40% 35%,#f4e6c0,#c9a565 60%,#7a5a22);border:calc(var(--u)*2) solid #e9cf8a;box-shadow:0 3px 6px #0009;display:grid;place-items:center}.quest svg{width:60%;height:60%}.quest em{position:absolute;right:calc(var(--u)*-8);bottom:calc(var(--u)*-4);font:700 calc(var(--u)*22)/1 "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.quest small{position:absolute;left:50%;bottom:calc(var(--u)*-10);transform:translate(-50%);white-space:nowrap;font:700 italic calc(var(--u)*14) "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.quest.trophy{background:radial-gradient(circle at 40% 35%,#ffd07a,#b5481c 60%,#5e1606)}.quest.trophy small{bottom:calc(var(--u)*-16);padding:0 calc(var(--u)*5);background:#1e1408d9;border:1px solid var(--gold-2);border-radius:3px;font:700 calc(var(--u)*13) "PT Sans";font-style:normal}.bar{left:0;bottom:0;height:calc(var(--u)*70);width:calc(var(--u)*370);display:flex;align-items:flex-end;gap:calc(var(--u)*14);padding:0 calc(var(--u)*14) calc(var(--u)*4);background:linear-gradient(transparent,#140e06d9 45%);border-top-right-radius:calc(var(--u)*20)}.bbtn{position:relative;width:calc(var(--u)*70);height:calc(var(--u)*64);cursor:pointer;display:grid;place-items:center}.bbtn svg{width:100%;height:100%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.7))}.bbtn[data-n]:after{content:attr(data-n);position:absolute;right:calc(var(--u)*2);bottom:calc(var(--u)*2);min-width:calc(var(--u)*20);height:calc(var(--u)*20);border-radius:50%;background:#d21d1d;border:calc(var(--u)*1.5) solid #fff;font:700 calc(var(--u)*12)/calc(var(--u)*17) "PT Sans";color:#fff;text-align:center}.bbtn .tt{display:none;position:absolute;bottom:105%;left:50%;transform:translate(-50%);white-space:nowrap;background:#0f0a04f2;border:1px solid var(--gold-2);border-radius:5px;padding:2px 8px;font:calc(var(--u)*13) "PT Sans"}.bbtn:hover .tt{display:block}.promo{right:calc(var(--u)*100);bottom:calc(var(--u)*34);display:flex;gap:calc(var(--u)*18);align-items:flex-end}.pbtn{text-align:center;cursor:pointer;position:relative}.pbtn .ic{width:calc(var(--u)*64);height:calc(var(--u)*56);margin:0 auto;display:grid;place-items:center}.pbtn .ic svg{width:100%;height:100%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.6))}.pbtn b{display:inline-block;padding:0 calc(var(--u)*6);background:#1e1408cc;border:1px solid var(--gold-2);border-radius:3px;font:700 calc(var(--u)*16) "Cormorant Garamond",serif;color:#ffe9a8;text-shadow:0 1px 0 #000}.pbtn .sale{position:absolute;top:calc(var(--u)*-14);left:0;right:0;font:700 calc(var(--u)*16) "PT Sans";color:#fff;text-shadow:var(--glow)}.ticker{left:calc(var(--u)*640);right:0;bottom:0;height:calc(var(--u)*32);display:flex;align-items:center;gap:calc(var(--u)*8);padding:0 calc(var(--u)*10);background:linear-gradient(90deg,#0a0e0666,#0a0e06e6 8%);border-top:calc(var(--u)*1.5) solid rgba(184,134,47,.6);overflow:hidden;white-space:nowrap}.ticker .q{flex:none;width:calc(var(--u)*24);height:calc(var(--u)*24);border-radius:4px;background:linear-gradient(#5d8f2a,#2f5410);display:grid;place-items:center;position:relative;z-index:1}.ticker .q svg{width:70%;height:70%;fill:#e8f5c8}.ticker span{font:700 italic calc(var(--u)*20) "Cormorant Garamond",serif;color:#8fff6a;text-shadow:0 1px 0 #000;animation:run 24s linear infinite}@keyframes run{0%{transform:translate(30%)}to{transform:translate(-100%)}}.coords{left:50%;top:calc(var(--u)*42);transform:translate(-50%);padding:calc(var(--u)*2) calc(var(--u)*22);display:none;background:linear-gradient(#281e0ee6,#140e06e6);border:calc(var(--u)*1.5) solid var(--gold-2);border-radius:calc(var(--u)*4);font:700 calc(var(--u)*18) "Cormorant Garamond",serif;color:#f3e2b0}body.on-map .coords{display:block}body.on-map .promo,body.on-map .side{display:none}.modal{position:fixed;inset:0;background:#00000073;display:none;z-index:20}.modal.open{display:block}.win{position:absolute;left:calc(var(--u)*60);right:calc(var(--u)*130);top:0;bottom:0;background:#282e1e8c;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);border-left:calc(var(--u)*4) solid #8c6a32;border-right:calc(var(--u)*4) solid #8c6a32}.whead{position:relative;height:calc(var(--u)*80);background:linear-gradient(#f3e4bf,#d8bf88);border-bottom:calc(var(--u)*3) solid #8c6a32;text-align:center}.whead h2{padding-top:calc(var(--u)*4);font:700 calc(var(--u)*30) "Cormorant Garamond",serif;color:#3a2208}.whead h2:before,.whead h2:after{content:"❦";margin:0 calc(var(--u)*14);color:#a07c3a;font-size:.8em}.tabs{position:absolute;left:calc(var(--u)*110);right:calc(var(--u)*90);bottom:0;display:flex}.tab{flex:1;padding:calc(var(--u)*3) 0;font:700 calc(var(--u)*21) "Cormorant Garamond",serif;color:#3a2208;cursor:pointer}.tab.on{background:linear-gradient(#f9efd2,#8ec1c4);border-bottom:calc(var(--u)*3) solid #2f8f98}.xbtn{position:absolute;right:0;top:0;width:calc(var(--u)*72);height:calc(var(--u)*78);background:linear-gradient(#e03030,#8e1212);border:calc(var(--u)*2) solid #5e0c0c;cursor:pointer;display:grid;place-items:center}.xbtn:before{content:"✕";font:700 calc(var(--u)*40)/1 "PT Sans";color:#f6d27a;text-shadow:0 2px 0 #5e0c0c}.crys{position:absolute;left:calc(var(--u)*10);top:0;width:calc(var(--u)*64);height:calc(var(--u)*90);background:linear-gradient(#7cc43a,#3d7a14);clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%);text-align:center;padding-top:calc(var(--u)*6);font:700 calc(var(--u)*17)/1.1 "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow);z-index:2}.crys i{display:block;width:calc(var(--u)*24);height:calc(var(--u)*18);margin:0 auto;background:linear-gradient(135deg,#ffb3c6,#d4003a);clip-path:polygon(20% 0,80% 0,100% 35%,50% 100%,0 35%)}.wbody{position:absolute;top:calc(var(--u)*80);left:0;right:0;bottom:0;padding:calc(var(--u)*16) calc(var(--u)*24)}.pane{display:none;gap:calc(var(--u)*20);height:100%}.pane.on{display:flex}.hero{position:relative;width:calc(var(--u)*440);flex:none}.hero .nm{font:700 calc(var(--u)*22) "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.hero .lv{font:700 calc(var(--u)*18) "Cormorant Garamond",serif;color:#e9d39a;text-shadow:var(--glow)}.hero .fig{position:absolute;left:calc(var(--u)*80);top:calc(var(--u)*30);width:calc(var(--u)*270);height:calc(var(--u)*370);object-fit:contain;object-position:bottom}body.executed .hero .fig{filter:grayscale(1) brightness(.6)}.slot{position:absolute;width:calc(var(--u)*86);height:calc(var(--u)*86);border-radius:calc(var(--u)*6);background:#ffffff14;border:1px solid rgba(255,255,255,.25);display:grid;place-items:center}.slot svg{width:60%;height:60%;fill:none;stroke:#fff6;stroke-width:1.4}.inv{flex:1;border-left:1px solid rgba(255,255,255,.3);padding-left:calc(var(--u)*20)}.inv h4{text-align:center;font:700 calc(var(--u)*17) "PT Sans";color:#e9e1c8;margin-bottom:calc(var(--u)*8)}.grid{display:grid;grid-template-columns:repeat(4,calc(var(--u)*90));gap:calc(var(--u)*12)}.cell{height:calc(var(--u)*80);border-radius:calc(var(--u)*6);background:#ffffff1a;border:1px solid rgba(255,255,255,.2)}.revive{position:absolute;left:calc(var(--u)*24);bottom:calc(var(--u)*14);display:none;align-items:center;gap:calc(var(--u)*10)}body.executed .revive{display:flex}.revive .rb{width:calc(var(--u)*300);height:calc(var(--u)*34);background:linear-gradient(90deg,#b52424 12%,#2a2a2a 12%);border:1px solid #777;display:flex;align-items:center;justify-content:space-between;padding:0 calc(var(--u)*10);font:700 italic calc(var(--u)*18) "Cormorant Garamond",serif;color:#fff;text-shadow:var(--glow)}.btn-green,.btn-blue{display:inline-grid;place-items:center;min-width:calc(var(--u)*140);height:calc(var(--u)*38);padding:0 calc(var(--u)*18);border-radius:calc(var(--u)*5);cursor:pointer;font:700 calc(var(--u)*21) "Cormorant Garamond",serif;color:#fff;text-shadow:0 1px 1px #000;box-shadow:inset 0 calc(var(--u)*2) 0 #ffffff59,0 2px 3px #0009}.btn-green{background:linear-gradient(#6fcf3a,#2e7d12);border:1px solid #1d4d08}.btn-blue{background:linear-gradient(#2fb6d6,#0b5f86 55%,#0a4c6c);border:calc(var(--u)*2) solid #e6c77c}.info{flex-direction:column;gap:calc(var(--u)*12);color:#f1e7cc;font-size:calc(var(--u)*17)}.info .av{width:calc(var(--u)*120);height:calc(var(--u)*120);border-radius:50%;overflow:hidden;border:calc(var(--u)*3) solid var(--gold);flex:none}.info .av img{width:165%;margin:-8% 0 0 -32%}.info table td{padding:calc(var(--u)*3) calc(var(--u)*14) calc(var(--u)*3) 0}.card{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(var(--u)*560);padding:calc(var(--u)*10) calc(var(--u)*26) calc(var(--u)*22);background:linear-gradient(#f4e8c8,#e3cc98);border:calc(var(--u)*2) solid #a98448;box-shadow:0 0 0 calc(var(--u)*3) #f4e8c8,0 10px 30px #0009;color:var(--ink);text-align:center}.card h3{font:700 calc(var(--u)*28) "Cormorant Garamond",serif;color:#3a2208;border-bottom:1px solid #b99a5c;padding-bottom:calc(var(--u)*6);margin-bottom:calc(var(--u)*12)}.avs{display:flex;justify-content:center;gap:calc(var(--u)*14);margin:calc(var(--u)*6) 0 calc(var(--u)*22)}.avs div{width:calc(var(--u)*104);height:calc(var(--u)*104);border-radius:50%;overflow:hidden;cursor:pointer;background:#cfd8e0;border:calc(var(--u)*3) solid transparent}.avs div.on{border-color:#2f8f98;box-shadow:0 0 0 calc(var(--u)*2) #fff}.avs img{width:165%;margin:-8% 0 0 -32%}.arrow{position:absolute;top:calc(var(--u)*80);width:calc(var(--u)*48);height:calc(var(--u)*56);background:linear-gradient(#ffcf4a,#c47a10);border-radius:calc(var(--u)*5);display:grid;place-items:center;font:700 calc(var(--u)*30) "PT Sans";color:#5a3200;cursor:pointer}.arrow.l{left:calc(var(--u)*-62)}.arrow.r{right:calc(var(--u)*-62)}.card .row{display:flex;gap:calc(var(--u)*16);text-align:left}.card .row img{width:calc(var(--u)*170);flex:none}.cost{display:flex;flex-wrap:wrap;gap:calc(var(--u)*6) calc(var(--u)*14);margin:calc(var(--u)*6) 0}.cost span{display:flex;align-items:center;gap:calc(var(--u)*4);font-weight:700;font-size:calc(var(--u)*16)}.cost img{width:calc(var(--u)*22)}.card p{font-size:calc(var(--u)*16);line-height:1.35}.demo{position:fixed;left:calc(var(--u)*250);top:calc(var(--u)*42);z-index:6;display:flex;border:1px solid var(--gold-2);border-radius:14px;overflow:hidden;background:#0f0a04d9}.demo button{border:0;background:none;color:#e8d9a8;padding:calc(var(--u)*4) calc(var(--u)*10);font:700 calc(var(--u)*12) "PT Sans";cursor:pointer}.demo button.on{background:var(--gold-2);color:#1a1206}.rotate{display:none;position:fixed;inset:0;z-index:50;background:#0d1a12;color:#f2e6c4;flex-direction:column;align-items:center;justify-content:center;gap:18px;text-align:center;padding:24px}.rotate svg{width:96px;height:96px;fill:none;stroke:var(--gold);stroke-width:1.5;animation:turn 2.2s ease-in-out infinite}.rotate b{font:700 italic 28px Cormorant Garamond,serif;color:var(--gold)}@keyframes turn{0%,20%{transform:rotate(0)}60%,to{transform:rotate(-90deg)}}body{--surface:#f1e2bc;--line:#b59656;--muted:#71552f;--text:#39260f;--danger:#9e3021}button.bld,button.plot,button.res{padding:0;background:transparent;border:0;border-radius:0;min-height:0;color:inherit;font:inherit}button.bld{box-shadow:none}button.plot{border-radius:50%;background:radial-gradient(closest-side,#0009,transparent);color:#f7dc8a;font:700 calc(var(--u)*42) "Cormorant Garamond",serif;width:calc(var(--u)*58);height:calc(var(--u)*58)}.res{display:flex;align-items:center;gap:calc(var(--u)*5);cursor:pointer}.res b{font:700 italic calc(var(--u)*22) "Cormorant Garamond",serif;color:#b9ef6a;text-shadow:var(--glow)}.res.full b{color:#fff}.res.deficit b{color:#ffb797}#city{min-width:0;max-width:none}.bld .plaque{font-style:normal}.construction{position:absolute;transform:translate(-50%,-50%);background:#e3c588;color:#382810;padding:8px;border:2px solid #a47931;font:700 calc(var(--u)*17) "Cormorant Garamond"}.game-dialog{position:fixed;inset:0;margin:auto;padding:0;width:calc(var(--u)*670);max-width:94vw;max-height:calc(var(--u)*510);border:calc(var(--u)*3) solid #b7954c;border-radius:0;color:#39260f;background:linear-gradient(#f4e9ce,#deca9e);box-shadow:0 0 0 2px #f1dfae,0 10px 60px #0009;overflow:hidden;font-family:PT Sans,sans-serif}.game-dialog.wide{width:calc(var(--u)*1000)}.game-dialog::backdrop{background:#0c0906b0}.window-head{position:relative;min-height:calc(var(--u)*65);background:linear-gradient(#f5e7c8,#d4b985);border-bottom:calc(var(--u)*3) solid #8b6830;display:flex;align-items:center;justify-content:center;padding:calc(var(--u)*10) calc(var(--u)*76)}.window-head h2{font:700 italic calc(var(--u)*27) "Cormorant Garamond",serif;text-align:center;margin:0;color:#3d2810}.window-crystal{position:absolute;left:calc(var(--u)*10);top:0;display:grid;place-items:center;width:calc(var(--u)*48);height:calc(var(--u)*75);color:#ff688b;background:linear-gradient(#83c742,#427c16);clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%);font-size:calc(var(--u)*30)}.game-dialog .close-dialog{position:absolute;top:0;right:0;width:calc(var(--u)*66);height:calc(var(--u)*62);border:2px solid #711010;border-radius:0;background:linear-gradient(#e14035,#911c16);color:#ffecc4;font-size:calc(var(--u)*42);line-height:1;padding:0;min-width:0;min-height:0}.window-content{padding:calc(var(--u)*20);overflow:auto;max-height:calc(var(--u)*425);font-size:max(12px,calc(var(--u)*16));line-height:1.4;-webkit-user-select:text;user-select:text}.window-content h2,.window-content h3,.window-content h4{font-family:Cormorant Garamond,serif;color:#3d2810}.window-content h2{font-size:calc(var(--u)*28)}.window-content h3{font-size:max(17px,calc(var(--u)*23))}.window-content p{margin:10px 0}.game-dialog .primary,.btn-blue{background:linear-gradient(#35b0d0,#0f678d 60%,#124769);color:#fff5d9;border:2px solid #e6c67a;border-radius:4px;box-shadow:inset 0 2px #ffffff50,0 2px 3px #0006;font:700 max(12px,calc(var(--u)*16)) "PT Sans",sans-serif;min-height:36px;padding:8px 16px;cursor:pointer}.game-dialog button:disabled{opacity:.5;cursor:default}.game-dialog .quiet{color:#3d2d13;background:#fff5dc;border:1px solid #af9153}.game-dialog .muted{color:#765b33}#game-nav{display:none!important}.building-preview{width:calc(var(--u)*170);height:calc(var(--u)*150);object-fit:contain;float:left;margin:0 calc(var(--u)*18) calc(var(--u)*10) 0}.slot-card{background:#f7edcf;border:1px solid #b39863;padding:14px;display:inline-block;vertical-align:top;width:48%;margin:1%;border-radius:0}.cost-grid{color:#33220b}.progress-heading{margin:0 0 12px}.progress-heading h2{font-size:calc(var(--u)*26)}.progress-queue,.army-summary,.unit-card{background:#f6edcf;border:1px solid #c2a56b;border-radius:0;color:#39260f}.branch-tabs button{background:#d9c28f;color:#3c2b10;border-color:#9a7a3a}.branch-tabs button[aria-pressed=true]{background:#75aab3;color:#172b31}.science-node{background:#eee1bd;color:#382611;border-color:#ae9054}.science-node[data-state=ready]{border-color:#558340;background:#e4edcd}.science-column{background:#fff5dc;border-color:#c0a56c;width:calc(var(--u)*265)}.science-graph{gap:calc(var(--u)*20)}.graph-viewport{padding:12px}.node-effect,.node-status{color:#69502c}.level-node{background:#ddc590;color:#3d2810}.unit-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.unit-portrait{width:calc(var(--u)*90);height:calc(var(--u)*104);border:1px solid #c4a568;border-radius:0;overflow:hidden;background:#e0ceb0}.unit-portrait img{width:100%;height:100%;object-fit:cover}.unit-class>summary{cursor:pointer;padding:12px;background:linear-gradient(#ecd8a7,#c6a364);border:1px solid #9a783f;font:700 max(17px,calc(var(--u)*23)) "Cormorant Garamond",serif;margin:12px 0}.unit-heading h4{font-size:max(17px,calc(var(--u)*23))}.unit-card{padding:14px}.unit-stats{font-size:13px}.unit-counts dt{color:#71582c}.shell-notice{position:fixed;left:25%;bottom:calc(var(--u)*68);max-width:55%;color:#fbecd0;background:#2d1c0bbd;z-index:8;padding:0 8px;font-size:14px}.shell-notice:empty{display:none}.shell-notice.error{color:#ffb1a0}.map-preview{position:absolute;left:50%;top:62%;transform:translate(-50%);color:#f6e5bc;font:italic calc(var(--u)*21) "Cormorant Garamond"}.profile-tabs{display:flex;gap:8px;margin-bottom:16px}.profile-tabs button{flex:1}.profile-avatar{width:calc(var(--u)*120);height:calc(var(--u)*120);border-radius:50%;object-fit:cover;float:left;margin-right:20px;border:3px solid #b7964e}.equipment{display:grid;grid-template-columns:1fr 2fr 1fr;gap:8px}.hero-preview{grid-column:2;grid-row:1/4;width:100%;max-height:calc(var(--u)*300);object-fit:contain}.equipment-slot{background:#d7cba8;border:2px solid #a68c58;color:#493310;padding:8px;font-size:12px}.equipment-slot:nth-child(2),.equipment-slot:nth-child(3),.equipment-slot:nth-child(4){grid-column:1}.equipment-slot:nth-child(n+5){grid-column:3}.avatar-choice{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-bottom:18px}.avatar-option{border:3px solid transparent;border-radius:50%;padding:0;aspect-ratio:1;overflow:hidden;max-width:calc(var(--u)*130)}.avatar-option[aria-pressed=true]{border-color:#368798}.avatar-option img{width:100%;height:100%;object-fit:cover}.rotate>span:first-child{font-size:90px;color:#dfc17a}.rotate{z-index:100}.welcome{height:100dvh;overflow:auto}.welcome .rotate{position:fixed}[hidden]{display:none!important}@media(prefers-reduced-motion:reduce){.plot,.ticker span,.rotate svg{animation:none}}#city{width:max(100vw,228.71vh);height:max(43.725vw,100vh)}.bld.castle{height:30%;width:19%;transform:translate(-50%,-50%)}.bld.castle img{opacity:0;width:100%;height:100%;object-fit:contain}.avatar img{width:100%;height:100%;margin:0;object-fit:cover}.avatar-choice{grid-template-columns:repeat(3,1fr);width:80%;display:inline-grid;vertical-align:middle}.avatar-arrow{display:inline-block;width:8%;height:50px;color:#533813;background:#dfb858;border:1px solid #957031;font-size:32px;vertical-align:middle;padding:0}.revival-banner{padding:12px;color:#fff;background:#71291c;display:flex;gap:12px;align-items:center}.executed .avatar .rtimer[hidden]{display:none}.bld.castle img{opacity:1}#city.wide-ready .bld.castle img{opacity:0}.ticker{right:calc(var(--u)*88)}.menu{z-index:4}.progress-heading{display:flex;justify-content:flex-end;margin:0 0 6px;padding:0}.progress-heading>div{display:none}.progress-heading .quiet{padding:3px 10px;min-height:26px}.army-summary{display:flex;gap:20px;padding:8px;margin:0 0 6px}.progress-queue{padding:8px;margin:6px 0}.progress-queue h3{margin:0;font-size:18px}.progress-queue p{margin:4px 0}.science-toolbar{margin:0 0 6px;padding:0}.graph-hint{display:none}.level-jump{margin:6px 0}.graph-viewport{background:#d5bf94}.node-level,.node-status{color:#654718}.unit-class>summary{margin:6px 0;padding:7px 12px}.equipment{grid-template-rows:repeat(3,calc(var(--u)*75));align-items:stretch}.hero-preview{grid-column:2;grid-row:1/4;max-height:calc(var(--u)*225)}.equipment-slot:nth-child(2){grid-area:1/1}.equipment-slot:nth-child(3){grid-area:2/1}.equipment-slot:nth-child(4){grid-area:3/1}.equipment-slot:nth-child(5){grid-area:1/3}.equipment-slot:nth-child(6){grid-area:2/3}.equipment-slot:nth-child(7){grid-area:3/3}.inventory-placeholder{display:grid;grid-template-columns:repeat(8,1fr);gap:6px;margin-top:12px}.inventory-placeholder span{display:grid;place-items:center;border:1px solid #a68c58;background:#d7cba8;height:calc(var(--u)*38);color:#967b4a}.grain-warning{position:fixed;left:30%;top:calc(var(--u)*47);max-width:45%;padding:6px;background:#762d19;color:#ffe5b1;z-index:6;font-size:max(12px,calc(var(--u)*15))}.game-dialog .unit-class{margin-top:8px}.game-dialog .science-node[data-state=ready] .node-status{color:#3e681f}.game-dialog select{color:#3d2810}.game-dialog .science-node:hover{background:#e3d3ab}.game-dialog .science-node[data-state=complete]{background:#cee0b7}.game-dialog .progress-queue h3,.game-dialog .work-row strong,.game-dialog .level-jump{color:#654718}.bld.castle{z-index:1}.bld:not(.castle){z-index:2}.plot{z-index:3}.construction{z-index:4;pointer-events:none}#city{width:max(100vw,177.78vh);height:max(56.25vw,100vh)}#city>.bg{object-fit:fill}.bld.castle{height:auto;transform:translate(-50%,-56%)}.bld.castle img,#city.wide-ready .bld.castle img{opacity:1;height:auto}.bld img{filter:saturate(.72) contrast(.96) drop-shadow(0 5px 3px #24190866)}.plaque{width:calc(var(--u)*23);height:calc(var(--u)*27);bottom:9%;padding-top:calc(var(--u)*4);background:linear-gradient(125deg,#99854f,#554523 72%);color:#fff1c9;clip-path:polygon(0 0,100% 0,94% 62%,50% 100%,6% 62%);font-size:calc(var(--u)*15);text-shadow:0 1px 1px #1a1006;outline:1px solid #d8c594}button.plot{width:calc(var(--u)*35);height:calc(var(--u)*35);font-size:calc(var(--u)*28);color:#cfbd83;background:radial-gradient(ellipse,#2c261a66,transparent 65%);animation:plot-breathe 2.6s ease-in-out infinite}@keyframes plot-breathe{50%{opacity:.45}}.tplate,.construction{background:linear-gradient(#766444,#40341f);border:1px solid #b3a071;color:#f8e9bd;border-radius:1px;box-shadow:0 2px 3px #1c170866;font:calc(var(--u)*13) "PT Sans",sans-serif;padding:3px 6px}.resbar{left:calc(var(--u)*185);right:calc(var(--u)*250);height:calc(var(--u)*27);padding:0 calc(var(--u)*22);background:linear-gradient(#211f16bb,#39332799);border-color:#8c815888}.resbar:before,.resbar:after{width:calc(var(--u)*14);height:calc(var(--u)*14);border-width:1px}.res img{width:calc(var(--u)*22);height:calc(var(--u)*22)}.res b{font-size:calc(var(--u)*20)}.res.full b{color:#ece9db}.menu{right:calc(var(--u)*3);width:calc(var(--u)*68)}.medal i{width:calc(var(--u)*45);height:calc(var(--u)*45);background:radial-gradient(ellipse at 35% 25%,#53616a,#273137 65%,#141d1b);border:calc(var(--u)*1.5) solid #a99765;box-shadow:0 0 0 1px #39301c,inset 0 1px 4px #e1d3a055,0 2px 4px #0008}.medal.olive i{background:radial-gradient(ellipse at 35% 25%,#787a45,#3a4226 65%,#25281c)}.medal.red i{background:radial-gradient(ellipse at 35% 25%,#915849,#532e27 65%,#291b16)}.medal .hud-art{width:80%;height:80%;object-fit:contain;filter:saturate(.6) drop-shadow(0 1px 1px #000a)}.medal span{font-size:calc(var(--u)*15);color:#e4dbc4}.side{top:calc(var(--u)*170);gap:calc(var(--u)*13);border-left:0;padding-left:0}.quest{width:calc(var(--u)*49);height:calc(var(--u)*49);background:radial-gradient(ellipse at 35% 25%,#928e61,#4b523e 70%);border:1px solid #a99765}.quest.trophy{background:radial-gradient(ellipse at 35% 25%,#a28b4d,#554d32 70%)}.quest .hud-art{width:82%;height:82%;object-fit:contain;filter:saturate(.65)}.quest small{font-size:calc(var(--u)*12)}.bar{height:calc(var(--u)*59);width:calc(var(--u)*315);gap:calc(var(--u)*10)}.bbtn{width:calc(var(--u)*62);height:calc(var(--u)*55)}.bbtn .hud-art{width:100%;height:100%;object-fit:contain;filter:saturate(.7) drop-shadow(0 2px 2px #000b)}.promo{right:calc(var(--u)*80);gap:calc(var(--u)*14)}.pbtn .ic{width:calc(var(--u)*53);height:calc(var(--u)*49)}.pbtn .hud-art{width:100%;height:100%;object-fit:contain;filter:saturate(.65) drop-shadow(0 2px 2px #000b)}.pbtn .sale{font:700 calc(var(--u)*12) "Cormorant Garamond",serif;color:#e7dfc4}.ticker{left:calc(var(--u)*520);right:calc(var(--u)*70);height:calc(var(--u)*26)}.ticker span{font-size:calc(var(--u)*17);color:#aac36d}.ribbon{height:calc(var(--u)*25);font-size:calc(var(--u)*22);background:linear-gradient(#ad5142,#611f1b)}.avatar{width:calc(var(--u)*75);height:calc(var(--u)*75);top:calc(var(--u)*22);border-width:calc(var(--u)*2)}.bank{top:calc(var(--u)*85);width:calc(var(--u)*68);height:calc(var(--u)*58);background:linear-gradient(#97392e,#4d1c18)}.bank span{font-size:calc(var(--u)*15)}.prestige{left:calc(var(--u)*86);width:calc(var(--u)*75)}.prestige .crown{filter:saturate(.55)}.prestige b{font-size:calc(var(--u)*17)}button.plot{color:#f7ead0;background:radial-gradient(ellipse,#2c261acc,#2c261a55 58%,transparent 65%);text-shadow:0 1px 2px #15120c,0 0 3px #15120c;border:1px dashed #b5a27688;font-family:PT Sans,sans-serif;font-size:calc(var(--u)*22);border-radius:50%;opacity:.9}.ribbon{max-width:calc(var(--u)*180);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.game-dialog,.hud{font-variant-numeric:lining-nums tabular-nums}.game-dialog .cost-grid{display:flex;flex-wrap:wrap;gap:12px;margin:16px 0}.game-dialog .cost-grid>div{display:flex;align-items:center;justify-content:flex-start;gap:5px;padding:2px 0;background:transparent;border:0;border-radius:0;font-size:max(13px,calc(var(--u)*17));color:#493619}.game-dialog .cost-grid img{width:calc(var(--u)*24);height:calc(var(--u)*24);object-fit:contain}.game-dialog .cost-grid .cost-short{color:#a82721}.game-dialog .effect-now{color:#4b351a;padding-bottom:12px}.slot-card{display:inline-grid;grid-template-columns:calc(var(--u)*90) 1fr;column-gap:12px;width:100%;margin:0;padding:12px 0;border:0;border-bottom:1px solid #b19863;background:transparent}.slot-card>img{grid-column:1;grid-row:1/5;width:100%;height:calc(var(--u)*104);object-fit:contain}.slot-card>h3{margin:0}.slot-card .cost-grid{margin:6px 0;gap:8px}.slot-card>p{margin:0}.slot-card>.primary{justify-self:start;padding:5px 14px;min-height:30px}.window-actions{clear:both;display:flex;justify-content:center;gap:16px;padding-top:18px}.building-description{min-height:calc(var(--u)*65);color:#4b351a}.game-dialog .window-crystal{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:1px;overflow:visible}.window-crystal i{font-style:normal;font-size:calc(var(--u)*20);line-height:1}.window-crystal small{color:#fff0cc;font-size:calc(var(--u)*16);line-height:1}.window-crystal .crystal-add{position:absolute;left:calc(var(--u)*38);top:calc(var(--u)*26);padding:0;width:calc(var(--u)*21);height:calc(var(--u)*21);min-height:0;background:#55792c;border:1px solid #d8cf8e;color:#f6edc8;font:700 calc(var(--u)*17) "PT Sans",sans-serif;border-radius:50%;box-shadow:0 1px 2px #0006}.profile-window{width:calc(var(--u)*1050)}.profile-window .profile-tabs{gap:0;border-bottom:2px solid #8fa99b;margin:-10px 0 16px}.profile-window .profile-tabs button{border:1px solid #ab8e54;border-bottom:0;border-radius:0;box-shadow:none;background:linear-gradient(#efdfba,#d2ba8b);color:#58421e;font:700 calc(var(--u)*21) "Cormorant Garamond",serif;min-height:calc(var(--u)*38);padding:5px 15px}.profile-window .profile-tabs button[aria-pressed=true]{background:linear-gradient(#bcd1c7,#82aaa6);color:#253d39}.equipment-layout{display:grid;grid-template-columns:1.55fr 1fr;gap:calc(var(--u)*22);align-items:start}.equipment{grid-template-columns:calc(var(--u)*80) 1fr calc(var(--u)*80);grid-template-rows:repeat(4,calc(var(--u)*68));gap:6px}.hero-preview{grid-area:1/2/5/3;max-height:calc(var(--u)*290);height:100%;width:100%;object-fit:contain}.equipment-slot{padding:5px;border:1px solid #9c824d;background:linear-gradient(#c9bc98,#dfd3b2);font-size:max(10px,calc(var(--u)*13));color:#5c4c2e}.equipment-slot:nth-child(2){grid-area:2/1}.equipment-slot:nth-child(3){grid-area:3/1}.equipment-slot:nth-child(4){grid-area:1/3}.equipment-slot:nth-child(5){grid-area:2/3}.equipment-slot:nth-child(6){grid-area:3/3}.equipment-slot:nth-child(7){grid-area:4/3}.equipment-inventory h3{margin:0 0 8px}.inventory-placeholder{grid-template-columns:repeat(4,1fr);gap:calc(var(--u)*7);margin:0}.inventory-placeholder span{height:auto;aspect-ratio:1;background:linear-gradient(135deg,#c1b38d,#ddceb0);border-color:#9f895a;box-shadow:inset 0 1px 3px #6f5c3033}.level-jump{display:flex;justify-content:center;gap:16px;align-items:center;padding:4px 0}.level-jump span{font:700 calc(var(--u)*21) "Cormorant Garamond",serif;min-width:calc(var(--u)*170);text-align:center}.level-arrow{background:linear-gradient(#ead6a4,#bca16c);border:1px solid #9b7c3f;color:#634617;padding:0;min-width:calc(var(--u)*40);height:calc(var(--u)*32);font:700 calc(var(--u)*28) "Cormorant Garamond",serif}#map{background:linear-gradient(#44381522,#44381522),url(/art/shell/map-tile-grass.webp) 0 0/calc(var(--u)*520) repeat}.game-dialog .window-crystal{clip-path:none;background:none;isolation:isolate}.window-crystal:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(#83b24a,#425f29);clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)}.plaque,.node-level,.work-row strong,.cost-grid strong{font-family:PT Sans,sans-serif;font-variant-numeric:lining-nums tabular-nums}.equipment-layout{grid-template-columns:1fr calc(var(--u)*310)}#section-window.recruit-window{--u:min(1px,calc((100vw - 24px)/1060),calc((100dvh - 24px)/560));width:calc(var(--u)*1060);height:calc(var(--u)*560);max-height:calc(100dvh - 24px);max-width:calc(100vw - 24px);background:linear-gradient(#2a3020dd,#242519ef),url(/art/shell/v2/terrain.webp) center/cover;color:#f8eccd}.recruit-window .window-head{height:calc(var(--u)*70);background:linear-gradient(115deg,#c6a36b,#ead5a7 52%,#b99561);border-bottom:2px solid #ae955d}.recruit-window .window-head h2{color:#fff4dc;text-shadow:0 2px 2px #493718;font-size:calc(var(--u)*32)}.recruit-window #city-main{padding:0;max-height:none;height:calc(100% - var(--u)*70);overflow:hidden;-webkit-user-select:none;user-select:none}.recruit-window #army-screen{height:100%;display:flex;flex-direction:column}.recruit-tabs{display:flex;gap:0;border-bottom:2px solid #a38c55;margin:0 0 10px}.recruit-tabs button{flex:1;background:linear-gradient(#dec593,#b59763);color:#432b0c;border:0;border-right:1px solid #91723d;border-radius:0;padding:4px 8px;font:700 max(13px,calc(var(--u)*22)) "Cormorant Garamond",serif;min-height:30px}.recruit-tabs button[aria-pressed=true]{box-shadow:inset 0 -7px 12px #00879b8c;background:linear-gradient(#ead7ab,#c9b17f)}.recruit-window .recruit-tabs{margin:0;flex-shrink:0}.recruitment{display:flex;flex-direction:column;flex:1;min-height:0;padding:calc(var(--u)*8) 0 0}.recruit-gallery{display:grid;grid-template-rows:repeat(2,minmax(0,1fr));grid-auto-flow:column;grid-auto-columns:calc((100% - var(--u)*50)/6);gap:calc(var(--u)*6) calc(var(--u)*10);flex:1;min-height:0;padding:0 calc(var(--u)*6) calc(var(--u)*8);overflow-x:auto;overscroll-behavior:contain;scrollbar-color:#729441 #393923;scrollbar-width:thin}.recruit-tile{position:relative;min-width:0;min-height:0;border:0;background:transparent;color:#fff3d3;padding:0;border-radius:0;display:flex;flex-direction:column;cursor:pointer}.recruit-tile img{width:100%;height:calc(100% - var(--u)*25);min-height:0;object-fit:cover;border:1px solid #d9cba2;filter:saturate(.83)}.recruit-tile span{font:700 max(11px,calc(var(--u)*20)) "Cormorant Garamond",serif;line-height:1.15;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;width:100%;text-shadow:0 1px 2px #19180e}.recruit-tile[aria-pressed=true] img{border:2px solid #bce478;box-shadow:0 0 6px #91b944}.recruit-tile:hover img{filter:brightness(1.13)}.recruit-lock{position:absolute;top:4px;right:4px;padding:1px 4px;background:#1b2118ae;font-size:max(10px,calc(var(--u)*16))}.recruit-tile.locked img{filter:saturate(.55) brightness(.83)}.recruit-quantity{display:flex;align-items:center;gap:calc(var(--u)*10);border-top:2px solid #b6a06a;border-bottom:2px solid #b6a06a;background:linear-gradient(#3c4824,#282d17);padding:calc(var(--u)*4) calc(var(--u)*112);flex-shrink:0}.recruit-quantity .quantity-step{width:calc(var(--u)*64);height:calc(var(--u)*43);min-height:28px;flex-shrink:0;border:2px solid #c2b476;background:linear-gradient(#70991c,#294408 55%,#577b16);color:#c8d18c;font:bold calc(var(--u)*42) "PT Sans",sans-serif;line-height:.8;clip-path:polygon(15% 0,85% 0,100% 50%,85% 100%,15% 100%,0 50%);padding:0;border-radius:0}.recruit-quantity input[type=range]{flex:1;width:0;appearance:none;height:calc(var(--u)*13);min-height:8px;border:1px solid #b7a06c;border-radius:8px;background:linear-gradient(to right,#83a225 var(--fill),#54532a var(--fill));cursor:pointer}.recruit-quantity input[type=range]::-webkit-slider-thumb{appearance:none;width:calc(var(--u)*34);height:calc(var(--u)*32);min-height:22px;min-width:22px;background:linear-gradient(#769323,#2f500d);border:2px solid #d8c98b;border-radius:4px;box-shadow:0 1px 3px #0008}.recruit-quantity input[type=range]::-moz-range-thumb{width:28px;height:24px;background:#587c19;border:2px solid #d8c98b;border-radius:4px}.recruit-quantity input[type=number]{width:calc(var(--u)*72);min-width:42px;height:calc(var(--u)*32);min-height:26px;padding:0 3px;text-align:center;color:#f4ebc7;background:#1e2f12;border:1px solid #d2be7f;border-radius:2px;font-size:max(12px,calc(var(--u)*18));font-variant-numeric:lining-nums tabular-nums}.recruit-footer{display:flex;align-items:center;justify-content:center;gap:calc(var(--u)*70);padding:calc(var(--u)*9) calc(var(--u)*20) 0;flex-shrink:0}.recruit-bill{border-collapse:collapse;color:#fff2d3;font:700 max(12px,calc(var(--u)*19)) "PT Sans",sans-serif;text-align:center}.recruit-bill th{font-weight:400;padding:0 calc(var(--u)*8)}.recruit-bill th:first-child{text-align:right;font-family:Cormorant Garamond,serif;font-size:max(13px,calc(var(--u)*21));font-weight:700}.recruit-bill td{min-width:calc(var(--u)*72);padding:calc(var(--u)*2) calc(var(--u)*8);border:1px solid #c5b98c55}.recruit-bill tr:last-child{color:#b6b89f}.recruit-bill tr:last-child td{border:0}.recruit-bill img{width:calc(var(--u)*26);height:calc(var(--u)*25);object-fit:contain}.recruit-bill .short{color:#ff8980}.recruit-time{color:#e9ca64}.recruit-window .recruit-hire{margin:0;width:calc(var(--u)*210);min-width:110px;min-height:44px;padding:3px 12px;font:700 max(15px,calc(var(--u)*24)) "Cormorant Garamond",serif;border:1px solid #997f3d;border-radius:4px;flex-shrink:0;line-height:1.05}.recruit-hire span,.recruit-hire strong{display:block}.recruit-condition{text-align:center;font-size:max(10px,calc(var(--u)*13));min-height:calc(var(--u)*22);color:#cbc1a0;padding:3px 8px;flex-shrink:0}.recruit-condition button{margin-left:8px;padding:2px 8px;min-height:24px}.recruit-error{color:#ffa99b;font-size:12px;text-align:center;flex-shrink:0}.recruit-error:empty{display:none}.recruit-stats-view{display:flex;flex:1;min-height:0;gap:calc(var(--u)*25);align-items:center;justify-content:center;padding:calc(var(--u)*10) calc(var(--u)*150) calc(var(--u)*18)}.recruit-stats{display:grid;grid-template-columns:1fr auto;column-gap:calc(var(--u)*24);font:700 max(12px,calc(var(--u)*22)) "Cormorant Garamond",serif;line-height:1.1;color:#fff0d1;flex:1;min-width:0}.recruit-stats dd{color:#e8ca73;font-family:PT Sans,sans-serif;font-size:max(11px,calc(var(--u)*18));text-align:right}.recruit-stats .defense-row{font-size:max(11px,calc(var(--u)*19));padding-left:calc(var(--u)*25)}.recruit-stats dt:not(.defense-row){padding-top:5px}.recruit-stats dd:not(.defense-row){padding-top:5px}.recruit-portrait{width:47%;height:100%;min-height:0;display:flex;flex-direction:column;justify-content:center}.recruit-portrait img{width:100%;min-height:0;max-height:calc(var(--u)*245);object-fit:cover;aspect-ratio:3/2;border:2px solid #cbbc92}.recruit-portrait figcaption{font-size:max(10px,calc(var(--u)*14));color:#cfc8ac;text-align:center;padding-top:3px}.recruit-detail-view .recruit-tabs,.recruit-detail-view .close-dialog{display:none}.recruit-back{position:absolute;top:0;right:0;width:calc(var(--u)*66);height:calc(var(--u)*68);color:#ecd493;background:linear-gradient(#1291b1,#07546b);border:1px solid #b8ab7a;font:700 calc(var(--u)*52) "Cormorant Garamond",serif;padding:0;line-height:1;cursor:pointer}.recruit-tile img{object-fit:contain;background:radial-gradient(ellipse at 55% 30%,#7b694e,#343425 70%,#20271d)}.recruit-portrait img{object-fit:contain;background:radial-gradient(ellipse at 55% 25%,#7d7158,#33372a 70%,#252a20)}.recruit-tier{font-family:PT Sans,sans-serif;font-style:normal;font-size:.78em}.recruit-window .recruit-back{padding:0;min-height:0;border-radius:0;background:linear-gradient(#18aac7,#075373 65%,#086887);box-shadow:inset 0 2px 5px #b6edef6e;color:#f3da84;border:1px solid #ad9857}#city{overflow:clip;--world-height:calc(var(--u)*1152);width:calc(var(--world-height)*16/7);height:var(--world-height)}#city>img.bg{object-fit:fill;pointer-events:none}#city button.bld,#city button.bld:hover,#city button.bld:active{transform:translate(-50%,calc(-1 * var(--building-base,96%)));transition:none}.bld img{filter:saturate(.76) contrast(.94) drop-shadow(0 4px 3px #24190866)}.bld .plaque{bottom:8%;width:calc(var(--u)*20);height:calc(var(--u)*24);font-size:calc(var(--u)*14)}#vp{cursor:grab;overflow:clip}#vp:active{cursor:grabbing}#city button.bld.wall-anchor,#city button.bld.wall-anchor:hover,#city button.bld.wall-anchor:active{width:calc(var(--u)*64)!important;height:calc(var(--u)*58);transform:translate(-50%,-50%);border:0;background:transparent;box-shadow:none;z-index:90!important}.wall-anchor .plaque{left:50%;bottom:10%;transform:translate(-50%);width:calc(var(--u)*26);height:calc(var(--u)*30)}.activity-panel{position:fixed;left:0;top:calc(var(--u)*30);bottom:calc(var(--u)*62);width:calc(var(--u)*370);z-index:95;border:2px solid #a28750;border-left:0;background:radial-gradient(ellipse at 40% 45%,#f5e6c1,#dbc18e);box-shadow:3px 2px 8px #0008;color:#574021;display:flex;flex-direction:column;font-family:Cormorant Garamond,serif}.activity-panel header{position:relative;background:linear-gradient(#4f452f,#2c271d);border-block:1px solid #cfb579;text-align:center;padding:calc(var(--u)*4) calc(var(--u)*32)}.activity-panel h2{font:700 calc(var(--u)*24) "Cormorant Garamond",serif;color:#f0dfaa;margin:0}.activity-panel header button{position:absolute;right:0;top:0;width:calc(var(--u)*30);height:100%;padding:0;min-height:0;background:linear-gradient(#bd3327,#80271d);border:1px solid #c5a267;border-radius:0;color:#f1d77f;font:700 calc(var(--u)*29) "Cormorant Garamond",serif}.activity-content{padding:calc(var(--u)*18) calc(var(--u)*17);overflow:auto;flex:1;scrollbar-width:thin;scrollbar-color:#987d41 #e6d3aa}.activity-content>p{font:700 calc(var(--u)*20)/1.2 "Cormorant Garamond",serif;text-align:center;margin:0 0 calc(var(--u)*23)}.activity-row{display:flex;flex-direction:column;gap:calc(var(--u)*4);border-bottom:1px solid #b0926155;padding:calc(var(--u)*10) 0;font:700 calc(var(--u)*20)/1.1 "Cormorant Garamond",serif}.activity-timer{font:700 calc(var(--u)*15) "PT Sans",sans-serif;color:#93662d}.activity-panel .activity-link{display:block;width:100%;min-height:calc(var(--u)*50);padding:calc(var(--u)*12) calc(var(--u)*6);margin:calc(var(--u)*12) 0;border:0;border-radius:0;box-shadow:none;background:none;color:#24798b;font:700 italic calc(var(--u)*22) "Cormorant Garamond",serif;text-align:center;cursor:pointer}.activity-panel .activity-link:hover{color:#125266;background:#ab96522a}.activity-panel .activity-future{color:#947b51;font-size:calc(var(--u)*16);margin-top:calc(var(--u)*25)}.bbtn[aria-expanded=true]{filter:drop-shadow(0 0 5px #f8d888)}#details.building-window{--u:min(1px,calc((100vw - 24px)/1060),calc((100dvh - 24px)/540));width:calc(var(--u)*1060);height:calc(var(--u)*540);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);background:linear-gradient(#23291cdd,#242519ef),url(/art/shell/v2/terrain.webp) center/cover;color:#f2e8cb}.building-window .window-head h2{color:#fff0cf;text-shadow:0 1px 2px #5d4321;font-size:calc(var(--u)*31);font-style:normal}#details.building-window[open]{display:flex;flex-direction:column}.building-window .window-head{height:calc(var(--u)*65);min-height:calc(var(--u)*65);flex:none}.building-window .window-content{padding:0;height:auto;flex:1;min-height:0;max-height:none;overflow:hidden}.building-window #dialog-content{height:100%;min-height:0;display:flex;flex-direction:column}.building-body{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);align-items:center;gap:calc(var(--u)*32);padding:calc(var(--u)*20) calc(var(--u)*42);flex:1;min-height:0;overflow:auto;scrollbar-width:thin;scrollbar-color:#9a865a #282d20}.building-copy{text-align:center;font:700 calc(var(--u)*23)/1.15 "Cormorant Garamond",serif;color:#e9e0c4}.building-window .building-copy h3{font:700 calc(var(--u)*27) "Cormorant Garamond",serif;color:#e9e0c4;margin:0}.building-window .building-level{margin:0 0 calc(var(--u)*18);font-size:calc(var(--u)*23)}.building-window .building-copy p{margin:calc(var(--u)*8) 0;line-height:1.2}.building-window .building-copy .building-level{margin-top:0}.building-intro{font-style:italic;color:#c7c3a5}.building-portrait{height:calc(var(--u)*250);min-width:0;border:2px solid #a99e66;background:radial-gradient(ellipse at 50% 60%,#7e874955,#2f3620aa);display:grid;place-items:center}.building-portrait img{height:100%;width:100%;object-fit:contain;padding:calc(var(--u)*10)}.building-footer{display:grid;grid-template-columns:1fr calc(var(--u)*230);gap:calc(var(--u)*32);padding:0 calc(var(--u)*42) calc(var(--u)*12);border-top:2px solid #a48b54;flex-shrink:0;background:#29291640;align-items:center}.building-window .building-step{text-align:center;font:700 calc(var(--u)*23) "Cormorant Garamond",serif;background:linear-gradient(#eee0b8,#c6b582);color:#5d4827;border:1px solid #d4c392;margin:calc(var(--u)*-13) 0 calc(var(--u)*10);padding:1px calc(var(--u)*14)}.building-cost-table{border-collapse:collapse;width:100%;font:700 calc(var(--u)*18) "PT Sans",sans-serif;color:#e7dec1;text-align:center}.building-cost-table th,.building-cost-table td{padding:calc(var(--u)*2) calc(var(--u)*7)}.building-cost-table th:first-child{font:700 calc(var(--u)*20) "Cormorant Garamond",serif;text-align:right}.building-cost-table tr:nth-child(2) td{border:1px solid #bdae6a66}.building-cost-table tr:nth-child(3){color:#b6b59a}.building-cost-table img{width:calc(var(--u)*27);height:calc(var(--u)*27);object-fit:contain}.building-cost-time{color:#dcc269}.building-cost-table .cost-short{color:#fa8077}.building-actions{display:flex;flex-direction:column;align-items:stretch;gap:calc(var(--u)*8);padding:calc(var(--u)*13) 0 0}.building-window .building-actions button{margin:0;font:700 calc(var(--u)*22) "Cormorant Garamond",serif;min-height:calc(var(--u)*41);padding:calc(var(--u)*6) calc(var(--u)*12)}.building-window .building-back{color:#d6c799;border:1px solid #a39363;background:#343e24;box-shadow:none;border-radius:2px}.building-window .building-condition{font-size:calc(var(--u)*14);color:#e8a894;text-align:center;min-height:calc(var(--u)*18);margin:calc(var(--u)*4) 0 0}.building-window .building-blocked{font:700 calc(var(--u)*20) "Cormorant Garamond",serif;color:#ddc39b}.building-job-time{font:700 calc(var(--u)*20) "PT Sans",sans-serif;color:#e0cf8f}.building-window #dialog-error{padding:0 calc(var(--u)*20);color:#ffa99b;font-size:12px}.building-window #dialog-error:empty{display:none}.building-portrait{overflow:hidden;min-height:0;min-width:0;display:flex;align-items:center;justify-content:center}.building-portrait img{display:block;flex:none;min-height:0;max-height:100%;max-width:100%;height:100%;width:100%;object-fit:contain}.building-body .building-portrait{margin:0}.building-portrait img{transform:none}.building-tabs{display:flex;flex:none;border-bottom:2px solid #a38c55}.building-window .building-tabs button{flex:1;background:linear-gradient(#e3cda3,#c1a16d);color:#4d3615;border:0;border-right:1px solid #997a42;border-radius:0;padding:calc(var(--u)*4) calc(var(--u)*12);min-height:calc(var(--u)*35);font:700 calc(var(--u)*24) "Cormorant Garamond",serif;box-shadow:none}.building-window .building-tabs button[aria-pressed=true]{box-shadow:inset 0 -7px 12px #07889988;background:linear-gradient(#f0dfb6,#c6b086)}.has-recruit-tabs .building-body{padding-block:calc(var(--u)*12)}.building-recruit-window .recruit-gallery{grid-template-rows:minmax(0,1fr);grid-auto-columns:calc((100% - var(--u)*50)/3.5);gap:calc(var(--u)*18);padding:calc(var(--u)*12) calc(var(--u)*24) calc(var(--u)*20)}.building-recruit-window .recruit-tile span{font-size:calc(var(--u)*27);height:calc(var(--u)*38);padding-bottom:calc(var(--u)*8);flex-shrink:0;line-height:1.05}.building-recruit-window .recruit-tile img{height:calc(100% - var(--u)*38);background:radial-gradient(ellipse,#6c6349,#303826);object-fit:contain}.building-recruit-window .recruit-tile[aria-pressed=true] img{border-color:#bce5df;box-shadow:0 0 calc(var(--u)*15) #3fe0ec;border-width:2px}.building-recruit-window .recruit-lock{top:calc(var(--u)*43)}#city.fixed-city{width:calc(var(--u)*2000);height:auto;aspect-ratio:var(--city-aspect,1896/830);overflow:clip;background:#273528}#city-paint{display:block;width:100%;height:100%;pointer-events:none;opacity:0}#city.city-ready #city-paint{opacity:1}#city.fixed-city button.city-site,#city.fixed-city button.city-site:hover,#city.fixed-city button.city-site:active{position:absolute;transform:none!important;min-height:0;padding:0;border:0;border-radius:0;background:transparent;box-shadow:none;filter:none;transition:none;animation:none;color:inherit;opacity:1;z-index:2;cursor:pointer}#city.fixed-city button.city-site:disabled{cursor:grab;pointer-events:none}#city.fixed-city button.city-site.site-wall{z-index:3!important}#city.fixed-city .city-site:focus-visible{outline:2px solid #f1d38e;outline-offset:-8px}.site-plaque{position:absolute;left:var(--anchor-x);top:var(--anchor-y);transform:translate(-50%,-50%);min-width:calc(var(--u)*17);height:calc(var(--u)*21);display:grid;place-items:center;background:linear-gradient(#8a753c,#514525);color:#fff2c1;border:1px solid #ccb77899;border-radius:2px 2px 8px 8px;font:700 calc(var(--u)*14)/1 "PT Sans",sans-serif;text-shadow:0 1px 2px #302716}.city-site[data-state=free] .site-plaque{border-radius:50%;background:#343e2bbb;width:calc(var(--u)*25);height:calc(var(--u)*25);font-size:calc(var(--u)*21);border:1px solid #b8ab7699}.city-site[data-state=locked] .site-plaque,.site-plaque:empty{display:none}#city:not(.city-ready) .city-site{visibility:hidden}.city-art-error{position:absolute;inset:35% 20%;padding:24px;background:#263323;color:#f2e6b3;font:20px PT Sans,sans-serif}#city.fixed-city .city-site{pointer-events:none!important}#city.fixed-city .city-site:before{content:"";position:absolute;inset:0;clip-path:var(--site-shape,none);pointer-events:auto}#city.fixed-city .city-site:disabled:before{pointer-events:none}#city.fixed-city .site-plaque{pointer-events:auto;z-index:1}#vp,#vp *{-webkit-tap-highlight-color:transparent}#vp,.hud{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none}.hud,.hud *{-webkit-tap-highlight-color:transparent}.building-portrait,.science-portrait{position:relative}.info-help{position:absolute;left:50%;top:0;transform:translate(-50%);z-index:2;width:36px;height:44px;min-height:0;padding:0;border:1px solid #725321;border-top:0;border-radius:0 0 9px 9px;background:linear-gradient(#eddbaf,#be9a58)!important;font:700 24px Georgia,serif;color:#402a12!important;cursor:pointer;box-shadow:0 2px 4px #0005}.info-help:hover{filter:brightness(1.08)}.building-levels-back{margin-top:6px}.profile-hero{display:grid;gap:6px;margin-top:8px}.profile-hero h4{margin:0}.profile-xp{position:relative;height:22px;border-radius:11px;background:#1d2a30;border:1px solid #6aa0b8;overflow:hidden}.profile-xp i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#2f7fa0,#5fc3e4)}.profile-xp span{position:relative;display:block;text-align:center;font:700 12px/22px PT Sans,sans-serif;color:#fff;text-shadow:0 1px 2px #000}html:not([data-device=phone]) .bar{width:auto}.bar-craft{display:flex;gap:calc(var(--u)*6);align-self:flex-end;margin-left:calc(var(--u)*6)}.bar-craft-btn{display:grid;place-items:center;gap:0;width:calc(var(--u)*58);height:calc(var(--u)*58);min-width:44px;min-height:44px;padding:2px;border:1px solid #c9a24d;border-radius:8px;background:linear-gradient(#3a2a12,#1f1608);color:#f3d482;cursor:pointer}.bar-craft-btn span{font-size:calc(var(--u)*24);line-height:1}.bar-craft-btn small{font:700 10px PT Sans,sans-serif;color:#efe2c2}.bar-craft-btn:hover{filter:brightness(1.2)}html[data-device=phone] .bar-craft{display:none}.desktop-menu{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(170px,1fr));gap:8px}.desktop-menu>button{min-height:44px}.world-catalog-art{display:block;position:relative;background:none!important;clip-path:none!important;flex:none}.world-catalog-art>svg{display:block;width:100%;height:100%;overflow:hidden;pointer-events:none}html[data-device] body #map .world-object{transform:translate(-50%,calc(-1 * var(--site-anchor,86%)))!important}html[data-device] body #map .world-object:is(:hover,:active){transform:translate(-50%,calc(-1 * var(--site-anchor,86%)))!important}#map .world-object:after{min-width:44px;min-height:44px;pointer-events:auto}#map .world-object[data-kind=throne]{pointer-events:none}#map .world-object[data-kind=throne]:after{width:30%;height:30%;pointer-events:auto}#map .world-object .world-label{top:calc(var(--site-anchor,86%) + 8px);max-width:160px;background:#10231dde;border:1px solid #b29a6544;border-radius:4px;color:#eee5cf;font:500 12px/1.25 PT Sans,sans-serif}#map .world-object.own .world-label{border-color:#ddbf78;color:#ffe7a3}#map .world-object.aggressive .world-label:before{content:"!";display:inline-grid;place-items:center;width:14px;margin-right:4px;border-radius:50%;background:#8b332b;color:#fff1d3;font-weight:700}#map .world-object[data-kind=camp] .world-label{border-color:#a6b8c5}#map .world-object[data-kind=resourceNode][data-occupied=true] .world-label{border-color:#d0b878}#map .world-node-horse{top:45%;left:55%;width:calc(var(--u)*34)}#map .world-art{filter:drop-shadow(0 2px 2px #10231988)}html[data-device] body #shell-dialog.world-object-window{color:#efe5cf!important;background:linear-gradient(135deg,#24353d,#122027)!important;border:1px solid #bb9c61!important}html[data-device] body #shell-dialog.world-object-window>.window-head{background:#14242c!important;color:#f0dbab!important;border-bottom:1px solid #aa8b52!important}html[data-device] body #shell-dialog.world-object-window :is(h2,h3,b,strong,dt,dd,p,small){color:inherit}html[data-device] body #shell-dialog.world-object-window :is(.muted,.resource-note){color:#c6d0cc!important}html[data-device] body #shell-dialog.world-object-window .world-object-status{color:#f4deaa!important}html[data-device] body #shell-dialog.world-object-window :is(.btn-green,.btn-blue,.holding-actions button){min-height:44px;border:1px solid #b69a62!important;background:linear-gradient(#365e59,#24423f)!important;color:#fff0cf!important;text-shadow:none!important;border-radius:6px;box-shadow:none!important}html[data-device] body #shell-dialog.world-object-window button:disabled{background:#344148!important;color:#d0d4d0!important;border-color:#788481!important;opacity:1!important}.world-object-visual .world-catalog-art{width:min(220px,50vw)!important;height:200px!important;margin:auto}.lair-card>.world-catalog-art{width:min(190px,48vw)!important;height:210px!important;margin:0 auto 8px}.world-object-window .lair-card{gap:12px}.world-object-window .lair-card p{margin:4px 0}html[data-device] body .city-radial{--r:min(210px,29vh);--b:56px;background:#061016bb;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}html[data-device] body .radial-circle{background:radial-gradient(ellipse,#324c40,#142b29)!important;border:2px solid #c2a16b!important;box-shadow:0 0 0 4px #0c181e,0 12px 32px #0008!important;overflow:visible}html[data-device] body .radial-circle .radial-art{width:76%!important;height:74%!important;transform:none!important;position:relative!important;inset:auto!important}html[data-device] body .radial-circle-name{bottom:5%;max-width:90%;text-align:center;white-space:normal;overflow-wrap:anywhere;font:600 14px/1.2 PT Sans,sans-serif}html[data-device] body .radial-icon{background:linear-gradient(#344b50,#152c33)!important;border:1px solid #d1b276!important;color:#f4d99b!important;box-shadow:0 3px 8px #0006!important}.radial-icon svg{width:52%;height:52%;pointer-events:none}html[data-device] body .radial-item:disabled .radial-icon{background:#334147!important;color:#c6cdca!important;border-color:#7d898a!important}html[data-device] body .radial-note{color:#f5e0a8!important}@media(max-width:700px),(max-height:540px){html[data-device] body .city-radial{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:58px 12px 16px;gap:12px;overflow-y:auto}html[data-device] body .radial-ring{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(480px,100%);height:auto;max-width:100%;flex:none}html[data-device] body .radial-circle{position:relative;grid-column:1/-1;inset:auto!important;transform:none!important;width:160px;height:160px;margin:0 auto 8px}html[data-device] body .radial-item:is(.top,.l1,.l2,.l3,.r1,.r2,.r3){position:static!important;transform:none!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:8px;padding:7px;min-width:0;min-height:56px;background:#162b32;border:1px solid #b2996266;border-radius:6px}html[data-device] body .radial-icon{width:38px;height:38px;flex:none}html[data-device] body .radial-label{font:600 14px/1.25 PT Sans,sans-serif;white-space:normal;text-align:left}html[data-device] body .radial-plate{position:static;flex:none;font-size:14px;padding:8px!important;margin:0!important;background:#14272edd;border:1px solid #8e784e66;border-radius:6px}html[data-device] body .radial-plate b{font-size:20px}}@media(prefers-reduced-motion:reduce){.city-radial{-webkit-backdrop-filter:none;backdrop-filter:none}}.march-target-art{width:90px!important;height:100px!important;margin:auto}.march-kind-icon svg{width:28px;height:28px;color:#e5c98c}html[data-device] body #map .world-object.allied .world-label{border-color:#83bcd2;color:#d8eff8}html[data-device] body #map .world-object.allied .world-label:before{content:"◆ ";color:#83bcd2}html[data-device] body .field-menu .radial-circle:not(:has(.world-art)){background:#324c40 url(/art/world/terrain-map.webp) center/240px!important}.world-route.march-allied{--march-color:#83bcd2}html[data-device] body #shell-dialog.world-object-window .resource-point{display:grid;grid-template-columns:minmax(0,1fr) minmax(140px,30%);gap:20px;width:100%;min-width:0;box-sizing:border-box}html[data-device] body #shell-dialog.world-object-window .resource-point>section{min-width:0}html[data-device] body #shell-dialog.world-object-window .resource-facts{grid-template-columns:minmax(0,1fr) auto;gap:10px 12px;width:100%;min-width:0}html[data-device] body #shell-dialog.world-object-window .resource-facts dd{margin:0;white-space:nowrap;color:#efe5cf!important}html[data-device] body #shell-dialog.world-object-window .world-object-visual{min-width:0;width:100%;box-sizing:border-box}html[data-device] body #shell-dialog.world-object-window .world-object-visual .world-catalog-art{width:90%!important;max-width:220px;height:180px!important}html[data-device] body #shell-dialog.world-object-window>.window-head .close-dialog{background:#263c42!important;color:#f0dbab!important;border-color:#b79a62!important}html[data-device] body #map-search{background:linear-gradient(135deg,#24353d,#122027)!important;color:#efe5cf!important;border:1px solid #bb9c61!important;border-radius:10px}html[data-device] body #map-search :is(h2,p,label,.map-search-objects){color:#efe5cf!important}html[data-device] body #map-search :is(input,select){background:#14272e!important;color:#efe5cf!important;border:1px solid #9c875e!important}html[data-device] body #map-search :is(.map-search-go,.map-search-cancel){background:#294d49!important;color:#fff0cf!important;border:1px solid #bb9c61!important;text-shadow:none!important;font:600 16px/1.3 sans-serif}@media(max-width:660px){html[data-device] body #shell-dialog.world-object-window .resource-point{grid-template-columns:minmax(0,1fr)!important;gap:14px!important}html[data-device] body #shell-dialog.world-object-window .resource-point .world-object-visual{grid-row:1;height:150px!important}html[data-device] body #shell-dialog.world-object-window .resource-point .world-catalog-art{height:140px!important;width:85%!important;max-width:180px}html[data-device] body #shell-dialog.world-object-window .resource-point button{width:100%;white-space:normal}html[data-device] body #shell-dialog.world-object-window .world-object-layout{grid-template-columns:minmax(0,1fr)!important}html[data-device] body #shell-dialog.world-object-window .resource-facts{font-size:14px!important}}html[data-device] body .city-radial .radial-icon img{display:block;width:78%;height:78%;object-fit:contain;filter:drop-shadow(0 2px 2px #0009);pointer-events:none}html[data-device] body .city-radial .radial-circle .radial-art{width:86%!important;height:82%!important;filter:drop-shadow(0 5px 5px #0009)}@media(max-width:700px)and (orientation:portrait){html[data-device] body .city-radial .radial-circle-name{display:none}html[data-device] body .city-radial .radial-circle{background:radial-gradient(ellipse at 50% 35%,#345148,#102326 75%)!important}html[data-device] body .city-radial .radial-item{background:linear-gradient(135deg,#203b40,#10242a)!important;border-color:#a99160!important}}@media(max-width:700px)and (orientation:portrait){html[data-device] body .city-radial .radial-circle{width:min(176px,44vw);height:min(176px,44vw)}}html[data-device] body .city-radial .radial-icon img{width:90%;height:90%}.city-radial{position:fixed;inset:0;z-index:1000;display:grid;place-items:center;align-content:center;gap:6px;background:#000a;--r:210px;--b:64px}.radial-ring{position:relative;width:calc(var(--r) * 2 + var(--b) * 2 + 260px);height:calc(var(--r) * 2 + 20px);max-width:100vw}.radial-circle{position:absolute;left:50%;top:50%;width:calc(var(--r) * 1.3);height:calc(var(--r) * 1.3);transform:translate(-50%,-50%);border-radius:50%;overflow:hidden;background:radial-gradient(circle,#6f8a3a,#3d5420 70%,#24300f);border:4px solid #c9a24a;box-shadow:0 0 0 2px #6b4f1a,0 0 30px #000c,inset 0 0 40px #000a;display:grid;place-items:center}.radial-art{position:relative!important;inset:auto!important;transform:scale(1.6)!important;width:110px!important;height:90px!important}.radial-circle-name{position:absolute;bottom:22%;padding:1px 8px;border-radius:4px;background:#0008;color:#fff3d6;font:700 15px PT Sans,sans-serif}.radial-item{position:absolute;display:flex;align-items:center;gap:8px;padding:0;border:0;background:none;box-shadow:none;min-height:0;cursor:pointer;color:#fff3d6;transform:translate(-50%,-50%)}.radial-icon{display:grid;place-items:center;width:var(--b);height:var(--b);border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff4c2,#e6b440 50%,#9a6a14);border:2px solid #6b4f1a;box-shadow:0 3px 8px #000a;font:700 28px/1 Cormorant Garamond,serif;color:#2b4a8a}.radial-label{font:700 16px Cormorant Garamond,serif;text-shadow:0 1px 3px #000,0 0 6px #000;white-space:nowrap}.radial-item:hover .radial-icon,.radial-item:focus-visible .radial-icon{filter:brightness(1.12);box-shadow:0 0 0 3px #fff3c9aa,0 3px 8px #000a}.radial-item.soon .radial-icon{filter:grayscale(.6) brightness(.8)}.radial-item.top{left:50%;top:calc(50% - var(--r) * .65 - var(--b) * .55);flex-direction:column-reverse;gap:2px}.radial-item.l1,.radial-item.l2,.radial-item.l3{flex-direction:row-reverse;transform:translate(-100%,-50%)}.radial-item.l1{left:calc(50% - var(--r) * .62 + var(--b) * .5);top:calc(50% - var(--r) * .38)}.radial-item.l2{left:calc(50% - var(--r) * .74 + var(--b) * .5);top:50%}.radial-item.l3{left:calc(50% - var(--r) * .62 + var(--b) * .5);top:calc(50% + var(--r) * .38)}.radial-item.r1,.radial-item.r2,.radial-item.r3{transform:translateY(-50%)}.radial-item.r1{left:calc(50% + var(--r) * .62 - var(--b) * .5);top:calc(50% - var(--r) * .38)}.radial-item.r2{left:calc(50% + var(--r) * .74 - var(--b) * .5);top:50%}.radial-item.r3{left:calc(50% + var(--r) * .62 - var(--b) * .5);top:calc(50% + var(--r) * .38)}.radial-plate{display:grid;justify-items:center;gap:2px;min-width:min(420px,90vw);padding:6px 16px;background:linear-gradient(90deg,transparent,#0b1a14ee 15%,#0b1a14ee 85%,transparent);color:#e9dcb8;text-align:center}.radial-plate b{font:700 22px Cormorant Garamond,serif;color:#fff3d6}.radial-plate span{font:600 16px Cormorant Garamond,serif}.radial-plate small{font:12px PT Sans,sans-serif;color:#c8b88e}.radial-note{margin:0;min-height:0;color:#9fe28a;font:13px PT Sans,sans-serif}.world-marks{display:grid;gap:4px;margin-bottom:8px}.world-mark{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.world-mark .quiet{min-width:36px}.city-radial{overflow-y:auto;overscroll-behavior:contain;padding:56px 12px 20px;box-sizing:border-box}.radial-close{position:fixed;right:max(12px,env(safe-area-inset-right));top:max(12px,env(safe-area-inset-top));width:44px;height:44px;min-height:44px;padding:0;border:1px solid #c5a568;background:#1b2932;color:#f1d69e;font:30px/1 sans-serif;z-index:2}.radial-item{min-height:44px}.radial-item:focus-visible{outline:2px solid #ffe0a0;outline-offset:4px}.radial-item:disabled{opacity:1;color:#c7c8c6}.radial-item:disabled .radial-icon{background:#53606a;color:#e1e5e6;border-color:#a8afb0;filter:none}.radial-plate{max-width:min(680px,calc(100vw - 24px));overflow-wrap:anywhere}@media(max-width:650px)and (orientation:portrait){.city-radial{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:12px;--b:44px}.radial-ring{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;width:min(420px,100%);height:auto;max-width:100%}.radial-circle{position:relative;grid-column:1/-1;inset:auto!important;transform:none!important;width:156px;height:156px;margin:0 auto 12px}.radial-item:is(.l1,.l2,.l3,.r1,.r2,.r3){position:static!important;transform:none!important;flex-direction:row!important;align-items:center;justify-content:flex-start;gap:7px;padding:6px;min-width:0;min-height:56px;background:#17232de8;border:1px solid #c5a56866;border-radius:6px}.radial-icon{flex:none;font-size:23px}.radial-label{font:700 13px/1.25 PT Sans,sans-serif;white-space:normal;text-align:left}.radial-circle-name{font-size:12px;bottom:16%}.radial-plate{padding:0!important;margin:0;text-align:center}.radial-plate b{font-size:20px}.radial-plate span{font-size:14px}.radial-plate small{font-size:12px}}.world-camp-art{display:block;width:100%;height:100%;background:url(data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2096%2080%27%3E%3Cellipse%20cx%3D%2748%27%20cy%3D%2769%27%20rx%3D%2743%27%20ry%3D%279%27%20fill%3D%27%23263522%27%2F%3E%3Cpath%20d%3D%27M9%2065L44%2013L83%2060L52%2074Z%27%20fill%3D%27%23b99a59%27%20stroke%3D%27%23342b1d%27%20stroke-width%3D%273%27%2F%3E%3Cpath%20d%3D%27M44%2013L52%2074L26%2067Z%27%20fill%3D%27%23e0c98e%27%2F%3E%3Cpath%20d%3D%27M44%2029L30%2067L52%2074Z%27%20fill%3D%27%23263039%27%2F%3E%3Cpath%20d%3D%27M44%208V28M7%2064L3%2074M83%2060L91%2070%27%20stroke%3D%27%23583c22%27%20stroke-width%3D%274%27%2F%3E%3Cpath%20d%3D%27M46%2010L68%2013L48%2025Z%27%20fill%3D%27%23264e7a%27%20stroke%3D%27%23cdb575%27%2F%3E%3C%2Fsvg%3E) center bottom/contain no-repeat}.field-menu .radial-circle{background:#526436 url(/art/world/terrain-map.webp) center/240px}.field-menu .radial-circle .world-camp-art{position:absolute;inset:15%;width:70%;height:70%}.field-menu .radial-note{max-width:520px;color:#f2dfad}.field-menu .radial-plate b{font-variant-numeric:tabular-nums}@media(max-width:650px)and (orientation:portrait){.field-menu .radial-item.top{position:static!important;transform:none!important;flex-direction:row!important;justify-content:flex-start;gap:7px;padding:6px;min-width:0;min-height:56px;background:#17232de8;border:1px solid #c5a56866;border-radius:6px}.field-menu .radial-ring{max-height:none}}.field-menu{--r:min(180px,24vh);--b:clamp(44px,7vh,64px)}.field-menu .radial-icon img{display:block;width:90%;height:90%;object-fit:contain}html[data-device] body #shell-dialog.game-dialog.kingdom-more-window{position:fixed!important;inset:64px 8px 76px auto!important;margin:0!important;transform:none!important;width:min(460px,56vw)!important;max-width:calc(100vw - 24px)!important;height:auto!important;max-height:none!important;min-height:0!important;display:flex;flex-direction:column;overflow:hidden!important;box-sizing:border-box!important;z-index:1100!important;padding:0!important;border:1px solid #c5a568!important;border-radius:3px!important;background:radial-gradient(ellipse at 100% 0,#23343c55,transparent 65%),linear-gradient(120deg,#101c22,#091317)!important;color:#efe4ce!important;box-shadow:inset 0 0 0 3px #081114,inset 0 0 0 4px #79613b66,-8px 0 26px #0007!important}html[data-device] body #shell-dialog.kingdom-more-window::backdrop{background:#030b1020;-webkit-backdrop-filter:none;backdrop-filter:none}html[data-device] body #shell-dialog.kingdom-more-window>.window-head{flex:none;position:relative;z-index:1;display:flex!important;align-items:center;justify-content:space-between;min-height:72px!important;height:auto!important;padding:10px 64px 10px 24px!important;background:linear-gradient(120deg,#122128,#081318)!important;border-bottom:1px solid #aa874e!important}html[data-device] body #shell-dialog.kingdom-more-window>.window-head:after{content:"◆";position:absolute;bottom:-8px;left:50%;color:#c5a568;background:#0d191f;padding:0 10px;font:12px Georgia,serif;transform:translate(-50%)}html[data-device] body #shell-dialog.kingdom-more-window>.window-head h2{margin:0!important;font:500 34px/1.15 Georgia,serif!important;color:#f0dba8!important;text-align:left!important}html[data-device] body #shell-dialog.kingdom-more-window .window-crystal{display:none!important}html[data-device] body #shell-dialog.kingdom-more-window>.window-head .close-dialog{position:absolute!important;inset:12px 10px auto auto!important;margin:0!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;color:#ecd19c!important;font:38px/1 Georgia,serif!important;transform:none!important}html[data-device] body #shell-dialog.kingdom-more-window #shell-content.kingdom-more-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;grid-template-rows:repeat(4,max-content);flex:1 1 0!important;min-height:0!important;width:100%!important;height:auto!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden!important;padding:20px 16px 16px!important;gap:14px 12px!important;align-content:start;align-items:start;position:relative!important;inset:auto!important;margin:0!important;transform:none!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#91764a #0d191f}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-item{display:flex!important;flex-direction:column;align-items:center;justify-content:center;gap:7px;min-width:0!important;min-height:108px!important;padding:4px!important;border:0!important;border-radius:6px;background:none!important;box-shadow:none!important;color:#f0e6d1!important;transform:none!important}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-medal{display:grid;place-items:center;width:clamp(68px,11vh,126px);aspect-ratio:1;flex:none;border:2px solid #c5a568;border-radius:50%;overflow:hidden;background:radial-gradient(circle at 40% 25%,#384044,#1a242a 65%,#0a1117);box-shadow:0 0 0 2px #070f13,inset 0 0 0 3px #65503088,0 4px 10px #0009}#shell-dialog.kingdom-more-window .kingdom-more-medal img{display:block;width:83%;height:83%;object-fit:contain;filter:drop-shadow(0 3px 3px #0009)}#shell-dialog.kingdom-more-window .kingdom-more-medal.is-portrait img{width:100%;height:100%;object-fit:cover;filter:none}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-label{font:500 20px/1.2 Georgia,serif!important;color:#f0e6d1!important;text-align:center;white-space:nowrap}#shell-dialog.kingdom-more-window .kingdom-more-item:hover .kingdom-more-medal{border-color:#ffe2a1;background:radial-gradient(circle at 40% 25%,#4b4a40,#1a242a 65%)}#shell-dialog.kingdom-more-window .kingdom-more-item:focus-visible{outline:2px solid #f4d596;outline-offset:-2px}#shell-dialog.kingdom-more-window .kingdom-more-item:active .kingdom-more-medal{transform:scale(.96)}html[data-device=phone] body #shell-dialog.game-dialog.kingdom-more-window{inset:calc(88px + env(safe-area-inset-top)) 5px calc(76px + env(safe-area-inset-bottom)) auto!important;width:min(78vw,344px)!important}html[data-device=phone] body #shell-dialog.kingdom-more-window>.window-head{min-height:58px!important;padding:8px 56px 8px 16px!important}html[data-device=phone] body #shell-dialog.kingdom-more-window>.window-head h2{font-size:28px!important}html[data-device=phone] body #shell-dialog.kingdom-more-window>.window-head .close-dialog{top:7px!important}html[data-device=phone] body #shell-dialog.kingdom-more-window #shell-content.kingdom-more-grid{padding:14px 10px!important;gap:10px 8px!important;grid-template-rows:repeat(4,minmax(104px,1fr))}html[data-device=phone] body #shell-dialog.kingdom-more-window .kingdom-more-medal{width:clamp(64px,10vh,94px)}html[data-device=phone] body #shell-dialog.kingdom-more-window .kingdom-more-label{font-size:17px!important}@media(max-height:600px){html[data-device] body #shell-dialog.game-dialog.kingdom-more-window{top:8px!important;bottom:8px!important}html[data-device] body #shell-dialog.kingdom-more-window #shell-content.kingdom-more-grid{grid-template-rows:repeat(4,108px)}}@media(prefers-reduced-motion:reduce){#shell-dialog.kingdom-more-window .kingdom-more-item:active .kingdom-more-medal{transform:none}}html[data-device] body #shell-dialog.game-dialog.kingdom-more-window:not([open]){display:none!important}html[data-device] body.more-menu-open :is(.kingdom-hud,.hud,.activity-panel,.world-tools,.world-zoom){visibility:hidden!important;pointer-events:none!important}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-footer{flex:none;padding:10px 16px;border-top:1px solid #79613b;background:#0d191f}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-logout{display:block;width:100%;min-height:44px;padding:10px 12px;border:1px solid #c5a568;border-radius:6px;background:#27363c;color:#f0e6d1;font:600 16px/1.3 sans-serif}#shell-dialog.kingdom-more-window .kingdom-more-logout:focus-visible{outline:2px solid #f4d596;outline-offset:2px}html[data-device] body #shell-dialog.kingdom-more-window #shell-content.kingdom-more-grid{grid-template-rows:none!important;grid-auto-rows:max-content!important;align-content:start!important}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-item{flex-direction:row!important;justify-content:flex-start!important;gap:10px!important;min-height:58px!important;padding:6px!important;border:1px solid #806f4c88!important;background:#172b30!important;text-decoration:none!important;box-sizing:border-box}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-medal{width:42px!important;height:42px!important;flex:none}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-label{font:600 14px/1.2 PT Sans,sans-serif!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-brand{color:#eed69d;font:700 13px/1 PT Sans,sans-serif;letter-spacing:0}html[data-device] body #shell-dialog.kingdom-more-window .kingdom-more-pending{opacity:.7!important;cursor:default}#shell-dialog.kingdom-more-window .kingdom-more-link:focus-visible{outline:2px solid #f4d596;outline-offset:-2px}html[data-device=phone] body #shell-dialog.kingdom-more-window #shell-content.kingdom-more-grid{grid-template-columns:minmax(0,1fr)!important;gap:6px!important}.kingdom-profile .hero-overview{max-width:740px;margin:auto}.kingdom-profile .ho-portrait{position:relative;display:grid;grid-template-columns:110px minmax(0,1fr);gap:6px 12px;padding:12px;border:1px solid #c5a56888;border-radius:8px;background:radial-gradient(ellipse at 15% 50%,#53687a66,transparent 65%),linear-gradient(#23313b,#141c22)}.kingdom-profile .ho-portrait>img{grid-row:1/4;width:110px;height:185px;object-fit:contain;filter:drop-shadow(0 6px 5px #0009)}.kingdom-profile .ho-portrait .kp-identity{margin:0;padding:0;border:0;grid-template-columns:40px minmax(0,1fr)}.kingdom-profile .ho-status{color:#e5c98c;margin:4px 0}.kingdom-profile .ho-worn{grid-column:1/-1;color:#bdc4c7;overflow-wrap:anywhere}.kingdom-profile .ho-panel{padding:12px;margin:12px 0;border:1px solid #c5a56888;border-radius:7px;background:linear-gradient(120deg,#293640,#182128)}.kingdom-profile .ho-panel h3{font:700 20px Georgia,serif;margin:0 0 10px}.kingdom-profile .ho-panel p{margin:8px 0;font-size:14px}.kingdom-profile .ho-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.kingdom-profile .ho-panel-head button{min-width:44px}.kingdom-profile .ho-meter{position:relative;isolation:isolate;border:1px solid #c5a568;height:28px;border-radius:4px;overflow:hidden;background:#101820}.kingdom-profile .ho-meter i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#6589ab,#233c59);z-index:-1}.kingdom-profile .ho-meter.energy i{background:linear-gradient(#b99e51,#60512c)}.kingdom-profile .ho-meter span{display:block;text-align:center;line-height:28px;color:#fff7df;text-shadow:0 1px 3px #000,0 0 4px #000;font-weight:700;font-size:14px}.kingdom-profile .ho-panel>button{width:100%;margin-top:10px}.kingdom-profile .ho-links{display:grid;grid-template-columns:1fr 1fr;gap:8px}.kingdom-profile .ho-links button:last-child{grid-column:1/-1}.kingdom-profile .ho-levels{width:100%;border-collapse:collapse;font-size:12px;margin-top:12px}.kingdom-profile .ho-levels :is(td,th){padding:7px 3px;border-bottom:1px solid #c5a56844;text-align:center}.kingdom-profile .ho-item-layer{position:absolute;inset:0;background:#0009;z-index:4;display:flex;align-items:center;padding:12px;box-sizing:border-box}.kingdom-profile .ho-item-panel{box-sizing:border-box;width:100%;max-height:90%;overflow:auto;padding:14px;background:#171d22;border:1px solid #c5a568;border-radius:8px}.kingdom-profile .ho-item-panel>h3{margin-top:0}.kingdom-profile .ho-item-panel>button{width:100%;position:sticky;top:0;background:#242d35!important}.kingdom-profile .ho-item{padding:12px 0;border-bottom:1px solid #c5a56855}.kingdom-profile .ho-item p{font-size:13px}.kingdom-profile .ho-item button{display:block;width:100%;margin-top:8px}.kingdom-profile .ho-error{color:#ffad9e!important}.kingdom-profile .ho-item-panel button:disabled{opacity:.6}@media(max-width:359px){.kingdom-profile .ho-portrait{grid-template-columns:85px minmax(0,1fr);padding:8px}.kingdom-profile .ho-portrait>img{width:85px;height:155px}.kingdom-profile .ho-portrait .kp-identity{grid-template-columns:1fr}.kingdom-profile .ho-portrait .kp-portrait{display:none}.kingdom-profile .ho-portrait .kp-identity h3{font-size:17px}}html[data-device] body .kingdom-profile .ho-portrait{grid-template-columns:96px minmax(0,1fr);align-items:start;gap:8px 12px}html[data-device] body .kingdom-profile .ho-portrait>img{grid-column:1;grid-row:1 / 3;width:96px;height:160px}html[data-device] body .kingdom-profile .ho-portrait>.kp-identity{display:block;grid-column:2;grid-row:1;min-width:0;margin:0;padding:0;background:none;border:0}.kingdom-profile .ho-portrait .kp-identity-copy{min-width:0}html[data-device] body .kingdom-profile .ho-portrait .kp-identity h3{font-size:24px;line-height:1.2;overflow-wrap:break-word;word-break:normal}html[data-device] body .kingdom-profile .ho-portrait .kp-identity p{font-size:13px;line-height:1.4;overflow-wrap:break-word}.kingdom-profile .ho-portrait>.ho-status{grid-column:2;grid-row:2;min-width:0;font-size:13px;line-height:1.4;white-space:normal;margin:0}.kingdom-profile .ho-portrait>.ho-worn,.kingdom-profile .ho-portrait>button{grid-column:1/-1;min-width:0}@media(max-width:350px){html[data-device] body .kingdom-profile .ho-portrait{grid-template-columns:76px minmax(0,1fr);gap:6px 10px}html[data-device] body .kingdom-profile .ho-portrait>img{width:76px;height:136px}html[data-device] body .kingdom-profile .ho-portrait .kp-identity h3{font-size:21px}}.kingdom-profile .ho-gear{grid-column:1/-1;min-width:0;margin-top:8px}.kingdom-profile .ho-gear>strong{display:block;color:#f0d69b;margin-bottom:8px}.kingdom-profile .ho-gear-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px}.kingdom-profile .ho-gear-item{position:relative;display:flex;align-items:center;justify-content:center;min-width:0;aspect-ratio:1;padding:3px;border:1px solid #af9660;border-radius:5px;background:#101e24}.kingdom-profile .ho-gear-item[aria-pressed=true]{outline:2px solid #f1cb73}.kingdom-profile .ho-gear-item :is(.themed-craft-art,.kp-equipment-art){width:100%;height:100%;min-width:0}.kingdom-profile .ho-gear-item small{position:absolute;right:2px;bottom:1px;padding:0 3px;border-radius:3px;background:#101820;color:#fff1c6;font-size:11px}.kingdom-profile .ho-gear-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:9px}.kingdom-profile .ho-gear-actions strong{grid-column:1/-1;color:#f6e2ad}.kingdom-profile .ho-gear-actions button{min-width:0;padding:8px 5px;line-height:1.2;white-space:normal}@media(max-width:359px){.kingdom-profile .ho-gear-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.hero-effects-dialog{width:min(680px,94vw);max-height:min(90dvh,900px);padding:0;color:#f5e8c8;background:#111f28;border:1px solid #caa45d;border-radius:10px;box-shadow:0 12px 45px #000b}.hero-effects-dialog::backdrop{background:#000b}.hero-effects-dialog header{position:sticky;top:0;z-index:1;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px;background:#13242e;border-bottom:1px solid #aa884b}.hero-effects-dialog h2{margin:0;color:#f7d88e;font:700 26px Georgia,serif}.hero-effects-dialog header button{background:#253942;color:#f7d88e;border:1px solid #caa45d;border-radius:6px;font-size:28px;min-width:46px;min-height:46px}.hero-effects-body{padding:14px}.hero-effects-note{font-size:14px;line-height:1.4;color:#bfcbd0}.hero-effects-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px 12px;padding:12px;margin:8px 0;background:#1c303a;border:1px solid #957c50;border-radius:6px}.hero-effects-row strong{overflow-wrap:anywhere}.hero-effects-row b{color:#b9e3aa}.hero-effects-row small{grid-column:1/-1;color:#c9c5b6;line-height:1.45}.themed-craft-art{display:inline-block;flex:none;width:48px;height:48px;filter:drop-shadow(0 3px 3px #0008)}.themed-craft-art svg{display:block;width:100%;height:100%;overflow:hidden}.kingdom-profile .kf-recipe-detail>.themed-craft-art{width:90px;height:90px;float:left;margin:0 12px 8px 0}.kingdom-profile .kf-slots .themed-craft-art{width:32px;height:32px}.kingdom-profile .kf-material-cost .themed-craft-art{width:30px;height:30px}.kingdom-profile .kf-ranks .themed-craft-art{width:38px;height:38px}.kingdom-profile .kf-theme-banner{display:flex;align-items:center;gap:12px;border:1px solid #c5a56866;border-radius:7px;padding:8px;background:linear-gradient(#293640,#172027)}.kingdom-profile .kf-theme-banner .themed-craft-art{width:100px;height:100px}.kingdom-profile .kf-theme-banner h4{font:700 22px Georgia,serif;margin:0}.item-pic>.themed-craft-art{position:absolute;inset:0;margin:auto;width:100%;height:100%;max-width:120px;max-height:120px}.kingdom-profile .eq-slot>.themed-craft-art{width:36px;height:36px}.world-lair-art>.themed-craft-art{width:100%;height:100%}.lair-card>.themed-craft-art{display:block;width:120px;height:140px;margin:0 auto}.craft-range-art{position:relative;display:inline-block;flex:none;width:72px;height:72px;vertical-align:middle;border-radius:8px;background:radial-gradient(ellipse,#65522b77,transparent 72%)}.craft-range-art.family-vampire{background:radial-gradient(ellipse,#66253399,transparent 72%)}.craft-range-art.family-rune{background:radial-gradient(ellipse,#234b6e99,transparent 72%)}.craft-range-art>img{display:block;width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border:0!important}.craft-range-art>.craft-range-emblem{position:absolute;right:0;top:0;display:grid;place-items:center;width:36%;height:36%;padding:2px;border:1px solid #b99b61;border-radius:50%;background:#14252f;box-sizing:border-box}.craft-range-emblem>img,.craft-range-emblem>.themed-craft-art{width:100%!important;height:100%!important;object-fit:contain!important;margin:0!important;border:0!important}.item-pic>.craft-range-art,.rep-trophy>.craft-range-art{width:100%;height:100%}.es-super-items .craft-range-art{width:32px;height:32px}.kf-chest>.craft-range-art{justify-self:center;width:80px;height:80px}#alliance-quests .aq-prize>.themed-craft-art,#alliance-quests .aq-prize>.craft-range-art{width:22px;height:22px}#events-dialog .ep-prize>.themed-craft-art,#events-dialog .ep-prize>.craft-range-art{width:100%;height:100%}#items-shop .item-pic>.craft-range-art{position:absolute;inset:0;width:100%;height:100%;max-width:100%;max-height:100%}#items-shop .item-pic>.item-material-rank{position:absolute;left:2px;top:2px;z-index:1;max-width:calc(100% - 4px);height:auto;min-height:18px;padding:1px 4px;border:1px solid #b99b61;border-radius:3px;background:#14252feb;color:#f3db9f;font:700 11px/1.25 sans-serif;box-sizing:border-box}#items-shop .craft-range-art>.craft-range-emblem{width:36%;height:36%;inset:0 0 auto auto}#items-shop .craft-range-art>img{max-width:100%!important;max-height:100%!important}.craft-range-art.family-lion{background:radial-gradient(ellipse,#99712399,transparent 72%)}body #shell-dialog.profile-window:has(.eq-top){width:min(1080px,calc(100vw - 24px))!important;max-width:none!important}.eq-top{display:grid;grid-template-columns:300px 1fr;gap:16px;color:#2b1a07;font:14px PT Sans,sans-serif}.eq-left{display:grid;gap:10px;align-content:start}.eq-doll{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.eq-slot{display:grid;justify-items:center;gap:1px;min-height:84px;padding:6px 4px;border:2px dashed #b7954c;border-radius:10px;background:linear-gradient(#fbf3dc,#efdfb6);color:#3a2208;box-shadow:none;transform:none}.eq-slot i{font-style:normal;font-size:26px}.eq-slot b{font:700 15px Cormorant Garamond,serif;min-height:16px}.eq-slot small{font-size:11px;text-align:center;line-height:1.1}.eq-slot.on{border-style:solid}.c1{--cc:#8a8a82}.c2{--cc:#3f9a3f}.c3{--cc:#2f6fc0}.c4{--cc:#8a3fc0}.c5{--cc:#d08a1a}.eq-slot.on,.eq-card{border-color:var(--cc,#b7954c)}.eq-slot.on{box-shadow:0 0 6px var(--cc)}.eq-totals{padding:8px 10px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.eq-totals h4{margin:0 0 4px;font:700 18px Cormorant Garamond,serif}.eq-fx{margin:2px 0;padding-left:16px;font-size:13px}.eq-set{margin:4px 0;font-size:13px}.eq-set.done{color:#1d6b1d}.eq-muted{color:#6b4a14;font-size:13px;margin:4px 0}.eq-right{display:grid;gap:8px;align-content:start;min-width:0}.eq-tabs{display:flex;flex-wrap:wrap;gap:6px}.eq-tab,.eq-chip{min-height:32px;padding:3px 12px;border:1px solid #8a6a2a;border-radius:6px;background:linear-gradient(#f3e3b6,#d9bf80);color:#3a2208;font:700 14px PT Sans,sans-serif;box-shadow:none;transform:none}.eq-tab[aria-pressed=true],.eq-chip.on{background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;border-color:#2e5d12}.eq-filter{display:flex;flex-wrap:wrap;gap:6px;margin:4px 0}.eq-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:10px;max-height:min(46vh,380px);overflow-y:auto;padding:2px}.eq-card{display:grid;gap:3px;align-content:start;padding:8px 10px;border:2px solid #b7954c;border-radius:8px;background:linear-gradient(#fbf3dc,#efdfb6)}.eq-card b{font:700 16px Cormorant Garamond,serif}.eq-card small{font-size:12px;color:#6b4a14}.eq-card.worn{opacity:.75}.eq-cost{display:flex;flex-wrap:wrap;gap:4px 10px;margin:2px 0;font-size:12px}.lack{color:#a02a1a}.eq-actions{display:flex;flex-wrap:wrap;gap:6px}.eq-btn{min-height:30px;padding:3px 10px;border:1px solid #8a6a2a;border-radius:6px;background:linear-gradient(#f3e3b6,#d9bf80);color:#3a2208;font:700 13px PT Sans,sans-serif;box-shadow:none;transform:none}.eq-btn.go{background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;border-color:#2e5d12}.eq-btn.danger{background:linear-gradient(#d6745f,#9a3424);color:#fff;border-color:#6d2216}.eq-btn:disabled{opacity:.5}.eq-mats{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;max-height:min(46vh,380px);overflow-y:auto}.eq-mat{display:grid;gap:4px;padding:8px 10px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.eq-mat>b{font:700 17px Cormorant Garamond,serif}.eq-mat-row{display:flex;align-items:center;gap:8px}.eq-mat-row span{flex:1}.eq-mat-row .eq-btn{min-height:24px;padding:0 10px}.eq-form{display:flex;flex-wrap:wrap;gap:8px}.eq-form input{flex:1;min-width:180px;padding:6px 8px;border:1px solid #8a6a2a;border-radius:6px;background:#fffaf0;color:#2b1a07}.eq-preset{display:flex;align-items:center;gap:10px;padding:6px 10px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.eq-preset b{flex:1}.eq-preset.on{border-color:#3d7a1a;box-shadow:0 0 5px #7fc04a}.eq-table{display:grid;gap:6px;padding:8px 10px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.eq-table h4{margin:0;font:700 18px Cormorant Garamond,serif}.eq-select{max-width:150px;padding:2px;border:1px solid #8a6a2a;border-radius:6px;background:#fffaf0;color:#2b1a07;font:12px PT Sans,sans-serif}.eq-set-details{margin:12px 0;padding:12px;border:1px solid #a98a50;border-radius:8px;background:#071419a6;color:#f4e4c0}.eq-set-details summary{cursor:pointer;color:#f6d690;font-weight:700;padding:4px 0}.eq-set-pieces{list-style:none;padding:0;margin:12px 0;display:grid;gap:8px}.eq-set-pieces li{display:grid;gap:3px;padding:8px;border-radius:5px;background:#ffffff0d}.eq-set-pieces li span,.eq-set-pieces li small{color:#ded4bd}.eq-item-runes{display:grid;gap:8px;min-width:0;margin:10px 0;padding:12px;border:1px solid #a98a50;border-radius:8px;background:#172a30;color:#f5e7c7}.eq-item-runes h4{margin:0;color:#f6d690}.eq-item-runes .eq-muted{color:#d9cfb7}.eq-item-runes .eq-actions{align-items:center}.eq-item-runes .eq-actions span{flex:1 1 160px}.eq-rune-select{flex:1 1 180px;min-width:0;max-width:100%;padding:8px;border:1px solid #a98a50;border-radius:6px;background:#0f2028;color:#f5e7c7}.eq-rune-choices{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:8px;max-height:280px;overflow:auto}.eq-rune-choice{display:grid;grid-template-columns:46px minmax(0,1fr);align-items:center;gap:4px 8px;min-width:0;padding:8px;border:1px solid #8f7950;border-radius:8px;background:#20343e;color:#f5e7c7;text-align:left}.eq-rune-choice .kf-rune-icon{grid-row:span 2;width:44px;height:44px}.eq-rune-choice span:not(.kf-rune-icon){overflow-wrap:anywhere;line-height:1.25}.eq-rune-choice small{color:#d9cfb7}.eq-rune-choice[aria-pressed=true]{border-color:#f6d690;background:#465342;box-shadow:0 0 0 1px #f6d690}@media(max-width:400px){.eq-rune-choices{grid-template-columns:1fr}}.kingdom-profile .kingdom-forge{max-width:760px;margin:auto}.kingdom-profile .kingdom-forge .eq-top{display:block!important;padding:0!important}.kingdom-profile .kingdom-forge .eq-left{display:none!important}.kingdom-profile .kingdom-forge .eq-tabs{position:sticky;top:0;z-index:2;display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));background:#171d22;padding:8px 0}.kingdom-profile .kingdom-forge .eq-tabs button{min-width:0!important;padding:6px 3px!important;font-size:14px!important}.kingdom-profile .kf-current,.kingdom-profile .kf-recipe,.kingdom-profile .kf-material-group{border:1px solid #c5a56888;border-radius:7px;padding:10px;margin:10px 0;background:linear-gradient(120deg,#293640,#172027)}.kingdom-profile .kf-current h4,.kingdom-profile .kf-material-group h4{margin:0 0 8px;font:700 19px Georgia,serif}.kingdom-profile .kf-current>.kp-equipment-art{float:left;margin-right:10px}.kingdom-profile .kf-current>button{width:100%;margin-top:8px}.kingdom-profile .kf-progress{clear:both;position:relative;isolation:isolate;background:#101820;border:1px solid #a48a53;border-radius:4px;height:26px;overflow:hidden;margin:10px 0}.kingdom-profile .kf-progress i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#e5c98c,#8c6e32);z-index:-1}.kingdom-profile .kf-progress span{display:block;text-align:center;color:#fff4d8;text-shadow:0 1px 3px #000,0 0 4px #000;font-size:13px;line-height:26px}.kingdom-profile .kf-progress.indeterminate i{background:linear-gradient(90deg,#655233,#ad8c49,#655233);opacity:.6}.kingdom-profile .kf-sets{margin-top:12px}.kingdom-profile .kf-classes{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.kingdom-profile .kf-slots{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:8px 0 12px}.kingdom-profile .kf-slots button{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0!important;padding:5px 2px!important;font-size:12px!important}.kingdom-profile .kf-slots .kp-equipment-art{width:32px;height:32px}.kingdom-profile .kf-recipe{padding:0;overflow:hidden}.kingdom-profile .kf-recipe-head{display:grid!important;grid-template-columns:48px minmax(0,1fr) 18px;align-items:center;gap:8px;width:100%;border:0!important;border-radius:0!important;padding:10px!important;text-align:left;font-size:14px!important}.kingdom-profile .kf-recipe-head strong,.kingdom-profile .kf-recipe-head small{display:block;overflow-wrap:anywhere}.kingdom-profile .kf-recipe-head small{font-size:12px;margin-top:4px;font-weight:400}.kingdom-profile .kf-ready{color:#a6d591}.kingdom-profile .kf-recipe-detail{padding:12px;border-top:1px solid #c5a56888}.kingdom-profile .kf-recipe-detail>.kp-equipment-art{width:80px;height:80px;float:left;margin:0 12px 8px 0}.kingdom-profile .kf-recipe-detail h4{margin:0 0 6px;font:700 20px Georgia,serif}.kingdom-profile .kf-recipe-detail>.eq-fx{clear:both;padding-top:8px}.kingdom-profile .kf-recipe-detail>button,.kingdom-profile .kf-material-detail>button{width:100%;margin-top:8px}.kingdom-profile .kf-cost{clear:both;margin:12px 0;border-top:1px solid #c5a56844;padding-top:8px}.kingdom-profile .kf-material-cost{display:grid;grid-template-columns:30px minmax(0,1fr) auto;gap:6px;align-items:center;padding:4px 0;font-size:12px}.kingdom-profile .kf-material-cost img{width:30px;height:30px;object-fit:contain}.kingdom-profile .kf-ranks{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:5px}.kingdom-profile .kf-ranks button{display:flex;flex-direction:column;align-items:center;min-width:0!important;padding:4px 1px!important}.kingdom-profile .kf-ranks img{width:28px;height:28px;object-fit:contain}.kingdom-profile .kf-ranks small{font-size:11px}.kingdom-profile .kf-material-detail{margin-top:12px;border-top:1px solid #c5a56855;padding-top:10px}.kingdom-profile .kf-material-detail p{font-size:13px}.kingdom-profile .kf-gold{color:#e5c98c!important;font-weight:700}.kingdom-profile .kingdom-forge .eq-table{background:linear-gradient(#293640,#172027)!important;border-color:#c5a568!important;color:#efe4ce!important}.kingdom-profile .kingdom-forge :is(.eq-chip,.eq-btn,.eq-tab){min-height:44px!important}.kingdom-profile .kingdom-forge button[aria-pressed=true]{border-color:#e5c98c!important;background:linear-gradient(#786039,#44351f)!important}.kingdom-profile .kingdom-forge .eq-grid{grid-template-columns:1fr!important}.kingdom-profile .kingdom-forge .eq-select{width:100%}.kingdom-profile .kingdom-forge .eq-actions{flex-wrap:wrap}.kingdom-profile .kingdom-forge .eq-actions button{flex:1 1 130px}.kingdom-profile .kingdom-forge .lack{color:#ffad9e!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kf-recipe-head{background:linear-gradient(#2c3740,#192128)!important;color:#efe4ce!important;box-shadow:none!important}.kingdom-profile .kf-current:after{content:"";display:block;clear:both}html[data-device] body #shell-dialog.kingdom-profile #shell-content:has(.kingdom-forge){display:flex!important;flex-direction:column!important;overflow:hidden!important;padding-bottom:8px!important}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge{flex:1;min-height:0;min-width:0;width:100%;display:flex;flex-direction:column}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-top{flex:1;min-height:0;min-width:0;display:flex!important;flex-direction:column}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-right{flex:1;min-height:0;min-width:0;display:flex;flex-direction:column}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-tabs{position:static!important;flex:none;min-width:0;z-index:auto}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-body{flex:1 1 0;min-height:0;min-width:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding-top:8px;scroll-padding:8px}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-table{min-width:0;box-sizing:border-box;width:100%;overflow-wrap:break-word}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-current:not(:has(.kf-progress)){display:flex;align-items:center;gap:8px;padding:8px 10px;margin:0 0 10px}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-current:not(:has(.kf-progress)) h4{font:600 15px/1.3 var(--control-font);margin:0}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-current:not(:has(.kf-progress)) p{display:none}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-catalog-controls{padding:0 0 10px;border-bottom:1px solid #b69a5b66}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-slots{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin:0 0 10px}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-slots button{gap:3px;min-height:64px!important;font-size:13px!important;line-height:1.2}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-level-label{display:block;font-size:13px;color:#c6cdd0;margin-bottom:6px}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-classes{display:flex!important;gap:6px;margin:0;flex-wrap:wrap}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-classes button{flex:1;min-width:44px!important;min-height:44px!important;padding:6px!important;font-size:17px!important}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-catalog-summary{display:flex;align-items:baseline;justify-content:space-between;gap:6px;flex-wrap:wrap;margin:12px 0 6px}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-catalog-summary h4{font:600 18px/1.3 var(--control-font);margin:0}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .kf-catalog-summary small{font-size:12px;color:#c6cdd0}@media(max-width:360px){html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-tabs{gap:4px!important}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-tabs button{font-size:10px!important;padding:6px 2px!important}}.kingdom-profile .kf-recipe-preview{display:flex;flex-wrap:wrap;gap:4px;margin-top:7px}.kingdom-profile .kf-preview-material{position:relative;display:grid;place-items:center;width:42px;height:42px;border:1px solid #9b8965;border-radius:4px;background:#142128}.kingdom-profile .kf-preview-material img,.kingdom-profile .kf-preview-material>.themed-craft-art{width:34px;height:34px;object-fit:contain}.kingdom-profile .kf-preview-material small{position:absolute;right:0;bottom:0;margin:0;padding:0 2px;border-radius:2px;background:#10191de8;color:#f6e5ba;font:700 10px/1.2 sans-serif}.kingdom-profile .kf-preview-material.lack small{color:#ffb4a5}.kingdom-profile .kf-preview-material i{position:absolute;left:1px;top:1px;display:grid;place-items:center;min-width:13px;height:13px;border-radius:3px;background:#263c4b;color:#f6e5ba;font:700 10px/1 sans-serif;font-style:normal}.kingdom-profile .kingdom-forge .eq-tabs{grid-template-columns:repeat(4,minmax(0,1fr))!important}.kf-rune-workbench{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:16px;align-items:start}.kf-rune-workbench>*{min-width:0}.kf-rune-table h4,.kf-rune-stock h4{margin:0 0 10px;font:700 21px Georgia,serif}.kf-rune-table{margin:0!important;padding:14px!important}.kf-rune-chance{color:#efd49b;font-weight:700}.kf-rune-table>button{width:100%;margin-top:12px}.kf-rune-table .eq-muted{line-height:1.45;font-size:14px}.kf-rune-circle{position:relative;max-width:300px;aspect-ratio:1;margin:16px auto 22px;border:2px solid #96794a;border-radius:50%;background:radial-gradient(circle,#213e4d 20%,#10232e 56%,#406171 58%,#132630 61%);box-shadow:inset 0 0 22px #66cad32b}.kf-component{position:absolute!important;width:38%;display:flex!important;flex-direction:column;align-items:center;gap:4px;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;min-height:0!important;color:#efe5d2!important}.kf-component small{font-size:12px;line-height:1.3;text-align:center;text-shadow:0 1px 4px #000}.kf-component-blank{left:31%;top:0}.kf-component-dust{bottom:0;left:0}.kf-component-source{bottom:0;right:0}.kf-component-dust>img{height:62px;width:62px;object-fit:contain}.kf-rune-result{position:absolute;top:37%;left:34%;width:32%;display:flex;align-items:center;flex-direction:column;color:#efd49b}.kf-rune-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:62px;height:62px;border:2px solid #779aab;border-radius:50%;background:radial-gradient(circle,#14515c,#14242e 70%);box-sizing:border-box}.kf-rune-icon>img{width:85%;height:85%;object-fit:contain;filter:none}.kf-rune-icon>b{position:absolute;bottom:-3px;right:-2px;min-width:18px;padding:1px 3px;border-radius:4px;background:#13232c;color:#f3dfb7;font-size:13px}.kf-rune-icon.is-blank{border-color:#a78d59;background:#493c2b}.kf-rune-icon.is-blank>img{filter:none}.kf-rune-icon[data-level="4"]{border-color:#bb85ce}.kf-rune-icon[data-level="5"]{border-color:#e8c573}.kf-rune-balance{line-height:1.5}.kf-effect-label{display:block;margin:10px 0;line-height:1.6}.kf-effect-label select{display:block;margin-top:4px;max-width:100%;font-size:16px}.kf-rune-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:460px;overflow:auto;padding:4px}.kf-rune-pick{display:flex;flex-direction:column;align-items:center;gap:7px;padding:10px 5px;min-width:0;background:#20343e;color:#efe5d2;border:1px solid #ad925e77;border-radius:6px}.kf-rune-pick small{font-size:12px;overflow-wrap:anywhere;line-height:1.3}.kf-rune-pick em{font-size:11px;font-style:normal;color:#c1cbd0}.kf-rune-pick[aria-pressed=true]{border-color:#efd49b;background:#3b4948}.kf-rune-detail{margin-top:12px}.kf-rune-detail>.kf-rune-icon{float:left;margin:0 12px 8px 0}.kf-rune-detail .eq-actions{clear:both}.kf-rune-detail h4{line-height:1.4;overflow-wrap:anywhere}.kf-chests{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kf-chest{min-width:0;position:relative;padding:12px;background:#20343e;border:1px solid #ad925e88;border-radius:6px}.kf-chest>img{width:70px;height:70px;object-fit:contain;float:left;margin:0 10px 6px 0}.kf-chest h4{margin:0 0 8px;line-height:1.4}.kf-chest p{clear:both;font-size:14px;line-height:1.5}.kf-chest>button{width:100%}.kf-opened{padding:12px;border:1px solid #97bd89;background:#243b32;margin-bottom:14px}.kf-opened p{line-height:1.5}.kf-material-group .kf-ranks{grid-template-columns:minmax(0,1fr)}.kf-material-detail input{box-sizing:border-box;max-width:100%;min-height:44px;font-size:16px}@media(max-width:600px){.kf-rune-workbench{grid-template-columns:1fr}.kf-rune-circle{max-width:260px}.kf-rune-grid{max-height:360px}.kf-chests{grid-template-columns:1fr}.kingdom-profile .kingdom-forge .eq-tabs button{font-size:12px!important;overflow-wrap:anywhere}.kf-component small{font-size:11px}}.kf-rune-circle{width:min(100%,260px);box-sizing:border-box}.kf-rune-icon[data-level="0"]{border-style:dashed;background:#172a34}.kf-rune-icon[data-level="0"]>img,.kf-rune-icon[data-level="0"]>b{visibility:hidden}html[data-device] body #shell-dialog.kingdom-profile .kingdom-forge .eq-tabs button{font-size:11px!important;white-space:nowrap!important;overflow-wrap:normal!important;padding:6px 2px!important}.kingdom-profile .kf-chest h4,.kingdom-profile .kf-opened h4{font:700 18px/1.35 Georgia,serif}.kf-material-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.kf-material-list .kf-material-group{margin:0;min-width:0;display:flex;flex-direction:column;gap:8px}.kf-material-list .kf-material-group>img,.kf-material-list .kf-material-group>.themed-craft-art{height:80px;width:80px;object-fit:contain;align-self:center}.kf-material-list p{margin:0;line-height:1.45}.kf-material-list button{width:100%}.kf-material-list input{box-sizing:border-box;width:100%;min-height:44px;font-size:16px}@media(max-width:600px){.kf-material-list{grid-template-columns:1fr}.kf-rune-circle{width:min(100%,220px)}.kf-component small{font-size:10px}}html[data-device] body #construction-dialog.construction-premium{position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;box-sizing:border-box!important;width:min(800px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;height:min(1000px,calc(100dvh - 20px))!important;max-height:calc(100dvh - 20px)!important;padding:0!important;overflow:hidden!important;border:1px solid #c5a568!important;border-radius:8px!important;background:radial-gradient(ellipse at 0 0,#233c5944,transparent 70%),#171d22!important;color:#efe4ce!important;font:13px/1.3 PT Sans,sans-serif!important;box-shadow:0 12px 50px #000b!important}html[data-device] body #construction-dialog[open]{display:flex!important;flex-direction:column!important}#construction-dialog::backdrop{background:#04090db3;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}html[data-device] body #construction-dialog .window-head{flex:none!important;position:relative!important;box-sizing:border-box!important;min-height:48px!important;height:48px!important;padding:8px 48px!important;margin:0!important;border:0!important;border-bottom:1px solid #c5a56899!important;background:linear-gradient(#29343d,#131d24)!important}html[data-device] body #construction-dialog .window-head h2{font:700 25px/30px Georgia,serif!important;margin:0!important;padding:0!important;text-align:center!important;color:#efe4ce!important}html[data-device] body #construction-dialog .close-dialog{position:absolute!important;inset:2px 3px auto auto!important;width:44px!important;height:44px!important;padding:0!important;background:linear-gradient(#29343d,#151c22)!important;border:1px solid #c5a56888!important;border-radius:4px!important;box-shadow:none!important;transform:none!important;color:#e5c98c!important;font:30px/1 sans-serif!important}html[data-device] body #construction-dialog .cw-content{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:7px;padding:8px!important;overflow:hidden;box-sizing:border-box}html[data-device] body #construction-dialog :is(span,small,strong,b,h3,p){color:inherit!important;box-sizing:border-box}html[data-device] body #construction-dialog h3{font:700 16px/1.2 Georgia,serif!important;margin:0!important}html[data-device] body #construction-dialog button{min-height:44px!important;min-width:0!important;box-sizing:border-box!important;clip-path:none!important;transform:none!important;margin:0!important;cursor:pointer;touch-action:manipulation;text-transform:none!important;letter-spacing:normal!important;white-space:normal!important}html[data-device] body #construction-dialog button:disabled{opacity:.45;cursor:default}html[data-device] body #construction-dialog button:focus-visible{outline:2px solid #fce0a0;outline-offset:1px}html[data-device] body #construction-dialog [hidden]{display:none!important}html[data-device] body #construction-dialog .cw-button{border:1px solid #e5c98c!important;border-radius:4px!important;background:linear-gradient(#e6c77e,#ad843a)!important;box-shadow:inset 0 0 0 2px #6c4e2355,inset 0 1px #fff1bc!important;color:#271e0f!important;padding:6px 8px!important;font:700 14px/1.2 Georgia,serif!important}html[data-device] body #construction-dialog .cw-secondary{background:linear-gradient(#2b3c49,#15212a)!important;border:1px solid #a78d5c!important;color:#efe4ce!important;border-radius:4px!important;box-shadow:inset 0 1px #ffffff0c!important;padding:5px!important;font:700 12px/1.2 PT Sans,sans-serif!important}#construction-dialog .cw-builders{flex:none;display:grid;grid-template-columns:60px minmax(0,1fr) auto;gap:8px;align-items:center;padding:8px;border:1px solid #c5a56888;background:linear-gradient(110deg,#233c5944,#11191e99)}#construction-dialog .cw-builders-art{width:100%;height:76px;object-fit:contain;filter:drop-shadow(0 4px 4px #0008)}#construction-dialog .cw-builders-copy{display:grid;gap:5px;min-width:0}#construction-dialog .cw-builders-copy>span{font-size:13px;white-space:nowrap}#construction-dialog .cw-workers{display:flex;gap:6px;flex-wrap:wrap}#construction-dialog .cw-worker{display:grid;justify-items:center;gap:2px;font-size:11px}#construction-dialog .cw-worker img{width:36px;height:36px;object-fit:contain;border:1px solid #b69a61;background:#0d171f}#construction-dialog .cw-offer{width:122px;display:grid;gap:3px;justify-items:stretch;text-align:center;padding:6px;border:1px solid #b69a61;background:linear-gradient(#27323c,#111b23)}#construction-dialog .cw-offer>strong{font:700 13px/1.2 Georgia,serif}#construction-dialog .cw-offer>small{font-size:10px;line-height:1.2}#construction-dialog .cw-offer .cw-button{font-size:15px!important;min-height:44px!important}#construction-dialog .cw-main{flex:1 1 0;min-height:0;display:flex;flex-direction:column;gap:7px;overflow:hidden}#construction-dialog .cw-queues{flex:none;max-height:42%;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#87734b #171d22;padding:6px;border:1px solid #c5a56888;display:grid;gap:6px}#construction-dialog .cw-job{display:grid;grid-template-columns:74px minmax(0,1fr);gap:8px;padding:7px;border:1px solid #927c5388;background:linear-gradient(100deg,#23303b88,#10191e)}#construction-dialog .cw-building-art{width:100%;height:86px;object-fit:contain;filter:drop-shadow(0 4px 4px #0007)}#construction-dialog .cw-job-copy{display:grid;gap:5px;min-width:0}#construction-dialog .cw-job-copy>span{font-size:12px}#construction-dialog .cw-job-copy>small{font-size:10px}#construction-dialog .cw-job-progress{display:flex;align-items:center;gap:6px}#construction-dialog .cw-job-progress progress{width:100%;min-width:20px;height:10px;appearance:none;border:1px solid #8a7750;border-radius:3px;background:#0a1218;color:#d7ad58}#construction-dialog progress::-webkit-progress-bar{background:#0a1218;border-radius:3px}#construction-dialog progress::-webkit-progress-value{background:linear-gradient(#f2d48e,#b88836);border-radius:3px}#construction-dialog progress::-moz-progress-bar{background:linear-gradient(#f2d48e,#b88836)}#construction-dialog .cw-job-time{font-size:11px;white-space:nowrap}#construction-dialog .cw-job-actions{display:flex;gap:4px;flex-wrap:wrap}#construction-dialog .cw-job-actions button{flex:1 1 60px;font-size:11px!important;padding:5px!important}html[data-device] body #construction-dialog .cw-free{display:grid;grid-template-columns:58px minmax(0,1fr) 20px;grid-template-rows:auto auto;align-items:center;gap:2px 7px;padding:6px!important;text-align:left;background:#17252daa!important;border:1px solid #927c5388!important;border-radius:3px!important;box-shadow:none!important;color:#efe4ce!important}#construction-dialog .cw-free img{grid-row:1/3;width:58px;height:52px;object-fit:contain}#construction-dialog .cw-free span{font:700 16px/1.2 Georgia,serif}#construction-dialog .cw-free small{grid-column:2;font:11px/1.2 PT Sans,sans-serif}#construction-dialog .cw-free b{grid-column:3;grid-row:1/3;font:28px Georgia,serif}#construction-dialog .cw-locked{display:grid;grid-template-columns:48px minmax(0,1fr);gap:4px 8px;padding:6px;border:1px solid #8d795c66;background:#10191e}#construction-dialog .cw-locked img{grid-row:1/3;width:48px;height:48px;object-fit:contain;filter:grayscale(1);opacity:.45}#construction-dialog .cw-locked strong{font:700 14px/1.2 Georgia,serif}#construction-dialog .cw-locked small{font-size:11px}#construction-dialog .cw-tabs{flex:none;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:3px}html[data-device] body #construction-dialog .cw-tab{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:4px 1px!important;background:linear-gradient(#293640,#121b22)!important;border:1px solid #927c53!important;border-radius:3px!important;box-shadow:none!important;color:#efe4ce!important;font:700 12px/1.1 Georgia,serif!important}#construction-dialog .cw-tab img{width:28px;height:26px;object-fit:contain}html[data-device] body #construction-dialog .cw-tab[aria-pressed=true]{background:linear-gradient(#58472a,#20282d)!important;border-color:#e5c98c!important;box-shadow:inset 0 0 9px #dcbb6322!important}#construction-dialog .cw-list{flex:1 1 0;min-height:100px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#87734b #171d22;display:flex;flex-direction:column;gap:5px;padding:1px}#construction-dialog .cw-building{flex:none;display:grid;grid-template-columns:74px minmax(0,1fr) 84px;align-items:center;gap:6px;padding:6px;border:1px solid #927c5388;background:linear-gradient(100deg,#23303b88,#10191e)}#construction-dialog .cw-building>.cw-building-art{height:76px}html[data-device] body #construction-dialog .cw-art-button{background:none!important;border:0!important;box-shadow:none!important;padding:0!important;border-radius:3px!important}#construction-dialog .cw-art-button img{height:76px}#construction-dialog .cw-building-copy{min-width:0;display:grid;gap:3px}html[data-device] body #construction-dialog .cw-building-copy h3{font-size:14px!important}#construction-dialog .cw-building-copy>span{font-size:11px}#construction-dialog .cw-duration{font-size:10px}#construction-dialog .cw-cost{display:flex;flex-wrap:wrap;gap:3px 5px}#construction-dialog .cw-cost>span{display:inline-flex;align-items:center;gap:2px;font-size:10px}#construction-dialog .cw-cost img{width:16px;height:17px;object-fit:contain}#construction-dialog .cw-cost b{font-weight:400}#construction-dialog .cw-building-action{display:grid;gap:4px;min-width:0;text-align:center}#construction-dialog .cw-building-action button{width:100%;font-size:12px!important;padding:4px!important}#construction-dialog .cw-condition{font-size:10px;line-height:1.2;overflow-wrap:anywhere}html[data-device] body #construction-dialog .cw-missing{color:#f29c87!important}#construction-dialog .cw-footer{flex:none;display:grid;gap:4px;text-align:center;padding:3px 5px;border-top:1px solid #c5a56855}#construction-dialog .cw-footer small{font-size:10px;line-height:1.2}html[data-device] body #construction-dialog .cw-error{color:#ffa98e!important;font-size:12px!important;margin:0!important;overflow-wrap:anywhere}#construction-dialog .cw-error:empty{display:none}@media(max-width:600px){html[data-device] body #construction-dialog.construction-premium{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border-left:0!important;border-right:0!important;margin:0!important;padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}}@media(max-width:350px){#construction-dialog .cw-builders{grid-template-columns:36px minmax(0,1fr) 110px;gap:5px;padding:6px}#construction-dialog .cw-builders-art{height:60px}#construction-dialog .cw-offer{width:110px;padding:4px}html[data-device] body #construction-dialog .cw-builders h3{font-size:14px!important}#construction-dialog .cw-builders-copy>span{font-size:11px}#construction-dialog .cw-building{grid-template-columns:54px minmax(0,1fr) 75px;gap:5px;padding:5px}#construction-dialog .cw-job{grid-template-columns:54px minmax(0,1fr);gap:5px;padding:5px}html[data-device] body #construction-dialog .cw-tab{font-size:10px!important}#construction-dialog .cw-job-time{font-size:9px}}@media(min-width:650px){#construction-dialog .cw-building{grid-template-columns:110px minmax(0,1fr) 130px}html[data-device] body #construction-dialog .cw-building-copy h3{font-size:17px!important}#construction-dialog .cw-cost>span{font-size:12px}#construction-dialog .cw-building-art{height:95px}#construction-dialog .cw-job{grid-template-columns:120px minmax(0,1fr)}#construction-dialog .cw-offer{width:160px}}@media(max-height:500px){html[data-device] body #construction-dialog .cw-content{overflow-y:auto!important}#construction-dialog .cw-main{flex:none;min-height:300px;overflow:visible}#construction-dialog .cw-queues{max-height:none}#construction-dialog .cw-list{min-height:180px;flex:none;overflow:visible}}html[data-device] body #construction-dialog .cw-job-actions button{font:700 11px/1.2 PT Sans,sans-serif!important;padding:5px!important;overflow-wrap:anywhere!important}html[data-device] body #construction-dialog .cw-building-action button{font:700 12px/1.2 PT Sans,sans-serif!important;padding:4px!important}html[data-device] body #construction-dialog .cw-building-copy h3,html[data-device] body #construction-dialog .cw-job-copy h3{text-align:left!important}#construction-dialog .cw-offer{width:140px}#construction-dialog .cw-offer>strong{font-size:12px;white-space:nowrap}@media(max-width:350px){#construction-dialog .cw-offer{width:110px}#construction-dialog .cw-offer>strong{white-space:normal}html[data-device] body #construction-dialog .cw-building-action button{font-size:11px!important}}#construction-dialog .cw-repair{border-color:#c5a568;background:linear-gradient(100deg,#57402244,#18232c)}#construction-dialog .cw-repair .cw-job-time{font-size:13px;white-space:normal}#construction-dialog .cw-repair-note{font-size:11px;line-height:1.3}#construction-dialog .cw-repair .cw-building-art{height:100%;max-height:110px;min-height:70px;object-fit:contain}#construction-dialog .cw-job-copy h3{overflow-wrap:break-word;line-height:1.2}html[data-device] body #construction-dialog .cw-building-action{min-width:0}html[data-device] body #construction-dialog .cw-building-action button:disabled{display:none}#construction-dialog .cw-condition{white-space:normal;overflow-wrap:break-word}html[data-device] body #shell-dialog.game-dialog.kingdom-profile{--kp-graphite:#171d22;--kp-panel:#242d35;--kp-gold:#c5a568;--kp-light:#e5c98c;--kp-text:#efe4ce;--kp-muted:#bdc4c7;--kp-blue:#233c59;box-sizing:border-box!important;width:min(960px,calc(100vw - 32px))!important;max-width:calc(100vw - 32px)!important;height:min(860px,calc(100dvh - 32px))!important;max-height:calc(100dvh - 32px)!important;padding:0!important;border:1px solid var(--kp-gold)!important;border-radius:12px!important;background:radial-gradient(ellipse at 50% 0,#31435255,transparent 60%),var(--kp-graphite)!important;color:var(--kp-text)!important;box-shadow:0 18px 70px #000a!important;overflow:hidden!important;font:14px/1.4 PT Sans,sans-serif!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile[open]{display:flex!important;flex-direction:column!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .window-head{position:relative!important;flex:none!important;min-height:54px!important;height:auto!important;margin:0!important;padding:10px 58px 10px 16px!important;border:0!important;border-bottom:1px solid #c5a56888!important;background:linear-gradient(110deg,#2b343d,#141b20)!important;box-shadow:inset 0 1px #f4dc9a33!important;border-radius:0!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .window-head h2{margin:0!important;padding:0!important;color:var(--kp-text)!important;font:700 24px/1.3 Georgia,serif!important;text-align:left!important;text-shadow:0 2px 3px #000!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .window-crystal{display:none!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .close-dialog{position:absolute!important;inset:5px 6px auto auto!important;min-width:44px!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;background:none!important;border:1px solid #c5a56855!important;border-radius:5px!important;color:var(--kp-light)!important;font:28px/1 sans-serif!important;box-shadow:none!important;transform:none!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow:auto!important;overflow-x:hidden!important;margin:0!important;padding:0 14px 16px!important;background:none!important;color:var(--kp-text)!important;overscroll-behavior:contain;scrollbar-color:#87734b #171d22;box-sizing:border-box!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(h3,h4,p){color:inherit;line-height:1.35}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(button,input,select){font-family:PT Sans,sans-serif;box-sizing:border-box}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(button,.kp-button){min-height:44px!important;cursor:pointer;touch-action:manipulation;transform:none!important;text-transform:none!important;letter-spacing:normal!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(button:focus-visible,input:focus-visible,select:focus-visible){outline:2px solid #f7e3ac!important;outline-offset:3px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile button:disabled{opacity:.5;cursor:default}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .profile-tabs{position:sticky;top:0;z-index:2;display:flex!important;gap:6px!important;justify-content:center;margin:0 -2px 10px!important;padding:8px 0!important;border:0!important;background:#171d22f5}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .profile-tabs button{flex:1 1 0!important;min-width:0!important;width:auto!important;padding:6px 8px!important;min-height:44px!important;border:1px solid #90794d!important;border-radius:5px!important;background:linear-gradient(#2c3740,#192128)!important;color:var(--kp-text)!important;box-shadow:inset 0 1px #e5c98c22!important;font:700 16px/1.2 PT Sans,sans-serif!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .profile-tabs button[aria-pressed=true]{background:linear-gradient(#786039,#44351f)!important;border-color:var(--kp-light)!important;color:#fff1cd!important}.kingdom-profile .kp-overview{max-width:740px;margin:auto}.kingdom-profile .kp-identity{display:grid;grid-template-columns:100px minmax(0,1fr);align-items:center;gap:16px;padding:10px 8px 16px;border-bottom:1px solid #c5a56855;background:radial-gradient(ellipse at 90% 10%,#233c5955,transparent 70%)}.kingdom-profile .kp-portrait{position:relative;aspect-ratio:1;border:2px solid var(--kp-gold);border-radius:50%;background:#233c59;box-shadow:0 3px 12px #0008}.kingdom-profile .kp-portrait img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}.kingdom-profile .kp-vip{position:absolute;bottom:-7px;left:50%;transform:translate(-50%);white-space:nowrap;background:linear-gradient(#39424b,#151b20);border:1px solid var(--kp-gold);padding:1px 10px;color:var(--kp-light);font-weight:700;border-radius:4px}.kingdom-profile .kp-identity h3{font:700 30px/1.2 Georgia,serif;margin:0 0 6px;overflow-wrap:anywhere}.kingdom-profile .kp-identity p{margin:4px 0;font-size:14px}.kingdom-profile .kp-identity .kp-hero-number{color:#e5c98c;font-variant-numeric:tabular-nums;-webkit-user-select:text;user-select:text}.kingdom-profile .kp-clan{display:flex;gap:6px;align-items:center;overflow-wrap:anywhere}.kingdom-profile .kp-clan img{width:25px;height:29px;object-fit:contain}.kingdom-profile .kp-title{color:var(--kp-light)!important}.kingdom-profile .kp-muted{color:var(--kp-muted)!important}.kingdom-profile .kp-identity.compact{grid-template-columns:46px minmax(0,1fr);padding:2px 4px 10px;gap:10px;margin-bottom:10px}.kingdom-profile .kp-identity.compact h3{font-size:19px;margin:0}.kingdom-profile .kp-identity.compact p{font-size:12px;margin:1px 0}.kingdom-profile .kp-identity.compact .kp-clan{display:none}.kingdom-profile .kp-identity.compact .kp-vip{font-size:10px;padding:0 5px}.kingdom-profile .kp-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));margin:10px 0;border:1px solid #c5a56888;border-radius:6px;padding:8px;background:linear-gradient(#2c3540,#171d22)}.kingdom-profile .kp-stats>div{text-align:center;border-right:1px solid #c5a56855}.kingdom-profile .kp-stats>div:last-child{border:0}.kingdom-profile .kp-stats dt{color:var(--kp-muted);font-size:12px}.kingdom-profile .kp-stats dd{font-size:19px;font-weight:700;margin:0;color:var(--kp-light);font-variant-numeric:tabular-nums}.kingdom-profile .kp-holdings>h4{font:700 21px Georgia,serif;margin:16px 0 10px}.kingdom-profile .kp-holding-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.kingdom-profile .kp-castle{position:relative;grid-column:1/-1;overflow:hidden;border:1px solid var(--kp-gold);border-radius:8px;background:linear-gradient(#1e2d35,#151d23);text-align:center;padding:0 10px 10px}.kingdom-profile .kp-castle-art{height:clamp(160px,28dvh,280px);margin:0 -10px;background:linear-gradient(0deg,#171d22,transparent 65%),url(/art/bg-city-9x16.webp) center 40%/cover;display:flex;justify-content:center}.kingdom-profile .kp-castle-art img{height:100%;width:100%;object-fit:contain;filter:drop-shadow(0 10px 9px #0009)}.kingdom-profile .kp-castle h4{font:700 22px Georgia,serif;margin:0 26px 4px}.kingdom-profile .kp-level{position:absolute;right:10px;bottom:52px;padding:3px 8px;background:#171d22;border:1px solid var(--kp-gold);border-radius:4px;color:var(--kp-light);font-weight:700}.kingdom-profile .kp-location{font-size:12px!important;margin:0;width:100%}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-button{border:1px solid #90794d!important;border-radius:5px!important;background:linear-gradient(#2c3740,#192128)!important;color:var(--kp-text)!important;padding:8px 12px!important;font:700 14px/1.2 PT Sans,sans-serif!important;box-shadow:inset 0 1px #e5c98c22!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-button.primary{background:linear-gradient(#9d7b41,#68502c)!important;border-color:#d0af6c!important;color:#fff7e5!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-button[aria-pressed=true]{border-color:var(--kp-light)!important;background:linear-gradient(#594b32,#332b21)!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-holding{display:flex;flex-direction:column;align-items:center;gap:3px;padding:6px!important;overflow:hidden}.kingdom-profile .kp-holding img{width:100%;height:105px;object-fit:contain;filter:drop-shadow(0 3px 5px #000a)}.kingdom-profile .kp-holding strong{font-size:16px}.kingdom-profile .kp-holding small{font-size:12px;color:var(--kp-muted)}.kingdom-profile .kp-profile-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:14px}.kingdom-profile .kp-profile-actions>*{flex:1}.kingdom-profile .kp-xp{position:relative;height:22px;overflow:hidden;border:1px solid #9b8454;border-radius:4px;background:#101820;margin:6px 0 10px}.kingdom-profile .kp-xp i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#233c59,#456c8c)}.kingdom-profile .kp-xp span{position:relative;display:block;text-align:center;font:12px/20px PT Sans,sans-serif;color:#fff1d6}.kingdom-profile .kp-skill-summary{display:flex;align-items:center;justify-content:space-between;border:1px solid #c5a56866;padding:4px 8px;background:linear-gradient(#2c3540,#171d22);border-radius:5px;color:var(--kp-light)}.kingdom-profile .kp-help{width:44px;padding:0!important;font-size:20px!important}.kingdom-profile .kp-explanation{font-size:13px;color:var(--kp-muted);padding:10px;background:#233c5944;border:1px solid #c5a56855;border-radius:4px}.kingdom-profile .kp-branches{display:flex;gap:8px;margin:10px 0}.kingdom-profile .kp-branches button{flex:1;min-width:0}.kingdom-profile .kp-tree-scroll{height:clamp(200px,34dvh,380px);overflow-y:auto;overflow-x:hidden;border:1px solid #c5a56866;border-radius:6px;overscroll-behavior:contain;scrollbar-color:#87734b #171d22;background:radial-gradient(ellipse at 50% 10%,#34485b66,transparent 70%),#141b20}.kingdom-profile .kp-tree{position:relative;width:100%;max-width:680px;margin:auto}.kingdom-profile .kp-tree-lines{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.kingdom-profile .kp-tree-lines path{fill:none;stroke:#687077;stroke-width:1;opacity:.4}.kingdom-profile .kp-tree-lines path.met{stroke:#b99d62;opacity:.6}.kingdom-profile .kp-tree-lines path.selected{stroke:#e5c98c;opacity:1}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-skill-node{position:absolute;width:33.333%;display:flex;flex-direction:column;align-items:center;gap:4px;padding:0 3px!important;border:0!important;background:none!important;box-shadow:none!important;color:var(--kp-text)!important;font:12px/1.2 PT Sans,sans-serif!important}.kingdom-profile .kp-skill-medal{position:relative;width:64px;height:64px;border:2px solid #8c8c7f;border-radius:50%;box-shadow:0 4px 8px #0009}.kingdom-profile .kp-skill-medal .hs-art{inset:0}.kingdom-profile .kp-skill-node strong{font-size:12px;line-height:1.15;text-align:center;max-width:150px}.kingdom-profile .kp-skill-node>small{font-size:11px;color:#c5c9c9}.kingdom-profile .kp-skill-node.locked .hs-art{filter:grayscale(.6) brightness(.6)}.kingdom-profile .kp-skill-node.available .kp-skill-medal{border-color:#c9b477}.kingdom-profile .kp-skill-node.maxed .kp-skill-medal{border-color:#d8c58b}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-skill-node[aria-pressed=true]{background:none!important}.kingdom-profile .kp-skill-node[aria-pressed=true] .kp-skill-medal{outline:2px solid var(--kp-light);outline-offset:3px}.kingdom-profile .kp-skill-level{position:absolute;right:-5px;bottom:-3px;padding:1px 5px;border:1px solid #c5a56888;border-radius:4px;background:#171d22;color:var(--kp-light);font-size:12px;line-height:1.3}.kingdom-profile .kp-skill-detail{display:grid;gap:8px;background:linear-gradient(#2c3540,#171d22);border:1px solid #c5a56888;border-radius:6px;padding:12px;margin:10px 0}.kingdom-profile .kp-skill-detail h4{font:700 20px Georgia,serif;margin:0 0 6px}.kingdom-profile .kp-skill-detail p{font-size:13px;margin:3px 0}.kingdom-profile .kp-next{color:var(--kp-light)!important}.kingdom-profile .kp-reset{display:block;width:100%;margin-top:8px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .requirement-notice{background:#18212b!important;border-color:#947a4e!important;color:#f0d8a1!important;font-size:12px!important;min-height:0}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .requirement-notice[hidden]{display:none!important}.kingdom-profile .eq-top{display:grid;grid-template-columns:minmax(270px,.9fr) minmax(0,1.1fr);gap:18px;color:var(--kp-text);font:14px/1.4 PT Sans,sans-serif}.kingdom-profile .eq-top:has(.eq-left[hidden]){grid-template-columns:1fr}.kingdom-profile .eq-left[hidden]{display:none!important}.kingdom-profile .eq-left{display:grid;grid-template-columns:1fr;gap:10px;align-content:start;min-width:0}.kingdom-profile .eq-doll{position:relative;display:grid;grid-template-columns:76px minmax(0,1fr) 76px;grid-template-rows:repeat(3,82px);gap:10px 2px;padding:6px;background:radial-gradient(ellipse at 50% 35%,#344c6277,transparent 70%),linear-gradient(#17222a,#10171c);border:1px solid #c5a56855;border-radius:8px;isolation:isolate}.kingdom-profile .kp-equipped-hero{position:absolute;inset:0;margin:auto;width:100%;height:100%;object-fit:contain;pointer-events:none;z-index:-1;filter:drop-shadow(0 5px 8px #000a)}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .eq-slot{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-height:82px!important;padding:3px!important;background:linear-gradient(#23313be8,#131b23ed)!important;border:1px solid #9a8963!important;border-radius:5px!important;color:var(--kp-text)!important;box-shadow:0 3px 6px #0007!important;transform:none!important;min-width:0}.kingdom-profile .eq-slot.slot-helmet{grid-column:1;grid-row:1}.kingdom-profile .eq-slot.slot-armor{grid-column:1;grid-row:2}.kingdom-profile .eq-slot.slot-boots{grid-column:1;grid-row:3}.kingdom-profile .eq-slot.slot-weapon{grid-column:3;grid-row:1}.kingdom-profile .eq-slot.slot-gloves{grid-column:3;grid-row:2}.kingdom-profile .eq-slot.slot-accessory{grid-column:3;grid-row:3}.kingdom-profile .eq-slot strong{font-size:11px}.kingdom-profile .eq-slot small{font-size:10px;color:var(--kp-muted);line-height:1.2;text-align:center}.kingdom-profile .kp-rune-sockets{color:var(--kp-light)!important}.kingdom-profile .kp-equipment-art{display:block;flex:none;width:48px;height:48px;background:url(/art/profile/equipment-atlas-v1.webp) 0 0/300% 200% no-repeat;filter:drop-shadow(0 2px 2px #0007);border-radius:3px}.kingdom-profile .kp-equipment-art.slot-weapon{background-position:0 0}.kingdom-profile .kp-equipment-art.slot-helmet{background-position:50% 0}.kingdom-profile .kp-equipment-art.slot-armor{background-position:100% 0}.kingdom-profile .kp-equipment-art.slot-gloves{background-position:0 100%}.kingdom-profile .kp-equipment-art.slot-boots{background-position:50% 100%}.kingdom-profile .kp-equipment-art.slot-accessory{background-position:100% 100%}.kingdom-profile .eq-slot .kp-equipment-art{width:36px;height:36px}.kingdom-profile .eq-slot:not(.on) .kp-equipment-art{opacity:.4;filter:grayscale(.7)}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(.eq-card,.eq-mat,.eq-totals,.eq-preset,.eq-table){background:linear-gradient(#2b3540,#192128)!important;border:1px solid #a68d5c!important;color:var(--kp-text)!important;border-radius:6px;padding:10px}.kingdom-profile .eq-totals h4{font:700 18px Georgia,serif;margin:0 0 6px}.kingdom-profile .eq-fx{font-size:13px;line-height:1.4;margin:3px 0;padding-left:17px}.kingdom-profile .eq-muted,.kingdom-profile .eq-card small{color:var(--kp-muted)!important;font-size:12px}.kingdom-profile .eq-set.done{color:#d6c493}.kingdom-profile .lack{color:#f0a991}.kingdom-profile .eq-tabs,.kingdom-profile .eq-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(.eq-tab,.eq-chip,.eq-btn){min-height:44px!important;padding:7px 10px!important;border:1px solid #90794d!important;background:linear-gradient(#2c3740,#192128)!important;color:var(--kp-text)!important;border-radius:5px!important;box-shadow:inset 0 1px #e5c98c22!important;font:700 13px/1.2 PT Sans,sans-serif!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile :is(.eq-tab[aria-pressed=true],.eq-chip.on,.eq-btn.go){background:linear-gradient(#786039,#44351f)!important;border-color:var(--kp-light)!important;color:#fff1cd!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .eq-btn.danger{border-color:#ab725f!important;background:#382b2a!important;color:#f0bda9!important}.kingdom-profile .eq-grid,.kingdom-profile .eq-mats{grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;overflow:visible;gap:10px}.kingdom-profile .eq-card{min-width:0;gap:6px}.kingdom-profile .eq-card b{font:700 17px/1.2 Georgia,serif}.kingdom-profile .eq-card.worn{opacity:1}.kingdom-profile .eq-actions{gap:8px}.kingdom-profile .eq-actions button{flex:1 1 auto}.kingdom-profile .eq-right{min-width:0;gap:4px}.kingdom-profile .kp-inventory-head{display:flex;align-items:center;justify-content:space-between;margin:8px 0}.kingdom-profile .kp-inventory-head h4{margin:0;font:700 20px Georgia,serif}.kingdom-profile .kp-inventory-head small{color:var(--kp-muted)}.kingdom-profile .kp-inventory-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;max-height:176px;overflow-y:auto;padding:3px;margin-bottom:10px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-inventory-item{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border:1px solid var(--cc,#9a8963)!important;background:linear-gradient(#283540,#151d25)!important;color:var(--kp-text)!important;border-radius:5px;min-height:54px!important;padding:3px!important;box-shadow:inset 0 0 8px #0006!important}.kingdom-profile .kp-inventory-item small{position:absolute;right:3px;top:0;font-weight:700;color:#e5c98c}.kingdom-profile .kp-inventory-item i{position:absolute;bottom:0;background:#17222be8;border-radius:3px;font:10px PT Sans,sans-serif;color:#efe4ce;padding:1px 3px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-inventory-item[aria-pressed=true]{outline:2px solid var(--kp-light);outline-offset:0}.kingdom-profile .kp-item-detail>.kp-equipment-art{float:left}.kingdom-profile .eq-form input,.kingdom-profile .eq-select{background:#17212b!important;color:#efe4ce!important;border:1px solid #9a8963!important;min-height:44px;padding:8px;font-size:14px;max-width:100%}.kingdom-profile .eq-preset,.kingdom-profile .eq-mat-row{flex-wrap:wrap}.kingdom-profile .revival-banner{background:#3a2925;color:#f0c6a0;border:1px solid #b28b57;font-size:14px;padding:8px}.ratings-profile{min-height:44px;border:1px solid #ab8e54;border-radius:4px;padding:4px 12px;cursor:pointer}@media(max-width:700px){html[data-device] body #shell-dialog.game-dialog.kingdom-profile{position:fixed!important;inset:0!important;margin:0!important;transform:none!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-width:0!important;border-radius:0!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .window-head{padding-top:calc(10px + env(safe-area-inset-top))!important;padding-left:calc(12px + env(safe-area-inset-left))!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .close-dialog{top:calc(5px + env(safe-area-inset-top))!important;right:calc(6px + env(safe-area-inset-right))!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content{padding:0 max(10px,env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important}.kingdom-profile .kp-identity{grid-template-columns:80px minmax(0,1fr);gap:12px;padding:6px 4px 12px}.kingdom-profile .kp-identity h3{font-size:27px}.kingdom-profile .eq-top{grid-template-columns:1fr;gap:12px}.kingdom-profile .eq-left{grid-template-columns:1fr!important;gap:8px!important}.kingdom-profile .eq-doll{max-width:430px;width:100%;box-sizing:border-box;margin:auto}.kingdom-profile .eq-grid,.kingdom-profile .eq-mats{grid-template-columns:1fr;max-height:none!important;overflow:visible!important}.kingdom-profile .kp-skill-detail{padding:10px}.kingdom-profile .kp-skill-detail h4{font-size:18px}}@media(max-width:350px){html[data-device] body #shell-dialog.game-dialog.kingdom-profile .profile-tabs button{font-size:13px!important;padding:6px 3px!important}.kingdom-profile .kp-identity{grid-template-columns:68px minmax(0,1fr)}.kingdom-profile .kp-identity h3{font-size:23px}.kingdom-profile .kp-clan{font-size:12px!important}.kingdom-profile .eq-doll{grid-template-columns:70px minmax(0,1fr) 70px}.kingdom-profile .kp-skill-medal{width:58px;height:58px}}@media(prefers-reduced-motion:reduce){.kingdom-profile *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content :is(p,span,small,strong,b,i,dt,dd,li){color:inherit!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content :is(.kp-title,.kp-vip,.kp-level,.kp-stats dd,.kp-next,.kp-skill-level,.kp-rune-sockets){color:var(--kp-light)!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content :is(.kp-muted,.eq-muted,.kp-stats dt,.eq-card small){color:var(--kp-muted)!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .lack{color:#f0a991!important}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .kp-skill-cost{display:block;margin:8px 0 4px;padding:6px 8px;border:1px solid #c5a56877;border-radius:4px;background:#10181f;color:#fff0c4!important;font:700 14px/1.4 PT Sans,sans-serif}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .kp-node-cost{color:#efe4ce!important;font:700 11px/1.3 PT Sans,sans-serif;max-width:100%;text-align:center}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .kp-skill-level{background:#101820;color:#fff1bc!important;font:700 12px/1.4 PT Sans,sans-serif;border:1px solid #c5a568;border-radius:4px;padding:1px 6px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .kp-xp span{color:#fff5de!important;text-shadow:0 1px 2px #000}html[data-device] body #shell-dialog.game-dialog.kingdom-profile #shell-content .kp-skill-node.locked{opacity:1;filter:none}.kingdom-profile .kp-skill-editor-layer{position:absolute;inset:0;z-index:5;background:#0005;overflow:hidden}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-skill-editor{position:absolute;box-sizing:border-box;width:min(340px,calc(100% - 20px));max-height:calc(100% - 20px);overflow-y:auto;overscroll-behavior:contain;margin:0;padding:14px;border:1px solid #e5c98c;background:linear-gradient(#2c3540,#171d22);box-shadow:0 8px 35px #000b;border-radius:8px}.kingdom-profile .kp-skill-editor .kp-skill-description h4{padding-right:38px}html[data-device] body #shell-dialog.game-dialog.kingdom-profile .kp-skill-editor-close{position:absolute;right:4px;top:4px;width:44px;height:44px;padding:0!important;min-height:44px!important;background:none!important;border:0!important;color:#e5c98c!important;font:26px/1 sans-serif!important}.kingdom-profile .kp-skill-editor .primary{width:100%;min-height:44px}.kingdom-profile .kp-energy i{background:linear-gradient(90deg,#6b5312,#c99a24)}html[data-device] body #shell-dialog.game-dialog.kingdom-profile dialog.kp-skill-editor{position:fixed;inset:0;margin:auto;width:min(360px,calc(100vw - 24px));max-height:calc(100dvh - 32px);padding:16px;overflow-y:auto;color:#efe4ce}.kingdom-profile dialog.kp-skill-editor::backdrop{background:#0009;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.kingdom-profile dialog.kp-skill-editor .kp-skill-description h4{font-size:21px;line-height:1.2;padding-right:38px}.kingdom-profile dialog.kp-skill-editor>button:last-child{width:100%;min-height:44px}.kingdom-profile dialog.kp-skill-editor .requirement-notice:empty{display:none}#alliance-quests.alliance-quests{width:min(860px,94vw)}#alliance-quests .aq-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:0 0 10px}#alliance-quests .aq-count{font-weight:700;color:#f3dfae}#alliance-quests .aq-next{color:#b9b2a2;font-size:13px}#alliance-quests .aq-refresh{margin-left:auto;min-height:36px;padding:4px 12px;border:1px solid #c5a56877;border-radius:8px;background:#2a3238;color:#efe4ce;font-weight:600;cursor:pointer}#alliance-quests .aq-refresh:disabled{opacity:.5;cursor:default}#alliance-quests .aq-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#alliance-quests .aq-card{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:1px solid #c5a56866;border-left-width:4px;border-radius:10px;background:linear-gradient(#26313a,#161d23);color:#efe4ce}#alliance-quests .aq-card.rarity-common{border-left-color:#9aa3a8}#alliance-quests .aq-card.rarity-rare{border-left-color:#4f9be0}#alliance-quests .aq-card.rarity-epic{border-left-color:#a36be0}#alliance-quests .aq-card.rarity-legendary{border-left-color:#e7b54a;background:linear-gradient(#3a3220,#1c1a12)}#alliance-quests .aq-card.status-active{box-shadow:0 0 0 1px #e2c27f inset}#alliance-quests .aq-card.status-claimed{opacity:.6}#alliance-quests .aq-head{display:flex;justify-content:space-between;align-items:baseline;gap:8px}#alliance-quests .aq-head strong{font:700 16px/1.25 Georgia,serif;color:#f3dfae}#alliance-quests .aq-rarity{font-size:12px;color:#c9c2b0;white-space:nowrap}#alliance-quests .rarity-rare .aq-rarity{color:#8cc4ff}#alliance-quests .rarity-epic .aq-rarity{color:#cfa5ff}#alliance-quests .rarity-legendary .aq-rarity{color:#ffd77a}#alliance-quests .aq-text{margin:0;font-size:13px;line-height:1.35;color:#c9c2b0}#alliance-quests .aq-meta{display:flex;gap:10px;font-size:13px;color:#e8dcc0}#alliance-quests .aq-timer{font-weight:700;color:#7fe0a0}#alliance-quests .aq-done{color:#7fe0a0}#alliance-quests .aq-reward{display:flex;flex-wrap:wrap;gap:6px}#alliance-quests .aq-prize{display:inline-flex;align-items:center;gap:4px;padding:2px 7px 2px 3px;border-radius:12px;background:#0f1418cc;font-size:13px}#alliance-quests .aq-prize img{width:22px;height:22px;object-fit:contain}#alliance-quests .aq-prize i{width:22px;text-align:center;font-style:normal;color:#e7c878}#alliance-quests .aq-prize b{color:#f3dfae}#alliance-quests .aq-bar{height:6px;border-radius:3px;background:#0f1418;overflow:hidden}#alliance-quests .aq-bar i{display:block;height:100%;background:linear-gradient(90deg,#5e9a32,#9fd86a);transition:width 1s linear}#alliance-quests .aq-go,#alliance-quests .aq-finish{margin-top:auto;min-height:40px}#alliance-quests .aq-finish{border:1px solid #8fbf5a;border-radius:8px;background:#22301c;color:#cfeeb5;font-weight:600;cursor:pointer}#alliance-quests .aq-claimed{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:0 0 10px;padding:8px 12px;border:1px solid #8fbf5a;border-radius:10px;background:#1d2a19}#alliance-quests .aq-claimed strong{color:#cfeeb5}#alliance-quests .aq-note{margin:10px 0 0;font-size:13px;color:#b9b2a2}#alliance-quests .aq-empty{display:grid;justify-items:center;gap:10px;padding:16px;text-align:center}#alliance-quests .aq-empty-art{width:96px;height:96px;object-fit:contain}html body #events-dialog.events-premium{--ep-gold:#ddbd72;--ep-muted:#bac6cf;box-sizing:border-box;width:min(740px,calc(100vw - 24px))!important;max-width:100vw!important;max-height:94dvh!important;padding:0!important;color:#f3ecd9!important;background:linear-gradient(130deg,#132b3b,#091721 65%,#142b36)!important;border:1px solid #c6a45e!important;border-radius:12px!important;overflow:hidden!important;box-shadow:0 12px 80px #000b}html body #events-dialog.events-premium[open]{display:flex!important;flex-direction:column!important}#events-dialog::backdrop{background:#02080bc9;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}html body #events-dialog.events-premium :is(h2,h3,h4,p,span,b,small,summary,li,label){color:inherit}html body #events-dialog.events-premium :is(button,select){box-sizing:border-box;min-height:44px;touch-action:manipulation;font:700 14px PT Sans,sans-serif;cursor:pointer;transform:none;box-shadow:none;text-shadow:none}html body #events-dialog.events-premium button:focus-visible,html body #events-dialog.events-premium select:focus-visible{outline:3px solid #9ed8ff;outline-offset:2px}html body #events-dialog.events-premium button:disabled{opacity:.5;cursor:default;filter:saturate(.3)}html body #events-dialog.events-premium .ep-header{display:flex;align-items:center;gap:12px;flex:none;min-height:66px;padding:6px 12px;border-bottom:2px solid #c6a45e;background:linear-gradient(120deg,#153044,#081621)}html body #events-dialog.events-premium .ep-header img{width:46px;height:50px;object-fit:contain}html body #events-dialog.events-premium .ep-header h2{margin:0;flex:1;font:700 34px Cormorant Garamond,Georgia,serif;color:#f6df9e}html body #events-dialog.events-premium .ep-close{border-radius:50%;width:48px;height:48px;padding:0;font-size:36px;color:#f3d493;background:linear-gradient(#284355,#0c1d29);border:2px solid #c4a15c}html body #events-dialog.events-premium .ep-scroll{overflow:auto;min-height:0;padding:10px;overscroll-behavior:contain;scrollbar-color:#a88b50 #112330}html body #events-dialog.events-premium .ep-select-label{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px}html body #events-dialog.events-premium select{min-width:0;flex:1;width:100%;border:1px solid #9b8253;border-radius:5px;padding:5px;color:#f4e7c9;background:#142a39}html body #events-dialog.events-premium .ep-banner{position:relative;isolation:isolate;min-height:180px;overflow:hidden;border:1px solid #bd9b58;border-radius:7px;background:radial-gradient(ellipse at 100% 0,#896b36,#1b3040 55%,#0b1721);padding:12px;margin-bottom:8px}html body #events-dialog.events-premium .ep-banner-copy{position:relative;z-index:1;width:74%;text-shadow:0 2px 3px #000}html body #events-dialog.events-premium .ep-banner-copy>small{color:#c1cbd6;font-size:12px}html body #events-dialog.events-premium .ep-banner h3{font:700 29px/1.05 Cormorant Garamond,Georgia,serif;margin:5px 0;color:#ffe2a0}html body #events-dialog.events-premium .ep-banner p{font:14px/1.3 PT Sans,sans-serif;margin:6px 0;max-width:84%}html body #events-dialog.events-premium .ep-banner-hero{position:absolute;right:-10px;bottom:-18px;width:38%;height:98%;object-fit:contain;object-position:bottom;z-index:0;filter:drop-shadow(0 0 20px #0008)}html body #events-dialog.events-premium .ep-banner-stats{display:flex;gap:12px;margin-top:15px;font-size:12px}html body #events-dialog.events-premium .ep-banner-stats>div{padding-right:12px;border-right:1px solid #b99c5a;display:grid;gap:4px}html body #events-dialog.events-premium .ep-banner-stats b{font-size:18px;color:#ffe1a0}html body #events-dialog.events-premium .ep-phases{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));overflow-x:auto;gap:5px;padding:10px 8px;border:1px solid #9b7e49;border-radius:5px;background:#0c1e2d;margin-bottom:9px}html body #events-dialog.events-premium .ep-phase{position:relative;min-width:0;min-height:52px;border:1px solid #829fb5;border-radius:2px 2px 12px 12px;color:#d5e5f2;background:linear-gradient(110deg,#315a7c,#142e46);font:22px Georgia,serif;padding:5px 0}html body #events-dialog.events-premium .ep-phase[aria-pressed=true]{color:#ffedba;border:2px solid #ffe09b;background:linear-gradient(100deg,#70491b,#bd8026);box-shadow:0 0 10px #f7b13b80}html body #events-dialog.events-premium .ep-phase.past{border-bottom-color:#c8ad6b}html body #events-dialog.events-premium .ep-phase small{position:absolute;bottom:-4px;right:-2px;border-radius:50%;background:#347d32;color:#fff;width:16px;height:16px;font:12px/16px sans-serif}html body #events-dialog.events-premium .ep-panel{border:1px solid #b6985c;border-radius:6px;background:linear-gradient(110deg,#1e3443,#0c1b27);margin:8px 0;padding:9px}html body #events-dialog.events-premium .ep-panel h3{font:700 27px Cormorant Garamond,Georgia,serif;color:#f0ce80;margin:0 0 4px}html body #events-dialog.events-premium .ep-hint{margin:0 0 8px;color:#bac6cf;font-size:12px;line-height:1.3}html body #events-dialog.events-premium .ep-task{display:grid;grid-template-columns:40px minmax(0,1fr) auto 44px;gap:7px;align-items:center;padding:4px 0;border-top:1px solid #5c6b75;min-height:52px;font-size:13px}html body #events-dialog.events-premium .ep-task img{width:40px;height:40px;object-fit:contain;background:#0c1821;border:1px solid #71818b;border-radius:3px}html body #events-dialog.events-premium .ep-task b{color:#f6d177;font-size:15px;white-space:nowrap}html body #events-dialog.events-premium .ep-go{width:44px;height:44px;padding:0;border:1px solid #6e9dc3;border-radius:5px;color:#e9f3fa;font-size:34px;background:linear-gradient(#386f9f,#103451)}html body #events-dialog.events-premium .ep-goal{display:grid;grid-template-columns:minmax(0,1fr) 100px;gap:6px 10px;padding:8px;border:1px solid #667d8e;border-radius:5px;margin:7px 0;background:#07172255}html body #events-dialog.events-premium .ep-goal h4{grid-column:1/-1;font:700 19px Cormorant Garamond,Georgia,serif;color:#efdda8;margin:0}html body #events-dialog.events-premium .ep-prizes{display:flex;gap:5px;flex-wrap:wrap;grid-row:span 2;align-self:center}html body #events-dialog.events-premium .ep-prize{position:relative;display:block;min-width:40px;width:44px;height:48px;border:1px solid #637f9f;border-radius:4px;background:linear-gradient(#1d5475,#16384d)}html body #events-dialog.events-premium .ep-prize img{width:100%;height:100%;object-fit:contain}html body #events-dialog.events-premium .ep-prize b{position:absolute;right:2px;bottom:0;font:700 11px PT Sans,sans-serif;text-shadow:0 1px 3px #000;color:#fff}html body #events-dialog.events-premium .ep-meter{display:grid;gap:3px;align-content:end;min-width:0}html body #events-dialog.events-premium .ep-meter small{font-size:11px;color:#c7d9e7;text-align:right}html body #events-dialog.events-premium progress{width:100%;height:11px;border:1px solid #8595a1;border-radius:8px;overflow:hidden;background:#10202b;accent-color:#edba4e}html body #events-dialog.events-premium progress::-webkit-progress-bar{background:#10202b}html body #events-dialog.events-premium progress::-webkit-progress-value{background:linear-gradient(#ffe193,#cf8a20)}html body #events-dialog.events-premium .ep-gold,html body #events-dialog.events-premium .ep-secondary{border:1px solid #e5bc65;border-radius:5px;color:#2c1e08;background:linear-gradient(#ffe4a4,#d49b38);padding:7px 10px;min-height:44px}html body #events-dialog.events-premium .ep-gold:disabled{background:linear-gradient(#61717f,#354353);color:#d6dce1;border-color:#82909c}html body #events-dialog.events-premium .ep-final{width:100%}html body #events-dialog.events-premium .ep-alliance{display:grid;grid-template-columns:80px minmax(0,1fr) 44px;gap:10px;align-items:center;background:radial-gradient(ellipse at 0 100%,#4f6877,#112a3c 65%)}html body #events-dialog.events-premium .ep-alliance h3{grid-column:1/-1;border-bottom:1px solid #ad925b}html body #events-dialog.events-premium .ep-alliance-art{width:80px;height:100px;object-fit:contain;filter:drop-shadow(0 4px 9px #000)}html body #events-dialog.events-premium .ep-alliance h4{margin:0;font:700 22px Cormorant Garamond,Georgia,serif;color:#e9d291}html body #events-dialog.events-premium .ep-alliance p{font-size:13px;line-height:1.3;margin:5px 0}html body #events-dialog.events-premium .ep-alliance b[data-ep-until]{display:block;color:#f0d28b}html body #events-dialog.events-premium .ep-rankings summary{cursor:pointer;min-height:44px;line-height:44px;color:#efdda8}html body #events-dialog.events-premium .ep-rankings h4{color:#efdda8}html body #events-dialog.events-premium .ep-rankings li,html body #events-dialog.events-premium .ep-rankings p{font-size:13px}html body #events-dialog.events-premium .ep-ok{padding:8px;color:#b8e2a0}html body #events-dialog.events-premium .ep-error{padding:8px;color:#ffc0aa}html body #events-dialog.events-premium .ep-empty{padding:24px;color:#c1ced7;line-height:1.5}@media(max-width:640px){html body #events-dialog.events-premium{position:fixed!important;inset:0!important;margin:0!important;transform:none!important;width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important}html body #events-dialog.events-premium .ep-header{padding-top:max(6px,env(safe-area-inset-top));min-height:60px}html body #events-dialog.events-premium .ep-scroll{padding:7px 7px max(12px,env(safe-area-inset-bottom))}html body #events-dialog.events-premium .ep-banner h3{font-size:26px}html body #events-dialog.events-premium .ep-banner p{font-size:12px}html body #events-dialog.events-premium .ep-task{font-size:12px;grid-template-columns:34px minmax(0,1fr) auto 44px;gap:5px}html body #events-dialog.events-premium .ep-task img{width:34px;height:38px}html body #events-dialog.events-premium .ep-goal{grid-template-columns:minmax(0,1fr) 92px;gap:5px}html body #events-dialog.events-premium .ep-prize{width:38px;min-width:38px;height:44px}html body #events-dialog.events-premium .ep-alliance{grid-template-columns:60px minmax(0,1fr) 44px}html body #events-dialog.events-premium .ep-alliance-art{width:60px}}@media(prefers-reduced-motion:reduce){#events-dialog *{scroll-behavior:auto!important;transition:none!important}}html[data-device] body #ratings-dialog.ratings-window{width:min(760px,calc(100vw - 24px))!important;max-height:calc(100dvh - 24px)!important;height:min(760px,90dvh)!important;padding:0!important;overflow:hidden!important;border:1px solid #a58d5e!important;border-radius:12px!important;background:#14252d!important;color:#eee5ce!important}html[data-device] body #ratings-dialog>.window-head{min-height:64px!important;height:auto!important;padding:14px 68px 14px 22px!important;background:#192d35!important;border-bottom:1px solid #9f875455!important}html[data-device] body #ratings-dialog>.window-head h2{margin:0!important;color:#f0d99e!important;font:600 28px/1.2 Georgia,serif!important;text-align:left!important}html[data-device] body #ratings-dialog>.window-head .close-dialog{position:absolute!important;top:10px!important;right:10px!important;inset-inline-start:auto!important;width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:1px solid #9f875477!important;border-radius:8px!important;background:#21363e!important;box-shadow:none!important;color:#ebd5a2!important;font:28px/1 sans-serif!important;transform:none!important}html[data-device] body #ratings-dialog .ratings-body{display:flex!important;flex-direction:column;min-height:0!important;overflow:hidden!important;gap:0!important;padding:16px!important;color:#eee5ce!important;font:14px/1.35 PT Sans,sans-serif!important;flex:1}#ratings-dialog .ratings-tools{flex:none;display:grid;gap:12px;margin-bottom:12px}#ratings-dialog :is(.ratings-tabs,.ratings-sort){display:flex;gap:4px;align-items:center}#ratings-dialog .ratings-tabs{padding:3px;border:1px solid #82908844;border-radius:8px;background:#102028}html[data-device] body #ratings-dialog .ratings-tabs button{flex:1;min-width:0;min-height:44px!important;padding:8px 12px!important;border:1px solid transparent!important;border-radius:5px!important;background:transparent!important;color:#bac9c7!important;font:600 15px/1.3 PT Sans,sans-serif!important;box-shadow:none!important;transform:none!important}html[data-device] body #ratings-dialog .ratings-tabs button[aria-pressed=true]{background:#304846!important;border-color:#a58d5e77!important;color:#f4dfad!important}html[data-device] body #ratings-dialog .ratings-sort button{min-height:44px!important;min-width:68px;padding:8px 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:none!important;color:#b6c7c6!important;font:600 13px/1.2 PT Sans,sans-serif!important;box-shadow:none!important;transform:none!important}html[data-device] body #ratings-dialog .ratings-sort button[aria-pressed=true]{border-bottom-color:#d8b878!important;color:#f4dfad!important}#ratings-dialog .ratings-mine{margin:0!important;color:#c7d8d0!important;font-size:13px;font-weight:500}#ratings-dialog .ratings-columns,#ratings-dialog .ratings-row{display:grid;grid-template-columns:40px minmax(0,1fr) 120px 16px;gap:12px;align-items:center;box-sizing:border-box}#ratings-dialog .ratings-columns{flex:none;padding:0 12px 8px;color:#a9bcb9;font-size:12px;border-bottom:1px solid #a58d5e44}#ratings-dialog .ratings-columns>span:last-child{text-align:right}#ratings-dialog .ratings-list{flex:1;min-height:0;max-height:none!important;margin:0!important;padding:0!important;overflow-y:auto;overflow-x:hidden;list-style:none;scrollbar-width:thin;scrollbar-color:#7d8f86 #14252d;overscroll-behavior:contain}#ratings-dialog .ratings-list>li{margin:0;padding:0;list-style:none}html[data-device] body #ratings-dialog .ratings-row{width:100%!important;min-height:68px!important;height:auto!important;margin:0!important;padding:10px 12px!important;border:0!important;border-bottom:1px solid #93a08b26!important;border-radius:0!important;background:transparent!important;color:#eee5ce!important;text-align:left!important;box-shadow:none!important;transform:none!important;font:14px/1.3 PT Sans,sans-serif!important}html[data-device] body #ratings-dialog button.ratings-row:hover{background:#29413f!important}html[data-device] body #ratings-dialog .ratings-row.me{background:#29433c!important;box-shadow:inset 3px 0 #ccb477!important}#ratings-dialog .ratings-place{display:grid;place-items:center;width:30px;height:30px;color:#b7c8c2;font:600 14px/1 sans-serif;font-variant-numeric:tabular-nums}#ratings-dialog .ratings-place[data-podium]{border:1px solid #9f875477;border-radius:50%;color:#f2d392}#ratings-dialog .ratings-who{display:grid;min-width:0;gap:4px}#ratings-dialog .ratings-identity{display:flex;gap:5px;align-items:baseline;min-width:0}#ratings-dialog .ratings-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-width:0;color:#f1e8d4;font-weight:600}#ratings-dialog .ratings-tag{flex:none;color:#b8cba9;font-size:12px}#ratings-dialog .ratings-who small{color:#aebfba;font:12px/1.3 PT Sans,sans-serif}#ratings-dialog .ratings-value{text-align:right;white-space:nowrap;color:#ead7ab;font-weight:600;font-variant-numeric:tabular-nums}#ratings-dialog .ratings-arrow{text-align:right;color:#91a8a2;font-size:24px}#ratings-dialog .ratings-state{padding:30px 12px!important;text-align:center;color:#bdccc6}#ratings-dialog button:focus-visible{outline:2px solid #e9cb8c!important;outline-offset:-3px!important}@media(max-width:600px){html[data-device] body #ratings-dialog.ratings-window{width:calc(100vw - 16px)!important;height:calc(100dvh - 16px)!important;max-height:calc(100dvh - 16px)!important}html[data-device] body #ratings-dialog .ratings-body{padding:10px!important}html[data-device] body #ratings-dialog>.window-head{padding-left:14px!important}#ratings-dialog .ratings-tools{gap:6px;margin-bottom:8px}#ratings-dialog .ratings-columns,#ratings-dialog .ratings-row{grid-template-columns:28px minmax(0,1fr) 90px 10px;gap:6px}html[data-device] body #ratings-dialog .ratings-row{padding:10px 4px!important;min-height:64px!important}#ratings-dialog .ratings-columns{padding:0 4px 8px;font-size:11px}#ratings-dialog .ratings-place{width:26px;height:26px;font-size:12px}#ratings-dialog .ratings-value{font-size:12px}#ratings-dialog .ratings-who small{font-size:11px}#ratings-dialog .ratings-identity{gap:3px;flex-wrap:wrap}#ratings-dialog .ratings-identity strong{max-width:100%;font-size:13px}}html[data-device] body #ratings-dialog .ratings-value{font:600 14px/1.3 PT Sans,sans-serif!important;font-variant-numeric:tabular-nums!important;color:#ead7ab!important}html[data-device] body #ratings-dialog .ratings-who small{font:400 12px/1.3 PT Sans,sans-serif!important;color:#aebfba!important}@media(max-width:600px){html[data-device] body #ratings-dialog .ratings-value{font-size:12px!important}html[data-device] body #ratings-dialog .ratings-who small{font-size:11px!important}}.parch-window{position:fixed;inset:0;margin:auto;width:min(980px,96vw);height:min(560px,94vh);padding:0;border:3px solid #6b4a1c;border-radius:6px;background:linear-gradient(#f4e8c8,#e3cd98);color:#2b1a07;box-shadow:0 0 0 2px #d7b25c,0 12px 50px #000c;font:15px PT Sans,sans-serif;overflow:hidden;display:none;flex-direction:column}.parch-window[open]{display:flex}.parch-window::backdrop{background:#0c0906b0}.parch-head{position:relative;flex:none;padding:8px 80px 0;text-align:center;background:linear-gradient(#f3e4bf,#d8bf88);border-bottom:3px solid #8c6a32}.parch-head h2{margin:2px 0 6px;font:700 28px Cormorant Garamond,serif;color:#3a2208}.parch-gem{position:absolute;left:10px;top:0;width:58px;height:74px;display:grid;justify-items:center;align-content:start;padding-top:6px;background:linear-gradient(#7cc43a,#3d7a14);clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%)}.parch-gem i{width:20px;height:16px;background:linear-gradient(135deg,#a8ffcf,#0e9f55);clip-path:polygon(20% 0,80% 0,100% 35%,50% 100%,0 35%)}.parch-gem b{color:#fff;font:700 16px PT Sans,sans-serif;text-shadow:0 1px 1px #000}.parch-close{position:absolute;right:0;top:0;width:62px;height:62px;border:0;background:linear-gradient(#e03030,#8e1212);color:#f6d27a;font-size:30px;cursor:pointer}.parch-tabs{display:flex;justify-content:center;gap:2px;flex-wrap:wrap}.parch-tab{border:0;border-radius:6px 6px 0 0;padding:6px 16px;background:transparent;color:#3a2208;font:700 18px Cormorant Garamond,serif;cursor:pointer;min-height:34px}.parch-tab.on{background:linear-gradient(#f9efd2,#8ec1c4);box-shadow:inset 0 -3px #2f8f98}.parch-body{flex:1;overflow:auto;padding:12px 16px}.parch-error{margin:0;padding:0 16px 8px;color:#a3221a;font-weight:700;min-height:0}.parch-empty{text-align:center;font-style:italic;color:#6b4a14}.parch-active{display:flex;flex-wrap:wrap;gap:6px 18px;margin-bottom:10px;padding:8px 12px;border:1px solid #b7954c;border-radius:4px;background:#fff6dd}.parch-active p{margin:0;font-weight:700}.parch-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:12px}.item-card{display:flex;flex-direction:column;gap:6px;padding:10px;border:1px solid #b7954c;border-radius:6px;background:linear-gradient(#fbf3dc,#efdfb6)}.item-pic{position:relative;height:84px;display:grid;place-items:center;font-size:44px;color:#6b4a14}.item-pic img{max-width:84px;max-height:84px;object-fit:contain}.item-pic em{position:absolute;right:6px;bottom:0;padding:0 6px;border-radius:10px;background:#3a2208;color:#f3d27a;font:700 13px PT Sans,sans-serif;font-style:normal}.item-card h4{margin:0;font:700 18px Cormorant Garamond,serif;color:#3a2208}.item-card p{margin:0;font-size:13px;color:#4a3a1a;flex:1}.item-actions{display:grid;gap:4px}.item-actions small{color:#7a6440;font-style:italic}.parch-btn{min-height:34px;padding:6px 10px;border:1px solid #8c6a32;border-radius:4px;background:#f3e4bf;color:#3a2208;font:700 14px PT Sans,sans-serif;cursor:pointer;text-align:left}.parch-btn.green{background:linear-gradient(#6fcf3a,#2e7d12);color:#fff;border-color:#1d4d08}.parch-btn.blue{background:linear-gradient(#2fb6d6,#0b5f86);color:#fff;border-color:#e6c77c;text-align:center}.parch-balance{margin:0 0 8px;text-align:right;font:700 15px PT Sans,sans-serif;color:#3a2208}.item-material .item-material-rank{position:absolute;left:5px;top:2px;display:grid;place-items:center;min-width:24px;height:24px;padding:0 5px;border:1px solid #8b7952;border-radius:5px;background:linear-gradient(#495057,#272f34);color:#f0e6cb;font:700 14px PT Sans,sans-serif}.item-material[data-rank="2"] .item-material-rank{border-color:#609477;background:linear-gradient(#3c6457,#203f35)}.item-material[data-rank="3"] .item-material-rank{border-color:#7d95c2;background:linear-gradient(#435d83,#26374f)}.item-material[data-rank="4"] .item-material-rank{border-color:#a07cc4;background:linear-gradient(#5e3f83,#35234f)}.item-material[data-rank="5"] .item-material-rank{border-color:#d4a64a;background:linear-gradient(#8a6424,#4f3912)}#items-shop{--inv-gold:#c5a568;--inv-text:#efe4ce;background:#171d22;color:var(--inv-text);width:min(780px,96vw);height:min(860px,96dvh);border:1px solid var(--inv-gold);box-shadow:0 16px 70px #000d}#items-shop .parch-head{padding:10px 12px 0!important;background:linear-gradient(130deg,#29343e,#151d24);border-bottom:1px solid var(--inv-gold)}#items-shop .parch-head h2{margin:0 0 10px!important;min-height:38px;text-align:left!important;font-size:26px!important;color:var(--inv-text);padding-right:150px}#items-shop .parch-close{right:8px;top:8px;width:44px!important;height:44px!important;border:1px solid var(--inv-gold);border-radius:5px;background:#242d35;color:#e5c98c;font-size:26px!important}#items-shop .parch-gem{left:auto;right:62px;top:9px;width:auto;min-width:80px;height:38px;padding:0;display:flex!important;align-items:center;gap:6px;background:none;clip-path:none}#items-shop .parch-gem b{color:var(--inv-text);font-size:14px}#items-shop .parch-tabs{display:grid!important;grid-template-columns:1fr 1fr;gap:6px!important;padding-bottom:8px}#items-shop .parch-tab{width:100%;min-height:44px!important;padding:6px!important;border:1px solid #8a7956;border-radius:5px;background:linear-gradient(#303c46,#1c252d);color:var(--inv-text);font-size:20px!important;box-shadow:none}#items-shop .parch-tab.on{color:#271b0b;border-color:#e5c98c;background:linear-gradient(#eed39a,#b58943)}#items-shop .parch-body{min-height:0;padding:10px!important;overscroll-behavior:contain;scrollbar-width:thin}#items-shop.inventory-mode .parch-body{display:flex;flex-direction:column;gap:8px;overflow:hidden}#items-shop .inventory-filters,#items-shop .inventory-store-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:none}#items-shop .inventory-store-tabs{margin-bottom:10px}#items-shop .inventory-filter{min-height:44px;border:1px solid #716446;border-radius:5px;background:linear-gradient(#29343d,#1c252c);color:var(--inv-text);font:700 14px PT Sans,sans-serif;padding:6px 3px;cursor:pointer;overflow-wrap:anywhere}#items-shop .inventory-filter[aria-pressed=true]{background:linear-gradient(#36516d,#233c59);border-color:#e5c98c;color:#ffe4a9}#items-shop .inventory-grid{flex:1;min-height:80px;overflow:auto;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:8px;overscroll-behavior:contain;padding:2px}#items-shop .inventory-slot{min-width:0;min-height:110px;display:flex;flex-direction:column;gap:4px;padding:6px 4px;border:1px solid #786849;border-radius:5px;background:radial-gradient(ellipse at 50% 30%,#37444a,#182128 75%);color:var(--inv-text);cursor:pointer;touch-action:manipulation}#items-shop .inventory-slot[aria-pressed=true]{border-color:#e5c98c;box-shadow:inset 0 0 0 1px #e5c98c,0 0 9px #c5a56845}#items-shop .inventory-slot .item-pic{height:clamp(62px,20vw,88px)!important;width:100%;min-width:0}#items-shop .inventory-slot .item-pic img{position:absolute;inset:0;margin:auto;height:100%!important;width:100%!important;max-height:100%!important;max-width:100%!important;object-fit:contain}#items-shop .inventory-slot-name{font:700 12px/1.2 PT Sans,sans-serif;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:29px;overflow-wrap:anywhere}#items-shop .item-pic em{right:0;bottom:0;font:700 12px PT Sans,sans-serif;padding:2px 4px;border:1px solid #a78d56;border-radius:3px;background:#111a22e8;color:#f7e4bf;max-width:100%;overflow:hidden}#items-shop .inventory-detail{flex:none;max-height:44%;overflow:auto;scrollbar-width:thin}#items-shop .inventory-detail:empty{display:none}#items-shop .item-card{min-width:0;background:linear-gradient(130deg,#29343d,#182128);border:1px solid #8c7950;border-radius:5px;padding:10px!important;gap:7px!important;color:var(--inv-text)}#items-shop .item-card h4{color:var(--inv-text);font-size:19px!important;line-height:1.15;overflow-wrap:anywhere}#items-shop .item-card p{color:#d0c9b9;font:14px/1.35 PT Sans,sans-serif!important}#items-shop .item-card .item-pic{height:78px!important}#items-shop .item-card .item-pic img{max-width:78px!important;max-height:78px!important}#items-shop .inventory-detail .item-card{display:grid;grid-template-columns:72px minmax(0,1fr);gap:5px 10px!important}#items-shop .inventory-detail .item-pic{grid-row:1/3;height:68px!important}#items-shop .inventory-detail .item-pic img{max-height:68px!important;max-width:68px!important}#items-shop .inventory-detail .item-card>h4,#items-shop .inventory-detail .item-card>p:not(.inventory-total){grid-column:2}#items-shop .inventory-detail .item-card>p:not(.inventory-total){display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;margin:0}#items-shop .inventory-detail .item-actions,#items-shop .inventory-quantity,#items-shop .inventory-total{grid-column:1/-1}#items-shop .inventory-quantity{display:grid;grid-template-columns:44px minmax(44px,1fr) 44px 70px;gap:7px}#items-shop .inventory-quantity input{min-width:0;width:100%;box-sizing:border-box;height:44px;text-align:center;border:1px solid #81734f;border-radius:4px;background:#121c23;color:var(--inv-text);font:700 17px PT Sans,sans-serif}#items-shop .inventory-total{margin:0;text-align:center;font-size:13px!important;color:#e5c98c!important}#items-shop .parch-btn{min-height:44px!important;padding:7px 9px!important;border:1px solid #bca16d;border-radius:4px;background:linear-gradient(#e3c285,#9b753a);color:#21190e;font:700 15px/1.2 PT Sans,sans-serif!important;text-align:center;cursor:pointer;touch-action:manipulation}#items-shop .parch-btn.green{background:linear-gradient(#e8cb91,#b18a48);color:#21190e;border-color:#f2d59a}#items-shop .parch-btn.blue{background:linear-gradient(#345b7c,#233c59);color:var(--inv-text)}#items-shop button:disabled{opacity:.5;cursor:default}#items-shop button:focus-visible,#items-shop input:focus-visible{outline:2px solid #ffe4a9;outline-offset:2px}#items-shop .item-actions small{color:#c4b89f;font-size:13px;font-style:normal}#items-shop .inventory-footnote{flex:none;margin:0;text-align:center;color:#b5b4ad;font:12px/1.25 PT Sans,sans-serif}#items-shop .parch-active{max-height:54px;flex:none;overflow:auto;gap:4px;background:#1b302d;border-color:#577b68;padding:6px 8px;margin:0;color:#d9e7d6;font-size:12px}#items-shop .parch-balance{color:#e5c98c;font-size:14px}#items-shop .parch-empty{grid-column:1/-1;color:#d5c7ac;text-align:center;padding:14px 8px;font-style:normal}#items-shop .parch-error{flex:none;color:#ffc0a9;background:#432920;font-size:14px;padding:8px 12px;max-height:74px;overflow:auto}#items-shop .parch-error:empty{display:none}#items-shop .item-art-unavailable small{font-size:11px;color:#d0c9b9}#items-shop .item-pic>.themed-craft-art{max-width:100%;max-height:100%;width:100%;height:100%}#items-shop .parch-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}@media(max-width:700px){html body #items-shop{inset:0!important;margin:0!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;border-radius:0!important;border-width:0!important}html body #items-shop .parch-head{padding-top:calc(env(safe-area-inset-top,0px) + 8px)!important}html body #items-shop .parch-close{top:calc(env(safe-area-inset-top,0px) + 8px)}html body #items-shop .parch-gem{top:calc(env(safe-area-inset-top,0px) + 9px)}html body #items-shop .parch-body{padding-bottom:max(8px,env(safe-area-inset-bottom,0px))!important}}@media(max-width:340px){#items-shop .inventory-filter{font-size:12px}#items-shop .inventory-slot-name{font-size:11px}html body #items-shop .parch-head h2{font-size:23px!important}#items-shop .parch-gem{min-width:78px;right:57px}#items-shop .parch-gem b{font-size:13px}}@media(max-height:550px){#items-shop.inventory-mode .parch-body{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);grid-template-rows:auto minmax(0,1fr)}#items-shop .inventory-filters{grid-column:1/-1;grid-template-columns:repeat(6,minmax(0,1fr))}#items-shop .inventory-detail{max-height:none;min-height:0}#items-shop .inventory-grid{height:100%}#items-shop .parch-active,#items-shop .inventory-footnote{display:none}}html[data-device] body .inventory-active-effect{display:flex;align-items:center;gap:10px;margin:6px 0;padding:8px;background:#20343e;border:1px solid #b49a6255;border-radius:6px;color:#efe5cf}html[data-device] body .inventory-active-effect>.item-pic{flex:none;width:46px;height:46px;margin:0}html[data-device] body .inventory-active-effect>.item-pic img{width:100%;height:100%;object-fit:contain}html[data-device] body .inventory-active-effect strong,html[data-device] body .inventory-active-effect small{display:block;line-height:1.4}html[data-device] body .inventory-active-effect small{color:#d7c08d;margin-top:3px}html[data-device] body #items-shop .parch-active:has(.inventory-active-effect){display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-height:none;height:auto;overflow:visible;padding:6px;gap:6px}html[data-device] body #items-shop .inventory-active-effect{min-width:0;margin:0;padding:6px;gap:6px}html[data-device] body #items-shop .inventory-active-effect>div:last-child{min-width:0}html[data-device] body #items-shop .inventory-active-effect>.item-pic{width:32px;height:38px}html[data-device] body #items-shop .inventory-active-effect strong{font-size:11px;overflow-wrap:anywhere}html[data-device] body #items-shop .inventory-active-effect small{font-size:10px}html[data-device] body #items-shop .item-pic .item-duration-badge{position:absolute;inset:0 auto auto 0;width:auto;height:auto;min-width:0;padding:1px 4px;border:1px solid #b69a5b88;border-radius:3px;background:#172a33;color:#efd49b;font:700 10px/1.2 PT Sans,sans-serif;z-index:1}html[data-device] body #items-shop .inventory-active-effect .item-duration-badge{display:none}@media(max-height:550px){html[data-device] body #items-shop .parch-active:has(.inventory-active-effect){display:none}}body .march-window{width:min(1000px,calc(100vw - 16px))!important}.march-window .window-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px}.march-steps{display:flex;justify-content:center;gap:0}.march-step{position:relative;min-height:34px;padding:2px 22px 2px 18px;border:0;border-radius:0;background:#e4d7b7;color:#3a2208;font:700 15px Cormorant Garamond,serif;box-shadow:none;transform:none;clip-path:polygon(0 0,calc(100% - 12px) 0,100% 50%,calc(100% - 12px) 100%,0 100%,12px 50%)}.march-step.on{background:linear-gradient(#9fd35a,#4e8a1e);color:#fff;text-shadow:0 1px 2px #0008}.march-step.go{background:linear-gradient(#c3ec6a,#4e8a1e);font-size:17px;letter-spacing:.5px}.march-window .window-content{display:grid;gap:8px;max-height:min(76vh,640px);overflow-y:auto}.march-troops{display:grid;grid-template-columns:180px minmax(0,1fr);gap:10px;min-height:260px}.march-city{display:grid;align-content:start;justify-items:stretch;gap:6px;padding:8px;border:1px solid #b7954c;border-radius:6px;background:#efe0b8}.march-castle{font-size:38px;text-align:center}.march-city-name{padding:4px 8px;background:linear-gradient(#4fb3d9,#1e7fae);color:#fff;text-align:center;font:700 16px Cormorant Garamond,serif}.march-modes{display:grid;grid-template-columns:1fr 1fr;gap:4px;margin-top:8px}.march-mode{min-height:32px;border:1px solid #8c6a32;border-radius:6px;background:#e4d7b7;color:#3a2208;font:700 14px Cormorant Garamond,serif;box-shadow:none;transform:none}.march-mode.on{background:linear-gradient(#e0473f,#9b1a14);color:#fff;border-color:#6e1010}.march-cols{display:flex;gap:8px;overflow-x:auto;padding-bottom:4px}.march-col{flex:0 0 96px;display:grid;justify-items:center;align-content:start;gap:4px;padding:6px 4px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.march-unit{font:700 13px Cormorant Garamond,serif;color:#3a2208;text-align:center;min-height:32px}.march-have{font:12px PT Sans,sans-serif;color:#6b4a14}.march-range{writing-mode:vertical-lr;direction:rtl;height:120px;width:24px;accent-color:#4e8a1e}.march-face{width:56px;height:56px;border-radius:50%;object-fit:cover;object-position:top;border:2px solid #8c6a32;background:#1a140a}.march-count{width:72px;padding:2px 4px;border:1px solid #2f8f98;border-radius:4px;background:#2fa3b0;color:#fff;text-align:center;font:700 14px PT Sans,sans-serif}.march-bar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:6px 10px;border-top:2px solid #8c6a32;background:#3a2a12;color:#f3e2b8;font:700 14px PT Sans,sans-serif}.march-size{text-align:right}.march-size.over{color:#ff8a80}.march-all{min-height:32px}.march-boosts{display:grid;gap:6px}.march-boost{display:grid;grid-template-columns:52px minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 10px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.march-boost-icon{display:grid;place-items:center;width:50px;height:50px;border-radius:8px;background:linear-gradient(#2e5fb0,#163a7a);font-size:26px}.march-boost-info{display:grid;gap:2px;text-align:center}.march-boost-info b{font:700 17px Cormorant Garamond,serif;color:#3a2208}.march-boost-info small{font:italic 12px PT Sans,sans-serif;color:#4a3a1a}.march-boost-side{display:grid;justify-items:center;gap:2px}.march-boost-side button{min-width:150px;min-height:34px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.march-boost-side .currency-icon{width:16px;height:16px}.march-active{color:#2e6e12;font-weight:700}.march-route{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:10px;padding:8px 12px;border:1px solid #b7954c;border-radius:6px;background:#fff6dd}.march-end{display:grid;gap:1px;font:13px PT Sans,sans-serif;color:#2b1a07}.march-end.right{text-align:right}.march-end b{font:700 16px Cormorant Garamond,serif}.march-end strong{font:700 18px Cormorant Garamond,serif;color:#3a2208}.march-mid{display:grid;justify-items:center;gap:2px}.march-kind{font:700 14px Cormorant Garamond,serif;color:#2e6e12}.march-kind-icon{font-size:24px}.march-time{padding:1px 10px;border-radius:10px;background:#2e4a1e;color:#fff;font:700 14px PT Sans,sans-serif}.march-head{margin:4px 0 0;padding:2px 8px;text-align:center;background:linear-gradient(#8a6a3e,#6b4f2a);color:#fff3d6!important;font:700 15px Cormorant Garamond,serif}.march-army{display:flex;flex-wrap:wrap;gap:8px}.march-tile{display:grid;justify-items:center;gap:2px;width:96px}.march-tile img{width:90px;height:90px;object-fit:cover;object-position:top;border:1px solid #8c6a32;border-radius:4px;background:#1a140a}.march-tile small{font:12px PT Sans,sans-serif;color:#3a2208}.march-tile b{font:700 13px PT Sans,sans-serif}.march-sum{display:flex;justify-content:space-between;font:700 14px PT Sans,sans-serif;color:#2b1a07}.march-buffs{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.march-buff{padding:2px 8px;border-radius:10px;background:#efe0b8;font:12px PT Sans,sans-serif}.march-plus{width:40px;height:36px;min-height:0;padding:0;border-radius:6px;background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;font:700 22px/1 sans-serif;border:1px solid #2e5d12}.march-go{min-height:44px;font-size:18px}.march-nav{position:sticky;bottom:0;display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:8px 4px 2px;background:linear-gradient(transparent,#e9d7a8 30%);z-index:2}.march-hint{text-align:center;font:italic 14px Cormorant Garamond,serif;color:#5a3e14}.march-next{min-width:170px;min-height:42px;font-size:18px!important;letter-spacing:.3px}.march-back{min-height:36px;min-width:100px}.march-step{white-space:pre}body .march-window .march-bar span{color:#f3e2b8!important;font:700 15px PT Sans,sans-serif}body .march-window .march-bar .march-size.over{color:#ff8a80!important}body .march-window .march-col{flex:0 0 120px;padding:8px 6px;background:linear-gradient(#fff8e6,#efdfb6)}body .march-window .march-unit{font-size:15px!important;min-height:36px}body .march-window .march-have{font:700 14px PT Sans,sans-serif!important;color:#5a3e14!important}body .march-window .march-range{height:150px;width:30px;accent-color:#3d8a1e;cursor:pointer}body .march-window .march-face{width:84px;height:84px;border-width:3px;box-shadow:0 2px 6px #0006}body .march-window .march-count{width:90px;font-size:16px;padding:4px}body .march-window .march-city{background:linear-gradient(#efe0b8,#e2cd98)}body .march-window .march-mode:disabled{opacity:.55}.march-boost-icon img{width:100%;height:100%;object-fit:contain}body .march-window .window-head{grid-template-columns:auto minmax(0,1fr) auto!important}body .march-window .march-steps{display:flex;justify-content:center;gap:0;min-width:0;overflow-x:auto;scrollbar-width:none}body .march-window .march-step{flex:0 0 auto;min-height:36px;padding:2px 26px 2px 22px;background:linear-gradient(#e8d9b2,#cdb784);color:#5a3e14;font:700 16px Cormorant Garamond,serif;cursor:pointer}body .march-window .march-step.done{background:linear-gradient(#b9c98f,#7e955a);color:#fff;text-shadow:0 1px 2px #0007}body .march-window .march-step.later{opacity:.75}body .march-window .march-step.on{background:linear-gradient(#b8ec6a,#4e8a1e);color:#fff;font-size:18px;text-shadow:0 1px 2px #000a;animation:march-pulse 1.6s ease-in-out infinite}body .march-window .march-step.on.wait{animation:none;filter:saturate(.6)}body .march-window .march-step.go{background:linear-gradient(#ffd34d,#e07b10);font-size:19px;letter-spacing:.6px}@keyframes march-pulse{0%,to{box-shadow:none;filter:brightness(1)}50%{filter:brightness(1.18)}}@media(prefers-reduced-motion:reduce){body .march-window .march-step.on{animation:none}}.march-ask{margin:4px 0 0;text-align:center;font:italic 700 18px Cormorant Garamond,serif;color:#5a3e14}.march-types{display:flex;justify-content:center;gap:28px;padding:6px 0}.march-type{display:grid;justify-items:center;gap:4px;width:min(260px,40vw);padding:14px 12px;border:3px solid #b7954c;border-radius:10px;background:linear-gradient(#f3e3bb,#d9be86);color:#3a2208;cursor:pointer;box-shadow:0 3px 8px #0004}.march-type .march-type-art{font-size:64px;line-height:1.1}.march-type b{font:700 24px Cormorant Garamond,serif}.march-type small{font:italic 12px PT Sans,sans-serif;color:#5a3e14;text-align:center}.march-type.on{border-color:#2fd3e0;box-shadow:0 0 14px #3fe0ec,0 3px 8px #0004}.march-type.locked{filter:grayscale(.7);opacity:.7}.march-hero .march-face.hero{border-radius:50%;border-color:#c9a24a}.march-hero-label{display:grid;justify-items:center;gap:2px;font:italic 12px PT Sans,sans-serif;color:#5a3e14;text-align:center}.march-hero-check{width:30px;height:30px;accent-color:#4e8a1e;cursor:pointer}.march-hero-busy{color:#a8231a;font:12px PT Sans,sans-serif}.march-route{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr)!important}.march-end{display:flex!important;align-items:center;gap:10px}.march-end.right{justify-content:flex-end}.march-end-text{display:grid;gap:1px;min-width:0}.march-end.right .march-end-text{text-align:right}.march-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover;border:3px solid #8c6a32;flex:none}.march-noclan{color:#a8231a}.march-tile-pic{position:relative;display:block}.march-tile-pic b{position:absolute;right:4px;bottom:2px;color:#fff;text-shadow:0 1px 2px #000;font:700 14px PT Sans,sans-serif}.march-tile.hero img{border-radius:50%;border:3px solid #c9a24a}.march-nav{grid-template-columns:auto minmax(0,1fr) auto!important}.march-next{min-width:190px!important;min-height:46px!important;font-size:20px!important;box-shadow:0 0 10px #8fe04a88}.march-next.wait{filter:saturate(.5);box-shadow:none}.march-next.final{background:linear-gradient(#ffd34d,#e07b10)!important;color:#3a1a00!important}.march-error{text-align:center;font-weight:700}.march-popup{position:fixed;inset:0;z-index:20;display:grid;place-items:center;background:#0006}.march-popup-card{display:grid;justify-items:center;gap:12px;max-width:520px;padding:18px 24px;border:3px solid #c9a24a;border-radius:12px;background:linear-gradient(#fbf0d2,#e9d3a0);font:italic 700 17px Cormorant Garamond,serif;color:#2b1a07;text-align:center}.march-popup-card button{min-width:120px;min-height:38px}.march-nav:has(.march-energy){grid-template-columns:auto minmax(0,1fr) auto auto!important}.march-energy{font:700 13px/1.2 PT Sans,sans-serif;color:#6b4b12;white-space:nowrap}.march-energy.lack{color:#b3261e}html[data-device] body #march-dialog.hero-hunt-window{background:linear-gradient(120deg,#242d35,#171d22)!important;color:#efe4ce!important;border:1px solid #c5a568!important;border-radius:8px!important;width:min(700px,calc(100vw - 16px))!important;max-height:calc(100dvh - 16px)!important;padding:0!important;font:14px/1.4 PT Sans,sans-serif!important}html[data-device] body #march-dialog.hero-hunt-window .window-head{background:#242d35!important;border-bottom:1px solid #c5a568!important;padding:8px 12px!important;display:flex!important;justify-content:space-between!important}html[data-device] body #march-dialog.hero-hunt-window .window-head h2{color:#efe4ce!important;font:700 24px Georgia,serif!important;margin:0!important}html[data-device] body #march-dialog.hero-hunt-window .close-dialog{position:static!important;width:44px!important;height:44px!important;background:#171d22!important;color:#e5c98c!important;border:1px solid #c5a568!important}html[data-device] body #march-dialog.hero-hunt-window .march-steps{display:none!important}html[data-device] body #march-dialog.hero-hunt-window .window-content{background:transparent!important;color:#efe4ce!important;padding:12px!important;max-height:calc(100dvh - 85px)!important;overflow:auto!important}html[data-device] body #march-dialog.hero-hunt-window :is(p,span,b,strong,small,h3){color:inherit}html[data-device] body #march-dialog.hero-hunt-window .march-route{background:#202a32!important;border:1px solid #c5a56888!important;color:#efe4ce!important;padding:10px!important;gap:8px!important}html[data-device] body #march-dialog.hero-hunt-window .march-end{border:0!important}.hero-hunt-window .march-end>.themed-craft-art{width:80px;height:85px}html[data-device] body #march-dialog.hero-hunt-window .march-mid{border-color:#c5a56866!important}.hero-hunt-window .march-kind-icon{display:none}html[data-device] body #march-dialog.hero-hunt-window .march-head{background:#293740!important;color:#e5c98c!important;font:700 20px Georgia,serif!important;padding:8px!important}html[data-device] body #march-dialog.hero-hunt-window .march-nav{background:#171d22!important;border-top:1px solid #c5a56888!important;position:sticky;bottom:0;padding:10px 0!important;display:flex!important;flex-direction:column!important;gap:8px!important}.hero-hunt-window .march-back,.hero-hunt-window .march-hint{display:none}.hero-hunt-window .march-solo{padding:10px;border-left:2px solid #c5a568;background:#233c5944}html[data-device] body #march-dialog.hero-hunt-window .march-next{width:100%!important;min-height:44px!important;background:linear-gradient(#886b37,#4b391e)!important;color:#fff1d6!important;border:1px solid #e5c98c!important;border-radius:5px!important;font:700 18px Georgia,serif!important;box-shadow:none!important}.hero-hunt-window .march-next:disabled{opacity:.5}.hero-hunt-window .march-energy{color:#e5c98c!important}.hero-hunt-window .march-energy.lack,.hero-hunt-window .form-error{color:#ffad9e!important}html[data-device] body #march-dialog.hero-hunt-window :is(.march-end,.march-end-text,.march-end-text b,.march-end-text small,.march-end-text strong,.march-kind){color:#efe4ce!important}.hero-hunt-window .march-noclan{color:#c5a568!important}html[data-device] body #march-dialog[open]{display:flex!important;flex-direction:column;max-height:calc(100dvh - 16px);overflow:hidden!important}html[data-device] body #march-dialog>.window-head{flex:none}html[data-device] body #march-dialog>.window-content{flex:1 1 auto!important;min-height:0!important;max-height:none!important;overflow-y:auto!important;overflow-x:hidden;overscroll-behavior:contain}html[data-device] body #march-dialog>.march-footer{flex:none;min-width:0;width:100%;box-sizing:border-box;background:#e9d7a8;padding-bottom:env(safe-area-inset-bottom)}html[data-device] body #march-dialog>.march-footer:empty{display:none}html[data-device] body #march-dialog>.march-footer>.march-bar{position:static!important;bottom:auto!important;margin:0!important;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:6px}html[data-device] body #march-dialog>.march-footer>.march-bar span{min-width:0;overflow-wrap:anywhere}html[data-device] body #march-dialog>.march-footer>.march-nav{position:static!important;bottom:auto!important;margin:0!important;padding:8px 10px!important;box-sizing:border-box;background:#e9d7a8;z-index:auto}html[data-device] body #march-dialog>.march-footer .march-all{min-height:44px!important;padding:4px 10px}html[data-device] body #march-dialog.hero-hunt-window>.march-footer{background:#171d22!important;padding:0 12px env(safe-area-inset-bottom)}@media(max-width:380px){html[data-device] body #march-dialog>.march-footer>.march-bar span{font-size:12px!important}html[data-device] body #march-dialog>.march-footer .march-all{font-size:13px!important}}@layer kingdom-window-ui{#march-dialog{font:16px/1.4 PT Sans,sans-serif!important}#march-dialog>.window-content{align-content:start!important;gap:16px!important;background:var(--ui-surface)!important;color:var(--ui-text)!important}#march-dialog :is(.march-route,.march-city,.march-col,.march-boost,.march-type,.march-popup-card){background:var(--ui-card)!important;color:var(--ui-text)!important;border:1px solid #ad925e88!important;box-shadow:none!important}#march-dialog :is(.march-end,.march-end-text,.march-end-text b,.march-end-text strong,.march-unit,.march-boost-info b,.march-sum,.march-kind,.march-ask,.march-type b,.march-clan-label,.march-clan-text,.march-popup-card p){color:var(--ui-text)!important;text-shadow:none!important}#march-dialog :is(.march-end-text small,.march-have,.march-hero-label,.march-type small,.march-boost-info small,.march-boost-side small,.march-hint,.march-clan-hint){color:var(--ui-muted)!important;text-shadow:none!important}#march-dialog :is(.march-active,.march-time){color:var(--ui-success)!important}#march-dialog .march-end-label{color:var(--ui-title)!important;font:600 12px/1.4 PT Sans,sans-serif;letter-spacing:.04em}#march-dialog .march-route{padding:16px!important;border-radius:8px!important;gap:16px!important}#march-dialog .march-end{min-width:0!important}#march-dialog .march-end-text :is(b,strong){overflow-wrap:anywhere}#march-dialog .march-end-text b{font:600 20px/1.25 Georgia,serif!important}#march-dialog .march-end-text strong{font:600 15px/1.4 PT Sans,sans-serif!important}#march-dialog .march-end-text small{font:14px/1.4 PT Sans,sans-serif!important}#march-dialog .march-kind{font:600 14px/1.4 PT Sans,sans-serif!important}#march-dialog .march-time{background:#173d3b!important;border:1px solid #568c7b!important;padding:4px 12px;border-radius:5px;font:600 16px/1.4 PT Sans,sans-serif;font-variant-numeric:tabular-nums}#march-dialog .march-target-art{flex:none;object-fit:contain}#march-dialog .march-avatar{object-fit:cover;flex:none}#march-dialog .march-head{background:none!important;color:var(--ui-title)!important;text-align:left!important;padding:0!important;margin:0 0 14px!important;font:600 22px/1.25 Georgia,serif!important}#march-dialog .march-review-sections{display:grid;gap:16px;min-width:0;align-items:start}#march-dialog.hero-hunt-window .march-review-sections{grid-template-columns:minmax(0,1fr)!important}#march-dialog :is(.march-review-army,.march-review-boosts){padding:16px!important;margin:0!important;border:1px solid #ad925e66!important;border-radius:8px!important;background:#1d2e38!important;min-width:0}#march-dialog .march-army{gap:12px!important;align-items:start}#march-dialog .march-tile{width:96px;min-width:0;gap:6px!important}#march-dialog .march-tile small{color:var(--ui-text)!important;font:14px/1.3 PT Sans,sans-serif!important;text-align:center;overflow-wrap:anywhere}#march-dialog .march-tile-pic{width:100%;line-height:0}#march-dialog .march-tile img{display:block;width:100%!important;height:auto!important;aspect-ratio:1;object-fit:contain!important;border:1px solid #ad925e88!important;background:radial-gradient(ellipse at 50% 70%,#40525b,#13232c)!important;border-radius:6px!important}#march-dialog .march-tile-pic b{right:4px!important;bottom:4px!important;padding:3px 5px;border-radius:3px;background:#0d1b24e8;color:var(--ui-text)!important;font:600 14px/1.2 PT Sans,sans-serif!important;text-shadow:none!important;white-space:nowrap}#march-dialog .march-sum{display:flex;flex-wrap:wrap;gap:8px 24px;padding-top:14px;margin-top:14px;border-top:1px solid #ad925e44;font:600 14px/1.4 PT Sans,sans-serif!important;justify-content:space-between}#march-dialog .march-buffs{display:grid;gap:8px!important;align-items:start}#march-dialog .march-buff{padding:8px 10px;border-radius:5px;border:1px solid #568c7b77;background:#23453f!important;color:var(--ui-text)!important;font:14px/1.4 PT Sans,sans-serif}#march-dialog .march-buffs-empty{margin:0!important;font:14px/1.5 PT Sans,sans-serif}#march-dialog .march-plus{width:auto!important;height:auto!important;min-height:44px!important;padding:8px 14px!important;margin-top:14px;font:600 14px/1.3 PT Sans,sans-serif!important}#march-dialog>.march-footer{background:var(--ui-header)!important;border-top:1px solid var(--ui-edge)}#march-dialog>.march-footer>.march-nav{background:var(--ui-header)!important;border-top:0!important;padding:12px 18px!important;gap:12px!important}#march-dialog .march-next{font:600 18px/1.3 PT Sans,sans-serif!important;letter-spacing:0!important;min-height:48px!important}#march-dialog .march-next:not(:disabled){background:linear-gradient(#dfc38a,#bd995b)!important;color:#172129!important;border-color:#e8cb8b!important}#march-dialog .march-back{font:600 14px/1.3 PT Sans,sans-serif!important;min-height:44px!important}#march-dialog .march-hint{font:14px/1.4 PT Sans,sans-serif!important}#march-dialog .march-bar{background:#20333b!important;border-top:0!important;border-bottom:1px solid #ad925e55!important;padding:10px 18px!important}#march-dialog .march-bar span{color:var(--ui-text)!important}#march-dialog .march-bar .march-size.over{color:var(--ui-danger)!important}#march-dialog .march-step{background:#233640!important;color:var(--ui-muted)!important;font:600 14px/1.3 PT Sans,sans-serif!important;clip-path:none!important;border:1px solid #6e7d8099!important;border-radius:5px!important;animation:none!important;text-shadow:none!important;white-space:normal!important;padding:8px 12px!important;min-height:44px!important;letter-spacing:0!important;filter:none!important;opacity:1!important;box-shadow:none!important}#march-dialog .march-step.done{color:var(--ui-success)!important;border-color:#568c7b!important}#march-dialog .march-step.on{background:#4c4934!important;color:#ffe4ac!important;border-color:#d8ba7a!important;box-shadow:inset 0 -2px #d8ba7a!important}#march-dialog .march-steps{gap:6px!important}#march-dialog .march-type{border-width:2px!important;border-radius:8px!important}#march-dialog .march-type-art{width:80px!important;height:80px!important;object-fit:contain}#march-dialog .march-type.on{background:#34483f!important;border-color:#d8ba7a!important;box-shadow:inset 0 0 0 1px #d8ba7a!important}#march-dialog .march-type.locked{filter:none!important;opacity:1!important}#march-dialog .march-city-name{background:none!important;color:var(--ui-title)!important;overflow-wrap:anywhere}#march-dialog .march-castle{width:72px;height:72px;object-fit:contain;justify-self:center;flex:none}#march-dialog .march-mode{background:#233640!important;color:var(--ui-text)!important}#march-dialog .march-range{accent-color:#bbcf92!important}#march-dialog .march-boost-info{text-align:left!important}#march-dialog .march-boost-note{margin:0!important;color:var(--ui-muted)!important;font:14px/1.5 PT Sans,sans-serif!important}#march-dialog .march-boost{padding:12px!important;border-radius:8px!important}#march-dialog .march-boost-info{gap:6px!important;min-width:0}#march-dialog .march-boost-info b{font:600 17px/1.35 PT Sans,sans-serif!important;overflow-wrap:anywhere}#march-dialog .march-boost-info small{font:14px/1.5 PT Sans,sans-serif!important}#march-dialog .march-boost-info .march-active{justify-self:start;padding:3px 8px;border:1px solid #568c7b;border-radius:4px;background:#173d3b;color:var(--ui-success)!important}#march-dialog .march-boost-side{display:flex!important;flex-wrap:wrap;align-items:center!important;justify-content:flex-end!important;gap:10px!important}#march-dialog .march-boost-side button{font:600 16px/1.4 PT Sans,sans-serif!important;padding:10px 16px!important;min-height:46px!important}#march-dialog .march-boost-side .march-stock{font:14px/1.5 PT Sans,sans-serif!important;color:var(--ui-text)!important}#march-dialog .march-boost-icon{background:#13252e!important}#march-dialog .march-hero-busy{color:var(--ui-danger)!important}#march-dialog .march-error{background:var(--ui-danger-bg);border:1px solid #ae7866;border-radius:6px;padding:10px;font:14px/1.5 PT Sans,sans-serif}#march-dialog .march-clan{padding:12px;border:1px solid #ad925e66;border-radius:6px;background:#1d2e38}#march-dialog .march-popup{z-index:10}#march-dialog .march-popup-card{font:16px/1.5 PT Sans,sans-serif!important}@media(min-width:761px){html[data-device=desktop] #march-dialog:not(.hero-hunt-window){width:min(1120px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;max-height:calc(100dvh - 48px)!important;--u:1px}html[data-device=desktop] #march-dialog:not(.hero-hunt-window)>.window-head{display:grid!important;grid-template-columns:minmax(140px,1fr) auto 44px!important;gap:20px!important;padding:16px 20px!important;min-height:80px!important}html[data-device=desktop] #march-dialog>.window-head h2{text-align:left!important;font-size:28px!important}html[data-device=desktop] #march-dialog>.window-head>.close-dialog{position:static!important;inset:auto!important}html[data-device=desktop] #march-dialog .march-steps{min-width:0;overflow:visible!important}html[data-device=desktop] #march-dialog .march-step:before{content:attr(data-number);display:inline-grid;place-items:center;width:22px;height:22px;margin-right:6px;border:1px solid currentColor;border-radius:50%;font-size:12px}html[data-device=desktop] #march-dialog>.window-content{padding:20px!important}html[data-device=desktop] #march-dialog .march-review-sections{grid-template-columns:minmax(0,2fr) minmax(240px,1fr)}html[data-device=desktop] #march-dialog .march-troops{grid-template-columns:180px minmax(0,1fr)!important;gap:16px!important}html[data-device=desktop] #march-dialog .march-cols{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));overflow:visible!important;gap:12px!important;min-width:0;align-content:start}html[data-device=desktop] #march-dialog .march-col{display:grid!important;grid-template-columns:64px minmax(0,1fr) 94px;grid-template-areas:"face name count" "face have count" "range range range";align-items:center!important;justify-items:stretch;gap:4px 10px!important;padding:12px!important;min-width:0;border-radius:8px!important}html[data-device=desktop] #march-dialog .march-col .march-face{grid-area:face;width:64px!important;height:64px!important;border-radius:6px!important;border-width:1px!important;object-fit:contain!important;background:#13232c!important}html[data-device=desktop] #march-dialog .march-col .march-unit{grid-area:name;min-height:0!important;text-align:left!important;font:600 16px/1.3 PT Sans,sans-serif!important}html[data-device=desktop] #march-dialog .march-col .march-have{grid-area:have;font:14px/1.4 PT Sans,sans-serif!important}html[data-device=desktop] #march-dialog .march-col:not(.march-hero) .march-have:before{content:"Есть: "}html[data-device=desktop] #march-dialog .march-col .march-count{grid-area:count;width:94px!important;min-height:44px!important;font:600 16px/1.3 PT Sans,sans-serif!important}html[data-device=desktop] #march-dialog .march-col .march-range{grid-area:range;writing-mode:horizontal-tb!important;direction:ltr!important;width:100%!important;height:32px!important;margin:4px 0 0;cursor:pointer}html[data-device=desktop] #march-dialog .march-hero{grid-template-areas:"face name name" "face have have" "check check check"!important}html[data-device=desktop] #march-dialog .march-hero-label{grid-area:check;display:flex!important;flex-direction:row-reverse;align-items:center;justify-content:flex-end;gap:8px;margin-top:6px;text-align:left}html[data-device=desktop] #march-dialog .march-hero-check{width:24px;height:24px}html[data-device=desktop] #march-dialog .march-hero-busy{grid-column:1/-1}html[data-device=desktop] #march-dialog .march-siege{grid-column:1/-1;display:flex;align-items:center;flex-wrap:wrap;gap:8px}html[data-device=desktop] #march-dialog .march-city{align-self:start;gap:12px;padding:16px!important}html[data-device=desktop] #march-dialog .march-boosts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px!important}html[data-device=desktop] #march-dialog .march-boost{grid-template-columns:56px minmax(0,1fr)!important;grid-template-areas:"icon info" "side side";gap:12px!important;padding:14px!important;min-width:0}html[data-device=desktop] #march-dialog .march-boost-icon{grid-area:icon;width:56px;height:56px}html[data-device=desktop] #march-dialog .march-boost-info{grid-area:info}html[data-device=desktop] #march-dialog .march-boost-side{grid-area:side;display:flex!important;justify-content:flex-end;flex-wrap:wrap;align-items:center;gap:10px}html[data-device=desktop] #march-dialog .march-boost-info b{font:600 17px/1.3 PT Sans,sans-serif!important}html[data-device=desktop] #march-dialog .march-boost-info small{font:14px/1.4 PT Sans,sans-serif!important}}@media(min-width:761px)and (max-width:1100px){html[data-device=desktop] #march-dialog:not(.hero-hunt-window)>.window-head{grid-template-columns:minmax(0,1fr) 44px!important;gap:12px!important}html[data-device=desktop] #march-dialog .march-steps{grid-column:1/-1;grid-row:2;display:grid!important;grid-template-columns:repeat(var(--march-step-count,4),minmax(0,1fr));width:100%}html[data-device=desktop] #march-dialog .march-troops{grid-template-columns:140px minmax(0,1fr)!important}html[data-device=desktop] #march-dialog .march-col{grid-template-columns:48px minmax(0,1fr) 84px;gap:4px 6px!important;padding:10px!important}html[data-device=desktop] #march-dialog .march-col .march-face{width:48px!important;height:48px!important}html[data-device=desktop] #march-dialog .march-col .march-count{width:84px!important}}@media(max-width:760px){#march-dialog .march-review-sections{grid-template-columns:minmax(0,1fr)}#march-dialog :is(.march-review-army,.march-review-boosts){padding:12px!important}#march-dialog .march-step:before{content:none}#march-dialog .march-castle{width:44px;height:44px}html[data-device=phone] #march-dialog>.window-head{display:grid!important;grid-template-columns:minmax(0,1fr) 44px!important;gap:8px!important;padding:calc(8px + env(safe-area-inset-top)) 10px 8px!important}html[data-device=phone] #march-dialog>.window-head h2{grid-column:1!important;grid-row:1!important;text-align:left!important}html[data-device=phone] #march-dialog>.window-head>.close-dialog{grid-column:2!important;grid-row:1!important;position:static!important;inset:auto!important}html[data-device=phone] #march-dialog:not(.hero-hunt-window) .march-steps{grid-column:1/-1!important;grid-row:2!important;display:grid!important;grid-template-columns:repeat(var(--march-step-count,4),minmax(0,1fr));grid-auto-columns:auto!important;width:100%!important}html[data-device=phone] #march-dialog .march-step{padding:6px 4px!important;font-size:12px!important;overflow-wrap:normal!important;text-overflow:clip!important}}@media(max-width:760px){html[data-device=phone] #march-dialog .march-boost{grid-template-columns:56px minmax(0,1fr)!important;gap:10px!important}html[data-device=phone] #march-dialog .march-boost-icon{width:56px!important;height:56px!important}html[data-device=phone] #march-dialog .march-boost-side{justify-content:space-between!important;grid-auto-flow:row!important}html[data-device=phone] #march-dialog .march-boost-side button{flex:1;min-width:144px!important}html[data-device=phone] #march-dialog>.march-footer>.march-nav{padding:10px!important;gap:6px 10px!important}}}body #clan-dialog{width:min(920px,calc(100vw - 32px));max-height:calc(100dvh - 32px);padding:0;border:1px solid #9b865c;border-radius:8px;background:linear-gradient(145deg,#343b3e,#20272b);color:#eee6d6;box-shadow:0 24px 80px #0009}#clan-dialog::backdrop{background:#071014aa;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}#clan-dialog .window-head{display:flex;align-items:center;gap:10px;height:54px;min-height:54px;padding:0 56px 0 18px;background:linear-gradient(#43494a,#30373a);border-bottom:1px solid #9b865c66;position:relative}#clan-dialog .window-head h2{margin:0;color:#ead5a5;font:600 26px/1.1 Cormorant Garamond,Georgia,serif;text-shadow:none}#clan-dialog .window-head .clan-emblem{width:32px;height:38px}#clan-dialog .close-dialog{position:absolute;right:10px;top:8px;width:38px;height:38px;border:1px solid #9b865c66;border-radius:4px;background:#222a2d;color:#dfd4bf;font:28px/1 Georgia;cursor:pointer}#clan-dialog .window-content{display:flex;flex-direction:column;gap:12px;padding:16px 20px 20px;overflow:auto;color:#eee6d6;font:15px/1.4 PT Sans,sans-serif;scrollbar-color:#8c7956 #222a2d}#clan-dialog :is(button,input,textarea,select){box-sizing:border-box;font-family:PT Sans,sans-serif}#clan-dialog button{cursor:pointer;transition:background .15s,border-color .15s}#clan-dialog button:focus-visible,#clan-dialog :is(input,textarea,select):focus-visible{outline:2px solid #e1c17d;outline-offset:2px}#clan-dialog button:disabled{opacity:.45;cursor:default}#clan-dialog :is(.btn-green,.btn-blue,.quiet){min-height:36px;padding:6px 14px;border:1px solid #a28b5b77;border-radius:4px;background:linear-gradient(#424d50,#303a3e);color:#eee6d6;box-shadow:none;text-shadow:none;font-size:14px}#clan-dialog .btn-green{background:linear-gradient(#496548,#304c37);border-color:#a4b88a88;color:#f0f2dd}#clan-dialog .btn-blue{background:linear-gradient(#48616b,#314851);border-color:#9bb7ba66}#clan-dialog button:hover:not(:disabled){filter:brightness(1.12);border-color:#d9bd7b}#clan-dialog .muted,body #clan-dialog .clan-note,body #clan-dialog .clan-soon{color:#bdb7a8;margin:0}#clan-dialog .form-error{color:#ffb2a4;background:#582e2b;padding:8px 12px;border-radius:4px;margin:0}body #clan-dialog .clan-tabs{display:flex;gap:4px;border-bottom:1px solid #9b865c55;padding-bottom:8px;flex:none}#clan-dialog .clan-tab{flex:1;min-width:0;min-height:38px;padding:4px 10px;border:1px solid transparent;border-radius:4px;background:#222a2d;color:#bdb9ae;font-size:14px;white-space:nowrap}#clan-dialog .clan-tab[aria-pressed=true]{background:linear-gradient(#64583e,#493f2e);border-color:#b89c64;color:#ffedbd;box-shadow:inset 0 -2px #c3a66b}body #clan-dialog .clan-search{display:flex;gap:8px}body #clan-dialog .clan-search input{flex:1;min-width:0}#clan-dialog :is(.clan-field input,.clan-field textarea,.clan-search input,.clan-tools select){min-height:36px;width:100%;padding:7px 10px;border:1px solid #9b865c77;border-radius:4px;background:#192226!important;color:#f3ecdd!important;-webkit-text-fill-color:#f3ecdd;caret-color:#e9d19d;font-size:16px;opacity:1}#clan-dialog :is(input,textarea)::placeholder{color:#8e999b;-webkit-text-fill-color:#8e999b}body #clan-dialog .clan-list{display:grid;gap:8px}body #clan-dialog .clan-row{display:flex;align-items:center;gap:14px;padding:12px;border:1px solid #9b865c44;border-radius:5px;background:#ffffff06}body #clan-dialog .clan-row-info{display:grid;flex:1;gap:3px;min-width:0}body #clan-dialog .clan-row-info b{font-size:17px;color:#eee4cf}body #clan-dialog .clan-row-info small{color:#bbb9b0}body #clan-dialog .clan-desc{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body #clan-dialog .clan-emblem{position:relative;display:inline-grid;place-items:center;flex:none;width:44px;height:50px;vertical-align:middle}body #clan-dialog .clan-emblem img{width:100%;height:100%;object-fit:contain;display:block;filter:drop-shadow(0 2px 2px #0006)}body #clan-dialog .clan-emblem.small{width:36px;height:42px}body #clan-dialog .clan-emblem.big{width:100px;height:112px}body #clan-dialog .clan-emblem i{font-style:normal;font-size:22px}body #clan-dialog .clan-emblem.big i{font-size:40px}body #clan-dialog .clan-emblem b{position:absolute;bottom:12%;left:10%;right:10%;text-align:center;font:700 10px/1 PT Sans,sans-serif;color:#ffe2a0;text-shadow:0 1px 2px #000,0 0 3px #000}body #clan-dialog .clan-emblem.big b{font-size:18px}body #clan-dialog .clan-emblem.small b{font-size:8px}body #clan-dialog .clan-emblem.fallback{clip-path:polygon(5% 3%,95% 3%,92% 68%,50% 97%,8% 68%);background:linear-gradient(var(--emblem),#182128);box-shadow:inset 0 0 0 2px #b99e65}body #clan-dialog .clan-create{display:grid;gap:12px}body #clan-dialog .clan-create-top{display:grid;grid-template-columns:minmax(0,1fr) 132px;gap:20px;align-items:center}body #clan-dialog .clan-create-fields{display:grid;grid-template-columns:minmax(0,1fr) 140px;gap:8px 12px}body #clan-dialog .clan-field{display:grid;gap:4px}body #clan-dialog .clan-field:last-child{grid-column:1/-1}body #clan-dialog .clan-field span,body #clan-dialog .clan-field-title{color:#d3c8ad;font-size:13px;font-weight:700}body #clan-dialog .clan-create textarea{height:64px;resize:vertical}body #clan-dialog .clan-emblem-preview{display:grid;place-items:center;padding:8px}body #clan-dialog .clan-emblem-pick{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:6px}#clan-dialog .clan-emblem-option{display:grid;place-items:center;min-height:58px;padding:5px 2px;border:1px solid #9b865c44;border-radius:5px;background:#182226}#clan-dialog .clan-emblem-option.on{border-color:#e1bc70;background:#4f4734;box-shadow:inset 0 0 0 1px #e1bc70}body #clan-dialog .clan-pay{display:flex;gap:10px}body #clan-dialog .clan-pay button{flex:1}body #clan-dialog .clan-note{font-size:13px;line-height:1.4}body #clan-dialog .clan-tools{display:flex;gap:6px;justify-content:flex-end;flex-wrap:wrap}body #clan-dialog .clan-tools select{width:auto!important;max-width:180px}body #clan-dialog .clan-actions{display:flex;flex-wrap:wrap;gap:8px}body #clan-dialog .clan-leave{margin-left:auto}body #clan-dialog .ally-card{display:flex;gap:20px;align-items:center}body #clan-dialog .ally-title{flex:1}body #clan-dialog .ally-title>b{display:block;font:600 26px/1.2 Cormorant Garamond,Georgia,serif;color:#edd7a7;margin-bottom:8px}body #clan-dialog .ally-facts{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:4px 14px;margin:0;font-size:14px}body #clan-dialog .ally-facts dt{color:#aaafa9}body #clan-dialog .ally-facts dd{margin:0;color:#eee5d3;font-weight:700}body #clan-dialog .ally-xp{display:grid;gap:4px}body #clan-dialog .ally-xp small{color:#b9b8aa;font-size:12px}body #clan-dialog .ally-xp-bar{height:5px;border-radius:4px;background:#151e22;overflow:hidden}body #clan-dialog .ally-xp-bar i{display:block;height:100%;background:linear-gradient(90deg,#6e8b66,#b8c08b)}body #clan-dialog .ally-desc{margin:0;padding:10px 12px;border-left:2px solid #9b865c;background:#ffffff04;white-space:pre-line;color:#c8c7bb;font-size:14px}body #clan-dialog .ally-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}body #clan-dialog .ally-tile{position:relative;display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:8px 12px;border:1px solid #9b865c44;border-radius:5px;background:linear-gradient(135deg,#3a4346,#2c3539);color:#e8ddc4;text-align:left}body #clan-dialog .ally-tile-icon{font-size:24px;text-align:center}body #clan-dialog .ally-tile b{font-size:14px;font-weight:600}body #clan-dialog .ally-badge{position:absolute;top:3px;right:3px;min-width:18px;height:18px;padding:0 4px;box-sizing:border-box;border-radius:9px;background:#a4493d;color:#fff;font:700 11px/18px PT Sans,sans-serif}body #clan-dialog .ally-foot{display:flex;justify-content:flex-end;gap:8px}body #clan-dialog .ally-foot button{position:relative}body #clan-dialog .clan-soon{padding:24px;text-align:center}body #clan-dialog .ally-top{display:grid;gap:12px;padding:12px;border:1px solid #9b865c44;border-radius:5px;background:#ffffff04}body #clan-dialog .ally-leader{display:flex;align-items:center;justify-content:center;gap:10px}body #clan-dialog .ally-crown{font-size:26px}body #clan-dialog .ally-posts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}body #clan-dialog .ally-post{display:grid;gap:2px;text-align:center}body #clan-dialog .ally-post b{color:#dbc18d;font-size:13px}body #clan-dialog .ally-post small{color:#c6c7bc}body #clan-dialog .ally-group{display:flex;align-items:center;gap:12px;width:100%;min-height:36px;padding:4px 12px;border:1px solid #9b865c55;border-radius:4px;background:#364247;color:#e2d4b6;text-align:left}body #clan-dialog .ally-group span{flex:1;color:#c4c8bb;font-size:13px}body #clan-dialog .ally-group i{font-size:10px;font-style:normal}body #clan-dialog .ally-members{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}body #clan-dialog .ally-member{display:grid;gap:4px;padding:10px;border:1px solid #9b865c33;border-radius:4px;background:#ffffff04}body #clan-dialog .ally-member.me{border-color:#b59c64}body #clan-dialog .ally-member b{font-size:14px}body #clan-dialog .ally-member small{font-size:12px;color:#b5bbb4}body #clan-dialog .ally-online.on,body #clan-dialog .ally-leader .on{color:#b0ce9a}body #clan-dialog .clan-war-head{margin:4px 0 0;font:600 21px Cormorant Garamond,Georgia,serif;color:#e0c99c}body #clan-dialog .clan-war-head.alarm{color:#f0a18d}body #clan-dialog .clan-war-in{border-color:#bd665b66;background:#7b34241a}body #clan-dialog .clan-help-all{align-self:flex-start}body #clan-dialog{background:linear-gradient(145deg,#343b3e,#20272b)!important;color:#eee6d6!important;border-color:#9b865c!important}body #clan-dialog .window-head{background:linear-gradient(#43494a,#30373a)!important;border-bottom:1px solid #9b865c66!important}body #clan-dialog .window-head h2{color:#ead5a5!important}body #clan-dialog .quiet{background:linear-gradient(#424d50,#303a3e)!important;color:#eee6d6!important;border:1px solid #a28b5b77!important}body #clan-dialog .muted{color:#bdb7a8!important}body #clan-dialog .ally-tile-icon img{width:100%;height:32px;object-fit:contain;display:block}body #clan-dialog .clan-field{margin:0}body #clan-dialog .clan-field :is(input,textarea){margin:0}body #clan-dialog form{margin:0}html body #clan-dialog{--ink:#2b1a07;--ink-soft:#6b5530;--bronze:#9a7a3e;--bronze-dark:#5e4520;--parch:#f6ead0;--parch-2:#ead7a6;--teal:#27949e;--gold:#e6c36a;--red:#c8321f}html body #clan-dialog .window-head{position:relative}html body #clan-dialog .ally-back{position:absolute;left:10px;top:50%;transform:translateY(-50%);width:40px;height:40px;min-height:0;padding:0;border:1px solid var(--bronze-dark);border-radius:50%;background:linear-gradient(#5b4424,#2e2010)!important;color:var(--gold)!important;font:700 26px/1 Georgia,serif;box-shadow:inset 0 0 0 2px #c9a24a55,0 2px 4px #0005;cursor:pointer}html body #clan-dialog .window-content{gap:12px}html body #clan-dialog .ally-hero{display:grid;grid-template-columns:auto minmax(0,1fr);gap:18px;align-items:center;padding:14px 16px;border:1px solid var(--bronze);border-radius:10px;background:radial-gradient(ellipse at 15% 20%,#fffaf0,var(--parch) 55%,var(--parch-2));box-shadow:inset 0 0 0 3px #fff5dc,inset 0 0 18px #b7954c33}html body #clan-dialog .ally-flag{display:grid;justify-items:center;gap:4px}html body #clan-dialog .ally-flag .clan-emblem.big{width:112px;height:128px;filter:drop-shadow(0 4px 6px #0005)}html body #clan-dialog .ally-flag-tag{padding:1px 12px;border-radius:12px;background:linear-gradient(#5b4424,#2e2010);color:var(--gold);font:700 15px Cormorant Garamond,Georgia,serif;letter-spacing:.5px}html body #clan-dialog .ally-info{display:grid;gap:10px;min-width:0}html body #clan-dialog .ally-name{display:flex;align-items:center;gap:10px;min-width:0}html body #clan-dialog .ally-name h3{margin:0;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:700 28px/1.1 Cormorant Garamond,Georgia,serif;color:var(--ink)}html body #clan-dialog .ally-level{flex:none;padding:2px 10px;border:1px solid #1f6f76;border-radius:12px;background:linear-gradient(#3fb3bd,#1f7c84);color:#fff;font:700 13px PT Sans,sans-serif;text-shadow:0 1px 1px #0006}html body #clan-dialog .ally-stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 18px;margin:0}html body #clan-dialog .ally-stat{display:flex;justify-content:space-between;gap:8px;padding-bottom:3px;border-bottom:1px dashed #b7954c88;min-width:0}html body #clan-dialog .ally-stat dt{color:var(--ink-soft);font:14px PT Sans,sans-serif;white-space:nowrap}html body #clan-dialog .ally-stat dd{margin:0;font:700 15px PT Sans,sans-serif;color:var(--ink);text-align:right;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body #clan-dialog .ally-xp{display:grid;gap:3px}.ally-xp small{color:var(--ink-soft);font:12px PT Sans,sans-serif}html body #clan-dialog .ally-xp-bar{display:block;height:10px;border:1px solid var(--bronze);border-radius:6px;background:#d9c496;overflow:hidden;box-shadow:inset 0 1px 2px #0003}html body #clan-dialog .ally-xp-bar i{display:block;height:100%;background:linear-gradient(90deg,#3d7a1a,#9fd35a);box-shadow:inset 0 1px #fff6}html body #clan-dialog .ally-xp-bar.gift i{background:linear-gradient(90deg,#c0396b,#ff8fb0)}html body #clan-dialog .ally-motto{position:relative;padding:10px 46px 10px 16px;border-left:4px solid var(--bronze);border-radius:6px;background:#efe2bd}html body #clan-dialog .ally-motto p{margin:0;white-space:pre-line;font:italic 15px/1.4 Cormorant Garamond,Georgia,serif;color:var(--ink)}html body #clan-dialog .ally-edit{position:absolute;right:8px;top:8px;width:30px;height:30px;min-height:0;padding:0;border:1px solid var(--bronze);border-radius:50%;background:#fff6dd!important;color:var(--ink)!important;font-size:15px;cursor:pointer}html body #clan-dialog .ally-menu{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}html body #clan-dialog .ally-tile{position:relative;display:grid;grid-template-columns:56px minmax(0,1fr);align-items:center;gap:12px;min-height:72px;padding:8px 14px 8px 10px;border:1px solid var(--bronze);border-radius:10px;background:linear-gradient(#fffaf0,var(--parch-2))!important;color:var(--ink)!important;text-align:left;cursor:pointer;box-shadow:0 2px #b7954c66,inset 0 1px #fff;transition:transform .12s,box-shadow .12s}html body #clan-dialog .ally-tile:hover{transform:translateY(-2px);box-shadow:0 4px 10px #5e452033,inset 0 1px #fff;border-color:var(--teal)}html body #clan-dialog .ally-tile b{font:700 17px/1.15 Cormorant Garamond,Georgia,serif}html body #clan-dialog .ally-tile small{position:absolute;right:10px;bottom:6px;font:italic 11px PT Sans,sans-serif;color:var(--ink-soft)}html body #clan-dialog .ally-tile.soon{opacity:.72}.ally-tile.soon:hover{transform:none;border-color:var(--bronze)}html body #clan-dialog .ally-medal{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#6b5130,#2a1c0c);box-shadow:inset 0 0 0 3px var(--gold),inset 0 0 0 5px #3a2a12,0 2px 4px #0005;overflow:hidden}html body #clan-dialog .ally-medal img{width:42px;height:42px;object-fit:contain}.ally-medal i{font-style:normal;font-size:26px}html body #clan-dialog .ally-dot{position:absolute;top:-7px;right:-7px;min-width:22px;height:22px;padding:0 6px;border:2px solid #fff3d6;border-radius:11px;background:var(--red);color:#fff;font:700 12px/18px PT Sans,sans-serif;font-style:normal;text-align:center;box-shadow:0 1px 3px #0006}html body #clan-dialog .ally-toolbar{display:flex;justify-content:center;gap:12px;padding-top:4px;border-top:1px solid #b7954c66}html body #clan-dialog .ally-tool{position:relative;display:grid;justify-items:center;gap:2px;min-width:96px;min-height:0;padding:6px 12px;border:1px solid var(--bronze);border-radius:10px;background:linear-gradient(#fff6dd,#e6d1a0)!important;color:var(--ink)!important;cursor:pointer}html body #clan-dialog .ally-tool span{font-size:22px;line-height:1}.ally-tool b{font:700 13px PT Sans,sans-serif}html body #clan-dialog .ally-tech-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px}html body #clan-dialog .ally-switch{display:inline-flex;border:1px solid var(--bronze);border-radius:10px;overflow:hidden}html body #clan-dialog .ally-switch-btn{min-height:36px;padding:4px 22px;border:0;border-radius:0;background:#efe2bd!important;color:var(--ink)!important;font:700 16px Cormorant Garamond,Georgia,serif;cursor:pointer}html body #clan-dialog .ally-switch-btn[aria-pressed=true]{background:linear-gradient(#3fb3bd,#1f7c84)!important;color:#fff!important;text-shadow:0 1px 1px #0006}html body #clan-dialog .ally-chip{padding:4px 10px;border:1px solid #b7954c88;border-radius:14px;background:#fff6dd;font:700 13px PT Sans,sans-serif;color:var(--ink)}.ally-chip.coins{margin-left:auto;color:#7a5600}html body #clan-dialog .ally-tree{display:grid;gap:4px;padding:10px 6px;border:1px solid #b7954c88;border-radius:10px;background:linear-gradient(#e9dfc4,#dccca2)}html body #clan-dialog .ally-tree-row{position:relative;display:flex;justify-content:center;gap:clamp(12px,5vw,46px);padding:8px 0}html body #clan-dialog .ally-tree-row+.ally-tree-row:before{content:"";position:absolute;left:12%;right:12%;top:-2px;height:4px;border-radius:2px;background:#7fb7d2aa}html body #clan-dialog .ally-node{display:grid;justify-items:center;gap:4px;width:104px;min-height:0;padding:0;border:0;background:none!important;color:var(--ink)!important;cursor:pointer}html body #clan-dialog .ally-hex{position:relative;display:grid;place-items:center;width:74px;height:82px;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:linear-gradient(#4aa3cf,#1f5f86);box-shadow:inset 0 0 0 3px #bfe3f5}html body #clan-dialog .ally-hex i{font-style:normal;font-size:30px;line-height:1;margin-top:-6px}html body #clan-dialog .ally-hex b{position:absolute;bottom:12px;padding:0 6px;border-radius:6px;background:#0d2a3acc;color:#fff;font:700 12px PT Sans,sans-serif}html body #clan-dialog .ally-hex em{position:absolute;top:8px;right:14px;font-style:normal;font-size:14px}html body #clan-dialog .ally-node small{font:700 12px/1.15 PT Sans,sans-serif;text-align:center}html body #clan-dialog .ally-node.locked .ally-hex{filter:grayscale(.8) brightness(.85)}html body #clan-dialog .ally-node.max .ally-hex{background:linear-gradient(#f0c64a,#a87a12)}html body #clan-dialog .ally-node.on .ally-hex{outline:0;filter:drop-shadow(0 0 8px #3fe0ec)}html body #clan-dialog .ally-panel{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:14px;align-items:center;padding:12px 14px;border:1px solid var(--bronze);border-radius:10px;background:var(--parch)}html body #clan-dialog .ally-panel-info{display:grid;gap:4px;min-width:0}.ally-panel-info b{font:700 18px Cormorant Garamond,Georgia,serif}.ally-panel-info span{font:14px PT Sans,sans-serif}.ally-now{color:#2e6e12;font-weight:700!important}html body #clan-dialog .ally-panel-side{display:grid;justify-items:center;gap:4px;text-align:center}.ally-panel-side small{font:12px PT Sans,sans-serif;color:var(--ink-soft)}html body #clan-dialog .ally-give{display:inline-flex!important;align-items:center;gap:6px;min-height:42px;padding:4px 18px}.ally-give b{font-size:16px}html body #clan-dialog .ally-res{width:22px;height:22px;object-fit:contain}html body #clan-dialog .ally-note{margin:0;font:italic 13px PT Sans,sans-serif;color:var(--ink-soft)}html body #clan-dialog .ally-max{color:#8a5a00;font:700 16px Cormorant Garamond,serif}html body #clan-dialog .ally-wares{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}html body #clan-dialog .ally-ware{display:grid;justify-items:center;gap:4px;padding:10px 8px;border:1px solid var(--bronze);border-radius:10px;background:linear-gradient(#fffaf0,var(--parch-2));text-align:center}html body #clan-dialog .ally-ware.out{opacity:.55}html body #clan-dialog .ally-ware-art{position:relative;display:grid;place-items:center;width:64px;height:64px;border-radius:12px;background:linear-gradient(#7b5bb3,#3e2a6e);box-shadow:inset 0 0 0 2px #cdb6f3}html body #clan-dialog .ally-ware-art i{font-style:normal;font-size:30px}.ally-ware-art .ally-res{width:40px;height:40px}html body #clan-dialog .ally-ware-art b{position:absolute;top:2px;right:4px;color:#fff;font:700 11px PT Sans,sans-serif;text-shadow:0 1px 2px #000}html body #clan-dialog .ally-ware>b{font:700 14px/1.2 PT Sans,sans-serif;color:var(--ink)}.ally-ware>small{font:12px PT Sans,sans-serif;color:var(--ink-soft)}html body #clan-dialog .ally-price{display:inline-flex!important;align-items:center;gap:4px;width:100%;justify-content:center;min-height:34px;padding:2px 8px;border:1px solid #1f6f76;border-radius:8px;background:linear-gradient(#5fc3cc,#2a8a92)!important;color:#fff!important;cursor:pointer}html body #clan-dialog .ally-price b{font:700 14px PT Sans,sans-serif}html body #clan-dialog .ally-chest{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto auto auto;gap:4px 14px;align-items:center;padding:12px 16px;border:1px solid var(--bronze);border-radius:10px;background:radial-gradient(ellipse at 20% 30%,#fff3d6,#e6cf98)}html body #clan-dialog .ally-chest-art{grid-row:1/4;font-size:54px;line-height:1;filter:drop-shadow(0 4px 4px #0004)}html body #clan-dialog .ally-chest b{font:700 18px Cormorant Garamond,serif}.ally-chest small{font:12px PT Sans,sans-serif;color:var(--ink-soft)}html body #clan-dialog .ally-gifts{display:grid;gap:6px}html body #clan-dialog .ally-gift{display:grid;grid-template-columns:48px minmax(0,1fr) auto auto;align-items:center;gap:12px;padding:8px 12px;border:1px solid #b7954c88;border-radius:8px;background:#fdf3dc}html body #clan-dialog .ally-gift.done{opacity:.6}html body #clan-dialog .ally-gift-art{font-size:34px;text-align:center}html body #clan-dialog .ally-gift-info{display:grid;gap:1px;min-width:0}.ally-gift-info b{font:700 16px Cormorant Garamond,serif}.ally-gift-info small{font:12px PT Sans,sans-serif;color:var(--ink-soft);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html body #clan-dialog .ally-timer{color:#2e6e12!important;font-weight:700!important}html body #clan-dialog .ally-gift-pts{color:#c0396b;font:700 14px PT Sans,sans-serif}html body #clan-dialog .ally-got{padding:4px 10px;border-radius:8px;background:#d9cfb7;color:#6b5530;font:700 13px PT Sans,sans-serif}html body #clan-dialog .ally-gift button{min-height:34px;padding:2px 16px}html body #clan-dialog .ally-claim-all{justify-self:end;min-height:42px;padding:4px 24px}html body #clan-dialog .ally-popup{position:fixed;inset:0;z-index:30;display:grid;place-items:center;background:#0007}html body #clan-dialog .ally-popup-card{display:grid;justify-items:center;gap:10px;max-width:480px;padding:18px 26px;border:3px solid var(--gold);border-radius:14px;background:linear-gradient(#fbf0d2,#e9d3a0);text-align:center}html body #clan-dialog .ally-popup-card h3{margin:0;padding:2px 30px;border-radius:6px;background:linear-gradient(#4f7fd0,#2a4f96);color:#fff;font:700 22px Cormorant Garamond,serif}html body #clan-dialog .ally-popup-card p{margin:0;font:700 15px PT Sans,sans-serif;color:var(--ink)}html body #clan-dialog .ally-coin{display:inline-block;flex:none;width:18px;height:18px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff3b0,#f0c030 45%,#a0700a);box-shadow:inset 0 0 0 2px #c08a10,0 1px 2px #0005;vertical-align:-3px}html body #clan-dialog .ally-chip{display:inline-flex;align-items:center;gap:6px}html body #clan-dialog .ally-panel-title{display:flex;align-items:center;gap:8px;color:var(--ink)!important}html body #clan-dialog .ally-panel-title i{font-style:normal;font-size:22px}html body #clan-dialog .ally-panel-title .ally-res{width:26px;height:26px}html body #clan-dialog .ally-panel-info span,html body #clan-dialog .ally-panel-info small{color:var(--ink)}html body #clan-dialog .ally-hex .ally-res{width:38px;height:38px;margin-top:-8px}html body #clan-dialog .ally-price .ally-coin{width:16px;height:16px}html body #clan-dialog :is(.ally-chest,.ally-gift-info,.ally-ware,.ally-panel-info,.ally-hero,.ally-tile,.ally-tool,.ally-node) b{color:var(--ink)!important}html body #clan-dialog .ally-hex b{color:#fff!important}html body #clan-dialog .window-content>.ally-note,html body #clan-dialog .window-content>.clan-soon{color:#e6d3a3}html body #clan-dialog .ally-claim-all{align-self:flex-end}html body #clan-dialog .ally-hero .ally-flag b.ally-flag-tag{color:var(--gold)!important}body #clan-dialog .rally-card{display:grid;grid-template-columns:200px 220px 1fr;grid-template-areas:"target mid seats" "cancel cancel cancel";gap:14px 18px;align-items:center;padding:14px;border:1px solid #9b865c66;border-radius:6px;background:linear-gradient(#ffffff0a,#00000018)}body #clan-dialog .rally-target{grid-area:target;display:grid;gap:3px;justify-items:start}body #clan-dialog .rally-target b{font-size:19px;color:#f0e4c8}body #clan-dialog .rally-target small,body #clan-dialog .rally-mid small{color:#bbb9b0}body #clan-dialog .rally-mode{display:grid;place-items:center;width:54px;height:54px;border:2px solid #c9a24a;border-radius:50%;background:#3a1f18;font-size:28px}body #clan-dialog .rally-kind{color:#e0c99c!important;font-weight:600}body #clan-dialog .rally-mid{grid-area:mid;display:grid;gap:3px;justify-items:start}body #clan-dialog .rally-label{text-transform:uppercase;letter-spacing:.08em;font-size:11px}body #clan-dialog .rally-mid>b:not(.rally-timer){font-size:17px;color:#eee4cf}body #clan-dialog .rally-timer{margin-top:4px;padding:3px 10px;border-radius:12px;background:#1f4a2a;color:#d6f5c8;font-size:15px;font-variant-numeric:tabular-nums}body #clan-dialog .rally-count{font-size:22px;color:#e0c99c}body #clan-dialog .rally-seats{grid-area:seats;display:flex;flex-wrap:wrap;gap:10px}body #clan-dialog .rally-seat{position:relative;display:grid;justify-items:center;align-content:center;gap:2px;width:78px;min-height:84px;padding:6px 4px;border:2px solid #9b865c88;border-radius:8px;background:#0000002b;color:#eee4cf;font:inherit;box-shadow:none;transform:none}body #clan-dialog .rally-seat.taken i{display:grid;place-items:center;width:38px;height:38px;border-radius:50%;background:#2f5f9a;font:700 19px Georgia,serif;font-style:normal;color:#fff}body #clan-dialog .rally-seat small{max-width:70px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;color:#d8d2c0}body #clan-dialog .rally-seat.free{border-style:dashed;border-color:#7fb86a;color:#9be07f;font-size:34px;cursor:pointer}body #clan-dialog .rally-seat.free:hover:not(:disabled){background:#7fb86a22}body #clan-dialog .rally-seat.locked{border-style:dotted;opacity:.55;font-size:22px}body #clan-dialog .rally-seat:disabled{cursor:default}body #clan-dialog .rally-kick{position:absolute;top:-8px;right:-8px;width:22px;height:22px;min-height:0;padding:0;border-radius:50%;border:1px solid #bd665b;background:#7b3424;color:#fff;font-size:15px;line-height:1}body #clan-dialog .rally-cancel{grid-area:cancel;justify-self:end}.march-clan{display:flex;flex-wrap:wrap;align-items:center;gap:8px 14px;margin:12px 0 0;padding:10px 14px;border:1px solid #9b865c88;border-radius:8px;background:#0000001f}.march-clan input[type=checkbox]{width:22px;height:22px}.march-clan-label{font-weight:700;font-size:17px;cursor:pointer}.march-clan-minutes{width:64px;margin-left:6px;padding:3px 6px}.march-clan-hint{flex-basis:100%;opacity:.85}html[data-device] body #clan-dialog.kingdom-alliance{--ink:#efe4ce;--ink-soft:#b8bebf;--bronze:#c5a568;--bronze-dark:#80663c;--parch:#242d35;--parch-2:#171d22;--gold:#e5c98c;--teal:#233c59;position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;width:min(1000px,calc(100vw - 24px))!important;height:min(850px,calc(100dvh - 24px))!important;max-width:100vw!important;max-height:100dvh!important;padding:0!important;box-sizing:border-box;border:1px solid #c5a568!important;border-radius:8px!important;background:linear-gradient(120deg,#242d35,#171d22)!important;color:#efe4ce!important;font:14px/1.45 PT Sans,sans-serif!important;overflow:hidden!important}html[data-device] body #clan-dialog.kingdom-alliance[open]{display:flex!important;flex-direction:column}html[data-device] body #clan-dialog.kingdom-alliance::backdrop{background:#081015b3}html[data-device] body #clan-dialog.kingdom-alliance .window-head{display:flex!important;align-items:center;gap:10px;position:relative;padding:6px 10px 6px 16px!important;min-height:58px!important;height:auto!important;flex:none;background:linear-gradient(#2d3840,#1b242b)!important;border:0!important;border-bottom:1px solid #c5a56880!important}html[data-device] body #clan-dialog.kingdom-alliance .window-head h2{flex:1;margin:0!important;min-width:0;font:700 25px/1.2 Georgia,serif!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance :is(.close-dialog,.ally-back){position:static!important;transform:none!important;flex:none;width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;padding:0!important;background:#171d22!important;border:1px solid #c5a56880!important;border-radius:5px!important;color:#e5c98c!important;font:28px/1 sans-serif!important;box-shadow:none!important}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .window-content{display:flex!important;flex-direction:column!important;gap:12px!important;min-height:0!important;flex:1;max-height:none!important;padding:14px!important;overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5a56870 #171d22;background:transparent!important}html[data-device] body #clan-dialog.kingdom-alliance :is(button,input,select,textarea){box-sizing:border-box;max-width:100%;font:14px/1.3 PT Sans,sans-serif!important;border-radius:5px!important;box-shadow:none!important;transform:none!important}html[data-device] body #clan-dialog.kingdom-alliance button{min-height:44px!important;cursor:pointer;touch-action:manipulation}html[data-device] body #clan-dialog.kingdom-alliance :is(button,select,input,textarea):focus-visible{outline:2px solid #e5c98c;outline-offset:2px}html[data-device] body #clan-dialog.kingdom-alliance button:disabled{opacity:.5!important;cursor:default}html[data-device] body #clan-dialog.kingdom-alliance :is(.quiet,.btn-blue,.clan-tab,.ally-switch-btn,.ally-tool){padding:9px 12px!important;border:1px solid #c5a56870!important;background:linear-gradient(#303b43,#242d35)!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance :is(.btn-green,.ally-price,.clan-tab[aria-pressed=true],.ally-switch-btn[aria-pressed=true]){padding:9px 12px!important;border:1px solid #e5c98c!important;background:linear-gradient(#896c37,#514021)!important;color:#fff0d2!important}html[data-device] body #clan-dialog.kingdom-alliance :is(h3,h4,b,strong,dt,dd,small,p,span){overflow-wrap:anywhere}html[data-device] body #clan-dialog.kingdom-alliance h3{font:700 21px/1.25 Georgia,serif!important;color:#efe4ce!important;margin:0 0 6px}html[data-device] body #clan-dialog.kingdom-alliance :is(.ally-hero,.ally-motto,.ally-top,.ally-member,.clan-row,.ally-chest,.ally-gift,.ally-ware,.ally-panel,.ally-tree,.ally-rally-point,.ally-holding){background:linear-gradient(130deg,#2c3740,#202930)!important;border:1px solid #c5a56860!important;border-radius:6px!important;color:#efe4ce!important;box-shadow:none!important}html[data-device] body #clan-dialog.kingdom-alliance :is(.ally-hero,.ally-panel,.ally-chest,.ally-rally-point,.ally-holding){padding:14px!important;flex:none}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .ally-hero{display:grid!important;grid-template-columns:90px minmax(0,1fr)!important;gap:14px!important}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .ally-flag .clan-emblem.big{width:84px!important;height:96px!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-name{display:flex;flex-wrap:wrap;gap:8px}html[data-device] body #clan-dialog.kingdom-alliance .ally-name h3{white-space:normal!important;overflow-wrap:anywhere;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-level{background:#233c59!important;border-color:#c5a56870!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-stats{grid-template-columns:minmax(0,1fr)!important;gap:5px!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-stat :is(dt,dd){font-size:13px!important;white-space:normal!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance :is(.ally-online-summary,.ally-contribution,.clan-note,.ally-note,.muted,.ally-stat dt){font:13px/1.45 PT Sans,sans-serif!important;color:#b8bebf!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-contribution{color:#e5c98c!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-xp-bar{background:#11191e!important;border:1px solid #c5a56850!important;box-shadow:none!important;height:8px!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-xp-bar i{background:linear-gradient(90deg,#896c37,#e5c98c)!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-motto{position:relative;flex:none!important;padding:12px 58px 12px 12px!important;max-height:none!important;min-height:0!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-motto p{font:14px/1.5 PT Sans,sans-serif!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-edit{position:absolute;top:8px;right:8px;width:44px;height:44px!important;background:#171d22!important;border:1px solid #c5a56880!important;color:#e5c98c!important}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .ally-menu{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:9px!important;flex:none}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .ally-tile{position:relative;display:flex!important;align-items:center!important;justify-content:flex-start!important;gap:10px!important;min-height:78px!important;padding:10px!important;border:1px solid #c5a56870!important;background:linear-gradient(135deg,#303d46,#202a32)!important;color:#efe4ce!important;text-align:left!important;min-width:0}html[data-device] body #clan-dialog.kingdom-alliance[data-screen] .ally-tile b{font:700 14px/1.25 PT Sans,sans-serif!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-medal{display:grid;place-items:center;flex:none;width:44px!important;height:44px!important;background:transparent!important;border:0!important;box-shadow:none!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-medal img{width:44px!important;height:44px!important;object-fit:contain;filter:drop-shadow(0 2px 3px #0008)}html[data-device] body #clan-dialog.kingdom-alliance .ally-dot{background:#9f4235!important;color:#fff1dd!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-toolbar{display:flex;gap:8px;flex-wrap:wrap;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-tool{flex:1;justify-content:center!important}html[data-device] body #clan-dialog.kingdom-alliance :is(.clan-list,.ally-members,.ally-gifts){display:grid;gap:10px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .clan-row{padding:12px!important;flex-wrap:wrap;gap:10px!important;flex:none}html[data-device] body #clan-dialog.kingdom-alliance :is(.clan-row-info,.ally-member){min-width:0}html[data-device] body #clan-dialog.kingdom-alliance .clan-row-info :is(b,small),html[data-device] body #clan-dialog.kingdom-alliance .ally-member :is(b,small){color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .clan-row-info{flex:1 1 150px}html[data-device] body #clan-dialog.kingdom-alliance .clan-desc{white-space:normal!important}html[data-device] body #clan-dialog.kingdom-alliance :is(input,select,textarea){min-height:44px!important;background:#171d22!important;color:#efe4ce!important;border:1px solid #c5a56880!important;padding:10px!important;font-size:16px!important;-webkit-text-fill-color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance textarea{width:100%;min-height:120px;resize:vertical}html[data-device] body #clan-dialog.kingdom-alliance :is(.clan-search,.clan-pay,.clan-actions,.clan-tools,.clan-tabs,.ally-switch){display:flex;gap:8px;flex-wrap:wrap}html[data-device] body #clan-dialog.kingdom-alliance .clan-search input{flex:1 1 140px;min-width:0}html[data-device] body #clan-dialog.kingdom-alliance .clan-tools select{min-width:0!important;max-width:100%!important;flex:1 1 120px}html[data-device] body #clan-dialog.kingdom-alliance .ally-group{background:#23313b!important;border:1px solid #c5a56870!important;min-height:44px!important;color:#e5c98c!important;flex:none;padding:9px 12px!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-posts{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-top{padding:12px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-leader{flex-wrap:wrap;gap:8px}html[data-device] body #clan-dialog.kingdom-alliance :is(.ally-priority,.ally-ready){padding:10px;border:1px solid #c5a568;background:#514021;color:#fff0d2!important;border-radius:5px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-tree{padding:10px!important;gap:8px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-tree-row{display:flex;flex-wrap:wrap;gap:10px;justify-content:center;padding:6px 0}html[data-device] body #clan-dialog.kingdom-alliance .ally-node{width:120px!important;min-width:0;max-width:100%;flex:0 1 120px;padding:4px!important;color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-tree-row:before{display:none!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-hex{clip-path:none!important;border-radius:50%!important;border:1px solid #c5a56870!important;background:linear-gradient(#334551,#1b2932)!important;box-shadow:none!important;width:74px;height:74px}html[data-device] body #clan-dialog.kingdom-alliance .ally-node.on .ally-hex{border:2px solid #e5c98c!important;filter:drop-shadow(0 0 5px #c5a56870)!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-node.priority small:after{content:" · ×2";color:#e5c98c}html[data-device] body #clan-dialog.kingdom-alliance .ally-node.ready small:after{content:" · Готово";color:#b6dfa5}html[data-device] body #clan-dialog.kingdom-alliance .ally-hex em{right:0;top:0;font-size:10px;background:#171d22;padding:2px}html[data-device] body #clan-dialog.kingdom-alliance .ally-panel{display:grid;grid-template-columns:minmax(0,1fr) 220px;gap:14px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-panel :is(b,span,small){color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-panel-side{display:grid;gap:8px;align-content:start}html[data-device] body #clan-dialog.kingdom-alliance .ally-wares{grid-template-columns:repeat(auto-fit,minmax(140px,1fr))!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-ware{padding:12px!important;min-width:0}html[data-device] body #clan-dialog.kingdom-alliance .ally-ware :is(b,small),html[data-device] body #clan-dialog.kingdom-alliance .ally-chest :is(b,small),html[data-device] body #clan-dialog.kingdom-alliance .ally-gift-info :is(b,small){color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-gift{display:flex;flex-wrap:wrap;gap:10px;padding:12px;flex:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-gift-info{flex:1 1 130px;min-width:0;display:grid;gap:4px}html[data-device] body #clan-dialog.kingdom-alliance .ally-popup{position:fixed;inset:0;padding:20px;background:#0009;z-index:2;display:grid;place-items:center}html[data-device] body #clan-dialog.kingdom-alliance .ally-popup-card{background:#242d35!important;color:#efe4ce!important;border:1px solid #c5a568!important;max-width:100%;padding:16px;border-radius:6px;display:grid;gap:12px}html[data-device] body #clan-dialog.kingdom-alliance .ally-popup-card p{color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-rally-point{display:grid;gap:10px}html[data-device] body #clan-dialog.kingdom-alliance .ally-holding{display:grid;grid-template-columns:64px minmax(0,1fr) auto;align-items:center;gap:8px 12px}html[data-device] body #clan-dialog.kingdom-alliance .ally-holding>img{width:64px;height:72px;object-fit:contain;grid-row:1/4}html[data-device] body #clan-dialog.kingdom-alliance .ally-holding>button{grid-column:3;grid-row:1/4}html[data-device] body #clan-dialog.kingdom-alliance .ally-holding :is(h3,p,small){margin:0;grid-column:2}html[data-device] body #clan-dialog.kingdom-alliance .ally-holding.own{border-color:#e5c98c!important}html[data-device] body #clan-dialog.kingdom-alliance .form-error{padding:10px;background:#412b28;color:#ffb6a3!important;border:1px solid #ad6d5a;border-radius:5px;flex:none}html[data-device=phone] body #clan-dialog.kingdom-alliance{width:100vw!important;height:100dvh!important;border-radius:0!important;padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left)!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen] .window-content{padding:10px!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen] .ally-menu{grid-template-columns:repeat(2,minmax(0,1fr))!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen] .ally-tile{gap:8px!important;min-height:76px!important;padding:8px!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen] .ally-tile b{font-size:13px!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .ally-panel,html[data-device=phone] body #clan-dialog.kingdom-alliance .ally-members{grid-template-columns:minmax(0,1fr)!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .clan-emblem-pick{grid-template-columns:repeat(4,minmax(0,1fr))!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .clan-create-top,html[data-device=phone] body #clan-dialog.kingdom-alliance .clan-create-fields{grid-template-columns:minmax(0,1fr)!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .ally-holding{grid-template-columns:52px minmax(0,1fr)!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .ally-holding>img{width:52px;height:60px;grid-row:1/4}html[data-device=phone] body #clan-dialog.kingdom-alliance .ally-holding>button{grid-column:1/-1;grid-row:4}html[data-device=phone] body #clan-dialog.kingdom-alliance .rally-card{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:10px;padding:12px;flex:none;background:#242d35!important;color:#efe4ce!important}html[data-device=phone] body #clan-dialog.kingdom-alliance .rally-seats{max-width:100%;display:flex;flex-wrap:wrap;gap:6px}html[data-device=phone] body #clan-dialog.kingdom-alliance .rally-seat{width:54px!important;min-width:44px!important;height:auto;min-height:54px!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-ware-art{display:grid;place-items:center;width:72px!important;height:80px!important;overflow:hidden}html[data-device] body #clan-dialog.kingdom-alliance .ally-ware-art img{width:100%!important;height:100%!important;object-fit:contain;pointer-events:none}html[data-device] body #clan-dialog.kingdom-alliance .ally-node small{color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-hex em{color:#b8bebf!important}html[data-device] body #clan-dialog.kingdom-alliance .rally-card :is(b,strong,small,span){color:#efe4ce!important}html[data-device] body #clan-dialog.kingdom-alliance .ally-hex .ally-research-clock{position:absolute;top:2px;right:2px;z-index:3;font-style:normal;font-size:18px;line-height:1;padding:3px;border-radius:50%;background:#152631}html[data-device] body #clan-dialog.kingdom-alliance .ally-panel-side .ally-live-time{color:#f6d690;font-weight:700}html[data-device] body #clan-dialog.kingdom-alliance .ally-chip,html[data-device] body #clan-dialog.kingdom-alliance .ally-chip.coins,html[data-device] body #clan-dialog.kingdom-alliance .ally-chip b{color:#f6e8c8!important;-webkit-text-fill-color:#f6e8c8}html[data-device] body #clan-dialog.kingdom-alliance .ally-chip{background:#192a33!important;border-color:#a18b60!important;min-height:30px;box-sizing:border-box}html[data-device] body #clan-dialog.kingdom-alliance[data-screen=tech] .ally-give .currency-icon{display:inline-block;width:22px;height:22px;object-fit:contain;vertical-align:middle;flex:none}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen=tech] .window-head{gap:6px!important;padding:6px 8px!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen=tech] .window-head h2{font:700 clamp(17px,5vw,22px)/1.12 Georgia,serif!important;text-align:center;word-break:normal!important;overflow-wrap:normal!important;-webkit-hyphens:none!important;hyphens:none!important}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen=tech] .ally-tech-top{gap:8px}html[data-device=phone] body #clan-dialog.kingdom-alliance[data-screen=tech] .ally-switch{flex-basis:100%}.rep-head{display:grid;grid-template-columns:auto 1fr auto;align-items:center;gap:10px;padding:8px 14px;border-radius:6px;background:linear-gradient(#3f7d2a,#24521a);color:#fff3d6}.rep-head.rep-loss{background:linear-gradient(#8a2a1e,#4f1410)}.rep-title{text-align:center;font:700 24px Cormorant Garamond,serif;text-shadow:0 1px 3px #000}.rep-no,.rep-date{white-space:pre-line;font:italic 12px PT Sans,sans-serif;color:#f3e2b8}.rep-date{text-align:right}.rep-line{margin:8px 0 4px;text-align:center;font:700 16px Cormorant Garamond,serif;color:#2b1a07}.rep-side{position:relative;display:grid;grid-template-columns:minmax(0,1.2fr) auto minmax(0,1fr);align-items:center;gap:12px;margin:14px 0 6px;padding:14px 12px 10px;border:2px solid #6b8f3a;border-radius:6px;background:#dfe9c4}.rep-side.rep-loss{border-color:#a8483a;background:#f0d3c9}.rep-tag{position:absolute;top:-12px;left:14px;padding:0 10px;border-radius:4px;background:#3f7d2a;color:#fff;font:700 14px Cormorant Garamond,serif}.rep-side.defender .rep-tag{left:auto;right:14px;background:#8a2a1e}.rep-who{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px}.rep-avatar{width:64px;height:64px;border-radius:50%;border:3px solid #c9a24a;object-fit:cover;background:#1a140a}.rep-name{display:grid;gap:1px;font:13px PT Sans,sans-serif;color:#2b1a07}.rep-name b{font:700 20px Cormorant Garamond,serif}.rep-name small{font-style:italic;color:#5a3e14}.rep-troops{display:grid;grid-template-columns:auto auto;gap:2px 8px;margin:0;font:14px PT Sans,sans-serif;color:#2b1a07}.rep-troops dt{text-align:right}.rep-troops dd{margin:0;font-weight:700}.rep-loot{display:grid;justify-items:center;gap:4px}.rep-loot>b{font:700 15px Cormorant Garamond,serif;color:#3a2208}.rep-res{display:grid;grid-template-columns:repeat(3,auto);gap:3px 12px}.rep-res-cell{display:inline-flex;align-items:center;gap:4px;font:13px PT Sans,sans-serif}.rep-res-cell img{width:20px;height:20px;object-fit:contain}.rep-drops{margin:4px 0;font:13px PT Sans,sans-serif;color:#1d5f2a}.rep-bar-row{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;margin:14px 0 8px}.rep-bar-att{padding:2px 12px;background:linear-gradient(90deg,transparent,#3f7d2a);color:#fff;font:700 14px Cormorant Garamond,serif;text-align:right}.rep-bar-def{padding:2px 12px;background:linear-gradient(90deg,#8a2a1e,transparent);color:#fff;font:700 14px Cormorant Garamond,serif}.rep-bar-title{padding:2px 18px;border:2px solid #3a2208;border-radius:16px;background:#fff8e6;font:700 20px Cormorant Garamond,serif;color:#2b1a07}.rep-cols{display:grid;grid-template-columns:1fr 1fr;gap:16px}.rep-col{display:grid;align-content:start;gap:10px}.rep-unit{display:grid;grid-template-columns:72px minmax(0,1fr);gap:10px;align-items:start}.rep-col.defender .rep-unit{grid-template-columns:minmax(0,1fr) 72px;text-align:right}.rep-col.defender .rep-unit img{grid-column:2;grid-row:1}.rep-unit img{width:72px;height:72px;object-fit:cover;object-position:top;border:1px solid #8c6a32;border-radius:4px;background:#1a140a}.rep-unit.rep-hero img{border-radius:50%;border:3px solid #c9a24a}.rep-unit-info{display:grid;gap:1px;font:italic 13px PT Sans,sans-serif;color:#2b1a07}.rep-unit-info b{font:700 15px Cormorant Garamond,serif;font-style:normal}.rep-trap{margin:0;font:12px PT Sans,sans-serif;color:#5a3e14}.rep-scout{display:flex;flex-wrap:wrap;gap:6px 12px;font:13px PT Sans,sans-serif}.rep-bar{margin:10px 0 4px;padding:2px 8px;text-align:center;background:linear-gradient(#8a6a3e,#6b4f2a);color:#fff3d6!important;font:700 15px Cormorant Garamond,serif}.rep-power{margin:10px 0 0;text-align:center;font:12px PT Sans,sans-serif;color:#5a3e14}.rep-cols,.rep-col,.rep-unit-info{min-width:0}.mail-report{padding:0 4px 8px}.rep-col.defender .rep-unit-info{justify-items:end}.rep-cols{grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;padding-right:10px}.rep-col.defender .rep-unit{grid-template-columns:minmax(0,1fr) 72px!important}.rep-col.defender .rep-unit-info{text-align:right}.mail-read{min-width:0;overflow-x:hidden}.rep-col{grid-template-columns:minmax(0,1fr)!important}.rep-unit-info span,.rep-unit-info b{overflow-wrap:anywhere}.rep-siege{margin:4px 0;font:700 13px PT Sans,sans-serif;color:#9a2a1a}.rep-siege-list{display:grid;gap:6px;margin:8px 0;padding:8px 10px;border:1px solid #b9935a66;border-radius:8px}.rep-siege-list h4{margin:0;font-size:14px}.rep-siege-row{display:flex;gap:10px;align-items:center}.rep-siege-pic{width:64px;height:64px;object-fit:contain;flex:none;font-size:34px;display:grid;place-items:center}.rep-siege-info{display:grid;gap:2px}.rep-siege-drop{font-weight:700;color:#b3261e}.rep-siege-hit{font-weight:700;color:#9a6a12}.rep-siege-info small{opacity:.8}html[data-device] body .battle-report{color:#efe4ce}html[data-device] body .battle-report :is(.rep-line,.rep-name,.rep-name small,.rep-troops,.rep-unit-info,.rep-loot>b,.rep-res-cell,.rep-trap,.rep-power,.rep-scout){color:#efe4ce!important}html[data-device] body .battle-report .rep-side{background:#242d35!important;border-color:#75915a!important}html[data-device] body .battle-report .rep-side.rep-loss{background:#30272a!important;border-color:#b87160!important}html[data-device] body .battle-report .rep-trap-phase{padding:12px;margin:12px 0;border:1px solid #c5a56880;border-radius:6px;background:#242d35;color:#efe4ce}html[data-device] body .battle-report .rep-trap-phase :is(h4,p){margin:0 0 7px;color:#efe4ce!important}html[data-device] body .battle-report .rep-trap-phase :is(h4,small){color:#e5c98c!important}html[data-device] body .battle-report .rep-trap{padding:10px;background:#242d35;border:1px solid #c5a56840;border-radius:4px;line-height:1.5;overflow-wrap:anywhere}html[data-device] body .battle-report .rep-trap-kills{color:#e5c98c!important}html[data-device] body .battle-report :is(.rep-drops,.rep-siege-hit){color:#e5c98c!important}html[data-device] body .battle-report .rep-siege-drop{color:#ffb6a3!important}html[data-device] body .battle-report .rep-troops :is(dt,dd){color:#efe4ce!important}html[data-device] body .battle-report .rep-trophies{margin:12px 0;min-width:0}html[data-device] body .battle-report .rep-trophy-grid{display:flex;flex-wrap:wrap;gap:8px}html[data-device] body .battle-report .rep-trophy{position:relative;display:flex;align-items:center;justify-content:center;box-sizing:border-box;width:68px;height:76px;min-height:44px;padding:6px 6px 18px;border:1px solid #b69a5b88;border-radius:7px;background:linear-gradient(#293b43,#17262e);color:#f3e5c6;box-shadow:none;cursor:pointer}html[data-device] body .battle-report .rep-trophy>img,html[data-device] body .battle-report .rep-trophy>.themed-craft-art{display:block;width:48px;height:48px;object-fit:contain}html[data-device] body .battle-report .rep-trophy-count{position:absolute;right:3px;bottom:2px;padding:1px 3px;background:#122028eb;color:#fff0cf;font:700 12px/1.2 PT Sans,sans-serif;border-radius:3px}html[data-device] body .battle-report .rep-trophy-level{position:absolute;top:2px;left:3px;padding:1px 3px;background:#122028eb;color:#efd49b;font:600 10px/1.2 PT Sans,sans-serif;border-radius:3px}html[data-device] body .battle-report .rep-trophy[aria-pressed=true]{border-color:#f1d293;background:#344944}html[data-device] body .battle-report .rep-trophy:focus-visible{outline:2px solid #f1d293;outline-offset:2px}html[data-device] body .battle-report .rep-trophy-caption{margin:8px 0;font:14px/1.4 PT Sans,sans-serif;color:#efe4ce!important;overflow-wrap:anywhere}html[data-device] body .battle-report .rep-trophy-caption[hidden]{display:none!important}#purchase-receipt{position:fixed;inset:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px);box-sizing:border-box;width:min(96vw,520px);max-height:calc(100dvh - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px) - 24px);margin:auto;padding:0;border:1px solid #aa8b55;border-radius:14px;background:#15232e;color:#f4e9d6;overflow:hidden;box-shadow:0 12px 42px #0009}#purchase-receipt[open]{display:grid;grid-template-rows:auto minmax(0,1fr) auto}#purchase-receipt::backdrop{background:#080d12c9}.purchase-head{display:flex;align-items:center;gap:12px;padding:12px 14px;border-bottom:1px solid #aa8b5566}.purchase-head h2{margin:0;color:#f5d796;font:700 clamp(20px,5vw,30px)/1.05 "Cormorant Garamond",serif}.purchase-scroll{overflow:auto;overscroll-behavior:contain}.purchase-summary{padding:12px;border-radius:8px;background:#15232e;color:#f4e9d6}.purchase-summary h3,.purchase-summary h4{margin:0 0 8px;color:#f5d796}.purchase-summary h4{margin-top:14px}.purchase-summary .purchase-order{margin:0 0 10px;color:#c3ced5}.purchase-summary .purchase-text{white-space:pre-wrap}.purchase-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;list-style:none;margin:0;padding:0}.purchase-tile{display:grid;grid-template-columns:36px minmax(0,1fr);align-items:center;gap:1px 6px;padding:6px;border:1px solid #8d744f70;border-radius:7px;background:#213340}.purchase-head img,.purchase-tile img{object-fit:contain}.purchase-tile img{width:36px;height:36px;grid-row:span 2}.purchase-tile strong{color:#ffdb8c;font:700 15px/1.15 PT Sans,sans-serif}.purchase-tile span{color:#f4e9d6;font:13px/1.15 PT Sans,sans-serif;overflow-wrap:anywhere}.purchase-footer{padding:8px 14px;border-top:1px solid #aa8b5566}.purchase-done{width:100%;min-height:42px;border:1px solid #e5c98c;border-radius:7px;background:linear-gradient(#f4d184,#c89847);color:#241806;font:700 16px PT Sans,sans-serif;cursor:pointer}body .mail-window{width:min(900px,calc(100vw - 24px))!important}.mail-layout{display:grid;grid-template-columns:170px minmax(0,1fr);gap:12px;max-height:min(72vh,600px)}.mail-folders{display:grid;align-content:start;gap:6px}.mail-folder{display:flex;justify-content:space-between;align-items:center;min-height:36px;padding:4px 10px;border:1px solid #b7954c;border-radius:6px;background:#e4d7b7;color:#3a2208;font:700 15px Cormorant Garamond,serif;box-shadow:none;transform:none}.mail-folder[aria-pressed=true]{background:linear-gradient(#f9efd2,#8ec1c4);box-shadow:inset 0 -3px #2f8f98}.mail-count{min-width:20px;padding:0 6px;border-radius:10px;background:#c0392b;color:#fff;font:700 12px/18px PT Sans,sans-serif;text-align:center}.mail-write{margin-top:6px;min-height:36px}.mail-main{overflow-y:auto;padding-right:4px}.mail-list-head{display:flex;justify-content:space-between;align-items:center;margin-bottom:6px;font:700 18px Cormorant Garamond,serif;color:#3a2208}.mail-list{list-style:none;margin:0;padding:0;display:grid;gap:4px}.mail-row{display:grid;grid-template-columns:26px minmax(0,1fr) auto auto;align-items:center;gap:8px;width:100%;min-height:38px;padding:4px 10px;border:1px solid #b7954c55;border-radius:6px;background:#fff6dd;color:#2b1a07;text-align:left;box-shadow:none;transform:none;cursor:pointer}.mail-list li.unread .mail-row{background:#fff;border-color:#b7954c;font-weight:700}.mail-list li.unread .mail-subject:before{content:"● ";color:#c0392b}.mail-icon{font-size:17px;text-align:center}.mail-subject{overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:14px PT Sans,sans-serif}.mail-list li.unread .mail-subject{font-weight:700}.mail-from,.mail-time{font:12px PT Sans,sans-serif;color:#6b4a14;white-space:nowrap}.mail-read h3{margin:0 0 2px;font:700 20px Cormorant Garamond,serif;color:#3a2208}.mail-meta{display:block;margin-bottom:8px;font:12px PT Sans,sans-serif;color:#6b4a14}.mail-body{margin:0;padding:10px 12px;border:1px solid #b7954c;border-radius:6px;background:#fffaf0;white-space:pre-wrap;word-break:break-word;font:14px/1.45 PT Sans,sans-serif;color:#2b1a07}.mail-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:8px}.mail-form{display:grid;gap:8px}.mail-form input,.mail-form textarea,.mail-form select{padding:6px 10px;border:1px solid #b7954c;border-radius:6px;background:#fffaf0;font:14px PT Sans,sans-serif;color:#2b1a07}.mail-form textarea{resize:vertical;min-height:110px}.mail-ok{margin:0 0 6px;color:#2e6e12;font:13px PT Sans,sans-serif}.medal .mail-badge{position:absolute;top:-4px;right:-4px;min-width:18px;padding:0 5px;border-radius:9px;background:#c0392b;color:#fff;font:700 11px/18px PT Sans,sans-serif;text-align:center;pointer-events:none}html[data-device] body #mail-dialog.kingdom-mail{--mail-bg:#171d22;--mail-panel:#242d35;--mail-gold:#c5a568;--mail-text:#efe4ce;--mail-muted:#b8bebf;position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;box-sizing:border-box;width:min(1000px,calc(100vw - 24px))!important;max-width:100vw!important;height:min(820px,calc(100dvh - 24px))!important;max-height:100dvh!important;padding:0!important;border:1px solid var(--mail-gold)!important;border-radius:8px!important;background:linear-gradient(120deg,var(--mail-panel),var(--mail-bg))!important;color:var(--mail-text)!important;font:14px/1.45 PT Sans,sans-serif!important;overflow:hidden!important}html[data-device] body #mail-dialog.kingdom-mail[open]{display:flex!important;flex-direction:column}html[data-device] body #mail-dialog.kingdom-mail::backdrop{background:#081015b3}html[data-device] body #mail-dialog.kingdom-mail .window-head{display:flex!important;align-items:center;justify-content:space-between;flex:none;height:auto!important;min-height:58px!important;padding:6px 12px 6px 18px!important;border:0!important;border-bottom:1px solid #c5a56880!important;background:linear-gradient(#2d3840,#1b242b)!important}html[data-device] body #mail-dialog.kingdom-mail h2{margin:0!important;font:700 28px Georgia,serif!important;color:var(--mail-text)!important}html[data-device] body #mail-dialog.kingdom-mail .close-dialog{position:static!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;transform:none!important;border:1px solid #c5a56880!important;border-radius:5px!important;background:#171d22!important;color:#e5c98c!important;font:30px/1 sans-serif!important}html[data-device] body #mail-dialog.kingdom-mail .mail-layout{display:grid!important;grid-template-columns:170px minmax(0,1fr);flex:1;min-height:0!important;max-height:none!important;height:auto!important;gap:0!important;padding:0!important;overflow:hidden!important;background:transparent!important}html[data-device] body #mail-dialog.kingdom-mail .mail-folders{display:flex!important;flex-direction:column;gap:7px!important;min-width:0;padding:12px!important;overflow-y:auto!important;overflow-x:hidden!important;background:#171d22;border-right:1px solid #c5a56840}html[data-device] body #mail-dialog.kingdom-mail :is(button,input,select,textarea){box-sizing:border-box;max-width:100%;border-radius:5px!important;box-shadow:none!important;transform:none!important;font:14px/1.3 PT Sans,sans-serif!important}html[data-device] body #mail-dialog.kingdom-mail button{min-height:44px!important;cursor:pointer;touch-action:manipulation}html[data-device] body #mail-dialog.kingdom-mail button:disabled{opacity:.55;cursor:default}html[data-device] body #mail-dialog.kingdom-mail :is(button,input,textarea,select):focus-visible{outline:2px solid #e5c98c!important;outline-offset:2px}html[data-device] body #mail-dialog.kingdom-mail :is(.mail-folder,.mail-secondary,.mail-write){padding:9px 12px!important;border:1px solid #c5a56870!important;background:linear-gradient(#303b43,#242d35)!important;color:#efe4ce!important}html[data-device] body #mail-dialog.kingdom-mail :is(.mail-folder[aria-pressed=true],.mail-secondary[aria-pressed=true],.mail-primary){background:linear-gradient(#79602f,#514021)!important;border:1px solid #e5c98c!important;color:#fff0d2!important;padding:9px 12px!important}html[data-device] body #mail-dialog.kingdom-mail .mail-folder{display:flex;align-items:center;justify-content:space-between;gap:6px;font-weight:700!important;min-width:0}html[data-device] body #mail-dialog.kingdom-mail .mail-count{flex:none;background:#9f4235!important;color:#fff1dd!important;min-width:20px;padding:1px 5px;border-radius:10px;font:700 11px/18px sans-serif}html[data-device] body #mail-dialog.kingdom-mail .mail-write{margin-top:8px;font-weight:700!important;color:#e5c98c!important}html[data-device] body #mail-dialog.kingdom-mail .mail-main{min-height:0!important;min-width:0!important;overflow:auto!important;overscroll-behavior:contain;padding:12px!important;scrollbar-width:thin;scrollbar-color:#c5a56870 #171d22}html[data-device] body #mail-dialog.kingdom-mail :is(h3,p,small,span,pre){color:inherit;overflow-wrap:anywhere}html[data-device] body #mail-dialog.kingdom-mail h3{font:700 21px/1.25 Georgia,serif!important;margin:0 0 8px!important;color:#efe4ce!important}html[data-device] body #mail-dialog.kingdom-mail .mail-list-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px;margin-bottom:10px;color:#efe4ce!important}html[data-device] body #mail-dialog.kingdom-mail :is(.mail-meta,.mail-list-head small,.mail-length){font:12px/1.4 PT Sans,sans-serif!important;color:#b8bebf!important}html[data-device] body #mail-dialog.kingdom-mail .mail-tools{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:12px}html[data-device] body #mail-dialog.kingdom-mail .mail-list{display:grid;gap:8px;padding:0;margin:0;list-style:none}html[data-device] body #mail-dialog.kingdom-mail .mail-row{display:grid;grid-template-columns:44px minmax(0,1fr)!important;gap:10px!important;align-items:center;width:100%;padding:12px!important;border:1px solid #c5a56840!important;background:linear-gradient(120deg,#28323a,#1c252c)!important;color:#efe4ce!important;text-align:left;min-width:0}html[data-device] body #mail-dialog.kingdom-mail .unread .mail-row{border-color:#c5a568!important;box-shadow:inset 3px 0 #c5a568!important;background:linear-gradient(120deg,#34424b,#232d35)!important}html[data-device] body #mail-dialog.kingdom-mail .mail-art{width:44px;height:44px;object-fit:contain;filter:drop-shadow(0 2px 3px #0008);flex:none}html[data-device] body #mail-dialog.kingdom-mail .mail-row-info{display:grid;gap:5px;min-width:0}html[data-device] body #mail-dialog.kingdom-mail .mail-subject{white-space:normal!important;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden!important;font:700 15px/1.3 PT Sans,sans-serif!important;color:#efe4ce!important}html[data-device] body #mail-dialog.kingdom-mail .unread .mail-subject:before{content:"● ";color:#e5c98c}html[data-device] body #mail-dialog.kingdom-mail .mail-row-meta{display:flex;justify-content:space-between;gap:8px;min-width:0}html[data-device] body #mail-dialog.kingdom-mail :is(.mail-from,.mail-time,.mail-preview){display:block!important;font:12px/1.4 PT Sans,sans-serif!important;color:#b8bebf!important;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;min-width:0}html[data-device] body #mail-dialog.kingdom-mail .mail-time{flex:none}html[data-device] body #mail-dialog.kingdom-mail .mail-reading-head{display:grid;grid-template-columns:44px minmax(0,1fr);gap:4px 10px;margin:16px 0 8px}html[data-device] body #mail-dialog.kingdom-mail .mail-reading-head .mail-art{grid-row:1/3}html[data-device] body #mail-dialog.kingdom-mail .mail-reading-head small{color:#e5c98c!important;font-size:12px}html[data-device] body #mail-dialog.kingdom-mail .mail-body{padding:14px!important;background:#171d22!important;border:1px solid #c5a56850!important;white-space:pre-wrap;word-break:break-word;font:15px/1.6 PT Sans,sans-serif!important;color:#efe4ce!important;margin:12px 0!important;max-width:100%;box-sizing:border-box}html[data-device] body #mail-dialog.kingdom-mail .mail-form{display:grid;gap:12px}html[data-device] body #mail-dialog.kingdom-mail .mail-form label{display:grid;gap:5px;color:#e5c98c;font-size:13px}html[data-device] body #mail-dialog.kingdom-mail .mail-form :is(input,textarea,select){width:100%;min-height:44px;padding:10px!important;background:#171d22!important;color:#efe4ce!important;border:1px solid #c5a56880!important;font-size:16px!important}html[data-device] body #mail-dialog.kingdom-mail textarea{min-height:150px!important;resize:vertical}html[data-device] body #mail-dialog.kingdom-mail .mail-compose-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}html[data-device] body #mail-dialog.kingdom-mail .mail-actions{display:flex;justify-content:flex-end;gap:8px;flex-wrap:wrap;margin:12px 0}html[data-device] body #mail-dialog.kingdom-mail .mail-actions button{flex:1 1 100px}html[data-device] body #mail-dialog.kingdom-mail .mail-confirm{display:flex;gap:8px;flex-wrap:wrap;padding:12px;border:1px solid #c5a568;background:#171d22;margin-top:12px;border-radius:5px}html[data-device] body #mail-dialog.kingdom-mail .mail-confirm :is(strong,p){width:100%;margin:0 0 8px}html[data-device] body #mail-dialog.kingdom-mail .mail-danger{background:linear-gradient(#714437,#402723)!important;color:#ffddd0!important;border:1px solid #bf8973!important;padding:9px 12px!important}html[data-device] body #mail-dialog.kingdom-mail .mail-empty{display:grid;justify-items:center;text-align:center;padding:30px 10px;color:#b8bebf!important}html[data-device] body #mail-dialog.kingdom-mail .mail-empty .mail-art{width:72px;height:72px;margin-bottom:14px;opacity:.7}html[data-device] body #mail-dialog.kingdom-mail .mail-more{width:100%;margin:12px 0}html[data-device] body #mail-dialog.kingdom-mail .mail-ok{color:#b8e3ae!important;background:#263c2a;padding:10px;border-radius:5px}html[data-device] body #mail-dialog.kingdom-mail .form-error{color:#ffb6a3!important;padding:10px;border:1px solid #ad6d5a;background:#412b28}html[data-device] body #mail-dialog.kingdom-mail .mail-reward{display:flex;flex-wrap:wrap;align-items:center;gap:12px;margin:12px 0;padding:12px;border:1px solid #c5a568;border-radius:6px;background:#233c5940}html[data-device] body #mail-dialog.kingdom-mail .mail-reward-label{font-weight:700;color:#e5c98c!important;font-size:13px}html[data-device] body #mail-dialog.kingdom-mail .mail-report{min-width:0;max-width:100%;overflow:auto;margin-top:12px}html[data-device] body #mail-dialog.kingdom-mail .mail-report :is(.rep-side,.rep-detail,.rep-troop,.rep-siege-list){background:#242d35!important;color:#efe4ce!important;border-color:#c5a56860!important}html[data-device] body #mail-dialog.kingdom-mail .mail-report :is(.rep-line,.rep-drops,.rep-troop p,.rep-who strong){color:#efe4ce!important}html[data-device=phone] body #mail-dialog.kingdom-mail{width:100vw!important;height:100dvh!important;border-radius:0!important;padding-top:env(safe-area-inset-top)!important;padding-bottom:env(safe-area-inset-bottom)!important;padding-left:env(safe-area-inset-left)!important;padding-right:env(safe-area-inset-right)!important}html[data-device=phone] body #mail-dialog.kingdom-mail .mail-layout{display:flex!important;flex-direction:column!important;padding:0!important;gap:0!important;overflow:hidden!important;min-height:0!important}html[data-device=phone] body #mail-dialog.kingdom-mail .mail-folders{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px!important;padding:8px 10px!important;flex:none;overflow:hidden!important;border-right:0;border-bottom:1px solid #c5a56850}html[data-device=phone] body #mail-dialog.kingdom-mail :is(.mail-folder,.mail-write){width:100%!important;min-width:0!important;min-height:44px!important;margin:0!important;padding:6px 8px!important;font-size:13px!important;white-space:normal}html[data-device=phone] body #mail-dialog.kingdom-mail .mail-main{flex:1;width:100%!important;box-sizing:border-box}@media(max-height:500px){html[data-device=phone] body #mail-dialog.kingdom-mail .mail-folders{grid-template-columns:repeat(6,minmax(0,1fr))}html[data-device] body #mail-dialog.kingdom-mail .window-head{min-height:52px!important}}html[data-device] body #mail-dialog.kingdom-mail .mail-report :is(.rep-name,.rep-troops,.rep-unit-info,.rep-res-cell,.rep-loot>b){color:#efe4ce!important}html[data-device=phone] body #mail-dialog.kingdom-mail .rep-cols{grid-template-columns:minmax(0,1fr)!important;gap:12px!important}html[data-device=phone] body #mail-dialog.kingdom-mail .rep-side{grid-template-columns:minmax(0,1fr)!important;gap:10px!important}html[data-device=phone] body #mail-dialog.kingdom-mail .rep-troops{grid-template-columns:minmax(0,1fr) auto!important}html[data-device=phone] body #mail-dialog.kingdom-mail .rep-head{grid-template-columns:minmax(0,1fr)!important;gap:4px!important;text-align:center}html[data-device=phone] body #mail-dialog.kingdom-mail .rep-date{text-align:center}html[data-device=phone] body .phone-home .phone-events .phone-control.phone-offer{grid-row:1!important;grid-column:1 / -1!important;justify-self:end!important;align-self:start!important;margin-inline-start:auto!important;box-sizing:border-box;width:96px!important;max-width:100%!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:minmax(18px,1fr) 14px 13px!important;padding:2px 3px!important;border:1px solid #c5a568b0!important;border-radius:8px!important;background:linear-gradient(#303c45,#172127)!important;overflow:hidden!important}html[data-device=phone] body .phone-home .phone-events .phone-control.phone-offer:before{content:none}html[data-device=phone] body .phone-home .phone-events .phone-control.phone-offer>.hud-art{grid-area:1 / 1!important;place-self:center!important;width:100%!important;height:100%!important;min-height:0;max-height:50px;margin:0!important;padding:0!important;object-fit:contain!important;object-position:center!important;transform:none!important}html[data-device=phone] body .phone-home .phone-events .phone-control.phone-offer>.kingdom-caption{grid-area:2 / 1!important;display:block!important;box-sizing:border-box;min-height:0;margin:0!important;padding:0!important;border:0;background:none!important;font:700 11px/14px PT Sans,sans-serif!important;white-space:nowrap!important}html[data-device=phone] body .phone-home .phone-events .phone-control.phone-offer>.event-countdown{grid-area:3 / 1!important;display:block!important;margin:0!important;padding:0!important;background:none;color:#f2cc78!important;font:700 11px/13px PT Sans,sans-serif!important;white-space:nowrap}html[data-device=phone] body .phone-home .phone-events .phone-event-slot{grid-row:2!important;grid-template-rows:minmax(18px,1fr) auto auto!important}html[data-device=phone] body .phone-home .phone-events .phone-event-slot .hud-art{max-height:24px;max-width:24px}html[data-device=phone] body .phone-home .phone-events .phone-offer>span,html[data-device=phone] body .phone-home .phone-events .phone-event-slot>span{min-width:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-device=phone] body .phone-home .phone-events .phone-event-slot .event-countdown{display:block!important;font-size:9px!important;line-height:10px}.incoming-attack-frame{position:fixed;inset:0;z-index:1200;pointer-events:none;box-shadow:inset 0 0 0 3px #f34b43,inset 0 0 32px 10px #d5282866;animation:incoming-attack-pulse 1.5s ease-in-out infinite alternate}.incoming-attack-alert{position:fixed;z-index:30;left:50%;top:72px;transform:translate(-50%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;min-height:44px;max-width:240px;padding:5px 12px;border:1px solid #ef7867;border-radius:7px;background:linear-gradient(#791f25f5,#43191ff5);color:#fff0d5;box-shadow:0 2px 8px #0009;cursor:pointer;touch-action:manipulation;font:700 13px/16px PT Sans,sans-serif;text-align:center}.incoming-attack-alert span{color:#ffd7a2;font-variant-numeric:tabular-nums;font-size:12px}.incoming-attack-alert:focus-visible{outline:2px solid #fff0d5;outline-offset:3px}.incoming-attack-frame[hidden],.incoming-attack-alert[hidden]{display:none!important}html.incoming-attack dialog[open]{box-shadow:0 0 0 2px #e24c43,0 0 28px #b21e25b0!important}.activity-march.incoming-hostile{border:1px solid #ef7867!important;box-shadow:inset 3px 0 #d33d38;background:#481f26!important}html[data-device=phone] .incoming-attack-alert{top:calc(96px + env(safe-area-inset-top));width:calc(100% - 176px);max-width:220px;padding:4px;min-height:44px;font-size:12px;line-height:14px}html[data-device=phone] .incoming-attack-alert strong{font-size:12px;line-height:14px}@keyframes incoming-attack-pulse{0%{box-shadow:inset 0 0 0 2px #d93a36,inset 0 0 20px 5px #c51e2444}to{box-shadow:inset 0 0 0 3px #ff6758,inset 0 0 35px 10px #df253377}}@media(prefers-reduced-motion:reduce){.incoming-attack-frame{animation:none}}.resource-point{display:grid;grid-template-columns:minmax(220px,1fr) 180px;gap:24px;align-items:center}.resource-facts{display:grid;grid-template-columns:1fr auto;gap:10px 20px;margin:18px 0}.resource-facts dd{margin:0;text-align:right;color:#594625}.resource-note{font-size:14px;opacity:.8;line-height:1.5}.resource-troops{border-top:1px solid #8a774d;margin-top:16px;padding-top:12px}.resource-troops label{display:flex;justify-content:space-between;align-items:center;gap:16px;margin:8px 0}.resource-troops input{width:95px;padding:7px;background:#17251f;color:#fff;border:1px solid #8a774d;border-radius:5px}.resource-troops button{margin:4px 10px 4px 0}.resource-troops label{color:#463a27}.resource-point .world-info-art{display:block}html[data-device] body.on-map #map.world-map{background-color:#7a8051!important;background-image:linear-gradient(#7b80533b,#7b80533b),url(/art/world/meadow-surface-v3.webp)!important;background-size:calc(var(--u)*1024) calc(var(--u)*1024)!important;background-repeat:repeat!important}html[data-device] body.on-map #map .world-art{filter:saturate(.88) drop-shadow(0 2px 2px #26351f60)}html[data-device] body.on-map #map .world-decor{filter:saturate(.82);opacity:.85}.world-ground-contact{position:absolute;left:50%;top:var(--site-anchor,86%);width:90%;height:20%;transform:translate(-50%,-65%);border-radius:50%;background:radial-gradient(ellipse,#4d562b2b,transparent 70%);pointer-events:none}html[data-device] body.on-map .world-tools{box-sizing:border-box;gap:2px!important;border:1px solid #a58d5e88!important;background:#13272ded!important;box-shadow:0 3px 14px #07170f33!important;border-radius:10px!important}html[data-device] body.on-map .world-tools button{min-height:44px!important;height:44px!important;padding:0 12px!important;border:0!important;background:transparent!important;color:#eee5cc!important;box-shadow:none!important;font:600 13px/1.2 PT Sans,sans-serif!important}html[data-device] body.on-map .world-tools .world-search-open{font-variant-numeric:tabular-nums!important;border-right:1px solid #9d8b6155!important;border-radius:0!important}html[data-device] body.on-map .world-zoom{display:flex;flex-direction:row!important;gap:0;padding:3px;border:1px solid #a58d5e88;border-radius:24px;background:#13272ded;box-shadow:0 3px 14px #07170f33}html[data-device] body.on-map .world-zoom button{width:44px!important;height:44px!important;min-height:44px!important;border-radius:50%;font-size:22px}html[data-device] body.on-map .world-zoom output{width:42px;height:20px!important;line-height:20px!important;font-size:12px;color:#e3d9b9}html[data-device] body.on-map .world-zoom .world-zoom-home{margin-left:3px;border-left:1px solid #9d8b6155;border-radius:0}html[data-device] body.on-map #map .world-label{max-width:130px!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;padding:2px 5px;font:500 11px/1.2 PT Sans,sans-serif!important;background:#172a22d9!important;border:0!important;border-radius:4px}html[data-device] body.on-map #map .world-label small{font-size:10px!important}html[data-device] body.on-map #map .world-object:is(.selected,:focus-visible) .world-label{max-width:220px!important;white-space:normal!important}html[data-device=phone] body.on-map .hud.kingdom-hud{--kp-bottom:64px;--kp-top:88px;--kp-rail:48px}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status{height:44px!important;grid-template-columns:minmax(0,1fr) auto 44px!important;gap:3px;padding:0 2px 0 6px;background:#13272df5!important;border-color:#a58d5e88!important;box-shadow:none!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status :is(#avatar,.ribbon){display:none!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status .phone-power{grid-column:1!important;min-width:0!important;overflow:hidden}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status .bank{display:flex!important;grid-column:2!important;position:static!important;padding:0 5px!important;min-height:44px!important;height:44px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status .kingdom-visibility{grid-column:3!important;position:static!important;width:44px!important;background:none!important;border:0!important;box-shadow:none!important}html[data-device=phone] body.on-map .hud.kingdom-hud #resbar{top:calc(44px + env(safe-area-inset-top))!important;height:36px!important;background:#13272de8!important;border-color:#a58d5e66!important;box-shadow:none!important}html[data-device=phone] body.on-map .hud.kingdom-hud #resbar .res{min-height:36px!important;height:36px!important;gap:3px!important;padding:0 2px!important}html[data-device=phone] body.on-map .hud.kingdom-hud #resbar .res img{width:18px!important;height:18px!important}html[data-device=phone] body.on-map .hud.kingdom-hud #resbar .res b{font-size:11px!important}html[data-device=phone] body.on-map .world-tools{position:fixed!important;inset:calc(86px + env(safe-area-inset-top)) 8px auto!important;left:8px!important;right:8px!important;top:calc(86px + env(safe-area-inset-top))!important;max-width:none!important;width:auto!important;transform:none!important;padding:2px!important;display:grid!important;grid-template-columns:minmax(0,1fr) auto auto!important}html[data-device=phone] body.on-map .world-tools .world-search-open{width:100%;min-width:0;min-height:44px!important;height:44px!important;font-size:14px!important}html[data-device=phone] body.on-map .world-zoom{position:fixed;top:auto!important;bottom:calc(72px + env(safe-area-inset-bottom))!important;left:50%!important;right:auto!important;transform:translate(-50%)!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom{box-sizing:content-box!important;min-height:0!important;height:58px!important;padding:3px 8px env(safe-area-inset-bottom)!important;grid-template-columns:44px minmax(0,1fr) 44px!important;align-items:center!important;background:#13272df5!important;border-color:#a58d5e88!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom>.phone-control{height:54px!important;min-height:44px!important;width:44px!important;grid-template-rows:32px 16px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom>.phone-control img{width:32px!important;height:32px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom>.phone-control span{font-size:11px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom .ticker{height:48px!important;min-height:0!important;width:100%!important;background:none!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom .ticker>.chat-label{height:48px!important;min-height:44px!important;padding:4px 6px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-bottom .ticker>span{margin-top:16px!important;font-size:12px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-utilities{bottom:calc(132px + env(safe-area-inset-bottom))!important;right:8px!important;gap:8px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-lower{bottom:calc(132px + env(safe-area-inset-bottom))!important;left:8px!important}html[data-device=phone] body.on-map .hud.kingdom-hud :is(.phone-lower,.phone-utilities) .kingdom-action{width:48px!important;min-height:44px!important;grid-template-rows:32px 16px!important}html[data-device=phone] body.on-map .hud.kingdom-hud :is(.phone-lower,.phone-utilities) .kingdom-action img{width:32px!important;height:32px!important}html[data-device=phone] body.on-map .hud.kingdom-hud :is(.phone-lower,.phone-utilities) .kingdom-action>span{font-size:10px!important;max-width:60px!important;min-height:14px!important;line-height:14px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-lower .queue-summary{display:none!important}@media(orientation:landscape)and (max-height:500px){html[data-device=phone] body.on-map .world-tools{inset:8px auto auto 8px!important;width:270px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-status{left:286px!important;right:8px!important;top:8px!important}html[data-device=phone] body.on-map .hud.kingdom-hud #resbar{top:56px!important;left:286px!important;right:8px!important}html[data-device=phone] body.on-map .world-zoom{bottom:72px!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-utilities{bottom:72px!important;flex-direction:row!important}html[data-device=phone] body.on-map .hud.kingdom-hud .phone-lower{bottom:72px!important}}html[data-device=phone] body.on-map #app .world-tools{left:8px!important;right:8px!important;max-width:none!important;width:auto!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar{max-width:none!important;width:auto!important;left:6px!important;right:6px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-power{justify-content:flex-start!important;gap:6px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-power span{flex:none!important;width:auto!important;min-width:0!important;margin:0!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud :is(.phone-help,.phone-mail-rank){display:none!important}@media(orientation:landscape)and (max-height:500px){html[data-device=phone] body.on-map #app .world-tools{left:8px!important;right:auto!important;width:270px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar{left:286px!important;right:8px!important}}@media(orientation:portrait){html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status{background:#13272dd9!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar{height:34px!important;min-height:34px!important;background:#13272dcf!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar .res{height:32px!important;min-height:32px!important;flex-direction:row!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar .res img{width:17px!important;height:17px!important}html[data-device=phone] body.on-map #app .world-tools.world-tools{top:calc(80px + env(safe-area-inset-top))!important;background:#13272dd9!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom{height:48px!important;min-height:48px!important;padding:1px 6px env(safe-area-inset-bottom)!important;background:#13272de0!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom>.phone-control{height:46px!important;min-height:44px!important;grid-template-rows:28px 16px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom>.phone-control img{width:28px!important;height:28px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom .ticker{height:46px!important;min-height:44px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom .ticker>.chat-label{height:46px!important;min-height:44px!important;padding:3px 6px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom .ticker>span{margin-top:15px!important}html[data-device=phone] body.on-map #app .world-zoom{bottom:calc(57px + env(safe-area-inset-bottom))!important;background:#13272dd9!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud :is(.phone-utilities,.phone-lower){bottom:calc(116px + env(safe-area-inset-bottom))!important}}@media(orientation:portrait){html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom{bottom:env(safe-area-inset-bottom)!important;padding:1px 6px!important;box-sizing:border-box!important;height:50px!important;min-height:50px!important;border-radius:7px 7px 0 0;background:#13272de8!important}html[data-device=phone] body.on-map #app .world-zoom{bottom:calc(54px + env(safe-area-inset-bottom))!important;padding:1px!important;border-radius:15px!important}html[data-device=phone] body.on-map #app .world-zoom output{width:32px!important}html[data-device=phone] body.on-map #app .world-zoom .world-zoom-home{margin-left:0!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud :is(.phone-utilities,.phone-lower){bottom:calc(108px + env(safe-area-inset-bottom))!important}}@media(orientation:portrait){html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status{inset:auto auto calc(106px + env(safe-area-inset-bottom)) 50%!important;transform:translate(-50%)!important;width:min(260px,calc(100vw - 116px))!important;height:44px!important;box-sizing:border-box!important;grid-template-columns:minmax(0,1fr) auto 44px!important;border:1px solid #a58d5e88!important;border-radius:10px!important;background:#13272de8!important;pointer-events:auto!important;z-index:1}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .phone-power{overflow:hidden!important;font-size:12px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .bank b{font-size:12px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud #resbar{top:env(safe-area-inset-top)!important}html[data-device=phone] body.on-map #app .world-tools.world-tools{top:calc(38px + env(safe-area-inset-top))!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud :is(.phone-utilities,.phone-lower){bottom:calc(156px + env(safe-area-inset-bottom))!important}}@media(orientation:portrait){html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom{height:94px!important;min-height:94px!important;align-items:center!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom>.phone-control{align-self:center!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-bottom .ticker{align-self:end!important;height:44px!important;min-height:44px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status{left:54px!important;right:54px!important;bottom:calc(50px + env(safe-area-inset-bottom))!important;transform:none!important;width:auto!important;height:44px!important;padding:0 1px!important;grid-template-columns:minmax(0,1fr) auto 44px!important;gap:1px!important;border:0!important;border-radius:4px!important;background:transparent!important;box-shadow:none!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .phone-power{gap:2px!important;padding:0!important;font-size:clamp(10px,2.8vw,12px)!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .phone-power img{width:17px!important;height:20px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .bank{padding:0 2px!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud .phone-status .bank b{font-size:11px!important}html[data-device=phone] body.on-map #app .world-zoom{bottom:calc(98px + env(safe-area-inset-bottom))!important}html[data-device=phone] body.on-map #app .hud.kingdom-hud :is(.phone-utilities,.phone-lower){bottom:calc(150px + env(safe-area-inset-bottom))!important}}html[data-device] body .map-navigation.game-dialog{position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;width:min(600px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;height:auto!important;max-height:calc(100dvh - 32px)!important;padding:0!important;border:1px solid #c5a568!important;border-radius:8px!important;background:#202a32!important;color:#efe4ce!important;overflow:hidden!important}html[data-device] body .map-navigation[open]{display:flex;flex-direction:column}.map-navigation .window-head{position:relative;flex:none;min-height:58px;padding:12px 58px 12px 16px}.map-navigation .window-head h2{font-size:24px!important;margin:0!important}.map-navigation-body{padding:14px;min-height:0;overflow:auto;overscroll-behavior:contain;font:14px/1.5 PT Sans,sans-serif}.map-filter-row{display:flex;gap:12px;align-items:center;min-height:48px;margin:0;border-bottom:1px solid #c5a56833;color:#efe4ce}.map-filter-row input{width:22px;height:22px;flex:none;display:inline-block;margin:0;accent-color:#d0b477}.map-filter-row span{color:#efe4ce!important}.map-place-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.map-place-tabs button{min-width:0;padding:8px 4px;min-height:44px;background:#293640;color:#efe4ce;border:1px solid #a68d5c}.map-place-tabs button[aria-pressed=true]{background:#57472e;color:#fff1d0;border-color:#e5c98c}.map-place-list{display:grid;gap:8px}.map-place-row{display:flex;align-items:center;gap:8px;padding:10px;background:#19232b;border:1px solid #c5a56855;border-radius:5px}.map-place-row>div{flex:1;min-width:0}.map-place-row strong{display:block;overflow-wrap:anywhere;color:#efe4ce}.map-place-row small{display:block;color:#bdc4c7!important}.map-place-row button{flex:none;min-width:44px;min-height:44px;padding:8px;color:#f1d69e;background:#28343b;border:1px solid #a68d5c}html[data-device] body.on-map .world-tools.world-tools{gap:6px!important;max-width:calc(100vw - 16px)!important;padding:4px!important;background:#17232bea!important;border:1px solid #b69a5b!important;border-radius:6px!important}html[data-device] body.on-map .world-tools.world-tools :is(.world-search-open,.world-places-open,.world-filters-open){display:block!important;min-width:44px!important;min-height:44px!important;height:44px!important;padding:0 12px!important;background:#25333b!important;color:#f1dfb8!important;border:1px solid #8b754e!important;border-radius:4px!important;font:700 13px PT Sans,sans-serif!important;white-space:nowrap;transform:none!important}html[data-device] body.on-map .world-tools.world-tools .world-status{position:absolute;top:100%;left:0;right:0;text-align:center;font-size:11px;background:#17232be8;color:#efe4ce;pointer-events:none}#map[data-show-labels=false] .world-object:not(.own):not(.selected) .world-label{display:none}#map .world-object.aggressive .world-label{border-left:2px solid #e9a26b;color:#ffdda4;background:#24221cdd}#map.world-map{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='28'%3E%3Cpath d='M0 14L28 0L56 14L28 28Z' fill='none' stroke='%23f3e4ad' stroke-opacity='.12' stroke-width='.6'/%3E%3C/svg%3E"),url(/art/world/terrain-map.webp)!important;background-size:calc(var(--u)*56) calc(var(--u)*28),calc(var(--u)*512) calc(var(--u)*512)!important;background-repeat:repeat!important}html[data-device=phone] body.on-map .world-tools.world-tools{top:calc(94px + env(safe-area-inset-top))!important;left:50%!important;max-width:calc(100vw - 16px)!important}html[data-device=phone] body.on-map .world-zoom{top:calc(152px + env(safe-area-inset-top));right:6px}html[data-device=phone] body.on-map .world-zoom button.world-zoom-overview{min-height:44px;height:44px;font-size:11px}@media(max-width:360px){html[data-device] body.on-map .world-tools.world-tools :is(.world-search-open,.world-places-open,.world-filters-open){padding:0 8px!important;font-size:12px!important}.map-place-row{flex-wrap:wrap}.map-place-row>div{flex-basis:100%}}.world-city-art{position:relative}.world-siege-effects{position:absolute;inset:0;pointer-events:none;overflow:visible}.castle-emitter{position:absolute;left:var(--fx-x);top:var(--fx-y);width:38%;height:50%;transform:translate(-50%,-96%);pointer-events:none}.castle-emitter-1{width:30%;height:40%}.castle-emitter-2{width:25%;height:34%}.castle-vfx{display:none;position:absolute;inset:0;background-size:400% 200%;background-repeat:no-repeat;pointer-events:none;will-change:background-position}.world-object.under-attack .castle-vfx-fire{display:block;background-image:url(/art/world/effects/castle-fire-v1.webp);animation:castle-vfx-frames .72s step-end infinite;filter:drop-shadow(0 0 2px #ff9c1d88)}.world-object.smouldering .castle-vfx-smoke{display:block;inset:-70% -22% 0;background-image:url(/art/world/effects/castle-smoke-v1.webp);animation:castle-vfx-frames 2.4s step-end infinite;opacity:.82}.castle-emitter-1 .castle-vfx{animation-delay:-.31s!important}.castle-emitter-2 .castle-vfx{animation-delay:-.54s!important}.world-object.smouldering .world-label{color:#e0d5c6;background:linear-gradient(90deg,transparent,#38302cdd 14%,#38302cdd 86%,transparent)}.world-object.under-attack .world-city-art{filter:drop-shadow(0 0 3px #e36a2990) drop-shadow(0 2px 2px #102a1766)}@keyframes castle-vfx-frames{0%{background-position:0 0}12.5%{background-position:33.333333% 0}25%{background-position:66.666667% 0}37.5%{background-position:100% 0}50%{background-position:0 100%}62.5%{background-position:33.333333% 100%}75%{background-position:66.666667% 100%}87.5%,to{background-position:100% 100%}}@media(prefers-reduced-motion:reduce){.world-object .castle-vfx{animation:none!important;will-change:auto}}.world-routes,.world-riders{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.world-routes{z-index:1;overflow:visible}.world-riders{z-index:3}.world-route{--march-color:#7bdd88}.world-route.march-attack{--march-color:#ff494b}.world-route.march-scout{--march-color:#aeb4bb}.world-route.march-return{--march-color:#7bdd88}.route-shadow{stroke:#11291eaa;stroke-width:5}.route-line{stroke:var(--march-color);stroke-width:2.5;stroke-dasharray:7 6}.route-origin,.route-destination{fill:#223c2a;stroke:var(--march-color);stroke-width:2}.route-destination{fill:var(--march-color);fill-opacity:.2}.world-rider{position:absolute;transform:translate(-50%,-50%);width:clamp(48px,calc(var(--u)*78),84px);height:clamp(48px,calc(var(--u)*78),84px);padding:0;border:0;border-radius:0;background:none;box-shadow:none;pointer-events:auto;cursor:pointer;touch-action:manipulation}.world-rider:hover,.world-rider:active{transform:translate(-50%,-50%);background:none;box-shadow:none}.world-rider img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 3px 2px #102719b3);pointer-events:none}.world-rider.march-attack img{filter:drop-shadow(0 0 3px #fc494999) drop-shadow(0 3px 2px #102719b3)}.world-rider:focus-visible{outline:2px solid #f2dd97;outline-offset:3px}.world-march-tag{position:absolute;bottom:100%;left:50%;transform:translate(-50%);display:none;width:max-content;max-width:min(300px,65vw);padding:6px 9px;border:1px solid #b49c67;border-radius:7px;background:#182d24ee;color:#f8edcf;font:500 12px/1.35 var(--control-font);text-align:center;pointer-events:none}.world-rider:is(:hover,:focus-visible,.expanded) .world-march-tag{display:block}.world-object.under-attack:before{content:"";position:absolute;inset:45% 5% 8%;border-radius:50%;background:radial-gradient(ellipse,#ee313a6b,#db1e2940 55%,transparent 72%);box-shadow:0 0 15px #ec313e66;pointer-events:none}.world-object.under-attack .world-art{filter:drop-shadow(0 0 7px #fd4045b3) drop-shadow(0 2px 2px #102a1766)}.world-object.under-attack .world-label{color:#ffc7bd;background:linear-gradient(90deg,transparent,#541c25dc 14%,#541c25dc 86%,transparent)}.world-rider-art{display:block;width:100%;height:100%;filter:drop-shadow(0 3px 2px #102719b3)}.world-rider-art img{filter:none}.world-rider-sprite{display:none;width:100%;height:100%;background:url(/art/world/march-walk-map.webp) 0 0/200% 200% no-repeat;animation:horse-walk .8s step-end infinite}.march-walk-ready .world-rider-sprite{display:block}.march-walk-ready .world-rider-art img{display:none}.world-rider.march-attack .world-rider-art{filter:drop-shadow(0 0 3px #fc494999) drop-shadow(0 3px 2px #102719b3)}.world-rider[data-status=stationed] .world-rider-sprite{animation:none}.route-line{animation:route-flow 1.2s linear infinite}.world-object.under-attack:before{animation:attack-beacon 1.8s ease-in-out infinite}@keyframes horse-walk{0%,to{background-position:0 0}25%{background-position:100% 0}50%{background-position:0 100%}75%{background-position:100% 100%}}@keyframes route-flow{to{stroke-dashoffset:-26}}@keyframes attack-beacon{0%,to{opacity:.55}50%{opacity:1}}@media(prefers-reduced-motion:reduce){.world-rider-sprite,.route-line,.world-object.under-attack:before{animation:none}}.world-rider.march-scout .world-rider-sprite{display:none}.march-walk-ready .world-rider.march-scout .world-rider-art img{display:block}html[data-device] body #map .world-rider{width:calc(var(--u)*var(--rider-width,32))!important;height:calc(var(--u)*var(--rider-height,38))!important;transform:translate(-50%,-86%)!important;border-radius:0;background:none!important;box-shadow:none!important}html[data-device] body #map .world-rider:after{content:"";position:absolute;inset:50% auto auto 50%;width:44px;height:44px;transform:translate(-50%,-50%)}#map .world-rider-image{display:block;width:100%;height:100%;object-fit:contain;transform-origin:center;filter:drop-shadow(0 2px 1px #10271999)}#map .world-rider[data-facing=left] .world-rider-image{transform:scaleX(-1)}html[data-device] body #map .world-rider[data-visual=hero]{transform:translate(-50%,-50%)!important}#map .world-rider[data-visual=hero] .world-rider-image{transform:rotate(var(--march-heading,0deg))}#map .world-rider-portrait{position:absolute;top:-8px;right:-8px;width:14px;height:14px;border-radius:50%;border:1px solid #e5c98c;object-fit:cover}#map .world-rider-portrait[hidden]{display:none}.world-route.march-own{--march-color:#b5d4c0}.world-route.march-foreign{--march-color:#d3ba7c}.world-route.march-attack.march-foreign{--march-color:#ea8a77}.world-route.march-scout{--march-color:#aebdcc}.world-route.march-return{--march-color:#9dc6bc}.world-march-details{box-sizing:border-box;width:min(480px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow:auto;padding:22px;border:1px solid #bb9c61;border-radius:10px;background:linear-gradient(135deg,#24353d,#122027);color:#efe5cf;font:16px/1.45 PT Sans,sans-serif}.world-march-details::backdrop{background:#061016bb}.world-march-details h2{margin:0 44px 16px 0;color:#f0dbab}.world-march-details button{min-height:44px;padding:9px 14px;border:1px solid #bb9c61;border-radius:6px;background:#294d49;color:#fff0cf;font:600 15px/1.3 sans-serif}.world-march-details .world-march-close{position:absolute;right:10px;top:10px;width:44px;padding:0;background:#26373e;font-size:28px}.world-march-details nav{display:flex;flex-wrap:wrap;gap:8px}.world-march-details button:disabled{background:#344148;color:#c9d0cc}.world-march-details button:focus-visible{outline:2px solid #f4d596;outline-offset:2px}.world-route.march-own{--march-color:#4a9df9}.world-route.march-own.march-scout{--march-color:#59d98a}.world-route.march-own.march-gather{--march-color:#edbd4f}.world-route.march-foreign.march-attack{--march-color:#ef5c55}#map .world-object{width:calc(var(--u)*var(--site-width,100))!important;height:calc(var(--u)*var(--site-height,100))!important;min-width:0;min-height:0;display:block;transform:translate(-50%,-100%)}#map .world-object:is(:hover,:active){transform:translate(-50%,-100%)}#map .world-object:after{content:"";position:absolute;left:50%;top:50%;width:100%;height:100%;min-width:44px;min-height:44px;transform:translate(-50%,-50%)}#map .world-object .world-art{width:100%!important;height:100%!important}#map .world-label{position:absolute;top:100%;left:50%;transform:translate(-50%);max-width:150px;overflow:hidden;text-overflow:ellipsis;font-size:12px;line-height:1.25;white-space:nowrap;padding:1px 5px}#map .world-object[data-kind=resourceNode] .world-label{font-size:11px;max-width:130px}#map .world-object:is(.selected,:focus-visible,:hover) .world-label{max-width:240px;white-space:normal;z-index:4}#map .world-decor{width:calc(var(--u)*62);height:calc(var(--u)*62)}.world-node-horse{position:absolute;left:55%;top:2%;width:calc(var(--u)*32);height:auto;pointer-events:none;filter:drop-shadow(0 2px 2px #0008)}#map .world-rider{width:calc(var(--u)*36)!important;height:calc(var(--u)*36)!important;min-width:0;min-height:0}#map .route-line{stroke-width:1.6!important;stroke-dasharray:5 5!important}#map .route-shadow{stroke-width:3!important}#map .route-destination{r:4}#map .route-origin{r:3}body.on-map .hud :is(.avatar,.ribbon,.bank){display:none!important}body.on-map .hud .prestige{top:4px!important;left:6px!important}body.on-map .world-tools{gap:2px!important;padding:2px 4px!important;border-radius:6px!important;top:38px!important}body.on-map .world-tools input{width:40px!important;height:24px!important;font-size:11px!important;padding:0 2px!important}body.on-map .world-tools button{height:24px!important;padding:0 6px!important;font-size:11px!important}.world-tools>input,.world-tools>button[type=submit]{display:none!important}.world-search-open{min-height:30px;padding:3px 12px;border:1px solid #c9a24a;border-radius:16px;background:linear-gradient(#3a2a12,#1f160a);color:#f3d27a;font:700 14px PT Sans,sans-serif;font-variant-numeric:tabular-nums;cursor:pointer;box-shadow:0 2px 6px #0008}.map-search{width:min(460px,calc(100vw - 24px));padding:0;border:3px solid #b7954c;border-radius:6px;background:linear-gradient(#f4e8c8,#e3cd98);color:#2b1a07;box-shadow:0 10px 40px #000c}.map-search::backdrop{background:#0008}.map-search form{display:grid;gap:10px;padding:16px 22px 18px;text-align:center}.map-search h2{margin:0;font:700 26px Cormorant Garamond,serif;color:#3a2208}.map-search p{margin:0;font:600 16px/1.3 Cormorant Garamond,serif;color:#5a3e14}.map-search-fields,.map-search-buttons{display:grid;grid-template-columns:1fr 1fr;gap:14px}.map-search-fields input{min-height:40px;padding:4px 14px;border:1px solid #b7954c;border-radius:20px;background:#e9dcb8;box-shadow:inset 0 2px 4px #0003;font:700 20px PT Sans,sans-serif;color:#2b1a07}.map-search-buttons button{min-height:44px;border-radius:6px;color:#fff;font:700 20px Cormorant Garamond,serif;text-shadow:0 1px 2px #000;cursor:pointer}.map-search-cancel{border:1px solid #6e1010;background:linear-gradient(#e0473f,#9b1a14)}.map-search-go{border:1px solid #0d4a63;background:linear-gradient(#2fa3c9,#0e5f82)}.map-search .map-search-error{min-height:0;color:#9b1a14;font:13px PT Sans,sans-serif}.world-zoom{display:none;position:fixed;z-index:6;left:50%;bottom:22px;transform:translate(-50%);align-items:center;gap:2px;padding:3px;border:1px solid #b69a5b80;border-radius:10px;background:linear-gradient(#303b3eef,#182225f2);box-shadow:0 3px 12px #0005;color:#f4e6c4;pointer-events:auto;font:600 12px/1.2 var(--control-font)}body.on-map .world-zoom{display:flex}.world-zoom button{display:grid;place-items:center;width:44px;height:44px;min-width:44px;min-height:44px;padding:0;border:0;border-radius:6px;background:transparent;box-shadow:none;color:inherit;font:600 24px/1 var(--control-font);cursor:pointer;touch-action:manipulation;transform:none}.world-zoom button:hover{background:#ffffff12;transform:none}.world-zoom button:active{background:#ffffff24}.world-zoom button:disabled{opacity:.35;cursor:default}.world-zoom button:focus-visible{outline:2px solid #f2d590;outline-offset:-2px}.world-zoom output{width:36px;text-align:center;font-variant-numeric:tabular-nums}.world-zoom button.world-zoom-overview{width:50px;font-size:11px}.world-zoom button.world-zoom-home{font-size:28px}#map[data-zoom-mode=overview] .world-object:not(.own):not(.selected) .world-label{display:none}#map .world-object.selected .world-art{filter:brightness(1.15) drop-shadow(0 0 5px #ffe2a2)}#map .world-object.selected .world-label{color:#ffe3a0!important;background:#152622ed}#map .world-object.own .world-art{filter:drop-shadow(0 0 4px #ffdb77aa)}html[data-device=phone] body.on-map .world-tools{top:calc(88px + env(safe-area-inset-top))!important;left:50%!important;max-width:calc(100vw - 150px)}html[data-device=phone] body.on-map .world-tools .world-search-open{min-height:36px!important;height:36px!important;font-size:12px!important;padding:0 10px!important}html[data-device=phone] body.on-map .phone-home .phone-events{display:none!important}html[data-device=phone] body.on-map .world-zoom{left:auto;right:max(8px,env(safe-area-inset-right));top:calc(134px + env(safe-area-inset-top));bottom:auto;transform:none;flex-direction:column;padding:2px}html[data-device=phone] body.on-map .world-zoom output{height:18px;line-height:18px}html[data-device=phone] body.on-map .world-zoom button.world-zoom-overview{width:44px;min-width:44px;height:34px;min-height:34px;font-size:10px}@media(orientation:landscape)and (max-height:500px){html[data-device=phone] body.on-map .world-zoom{top:auto;bottom:8px;right:90px;flex-direction:row}html[data-device=phone] body.on-map .world-tools{top:44px!important}}html[data-device] body #activity-panel.marches-open{--mp-bg:#171d22;--mp-panel:#242d35;--mp-gold:#c5a568;--mp-text:#efe4ce;--mp-muted:#b8bebf;position:fixed!important;inset:auto!important;left:max(12px,env(safe-area-inset-left))!important;top:max(12px,env(safe-area-inset-top))!important;bottom:max(12px,env(safe-area-inset-bottom))!important;width:min(460px,calc(100vw - 24px))!important;height:auto!important;max-height:none!important;max-width:none!important;z-index:100!important;display:flex;flex-direction:column;overflow:hidden!important;box-sizing:border-box;border:1px solid var(--mp-gold)!important;border-radius:9px!important;background:linear-gradient(140deg,#242d35,#171d22)!important;color:var(--mp-text)!important;box-shadow:0 12px 40px #0009!important;font:14px/1.4 PT Sans,sans-serif!important}html[data-device] body #activity-panel.marches-open[hidden]{display:none!important}html[data-device] body #activity-panel.marches-open>header{position:relative;display:flex!important;align-items:center;justify-content:space-between;min-height:58px;padding:6px 10px 6px 18px!important;background:linear-gradient(#2d3840,#1b242b)!important;border:0!important;border-bottom:1px solid #c5a56880!important;flex:none}html[data-device] body #activity-panel.marches-open>header h2{margin:0!important;color:#efe4ce!important;font:700 28px/1.15 Georgia,serif!important}html[data-device] body #activity-panel.marches-open>header button{position:static!important;width:44px!important;height:44px!important;min-height:44px!important;border:1px solid #c5a56880!important;border-radius:5px!important;background:#171d22!important;color:#e5c98c!important;font:30px/1 sans-serif!important;padding:0!important;transform:none!important}html[data-device] body #activity-panel.marches-open :is(button,summary){cursor:pointer;touch-action:manipulation}html[data-device] body #activity-panel.marches-open :is(button,summary):focus-visible{outline:2px solid #e5c98c!important;outline-offset:2px}html[data-device] body #activity-panel.marches-open :is(.marches-toolbar,.marches-footer)[hidden]{display:none!important}html[data-device] body #activity-panel.marches-open .marches-toolbar{flex:none;padding:10px 12px;border-bottom:1px solid #c5a56850;background:#171d22}html[data-device] body #activity-panel.marches-open .marches-summary{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:10px;font-size:13px;color:#e5c98c!important}html[data-device] body #activity-panel.marches-open .marches-summary .marches-threat{color:#ffb7a6!important}html[data-device] body #activity-panel.marches-open .marches-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}html[data-device] body #activity-panel.marches-open .marches-tabs button{display:flex;align-items:center;justify-content:space-between;gap:5px;min-height:44px;min-width:0;padding:8px 12px;border:1px solid #c5a56860;border-radius:5px;box-shadow:none;background:#242d35;color:#efe4ce!important;font:700 14px/1.2 PT Sans,sans-serif;transform:none}html[data-device] body #activity-panel.marches-open .marches-tabs button[aria-pressed=true]{background:linear-gradient(#70582f,#46361f);border-color:#e5c98c;color:#fff2d9!important}html[data-device] body #activity-panel.marches-open .marches-tabs b{display:grid;place-items:center;min-width:24px;height:24px;border-radius:12px;background:#0003;font-size:12px}html[data-device] body #activity-panel.marches-open .activity-content{padding:12px!important;min-height:0;flex:1;overflow:auto!important;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#c5a56870 #171d22}html[data-device] body #activity-panel.marches-open .activity-march{padding:12px!important;margin:0 0 12px!important;background:linear-gradient(135deg,#2c3740,#1c252c)!important;border:1px solid #c5a56880!important;border-radius:7px!important;color:#efe4ce!important;overflow-wrap:anywhere;font:14px/1.4 PT Sans,sans-serif!important}html[data-device] body #activity-panel.marches-open .activity-march :is(p,span,strong,h3,small){color:inherit!important}html[data-device] body #activity-panel.marches-open .activity-march p{margin:7px 0!important;text-align:left!important;font:14px/1.4 PT Sans,sans-serif!important}html[data-device] body #activity-panel.marches-open .activity-march-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}html[data-device] body #activity-panel.marches-open .march-identity{display:flex;align-items:center;gap:8px;min-width:0}html[data-device] body #activity-panel.marches-open .march-identity img{width:44px;height:44px;object-fit:contain;flex:none;filter:drop-shadow(0 2px 3px #0008)}html[data-device] body #activity-panel.marches-open .march-identity strong{font-size:16px;line-height:1.2}html[data-device] body #activity-panel.marches-open .march-status{flex:none;max-width:45%;white-space:normal;text-align:center;background:#233c59!important;padding:4px 7px!important;border:1px solid #c5a56840;border-radius:4px;font-size:12px!important}html[data-device] body #activity-panel.marches-open .incoming-hostile{border-color:#d37560!important;box-shadow:inset 3px 0 #bd5141}html[data-device] body #activity-panel.marches-open .incoming-hostile .march-status{background:#733a32!important;color:#ffe1d8!important}html[data-device] body #activity-panel.marches-open .marches-route{padding:8px 10px;border:1px solid #c5a56830;border-radius:4px;background:#0002}html[data-device] body #activity-panel.marches-open .marches-route h3{margin:2px 0 6px!important;font:700 21px/1.2 Georgia,serif!important}html[data-device] body #activity-panel.marches-open .marches-route :is(small,.march-position),html[data-device] body #activity-panel.marches-open .marches-location{color:#b8bebf!important;font-size:12px!important}html[data-device] body #activity-panel.marches-open .marches-composition{margin:8px 0;border-block:1px solid #c5a56830}html[data-device] body #activity-panel.marches-open .marches-composition summary{display:flex;align-items:center;justify-content:space-between;min-height:44px;color:#e5c98c;font-size:13px}html[data-device] body #activity-panel.marches-open .marches-composition summary:after{content:"＋";font-size:20px}html[data-device] body #activity-panel.marches-open .marches-composition[open] summary:after{content:"−"}html[data-device] body #activity-panel.marches-open .activity-timer{color:#e5c98c!important;font-weight:700!important;font-variant-numeric:tabular-nums}html[data-device] body #activity-panel.marches-open progress{display:block;width:100%;height:7px;margin:8px 0;accent-color:#c5a568;appearance:none;border:0;border-radius:4px;overflow:hidden;background:#11191e}html[data-device] body #activity-panel.marches-open progress::-webkit-progress-bar{background:#11191e}html[data-device] body #activity-panel.marches-open progress::-webkit-progress-value{background:linear-gradient(90deg,#8a6932,#e5c98c)}html[data-device] body #activity-panel.marches-open progress::-moz-progress-bar{background:#c5a568}html[data-device] body #activity-panel.marches-open .march-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}html[data-device] body #activity-panel.marches-open :is(.march-actions button,.marches-confirm button,.marches-footer button){flex:1 1 100px;min-height:44px!important;padding:9px 12px!important;border:1px solid #c5a568!important;border-radius:5px!important;background:linear-gradient(#846837,#514021)!important;color:#fff0d2!important;box-shadow:none!important;transform:none!important;font:700 14px/1.2 PT Sans,sans-serif!important;white-space:normal}html[data-device] body #activity-panel.marches-open .march-actions .march-recall{border-color:#9f8074!important;background:linear-gradient(#4d3b37,#302723)!important;color:#f1d3c2!important}html[data-device] body #activity-panel.marches-open button:disabled{opacity:.55;cursor:wait}html[data-device] body #activity-panel.marches-open .marches-confirm{display:flex;gap:8px;flex-wrap:wrap;background:#171d22;margin-top:12px;padding:10px;border:1px solid #c5a568;border-radius:5px}html[data-device] body #activity-panel.marches-open .marches-confirm :is(strong,p){width:100%}html[data-device] body #activity-panel.marches-open .marches-footer{flex:none;padding:10px 12px;background:#171d22;border-top:1px solid #c5a56860}html[data-device] body #activity-panel.marches-open .marches-footer button{width:100%}html[data-device] body #activity-panel.marches-open .marches-empty{display:grid;justify-items:center;text-align:center;padding:32px 12px;color:#b8bebf}html[data-device] body #activity-panel.marches-open .marches-empty img{width:80px;height:80px;object-fit:contain;opacity:.7}html[data-device] body #activity-panel.marches-open .marches-empty h3{font:700 20px Georgia,serif;color:#efe4ce!important}html[data-device=phone] body #activity-panel.marches-open{left:max(6px,env(safe-area-inset-left))!important;right:max(6px,env(safe-area-inset-right))!important;top:max(6px,env(safe-area-inset-top))!important;bottom:max(6px,env(safe-area-inset-bottom))!important;width:auto!important;z-index:100!important}@media(max-height:500px){html[data-device] body #activity-panel.marches-open>header{min-height:48px}html[data-device] body #activity-panel.marches-open .marches-tabs{grid-template-columns:repeat(4,minmax(0,1fr))}html[data-device] body #activity-panel.marches-open .marches-summary{margin-bottom:5px}}html[data-device] body #activity-panel.marches-open .activity-content{flex:1 1 0!important;min-height:0!important;min-width:0;overflow-y:auto!important;overflow-x:hidden!important;scroll-padding-bottom:12px}html[data-device] body #activity-panel.marches-open .activity-content>.marches-footer{position:static;margin:12px 0 0;padding:10px 0 0}html[data-device] body #activity-panel.marches-open .activity-march{min-width:0;overflow-wrap:break-word}html[data-device] body #activity-panel.marches-open .activity-march-head{align-items:flex-start;flex-wrap:wrap;gap:6px}@media(max-width:600px){html[data-device] body #activity-panel.marches-open>header{min-height:48px}html[data-device] body #activity-panel.marches-open .marches-toolbar{padding:8px}html[data-device] body #activity-panel.marches-open .marches-summary{margin-bottom:6px}}#speedups-menu .speedups-body{display:grid;gap:10px;color:var(--window-text);font:14px/1.35 PT Sans,sans-serif}#speedups-menu .speedups-stock{margin:0;color:var(--window-text);font-size:13px;font-weight:700}#speedups-menu .speedups-section{display:grid;gap:6px;padding:8px 10px;border:1px solid #d2b47c;border-radius:10px;background:var(--window-card)}#speedups-menu .speedups-section h3{margin:0;font:700 15px/1.2 "PT Serif",serif;color:var(--window-title)}#speedups-menu .speedups-building{margin:6px 0 0;font:700 13px PT Sans,sans-serif;color:var(--window-title)}#speedups-menu .speedups-job{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:6px 0;border-top:1px solid #e3cfa3}#speedups-menu .speedups-info{display:grid;gap:3px;min-width:0;flex:1}#speedups-menu .speedups-info b{font-size:14px;color:var(--window-text)}#speedups-menu .speedups-info small{color:var(--window-muted);font-size:12px}#speedups-menu .speedups-bar{display:block;height:5px;border-radius:3px;background:var(--window-surface);overflow:hidden;position:relative}#speedups-menu .speedups-bar:after{content:"";position:absolute;inset:0;width:var(--p,0%);background:linear-gradient(90deg,#3f8a3a,#7cc35a)}#speedups-menu .speedups-go{flex:none;min-width:104px}#speedups-menu .speedups-empty{margin:0;color:var(--window-muted);font-size:13px}#speedups-menu .speedups-shop{justify-self:center;min-width:200px}#hospital-dialog .hospital-body{display:grid;gap:10px;color:var(--window-text);font:14px/1.35 PT Sans,sans-serif}#hospital-dialog .hospital-stock{margin:0;font-weight:700;color:var(--window-title)}#hospital-dialog .hospital-section{display:grid;gap:6px;padding:8px 10px;border:1px solid #d2b47c;border-radius:10px;background:var(--window-card)}#hospital-dialog .hospital-section h3{margin:0;font:700 15px "PT Serif",serif;color:var(--window-title)}#hospital-dialog .hospital-row{display:grid;grid-template-columns:1fr auto auto;gap:8px;align-items:center;padding:4px 0;border-top:1px solid #e3cfa3}#hospital-dialog .hospital-row input{width:84px;min-height:34px;border:1px solid #c9a76b;border-radius:6px;background:var(--window-surface);color:var(--window-text);padding:2px 6px}#hospital-dialog .hospital-actions{display:flex;gap:8px;flex-wrap:wrap}#hospital-dialog .hospital-actions button{flex:1;min-width:150px}#hospital-dialog .hospital-muted{margin:0;color:var(--window-muted);font-size:13px}#hospital-dialog .hospital-error{color:var(--window-warning);margin:0}html[data-device] body #resources-dialog.resources-window{--res-gold:#c5a568;--res-text:#efe4ce;position:fixed!important;inset:0!important;margin:auto!important;transform:none!important;box-sizing:border-box!important;width:min(720px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 24px)!important;padding:0!important;border:1px solid var(--res-gold)!important;border-radius:10px!important;background:linear-gradient(120deg,#29343daa,#11191ef5),#171d22!important;color:var(--res-text)!important;box-shadow:0 12px 55px #000c!important;overflow:hidden!important;font:14px/1.35 PT Sans,sans-serif!important}html[data-device] body #resources-dialog[open]{display:flex!important;flex-direction:column!important}html[data-device] body #resources-dialog .window-head{position:relative!important;flex:none;padding:10px 48px!important;height:auto!important;min-height:48px!important;margin:0!important;background:linear-gradient(#27323a,#121a20)!important;border:0!important;border-bottom:1px solid #c5a56888!important;box-sizing:border-box!important}html[data-device] body #resources-dialog .window-head h2{font:700 25px/1.2 Georgia,serif!important;margin:0!important;padding:0!important;text-align:center!important;color:#efe4ce!important}html[data-device] body #resources-dialog :is(.close-dialog,.res-back){position:absolute!important;inset:2px 3px auto auto!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;transform:none!important;background:none!important;border:0!important;box-shadow:none!important;color:#e5c98c!important;font:30px/1 sans-serif!important}html[data-device] body #resources-dialog .res-back{left:3px!important;right:auto!important}html[data-device] body #resources-dialog [hidden]{display:none!important}html[data-device] body #resources-dialog .res-layout{display:flex!important;flex-direction:column!important;gap:0!important;padding:0!important;min-height:0!important;max-height:none!important;overflow:hidden!important;background:none!important}html[data-device] body #resources-dialog .res-tabs{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr))!important;flex:none;gap:3px!important;padding:6px!important;border-bottom:1px solid #c5a56899}html[data-device] body #resources-dialog button{font-family:PT Sans,sans-serif!important;touch-action:manipulation;cursor:pointer;box-sizing:border-box;min-height:44px!important;text-transform:none!important;letter-spacing:normal!important}html[data-device] body #resources-dialog button:disabled{opacity:.45;cursor:default}html[data-device] body #resources-dialog button:focus-visible{outline:2px solid #ffe5a2;outline-offset:1px}html[data-device] body #resources-dialog :is(p,span,b,strong,h3,h4,dt,dd){color:inherit!important}html[data-device] body #resources-dialog .res-tab{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:1px!important;padding:4px 0!important;min-width:0;border:1px solid #8e795777!important;border-radius:3px!important;background:linear-gradient(#263038,#12191e)!important;box-shadow:inset 0 0 9px #0005!important}html[data-device] body #resources-dialog .res-tab img{width:48px;height:38px;object-fit:contain}html[data-device] body #resources-dialog .res-tab span{width:auto!important;border:0!important;box-shadow:none!important;padding:0!important;clip-path:none!important;background:none!important;font:700 14px/1.2 Georgia,serif!important;text-shadow:0 1px #000!important;white-space:nowrap}html[data-device] body #resources-dialog :is(.res-tab,.res-stock-card)[aria-pressed=true]{border-color:#e5c98c!important;background:linear-gradient(#514329,#20262a)!important;box-shadow:inset 0 0 10px #d6ae452b,0 0 5px #dcba6b66!important}html[data-device] body #resources-dialog .res-main{min-height:0;overflow-y:auto;overflow-x:hidden!important;padding:8px!important;overscroll-behavior:contain;scrollbar-color:#87734b #171d22}#resources-dialog .res-summary{display:grid;grid-template-columns:40% minmax(0,1fr);gap:8px;align-items:center;padding-bottom:8px;border-bottom:1px solid #c5a56866}#resources-dialog .res-hero-art{display:grid;place-items:center;min-height:120px;background:radial-gradient(ellipse,#b9914726,transparent 70%)}#resources-dialog .res-hero-art img{width:100%;max-width:220px;height:150px;object-fit:contain;filter:drop-shadow(0 8px 7px #000b)}#resources-dialog .res-info{min-width:0}html[data-device] body #resources-dialog h3{margin:0 0 5px;font:700 20px/1.2 Georgia,serif!important}#resources-dialog .res-amount{display:block;font:700 clamp(23px,5vw,34px)/1.2 Georgia,serif;margin:0 0 6px;overflow-wrap:anywhere}#resources-dialog .res-statistics{display:grid;grid-template-columns:minmax(0,1fr) auto;margin:0;gap:0;font-size:12px;line-height:1.3}#resources-dialog .res-statistics :is(dt,dd){margin:0;padding:2px 0;border-bottom:1px solid #c5a56833}#resources-dialog .res-statistics dd{text-align:right;padding-left:4px;white-space:nowrap}html[data-device] body #resources-dialog .res-positive{color:#92c785!important}#resources-dialog .res-stock{padding:10px 0 8px;border-bottom:1px solid #c5a56866}#resources-dialog .res-stock-list{display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:4px 2px 8px;scroll-snap-type:x proximity;overscroll-behavior-x:contain;scrollbar-color:#9b814c #141c21}html[data-device] body #resources-dialog .res-stock-card{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;flex:0 0 calc((100% - 16px)/3);min-width:96px;max-width:190px;scroll-snap-align:start;background:linear-gradient(#29333b,#121a20)!important;border:1px solid #8f7c5a!important;border-radius:4px!important;padding:5px!important;color:#efe4ce!important;box-shadow:inset 0 0 9px #0006!important}#resources-dialog .res-stock-card img{height:44px!important;min-height:0!important;margin:0!important;width:64px;object-fit:contain}#resources-dialog .res-stock-card strong{font:700 13px/1.2 Georgia,serif;text-align:center}#resources-dialog .res-stock-card span{font-size:12px}html[data-device] body #resources-dialog .res-zero{color:#d77767!important}#resources-dialog .res-purchase{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:5px;padding:6px 0;border-bottom:1px solid #c5a56866}#resources-dialog .res-purchase>img{width:42px;height:42px;object-fit:contain;filter:saturate(.6)}#resources-dialog .res-purchase p{flex:1;min-width:160px;font:15px/1.3 Georgia,serif;margin:0;text-align:center}html[data-device] body #resources-dialog .res-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:44px!important;height:44px!important;line-height:1.2!important;padding:6px 12px!important;border:1px solid #aa8d54!important;border-radius:4px!important;background:linear-gradient(#34414a,#18232b)!important;color:#efe4ce!important;box-shadow:inset 0 1px #e5c98c33!important;font-size:14px!important;font-weight:700!important}#resources-dialog .res-buy .currency-icon,#resources-dialog .res-wallet .currency-icon{width:23px;height:23px;object-fit:contain}html[data-device] body #resources-dialog .res-buy{background:linear-gradient(#286247,#102e22)!important;border-color:#c5a568!important;min-width:200px;max-width:100%}#resources-dialog .res-use{display:grid;grid-template-columns:70px minmax(0,1fr);gap:8px;padding:10px 0 0}#resources-dialog .res-use>img{width:68px;height:78px;object-fit:contain;background:#11191c;border:1px solid #a48a5455;border-radius:4px}html[data-device] body #resources-dialog .res-use h3{font-size:16px!important}#resources-dialog .res-quantity{display:grid;grid-template-columns:44px minmax(30px,1fr) 44px 62px;gap:4px}html[data-device] body #resources-dialog .res-quantity .res-button{padding:3px!important;font-size:18px!important}html[data-device] body #resources-dialog .res-quantity input{box-sizing:border-box;min-width:0;width:100%;height:44px;border:1px solid #a58a5277;border-radius:3px;background:#111a20;color:#efe4ce;text-align:center;font:16px PT Sans,sans-serif;padding:3px}#resources-dialog .res-receive{font-size:12px;margin:5px 0 0}html[data-device] body #resources-dialog .res-apply{grid-column:1/-1;width:100%;background:linear-gradient(#8e7042,#574022)!important;border-color:#d5b473!important}#resources-dialog .res-footnote{text-align:center;font-size:12px;margin:8px 0 2px;color:#c9c2b2!important}#resources-dialog .res-breakdown{font-size:12px;margin-top:5px}#resources-dialog .res-breakdown summary{cursor:pointer;min-height:32px;display:flex;align-items:center;justify-content:center;color:#d8bd83}#resources-dialog .res-section h4{margin:6px 0 2px;color:#e5c98c!important}#resources-dialog .res-section dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;margin:0}#resources-dialog .res-section dd{margin:0;text-align:right}#resources-dialog .res-capacity-note,#resources-dialog .res-error{font-size:12px;margin:5px 0;padding:6px;background:#412b25;border-left:2px solid #cd8c68}#resources-dialog .res-message{font-size:14px;text-align:center;margin:8px 0}#resources-dialog .res-wallet{display:flex;align-items:center;justify-content:center;gap:5px;margin:6px 0;font-weight:700}#resources-dialog .res-sale{display:grid;grid-template-columns:54px minmax(0,1fr) auto;gap:7px;align-items:center;padding:8px 4px;border-bottom:1px solid #c5a56855}#resources-dialog .res-sale>img{width:50px;height:50px;object-fit:contain}#resources-dialog .res-sale .res-buy{min-width:0;padding:6px!important;font-size:12px!important}@media(max-width:700px){html[data-device] body #resources-dialog.resources-window{width:calc(100vw - 16px)!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))!important;margin:auto!important;transform:none!important}#resources-dialog .res-hero-art img{height:120px}#resources-dialog .res-purchase .res-buy{flex-basis:100%}}@media(max-height:740px){#resources-dialog .res-main{padding:6px!important}#resources-dialog .res-hero-art img{height:110px}#resources-dialog .res-hero-art{min-height:100px}#resources-dialog .res-stock{padding:6px 0 4px}#resources-dialog .res-stock-card img{height:40px}#resources-dialog .res-purchase{padding:5px 0}#resources-dialog .res-purchase>img{display:none}#resources-dialog .res-purchase p{font-size:13px}#resources-dialog .res-use{padding-top:6px}#resources-dialog .res-footnote{font-size:11px}}@media(max-width:350px){#resources-dialog .res-summary{grid-template-columns:33% minmax(0,1fr);gap:6px}#resources-dialog .res-statistics{font-size:11px}#resources-dialog .res-use{grid-template-columns:48px minmax(0,1fr);gap:5px}#resources-dialog .res-use>img{width:46px;height:78px}html[data-device] body #resources-dialog .res-tab span{font-size:12px!important}#resources-dialog .res-tab img{width:38px!important}#resources-dialog .res-sale{grid-template-columns:38px minmax(0,1fr) auto;gap:4px}#resources-dialog .res-sale>img{width:36px;height:40px}}html[data-device] body #resources-dialog.resources-window{height:min(850px,calc(100dvh - 24px))!important}html[data-device] body #resources-dialog .res-layout{flex:1}html[data-device] body #resources-dialog[data-mode=report] .res-main{flex:1;display:flex;flex-direction:column;overflow:hidden!important;gap:3px}#resources-dialog[data-mode=report] .res-summary,#resources-dialog[data-mode=report] .res-purchase,#resources-dialog[data-mode=report] .res-use,#resources-dialog[data-mode=report] .res-footnote,#resources-dialog .res-capacity-note,#resources-dialog .res-error{flex:none}#resources-dialog .res-info{position:relative}#resources-dialog .res-info h3{padding-right:40px}html[data-device] body #resources-dialog .res-details-toggle{position:absolute;right:0;top:0;width:44px;height:44px;min-height:44px;border:1px solid #c5a56888;border-radius:50%;background:#171d22;color:#efe4ce;font:700 18px Georgia,serif}#resources-dialog[data-mode=report] .res-stock{display:flex;flex-direction:column;flex:1;min-height:94px;padding:6px 0}#resources-dialog[data-mode=report] .res-stock h3{flex:none}#resources-dialog[data-mode=report] .res-stock-list{flex:1;min-height:66px;overflow-x:auto;overflow-y:hidden;align-items:stretch}#resources-dialog[data-mode=report] .res-stock-card{max-height:170px}#resources-dialog[data-mode=report] .res-use{padding-top:4px}#resources-dialog[data-mode=report] .res-footnote{margin:3px 0;font-size:11px;line-height:1.2}#resources-dialog[data-mode=shop] .res-main{display:flex;flex-direction:column;overflow:hidden!important;flex:1}#resources-dialog .res-sales{min-height:0;overflow:auto;flex:1}.res-details-dialog{box-sizing:border-box;width:min(540px,calc(100vw - 20px));max-height:calc(100dvh - 30px);overflow:auto;background:#171d22;color:#efe4ce;border:1px solid #c5a568;padding:12px;font:14px PT Sans,sans-serif}.res-details-dialog header{display:flex;align-items:center;justify-content:space-between;gap:8px}.res-details-dialog button{min-width:44px;min-height:44px}.res-details-dialog dl{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:6px}.res-details-dialog dd{margin:0}.res-details-dialog h4{color:#e5c98c}@media(max-width:700px){html[data-device] body #resources-dialog.resources-window{height:calc(100dvh - max(16px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)))!important}}@media(max-height:740px){html[data-device] body #resources-dialog[data-mode=report] .res-main{padding:5px!important;gap:1px}#resources-dialog .res-summary{padding-bottom:3px;gap:5px}#resources-dialog .res-hero-art{min-height:64px}#resources-dialog .res-hero-art img{height:72px}html[data-device] body #resources-dialog h3{font-size:17px!important;margin-bottom:2px}#resources-dialog .res-amount{font-size:23px;margin-bottom:2px}#resources-dialog .res-statistics{font-size:11px;line-height:1.15}#resources-dialog .res-statistics :is(dt,dd){padding:2px 0}#resources-dialog[data-mode=report] .res-stock{min-height:84px;padding:3px 0}#resources-dialog[data-mode=report] .res-stock-list{min-height:62px}#resources-dialog .res-stock-card img{height:28px!important}#resources-dialog .res-stock-card strong,#resources-dialog .res-stock-card span{font-size:11px}#resources-dialog .res-purchase{padding:3px 0;gap:2px}#resources-dialog .res-purchase p{font-size:12px}#resources-dialog .res-use{grid-template-columns:44px minmax(0,1fr);gap:4px}#resources-dialog .res-use>img{width:42px;height:64px}html[data-device] body #resources-dialog .res-use h3{font-size:14px!important}#resources-dialog .res-receive{margin:2px 0;font-size:11px}}@media(max-height:740px){#resources-dialog .res-statistics :is(dt,dd){padding:1px 0}#resources-dialog[data-mode=report] .res-stock{min-height:90px}#resources-dialog[data-mode=report] .res-stock-list{min-height:60px}#resources-dialog .res-purchase p{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}#resources-dialog[data-mode=report] .res-footnote{margin:0}#resources-dialog[data-mode=report] .res-use{padding-top:2px;gap:3px}}html[data-device] body #resources-dialog .res-sale{grid-template-columns:40px minmax(0,1fr) 108px;gap:8px;padding:10px 2px}html[data-device] body #resources-dialog .res-sale>img{width:38px;height:42px}html[data-device] body #resources-dialog .res-sale-label{min-width:0;overflow-wrap:normal;word-break:normal;font-size:14px;line-height:1.45}#resources-dialog .res-sale-label>span{display:block}#resources-dialog .res-sale-amount{white-space:nowrap;font-variant-numeric:tabular-nums}html[data-device] body #resources-dialog .res-sale .res-buy{display:grid;justify-items:center;align-content:center;gap:3px;width:108px;min-width:0;min-height:52px;padding:6px!important;white-space:nowrap;font-size:14px!important}#resources-dialog .res-buy-price{display:inline-flex;align-items:center;justify-content:center;gap:4px;white-space:nowrap}html[data-device] body #resources-dialog[data-mode=shop] .window-head h2{font-size:clamp(22px,5.5vw,28px)!important;line-height:1.1!important}@media(max-width:350px){html[data-device] body #resources-dialog .res-sale{grid-template-columns:30px minmax(0,1fr) 92px;gap:5px}html[data-device] body #resources-dialog .res-sale>img{width:30px;height:38px}html[data-device] body #resources-dialog .res-sale .res-buy{width:92px}html[data-device] body #resources-dialog .res-sale-label{font-size:13px}}.holding-card{display:grid;gap:10px;color:#3a2412;font:14px/1.35 PT Sans,sans-serif}.holding-head{display:flex;gap:12px;align-items:center}.holding-art{width:84px;height:84px;object-fit:contain;filter:drop-shadow(0 3px 4px #0006)}.holding-title{display:grid;gap:2px}.holding-title b{font:700 18px/1.15 "PT Serif",serif;color:#4a2508}.holding-owner{font-weight:700;color:#6b3a10}.holding-owner.free{color:#7a6a55;font-weight:400}.holding-flags{display:flex;flex-wrap:wrap;gap:6px}.holding-flag{padding:3px 9px;border-radius:12px;font-size:12px;font-weight:700;background:#efe0bf;border:1px solid #c9a76b}.holding-flag.shield{background:#dbe9f6;border-color:#7ea6cc;color:#1d4c78}.holding-flag.open{background:#f7d9cf;border-color:#c86a4a;color:#8a2a10}.holding-flag.closed{color:#6b5a40}.holding-flag.mine{background:#dcefd2;border-color:#7fae63;color:#2f5d1a}.holding-block{padding:8px 10px;border:1px solid #d2b47c;border-radius:8px;background:#fbf3e0}.holding-block h3{margin:0 0 6px;font:700 14px/1.2 "PT Serif",serif;color:#5a2e0a}.holding-block p{margin:4px 0 0}.holding-bonus{display:grid;grid-template-columns:1fr auto auto;gap:3px 14px;align-items:center}.holding-bonus b{font-size:12px;color:#7a5a30;text-align:right}.holding-bonus i{font-style:normal;font-weight:700;color:#2f6a1a;text-align:right}.holding-mine{font-weight:700}.holding-tax{display:flex;gap:10px;align-items:center;margin-top:6px}.holding-tax input{flex:1}.holding-actions{display:flex;gap:8px;flex-wrap:wrap}.holding-actions button{flex:1;min-width:140px}.holding-reason{margin:0;padding:6px 10px;border-radius:6px;background:#f3e4c4;color:#7a3a12;font-size:13px}.holding-error{color:#a0261a}.holding-gold{flex:1;min-width:0;padding:6px 8px;border:1px solid #c9a76b;border-radius:6px;background:#fffaf0;color:#3a2412}.holding-law{display:flex;gap:10px;align-items:center;justify-content:space-between;padding:7px 0;border-top:1px solid #e3cfa3}.holding-law.active b{color:#2f6a1a}.holding-law-info{display:grid;gap:2px;min-width:0}.holding-law-info span{font-size:13px}.holding-law-info small{font-size:11px;color:#7a5a30}.holding-law button{flex:none;min-width:96px}html[data-device] body #shell-dialog.world-object-window .holding-card.throne{color:#efe5cf}html[data-device] body #shell-dialog.world-object-window .throne .holding-head{display:grid;grid-template-columns:minmax(0,1fr);justify-items:center;gap:12px;padding:12px;background:#122027;border:1px solid #9b845555;border-radius:8px}html[data-device] body #shell-dialog.world-object-window .throne .holding-art{width:min(320px,100%);height:auto;aspect-ratio:949/721;filter:drop-shadow(0 3px 4px #0006)}html[data-device] body #shell-dialog.world-object-window .throne .holding-title{text-align:center;gap:6px}html[data-device] body #shell-dialog.world-object-window .throne .holding-title b{color:#f0dbab;font-size:24px}html[data-device] body #shell-dialog.world-object-window .throne :is(.holding-block,.holding-reason){background:#1b2b33;color:#efe5cf;border-color:#9b845577}html[data-device] body #shell-dialog.world-object-window .throne :is(.holding-block h3,.holding-bonus b){color:#f0dbab}html[data-device] body #shell-dialog.world-object-window .throne .holding-bonus i{color:#b9dfb1}html[data-device] body #shell-dialog.world-object-window .throne .holding-flag{background:#233c46;color:#f0dbab;border-color:#9b8455}html[data-device] body #shell-dialog.world-object-window .throne .holding-flag.open{color:#ffd0b9;background:#59372d}html[data-device] body #shell-dialog.world-object-window .throne .holding-gold{background:#122027;color:#efe5cf}.holding-card.throne [data-throne-tab][hidden]{display:none!important}.holding-card.throne .throne-tabs{display:flex;overflow-x:auto;gap:6px;margin:0 0 4px;scrollbar-width:thin}.holding-card.throne .throne-tab{min-width:0;min-height:44px;padding:6px 4px;border:1px solid #a78b55;border-radius:6px;background:#172b33;color:#ebd7a9;font:600 15px/1.2 sans-serif}.holding-card.throne .throne-tab{flex:1 0 auto;padding:6px 12px}.holding-card.throne .throne-tab.active{background:linear-gradient(#927139,#5b4828);border-color:#e0bb6a;color:#fff3cf}.throne-slot-summary{font-weight:700;color:#f0dbab}.throne-garrison-slots{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:10px}.throne-garrison-slot{min-width:0;min-height:42px;display:grid;place-items:center;padding:5px;border:1px solid #9b845577;border-radius:6px;background:#122027;color:#c4cbc7;font:600 12px/1.2 sans-serif;text-align:center;overflow-wrap:anywhere}.throne-garrison-slot.occupied{background:#2c4835;border-color:#87ad70;color:#ebf3d9}.throne-garrison-slot.going{background:#4f452b;border-color:#c1a35f;color:#f8e5b4}.throne-garrison-slot b{max-width:100%;white-space:normal;overflow-wrap:anywhere;line-height:1.2}.throne-garrison-slot small{font-size:11px;font-weight:400}.throne-slot-empty{font:24px/1 serif;color:#ab9161}.throne-recall{width:100%;max-width:100%;min-height:44px;padding:4px 3px;border:1px solid #b78c52;border-radius:4px;color:#fae7bc;background:#58332b;font:11px/1.2 sans-serif;cursor:pointer}.throne-history-row{display:grid;gap:2px;padding:9px 0;border-top:1px solid #9b845555}.throne-history-row span{color:#c4cbc7;font-size:12px}@media(min-width:800px){html[data-device] body #shell-dialog.world-object-window .throne .holding-head{grid-template-columns:minmax(240px,1.3fr) minmax(180px,1fr);text-align:left}html[data-device] body #shell-dialog.world-object-window .throne .holding-title{text-align:left;justify-self:start}}@media(max-width:600px){html[data-device] body #shell-dialog.world-object-window .throne .holding-art{width:min(150px,100%)}.holding-card.throne .holding-law,.holding-card.throne .holding-tax{flex-wrap:wrap}.holding-card.throne .holding-tax input{min-width:0}}html[data-device] body #shell-dialog.world-object-window .holding-card.throne{gap:9px;color:#f3ead6;font-family:Georgia,Times New Roman,serif}.throne-identity{display:grid;grid-template-columns:1fr 1fr;border:1px solid #9d7941;border-radius:4px;background:linear-gradient(160deg,#24313a,#10191e 65%);box-shadow:inset 0 1px #e1c27b44,0 3px 8px #0008}.throne-identity-item{min-width:0;display:flex;align-items:center;gap:7px;padding:8px}.throne-identity-item+.throne-identity-item{border-left:1px solid #a17f4c77}.throne-identity-icon{width:34px;height:34px;object-fit:contain}.throne-identity-text{display:grid;gap:3px;min-width:0}.throne-identity-text small{font:11px/1.15 sans-serif;color:#c5c5bb}.throne-identity-text b{font:600 13px/1.2 Georgia,serif;color:#ffe6af;overflow-wrap:anywhere}html[data-device] body #shell-dialog.world-object-window .throne .holding-head{display:grid;grid-template-columns:minmax(0,1fr);min-height:150px;overflow:hidden;padding:0;border:1px solid #9c7846;background:radial-gradient(ellipse at 50% 90%,#304151,#0b161b 72%);border-radius:4px}html[data-device] body #shell-dialog.world-object-window .throne .holding-art{width:min(220px,75%);max-height:185px;aspect-ratio:auto;object-fit:contain}html[data-device] body #shell-dialog.world-object-window .throne .holding-art{width:100%;height:clamp(115px,35vw,185px);max-height:none;object-fit:contain;object-position:center}.holding-card.throne .throne-tabs{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));overflow:visible;gap:3px;margin:0;border-bottom:1px solid #bb985a}.holding-card.throne .throne-tab{min-width:0;min-height:42px;padding:5px 2px;border:1px solid #8b734d;border-radius:4px 4px 0 0;background:linear-gradient(#273541,#101b21);color:#f4e6c5;font:600 clamp(10px,2.7vw,14px)/1.15 Georgia,serif;white-space:normal}.holding-card.throne .throne-tab.active{background:linear-gradient(#d5a958,#7d4e19);border-color:#f1d38b;color:#fff5d7;box-shadow:inset 0 0 0 1px #ffe4a466,0 0 9px #d69a4966}html[data-device] body #shell-dialog.world-object-window .throne :is(.holding-block,.holding-reason){border-radius:4px;border-color:#94764a;background:linear-gradient(145deg,#1d2a31,#0d171c);box-shadow:inset 0 1px #d0b47533,0 2px 6px #0007}html[data-device] body #shell-dialog.world-object-window .throne .holding-block{padding:12px}html[data-device] body #shell-dialog.world-object-window .throne .holding-block h3{font:600 19px/1.2 Georgia,serif;color:#f2d59a}html[data-device] body #shell-dialog.world-object-window .throne .holding-flag{border-radius:4px;background:#1a2b30;color:#e9d7b1;border-color:#7f6946;font:600 12px/1.3 sans-serif}.throne-hold-progress{width:100%;height:8px;overflow:hidden;border:1px solid #a17b3e;border-radius:3px;background:#0b151a}.throne-hold-progress span{display:block;height:100%;background:linear-gradient(#ffe39a,#b77b29)}html[data-device] body #shell-dialog.world-object-window .holding-card.throne .holding-actions button{min-height:44px;padding:8px 12px;border:1px solid #d0a65e!important;border-radius:4px;background:linear-gradient(#275580,#102e4a)!important;box-shadow:inset 0 0 0 1px #e9d08a55,0 2px 5px #0008!important;color:#fff1d1!important;font:600 15px/1.2 Georgia,serif}.holding-card.throne .holding-actions .btn-green{background:linear-gradient(#88372f,#4c1818)!important}.holding-card.throne .holding-actions button:disabled{opacity:.5}.holding-card.throne .throne-garrison-slots{grid-template-columns:repeat(4,minmax(0,1fr));gap:5px}.holding-card.throne .throne-garrison-slot{grid-template-columns:minmax(0,1fr);min-height:76px;padding:5px 2px;background:linear-gradient(150deg,#25333a,#10191e);border:1px solid #876c46;border-radius:4px;color:#efdfbe;overflow-wrap:normal}.holding-card.throne .throne-garrison-slot.occupied{border-color:#c9a45c;box-shadow:inset 0 0 10px #bea26722}.holding-card.throne .throne-garrison-slot.going{border-color:#7694aa}.throne-slot-emblem{width:30px;height:30px;object-fit:contain}.holding-card.throne .throne-garrison-slot b{width:100%;min-width:0;overflow-wrap:anywhere;font:600 11px/1.2 sans-serif}.holding-card.throne .throne-garrison-slot small{font:10px/1.2 sans-serif}.holding-card.throne .throne-recall{white-space:normal;word-break:normal;font:600 10px/1.2 sans-serif;min-height:44px;padding:3px 4px;background:linear-gradient(#6d4034,#3a211c);color:#fff0d5}.holding-card.throne .court{background:linear-gradient(140deg,#1a2931,#0d171c);border:1px solid #9c7c4c;border-radius:4px;color:#eee0c6}.holding-card.throne .court-seat,.holding-card.throne .court-seat.commander{border-radius:4px;background:linear-gradient(#253744,#101c23);border-color:#8c7048;color:#f4e8cf}.holding-card.throne .court-heading{color:#f2d59a}html[data-device] body #shell-dialog.world-object-window .holding-card.throne .holding-actions .btn-green{background:linear-gradient(#88372f,#4c1818)!important}@media(max-width:360px){.throne-identity-item{padding:6px 4px;gap:4px}.throne-identity-icon{width:25px;height:25px}.throne-identity-text b{font-size:11px}.holding-card.throne .throne-tabs{grid-template-columns:repeat(3,minmax(0,1fr))}.holding-card.throne .throne-tab{font-size:12px}.holding-card.throne .throne-garrison-slots{grid-template-columns:repeat(2,minmax(0,1fr))}.holding-card.throne .throne-garrison-slot{min-height:68px}}.holding-card.throne .holding-law{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin:8px 0;padding:12px;border:1px solid #8d7045;border-radius:4px;background:linear-gradient(120deg,#22313a,#0b181f);color:#f1e4ca}.holding-card.throne .holding-law-info{flex:1 1 170px;min-width:0;display:grid;gap:5px}.holding-card.throne .holding-law-info b{color:#f3d18a;font-size:17px}.holding-card.throne .holding-law-info span,.holding-card.throne .holding-law-info small{color:#e1d5bd}.holding-card.throne .holding-law.active{border-color:#bda25c}.holding-card.throne .holding-law.active .throne-law-status{color:#a8dc9b}#shell-dialog:has(.holding-premium){background:#171d22;color:#efe4ce;border-color:#c5a568;height:min(900px,96dvh)}#shell-content:has(>.holding-premium){display:flex;flex-direction:column;overflow:hidden;min-height:0;padding:0!important;flex:1}.holding-premium{display:flex;flex-direction:column;min-height:0;flex:1;color:#efe4ce;font:15px/1.4 PT Sans,sans-serif;background:#171d22}.hp-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;padding:8px;border-bottom:1px solid #c5a568;flex:none}.hp-button{min-height:44px;padding:8px 10px;border:1px solid #a38b5e;border-radius:5px;background:linear-gradient(#303c47,#1d2831);color:#efe4ce;font:700 15px/1.2 PT Sans,sans-serif;cursor:pointer;touch-action:manipulation;overflow-wrap:anywhere}.hp-button.gold,.hp-tabs .hp-button[aria-pressed=true]{background:linear-gradient(#e5c98c,#a27a3a);color:#21190e;border-color:#efd59e}.hp-button.danger{color:#ffc1ac;border-color:#986957;background:#432e29}.hp-button:disabled{opacity:.5;cursor:default}.hp-button:focus-visible,.hp-quantity input:focus-visible{outline:2px solid #f8db9d;outline-offset:2px}.hp-content{overflow:auto;overscroll-behavior:contain;min-height:0;flex:1;padding:10px;display:flex;flex-direction:column;gap:10px;scrollbar-width:thin}.hp-block{flex:none;border:1px solid #87734e;background:linear-gradient(135deg,#29353e,#1a242c);border-radius:6px;padding:12px;display:flow-root}.hp-block h3{font:700 23px/1.2 Cormorant Garamond,serif;color:#e5c98c;margin:0 0 10px}.hp-block h4{margin:10px 0 5px;color:#e5c98c}.hp-block p{margin:6px 0;color:#d8cfbc}.hp-block>.hp-button{margin:7px 6px 0 0;max-width:100%}.hp-stat{display:flex;justify-content:space-between;gap:12px;margin:7px 0;align-items:flex-start}.hp-stat span{color:#c8c2b7}.hp-stat strong{text-align:right;overflow-wrap:anywhere}.hp-citadel-art{display:block;width:min(230px,65%);height:160px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 6px 6px #0007)}.hp-block.hp-overview{min-height:220px;background:linear-gradient(90deg,#050d12e6,#060e136b 55%,#060e130a),var(--hp-citadel-art) right center/auto 95% no-repeat,radial-gradient(ellipse at 75% 60%,#304451,#0c181e 75%);border-color:#b0915b;text-shadow:0 2px 4px #000}.hp-block.hp-overview h3{max-width:85%;font-size:24px}.hp-block.hp-overview p{max-width:85%}.hp-small-art{float:left;width:64px;height:64px;object-fit:contain;margin:0 10px 7px 0}.hp-emblem{width:44px;height:44px;object-fit:contain;vertical-align:middle;margin-right:8px}.hp-note,.hp-empty{color:#b9b5aa;margin:5px 0;font-size:14px}.hp-warning{color:#f4c587!important}.hp-danger{border-color:#c65f4a;background:linear-gradient(#502c2b,#2f2025)}.hp-danger h3{color:#ffc1ac}.hp-stage-active{border-color:#c5a568;box-shadow:inset 3px 0 #c5a568}.hp-stage-locked{border-color:#64717c}.hp-stage-active>p:last-child{color:#add6a4}.hp-block progress{width:100%;height:10px;accent-color:#c5a568;margin-top:8px}.hp-event-filters{display:flex;gap:6px;flex:none}.hp-event-filters .hp-button{flex:1;min-width:0}.hp-event-filters [aria-pressed=true]{border-color:#e5c98c;background:#233c59}.hp-quantity{display:grid;grid-template-columns:44px minmax(40px,1fr) 44px 70px;gap:6px;margin:8px 0}.hp-quantity input{width:100%;min-width:0;box-sizing:border-box;border:1px solid #a38b5e;background:#141e26;color:#efe4ce;border-radius:4px;font-size:17px;text-align:center}.hp-error{margin:0;padding:8px 12px;background:#462b24;color:#ffc1ac;max-height:80px;overflow:auto;flex:none}.hp-error:empty{display:none}@media(max-width:700px){html body #shell-dialog:has(.holding-premium){height:100dvh!important;max-height:100dvh!important;width:100vw!important;max-width:100vw!important;inset:0!important;margin:0!important;border:0!important;border-radius:0!important}html body #shell-dialog:has(.holding-premium)>.window-head{padding-top:max(8px,env(safe-area-inset-top,0px))}.hp-content{padding-bottom:max(10px,env(safe-area-inset-bottom,0px))}.hp-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.hp-block h3{font-size:22px}}html body #shell-dialog:has(.holding-premium){background:#171d22!important;color:#efe4ce!important;padding:0!important}html body #shell-dialog:has(.holding-premium)>.window-head{background:linear-gradient(#29353e,#19232b)!important;border-bottom:1px solid #c5a568!important;color:#efe4ce!important}html body #shell-dialog:has(.holding-premium)>.window-head h2{color:#efe4ce!important}html body #shell-dialog:has(.holding-premium) .close-dialog{background:#242d35!important;color:#e5c98c!important;border:1px solid #c5a568!important;min-width:44px!important;min-height:44px!important}html body #shell-dialog .holding-premium{color:#efe4ce!important}html body #shell-dialog .holding-premium :is(p,span){color:#d8cfbc!important}html body #shell-dialog .holding-premium :is(h3,h4){color:#e5c98c!important}html body #shell-dialog .holding-premium :is(b,strong){color:#efe4ce!important}html body #shell-dialog .holding-premium .hp-stat span{color:#c8c2b7!important}html body #shell-dialog .holding-premium .hp-warning{color:#f4c587!important}html body #shell-dialog .holding-premium .hp-error,html body #shell-dialog .holding-premium .hp-danger h3{color:#ffc1ac!important}html body #shell-dialog .holding-premium .hp-stage-active>p:last-child{color:#add6a4!important}html body #shell-dialog .holding-premium .hp-note{color:#b9b5aa!important}.court{margin:14px 0;padding:14px;border-radius:12px;background:linear-gradient(180deg,#1d3550,#142536);border:1px solid rgba(240,196,106,.35);color:#e9eef5}.court-heading{margin:0 0 4px;text-align:center;color:#f0c46a}.court-note{margin:0 0 12px;text-align:center;font-size:13px;color:#b9c6d6}.court-king{display:flex;flex-direction:column;align-items:center;gap:2px;margin-bottom:12px}.court-crown{width:96px;height:96px;object-fit:contain}.court-king-title{color:#f0c46a;font-size:18px}.court-king-name{font-size:14px}.court-row{display:grid;gap:10px;margin-bottom:10px}.court-row.commanders{grid-template-columns:repeat(2,minmax(0,1fr));max-width:420px;margin-left:auto;margin-right:auto}.court-row.ministers{grid-template-columns:repeat(3,minmax(0,1fr))}.court-seat{display:flex;flex-direction:column;align-items:center;gap:3px;padding:10px 6px;border-radius:10px;cursor:pointer;background:linear-gradient(180deg,#2c6fae,#1d4f80);border:1px solid rgba(240,196,106,.55);color:#fff;font:inherit;text-align:center;min-width:0}.court-seat.commander{background:linear-gradient(180deg,#2f7cc4,#1f5690)}.court-seat.empty{opacity:.85}.court-seat:hover{border-color:#f0c46a}.court-emblem{width:56px;height:56px;object-fit:contain}.court-seat-name{font-size:13px;color:#ffe39a;line-height:1.2}.court-seat-who{font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}.court-seat-time{font-size:11px;color:#cfe0f2;min-height:14px}.court-detail:empty{display:none}.court-detail{margin-top:6px;padding:12px;border-radius:10px;background:#09121c8c}.court-detail-head{display:flex;flex-direction:column;gap:2px}.court-detail-head b{color:#f0c46a;font-size:16px}.court-blessing{margin:8px 0;color:#7fe08a;font-weight:700}.court-appoint{display:flex;gap:8px;margin:8px 0}.court-appoint input{flex:1;min-width:0;padding:8px 10px;border-radius:8px;border:1px solid #44617e;background:#0e1b28;color:#fff;font:inherit}.court-msg{margin:4px 0 0;color:#ff9a8a;font-size:13px;min-height:1em}.court-list{display:grid;gap:8px}.court .court-seat{display:grid;grid-template-columns:64px minmax(0,1fr);align-items:center;gap:10px;width:100%;min-height:88px;text-align:left;border-radius:3px;background:linear-gradient(120deg,#1e2b32,#07151d);border:1px solid #927640;padding:9px}.court .court-emblem{width:60px;height:60px}.court-seat-info{display:flex;flex-direction:column;gap:4px;min-width:0}.court .court-seat-name{font-size:17px}.court .court-seat-who{white-space:normal;font-size:14px}.court-seat-effect{grid-column:2;color:#dcd1b2;font-size:13px}.throne-treasury{display:flex;justify-content:space-between;gap:10px;padding:10px 12px;margin:8px 0;color:#f5e3b8;border:1px solid #a78442;background:linear-gradient(110deg,#192630,#0d181e)}.throne-treasury strong{color:#ffdf86;text-align:right}.court .court-detail{box-sizing:border-box;width:100%;min-width:0;margin:0 0 8px;padding:14px;border:1px solid #927640}.court .court-appoint{display:flex;flex-wrap:wrap;align-items:stretch;gap:8px}.court .court-appoint input{box-sizing:border-box;flex:1 1 180px;width:100%;min-width:0;min-height:44px;font-size:16px}.court .court-appoint button{flex:1 1 140px;min-width:0;min-height:44px;white-space:normal}.court .court-list{padding-bottom:16px}.holding-card.throne .court{padding:12px;border:0;background:transparent}.court .court-note{margin:0 0 12px;color:#d0c6af;line-height:1.4}.court .court-heading{margin:12px 0 10px;color:#f5dfad;font:600 clamp(20px,4vw,28px)/1.15 Georgia,serif}.court .court-king{display:grid;grid-template-columns:112px minmax(0,1fr) 54px;text-align:left;gap:12px;padding:12px;margin:0 0 16px;border:1px solid #ba985c;border-radius:4px;background:linear-gradient(125deg,#29353a,#0a151b 74%);box-shadow:inset 0 0 0 2px #d5b47718,0 3px 8px #0008}.court .court-king-info{display:grid;gap:5px;min-width:0}.court .court-king-label{color:#ebddc0;font:15px/1.2 Georgia,serif}.court .court-king-title{color:#f2d18d;font:700 22px/1.15 Georgia,serif;overflow-wrap:anywhere}.court .court-king-name{color:#eee2c8;font:15px/1.2 Georgia,serif;overflow-wrap:anywhere}.court .court-king-banner{width:50px;height:64px;object-fit:contain}.court .court-portrait{position:relative;display:grid;place-items:center;width:76px;height:76px;flex:none;overflow:hidden;border:2px solid #c8a469;border-radius:4px;background:linear-gradient(150deg,#39434a,#07131b);box-shadow:inset 0 0 0 2px #f9dd9b33,0 2px 5px #0009}.court .court-portrait.royal{width:108px;height:108px;border:0;border-radius:50%;background:transparent;box-shadow:none;overflow:visible}.court .court-portrait-image{width:100%;height:100%;object-fit:cover}.court .court-portrait.royal .court-portrait-image{width:70%;height:70%;border-radius:50%}.court .court-portrait-frame{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;pointer-events:none}.holding-card.throne .court .court-list{display:grid;gap:8px}.holding-card.throne .court .court-seat{display:grid;grid-template-columns:76px minmax(0,1fr) minmax(110px,.9fr);gap:12px;align-items:center;min-height:100px;padding:10px;border:1px solid #ac8b56;border-radius:4px;background:linear-gradient(115deg,#27333a,#0b161c 70%);box-shadow:inset 0 0 0 1px #e3c48a20,0 2px 5px #0008;color:#f4e8cf;text-align:left}.holding-card.throne .court .court-seat:focus-visible{outline:2px solid #ffda87;outline-offset:2px}.court .court-seat.empty{opacity:1}.court .court-seat-name{color:#f3ce82;font:700 19px/1.15 Georgia,serif;overflow-wrap:anywhere}.court .court-seat-who{max-width:none;white-space:normal;overflow-wrap:anywhere;font:15px/1.25 Georgia,serif}.court .court-seat-time{color:#bfb7a5}.court .court-seat-assign{color:#eac67d;font:600 13px/1.25 sans-serif}.court .court-seat-effect{grid-column:auto;align-self:stretch;display:flex;align-items:center;padding-left:12px;border-left:1px solid #a78854;color:#efe2c6;font:14px/1.3 Georgia,serif;overflow-wrap:anywhere}@media(max-width:480px){.court .court-king{grid-template-columns:82px minmax(0,1fr);gap:8px}.court .court-portrait.royal{width:80px;height:80px}.court .court-king-banner{display:none}.court .court-king-title{font-size:19px}.holding-card.throne .court .court-seat{grid-template-columns:64px minmax(0,1fr);gap:8px;padding:8px}.court .court-portrait{width:62px;height:62px}.court .court-seat-effect{grid-column:2;border-left:0;border-top:1px solid #a7885466;padding:7px 0 0}}body .academy-window,body .market-window,body .traps-window{width:min(900px,calc(100vw - 24px))!important}body .market-window{width:min(560px,calc(100vw - 24px))!important}.academy-window .window-content,.market-window .window-content,.traps-window .window-content{display:grid;gap:8px;max-height:min(76vh,640px);overflow-y:auto}.academy-head{display:grid;gap:2px;font:14px PT Sans,sans-serif;color:#2b1a07}.academy-head b{font:700 18px Cormorant Garamond,serif;color:#3a2208}.academy-job{color:#1d5f86;font-weight:700}.academy-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:8px}.academy-card{display:grid;grid-template-columns:64px minmax(0,1fr);gap:4px 10px;align-items:start;padding:8px;border:1px solid #b7954c;border-radius:8px;background:#fff6dd}.academy-card.locked{opacity:.6;filter:grayscale(.6)}.academy-card img{grid-row:span 3;width:64px;height:80px;object-fit:contain;background:radial-gradient(#5a4a2a,#1a140a);border-radius:6px}.academy-info{display:grid;gap:1px;font:13px PT Sans,sans-serif;color:#2b1a07}.academy-info b{font:700 16px Cormorant Garamond,serif;color:#3a2208}.academy-level{font-weight:700;color:#5a2a6e}.academy-bonus{color:#1d5f2a;font-weight:700}.academy-cost{color:#6b4a14;font-size:11px}.academy-actions{grid-column:2;display:grid;grid-template-columns:1fr 1fr;gap:4px}.academy-actions button{min-height:30px;padding:2px 6px;font-size:12px;display:inline-flex;align-items:center;justify-content:center;gap:3px}.academy-actions .currency-icon{width:14px;height:14px}.academy-note{grid-column:2;color:#6b4a14;font:italic 12px PT Sans,sans-serif}.market-form{display:grid;gap:6px}.market-form>b{font:700 16px Cormorant Garamond,serif;color:#3a2208}.market-pick{display:grid;grid-template-columns:repeat(5,1fr);gap:6px}.market-res{display:grid;justify-items:center;gap:2px;min-height:0;padding:4px;border:1px solid #b7954c;border-radius:8px;background:#fff6dd;box-shadow:none;transform:none;cursor:pointer}.market-res[aria-pressed=true]{background:linear-gradient(#f9efd2,#8ec1c4);box-shadow:inset 0 -3px #2f8f98}.market-res img{width:34px;height:30px;object-fit:contain}.market-res small{font:11px PT Sans,sans-serif;color:#3a2208}.market-amount{display:grid;grid-template-columns:1fr auto;gap:6px}.market-amount input{padding:6px 10px;border:1px solid #b7954c;border-radius:6px;background:#fffaf0;font:700 16px PT Sans,sans-serif}.market-out{margin:0;font:700 15px PT Sans,sans-serif;color:#1d5f2a}.market-ok{margin:0;color:#2e6e12;font:13px PT Sans,sans-serif}.trap-icon{grid-row:span 3;display:grid;place-items:center;width:64px;height:64px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff4c2,#c9a24a 60%,#6b4f1a);font-size:30px}.trap-actions{grid-template-columns:80px 1fr!important}.trap-actions input{padding:3px 6px;border:1px solid #b7954c;border-radius:6px;background:#fffaf0;font:700 14px PT Sans,sans-serif}.trap-icon img{width:100%;height:100%;object-fit:contain}.acad-tabs{display:grid;grid-template-columns:1fr 1fr;border-bottom:2px solid #8c6a32}.acad-tab{min-height:36px;border:1px solid #b7954c;border-bottom:0;border-radius:8px 8px 0 0;background:#e4d7b7;color:#3a2208;font:700 17px Cormorant Garamond,serif;box-shadow:none;transform:none}.acad-tab[aria-pressed=true]{background:linear-gradient(#f9efd2,#8ec1c4);box-shadow:inset 0 -3px #2f8f98}.acad-info{display:grid;gap:8px;padding:10px 6px}.acad-desc{margin:0;font:15px/1.45 Georgia,serif;color:#4a3214}.acad-carousel{position:relative;padding:4px 40px}.acad-strip{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:4px 2px 8px}.acad-strip::-webkit-scrollbar{display:none}.acad-card{flex:0 0 min(300px,30%);display:grid;gap:4px;padding:0;border:0;background:none;box-shadow:none;transform:none;scroll-snap-align:start;cursor:pointer;text-align:center}.acad-name{font:700 17px Cormorant Garamond,serif;color:#3a2208;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.acad-pic{position:relative;display:block;aspect-ratio:16/10;border:2px solid #c9a24a;border-radius:8px;overflow:hidden;background:radial-gradient(#5a4a2a,#1a140a)}.acad-pic img{width:100%;height:100%;object-fit:contain;object-position:center bottom}.acad-card.on .acad-pic{border-color:#7ff3ff;box-shadow:0 0 0 2px #2fd0e6,0 0 16px #2fd0e6}.acad-card.locked .acad-pic img{filter:grayscale(.85) brightness(.55)}.acad-badges{position:absolute;left:0;right:0;top:0;display:flex;align-items:center;gap:6px;padding:3px 8px;background:linear-gradient(#000a,#0000)}.acad-badge{color:#fff;font:700 14px PT Sans,sans-serif;text-shadow:0 1px 2px #000}.acad-gap{flex:1}.acad-lock{position:absolute;inset:0;display:grid;place-items:center;font-size:42px;text-shadow:0 2px 6px #000}.acad-job{position:absolute;left:6px;bottom:6px;padding:1px 8px;border-radius:10px;background:#1d5f86;color:#fff;font:700 12px PT Sans,sans-serif}.acad-arrow{position:absolute;top:45%;width:34px;height:56px;min-height:0;padding:0;border-radius:6px;background:linear-gradient(#4fb3d9,#1e7fae);color:#fff;font:700 26px/1 sans-serif;border:1px solid #1d5f86;z-index:2}.acad-arrow.left{left:2px}.acad-arrow.right{right:2px}.acad-foot{display:grid;gap:6px;justify-items:center;padding:8px 6px 4px;border-top:2px solid #8c6a32}.acad-bar{width:min(640px,100%);padding:10px;border-radius:6px;text-align:center;font:700 17px Cormorant Garamond,serif}.acad-bar.red{background:linear-gradient(#79281e,#481811);color:#f7ddbf;border:2px solid #984938}.acad-cost{font:13px PT Sans,sans-serif;color:#3a2208;text-align:center}.acad-actions{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:min(640px,100%)}.acad-actions button{min-height:38px;display:inline-flex;align-items:center;justify-content:center;gap:4px}.acad-actions .currency-icon{width:16px;height:16px}body .traps-window{width:min(1000px,calc(100vw - 16px))!important}.trap-head{display:flex;flex-wrap:wrap;gap:4px 16px;font:13px PT Sans,sans-serif;color:#3a2208}.trap-grid{display:grid;grid-auto-flow:column;grid-template-rows:repeat(2,auto);grid-auto-columns:minmax(130px,1fr);gap:8px 10px;overflow-x:auto;padding:4px 2px 6px}.trap-tile{display:grid;gap:3px;padding:0;border:0;background:none;box-shadow:none;transform:none;cursor:pointer;text-align:center}.trap-pic{position:relative;display:block;aspect-ratio:4/3;border:2px solid #b7954c;border-radius:4px;background:radial-gradient(#f6ecd2,#d8c49a);overflow:hidden}.trap-pic img{width:100%;height:100%;object-fit:contain;padding:6px}.trap-tile.on .trap-pic{border-color:#2fd0e6;box-shadow:0 0 0 2px #7ff3ff,0 0 14px #2fd0e6}.trap-tile.locked .trap-pic img{filter:grayscale(.9) opacity(.55)}.trap-lock{position:absolute;inset:0;display:grid;place-items:center;font-size:30px}.trap-count{position:absolute;right:4px;bottom:4px;padding:0 6px;border-radius:8px;background:#0009;color:#ffe7a6;font:700 12px PT Sans,sans-serif}.trap-name{font:700 15px Cormorant Garamond,serif;color:#3a2208}.trap-tile.on .trap-name{color:#1d5f86}.trap-detail{display:grid;grid-template-columns:minmax(0,1fr) minmax(200px,320px);gap:16px;align-items:center;padding:6px 10px}.trap-stats{display:grid;grid-template-columns:auto auto;gap:3px 18px;margin:0;font:15px PT Sans,sans-serif;color:#2b1a07}.trap-stats dt{white-space:pre}.trap-stats dd{margin:0;font-weight:700;color:#8a5a12}.trap-stats em{font-style:normal;color:#2e8a1e}.trap-stats .trap-sub{margin-top:4px}.trap-figure{position:relative;margin:0;aspect-ratio:4/3;border:2px solid #b7954c;border-radius:4px;background:radial-gradient(#f6ecd2,#d8c49a)}.trap-figure img{width:100%;height:100%;object-fit:contain;padding:10px}.trap-back{position:absolute;right:6px;top:6px;width:36px;height:40px;min-height:0;padding:0;border-radius:0 0 8px 8px;background:linear-gradient(#4fb3d9,#1e7fae);color:#fff;font:700 22px/1 sans-serif;border:1px solid #1d5f86}.trap-qty{display:grid;grid-template-columns:auto 1fr auto auto;align-items:center;gap:8px;padding:6px 4px;border-top:2px solid #8c6a32}.trap-step{width:56px;height:36px;min-height:0;padding:0;border-radius:6px;background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;font:700 24px/1 sans-serif;border:1px solid #2e5d12}.trap-range{width:100%;accent-color:#3d8a1e}.trap-num{width:80px;padding:4px;border:1px solid #2f8f98;border-radius:4px;background:#2fa3b0;color:#fff;text-align:center;font:700 15px PT Sans,sans-serif}.trap-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px}.trap-bill{border-collapse:collapse;font:14px PT Sans,sans-serif;color:#2b1a07}.trap-bill th,.trap-bill td{padding:2px 12px;border:1px solid #b7954c66;text-align:center}.trap-bill th img{width:22px;height:22px;object-fit:contain}.trap-time{color:#b8860b;font-weight:700}.trap-build{display:grid;justify-items:center;min-width:170px;min-height:46px;line-height:1.1}.trap-build b{font-size:15px}.trap-note{margin:0;text-align:center;font:italic 13px PT Sans,sans-serif;color:#7a3a12}html[data-device] body #academy-window{background:#171d22;color:#efe4ce;border:1px solid #c5a568}html[data-device] body #academy-window .window-head{background:linear-gradient(#242d35,#171d22);border-bottom:1px solid #c5a568}html[data-device] body #academy-window .window-head h2{color:#efe4ce}html[data-device] body #academy-window .acad-foot,html[data-device] body #academy-window .acad-info,html[data-device] body #academy-window .acad-active-job{background:#242d35;color:#efe4ce;border:1px solid #c5a568;padding:10px}html[data-device] body #academy-window .acad-desc,html[data-device] body #academy-window .acad-cost,html[data-device] body #academy-window .acad-info b{color:#efe4ce}html[data-device] body #academy-window button{min-height:44px;transform:none}html[data-device] body #academy-window .acad-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}html[data-device] body #academy-window .acad-active-job{display:grid;gap:6px}@media(max-width:600px){html[data-device] body #academy-window[open]{inset:0!important;transform:none!important;width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:none!important;margin:0!important;box-sizing:border-box;padding-top:env(safe-area-inset-top);padding-bottom:env(safe-area-inset-bottom);display:flex;flex-direction:column}html[data-device] body #academy-window .window-content{flex:1;min-height:0;max-height:none;width:100%;box-sizing:border-box}}html[data-device] body #academy-window .window-content{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;gap:12px}html[data-device] body #academy-window .acad-tabs{flex:none;height:48px;max-height:48px;display:flex;gap:5px;border:0}html[data-device] body #academy-window .acad-tab{flex:1;height:48px;min-height:44px;background:#242d35;color:#efe4ce}html[data-device] body #academy-window .acad-tab[aria-pressed=true]{background:linear-gradient(#70552a,#352a1c);box-shadow:inset 0 -2px #c5a568}html[data-device] body #academy-window .acad-carousel{flex:none;padding:4px 36px}html[data-device] body #academy-window .acad-strip{align-items:flex-start;gap:10px}html[data-device] body #academy-window .acad-card{flex:0 0 170px;width:170px;min-width:170px;display:flex;flex-direction:column;gap:8px;background:transparent;border:0}html[data-device] body #academy-window .acad-name{color:#efe4ce;width:100%;font-size:18px;white-space:normal}html[data-device] body #academy-window .acad-pic{width:100%;height:180px;aspect-ratio:auto}html[data-device] body #academy-window .acad-card.on .acad-pic{border-color:#e5c98c;box-shadow:0 0 10px #c5a56888}html[data-device] body #academy-window .acad-foot{display:flex;flex-direction:column;align-items:stretch;gap:8px;flex:none}html[data-device] body #academy-window .acad-foot p{margin:0}html[data-device] body #academy-window .acad-cost{text-align:left;line-height:1.5}html[data-device] body #academy-window.academy-premium-window[open]{position:fixed!important;inset:10px!important;margin:auto!important;width:min(850px,calc(100vw - 20px))!important;height:calc(100dvh - 20px)!important;max-height:none!important;padding:0;display:flex;flex-direction:column;overflow:hidden;background:#171d22!important;border:1px solid #c5a568;color:#efe4ce!important;transform:none!important}html[data-device] body #academy-window.academy-premium-window .window-head{flex:none;height:48px!important;min-height:48px!important;background:linear-gradient(#242d35,#171d22)!important;border-bottom:1px solid #c5a568;padding:0 8px}html[data-device] body #academy-window.academy-premium-window .window-head h2{font-size:25px!important;color:#efe4ce!important}html[data-device] body #academy-window.academy-premium-window .close-dialog{width:44px;height:44px;min-height:44px;background:#242d35!important;color:#e5c98c;border:1px solid #8e784e;transform:none}html[data-device] body #academy-window .window-content.academy-premium{display:flex!important;flex-direction:column;flex:1;min-height:0;max-height:none!important;overflow:hidden!important;gap:5px;padding:5px!important;font:14px PT Sans,sans-serif;color:#efe4ce}html[data-device] body #academy-window .academy-premium button{min-width:44px;min-height:44px;transform:none!important;padding:5px 8px;border:1px solid #8e784e;border-radius:4px;background:linear-gradient(#303a43,#171d22);color:#efe4ce;font:700 13px PT Sans,sans-serif;white-space:normal;cursor:pointer}html[data-device] body #academy-window .academy-premium button:disabled{opacity:.5;cursor:default}.academy-premium .ap-summary{font-size:12px;color:#d8c8aa;text-align:center;flex:none}.academy-premium .ap-jobs{flex:none;max-height:20%;overflow:auto;border:1px solid #c5a568;padding:5px}.academy-premium .ap-section-title{font:700 19px Cormorant Garamond,serif;color:#e5c98c}.academy-premium .ap-jobs p{font-size:12px;margin:5px 0}.academy-premium .ap-job{display:grid;grid-template-columns:55px minmax(0,1fr) auto;gap:6px;align-items:center}.academy-premium .ap-job>img{width:55px;height:70px;object-fit:contain}.academy-premium .ap-job-info{display:flex;flex-direction:column;gap:4px;font-size:12px}.academy-premium .ap-job-actions{display:flex;flex-direction:column;gap:4px}.academy-premium .ap-job progress{width:100%;height:6px;accent-color:#c5a568}.academy-premium .ap-classes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:none}html[data-device] body #academy-window .academy-premium .ap-class{display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;gap:2px;padding:3px}.academy-premium .ap-class img{width:34px;height:34px;object-fit:contain}.academy-premium [aria-pressed=true]{background:linear-gradient(#75582d,#33291c)!important;border-color:#e5c98c!important;color:#ffe2a0!important}.academy-premium .ap-list{flex:1;min-height:100px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;padding:0 1px 6px;scrollbar-width:thin;scrollbar-color:#c5a568 #171d22}.academy-premium .ap-unit{border:1px solid #8e784e;margin-bottom:6px;background:linear-gradient(110deg,#242d35,#10171d)}.academy-premium .ap-unit[data-selected=true]{border-color:#e5c98c;box-shadow:inset 0 0 8px #c5a56844}html[data-device] body #academy-window .academy-premium .ap-choose{display:grid;grid-template-columns:80px minmax(0,1fr) 18px;gap:8px;align-items:center;width:100%;padding:4px;background:transparent;border:0;text-align:left}.academy-premium .ap-choose>img{width:80px;height:90px;object-fit:contain;background:radial-gradient(#46505a,#171d22);border:1px solid #8e784e}.academy-premium .ap-locked .ap-choose>img{filter:grayscale(.8) brightness(.6)}.academy-premium .ap-unit-text{display:flex;flex-direction:column;gap:5px;min-width:0}.academy-premium .ap-unit-text strong{font:700 21px Cormorant Garamond,serif}.academy-premium .ap-unit-text span{font-size:12px;font-weight:400}.academy-premium .ap-arrow{font-size:24px;color:#e5c98c}.academy-premium .ap-detail{padding:8px;border-top:1px solid #8e784e66;display:flex;flex-direction:column;gap:8px}.academy-premium .ap-budget{font-size:12px;color:#e5c98c}.academy-premium .ap-stats{display:grid;grid-template-columns:1fr 1fr;gap:6px}.academy-premium .ap-effect{display:grid;grid-template-columns:1fr 1fr;gap:6px;padding:8px;border:1px solid #8e784e66}.academy-premium .ap-effect strong,.academy-premium .ap-effect small{grid-column:1/-1}.academy-premium .ap-effect span{color:#e5c98c}.academy-premium .ap-effect small{font-size:11px;color:#d8c8aa}.academy-premium .ap-bill{display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center}.academy-premium .ap-bill small{width:100%}.academy-premium .ap-bill span{display:flex;align-items:center;gap:4px;font-size:13px}.academy-premium .ap-bill img{width:26px;height:26px;object-fit:contain}.academy-premium .ap-time{font-size:13px;margin:0;color:#e5c98c}.academy-premium .ap-requirements{display:flex;flex-direction:column;gap:6px;font-size:12px}.academy-premium .ap-requirements button{text-align:left}.academy-premium .ap-short,.academy-premium .ap-reason,.academy-premium .ap-error{color:#ff9b85}.academy-premium .ap-brief-reason{display:block;font-size:12px;color:#e8bf8f;padding:0 8px 7px}.academy-premium .ap-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}html[data-device] body #academy-window .academy-premium .ap-gold{background:linear-gradient(#e5c98c,#92703a);color:#171d22;border-color:#e5c98c}html[data-device] body #academy-window .academy-premium .ap-instant{background:linear-gradient(#28573d,#132c23);border-color:#c5a568;display:flex;align-items:center;justify-content:center;gap:3px;flex-wrap:wrap}.academy-premium .currency-icon{width:22px;height:22px;object-fit:contain}.academy-premium .ap-error{font-size:12px;max-height:60px;overflow:auto;margin:0;flex:none}@media(max-width:600px){html[data-device] body #academy-window.academy-premium-window[open]{inset:0!important;width:100vw!important;height:100dvh!important;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}}@media(max-height:700px){.academy-premium .ap-class img{width:25px;height:25px}}html[data-device] body #section-window.recruit-premium-window[open]{--ru:1px;position:fixed!important;inset:10px!important;margin:auto!important;transform:none!important;width:min(850px,calc(100vw - 20px))!important;height:calc(100dvh - 20px)!important;max-height:none!important;max-width:none!important;background:#171d22!important;color:#efe4ce!important;border:1px solid #c5a568;display:flex;flex-direction:column;overflow:hidden;padding:0}html[data-device] body #section-window.recruit-premium-window .window-head{flex:none;height:48px;min-height:48px;padding:0 10px;background:linear-gradient(#242d35,#171d22)!important;border-bottom:1px solid #c5a568!important}html[data-device] body #section-window.recruit-premium-window .window-head h2{font-size:27px!important;color:#efe4ce!important}html[data-device] body #section-window.recruit-premium-window .close-dialog{width:44px;height:44px;min-height:44px;color:#e5c98c;transform:none}html[data-device] body #section-window.recruit-premium-window #city-main{flex:1;min-height:0;height:auto!important;overflow:hidden;padding:0!important;width:100%}html[data-device] body #section-window.recruit-premium-window #army-screen{height:100%!important;min-height:0;display:flex;flex-direction:column;overflow:hidden;padding:0!important;gap:0}html[data-device] body #section-window.recruit-premium-window .recruit-tabs{flex:none;display:flex;gap:5px;padding:4px;background:#242d35}html[data-device] body #section-window.recruit-premium-window .recruit-tabs button{min-height:44px;font-size:13px;transform:none}html[data-device] body #section-window.recruit-premium-window .recruitment-premium{flex:1;min-height:0;display:flex;flex-direction:column;gap:5px;margin:0;padding:5px;background:#171d22!important;color:#efe4ce;font:14px PT Sans,sans-serif;overflow:hidden}html[data-device] body #section-window.recruit-premium-window .recruitment-premium button{min-height:44px;min-width:44px;font:700 13px PT Sans,sans-serif;color:#efe4ce;transform:none;border:1px solid #8e784e;border-radius:4px;background:linear-gradient(#303a43,#171d22);padding:5px 8px;cursor:pointer;white-space:normal}html[data-device] body #section-window.recruit-premium-window .recruitment-premium button:disabled{opacity:.5;cursor:default}.recruitment-premium .rp-summary{flex:none;color:#d8c8aa;text-align:right;font-size:12px;padding:0 4px}.recruitment-premium .rp-jobs{flex:none;max-height:min(270px,32dvh);overflow:auto;border:1px solid #c5a568;padding:5px}.recruitment-premium .rp-section-title{display:block;font-family:Cormorant Garamond,serif;font-size:19px;color:#e5c98c}.recruitment-premium .rp-job{display:grid;grid-template-columns:74px minmax(0,1fr) 88px;grid-template-rows:repeat(2,minmax(44px,auto));gap:6px;padding:8px 0;border-bottom:1px solid #8e784e66;align-items:center}.recruitment-premium .rp-job>img{width:74px;height:104px;object-fit:contain;grid-row:1/3;background:#242d35}.recruitment-premium .rp-job-info{display:grid;grid-column:2;grid-row:1/3;gap:6px;font-size:12px;min-width:0}.recruitment-premium .rp-job-info strong{font-size:16px}.recruitment-premium .rp-job progress{width:100%;height:6px;accent-color:#c5a568}.recruitment-premium .rp-job .rp-gold{grid-column:3;grid-row:2}.recruitment-premium .rp-job .rp-speed{grid-column:3;grid-row:1}.recruitment-premium .rp-jobs[data-has-jobs=true]{min-height:162px}.recruitment-premium .rp-job:last-child{border-bottom:0}.recruitment-premium .rp-classes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:none}html[data-device] body #section-window.recruit-premium-window .recruitment-premium .rp-class{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:2px;padding:3px;font-size:12px;line-height:1.15}.recruitment-premium .rp-class img{width:34px;height:34px;object-fit:contain}.recruitment-premium .rp-class[aria-pressed=true]{background:linear-gradient(#75582d,#33291c)!important;border-color:#e5c98c!important;color:#ffe2a0!important;box-shadow:inset 0 0 9px #c5a56855}.recruitment-premium .rp-list{flex:1;min-height:100px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;touch-action:pan-y;display:block;padding:0 1px 5px;scrollbar-width:thin;scrollbar-color:#c5a568 #171d22}.recruitment-premium .rp-unit{border:1px solid #8e784e;margin-bottom:6px;background:linear-gradient(110deg,#242d35,#10171d)}.recruitment-premium .rp-unit[data-selected=true]{border-color:#e5c98c;box-shadow:inset 0 0 8px #c5a56844}html[data-device] body #section-window.recruit-premium-window .recruitment-premium .rp-choose{display:grid;grid-template-columns:84px minmax(0,1fr) 18px;gap:8px;align-items:center;width:100%;padding:4px;border:0;background:transparent;text-align:left}.recruitment-premium .rp-choose>img{width:84px;height:91px;object-fit:contain;background:radial-gradient(#46505a,#171d22);border:1px solid #8e784e}.recruitment-premium .rp-locked .rp-choose>img{filter:grayscale(.8) brightness(.65)}.recruitment-premium .rp-unit-text{display:flex;flex-direction:column;gap:5px;min-width:0}.recruitment-premium .rp-unit-text>strong{font:700 21px Cormorant Garamond,serif;color:#efe4ce}.recruitment-premium .rp-unit-text>span{font-size:12px;font-weight:400;white-space:normal}.recruitment-premium .rp-stats{display:flex;flex-wrap:wrap;gap:4px 10px;color:#d8c8aa}.recruitment-premium .rp-arrow{color:#e5c98c;font-size:24px}.recruitment-premium .rp-detail{padding:8px;display:flex;flex-direction:column;gap:7px;border-top:1px solid #8e784e77}.recruitment-premium .rp-defense{display:flex;flex-wrap:wrap;gap:3px 10px;font-size:11px;color:#d8c8aa}.recruitment-premium .rp-defense strong{width:100%}.recruitment-premium .rp-upkeep{font-size:11px;color:#d8c8aa}.recruitment-premium .rp-quantity{display:grid;grid-template-columns:44px minmax(0,1fr) 44px 68px;gap:5px}.recruitment-premium input[type=number]{min-width:0;width:100%!important;height:44px!important;text-align:center;border:1px solid #8e784e!important;background:#10171d!important;color:#efe4ce!important;border-radius:3px;font-size:17px;box-sizing:border-box}.recruitment-premium input[type=range]{width:100%;min-height:44px;margin:0;accent-color:#c5a568}.recruitment-premium .rp-bill{display:flex;flex-wrap:wrap;gap:8px 12px;font-size:13px}.recruitment-premium .rp-bill>span{display:flex;gap:4px;align-items:center}.recruitment-premium .rp-bill img{width:26px;height:26px;object-fit:contain}.recruitment-premium .rp-short,.recruitment-premium .rp-error{color:#ff8f7c}.recruitment-premium .rp-time{margin:0;color:#e5c98c;font-size:13px}.recruitment-premium .rp-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px}html[data-device] body #section-window.recruit-premium-window .recruitment-premium .rp-gold{background:linear-gradient(#e5c98c,#92703a);color:#171d22;border-color:#e5c98c}html[data-device] body #section-window.recruit-premium-window .recruitment-premium .rp-instant{background:linear-gradient(#28573d,#132c23);border-color:#c5a568;display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:3px}.recruitment-premium .currency-icon{width:22px;height:22px;object-fit:contain}.recruitment-premium .rp-condition,.recruitment-premium .rp-brief-reason{font-size:12px;color:#e8bf8f}.recruitment-premium .rp-brief-reason{padding:3px 8px 7px}.recruitment-premium .rp-condition button{margin:5px 0}.recruitment-premium .rp-academy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:4px;border-top:1px solid #8e784e;padding-top:7px;font-size:12px}.recruitment-premium .rp-academy small{grid-column:1;color:#e5c98c}.recruitment-premium .rp-academy button{grid-column:2;grid-row:1/3}.recruitment-premium .rp-empty{margin:5px 0;color:#d8c8aa;font-size:12px}.recruitment-premium .rp-error{margin:0;font-size:12px;max-height:60px;overflow:auto;flex:none}@media(max-width:600px){html[data-device] body #section-window.recruit-premium-window[open]{inset:0!important;width:100vw!important;height:100dvh!important;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}}@media(max-height:700px){.recruitment-premium .rp-class img{width:25px;height:25px}.recruitment-premium .rp-jobs{max-height:32dvh}.recruitment-premium .rp-summary{font-size:11px}}.recruitment-premium .rp-running{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px;color:#e5c98c;padding:12px 0}.recruitment-premium .rp-running-progress{width:100%;height:10px;accent-color:#c5a568}.recruitment-premium .rp-running-time{font-size:21px}html[data-device] body #section-window.recruit-premium-window .close-dialog{background:linear-gradient(#303a43,#171d22)!important;border:1px solid #8e784e!important;border-radius:4px}html[data-device] body #section-window.recruit-premium-window .recruit-tabs button{background:linear-gradient(#303a43,#171d22)!important;color:#efe4ce!important;border:1px solid #8e784e!important;padding:5px 10px}html[data-device] body #section-window.recruit-premium-window .recruit-tabs button[aria-pressed=true]{background:linear-gradient(#75582d,#33291c)!important;color:#ffe2a0!important}html[data-device=phone] body #section-window.game-dialog.recruit-premium-window[open]{inset:0!important;margin:0!important;width:100vw!important;min-width:0!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;box-sizing:border-box!important;overflow:hidden!important;border-radius:0!important}html[data-device=phone] body #section-window.recruit-premium-window :is(#city-main,#army-screen,.recruitment-premium,.rp-jobs,.rp-classes,.rp-list,.rp-unit,.rp-detail){min-width:0!important;max-width:100%!important;box-sizing:border-box!important}html[data-device=phone] body #section-window.recruit-premium-window #army-screen{width:100%!important}html[data-device=phone] body #section-window.recruit-premium-window .recruit-tabs{min-width:0;display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;box-sizing:border-box}html[data-device=phone] body #section-window.recruit-premium-window .recruit-tabs button{min-width:0!important;width:100%!important;font-size:14px!important;white-space:normal!important}html[data-device=phone] body #section-window.recruit-premium-window .rp-jobs{min-height:0!important;max-height:24dvh!important;overflow:auto;flex-shrink:1}html[data-device=phone] body #section-window.recruit-premium-window .rp-job{grid-template-columns:52px minmax(0,1fr) 80px;grid-template-rows:repeat(2,minmax(40px,auto));gap:5px}html[data-device=phone] body #section-window.recruit-premium-window .rp-job>img{width:52px;height:80px}html[data-device=phone] body #section-window.recruit-premium-window .rp-job-info{overflow-wrap:break-word;min-width:0}html[data-device=phone] body #section-window.recruit-premium-window .rp-job-info strong{font-size:14px}html[data-device=phone] body #section-window.recruit-premium-window .rp-list{min-height:0!important;flex:1 1 0!important}html[data-device=phone] body #section-window.recruit-premium-window .rp-class{min-width:0!important;font-size:11px!important}html[data-device=phone] body #section-window.recruit-premium-window .rp-class img{width:28px;height:28px}html[data-device=phone] body #section-window.recruit-premium-window .rp-choose{grid-template-columns:64px minmax(0,1fr) 16px!important;gap:6px!important}html[data-device=phone] body #section-window.recruit-premium-window .rp-choose>img{width:64px;height:80px}html[data-device=phone] body #section-window.recruit-premium-window .rp-unit-text>strong{font-size:19px;overflow-wrap:break-word}html[data-device=phone] body #section-window.recruit-premium-window .rp-summary{white-space:normal;overflow-wrap:break-word}html[data-device] body #section-window.recruit-premium-window[open]{inset:max(10px,env(safe-area-inset-top)) max(10px,env(safe-area-inset-right)) max(10px,env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left))!important;height:calc(100dvh - max(10px,env(safe-area-inset-top)) - max(10px,env(safe-area-inset-bottom)))!important}html[data-device] body #section-window .troops-panel{display:flex;flex-direction:column;flex:1;min-height:0;overflow:hidden;gap:5px;padding:6px;background:#171d22;color:#efe4ce;font:14px PT Sans,sans-serif}html[data-device] body #section-window .troops-panel :is(button,input,select){min-height:44px;min-width:44px;max-width:100%;box-sizing:border-box;transform:none;font:inherit;color:#efe4ce;border:1px solid #8e784e;border-radius:4px;background:linear-gradient(#303a43,#171d22);padding:6px;cursor:pointer}html[data-device] body #section-window .troops-panel button:disabled{opacity:.5;cursor:default}html[data-device] body #section-window .troops-panel [aria-pressed=true]{border-color:#e5c98c;background:linear-gradient(#70572c,#362b19);color:#fff0c8}.troops-panel .tp-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;flex:none}.troops-panel .tp-summary div{padding:5px 2px;text-align:center;border:1px solid #62563f;background:#242d35;min-width:0}.troops-panel .tp-summary small{display:block;font-size:11px;color:#d4c7ac}.troops-panel .tp-summary strong{font-size:16px;overflow-wrap:anywhere}.troops-panel .tp-places{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:4px;flex:none}.troops-panel .tp-places button{padding:4px!important;font-size:12px!important}.troops-panel .tp-list{flex:1;min-height:0;overflow:auto;overscroll-behavior:contain;scrollbar-gutter:stable;touch-action:auto}.troops-panel .tp-filters{display:flex;gap:5px;overflow-x:auto;padding:4px 0;overscroll-behavior:contain}.troops-panel .tp-filters button{flex:none;white-space:nowrap}.troops-panel :is(.tp-intro,.tp-transfer,.tp-confirm,.tp-march){border:1px solid #c5a568;padding:9px;margin-bottom:6px;background:linear-gradient(135deg,#242d35,#171d22)}.troops-panel :is(p,small){margin:4px 0;line-height:1.35}.troops-panel .tp-muted{color:#cec3ae;font-size:12px}.troops-panel .tp-show-all{display:flex;align-items:center;gap:8px;min-height:44px;font-size:12px}.troops-panel .tp-show-all input{width:20px!important;min-width:20px!important;min-height:20px!important;margin:0}.troops-panel .tp-unit{border:1px solid #736341;background:#202930;margin:0 0 6px}html[data-device] body #section-window .tp-unit-head{display:flex;gap:9px;align-items:center;text-align:left;border:0;border-radius:0;width:100%;padding:6px;background:transparent}.troops-panel .tp-unit-head img{width:68px;height:78px;object-fit:contain;background:#171d22;border:1px solid #736341}.troops-panel .tp-unit-head div{flex:1;min-width:0}.troops-panel .tp-unit-head :is(strong,small,span){display:block}.troops-panel .tp-unit-head strong{font-family:Cormorant Garamond,serif;font-size:22px;color:#e5c98c}.troops-panel .tp-unit-head small{font-size:12px;color:#cec3ae}.troops-panel .tp-unit-detail{border-top:1px solid #736341;padding:9px}.troops-panel .tp-actions{display:flex;flex-wrap:wrap;gap:5px;margin-top:6px}.troops-panel .tp-actions button{flex:1}.troops-panel .tp-upgrade{display:grid;grid-template-columns:minmax(0,1fr) 70px;gap:5px;margin-top:9px}.troops-panel .tp-upgrade :is(small,button){grid-column:1/-1}.troops-panel .tp-upgrade select{min-width:0!important}.troops-panel .tp-transfer-row{display:grid;grid-template-columns:44px minmax(40px,1fr) 44px 62px;gap:4px;margin:7px 0}.troops-panel .tp-transfer-row>span{grid-column:1/-1}.troops-panel .tp-transfer-row input{width:100%;min-width:0!important;text-align:center}.troops-panel .tp-transfer>button{margin:3px}.troops-panel .tp-confirm>button{margin:3px}.troops-panel .tp-march summary{min-height:44px;display:flex;align-items:center;cursor:pointer}.troops-panel .tp-march strong{color:#e5c98c}.troops-panel .tp-empty{padding:18px 7px;color:#d4c7ac}.troops-panel .tp-error{color:#ffb5a6;flex:none;font-size:12px;margin:0}.troops-panel .tp-foot{display:flex;align-items:center;gap:7px;flex:none;border-top:1px solid #736341;padding-top:5px}.troops-panel .tp-foot button{flex:none;font-size:12px!important}.troops-panel .tp-foot small{font-size:10px;line-height:1.25}@media(max-width:360px){.troops-panel .tp-foot{align-items:stretch}.troops-panel .tp-summary small{font-size:10px}.troops-panel .tp-unit-head img{width:58px;height:68px}}html[data-device] body #section-window.recruit-premium-window.troops-window[open]{width:min(850px,calc(100vw - max(10px,env(safe-area-inset-left)) - max(10px,env(safe-area-inset-right))))!important;margin:auto!important;box-sizing:border-box!important}.troops-panel h4{color:#e5c98c!important;font-size:15px!important;margin:8px 0 4px}.troops-panel summary{color:#efe4ce!important}#section-window.science-window{--u:min(1px,calc((100vw - 24px)/1060),calc((100dvh - 24px)/560));width:calc(var(--u)*1060);height:calc(var(--u)*560);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);background:linear-gradient(#333421db,#202616eb),url(/art/shell/v2/terrain.webp) center/cover;color:#f5e8c7;overflow:hidden}.science-window .window-head{height:calc(var(--u)*62);min-height:40px}.science-window .window-head h2{font-size:max(22px,calc(var(--u)*30));line-height:1;padding:0;color:#543b16}.science-window .window-head .close-dialog{height:100%;min-height:0;width:calc(var(--u)*62);font-size:max(24px,calc(var(--u)*36));transform:none}#section-window.science-window #city-main{height:calc(100% - max(40px,var(--u)*62));max-height:none;overflow:hidden;padding:0;margin:0;width:100%}.science-tree{height:100%;display:grid;grid-template-rows:calc(var(--u)*42) minmax(0,1fr) calc(var(--u)*150);min-width:0;font:700 max(12px,calc(var(--u)*17)) "Cormorant Garamond",serif;color:#f5e8c7}.research-toolbar{display:flex;align-items:center;gap:calc(var(--u)*8);padding:0 calc(var(--u)*18);border-bottom:1px solid #b1954c7a;min-width:0;white-space:nowrap}.science-window .research-branch{min-height:0;height:calc(var(--u)*30);border:0;border-bottom:2px solid transparent;border-radius:0;padding:0 calc(var(--u)*12);background:transparent;color:#e4c787;font:700 max(12px,calc(var(--u)*18)) "Cormorant Garamond",serif;transform:none}.science-window .research-branch[aria-pressed=true]{color:#fff5ca;border-color:#64b1ba;background:linear-gradient(transparent,#347c7b66)}.science-window .research-university{margin-left:auto;color:#e4c787;background:transparent;padding:0;border:0;min-height:0;font:inherit;transform:none}.research-queue-label{font:italic max(10px,calc(var(--u)*14)) "PT Sans",sans-serif;color:#d6c698;margin-left:calc(var(--u)*12)}.research-track{position:relative;min-height:0;min-width:0;overflow:hidden}.science-window .graph-viewport{height:100%;width:100%;max-width:100%;overflow-x:auto;overflow-y:hidden;border:0;border-radius:0;padding:0 calc(var(--u)*26);background:transparent;scroll-snap-type:none;touch-action:pan-x;overscroll-behavior-x:contain;scrollbar-width:thin;scrollbar-color:#9a8047 #27271b;cursor:grab;-webkit-user-select:none;user-select:none}.science-window .science-graph{position:relative;display:flex;gap:0;width:max-content;height:100%;align-items:start;padding:0 calc(var(--u)*16)}.science-window .science-column{width:calc(var(--u)*(152*var(--lanes) + 14));flex:none;background:linear-gradient(90deg,#8c7b3b17,#6b60222b);padding:0 calc(var(--u)*7);display:block;border:0;scroll-snap-align:none;position:relative}.science-window .research-level{height:calc(var(--u)*28);min-height:0;padding:0 calc(var(--u)*12);display:block;margin:0 auto calc(var(--u)*4);border:0;background:none;color:#f3d482;font:700 max(12px,calc(var(--u)*19)) "Cormorant Garamond",serif;transform:none}.science-window .research-level.unavailable{color:#c4a26a}.research-nodes{display:grid;grid-template-rows:repeat(2,calc(var(--u)*118));grid-auto-columns:calc(var(--u)*152);grid-auto-flow:column;row-gap:calc(var(--u)*8)}.science-window button.science-node,.science-window button.science-node:hover,.science-window button.science-node:active{display:flex;align-items:center;flex-direction:column;gap:calc(var(--u)*7);width:calc(var(--u)*152);height:calc(var(--u)*118);min-height:0;background:none!important;border:0;padding:0;border-radius:0;box-shadow:none;transform:none;transition:none;color:#f0e1ba;font:700 max(11px,calc(var(--u)*17)) "Cormorant Garamond",serif;text-align:center}.research-icon{display:block;position:relative;width:calc(var(--u)*80);height:calc(var(--u)*80);flex:none;background-color:#641d13;border:calc(var(--u)*3) solid #b79354;box-shadow:inset 0 0 10px #0008;z-index:1}.research-icon img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;padding:4%;pointer-events:none}.research-name{display:block;line-height:1.08;max-width:calc(var(--u)*146);text-shadow:0 1px 2px #000;max-height:2.3em;overflow:hidden}.science-node[data-state=available] .research-icon,.science-node[data-state=studied] .research-icon,.science-node[data-state=complete] .research-icon{border-color:#88b93a;box-shadow:0 0 0 1px #496620,inset 0 0 8px #0004}.science-node[data-state=locked] .research-icon{border-color:#766344;background-color:#34271c;background-blend-mode:luminosity}.science-node[data-state=locked] .research-icon img{filter:brightness(.45) saturate(.45)}.science-node[aria-pressed=true] .research-icon{outline:2px solid #65dbf1;outline-offset:2px;box-shadow:0 0 calc(var(--u)*18) #00cde1aa}.science-node:focus-visible{outline:1px solid #fff0a0;outline-offset:0}.research-badge{position:absolute;bottom:calc(var(--u)*-8);left:50%;transform:translate(-50%);width:calc(var(--u)*26);height:calc(var(--u)*26);background:linear-gradient(#fff2c8,#ad9451);border:1px solid #756438;border-radius:50%;display:grid;place-items:center;color:#322509;font:700 max(12px,calc(var(--u)*19)) "Cormorant Garamond",serif;z-index:2}.science-node[data-state=locked] .research-badge{display:none}.research-lock{position:absolute;inset:0;display:none;align-items:center;justify-content:center;background:#0006}.research-lock svg{width:36%;height:43%;fill:#eee5cf;filter:drop-shadow(0 2px 2px #000)}.research-lock .keyhole{fill:#5f594b}.science-node[data-state=locked] .research-lock{display:flex}.science-node[data-state=learning] .research-icon{border-color:#5dc1d2}.research-hourglass{position:absolute;top:2px;right:2px;font-size:calc(var(--u)*22);background:#222b22c0;border-radius:2px}.science-window #science-edges{position:absolute;inset:0;z-index:0;pointer-events:none;overflow:visible}.science-window #science-edges .requirement-edge{fill:none;stroke:#b2b09870;stroke-width:3;stroke-dasharray:none}.science-window #science-edges .requirement-edge.met{stroke:#86b731;stroke-width:4}.science-window .research-scroll{position:absolute;top:45%;width:calc(var(--u)*25);height:calc(var(--u)*58);min-height:28px;padding:0;border:1px solid #a1803e;border-radius:0;background:#2b3827cc;color:#edd895;font:700 max(24px,calc(var(--u)*34)) "Cormorant Garamond",serif;z-index:3;transform:none}.research-scroll.left{left:0}.research-scroll.right{right:0}.research-detail{display:flex;gap:calc(var(--u)*26);align-items:center;padding:calc(var(--u)*8) calc(var(--u)*40);border-top:2px solid #a98945;position:relative;min-width:0;overflow:auto;background:#25291888}.research-description{flex:1;min-width:0;text-align:center}.science-window .research-title{font:700 max(13px,calc(var(--u)*19)) "Cormorant Garamond",serif;color:#eadcb4;margin:0 0 calc(var(--u)*2)}.research-banner{display:block;max-width:calc(var(--u)*370);margin:0 auto calc(var(--u)*5);background:linear-gradient(#efe2bd,#ccba8c);border:1px solid #9a7b3d;color:#4c3716;line-height:1.2;font-size:max(12px,calc(var(--u)*20))}.science-window .research-effect{font:700 italic max(11px,calc(var(--u)*16)) "Cormorant Garamond",serif;line-height:1.15;margin:calc(var(--u)*3) 0;color:#d9d0ac}.science-window .research-complete{color:#b6d583;margin:0;font-weight:700}.science-window .research-description p{margin:calc(var(--u)*4) 0;line-height:1.15}.research-bill{width:100%;max-width:calc(var(--u)*580);border-collapse:collapse;margin:calc(var(--u)*4) auto 0;font:700 max(12px,calc(var(--u)*18)) "Cormorant Garamond",serif;color:#f3e7c5;table-layout:fixed}.research-bill th{font-weight:700}.research-bill th:first-child{width:calc(var(--u)*65)}.research-bill img{width:calc(var(--u)*24);height:calc(var(--u)*24);object-fit:contain;vertical-align:middle}.research-bill td{text-align:center;white-space:nowrap}.research-bill tr:nth-child(2) td{border:1px solid #a8996266;background:#191c1366;padding:calc(var(--u)*2)}.research-bill tr:nth-child(3){color:#c0b78f}.research-bill .short{color:#ff7162}.research-duration{color:#e7c777;font-size:max(10px,calc(var(--u)*15))}.research-actions{flex:0 0 calc(var(--u)*185);text-align:center}.science-window .research-submit{display:grid;place-items:center;gap:0;width:100%;height:calc(var(--u)*52);min-height:34px;padding:0;font:700 max(16px,calc(var(--u)*23)) "Cormorant Garamond",serif;transform:none}.research-submit small{font-size:.65em}.science-window .research-condition,.research-running{font:700 max(11px,calc(var(--u)*15)) "Cormorant Garamond",serif;color:#d7ca9d;line-height:1.15;margin:calc(var(--u)*5) 0}.research-prompt{margin:auto!important;font-size:calc(var(--u)*24)}.research-requirements{display:flex;justify-content:center;flex-wrap:wrap;gap:6px}.science-window .research-requirement{background:transparent;border:0;border-bottom:1px solid #a78f5c;color:#e7d293;min-height:24px;padding:2px;font:inherit;transform:none}.research-error{position:absolute;bottom:0;left:10%;right:10%;font:12px PT Sans,sans-serif;color:#ffc0ae;margin:0;text-align:center}@media(prefers-reduced-motion:reduce){.science-window *{scroll-behavior:auto!important}}.science-window #science-edges .university-rail{fill:none;stroke:#ada98d40;stroke-width:3;stroke-dasharray:none}.science-window #science-edges .university-rail.met{stroke:#749e3755}.research-heading{display:flex;align-items:center;justify-content:center;gap:12px}.science-window .research-heading .research-title{margin:0;line-height:1.1}.research-heading .research-banner{margin:0;padding:1px 10px;flex:none;min-width:calc(var(--u)*190)}.science-choices{height:100%;display:grid;grid-template-rows:calc(var(--u)*42) minmax(0,1fr);color:#f5e8c7;font:700 max(12px,calc(var(--u)*18)) "Cormorant Garamond",serif}.science-choices .research-university{margin-left:0}.research-choice-prompt{margin-left:auto;color:#cfbd8b;font-style:italic}.research-choice-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));gap:calc(var(--u)*14) calc(var(--u)*80);padding:calc(var(--u)*14) calc(var(--u)*135);min-height:0;min-width:0}.science-window .research-choice{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:calc(var(--u)*5);min-height:0;padding:0;border:0;background:transparent;color:#efd186;font:700 max(16px,calc(var(--u)*24)) "Cormorant Garamond",serif;transform:none;box-shadow:none}.research-choice-art{display:block;flex:none;width:calc(var(--u)*165);height:calc(var(--u)*165);max-width:100%;background:url(/art/science/branches-atlas.png) 0 0/200% 200%;border:2px solid #c5a657;outline:1px solid #60451e;outline-offset:2px;border-radius:7px;box-shadow:0 2px 12px #0007;transition:box-shadow .15s}.research-choice:hover .research-choice-art,.research-choice:focus-visible .research-choice-art{box-shadow:0 0 15px #63d1d0b3;border-color:#f4d483}.science-window .research-choice:focus-visible{outline:2px solid #74d3d4;outline-offset:4px}.science-window .research-back{font-size:24px;padding:0 7px;flex:none}.research-heading{position:relative;padding-right:44px}.research-help{left:auto;right:0;transform:none}.research-levels{max-height:min(46vh,260px);overflow:auto;margin-top:4px}.research-levels-table{width:100%;border-collapse:collapse;font:13px PT Sans,sans-serif}.research-levels-table th,.research-levels-table td{padding:2px 6px;border-bottom:1px solid #8c6a3255;text-align:left}.research-levels-table tr.current td{background:#c9a24a44;font-weight:700}.research-levels-table tr.next td{background:#6b8f3a33}.research-levels-back{margin-top:6px}#science-edges .requirement-edge{opacity:.55}#science-edges .requirement-edge.active{opacity:1;stroke:#f0d68f!important;stroke-width:4}html[data-device] body #section-window.science-window[open]{--u:1px;position:fixed!important;inset:10px!important;margin:auto!important;transform:none!important;width:min(800px,calc(100vw - 20px))!important;height:calc(100dvh - 20px)!important;max-height:none!important;background:#171d22!important;color:#efe4ce;border:1px solid #c5a568;display:flex;flex-direction:column;overflow:hidden}html[data-device] body #section-window.science-window .window-head{height:48px!important;min-height:48px!important;padding:0 10px;background:linear-gradient(#242d35,#171d22);border-bottom:1px solid #c5a568}html[data-device] body #section-window.science-window .window-head h2{color:#efe4ce!important;font-size:27px!important}html[data-device] body #section-window.science-window .close-dialog{width:44px;height:44px;min-height:44px;color:#e5c98c}html[data-device] body #section-window.science-window #city-main{flex:1;min-height:0;height:auto;width:100%}html[data-device] body #section-window.science-window .science-premium{height:100%;display:flex;flex-direction:column;min-height:0;gap:5px;background:linear-gradient(#171d22df,#171d22ee),url(/art/city/kingdom-v2/terrain.webp) center/cover;color:#efe4ce;font:14px PT Sans,sans-serif}html[data-device] body #section-window.science-window .science-premium button{transform:none;min-height:44px;color:#efe4ce;font:700 13px PT Sans,sans-serif;white-space:normal;border:1px solid #8e784e;border-radius:5px;background:linear-gradient(#303a43,#171d22);padding:4px 8px;cursor:pointer}html[data-device] body #section-window.science-window .science-premium button:disabled{opacity:.55;cursor:default}html[data-device] body #section-window.science-window .science-premium .researchers-panel{display:flex;align-items:center;gap:10px;border:1px solid #c5a568;padding:7px;flex:none}.science-premium .researchers-panel>img{width:64px;height:70px;object-fit:contain}.science-premium .researchers-panel>div{flex:1;min-width:0}.science-premium .researchers-panel strong{font:700 21px Cormorant Garamond,serif}.science-premium .researchers-panel small{display:block;font-size:11px;color:#d8c8aa}.science-premium .researchers-panel button{margin:4px 4px 0 0}html[data-device] body #section-window.science-window .science-premium .research-jobs{max-height:21%;overflow:auto;flex:none;min-height:32px;padding:0 6px;font-size:12px}.science-premium .research-job{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:4px;border-bottom:1px solid #c5a56877;align-items:center}.science-premium .research-free,.science-premium .research-locked{padding:5px;color:#d8c8aa}html[data-device] body #section-window.science-window .science-premium .research-toolbar{display:grid;grid-template-columns:1fr 1fr;gap:4px;padding:0 6px;border:0;flex:none;white-space:normal}html[data-device] body #section-window.science-window .science-premium .research-branch{height:44px;font-size:16px;border:1px solid #c5a568}html[data-device] body #section-window.science-window .science-premium .research-branch[aria-pressed=true]{background:linear-gradient(#70552a,#352a1c);color:#ffe2a0;box-shadow:inset 0 0 8px #c5a56866}html[data-device] body #section-window.science-window .science-premium .research-university,html[data-device] body #section-window.science-window .science-premium .research-queue-label{display:none}html[data-device] body #section-window.science-window .science-premium .research-track{flex:1;min-height:110px;position:relative;margin:0 6px;border:1px solid #c5a568;overflow:hidden}html[data-device] body #section-window.science-window .science-premium .graph-viewport{height:100%;overflow-x:hidden!important;overflow-y:auto!important;padding:8px!important;touch-action:pan-y;overscroll-behavior:contain}html[data-device] body #section-window.science-window .science-premium .science-graph{position:relative;display:flex;flex-direction:column;width:100%!important;height:auto!important;gap:20px;padding:0 0 24px!important;isolation:isolate}html[data-device] body #section-window.science-window .science-premium .science-column{width:100%!important;padding:0!important;border:0;background:none;flex:none}html[data-device] body #section-window.science-window .science-premium .research-level{display:block;margin:0 0 8px;height:auto;font-size:12px;color:#e5c98c;background:#171d22}html[data-device] body #section-window.science-window .science-premium .research-nodes{display:grid;grid-auto-flow:row!important;grid-template-rows:none!important;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:auto!important;gap:16px 8px}html[data-device] body #section-window.science-window .science-premium button.science-node{position:relative;z-index:1;width:100%!important;height:auto!important;display:flex;flex-direction:column;align-items:center;gap:4px;padding:4px!important;background:#171d22c7;border:0;min-width:0}html[data-device] body #section-window.science-window .science-premium .research-icon{position:relative;width:64px!important;height:64px!important;border:2px solid #c5a568;border-radius:50%;box-shadow:0 2px 6px #000;background-color:#242d35;flex:none}html[data-device] body #section-window.science-window .science-premium .research-icon img{width:100%;height:100%;object-fit:contain}html[data-device] body #section-window.science-window .science-premium .research-name{font:700 12px PT Sans,sans-serif;max-width:100%;color:#efe4ce;line-height:1.25;overflow-wrap:anywhere;max-height:none;overflow:visible}html[data-device] body #section-window.science-window .science-premium .research-badge{position:absolute;bottom:-3px;right:0;left:0;margin:auto;width:max-content;min-width:42px;background:#171d22;color:#ffe2a0;border:1px solid #c5a568;font:700 12px PT Sans,sans-serif;padding:2px;z-index:2}html[data-device] body #section-window.science-window .science-premium #science-edges{display:block!important;position:absolute;inset:0;z-index:0;pointer-events:none;overflow:visible}html[data-device] body #section-window.science-window .science-premium #science-edges path{fill:none;stroke:#a39880;stroke-width:2}.science-premium #science-edges path.met{stroke:#e5c98c!important}html[data-device] body #section-window.science-window .science-premium .research-scroll{display:none!important}html[data-device] body #section-window.science-window .science-premium .research-detail{position:absolute;z-index:3;display:flex!important;flex-direction:column!important;box-sizing:border-box;max-height:calc(100% - 16px)!important;overflow:auto;background:#171d22f5;border:1px solid #e5c98c;box-shadow:0 4px 18px #000;padding:12px!important;gap:8px;font-size:13px;min-width:0}html[data-device] body #section-window.science-window .science-premium .research-detail[hidden]{display:none!important}html[data-device] body #section-window.science-window .science-premium .research-description{width:100%!important;max-width:none!important;min-width:0}html[data-device] body #section-window.science-window .science-premium .research-heading{padding-right:36px;display:flex;flex-wrap:wrap;gap:4px}html[data-device] body #section-window.science-window .science-premium .research-title{font-size:20px;color:#efe4ce}html[data-device] body #section-window.science-window .science-premium .research-popup-close{z-index:5;position:absolute;right:4px;top:4px;width:44px;height:44px;font-size:25px}html[data-device] body #section-window.science-window .science-premium .research-help{display:block;position:static;flex:none;width:44px;height:44px;margin-left:auto}html[data-device] body #section-window.science-window .science-premium .research-banner,html[data-device] body #section-window.science-window .science-premium .research-effect{font-size:13px;color:#efe4ce}html[data-device] body #section-window.science-window .science-premium .research-bill{width:100%!important;table-layout:fixed;font:12px PT Sans,sans-serif;color:#efe4ce}html[data-device] body #section-window.science-window .science-premium .research-bill th:first-child{width:36px}.science-premium .research-bill img{width:24px;height:24px;object-fit:contain}html[data-device] body #section-window.science-window .science-premium .research-actions{display:flex;flex-direction:column;flex:none;width:100%!important;gap:5px}html[data-device] body #section-window.science-window .science-premium .research-submit{background:linear-gradient(#d9ba78,#8c6630);color:#171d22}html[data-device] body #section-window.science-window .science-premium .research-academy{display:flex;align-items:center;justify-content:center;gap:10px;flex:none;margin:0 6px 6px;font-size:15px;min-height:54px}.science-premium .research-academy img{width:42px;height:42px;object-fit:contain}@media(max-width:600px){html[data-device] body #section-window.science-window[open]{inset:0!important;width:100vw!important;height:100dvh!important;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom);box-sizing:border-box}}@media(max-height:700px){html[data-device] body #section-window.science-window .science-premium .researchers-panel{padding:4px}.science-premium .researchers-panel>img{width:44px;height:44px}html[data-device] body #section-window.science-window .science-premium .research-jobs{max-height:15%}.science-premium .researchers-panel small{font-size:10px}}.science-premium .researcher-slots{display:flex;gap:5px;margin:4px 0}.science-premium .researcher-slot{padding:4px;border:1px solid #c5a568;border-radius:4px;font-size:11px;background:#171d22}.science-premium .researcher-slot[data-locked=true]{opacity:.6}.science-premium .research-job progress{grid-column:1/-1;width:100%;height:5px;accent-color:#c5a568;grid-row:2}html[data-device] body #section-window.science-window .science-premium .research-badge{transform:none;height:auto;border-radius:3px;display:block}html[data-device] body #section-window.science-window .science-premium .science-node[data-state=locked] .research-badge{display:block}html[data-device] body #section-window.science-window .science-premium .science-node[aria-pressed=true] .research-icon{outline:2px solid #e5c98c;box-shadow:0 0 12px #c5a56888}.science-premium .research-check{position:absolute;right:-4px;top:-4px;background:#3a6b42;color:#fff;border-radius:50%;padding:2px 4px}html[data-device] body #section-window.science-window .science-premium .research-nodes{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}html[data-device] body #section-window.science-window .science-premium button.science-node{border:1px solid #796640;border-radius:8px;padding:10px 6px!important;gap:8px;background:linear-gradient(145deg,#29343d,#171d22);min-height:154px}html[data-device] body #section-window.science-window .science-premium button.science-node[hidden],html[data-device] body #section-window.science-window .science-premium .science-column[hidden]{display:none!important}html[data-device] body #section-window.science-window .science-premium .research-caption{display:flex;flex-direction:column;align-items:center;gap:5px;width:100%;min-width:0}html[data-device] body #section-window.science-window .science-premium .research-name{font-size:14px;line-height:1.25;text-align:center;overflow-wrap:break-word}.science-premium .research-family{color:#e5c98c;font-size:10px;font-weight:400}.science-premium .research-node-status{font-size:10px;font-weight:400;color:#c2c9cb;line-height:1.3;text-align:center}html[data-device] body #section-window.science-window .science-premium .research-level{font:700 15px PT Sans,sans-serif;padding:6px 0;border-bottom:1px solid #c5a56855;text-align:left;background:none}.science-premium .research-finder{display:flex;align-items:center;gap:8px;padding:0 6px;flex:none}.science-premium .research-finder input{width:100%;min-width:0;min-height:44px;border:1px solid #8e784e;border-radius:5px;background:#171d22;color:#efe4ce;padding:6px 10px;font:14px PT Sans,sans-serif}.science-premium .research-finder span{flex:none;font-size:11px;color:#e5c98c}html[data-device] body #section-window.science-window .science-premium button.science-node[aria-pressed=true]{border-color:#e5c98c;background:linear-gradient(#554329,#242b30)}html[data-device] body #section-window.science-window .science-premium .researchers-panel strong{font-size:18px}@media(min-width:650px){html[data-device] body #section-window.science-window .science-premium .research-nodes{grid-template-columns:repeat(3,minmax(0,1fr))}}html[data-device] body #section-window.science-window .science-premium{position:relative;isolation:isolate;background:#17232b!important;gap:8px!important;padding:8px;box-sizing:border-box;overflow:hidden}html[data-device] body #section-window.science-window .window-head{position:relative!important;flex:none;display:flex!important;align-items:center;justify-content:center;padding:6px 54px!important;min-height:56px!important;height:56px!important;background:#152129!important}html[data-device] body #section-window.science-window .window-head h2{margin:0!important;font-size:28px!important;line-height:1.2!important}html[data-device] body #section-window.science-window .window-head .close-dialog{position:absolute!important;inset:6px 6px auto auto!important;transform:none!important;width:44px!important;height:44px!important;min-height:44px!important}html[data-device] body #section-window.science-window .window-crystal{display:none!important}html[data-device] body #section-window.science-window .science-premium .researchers-panel{padding:8px!important;gap:10px;background:#20313a;border:1px solid #8e784e66;border-radius:6px}html[data-device] body #section-window.science-window .science-premium .researchers-panel>img{width:48px;height:54px}html[data-device] body #section-window.science-window .science-premium .researchers-panel>div{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 8px;font-size:13px}html[data-device] body #section-window.science-window .science-premium .researchers-panel strong{font:600 18px/1.2 Georgia,serif}html[data-device] body #section-window.science-window .science-premium .researchers-panel small{font-size:12px;line-height:1.3;grid-column:1/-1;color:#c7cfd0}html[data-device] body #section-window.science-window .science-premium .researcher-slots{grid-column:1/-1;flex-wrap:wrap;margin:0}html[data-device] body #section-window.science-window .science-premium .researcher-slot{font-size:12px;padding:3px 6px;color:#eee3cc;opacity:1}html[data-device] body #section-window.science-window .science-premium .researchers-panel button{grid-column:2;grid-row:1/3;margin:0;min-height:44px}html[data-device] body #section-window.science-window .science-premium .research-jobs{padding:0!important;min-height:0!important;max-height:140px!important}html[data-device] body #section-window.science-window .science-premium .research-job{grid-template-columns:minmax(0,1fr) auto;gap:6px;padding:6px;background:#20313a;font-size:13px}html[data-device] body #section-window.science-window .science-premium .research-job progress{grid-column:1;grid-row:2;width:100%;accent-color:#b9d19a}html[data-device] body #section-window.science-window .science-premium .research-job button:last-child{grid-column:2;grid-row:2}html[data-device] body #section-window.science-window .science-premium .research-free{font-size:13px;line-height:1.4;padding:2px 0;color:#c7cfd0}html[data-device] body #section-window.science-window .science-premium .research-toolbar{grid-template-columns:44px repeat(4,minmax(0,1fr));padding:0!important;gap:4px!important}html[data-device] body #section-window.science-window .science-premium .research-branch{font:600 14px/1.2 PT Sans,sans-serif!important;padding:4px!important;height:auto!important;min-height:44px}html[data-device] body #section-window.science-window .science-premium .research-back{font-size:28px!important}html[data-device] body #section-window.science-window .science-premium .research-finder{padding:0;gap:8px}html[data-device] body #section-window.science-window .science-premium .research-finder input{margin:0;font-size:16px!important}html[data-device] body #section-window.science-window .science-premium .research-finder span{font-size:12px;max-width:80px}html[data-device] body #section-window.science-window .science-premium .research-track{position:static!important;margin:0;min-height:140px;border-color:#8e784e77;border-radius:6px;overflow:visible}html[data-device] body #section-window.science-window .science-premium .graph-viewport{background:#111e26!important;border-radius:6px;padding:12px!important}html[data-device] body #section-window.science-window .science-premium .science-column{background:none!important}html[data-device] body #section-window.science-window .science-premium .research-level{font:600 16px/1.4 PT Sans,sans-serif!important;color:#ead6ac!important;padding:4px 0 8px;margin-bottom:12px}html[data-device] body #section-window.science-window .science-premium button.science-node{background:#22333d!important;border:1px solid #7c7056!important;min-height:166px;gap:10px!important;padding:12px 8px!important;border-radius:8px!important}html[data-device] body #section-window.science-window .science-premium button.science-node[aria-pressed=true]{border-color:#f1d28a!important;background:#35413e!important}html[data-device] body #section-window.science-window .science-premium .research-icon{background-color:#17232b!important}html[data-device] body #section-window.science-window .science-premium .research-badge{bottom:-6px;font-size:13px!important;min-width:44px;padding:3px!important}html[data-device] body #section-window.science-window .science-premium .research-name{font:600 15px/1.35 PT Sans,sans-serif!important;text-shadow:none!important}html[data-device] body #section-window.science-window .science-premium :is(.research-family,.research-node-status){font:400 12px/1.35 PT Sans,sans-serif!important}html[data-device] body #section-window.science-window .science-premium .research-family{color:#dfcba5}html[data-device] body #section-window.science-window .science-premium .research-node-status{color:#cbd2d3}html[data-device] body #section-window.science-window .science-premium:has(.research-detail:not([hidden])):after{content:"";position:fixed;inset:0;z-index:2;background:#020b11ad}html[data-device] body #section-window.science-window .science-premium .research-detail{position:fixed!important;left:50%!important;top:50%!important;transform:translate(-50%,-50%)!important;max-width:calc(100vw - 24px)!important;max-height:calc(100dvh - 32px)!important;z-index:3;background:#1c2d37!important;border:1px solid #c5a568;border-radius:8px;box-shadow:0 16px 60px #0009;padding:16px!important;gap:12px!important;font:14px/1.45 PT Sans,sans-serif;overscroll-behavior:contain}html[data-device] body #section-window.science-window .science-premium .research-detail .research-heading{padding-right:48px;min-height:44px;align-items:center;gap:8px}html[data-device] body #section-window.science-window .science-premium .research-title{font:600 23px/1.2 Georgia,serif!important;margin:0}html[data-device] body #section-window.science-window .science-premium .research-detail :is(.research-banner,.research-effect){font:14px/1.5 PT Sans,sans-serif!important;color:#eee5d2}html[data-device] body #section-window.science-window .science-premium .research-detail .research-bill{font:13px/1.4 PT Sans,sans-serif!important;border-collapse:collapse}html[data-device] body #section-window.science-window .science-premium .research-bill :is(th,td){padding:6px 2px;text-align:center;overflow-wrap:anywhere;color:#eee5d2!important}html[data-device] body #section-window.science-window .science-premium .research-bill th:first-child{width:48px;text-align:left}html[data-device] body #section-window.science-window .science-premium .research-bill td.short{color:#ffb5a0!important}html[data-device] body #section-window.science-window .science-premium .research-duration{font-size:14px;margin:8px 0;color:#ead6ac}html[data-device] body #section-window.science-window .science-premium .research-academy{margin:0;min-height:44px!important;font-size:14px!important}html[data-device] body #section-window.science-window .science-premium .research-academy img{width:32px;height:32px}html[data-device] body #section-window.science-window .science-premium .research-levels-table :is(th,td){vertical-align:top;overflow-wrap:anywhere;white-space:normal}@media(max-width:360px){html[data-device] body #section-window.science-window .science-premium .research-branch{font-size:12px!important}.science-premium .researchers-panel>img{display:none}.science-premium .research-finder span{max-width:65px}}@media(max-width:480px)and (orientation:portrait){html[data-device] body #section-window.science-window .science-premium .research-toolbar{grid-template-columns:44px repeat(2,minmax(0,1fr))}html[data-device] body #section-window.science-window .science-premium .research-back{grid-row:span 2;align-self:stretch}html[data-device] body #section-window.science-window .science-premium .research-branch{font-size:14px!important;min-width:0;overflow-wrap:normal}}@media(max-height:600px){html[data-device] body #section-window.science-window .science-premium{overflow-y:auto!important}html[data-device] body #section-window.science-window .science-premium .research-track{flex:none!important;height:240px!important}html[data-device] body #section-window.science-window .science-premium .researchers-panel>img{display:none}html[data-device] body #section-window.science-window .science-premium .research-detail{max-height:calc(100dvh - 16px)!important}}html[data-device] body #section-window.science-window .science-choices{background:#17232b!important;color:#eee5d2!important;overflow:auto;min-height:0}html[data-device] body #section-window.science-window .science-choices .research-toolbar{padding:8px 12px;min-height:54px;gap:12px;white-space:normal;flex-wrap:wrap}html[data-device] body #section-window.science-window .science-choices .research-university{font:600 15px/1.3 PT Sans,sans-serif;min-height:44px;padding:6px 10px;color:#ead6ac}html[data-device] body #section-window.science-window .science-choices .research-choice-prompt{font:14px/1.4 PT Sans,sans-serif;color:#c7cfd0}html[data-device] body #section-window.science-window .science-choices .research-choice{min-height:132px!important;font:600 20px/1.3 Georgia,serif!important;color:#eee5d2!important;gap:10px}html[data-device] body #section-window.science-window .science-premium .research-branch small{display:block;font:400 12px/1.25 PT Sans,sans-serif;margin-top:2px;color:#d3d4c9}html[data-device] body #section-window.science-window .science-premium .research-banner{background:#263f49!important;color:#f0dfba!important;border:1px solid #93805b;border-radius:4px;padding:6px 10px!important;line-height:1.4!important}html[data-device] body #section-window.science-window .science-premium .research-help{background:#2c4650!important;color:#ffe4ad!important;border:1px solid #a48c5f}html[data-device] body #section-window.science-window .science-premium .research-popup-close{position:sticky!important;inset:0 0 auto auto!important;align-self:flex-end;flex:none;margin:0 0 -44px!important;background:#293e48!important;color:#f1d59d!important;border:1px solid #a48c5f}html body #vip-dialog.bank-window{box-sizing:border-box!important;width:min(620px,calc(100vw - 24px))!important;max-width:calc(100vw - 24px)!important;height:min(900px,calc(100dvh - 24px))!important;max-height:calc(100dvh - 24px)!important;margin:auto!important;padding:0!important;border:1px solid #c5a568!important;border-radius:12px!important;background:radial-gradient(ellipse at 0 0,#233c5966,transparent 70%),#171d22!important;color:#efe4ce!important;overflow:hidden!important;font:14px/1.35 PT Sans,sans-serif!important}html body #vip-dialog.bank-window[open]{display:flex!important;flex-direction:column!important}html body #vip-dialog.bank-window .window-head{flex:none!important;position:relative!important;min-height:52px!important;padding:10px 56px 10px 14px!important;margin:0!important;border-bottom:1px solid #c5a56888!important;background:linear-gradient(#2b343d,#141b20)!important}html body #vip-dialog.bank-window h2{font:700 21px/1.4 Georgia,serif!important;color:#efe4ce!important;text-align:center!important;margin:0!important;padding:0!important}html body #vip-dialog.bank-window .window-crystal{display:none!important}html body #vip-dialog.bank-window .close-dialog{position:absolute!important;inset:4px 4px auto auto!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;transform:none!important;border:1px solid #c5a56855!important;border-radius:4px!important;background:none!important;color:#e5c98c!important;font:28px/1 sans-serif!important;box-shadow:none!important}html body #vip-dialog.bank-window #vip-content{box-sizing:border-box!important;flex:1 1 auto!important;min-height:0!important;max-height:none!important;padding:10px!important;margin:0!important;overflow:auto!important;overflow-x:hidden!important;color:#efe4ce!important;background:none!important;scrollbar-color:#87734b #171d22;overscroll-behavior:contain}.bank-window .es-player{display:flex;align-items:center;gap:10px;padding:8px;border:1px solid #c5a56877;border-radius:5px;background:#141d24}.bank-window .es-avatar{width:48px;height:48px;object-fit:cover;border:1px solid #c5a568;border-radius:5px}.bank-window .es-player-copy{display:grid;gap:3px;flex:1;min-width:0}.bank-window .es-player-copy strong{overflow-wrap:anywhere;font:700 19px Georgia,serif}.bank-window .es-player-copy small{font-size:12px;color:#c3c9c9}.bank-window .es-balance{display:flex;align-items:center;gap:5px;padding:6px;background:#11181e;border:1px solid #7c6948;border-radius:4px;white-space:nowrap;font-size:18px}.bank-window .es-balance img{width:24px;height:27px;object-fit:contain}.bank-window .es-unavailable{font-size:12px!important;color:#c5c9c8!important;line-height:1.4!important;margin:9px 3px!important}.bank-window .es-offers{display:grid;gap:8px}.bank-window .es-offer{position:relative;display:grid;grid-template-columns:110px minmax(0,1fr) 112px;align-items:center;min-height:102px;gap:8px;border:1px solid #c5a568;border-radius:6px;background:radial-gradient(ellipse at 0 100%,#14452b99,transparent 70%),linear-gradient(#202a30,#11191e);box-shadow:inset 0 0 0 2px #080c0f,0 2px 6px #0006;padding:8px}.bank-window .es-art{height:85px;position:relative;display:grid;place-items:center}.bank-window .es-art>img:first-child{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 4px 5px #0008)}.bank-window .es-gem{position:absolute;right:0;bottom:0;width:32px;height:36px;object-fit:contain}.bank-window .es-offer-copy{display:grid;gap:5px;min-width:0}.bank-window .es-offer-copy strong{font:700 27px/1.1 Georgia,serif;color:#f4e9d0}.bank-window .es-offer-copy>span{font-size:12px;color:#e5c98c}.bank-window .es-ribbon{position:absolute;left:22%;top:0;background:linear-gradient(#8e3022,#4a1715);color:#fff1cd;font:12px/1.4 Georgia,serif;padding:1px 12px;border-bottom:1px solid #be9858;transform:skew(-10deg)}.bank-window .tier-2 .es-ribbon{background:linear-gradient(#34597b,#1d314c)}.bank-window .es-price{display:grid;gap:8px;align-self:end}.bank-window .es-price>small{font-size:11px;color:#e5c98c;text-align:center}html body #vip-dialog.bank-window .es-buy{width:100%!important;min-height:44px!important;padding:6px!important;border:1px solid #d3b370!important;border-radius:5px!important;background:linear-gradient(#d6b66d,#987331)!important;color:#201b12!important;font:700 16px/1.2 Georgia,serif!important;box-shadow:inset 0 1px #fff2ac66!important;transform:none!important;opacity:.7!important;cursor:default!important;white-space:nowrap!important}.bank-window .es-footer{display:grid;grid-template-columns:1fr 1fr;gap:10px;padding:12px 6px;margin-top:9px;border:1px solid #c5a56877;border-radius:5px;font-size:11px;color:#bfc6c7;text-align:center}.bank-window .es-footer>span+span{border-left:1px solid #c5a56855;padding-left:10px}html body #vip-dialog.bank-window :is(.es-vip,.es-test-pack){min-height:44px!important;padding:8px!important;margin:8px 0 0!important;background:linear-gradient(#2c3740,#192128)!important;border:1px solid #90794d!important;color:#efe4ce!important;border-radius:5px!important;font:700 14px/1.3 PT Sans,sans-serif!important;transform:none!important}.bank-window .es-vip{width:100%}.bank-window .es-test{margin-top:8px;padding:8px;border:1px solid #696e70;border-radius:5px}.bank-window .es-test summary{cursor:pointer;min-height:44px;display:flex;align-items:center;font-size:13px}.bank-window .es-test p{font-size:12px;color:#bdc4c7}.bank-window .es-test-pack{width:100%}.bank-window button:focus-visible,.bank-window summary:focus-visible{outline:2px solid #f7e3ac!important;outline-offset:2px}@media(max-width:600px){html body #vip-dialog.bank-window{width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}.bank-window .es-offer{grid-template-columns:80px minmax(0,1fr) 92px;min-height:91px;gap:5px;padding:6px}.bank-window .es-art{height:75px}.bank-window .es-offer-copy strong{font-size:24px}.bank-window .es-price>small{font-size:10px}.bank-window .es-ribbon{font-size:10px}.bank-window .es-offer-copy>span{font-size:11px}.bank-window .es-player-copy strong,.bank-window .es-balance{font-size:16px}}@media(max-width:350px){.bank-window .es-offer{grid-template-columns:65px minmax(0,1fr) 80px;gap:4px}.bank-window .es-offer-copy strong{font-size:22px}.bank-window .es-offer-copy>span{font-size:10px}.bank-window .es-ribbon{left:20%;padding:1px 6px}.bank-window .es-avatar{width:40px;height:40px}.bank-window .es-player{gap:6px}.bank-window .es-balance{font-size:14px}}html body #vip-dialog.game-dialog.bank-window #vip-content :is(p,span,small,strong){color:inherit!important}html body #vip-dialog.game-dialog.bank-window #vip-content :is(.es-offer-copy>span,.es-price>small){color:#e5c98c!important}html body #vip-dialog.game-dialog.bank-window #vip-content :is(.es-unavailable,.es-footer,.es-player-copy small){color:#bdc4c7!important}html body #vip-dialog.bank-window .es-super{margin:0 0 12px}html body #vip-dialog.bank-window .es-super-title{margin:4px 0 8px;font:700 18px/1.3 Georgia,serif;color:#e8cd8f;text-align:center}html body #vip-dialog.bank-window .es-super-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}html body #vip-dialog.bank-window .es-super-card{display:grid;justify-items:center;gap:2px;padding:8px 6px 10px;border:1px solid #c5a56877;border-radius:10px;background:linear-gradient(#26313a,#161d23);color:#efe4ce;cursor:pointer;text-align:center;font:inherit}html body #vip-dialog.bank-window .es-super-card:hover,html body #vip-dialog.bank-window .es-super-card.active{border-color:#e2c27f;background:linear-gradient(#323f4a,#1b242b)}html body #vip-dialog.bank-window .es-super-art{width:100%;max-width:180px;aspect-ratio:3/2;object-fit:contain;filter:drop-shadow(0 4px 6px #0009)}html body #vip-dialog.bank-window .es-super-card strong{font:700 16px/1.2 Georgia,serif;color:#f3dfae}html body #vip-dialog.bank-window .es-super-gems{color:#7fe0a0;font-weight:700}html body #vip-dialog.bank-window .es-super-card small{color:#b9b2a2}html body #vip-dialog.bank-window .es-super-card em{margin-top:4px;padding:3px 12px;border-radius:6px;background:linear-gradient(#d9b45e,#9c7429);color:#1d1609;font:700 14px/1.3 PT Sans,sans-serif;font-style:normal}html body #vip-dialog.bank-window .es-super-detail{margin-top:8px;padding:10px 12px;border:1px solid #c5a56877;border-radius:10px;background:#12181dcc}html body #vip-dialog.bank-window .es-super-detail h4{margin:0;font:700 17px/1.3 Georgia,serif;color:#f3dfae;text-align:center}html body #vip-dialog.bank-window .es-super-sub{margin:2px 0 6px;text-align:center;color:#7fe0a0}html body #vip-dialog.bank-window .es-super-detail h5{margin:10px 0 4px;padding-bottom:3px;border-bottom:1px solid #c5a56844;font:700 14px/1.3 Georgia,serif;color:#e8cd8f}html body #vip-dialog.bank-window .es-super-items{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 10px}html body #vip-dialog.bank-window .es-super-items li{display:grid;grid-template-columns:32px 1fr auto;align-items:center;gap:6px;min-height:34px;font-size:13px}html body #vip-dialog.bank-window .es-super-items img{width:32px;height:32px;object-fit:contain}html body #vip-dialog.bank-window .es-super-items b{color:#f3dfae}html body #vip-dialog.bank-window .es-super-buy{display:block;width:100%;margin-top:10px;min-height:44px;border:1px solid #8fbf5a;border-radius:8px;background:linear-gradient(#5e9a32,#3a6a1c);color:#fff;font:700 15px/1.2 PT Sans,sans-serif;cursor:pointer}html body #vip-dialog.bank-window .es-super-buy:disabled{border-color:#c5a56855;background:#2a3238;color:#b9b2a2;cursor:default}html body #vip-dialog.bank-window .es-super-buy.es-super-test{border-color:#c5a56877;background:#2a3238;color:#d9d2c2;font-weight:600}.prestige .crown{font-variant-numeric:lining-nums}.prestige.vip-on small{background:#2e7d12;color:#fff}html[data-device] body #vip-dialog.vip-premium:not(.bank-window){--vip-gold:#c5a568;--vip-text:#efe4ce;position:fixed!important;inset:0!important;transform:none!important;margin:auto!important;padding:0!important;box-sizing:border-box!important;width:min(690px,calc(100vw - 20px))!important;max-width:calc(100vw - 20px)!important;height:min(960px,calc(100dvh - 20px))!important;max-height:calc(100dvh - 20px)!important;border:1px solid var(--vip-gold)!important;border-radius:8px!important;background:radial-gradient(ellipse at 0 0,#233c5955,transparent 70%),#171d22!important;color:var(--vip-text)!important;overflow:hidden!important;font:14px/1.3 PT Sans,sans-serif!important;box-shadow:0 12px 55px #000b!important}html[data-device] body #vip-dialog.vip-premium[open]{display:flex!important;flex-direction:column!important}html[data-device] body #vip-dialog.vip-premium::backdrop{background:#04090db0;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}html[data-device] body #vip-dialog.vip-premium .window-head{position:relative!important;flex:none!important;box-sizing:border-box!important;min-height:48px!important;height:48px!important;padding:8px 48px!important;margin:0!important;border:0!important;border-bottom:1px solid #c5a56899!important;background:linear-gradient(#29343d,#131d24)!important}html[data-device] body #vip-dialog.vip-premium .window-head h2{font:700 26px/30px Georgia,serif!important;margin:0!important;padding:0!important;text-align:center!important;color:#efe4ce!important}html[data-device] body #vip-dialog.vip-premium .window-crystal{display:none!important}html[data-device] body #vip-dialog.vip-premium .close-dialog{position:absolute!important;inset:2px 3px auto auto!important;width:44px!important;height:44px!important;min-height:44px!important;padding:0!important;background:linear-gradient(#29343d,#151c22)!important;border:1px solid #c5a56899!important;border-radius:4px!important;box-shadow:none!important;transform:none!important;color:#e5c98c!important;font:30px/1 sans-serif!important}html[data-device] body #vip-dialog.vip-premium #vip-content{flex:1 1 auto!important;min-height:0!important;max-height:none!important;display:flex!important;flex-direction:column!important;gap:7px!important;box-sizing:border-box!important;margin:0!important;padding:8px!important;overflow:hidden!important;background:none!important;color:#efe4ce!important}html[data-device] body #vip-dialog.vip-premium :is(p,span,small,b,strong,h3,th,td){color:inherit!important;box-sizing:border-box}html[data-device] body #vip-dialog.vip-premium :is(button,summary){touch-action:manipulation;cursor:pointer}html[data-device] body #vip-dialog.vip-premium button{box-sizing:border-box!important;min-height:44px!important;min-width:0!important;margin:0!important;clip-path:none!important;transform:none!important;letter-spacing:normal!important;text-transform:none!important;white-space:normal!important}html[data-device] body #vip-dialog.vip-premium button:disabled{opacity:.45!important;cursor:default}html[data-device] body #vip-dialog.vip-premium :is(button,summary):focus-visible{outline:2px solid #fce0a0;outline-offset:1px}html[data-device] body #vip-dialog.vip-premium .kp-vip-button{border:1px solid #e5c98c!important;border-radius:4px!important;background:linear-gradient(#e6c77e,#ad843a)!important;box-shadow:inset 0 0 0 2px #6c4e2355,inset 0 1px #fff1bc!important;color:#271e0f!important;padding:7px 10px!important;font:700 16px/1.15 Georgia,serif!important}html[data-device] body #vip-dialog.vip-premium .kp-vip-hero{display:grid;grid-template-columns:32% minmax(0,1fr);align-items:center;gap:10px;padding:9px;border:1px solid #c5a56888;background:linear-gradient(115deg,#26354066,#11191e99);flex:none}#vip-dialog .kp-vip-crown{position:relative;display:grid;place-items:center;align-self:stretch;align-content:center;gap:0;background:radial-gradient(ellipse,#bf93382b,transparent 70%)}#vip-dialog .kp-vip-crown img{width:100%;height:102px;max-width:170px;object-fit:contain;filter:drop-shadow(0 6px 6px #000b)}html[data-device] body #vip-dialog.vip-premium .kp-vip-crown-caption{display:block;width:85%;padding:3px;text-align:center;border:1px solid #c5a568;background:linear-gradient(#3b3021,#191c20);font:700 20px/1 Georgia,serif!important;color:#e5c98c!important}#vip-dialog .kp-vip-info{display:grid;gap:4px;min-width:0}html[data-device] body #vip-dialog.vip-premium .kp-vip-info h3{font:700 clamp(28px,7vw,44px)/1 Georgia,serif!important;margin:0 0 2px!important;color:#e5c98c!important}html[data-device] body #vip-dialog.vip-premium .kp-vip-status{font-size:15px!important;color:#ddab8e!important}html[data-device] body #vip-dialog.vip-premium .kp-vip-status.on{color:#9dd582!important}#vip-dialog .kp-vip-time,#vip-dialog .kp-vip-info>small{font-size:11px;line-height:1.25;overflow-wrap:anywhere}#vip-dialog .kp-vip-progress{height:19px;position:relative;overflow:hidden;border:1px solid #ac915d;border-radius:4px;background:#080e14}#vip-dialog .kp-vip-progress>i{position:absolute;inset:0 auto 0 0;background:linear-gradient(#f3dc9a,#b68a3c);border-radius:3px}html[data-device] body #vip-dialog.vip-premium .kp-vip-progress>span{position:relative;display:block;text-align:center;font:700 11px/17px PT Sans,sans-serif!important;color:#fff6df!important;text-shadow:0 1px 3px #000,0 0 4px #000}#vip-dialog .kp-vip-reward{flex:none;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:8px;padding:8px;border:1px solid #c5a56888;background:linear-gradient(120deg,#233c5944,#10191f99)}#vip-dialog .kp-vip-chest-art{width:100%;height:95px;object-fit:contain;filter:drop-shadow(0 4px 5px #0009)}#vip-dialog .kp-vip-reward-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:3px 6px;min-width:0;align-items:center}html[data-device] body #vip-dialog.vip-premium .kp-vip-reward h3{grid-column:1/-1;font:700 16px/1.15 Georgia,serif!important;margin:0!important}#vip-dialog .kp-vip-reward-copy>small{grid-column:1/-1;font-size:11px}#vip-dialog .kp-vip-rewards{display:flex;min-width:0;gap:4px;overflow-x:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#87734b #171d22;padding:2px 0}#vip-dialog .kp-vip-reward-item{flex:0 0 46px;display:grid;grid-template-columns:1fr auto;gap:0 2px;align-items:end;padding:2px;border:1px solid #c5a56877;background:#10181e;font-size:10px;text-align:center;border-radius:3px}#vip-dialog .kp-vip-reward-item img{grid-column:1/-1;justify-self:center;width:34px;height:29px;object-fit:contain}#vip-dialog .kp-vip-reward-item small{font-size:9px}html[data-device] body #vip-dialog.vip-premium .kp-vip-claim{font-size:12px!important;padding:6px!important;max-width:88px}#vip-dialog .kp-vip-tabs{flex:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}html[data-device] body #vip-dialog.vip-premium :is(.kp-vip-tab,.kp-vip-arrow,.kp-vip-secondary){background:linear-gradient(#2b3c49,#15212a)!important;border:1px solid #a78d5c!important;color:#efe4ce!important;border-radius:4px!important;box-shadow:inset 0 1px #ffffff0c!important;padding:6px!important;font:700 15px/1.2 Georgia,serif!important}html[data-device] body #vip-dialog.vip-premium .kp-vip-tab[aria-pressed=true]{background:linear-gradient(#ecd293,#b68b3f)!important;color:#241d11!important;border-color:#e5c98c!important}#vip-dialog .kp-vip-body{flex:1 1 0;min-height:80px;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-color:#87734b #171d22;border:1px solid #c5a56888;background:#10191f99;padding:6px}#vip-dialog .kp-vip-level-nav{display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:7px;margin-bottom:7px}#vip-dialog .kp-vip-level-nav>div{display:grid;justify-items:center;gap:2px}#vip-dialog .kp-vip-level-nav strong{font:700 19px/1.2 Georgia,serif}#vip-dialog .kp-vip-level-nav small{font-size:11px}html[data-device] body #vip-dialog.vip-premium .kp-vip-arrow{width:44px!important;font:28px/1 Georgia,serif!important;padding:0!important;color:#e5c98c!important}#vip-dialog .kp-vip-table{width:100%;table-layout:fixed;border-collapse:collapse;font:12px/1.25 PT Sans,sans-serif;font-variant-numeric:tabular-nums}#vip-dialog .kp-vip-table th:first-child{width:61%}#vip-dialog .kp-vip-table th,#vip-dialog .kp-vip-table td{padding:7px 4px;border:1px solid #9d8b6655;text-align:center;vertical-align:middle;font-weight:400;overflow-wrap:anywhere}#vip-dialog .kp-vip-table thead{background:#23303b}#vip-dialog .kp-vip-table thead th{padding:6px 3px;font-size:11px}#vip-dialog .kp-vip-table thead th:first-child{text-align:left;padding-left:8px}#vip-dialog .kp-vip-table tbody th{text-align:left}#vip-dialog .kp-vip-table td:last-child{background:#c5a5680c}html[data-device] body #vip-dialog.vip-premium .kp-vip-table .kp-vip-improved{color:#e5c98c!important;font-weight:700}#vip-dialog .kp-vip-perk{display:grid;grid-template-columns:31px minmax(0,1fr);align-items:center;gap:6px}#vip-dialog .kp-vip-perk img{width:31px;height:32px;object-fit:contain}#vip-dialog .kp-vip-chest-details{padding:7px 2px;font-size:12px}#vip-dialog .kp-vip-chest-details summary{min-height:44px;display:flex;align-items:center;gap:6px;color:#e5c98c}#vip-dialog .kp-vip-chest-details summary:before{content:"▸"}#vip-dialog .kp-vip-chest-details[open] summary:before{content:"▾"}#vip-dialog .kp-vip-chest-details p{margin:3px 0}#vip-dialog .kp-vip-footer{flex:none;display:grid;gap:4px;text-align:center}#vip-dialog .kp-vip-footer>button{width:100%}#vip-dialog .kp-vip-footer>small{font-size:10px;line-height:1.25}html[data-device] body #vip-dialog.vip-premium .vip-error{color:#ffa98e!important;font:12px/1.25 PT Sans,sans-serif!important;margin:0!important;padding:0!important}#vip-dialog .vip-error:empty{display:none}#vip-dialog .kp-vip-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:8px 0}#vip-dialog .kp-vip-card{display:grid;justify-items:center;align-content:start;gap:5px;padding:10px 7px;border:1px solid #c5a56888;background:linear-gradient(#26323b,#141e25)}#vip-dialog .kp-vip-card img{width:70px;height:60px;object-fit:contain}#vip-dialog .kp-vip-card strong{font:700 22px/1.15 Georgia,serif}#vip-dialog .kp-vip-card small{font-size:11px;text-align:center}#vip-dialog .kp-vip-card button{width:100%}#vip-dialog .kp-vip-card .currency-icon{width:18px;height:18px;vertical-align:middle}#vip-dialog .kp-vip-balance{margin:0 0 5px;font-weight:700}#vip-dialog .kp-vip-note{margin:0;font-size:12px}#vip-dialog .kp-vip-secondary{width:100%}#vip-dialog .kp-vip-test{padding:8px 0}#vip-dialog .kp-vip-test summary{min-height:44px;padding:10px 0}#vip-dialog .kp-vip-test button{width:100%;margin-bottom:5px!important}#vip-dialog .kp-vip-sr{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden;white-space:nowrap}@media(max-width:600px){html[data-device] body #vip-dialog.vip-premium:not(.bank-window){width:100vw!important;max-width:100vw!important;height:100dvh!important;max-height:100dvh!important;margin:0!important;border-radius:0!important;border-left:0!important;border-right:0!important;padding-top:env(safe-area-inset-top,0px)!important;padding-bottom:env(safe-area-inset-bottom,0px)!important}}@media(max-width:350px){#vip-dialog .kp-vip-hero{grid-template-columns:28% minmax(0,1fr);gap:6px;padding:7px}#vip-dialog .kp-vip-crown img{height:85px}#vip-dialog .kp-vip-reward{grid-template-columns:56px minmax(0,1fr);gap:5px;padding:6px}#vip-dialog .kp-vip-chest-art{height:78px}html[data-device] body #vip-dialog.vip-premium .kp-vip-reward h3{font-size:14px!important}html[data-device] body #vip-dialog.vip-premium .kp-vip-tab{font-size:13px!important}#vip-dialog .kp-vip-perk{grid-template-columns:25px minmax(0,1fr);gap:4px}#vip-dialog .kp-vip-perk img{width:25px;height:28px}#vip-dialog .kp-vip-table{font-size:11px}#vip-dialog .kp-vip-table th:first-child{width:58%}}@media(max-height:700px){html[data-device] body #vip-dialog.vip-premium #vip-content{gap:5px!important;padding:6px!important}#vip-dialog .kp-vip-hero{padding:6px;gap:6px}#vip-dialog .kp-vip-crown img{height:80px}html[data-device] body #vip-dialog.vip-premium .kp-vip-info h3{font-size:28px!important}#vip-dialog .kp-vip-info{gap:3px}#vip-dialog .kp-vip-reward{padding:5px;grid-template-columns:54px minmax(0,1fr)}#vip-dialog .kp-vip-chest-art{height:70px}#vip-dialog .kp-vip-reward-item img{height:22px}#vip-dialog .kp-vip-footer>small{font-size:9px}}@media(max-height:500px){html[data-device] body #vip-dialog.vip-premium #vip-content{overflow-y:auto!important}#vip-dialog .kp-vip-body{flex:none;min-height:150px;overflow:visible}}#vip-dialog .kp-vip-reward-item em{grid-column:1/-1;font:9px/1.2 PT Sans,sans-serif;text-align:center;color:#e5c98c;padding-top:1px}.quest-book{position:fixed;inset:0;margin:auto;width:calc(var(--u)*1080);max-width:96vw;height:calc(var(--u)*540);max-height:96vh;padding:0;border:0;background:transparent;overflow:visible;font-family:Cormorant Garamond,serif;color:#3a2208}.quest-book::backdrop{background:#0c0906a0}.qb-pages{display:flex;height:100%;gap:0;filter:drop-shadow(0 10px 30px #000a)}.qb-left,.qb-right{flex:1;padding:calc(var(--u)*22) calc(var(--u)*34);background:radial-gradient(ellipse at center,#f3e6c2,#e3cd98 85%);border:calc(var(--u)*3) solid #c4a466;overflow:auto;font-variant-numeric:lining-nums}.qb-left{border-radius:calc(var(--u)*10) 0 0 calc(var(--u)*10);box-shadow:inset calc(var(--u)*-14) 0 calc(var(--u)*16) -calc(var(--u)*8) #a9884e}.qb-right{border-radius:0 calc(var(--u)*10) calc(var(--u)*10) 0;border-left:0}.qb-chapter{text-align:center;color:#7a6440;font-weight:700;font-size:calc(var(--u)*20)}.qb-banner{display:flex;align-items:center;margin:calc(var(--u)*14) 0 calc(var(--u)*4)}.qb-shield{flex:none;width:calc(var(--u)*62);height:calc(var(--u)*76);display:grid;place-items:center;background:linear-gradient(#355786,#1d3f78);clip-path:polygon(0 0,100% 0,100% 70%,50% 100%,0 70%);color:#ffe9a8;font-weight:700;font-size:calc(var(--u)*32);position:relative;z-index:1;border:2px solid #d7b25c}.qb-ribbon{flex:1;margin-left:calc(var(--u)*-8);padding:calc(var(--u)*8) calc(var(--u)*14);background:linear-gradient(#4c5d2b,#3c4a22);border:calc(var(--u)*2) solid #c9a24a;color:#ffe9a8;text-align:center;font-size:calc(var(--u)*23);text-shadow:0 1px 0 #2a2a0a}.qb-count{text-align:right;font-style:italic;font-weight:700;font-size:calc(var(--u)*18)}.qb-story{font-style:italic;font-size:calc(var(--u)*17);margin:calc(var(--u)*10) 0;color:#4a3a1a}.qb-toc{list-style:none;padding:0;margin:calc(var(--u)*6) 0;font-family:PT Sans,sans-serif;font-size:calc(var(--u)*14)}.qb-toc li{display:flex;justify-content:space-between;gap:8px;padding:calc(var(--u)*3) calc(var(--u)*6);border-bottom:1px solid #d1b886;cursor:pointer}.qb-toc li em{font-style:italic;color:#6b4a14}.qb-toc-locked{color:#655b49}.qb-toc-on{background:#f8efd6;font-weight:700}.qb-motto{text-align:center;font-style:italic;font-weight:700;font-size:calc(var(--u)*17);margin-top:calc(var(--u)*10)}.qb-bar{margin:0 0 calc(var(--u)*8);padding:calc(var(--u)*4);text-align:center;background:linear-gradient(#715330,#634725);color:#fff3cf;font-size:calc(var(--u)*22);border-radius:2px}.qb-reward{display:flex;justify-content:space-around;margin-bottom:calc(var(--u)*6)}.qb-reward div{display:grid;justify-items:center}.qb-reward img{width:calc(var(--u)*46);height:calc(var(--u)*40);object-fit:contain}.qb-reward b{font-size:calc(var(--u)*24)}.qb-reward i{font-style:normal;font-size:calc(var(--u)*30);line-height:calc(var(--u)*40)}.qb-secret{text-align:center;color:#8f3932;font-weight:700;font-size:calc(var(--u)*24)}.qb-secret-note{text-align:center;color:#8f3932;font-style:italic;font-size:calc(var(--u)*16);margin-bottom:calc(var(--u)*10)}.qb-tasks{list-style:none;margin:0;padding:0}.qb-tasks li{display:flex;align-items:center;gap:calc(var(--u)*10);padding:calc(var(--u)*7) 0;border-bottom:1px solid #d1b886}.qb-mark{color:#b0302a;font-size:calc(var(--u)*18)}.qb-label{flex:1;color:#9a1c1c;font-weight:700;font-size:calc(var(--u)*19)}.qb-side{display:grid;justify-items:end}.qb-side em{font-style:italic;font-size:calc(var(--u)*17);color:#5a4a2a}.qb-help{border:0;border-bottom:1px solid #1d3f78;background:none;color:#1d3f78;font:700 italic calc(var(--u)*17) "Cormorant Garamond",serif;cursor:pointer;padding:0}.qb-done .qb-label,.qb-done .qb-mark{color:#655b49;font-weight:600}.qb-claim{display:block;margin:calc(var(--u)*12) auto 0;padding:0 calc(var(--u)*24);font:700 calc(var(--u)*21) "Cormorant Garamond",serif;color:#fff;border-radius:4px;cursor:pointer;min-height:36px}.qb-locked{text-align:center;font-style:italic;color:#7a6440;margin-top:calc(var(--u)*10)}.qb-speedup{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:calc(var(--u)*12);font:700 calc(var(--u)*16) "PT Sans",sans-serif}.qb-close{position:absolute;right:calc(var(--u)*-10);top:calc(var(--u)*-12);width:calc(var(--u)*56);height:calc(var(--u)*66);border:0;background:linear-gradient(#e03030,#8e1212);clip-path:polygon(0 0,100% 0,100% 85%,50% 100%,0 85%);color:#f6d27a;font-size:calc(var(--u)*30);cursor:pointer;z-index:2}.qb-prev,.qb-next{position:absolute;top:45%;width:calc(var(--u)*44);height:calc(var(--u)*80);border:0;background:linear-gradient(#d03a2a,#8e1212);color:#f6d27a;font-size:calc(var(--u)*40);cursor:pointer}.qb-prev{left:calc(var(--u)*-30);clip-path:polygon(100% 0,100% 100%,30% 100%,0 50%,30% 0)}.qb-next{right:calc(var(--u)*-30);clip-path:polygon(0 0,70% 0,100% 50%,70% 100%,0 100%)}.qb-prev[hidden],.qb-next[hidden]{display:none}.hud .ticker.chat-line{cursor:pointer;overflow:hidden}.hud .ticker.chat-line span{animation:none;transform:none;flex:1;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-left:4px}.hud .ticker.chat-line:hover span{color:#fff}.chat-window{position:fixed;inset:auto 12px 12px auto;margin:0;width:min(560px,calc(100vw - 24px));height:min(420px,calc(100vh - 24px));padding:0;border:2px solid #b7954c;border-radius:8px;background:#122220f2;color:#e9e1c8;font:14px PT Sans,sans-serif;display:none;flex-direction:column}.chat-window[open]{display:flex}.chat-window::backdrop{background:#0006}.chat-window header{display:flex;gap:4px;padding:6px;border-bottom:1px solid #b7954c55}.chat-window header button{border:1px solid #b7954c88;background:#1d3330;color:#e9e1c8;border-radius:4px;padding:6px 14px;font:700 14px PT Sans,sans-serif;cursor:pointer;min-height:32px}.chat-window header button.on{background:#b7954c;color:#1a1206}.chat-window .chat-close{margin-left:auto;background:#7a1a14;border-color:#c0625a}.chat-list{flex:1;min-height:0;overflow-y:auto;margin:0;padding:8px 10px 12px;list-style:none;scroll-padding-bottom:12px}.chat-list li{padding:3px 0;line-height:1.35;overflow-wrap:anywhere}.chat-list li time{color:#8aa08a;font-size:12px;margin-right:6px}.chat-list li b{color:#f3d27a}.chat-list li.mine b{color:#8fdfff}.chat-list li.empty{color:#8aa08a;font-style:italic}.chat-note{margin:0;padding:0 10px;color:#ffb36b;min-height:0}.chat-form{display:flex;gap:6px;padding:8px;border-top:1px solid #b7954c55}.chat-form[hidden]{display:none}.chat-form input{flex:1;min-width:0;padding:8px;border:1px solid #b7954c88;border-radius:4px;background:#0c1716;color:#fff;font:14px PT Sans,sans-serif}.chat-form button{padding:8px 14px;border:0;border-radius:4px;background:linear-gradient(#6fcf3a,#2e7d12);color:#fff;font:700 14px PT Sans,sans-serif;cursor:pointer}.chat-list li{display:flex;gap:8px;align-items:flex-start;padding:5px 0}.chat-avatar{flex:none;width:34px;height:34px;border-radius:50%;border:2px solid #d7b25c;object-fit:cover;background:#2a3a33}.chat-msg{flex:1;min-width:0}.chat-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.chat-head b{color:#f3d27a}.chat-list li.mine .chat-head b{color:#8fdfff}.chat-lvl{color:#b8c9b0;font-size:12px}.chat-vip{padding:0 5px;border-radius:3px;background:linear-gradient(#ffe27a,#b07a1c);color:#3a2208;font:700 11px PT Sans,sans-serif}.chat-head time{margin-left:auto;color:#8aa08a;font-size:11px}.chat-text{margin:2px 0 0;overflow-wrap:anywhere}.chat-window[open]{overflow:visible}.chat-nick{padding:0;border:0;background:none;box-shadow:none;min-height:0;color:#f3d27a;font:700 14px PT Sans,sans-serif;cursor:pointer;text-decoration:underline dotted #f3d27a88}.chat-nick:hover{color:#fff1b8}.chat-avatar.clickable{cursor:pointer}.chat-menu{position:absolute;right:calc(100% + 6px);width:220px;display:grid;justify-items:stretch;padding:8px 0 4px;border:2px solid #8c6a32;border-radius:6px;background:linear-gradient(#3a2412,#24160a);box-shadow:0 8px 24px #000a;z-index:5}.chat-menu-face{justify-self:center;width:52px;height:52px;border-radius:50%;border:2px solid #c9a24a;object-fit:cover;margin-top:-30px;background:#24160a}.chat-menu-name{text-align:center;padding:4px 8px 6px;color:#f3d27a;font:700 18px Cormorant Garamond,serif;border-bottom:1px solid #8c6a3288}.chat-menu-card{display:grid;justify-items:center;padding:4px;color:#e9e1c8;font:13px PT Sans,sans-serif;border-bottom:1px solid #8c6a3288}.chat-menu-item{display:grid;justify-items:center;min-height:38px;padding:4px 8px;border:0;border-bottom:1px solid #8c6a3255;border-radius:0;background:transparent;box-shadow:none;color:#e9d9b4;font:italic 700 16px Cormorant Garamond,serif;cursor:pointer}.chat-menu-item:hover:not(:disabled){background:#ffffff14;color:#fff3d6}.chat-menu-item:last-child{border-bottom:0}.chat-menu-item:disabled{opacity:.55;cursor:default}.chat-menu-item small{font:italic 11px PT Sans,sans-serif;color:#b8a07a}.chat-window.kb-open{bottom:calc(var(--kb,0px) + 4px)!important;top:auto!important;height:min(var(--chat-h,420px),calc(100dvh - var(--kb,0px) - 8px))!important;max-height:none}.chat-window.kb-open header{display:none}.chat-window.kb-open .chat-form{padding:3px!important}.chat-list li.system .chat-text,.chat-list li.system .chat-head b{color:#7dff6a!important}.chat-system-icon{display:grid;place-items:center;width:34px;height:34px;flex:none;border-radius:50%;background:radial-gradient(#5a5a5a,#2a2a2a);border:2px solid #8c8c8c;color:#ddd;font:700 20px PT Sans,sans-serif}html[data-device=desktop] body .hud .ticker.chat-desktop{height:auto!important;min-height:58px!important;max-height:170px;align-items:flex-start!important;padding:8px 10px!important}html[data-device=desktop] body .hud .ticker.chat-desktop>span{display:flex!important;flex-direction:column;gap:2px;white-space:normal!important;overflow:hidden}html[data-device=desktop] body .hud .ticker.chat-desktop .desk-chat-message{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:13px;line-height:1.35;color:#efe6d0}html[data-device=desktop] body .hud .ticker.chat-desktop .desk-chat-message b{color:#f3d482}.skills-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px 16px;margin:6px 0 10px;font:15px PT Sans,sans-serif;color:#2b1a07}.skills-head b{font:700 20px Cormorant Garamond,serif}.skills-free{padding:2px 10px;border-radius:12px;background:linear-gradient(#ffe27a,#c48a26);color:#3a2208;font-weight:700}.skills-reset{margin-left:auto}.skills-branches{display:grid;grid-template-columns:1fr 1.6fr;gap:14px;max-height:min(52vh,360px);overflow-y:auto}.skills-branch{border:1px solid #b7954c;border-radius:6px;padding:6px;background:#fff6dd}.skills-branch h4{margin:0 0 6px;text-align:center;font:700 20px Cormorant Garamond,serif;color:#3a2208}.skills-row{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;padding:6px 0;border-top:1px dashed #d1b886}.skills-row:first-of-type{border-top:0}.skill-node{position:relative;width:118px;min-height:84px;padding:6px 6px 8px;border:2px solid #b7954c;border-radius:10px;background:linear-gradient(#fbf3dc,#efdfb6);text-align:center;display:grid;gap:2px;align-content:start}.skill-node.keystone{width:150px;border-color:#c9a24a;background:linear-gradient(#fff1c0,#e9c46a);box-shadow:0 0 0 2px #f3d27a88}.skill-node.locked{filter:grayscale(.8);opacity:.6}.skill-node.maxed{border-color:#2f8f98;box-shadow:0 0 6px #2fd0e6}.skill-name{font:700 14px/1.15 Cormorant Garamond,serif;color:#3a2208}.skill-level{font:700 13px PT Sans,sans-serif;color:#1d3f78;font-variant-numeric:lining-nums}.skill-effect{font:12px/1.2 PT Sans,sans-serif;color:#4a3a1a}.skill-plus{position:absolute;right:-8px;top:-8px;width:26px;height:26px;min-height:0;padding:0;border-radius:50%;border:2px solid #fff;background:linear-gradient(#6fcf3a,#2e7d12);color:#fff;font:700 18px/1 PT Sans,sans-serif;cursor:pointer}body #shell-dialog.profile-window:has(.hero-skills){width:min(1080px,calc(100vw - 24px))!important;max-width:none!important}body #shell-dialog .hero-skills .skills-branches{max-height:min(58vh,420px)}.hs-head{display:flex;align-items:center;justify-content:center;gap:10px;margin:2px 0 6px}.hs-free{font:italic 700 19px Cormorant Garamond,serif;color:#8a5a12}.hs-reset{width:34px;height:30px;min-height:0;padding:0;border-radius:6px;background:linear-gradient(#7fc04a,#3d7a1a);color:#fff;font:700 18px/1 sans-serif;border:1px solid #2e5d12}.hs-meta{font:12px PT Sans,sans-serif;color:#6b4a14}.hs-scroll{overflow-x:auto;overflow-y:hidden;border-top:2px solid #8c6a32;border-bottom:2px solid #8c6a32;background:radial-gradient(ellipse at 50% 50%,#f6ecd2,#e2cd98)}.hs-canvas{position:relative}.hs-lines{position:absolute;inset:0;pointer-events:none}.hs-lines path{fill:none;stroke:#b7a787;stroke-width:3}.hs-lines path.on{stroke:#d9a93a}.hs-node{position:absolute;display:grid;justify-items:center;width:84px;padding:0;border:0;background:none;box-shadow:none;transform:none;cursor:pointer}.hs-medal{position:relative;display:grid;place-items:center;width:84px;height:84px;border-radius:50%;border:4px solid #9aa0a6;background:radial-gradient(circle at 40% 35%,#5a6b6a,#2a3534);box-shadow:0 3px 8px #0007}.hs-node.learned .hs-medal{border-color:#d9a93a;background:radial-gradient(circle at 40% 35%,#8fb06a,#3d5a28)}.hs-node.maxed .hs-medal{border-color:#2fd0e6;box-shadow:0 0 12px #2fd0e6}.hs-node.on .hs-medal{outline:3px solid #7ff3ff;outline-offset:2px}.hs-icon{font-size:36px;filter:drop-shadow(0 2px 2px #000a)}.hs-node.locked .hs-icon{filter:grayscale(.8) brightness(.7)}.hs-lock{position:absolute;font-size:30px;text-shadow:0 2px 4px #000}.hs-up{position:absolute;bottom:-6px;width:26px;height:26px;border-radius:50%;background:#fff3d6;color:#3a2208;font:700 17px/26px PT Sans,sans-serif;text-align:center;box-shadow:0 1px 3px #0008}.hs-level{position:absolute;top:-6px;right:-10px;padding:0 6px;border-radius:9px;background:#3a2208;color:#ffe7a6;font:700 11px/18px PT Sans,sans-serif}.hs-name{margin-top:4px;width:120px;font:700 14px/1.1 Cormorant Garamond,serif;color:#8a5a12;text-align:center}.hs-foot{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;padding:8px 10px 2px}.hs-info{display:grid;gap:2px;font:14px PT Sans,sans-serif;color:#2b1a07}.hs-title{font:700 18px Cormorant Garamond,serif;color:#3a2208}.hs-next{color:#2e6e12}.hs-req{color:#8a2a12}.hs-pick{grid-column:1/-1;text-align:center;font:700 16px Cormorant Garamond,serif;color:#8a5a12}.hs-side{display:grid;justify-items:center;gap:3px}.hs-cost{font:italic 13px PT Sans,sans-serif;color:#8a5a12}.hs-learn{min-width:170px;min-height:40px}.hs-max{color:#1d5f86}.hs-scroll{background:radial-gradient(ellipse at 25% 20%,#71806a55,transparent 55%),radial-gradient(ellipse at 75% 80%,#8b683a66,transparent 60%),linear-gradient(120deg,#243b36,#344c45 50%,#263a35);border-color:#a9884c;scrollbar-color:#bd9c59 #263a35}.hs-legend{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;padding:4px 8px 10px;font:12px/1.4 PT Sans,sans-serif;color:#533c1d}.hs-legend-ready{color:#2e611b;font-weight:700}.hs-medal{box-sizing:border-box;overflow:visible;border-color:#87948e;background:#203c3b}.hs-art{position:absolute;inset:0;border-radius:50%;background-image:url(/art/hero-skills/skills-painted-v2.webp);background-size:600% 500%;background-repeat:no-repeat}.hs-node.locked .hs-art{filter:grayscale(.65) brightness(.44)}.hs-node.available .hs-medal{border-color:#c2e273;box-shadow:0 0 0 2px #578c29,0 0 20px #bcf58c88,0 4px 8px #0008}.hs-node.learned .hs-medal{border-color:#d9b55e}.hs-node.maxed .hs-medal{border-color:#7bddd0;box-shadow:0 0 14px #5ccdb777}.hs-node.keystone .hs-medal{border-style:double;border-width:6px}.hs-node.on .hs-medal{outline:3px solid #f9e5a2;outline-offset:4px}.hs-node:focus-visible{outline:none}.hs-node:focus-visible .hs-medal{outline:3px solid #fff;outline-offset:5px}.hs-node:hover .hs-medal{transform:translateY(-2px)}.hs-medal{transition:transform .18s,box-shadow .18s}.hs-lock{position:absolute;top:44%;left:34%;width:32%;height:29%;border-radius:4px;background:linear-gradient(#fff6d6,#b6af91);box-shadow:0 2px 5px #000b;font-size:0}.hs-lock:before{content:"";position:absolute;width:60%;height:70%;left:20%;bottom:85%;border:3px solid #e5dcc0;border-bottom:0;border-radius:12px 12px 0 0;box-sizing:border-box}.hs-lock:after{content:"";position:absolute;width:4px;height:9px;border-radius:4px;top:30%;left:calc(50% - 2px);background:#35403c}.hs-up{z-index:1;bottom:-8px;border:2px solid #ddf2ad;background:linear-gradient(#e6f5b6,#93bb48);color:#263e1d;box-sizing:content-box}.hs-level{z-index:1;border:1px solid #ac8f50;top:-5px;right:-6px;font-size:12px}.hs-name{color:#ffe8aa;text-shadow:0 1px 3px #000;width:114px;font-size:15px;line-height:1.15;margin-top:12px}.hs-status{font:11px/1.3 PT Sans,sans-serif;color:#d5d8ce;margin-top:3px}.hs-node.available .hs-status{color:#dbf5a7;font-weight:700}.hs-node.maxed .hs-status{color:#a7e9dd}.hs-lines path{stroke:#88988b;stroke-width:2;opacity:.6}.hs-lines path.on{stroke:#c3d881;stroke-width:3;opacity:1}.hs-edge-label{font:700 11px PT Sans,sans-serif;fill:#e4d4a9;stroke:#263a35;stroke-width:4px;paint-order:stroke;stroke-linejoin:round;text-anchor:middle}.hs-edge-label.met{fill:#dcf6a1}.hs-head{flex-wrap:wrap;padding:4px 8px}.hs-reset{min-width:44px;min-height:44px}.hs-learn{min-height:44px}.hs-learn:disabled{opacity:.65;cursor:default}.hs-foot{padding:12px;background:linear-gradient(#fff8e6,#ead9ae);border-bottom:1px solid #a9884c}.hs-info{gap:5px}.hs-req{font-size:12px}.hs-canvas{margin-bottom:20px}@media(prefers-reduced-motion:reduce){.hs-medal{transition:none}.hs-node:hover .hs-medal{transform:none}}.hs-branches{display:flex;justify-content:center;gap:12px;padding:0 8px 8px}.hs-branch-link{min-height:44px;padding:6px 24px;border:1px solid #a9884c;background:linear-gradient(#fff6d5,#dcc18a);color:#4a3116;font:700 16px Georgia,serif;border-radius:3px}.hs-branch-link:focus-visible{outline:3px solid #246b70;outline-offset:2px}.hs-name,.hs-status{position:relative;z-index:1;background:#2b4038dd;border-radius:3px;padding:1px 3px}.hs-node.available .hs-art:after{content:"";position:absolute;inset:0;border-radius:50%;box-shadow:inset 0 0 14px #e9fa9944}.hs-art{pointer-events:none}.hs-tier{position:absolute;left:-6px;top:-5px;z-index:1;min-width:20px;padding:2px;border:1px solid #e1bd6d;border-radius:50%;background:#604523;color:#ffe6a6;font:700 12px/18px Georgia,serif;text-align:center}.hs-lines path{opacity:.24;stroke-width:2}.hs-lines path.on{opacity:.35;stroke-width:2}.hs-lines path.focused{opacity:1;stroke:#e1c780;stroke-width:3}.hs-lines path.on.focused{stroke:#c3e88c;opacity:1}.hs-medal{border-width:3px;border-color:#91948a;box-shadow:0 3px 7px #0009,inset 0 0 0 1px #e0d4ad55}.hs-node.available .hs-medal{border-color:#bbca83;box-shadow:0 0 0 1px #657849,0 0 10px #b6c88744,0 4px 8px #0008}.hs-node.learned .hs-medal{border-color:#c4a568}.hs-node.maxed .hs-medal{border-color:#d4c799;box-shadow:0 0 0 1px #89754b,0 3px 8px #0008}.hs-node.on .hs-medal{outline:2px solid #ecdbab;outline-offset:3px}.hs-node.locked .hs-art{filter:grayscale(.35) brightness(.68)}.hs-node.available .hs-art:after{box-shadow:inset 0 0 10px #e9d99c22}.hs-up{background:linear-gradient(#d6d5a7,#8c9b61);border-color:#e1ddbd;color:#23301e}.hs-node.maxed .hs-status{color:#e4d9ac}.hs-detail{display:flex;align-items:center;gap:16px;min-width:0}.hs-selected-art{position:relative;flex:0 0 100px;width:100px;height:100px;overflow:hidden;border:2px solid #a58b53;border-radius:50%;box-shadow:0 3px 8px #392b2255}.hs-info{min-width:0}.kp-mastery{margin:10px 0;padding:14px;border:1px solid #b39355;border-radius:8px;background:#1c3039;color:#f5e5c1}.kp-mastery p{margin:8px 0;line-height:1.4}.prison-me{display:grid;gap:4px;padding:10px 12px;border:1px solid #9a7a3e;border-radius:8px;background:#f6ead0;color:#2b1a07}.prison-me.bad{border-color:#a8483a;background:#f6dcd2}.prison-me b{font:700 17px Cormorant Garamond,serif}.prison-me span{font:14px PT Sans,sans-serif}.prison-me button{justify-self:start;min-height:36px;padding:2px 16px}.prison-head{margin:10px 0 4px;font:700 17px Cormorant Garamond,serif}.prison-row{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:10px;padding:6px 10px;border-bottom:1px solid #b7954c55}.prison-info{display:grid}.prison-info small{color:#6b5530}.prison-tools{display:flex;gap:6px}.prison-tools button{min-height:32px;padding:2px 12px}.prison-tools .btn-red{background:linear-gradient(#d2483a,#8a1f16)!important;color:#fff!important;border:1px solid #5e1410}:root{--control-surface:#172626;--control-raised:#263a38;--control-edge:#d9bd7859;--control-gold:#efd29a;--control-text:#f8f0dc;--control-accent:#81c7bc;--control-focus:#b0e5dc;--control-radius:12px;--control-shadow:0 5px 18px #060c0c55;--control-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}.hud :is(.medal,.bbtn,.quest,.pbtn){cursor:pointer;touch-action:manipulation;transition:background-color .18s,border-color .18s,box-shadow .18s;color:var(--control-gold);transform:none}.hud :is(.medal,.bbtn,.quest,.pbtn):focus-visible{outline:2px solid var(--control-focus);outline-offset:3px}.hud .menu{right:max(8px,env(safe-area-inset-right));top:max(8px,env(safe-area-inset-top));bottom:max(8px,env(safe-area-inset-bottom));width:max(64px,calc(var(--u)*60));gap:5px}.hud .medal{width:100%;min-height:44px;height:clamp(44px,calc(var(--u)*65),76px);flex:none;justify-content:center;gap:2px;padding:3px 2px;border:1px solid var(--control-edge);border-radius:var(--control-radius);background:linear-gradient(145deg,#30423af5,#142321f2);box-shadow:inset 0 1px #fff1,var(--control-shadow)}.hud .medal i,.hud .medal.olive i,.hud .medal.red i{width:clamp(26px,calc(var(--u)*31),42px);height:clamp(26px,calc(var(--u)*31),42px);border:0;background:none;border-radius:0;box-shadow:none}.hud .medal .hud-art{width:100%;height:100%;filter:none;object-fit:contain}.hud .medal span{font:600 clamp(10px,calc(var(--u)*11),13px)/1.1 var(--control-font);color:var(--control-text);text-shadow:none;white-space:nowrap}.hud .medal:hover,.hud .quest:hover,.hud .pbtn:hover,.hud .bbtn:hover{background:linear-gradient(145deg,#405b50,#203933);border-color:#e4c784b3;box-shadow:inset 0 1px #fff2,0 0 0 1px #e8ce8a22,var(--control-shadow)}.hud .medal:active,.hud .quest:active,.hud .pbtn:active,.hud .bbtn:active{background:#38574d;box-shadow:inset 0 2px 8px #0005}.hud .medal[data-n]:after,.hud .bbtn[data-n]:after{right:-4px;top:-4px;bottom:auto;min-width:18px;height:18px;border:2px solid #172626;background:#b54e42;box-shadow:0 2px 5px #0005;font:700 10px/14px var(--control-font);color:#fff}.hud .side{left:12px;top:calc(var(--u)*177);gap:12px;z-index:3}.hud .quest{width:clamp(44px,calc(var(--u)*48),62px);height:clamp(44px,calc(var(--u)*48),62px);border-radius:14px;border:1px solid var(--control-edge);background:linear-gradient(145deg,#30423af5,#142321f2);box-shadow:inset 0 1px #fff1,var(--control-shadow)}.hud .quest .hud-art{width:56%;height:56%;filter:none}.hud .quest em{right:-5px;bottom:-4px;padding:3px 6px;border:1px solid #bda36d;border-radius:7px;background:#263b32;color:#f6dda6;font:700 12px/1 var(--control-font);text-shadow:none;min-width:20px;text-align:center}.hud .bar{left:max(12px,env(safe-area-inset-left));bottom:max(12px,env(safe-area-inset-bottom));height:auto;width:auto;gap:5px;align-items:center;padding:5px;border:1px solid var(--control-edge);border-radius:16px;background:#112321ed;box-shadow:inset 0 1px #fff1,var(--control-shadow)}.hud .bbtn{display:flex;flex-direction:column;justify-content:center;gap:4px;width:clamp(48px,calc(var(--u)*56),76px);height:clamp(48px,calc(var(--u)*54),68px);border:1px solid transparent;border-radius:11px;background:transparent}.hud .bbtn .hud-art{width:clamp(23px,calc(var(--u)*25),31px);height:clamp(23px,calc(var(--u)*25),31px);filter:none}.control-caption{font:600 clamp(10px,calc(var(--u)*11),13px)/1 var(--control-font);color:var(--control-text)}.hud .bbtn[aria-expanded=true]{background:#35564b;border-color:#acccaa77;box-shadow:inset 0 1px #fff1}.hud .bbtn[aria-expanded=true] .control-caption{color:#dcf6e9}.hud .bbtn .tt{background:#172626;border:1px solid #d9bd7866;border-radius:8px;padding:7px 10px;font:12px var(--control-font);color:#f8f0dc;box-shadow:var(--control-shadow)}.hud .bbtn:focus-visible .tt{display:block}.hud .promo{right:calc(max(64px,var(--u)*60) + 24px);bottom:38px;gap:7px;align-items:flex-end}.hud .pbtn{width:clamp(44px,calc(var(--u)*51),66px);min-height:44px;padding:6px 3px 4px;border:1px solid var(--control-edge);border-radius:12px;background:linear-gradient(145deg,#30423af5,#142321f2);box-shadow:inset 0 1px #fff1,var(--control-shadow)}.hud .pbtn .ic{width:clamp(24px,calc(var(--u)*27),34px);height:clamp(24px,calc(var(--u)*27),34px)}.hud .pbtn .hud-art{width:100%;height:100%;filter:none}.hud .pbtn b{display:block;margin-top:4px;padding:0;background:none;border:0;font:600 clamp(10px,calc(var(--u)*10),12px)/1 var(--control-font);color:var(--control-text);text-shadow:none}.hud .pbtn .sale{top:-13px;font:700 9px/1 var(--control-font);color:#f6d59b;letter-spacing:.08em}.hud .ticker{left:calc(clamp(48px,var(--u)*56,76px)*4 + 43px);right:calc(max(64px,var(--u)*60) + 16px);height:22px;border:0;border-radius:8px 8px 0 0;background:#112321d9}.hud .ticker span{font:12px var(--control-font);color:#d3dfc6;text-shadow:none}.hud .ticker .q{background:transparent;width:20px;height:20px}.game-dialog .primary,.game-dialog .btn-blue,.game-dialog .recruit-hire,.quest-book .qb-claim,.auth-card .primary{border:1px solid #86bfb099;border-radius:9px;background:linear-gradient(180deg,#397465,#285549);color:#fff9e8;box-shadow:inset 0 1px #d5f5dc33,0 3px 8px #0b272a33;font-family:var(--control-font);font-style:normal;font-weight:700;letter-spacing:.01em;min-height:44px;transform:none;transition:background-color .18s,border-color .18s,box-shadow .18s}.game-dialog .primary:hover,.game-dialog .btn-blue:hover,.game-dialog .recruit-hire:hover,.quest-book .qb-claim:hover,.auth-card .primary:hover{background:linear-gradient(#478b78,#326653);border-color:#aedac3;box-shadow:inset 0 1px #e2fff233,0 0 0 2px #77b69b22}.game-dialog .primary:active,.game-dialog .btn-blue:active,.game-dialog .recruit-hire:active,.quest-book .qb-claim:active,.auth-card .primary:active{background:#244f43;transform:none;box-shadow:inset 0 2px 5px #08291a66}.game-dialog .quiet{border:1px solid #99875899;border-radius:9px;background:#f4e9ce99;color:#514323;box-shadow:none;transform:none;font-family:var(--control-font);font-style:normal}.game-dialog .quiet:hover{background:#fff5db;border-color:#877041}.game-dialog :is(.primary,.btn-blue,.quiet,.recruit-hire):disabled{opacity:1;background:#d7d0bb;color:#77715f;border-color:#bcb49d;box-shadow:none;cursor:not-allowed}.science-window :is(.research-submit,.research-submit:hover):disabled{background:#293c37;color:#b6baac;border-color:#727b6555}.game-dialog .window-head .close-dialog,.quest-book .qb-close{inset:0 10px 0 auto;margin:auto 0;width:44px;height:44px;min-height:0;border:1px solid #85594280;border-radius:10px;background:#5b3329;color:#f8e4c6;font:400 26px/1 var(--control-font);box-shadow:inset 0 1px #fff1;transform:none;clip-path:none;padding:0;transition:background .18s}.game-dialog .window-head .close-dialog:hover,.quest-book .qb-close:hover{background:#7c4033;border-color:#a7634a}.quest-book .qb-close{top:8px;bottom:auto;right:8px}.game-dialog :is(.recruit-tabs,.building-tabs,.profile-tabs) button{background:#e4d7b7;border:1px solid #b79a6c;border-radius:7px;color:#685532;box-shadow:none;transform:none;font:700 max(12px,calc(var(--u)*15)) var(--control-font);padding:4px 12px}.game-dialog :is(.recruit-tabs,.building-tabs,.profile-tabs) button[aria-pressed=true]{background:#2c5247;border-color:#6b9d83;color:#fff0cf;box-shadow:inset 0 1px #d2e9bd22}.science-window .research-branch{border:1px solid transparent;border-radius:7px;font:600 max(11px,calc(var(--u)*14)) var(--control-font);height:max(26px,calc(var(--u)*30));padding:0 10px;color:#e3d6b8}.science-window .research-branch:hover{background:#d5dfbf12;border-color:#b39c6555}.science-window .research-branch[aria-pressed=true]{background:#365647;border-color:#88a883;color:#fbefd0}.science-window .research-back{font-size:23px;min-width:30px;padding:0 5px}.science-window .research-university{font:600 max(11px,calc(var(--u)*14)) var(--control-font);border-bottom:1px solid #cbb98366;padding:3px 0;color:#f1d9a5}.science-window .research-choice-name{font:600 max(16px,calc(var(--u)*20)) var(--control-font);color:#f3dfb6}.research-choice-art{border-radius:12px;border:1px solid #c9ad6e;outline:0;box-shadow:0 4px 14px #050f0e66}.research-choice:hover .research-choice-art{border-color:#f1d39b;box-shadow:0 0 0 3px #e7c68b1a,0 4px 16px #050f0e66}.science-window .research-submit{font-size:max(15px,calc(var(--u)*18));height:max(44px,calc(var(--u)*48))}.science-window .research-scroll{border-radius:8px;border:1px solid #b5a77466;background:#21372fd9;color:#f5dfac}.activity-panel{left:12px;top:calc(var(--u)*55);bottom:calc(var(--u)*86);border:1px solid #b79b6477;border-radius:14px;background:#1c2c28f7;color:#f1e6cc;box-shadow:0 8px 32px #0005;overflow:hidden}.activity-panel header{background:#263c34;border:0;border-bottom:1px solid #b79b6433;padding:10px 40px}.activity-panel h2{font:700 max(15px,calc(var(--u)*18)) var(--control-font);color:#f3dfb6}.activity-panel header button{width:36px;min-height:36px;height:100%;background:none;border:0;font:25px var(--control-font);color:#efdfc0;transform:none}.activity-panel .activity-content{padding:12px}.activity-panel .activity-content>p{color:#dedaca;font:14px/1.5 var(--control-font)}.activity-panel .activity-link{margin:10px 0;padding:10px 12px;border:1px solid #7d9f8066;border-radius:9px;background:#345345;color:#f7ebcb;font:700 max(13px,calc(var(--u)*15)) var(--control-font);min-height:44px;transform:none}.activity-panel .activity-link:hover{background:#416853;color:#fff5d8}.activity-panel .activity-future{color:#b7baa3;font:12px/1.5 var(--control-font)}.activity-panel .activity-row{color:#efe4c8;border-color:#78856c66;font:13px var(--control-font)}.quest-book .qb-help{border:1px solid #a78b5655;border-radius:6px;background:#f7eccb;color:#315749;font:700 max(11px,calc(var(--u)*13)) var(--control-font);padding:5px 7px;min-height:28px;transform:none}.quest-book .qb-help:hover{background:#fff5dc;border-color:#698d70}.quest-book :is(.qb-prev,.qb-next){border:1px solid #b7a16c;border-radius:8px;background:#273f35;color:#f2d89b;clip-path:none;transform:none}.game-dialog :is(button,.btn-blue):focus-visible,.quest-book button:focus-visible{outline:2px solid #568c83;outline-offset:3px}@media(prefers-reduced-motion:reduce){.hud :is(.medal,.bbtn,.quest,.pbtn),.game-dialog button,.research-choice-art{transition:none}}.hud .quest em:empty{display:none}.hud .bank{top:calc(var(--u)*100);left:calc(var(--u)*6);width:max(44px,calc(var(--u)*68));height:auto;min-height:36px;display:grid;grid-template-columns:14px 1fr;align-items:center;justify-content:center;gap:2px;padding:5px 7px;border:1px solid var(--control-edge);border-radius:9px;clip-path:none;background:#192b26f5;box-shadow:var(--control-shadow)}.hud .bank i{grid-row:1;width:12px;height:10px;margin:0}.hud .bank b{font:700 12px/1.1 var(--control-font);text-shadow:none;color:#f6ddba}.hud .bank span{grid-column:1/-1;font:600 10px/1.1 var(--control-font);text-shadow:none;color:#e5d6b3}.hud .prestige{left:calc(var(--u)*96);top:calc(var(--u)*34);width:max(56px,calc(var(--u)*65));padding:6px 7px;display:grid;grid-template-columns:1fr auto;gap:3px;border:1px solid var(--control-edge);border-radius:11px;background:#192b26f2;box-shadow:var(--control-shadow)}.hud .prestige:before{content:"";display:block;grid-column:1/-1;margin:auto;width:clamp(23px,calc(var(--u)*28),34px);height:clamp(23px,calc(var(--u)*28),34px);background:url(/art/controls/ui-clan.webp) center/contain no-repeat}.hud .prestige .crown{grid-column:2;grid-row:2;display:block;width:auto;height:auto;clip-path:none;background:transparent;padding:0;margin:0;color:#eccc89;font:700 12px/1 var(--control-font)}.hud .prestige b{grid-column:1;grid-row:2;text-align:left;margin:0;font:700 11px/1 var(--control-font);color:#f6e3b9;text-shadow:none}.hud .prestige small{grid-column:1/-1;min-width:0;padding:2px 0 0;font:9px/1.2 var(--control-font);color:#c9cfbb;background:none;border:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.hud .prestige.vip-on small{color:#afe0ac;background:none}.hud .bank:hover,.hud .prestige:hover{background:#31483b;border-color:#d9bd78aa}.hud .bank:focus-visible,.hud .prestige:focus-visible{outline:2px solid var(--control-focus);outline-offset:3px}.hud .avatar{border-width:1px;border-color:#d6bb7b;box-shadow:0 0 0 2px #162923a6,0 3px 12px #0005}.game-dialog .building-actions button,.game-dialog .recruitment .recruit-hire{font:700 max(13px,calc(var(--u)*17))/1.2 var(--control-font);min-height:44px;padding:8px 12px;border-radius:9px;transform:none}.game-dialog .building-actions .quiet{background:#283b32;color:#ece3c9;border-color:#9fa47c66}.game-dialog .building-actions .quiet:hover{background:#374e3f}.game-dialog .recruitment .quantity-step{width:44px;height:44px;min-height:44px;flex:none;border:1px solid #b1a17188;border-radius:9px;background:#273f34;color:#efd6a3;font:500 26px/1 var(--control-font);padding:0;box-shadow:inset 0 1px #fff1;transform:none;clip-path:none}.game-dialog .recruitment .quantity-step:hover{background:#3c5b49}.game-dialog .recruit-quantity{min-height:44px}.game-dialog .recruitment input[type=range]{accent-color:#a8c899}.game-dialog .recruitment #recruit-count{border:1px solid #8f9c7766;border-radius:8px;background:#21392f;color:#f5e6c4;font:700 15px var(--control-font);height:40px}.hud .menu{gap:3px}.hud .medal{min-height:48px;height:clamp(48px,calc(var(--u)*65),80px);padding:0;gap:1px;border-color:transparent;background:none;box-shadow:none;border-radius:14px}.hud .medal i,.hud .medal.olive i,.hud .medal.red i{width:clamp(32px,calc(var(--u)*42),60px);height:clamp(32px,calc(var(--u)*42),60px)}.hud .medal .hud-art{width:100%;height:100%;filter:drop-shadow(0 2px 3px #03140ac9)}.hud .medal span{color:#fff3d8;font-weight:700;text-shadow:0 1px 3px #041309,0 0 8px #041309}.hud .medal:hover,.hud .medal:active{background:#e8d69a0a;border-color:#edd9a71c;box-shadow:none}.hud .medal:hover .hud-art{filter:brightness(1.12) drop-shadow(0 2px 5px #06170df0)}.hud .quest,.hud .quest:hover,.hud .quest:active{background:none;border-color:transparent;box-shadow:none}.hud .quest .hud-art{width:100%;height:100%;filter:drop-shadow(0 2px 3px #04150dcc)}.hud .bbtn .hud-art{width:clamp(32px,calc(var(--u)*35),45px);height:clamp(32px,calc(var(--u)*35),45px);filter:drop-shadow(0 2px 2px #04150d99)}.hud .bbtn{gap:0}.hud .pbtn,.hud .pbtn:hover,.hud .pbtn:active{border-color:transparent;background:none;box-shadow:none;padding:0 2px 2px}.hud .pbtn .ic{width:clamp(38px,calc(var(--u)*42),58px);height:clamp(36px,calc(var(--u)*40),56px)}.hud .pbtn .hud-art{filter:drop-shadow(0 2px 3px #04150dcc)}.hud .pbtn b{color:#fff0d0;text-shadow:0 1px 3px #041309,0 0 8px #041309;font-weight:700}.hud .pbtn .sale{text-shadow:0 1px 3px #041309}.hud .prestige{width:max(64px,calc(var(--u)*65))}.hud .bar{padding:0;gap:8px;border:0;background:none;box-shadow:none}.hud .bbtn,.hud .bbtn:hover,.hud .bbtn:active,.hud .bbtn[aria-expanded=true]{background:none;border-color:transparent;box-shadow:none}.hud .bbtn .control-caption{color:#fff1d2;text-shadow:0 1px 3px #061409,0 0 6px #061409}.hud .bbtn:hover .hud-art,.hud .bbtn[aria-expanded=true] .hud-art{filter:brightness(1.15) drop-shadow(0 2px 3px #04150dcc)}.hud .prestige,.hud .prestige:hover,.hud .prestige:active{width:56px;height:66px;min-height:44px;padding:0;display:block;border:0;background:none;box-shadow:none}.hud .prestige:before{position:absolute;inset:0 3px auto;width:50px;height:50px;margin:0;filter:drop-shadow(0 2px 3px #061409cc)}.hud .prestige .crown{position:absolute;left:0;right:0;top:26px;width:100%;height:22px;display:grid;place-items:center;margin:0;padding:0;background:none;clip-path:none;filter:none;color:#fff4cb;font:800 16px/1 var(--control-font);text-shadow:0 1px 2px #172a18,0 0 4px #172a18}.hud .prestige b{position:absolute;inset:auto 0 0;text-align:center;margin:0;font:700 12px/1.1 var(--control-font);color:#ffe9b9;text-shadow:0 1px 3px #061409,0 0 6px #061409}.hud .prestige small{display:none}.hud .promo{display:none!important}.on-map #map.world-map{background:url(/art/world/terrain-map.webp) 0 0/calc(var(--u)*512) repeat;isolation:isolate}.world-scenery,.world-sites{position:absolute;inset:0;pointer-events:none}.world-sites{z-index:2}.world-object{position:absolute;width:calc(var(--u)*116);height:calc(var(--u)*123);min-width:48px;min-height:48px;transform:translate(-50%,-85%);padding:0;border:0;border-radius:0;background:none;box-shadow:none;cursor:pointer;pointer-events:auto;display:flex;align-items:center;justify-content:flex-end;flex-direction:column;color:#f9edd3;touch-action:manipulation}.world-object:hover,.world-object:active{transform:translate(-50%,-85%);background:none;box-shadow:none}.world-object:focus-visible{outline:2px solid #fae1a0;outline-offset:4px;border-radius:8px}.world-art{display:block;flex:none;width:calc(var(--u)*85);height:calc(var(--u)*85);background-repeat:no-repeat;filter:drop-shadow(0 2px 2px #102a1766);transition:filter .15s;pointer-events:none}.world-object:hover .world-art{filter:brightness(1.12) drop-shadow(0 2px 2px #102a1766)}.world-city-art{width:calc(var(--u)*100);height:calc(var(--u)*100);background-image:url(/art/world/cities-map.webp);background-size:300% 100%}.world-node-art{background-image:url(/art/world/nodes-map.webp);background-size:500% 600%}.world-art img{width:100%;height:100%;object-fit:contain}.world-label{display:block;position:relative;max-width:calc(var(--u)*170);padding:2px 7px;background:linear-gradient(90deg,#15271b00,#15271bba 14% 86%,#15271b00);font:500 clamp(10px,calc(var(--u)*13),15px)/1.1 var(--control-font);white-space:nowrap;text-shadow:0 1px 2px #000c;pointer-events:none}.world-label small{display:block;color:#d6d9b3;font-size:clamp(9px,calc(var(--u)*11),12px);padding-top:2px}.world-object.own .world-label{color:#f5d77d}.world-agent-badge{position:absolute;z-index:2;right:10%;top:12%;font:700 clamp(8px,calc(var(--u)*9),11px)/1 var(--control-font);padding:3px 4px;border:1px solid #dec07a88;border-radius:5px;background:#253c30d9;color:#f5d994;pointer-events:none}.world-shield{position:absolute;inset:5% 8% 15%;border-radius:48% 48% 30% 30%;background:radial-gradient(ellipse,#90dbef07 40%,#90dbef3b 70%,#d1f3fb05 74%,transparent 78%);pointer-events:none}.world-decor{position:absolute;transform:translate(-50%,-74%);width:calc(var(--u)*145);height:calc(var(--u)*145);background:url(/art/world/nature-map.webp) no-repeat;background-size:300% 100%;pointer-events:none}.world-tools{display:none;position:fixed;left:50%;top:max(36px,calc(var(--u)*43));transform:translate(-50%);z-index:4;align-items:center;gap:4px;padding:4px 6px;border:1px solid #c6ab6b77;border-radius:10px;background:#203628e8;box-shadow:0 2px 7px #07180c44;font:12px var(--control-font)}body.on-map .world-tools{display:flex}body.on-map .coords{display:none}.world-tools input{width:52px;height:44px;min-height:0;padding:2px 5px;border:1px solid #bdac7455;border-radius:5px;background:#17291c;color:#f4e2ae;font:600 13px var(--control-font);text-align:center;-webkit-user-select:text;user-select:text}.world-tools button{height:44px;min-height:0;padding:0 9px;border:1px solid #b7b68c66;border-radius:7px;background:#3c5c3e;color:#f7edcb;font:600 12px var(--control-font);transform:none}.world-map-status{position:absolute;top:100%;left:50%;transform:translate(-50%);white-space:nowrap;font:11px/1.4 var(--control-font);color:#f7eac8;text-shadow:0 1px 3px #132315;background:#19311ce6;padding:0 5px;border-radius:4px}.world-map-status:empty{display:none}.world-info{display:flex;align-items:center;justify-content:center;gap:24px;padding:16px}.world-info .world-art{width:150px;height:130px}.world-info p{margin:8px 0}.world-search-list{display:grid;gap:8px;padding:12px}.world-search-list button{text-align:left;min-height:44px;border:1px solid #acb08b66;border-radius:8px;background:#284731;color:#f1e2bb;padding:8px 12px;transform:none}.world-search-bar{display:flex;gap:8px;padding:12px}.world-search-bar select{max-width:65%;min-height:44px;border-radius:7px}.world-search-bar button{min-height:44px}@media(prefers-reduced-motion:reduce){.world-art{transition:none}}.world-info-art{width:150px;height:150px;margin:0 auto 12px}.world-search-filters{display:flex;flex-wrap:wrap;gap:8px;padding:12px}.world-node-art[data-node-resource=gold]{clip-path:inset(0 0 8% 0)}.world-undead-art{filter:drop-shadow(0 2px 3px #10201999)}.world-undead:hover .world-undead-art{filter:brightness(1.1) drop-shadow(0 2px 3px #10201999)}.world-undead .world-label,.world-undead .world-name{color:#c4dec9!important;text-shadow:0 1px 2px #000}.world-lair-art{position:relative;display:grid;place-items:center;font-size:34px;filter:drop-shadow(0 0 6px #ff5a3a88)}.world-lair-art img{width:100%;height:100%;object-fit:contain}.world-lair-hp{position:absolute;left:15%;right:15%;bottom:-4px;height:5px;border-radius:3px;background:#2a0d08;overflow:hidden}.world-lair-hp:after{content:"";position:absolute;inset:0;width:var(--hp,100%);background:linear-gradient(90deg,#c0261c,#ff7a4a)}.lair-card{display:grid;gap:8px}.lair-hp{position:relative;height:20px;border:1px solid #6b1a10;border-radius:10px;background:#2a0d08;overflow:hidden}.lair-hp i{position:absolute;inset:0 auto 0 0;background:linear-gradient(90deg,#9a1c12,#ff6a3a)}.lair-hp span{position:relative;display:block;text-align:center;font:700 12px/20px PT Sans,sans-serif;color:#fff;text-shadow:0 1px 2px #000}.world-object.label-off .world-label{opacity:0;transition:opacity .15s}.world-object.label-off:hover .world-label,.world-object.label-off:focus-visible .world-label{opacity:1;z-index:5}.map-search-tabs{display:flex;gap:6px;margin:0 0 10px}.map-search-tabs button{flex:1;min-height:40px;border-radius:8px;border:1px solid #c9a76b88;background:#2a3b30;color:#efe2c2;font-weight:700}.map-search-tabs button.on{background:#c9a24d;color:#2a1a08}.map-search-row{display:flex;gap:10px;flex-wrap:wrap;margin:6px 0}.map-search-row select,.map-search-row input{min-height:40px;border-radius:7px;padding:4px 8px}.map-search-row select{flex:1}.map-search-row label{display:flex;gap:6px;align-items:center}.map-search-row input{width:76px}.map-search-free{display:flex;gap:8px;align-items:center;margin:6px 0}.map-search-results{display:grid;gap:6px;max-height:min(46vh,380px);overflow:auto;margin-top:10px}.map-search-result{display:grid;gap:2px;text-align:left;min-height:44px;padding:7px 10px;border-radius:8px;border:1px solid #acb08b66;background:#284731;color:#f1e2bb}.map-search-result small{color:#cdd3b0}#map-search{padding:14px 16px}#map-search>h2{margin:0 0 10px;text-align:center}#map-search .map-search-objects{color:#3a2412;font:14px/1.3 PT Sans,sans-serif}#map-search .map-search-objects select,#map-search .map-search-objects input[type=number]{background:#fffaf0;color:#3a2412;border:1px solid #c9a76b;font:600 15px PT Sans,sans-serif}#map-search .map-search-objects select{width:100%}#map-search .map-search-row label{color:#5a3a18;font-weight:700}#map-search .map-search-free{color:#5a3a18;font-weight:600;justify-content:flex-start}#map-search .map-search-free input{width:20px!important;height:20px!important;min-width:0!important;min-height:0!important;margin:0;flex:none}#map-search .map-search-objects p{color:#5a3a18;text-align:center}.world-undead-timer{position:absolute;left:50%;bottom:100%;transform:translate(-50%);padding:1px 6px;border:1px solid #b33a3a;border-radius:4px;background:#1a0b0bdd;color:#ffb3a8;font:700 11px/1.3 PT Sans,sans-serif;white-space:nowrap;pointer-events:none;text-shadow:0 1px 2px #000;z-index:2}.world-dome-timer{border-color:#8fc7e8;background:#0b1a24dd;color:#cfeeff}.world-dome{inset:-4% -2% 6%;background:radial-gradient(ellipse,#90dbef10 45%,#90dbef55 70%,#d1f3fb10 74%,transparent 78%)}.world-lair-remains{filter:grayscale(.8);opacity:.65}.currency-icon{display:inline-block;width:20px;height:20px;object-fit:contain;vertical-align:middle;margin:0 3px;flex:none}.hud .bank{min-height:44px;grid-template-columns:20px 1fr}.hud .bank i,.game-dialog .window-crystal i{background:url(/art/currency/emerald.webp) center/contain no-repeat;clip-path:none;filter:drop-shadow(0 1px 2px #082f2080)}.hud .bank i{width:20px;height:20px}.game-dialog .window-crystal i{width:clamp(22px,calc(var(--u)*24),32px);height:clamp(22px,calc(var(--u)*24),32px)}.bank-window{max-width:720px!important}.emerald-wallet{display:grid;grid-template-columns:80px auto;align-items:center;justify-content:center;column-gap:16px;padding:20px}.emerald-wallet img{grid-row:1/3;width:80px;height:80px;object-fit:contain}.emerald-wallet strong{font:700 36px/1.1 var(--control-font);color:#264f3e;align-self:end}.emerald-wallet span{font:600 15px/1.8 var(--control-font);align-self:start;color:#42634c}.bank-description{text-align:center;font:15px/1.5 var(--control-font)}.bank-actions,.bank-packs{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;padding:12px}.bank-packs h3,.bank-packs p{width:100%;text-align:center;margin:3px 0}.bank-actions button,.bank-packs button{min-height:44px}.vip-group button .currency-icon{width:18px;height:18px}.bank-window .emerald-wallet{grid-template-columns:120px auto}.bank-window .emerald-wallet img{width:120px;height:120px;filter:drop-shadow(0 0 10px #3dff9a88) drop-shadow(0 4px 6px #0006)}.game-dialog{--u:1px;width:min(640px,calc(100vw - 24px));max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);border:1px solid #b8a16e;border-radius:16px;box-shadow:0 24px 80px #07150db3,0 0 0 1px #fff1;font-family:var(--control-font)}.game-dialog.wide{width:min(980px,calc(100vw - 24px))}.game-dialog .window-head{height:auto;min-height:64px;padding:14px 70px;border-bottom:1px solid #ac9567;background:linear-gradient(110deg,#e1cba1,#f2e6ca 50%,#d9c296);flex:none}.game-dialog .window-head h2{font:700 28px/1.1 Cormorant Garamond,serif;color:#49351e;text-shadow:none;margin:0}.game-dialog .window-crystal{left:14px;width:40px;height:100%;top:0;font-size:16px}.game-dialog .window-content{padding:20px;max-height:calc(100dvh - 90px);overflow:auto;scrollbar-width:thin;scrollbar-color:#9b8b62 transparent;font-size:15px}.game-dialog .window-content p:empty{display:none}.game-dialog :is(.window-content,#city-main)>h3:first-child{margin-top:0}#details.building-window{--u:1px;width:min(860px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px);background:radial-gradient(ellipse at 85% 15%,#435340,#20332a 65%);color:#f4ead0}#details.building-window .window-content{flex:0 1 auto;padding:0;overflow:auto}.building-window #dialog-content{height:auto;display:block}.building-body{grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:24px;flex:none;overflow:visible;align-items:center}.building-window .building-copy{text-align:left;font:400 16px/1.5 var(--control-font);color:#eee5cc}.building-window .building-copy h3{display:none}.building-window .building-copy p{margin:10px 0;line-height:1.5}.building-window .building-copy .building-level{display:inline-block;margin:0 0 8px;padding:4px 10px;background:#7a986329;border:1px solid #abb58344;border-radius:6px;color:#eed69d;font:700 14px/1.4 var(--control-font)}.building-window .building-copy .building-intro{font-style:normal;color:#c8cfba;margin-bottom:16px}.building-window .building-effect{padding:10px 12px;background:#ffffff06;border-left:2px solid #80936f;border-radius:0 7px 7px 0;font-size:15px}.building-window .building-effect:last-child{border-left-color:#d3b978;color:#f6e4b3}.building-window .building-portrait{width:100%;height:230px;border:1px solid #ad9b6855;border-radius:12px;background:radial-gradient(ellipse,#7e946440,#20352a00);margin:0}.building-window .building-portrait img{padding:8px}.building-footer{grid-template-columns:minmax(0,1fr) 180px;gap:24px;padding:18px 24px;border-top:1px solid #a69b6355;background:#12271c66}.building-window .building-step{margin:0 0 10px;padding:0;border:0;background:none;color:#ead8ab;font:700 21px/1.2 Cormorant Garamond,serif;text-align:left}.building-window .building-cost-table{font:600 14px/1.3 var(--control-font)}.building-window .building-cost-table th,.building-window .building-cost-table td{padding:3px 6px}.building-window .building-cost-table th:first-child{font:400 13px var(--control-font)}.building-window .building-cost-table img{width:24px;height:24px}.building-window .building-actions{padding:0;gap:8px}.building-window .building-actions button{font:700 15px/1.2 var(--control-font);min-height:44px;margin:0;border-radius:9px}.building-window .building-back{background:#ffffff08;color:#dbd7bd;border-color:#87937766}.building-window .building-condition{font:13px/1.4 var(--control-font);min-height:0;margin:8px 0 0;text-align:left}.building-window .building-blocked{font:400 15px/1.4 var(--control-font);padding:12px;margin:0;background:#753d2c44;border:1px solid #b7835955;border-radius:8px;color:#f1d3ae}.building-window .building-job-time{font:600 16px var(--control-font);margin:0}.building-window .building-tabs{padding:8px 16px;gap:8px;border-bottom:1px solid #a69b6355}.building-window .building-tabs button{min-height:44px;font:700 14px var(--control-font);border-radius:8px;box-shadow:none}.has-recruit-tabs .building-body{padding-block:18px}#shell-dialog.world-object-window{width:min(640px,calc(100vw - 24px))}.world-object-layout{display:grid;grid-template-columns:minmax(0,1fr) 210px;align-items:center;gap:24px}.world-object-status{font:700 17px/1.4 var(--control-font);color:#35533c;margin:0 0 16px!important}.world-object-facts{display:grid;grid-template-columns:1fr auto;gap:10px 14px;font:14px/1.4 var(--control-font);margin:0}.world-object-facts dt{color:#716342}.world-object-facts dd{margin:0;text-align:right;font-weight:700;color:#3b472e}.world-object-visual{margin:0;border:1px solid #9e956a55;border-radius:12px;background:radial-gradient(ellipse,#687e5233,transparent);display:grid;place-items:center;height:200px}.world-object-visual .world-info-art{width:180px;height:180px;margin:0;filter:drop-shadow(0 5px 4px #18321b44)}.world-object-window .btn-blue{margin-top:18px;width:100%}#section-window.science-window.science-choosing{--u:1px;width:min(690px,calc(100vw - 24px));height:auto;max-height:calc(100dvh - 24px)}.science-choosing #city-main{height:auto!important;overflow:auto!important;max-height:calc(100dvh - 90px)!important}.science-choosing .science-choices{height:auto;grid-template-rows:auto auto}.science-choosing .research-toolbar{padding:10px 18px;min-height:44px}.science-choosing .research-choice-grid{padding:18px;gap:16px;grid-template-rows:auto auto}.science-choosing .research-choice{padding:12px;gap:8px;border:1px solid #b19e6355;border-radius:12px;background:#fff1;font:700 21px Cormorant Garamond,serif}.science-choosing .research-choice-art{width:125px;height:125px;border-radius:9px}#section-window.recruit-window,#section-window.science-window:not(.science-choosing){width:min(1020px,calc(100vw - 24px));max-height:calc(100dvh - 24px)}.bank-window{width:min(560px,calc(100vw - 24px))!important}.bank-window .emerald-wallet{padding:8px 12px}.bank-window .bank-description{margin:10px 0}.bank-window .bank-actions{padding:8px 0 0}.game-dialog{inset:50% 0 auto;margin:0 auto;transform:translateY(-50%)}#section-window:is(.science-window,.recruit-window)[open]{display:flex;flex-direction:column;background:radial-gradient(ellipse at 80% 10%,#435340,#20332a 65%)}#section-window:is(.science-window,.recruit-window) #city-main{height:auto!important;max-height:none;flex:1;min-height:0;overflow:hidden;padding:0}#section-window.science-window:not(.science-choosing):has(.research-prompt){height:min(460px,calc(100dvh - 24px))}.science-tree:has(.research-prompt){grid-template-rows:calc(var(--u)*42) minmax(0,1fr) 48px}.science-window .research-detail{background:#14271e88;border-top:1px solid #a69b6355}.recruit-window .recruit-tabs{padding:6px 12px;gap:8px;border-bottom:1px solid #a69b6355}.recruit-window .recruit-tabs button{min-height:44px;border-radius:8px;font:700 14px var(--control-font)}.recruit-window .recruit-quantity{border-block:1px solid #a69b6355;background:#152a2088}.recruit-window .recruit-footer{background:#152a2044}.vip-window:not(.bank-window){width:min(880px,calc(100vw - 24px))}.vip-shop{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.vip-shop .vip-group{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;min-width:0}.vip-shop .vip-group h4{grid-column:1/-1;font-size:18px}.vip-shop .vip-group button{padding:8px 6px;font:700 13px/1.35 var(--control-font);margin:0;min-height:52px;white-space:normal}.vip-head .btn-green{min-height:44px;border:1px solid #739478;border-radius:9px;background:#315a43;font:700 14px var(--control-font);box-shadow:none}#shell-dialog.profile-window:has(.equipment-layout){width:min(920px,calc(100vw - 24px))}.quest-book{--u:min(1px,calc((100vw - 40px)/1080),calc((100dvh - 24px)/540))}.building-levels{max-height:min(34vh,220px);overflow-y:auto;margin-top:6px;border:1px solid #b7954c66;border-radius:4px}.building-levels-table{width:100%;border-collapse:collapse;font:13px PT Sans,sans-serif;font-variant-numeric:lining-nums tabular-nums}.building-levels-table th{position:sticky;top:0;background:#3a2a12;color:#f3d27a;text-align:left;padding:4px 8px}.building-levels-table td{padding:4px 8px;border-top:1px solid #b7954c33}.building-levels-table tr.current td{background:#b7954c55;font-weight:700}.building-levels-table tr.next td{color:#8fdf6a;font-style:italic}body .hud .ribbon{left:0!important;top:2px!important;height:30px!important;max-width:min(340px,40vw)!important;width:auto!important;padding:0 34px 0 12px!important;background:linear-gradient(#c8302a,#6e0f0c)!important;clip-path:polygon(0 0,100% 0,92% 50%,100% 100%,0 100%)!important;font:700 21px/30px Cormorant Garamond,serif!important;color:#fff3cf!important;text-shadow:0 1px 0 #000,0 0 3px #000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;z-index:4!important}body .hud .avatar{left:6px!important;top:26px!important;width:84px!important;height:84px!important;border:3px solid #e9c46a!important;box-shadow:0 0 0 2px #5e3f0e,0 4px 10px #000a!important;z-index:3!important}body .hud .bank{left:12px!important;top:104px!important;width:72px!important;height:64px!important;min-height:0!important;padding:6px 0 0!important;display:flex!important;flex-direction:column!important;align-items:center!important;gap:0!important;border:0!important;border-radius:0!important;background:linear-gradient(#c8302a,#6e0f0c)!important;clip-path:polygon(0 0,100% 0,100% 80%,50% 100%,0 80%)!important;box-shadow:none!important;z-index:2!important}body .hud .bank i{width:20px!important;height:16px!important;margin:0!important;background:url(/art/currency/emerald.webp) center/contain no-repeat!important;clip-path:none!important}body .hud .bank b{font:700 17px/1.1 PT Sans,sans-serif!important;color:#fff!important;text-shadow:0 1px 2px #000!important;font-variant-numeric:lining-nums}body .hud .bank span{font:700 15px/1 Cormorant Garamond,serif!important;color:#fff2c4!important;text-shadow:0 1px 2px #000!important}body .hud .bank:hover{filter:brightness(1.12)}body .hud .prestige{left:96px!important;top:32px!important;width:64px!important;height:70px!important;padding:0!important;border:0!important;background:none!important;box-shadow:none!important;display:block!important}body .hud .prestige:before{content:""!important;position:absolute!important;inset:0 4px auto!important;width:56px!important;height:48px!important;display:block!important;background:url(/art/controls/ui-clan.webp) center/contain no-repeat!important;filter:drop-shadow(0 2px 3px #000a)!important}body .hud .prestige .crown{position:absolute!important;left:0!important;right:0!important;top:18px!important;height:24px!important;display:grid!important;place-items:center!important;background:none!important;clip-path:none!important;padding:0!important;color:#3a2208!important;font:800 20px/1 Cormorant Garamond,serif!important;text-shadow:0 0 3px #ffe9a8!important;font-variant-numeric:lining-nums}body .hud .prestige b{position:absolute!important;left:0!important;right:0!important;top:48px!important;text-align:center!important;font:700 15px/1 Cormorant Garamond,serif!important;color:#ffe9a8!important;text-shadow:0 1px 0 #000,0 0 3px #000!important}body .hud .prestige small,body .window-crystal,body .parch-gem,body .crys{display:none!important}body .hud{--city-name-width:clamp(120px,20vw,240px)}body .hud .ribbon{width:var(--city-name-width)!important;max-width:var(--city-name-width)!important;padding-inline:10px 24px!important}body .hud .resbar{left:calc(var(--city-name-width) + 8px);right:max(80px,calc(var(--u)*90));padding-inline:4px;gap:4px;min-width:0}body .hud .resbar:before,body .hud .resbar:after{display:none}body .hud .resbar .res{flex:1;min-width:0;justify-content:center;gap:3px;padding:0;border:0;border-radius:0;background:none;min-height:0}body .hud .resbar .res img{flex:none;width:clamp(16px,calc(var(--u)*22),28px);height:clamp(16px,calc(var(--u)*22),28px)}body .hud .resbar .res b{font-size:clamp(12px,calc(var(--u)*20),22px);white-space:nowrap}:root{--window-text:#efe4ce;--window-title:#f1d69e;--window-muted:#bdc4c7;--window-surface:#202930;--window-card:#29343d;--window-header:#303b43;--window-edge:#a68d5c;--window-warning:#ffbdab;--window-warning-bg:#3b2927;--window-success:#b5e6a5;--window-selected:#3b463f}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window),body #details.building-window,body .vip-window,body .bank-window,body #section-window:not(.recruit-window):not(.science-window)[open]{background:linear-gradient(var(--window-header),var(--window-surface))!important;color:var(--window-text)!important;border-color:#8c6a32!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) .window-head{background:linear-gradient(var(--window-header),var(--window-surface))!important;border-bottom:3px solid #8c6a32!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) .window-head h2{color:var(--window-title)!important;text-shadow:none!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) :is(p,li,dt,dd,td,th,span,h3,h4,label,small,.building-copy,.building-effect,.building-step,.research-university,.recruit-condition):not(.btn-green *):not(.btn-blue *):not(.primary *):not(.chat-window *):not(.recruitment *){color:var(--window-text)}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) .muted{color:var(--window-muted)!important}body .building-window .building-footer{background:#00000008!important;border-top:1px solid #b7954c!important}body .building-window .building-copy .building-level{background:var(--window-card)!important;border-color:#b7954c!important;color:var(--window-title)!important}body .building-window .building-effect{background:var(--window-card)!important;border-left-color:#b7954c!important;color:var(--window-title)!important}body .building-window .building-portrait{background:#fff3d6!important;border-color:#b7954c!important}body .building-window .building-blocked{background:var(--window-warning-bg)!important;border-color:#b06a4a!important;color:var(--window-warning)!important}body .building-cost-table td,body .building-cost-table th{color:var(--window-text)!important;border-color:#b7954c88!important}body .building-levels-table th{background:#8c6a32!important;color:#fff3cf!important}body .building-levels-table tr.current td{background:var(--window-selected)!important}body .building-levels-table tr.next td{color:var(--window-success)!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) :is(.building-tabs,.profile-tabs,.recruit-tabs) button{background:var(--window-card)!important;color:var(--window-title)!important;border-color:#b7954c!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) :is(.building-tabs,.profile-tabs,.recruit-tabs) button[aria-pressed=true]{background:var(--window-selected)!important;color:var(--window-text)!important;box-shadow:inset 0 -3px #2f8f98!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) .quiet{background:var(--window-card)!important;color:var(--window-title)!important;border:1px solid #8c6a32!important}body .activity-panel{background:linear-gradient(var(--window-header),var(--window-surface))!important;color:var(--window-text)!important;border-color:#8c6a32!important}body .activity-panel header{background:linear-gradient(var(--window-header),var(--window-surface))!important;border-bottom:2px solid #8c6a32!important}body .activity-panel h2,body .activity-panel p,body .activity-panel span{color:var(--window-text)!important}body .activity-panel .activity-link{background:var(--window-card)!important;color:var(--window-title)!important;border-color:#b7954c!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) :is(.building-back,.recruit-back,.quiet){background:var(--window-card)!important;color:var(--window-title)!important;border:1px solid #8c6a32!important}body .game-dialog:not(.science-window):not(.academy-window):not(.recruit-premium-window) :is(.building-back,.quiet):hover{background:var(--window-card)!important}body .activity-panel :is(.activity-close,.close-dialog,button[aria-label*=Закрыть]){color:var(--window-title)!important}body .game-dialog button :is(span,small,b,strong,em){color:inherit!important}body .game-dialog :is(input,textarea,select){color:var(--window-text);background:var(--window-surface);color-scheme:dark}body .game-dialog :is(input,textarea)::placeholder{color:var(--window-muted);opacity:1}body .game-dialog :is(.form-error,.cost-short,.cost-missing,.lack,.requirements-status){color:var(--window-warning)!important}html[data-device] body :is(.game-dialog,.parch-window,.activity-panel) button:disabled{opacity:1!important;filter:none!important;background:#343c42!important;color:#c5c9cc!important;border-color:#778088!important;box-shadow:none!important;text-shadow:none!important;cursor:not-allowed}html[data-device] body :is(.game-dialog,.parch-window,.activity-panel) button:disabled :is(span,small,b,strong){color:inherit!important}.castle-chambers-window .window-content{padding:0 0 16px}.chamber-tabs{margin:0!important}.chamber-tabs button{min-width:140px}.chamber-intro{text-align:center;padding:20px 20px 0}.chamber-intro h3{font:700 28px Georgia,serif;margin:6px 0}.chamber-eyebrow{font:600 10px system-ui,sans-serif;letter-spacing:.2em;opacity:.65;margin:0}.chamber-description{font:16px/1.5 Georgia,serif;color:#6a4826;margin:10px 0}.chamber-palace-layout{display:grid;grid-template-columns:minmax(0,1fr);align-items:center;gap:12px;padding:10px 24px 24px}.chamber-castle-scene{position:relative;aspect-ratio:1.4;background:radial-gradient(ellipse at 50% 75%,#ad995640,transparent 65%)}.chamber-castle-scene>img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 10px 6px #65401840)}.chamber-hotspot{position:absolute;width:40px;height:40px;padding:0;border-radius:50%;border:2px solid #d1ac57;background:linear-gradient(#325458,#132c31);color:#fff0ae!important;font-size:23px;box-shadow:0 2px 8px #0009;transform:translate(-50%,-50%);cursor:pointer}.chamber-hotspot.scienceGallery{left:32%;top:60%}.chamber-hotspot.agricultureChamber{left:66%;top:78%}.chamber-hotspot.watchTower{left:77%;top:40%}.chamber-hotspot:hover,.chamber-hotspot:focus-visible{outline:3px solid #e9c972;outline-offset:3px;filter:brightness(1.25)}.chamber-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.chamber-castle-scene{width:100%;max-width:440px;justify-self:center}body .game-dialog .chamber-card{position:relative;display:grid;grid-template-columns:40px 1fr;text-align:left;gap:5px 12px;min-height:96px;padding:15px;background:linear-gradient(110deg,#fff5da,#deca9d);border:1px solid #a58342;border-radius:4px;box-shadow:0 2px 3px #69471e20;color:#35200b;cursor:pointer}.chamber-card strong{font:700 18px Georgia,serif}.chamber-card small{font-size:12px}.chamber-emblem{grid-row:1/4;align-self:center;font-size:29px;text-align:center;color:#856027}.chamber-card-effect,.chamber-card .chamber-timer{grid-column:2;font:13px/1.3 Georgia,serif}.chamber-card:hover,.chamber-card:focus-visible{outline:2px solid #427f81;outline-offset:2px;box-shadow:inset 0 0 25px #77b1ae38!important}.chamber-heading{display:flex;align-items:center;gap:16px;padding:14px 24px;border-bottom:1px solid #a5834260}.chamber-heading h3{font:700 25px Georgia,serif;margin:0}.chamber-back{background:transparent!important;color:#4b3b23!important;border:0!important;text-decoration:underline;text-underline-offset:4px;padding:10px;cursor:pointer}.chamber-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 260px;gap:24px;padding:24px}.chamber-detail-copy{align-self:center}.chamber-level{font:700 20px Georgia,serif;margin:0 0 16px}.chamber-effect{font:700 20px/1.5 Georgia,serif}.chamber-next-effect{font:16px/1.5 Georgia,serif;opacity:.8}.chamber-portrait{position:relative;aspect-ratio:1;overflow:hidden;margin:0;border:1px solid #a58342;background:radial-gradient(ellipse,#d8cfaf,#9aa283);box-shadow:inset 0 0 40px #66502535}.chamber-portrait>img{position:absolute;max-width:none;height:auto}.chamber-portrait.scienceGallery>img{width:220%;left:-25%;top:-50%}.chamber-portrait.agricultureChamber>img{width:230%;left:-98%;top:-58%}.chamber-portrait.watchTower>img{width:250%;left:-129%;top:-22%}.chamber-help{position:absolute;left:50%;top:0;transform:translate(-50%);width:36px;height:44px;border:1px solid #725321;border-radius:0 0 9px 9px;background:linear-gradient(#eddbaf,#be9a58);font:700 24px Georgia,serif;cursor:pointer;box-shadow:0 2px 4px #0005;color:#402a12}.chamber-footer{border-top:1px solid #a5834260;padding:18px 24px;text-align:center;background:#9a733810}.chamber-footer h4{margin:0 0 10px;font:700 18px Georgia,serif}.chamber-cost{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 18px}.chamber-resource{display:inline-flex;align-items:center;gap:6px;font:15px Georgia,serif;white-space:nowrap}.chamber-resource img{width:24px;height:24px;object-fit:contain}.chamber-time{margin:8px 0;font:italic 14px Georgia,serif}.chamber-upgrade{min-width:230px;margin:8px auto;display:block}.chamber-locked{display:block;width:100%;padding:18px;font:700 20px Georgia,serif;color:#f7ddbf!important;background:linear-gradient(#79281e,#481811)!important;border:2px solid #984938;opacity:1!important}.chamber-condition{min-height:20px;margin:4px;font-size:13px}.chamber-level-scroll{max-height:52vh;overflow:auto;margin:14px 20px;border:1px solid #b39159}.chamber-level-table{width:100%;border-collapse:collapse;font-family:Georgia,serif}.chamber-level-table thead{position:sticky;top:0;z-index:1;background:#e2cd9f}.chamber-level-table th,.chamber-level-table td{padding:16px 12px;border-bottom:1px solid #ad8c5560;text-align:left}.chamber-level-table tbody th{font-size:26px;text-align:center;width:60px}.chamber-level-table td:nth-child(2){font-style:italic;line-height:1.45}.chamber-level-table .chamber-cost{display:grid;grid-template-columns:repeat(2,max-content);gap:5px 12px;justify-content:start}.chamber-level-table .chamber-resource{font-size:13px}.chamber-level-table .chamber-resource img{width:18px;height:18px}.chamber-level-table tr.current{background:linear-gradient(90deg,#e7d3a450,#9ec4bd80,#e7d3a450)}.chamber-level-table tr.next{box-shadow:inset 3px 0 #3d8b78}.chamber-level-table+.chamber-back{display:block;margin:auto}.castle-chambers-window{width:min(1200px,calc(100vw - 24px))!important;max-width:1200px!important}.chamber-intro{padding:8px 20px}.chamber-intro .chamber-description{margin:6px 0;text-align:center;font-style:italic}.chamber-palace-layout{display:block;padding:24px 20px 32px;border-top:1px solid #a5834270;border-bottom:1px solid #a5834270;background:linear-gradient(90deg,#6b743e20,#9c794318,#6b743e20)}.chamber-cards{display:grid;grid-template-columns:repeat(7,minmax(130px,1fr));gap:18px;overflow-x:auto;padding:6px 4px 14px;scroll-snap-type:x proximity}body .game-dialog .chamber-card{display:flex;flex-direction:column;align-items:stretch;gap:7px;min-width:0;min-height:0;padding:0!important;text-align:center;background:transparent;border:0;box-shadow:none;scroll-snap-align:start}.chamber-card .chamber-portrait{display:block;width:100%;max-width:none;margin:0;flex-shrink:0;box-sizing:border-box}.chamber-card strong{font:700 18px/1.15 Georgia,serif;white-space:normal}.chamber-card-level{position:absolute;bottom:3px;right:4px;color:#fff4cf;text-shadow:0 1px 3px #000,1px 1px 2px #000;font:700 17px Georgia,serif}.chamber-card .chamber-timer{font-size:12px}.chamber-portrait.throneHall>img{width:240%;left:-65%;top:-13%}.chamber-portrait.astrologerTower>img{width:280%;left:-65%;top:-4%}.chamber-portrait.armoryChamber>img{width:260%;left:-23%;top:-62%}.chamber-portrait.architectWorkshop>img{width:270%;left:-115%;top:-50%}.game-dialog .chamber-card .chamber-card-level{color:#fff4cf!important;background:#211b13b8;padding:2px 5px;border-radius:2px;text-shadow:0 1px 2px #000;font-size:14px!important}body .castle-chambers-window{width:min(980px,calc(100vw - 16px))!important;max-width:none!important}body .castle-chambers-window .window-content{padding:0 0 10px!important;max-height:calc(100dvh - 70px);overflow-y:auto}body .castle-chambers-window .chamber-intro{padding:6px 16px 0!important}body .castle-chambers-window .chamber-intro .chamber-description{margin:4px 0!important;font:italic 14px/1.4 Georgia,serif!important}body .castle-chambers-window .chamber-palace-layout{display:block!important;padding:10px 14px 14px!important;background:none!important;border:0!important}body .castle-chambers-window .chamber-cards{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(150px,1fr))!important;gap:10px!important;overflow:visible!important;padding:0!important}body .castle-chambers-window .chamber-card{display:grid!important;grid-template-rows:auto auto auto;gap:4px!important;padding:6px!important;border:1px solid #b7954c!important;border-radius:8px!important;background:linear-gradient(#fff8e6,#efdfb6)!important;text-align:center!important;min-height:0!important}body .castle-chambers-window .chamber-card .chamber-portrait{aspect-ratio:4/3!important;width:100%!important;border-radius:6px}body .castle-chambers-window .chamber-card strong{font:700 15px/1.2 Georgia,serif!important;color:#3a2208}body .castle-chambers-window .chamber-card-level{position:absolute;left:6px;bottom:6px;padding:1px 8px;border-radius:10px;background:#0009;color:#ffe7a6;font:700 12px PT Sans,sans-serif}body .castle-chambers-window .chamber-card .chamber-timer{font:12px PT Sans,sans-serif!important;color:#1d5f86}body .castle-chambers-window .chamber-heading{padding:6px 14px!important;gap:10px!important}body .castle-chambers-window .chamber-heading h3{font:700 22px Georgia,serif!important}body .castle-chambers-window .chamber-detail-layout{grid-template-columns:minmax(0,1fr) 220px!important;gap:16px!important;padding:12px 16px!important;align-items:start}body .castle-chambers-window .chamber-detail-copy .chamber-level{margin:0 0 6px!important;font-size:18px!important}body .castle-chambers-window .chamber-effect{font-size:16px!important}.castle-chambers-window .chamber-next-effect{font-size:14px!important}body .castle-chambers-window .chamber-detail-layout .chamber-portrait{width:220px!important;max-width:100%}body .castle-chambers-window .chamber-footer{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px 16px;padding:10px 14px!important}body .castle-chambers-window .chamber-footer h4{width:100%;margin:0!important;font-size:16px!important}body .castle-chambers-window .chamber-footer .chamber-time{margin:0!important}body .castle-chambers-window .chamber-upgrade{min-width:200px!important;margin:0!important}body .castle-chambers-window .chamber-condition{width:100%;min-height:0!important;margin:0!important}body .castle-chambers-window .chamber-level-scroll{max-height:calc(100dvh - 230px)!important;margin:8px 12px!important}body .castle-chambers-window .chamber-level-table th,body .castle-chambers-window .chamber-level-table td{padding:6px 8px!important;font-size:13px}body .castle-chambers-window .chamber-level-table tbody th{font-size:18px!important;width:44px!important}body .castle-chambers-window .chamber-card{grid-template-columns:1fr!important;grid-template-rows:auto auto auto!important;justify-items:stretch!important;align-content:start!important}body .castle-chambers-window .chamber-card>*{grid-column:1!important}body .castle-chambers-window .chamber-card .chamber-portrait{position:relative!important;display:block!important;width:100%!important;height:auto!important;aspect-ratio:4/3!important;margin:0!important;overflow:hidden}body .castle-chambers-window .chamber-card .chamber-portrait>img{position:absolute!important;width:100%!important;height:100%!important;max-width:none!important;object-fit:cover!important;inset:0!important}body .castle-chambers-window .chamber-card .chamber-card-level{position:absolute!important;inset:auto auto 6px 6px!important;width:auto!important;white-space:nowrap!important;font-size:12px!important;line-height:18px!important;padding:0 8px!important}body .castle-chambers-window .chamber-card strong{display:block;padding:2px 2px 0;white-space:normal}body .castle-chambers-window .chamber-card .chamber-portrait.throneHall>img{object-position:50% 20%!important;transform:scale(1.6)}body .castle-chambers-window .chamber-card .chamber-portrait.astrologerTower>img{object-position:15% 10%!important;transform:scale(1.8)}body .castle-chambers-window .chamber-card .chamber-portrait.armoryChamber>img{object-position:80% 60%!important;transform:scale(1.7)}body .castle-chambers-window .chamber-card .chamber-portrait.architectWorkshop>img{object-position:30% 80%!important;transform:scale(1.7)}body .castle-chambers-window .chamber-card .chamber-portrait.scienceGallery>img{object-position:20% 55%!important;transform:scale(1.8)}body .castle-chambers-window .chamber-card .chamber-portrait.agricultureChamber>img{object-position:70% 90%!important;transform:scale(1.8)}body .castle-chambers-window .chamber-card .chamber-portrait.watchTower>img{object-position:90% 20%!important;transform:scale(1.8)}body .castle-chambers-window .chamber-card .chamber-portrait:after{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:30px;height:30px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fff4c2,#e6b440 55%,#9a6a14);box-shadow:0 2px 4px #0008;font-size:16px}.chamber-portrait.throneHall:after{content:"👑"}.chamber-portrait.astrologerTower:after{content:"🔭"}.chamber-portrait.armoryChamber:after{content:"⚔"}.chamber-portrait.architectWorkshop:after{content:"📐"}.chamber-portrait.scienceGallery:after{content:"📜"}.chamber-portrait.agricultureChamber:after{content:"🌾"}.chamber-portrait.watchTower:after{content:"🛡"}body .castle-chambers-window .chamber-cards{grid-template-columns:repeat(4,minmax(0,1fr))!important}body .castle-chambers-window .chamber-card .chamber-portrait>img{object-position:50% 50%!important;transform:scale(2.3)!important}body .castle-chambers-window .chamber-card .chamber-portrait.throneHall>img{transform-origin:50% 35%;transform:scale(1.5)!important}body .castle-chambers-window .chamber-card .chamber-portrait.astrologerTower>img{transform-origin:18% 22%}body .castle-chambers-window .chamber-card .chamber-portrait.armoryChamber>img{transform-origin:88% 72%}body .castle-chambers-window .chamber-card .chamber-portrait.architectWorkshop>img{transform-origin:22% 92%}body .castle-chambers-window .chamber-card .chamber-portrait.scienceGallery>img{transform-origin:12% 55%}body .castle-chambers-window .chamber-card .chamber-portrait.agricultureChamber>img{transform-origin:65% 98%}body .castle-chambers-window .chamber-card .chamber-portrait.watchTower>img{transform-origin:92% 30%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait>img{position:absolute!important;width:100%!important;height:100%!important;object-fit:cover!important;inset:0!important;transform:scale(2.2);max-width:none!important}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.throneHall>img{transform-origin:50% 35%;transform:scale(1.4)}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.astrologerTower>img{transform-origin:18% 22%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.armoryChamber>img{transform-origin:88% 72%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.architectWorkshop>img{transform-origin:22% 92%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.scienceGallery>img{transform-origin:12% 55%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.agricultureChamber>img{transform-origin:65% 98%}body .castle-chambers-window .chamber-detail-layout .chamber-portrait.watchTower>img{transform-origin:92% 30%}body .castle-chambers-window .chamber-detail-copy{text-align:center}body .castle-chambers-window .chamber-upgrade{width:min(560px,100%)!important;min-height:44px!important;font-size:17px!important}body .castle-chambers-window .chamber-locked{width:min(560px,100%)!important;padding:10px!important;font-size:17px!important;border-radius:6px}body .castle-chambers-window .chamber-detail-layout .chamber-portrait:after{display:none!important}body .castle-chambers-window .chamber-portrait>img.chamber-own{transform:none!important;object-position:50% 50%!important;object-fit:cover!important}.chamber-activation{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:6px 14px;margin:6px 0 10px}.chamber-activation-state{padding:8px 12px;border:2px solid #8c6a32;border-radius:4px;background:linear-gradient(#c8ad7a,#a88a55);text-align:center;font:700 16px Cormorant Garamond,serif;color:#fff7e0;text-shadow:0 1px 2px #3a2208}.chamber-activation.on .chamber-activation-state{background:linear-gradient(#7fa44a,#4f7a2a)}.chamber-activate{display:grid;justify-items:center;gap:0;min-width:130px;padding:4px 14px}.chamber-activate b{font-size:15px}.chamber-activation-hint{grid-column:1/-1;margin:0;text-align:center;font:italic 13px PT Sans,sans-serif;color:#5a3e14}html[data-device] body #details.game-dialog.castle-chambers-window{background:linear-gradient(#242d35,#171d22)!important;color:#efe4ce!important}html[data-device] body #details.castle-chambers-window>.window-content{display:flex!important;flex-direction:column;min-height:0!important;overflow:hidden!important;padding:0!important}html[data-device] body #details.castle-chambers-window #dialog-content{flex:1;display:flex;flex-direction:column;min-height:0;height:100%;overflow:hidden}html[data-device] body #details.castle-chambers-window .chamber-tabs{flex:none;position:static!important;display:grid;grid-template-columns:1fr 1fr;padding:4px 8px!important;background:#171d22}html[data-device] body #details.castle-chambers-window .chamber-tabs button{min-width:0!important;min-height:44px!important;font-size:15px!important}html[data-device] body #details.castle-chambers-window .chamber-body{flex:1 1 0;min-height:0;overflow:auto;overscroll-behavior:contain;padding:10px;box-sizing:border-box}html[data-device] body #details.castle-chambers-window :is(p,span,small,h3,h4,td,th,.chamber-cost b){color:#efe4ce!important;text-shadow:none!important}html[data-device] body #details.castle-chambers-window .chamber-description{font:14px/1.5 PT Sans,sans-serif!important}html[data-device] body #details.castle-chambers-window .chamber-level-scroll{overflow:visible;max-height:none!important;padding:0}html[data-device] body #details.castle-chambers-window .chamber-level-table{width:100%;table-layout:fixed;border-collapse:collapse;background:#202a32;font:14px/1.4 PT Sans,sans-serif}html[data-device] body #details.castle-chambers-window .chamber-level-table :is(th,td){padding:10px 6px;border:1px solid #c5a56855;vertical-align:top;overflow-wrap:break-word}#details.castle-chambers-window .chamber-level-table th:first-child{width:12%}#details.castle-chambers-window .chamber-level-table th:nth-child(2){width:38%}#details.castle-chambers-window .chamber-level-table thead th{background:#303b43;color:#e5c98c!important}#details.castle-chambers-window .chamber-level-table tr.current{background:#385442}#details.castle-chambers-window .chamber-level-table tr.next{background:#433a29}html[data-device] body #details.castle-chambers-window .chamber-level-table .chamber-cost{display:flex;flex-wrap:wrap;justify-content:flex-start;gap:5px;font-size:12px}html[data-device] body #details.castle-chambers-window .chamber-level-table .chamber-cost>span{display:inline-flex;align-items:center;gap:3px;white-space:nowrap}#details.castle-chambers-window .chamber-level-table .chamber-cost img{width:18px;height:18px}#details.castle-chambers-window .chamber-time{margin-bottom:6px;font-size:12px}html[data-device] body #details.castle-chambers-window .chamber-activation{margin:0 0 12px;padding:12px;background:#242d35;border:1px solid #c5a56888;border-radius:7px}html[data-device] body #details.castle-chambers-window .chamber-activation-state{padding:8px;background:#233f32!important;color:#efe4ce!important;font-size:15px;line-height:1.4}html[data-device] body #details.castle-chambers-window .chamber-activation-hint{font:13px/1.4 PT Sans,sans-serif!important}#details.castle-chambers-window .chamber-activate b{display:inline-flex;align-items:center;gap:5px}@media(max-width:600px){html[data-device] body #details.castle-chambers-window .chamber-palace-layout{padding:0!important}html[data-device] body #details.castle-chambers-window .chamber-cards{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:8px!important}html[data-device] body #details.castle-chambers-window .chamber-card{min-width:0!important;padding:6px!important}html[data-device] body #details.castle-chambers-window .chamber-card strong{font:700 14px/1.3 PT Sans,sans-serif!important}html[data-device] body #details.castle-chambers-window .chamber-card .chamber-portrait{aspect-ratio:4/3!important}}html[data-device] body #details.castle-chambers-window .chamber-level-table thead{position:static}html[data-device] body #details.castle-chambers-window .chamber-level-table thead th:first-child{white-space:nowrap;font-size:12px!important;padding:10px 3px!important}body #section-window.recruit-window{--ru:min(1px,calc((100vw - 16px)/1224),calc((100dvh - 12px)/560));--u:var(--ru);--recruit-head:max(36px,calc(var(--ru)*48));--recruit-caption:max(17px,calc(var(--ru)*24));width:calc(var(--ru)*1224)!important;height:min(560px,calc(100dvh - 12px))!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 12px)!important;padding:0;overflow:hidden;border:1px solid #b89b58;border-radius:3px;background:linear-gradient(#273020ed,#242718f5)!important;color:#f7edce}body #section-window.recruit-window .window-head{height:var(--recruit-head)!important;min-height:0!important;padding:0 calc(var(--ru)*70)!important;display:flex;align-items:center;justify-content:center;background:linear-gradient(#e8d1a0,#bea16d);border-bottom:1px solid #8d743f}body #section-window.recruit-window .window-head h2{font:700 max(21px,calc(var(--ru)*34))/1 "Cormorant Garamond",Georgia,serif!important;color:#fff4d7;text-shadow:0 2px 2px #493718;margin:0}body #section-window.recruit-window .window-head .close-dialog,body #section-window.recruit-window .recruit-back{position:absolute;right:0;top:0;bottom:auto;width:max(40px,calc(var(--ru)*64))!important;height:100%!important;min-height:0!important;padding:0;border:1px solid #c8a25d;border-radius:0;background:linear-gradient(#be3428,#6e140f);color:#ffe3a2;font:700 max(28px,calc(var(--ru)*40))/1 Georgia;box-shadow:none;transform:none}body #section-window.recruit-window #city-main{width:100%;max-width:none;margin:0;height:calc(100% - var(--recruit-head))!important;max-height:none!important;min-height:0;padding:0!important;flex:none;overflow:hidden;background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}body #section-window.recruit-window #army-screen{height:100%;min-height:0;display:flex;flex-direction:column}body #section-window.recruit-window .recruit-tabs{display:flex;flex:none;height:max(28px,calc(var(--ru)*36));padding:0;margin:0;gap:0;border-bottom:1px solid #9e8652}body #section-window.recruit-window .recruit-tabs button{flex:1;min-height:0;border:0;border-right:1px solid #b29760;border-radius:0;padding:0 8px;font:700 max(15px,calc(var(--ru)*24))/1 "Cormorant Garamond",Georgia,serif;background:linear-gradient(#e1c58f,#c0a36c)!important;color:#3a260d!important;box-shadow:none}body #section-window.recruit-window .recruit-tabs button[aria-pressed=true]{background:linear-gradient(#dfcca0,#b5b78b 65%,#27949e)!important;box-shadow:inset 0 -3px 5px #1097a066!important}body #section-window.recruit-window .recruitment{display:flex;flex-direction:column;flex:1;min-height:0;min-width:0;margin:0;padding:calc(var(--ru)*8) 0 0;background:none!important;-webkit-backdrop-filter:none;backdrop-filter:none}body #section-window.recruit-window .recruit-carousel{position:relative;display:flex;flex:1;min-height:0;min-width:0;overflow:hidden}body #section-window.recruit-window .recruit-gallery.carousel.recruit-grid{display:grid!important;grid-auto-flow:column;grid-template-rows:repeat(2,minmax(0,1fr))!important;grid-auto-columns:calc((100% - var(--ru)*50)/6);gap:calc(var(--ru)*6) calc(var(--ru)*10);align-content:stretch;align-items:stretch;flex:1;min-height:0;min-width:0;margin:0;padding:0 calc(var(--ru)*16) calc(var(--ru)*8)!important;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;overscroll-behavior:contain}body #section-window.recruit-window .recruit-gallery::-webkit-scrollbar{display:none}body #section-window.recruit-window .recruit-tile.wide{position:relative;display:block;min-width:0;min-height:0;height:auto;padding:0;border:0;border-radius:0;background:none;overflow:hidden;scroll-snap-align:start}body #section-window.recruit-window .recruit-select{position:absolute;inset:0;display:block;appearance:none;-webkit-appearance:none;width:100%;height:100%;min-width:0;min-height:0;gap:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;transform:none}body #section-window.recruit-window .recruit-select img{position:absolute;top:0;left:0;display:block;width:100%;height:calc(100% - var(--recruit-caption));min-width:0;min-height:0;aspect-ratio:auto;object-fit:contain;border:1px solid #c4b487;border-radius:0;background:radial-gradient(ellipse at 55% 30%,#87946c,#45533a 65%,#202a1c);filter:none}body #section-window.recruit-window .recruit-caption{position:absolute;bottom:0;left:0;display:block;order:0;width:100%;height:var(--recruit-caption);padding:0;min-height:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#fff2cd;font:700 max(12px,calc(var(--ru)*21))/1.1 "Cormorant Garamond",Georgia,serif;text-shadow:0 1px 2px #000;text-align:center}body #section-window.recruit-window .recruit-tile[data-selected=true] img{border:2px solid #92f5ff;box-shadow:inset 0 0 8px #50e6ee,0 0 7px #3fe5f0}body #section-window.recruit-window .recruit-tile[data-selected=true] .recruit-caption{color:#ffe399}body #section-window.recruit-window .recruit-tile.locked img{filter:grayscale(.75) brightness(.68)}body #section-window.recruit-window .recruit-info{position:absolute;right:4px;top:auto;bottom:calc(max(17px,var(--ru)*24) + 4px);width:max(22px,calc(var(--ru)*26));height:max(22px,calc(var(--ru)*26));min-height:0;padding:0;border:1px solid #d7bd77;border-radius:50%;background:#24445be8;color:#f9d88b;font:700 italic 16px/1 Georgia;opacity:0;box-shadow:none;transform:none}body #section-window.recruit-window .recruit-tile:is(:hover,:focus-within,[data-selected=true]) .recruit-info{opacity:1}body #section-window.recruit-window .recruit-lock{position:absolute;inset:5px auto auto 5px;padding:0;background:none;font-size:12px}body #section-window.recruit-window .carousel-arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:max(24px,calc(var(--ru)*30));height:max(44px,calc(var(--ru)*64));min-height:0;padding:0;border:1px solid #cfb56c;border-radius:1px;background:#1a3821dd;color:#f8dda0;font:700 30px/1 Georgia}body #section-window.recruit-window .carousel-arrow.prev{left:0}body #section-window.recruit-window .carousel-arrow.next{right:0}body #section-window.recruit-window .recruit-quantity{display:flex;align-items:center;flex:none;gap:calc(var(--ru)*8);height:max(40px,calc(var(--ru)*52));min-height:0;padding:0 calc(var(--ru)*100);border-block:1px solid #a48c55;background:linear-gradient(#37401f,#252c16)!important}body #section-window.recruit-window .recruit-quantity .quantity-step{flex:none;width:max(44px,calc(var(--ru)*70));height:max(34px,calc(var(--ru)*44));min-height:0;margin:0;padding:0;border:2px solid #d4bc72;border-radius:0;background:linear-gradient(#85b834,#385a0c);color:#e4dcac;font:700 max(26px,calc(var(--ru)*40))/1 "PT Sans",sans-serif;clip-path:polygon(18% 0,82% 0,100% 50%,82% 100%,18% 100%,0 50%);box-shadow:inset 0 2px #efffb766;transform:none}body #section-window.recruit-window .recruit-quantity input[type=range]{display:block;appearance:none;flex:1;min-width:0;width:0;height:max(10px,calc(var(--ru)*14));min-height:0;margin:0;padding:0;border:1px solid #b99f5e;border-radius:8px;background:linear-gradient(to right,#80a326 var(--fill),#464f22 var(--fill));box-shadow:inset 0 2px 4px #0007;cursor:pointer}body #section-window.recruit-window .recruit-quantity input[type=range]::-webkit-slider-thumb{appearance:none;width:max(20px,calc(var(--ru)*28));height:max(20px,calc(var(--ru)*28));min-width:0;min-height:0;border:2px solid #e3cc86;border-radius:3px;background:linear-gradient(#9ac84a,#456f15);box-shadow:0 2px 4px #0008;transform:rotate(45deg)}body #section-window.recruit-window .recruit-quantity input[type=range]::-moz-range-thumb{width:max(20px,calc(var(--ru)*28));height:max(20px,calc(var(--ru)*28));border:2px solid #e3cc86;border-radius:3px;background:#71992e;transform:rotate(45deg)}body #section-window.recruit-window #recruit-count{flex:none;width:max(48px,calc(var(--ru)*64));min-width:0;height:max(26px,calc(var(--ru)*32));min-height:0;padding:0 2px;margin:0;border:1px solid #ad9b60;border-radius:2px;background:#243314;color:#fff2cb;font:700 max(16px,calc(var(--ru)*18))/1 "PT Sans",sans-serif;text-align:center;box-shadow:none}body #section-window.recruit-window .recruit-footer{display:flex;align-items:center;justify-content:center;flex:none;gap:calc(var(--ru)*65);min-height:calc(var(--ru)*94);padding:calc(var(--ru)*6) calc(var(--ru)*20) 0;background:none}body #section-window.recruit-window .recruit-bill{border-collapse:collapse;margin:0;color:#fff0c8;font:700 max(12px,calc(var(--ru)*19))/1.2 "PT Sans",sans-serif;text-align:center}body #section-window.recruit-window .recruit-bill th,body #section-window.recruit-window .recruit-bill td{padding:1px calc(var(--ru)*7);min-width:calc(var(--ru)*70)}body #section-window.recruit-window .recruit-bill th:first-child{min-width:0;font:700 max(13px,calc(var(--ru)*21))/1.2 "Cormorant Garamond",Georgia,serif;text-align:right}body #section-window.recruit-window .recruit-bill img{width:max(16px,calc(var(--ru)*24));height:max(16px,calc(var(--ru)*24));object-fit:contain}body #section-window.recruit-window .recruit-bill td{border:1px solid #ac9b6166}body #section-window.recruit-window .recruit-bill tr:last-child td{border:0;color:#bcbea4}body #section-window.recruit-window .recruit-bill .short{color:#ff9a85}body #section-window.recruit-window .recruit-time{color:#eed47a}body #section-window.recruit-window .recruit-hire{flex:none;width:calc(var(--ru)*105);min-width:55px;height:max(28px,calc(var(--ru)*31.25));min-height:28px;margin:0;padding:2px 6px;border:1px solid #c2a965;border-radius:3px;background:linear-gradient(#148ab0,#08516f 70%,#147a94);color:#fff3d2;font:700 max(10px,calc(var(--ru)*12.5))/1.05 "Cormorant Garamond",Georgia,serif;box-shadow:inset 0 1px 3px #aff2ff77;transform:none}body #section-window.recruit-window .recruit-hire:disabled{background:#414b3c;color:#afb49e;border-color:#777b59;box-shadow:none}body #section-window.recruit-window .recruit-hire span,body #section-window.recruit-window .recruit-hire strong{display:block}body #section-window.recruit-window .recruit-condition{flex:none;min-height:max(17px,calc(var(--ru)*24));margin:0;padding:2px 8px;text-align:center;color:#ccc2a0;font:400 max(10px,calc(var(--ru)*13))/1.25 "PT Sans",sans-serif}body #section-window.recruit-window .recruit-error{flex:none;margin:0;padding:2px 8px;color:#ffb59f;font:13px/1.2 PT Sans,sans-serif;text-align:center}body #section-window.recruit-window .recruit-error:empty{display:none}body #section-window.recruit-window.building-recruit-window .recruit-gallery.recruit-grid{grid-template-rows:minmax(0,1fr)!important;grid-auto-columns:calc((100% - var(--ru)*40)/4)}body #section-window.recruit-window.recruit-detail-view .recruit-tabs{display:none}body #section-window.recruit-window .recruit-stats-view{display:flex;align-items:center;justify-content:center;flex:1;min-height:0;gap:calc(var(--ru)*40);padding:calc(var(--ru)*8) calc(var(--ru)*130)}body #section-window.recruit-window .recruit-stats{flex:1;min-width:0;margin:0;font:700 max(12px,calc(var(--ru)*21))/1.15 "Cormorant Garamond",Georgia,serif}body #section-window.recruit-window .recruit-stats dd{font-size:max(11px,calc(var(--ru)*18));margin:0}body #section-window.recruit-window .recruit-portrait{width:38%;height:100%;min-height:0;margin:0}body #section-window.recruit-window .recruit-portrait img{height:calc(100% - 18px);width:100%;max-height:none;aspect-ratio:auto;object-fit:contain;border:1px solid #b59d64;background:radial-gradient(ellipse,#6d7854,#293923)}body #section-window.recruit-window .recruit-back{height:max(36px,calc(var(--ru)*48))!important;background:linear-gradient(#159bb6,#07516b)!important;color:#ffedbc!important;border-color:#c8a25d!important}body #section-window.recruit-window .recruit-gallery{scroll-padding-inline:calc(var(--ru)*16)}body .activity-panel.marches-open{width:min(440px,calc(100vw - 120px));max-width:none}.activity-march{padding:12px;margin:0 0 10px;border:1px solid #ad8e52;border-radius:8px;background:#fff4d9;color:#39270e;font:14px/1.35 var(--control-font,sans-serif);overflow-wrap:anywhere}.activity-march-head{display:flex;gap:8px;justify-content:space-between;align-items:center}.activity-march-head>strong{font-size:15px}.march-status{font-size:12px;padding:3px 6px;border-radius:4px;background:#dbe1bd;white-space:nowrap}.activity-march h3{margin:8px 0 3px;font:700 19px/1.15 Cormorant Garamond,serif}.activity-march p{margin:5px 0;font:14px/1.4 var(--control-font,sans-serif);text-align:left}.activity-march .march-position,.activity-march .march-composition{font-size:12px}.activity-march .march-cargo{font-weight:700}.activity-march progress{display:block;width:100%;height:8px;accent-color:#477e3a;margin:7px 0}.activity-march .activity-timer{font-weight:700;color:#5f4718}.march-actions{display:flex;gap:6px;flex-wrap:wrap;margin-top:10px}.activity-march .march-actions button{flex:1 1 auto;min-height:34px;padding:6px 10px;border:1px solid #688463;border-radius:5px;background:linear-gradient(#fbf5dc,#ded4aa);color:#2c321b;box-shadow:none;transform:none;font:700 13px/1.2 var(--control-font,sans-serif);white-space:normal}.activity-march .march-actions .march-recall{background:linear-gradient(#f0debc,#ddc297);border-color:#a67943;color:#6b3018}.activity-march button:disabled{opacity:.6}.activity-march button:focus-visible{outline:2px solid #167887;outline-offset:2px}.activity-panel .march-slots{margin:0 0 9px;font-size:13px}.resource-troops input{font-size:16px}.march-siege{display:flex;gap:8px;align-items:center;flex-wrap:wrap;width:100%;padding:6px 4px;font-size:13px}.march-siege select{flex:1;min-width:160px;padding:5px 6px;border-radius:6px}body #details.building-window #dialog-content{display:flex!important;flex-direction:column!important;height:auto!important;min-height:0!important;overflow:visible!important;padding:0!important}body #details .bv-top{display:grid;grid-template-columns:36% minmax(0,1fr);align-items:stretch;gap:0;padding:0;min-height:240px}body #details .bv-text{display:flex;flex-direction:column;justify-content:center;gap:12px;padding:22px 26px;min-width:0;text-align:left;color:#f5eddc}body #details .bv-identity{display:flex;align-items:center;gap:8px 12px;flex-wrap:wrap}body #details .bv-category{width:100%;font:700 10px/1.2 PT Sans,sans-serif;letter-spacing:.14em;text-transform:uppercase;color:#bfa773}body #details .bv-name{font:600 30px/1 Cormorant Garamond,Georgia,serif;color:#f0dfb9;margin:0}body #details .bv-level{font:600 12px/1.4 PT Sans,sans-serif;color:#d3ccba;border:1px solid #bda77a55;border-radius:4px;padding:3px 7px}body #details .bv-desc{font:400 14px/1.5 PT Sans,sans-serif;color:#cfd2ca;margin:0;max-width:48ch}body #details .bv-effects{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}body #details .bv-stat{padding-left:10px;border-left:2px solid #97a19655}body #details .bv-stat.next{border-color:#c9ab70}body #details .bv-stat small{font:700 10px/1.3 PT Sans,sans-serif;color:#b8c0b8;letter-spacing:.08em}body #details .bv-stat.next small{color:#dfbf82}body #details .bv-effect{font:600 15px/1.35 PT Sans,sans-serif;color:#f2e9d6;margin:4px 0 0}body #details .bv-xp{font:400 12px/1.4 PT Sans,sans-serif;color:#bfc5bd}body #details .bv-pic{position:relative;margin:0;width:100%;height:100%;min-height:240px;aspect-ratio:auto;overflow:hidden;border:0;border-right:1px solid #bda77a44;background:#333c35}body #details .bv-pic>img{display:block;width:100%;height:100%;position:absolute;inset:0;object-fit:cover;filter:saturate(.85);opacity:1!important;visibility:visible!important}body #details .bv-pic:after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(180deg,transparent 60%,#15201acc)}body #details .bv-pic .info-help{position:absolute;inset:auto auto 12px 12px;transform:none;width:auto;height:34px;min-height:34px;padding:0 12px;border:1px solid #d7c19588;border-radius:4px;background:#253034e8;color:#f1dbb3;font:600 12px/1 PT Sans,sans-serif;z-index:2;box-shadow:0 2px 7px #0004}body #details .bv-art-fallback{display:grid;place-items:center;position:absolute;inset:0;font:24px Cormorant Garamond,serif;color:#e5d1a3}body #details .bv-bottom{position:relative;border-top:1px solid #bda77a55;padding:16px 22px;background:#151e2270;flex:none}body #details .bv-banner{position:static;transform:none;padding:0;margin:0 0 12px;border:0;box-shadow:none;background:none;font:600 20px/1.2 Cormorant Garamond,Georgia,serif;color:#e9d2a0}body #details .bv-row{display:grid;grid-template-columns:minmax(0,1fr) 175px;align-items:center;gap:24px}body #details .bv-bill{min-width:0;display:block}body #details .bv-cost{width:100%;table-layout:fixed;border-collapse:collapse;font:600 14px/1.4 PT Sans,sans-serif;color:#f1e6cf;font-variant-numeric:tabular-nums}body #details .bv-cost :is(td,th){padding:3px 4px;text-align:center;border:0;background:none}body #details .bv-cost th:first-child{width:42px;text-align:left;font-size:12px;font-weight:400;color:#bec7c3}body #details .bv-cost tr:first-child th{font-size:11px;font-weight:400;color:#bec7c3}body #details .bv-cost tr:nth-child(2) td{border:0;background:#ffffff05}body #details .bv-cost tr:nth-child(2) td.cost-short{color:#ffb7a2}body #details .bv-cost .bv-have :is(td,th){color:#aebdb3;font-size:12px;font-weight:400}body #details .bv-cost img{width:24px;height:24px;object-fit:contain;display:block;margin:0 auto}body #details .building-cost-time{color:#e9ca90;white-space:nowrap}body #details .building-actions{display:flex;flex-direction:column;gap:7px;min-width:0;padding:0}body #details .building-actions button{width:100%;margin:0;padding:8px 10px}body #details .building-job-time{font:700 18px/1.4 PT Sans,sans-serif;font-variant-numeric:tabular-nums;color:#e8c78e;margin:0}body #details .bv-help-count{font:13px/1.4 PT Sans,sans-serif;color:#c5cdbf;margin:4px 0}body #details.building-window .building-tabs{display:flex;gap:0;padding:0 18px;border-bottom:1px solid #bda77a44;background:#ffffff02}body #details.building-window .building-tabs button{flex:0 1 auto!important;min-width:100px;min-height:38px!important;border:0!important;border-radius:0!important;padding:8px 14px!important;background:transparent!important;color:#bfc8c3!important;font:600 13px PT Sans,sans-serif!important;box-shadow:none!important}body #details.building-window .building-tabs button[aria-pressed=true]{background:#c5ac7220!important;color:#ecd5a5!important;box-shadow:inset 0 -2px #c5ac72!important}body #details .bv-levels{display:flex;min-height:160px;flex-direction:column}body #details .bv-levels-list{padding:0;overflow:visible}body #details .bv-lvl{display:grid;grid-template-columns:40px minmax(0,1fr) 235px;align-items:center;gap:10px;padding:10px 18px;border-bottom:1px solid #ffffff10;background:#ffffff02;color:#eee4cb}body #details .bv-lvl:nth-child(odd){background:#ffffff05}body #details .bv-lvl.current{background:#a1b59218;box-shadow:inset 3px 0 #8eaa80}body #details .bv-lvl.next{background:#ccb07117;box-shadow:inset 3px 0 #ccb071}body #details .bv-lvl-no{font:600 25px Cormorant Garamond,serif;color:#d8c18d}body #details .bv-lvl-mid{display:grid;gap:3px;min-width:0}body #details .bv-lvl-effect{font:600 14px/1.3 PT Sans,sans-serif;color:#eee4cb;text-align:left}body #details .bv-lvl-xp{font:600 12px/1.3 PT Sans,sans-serif;color:#d9bd83}body #details .bv-lvl-cost{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:3px 12px}body #details .bv-lvl-res{display:flex;align-items:center;gap:5px;font:12px/1.3 PT Sans,sans-serif;color:#d1cfbc}body #details .bv-lvl-res img{width:18px;height:18px;object-fit:contain}body #details .bv-lvl-res i{font:10px PT Sans,sans-serif;color:#aebbb3}body #details .bv-levels-loading{padding:20px;text-align:center;color:#c8d0c5}body #details .bv-lvl-res span{color:#d1cfbc}body .hud{--hud-bottom:max(10px,env(safe-area-inset-bottom));--hud-left:max(10px,env(safe-area-inset-left));--hud-right:max(10px,env(safe-area-inset-right));font-family:PT Sans,sans-serif}body .hud .ribbon{left:var(--hud-left)!important;top:max(5px,env(safe-area-inset-top))!important;width:132px!important;height:26px!important;line-height:26px!important;padding:0 8px!important;clip-path:none!important;border-radius:5px;background:linear-gradient(90deg,#211a13e8,#211a13b8 72%,#211a1300)!important;font:700 16px/26px PT Sans,sans-serif!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}body .hud .avatar{left:var(--hud-left)!important;top:40px!important;width:58px!important;height:58px!important;border-width:2px!important}body .hud .prestige{left:calc(var(--hud-left) + 72px)!important;top:40px!important;width:52px!important;height:58px!important;transform:none!important}body .hud .prestige:before{width:42px!important;height:40px!important;left:5px!important}body .hud .prestige .crown{top:21px!important;font-size:13px!important}body .hud .prestige b{font:700 11px PT Sans,sans-serif!important;background:linear-gradient(90deg,#211a1300,#211a13d9 20% 80%,#211a1300);border-radius:0;padding:2px!important}body .hud .bank{left:var(--hud-left)!important;top:106px!important;width:132px!important;height:38px!important;min-height:38px!important;display:grid!important;grid-template-columns:22px 1fr auto!important;align-items:center!important;gap:4px!important;padding:0 7px!important;clip-path:none!important;border:1px solid #a38a5366!important;border-radius:6px!important;background:linear-gradient(90deg,#211a13e8,#211a13b8 72%,#211a1300)!important;box-shadow:0 2px 5px #0004!important}body .hud .bank i{width:20px!important;height:20px!important;margin:0!important;grid-column:auto!important;grid-row:auto!important}body .hud .bank b{font:700 14px PT Sans,sans-serif!important;grid-column:auto!important;grid-row:auto!important}body .hud .bank span{font:700 11px PT Sans,sans-serif!important;grid-column:auto!important;grid-row:auto!important;color:#b9cdbf!important}body .hud #resbar{left:calc(var(--hud-left) + 144px)!important;right:calc(var(--hud-right) + 78px)!important;top:max(5px,env(safe-area-inset-top))!important;height:40px!important;padding:0 6px!important;background:linear-gradient(180deg,#211a13e8,#211a13ba)!important;border:0!important;border-bottom:1px solid #c4a66a88!important;border-radius:0 0 4px 4px!important;gap:4px!important}body .hud #resbar:before,body .hud #resbar:after{display:none!important}body .hud #resbar .res{height:38px!important;min-height:38px!important;min-width:0!important;gap:5px!important;padding:0 3px!important;cursor:pointer;border-radius:4px}body .hud #resbar .res img{width:24px!important;height:24px!important}body .hud #resbar .res b{font:700 15px/1 PT Sans,sans-serif!important;color:#fff0ce!important;text-shadow:none!important;font-variant-numeric:tabular-nums}body .hud #resbar .res:hover,body .hud #resbar .res:focus-visible{background:#ffffff18!important;outline:2px solid #dec88d}body .hud .menu{right:var(--hud-right)!important;top:50px!important;bottom:var(--hud-bottom)!important;width:68px!important;gap:3px!important;justify-content:space-around!important;padding:4px 2px!important;background:none;border:0;border-radius:0}body .hud .medal{width:62px!important;height:58px!important;min-height:48px!important;gap:0!important;flex:0 1 58px}body .hud .medal i{width:34px!important;height:34px!important;min-height:26px!important;border:0!important;box-shadow:none!important;background-color:transparent!important}body .hud .medal .hud-art{filter:saturate(.75) drop-shadow(0 2px 2px #0008)!important}body .hud .medal span,body .hud .control-caption{font:700 12px/16px PT Sans,sans-serif!important;font-style:normal!important;color:#f6edda!important;background:linear-gradient(90deg,#211a1300,#211a13d9 16% 84%,#211a1300);border-radius:0;padding:1px 7px;text-shadow:none!important;white-space:nowrap}body .hud .medal i.clan-emblem{background-image:url(/art/hero-skills/skills-painted-v2.webp)!important;background-size:600% 500%!important;background-position:20% 100%!important;border-radius:6px!important}body .hud .side{left:var(--hud-left)!important;top:157px!important;padding:0!important;border:0!important;gap:8px!important}body .hud .side .quest{width:66px!important;height:59px!important;min-height:44px!important;border-radius:6px!important;display:flex!important;flex-direction:column!important;gap:0!important}body .hud .side .quest .hud-art{width:38px!important;height:38px!important;object-fit:contain;filter:saturate(.75) drop-shadow(0 2px 2px #0008)!important}body .hud .quest em:empty{display:none!important}body .hud .quest em{right:-2px!important;top:0!important;bottom:auto!important;min-width:20px;height:20px;border-radius:10px;background:#a63b2d;color:#fff!important;text-shadow:none!important;display:grid;place-items:center;font:700 12px PT Sans,sans-serif!important;border:1px solid #f6d6a8}body .hud .quest.has-reward .control-caption{color:#ffe1a0!important;border:1px solid #d7b061}body .hud .bar{left:var(--hud-left)!important;bottom:var(--hud-bottom)!important;width:auto!important;height:76px!important;gap:5px!important;padding:4px!important;border:0!important;border-radius:0!important;background:linear-gradient(0deg,#211a13d9,#211a1399 58%,#211a1300)!important;align-items:center!important}body .hud .bbtn{width:72px!important;height:66px!important;min-height:44px!important;display:flex!important;flex-direction:column!important;gap:0!important;justify-content:center!important;border-radius:5px!important}body .hud .bbtn .hud-art{width:30px!important;height:30px!important;filter:saturate(.75) drop-shadow(0 2px 2px #0008)!important}body .hud .bbtn .control-caption{background:none;padding:0}body .hud .bbtn .queue-summary{font:11px/16px PT Sans,sans-serif;color:#bfd5c7;white-space:nowrap;font-variant-numeric:tabular-nums}body .hud .bbtn[data-n]:after{top:-2px!important;right:0!important;bottom:auto!important;min-width:18px!important;height:18px!important;background:#5b4b32!important;border:1px solid #b3c8af!important;font:700 11px/16px PT Sans,sans-serif!important;box-shadow:none!important}body .hud .bbtn[data-status=attention]:after{background:#af3b2e!important;border-color:#ffd6a0!important}body .hud .bbtn[data-status=attention] .queue-summary{color:#ffc5b5}body .hud .bbtn[aria-expanded=true]{background:#c5b47d26!important;outline:1px solid #e4c787}body .hud .ticker{left:auto!important;right:calc(var(--hud-right) + 78px)!important;bottom:var(--hud-bottom)!important;height:44px!important;min-height:44px!important;width:94px!important;padding:0 0 0 10px!important;gap:6px!important;overflow:hidden;background:linear-gradient(180deg,#443727e0,#241c14ed)!important;border:1px solid #bda16a88!important;border-radius:3px!important;box-sizing:border-box}body .hud .ticker .q{display:none!important}body .hud .ticker .chat-label{font:700 13px PT Sans,sans-serif;color:#f7e5bb;flex:none}body .hud .ticker.chat-collapsed span{display:none!important}body .hud .ticker.chat-expanded{width:min(420px,calc(100vw - 410px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important}body .hud .ticker span{font:12px PT Sans,sans-serif!important;color:#d4e1d3!important;text-shadow:none!important;animation:none!important;min-width:0;overflow:hidden;text-overflow:ellipsis}body .hud .chat-preview-toggle{margin-left:auto;flex:none;min-width:36px!important;width:36px!important;height:42px!important;min-height:42px!important;padding:0!important;border:0!important;border-left:1px solid #a38a5344!important;background:transparent!important;color:#e8d19b!important;font:22px PT Sans,sans-serif!important;box-shadow:none!important}body .hud .city-center{left:calc(var(--hud-left) + 317px);bottom:var(--hud-bottom);height:44px;min-height:44px;padding:0 10px;border:1px solid #bda16a88;border-radius:3px;background:linear-gradient(180deg,#443727e0,#241c14ed);color:#f7e5bb;font:700 12px PT Sans,sans-serif;box-shadow:none}body.on-map .city-center,body.on-map .city-help{display:none!important}body .hud .city-help{left:calc(var(--hud-left) + 154px);right:calc(var(--hud-right) + 88px);top:55px;max-width:540px;padding:8px 10px;display:flex;align-items:center;gap:10px;background:linear-gradient(180deg,#362b20f5,#201910f5);border:1px solid #bca56c;border-radius:3px;font:13px/1.3 PT Sans,sans-serif;color:#f3e9ce}body .hud .city-help button{flex:none;min-height:44px;padding:5px 10px;background:linear-gradient(#675139,#3c2e20);border:1px solid #b9aa76;border-radius:3px;color:#fff1d4;font:700 12px PT Sans,sans-serif}#city.fixed-city .site-plaque{min-width:24px!important;height:25px!important;padding:0 4px!important;font:700 14px/1 PT Sans,sans-serif!important;background:linear-gradient(#58472de8,#302617f2)!important;border:1px solid #ddc88eaa!important;border-radius:2px 2px 6px 6px!important;box-shadow:0 2px 3px #0008!important;text-shadow:none!important}#city.fixed-city button.city-site.selected:before,#city.fixed-city button.city-site:focus-visible:before{background:transparent;box-shadow:inset 0 0 0 2px #f7d57d;filter:drop-shadow(0 0 4px #f7d57d)}#city.fixed-city button.city-site.selected .site-plaque{background:#684d20!important;border-color:#ffe7a0!important}#city.fixed-city button.city-site:active:before{background:#ffde781a}@media(hover:hover){#city.fixed-city button.city-site:not(:disabled):hover:before{background:transparent;box-shadow:inset 0 0 0 2px #e7c77799}}body .chat-window{bottom:calc(max(10px,env(safe-area-inset-bottom)) + var(--kb,0px))!important;max-height:calc(100dvh - max(10px,env(safe-area-inset-bottom)) - var(--kb,0px) - 16px)!important}body .activity-panel{left:max(10px,env(safe-area-inset-left))!important;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 86px)!important;max-height:calc(100dvh - max(10px,env(safe-area-inset-bottom)) - 150px)!important}@media(prefers-reduced-motion:reduce){body .hud *,#city .city-site{animation:none!important;transition:none!important}}body .hud .ticker .chat-label{border:0!important;background:none!important;box-shadow:none!important;padding:0!important;min-height:42px!important;min-width:40px!important;color:#f7e5bb!important;font:700 13px PT Sans,sans-serif!important}.cost-grid .cost-missing{grid-column:1/-1;font:13px/1.4 PT Sans,sans-serif;color:#a73725;margin:4px 0}#city-paint{filter:saturate(.9) contrast(.98)}body .chat-window{right:max(10px,env(safe-area-inset-right))!important}body .chat-window header button,body .chat-window .chat-form button{min-height:44px!important}body .hud :is(.medal,.quest,.bbtn,.city-center,.chat-label,.chat-preview-toggle):focus-visible{outline:2px solid #ffe1a0!important;outline-offset:2px}body .hud .ticker.chat-expanded{bottom:calc(var(--hud-bottom) + 86px)!important;width:min(420px,calc(100vw - 250px - env(safe-area-inset-left) - env(safe-area-inset-right)))!important}body .hud .bank{height:44px!important;min-height:44px!important}body .hud #resbar{height:46px!important}body .hud #resbar .res{height:44px!important;min-height:44px!important}body .hud .menu .city-center{position:relative!important;inset:auto!important;background:none!important;border:0!important;box-shadow:none!important;padding:0!important;font:inherit!important}body.city-chat-open .hud :is(.ribbon,.avatar,.prestige,.bank,.side,.bar,.city-help),body.city-chat-open .activity-panel{display:none!important}body.city-chat-open .hud .ticker.chat-expanded{left:var(--hud-left)!important;right:calc(var(--hud-right) + 78px)!important;bottom:var(--hud-bottom)!important;width:auto!important;max-width:780px}body .chat-window{width:min(760px,calc(100vw - max(10px,env(safe-area-inset-left)) - max(10px,env(safe-area-inset-right)) - 78px))!important;right:calc(max(10px,env(safe-area-inset-right)) + 78px)!important;height:min(360px,calc(100dvh - max(10px,env(safe-area-inset-bottom)) - 68px))!important}body .hud :is(.ribbon,.bank,#resbar,.bar,.ticker),body .hud .prestige b,body .hud .medal span,body .hud .control-caption{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}body .hud :is(.ribbon,.bank b,.bank span,.prestige b,.medal span,.control-caption,.queue-summary,.chat-label,.ticker span),body .hud #resbar .res b{color:#fffaf0!important;text-shadow:0 1px 2px #000,0 2px 5px #000d!important}body .hud .ribbon{padding-left:2px!important;letter-spacing:.1px}body .hud #resbar .res{background:none!important;border:0!important;box-shadow:none!important}body .hud #resbar .res:hover{background:none!important;outline:none!important;filter:brightness(1.15)}body .hud #resbar .res:focus-visible{outline:2px solid #f8e2ac!important}body .hud .bank:hover,body .hud .prestige:hover,body .hud .medal:hover,body .hud .bbtn:hover{background:none!important;border-color:transparent!important;box-shadow:none!important}body .hud .bank{padding-left:2px!important;padding-right:2px!important}body .hud .control-caption,body .hud .medal span{font-weight:600!important;letter-spacing:.1px}body .hud .bbtn .queue-summary{color:#e6e8e5!important;font-weight:500}body .hud .bbtn[aria-expanded=true]{background:none!important;outline:0!important}body .hud .bbtn[aria-expanded=true] .control-caption{color:#ffe2a2!important;text-decoration:underline;text-underline-offset:4px}body .hud .quest.has-reward .control-caption{border:0!important;color:#ffe2a2!important}body .hud .ticker .chat-label{color:#fffaf0!important}body .hud .chat-preview-toggle{border:0!important;color:#fffaf0!important;text-shadow:0 1px 3px #000!important}body .hud .ticker.chat-expanded span{font-size:13px!important}#city.fixed-city .site-plaque{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;color:#fff4d5!important;font:700 15px/1 PT Sans,sans-serif!important;text-shadow:0 1px 2px #000,0 2px 5px #000!important}#city.fixed-city .city-site[data-state=free] .site-plaque{color:#ffe3a5!important;font-size:22px!important}#city.fixed-city button.city-site.selected .site-plaque{background:none!important;border:0!important;color:#ffe2a2!important}#city .tplate,#city .construction{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:2px 4px!important;color:#fff4db!important;font-family:PT Sans,sans-serif!important;font-style:normal!important;text-shadow:0 1px 2px #000,0 2px 5px #000!important}body .chat-window{background:#121518b8!important;border:1px solid #ffffff38!important;border-radius:12px!important;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);box-shadow:0 12px 36px #0004!important}body .chat-window::backdrop{background:#0002!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}body .chat-window header{border-bottom:1px solid #ffffff20!important}body .chat-window header button{border:0!important;background:none!important;color:#e8e9e7!important;border-radius:6px!important}body .chat-window header button.on{background:#ffffff12!important;color:#ffe3ab!important;box-shadow:inset 0 -2px #dfc28c}body .chat-window .chat-close{background:none!important;color:#fff!important}body .chat-window .chat-form{background:none!important;border-top:1px solid #ffffff20!important}body .chat-window .chat-form input{background:#ffffff09!important;border:1px solid #ffffff28!important;border-radius:7px!important;color:#fff!important}body .chat-window .chat-form button{background:#e3d2aa!important;border:0!important;border-radius:7px!important;color:#202326!important;text-shadow:none!important;box-shadow:none!important}@supports not (backdrop-filter:blur(18px)){body .chat-window{background:#121518f0!important}}body .hud #resbar{background:linear-gradient(180deg,#4d52599e,#272c3357 68%,#272c3300)!important;border:0!important;border-radius:7px 7px 0 0!important}body .hud .ribbon,body .hud .bank{background:linear-gradient(90deg,#363c439e,#363c4342 75%,#363c4300)!important;border:0!important;border-radius:5px!important}body .hud .bar{background:linear-gradient(0deg,#2e343c9e,#2e343c42 55%,#2e343c00)!important;border:0!important;border-radius:0!important}body .hud .ticker{background:linear-gradient(180deg,#4e545c7a,#262c3475)!important;border:1px solid #ffffff16!important;border-radius:7px!important}body .hud .medal span,body .hud .side .control-caption,body .hud .prestige b{background:linear-gradient(90deg,transparent,rgba(43,49,57,.46) 24%,rgba(43,49,57,.46) 76%,transparent)!important;border:0!important}#city.fixed-city .site-plaque{background:linear-gradient(180deg,#545b64c7,#252b33ad)!important;border:1px solid #ffffff38!important;border-radius:4px!important;color:#fff7e5!important;box-shadow:0 1px 3px #0004!important}#city.fixed-city button.city-site.selected .site-plaque{background:linear-gradient(180deg,#666c74d1,#2e343cbd)!important;border:1px solid #ead3a2aa!important}#city .tplate,#city .construction{background:linear-gradient(180deg,#464d56a6,#242b346b)!important;border:0!important;border-radius:3px!important}body .hud{--text-backing:linear-gradient(180deg,rgba(83,90,99,.6),rgba(38,45,54,.5))}body .hud :is(#resbar,.bar,.bank,.ticker){background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}body .hud :is(.control-caption,.medal span,.queue-summary,.prestige b,.bank b,.bank span),body .hud #resbar .res b,body .hud .ticker .chat-label-text,body .hud .ticker>span{background:var(--text-backing)!important;border:0!important;border-radius:3px!important;padding:1px 3px!important;width:max-content!important;max-width:100%;min-width:0!important;box-sizing:border-box}body .hud .medal span,body .hud .control-caption{line-height:15px!important}body .hud .queue-summary{line-height:14px!important;margin-top:1px}body .hud .prestige b{left:50%!important;right:auto!important;transform:translate(-50%);padding:1px 3px!important}body .hud .bank b{justify-self:start!important}body .hud .bank span{justify-self:end!important}body .hud .ribbon{width:max-content!important;max-width:132px!important;height:23px!important;min-height:0!important;line-height:19px!important;padding:2px 4px!important;border-radius:3px!important;background:var(--text-backing)!important}body .hud #resbar .res b{line-height:18px!important}body .hud .ticker{padding-left:0!important}body .hud .ticker>span{flex:0 1 auto!important;line-height:18px!important;text-overflow:ellipsis}body .hud .ticker .chat-label-text{font:600 13px/18px PT Sans,sans-serif;text-shadow:0 1px 2px #000}body .hud .chat-preview-toggle{margin-left:0!important}#city.fixed-city .site-plaque{min-width:18px!important;width:max-content!important;height:21px!important;padding:1px 3px!important;border-radius:3px!important;font-size:14px!important}#city .tplate,#city .construction{padding:1px 3px!important;line-height:16px!important}body .hud{--group-backing:linear-gradient(180deg,rgba(85,92,102,.72),rgba(36,43,53,.72))}body .hud :is(#resbar,.bar,.player-hud){background:var(--group-backing)!important;border:1px solid #ffffff26!important;border-radius:7px!important;box-shadow:0 2px 6px #0003!important}body .hud #resbar .res b,body .hud .bar :is(.control-caption,.queue-summary),body .hud .player-hud :is(.ribbon,.bank,.bank b,.bank span,.prestige b){background:none!important;border:0!important;box-shadow:none!important}body .hud #resbar{padding:0 5px!important}body .hud .bar{padding:3px!important;gap:4px!important;height:74px!important}body .hud .bar .bbtn{height:64px!important}body .hud .player-hud{position:absolute;left:var(--hud-left);top:max(5px,env(safe-area-inset-top));width:140px;height:128px;box-sizing:border-box}body .hud .player-hud .ribbon{position:absolute;left:5px!important;top:3px!important;max-width:128px!important;height:21px!important;line-height:19px!important;padding:1px 2px!important;font-size:14px!important}body .hud .player-hud .avatar{position:absolute;left:6px!important;top:27px!important;width:48px!important;height:48px!important}body .hud .player-hud .prestige{position:absolute;left:70px!important;top:25px!important;width:58px!important;height:49px!important}body .hud .player-hud .prestige:before{width:40px!important;height:35px!important;left:9px!important}body .hud .player-hud .prestige .crown{top:18px!important;font-size:12px!important}body .hud .player-hud .prestige b{bottom:0!important;line-height:14px!important;padding:0!important}body .hud .player-hud .bank{position:absolute;left:5px!important;top:77px!important;width:128px!important;height:44px!important;padding:0 3px!important;border-top:1px solid #ffffff24!important;border-radius:0!important;grid-template-columns:20px 1fr auto!important;gap:4px!important}body .hud .player-hud .bank b{font-size:14px!important;padding:0!important}body .hud .player-hud .bank span{font-size:11px!important;padding:0!important}body.city-chat-open .hud .player-hud,body.on-map .hud .player-hud{display:none!important}body .hud .menu,body .hud .menu .medal,body .hud .menu .medal span,body .hud .menu .medal:hover,body .hud .menu .medal:active{background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important}body .hud .menu .medal i{background-color:transparent!important;border:0!important;box-shadow:none!important}body .chat-window{right:max(10px,env(safe-area-inset-right))!important;width:min(820px,64vw)!important;height:min(640px,calc(100dvh - max(10px,env(safe-area-inset-bottom)) - 56px - var(--kb,0px)))!important;max-height:calc(100dvh - max(10px,env(safe-area-inset-bottom)) - 56px - var(--kb,0px))!important;border-radius:7px!important}body.city-chat-open .hud .ticker{visibility:hidden!important;pointer-events:none!important}body .chat-window .chat-list{padding:6px 10px 8px;scrollbar-width:thin}body .chat-window .chat-head{gap:4px 6px}body .chat-window .chat-author{flex:none;display:grid;place-items:center;width:44px;min-width:44px;height:44px;min-height:44px;padding:0;border:0;background:none;box-shadow:none}body .chat-window .chat-nick{min-height:28px;padding:2px 0;box-shadow:none;background:none}body .chat-window .chat-list li{align-items:flex-start;padding:5px 0}body .chat-window .chat-avatar{width:34px;height:34px}body .chat-window .chat-menu{right:calc(100% + 8px);width:min(220px,calc(36vw - 32px));max-height:calc(100dvh - 24px);overflow-y:auto;box-sizing:border-box;padding:6px 0;background:linear-gradient(180deg,#545c66ed,#252c35f5);border:1px solid #ffffff38;border-radius:7px;box-shadow:0 6px 18px #0005}body .chat-window .chat-menu-face{width:42px;height:42px;margin:2px 0;border:1px solid #d4c197}body .chat-window .chat-menu-name{font:700 16px/20px PT Sans,sans-serif;padding:3px 6px 7px;border-color:#ffffff26;color:#f8edda}body .chat-window .chat-menu-item{min-height:38px;font:600 14px/18px PT Sans,sans-serif;padding:4px 6px;border-color:#ffffff16;color:#f1ede5}body .chat-window .chat-menu-card{border-color:#ffffff26;color:#efefeb}body .chat-window .chat-menu-item:focus-visible,body .chat-window .chat-author:focus-visible,body .chat-window .chat-nick:focus-visible{outline:2px solid #f2d6a0;outline-offset:-2px}body .hud :is(#resbar,.player-hud).player-hud{width:112px;height:146px;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}body .hud :is(#resbar,.player-hud).player-hud .ribbon{left:0!important;top:0!important;max-width:112px!important;width:112px!important;height:23px!important;padding:2px 7px!important;background:linear-gradient(#ae3539,#702129)!important;color:#fff5db!important;border:1px solid #dbad7070!important;border-radius:3px 3px 0 0!important;font:700 14px/18px PT Sans,sans-serif!important;text-align:center}body .hud .player-hud .avatar{left:8px!important;top:26px!important;width:64px!important;height:64px!important;z-index:2;border:2px solid #d1b57b!important;box-shadow:0 1px 5px #0008!important}body .hud .player-hud .prestige{left:58px!important;top:25px!important;width:44px!important;height:44px!important;z-index:3;overflow:visible}body .hud .player-hud .prestige:before{inset:0 auto auto 7px!important;width:30px!important;height:24px!important;filter:drop-shadow(0 1px 2px #000b)!important}body .hud .player-hud .prestige:after{content:"";position:absolute;left:2px;top:22px;width:40px;height:18px;border:1px solid #dbbe7d;border-radius:8px;background:linear-gradient(#66532e,#32291c);box-shadow:0 1px 3px #0008;z-index:-1}body .hud .player-hud .prestige b{inset:26px auto auto 7px!important;transform:none!important;width:18px!important;height:11px!important;margin:0!important;padding:0!important;font:700 8px/11px PT Sans,sans-serif!important;color:#fff1c4!important;text-shadow:0 1px #000!important}body .hud .player-hud .prestige .crown{left:25px!important;right:auto!important;top:24px!important;width:14px!important;height:14px!important;min-height:0!important;background:none!important;color:#fff4ce!important;text-shadow:0 1px #000!important;font:700 12px/14px PT Sans,sans-serif!important}body .hud :is(#resbar,.player-hud).player-hud .bank{left:8px!important;top:88px!important;width:88px!important;height:54px!important;min-height:44px!important;display:grid!important;grid-template-columns:22px 1fr!important;grid-template-rows:23px 19px!important;gap:0 3px!important;padding:4px 8px 8px!important;background:linear-gradient(105deg,#7f2029,#af3740 48%,#76212a)!important;border:0!important;border-top:1px solid #e7bb8070!important;border-radius:0!important;clip-path:polygon(0 0,100% 0,100% 84%,50% 100%,0 84%)!important;z-index:1}body .hud .player-hud .bank i{grid-column:1!important;grid-row:1!important;width:18px!important;height:18px!important;justify-self:end!important}body .hud .player-hud .bank b{grid-column:2!important;grid-row:1!important;font:700 15px/21px PT Sans,sans-serif!important;justify-self:start!important;color:#fff4dd!important}body .hud .player-hud .bank span{grid-column:1/-1!important;grid-row:2!important;justify-self:center!important;font:700 12px/17px PT Sans,sans-serif!important;color:#ffeac9!important}body .hud #resbar{left:calc(var(--hud-left) + 124px)!important}body .hud .side{top:160px!important}body .chat-window .chat-author,body .chat-window .chat-own-portrait,body .chat-window .chat-menu-portrait{position:relative;overflow:visible;flex:none}body .chat-window .chat-own-portrait{display:grid;place-items:center;width:44px;height:44px}body .chat-window .chat-portrait-vip{position:absolute;left:50%;bottom:-1px;transform:translate(-50%);padding:1px 3px;white-space:nowrap;min-width:30px;border:1px solid #c8ad72;border-radius:5px;background:linear-gradient(#6b5833,#322a1e);color:#fff0bd;font:700 8px/10px PT Sans,sans-serif;text-align:center;pointer-events:none;text-shadow:0 1px #000}body .chat-window .chat-menu-portrait{justify-self:center;display:grid;place-items:center;width:46px;height:46px;margin:2px 0 4px}body .chat-window .chat-menu-portrait .chat-menu-face{margin:0!important}body.on-map .hud :is(.player-hud,.prestige,.side,.city-help){display:none!important}body.on-map .hud #resbar{left:var(--hud-left)!important;right:auto!important;width:calc((100vw - var(--hud-left) - var(--hud-right) - 202px)/2)!important;box-sizing:border-box;gap:0!important;padding:0 3px!important}body.on-map .hud #resbar .res{flex:1 1 0!important;flex-direction:column!important;justify-content:center!important;gap:0!important;padding:0!important;overflow:hidden}body.on-map .hud #resbar .res img{width:18px!important;height:18px!important}body.on-map .hud #resbar .res b{font-size:11px!important;line-height:16px!important;padding:0!important}body.on-map .hud :is(#resbar,.bar).bar{display:grid!important;grid-template-columns:repeat(2,76px)!important;gap:4px 2px!important;width:154px!important;height:92px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important}body.on-map .hud .bar .bbtn{display:grid!important;grid-template-columns:19px 1fr!important;grid-template-rows:22px 18px!important;align-items:center!important;justify-items:center!important;width:76px!important;height:44px!important;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}body.on-map .hud .bar .bbtn .hud-art{grid-column:1;grid-row:1/3;width:19px!important;height:24px!important}body.on-map .hud .bar .bbtn .control-caption{grid-column:2;grid-row:1;font-size:10px!important;line-height:14px!important;padding:0!important;background:none!important;letter-spacing:0!important}body.on-map .hud .bar .bbtn .queue-summary{grid-column:1/3;grid-row:2;align-self:end;font-size:10px!important;line-height:12px!important;margin:0!important;padding:0!important;background:none!important}body.on-map .hud .bar .bbtn[data-n]:after{top:-4px!important;right:auto!important;left:0!important;min-width:14px!important;height:14px!important;font-size:9px!important;line-height:12px!important}body.on-map .activity-panel{bottom:calc(max(10px,env(safe-area-inset-bottom)) + 102px)!important}#city.fixed-city button.city-site .city-repair{position:absolute;left:50%;bottom:calc(100% + 2px);transform:translate(-50%);padding:1px 6px;border:1px solid #c98a3a;border-radius:4px;background:#1d1408e6;color:#ffd28a;font:700 11px/1.3 PT Sans,sans-serif;white-space:nowrap;pointer-events:none;text-shadow:0 1px 2px #000;z-index:3}body :is(#details,#section-window,#shell-dialog) .requirements-status{grid-column:1/-1;flex:0 0 100%;min-width:0;margin:4px 0 0;padding:0;font:600 13px/1.35 PT Sans,sans-serif;color:#9a2820;text-align:left;white-space:normal;overflow-wrap:anywhere}body :is(#details,#section-window,#shell-dialog) .requirements-status[hidden]{display:none!important}body .science-window .research-detail{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:4px 16px}body .science-window .research-actions{width:185px}body .science-window .requirements-status{color:#9a2820}body .science-window .requirements-links{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px}body #details .bv-bottom>.requirements-status{margin-top:5px}body .hs-foot .requirements-status{margin-top:0}body .science-window .requirements-links .research-requirement{min-height:36px;padding:3px 6px;color:#513616;font:600 12px/1.3 PT Sans,sans-serif;border-color:#886b39;white-space:normal;text-align:left}body .science-window .requirements-links .research-requirement:hover{color:#7a251b;background:#00000008}body .science-window .requirements-links .research-requirement:focus-visible{outline:2px solid #246b70;outline-offset:2px}body .science-window .research-error{position:static;grid-column:1/-1;margin:0;color:#9a2820}body .hud :is(#resbar,.player-hud).player-hud{width:100px;height:170px}body .hud :is(#resbar,.player-hud).player-hud .ribbon{width:100px!important;max-width:100px!important;height:20px!important;line-height:16px!important;font-size:13px!important;padding:1px 5px!important}body .hud .player-hud .portrait-frame{position:absolute;left:18px;top:39px;width:64px;height:64px;box-sizing:border-box;transform:rotate(45deg);border:2px solid #d2b46d;border-radius:4px;background:linear-gradient(135deg,#80734e,#263237 50%,#635434);box-shadow:0 0 0 1px #51432c,0 3px 6px #0006,inset 0 0 0 1px #f7df9c44;pointer-events:none;z-index:1}body .hud .player-hud .avatar{left:21px!important;top:42px!important;width:58px!important;height:58px!important;box-sizing:border-box;border:1px solid #bca26a!important;box-shadow:none!important}body .hud .player-hud .prestige{left:20px!important;top:79px!important;width:60px!important;height:44px!important;min-height:44px!important;z-index:3;padding:0!important;background:none!important;border:0!important;box-shadow:none!important}body .hud .player-hud .prestige:before{display:none!important}body .hud .player-hud .prestige:after{left:0!important;top:auto!important;bottom:0!important;width:60px!important;height:22px!important;box-sizing:border-box;border-radius:5px!important;background:linear-gradient(#6d5d3c,#332d22)!important;border:1px solid #d2b46d!important;z-index:-1!important}body .hud .player-hud .prestige b{left:8px!important;top:auto!important;bottom:5px!important;width:22px!important;height:13px!important;font:700 10px/13px PT Sans,sans-serif!important}body .hud .player-hud .prestige .crown{inset:auto 7px 4px auto!important;width:21px!important;height:15px!important;padding:0!important;margin:0!important;clip-path:none!important;filter:none!important;font:700 12px/15px PT Sans,sans-serif!important}body .hud :is(#resbar,.player-hud).player-hud .bank{left:18px!important;top:124px!important;width:64px!important;height:44px!important;min-height:44px!important;padding:2px 4px 6px!important;grid-template-columns:17px 1fr!important;grid-template-rows:19px 15px!important;gap:0 2px!important;box-sizing:border-box}body .hud .player-hud .bank i{width:14px!important;height:14px!important}body .hud .player-hud .bank b{font:700 13px/19px PT Sans,sans-serif!important}body .hud .player-hud .bank span{font:700 11px/15px PT Sans,sans-serif!important}body:not(.on-map) .hud #resbar{left:calc(var(--hud-left) + 112px)!important;right:auto!important;width:min(326px,calc(100vw - var(--hud-left) - var(--hud-right) - 112px))!important;height:44px!important;box-sizing:border-box;gap:0!important;padding:0 3px!important}body:not(.on-map) .hud #resbar .res{flex:1 1 0!important;height:42px!important;min-height:42px!important;justify-content:center!important;gap:3px!important;padding:0!important;min-width:0!important}body:not(.on-map) .hud #resbar .res img{width:18px!important;height:18px!important}body:not(.on-map) .hud #resbar .res b{font-size:12px!important;line-height:16px!important;padding:0!important;white-space:nowrap}body:not(.on-map) .hud :is(#resbar,.bar).bar{display:flex!important;width:238px!important;height:64px!important;padding:3px!important;gap:2px!important;box-sizing:border-box}body:not(.on-map) .hud .bar .bbtn{width:56px!important;height:54px!important;min-height:44px!important;flex:0 0 56px!important;box-sizing:border-box}body:not(.on-map) .hud .bar .bbtn .hud-art{width:23px!important;height:24px!important}body:not(.on-map) .hud .bar .bbtn .control-caption{font-size:10px!important;line-height:14px!important;padding:0!important;letter-spacing:0!important}body:not(.on-map) .hud .bar .bbtn .queue-summary{font-size:10px!important;line-height:12px!important;padding:0!important;max-width:56px;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}body:not(.on-map) .hud .bar .bbtn[data-n]:after{min-width:15px!important;height:15px!important;top:-2px!important;right:1px!important;font-size:10px!important;line-height:13px!important}body:not(.on-map) .hud .side{left:var(--hud-left)!important;top:auto!important;bottom:calc(var(--hud-bottom) + 72px)!important;display:flex;flex-direction:row!important;gap:4px!important}body:not(.on-map) .hud .side .quest{width:56px!important;height:50px!important;min-height:44px!important}body:not(.on-map) .hud .side .quest .hud-art{width:28px!important;height:30px!important}body:not(.on-map) .hud .side .control-caption{font-size:11px!important;line-height:14px!important;padding:0 2px!important}body .hud .menu{width:60px!important;padding:0!important;gap:2px!important}body .hud .menu .medal{width:56px!important;height:50px!important;min-height:44px!important;flex:0 1 50px!important}body .hud .menu .medal i{width:28px!important;height:28px!important;min-height:24px!important}body .hud .menu .medal span{font-size:11px!important;line-height:14px!important;padding:0!important}body.on-map .hud #resbar{max-width:326px!important}body:not(.on-map) .activity-panel{bottom:calc(max(10px,env(safe-area-inset-bottom)) + 76px)!important}body .hud .player-hud .bank b.compact-balance{font-size:12px!important}body.city-chat-open .hud :is(#resbar,.bar).bar{display:none!important}body .hud .player-hud .prestige{pointer-events:none!important}body .hud .player-hud .prestige:after{pointer-events:auto!important}body .hud .player-hud .prestige:focus-visible:after{outline:2px solid #ffe1a0;outline-offset:2px}body{--city-ink:#f5eddc;--city-muted:#c6c6bc;--city-gold:#c9ab70;--city-panel:linear-gradient(155deg,rgba(65,69,72,.94),rgba(29,33,36,.94));--city-line:#c9ab7052}body:not(.on-map) #city-paint{filter:saturate(.86) contrast(.96) brightness(.96)}body:not(.on-map) .hud #resbar{background:linear-gradient(180deg,#51565ad9,#272d32e6)!important;border:1px solid #ddd7c239!important;border-radius:6px!important;box-shadow:0 2px 9px #10171855,inset 0 1px #fff1!important;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}body:not(.on-map) .hud #resbar .res{position:relative}body:not(.on-map) .hud #resbar .res:not(:last-child):after{content:"";position:absolute;right:0;top:12px;bottom:12px;width:1px;background:#e2dfd423}body:not(.on-map) .hud #resbar .res b{font-variant-numeric:tabular-nums;color:#fff3db;font-weight:700}body:not(.on-map) .hud :is(#resbar,.bar).bar{width:254px!important;height:70px!important;gap:3px!important;padding:5px!important;border-radius:7px!important;border:1px solid #d4c6a238!important;background:linear-gradient(160deg,#4c5155e6,#252c31ed)!important;box-shadow:0 2px 10px #0005,inset 0 1px #fff1!important;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}body:not(.on-map) .hud .bar .bbtn{width:58px!important;flex-basis:58px!important;height:58px!important;display:grid!important;grid-template-rows:27px 16px 14px;align-content:center;justify-items:center;gap:0!important;border-radius:4px!important}body:not(.on-map) .hud .bar .bbtn .hud-art{width:27px!important;height:27px!important;filter:saturate(.76) drop-shadow(0 2px 2px #0007)}body:not(.on-map) .hud .bar .bbtn .control-caption{font:700 11px/16px PT Sans,sans-serif!important;color:#fff3dd;text-shadow:0 1px 2px #000}body:not(.on-map) .hud .bar .bbtn .queue-summary{font:400 11px/14px PT Sans,sans-serif!important;color:#d1d6d3!important;max-width:58px}body:not(.on-map) .hud .bar .bbtn[data-status=running] .queue-summary{color:#edcf8d!important;font-variant-numeric:tabular-nums}body:not(.on-map) .hud .bar .bbtn[data-status=attention]{box-shadow:inset 0 -2px #b75142!important}body:not(.on-map) .hud .bar .bbtn:focus-visible{outline:2px solid #d8ba7b;outline-offset:0}body:not(.on-map) .hud .bar .bbtn[aria-expanded=true]{background:#ecd8a316!important;box-shadow:inset 0 -2px #c9ab70!important}body:not(.on-map) .hud .side{bottom:calc(var(--hud-bottom) + 78px)!important;gap:5px!important}body:not(.on-map) .hud .side .quest{width:61px!important}body:not(.on-map) .hud .side .control-caption{font-size:11px!important;text-shadow:0 1px 2px #000,0 1px 7px #000}body:not(.on-map) .hud .menu{width:66px!important}body:not(.on-map) .hud .menu .medal{width:64px!important;background:none!important;border:0!important;box-shadow:none!important}body:not(.on-map) .hud .menu .medal i{filter:saturate(.76) drop-shadow(0 2px 2px #0008)}body:not(.on-map) .hud .menu .medal span{font-size:12px!important;color:#fff3dd!important;text-shadow:0 1px 2px #000,0 0 6px #000,0 1px 10px #000!important;background:none!important}body:not(.on-map) .hud .menu .medal:focus-visible{outline:1px solid #dbc28d;outline-offset:0}body:not(.on-map) .hud .player-hud .ribbon{background:linear-gradient(#87353c,#52252c)!important;border:1px solid #c4a16a99!important;border-radius:3px!important;box-shadow:0 2px 5px #0005!important;font-weight:700!important}body:not(.on-map) .hud .player-hud .bank{background:linear-gradient(110deg,#87323b,#5b2831)!important;border:1px solid #b6905955!important;box-shadow:0 2px 5px #0005!important;color:#fff0dc!important}body:not(.on-map) .hud .player-hud .bank span{color:#f0d5b1!important}#city.fixed-city .site-plaque{background:linear-gradient(#42494ce8,#242c30ed)!important;border:1px solid #bda77a88!important;border-radius:3px!important;min-width:20px!important;height:22px!important;font:700 14px/1 PT Sans,sans-serif!important;color:#f5e5bf!important;box-shadow:0 1px 4px #0006!important}#city.fixed-city button.city-site.selected .site-plaque{background:linear-gradient(#76613d,#443b2d)!important;border-color:#e7cc91!important}#city.fixed-city button.city-site.selected:before,#city.fixed-city button.city-site:focus-visible:before{background:#e9cc7714!important;box-shadow:inset 0 0 0 2px #e6c27c!important;filter:drop-shadow(0 0 4px #cba85d88)}#city .tplate,#city .construction{transform:translate(-50%)!important;background:linear-gradient(#303b40ed,#1e292edd)!important;color:#f4dfad!important;border:1px solid #bea77b66!important;font:600 13px/17px PT Sans,sans-serif!important;box-shadow:0 2px 5px #0005!important;border-radius:3px!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog){--u:1px;width:min(900px,calc(100vw - 24px))!important;height:auto!important;max-height:calc(100dvh - 20px)!important;min-height:0!important;overflow:hidden!important;background:linear-gradient(145deg,#363c3f,#22282c)!important;border:1px solid #a68c5d!important;border-radius:9px!important;color:var(--city-ink)!important;box-shadow:0 24px 90px #080d15b3,inset 0 0 0 1px #fff1!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .window-head{height:48px!important;min-height:48px!important;box-sizing:border-box;padding:0 60px 0 20px!important;display:flex;align-items:center;justify-content:flex-start;background:linear-gradient(#414648,#2c3236)!important;border-bottom:1px solid var(--city-line)!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .window-head h2{font:600 25px/1 Cormorant Garamond,Georgia,serif!important;color:#ecd6a5!important;text-shadow:none!important;margin:0!important;text-align:left}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .window-crystal{display:none!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .close-dialog{position:absolute!important;inset:4px 5px auto auto!important;width:40px!important;height:40px!important;min-height:40px!important;padding:0!important;display:grid;place-items:center;background:#ffffff06!important;border:1px solid #c8b68a38!important;border-radius:5px!important;box-shadow:none!important;transform:none!important;font:400 27px/1 PT Sans,sans-serif!important;color:#e9dbc0!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog)>.window-content{padding:0!important;max-height:calc(100dvh - 70px)!important;height:auto!important;overflow:auto!important;flex:1 1 auto!important;color:var(--city-ink)!important;scrollbar-color:#928263 #262d31;scrollbar-width:thin}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) button{font-family:PT Sans,sans-serif;transform:none!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .primary{background:linear-gradient(#67705a,#414b3d)!important;color:#fff1d0!important;border:1px solid #b4b88b!important;box-shadow:inset 0 1px #fff2,0 2px 4px #0004!important;min-height:42px!important;border-radius:5px!important;font:700 14px/1.2 PT Sans,sans-serif!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(.quiet,.btn-green){background:linear-gradient(#494b43,#32382f)!important;color:#dfd5b8!important;border:1px solid #a2966f88!important;border-radius:5px!important;min-height:40px!important;font:600 13px/1.2 PT Sans,sans-serif!important;box-shadow:none!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) button:disabled{opacity:.48!important;filter:grayscale(.6);cursor:not-allowed}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) button:focus-visible{outline:2px solid #e9cc90!important;outline-offset:2px}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) .requirements-status{color:#ffb7a2!important;font:500 13px/1.4 PT Sans,sans-serif!important;padding:7px 0 0!important;border-top:1px solid #ffffff10;margin-top:8px!important;overflow:visible!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) #dialog-error{color:#ffb7a2!important;margin:0!important;padding:8px 18px!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) #dialog-error:empty{display:none!important}body #details .construction-catalog{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;padding:16px!important}body #details .construction-catalog>p{grid-column:1/-1;color:#dfd6c2}body #details .slot-card{display:grid;grid-template-columns:1fr;gap:7px;padding:0 12px 12px!important;margin:0!important;border:1px solid #af987653!important;background:#ffffff04!important;border-radius:6px!important;overflow:hidden;color:#f5e8cd!important}body #details .slot-card>img{width:calc(100% + 24px)!important;height:130px!important;object-fit:cover!important;float:none!important;margin:0 -12px 2px!important;border-radius:0!important}body #details .slot-card h3{font:600 22px/1.1 Cormorant Garamond,Georgia,serif!important;color:#eed6a4!important;margin:0!important}body #details .slot-card .muted,body #details .construction-detail .muted{color:#c5c8bf!important;font:13px/1.4 PT Sans,sans-serif!important;margin:0!important}body #details .cost-grid{display:flex!important;flex-wrap:wrap;gap:6px 12px;padding:0!important;background:none!important}body #details .cost-grid>div{display:flex;gap:5px;align-items:center;background:none!important;border:0!important;padding:0!important;color:#e4ddc8!important;font:600 13px PT Sans,sans-serif!important}body #details .cost-grid img{width:20px!important;height:20px!important}body #details .cost-short,body #details .cost-missing{color:#ffb7a2!important}body #details .construction-detail{display:grid!important;grid-template-columns:38% minmax(0,1fr);align-items:center;gap:12px 20px;padding:18px!important}body #details .construction-detail .building-preview{grid-column:1;grid-row:1/5;object-fit:cover;width:100%!important;height:210px!important;max-height:none!important;float:none!important;margin:0!important;border-radius:5px;border:1px solid #bda77a66}body #details .construction-detail .building-description{font:14px/1.5 PT Sans,sans-serif!important;color:#e7dfce!important;margin:0!important}body #details .construction-detail .window-actions{display:flex;gap:8px;margin:0!important}body #details .construction-detail .requirements-status{grid-column:1/-1}body:not(.on-map) .activity-panel{background:linear-gradient(#3e4548,#242d31)!important;color:#f0e5cf!important;border:1px solid #b89c655e!important;box-shadow:0 8px 25px #0006!important;border-radius:7px!important;bottom:calc(max(10px,env(safe-area-inset-bottom)) + 80px)!important}body:not(.on-map) .activity-panel header{background:#ffffff05!important;border-bottom:1px solid #b89c6544!important}body:not(.on-map) .activity-panel :is(h2,p,span){color:#e9e1d0!important}body:not(.on-map) .activity-panel .activity-link{background:#ffffff07!important;color:#e8c78e!important;border-color:#b89c6544!important}body:not(.on-map) .activity-panel :is(.activity-close,.close-dialog){color:#f0dfbb!important}@media(prefers-reduced-motion:no-preference){body:not(.on-map) .hud .bar .bbtn{transition:background .14s,box-shadow .14s!important}body :is(#details.building-window,#details.construction-window,#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog)[open]{animation:city-window-in .16s ease-out}@keyframes city-window-in{0%{opacity:0;translate:0 5px}to{opacity:1;translate:0 0}}}body #details.building-window :is(.bv-name,.bv-effect,.bv-lvl-effect){color:#f0e6d0!important}body #details.building-window :is(.bv-desc,.bv-level,.bv-xp,.bv-lvl-xp,.bv-lvl-res,.bv-help-count){color:#c7cec4!important}body #details.building-window :is(.bv-category,.bv-lvl-no,.bv-banner){color:#dfc28c!important}body #details.building-window .bv-stat small{color:#b8c0b8!important}body #details.building-window .bv-stat.next small,body #details.building-window .building-job-time{color:#e5c68c!important}body #details.building-window .bv-cost :is(td,th){color:#eee4cc!important}body #details.building-window .bv-cost .bv-have :is(td,th){color:#acbdb2!important}body #details.building-window .bv-cost td.cost-short{color:#ffb7a2!important}#city.fixed-city .city-site .tplate{left:var(--anchor-x)!important;top:calc(var(--anchor-y) + 24px)!important;font-variant-numeric:tabular-nums;padding:1px 5px!important;font-size:12px!important;line-height:16px!important;min-width:42px;text-align:center}body #details.building-window .bv-pic .info-help{background:#253034e8!important;color:#f1dbb3!important;box-shadow:0 2px 7px #0004!important}body #details.castle-chambers-window :is(.chamber-description,.chamber-level,.chamber-effect,.chamber-next-effect,.chamber-time,.chamber-resource,.chamber-condition,.chamber-activation-state,.chamber-activation-hint){font-family:PT Sans,sans-serif!important;color:#d4d7ca!important}body #details.castle-chambers-window :is(.chamber-heading h3,.chamber-footer h4){color:#e8cfa0!important;font-family:Cormorant Garamond,Georgia,serif!important}body #details.castle-chambers-window .chamber-palace-layout{padding:14px 18px!important}body #details.castle-chambers-window .chamber-cards{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))!important;gap:12px!important}body #details.castle-chambers-window .chamber-card{background:linear-gradient(#ffffff08,#ffffff02)!important;border:1px solid #bda77a55!important;border-radius:5px!important;padding:7px!important;box-shadow:none!important}body #details.castle-chambers-window .chamber-card strong{font:600 18px/1.2 Cormorant Garamond,Georgia,serif!important;color:#eedbb8!important}body #details.castle-chambers-window .chamber-card .chamber-timer{color:#e4c88d!important}body #details.castle-chambers-window .chamber-card .chamber-portrait{border-radius:3px!important;border:0!important}body #details.castle-chambers-window .chamber-portrait{background:#26302b!important;border:1px solid #bda77a66!important}body #details.castle-chambers-window .chamber-card-level{border-radius:3px!important;color:#f5e3b9!important;background:#202b30e6!important;font-family:PT Sans,sans-serif!important}body #details.castle-chambers-window .chamber-activation{background:#ffffff04!important;border-color:#bda77a44!important;padding:10px 18px!important}body #details.castle-chambers-window .chamber-heading{border-color:#bda77a44!important;padding:10px 18px!important}body #details.castle-chambers-window .chamber-detail-layout{padding:18px!important;grid-template-columns:minmax(0,1fr) 32%!important;align-items:center!important}body #details.castle-chambers-window .chamber-description{font-size:14px!important;line-height:1.5!important}body #details.castle-chambers-window .chamber-footer{background:#151e2270!important;border-color:#bda77a55!important;padding:14px 18px!important}body #details.castle-chambers-window .chamber-back{color:#dfc28c!important;background:transparent!important;font:13px PT Sans,sans-serif!important}body #details.castle-chambers-window .chamber-locked{background:#ffffff05!important;border:1px solid #af8c6666!important;border-radius:5px!important;color:#c6c6bc!important;font:600 14px PT Sans,sans-serif!important;opacity:1!important}body #details.castle-chambers-window .chamber-level-scroll{border-color:#bda77a44!important}body #details.castle-chambers-window .chamber-level-table{font:13px/1.4 PT Sans,sans-serif!important;color:#e1d9c5!important}body #details.castle-chambers-window .chamber-level-table thead{background:#303a3e!important;color:#dfc28c!important}body #details.castle-chambers-window .chamber-level-table :is(td,th){border-color:#ffffff12!important;padding:10px 12px!important}body #details.castle-chambers-window .chamber-level-table tr.current{background:#a1b59218!important}body #details.castle-chambers-window .chamber-level-table tr.next{background:#ccb07117!important;box-shadow:inset 3px 0 #ccb071!important}body:not(.on-map) .hud .menu{height:auto!important;bottom:auto!important;top:58px!important;display:flex!important;flex-direction:column!important;justify-content:flex-start!important;gap:5px!important}body:not(.on-map) .hud .menu .medal{flex:0 0 50px!important;height:50px!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(p,span,small,b,strong,label,td,th){color:#dedbcc!important;font-family:PT Sans,sans-serif!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(h3,h4){color:#e6c995!important;font-family:Cormorant Garamond,Georgia,serif!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) button{background:#ffffff07!important;color:#e8ddc4!important;border:1px solid #a8916266!important;box-shadow:none!important;border-radius:4px!important;min-height:38px;font:600 13px/1.3 PT Sans,sans-serif!important;transform:none!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) button[aria-pressed=true]{background:#c5ac7220!important;color:#efd7a3!important;border-color:#c5ac72!important;box-shadow:inset 0 -2px #c5ac72!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(input,select){background:#1e292d!important;color:#f2e4c9!important;border:1px solid #af987688!important;border-radius:4px!important;min-height:38px!important;font:14px PT Sans,sans-serif!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(.form-error,.res-upkeep td){color:#ffb7a2!important}body :is(#academy-window,#market-window,#traps-window,#resources-dialog,#speedup-dialog) :is(.acad-footer,.trap-footer,.market-form,.res-pack,.speed-item){background:#ffffff04!important;border-color:#af987644!important}body #academy-window .acad-card.on .acad-pic,body #traps-window .trap-card.on .trap-pic{border-color:#d7b878!important;box-shadow:0 0 0 1px #c5ac72!important}body :is(#academy-window,#traps-window) :is(.acad-card,.trap-card){background:transparent!important;border:0!important;min-height:0!important}body #academy-window .acad-tabs{border-color:#af987644!important;gap:5px}body #resources-dialog .res-tab{border:0!important;background:transparent!important}body #resources-dialog .res-tab span{clip-path:none!important;background:#ffffff06!important;border:1px solid #af987644;border-radius:4px;font:600 13px PT Sans,sans-serif!important;padding:6px!important}body #resources-dialog .res-tab[aria-pressed=true] span{background:#c5ac7220!important;border-color:#c5ac72!important;box-shadow:none!important;color:#efd7a3!important}body #resources-dialog .res-section h3{background:#ffffff05!important;padding:6px 8px!important;border-bottom:1px solid #af987644}body #resources-dialog .res-section td{padding:5px 8px!important;font-size:13px!important}body #resources-dialog .res-section tr.res-bonus td{color:#adc7cb!important}body #resources-dialog .res-section tr.res-total td{border-color:#af987644!important;color:#e8cb8d!important}html[data-device=desktop] body:not(.on-map) .hud .menu-map{display:none!important}body:not(.on-map) #city:not(.city-legacy-art) #city-paint{filter:none}body #details .bv-pic.bv-premium-art{background:radial-gradient(ellipse at 50% 65%,#56635355,transparent 66%),linear-gradient(160deg,#29383c,#182429);box-shadow:inset 0 0 45px #0b151944}body #details .bv-pic.bv-premium-art img{object-fit:contain!important;object-position:center!important;padding:12px;box-sizing:border-box;filter:drop-shadow(0 8px 8px #08100f55)}#city:not(.city-legacy-art) .city-site.city-hearth:after{content:"";position:absolute;left:40%;top:57%;width:13%;height:16%;pointer-events:none;background:radial-gradient(ellipse,#ffc56388,#ff7a1522 45%,transparent 72%);filter:blur(2px);opacity:.6;animation:kingdom-hearth 4s ease-in-out infinite alternate}@keyframes kingdom-hearth{0%{opacity:.25;transform:scale(.8)}to{opacity:.65;transform:scale(1.1)}}@media(prefers-reduced-motion:reduce){#city .city-site.city-hearth:after{animation:none}}#city:not(.city-ready) .site-plaque,#city .city-site[data-art-ready=false] .site-plaque{visibility:hidden}#city-art-status{position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);max-width:80%;padding:8px 12px;border:1px solid #c5a568;border-radius:5px;background:#171d22ed;color:#efe4ce;font:13px/1.4 PT Sans,sans-serif;pointer-events:none;text-align:center;z-index:3}#city-art-status[hidden],body.on-map #city-art-status{display:none}#city-art-status button{pointer-events:auto;min-width:44px;min-height:44px;margin:5px;border:1px solid #c5a568;border-radius:4px;background:#242d35;color:#efe4ce}html[data-device] body #details .bv-damage-state{display:block;width:100%;font:13px/1.4 PT Sans,sans-serif;color:#e5c98c;padding:5px 0}body .hero-portrait{position:relative;display:block;width:64px;height:64px;flex:none;padding:0!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;overflow:visible!important;isolation:isolate}body .hero-portrait>img.hero-face{position:absolute!important;left:21.5%!important;top:22.5%!important;width:57%!important;height:57%!important;border:0!important;border-radius:50%!important;object-fit:cover!important;padding:0!important;margin:0!important;z-index:0;filter:none!important;box-shadow:none!important}body .hero-portrait>img.hero-frame{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain!important;border:0!important;border-radius:0!important;margin:0!important;padding:0!important;z-index:1;pointer-events:none;filter:drop-shadow(0 2px 2px #0007)!important}body .hero-portrait>.hero-vip-tag{position:absolute;left:23%;top:77.7%;width:54%;height:10.7%;display:flex;justify-content:center;align-items:center;color:#fff0cd;font:700 9px/1 PT Sans,sans-serif;text-shadow:0 1px 2px #000;z-index:2;white-space:nowrap;pointer-events:none}body .hud .player-hud .portrait-frame{display:none!important}body .hud .player-hud #avatar.hero-portrait{left:0!important;top:26px!important;width:100px!important;height:100px!important;border:0!important;background:transparent!important;box-shadow:none!important;clip-path:none!important}body .hud .player-hud #avatar.hero-portrait>.hero-vip-tag{font-size:11px}body .hud .player-hud #avatar .chains{left:22%;top:24%;width:55%;height:55%;z-index:3}body .hud .player-hud #avatar .rtimer{z-index:4}body .hud .player-hud .prestige{left:23px!important;top:103px!important;width:54px!important;height:22px!important;min-height:22px!important;pointer-events:auto!important;z-index:5;background:none!important;border:0!important}body .hud .player-hud .prestige :is(b,.crown,small),body .hud .player-hud .prestige:after,body .hud .player-hud .prestige:before{display:none!important}body .hud .player-hud .prestige:focus-visible{outline:2px solid #f0d5a2;outline-offset:1px}body .chat-list .hero-portrait{width:64px!important;height:64px!important;min-width:64px!important;min-height:64px!important;align-self:start}body .chat-list li{grid-template-columns:64px minmax(0,1fr)!important}body .chat-list .hero-portrait .chat-portrait-vip,body .chat-menu .chat-portrait-vip{display:none!important}body .chat-menu .hero-portrait{width:88px!important;height:88px!important;margin:0 auto 4px}body .chat-menu .hero-portrait>.hero-vip-tag{font-size:10px}@media(min-width:641px){html[data-device=desktop] body .hud{--hud-left: max(16px, env(safe-area-inset-left));--hud-right: max(16px, env(safe-area-inset-right));--hud-bottom: max(14px, env(safe-area-inset-bottom));font-family:PT Sans,sans-serif}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud{left:var(--hud-left)!important;top:max(12px,env(safe-area-inset-top))!important;width:clamp(196px,12vw,230px)!important;height:150px!important;background:linear-gradient(145deg,#353c43d9,#1b2229c9)!important;border:1px solid #dfca9c88!important;border-radius:8px!important;box-shadow:0 6px 18px #0006,inset 0 1px #ffffff20!important}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud .ribbon{left:0!important;top:0!important;width:100%!important;max-width:none!important;height:34px!important;line-height:32px!important;padding:0 10px!important;font-size:clamp(16px,1.15vw,21px)!important;text-align:left!important;border-radius:7px 7px 0 0!important}html[data-device=desktop] body .hud .player-hud .portrait-frame{left:10px!important;top:45px!important;width:76px!important;height:76px!important}html[data-device=desktop] body .hud .player-hud .avatar{left:18px!important;top:53px!important;width:60px!important;height:60px!important}html[data-device=desktop] body .hud .player-hud #avatar.hero-portrait{left:12px!important;top:44px!important;width:76px!important;height:76px!important}html[data-device=desktop] body .hud .player-hud #avatar.hero-portrait>.hero-vip-tag{font-size:10px!important}html[data-device=desktop] body .hud .player-hud .prestige{left:96px!important;top:47px!important;width:calc(100% - 108px)!important;height:30px!important;min-height:30px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:0 5px!important;border:1px solid #d2b46d!important;border-radius:6px!important;background:linear-gradient(180deg,#6d5d3c,#332d22)!important;box-shadow:0 2px 4px #0006!important;pointer-events:auto!important}html[data-device=desktop] body .hud .player-hud .prestige:before{content:"♛"!important;position:static!important;display:grid!important;place-items:center!important;width:22px!important;height:24px!important;background:none!important;filter:none!important;color:#f0ce73!important;font:700 20px/24px Georgia,serif!important;text-shadow:0 1px 2px #0008!important}html[data-device=desktop] body .hud .player-hud .prestige:after,html[data-device=desktop] body .hud .player-hud .prestige .crown,html[data-device=desktop] body .hud .player-hud .prestige small{display:none!important}html[data-device=desktop] body .hud .player-hud .prestige b{position:static!important;display:block!important;inset:auto!important;transform:none!important;width:auto!important;height:auto!important;margin:0!important;padding:0!important;color:#fff0c6!important;font:700 13px/1 PT Sans,sans-serif!important;text-shadow:none!important}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud .bank{left:96px!important;top:84px!important;width:calc(100% - 108px)!important;height:40px!important;min-height:40px!important;grid-template-columns:20px 1fr!important;grid-template-rows:19px 13px!important;gap:0 3px!important;padding:3px 4px!important}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud .bank i{width:17px!important;height:17px!important}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud .bank b{font-size:14px!important;line-height:18px!important}html[data-device=desktop] body .hud :is(#resbar,.player-hud).player-hud .bank span{font-size:11px!important;line-height:13px!important}html[data-device=desktop] body:not(.on-map) .hud #resbar{left:calc(var(--hud-left) + clamp(212px,13vw,270px))!important;right:calc(var(--hud-right) + clamp(382px,22vw,440px))!important;top:max(12px,env(safe-area-inset-top))!important;width:auto!important;max-width:none!important;height:54px!important;padding:0 12px!important;gap:clamp(8px,1.1vw,22px)!important;border-radius:8px!important;background:linear-gradient(180deg,#343b42e8,#1d242be8)!important;border:1px solid #d8c59888!important;box-shadow:0 5px 16px #0004!important}html[data-device=desktop] body .hud #resbar .res{height:50px!important;min-height:48px!important;gap:8px!important}html[data-device=desktop] body .hud #resbar .res img{width:clamp(28px,2.2vw,38px)!important;height:clamp(28px,2.2vw,38px)!important}html[data-device=desktop] body .hud #resbar .res b{font-size:clamp(16px,1.15vw,21px)!important}html[data-device=desktop] body .hud .menu{right:var(--hud-right)!important;top:82px!important;bottom:var(--hud-bottom)!important;width:clamp(104px,7vw,130px)!important;gap:7px!important;padding:0!important;justify-content:space-between!important;align-items:center!important}html[data-device=desktop] body .hud .menu .medal{width:100%!important;height:clamp(70px,8vh,86px)!important;min-height:64px!important;flex:0 0 auto!important;gap:3px!important;justify-content:center!important}html[data-device=desktop] body .hud .menu .medal i{width:clamp(38px,3.2vw,52px)!important;height:clamp(38px,3.2vw,52px)!important}html[data-device=desktop] body .hud .menu .medal .hud-art{width:100%!important;height:100%!important}html[data-device=desktop] body .hud .menu .medal span{font-size:clamp(13px,.95vw,16px)!important;line-height:18px!important;padding:1px 5px!important}html[data-device=desktop] body:not(.on-map) .hud :is(#resbar,.bar).bar{left:var(--hud-left)!important;bottom:var(--hud-bottom)!important;width:auto!important;height:88px!important;gap:7px!important;padding:5px!important;border:1px solid #ffffff30!important;border-radius:9px!important}html[data-device=desktop] body:not(.on-map) .hud :is(#resbar,.bar).bar .bbtn{width:clamp(82px,6.2vw,104px)!important;height:74px!important;min-height:68px!important;flex:0 0 clamp(82px,6.2vw,104px)!important}html[data-device=desktop] body:not(.on-map) .hud :is(#resbar,.bar).bar .bbtn .hud-art{width:36px!important;height:36px!important}html[data-device=desktop] body:not(.on-map) .hud :is(#resbar,.bar).bar .bbtn .control-caption{font-size:13px!important;line-height:16px!important}html[data-device=desktop] body:not(.on-map) .hud :is(#resbar,.bar).bar .bbtn .queue-summary{font-size:12px!important;line-height:15px!important}html[data-device=desktop] body:not(.on-map) .hud .side{left:var(--hud-left)!important;top:auto!important;bottom:calc(var(--hud-bottom) + 91px)!important;display:flex!important;flex-direction:row!important;gap:8px!important}html[data-device=desktop] body:not(.on-map) .hud .side .quest{width:76px!important;height:68px!important}html[data-device=desktop] body:not(.on-map) .hud .side .quest .hud-art{width:44px!important;height:44px!important}html[data-device=desktop] body:not(.on-map) .hud .side .control-caption{font-size:13px!important;line-height:16px!important}html[data-device=desktop] body .hud .promo{display:flex!important;position:absolute!important;right:calc(var(--hud-right) + clamp(116px,7vw,144px))!important;top:max(12px,env(safe-area-inset-top))!important;bottom:auto!important;align-items:flex-start!important;gap:8px!important;z-index:6!important}html[data-device=desktop] body .hud .promo .pbtn{width:clamp(68px,5vw,92px)!important;min-height:70px!important;padding:4px!important;border-radius:7px!important;background:linear-gradient(180deg,#343b42e8,#1d242be8)!important;border:1px solid #d8c59888!important}html[data-device=desktop] body .hud .promo .pbtn .ic{width:38px!important;height:38px!important}html[data-device=desktop] body .hud .promo .pbtn .ic svg{width:38px!important;height:38px!important}html[data-device=desktop] body .hud .promo .pbtn b{font-size:12px!important}html[data-device=desktop] body .hud .promo .sale{top:-7px!important;font-size:10px!important}html[data-device=desktop] body .hud .ticker{right:calc(var(--hud-right) + clamp(116px,7vw,144px))!important;bottom:var(--hud-bottom)!important;width:clamp(270px,26vw,430px)!important;height:58px!important;min-height:58px!important;padding-left:12px!important;gap:8px!important;border-radius:8px!important}html[data-device=desktop] body .hud .ticker .chat-label{font-size:15px!important}html[data-device=desktop] body .hud .ticker span{font-size:14px!important}html[data-device=desktop] body.city-chat-open .hud .ticker.chat-expanded{left:calc(var(--hud-left) + 8px)!important;right:calc(var(--hud-right) + 150px)!important;bottom:var(--hud-bottom)!important;max-width:none!important;width:auto!important}html[data-device=desktop] body .chat-window{right:calc(var(--hud-right) + clamp(116px,7vw,144px))!important;width:min(980px,66vw)!important;height:min(720px,calc(100dvh - 90px))!important;max-height:calc(100dvh - 90px)!important}html[data-device=desktop] body .hud .city-help{left:calc(var(--hud-left) + 204px)!important;right:calc(var(--hud-right) + clamp(116px,7vw,144px))!important;top:78px!important;max-width:660px!important;font-size:15px!important}html[data-device=desktop] body .hud .city-help button{font-size:14px!important}}@layer kingdom-window-ui{html[data-device=desktop] body{--desk-edge: clamp(12px, 1.25vw, 24px);--desk-top: 14px;--desk-bottom: clamp(33px, 7dvh, 72px);--desk-profile: clamp(188px, 19vw, 234px);--desk-icon: clamp(42px, 6dvh, 53px);--desk-tile: calc(var(--desk-icon) + 25px);--desk-column: 116px;--desk-rail-width: var(--desk-column);--desk-label-bg: #101c22c9;--desk-text: #ffedc7;--desk-map-width: min(460px, calc(100vw - 2 * var(--desk-edge)))}html[data-device=desktop] body .hud{--hud-left: var(--desk-edge);--hud-right: var(--desk-edge);--hud-bottom: var(--desk-bottom);font-family:PT Sans,sans-serif}html[data-device=desktop] body #city.fixed-city{width:max(100vw,calc(100dvh * var(--city-aspect, 1896 / 830)))!important}html[data-device=desktop] body .hud :is(.player-hud,#resbar){background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;-webkit-backdrop-filter:none!important;backdrop-filter:none!important;--u: 1px}html[data-device=desktop] body:not(.on-map) .hud .player-hud{left:var(--desk-edge)!important;top:var(--desk-top)!important;width:var(--desk-profile)!important;height:68px!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud :is(.ribbon,.bank,.prestige){clip-path:none!important;transform:none!important;text-shadow:none!important;box-sizing:border-box!important;box-shadow:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .ribbon{left:80px!important;top:8px!important;width:calc(100% - 90px)!important;max-width:none!important;height:25px!important;line-height:25px!important;padding:0!important;background:none!important;border:0!important;color:var(--ui-title)!important;font:600 20px/25px Georgia,serif!important;text-align:left!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-device=desktop] body:not(.on-map) .hud .player-hud #avatar.hero-portrait{left:6px!important;top:6px!important;width:58px!important;height:58px!important;cursor:pointer}html[data-device=desktop] body:not(.on-map) .hud .player-hud #avatar>.hero-vip-tag{display:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige{left:80px!important;top:34px!important;width:66px!important;height:29px!important;min-height:29px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:5px!important;padding:3px 6px!important;background:#312617b0!important;color:var(--ui-title)!important;border:1px solid var(--ui-edge)!important;border-radius:5px!important;pointer-events:auto!important;cursor:pointer}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige:before,html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige:after{display:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige :is(b,.crown){display:block!important;position:static!important;inset:auto!important;width:auto!important;height:auto!important;padding:0!important;margin:0!important;transform:none!important;background:none!important;color:var(--ui-title)!important;font:600 14px/1.2 PT Sans,sans-serif!important;text-shadow:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige b{order:0!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige .crown{order:1!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .prestige small{display:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .bank{left:154px!important;top:34px!important;width:calc(100% - 164px)!important;height:29px!important;min-height:29px!important;display:grid!important;grid-template-columns:20px minmax(0,1fr)!important;grid-template-rows:14px 11px!important;column-gap:4px!important;row-gap:0!important;align-items:center!important;padding:2px 6px!important;border:1px solid #628a72!important;border-radius:5px!important;background:#152e25b0!important;cursor:pointer}html[data-device=desktop] body:not(.on-map) .hud .player-hud .bank i{grid-column:1;grid-row:1/3;width:18px!important;height:18px!important;margin:0!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .bank b{grid-column:2;grid-row:1;font:600 15px/18px PT Sans,sans-serif!important;color:var(--ui-text)!important;white-space:nowrap;text-shadow:none!important}html[data-device=desktop] body:not(.on-map) .hud .player-hud .bank span{grid-column:2;grid-row:2;font:11px/12px PT Sans,sans-serif!important;color:var(--ui-muted)!important;text-shadow:none!important}html[data-device=desktop] body:not(.on-map) .hud #resbar{left:calc(var(--desk-edge) + var(--desk-profile) + 12px)!important;right:var(--desk-edge)!important;top:var(--desk-top)!important;width:auto!important;max-width:760px!important;height:68px!important;display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));gap:0!important;padding:8px!important}html[data-device=desktop] body:not(.on-map) .hud #resbar .res{display:grid!important;grid-template-columns:32px auto;grid-template-rows:28px 18px;align-content:center!important;justify-content:center!important;align-items:center!important;gap:0 8px!important;min-width:0!important;height:50px!important;min-height:0!important;padding:0 4px!important;background:none!important;border:0!important;border-radius:0!important;box-shadow:none!important}html[data-device=desktop] body:not(.on-map) .hud #resbar .res:not(:last-child){border-right:1px solid #ad925e44!important}html[data-device=desktop] body:not(.on-map) .hud #resbar .res img{width:32px!important;height:32px!important;object-fit:contain}html[data-device=desktop] body:not(.on-map) .hud #resbar .res b{font:600 20px/1.3 PT Sans,sans-serif!important;color:var(--ui-text)!important;text-shadow:none!important;white-space:nowrap}html[data-device=desktop] body:not(.on-map) .hud #resbar .res:before{display:none!important}html[data-device=desktop] body:not(.on-map) .hud #resbar .res:after{position:static!important;display:block!important;grid-column:1/-1;grid-row:2;width:auto!important;height:auto!important;background:none!important;border:0!important;color:var(--ui-muted)!important;font:12px/20px PT Sans,sans-serif!important;text-align:center}html[data-device=desktop] body:not(.on-map) .hud #resbar [data-resource=wood]:after{content:"Дерево"!important}html[data-device=desktop] body:not(.on-map) .hud #resbar [data-resource=stone]:after{content:"Камень"!important}html[data-device=desktop] body:not(.on-map) .hud #resbar [data-resource=iron]:after{content:"Железо"!important}html[data-device=desktop] body:not(.on-map) .hud #resbar [data-resource=grain]:after{content:"Зерно"!important}html[data-device=desktop] body:not(.on-map) .hud #resbar [data-resource=gold]:after{content:"Золото"!important}html[data-device=desktop] body:not(.on-map) .hud #resbar .res.deficit b{color:var(--ui-danger)!important}html[data-device=desktop] body .hud .player-hud .ribbon.ribbon{text-shadow:1px 2px 3px #000,0 0 7px #000!important}html[data-device=desktop] body .hud #resbar .res.res{background:#14232bb5!important;border-radius:6px!important}html[data-device=desktop] body:not(.on-map) .hud #resbar{gap:4px!important;padding:0!important}html[data-device=desktop] body .hud .desk-rail{top:calc(var(--desk-top) + 76px);bottom:calc(var(--desk-bottom) + var(--desk-tile) + 24px);display:flex;flex-direction:column;justify-content:start;align-items:stretch;width:var(--desk-rail-width);overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;pointer-events:none}html[data-device=desktop] body .hud .desk-left{left:var(--desk-edge)}html[data-device=desktop] body .hud .desk-right{right:var(--desk-edge)}html[data-device=desktop] body .hud .desk-rail :is(.menu,.bar,.side,.promo){position:static!important;inset:auto!important;width:100%!important;height:auto!important;min-height:0!important;max-height:none!important;display:contents!important}html[data-device=desktop] body:not(.on-map) .hud .desk-rail .menu-map,html[data-device=desktop] body.on-map .hud .desk-rail :is(.menu-city,.side){display:none!important}html[data-device=desktop] body .hud .desk-travel{left:auto;right:var(--desk-edge);bottom:var(--desk-bottom);width:var(--desk-column);pointer-events:none}html[data-device=desktop] body:not(.on-map) .hud .desk-travel .medal[data-go=city],html[data-device=desktop] body.on-map .hud .desk-travel .medal[data-go=map]{display:none!important}html[data-device=desktop] body .hud>[data-activity=marches]{position:absolute!important;top:auto!important;bottom:var(--desk-bottom)!important;left:var(--desk-edge)!important;width:var(--desk-column)!important;z-index:2}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.desk-action,.medal,.quest,.bbtn,.pbtn),html[data-device=desktop] body .hud>[data-activity=marches]{transform:none!important;clip-path:none!important;flex:0 0 auto!important;box-sizing:border-box!important;display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;gap:1px!important;width:100%!important;height:auto!important;min-height:var(--desk-tile)!important;padding:2px 1px!important;background:transparent!important;border:1px solid transparent!important;border-radius:8px!important;box-shadow:none!important;pointer-events:auto;cursor:pointer}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.desk-action,.medal,.quest,.bbtn,.pbtn){position:relative!important;inset:auto!important}html[data-device=desktop] body .hud>[data-activity=marches]{width:var(--desk-column)!important}html[data-device=desktop] body .hud .desk-rail .promo .pbtn:not(:first-child){display:none!important}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.medal i,.pbtn .ic,.quest .hud-art,.bbtn .hud-art,.desk-action img),html[data-device=desktop] body .hud>[data-activity=marches] .hud-art{box-sizing:border-box!important;position:static!important;width:var(--desk-icon)!important;height:var(--desk-icon)!important;min-height:0!important;flex:0 0 var(--desk-icon)!important;margin:0!important;padding:0!important;background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important;object-fit:contain!important;filter:drop-shadow(0 2px 3px #000a)!important}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.medal i,.pbtn .ic) .hud-art{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.medal span,.desk-action span,.pbtn .sale,.quest .control-caption,.bbtn .control-caption),html[data-device=desktop] body .hud>[data-activity=marches] .control-caption{position:static!important;transform:none!important;display:block!important;width:auto!important;min-width:0!important;max-width:100%!important;height:auto!important;padding:2px 5px!important;margin:0!important;border:0!important;border-radius:4px!important;background:var(--desk-label-bg)!important;box-shadow:none!important;color:var(--desk-text)!important;font:700 clamp(14px,1.05vw,16px)/1.05 "PT Sans",sans-serif!important;text-align:center!important;text-shadow:0 1px 2px #000!important;text-transform:none!important;white-space:normal!important}html[data-device=desktop] body .hud .desk-rail .pbtn .ic{order:-1}html[data-device=desktop] body .hud .desk-rail .medal i.clan-emblem{background:url(/art/clans/emblem-1.webp) center / contain no-repeat!important}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.pbtn b,.quest em,.quest small):empty{display:none!important}html[data-device=desktop] body .hud .desk-rail .bbtn .queue-summary,html[data-device=desktop] body .hud>[data-activity=marches] .queue-summary{position:static!important;max-width:100%!important;width:auto!important;padding:2px 4px!important;margin:0!important;border-radius:4px!important;background:var(--desk-label-bg)!important;color:var(--desk-text)!important;font:12px/1.1 PT Sans,sans-serif!important;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}html[data-device=desktop] body .hud .desk-rail .bbtn:before,html[data-device=desktop] body .hud>[data-activity=marches]:before{display:none!important}html[data-device=desktop] body .hud :is(.desk-rail,.desk-travel) :is(.desk-action,.medal,.quest,.pbtn,.bbtn):is(:hover,:focus-visible),html[data-device=desktop] body .hud>[data-activity=marches]:is(:hover,:focus-visible){background:#14212a75!important;border-color:#e9c981ad!important}html[data-device=desktop] body.on-map .hud .desk-left,html[data-device=desktop] body.on-map .hud .desk-right>:not(.menu-map),html[data-device=desktop] body.on-map .hud .menu-map :is(#home,.red),html[data-device=desktop] body:not(.on-map) .hud .desk-map-hero{display:none!important}html[data-device=desktop] body.on-map .hud .desk-right{top:auto;bottom:calc(var(--desk-bottom) + var(--desk-tile) + 15px);width:var(--desk-column);display:flex}html[data-device=desktop] body.on-map .hud .menu-map .medal:has(.clan-emblem){order:1}html[data-device=desktop] body.on-map .hud .menu-map .mail-control{order:2}html[data-device=desktop] body.on-map .hud #resbar{display:grid!important;grid-template-columns:repeat(5,minmax(0,1fr));width:var(--desk-map-width)!important;max-width:none!important;height:42px!important;top:var(--desk-top)!important;left:50%!important;right:auto!important;transform:translate(-50%);gap:0!important;padding:0!important;overflow:hidden;background:#14232be3!important;border:1px solid #bca06b85!important;border-radius:7px!important}html[data-device=desktop] body.on-map .hud #resbar .res.res{display:flex!important;flex-direction:row!important;justify-content:center!important;align-items:center!important;height:40px!important;min-width:0!important;min-height:0!important;padding:0 4px!important;gap:4px!important;background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important}html[data-device=desktop] body.on-map .hud #resbar .res:not(:last-child){border-right:1px solid #bca06b46!important}html[data-device=desktop] body.on-map .hud #resbar .res img{height:24px!important;width:24px!important}html[data-device=desktop] body.on-map .hud #resbar .res b{font-size:14px!important}html[data-device=desktop] body.on-map .world-tools.world-tools{top:calc(var(--desk-top) + 48px)!important;width:var(--desk-map-width);display:grid!important;grid-template-columns:minmax(0,1fr) auto auto}html[data-device=desktop] body.on-map .world-tools.world-tools .world-search-open{width:100%!important}html[data-device=desktop] body.on-map .world-zoom{top:auto!important;bottom:calc(var(--desk-bottom) + 54px)!important}html[data-device=desktop] body.on-map.desk-chat-open .world-zoom{bottom:calc(var(--desk-bottom) + clamp(148px,27dvh,250px) + 8px)!important}html[data-device=desktop] body.on-map .hud .desk-map-hero{left:calc(var(--desk-edge) + var(--desk-column) + 6px);bottom:var(--desk-bottom);width:56px!important;min-height:0!important;height:54px!important;display:grid;justify-items:center;gap:2px;padding:0!important;border:0!important;box-shadow:none!important;background:transparent!important;color:var(--desk-text);font:700 14px PT Sans,sans-serif;text-shadow:1px 2px 3px #000;cursor:pointer}html[data-device=desktop] body.on-map .hud .desk-map-hero img{width:36px;height:36px;border:1px solid #ad945d;border-radius:50%;object-fit:cover}html[data-device=desktop] body.on-map .hud .ticker.chat-desktop{width:min(460px,calc(100vw - 2 * (var(--desk-edge) + var(--desk-column) + 68px)))!important;justify-content:flex-start!important;padding:0 10px!important}html[data-device=desktop] body.on-map .hud .ticker.chat-desktop>span,html[data-device=desktop] body.on-map .hud .ticker.chat-desktop .chat-label{display:block!important;width:auto!important}html[data-device=desktop] body.on-map .hud .ticker.chat-desktop .chat-label{flex:none;padding:0 8px 0 0!important}html[data-device=desktop] body.on-map .hud .ticker.chat-desktop>span{white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis}html[data-device=desktop] body .activity-panel{left:calc(var(--desk-edge) + var(--desk-column) + 6px)!important;bottom:calc(var(--desk-bottom) + var(--desk-tile) + 8px)!important;max-height:calc(100dvh - var(--desk-bottom) - var(--desk-tile) - 22px)!important;z-index:9}html[data-device=desktop] body .hud .city-help{top:calc(var(--desk-top) + 75px)!important;left:50%!important;right:auto!important;transform:translate(-50%);width:min(510px,48vw)}html[data-device=desktop] body .shell-notice{bottom:calc(var(--desk-bottom) + clamp(148px,27dvh,250px) + 8px)!important;left:50%!important;transform:translate(-50%);padding:6px 10px;border-radius:5px;pointer-events:none}html[data-device=desktop] body #chat-window.chat-docked{position:fixed!important;inset:auto auto var(--desk-bottom) 50%!important;transform:translate(-50%)!important;margin:0!important;width:min(600px,calc(100vw - var(--desk-rail-width) * 2 - var(--desk-edge) * 2 - 28px))!important;height:clamp(148px,27dvh,250px)!important;max-height:none!important;background:#111e27ac!important;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);border:1px solid #bca06b96!important;border-radius:8px!important;z-index:6!important}html[data-device=desktop] body #chat-window.chat-docked header{padding:3px 5px}html[data-device=desktop] body #chat-window.chat-docked :is(header button,.chat-form button,.chat-form input){min-height:32px!important;height:34px!important;padding:4px 9px!important;font-size:14px!important}html[data-device=desktop] body #chat-window.chat-docked .chat-form{padding:4px 5px;align-items:center}html[data-device=desktop] body #chat-window.chat-docked .chat-close{color:var(--desk-text)!important;background:#18232d9c!important;position:static!important;width:auto!important;height:auto!important}html[data-device=desktop] body .hud .ticker.chat-desktop{box-sizing:border-box!important;position:absolute!important;inset:auto auto var(--desk-bottom) 50%!important;transform:translate(-50%)!important;width:min(340px,46vw)!important;height:46px!important;min-height:46px!important;max-height:46px!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;padding:0!important;background:#111e27ac!important;border:1px solid #bca06b96!important;border-radius:8px!important;box-shadow:none!important}html[data-device=desktop] body.desk-chat-open .hud .ticker.chat-desktop{display:none!important}html[data-device=desktop] body .hud .ticker.chat-desktop :is(.q,.chat-preview-toggle),html[data-device=desktop] body .hud .ticker.chat-desktop>span{display:none!important}html[data-device=desktop] body .hud .ticker.chat-desktop .chat-label{box-sizing:border-box!important;width:100%!important;height:44px!important;min-height:44px!important;padding:0!important}html[data-device=desktop] body .hud .ticker.chat-desktop .chat-label-text{color:var(--desk-text)!important;font:700 17px PT Sans,sans-serif!important}@media(max-height:850px){html[data-device=desktop] body{--desk-rail-width: calc(var(--desk-column) * 2)}html[data-device=desktop] body .hud .desk-rail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content}}@media(max-width:780px){html[data-device=desktop] body{--desk-column: 94px;--desk-rail-width: var(--desk-column)}html[data-device=desktop] body .hud .desk-rail{grid-template-columns:minmax(0,1fr)}html[data-device=desktop] body .hud .desk-rail :is(.desk-action,.medal,.quest,.bbtn,.pbtn){min-height:58px!important}html[data-device=desktop] body #chat-window.chat-docked :is(header button,.chat-form button,.chat-form input){font-size:12px!important}}}
