.language-selector{flex-wrap:wrap;align-items:center;gap:10px 16px;min-width:0;display:flex}.language-selector label{font-weight:600}.language-selector select{color:var(--text,var(--theme-ink,#e7dfcb));background:var(--surface,var(--theme-field,#172b24));border:1px solid var(--border,var(--theme-line,#526447));border-radius:var(--theme-control-radius,8px);max-width:100%;min-height:44px;font:inherit;padding:8px 32px 8px 12px}.language-selector p{flex-basis:100%;margin:0;font-size:.875rem}.language-selector-compact{justify-content:center;font-size:.85rem}.language-selector-compact select{min-height:40px}.guest-language{padding:12px 16px 0}.language-load-status{z-index:1000;border:1px solid var(--border,var(--theme-line,#53654e));width:fit-content;max-width:calc(100% - 2rem);color:var(--text,var(--theme-ink,#f3edda));background:var(--panel,var(--theme-surface,#1c3028));border-radius:.75rem;margin-inline:auto;padding:.75rem 1rem;position:fixed;inset:auto 1rem 1rem}.language-load-status p{margin:0}.telegram-settings fieldset{border:0;min-width:0;margin:20px 0 0;padding:0}.telegram-settings legend{margin-bottom:10px;font-weight:700}.telegram-category{cursor:pointer;align-items:flex-start;gap:12px;padding:12px 0;display:flex}.telegram-category input{width:20px;height:20px;accent-color:var(--accent);flex:none;margin:2px 0 0}.telegram-category span{gap:4px;min-width:0;display:grid}.telegram-category small{opacity:.8;line-height:1.5}.telegram-settings .button{white-space:normal}.telegram-connection{overflow-wrap:anywhere}.game-rules-consent{flex-wrap:wrap;align-items:center;column-gap:1em;margin-block:.75rem;display:flex}.game-rules-consent>label{align-items:center;gap:.5em;display:inline-flex}.game-rules-consent>label>input{width:1.15em;height:1.15em;accent-color:var(--gold)}.game-rules-link{cursor:pointer;color:var(--gold);font:inherit;background:0 0;border:0;padding:.4rem 0;text-decoration:underline}.game-rules-dialog{box-sizing:border-box;border:1px solid var(--line);background:var(--theme-recess,#192c25);width:min(38rem,94vw);max-height:82vh;color:var(--theme-ink,#f1f2e8);border-radius:1rem;padding:1rem;overflow:auto}.game-rules-dialog::backdrop{background:#08110ecc}.game-rules-dialog header{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:.75rem;display:flex}.game-rules-dialog header h2{margin:0}.game-rules-dialog summary{cursor:pointer;padding:.6rem}.game-rules-dialog summary h3{font-size:1.05rem;display:inline}.game-rules-dialog .rules-copy p{margin:.5rem .6rem 1rem;line-height:1.55}.web-imperial-store{border-block-start:1px solid var(--line);text-align:start;width:min(100%,23rem);margin-block-start:2rem;padding-block-start:1.25rem}.web-imperial-store h2{align-items:center;gap:.6rem;margin:0 0 .8rem;font-size:1.25rem;display:flex}.web-imperial-methods{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.web-imperial-methods a{border:1px solid var(--line);background:var(--surface,var(--theme-surface,#193329));min-height:4rem;color:var(--gold);border-radius:.65rem;align-content:center;gap:.15rem;padding:.6rem 1rem;text-decoration:none;display:grid}.web-imperial-methods a:hover{border-color:var(--gold)}.web-imperial-methods a:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.web-imperial-methods span{color:var(--muted);font-size:.85rem}.imperial-dialog{width:min(27rem,100vw - 2rem);max-height:82vh;overscroll-behavior:contain;border:1px solid var(--line);border-radius:var(--radius);max-height:82dvh;color:var(--ink);background:var(--surface);font:inherit;margin:auto;padding:clamp(1.125rem,4vw,1.625rem);overflow:auto}.imperial-dialog::backdrop{background:#08110ecc}.imperial-heading{justify-content:space-between;align-items:center;gap:.75rem;margin-bottom:1.25rem;display:flex}.imperial-heading h2{color:var(--ink);font:700 1.5rem/1.2 var(--serif);margin:0}.imperial-heading p{color:var(--muted);margin:.2rem 0 0}.imperial-heading h2:focus{outline:none}.imperial-close{width:2.75rem;min-height:2.75rem;color:var(--muted);cursor:pointer;background:0 0;border:0;border-radius:.5rem;place-items:center;margin-right:-.45rem;padding:0;font-size:1.7rem;line-height:1;display:grid}.imperial-close:hover{color:var(--ink);background:var(--surface-muted)}.imperial-quantity{gap:.375rem;font-weight:600;display:grid}.imperial-amount{border:1px solid var(--theme-line-strong,#617366);background:var(--page);border-radius:.625rem;align-items:center;gap:.75rem;padding:.5rem .75rem;display:flex}.imperial-amount:focus-within{outline:1px solid var(--field-focus-color);outline-offset:var(--field-focus-offset)}.imperial-amount input{--field-focus-outline:none;width:100%;min-width:0;color:var(--ink);font-variant-numeric:tabular-nums;background:0 0;border:none;padding:0;font-family:inherit;font-size:1.75rem;font-weight:650;line-height:1.35}.imperial-presets{border:0;grid-template-columns:repeat(3,minmax(0,1fr));gap:.4rem;min-width:0;margin:.6rem 0 1rem;padding:0;display:grid}.imperial-presets label{min-width:0;position:relative}.imperial-presets input{opacity:0;cursor:pointer;width:100%;height:100%;margin:0;position:absolute;inset:0}.imperial-presets span{border:1px solid var(--line);background:var(--surface-muted);min-height:2.75rem;color:var(--ink);font-variant-numeric:tabular-nums;border-radius:.5rem;place-items:center;font-weight:600;display:grid}.imperial-presets input:hover+span{border-color:var(--muted)}.imperial-presets input:checked+span{border-color:var(--gold);color:var(--gold);background:var(--page)}.imperial-close:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.imperial-presets input:focus+span{outline:1px solid var(--field-focus-color);outline-offset:-2px}.imperial-dialog .imperial-pay{width:100%;min-height:2.875rem}.imperial-dialog .imperial-reference{overflow-wrap:anywhere;color:var(--muted);display:block}.imperial-hint{color:var(--muted)}.imperial-methods{margin:0 0 1rem}.imperial-methods legend{padding:0 0 .375rem;font-weight:600}.imperial-wallet-checkout{gap:.65rem;min-width:0;display:grid}.imperial-wallet-checkout p{margin:.25rem 0}.imperial-quote{gap:.2rem;display:grid}.imperial-quote small,.imperial-wallet-checkout details{color:var(--muted)}.imperial-wallet-checkout code{overflow-wrap:anywhere;-webkit-user-select:all;user-select:all;display:block}.imperial-wallet-checkout summary,.wallet-switch{cursor:pointer}.wallet-switch{width:fit-content;color:var(--gold);font:inherit;background:0 0;border:0;padding:.4rem 0}.telegram-entry-main{text-align:center;background:radial-gradient(ellipse at 50% 25%, var(--theme-raised,#304531) 0%, transparent 65%);flex-direction:column;flex:1;justify-content:center;align-items:center;padding:48px 24px;display:flex}.telegram-entry-main h1{max-width:480px;margin:24px 0 12px}.telegram-entry-main p{max-width:380px;color:var(--muted);margin:0 0 24px;line-height:1.6}.telegram-entry-main .button{min-height:48px}.telegram-entry-main .button+.button{margin-top:12px}@media (max-width:760px){.guest-header .runvar-wordmark small{display:none}.guest-header .guest-login{padding-inline:12px;font-size:11px}.guest-shell .guest-story:before{background:linear-gradient(#0d211b99,#0d211bf5)}.is-register .guest-header{padding-block:14px}.is-register .auth-content{padding:20px 20px 28px}.is-register .auth-content>.eyebrow{display:none}.is-register .auth-content>h1{margin-top:0;margin-bottom:10px}.is-register .auth-description{margin-bottom:16px}.is-register .order-submit{position:static}}.news-editor{gap:1rem;display:grid}.news-editor>label,.news-media-fields>label,.news-feedback label{gap:.5rem;min-width:0;display:grid}.news-editor textarea,.news-feedback textarea{resize:vertical;width:100%;min-height:9rem}.news-language-tabs{gap:.5rem;display:flex}.news-editor-toolbar,.news-article-actions,.news-reactions,.news-pagination,.news-pagination form{flex-wrap:wrap;align-items:center;gap:.6rem;display:flex}.news-editor-toolbar{padding:.5rem 0}.news-publish-time{border:1px solid var(--line,var(--theme-line-strong,#8c8069));border-radius:.75rem;gap:.5rem;min-width:0;margin:0;padding:.75rem 1rem;display:grid}.news-publish-time>label:not(.native-checkbox){gap:.5rem;min-width:0;display:grid}.news-publish-time legend{padding:0 .3rem;font-weight:600}.native-form.news-editor .news-publish-time input[type=radio]{height:20px;min-height:20px;accent-color:var(--gold);flex:0 0 20px;padding:0;width:20px!important}.news-emoji{border:1px solid var(--line,var(--theme-line-strong,#8c8069));cursor:pointer;background:0 0;border-radius:.5rem;padding:.45rem;font-size:1.4rem}.news-media-fields{border:1px solid var(--line,var(--theme-line-strong,#8c8069));border-radius:.75rem;gap:.75rem;padding:1rem;display:grid}.news-content{overflow-wrap:anywhere;white-space:pre-wrap}.news-content .news-illustration{object-fit:contain;border-radius:.5rem;width:auto;max-width:100%;height:auto;max-height:none;margin:.8rem 0;display:block}.news-entry-meta{flex-wrap:wrap;align-items:center;gap:.75rem;margin-bottom:1rem;display:flex}.news-article-actions{margin-top:1.1rem}.news-reaction{gap:.45rem}.news-reaction.active{outline:2px solid var(--gold,var(--theme-accent,#b58b42));outline-offset:2px}.news-reaction:disabled.active{opacity:1}.news-feedback{margin-top:1rem}.news-statistics{border-top:1px solid var(--line,var(--theme-line-strong,#8c8069));margin-top:1.25rem;padding-top:.9rem}.news-statistics summary{cursor:pointer;font-weight:600}.news-statistics-counts{flex-wrap:wrap;gap:1rem 2rem;display:flex}.news-statistics-counts dd{margin:.3rem 0;font-size:1.2rem;font-weight:700}.news-pagination{justify-content:center;margin:1.25rem 0}.news-pagination label{align-items:center;gap:.5rem;display:flex}.news-pagination input{width:5rem}.news-full-heading{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:1rem;margin-bottom:1rem;display:flex}@media (max-width:480px){.news-article-actions{align-items:stretch}.news-reactions{width:100%}.news-reactions .button{flex:1}.news-pagination,.news-pagination form{gap:.4rem}.news-pagination label{gap:.3rem;font-size:.85rem}.news-pagination input{width:3.5rem}}.discovery-collection{min-width:0}.discovery-intro{border:1px solid var(--theme-line-soft,#b5995d66);border-radius:var(--theme-radius,14px);background:radial-gradient(ellipse at top right, var(--theme-tint,#ab80332e), transparent 70%), var(--theme-recess,#14251f);margin-bottom:16px;padding:20px}.discovery-intro h3{color:var(--theme-accent,#f2dfb8);margin:8px 0;font:25px Georgia,serif}.discovery-intro p,.discovery-rules p{line-height:1.6}.discovery-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:14px;margin:18px 0;display:grid}.discovery-card{overflow-wrap:anywhere;border:1px solid var(--theme-line-soft,#78816a66);border-radius:var(--theme-radius,14px);background:linear-gradient(145deg, var(--theme-surface,#24352c), var(--theme-recess,#14251f));min-width:0;color:var(--theme-ink,#d7dfd3);padding:16px}.discovery-card.is-owned{border-color:var(--theme-line-strong,#c3a263)}.discovery-card-top{color:var(--theme-muted,#bdc9ba);justify-content:space-between;gap:8px;font-size:11px;display:flex}.discovery-card.is-owned .discovery-card-top span:last-child{color:var(--theme-accent,#f2d591)}.game-content .discovery-card img{object-fit:contain;width:160px;max-width:100%;height:160px;margin:8px auto;display:block}.game-content .discovery-card h3{color:var(--theme-accent,#f2dfb8);margin:10px 0;font:21px Georgia,serif}.discovery-card>strong{color:var(--theme-accent,#f0cf8b);font-size:13px}.discovery-card p{margin-bottom:0;font-size:13px;line-height:1.65}.discovery-rules{border:1px solid var(--theme-line-soft,#78816a66);border-radius:var(--theme-radius,10px);padding:14px}.discovery-rules summary{cursor:pointer}.discovery-find{margin:16px 0}.discovery-activation{border:1px solid var(--theme-line-strong,#c3a263);border-radius:var(--theme-radius,10px);background:var(--theme-raised,#293b2d);color:var(--theme-accent,#f2dfb8);padding:12px}.largest-battles-heading{align-items:center;gap:12px;margin-bottom:12px;display:flex}.largest-battles-heading>img{flex:0 0 40px}.game-content .largest-battles-heading h2{box-shadow:none;background:0 0;border:0;margin:0;padding:0;font-size:18px;line-height:1.35}.largest-battles-list{margin:0;padding:0;list-style:none}.largest-battles-list>li{grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px 12px;padding:12px 0;display:grid}.largest-battles-list>li+li{border-top:1px solid var(--line)}.battle-place{color:var(--gold);text-align:center;font-variant-numeric:tabular-nums;font-weight:700}.battle-countries{overflow-wrap:anywhere;min-width:0;line-height:1.5}.battle-experience{text-align:right;font-variant-numeric:tabular-nums;gap:3px;display:grid}.battle-experience strong{color:var(--theme-accent,#ecd49f);white-space:nowrap}.battle-experience small{color:var(--theme-muted,#9fb3b7);font-size:11px}@media (max-width:480px){.largest-battles-list>li{grid-template-columns:24px minmax(0,1fr);align-items:start;gap:4px 10px}.battle-place{grid-row:span 2;line-height:1.5}.battle-experience{text-align:left;flex-wrap:wrap;grid-column:2;align-items:baseline;gap:6px;display:flex}}.context-help{box-sizing:border-box;border:1px solid var(--theme-line-strong,#71857b);border-radius:var(--theme-radius,18px);width:min(500px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--theme-ink,#e8ede7);background:linear-gradient(135deg, var(--theme-surface,#203b40), var(--theme-recess,#10272e));padding:24px;overflow-y:auto;box-shadow:0 24px 90px #0009}.context-help::backdrop{background:#06181ccc}.context-help-heading{align-items:center;gap:10px;display:flex}.context-help.game-content h2{box-shadow:none;color:var(--theme-accent,#f1e5c3);background:0 0;border:0;flex:1;margin:0;padding:0;font-size:20px;line-height:1.3}.context-help-heading .icon-button{flex:0 0 44px;min-width:44px;min-height:44px}.context-help p{font-size:15px;line-height:1.65}.game-content button.info-link{cursor:pointer;font:inherit}@media (max-width:380px){.context-help{padding:16px}.context-help-heading img{width:30px;height:30px}.context-help.game-content h2{font-size:18px}}.unit-card{position:relative}.game-content button.troop-info-trigger{width:44px;height:44px;min-height:44px;box-shadow:none;color:var(--theme-accent,#e6cf9f);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:5px;right:5px}.troop-info-trigger span{border:1px solid var(--theme-accent,#c7af7973);background:var(--theme-recess,#13271ee8);border-radius:50%;place-items:center;width:25px;height:25px;font:700 17px Georgia,serif;transition:background .15s,border-color .15s;display:grid}.troop-info-trigger:hover span{background:var(--theme-hover,#3b4b32);border-color:var(--theme-accent,#e6cf9f)}.troop-info-trigger:focus-visible,.troop-info-dialog :focus-visible,.combat-matrix-scroll:focus-visible{outline:2px solid var(--theme-accent,#dfbd7c);outline-offset:3px}dialog.troop-info-dialog{border:1px solid var(--theme-line-strong,#8f8257);border-radius:var(--theme-radius,20px);width:min(600px,100% - 24px);color:var(--theme-ink,#e8ede6);background:var(--theme-recess,#142923);gap:0;padding:0;overflow:hidden;box-shadow:0 28px 100px #000a,inset 0 0 0 1px #e4c8870a}.troop-info-dialog::backdrop{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#061410d6}.troop-info-hero{border-bottom:1px solid var(--theme-accent,#dfbd7c33);background:radial-gradient(ellipse at 15% 65%, var(--theme-tint,#b49d5833), transparent 60%), linear-gradient(120deg, var(--theme-raised,#304b3a), var(--theme-recess,#122c2a));align-items:center;gap:22px;min-height:175px;padding:24px 56px 24px 26px;display:flex;position:relative}.troop-info-art{border:1px solid var(--theme-accent,#dfbd7c38);background:radial-gradient(circle, var(--theme-tint,#c0ad6b24), transparent 70%);border-radius:50%;flex:0 0 120px;place-items:center;width:120px;height:120px;display:grid}.troop-info-art img{object-fit:contain;filter:drop-shadow(0 10px 10px #0006)}.troop-info-eyebrow{color:var(--theme-accent,#dfc58d);letter-spacing:.16em;font-size:10px;font-weight:700}.troop-info-title{min-width:0}.troop-info-dialog.game-content h2{box-shadow:none;color:var(--theme-accent,#f5e5c1);font:700 32px/1.1 var(--serif);background:0 0;border:0;margin:9px 0;padding:0}.troop-info-title p{color:var(--theme-muted,#bed0be);margin:0;font-size:13px;line-height:1.5}.game-content button.troop-info-close{z-index:2;border:1px solid var(--theme-line-soft,#afbc9d40);width:44px;height:44px;min-height:44px;color:var(--theme-ink,#e8dfc5);background:var(--theme-recess,#142923);cursor:pointer;box-shadow:none;border-radius:50%;place-items:center;padding:0;font:26px/1 Arial,sans-serif;display:grid;position:absolute;top:10px;right:10px}.troop-info-close:hover{background:var(--theme-hover,#425345)}.troop-info-body{padding:22px 26px 18px}.troop-info-dialog.game-content>.troop-info-body{overscroll-behavior:contain;flex-shrink:1;min-height:0;overflow-y:auto}.troop-info-description{color:var(--theme-ink,#dce5d9);margin:0;font-size:15px;line-height:1.6}.troop-info-facts{color:var(--theme-muted,#b7c7b8);flex-wrap:wrap;gap:8px 18px;margin-top:14px;font-size:12px;display:flex}.troop-info-facts>span{align-items:center;gap:6px;display:flex}.troop-info-tactics{margin:20px 0 16px}.troop-info-dialog h3{color:var(--theme-accent,#ebd6a4);margin:0 0 8px;font-size:14px}.troop-info-tactics p,.troop-info-matchups p{margin:0;font-size:14px;line-height:1.6}.troop-info-matchups{grid-template-columns:1fr 1fr;gap:12px;display:grid}.troop-info-matchups>section{border:1px solid var(--theme-line-soft,#7eae8333);border-radius:var(--theme-radius,12px);background:var(--theme-tint,#63977512);padding:14px}.troop-info-matchups .troop-info-threats{border-color:var(--theme-warning-line,#c293663b);background:var(--theme-warning-surface,#ac6a3e10)}.troop-info-targets h3{color:var(--theme-muted,#bbd8b2)}.troop-info-threats h3{color:var(--theme-warning,#e0b58e)}.troop-info-matchups ul{gap:6px;margin:0;padding:0;list-style:none;display:grid}.troop-info-matchups li{align-items:center;gap:8px;font-size:13px;display:flex}.troop-info-matchups img{object-fit:contain;flex:0 0 28px}.troop-info-details{border-top:1px solid var(--theme-line-soft,#748b6940);border-bottom:1px solid var(--theme-line-soft,#748b6940);margin-top:18px}.troop-info-details summary{min-height:48px;color:var(--theme-accent,#e5d19f);cursor:pointer;justify-content:space-between;align-items:center;gap:12px;padding:10px 0;font-size:13px;font-weight:600;list-style:none;display:flex}.troop-info-details summary::-webkit-details-marker{display:none}.troop-info-details[open] summary>span{transform:rotate(180deg)}.troop-info-caveat{color:var(--theme-muted,#afc1b3);margin:14px 0;font-size:12px;line-height:1.6}.troop-info-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px 14px;display:flex}.troop-info-footer>span{color:var(--theme-muted,#a7baa9);font-size:12px}.game-content .troop-info-footer button{min-height:44px;box-shadow:none;color:var(--theme-accent,#ebcf8e);cursor:pointer;background:0 0;border:0;padding:8px 0;font-family:inherit;font-size:13px;font-weight:600;line-height:1.5}.troop-info-footer button:hover{color:var(--theme-accent,#ffe7b3)}.troop-coefficients{grid-template-columns:1fr 1fr;gap:6px 12px;margin:14px 0;display:grid}.troop-coefficient{border:1px solid var(--theme-line-soft,#6a806533);border-radius:var(--theme-radius,8px);justify-content:space-between;align-items:center;gap:8px;padding:6px 8px;display:flex}.troop-coefficient dt{color:var(--theme-ink,#dce5d9);align-items:center;gap:6px;font-size:12px;display:flex}.troop-coefficient dd{font-variant-numeric:tabular-nums;margin:0;font-size:14px;font-weight:700}.troop-coefficient-note{color:var(--theme-muted,#b9c8ba);margin:12px 0;font-size:13px;line-height:1.6}.favorable.troop-coefficient dd,.combat-matrix td.favorable{color:var(--theme-success,#bde1b3)}.unfavorable.troop-coefficient dd,.combat-matrix td.unfavorable{color:var(--theme-warning,#e5b58d)}.equal.troop-coefficient dd,.combat-matrix td.equal{color:var(--theme-muted,#bac7bd)}.combat-reference{min-width:0;margin:24px 0}.combat-matrix-scroll{border:1px solid var(--theme-accent,#dfbd7c44);border-radius:var(--theme-radius,12px);max-width:100%;overflow-x:auto}.game-content .combat-matrix{border-collapse:separate;border-spacing:0;width:100%;min-width:760px;margin:0;font-size:13px}.combat-matrix caption{color:var(--theme-accent,#dfc58d);text-align:left;background:var(--theme-surface,#1c352a);padding:14px}.game-content .combat-matrix :is(th,td){text-align:center;border:0;border-bottom:1px solid var(--theme-line-soft,#69775733);font-variant-numeric:tabular-nums;padding:10px 8px}.combat-matrix th{color:var(--theme-muted,#ded7bf);background:var(--theme-surface,#233b30);font-size:12px}.combat-matrix th img{margin:0 auto 6px;display:block}.combat-matrix th:first-child{z-index:1;text-align:left;width:130px;position:sticky;left:0;box-shadow:1px 0 #69775766}.combat-matrix td.favorable{background:var(--theme-success-surface,#5d975010)}.combat-matrix td.unfavorable{background:var(--theme-warning-surface,#b5824a10)}.troop-matrix-hint{color:var(--theme-muted,#b9c8ba);font-size:12px}@media (max-width:480px){.troop-info-hero{gap:14px;min-height:142px;padding:54px 16px 20px}.troop-info-art{flex-basis:78px;width:78px;height:78px}.troop-info-art img{width:80px;height:80px}.troop-info-dialog.game-content h2{font-size:26px}.troop-info-eyebrow{letter-spacing:.08em;max-width:calc(100% - 76px);font-size:9px;position:absolute;top:24px;left:16px}.troop-info-title p{font-size:12px}.troop-info-body{padding:18px 16px 14px}.troop-info-matchups{gap:8px}.troop-info-matchups>section{padding:10px}.troop-info-matchups li{gap:5px;font-size:12px}.troop-info-matchups img{flex-basis:24px;width:24px;height:24px}.troop-coefficients{gap:6px}.troop-coefficient{gap:4px;padding:6px}.troop-coefficient dt{gap:4px;font-size:11px}.troop-coefficient dt img{width:22px;height:22px}}@media (prefers-reduced-motion:reduce){.troop-info-trigger span{transition:none}}@media (max-width:380px){.troop-coefficients{grid-template-columns:1fr}}.troop-quantity{width:100%;display:block;position:relative}.troop-quantity input{padding-inline-end:42px!important}.troop-quantity>.troop-quantity-clear{width:40px;color:inherit;cursor:pointer;background:0 0;border:0;border-radius:0 5px 5px 0;padding:0;font:22px/1 Arial,sans-serif;position:absolute;inset:0 0 0 auto}.troop-quantity>.troop-quantity-clear:hover{background:var(--theme-tint,#82938b24)}.artifact-tone-stone{--relic:#c5c0ab;--relic-glow:#b2a88b19}.artifact-tone-iron{--relic:#bbd0de;--relic-glow:#97bad521}.artifact-tone-bronze{--relic:#e5ac7c;--relic-glow:#d68d4526}.artifact-tone-gold{--relic:#f0d088;--relic-glow:#e9b74c27}.artifact-tone-diamond{--relic:#a9ebe9;--relic-glow:#6ddbdd26}.artifact-collection,.artifact-guide{min-width:0}.artifact-intro{border:1px solid var(--theme-line-soft,#b5995d55);border-radius:var(--theme-radius,14px);background:radial-gradient(ellipse at top right, var(--theme-tint,#ab80332e), transparent 70%), var(--theme-recess,#14251f);justify-content:space-between;align-items:center;gap:20px;margin-bottom:18px;padding:22px;display:flex}.game-content .artifact-intro h3{color:var(--theme-accent,#f2dfb8);margin:8px 0;font-family:Georgia,serif;font-size:25px;line-height:1.2}.game-content .artifact-intro p{color:var(--theme-muted,#c0cbbf);margin:0;font-size:14px;line-height:1.6}.artifact-intro .eyebrow{letter-spacing:.13em;font-size:10px}.artifact-counter{color:var(--gold);text-align:center;flex-shrink:0;font:40px Georgia,serif}.artifact-counter small{color:var(--muted);margin-top:6px;font:12px system-ui;display:block}.artifact-filters{flex-wrap:wrap;gap:8px;margin-bottom:16px;display:flex}.game-content .artifact-filters button,.game-content .artifact-quality-selector button{border:1px solid var(--line);background:var(--theme-field,#182b23);min-height:44px;color:var(--ink);border-radius:var(--theme-control-radius,8px);box-shadow:none;margin:0;padding:10px 14px}.game-content .artifact-filters button[aria-pressed=true]{border-color:var(--gold);background:var(--theme-selected,#3a3c29);color:var(--theme-accent,#f4dba4)}.artifact-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px;display:grid}.artifact-card{border:1px solid color-mix(in srgb, var(--relic) 44%, var(--theme-line,#23392c));border-radius:var(--theme-radius,12px);background:radial-gradient(ellipse at 50% 28%, var(--relic-glow), transparent 66%), linear-gradient(155deg, var(--theme-surface,#20332b), var(--theme-recess,#13251e));min-width:0;padding:16px;position:relative;overflow:hidden}.artifact-card-top{color:var(--theme-muted,#bac6bd);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;font-size:11px;display:flex}.artifact-grade{color:var(--theme-accent,var(--relic));border:1px solid color-mix(in srgb, var(--relic) 32%, transparent);border-radius:var(--theme-radius,5px);background:#10221960;padding:2px 6px}.artifact-stage{place-items:center;height:144px;margin:8px 0;display:grid;position:relative}.artifact-stage:before{content:"";border:1px solid color-mix(in srgb, var(--relic) 18%, transparent);border-radius:50%;width:112px;height:112px;position:absolute;box-shadow:0 0 0 10px #ffffff02,0 0 0 11px #ffffff03}.artifact-image{object-fit:contain;flex-shrink:0;max-width:100%}.artifact-stage .artifact-image{filter:drop-shadow(0 8px 8px #0005);position:relative}.artifact-rank{color:var(--theme-accent,var(--relic));opacity:.7;font:19px Georgia,serif;position:absolute;bottom:0;right:0}.game-content .artifact-card h3{color:var(--theme-accent,#f1e5cb);margin:0 0 8px;padding:0;font-family:Georgia,serif;font-size:19px;font-weight:500;line-height:1.3}.artifact-card h3:first-letter{text-transform:uppercase}.game-content .artifact-bonus{color:var(--theme-muted,#c2cec4);margin:0;font-size:13px;line-height:1.55}.artifact-bonus strong{color:var(--theme-accent,var(--relic));white-space:nowrap;font-size:20px}.artifact-lifetime{border-top:1px solid var(--theme-line-soft,#ffffff12);margin-top:14px;padding-top:10px}.artifact-lifetime>span{color:var(--theme-muted,#c2cec4);justify-content:space-between;font-size:11px;display:flex}.artifact-lifetime b{color:var(--theme-accent,var(--relic));font-weight:500}.artifact-years{gap:4px;margin:7px 0 3px;display:flex}.artifact-years i{background:var(--theme-tint,#ffffff12);border-radius:2px;flex:1;height:4px}.artifact-years .filled{background:var(--relic)}.artifact-lifetime small,.artifact-card-note{color:var(--theme-muted,#a4b3a7);font-size:11px;line-height:1.5}.artifact-expiring>span{color:var(--theme-warning,#ffc48c)}.artifact-card-note{margin-top:12px;display:block}.artifact-absent .artifact-image{opacity:.55;filter:saturate(.45)}.artifact-absent{border-color:var(--theme-line,#465345);background:var(--theme-recess,#192b23)}.artifact-absent .artifact-bonus strong{font-size:13px}.artifact-empty{background:var(--theme-tint,#d1b8770d);border-left:2px solid var(--theme-line-strong,#aa8b54);color:var(--theme-muted,#d0c8b2);padding:16px;font-size:14px;line-height:1.6}.game-content .artifact-footnote{color:var(--theme-muted,#afbeb1);margin:14px 0;font-size:12px;line-height:1.65}.artifact-quality-selector{grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:12px 0 20px;display:grid}.game-content .artifact-quality-selector button{color:var(--theme-accent,var(--relic));justify-items:center;gap:8px;padding:12px 4px;font-size:11px;display:grid}.game-content .artifact-quality-selector button[aria-pressed=true]{border-color:var(--theme-accent,var(--relic));background:var(--theme-tint,var(--relic-glow));box-shadow:inset 0 0 0 1px var(--theme-accent,var(--relic))}.artifact-quality-seal{border:1px solid var(--relic);background:linear-gradient(135deg, var(--theme-tint,#ffffff29), var(--theme-tint,#0002));border-radius:9px 3px;place-items:center;width:32px;height:32px;font:17px Georgia,serif;display:grid}.artifact-rules{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:20px;margin:28px 0;display:grid}.artifact-rules section{border-left:1px solid var(--theme-line-soft,#b3975a70);padding:0 0 0 14px}.game-content .artifact-rules h3{color:var(--theme-accent,#e4cfa7);margin:0 0 8px;font:20px Georgia,serif}.game-content .artifact-rules p{color:var(--theme-muted,#bfcbbf);margin:0;font-size:13px;line-height:1.75}.artifact-summary{text-align:left;align-items:center;gap:20px;width:100%;display:flex}.artifact-summary-art{flex-shrink:0;align-items:center;display:flex}.artifact-summary-art img+img{margin-left:-16px;transform:rotate(12deg)}.artifact-summary strong{color:var(--theme-accent,#f0dfbd);font:23px Georgia,serif;display:block}.artifact-summary small{color:var(--theme-muted,#b8c7b9);margin-top:5px;font-size:13px;line-height:1.6;display:block}.artifact-summary-link{color:var(--theme-accent,#e5c58c);margin-top:8px;font-size:12px;display:block}.game-content button.artifact-entry{border:1px solid var(--theme-line-soft,#a98b545c);border-radius:var(--theme-control-radius,12px);background:radial-gradient(ellipse at left, var(--theme-tint,#90743b27), transparent), var(--theme-recess,#172b22);width:100%;box-shadow:none;margin:20px 0 0;padding:18px 20px;display:block}.game-content button.artifact-entry:hover{border-color:var(--gold);background-color:var(--theme-hover,#21372a)}.artifact-effect{border:1px solid var(--theme-line-soft,#738a7144);border-radius:var(--theme-radius,7px);text-align:left;color:var(--theme-muted,#bac7bc);align-items:center;gap:7px;margin-top:10px;padding:7px;font-size:11px;line-height:1.4;display:inline-flex}.artifact-effect strong{color:var(--theme-accent,var(--relic))}.artifact-effect small{color:var(--theme-muted,#acbbaf);font-size:10px;display:block}.artifact-find{max-width:360px;margin:16px 0}.artifact-find>.eyebrow{color:var(--gold);letter-spacing:.15em;margin-bottom:8px;font-size:10px;display:block}.native-dialog:has(.artifact-collection){width:min(920px,100vw - 32px)}@media (max-width:480px){.artifact-intro{gap:12px;padding:16px}.game-content .artifact-intro h3{font-size:23px}.artifact-guide .artifact-intro>img{display:none}.artifact-quality-selector{grid-template-columns:repeat(3,minmax(0,1fr))}.artifact-summary{gap:12px}.artifact-summary-art img{width:58px;height:58px}.artifact-summary-art img+img{display:none}.game-content button.artifact-entry{padding:16px}}.command-field-label{align-items:center;gap:8px;display:flex}.mining-allocation-option{gap:4px;display:grid}.mining-allocation-option p,.mining-allocation [aria-live] p{margin:0}.mining-allocation [aria-live]:empty{display:none}.command-field-label img{object-fit:contain;flex:none}.native-form .native-checkbox.news-notification-option{grid-template-columns:20px minmax(0,1fr);align-items:start;gap:4px 12px;display:grid}.news-notification-option .command-field-label{grid-area:1/2;font-weight:600}.news-notification-option .field-hint{grid-area:2/2;margin:0}.news-notification-option input[type=checkbox]{grid-area:1/1/3;margin:2px 0 0}.native-dialog .training-order .training-details{flex-wrap:wrap;align-items:center;gap:6px;display:flex}.native-dialog .training-order .training-details img{width:22px;height:22px;margin:0}.work-order-preview{border:1px solid var(--theme-line,#536441);border-radius:var(--theme-radius,12px);background:var(--theme-recess,#19251b);overflow-wrap:anywhere;grid-column:1/-1;min-width:0;padding:16px}.work-order-preview h3{margin:0 0 12px}.work-order-preview dl{gap:10px;margin:0;display:grid}.work-order-preview dl>div{flex-wrap:wrap;justify-content:space-between;gap:4px 16px;display:flex}.work-order-preview dd{margin:0;font-weight:700}.work-order-preview p{line-height:1.6}.work-order-preview ul{color:var(--theme-warning,#ffcbaf);padding-left:20px}.native-form .order-submit{z-index:2;background:var(--surface);border-top:1px solid var(--line);box-shadow:0 -8px 14px color-mix(in srgb, var(--surface) 90%, transparent);padding:12px 0;position:sticky;bottom:-18px}.order-submit-quote{overflow-wrap:anywhere;flex:1 0 100%;font-size:12px}.native-form.planning-form .order-submit{position:static}.planning-form .field-hint summary{align-content:center;min-height:44px}.order-submit-quote p{margin:3px 0}.construction-confirmation .order-costs{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;margin:0;display:grid}.construction-confirmation .order-costs>div{flex-wrap:wrap;padding-block:6px}.construction-confirmation .order-costs dt{font-size:12px}.construction-confirmation .order-costs dd{margin-left:auto}.simulator-fields{grid-column:1/-1;gap:16px;min-width:0;display:grid}.simulator-unit{border:1px solid var(--line);border-radius:var(--theme-radius,10px);grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;min-width:0;padding:12px;display:grid}.simulator-unit legend{text-transform:capitalize;padding:0 8px;font-weight:700}.simulator-unit label,.simulator-zero{min-width:0}.simulator-zero summary{cursor:pointer;line-height:1.5}.simulator-form .order-submit{grid-column:1/-1}@media (max-width:380px){.simulator-unit{grid-template-columns:minmax(0,1fr)}}.robbery-notices{color:var(--theme-danger,#ffe0b9);background:var(--theme-danger-surface,#3d2b20);border:1px solid var(--theme-danger-line,#b25c28);border-left:4px solid var(--theme-danger-line,#d7804c);border-radius:var(--theme-radius,12px);overflow-wrap:anywhere;padding:14px 16px}.workspace>.robbery-notices{margin:14px 16px 0}.robbery-notices-heading,.robbery-notices-footer{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px 16px;display:flex}.robbery-notices-heading strong{color:var(--theme-danger,#ffd7b0)}.robbery-notices-heading span,.robbery-notices-footer small{color:var(--theme-danger,#d9bfa8);font-size:12px}.robbery-notices p{margin:10px 0;line-height:1.5}.robbery-notices-footer .button{margin-left:auto}@media (min-width:761px){.workspace>.robbery-notices{margin-inline:25px}}.warfare-details{gap:16px;min-width:0;display:grid}.warfare-details h3{font-family:var(--font-body);margin:0 0 10px;font-size:16px}.warfare-details p{margin:6px 0 0;line-height:1.5}.order-result-hero{border:1px solid var(--line);border-radius:var(--theme-radius,14px);background:color-mix(in srgb, var(--gold) 9%, var(--surface));align-items:center;gap:14px;padding:16px;display:flex}.order-result-hero.is-success{border-color:var(--theme-success-line,#718653);background:color-mix(in srgb, var(--theme-success-surface,#71985b) 12%, var(--surface))}.order-result-hero>img{object-fit:contain;flex:none}.order-result-hero>div{overflow-wrap:anywhere;min-width:0}.order-result-hero h3{margin:0;font-size:19px}.order-troop-grid,.order-reward-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;display:grid}.order-troop-grid>div,.order-reward-grid>div{border:1px solid var(--line);border-radius:var(--theme-radius,10px);grid-template-columns:34px minmax(0,1fr);align-items:center;gap:2px 8px;min-width:0;padding:10px;display:grid}.order-troop-grid img,.order-reward-grid img{object-fit:contain;grid-row:span 2}.order-troop-grid dt,.order-reward-grid dt{text-transform:capitalize;overflow-wrap:anywhere;font-size:12px}.order-troop-grid dd,.order-reward-grid dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:0;font-weight:700}.order-skill-change,.order-experience{border-radius:var(--theme-radius,10px);background:color-mix(in srgb, var(--gold) 9%, var(--surface));flex-wrap:wrap;align-items:center;gap:8px;padding:10px 12px;display:flex}.order-skill-change strong,.order-experience strong{margin-left:auto}.battle-losses{gap:18px;display:grid}.campaign-next-step{border-left:3px solid var(--gold);background:color-mix(in srgb, var(--gold) 8%, var(--surface));border-radius:4px 10px 10px 4px;padding:14px}.order-survivors summary{cursor:pointer;padding-block:10px}.order-target-name{overflow-wrap:anywhere;font-weight:700}.enemy-buildings-locked{margin:0;padding:0;list-style:none}.enemy-buildings-locked li{border-bottom:1px solid var(--line);align-items:center;gap:10px;padding-block:5px;display:flex}.enemy-building-grid{gap:10px;display:grid}.enemy-building-card{text-align:left;width:100%;color:inherit;font:inherit;background:color-mix(in srgb, var(--gold) 7%, var(--surface));border:1px solid var(--line);border-radius:var(--theme-radius,12px);cursor:pointer;align-items:center;gap:14px;padding:14px;display:flex}.enemy-building-card:hover,.enemy-building-card:focus-visible{border-color:var(--gold)}.enemy-building-card img{object-fit:contain;flex:none}.enemy-building-card span{overflow-wrap:anywhere;gap:5px;min-width:0;display:grid}.enemy-building-card small{color:var(--muted)}.native-command-copy:empty{display:none}@media (max-width:360px){.order-result-hero{gap:10px;padding:12px}.order-result-hero>img{width:48px;height:48px}.order-troop-grid>div,.order-reward-grid>div{gap:2px 5px;padding:8px}}.mining-resource-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:8px 0 16px;display:grid}.mining-resource-tile{border:1px solid var(--theme-line,#596447);border-radius:var(--theme-radius,12px);min-height:96px;color:var(--theme-accent,#eeddb6);background:linear-gradient(135deg, var(--theme-raised,#2d3928), var(--theme-recess,#1b2b25));font:inherit;text-align:left;cursor:pointer;align-items:center;gap:12px;padding:16px;display:flex}.mining-resource-tile img{object-fit:contain;flex-shrink:0}.mining-resource-tile:hover,.mining-resource-tile:focus-visible{border-color:var(--theme-accent,#c5a469);background:var(--theme-hover,#354532);outline:2px solid var(--theme-accent,#c5a469);outline-offset:2px}.field-availability{color:var(--theme-muted,#bbc9ad);margin-left:auto;font-size:12px;font-weight:400}.mining-form .command-field-label{flex-wrap:wrap}.native-form input[aria-invalid=true]{border-color:var(--theme-danger-line,#d7846a);box-shadow:0 0 0 2px #d7846a40}.general-upgrade-stock{border:1px solid var(--theme-line,#626947);border-radius:var(--theme-radius,12px);background:var(--theme-surface,#202e23);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;margin:18px 0 12px;padding:12px 16px;display:flex}.general-upgrade-stock>div{flex-wrap:wrap;gap:16px;display:flex}.general-upgrade-stock>strong{color:var(--theme-muted,#c6d1b9);font-size:13px}.general-upgrade-form{border:1px solid var(--theme-line,#536441);border-radius:var(--theme-radius,12px);background:var(--theme-recess,#1b2921);padding:16px}.general-upgrade-form+.general-upgrade-form{margin-top:12px}.general-upgrade-form .order-submit{padding-bottom:0;position:static}@media (max-width:420px){.mining-resource-tile{flex-direction:column;align-items:flex-start;gap:8px;padding:14px}.mining-resource-tile img{width:44px;height:44px}}.general-overview{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;display:grid}.native-dialog .general-overview p{border:1px solid var(--theme-line,#425943);border-radius:var(--theme-radius,8px);background:var(--theme-surface,#203025);color:var(--theme-ink,#dbe2cc);margin:0;padding:10px 12px}.native-dialog .general-overview p:first-child{color:var(--theme-accent,#ecd4a2);background:0 0;border:0;grid-column:1/-1;padding:12px 0;font-size:19px;font-weight:700}.native-dialog>.native-actions:empty{display:none}.guard-transfer-summary{border-top:1px solid var(--theme-line-strong,#6d8078);margin-top:16px;padding-top:12px}.guard-transfer-summary h3{font:600 18px/1.3 var(--serif);margin:0 0 10px}.guard-transfer-summary ul{margin:0;padding:0;list-style:none}.guard-transfer-summary li{align-items:center;gap:10px;padding:9px 0;display:flex}.guard-transfer-summary li>img{flex:none}.guard-transfer-summary li>div{flex:1;min-width:0}.guard-transfer-summary li strong{font-size:14px;display:block}.guard-transfer-summary li small{opacity:.85;font-size:12px;line-height:1.5;display:block}.guard-transfer-summary li>b{color:var(--theme-accent,#f0c781);font:600 25px/1 var(--serif)}.guard-transfer-summary>p{font-size:13px}.guard-transfer-form{gap:12px}.guard-transfer-form>:is(.native-actions,.guard-transfer-summary){grid-column:1/-1}@media (min-width:560px){.guard-transfer-form{grid-template-columns:repeat(2,minmax(0,1fr))}}.country-hero .music-toggle{z-index:1;isolation:isolate;color:#deefe1;-webkit-backdrop-filter:blur(12px)saturate(125%);backdrop-filter:blur(12px)saturate(125%);cursor:pointer;background:linear-gradient(140deg,#bde6d117,#bde6d102 50%,#bde6d10a),#1f3e3d52;border:1px solid #86bdb047;border-radius:50%;justify-content:center;align-items:center;width:48px;min-width:48px;height:48px;min-height:48px;margin:0;padding:0;transition:background-color .18s,border-color .18s,box-shadow .18s,transform .18s;display:flex;position:absolute;top:14px;right:14px;box-shadow:inset 0 1px #bde6d127,inset 0 -1px #1f3e3d33,0 5px 14px #061a1829}.country-hero .music-toggle:before{content:"";z-index:-1;border-radius:inherit;pointer-events:none;background:radial-gradient(at 25% -30%,#bde6d124,#0000 65%);position:absolute;inset:0}.country-hero .music-toggle:hover{background-color:#345b536b;border-color:#86bdb080;box-shadow:inset 0 1px #bde6d142,0 6px 22px #03171244}.country-hero .music-toggle:active{transform:scale(.97)}.country-hero .music-toggle.is-enabled{color:#bde6d1;background-color:#345b5375;border-color:#86bdb099;box-shadow:inset 0 1px #bde6d138,0 4px 20px #1f3e3d44}.country-hero .music-toggle.is-enabled:after{content:"";opacity:.9;pointer-events:none;background:currentColor;border-radius:50%;width:3px;height:3px;position:absolute;bottom:5px;left:calc(50% - 1.5px)}.country-hero .music-toggle:focus-visible{outline-offset:3px;outline:3px solid #bde6d1}.music-glyph{filter:drop-shadow(0 1px 1px #10271e44);flex:none}.country-hero .hero-copy{padding-right:78px}@media (max-width:580px){.country-hero .music-toggle{width:46px;min-width:46px;height:46px;min-height:46px;top:12px;right:12px}.music-glyph{width:24px;height:24px}.country-hero .hero-copy{padding-right:76px}}@supports not ((-webkit-backdrop-filter:blur(1px)) or (backdrop-filter:blur(1px))){.country-hero .music-toggle{background-color:#1f3e3dd9}}@media (prefers-reduced-motion:reduce){.country-hero .music-toggle{transition:none}}.shell-appearance-picker{z-index:45;top:50%;right:calc(8px + var(--app-safe-right,env(safe-area-inset-right,0px)));color:#d6dfd9;opacity:.38;background:#14201f;border:1px solid #3d504b;border-radius:9px;width:max-content;max-width:calc(100vw - 16px);padding:5px;transition:opacity .16s;position:fixed;transform:translateY(-50%)}.shell-appearance-picker:is(:active,:has(:focus-visible)){opacity:.96}@media (hover:hover){.shell-appearance-picker:hover{opacity:.96}}@media (prefers-reduced-motion:reduce){.shell-appearance-picker{transition:none}}.shell-appearance-options{flex-direction:column;gap:3px;display:flex}.shell-appearance-options button{color:#d9e1dc;background:#23322f;border:1px solid #0000;border-radius:5px;min-width:34px;min-height:34px;padding:3px 8px;font-size:12px;line-height:1.3}.shell-appearance-options button:first-child{font-size:10px}.shell-appearance-options button:hover{background:#3a4b44}.shell-appearance-options button[aria-pressed=true]{color:#18231e;background:#e0cba1;border-color:#d6be8b}.shell-appearance-options button:focus-visible{outline-offset:2px;outline:2px solid #fff0c9}.native-app[data-shell]:where(:not([data-shell=original])){--shell-content-width:1200px;min-height:100dvh}@media (max-width:760px){.native-app[data-shell]:where(:not([data-shell=original]))>.workspace{padding-bottom:calc(106px + var(--app-safe-bottom,env(safe-area-inset-bottom,0px)))}}.native-app[data-shell]:where(:not([data-shell=original])) .native-main{max-width:var(--shell-content-width)}@media screen and (min-width:1100px){:root[data-game-theme=forest]:not([data-shell-preview]) .is-overview:has(.war-summary){max-width:var(--main-max-width)}:root[data-game-theme=forest]:not([data-shell-preview]) .is-overview:has(.war-summary) :is(.page-heading,.overview-page){max-width:calc(var(--shell-content-width) - 2 * var(--main-inline-padding));margin-inline:auto}}.native-app[data-shell]:where(:not([data-shell=original])) .native-main>.game-content{margin-inline:auto}.native-app[data-shell]:where(:not([data-shell=original])) .resource-bar{top:var(--app-safe-top,0px);background:var(--shell-surface);color:var(--shell-text);border-bottom:1px solid var(--shell-line);-webkit-backdrop-filter:none;backdrop-filter:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;padding:8px 12px}.native-app[data-shell]:where(:not([data-shell=original])) .resource{min-height:44px;color:var(--shell-text);border:0;border-radius:3px;gap:6px;padding:4px 7px}.native-app[data-shell]:where(:not([data-shell=original])) .resource:hover{background:var(--shell-active)}.native-app[data-shell]:where(:not([data-shell=original])) .resource small{color:var(--shell-muted);font-size:10px;line-height:1.4}.native-app[data-shell]:where(:not([data-shell=original])) .resource strong{color:var(--shell-text);font-size:14px;font-weight:600;line-height:1.4}.native-app[data-shell]:where(:not([data-shell=original])) .resource .resource-icon{width:33px;min-width:33px;height:33px;display:block}.native-app[data-shell]:where(:not([data-shell=original])) .compact-resources .resource .resource-icon{display:none}.shell-art{object-fit:contain;flex-shrink:0;display:block}.native-app[data-shell]:where(:not([data-shell=original])) .resource:focus-visible{outline:2px solid var(--shell-accent);outline-offset:0}.native-app[data-shell]:where(:not([data-shell=original])) .native-resources .resource.has-deficit strong{color:#ffd0b3}.native-app[data-shell]:where(:not([data-shell=original])) .grain-shortage{grid-column:1/-1;margin-top:5px}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav{inset:auto var(--app-safe-right,0px) 0 var(--app-safe-left,0px);padding:6px 8px calc(6px + var(--app-safe-bottom,env(safe-area-inset-bottom,0px)));background:var(--shell-surface);color:var(--shell-text);border-top:1px solid var(--shell-line);-webkit-backdrop-filter:none;backdrop-filter:none;gap:3px}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav :is(a,button){color:var(--shell-muted);border-radius:4px;gap:2px;min-width:0;min-height:62px;font-size:11px;line-height:1.3}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav .icon{opacity:.86;width:36px;min-width:36px;height:36px}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav :is(a[aria-current=page],button[aria-expanded=true]){background:var(--shell-active);color:var(--shell-accent)}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav a[aria-current=page] .icon{opacity:1}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav :is(a,button):focus-visible{outline:2px solid var(--shell-accent);outline-offset:-2px}.native-app[data-shell]:where(:not([data-shell=original])) .mobile-bottom-nav .mail-unread-link{background:var(--shell-accent);min-width:26px;height:26px;min-height:26px;color:var(--shell-recess);border:2px solid var(--shell-surface);border-radius:50%;font-size:11px}.native-app[data-shell=forest] .resource-bar{background:linear-gradient(90deg,#26372c,#20312b 50%,#26372c);border-bottom:3px double #897653}.native-app[data-shell=forest] .resource:nth-of-type(3n+2){border-inline:1px solid #66755d55}.native-app[data-shell=forest] .mobile-bottom-nav{background:linear-gradient(#2b3b30,#1e3028);border-top:3px double #897653}.native-app[data-shell=forest] .mobile-bottom-nav a[aria-current=page]{background:linear-gradient(#4d543b,#354735);box-shadow:inset 0 1px #dac18b70}.native-app[data-shell=parchment] .resource-bar{background:linear-gradient(110deg,#303b36,#26332f);border-bottom:1px solid #7a806b;padding-inline:14px}.native-app[data-shell=parchment] .resource{border-radius:2px;flex-direction:row-reverse;justify-content:space-between;margin-inline:3px;padding-inline:7px}.native-app[data-shell=parchment] .resource:nth-of-type(n+4){border-top:1px solid #79837255}.native-app[data-shell=parchment] .resource .resource-icon{width:30px;min-width:30px;height:32px}.native-app[data-shell=parchment] .resource strong{font-size:14px;font-weight:600}.native-app[data-shell=parchment] .mobile-bottom-nav{background:linear-gradient(#303b36,#26332f);border-top:1px solid #7a806b;gap:5px}.native-app[data-shell=parchment] .mobile-bottom-nav :is(a,button){border-radius:3px;min-height:64px;padding-block:4px 6px}.native-app[data-shell=parchment] .mobile-bottom-nav a[aria-current=page]{color:#f0d9b0;background:#414d40;box-shadow:inset 0 -2px #dfc490}.native-app[data-shell=parchment] .mobile-bottom-nav .mail-unread-link{min-height:26px;padding-block:0}.native-app[data-shell=silver] .resource-bar{background:linear-gradient(135deg,#2d414c,#21313c 65%);border-bottom:1px solid #819092;grid-template-columns:repeat(6,minmax(0,1fr));padding:8px 9px 7px}.native-app[data-shell=silver] .resource{text-align:center;flex-direction:column;align-items:center;gap:1px;padding:5px 1px 1px;display:flex}.native-app[data-shell=silver] .resource .resource-icon{width:29px;min-width:29px;height:29px}.native-app[data-shell=silver] .resource small{font-size:9px}.native-app[data-shell=silver] .resource strong{font-size:12px}.native-app[data-shell=silver] .mobile-bottom-nav{inset:auto calc(10px + var(--app-safe-right,0px)) calc(9px + var(--app-safe-bottom,env(safe-area-inset-bottom,0px))) calc(10px + var(--app-safe-left,0px));background:linear-gradient(#344751,#253640);border:1px solid #8a9696;border-radius:17px;gap:3px;padding:5px;box-shadow:0 6px 22px #0005}.native-app[data-shell=silver] .mobile-bottom-nav :is(a,button){border-radius:12px;min-height:64px}.native-app[data-shell=silver] .mobile-bottom-nav a[aria-current=page]{box-shadow:inset 0 1px #cad1c766}.native-app[data-shell=wine] .resource-bar{background:linear-gradient(100deg,#49323a,#382e35 65%,#44343a);border-bottom:3px double #ad926d;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px;padding:7px 15px 10px}.native-app[data-shell=wine] .resource{border-bottom:1px solid #ac8d6e33;gap:5px;min-height:32px;padding:2px 0}.native-app[data-shell=wine] .resource>span{flex:1;justify-content:space-between;align-items:baseline;gap:5px;display:flex}.native-app[data-shell=wine] .resource .resource-icon{width:26px;min-width:26px;height:26px}.native-app[data-shell=wine] .resource strong{font:600 17px/1.2 var(--serif)}.native-app[data-shell=wine] .mobile-bottom-nav{background:linear-gradient(90deg,#40313a,#332c33,#40313a);border-top:3px double #ad926d;gap:0;padding-top:0}.native-app[data-shell=wine] .mobile-bottom-nav>:not(:last-child){border-right:1px solid #9f827344}.native-app[data-shell=wine] .mobile-bottom-nav :is(a,button){border-radius:0;min-height:72px;padding-top:5px}.native-app[data-shell=wine] .mobile-bottom-nav a[aria-current=page]{background:linear-gradient(#63484c,#49363d);border-top:2px solid #ead1a4}.native-app[data-shell=wine] .mobile-bottom-nav .icon{width:39px;height:39px}.native-app[data-shell=wine] .mobile-bottom-nav .mail-unread-link{border-radius:50%;min-height:26px;padding-top:0}.native-app[data-shell=stone] .resource-bar{background:linear-gradient(135deg,#d8d4c6,#c8c6b7);border-bottom:1px solid #a3a48e;gap:5px;padding:10px}.native-app[data-shell=stone] .resource{background:#e7e3d7;border-radius:5px;padding:5px;box-shadow:inset 0 1px #fff9,0 1px #93978666}.native-app[data-shell=stone] .resource .resource-icon{width:32px;min-width:32px;height:34px}.native-app[data-shell=stone] .mobile-bottom-nav{background:linear-gradient(#d9d5c6,#c9c7b7);border-top:1px solid #a5a58f;padding-top:8px}.native-app[data-shell=stone] .mobile-bottom-nav :is(a,button){gap:3px;min-height:65px}.native-app[data-shell=stone] .mobile-bottom-nav .icon{background:#e9e5d9;border-radius:50%;width:39px;height:39px;padding:3px;box-shadow:inset 0 1px #fff,0 1px #8c968266}.native-app[data-shell=stone] .mobile-bottom-nav a[aria-current=page]{color:#283c30;background:0 0;font-weight:700}.native-app[data-shell=stone] .mobile-bottom-nav a[aria-current=page] .icon{outline-offset:2px;background:#f6f0de;outline:2px solid #546950}.native-app[data-shell=stone] .mobile-bottom-nav .mail-unread-link{color:#fff7e4}.native-app[data-shell=stone] .native-resources .resource.has-deficit strong{color:#8d2d20}@media (max-width:360px){.shell-appearance-options button{min-width:31px;padding-inline:5px}.native-app[data-shell]:where(:not([data-shell=original])) .resource-bar{padding-inline:7px}.native-app[data-shell]:where(:not([data-shell=original])) .resource{gap:4px;padding-inline:4px}.native-app[data-shell]:where(:not([data-shell=original])) .resource .resource-icon{width:28px;min-width:28px;height:30px}.native-app[data-shell]:where(:not([data-shell=original])) .resource strong{font-size:13px}.native-app[data-shell=silver] .resource{padding-inline:0}.native-app[data-shell=silver] .resource strong{font-size:11px}}@media (min-width:1000px){.native-app[data-shell]:where(:not([data-shell=original])) .resource-bar{grid-template-columns:repeat(6,minmax(0,1fr));padding-inline:26px}.native-app[data-shell]:where(:not([data-shell=original])) .resource{justify-content:center;gap:10px;padding-block:9px}.native-app[data-shell]:where(:not([data-shell=original])) .resource .resource-icon{width:37px;min-width:37px;height:37px}.native-app[data-shell]:where(:not([data-shell=original])) .resource strong{font-size:16px}.native-app[data-shell]:where(:not([data-shell=original])) .resource small{font-size:11px}.native-app[data-shell=silver] .resource{text-align:left;flex-direction:row}.native-app[data-shell=parchment] .resource{flex-direction:row-reverse;justify-content:space-between;padding-inline:12px}.native-app[data-shell=parchment] .resource:nth-of-type(n+4){border-top:0}.native-app[data-shell=stone] .resource-bar{gap:8px;padding-bottom:12px}.native-app[data-shell=wine] .resource>span{flex:none;display:block}}@media (prefers-reduced-motion:reduce){.shell-appearance-picker *,.native-app[data-shell]:where(:not([data-shell=original])) :is(.resource,.mobile-bottom-nav *){transition:none}}.mail-navigation-entry{min-width:0;position:relative}.nav-group .mail-navigation-entry>.native-menu-item{padding-right:54px}.nav-group .mail-navigation-entry>.mail-unread-link{min-width:32px;min-height:30px;color:var(--theme-on-action,#17291f);background:var(--theme-action,#d9b572);place-items:center;padding:3px 6px;display:grid;position:absolute;inset:5px 5px 5px auto}.mobile-bottom-nav .mail-navigation-entry>a:first-child{height:100%}.mobile-bottom-nav .mail-navigation-entry>.mail-unread-link{min-width:30px;height:28px;min-height:28px;color:var(--theme-on-action,#17261d);background:var(--theme-action,#d7b77a);border:2px solid var(--theme-line,#20352a);border-radius:var(--theme-radius,14px);padding:0 5px;font-weight:700;display:grid;position:absolute;inset:0 0 auto auto}.mail-navigation-entry>.mail-unread-link:focus-visible{outline:2px solid var(--theme-accent,#fff1c8);outline-offset:2px}.workspace:has(.mentor-reward-bar.is-ready) .resource-bar{position:static}.mentor-reward-bar.is-ready{top:var(--app-safe-top,0px);z-index:2;position:sticky}.mentor-reward-bar{border:1px solid var(--theme-line,#557251);border-radius:var(--theme-radius,12px);background:var(--theme-surface,#20372b);flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px;padding:12px;display:flex}.mentor-reward-bar>.button{margin-inline-start:auto}.mentor-build-cost{color:var(--muted);font-size:13px;line-height:1.5}.mentor-actions button.mentor-details{color:var(--gold);cursor:pointer;background:0 0;border:0}@media (max-width:480px){.mentor-reward-bar>.button{width:100%}}.mentor-goal{border:1px solid var(--theme-line,#557251);border-radius:var(--theme-radius,16px);background:linear-gradient(120deg, var(--theme-raised,#263d2e), var(--theme-surface,#1a302b));margin:20px 0;padding:20px}.mentor-heading{align-items:center;gap:14px;display:flex}.mentor-heading>img{flex-shrink:0}.mentor-heading .eyebrow{letter-spacing:.12em;font-size:10px}.game-content .mentor-heading h2{box-shadow:none;background:0 0;border:0;margin:6px 0 0;padding:0;font-size:23px;line-height:1.2}.mentor-purpose{color:var(--theme-ink,#d3dfd2);margin:14px 0;line-height:1.65}.mentor-reward{border-top:1px solid var(--theme-line-soft,#b5c99b26);color:var(--theme-muted,#bdcbbd);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px 20px;margin-top:12px;padding-top:12px;font-size:13px;display:flex}.mentor-reward strong{color:var(--theme-accent,#edce88);align-items:center;gap:5px;font-size:17px;display:inline-flex}.mentor-reward strong>span{font-size:13px;font-weight:400}.mentor-goal.is-compact .mentor-reward{flex-wrap:nowrap;gap:8px}.mentor-goal.is-compact .mentor-reward>span{font-size:11px}.mentor-goal.is-compact .mentor-purpose{margin:12px 0;font-size:13px}.mentor-actions{flex-wrap:wrap;align-items:center;gap:10px 18px;margin-top:16px;display:flex}.mentor-waiting{color:var(--muted);margin-top:16px;font-size:13px}.mentor-waiting-time{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;display:flex}.mentor-waiting-time>span{align-items:center;gap:6px;display:inline-flex}.mentor-waiting-time strong{color:var(--gold);font-variant-numeric:tabular-nums}.mentor-waiting p{margin:8px 0 0}.mentor-details{align-items:center;min-height:44px;font-size:13px;display:inline-flex}.mentor-explore{align-items:center;min-height:44px;margin-top:10px;font-size:13px;display:inline-flex}.building-discovery{border-top:1px solid var(--theme-line-soft,#b5c99b26);margin-top:12px}.discovery-options>.button{flex:1;width:auto}.discovery-options [aria-pressed=true]{border-color:var(--gold);color:var(--gold)}#discovery-card{margin-top:16px}.building-discovery .after-mentor-disclosure{margin-top:12px}.return-summary .mentor-heading{flex-wrap:wrap}.return-summary .mentor-heading>button{width:44px;min-width:44px;margin-left:auto;padding:0}.discovery-costs{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;display:grid}.discovery-costs dt{color:var(--muted);font-size:12px}.discovery-costs dd{margin:4px 0;font-weight:600}.overview-page .catalog-copy>span{min-height:30px;margin-top:5px}.overview-page .catalog-copy>.catalog-neighbor-space{min-height:44px;margin-top:8px}.mentor-advice,.mentor-notice{color:var(--theme-muted,#bacbbb);margin:16px 0 0;font-size:13px;line-height:1.65}.mentor-requirements{margin:16px 0;padding:0;list-style:none}.mentor-requirements li{align-items:baseline;gap:10px;padding:7px 0;display:flex}.mentor-requirements li>span:first-child{color:var(--theme-warning,#e0b667)}.mentor-requirements li.is-done,.mentor-requirements li.is-done>span:first-child{color:var(--theme-success,#b4d99d)}.mentor-requirement-state{color:var(--muted);text-align:right;margin-left:auto;font-size:12px}.mentor-receipt{border:1px solid var(--theme-line-strong,#729963);border-radius:var(--theme-radius,12px);background:var(--theme-raised,#284330);color:var(--theme-ink,#d9efbe);flex-wrap:wrap;align-items:center;gap:6px;padding:14px;display:flex}.mentor-receipt:focus-visible{outline:2px solid var(--gold);outline-offset:3px}.country-focus{margin:18px 0 24px}.focus-food{border:1px solid var(--line);border-radius:var(--theme-radius,14px);background:var(--surface);margin-bottom:14px;padding:20px}.focus-food.is-deficit{border-color:var(--theme-warning-line,#c5794c);border-left:4px solid var(--theme-warning-line,#f1a45f);background:linear-gradient(120deg, var(--theme-warning-surface,#593527), var(--theme-warning-surface,#392b25));color:var(--theme-warning,#fff0d7);box-shadow:0 5px 24px #150b0840}.focus-food-heading{align-items:center;gap:12px;display:flex}.focus-food-heading>img{flex-shrink:0}.focus-food-heading>div{flex:1;min-width:0}.focus-food-heading .eyebrow{color:var(--muted);letter-spacing:.08em;font-size:10px}:is(.native-dashboard,.game-content) .focus-food-heading h2{box-shadow:none;color:var(--theme-warning,#fff0d7);background:0 0;border:0;margin:4px 0 0;padding:0;font-size:20px;line-height:1.3}.focus-food-heading .info-link{border:1px solid var(--theme-warning-line,#be865b);background:var(--theme-warning-surface,#704631);width:40px;min-width:40px;height:40px;color:var(--theme-warning,#fff0d7);cursor:pointer;border-radius:50%;flex:0 0 40px;justify-content:center;align-items:center;padding:0;font:600 18px Georgia,serif;display:inline-flex}.focus-food:not(.is-deficit) .info-link{background:var(--surface);border-color:var(--line);color:var(--gold)}.focus-food.is-deficit .eyebrow{color:var(--theme-warning,#ffbf88)}.focus-food-heading .info-link:hover{background:var(--theme-warning-surface,#885437)}.focus-food-values{grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:18px 0;display:grid}.focus-food-values>div{border:1px solid var(--theme-warning-line,#c58d6340);border-radius:var(--theme-radius,10px);background:var(--theme-warning-surface,#1c130f40);padding:12px}.focus-food-values dt{color:var(--theme-warning,#e0c6b5);font-size:12px}.focus-food-values dd{font-variant-numeric:tabular-nums;overflow-wrap:anywhere;margin:6px 0 0;font-size:22px;font-weight:700}.focus-food:not(.is-deficit) .focus-food-values>div{border-color:var(--line);background:0 0}.focus-food:not(.is-deficit) .focus-food-values dt{color:var(--muted)}.focus-food-values .focus-food-shortage{border-color:var(--theme-warning-line,#da9466);background:var(--theme-warning-surface,#74422e);color:var(--theme-warning,#ffe0b3)}.focus-work{background:var(--theme-surface,#1d352a);border:1px solid var(--theme-accent,#526a483f);border-radius:var(--theme-radius,12px);align-items:center;gap:12px;min-height:66px;padding:14px;display:flex}.focus-work>img{flex-shrink:0}.focus-work>span:nth-child(2){flex:1;min-width:0}.focus-work strong{font-size:14px;line-height:1.35;display:block}.focus-work small{color:var(--theme-muted,#adbfaf);margin-top:4px;font-size:12px;line-height:1.5;display:block}.focus-work-count{color:var(--theme-accent,#dfc386);font-size:12px}.overview-page .catalog-grid{gap:10px}.overview-page .catalog-card{min-height:0}.overview-page .catalog-art{height:90px}.overview-page .catalog-art img{max-width:86px;max-height:86px}@media (max-width:600px){.mentor-goal{padding:16px}.game-content .mentor-heading h2{font-size:21px}.mentor-heading{align-items:flex-start;gap:10px}.mentor-heading>img{width:42px;height:42px}.mentor-purpose{font-size:14px}.mentor-actions{gap:6px}.mentor-actions>.button{width:100%}.mentor-details{justify-content:center;width:100%}.focus-work{flex-wrap:wrap}.focus-work-count{width:100%;margin-left:44px}.overview-page .catalog-card{padding:0}.overview-page .catalog-card>a{min-height:0}.overview-page .catalog-art{height:64px}.overview-page .catalog-art img{max-width:64px;max-height:64px}}.after-mentor{border:1px solid var(--theme-line-strong,#61775a);border-radius:var(--theme-radius,16px);background:linear-gradient(120deg, var(--theme-raised,#293d32), var(--theme-surface,#1b302b));margin:20px 0;padding:22px}.after-mentor-heading{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.after-mentor-heading>img{flex-shrink:0}.after-mentor-heading>div{flex:1;min-width:140px}.after-mentor-heading .eyebrow{letter-spacing:.1em;font-size:10px}:is(.native-dashboard,.game-content) .after-mentor-heading h2,.after-mentor-confirm.game-content h2{box-shadow:none;background:0 0;border:0;margin:5px 0 0;padding:0;font-size:23px;line-height:1.3}.after-mentor-intro{color:var(--theme-muted,#bfcebf);margin:14px 0 20px;line-height:1.6}.after-mentor-disclosure>summary{cursor:pointer;min-height:44px;color:var(--gold);padding:10px 0;font-size:14px;font-weight:600}.after-mentor-disclosure[open]>summary{margin-bottom:14px}.after-mentor.is-compact .after-mentor-intro{margin-bottom:6px}.after-mentor-steps{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.after-mentor-steps>li{border:1px solid var(--theme-line,#52684d);border-radius:var(--theme-radius,12px);background:var(--theme-tint,#13271e70);flex-direction:column;align-items:flex-start;min-width:0;padding:18px;display:flex}.after-mentor-number{border:1px solid var(--theme-line-strong,#8a8055);border-radius:var(--theme-radius,10px);width:34px;height:34px;color:var(--theme-accent,#e3c47f);place-items:center;font-size:12px;font-weight:700;display:grid}:is(.native-dashboard,.game-content) .after-mentor-steps h3{color:var(--theme-accent,#f0e4c7);margin:14px 0 0;font-size:17px;line-height:1.4}.after-mentor-steps p{color:var(--theme-muted,#c1cec1);margin:10px 0 18px;font-size:14px;line-height:1.65}.after-mentor-actions{flex-wrap:wrap;gap:8px;width:100%;margin-top:auto;display:flex}.after-mentor-actions .button{white-space:normal;flex:auto;min-width:0;padding:10px 12px}.after-mentor-footer{color:var(--theme-muted,#b6c6b6);margin:18px 0 0;font-size:13px;line-height:1.6}.after-mentor-help-link{color:var(--theme-accent,#e4cb92);text-underline-offset:3px;text-decoration:underline}.after-mentor-confirm{box-sizing:border-box;border:1px solid var(--theme-line-strong,#71857b);border-radius:var(--theme-radius,16px);background:var(--theme-surface,#20382e);width:min(480px,100vw - 32px);max-height:calc(100dvh - 48px);color:var(--theme-ink,#e8ede7);padding:24px;overflow-y:auto;box-shadow:0 24px 90px #0009}.after-mentor-confirm::backdrop{background:#06181ccc}.after-mentor-confirm p{margin:16px 0 22px;line-height:1.65}.after-mentor-confirm-actions{flex-wrap:wrap;gap:10px;display:flex}.after-mentor-confirm-actions .button{flex:auto}@media (max-width:1100px){.after-mentor-steps{grid-template-columns:1fr}}@media (max-width:600px){.after-mentor,.focus-food,.after-mentor-confirm{padding:16px}.after-mentor-steps>li{padding:14px}.after-mentor-heading .after-mentor-skip{width:100%}.after-mentor.is-compact .after-mentor-skip{background:0 0;border:0;width:auto;min-height:44px;margin-left:auto;padding:0}:is(.native-dashboard,.game-content) .after-mentor-heading h2{font-size:21px}.focus-food-heading{gap:8px}.focus-food-heading>img{width:30px;height:30px}:is(.native-dashboard,.game-content) .focus-food-heading h2{font-size:18px}.focus-food-values{grid-template-columns:1fr;gap:8px}.focus-food-values>div{justify-content:space-between;align-items:center;gap:12px;display:flex}.focus-food-values dd{text-align:right;margin:0;font-size:20px}.focus-food-values>div:last-child{flex-direction:column;align-items:flex-start;gap:6px}.focus-food-values>div:last-child dd{text-align:left}.focus-food>.button{width:100%}}.mentor-building-state{color:var(--muted);display:block}.mentor-requirements .mentor-requirement-action{min-height:44px;margin-inline-start:auto}.mentor-purchase{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.mentor-purchase p{flex-basis:100%;margin:0}.war-status{overflow-wrap:anywhere;margin:12px 0}.destruction-notice{border:1px solid var(--theme-danger-line,#b9995d);background:var(--theme-danger-surface,#302b21);border-radius:var(--theme-radius,12px);overflow-wrap:anywhere;margin:0 0 16px;padding:12px}.destruction-notice h2{margin-top:0;font-size:18px}.destruction-notice article+article{border-top:1px solid var(--theme-danger-line,#b9995d);margin-top:16px;padding-top:12px}.breach-status{border-left:3px solid var(--theme-line-strong,#b9995d);background:var(--theme-surface,#302b21);padding:10px;font-size:13px;line-height:1.5}.war-history summary,.completed-wars summary{cursor:pointer;padding:8px 0}.war-history ol,.completed-wars ol{padding:0;list-style:none}.war-history-event{border-top:1px solid var(--theme-line,#76684b);padding:10px 0}.war-history-event p{line-height:1.5}.completed-wars{overflow-wrap:anywhere}.completed-wars>article{margin-top:12px;padding:16px}.oil-production{padding:12px 0}.war-status dl{gap:10px;margin:10px 0;display:grid}.war-status dl>div{flex-wrap:wrap;justify-content:space-between;gap:4px 14px;display:flex}.war-status dt{color:var(--theme-muted,#bfcec0)}.war-status dd{color:var(--theme-accent,#efcf94);margin:0;font-weight:700}.war-composition{line-height:1.65}.invasion-alert{border:2px solid var(--theme-danger-line,#c47651);border-radius:var(--theme-radius,16px);background:var(--theme-danger-surface,#35251f);overflow-wrap:anywhere;margin:0 0 20px;padding:20px}.invasion-alert h2{color:var(--theme-danger,#ffd7b0);margin-top:0}.invasion-alert article+article{border-top:1px solid var(--theme-danger-line,#80543e);margin-top:20px;padding-top:16px}.invasion-alert .button{white-space:normal;max-width:100%}@media (max-width:480px){.invasion-alert{padding:14px}}.capture-danger{border:2px solid var(--theme-danger-line,#b23d2b);border-radius:var(--theme-radius,10px);color:var(--theme-danger,#ffd3b4);background:var(--theme-danger-surface,#43251f);padding:14px}.capture-danger p{font-size:13px}.capture-ready-badge{color:var(--theme-accent,#e2d69d);font-weight:700}.war-summary{background-color:var(--page);color:var(--theme-ink,#cddade);gap:10px;margin:0 0 16px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;display:grid}.war-summary-group{border:1px solid var(--theme-line,#3e5662);border-radius:var(--theme-radius,11px);background:var(--theme-surface,#182933);overflow:hidden}.war-summary-heading{background:var(--theme-raised,#233c49);align-items:center;padding:3px 13px;display:flex}.war-summary-group[data-kind=invasion] .war-summary-heading{padding-block:0}.war-summary-group[data-collapsed=true] .war-summary-heading{background:var(--theme-raised,#2b4552)}.war-summary-heading h2{flex:1;min-width:0;margin:0}.war-summary-toggle{width:100%;min-height:44px;color:var(--theme-ink,#e8f0ee);cursor:pointer;text-align:left;background:0 0;border:0;align-items:center;gap:9px;padding:0;font-family:inherit;font-size:16px;font-weight:600;line-height:1.3;display:flex}#root .war-summary .war-summary-toggle:after{border-color:var(--theme-line-strong,#77929e);background-color:var(--theme-surface,#1b3340)}@media (hover:hover){#root .war-summary-toggle:hover{background-color:var(--theme-hover,#2b4553)}}.war-summary-toggle>img{object-fit:contain;flex:0 0 26px;width:26px;height:26px}.war-summary-title{white-space:nowrap}.war-summary-count{box-sizing:border-box;border:1px solid var(--theme-line-strong,#647f8c);background:var(--theme-raised,#3a5867);min-width:24px;height:24px;color:var(--theme-ink,#eef4ef);border-radius:50%;flex:none;place-items:center;padding:0 6px;font-size:12px;font-weight:600;display:grid}.war-summary-slots{white-space:nowrap;gap:4px;font-size:13px;display:flex}.war-summary-slots>span{color:var(--theme-muted,#aebfc8);font-weight:400}.war-summary-help{border:0;border-left:1px solid var(--theme-line,#3e5662);height:44px;color:var(--theme-muted,#c4d8e0);cursor:pointer;background:0 0;flex:0 0 44px;place-items:center;margin-left:12px;margin-right:-3px;padding:0 0 0 8px;display:grid}.war-summary-help>span{box-sizing:border-box;border:1px solid var(--theme-line-strong,#67808d);border-radius:50%;place-items:center;width:24px;height:24px;font-size:13px;font-weight:500;line-height:1;display:grid}.war-summary-help:hover>span{background:var(--theme-hover,#2b4553)}.war-summary-list{border-top:1px solid var(--theme-line,#3e5662)}.war-summary-row{--country-icon-size:26px;--country-icon-gap:6px;box-sizing:border-box;background:var(--theme-surface,#1c303a);width:100%;min-height:87px;color:var(--theme-ink,#cddade);font:inherit;text-align:left;cursor:pointer;border:0;border-radius:0;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:3px 10px;padding:10px 13px;display:grid}.war-summary-row+.war-summary-row{border-top:1px solid var(--theme-line,#3e5662)}.war-summary-row:hover{background:var(--theme-hover,#293f49)}.war-summary-row:active{background:var(--theme-hover,#324d58)}.war-summary-row:disabled{cursor:wait;opacity:.7}.war-summary-country{align-items:center;gap:var(--country-icon-gap);min-width:0;color:var(--theme-ink,#e8f0ee);font-size:15px;font-weight:600;line-height:1.35;display:flex}.war-summary-country>span{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.war-summary-island{width:var(--country-icon-size);height:var(--country-icon-size);flex:0 0 var(--country-icon-size);object-fit:contain;display:block}.war-summary-action{box-sizing:border-box;border:1px solid var(--theme-line-strong,#547182);background:var(--theme-raised,#314e60);min-height:23px;color:var(--theme-ink,#e4eef2);white-space:nowrap;border-radius:999px;justify-self:center;padding:3px 10px;font-size:11px;font-weight:500;line-height:1.4}.war-summary-defense{border-color:var(--theme-line-strong,#6e7074);background:var(--theme-raised,#494d52);color:var(--theme-ink,#ece3d0)}.war-summary-capture,.war-summary-demolition{grid-template-columns:subgrid;grid-column:1/-1;align-items:baseline;gap:0 10px;font-size:12px;line-height:1.5;display:grid}.war-summary-capture>span:first-child,.war-summary-demolition>span:first-child{padding-left:calc(var(--country-icon-size) + var(--country-icon-gap))}.war-summary-capture{margin-top:1px}.war-summary-demolition{color:var(--theme-muted,#adbec7);font-size:11px}.war-summary-time{color:var(--theme-ink,#e1eff2);font-variant-numeric:tabular-nums;white-space:nowrap;text-align:center;justify-self:center}.war-summary-danger{background:var(--theme-danger-surface,#3c3038);box-shadow:inset 3px 0 #d68f89}.war-summary-danger:hover,.war-summary-danger:active{background:var(--theme-danger-surface,#4c3941)}.war-summary-danger .war-summary-capture{color:var(--theme-danger,#fac0b7);font-weight:600}.war-summary-danger .war-summary-action{border-color:var(--theme-danger-line,#d68f89);background:var(--theme-danger-surface,#60464c);color:var(--theme-danger,#f8ded5)}.war-summary-ready{background:var(--theme-success-surface,#1f3e3d);box-shadow:inset 3px 0 #86bdb0}.war-summary-ready:hover,.war-summary-ready:active{background:var(--theme-success-surface,#284f4b)}.war-summary-ready .war-summary-capture{color:var(--theme-success,#bde6d1);font-weight:600}.war-summary-ready .war-summary-action{border-color:var(--theme-success-line,#86bdb0);background:var(--theme-success-surface,#345b53);color:var(--theme-success,#deefe1)}.war-summary button:focus-visible{outline:2px solid var(--theme-accent,#d9bd84);outline-offset:-3px}.war-summary-dialog{box-sizing:border-box;border:1px solid var(--theme-line,#3e5662);border-radius:var(--theme-radius,14px);background:var(--theme-surface,#1b303c);width:min(360px,100vw - 32px);max-height:calc(100dvh - 32px);color:var(--theme-ink,#cddade);padding:18px;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif;box-shadow:0 12px 40px #0005}.war-summary-dialog::backdrop{background:#09151dcc}.war-summary-dialog header{align-items:center;gap:12px;display:flex}.war-summary-dialog h2{color:var(--theme-ink,#e8f0ee);flex:1;margin:0;font-size:18px}.war-summary-dialog p{font-size:14px;line-height:1.6}.war-summary-dialog .war-summary-current{color:var(--theme-muted,#adbec7);font-size:13px}.war-summary-close,.war-summary-done{border:1px solid var(--theme-line-strong,#547182);border-radius:var(--theme-radius,8px);background:var(--theme-raised,#314e60);min-height:44px;color:var(--theme-ink,#e4eef2);font:inherit;cursor:pointer}.war-summary-close{background:var(--theme-surface,#1b3340);flex:0 0 44px;font-size:24px}.war-summary-done{width:100%}.war-summary-dialog button:focus-visible{outline:2px solid var(--theme-accent,#d9bd84);outline-offset:2px}@media (max-width:340px){.war-summary-row{--country-icon-size:22px;--country-icon-gap:4px}.war-summary-toggle{gap:7px}}.military-alerts{z-index:25;border:1px solid var(--theme-danger-line,#c47651);border-radius:var(--theme-radius,10px);color:var(--theme-danger,#f4dec0);background:var(--theme-danger-surface,#35251ff5);overflow-wrap:anywhere;margin:8px 16px;padding:9px 12px;position:sticky;top:0}.military-alert-row,.military-alert-actions{flex-wrap:wrap;align-items:center;gap:6px 10px;display:flex}.military-alert-row+.military-alert-row{border-top:1px solid var(--theme-line,#80543e);margin-top:8px;padding-top:8px}.military-alert-copy{flex:200px;gap:3px;min-width:0;font-size:12px;line-height:1.4;display:grid}.military-alert-copy strong{font-size:13px}.military-alerts .button{white-space:normal;min-height:32px;padding:6px 9px;font-size:12px}@media (max-width:480px){.military-alerts{margin:6px 8px;padding:8px 10px}}:root{color:#e8ede6;--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark;font-synthesis:none;--page:#101f1d;--surface:#192d28;--surface-muted:#223c33;--ink:#e8ede6;--muted:#a5b6ab;--line:#31453b;--gold:#dfbd7c;--green:#dfbd7c;--green-hover:#f5d597;--field-focus-offset:-1px;--serif:Georgia, "Times New Roman", serif;--radius:12px;background:#101f1d;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Arial,sans-serif}*,:before,:after{box-sizing:border-box}body{min-width:320px;margin:0;font-size:14px;line-height:1.65}button,input,select,textarea{font:inherit;max-width:100%}button{color:inherit}button,input[type=submit],input[type=button],summary{cursor:pointer}a{color:var(--gold);text-underline-offset:4px;text-decoration:none}a:hover{color:var(--theme-accent,#f6dba8)}a,button,input,select,textarea,summary{-webkit-tap-highlight-color:transparent;touch-action:manipulation}:focus-visible{outline:2px solid var(--theme-accent,#f1cf91);outline-offset:4px}:root,:where([data-theme-island]){--field-focus-color:color-mix(in srgb, var(--gold), var(--theme-line-strong,#5b7060))}:root :is(input:where(:not([type=hidden],[type=submit],[type=button],[type=reset],[type=image])),select,textarea,.game-select-trigger):focus,.game-content .game-select-options button:focus{outline:var(--field-focus-outline,1px solid var(--field-focus-color));outline-offset:var(--field-focus-offset)}:root input:is([type=checkbox],[type=radio],[type=range]):focus{outline-offset:2px}:root :is(input,select,textarea)[aria-invalid=true]:focus{outline-offset:-2px}@media (forced-colors:active){:root{--field-focus-offset:-3px}}[data-page-title]:focus{outline:none}button:disabled,input:disabled{opacity:.5;cursor:not-allowed}h1,h2,h3,p{margin-top:0}h1,h2,h3{color:var(--ink);text-wrap:balance;overflow-wrap:anywhere}h1{letter-spacing:-.7px;font-size:30px;font-weight:600;line-height:1.2}h2{letter-spacing:-.3px;font-size:19px;font-weight:600;line-height:1.35}h3{font-size:16px}img{max-width:100%}.icon{object-fit:contain;vertical-align:middle;flex-shrink:0;width:24px;min-width:24px;height:24px;display:inline-block}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.skip-link{z-index:100;background:var(--surface);border:2px solid var(--gold);border-radius:var(--theme-radius,8px);padding:12px;position:fixed;top:12px;left:12px;transform:translateY(-160%)}.skip-link:focus{transform:none}.brand{color:var(--theme-accent,#f0dfbb);font:24px/1.25 var(--serif);white-space:nowrap;align-items:center;gap:10px;display:flex}.brand small{letter-spacing:1.3px;color:var(--theme-muted,#a9b6a7);margin-top:5px;font:8px/1.3 system-ui,sans-serif;display:block}.sidebar{z-index:60;background:var(--theme-recess,#132720);border-right:1px solid var(--line);visibility:hidden;flex-direction:column;width:min(300px,88vw);transition:transform .2s,visibility .2s;display:flex;position:fixed;inset:0 auto 0 0;transform:translate(-100%)}.sidebar.is-open{visibility:visible;transform:none}.sidebar-brand{flex-shrink:0;justify-content:space-between;align-items:center;padding:21px 17px;display:flex}.country-switch{background:var(--theme-surface,#1e372d);border:1px solid var(--theme-line,#365442);border-radius:var(--theme-radius,9px);color:var(--ink);align-items:center;gap:10px;margin:0 15px 16px;padding:11px;display:flex}.country-switch:hover{background:var(--theme-hover,#284635)}.country-switch>span:nth-child(2){flex:1;min-width:0}.country-switch strong{text-overflow:ellipsis;white-space:nowrap;font-size:13px;display:block;overflow:hidden}.country-switch small{color:var(--muted);font-size:11px}.country-switch>.icon{width:16px;min-width:16px;height:16px;color:var(--muted)}.country-seal{border:1px solid var(--theme-line-strong,#8e875c);width:34px;min-width:34px;height:38px;color:var(--gold);font:22px var(--serif);border-radius:5px 5px 14px 14px;place-items:center;display:grid}.primary-navigation{overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#4d6958 transparent;min-height:0;padding:0 12px 12px;overflow-y:auto}.nav-group{margin:0 0 18px}.nav-group h2{color:var(--theme-muted,#8da596);letter-spacing:1.5px;text-transform:uppercase;margin:0 12px 7px;font-family:inherit;font-size:10px;font-weight:600;line-height:1.4}.nav-group a{min-height:40px;color:var(--theme-muted,#b9c9bc);border-radius:var(--theme-radius,7px);border:1px solid #0000;align-items:center;gap:11px;padding:8px 12px;font-size:13px;display:flex}.nav-group a .icon{width:19px;min-width:19px;height:19px;color:var(--theme-muted,#8ca891)}.nav-group a:hover{color:var(--ink);background:var(--theme-hover,#203b2d)}.nav-group a.active{background:var(--theme-raised,#314638);border-color:var(--theme-line,#556345);color:var(--theme-accent,#f2d79f)}.nav-group a.active .icon{color:var(--gold)}.nav-count{border-radius:var(--theme-radius,5px);background:var(--theme-action,#d9b572);min-width:21px;color:var(--theme-on-action,#17291f);text-align:center;margin-left:auto;font-size:11px;font-weight:700}.sidebar-bottom{border-top:1px solid var(--line);flex-shrink:0;margin-top:auto;padding:10px 22px 13px}.sidebar-bottom a{min-height:43px;color:var(--theme-muted,#b9c9bc);align-items:center;gap:10px;font-size:12px;display:flex}.sidebar-bottom a>.icon:last-child{width:17px;min-width:17px;height:17px;margin-left:auto}.sidebar-bottom strong{color:var(--ink);font-size:13px;display:block}.sidebar-bottom small{color:var(--muted);font-size:10px;display:block}.user-avatar{background:var(--theme-raised,#3c5944);width:31px;min-width:31px;height:31px;color:var(--theme-muted,#e4dfbb);border-radius:50%;place-items:center;font-weight:500;display:grid}.workspace{min-height:100dvh;padding-bottom:calc(76px + env(safe-area-inset-bottom,0px));flex-direction:column;display:flex}.topbar{background:var(--theme-recess,#142722);border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:10px;min-height:58px;padding:0 14px 0 8px;display:flex}.icon-button{border-radius:var(--theme-control-radius,8px);min-width:44px;min-height:44px;color:var(--theme-muted,#a8beac);background:0 0;border:0;justify-content:center;align-items:center;font-size:26px;display:inline-flex}.icon-button:hover{background:var(--surface-muted);color:var(--ink)}kbd{border:1px solid var(--theme-line,#405745);border-radius:var(--theme-radius,4px);font:inherit;padding:0 6px}.imperials{border-left:1px solid var(--line);font-variant-numeric:tabular-nums;align-items:center;gap:7px;min-height:36px;padding-left:12px;font-size:13px;display:flex}.imperials .icon{width:18px;min-width:18px;height:18px}.imperials span{display:none}.resource-bar{z-index:30;background:var(--theme-recess,#172c24f5);-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);border-bottom:1px solid var(--theme-line,#3b503c);grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 0;padding:10px 14px;display:grid;position:sticky;top:0}.resource{border-right:1px solid var(--line);min-width:0;min-height:40px;color:var(--theme-ink,#e1e6d6);align-items:center;gap:8px;padding:0 9px;display:flex}.resource:nth-child(3n){border-right:0}.resource:nth-child(3n+1){padding-left:0}.resource>span{min-width:0}.resource small{color:var(--theme-muted,#a6b9a3);font-size:10px;line-height:1.4;display:block}.resource strong{font-variant-numeric:tabular-nums;white-space:nowrap;font-size:14px;font-weight:600;line-height:1.5;display:block}.compact-resources .resource-icon{display:none}.main-content{--main-max-width:1560px;width:100%;max-width:var(--main-max-width);flex:1;align-self:center;padding:24px 16px 36px}.page-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:22px;display:flex}.page-heading>div{min-width:0}.eyebrow{letter-spacing:1.6px;text-transform:uppercase;color:var(--theme-accent,#b8a779);margin-bottom:8px;font-size:10px;font-weight:600;display:block}.page-heading h1{margin-bottom:8px;font-size:26px}.page-heading p{color:var(--muted);margin:0;font-size:13px}.page-heading .eyebrow{display:none}.button,button[type=submit],input[type=submit],input[type=button]{border:1px solid var(--theme-accent,#d8b774);border-radius:var(--theme-control-radius,8px);background:var(--theme-action,#d8b774);min-height:44px;color:var(--theme-on-action,#18271d);text-align:center;justify-content:center;align-items:center;gap:9px;padding:11px 17px;font-size:13px;font-weight:600;line-height:1.5;transition:background .15s,border-color .15s;display:inline-flex}.button:hover,button[type=submit]:hover,input[type=submit]:hover,input[type=button]:hover{background:var(--theme-action-hover,#edce92);border-color:var(--theme-accent,#edce92);color:var(--theme-on-action,#122018)}.button .icon{width:18px;min-width:18px;height:18px}.button.secondary{background:var(--theme-surface,#20392e);color:var(--theme-ink,#dae4d4);border-color:var(--theme-line,#455c45)}.button.secondary:hover{background:var(--theme-hover,#2b4635);border-color:var(--theme-line-strong,#718062)}.page-heading .button{gap:0;padding:11px;font-size:0}.back-link{border:1px solid var(--theme-line,#405744);border-radius:var(--theme-control-radius,8px);white-space:nowrap;justify-content:center;align-items:center;gap:8px;min-width:44px;min-height:44px;font-size:0;display:flex}.country-hero{isolation:isolate;border-radius:var(--theme-radius,12px);background:#334b36;border:1px solid #566549;min-height:205px;margin-bottom:14px;position:relative;overflow:hidden}.country-hero>img{object-fit:cover;object-position:65% center;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.country-hero:before{content:"";z-index:-1;background:linear-gradient(90deg,#0c251fe0,#0b201c22 85%),linear-gradient(#0000 30%,#0c241cbb);position:absolute;inset:0}.hero-copy .eyebrow{color:#d3d3b4;font-size:9px}.hero-copy h2{font:40px/1.15 var(--serif);color:#fff3d7;text-shadow:0 2px 20px #081e18;margin:0 0 10px}.country-age{color:#d0d9bd;font-size:12px}.dashboard-layout{align-items:start;gap:26px;display:grid}.section-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:15px;display:flex}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:5px;font-size:9px}.count-label{color:var(--muted);border-radius:var(--theme-radius,5px);background:var(--theme-raised,#2c4030);margin-left:6px;padding:3px 6px;font-family:inherit;font-size:12px;line-height:1}.catalog-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.catalog-card{border:1px solid var(--theme-line,#374b3a);border-radius:var(--theme-radius,10px);background:var(--theme-surface,#1b3026);flex-direction:column;min-width:0;transition:border-color .15s,background .15s;display:flex;overflow:hidden}.catalog-card:hover{border-color:var(--theme-line-strong,#8c9165);background:var(--theme-hover,#243d2d)}.catalog-link{color:var(--ink);flex-direction:column;flex:1;padding:12px;display:flex;position:relative}.catalog-art{border-radius:var(--theme-radius,6px);background:radial-gradient(ellipse at center, var(--theme-raised,#35523888), transparent 72%);place-items:center;width:100%;height:106px;margin-bottom:9px;display:grid}.catalog-art img{object-fit:contain;border-radius:var(--theme-radius,6px);width:116px;height:106px}.catalog-copy{text-align:center}.catalog-copy strong{color:var(--theme-ink,#e8e7d5);font-size:13px;line-height:1.4;display:block}.catalog-copy span{color:var(--theme-muted,#a3b59d);margin-top:5px;font-size:10px;line-height:1.5;display:block}.catalog-link>.icon{display:none}.catalog-extra{border-top:1px solid var(--line);text-align:center;color:var(--muted);padding:4px 10px 7px;font-size:11px}.ready-badge{border:1px solid var(--theme-success-line,#466643);border-radius:var(--theme-radius,5px);background:var(--theme-success-surface,#294c30);color:var(--theme-success,#bfd9aa);align-items:center;padding:2px 7px;font-size:11px;display:inline-flex}.game-content{overflow-wrap:break-word;align-items:start;gap:16px;min-width:0;display:grid}.game-content>span{display:contents}.game-panel{background:var(--surface);border:1px solid var(--line);border-radius:var(--theme-radius,10px);overflow-wrap:anywhere;min-width:0;padding:22px;line-height:1.85}.game-panel:empty{display:none}.game-panel .game-panel{background:var(--theme-recess,#142a20);margin-top:16px;padding:16px}.game-panel>span{max-width:100%}.game-panel h2{margin-bottom:15px;font-size:18px}.game-panel h3{margin:20px 0 12px}.game-panel p{margin-bottom:16px}.game-panel p:last-child{margin-bottom:0}.game-panel a:hover{text-decoration:underline}.game-panel small{font-size:12px}.game-panel b,.game-panel strong{font-variant-numeric:tabular-nums;font-weight:600}.game-panel hr{background:var(--line);border:0;height:1px;margin:22px 0}.game-panel ul,.game-panel ol{margin:12px 0;padding-left:24px}.game-content input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=submit]):not([type=button]):not([data-password-field]),.game-content select,.game-content textarea{border:1px solid var(--theme-line-strong,#50664c);border-radius:var(--theme-control-radius,8px);background:var(--theme-field,#10271d);width:min(100%,440px);min-height:46px;color:var(--ink);margin:7px 0 15px;padding:11px 13px;font-size:16px;line-height:1.5;display:inline-block}.game-content textarea{resize:vertical;width:100%;min-height:130px}.game-content input[type=checkbox],.game-content input[type=radio]{vertical-align:middle;width:22px;height:22px;accent-color:var(--gold);margin:10px}.game-content input[type=file]{font-size:13px!important}.game-content input::file-selector-button{border:1px solid var(--theme-line-strong,#6a7d53);border-radius:var(--theme-control-radius,5px);background:var(--theme-field,#2c4430);color:var(--ink);cursor:pointer;font:inherit;margin-right:10px;padding:7px 10px}.game-content form{margin:16px 0}.game-content input[type=submit],.game-content button[type=submit]{white-space:normal;margin:8px 8px 8px 0}.game-content table{border-collapse:collapse;font-variant-numeric:tabular-nums;width:max-content;min-width:100%;max-width:100%;font-size:13px}.game-content th{text-align:left;background:var(--theme-raised,#2a4230);color:var(--theme-accent,#e4d2a9);font-weight:600}.game-content td,.game-content th{border-bottom:1px solid var(--theme-line,#324b35);vertical-align:middle;padding:12px 15px}.game-content tr:nth-child(2n) td{background:var(--theme-tint,#152e2066)}.game-content tr:last-child td{border-bottom:0}.game-content td input:not([type=checkbox]):not([type=radio]){width:100%;min-width:65px;margin:0}.captcha{border:1px solid var(--theme-line-strong,#6a7d50);border-radius:var(--theme-radius,6px);margin:10px 0;display:block}.location-panel{background:linear-gradient(100deg, var(--theme-raised,#263f2c), var(--theme-recess,#182e23));flex-wrap:wrap;align-items:center;gap:15px;min-height:95px;padding:12px 20px;display:flex}.location-panel>br{display:none}.location-art{object-fit:contain;border-radius:var(--theme-radius,7px);flex-shrink:0;width:78px;height:78px}.location-panel>a{color:var(--theme-ink,#e5dfc5);min-width:0;font-size:17px}.location-panel .guard-link{background:var(--theme-surface,#193322);border:1px solid var(--theme-line,#4e653f);border-radius:var(--theme-radius,7px);align-items:center;min-height:40px;margin-left:auto;padding:8px 11px;font-size:12px;display:inline-flex}.app-footer{border-top:1px solid var(--line);color:var(--theme-muted,#90a58f);flex-wrap:wrap;align-items:center;gap:15px;margin:0 16px;padding:20px 0;font-size:10px;display:flex}.app-footer a{min-height:32px;color:var(--theme-muted,#bac7ac);align-items:center;gap:7px;display:flex}.app-footer>a:last-child{margin-left:auto}.app-footer .icon{width:15px;min-width:15px;height:15px}.status-dot{background:var(--theme-success,#aac384);border-radius:50%;width:6px;min-width:6px;height:6px;display:inline-block}.mobile-bottom-nav{z-index:40;border-top:1px solid var(--theme-line,#526344);background:var(--theme-recess,#142c20f5);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);padding:6px 6px calc(6px + env(safe-area-inset-bottom,0px));grid-template-columns:repeat(5,minmax(0,1fr));display:grid;position:fixed;inset:auto 0 0}.mobile-bottom-nav a,.mobile-bottom-nav button{border-radius:var(--theme-control-radius,8px);min-height:55px;color:var(--theme-muted,#9fb399);background:0 0;border:0;flex-direction:column;justify-content:center;align-items:center;gap:5px;font-size:10px;display:flex}.mobile-bottom-nav a[aria-current=page]{color:var(--theme-accent,#f3d397);background:var(--theme-selected,#344b2f)}.mobile-bottom-nav .icon{width:22px;height:22px}@keyframes loading{0%{transform:translate(-100%)}to{transform:translate(350%)}}.initial-loading{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:16px;min-height:100dvh;padding:30px;display:flex}.initial-loading h1{margin:0}.initial-loading p{color:var(--muted)}.error-banner{z-index:80;border-bottom:1px solid var(--theme-danger-line,#956842);background:var(--theme-danger-surface,#442b23);color:var(--theme-danger,#f5c7ac);flex-wrap:wrap;justify-content:center;align-items:center;gap:12px;padding:13px 20px;font-size:13px;display:flex;position:sticky;top:0}.error-banner button{border:1px solid var(--theme-danger-line,#a6805c);border-radius:var(--theme-control-radius,6px);background:var(--theme-danger-surface,#593d2b);min-height:40px;padding:8px 12px;font-size:12px}.action-recovery button{color:var(--theme-warning,#f5c7ac)}.guest-shell{background:var(--theme-recess,#14271e);flex-direction:column;min-height:100dvh;display:flex}.guest-header{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:16px;padding:18px 22px;display:flex}.guest-header .brand{font-size:22px}.guest-header nav{align-items:center;gap:22px;font-size:12px;display:flex}.guest-login{align-items:center;gap:8px;min-height:44px;display:flex}.guest-login .icon{width:18px;min-width:18px}.guest-main{flex:1;display:grid}.guest-story{isolation:isolate;background:#314b33;border-bottom:1px solid #4e6141;min-height:270px;position:relative;overflow:hidden}.guest-story>img{object-fit:cover;object-position:57% center;z-index:-2;width:100%;height:100%;position:absolute;inset:0}.guest-story:before{content:"";z-index:-1;background:linear-gradient(#0d211b12 28%,#0d211bb8 72%,#0d211bf5 100%);position:absolute;inset:0}.guest-story-copy{flex-direction:column;justify-content:flex-end;min-height:270px;padding:30px 25px;display:flex}.guest-story h2{font:42px/1.12 var(--serif);color:#fff0d2;margin:7px 0 16px}.guest-story p{color:#e1e4ce;margin:0;font-size:13px;line-height:1.65}.guest-story .eyebrow{color:#e0ce9e;font-size:9px}.story-features,.guest-main:not(.is-login) .guest-story{display:none}.auth-content{min-width:0;padding:32px 24px}.auth-content>.eyebrow{font-size:9px}.auth-content>h1{margin:10px 0 14px;font-size:27px;line-height:1.25}.auth-description{color:var(--muted);margin-bottom:24px;font-size:13px}.auth-content .game-panel{background:0 0;border:0;padding:0}.auth-content .game-panel form{margin:0}.auth-content .game-panel input:not([type=submit]):not([type=checkbox]){width:100%}.auth-content .game-content input[type=submit],.auth-content .game-content button[type=submit]{width:100%;margin:10px 0 8px}.demo-hint{border:1px dashed var(--theme-line,#576847);border-radius:var(--theme-radius,8px);color:var(--muted);align-items:center;gap:12px;margin-top:25px;padding:14px 16px;font-size:11px;display:flex}.demo-hint strong{color:var(--theme-accent,#dcc895);font-weight:500}@media (min-width:540px){.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (min-width:761px){.sidebar{visibility:visible;width:224px;transform:none}.workspace{margin-left:224px;padding-bottom:0}.mobile-bottom-nav{display:none}.sidebar .brand{gap:6px;font-size:20px}.main-content{padding:28px 25px 40px}.page-heading{margin-bottom:24px}.page-heading h1{font-size:29px}.page-heading .button{gap:8px;padding:10px 14px;font-size:12px}.back-link{padding:8px 13px;font-size:12px}.topbar{min-height:61px;padding-inline:25px}.imperials span{color:var(--muted);font-size:10px;display:inline}.resource-bar{grid-template-columns:repeat(6,minmax(0,1fr));gap:0;padding:13px 24px}.resource{gap:6px;padding:0 8px}.resource:nth-child(3){border-right:1px solid var(--line)}.resource:nth-child(4){padding-left:8px}.resource-icon{display:none}.resource strong{font-size:13px}.country-hero{min-height:235px;margin-bottom:15px}.hero-copy{padding:32px}.hero-copy h2{font-size:46px}.game-panel{padding:25px}.game-content td,.game-content th{padding:13px 16px}.app-footer{margin-inline:25px}.guest-header{padding:22px 4vw}.guest-header .brand{font-size:26px}.guest-main{grid-template-columns:minmax(0,1.25fr) minmax(365px,1fr)}.guest-main:not(.is-login) .guest-story{display:block}.guest-story{border-right:1px solid var(--line);border-bottom:0;min-height:660px}.guest-story-copy{height:100%;min-height:660px;padding:45px 4vw}.guest-story h2{font-size:clamp(42px,4.6vw,72px)}.guest-story p{font-size:14px}.story-features{border-top:1px solid var(--theme-line-soft,#a0b28266);color:var(--theme-accent,#d4bd87);gap:28px;margin-top:32px;padding-top:22px;font-size:11px;display:flex}.story-features strong{color:var(--theme-ink,#dce1c7);margin-top:6px;font-size:12px;font-weight:400;display:block}.auth-content{align-self:center;padding:45px clamp(30px,4vw,70px)}.auth-content>h1{font-size:32px}}@media (min-width:1100px){.sidebar{width:240px}.workspace{margin-left:240px}.sidebar-brand{padding:23px 19px}.main-content{--main-inline-padding:32px;padding:30px var(--main-inline-padding) 40px}.topbar{padding-inline:32px}.resource-bar{padding-inline:30px}.resource-icon{width:31px;min-width:31px;height:31px;display:block}.resource{gap:8px;padding-inline:12px}.resource strong{font-size:14px}.dashboard-layout{grid-template-columns:minmax(0,1fr) 245px;gap:23px}.catalog-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.catalog-art,.catalog-art img{height:100px}.catalog-copy strong{font-size:12px}.app-footer{margin-inline:32px}}@media (min-width:1400px){.dashboard-layout{grid-template-columns:minmax(0,1fr) 280px;gap:28px}.catalog-art{height:119px}.catalog-art img{width:137px;height:119px}.catalog-copy strong{font-size:14px}.catalog-copy span{font-size:11px}.country-hero{min-height:255px}}@media (max-width:360px){.main-content,.resource-bar{padding-inline:12px}.resource{gap:4px;padding-inline:6px}.resource-icon{width:25px;min-width:25px;height:25px}.resource strong{font-size:12px}.page-heading h1{font-size:23px}.page-heading p{font-size:12px}.catalog-grid{gap:8px}.catalog-link{padding:9px}.catalog-copy strong{font-size:12px}.building-catalog>.section-heading{flex-wrap:wrap;gap:5px}.game-panel{padding:17px}.hero-copy h2{font-size:35px}.guest-header{padding-inline:14px}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.sidebar,.topbar,.resource-bar,.app-footer,.guest-header,.guest-story,.page-heading>a,.mobile-bottom-nav{display:none}.workspace{margin:0;padding:0}.main-content{padding:0}body,.game-panel{color:#000;box-shadow:none;background:#fff}.game-panel{break-inside:avoid}a,h1,h2,h3{color:#000}.guest-main{display:block}}.icon{border-radius:var(--theme-radius,5px)}.css-arrow{background:0 0;width:18px;min-width:18px;height:18px;position:relative}.css-arrow:before{content:"";border-top:1.5px solid;border-right:1.5px solid;width:7px;height:7px;position:absolute;top:5px;left:4px;transform:rotate(45deg)}.nav-group a .icon{width:28px;min-width:28px;height:28px}.mobile-bottom-nav .icon{width:31px;min-width:31px;height:31px}.mobile-bottom-nav a,.mobile-bottom-nav button{gap:2px}.catalog-card{position:relative}.catalog-extra{background:var(--theme-recess,#172c22);border-top:0;padding:0 10px 5px}.readiness-item{justify-content:space-between;align-items:center;gap:8px;display:flex}:root{--page:#101e1b;--surface:#1b2d26;--surface-muted:#253b30;--line:#35473c;--muted:#b0bfb2;--gold:#e5c58c}html{scroll-padding-top:104px}body{background:var(--page)}.main-content{padding-top:20px}.page-heading{align-items:flex-start;margin-bottom:18px}.page-heading h1{letter-spacing:-.6px;font-size:25px;line-height:1.2}.page-heading p{font-size:13px;line-height:1.5}.page-heading .back-link{flex-shrink:0}.resource-bar{gap:4px 0;padding-block:7px}.resource{min-height:36px}.resource small{font-size:10px}.resource-icon{width:27px;min-width:27px;height:27px}.resource strong{font-size:13px}.resource>span{overflow-wrap:normal}.topbar{min-height:52px}.game-panel{padding:18px;line-height:1.65}.game-panel .location-panel{margin:0}.game-content{gap:14px}.game-content>.location-panel{background:linear-gradient(110deg, var(--theme-raised,#263d2c), var(--theme-surface,#1b3026));gap:10px;min-height:64px;padding:8px 12px}.location-art{width:48px;height:48px}.location-panel>a{font-size:15px}.location-panel .guard-link{min-height:44px;padding:8px;font-size:12px}.game-panel .building-actions{margin:0 0 18px}.field-hint{color:var(--muted);margin:2px 0 8px;font-size:13px}.game-content input,.game-content select,.game-content textarea{scroll-margin-block:110px 100px}.game-content form{margin-block:12px}.game-content form:last-child{margin-bottom:0}.game-content .form-actions>:is(button,input){flex:1;min-width:0;min-height:48px;margin:0;font-size:14px}.mobile-bottom-nav{padding-bottom:max(6px, env(safe-area-inset-bottom))}.mobile-bottom-nav a,.mobile-bottom-nav button{min-height:56px;font-size:11px;position:relative}.bottom-unread{border-radius:var(--theme-radius,10px);background:var(--theme-action,#d7b77a);min-width:17px;height:17px;color:var(--theme-on-action,#17261d);border:2px solid var(--theme-line,#20352a);place-items:center;padding:0 4px;font-size:10px;font-weight:700;display:grid;position:absolute;top:1px;left:calc(50% + 6px)}.sidebar:focus{outline:none}.sidebar{transition:transform .2s}.is-busy form [type=submit]{opacity:.6;cursor:progress}.is-overview .page-heading{margin:0}.is-overview .page-heading>div{clip-path:inset(50%);width:1px;height:1px;position:absolute;overflow:hidden}.is-overview .page-heading>a{display:none}.country-hero{min-height:162px;margin-bottom:12px}.hero-copy{padding:22px 18px 58px}.hero-copy h2{overflow-wrap:anywhere;font-size:32px}.hero-copy .eyebrow{margin-bottom:6px;font-size:9px}.country-age{font-size:11px}.building-catalog>.section-heading{flex-wrap:wrap;align-items:center;gap:6px}.building-catalog .eyebrow{display:none}.building-catalog h2{font-size:20px}.catalog-link{padding:10px}.catalog-art{height:110px}.catalog-art img{object-fit:contain;width:100%;height:110px}.catalog-copy strong{font-size:14px;line-height:1.35}.catalog-copy span{color:var(--theme-muted,#b5c1ac);font-size:12px}.catalog-extra{padding-bottom:8px}.catalog-extra a{align-items:center;min-height:44px;display:inline-flex}.catalog-empty{border:1px solid var(--line);border-radius:var(--theme-radius,8px);color:var(--muted);grid-column:1/-1;padding:18px}.app-footer{gap:12px;margin-top:12px;padding-block:20px;font-size:11px}.app-footer>span:first-child{display:none}.app-footer a{align-items:center;min-height:44px;display:inline-flex}.guest-story,.guest-story-copy{min-height:210px}.guest-story-copy{padding:22px 24px}.guest-story h2{font-size:34px}.auth-content{padding-top:24px}@media (max-width:360px){.resource{gap:4px;padding-inline:5px}.resource-icon{width:24px;min-width:24px;height:24px}.resource strong{font-size:12px}.hero-copy h2{font-size:29px}.page-heading h1{font-size:23px}.catalog-copy strong{font-size:13px}.catalog-copy span{font-size:11px}.location-panel .guard-link{margin-left:auto;font-size:11px}}@media (min-width:761px){.main-content{padding-top:24px}.is-overview .page-heading{margin-bottom:18px;display:flex}.is-overview .page-heading>div{clip-path:none;width:auto;height:auto;position:static;overflow:visible}.is-overview .page-heading>a{display:inline-flex}.resource-bar{padding-block:10px}.resource-icon{display:none}.country-hero{min-height:190px}.hero-copy{padding:24px}.hero-copy h2{font-size:40px}.game-panel{padding:24px}.game-content:not(:has(.troop-grid)){max-width:1000px}.game-content .single-action-form>:is(input,button)[type=submit]{width:auto;min-width:180px;padding-inline:22px}.app-footer>span:first-child{display:inline}.guest-story,.guest-story-copy{min-height:660px}.guest-story-copy{padding:45px 4vw}.guest-story h2{font-size:clamp(42px,4.6vw,72px)}.auth-content{padding-top:45px}}@media (min-width:1100px){.resource-icon{display:block}.catalog-art,.catalog-art img{height:118px}.catalog-copy strong{font-size:14px}.catalog-copy span{font-size:12px}.country-hero{min-height:190px}.page-heading h1{font-size:28px}}.research-catalog{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.game-content .world-country-list{gap:8px;margin:12px 0 20px;padding:0;list-style:none;display:grid}.world-country{border:1px solid var(--line);border-radius:var(--theme-radius,10px);background:var(--theme-surface,#20352b);align-items:center;gap:12px;min-width:0;padding:12px;display:flex}.world-country.is-own-country{border-color:var(--theme-line-strong,#93845e);background:var(--theme-raised,#2d3d2b)}.world-country>img{object-fit:contain;flex-shrink:0;width:56px;height:56px}.world-country-copy{overflow-wrap:anywhere;min-width:0;font-size:15px}.world-country-copy small{color:var(--muted);font-size:11px;display:block}.world-country-copy a{align-items:center;min-height:44px;display:inline-flex}.training-preview h2{margin:0 0 16px;font-size:18px}.training-preview h3{color:var(--muted);margin:16px 0 8px;font-size:14px}.training-order{align-items:center;gap:14px;display:flex}.training-order img{object-fit:contain;width:64px;height:64px}.training-order strong,.training-order small{display:block}.training-order small{color:var(--muted);font-size:12px}.order-costs{margin:0 0 16px}.order-costs>div{border-bottom:1px solid var(--line);justify-content:space-between;align-items:center;gap:8px;min-height:44px;display:flex}.order-costs dt{align-items:center;gap:8px;font-size:14px;display:flex}.order-costs img{object-fit:contain;width:28px;height:28px}.order-costs dd{font-variant-numeric:tabular-nums;margin:0;font-size:15px;font-weight:600}.game-content button:disabled{cursor:wait;opacity:.65}.mobile-bottom-nav button[aria-current=page]{background:var(--theme-selected,#3a4a31);color:var(--theme-accent,#f1dcaa)}@media (min-width:768px){.research-catalog{grid-template-columns:repeat(2,minmax(0,1fr))}}.first-steps{border:1px solid var(--theme-line,#53634b);border-radius:var(--radius);background:linear-gradient(120deg, var(--theme-raised,#293c2d), var(--theme-surface,#1b2d26));padding:20px}.first-steps>h2{margin:4px 0 20px}.first-steps-list{gap:20px;margin:0;padding:0;list-style:none;display:grid}.first-steps-list li{grid-template-columns:28px minmax(0,1fr);gap:12px;display:grid}.step-number{border:1px solid var(--theme-line-strong,#738061);width:28px;height:28px;color:var(--theme-accent,#ecd4a5);font-variant-numeric:tabular-nums;border-radius:50%;place-items:center;display:grid}.first-steps-list h3{margin:1px 0 6px;font-size:15px;line-height:1.4}.first-steps-list p,.first-steps-note{color:var(--theme-muted,#c0cbbd);margin:0;font-size:13px;line-height:1.6}.first-steps-list a{align-items:center;gap:8px;min-height:44px;font-size:13px;font-weight:600;display:inline-flex}.first-steps-note{border-top:1px solid var(--theme-line,#465740);margin-top:16px;padding-top:14px}.compact-guide{background:var(--theme-surface,#1b2d26);border-color:var(--line);margin:12px 0;padding:0 14px}.compact-guide>summary{min-height:52px;color:var(--muted);align-items:center;gap:10px;padding:8px 0;font-size:12px;list-style:none;display:flex}.compact-guide>summary::-webkit-details-marker{display:none}.compact-guide>summary:after{content:"+";color:var(--gold);margin-left:auto;font-size:22px}.compact-guide[open]>summary:after{content:"−"}.compact-guide>summary img{object-fit:contain;flex:0 0 28px}.compact-guide>summary strong{color:var(--theme-accent,#e9dcbd);font-weight:500}.compact-guide[open]>summary{border-bottom:1px solid var(--line);margin-bottom:16px}.compact-guide .guide-more{align-items:center;min-height:48px;font-size:13px;display:flex}.password-field{border:1px solid var(--theme-line-strong,#59714e);border-radius:var(--theme-radius,8px);background:var(--theme-field,#10281d);align-items:stretch;min-width:0;display:flex}.password-field:has(>input:focus){outline:1px solid var(--field-focus-color);outline-offset:var(--field-focus-offset)}.game-content .password-field button{min-height:48px;color:var(--gold);background:0 0;border:0;border-radius:0 7px 7px 0;flex-shrink:0;margin:0;padding:8px 12px;font-size:12px;font-weight:500}.game-content .password-field button:hover{background:var(--theme-hover,#2d4333)}@media (min-width:1100px){.first-steps-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.captcha-field{flex-wrap:wrap;align-items:center;gap:10px;display:flex}.captcha-field .captcha{flex-shrink:0;margin:0}.captcha-refresh{border:1px solid var(--line);border-radius:var(--theme-radius,6px);min-height:44px;color:var(--ink);background:0 0;padding:8px 12px}.captcha-status{color:var(--muted);flex-basis:100%;font-size:12px}.captcha-status:empty{display:none}@keyframes progress-reveal{0%{opacity:0}to{opacity:1}}.shop-balance{white-space:nowrap;color:var(--theme-accent,#dfc58d);margin-left:auto;font-size:11px}.primary-navigation a:has(.shop-balance){flex-wrap:wrap}.game-content .construction-card{border:1px solid var(--theme-line,#526248);border-radius:var(--theme-radius,12px);background:var(--theme-surface,#1d3326);min-width:0;min-height:130px;color:var(--ink);align-items:center;gap:18px;padding:18px;display:flex}.construction-card:hover{background:var(--theme-hover,#2b422e);border-color:var(--theme-line-strong,#a7ae75)}.construction-card>img{object-fit:contain;flex-shrink:0;width:72px;height:72px}.construction-heading{align-items:center;gap:12px;margin:0 0 20px;display:flex}.construction-heading img{object-fit:contain;width:56px;height:56px}.section-intro{color:var(--muted);max-width:650px;font-size:14px;line-height:1.6}.catalog-empty .button{width:fit-content;margin-top:16px;display:flex}@media (max-width:760px){.topbar{gap:10px}.guest-header{flex-wrap:nowrap;gap:10px}.guest-header nav{flex-shrink:0;justify-content:space-between;gap:12px;width:auto}}.country-switch{cursor:default}.is-over-limit>small{color:var(--theme-warning,#f1ba83)}@media (max-width:760px){.topbar{display:none}}.catalog-art{background:0 0}.back-link{gap:0;width:44px;height:44px;padding:0}.css-arrow:before{top:50%;left:50%;transform:translate(-65%,-50%)rotate(45deg)}.arrow-back:before{transform:translate(-35%,-50%)rotate(-135deg)}.build-action{min-height:44px;padding:10px 13px;font-size:12px}.guide-container{position:relative}.guide-dismiss{z-index:1;width:44px;height:44px;color:var(--muted);border-radius:var(--theme-radius,8px);background:0 0;border:0;place-items:center;font-size:24px;display:grid;position:absolute;top:5px;right:7px}.guide-dismiss:hover{color:var(--ink);background:var(--theme-hover,#344b38)}.guide-container .compact-guide>summary{padding-right:40px}.guide-container .compact-guide>summary:after{display:none}.request-spinner{border:3px solid var(--theme-line,#687350);border-top-color:var(--theme-accent,#f4d692);border-radius:50%;flex:0 0 24px;width:24px;height:24px;animation:.85s linear infinite request-spin}@keyframes request-spin{to{transform:rotate(360deg)}}.country-card-link{width:100%;min-width:0;color:var(--ink);border-radius:var(--theme-radius,10px);align-items:center;gap:15px;padding:15px;display:flex}.world-country:has(.country-card-link){padding:0}.country-card-link:hover{background:var(--theme-hover,#34503a)}.country-card-link>img{object-fit:contain;border-radius:var(--theme-radius,7px);flex:0 0 56px;width:56px;height:56px}.world-country-copy{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex}.world-country-copy strong{overflow-wrap:anywhere;font-size:16px}.world-country-copy small{color:var(--muted);font-size:11px}.country-chevron{color:var(--gold);align-self:center;margin-left:auto;font-size:26px;line-height:1}.neighbor-heading{align-items:center;gap:14px;margin-bottom:14px;display:flex}.neighbor-heading h2{overflow-wrap:anywhere;margin:0;font-size:24px}@media (prefers-reduced-motion:reduce){.request-spinner{animation:none}}.location-panel h1{flex:1;min-width:0;margin:0;font-size:24px;line-height:1.2}.location-panel .guard-link{flex-shrink:0}.catalog-link{justify-content:center;padding:10px}.catalog-copy>span{justify-content:center;align-items:center;min-height:44px;margin-top:8px;display:flex}.catalog-extra{background:0 0;padding:0;position:absolute;inset:auto 10px 10px}.catalog-art img,.location-art{-webkit-mask-image:none;mask-image:none}.detail-art{object-fit:contain;flex-shrink:0;width:48px;height:48px}.game-content a.button,.game-content a.button:hover,.game-content a.button:focus{text-decoration:none}.game-content .info-link{border:1px solid var(--theme-line-strong,#718065);background:var(--theme-raised,#263b2d);width:30px;min-width:30px;height:30px;min-height:30px;color:var(--theme-accent,#e1c382);cursor:pointer;border-radius:50%;flex:0 0 30px;justify-content:center;align-items:center;padding:0;font:600 14px Georgia,serif;text-decoration:none;display:inline-flex}.game-content .info-link:hover{background:var(--theme-hover,#3a4d34);border-color:var(--gold)}.unit-total{color:var(--gold);font-variant-numeric:tabular-nums;font-size:24px;display:block}.game-panel .building-actions{grid-template-columns:minmax(0,1fr);gap:10px;display:grid}.game-panel .building-actions .illustrated-action{border-radius:var(--theme-radius,10px);align-items:center;gap:14px;min-height:72px;padding:12px;display:flex}.illustrated-action>span{overflow-wrap:normal;word-break:normal;min-width:0}.illustrated-action .detail-art{width:44px;height:44px}.unit-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;display:grid}.unit-card{border:1px solid var(--line);border-radius:var(--theme-radius,10px);background:var(--theme-surface,#1a2e24);text-align:center;padding:16px 10px}.unit-card .detail-art{width:80px;height:80px}.unit-card h2{margin:10px 0 8px;font-size:14px}.unit-card>small{color:var(--muted);font-size:12px}.game-content .game-select{width:100%;position:relative}.game-content .game-select-trigger{width:100%;min-height:48px;color:var(--ink);text-align:left;border:1px solid var(--theme-line-strong,#64745c);background:var(--theme-field,#10251c);border-radius:var(--theme-control-radius,8px);box-shadow:none;justify-content:space-between;align-items:center;gap:16px;padding:12px 16px;font-size:16px;font-weight:400;display:flex}.select-chevron{border-right:2px solid var(--gold);border-bottom:2px solid var(--gold);flex:0 0 8px;width:8px;height:8px;margin-right:3px;transform:rotate(45deg)}.game-select-trigger[aria-expanded=true] .select-chevron{transform:rotate(225deg)}.game-select-options{border:1px solid var(--theme-line-strong,#7a8766);background:var(--theme-field,#263c2e);border-radius:var(--theme-control-radius,9px);margin-top:6px;padding:5px;box-shadow:0 6px 16px #0005}.game-select[data-popup] .game-select-options{z-index:2;scroll-margin-block-end:calc(6rem + var(--app-safe-bottom,env(safe-area-inset-bottom,0px)));position:absolute;inset-block-start:100%;inset-inline:0}.game-content .game-select-options button{width:100%;min-height:44px;color:var(--ink);border-radius:var(--theme-control-radius,5px);text-align:left;box-shadow:none;background:0 0;border:0;justify-content:space-between;padding:12px;font-size:15px;display:flex}.game-content .game-select-options button[aria-selected=true],.game-content .game-select-options button:hover{background:var(--theme-selected,#415638);color:var(--theme-accent,#f2deb0)}@media (min-width:600px){.game-panel .building-actions{grid-template-columns:repeat(2,minmax(0,1fr))}.unit-catalog{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (max-width:360px){.location-panel h1{font-size:20px}.location-panel{gap:8px}.location-panel .location-art{width:42px;height:42px}}.neighbor-heading h1{overflow-wrap:anywhere;margin:0;font-size:24px}#root details>summary,#root .war-summary-toggle{box-sizing:border-box;cursor:pointer;text-align:start;overflow-wrap:anywhere;border-radius:var(--theme-radius,7px);align-items:center;gap:10px;min-height:48px;padding:8px 40px 8px 12px;list-style:none;display:flex;position:relative}#root details>summary::-webkit-details-marker{display:none}#root details>summary::marker{content:""}#root details>summary:after,#root .war-summary-toggle:after{content:"";box-sizing:border-box;background:transparent var(--theme-disclosure-icon,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%23e2ca94' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E")) center / 15px 15px no-repeat;pointer-events:none;border:1px solid #0000;border-radius:50%;width:23px;height:23px;margin:0;padding:0;transition:transform .18s;display:block;position:absolute;inset:50% 10px auto auto;transform:translateY(-50%)}#root details[open]>summary:after,#root .war-summary-toggle[aria-expanded=true]:after{transform:translateY(-50%)rotate(180deg)}#root details>summary:focus-visible,#root .war-summary-toggle:focus-visible{outline:2px solid var(--theme-accent,#efd39b);outline-offset:2px}@media (hover:hover){#root details>summary:hover{background-color:var(--theme-hover,#263c2d)}}#root .guide-container .compact-guide>summary{padding-right:76px}#root .guide-container .compact-guide>summary:after{right:44px}#root details.game-disclosure{border:1px solid var(--theme-line,#435a46);border-radius:var(--theme-radius,11px);background:var(--theme-surface,#1c3026);min-width:0;color:var(--ink);margin:12px 0;padding:0}#root details.game-disclosure>summary{margin:0;padding:9px 44px 9px 12px}#root .illustrated-disclosure>summary,#root .war-summary-toggle{gap:13px;min-height:76px;padding:12px 54px 12px 16px}#root .illustrated-disclosure>summary:after,#root .war-summary-toggle:after{width:29px;height:29px;right:15px}#root .illustrated-disclosure>summary:after{border-color:var(--theme-line,#607654);background-color:var(--theme-surface,#253a2b)}#root .game-disclosure[open]>summary{background:var(--theme-raised,#263c2d);border-radius:10px 10px 0 0}#root .illustrated-disclosure[open]>summary:after{background-color:var(--theme-raised,#344a33);border-color:var(--theme-line-strong,#83916a)}#root .fold-copy{flex:1;min-width:0;display:block}#root .fold-copy strong{color:var(--ink);font-size:17px;line-height:1.3;display:block}#root .fold-copy small,.patrol-report header small{color:var(--muted);margin-top:4px;font-size:13px;line-height:1.4;display:block}#root .fold-art{object-fit:contain;flex:none;width:51px;height:51px}#root .fold-body{border-top:1px solid var(--theme-line,#425842);padding:12px 16px 16px}.patrol-report{margin:12px 0 20px}.patrol-report header{align-items:center;gap:12px;display:flex}.patrol-report header h3{margin:0}.patrol-report ul{padding:0;list-style:none}.patrol-report li,.defense-stock{flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:10px;display:flex}.patrol-report li{border-bottom:1px solid var(--line);padding:8px 0}.patrol-report time{color:var(--muted)}.frontier-actions{flex-wrap:wrap;gap:8px;margin-top:12px;display:flex}.frontier-upgrade{width:100%;color:var(--ink);font-variant-numeric:tabular-nums;flex-wrap:wrap;align-items:flex-start;gap:7px 18px;font-size:15px;line-height:1.4;display:flex}.frontier-levels{flex-wrap:wrap;align-items:center;gap:6px 8px;font-weight:600;display:flex}#root .frontier-levels input{width:3.5rem;min-height:36px;margin:0;padding:5px 7px;line-height:1.25}.frontier-quote{align-self:center;gap:4px;display:grid}.frontier-upgrade .frontier-cost{flex-wrap:wrap;gap:4px 12px;margin:0;padding:0;list-style:none;display:flex}.frontier-cost li{align-items:center;gap:4px;display:flex}.frontier-cost img{object-fit:contain;flex:none}.frontier-feedback{color:var(--theme-danger,#ffc5b7);font-size:14px}.frontier-upgrade .button{min-height:36px;padding:5px 12px;font-size:14px;font-weight:650}.patrol-link{align-items:center;gap:6px;min-height:44px;margin:0 10px 6px;display:inline-flex}@media (max-width:480px){#root .fold-art{width:43px;height:43px}#root .illustrated-disclosure>summary{gap:10px;min-height:70px;padding-left:12px}#root .fold-copy strong{font-size:16px}}@media (prefers-reduced-motion:reduce){#root details>summary:after,#root .war-summary-toggle:after{transition:none}}html:has(dialog:modal){overscroll-behavior:none;overflow:hidden}html:has(dialog:modal) body{overscroll-behavior:none;overflow:hidden}.native-actions{flex-wrap:wrap;gap:10px;margin-top:16px;display:flex}.native-actions>*{white-space:normal;word-break:normal;overflow-wrap:normal;max-width:100%}.native-card-grid,.native-building-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.native-panel{min-width:0}.native-panel>:last-child{margin-bottom:0}.native-stats{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:0;display:grid}.native-panel>.native-stats{margin-bottom:16px}.native-stats>div{border:1px solid var(--line);border-radius:var(--theme-radius,10px);background:var(--surface);min-width:0;padding:16px}.native-stats>div:only-child{grid-column:1/-1}.native-stats img{float:right;object-fit:contain;margin:0 0 8px 8px}.native-stats dt{color:var(--muted);overflow-wrap:normal;word-break:normal;font-size:12px}.native-stats dd{color:var(--gold);overflow-wrap:anywhere;margin:6px 0 0;font-size:22px;font-weight:700}.location-panel+.native-panel .native-stats dd{clear:both;white-space:nowrap;overflow-wrap:normal}.native-empty{text-align:center;padding:32px 20px}.native-empty>img{margin:0 auto 16px;display:block}.native-empty p{color:var(--muted)}.native-form{gap:16px;max-width:600px;margin:16px 0;display:grid}.native-form label,.native-search{min-width:0;color:var(--muted);gap:7px;font-size:13px;display:grid}.native-form input:not([type=checkbox]):not([type=hidden]),.native-form textarea,.native-form select,.native-search input,.native-search select{border:1px solid var(--line);border-radius:var(--theme-control-radius,8px);background:var(--page);width:100%;min-width:0;min-height:46px;color:var(--ink);padding:10px 12px}.native-form textarea{resize:vertical}input[type=search]::placeholder{color:var(--muted);opacity:1}.native-search select{appearance:none;background-image:linear-gradient(45deg, transparent 50%, var(--gold) 50%), linear-gradient(135deg, var(--gold) 50%, transparent 50%);background-position:calc(100% - 19px),calc(100% - 14px);background-repeat:no-repeat;background-size:5px 5px;padding-right:34px}.native-form .native-checkbox{flex-direction:row-reverse;justify-content:flex-end;align-items:center;gap:10px;min-height:44px;display:flex}.native-form input[type=checkbox]{width:20px;height:20px;accent-color:var(--gold)}.native-form .native-actions{margin:0}.native-form .game-select{width:100%}.native-tabs{flex-wrap:wrap;gap:6px;display:flex}.native-tabs button{border:1px solid var(--line);border-radius:var(--theme-control-radius,8px);min-height:44px;color:var(--muted);background:var(--surface);padding:8px 14px}.native-tabs button.active{color:var(--gold);border-color:var(--gold);background:var(--surface-muted)}.native-text{white-space:pre-wrap;overflow-wrap:anywhere}.native-text,.native-command-copy,dialog.game-content :is(p,dt,dd){-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.native-list-link{text-align:left;border:0;border-bottom:1px solid var(--line);width:100%;min-height:48px;color:var(--gold);background:0 0;justify-content:space-between;align-items:center;gap:14px;padding:12px 0;display:flex}.native-reference{line-height:1.8}.native-reference table{max-width:100%;display:block;overflow:auto}.native-reference .button{margin:5px 5px 5px 0}.native-reference img{object-fit:contain;max-width:min(100%,420px);max-height:260px}.native-reference ul{padding-left:24px}.native-back,.native-text-button{color:var(--muted);background:0 0;border:0;min-height:44px}.native-back{align-items:center;gap:8px;padding:0;display:inline-flex}.native-text-button{padding:0}.native-error{border:1px solid var(--theme-danger-line,#895646);border-radius:var(--theme-radius,8px);background:var(--theme-danger-surface,#392c26);color:var(--theme-danger,#ffd1b5);padding:12px 16px}.native-dialog{width:min(660px,100% - 24px);max-height:90dvh;color:var(--ink);background:var(--surface);border:1px solid var(--line);border-radius:var(--theme-radius,12px);overscroll-behavior:contain;min-height:0;padding:24px;overflow:auto}dialog.game-content{box-sizing:border-box;height:auto;min-height:0;max-height:calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom));overscroll-behavior:contain;flex-direction:column;align-items:stretch;margin:0 auto;display:flex;position:fixed;inset:50% 0 auto;transform:translateY(-50%)}dialog.game-content>*{flex-shrink:0;min-width:0}dialog:not([open]){display:none!important}.native-app a,.native-app a:hover,.native-app a:active,.native-app a:focus{text-decoration:none}:is(.skip-link:not(:focus-visible),.native-app:has(dialog[open])>.skip-link){visibility:hidden}.native-app :is(h1,h2,h3)[tabindex="-1"]:focus{outline:none}.native-dialog::backdrop,.native-menu-dialog::backdrop{background:#091411c9}.native-dialog-heading{justify-content:space-between;align-items:center;gap:16px;margin-bottom:16px;display:flex}.native-dialog-heading h2{margin:0;font-size:22px;line-height:1.3}.native-command-title{align-items:center;gap:12px;min-width:0;display:flex}.native-command-title>img{object-fit:contain;flex:0 0 36px}.native-dialog-heading>.icon-button{flex:0 0 44px}dialog.game-content .icon-button{color:var(--theme-muted,#c0ccc9);box-shadow:none;background:0 0;transition:background-color .14s,color .14s}dialog.game-content .icon-button:hover{background:var(--theme-hover,#304147);color:var(--theme-accent,#fff1cf)}dialog.game-content .icon-button:active{background:var(--theme-hover,#3c5157);color:var(--theme-accent,#fff1cf)}@media (prefers-reduced-motion:reduce){dialog.game-content .icon-button{transition:none}}.native-dialog .native-command-copy{color:var(--muted);line-height:1.7}.native-dialog .native-command-copy p{margin:0 0 10px}.native-dialog .native-command-copy p:last-child{margin-bottom:0}.command-resource-amount{white-space:nowrap;color:var(--gold);vertical-align:middle;align-items:center;gap:5px;font-weight:700;display:inline-flex}.command-resource-amount img{object-fit:contain}.native-command-copy p{overflow-wrap:anywhere;margin-bottom:8px}.native-dialog>.native-actions{border-top:1px solid var(--line);padding-top:16px}.native-menu-dialog{background:var(--theme-recess,#132720);width:min(300px,90vw);max-width:100%;height:100dvh;max-height:100dvh;color:var(--ink);overscroll-behavior:contain;will-change:transform;border:0;margin:0 auto 0 0;padding:0;overflow:auto}.native-menu-dialog[open]{flex-direction:column;display:flex}.native-menu-dialog .sidebar-brand{padding-block:12px}.native-menu-dialog .country-switch{margin-bottom:12px;padding-block:8px}.native-menu-dialog .nav-group{margin-bottom:12px}.native-menu-dialog .nav-group:last-child{margin-bottom:0}.native-menu-dialog .native-menu-item{min-height:44px;padding-block:6px}.native-menu-dialog .primary-navigation{flex:1;overflow:auto}.native-menu-dialog .sidebar-bottom{flex-shrink:0}.native-app .building-actions .illustrated-action{background:var(--theme-surface,#1e382a);border:1px solid var(--line);width:100%;color:var(--gold);text-align:left;overflow-wrap:normal;word-break:normal;line-height:1.5}.native-app .building-actions .illustrated-action>span{min-width:0}.native-app .location-panel h1{flex:1 1 min-content;overflow-wrap:normal;word-break:normal;outline:none;min-width:min-content}.native-app .location-panel .guard-link{cursor:pointer;color:var(--gold);background:0 0;border:0}.native-app .unit-card .unit-total{color:var(--gold);font-size:22px;display:block}.native-app .auth-content details{color:var(--muted);margin-top:20px}.native-app .auth-content summary{cursor:pointer;min-height:44px}.native-app .help-search input{width:100%}.native-app .help-group>summary{cursor:pointer}@media (max-width:760px){.native-sidebar{display:none}.native-card-grid{grid-template-columns:1fr}.native-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.native-stats>div{padding:14px 12px}.native-dialog{padding:20px 16px}.native-dialog .native-actions>.button{flex-grow:1}}.native-dialog .training-preview{background:0 0;border:0;padding:0}.native-dialog .native-command-copy:empty,.native-dialog>.native-actions:empty{display:none}.native-dialog .training-order img,.native-dialog .order-costs img{object-fit:contain}.native-form label{margin:0}.native-form input:not([type=hidden]),.native-form select,.native-form textarea{margin:0!important}.native-form .password-field input{--field-focus-outline:none;flex:1;min-width:0;background:0 0!important;border:0!important}.native-form .password-field button{flex-shrink:0}.native-form input:not([type=hidden]):not([type=checkbox]){width:100%!important}.country-recovery{gap:20px;display:grid}.country-loss-reason{align-items:center;gap:16px;display:flex}.country-loss-reason>img{object-fit:contain;flex:none}.country-loss-reason p{margin:0}.is-country-recovery .workspace{margin-left:0;padding-bottom:0}.is-country-recovery .native-main{width:100%;max-width:800px;margin:0 auto}.is-country-recovery .app-footer{justify-content:flex-end}.native-app.is-country-creation .workspace{justify-content:center;padding-bottom:0}.is-country-creation .native-main{flex:none;padding-block:24px}.page-heading .native-back{border:1px solid var(--line);border-radius:var(--theme-radius,8px);background:var(--surface);gap:7px;width:auto;padding:10px 14px;font-size:13px}.mail-toolbar{gap:16px;display:grid}.mail-toolbar>a{justify-self:start}.mail-event-heading{align-items:center;gap:14px;display:flex}.mail-event-heading>div{min-width:0}.mail-event-heading h2{margin:0 0 6px;font-size:17px}.mail-event-icon{background:var(--surface-muted);border:1px solid var(--line);border-radius:var(--theme-radius,12px);flex:0 0 60px;place-items:center;height:60px;display:grid}.mail-event-icon img{object-fit:contain}.mail-event-meta{color:var(--muted);flex-wrap:wrap;gap:4px 12px;font-size:12px;display:flex}.mail-event-text{margin-top:18px;line-height:1.8}.mail-resource{vertical-align:middle;border:1px solid var(--line);border-radius:var(--theme-radius,8px);background:var(--surface-muted);align-items:center;gap:8px;max-width:100%;margin:4px 4px 4px 0;padding:5px 10px;display:inline-flex}.mail-resource img{object-fit:contain;flex-shrink:0}.mail-event.is-unread{border-left-color:var(--gold)}.native-menu-dialog[open]{animation:.22s ease-out both menu-enter}.native-menu-dialog[open].is-closing{animation:.22s ease-in both menu-exit}.native-menu-dialog[open]::backdrop{animation:.22s ease-out both menu-backdrop-enter}.native-menu-dialog[open].is-closing::backdrop{animation:.22s ease-in both menu-backdrop-exit}.native-menu-dialog .brand:focus:not(:focus-visible){outline:none}@keyframes menu-enter{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes menu-exit{0%{transform:translate(0)}to{transform:translate(-100%)}}@keyframes menu-backdrop-enter{0%{opacity:0}to{opacity:1}}@keyframes menu-backdrop-exit{0%{opacity:1}to{opacity:0}}@media (prefers-reduced-motion:reduce){.native-menu-dialog[open],.native-menu-dialog[open]::backdrop{animation-duration:1ms}}.page-heading .native-back .icon{flex-shrink:0;width:18px;height:18px}.menu-glyph{align-content:center;gap:5px;width:25px;height:32px;display:grid}.menu-glyph i{background:currentColor;border-radius:2px;width:23px;height:2px}.menu-brand{cursor:default}.request-status{z-index:110;bottom:calc(84px + env(safe-area-inset-bottom));border:1px solid var(--line);border-radius:var(--theme-radius,12px);background:var(--theme-recess,#182d27);max-width:calc(100vw - 32px);color:var(--gold);pointer-events:none;align-items:center;gap:10px;padding:12px 18px;display:flex;position:fixed;left:50%;transform:translate(-50%);box-shadow:0 8px 30px #0004}.native-dialog.game-content{gap:16px;min-height:0}.native-dialog-heading{margin-bottom:0}.native-dialog .native-form{margin:0}.native-dialog>.native-actions{margin-top:0}.native-dialog>.native-actions:empty,.native-dialog .native-command-copy:empty{display:none}.native-dialog .native-actions>.button{flex:auto}@media (max-width:600px){.native-dialog.game-content{padding:18px}.native-dialog-heading h2{font-size:20px}}@media (min-width:768px){.request-status{bottom:24px}}@media (prefers-reduced-motion:reduce){.native-menu-dialog[open].is-closing,.native-menu-dialog[open].is-closing::backdrop{animation-duration:1ms}}.native-resources .resource.has-deficit strong{color:var(--theme-warning,#ffbf8c)}.native-resources .grain-shortage{border:1px solid var(--theme-warning-line,#74513a);border-radius:var(--theme-radius,8px);background:var(--theme-warning-surface,#352b22);min-width:0;min-height:44px;color:var(--theme-warning,#ffbf8c);grid-column:1/-1;justify-content:space-between;align-items:center;gap:12px;margin-top:6px;padding:8px 10px;line-height:1.4;display:flex}.native-resources .grain-shortage:hover{background:var(--theme-warning-surface,#423026)}.grain-shortage-copy{gap:2px;min-width:0;display:grid}.grain-shortage-copy strong{font-variant-numeric:tabular-nums;font-size:12px}.grain-shortage-copy small{color:var(--theme-warning,#d9bfa8);font-size:11px}.grain-shortage-arrow{flex:none;font-size:22px}#food-forecast{scroll-margin-top:20px}.game-content input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=hidden]):not([type=submit]):not([type=button]),.game-content textarea,.game-content select,.native-search input,.native-search select,.native-dialog input:not([type=checkbox]):not([type=radio]){font-size:max(16px,1rem)}.operation-banner{border:1px solid var(--theme-line-soft,#78976d66);border-radius:var(--theme-radius,12px);background:linear-gradient(120deg, var(--theme-tint,#54764730), var(--theme-recess,#162a23));align-items:center;gap:16px;margin:12px 0 18px;padding:18px;display:flex}.operation-banner>img{flex-shrink:0}.operation-banner .eyebrow{color:var(--theme-muted,#c4c79d);letter-spacing:.1em;font-size:9px}.game-content .operation-banner h3{color:var(--theme-accent,#e5d9b6);margin:6px 0;font:21px/1.3 Georgia,serif}.game-content .operation-banner p{color:var(--theme-muted,#b7c6b9);margin:0;font-size:13px}.operation-failed{border-color:var(--theme-danger-line,#ba865366);background:linear-gradient(120deg, var(--theme-danger-surface,#80512c30), var(--theme-danger-surface,#162a23))}.event-losses{grid-template-columns:repeat(auto-fit,minmax(min(100%,135px),1fr));gap:8px;margin:12px 0;display:grid}.event-losses>div{border:1px solid var(--theme-line-soft,#bb865333);background:var(--theme-tint,#170e0926);border-radius:var(--theme-radius,8px);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:4px 8px;padding:8px 10px;display:flex}.event-losses dt{color:var(--theme-accent,#dcc8ad);align-items:center;gap:6px;font-size:12px;display:flex}.event-losses dt img{flex-shrink:0}.event-losses dd{color:var(--theme-warning,#ffcfab);font-variant-numeric:tabular-nums;margin:0 0 0 auto;font-size:14px;font-weight:600}.robbery-notices-heading>div{align-items:center;gap:12px;display:flex}.robbery-notices-heading>div>div{gap:4px;display:grid}.robbery-notices-heading .eyebrow{letter-spacing:.08em;font-size:9px}.robbery-notices-heading img{flex-shrink:0}.robbery-notices-heading strong{font:22px Georgia,serif}.robbery-details p{font-size:14px}.mail-event .robbery-details{border:1px solid var(--theme-danger-line,#b9845344);border-radius:var(--theme-radius,10px);background:var(--theme-danger-surface,#57382322);padding:2px 14px 8px}.country-history .country-history-list{grid-template-columns:repeat(auto-fit,minmax(min(100%,240px),1fr));gap:10px;margin:0;padding:0;list-style:none;display:grid}.country-history-list>li{border:1px solid var(--line);border-radius:var(--theme-radius,12px);background:var(--theme-tint,#ffffff05);align-items:center;gap:12px;min-width:0;padding:13px 15px;display:flex}.country-history-list>li>img{object-fit:contain;flex:none}.country-history-name{overflow-wrap:anywhere;min-width:0;line-height:1.5}.country-history-count{color:var(--gold);white-space:nowrap;font-variant-numeric:tabular-nums}.profile-dates{grid-template-columns:repeat(auto-fit,minmax(min(100%,210px),1fr));gap:14px 24px;margin:18px 0;display:grid}.profile-dates>div{min-width:0}.profile-dates dt{color:var(--muted);font-size:12px;line-height:1.5}.profile-dates dd{font-variant-numeric:tabular-nums;margin:4px 0 0;font-size:14px;line-height:1.5}:root[data-game-theme]{--theme-surface:var(--shell-surface);--theme-recess:var(--shell-recess);--theme-selected:var(--shell-active);--theme-ink:var(--shell-text);--theme-muted:var(--shell-muted);--theme-accent:var(--shell-accent);--theme-line:var(--shell-line);--theme-line-soft:color-mix(in srgb, var(--shell-line) 55%, transparent);--theme-tint:color-mix(in srgb, var(--shell-accent) 9%, transparent);--theme-field:var(--shell-recess);--theme-danger:#ffc5b7;--theme-danger-line:#c18a7c;--theme-danger-surface:#482f2e;--theme-warning:#f4d19c;--theme-warning-line:#b59b6d;--theme-warning-surface:#40382a;--theme-success:#c6e3b9;--theme-success-line:#88ac83;--theme-success-surface:#2b4134;--theme-heading-font:Georgia, "Times New Roman", serif;--theme-radius:8px;--theme-control-radius:5px;--theme-panel-shadow:inset 0 1px 0 #fff8d509, 0 3px 12px #00000010;--page:var(--theme-page);--surface:var(--theme-surface);--surface-muted:var(--theme-raised);--ink:var(--theme-ink);--muted:var(--theme-muted);--line:var(--theme-line);--gold:var(--theme-accent);--green:var(--theme-action);--green-hover:var(--theme-action-hover);--radius:var(--theme-radius);--text:var(--theme-ink);--border:var(--theme-line);--panel:var(--theme-surface);--accent:var(--theme-accent);color:var(--ink);background:var(--page);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}:root[data-game-theme=forest]{--shell-surface:#24332c;--shell-recess:#1b2823;--shell-line:#6c715a;--shell-text:#f0e6cf;--shell-muted:#c6ccb9;--shell-accent:#e3c38a;--shell-active:#3b4938;--theme-page:#142019;--theme-raised:#2d3d30;--theme-hover:#3b4d39;--theme-line-strong:#93997e;--theme-action:#ddc38e;--theme-action-hover:#efdbb1;--theme-on-action:#242b20}:root[data-game-theme=parchment]{--shell-surface:#293532;--shell-recess:#1d2825;--shell-line:#697365;--shell-text:#eee8d8;--shell-muted:#c4cbbb;--shell-accent:#dfc490;--shell-active:#414d40;--theme-page:#1a2321;--theme-raised:#343f38;--theme-hover:#434d41;--theme-line-strong:#929987;--theme-action:#d5bd8b;--theme-action-hover:#e6d3ac;--theme-on-action:#292b22;--theme-radius:3px;--theme-control-radius:3px;--theme-panel-shadow:inset 3px 0 0 #bca27422}:root[data-game-theme=silver]{--shell-surface:#25343f;--shell-recess:#192731;--shell-line:#6c8086;--shell-text:#f0eee4;--shell-muted:#c1cfd0;--shell-accent:#e0d2af;--shell-active:#415664;--theme-page:#16232c;--theme-raised:#30444f;--theme-hover:#425967;--theme-line-strong:#99afb1;--theme-action:#ccd9d6;--theme-action-hover:#e6eeea;--theme-on-action:#20323d;--theme-heading-font:-apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;--theme-radius:16px;--theme-control-radius:10px;--theme-panel-shadow:inset 0 1px 0 #dde8e71a, 0 8px 24px #07121c26}:root[data-game-theme=wine]{--shell-surface:#382f34;--shell-recess:#281f25;--shell-line:#8e7770;--shell-text:#f4e7d6;--shell-muted:#d6c1bc;--shell-accent:#ead1a4;--shell-active:#554046;--theme-page:#251e24;--theme-raised:#49363e;--theme-hover:#5a444b;--theme-line-strong:#b09a8b;--theme-action:#e3c79e;--theme-action-hover:#f3dfbf;--theme-on-action:#382630;--theme-radius:7px;--theme-control-radius:4px;--theme-panel-shadow:inset 0 1px 0 #ead1a424, inset 3px 0 0 #b090701c}:root[data-game-theme=stone]{--shell-surface:#cfcbbb;--shell-recess:#ece7db;--shell-line:#999987;--shell-text:#303b34;--shell-muted:#404b40;--shell-accent:#324b3b;--shell-active:#b9c0ad;--theme-page:#dcd8ca;--theme-surface:#eee9dd;--theme-recess:#e2dece;--theme-raised:#e4dfcf;--theme-hover:#d2d5c3;--theme-field:#faf6ea;--theme-line:#9c9c88;--theme-line-strong:#747d68;--theme-action:#405b48;--theme-action-hover:#2c4435;--theme-on-action:#fff6df;--theme-danger:#862e24;--theme-danger-line:#a96c5a;--theme-danger-surface:#f1dbd0;--theme-warning:#76501c;--theme-warning-line:#9c7e4a;--theme-warning-surface:#f1e4c6;--theme-success:#325a38;--theme-success-line:#738a65;--theme-success-surface:#dde6ce;--theme-radius:10px;--theme-control-radius:6px;--theme-panel-shadow:inset 0 1px 0 #fffdf0c4, 0 2px 7px #453f2710;--theme-disclosure-icon:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3 6 5 5 5-5' fill='none' stroke='%233b5548' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.7'/%3E%3C/svg%3E");--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light}:where([data-theme-island],.catalog-card,.country-hero,:root[data-game-theme]:not([data-shell-preview]) :is(.war-summary,.war-summary-dialog)){--theme-page:initial;--theme-surface:initial;--theme-raised:initial;--theme-recess:initial;--theme-hover:initial;--theme-selected:initial;--theme-field:initial;--theme-ink:initial;--theme-muted:initial;--theme-accent:initial;--theme-line:initial;--theme-line-soft:initial;--theme-line-strong:initial;--theme-action:initial;--theme-action-hover:initial;--theme-on-action:initial;--theme-tint:initial;--theme-danger:initial;--theme-danger-line:initial;--theme-danger-surface:initial;--theme-warning:initial;--theme-warning-line:initial;--theme-warning-surface:initial;--theme-success:initial;--theme-success-line:initial;--theme-success-surface:initial;--theme-heading-font:initial;--theme-radius:initial;--theme-control-radius:initial;--theme-panel-shadow:initial;--theme-disclosure-icon:initial;--page:#101e1b;--surface:#1b2d26;--surface-muted:#253b30;--ink:#e8ede6;--muted:#b0bfb2;--line:#35473c;--gold:#e5c58c;--green:#dfbd7c;--green-hover:#f5d597;--radius:12px;--text:initial;--border:initial;--panel:initial;--accent:initial;color:var(--ink);--lightningcss-light: ;--lightningcss-dark:initial;color-scheme:dark}h1,h2,h3{font-family:var(--theme-heading-font,inherit)}.game-panel,.native-stats>div,.world-stat-card,.science-toolbar,.food-forecast{box-shadow:var(--theme-panel-shadow,none)}:root[data-game-theme] :where(input,textarea):not(:where([data-theme-island] *))::placeholder{color:var(--theme-muted);opacity:1}:root[data-game-theme] .shell-appearance-picker{background:var(--theme-recess);color:var(--theme-ink);border-color:var(--theme-line)}:root[data-game-theme] .shell-appearance-options button{background:var(--theme-surface);color:var(--theme-ink);border-radius:var(--theme-control-radius)}:root[data-game-theme] .shell-appearance-options button:hover{background:var(--theme-hover)}:root[data-game-theme] .shell-appearance-options button[aria-pressed=true]{color:var(--theme-on-action);background:var(--theme-action);border-color:var(--theme-action)}:root[data-game-theme] .shell-appearance-options button:focus-visible{outline-color:var(--theme-accent)}:root{--app-safe-top:calc(max(env(safe-area-inset-top,0px), var(--runvar-tg-safe-top,0px)) + var(--runvar-tg-content-top,0px));--app-safe-right:calc(max(env(safe-area-inset-right,0px), var(--runvar-tg-safe-right,0px)) + var(--runvar-tg-content-right,0px));--app-safe-bottom:calc(max(env(safe-area-inset-bottom,0px), var(--runvar-tg-safe-bottom,0px)) + var(--runvar-tg-content-bottom,0px));--app-safe-left:calc(max(env(safe-area-inset-left,0px), var(--runvar-tg-safe-left,0px)) + var(--runvar-tg-content-left,0px));--app-viewport-height:min(100dvh, var(--runvar-tg-stable-height,100dvh))}.telegram-mini-app{scroll-padding-top:calc(var(--app-safe-top) + 16px);scroll-padding-bottom:calc(var(--app-safe-bottom) + 84px)}.telegram-mini-app,.telegram-mini-app body{overscroll-behavior-y:none;background:var(--page)}.telegram-mini-app :is(dialog,.sidebar){overscroll-behavior-y:none}.telegram-mini-app body:before{content:"";height:var(--app-safe-top);z-index:50;background:var(--page);pointer-events:none;position:fixed;inset:0 0 auto}.telegram-mini-app :is(input:not([type=hidden]):not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]):not([type=file]):not([type=submit]):not([type=reset]):not([type=button]):not([type=image]),textarea,select){font-size:max(16px,1rem)}.telegram-mini-app #root{padding:var(--app-safe-top) var(--app-safe-right) var(--app-safe-bottom) var(--app-safe-left)}.telegram-mini-app :is(.workspace,.guest-shell,.initial-loading){min-height:calc(var(--app-viewport-height) - var(--app-safe-top) - var(--app-safe-bottom))}.telegram-mini-app .workspace{padding-bottom:calc(76px + var(--app-safe-bottom))}.telegram-mini-app :is(.resource-bar,.error-banner,.military-alerts){top:var(--app-safe-top)}.telegram-mini-app .skip-link{top:calc(12px + var(--app-safe-top));left:calc(12px + var(--app-safe-left))}.telegram-mini-app :is(.sidebar,.native-menu-dialog){left:var(--app-safe-left);padding:var(--app-safe-top) 0 var(--app-safe-bottom)}.telegram-mini-app .native-menu-dialog{right:var(--app-safe-right);max-width:calc(100vw - var(--app-safe-left) - var(--app-safe-right));height:var(--app-viewport-height);max-height:var(--app-viewport-height)}.telegram-mini-app .mobile-bottom-nav{padding:6px calc(6px + var(--app-safe-right)) calc(6px + var(--app-safe-bottom)) calc(6px + var(--app-safe-left))}.telegram-mini-app :is(dialog.game-content,.after-mentor-confirm){top:calc((var(--app-safe-top) + var(--app-viewport-height) - var(--app-safe-bottom)) / 2);right:var(--app-safe-right);bottom:auto;left:var(--app-safe-left);max-width:calc(100vw - 32px - var(--app-safe-left) - var(--app-safe-right));max-height:calc(var(--app-viewport-height) - 32px - var(--app-safe-top) - var(--app-safe-bottom));margin:0 auto;position:fixed;transform:translateY(-50%)}.telegram-mini-app .request-status{bottom:calc(84px + var(--app-safe-bottom));max-width:calc(100vw - 32px - var(--app-safe-left) - var(--app-safe-right))}.telegram-mini-app .language-load-status{right:calc(16px + var(--app-safe-right));bottom:calc(16px + var(--app-safe-bottom));left:calc(16px + var(--app-safe-left));max-width:calc(100vw - 32px - var(--app-safe-left) - var(--app-safe-right))}@media (min-width:761px){.telegram-mini-app .workspace{padding-bottom:0}}
