@import"https://fonts.googleapis.com/css2?family=Cinzel:wght@500;700&family=Manrope:wght@400;600;700&display=swap";.map-exploration-form[data-v-74c7505b]{display:grid;gap:var(--space-sm);margin-top:var(--space-md);padding:var(--space-md);border:1px solid var(--line);border-radius:14px;background:var(--card-soft)}.map-exploration-grid[data-v-74c7505b]{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-sm);align-items:stretch}.map-exploration-grid label[data-v-74c7505b]{display:grid;gap:4px;font-weight:700}.map-attack-target[data-v-74c7505b]{display:grid;gap:2px;padding:10px 12px;border:1px solid color-mix(in srgb,var(--state-danger) 45%,var(--line));border-radius:10px;background:color-mix(in srgb,var(--state-danger) 8%,var(--card-soft))}.map-attack-target>span[data-v-74c7505b]{color:var(--ink-soft);font-size:.78rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.map-attack-target small[data-v-74c7505b]{color:var(--ink-soft)}.map-exploration-grid select[data-v-74c7505b],.map-exploration-grid input[data-v-74c7505b]{width:100%}.exploration-source-picker[data-v-74c7505b]{display:flex;gap:6px}.exploration-source-picker select[data-v-74c7505b]{min-width:0;flex:1 1 auto}.map-source-picker-btn[data-v-74c7505b]{flex:0 0 auto;width:40px;min-width:40px;min-height:40px;padding:8px}.map-source-picker-btn svg[data-v-74c7505b]{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round}.map-source-picker-btn.active[data-v-74c7505b]{border-color:#347956;background:var(--brand-2);color:#fff}.integration-action-button[data-v-74c7505b]:after{content:attr(data-administration-preview);display:block;margin-top:2px;font-size:.78rem;font-weight:700;opacity:.9}.integration-box-heading[data-v-74c7505b]{align-items:center;display:flex;gap:8px;justify-content:space-between}.integration-help-button[data-v-74c7505b]{align-items:center;background:#fffaf0d1;border:1px solid rgba(118,91,55,.46);border-radius:50%;color:#72532f;cursor:pointer;display:inline-flex;flex:0 0 auto;font-family:Cinzel,serif;font-size:.84rem;font-weight:800;height:26px;justify-content:center;line-height:1;padding:0;width:26px}.integration-help-button[data-v-74c7505b]:hover,.integration-help-button[data-v-74c7505b]:focus-visible{background:#f5e3bf;border-color:#9f6e31;box-shadow:0 0 0 3px #b5854426;transform:none}.integration-confirmation-overlay[data-v-74c7505b]{align-items:center;background:#281d136b;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:18px;position:fixed;z-index:1300}.integration-confirmation-dialog[data-v-74c7505b]{box-shadow:0 20px 54px #2f20124d;display:grid;gap:14px;max-width:510px;padding:clamp(22px,4vw,32px);position:relative;width:min(510px,100%)}.integration-confirmation-dialog h3[data-v-74c7505b],.integration-confirmation-dialog p[data-v-74c7505b]{margin:0}.integration-confirmation-dialog h3[data-v-74c7505b]{margin-right:34px}.integration-help-dialog>p[data-v-74c7505b]:not(.eyebrow){color:var(--ink-soft);line-height:1.55}.integration-confirmation-close[data-v-74c7505b]{align-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink-soft);cursor:pointer;display:inline-flex;font-size:1.3rem;height:30px;justify-content:center;line-height:1;padding:0;position:absolute;right:16px;top:16px;width:30px}.integration-confirmation-close[data-v-74c7505b]:hover,.integration-confirmation-close[data-v-74c7505b]:focus-visible{background:#f6e9d0;color:#3b3125;transform:none}.integration-confirmation-route[data-v-74c7505b]{align-items:stretch;background:var(--card-soft);border:1px solid var(--line);border-radius:14px;display:grid;gap:10px;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);padding:14px}.integration-confirmation-route div[data-v-74c7505b]{display:grid;gap:3px;min-width:0}.integration-confirmation-route span[data-v-74c7505b]:not(.integration-confirmation-arrow){color:var(--ink-soft);font-size:.76rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.integration-confirmation-route strong[data-v-74c7505b]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.integration-confirmation-arrow[data-v-74c7505b]{align-self:center;color:var(--brand-dark);font-size:1.4rem;font-weight:800}.integration-confirmation-administration[data-v-74c7505b]{color:#74522e}.integration-confirmation-warning[data-v-74c7505b]{border-left:3px solid #c87932;color:#765334;font-weight:700;padding-left:11px}.integration-confirmation-actions[data-v-74c7505b]{display:flex;flex-wrap:wrap-reverse;gap:10px;justify-content:flex-end}@media (max-width: 440px){.integration-confirmation-route[data-v-74c7505b]{grid-template-columns:1fr}.integration-confirmation-arrow[data-v-74c7505b]{justify-self:center;transform:rotate(90deg)}.integration-confirmation-actions>button[data-v-74c7505b]{flex:1 1 100%}}[data-v-74c7505b] .map-source-selectable .hex-cell{stroke:var(--brand);stroke-width:2.4;filter:drop-shadow(0 0 5px rgba(207,107,45,.65))}@media (max-width: 640px){.map-exploration-grid[data-v-74c7505b]{grid-template-columns:1fr}}.assignment-target-control[data-v-ca60b50b]{display:flex;align-items:center;justify-content:flex-end;gap:18px;margin-left:auto;min-width:min(100%,370px)}.assignment-target-status[data-v-ca60b50b]{display:flex;align-items:center;gap:10px;color:#74675a;font-size:.82rem;white-space:nowrap}.assignment-target-status strong[data-v-ca60b50b]{color:#3d352d;font-size:.96rem}.assignment-target-actions[data-v-ca60b50b]{display:flex;align-items:center;gap:6px}.assignment-target-actions>button[data-v-ca60b50b]{margin-top:0!important;min-height:38px;padding:7px 10px}.assignment-shortcut[data-v-ca60b50b]{min-width:44px}.assignment-step[data-v-ca60b50b]{display:grid;min-width:38px;padding:0!important;place-items:center}.assignment-step svg[data-v-ca60b50b]{fill:none;height:18px;stroke:currentColor;stroke-linecap:round;stroke-width:2.4;width:18px}.assignment-target-input input[data-v-ca60b50b]{width:68px;min-height:38px;padding:7px;border:1px solid var(--line);border-radius:10px;background:#fffdf8;color:#3d352d;font:inherit;font-weight:700;text-align:center}.assignment-apply[data-v-ca60b50b]{margin-left:auto;white-space:nowrap}.assignment-spinner[data-v-ca60b50b]{width:13px;height:13px;margin-right:6px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;display:inline-block;animation:assignment-spin-ca60b50b .7s linear infinite;vertical-align:-2px}@keyframes assignment-spin-ca60b50b{to{transform:rotate(360deg)}}@media (max-width: 760px){.assignment-target-control[data-v-ca60b50b]{align-items:stretch;flex-direction:column;gap:8px;margin-left:0;width:100%}.assignment-target-status[data-v-ca60b50b]{justify-content:space-between}.assignment-target-actions[data-v-ca60b50b]{display:grid;grid-template-columns:44px 44px minmax(64px,1fr) 44px 58px minmax(125px,1fr);width:100%}.assignment-target-actions button[data-v-ca60b50b]{min-width:0}.assignment-target-input[data-v-ca60b50b]{min-width:64px}.assignment-target-input input[data-v-ca60b50b]{box-sizing:border-box;width:100%}.assignment-apply[data-v-ca60b50b]{margin-left:0}}@media (max-width: 440px){.assignment-target-actions[data-v-ca60b50b]{grid-template-columns:40px 40px minmax(64px,1fr) 40px 58px}.assignment-apply[data-v-ca60b50b]{grid-column:1 / -1}}.mail-actions[data-v-16aa491b]{display:flex;flex-wrap:wrap;gap:8px;align-items:center;align-self:center}.war-review[data-v-1cf384c0]{max-width:1080px;margin:0 auto}.war-review-head[data-v-1cf384c0],.war-round header[data-v-1cf384c0],.round-sides[data-v-1cf384c0],.war-meta[data-v-1cf384c0],.round-damage[data-v-1cf384c0],.modifier-sides[data-v-1cf384c0]{display:flex;gap:1rem}.war-review-head[data-v-1cf384c0]{align-items:center;margin-bottom:1rem}.eyebrow[data-v-1cf384c0]{color:#7b5a3a;font-weight:700;margin:0}.war-review h2[data-v-1cf384c0]{margin:0}.war-meta[data-v-1cf384c0]{flex-wrap:wrap;padding:.8rem 1rem;background:#fff8e9;border:1px solid #ead5ad;border-radius:14px}.siege-status[data-v-1cf384c0]{margin-top:1rem;padding:.85rem 1rem;border:1px solid #c99a50;border-radius:14px;background:#f9ecd1;color:#63401e;font-weight:600}.opening-units[data-v-1cf384c0],.damage-by-type[data-v-1cf384c0],.dice-by-type[data-v-1cf384c0],.remaining-units[data-v-1cf384c0],.combat-modifiers[data-v-1cf384c0],.combat-counters[data-v-1cf384c0]{margin-top:.7rem;overflow-x:auto}.opening-units h3[data-v-1cf384c0],.damage-by-type h3[data-v-1cf384c0],.dice-by-type h3[data-v-1cf384c0],.remaining-units h3[data-v-1cf384c0],.combat-modifiers h3[data-v-1cf384c0]{margin:0 0 .4rem;font-size:1rem}.dice-by-type p[data-v-1cf384c0],.combat-modifiers>p[data-v-1cf384c0],.combat-counters p[data-v-1cf384c0]{margin:.1rem 0 .45rem;color:#655845;font-size:.85rem}.opening-units table[data-v-1cf384c0],.damage-by-type table[data-v-1cf384c0],.dice-by-type table[data-v-1cf384c0],.remaining-units table[data-v-1cf384c0],.combat-counters table[data-v-1cf384c0]{width:100%;border-collapse:collapse;background:#f8f2e7}.opening-units th[data-v-1cf384c0],.opening-units td[data-v-1cf384c0],.damage-by-type th[data-v-1cf384c0],.damage-by-type td[data-v-1cf384c0],.dice-by-type th[data-v-1cf384c0],.dice-by-type td[data-v-1cf384c0],.remaining-units th[data-v-1cf384c0],.remaining-units td[data-v-1cf384c0],.combat-counters th[data-v-1cf384c0],.combat-counters td[data-v-1cf384c0]{padding:.35rem .55rem;border:1px solid #eadfce;text-align:right}.opening-units th[data-v-1cf384c0]:first-child,.damage-by-type th[data-v-1cf384c0]:first-child,.dice-by-type th[data-v-1cf384c0]:first-child,.remaining-units th[data-v-1cf384c0]:first-child,.combat-counters th[data-v-1cf384c0]:first-child{text-align:left}.opening-units thead th[data-v-1cf384c0],.damage-by-type thead th[data-v-1cf384c0],.dice-by-type thead th[data-v-1cf384c0],.remaining-units thead th[data-v-1cf384c0],.combat-counters thead th[data-v-1cf384c0]{background:#eee0c6;color:#5e4630}.opening-units tfoot[data-v-1cf384c0],.remaining-units tfoot[data-v-1cf384c0]{background:#eee0c6;color:#4e3827;font-weight:700}.combat-modifiers[data-v-1cf384c0]{padding:.8rem 1rem;border:1px solid #c7dcc6;border-radius:14px;background:#f2f8ed}.modifier-side[data-v-1cf384c0]{flex:1;min-width:250px}.modifier-side h4[data-v-1cf384c0]{margin:0 0 .3rem;color:#365c3f}.modifier-side ul[data-v-1cf384c0]{margin:0;padding-left:1.2rem}.modifier-side li[data-v-1cf384c0]{margin:.2rem 0}.combat-counters[data-v-1cf384c0]{padding:.75rem 1rem;border:1px solid #ead5ad;border-radius:14px;background:#fff8e9}.combat-counters summary[data-v-1cf384c0]{cursor:pointer;font-weight:700;color:#5e4630}.war-round[data-v-1cf384c0]{margin-top:1rem;padding:1rem;border:1px solid #e6cfaa;border-left:5px solid #9b5b36;border-radius:14px;background:#fffdf8}.war-round header[data-v-1cf384c0]{justify-content:space-between;align-items:flex-start}.war-round header span[data-v-1cf384c0]{display:block;color:#756b60;font-size:.9rem}.round-damage[data-v-1cf384c0]{flex-wrap:wrap;justify-content:flex-end;color:#70462f;font-size:.9rem}.initiative[data-v-1cf384c0]{font-size:.9rem;color:#655845}.round-sides[data-v-1cf384c0]{margin-top:.7rem}.round-side[data-v-1cf384c0]{flex:1;min-width:240px;padding:.7rem;border-radius:10px;background:#f6efe3}.round-side h3[data-v-1cf384c0]{margin:0 0 .45rem;font-size:1rem}.unit-change[data-v-1cf384c0]{display:flex;justify-content:space-between;gap:.75rem;padding:.2rem 0;border-bottom:1px solid #eadfce}.unit-change[data-v-1cf384c0]:last-child{border-bottom:0}.war-loot[data-v-1cf384c0]{margin-top:1rem;padding:.8rem;border-radius:10px;background:#f6e5b5}@media (max-width:650px){.war-round header[data-v-1cf384c0],.round-sides[data-v-1cf384c0],.modifier-sides[data-v-1cf384c0]{flex-direction:column}.round-damage[data-v-1cf384c0]{justify-content:flex-start}}.logbook-tab[data-v-51845116]{padding:1.4rem}.logbook-heading[data-v-51845116],.logbook-entry-topline[data-v-51845116]{display:flex;align-items:baseline;justify-content:space-between;gap:1rem}.logbook-heading h2[data-v-51845116]{margin:.1rem 0 0}.section-kicker[data-v-51845116]{color:#795d3d;font-size:.78rem;font-weight:700;letter-spacing:.08em;margin:0;text-transform:uppercase}.logbook-count[data-v-51845116]{color:#746b61;font-weight:700;white-space:nowrap}.manual-log-form[data-v-51845116]{display:grid;grid-template-columns:150px 210px minmax(220px,1fr) auto;gap:.6rem;align-items:end;margin:1.2rem 0}.manual-log-form label[data-v-51845116]{display:grid;gap:.25rem;color:#675847;font-size:.82rem;font-weight:700}.manual-log-form input[data-v-51845116],.manual-log-form select[data-v-51845116]{min-width:0}.logbook-filters[data-v-51845116]{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.3rem 0 .75rem}.logbook-filter[data-v-51845116]{background:#f3e7cd;border:1px solid #d9bc8a;border-radius:999px;color:#553d29;padding:.45rem .75rem}.logbook-filter.active[data-v-51845116]{background:#d89b46;border-color:#b87925;color:#fffdf6}.logbook-territory-filter[data-v-51845116]{align-items:center;color:#675847;display:flex;font-size:.88rem;font-weight:700;gap:.55rem;margin:0 0 1.3rem}.logbook-territory-filter select[data-v-51845116]{max-width:100%;min-width:220px}.logbook-list[data-v-51845116]{display:grid;gap:.65rem;list-style:none;margin:0;padding:0}.logbook-entry[data-v-51845116]{align-items:flex-start;background:#fffaf0;border-left:4px solid #7b5a3a;border-radius:.7rem;display:flex;gap:.8rem;padding:.8rem .9rem}.logbook-entry-unread[data-v-51845116]{background:#fff2d8;box-shadow:0 0 0 1px #e6b96f,0 5px 14px #9560191c}.logbook-entry-unread .logbook-entry-topline strong[data-v-51845116]{color:#593b1e}.logbook-entry p[data-v-51845116]{color:#665d54;margin:.25rem 0 0}.logbook-entry time[data-v-51845116]{color:#766c61;font-size:.82rem;white-space:nowrap}.logbook-entry-body[data-v-51845116]{min-width:0;width:100%}.logbook-entry-actions[data-v-51845116]{align-self:center;display:flex;gap:.4rem}.manual-entry-delete[data-v-51845116]{background:transparent;border:0;color:#9d433a;font-size:1.6rem;line-height:1;padding:.1rem .35rem}.logbook-type-icon[data-v-51845116]{align-items:center;background:#efe0c2;border-radius:50%;color:#68492f;display:inline-flex;flex:0 0 2rem;height:2rem;justify-content:center}.logbook-type-icon svg[data-v-51845116]{fill:none;height:1.15rem;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:1.15rem}.logbook-building[data-v-51845116]{border-color:#a86f38}.logbook-building .logbook-type-icon[data-v-51845116]{background:#f5e1c9;color:#99571f}.logbook-research[data-v-51845116]{border-color:#597ba7}.logbook-research .logbook-type-icon[data-v-51845116]{background:#dce9f6;color:#3d6796}.logbook-mission[data-v-51845116]{border-color:#5a9176}.logbook-mission .logbook-type-icon[data-v-51845116]{background:#dff0e5;color:#397458}.logbook-territory[data-v-51845116]{border-color:#8061a3}.logbook-territory .logbook-type-icon[data-v-51845116]{background:#eee3f7;color:#694583}.logbook-war[data-v-51845116]{border-color:#ba4d43}.logbook-war .logbook-type-icon[data-v-51845116]{background:#f7dedb;color:#a13b34}.logbook-alliance[data-v-51845116]{border-color:#b38c2d}.logbook-alliance .logbook-type-icon[data-v-51845116]{background:#f6eccf;color:#98751e}.logbook-reminder[data-v-51845116]{border-color:#b38c2d}.logbook-reminder .logbook-type-icon[data-v-51845116]{background:#f6eccf;color:#98751e}.logbook-note[data-v-51845116]{border-color:#607b6f}.logbook-note .logbook-type-icon[data-v-51845116]{background:#e1ece5;color:#486b5a}.logbook-economy[data-v-51845116]{border-color:#607b6f}.logbook-economy .logbook-type-icon[data-v-51845116]{background:#e1ece5;color:#486b5a}.logbook-pagination[data-v-51845116]{align-items:center;display:flex;gap:.8rem;justify-content:center;margin-top:1rem}.logbook-pagination span[data-v-51845116]{color:#746b61;font-size:.9rem;font-weight:700;white-space:nowrap}@media (max-width:760px){.manual-log-form[data-v-51845116]{grid-template-columns:1fr 1fr}.manual-log-text[data-v-51845116]{grid-column:1/-1}.manual-log-form button[data-v-51845116]{justify-self:start}}@media (max-width:620px){.logbook-heading[data-v-51845116],.logbook-entry-topline[data-v-51845116]{align-items:flex-start;flex-direction:column;gap:.15rem}.manual-log-form[data-v-51845116]{grid-template-columns:1fr}.manual-log-text[data-v-51845116]{grid-column:auto}.logbook-territory-filter[data-v-51845116]{align-items:stretch;flex-direction:column}.logbook-territory-filter select[data-v-51845116]{min-width:0;width:100%}.logbook-pagination[data-v-51845116]{gap:.45rem}.logbook-pagination button[data-v-51845116]{padding-inline:.65rem}}.game-help[data-v-1bef933e]{padding:clamp(18px,3vw,34px)}.game-help-hero[data-v-1bef933e]{align-items:end;display:grid;gap:24px;grid-template-columns:minmax(0,1.4fr) minmax(260px,.9fr)}.game-help-kicker[data-v-1bef933e]{color:var(--brand);font-size:.76rem;font-weight:800;letter-spacing:.14em;margin:0 0 6px;text-transform:uppercase}h2[data-v-1bef933e]{margin:0}.game-help-hero>div>p[data-v-1bef933e]:last-child,.game-help-detail-header p[data-v-1bef933e],.game-help-intro[data-v-1bef933e]{color:var(--ink-soft);line-height:1.55;margin-bottom:0;max-width:58ch}.game-help-intro[data-v-1bef933e]{border-left:3px solid var(--brand);margin:0;padding:10px 0 10px 15px}.game-help-grid[data-v-1bef933e]{display:grid;gap:14px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:26px}.game-help-section[data-v-1bef933e]{background:linear-gradient(145deg,#ffffffb8,#f9eed7b3);border:1px solid var(--line-2);border-left:4px solid var(--section-color, var(--brand));border-radius:14px;display:grid;gap:13px;grid-template-columns:auto 1fr;padding:16px}.game-help-section h3[data-v-1bef933e],.game-help-detail-content h3[data-v-1bef933e]{margin:0}.game-help-section p[data-v-1bef933e],.game-help-detail-content p[data-v-1bef933e]{color:var(--ink-soft);line-height:1.5;margin:5px 0 8px}.game-help-section ul[data-v-1bef933e],.game-help-detail-content ul[data-v-1bef933e]{color:#51483d;display:grid;gap:5px;line-height:1.4;margin:0;padding-left:18px}.game-help-icon[data-v-1bef933e]{align-items:center;background:color-mix(in srgb,var(--section-color, var(--brand)) 12%,white);border:1px solid color-mix(in srgb,var(--section-color, var(--brand)) 45%,white);border-radius:10px;color:var(--section-color, var(--brand));display:flex;font-family:Cinzel,serif;font-size:.82rem;font-weight:800;height:36px;justify-content:center;width:36px}.game-help-detail-link[data-v-1bef933e],.game-help-back[data-v-1bef933e]{background:transparent;border:0;color:var(--section-color, var(--brand));cursor:pointer;font:inherit;font-weight:800;margin-top:14px;padding:4px 0;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:4px}.game-help-detail-link span[data-v-1bef933e]{display:inline-block;margin-left:4px;transition:transform .16s ease}.game-help-detail-link:hover span[data-v-1bef933e]{transform:translate(4px)}.game-help-detail[data-v-1bef933e]{--section-color: var(--brand);background:linear-gradient(145deg,#ffffffc7,#f9eed7b8);border:1px solid var(--line-2);border-left:4px solid var(--section-color);border-radius:16px;padding:clamp(18px,3vw,32px)}.game-help-detail-header[data-v-1bef933e]{align-items:flex-start;display:grid;gap:14px;grid-template-columns:auto 1fr;margin-top:18px}.game-help-detail-header .game-help-icon[data-v-1bef933e]{height:46px;width:46px}.game-help-detail-content[data-v-1bef933e]{display:grid;gap:22px;margin:28px 0 8px 60px;max-width:74ch}.game-help-detail-content section[data-v-1bef933e]{border-top:1px solid color-mix(in srgb,var(--section-color) 24%,transparent);padding-top:18px}.counter-help[data-v-1bef933e]{margin-top:14px}.counter-help h4[data-v-1bef933e]{margin:0 0 6px}.counter-legend[data-v-1bef933e]{display:flex;flex-wrap:wrap;gap:10px;margin:10px 0}.counter-legend-item[data-v-1bef933e]{align-items:center;display:inline-flex;gap:5px;font-size:.84rem}.counter-table-wrap[data-v-1bef933e]{overflow-x:auto}.counter-table[data-v-1bef933e]{border-collapse:collapse;min-width:520px;width:100%}.counter-table th[data-v-1bef933e],.counter-table td[data-v-1bef933e]{border:1px solid var(--line-2);padding:8px;text-align:center}.counter-table th[data-v-1bef933e]{background:#f9eed7b8}.counter-dot[data-v-1bef933e]{border-radius:50%;display:inline-block;height:12px;width:12px}.lvl-very-bad[data-v-1bef933e]{background:#a94c45}.lvl-bad[data-v-1bef933e]{background:#d49245}.lvl-neutral[data-v-1bef933e]{background:#8b8377}.lvl-good[data-v-1bef933e]{background:#77a84d}.lvl-very-good[data-v-1bef933e]{background:#3f7e45}.help-start[data-v-1bef933e]{--section-color: #b5652e}.help-territory[data-v-1bef933e]{--section-color: #5c7892}.help-economy[data-v-1bef933e]{--section-color: #5d8a50}.help-build[data-v-1bef933e]{--section-color: #9a7148}.help-research[data-v-1bef933e]{--section-color: #7360a5}.help-satisfaction[data-v-1bef933e]{--section-color: #bd8b35}.help-travel[data-v-1bef933e]{--section-color: #3f8991}.help-war[data-v-1bef933e]{--section-color: #b34c42}.help-social[data-v-1bef933e]{--section-color: #69717d}@media (max-width: 780px){.game-help-hero[data-v-1bef933e],.game-help-grid[data-v-1bef933e]{grid-template-columns:1fr}.game-help-detail-content[data-v-1bef933e]{margin-left:0}.game-help-detail-header[data-v-1bef933e]{grid-template-columns:1fr}.game-help-detail-header .game-help-icon[data-v-1bef933e]{height:36px;width:36px}}.alliance-create-actions[data-v-f8058028]{min-width:min(680px,100%)}.alliance-create-input[data-v-f8058028]{min-width:min(520px,100%)}.alliance-join-actions[data-v-f8058028]{display:flex;flex-wrap:nowrap;align-items:center;gap:8px;min-width:min(680px,100%)}.alliance-join-select[data-v-f8058028]{min-width:min(230px,100%)}.alliance-headline-row[data-v-f8058028]{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.alliance-headline-name[data-v-f8058028]{margin-right:8px}.alliance-headline-points[data-v-f8058028]{white-space:nowrap}.alliance-expand-icon[data-v-f8058028]{width:28px;height:28px;min-width:28px;padding:4px;border-radius:999px;background:#f6ead2;color:#5d4628;border:1px solid #dec196}.alliance-expand-icon svg[data-v-f8058028]{width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round}.alliance-members-expanded[data-v-f8058028]{margin-top:6px;margin-left:28px;display:grid;gap:4px}.alliance-member-line[data-v-f8058028]{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:baseline}.alliance-member-dot[data-v-f8058028]{margin-left:7px}.alliance-chat[data-v-f8058028]{display:grid;gap:8px;max-height:360px;overflow-y:auto;padding:10px;border:1px solid #ead4ae;border-radius:14px;background:#fffaf0}.alliance-chat-message[data-v-f8058028]{max-width:min(80%,720px);padding:9px 12px;border:1px solid #ead9bd;border-radius:12px 12px 12px 3px;background:#fffdf8}.alliance-chat-message-own[data-v-f8058028]{justify-self:end;border-color:#8fc29d;border-radius:12px 12px 3px;background:#e9f4e8}.alliance-chat-meta[data-v-f8058028]{display:flex;flex-wrap:wrap;gap:8px;color:#655b4f;font-size:.84rem}.alliance-chat-meta span[data-v-f8058028]{color:#84796c}.alliance-chat-content[data-v-f8058028]{margin-top:3px;white-space:pre-wrap;overflow-wrap:anywhere}.alliance-chat-empty[data-v-f8058028]{margin:6px}.alliance-chat-compose[data-v-f8058028]{margin-top:10px;padding:10px;border:1px solid #ead4ae;border-radius:14px;background:linear-gradient(180deg,#fffdf8,#fff8ea)}.alliance-chat-compose textarea[data-v-f8058028]{display:block;width:100%;min-height:92px;box-sizing:border-box;padding:11px 12px;border:1px solid #ccab7f;border-radius:10px;background:#fffefb;color:#352a1c;font:inherit;line-height:1.45;resize:vertical;transition:border-color .16s ease,box-shadow .16s ease,background .16s ease}.alliance-chat-compose textarea[data-v-f8058028]::placeholder{color:#84796c}.alliance-chat-compose textarea[data-v-f8058028]:focus{outline:none;border-color:#d27d3d;background:#fff;box-shadow:0 0 0 3px #cf6b2d33}.alliance-chat-compose textarea[data-v-f8058028]:disabled{cursor:not-allowed;background:#f4ede1;color:#84796c}.alliance-chat-actions[data-v-f8058028]{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-top:6px}@media (max-width: 900px){.alliance-join-actions[data-v-f8058028]{flex-wrap:wrap}.alliance-join-select[data-v-f8058028],.alliance-create-input[data-v-f8058028]{min-width:100%}.alliance-chat-message[data-v-f8058028]{max-width:92%}.alliance-chat-actions[data-v-f8058028]{align-items:flex-end}}.ranking-heading[data-v-8064185b]{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:10px}.ranking-heading h3[data-v-8064185b]{margin:0}.ranking-sort-label[data-v-8064185b]{display:grid;gap:4px;color:var(--muted, #6f6257);font-size:.8rem}.ranking-sort-label select[data-v-8064185b]{min-width:210px}.ranking-player-row[data-v-8064185b]{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 11px;border:1px solid #ead9b8;border-radius:12px;background:#fffbf1b8}.ranking-player-row+.ranking-player-row[data-v-8064185b]{margin-top:7px}.ranking-player-row-own[data-v-8064185b]{border-color:#c99532;border-left:5px solid #bd7b2f;padding-left:7px;background:linear-gradient(90deg,#f7de9f6b,#fffbf1d1);box-shadow:0 2px 9px #8b5b2321}.ranking-player-row-own strong[data-v-8064185b],.ranking-player-row-own .ranking-value[data-v-8064185b],.ranking-player-row-own .ranking-position[data-v-8064185b]{font-weight:700}.ranking-position[data-v-8064185b]{color:#896436;font-variant-numeric:tabular-nums}.ranking-value[data-v-8064185b]{text-align:right;font-variant-numeric:tabular-nums}.ranking-alliance-row+.ranking-alliance-row[data-v-8064185b]{margin-top:10px}@media (max-width: 640px){.ranking-heading[data-v-8064185b]{align-items:stretch;flex-direction:column}.ranking-sort-label select[data-v-8064185b]{min-width:0;width:100%}.ranking-player-row[data-v-8064185b]{grid-template-columns:auto minmax(0,1fr)}.ranking-value[data-v-8064185b]{grid-column:2;text-align:left}}:root{--bg: #f8f1df;--bg-2: #e8f3ec;--sand: #fff6e6;--ink: #2f2a24;--ink-soft: #6e6358;--brand: #cf6b2d;--brand-2: #4d9a72;--line: #e5cfab;--line-2: #f0e3ca;--card: rgba(255, 251, 243, .94);--card-soft: rgba(253, 245, 229, .78);--space-xs: 6px;--space-sm: 10px;--space-md: 16px;--space-lg: 24px;--terrain-grass: #6F8F52;--terrain-forest: #4E6B3A;--terrain-stone: #7F7C74;--terrain-water: #4F7EA8;--terrain-wasteland: #8C6F52;--building-base: #C9B28E;--building-roof: #7A4E3A;--building-wood: #7B5A3A;--building-shadow: #2F241B;--state-under-construction: #D39B2A;--state-built: #3FA36A;--state-damaged: #C94B43;--state-locked: #6F7680}*{box-sizing:border-box}body{margin:0;font-family:Manrope,sans-serif;color:var(--ink);background:radial-gradient(1100px 500px at -8% -12%,#d5efe3 0%,transparent 64%),radial-gradient(1000px 460px at 110% -5%,#ffe6b7 0%,transparent 68%),linear-gradient(180deg,#dff1ff 0%,var(--bg-2) 38%,var(--bg) 100%);background-attachment:fixed;min-height:100vh}.page{width:min(1320px,95vw);margin:0 auto;padding:24px 0 56px}.hero{display:flex;justify-content:space-between;align-items:flex-end;gap:16px;margin-bottom:18px;position:relative;z-index:1100}.hero h1{font-family:Cinzel,serif;margin:0;letter-spacing:.04em;color:#325446;text-shadow:0 3px 14px rgba(255,255,255,.5)}.status{display:flex;gap:10px;align-items:center;color:#3d352d;background:#fffaf0e6;border:1px solid #e6d3b1;border-radius:999px;padding:6px 8px 6px 14px}.status-user{font-weight:700}.dashboard,.auth-grid{display:grid;gap:16px}.intro-active>:not(.intro-view){pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.28;filter:grayscale(.25) blur(.2px) brightness(.94);transition:opacity .45s ease,filter .45s ease,transform .45s ease;transform:scale(.995)}.intro-view{pointer-events:auto;animation:introReveal .5s ease both}.arrival-active>:not(.arrival-view){pointer-events:none;-webkit-user-select:none;user-select:none;opacity:.32;filter:grayscale(.2) blur(.2px)}.arrival-view{min-height:min(620px,calc(100vh - 170px));display:grid;place-items:center;padding:clamp(22px,5vw,72px) 0;animation:introReveal .45s ease both}.arrival-panel{width:min(100%,630px);position:relative;overflow:hidden;padding:clamp(32px,6vw,64px);text-align:center;border:1px solid #ddc69a;background:radial-gradient(circle at 50% 6%,rgba(255,219,140,.34),transparent 13rem),linear-gradient(150deg,#fffdf6fa,#f7edd7f5);box-shadow:0 24px 60px #48382129}.arrival-panel:before,.arrival-panel:after{content:"";position:absolute;width:180px;height:180px;border:1px solid rgba(178,130,50,.22);border-radius:50%;pointer-events:none}.arrival-panel:before{top:-125px;left:-95px}.arrival-panel:after{right:-108px;bottom:-138px}.arrival-panel>*{position:relative;z-index:1}.arrival-crest{width:82px;height:94px;margin:0 auto 20px;display:grid;place-items:center;position:relative;overflow:hidden;clip-path:polygon(50% 0,92% 16%,86% 72%,50% 100%,14% 72%,8% 16%);border:3px solid #87672f;background:linear-gradient(150deg,#4e8969 0,#4e8969 52%,#c38a32 52%,#c38a32);box-shadow:0 5px 12px #362b193d}.arrival-crest-sun{width:28px;height:28px;border-radius:50%;background:#fff3ba;box-shadow:0 0 0 7px #ffefb12e;transform:translateY(-8px)}.arrival-crest-horizon{position:absolute;left:10px;right:10px;bottom:24px;height:18px;border-top:3px solid rgba(255,249,222,.9);border-radius:50% 50% 0 0}.arrival-overline{margin:0 0 9px;color:#96723b;font-family:Cinzel,serif;font-size:.75rem;font-weight:700;letter-spacing:.18em}.arrival-panel h2{margin:0;color:#365746;font-family:Cinzel,serif;font-size:clamp(1.7rem,4vw,2.45rem)}.arrival-lead{max-width:470px;margin:16px auto 0;color:#685d50;font-size:1rem;line-height:1.65}.arrival-progress,.arrival-ready,.arrival-error{width:min(100%,430px);margin:28px auto 0;padding:14px 16px;border-radius:12px;font-size:.86rem;line-height:1.45}.arrival-progress{display:grid;gap:10px;color:#6d6256;background:#fff9eeb8;border:1px solid #e6d4b4}.arrival-progress-track{height:7px;overflow:hidden;border-radius:999px;background:#e6dbc5}.arrival-progress-track span{display:block;width:36%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#cf8732,#5ca577);animation:arrivalProgress 1.45s ease-in-out infinite}.arrival-ready{display:flex;align-items:center;justify-content:center;gap:9px;color:#397351;background:#e3f4e5c2;border:1px solid #b9daba}.arrival-ready-mark{display:grid;place-items:center;width:22px;height:22px;border-radius:50%;color:#fff;background:#4b9b6e;font-weight:800}.arrival-error{display:grid;gap:3px;color:#8a3d32;background:#fff0e9;border:1px solid #e7b6a8}.arrival-actions{margin-top:28px}.arrival-actions button{min-width:min(100%,220px)}.arrival-footnote{margin:18px 0 0;color:#8b7d6d;font-size:.77rem;line-height:1.5}.arrival-reports{width:min(100%,500px);margin:28px auto 0;padding:18px;display:grid;gap:12px;text-align:left;border:1px solid rgba(178,130,50,.28);border-radius:16px;background:#fffcf4b3}.arrival-reports-heading{display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:#887866;font-size:.8rem}.arrival-reports-heading .arrival-overline{margin:0}.arrival-report{padding-top:12px;border-top:1px solid rgba(178,130,50,.18)}.arrival-report-meta{display:flex;align-items:center;justify-content:space-between;gap:10px;color:#8b7d6d;font-size:.76rem}.arrival-report-type{padding:3px 8px;border-radius:999px;font-weight:700}.arrival-report-type-news{color:#397351;background:#e4f2e4}.arrival-report-type-maintenance{color:#8a5925;background:#f8e2bf}.arrival-report strong{display:block;margin-top:8px;color:#4b4033}.arrival-report p{margin:5px 0 0;color:#695e51;white-space:pre-line;line-height:1.5}@keyframes arrivalProgress{0%{transform:translate(-115%)}50%{transform:translate(180%)}to{transform:translate(330%)}}@keyframes introReveal{0%{opacity:0;transform:translateY(10px) scale(.99)}to{opacity:1;transform:translateY(0) scale(1)}}.auth-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr))}.auth-card{width:min(100%,560px);justify-self:center}.auth-loading-card{display:grid;justify-items:center;gap:10px;padding:42px 24px;text-align:center}.auth-loading-card h2,.auth-loading-card p{margin:0}.auth-loading-spinner{width:34px;height:34px;border:4px solid #dce9dc;border-top-color:#3f9d68;border-radius:50%;animation:authLoadingSpin .85s linear infinite}@keyframes authLoadingSpin{to{transform:rotate(360deg)}}.auth-grid .card input{margin-bottom:10px;padding:12px 14px}.auth-grid .card button{margin-top:6px;padding:12px 18px;min-height:46px}.auth-hint{margin-top:10px}.auth-link{color:#2f6b4e;font-weight:700;text-decoration:underline;text-underline-offset:3px;cursor:pointer;border-radius:6px;padding:0 3px}.auth-link:hover,.auth-link:focus-visible{color:#b4541d;background:#fff0cf}.card{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px;box-shadow:0 14px 28px #78674b26;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px)}.card:hover{border-color:#dcb982}.card>*+*{margin-top:var(--space-md)}.card>h2+*,.card>h3+*,.card>h4+*{margin-top:var(--space-sm)}.card>.row+.row,.card>.mail-row+.mail-row,.card>.build-active-row+.build-active-row{margin-top:var(--space-sm)}.tabs{display:grid;gap:10px;background:#fff8ece6}.journey-section-nav{display:flex;flex-wrap:wrap;column-gap:1rem;row-gap:.6rem;margin:1rem 0 1.25rem}.tab-buttons{display:flex;flex-wrap:wrap;gap:8px}.news-alert{display:flex;justify-content:space-between;align-items:center;gap:12px}.news-alert-text{display:grid;gap:4px}.news-alert-preview{font-size:.85rem}.current-land{display:grid;gap:12px}.menu-land-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.menu-land-title{display:grid;justify-items:center;text-align:center;font-size:1.2rem;gap:2px}.land-nav-btn{min-width:40px;padding:6px 10px}.resource-hud{display:flex;align-items:center;gap:6px;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;background:#fff8eef2}.resource-hud>.resource-chip{align-self:center;margin:0}@media (max-width: 720px){.resource-hud{flex-wrap:wrap;overflow-x:visible;white-space:normal}}.resource-chip{display:inline-flex;align-items:center;gap:6px;padding:6px 8px;min-width:132px;height:58px;min-height:58px;border-radius:999px;border:1px solid var(--line);background:#fffef9;font-size:.86rem;justify-content:flex-start}.resource-chip-interactive{color:var(--ink);cursor:pointer;font:inherit;text-align:left;transition:border-color .16s ease,background .16s ease,transform .16s ease,box-shadow .16s ease}.resource-chip-interactive:hover,.resource-chip-interactive:focus-visible{border-color:#4a7a53ad;background:#f7fbf3;box-shadow:0 6px 14px #37502d24;outline:none;transform:translateY(-1px)}.resource-territory-popover{position:fixed;z-index:2100;width:min(340px,calc(100vw - 20px));max-height:min(420px,calc(100vh - 24px));overflow-y:auto;border:1px solid rgba(103,77,48,.38);border-radius:16px;background:#fffdf7;box-shadow:0 18px 38px #3627193d;color:var(--ink)}.resource-territory-popover header{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:13px 14px 10px;border-bottom:1px solid rgba(103,77,48,.16);background:linear-gradient(135deg,#fffaf0,#eef6ea)}.resource-territory-popover header b{display:block;margin-top:2px;font-size:.9rem}.resource-popover-kicker{color:#7b5a3a;font-size:.66rem;font-weight:800;letter-spacing:.08em;text-transform:uppercase}.resource-popover-close{min-width:28px;min-height:28px;padding:0;border-radius:50%;background:#ffffffd1;color:var(--ink-soft);font-size:1.2rem;line-height:1}.resource-territory-list{padding:8px}.resource-rate-breakdown{padding:10px 14px;border-bottom:1px solid rgba(103,77,48,.16);background:#f8f2e28c}.resource-rate-breakdown-heading{display:flex;align-items:baseline;justify-content:space-between;gap:10px;margin-bottom:5px;color:var(--ink-soft);font-size:.72rem}.resource-rate-breakdown-heading b{color:#7b5a3a;font-size:.7rem}.resource-rate-component{display:flex;justify-content:space-between;gap:10px;padding:3px 0;color:var(--ink-soft);font-size:.78rem}.resource-rate-component b{white-space:nowrap}.resource-soil-summary{display:grid;grid-template-columns:1fr auto;gap:3px 10px;padding:9px 14px;border-bottom:1px solid rgba(103,77,48,.16);background:#e3f2db85;color:#4d6f3d;font-size:.78rem}.resource-soil-summary b{color:#285a3d}.resource-soil-summary small{grid-column:1 / -1;color:var(--ink-soft);font-size:.72rem}.resource-target-calculator{display:grid;gap:9px;padding:11px 14px;border-bottom:1px solid rgba(103,77,48,.16);background:#eef6ea6b}.resource-target-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.resource-target-heading b,.resource-target-heading .muted{display:block;margin-top:2px;font-size:.78rem}.resource-target-toggle{flex:0 0 auto;min-height:29px;padding:4px 8px;border:1px solid rgba(103,77,48,.24);border-radius:7px;background:#fffdf8db;color:#755333;font-size:.7rem;font-weight:800}.resource-target-input{display:grid;gap:4px;color:var(--ink-soft);font-size:.76rem;font-weight:700}.resource-target-input input{min-height:34px;padding:6px 9px;border:1px solid rgba(103,77,48,.3);border-radius:8px;background:#fffdf8;color:var(--ink);font:inherit}.resource-target-result{display:grid;gap:3px;padding:8px 9px;border-radius:8px;font-size:.77rem}.resource-target-result.ready,.resource-target-result.reached{background:#3fa36a1c;color:#285a3d}.resource-target-result.unavailable{background:#c94b431a;color:#7d342f}.resource-territory-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:9px 8px;border-radius:10px;color:var(--ink-soft);font-size:.82rem}.resource-territory-row+.resource-territory-row{margin-top:2px}.resource-territory-row b{color:var(--ink);white-space:nowrap}.resource-territory-value{display:inline-flex;align-items:center;justify-content:flex-end;gap:7px;min-width:0}.resource-territory-rate-indicator{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border-radius:50%;font-size:1rem;font-weight:800;line-height:1}.resource-territory-rate-indicator.rate-positive{background:#3fa36a1f;color:#267347}.resource-territory-rate-indicator.rate-negative{background:#c94b431f;color:#b13d35}.resource-territory-row small{color:var(--ink-soft);font-size:.9em}.resource-territory-row-active{background:#e7f4e5;color:#2e6d40}.resource-territory-row-active b{color:#245d35}.resource-values{display:inline-flex;flex-direction:column;align-items:flex-start;justify-content:center;line-height:1.05}.resource-capacity{color:var(--ink-soft);font-weight:700;margin-left:2px}.rate-inline{color:var(--ink-soft);font-size:.72rem;margin-top:2px}.rate-positive{color:#46713b}.resource-territory-name{display:grid;gap:1px;min-width:0}.resource-territory-name small{color:var(--ink-soft);font-size:.72rem}.rate-neutral{color:var(--ink-soft)}.rate-negative{color:#a13d31;font-weight:800}.icon{width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}.icon svg{width:100%;height:100%;display:block}.icon-wood svg{fill:#8f5327}.icon-stone svg{fill:#7f8b91}.icon-gold svg{fill:#d09a1f}.icon-food svg{fill:none;stroke:#d9ad33;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.icon-crown svg{fill:#d09a1f}.resource-hud-subtitle{flex:0 0 100%;font-size:.78rem;font-weight:700;color:var(--ink-soft);margin:2px 0 0}.resource-hud-subtitle-land{margin-top:8px}.icon-ranking svg{fill:#d09a1f}.research-hud-chip{min-width:176px;background:linear-gradient(135deg,#fffdf4,#eef8ee)}.research-hud-idle{background:linear-gradient(135deg,#fffdf4,#f2eee5)}.research-icon-idle{background:#eee6d6}.research-hud-button{padding:8px 12px;color:var(--ink);text-align:left}.research-hud-button:hover{background:linear-gradient(135deg,#fffdf4,#dcefdc);border-color:#7eaa76}@keyframes game-state-pulse{0%{box-shadow:0 0 0 0 var(--game-state-pulse-color);transform:scale(1)}70%{box-shadow:0 0 0 14px transparent;transform:scale(1.18)}to{box-shadow:0 0 0 0 transparent;transform:scale(1)}}.research-completion-estimate{margin-top:4px}.research-estimate-note{display:block;font-size:.82em}.research-card{overflow:hidden}.research-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;margin-bottom:24px}.research-heading h2{margin:2px 0 6px}.research-queue{display:grid;gap:10px;margin:0 0 20px;padding:14px;border:1px solid rgba(123,90,58,.2);border-radius:14px;background:#fffdf4b8}.research-queue-heading,.research-queue-entry,.research-queue-actions{display:flex;align-items:center}.research-queue-heading{justify-content:space-between;gap:14px}.research-queue-heading h3,.research-queue-heading p{margin:0}.research-queue-count,.research-queue-position{display:inline-grid;place-items:center;flex:0 0 auto;min-width:28px;min-height:28px;border-radius:999px;background:#3fa36a24;color:#296443;font-size:.78rem;font-weight:800}.research-queue-count{padding:0 10px}.research-queue-list{display:grid;gap:7px;margin:0;padding:0;list-style:none}.research-queue-entry{gap:10px;padding:8px 10px;border-radius:10px;background:#6f8d4f14}.research-queue-entry-active{border:1px solid rgba(63,163,106,.42);background:#3fa36a1f}.research-queue-research-link{display:block;min-width:0;flex:1;padding:5px 8px;border:0;border-radius:7px;background:transparent;color:inherit;text-align:left;cursor:pointer}.research-queue-research-link:hover strong,.research-queue-research-link:focus-visible strong{color:var(--accent, #356842);text-decoration:underline}.research-queue-research-link:hover{background:#3fa36a1a}.research-queue-research-link:focus-visible{outline:2px solid rgba(63,163,106,.72);outline-offset:3px;border-radius:5px}.research-queue-actions{gap:5px}.research-queue-actions button{min-width:30px;min-height:30px;padding:0}.eyebrow{margin:0;color:#7b5a3a;font-size:.73rem;font-weight:800;letter-spacing:.12em;text-transform:uppercase}.research-legend{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px 14px;max-width:340px;padding:10px 12px;border:1px solid rgba(123,90,58,.18);border-radius:14px;background:#fffdf4b3;color:var(--ink-soft);font-size:.8rem}.research-legend-item{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}.legend-dot{width:8px;height:8px;border-radius:50%;background:#80909a}.legend-dot-active{background:var(--state-built, #3fa36a)}.legend-dot-ready{background:#d39b2a}.legend-dot-locked{background:var(--state-locked, #6f7680)}.research-tree{display:grid;grid-template-columns:repeat(auto-fit,minmax(330px,1fr));gap:18px;align-items:start}.research-track{min-width:0;border:1px solid rgba(123,90,58,.18);border-radius:20px;overflow:hidden;background:linear-gradient(145deg,#ffffffb8,#f7edd37a),repeating-linear-gradient(135deg,rgba(123,90,58,.025) 0 1px,transparent 1px 9px)}.research-track-header{display:flex;align-items:center;gap:11px;padding:15px 16px 13px;border-bottom:1px solid rgba(123,90,58,.15);background:#fffaedc7}.research-track-header h3{margin:0;color:var(--ink);font-size:1rem}.research-track-header p{margin:3px 0 0;color:var(--ink-soft);font-size:.78rem;line-height:1.3}.research-track-mark{width:10px;height:36px;border-radius:999px;background:#7b5a3a;box-shadow:0 0 0 4px #7b5a3a1f}.research-track-mark-economy{background:#718d4f;box-shadow:0 0 0 4px #718d4f24}.research-track-mark-faith{background:#ad8241;box-shadow:0 0 0 4px #ad824124}.research-track-mark-shadow{background:#526d83;box-shadow:0 0 0 4px #526d8324}.research-track-mark-military{background:#9a5144;box-shadow:0 0 0 4px #9a514424}.research-track-mark-expansion{background:#497b73;box-shadow:0 0 0 4px #497b7324}.research-track-mark-trade{background:#8f6b3d;box-shadow:0 0 0 4px #8f6b3d24}.research-tree-lanes{padding:14px}.research-tree-level{position:relative;display:grid;grid-template-columns:repeat(auto-fit,minmax(185px,1fr));gap:12px}.research-tree-level+.research-tree-level{padding-top:24px}.research-tree-level+.research-tree-level:before{content:"";position:absolute;top:7px;left:10%;right:10%;height:16px;border-top:1px dashed rgba(112,83,49,.42);border-left:1px dashed rgba(112,83,49,.42);border-right:1px dashed rgba(112,83,49,.42);border-radius:8px 8px 0 0;pointer-events:none}.research-tree-node-wrap{position:relative;min-width:0}.research-tree-connector{position:absolute;top:-17px;left:50%;width:1px;height:17px;border-left:1px dashed rgba(112,83,49,.58)}.research-node{display:flex;min-height:250px;flex-direction:column;padding:13px;border:1px solid rgba(111,86,52,.3);border-radius:15px;background:#fffdf7;box-shadow:0 5px 12px #43301d0d;transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.research-node:hover:not(.research-node-locked):not(.research-node-applied){transform:translateY(-3px);border-color:#548048b3;box-shadow:0 12px 22px #43301d1f}.research-node-active{border-color:#3fa36abf;background:linear-gradient(145deg,#fffef8,#edf8eb)}.research-node-applied{border-color:#364b3d;background:linear-gradient(145deg,#617259,#3d5043);box-shadow:0 7px 16px #2a3d2f3d}.research-node.research-node-applied h4,.research-node-applied .research-node-description,.research-node-applied .research-prerequisite,.research-node-applied .research-progress-meta,.research-node-applied .research-progress-meta b{color:#fffaf0}.research-node-applied .research-category-label{color:#f7e5ab;background:#fff6d621}.research-node-applied .state-done{color:#4e3817;background:#f4d27f}.research-node-applied .research-node-button{border-color:#fffaf080;background:#fffaf01f;color:#fffaf0;opacity:1}.research-node-ready{border-color:#be8220d1;background:linear-gradient(145deg,#fffdf7,#fff0c9);box-shadow:0 7px 16px #af781c29}.research-node-locked{opacity:.68;background:#f2f2ef}.research-node-paused{border-color:#5f76838c;background:linear-gradient(145deg,#fffdf7,#edf2f3)}.research-node-topline{display:flex;align-items:center;justify-content:space-between;gap:8px}.research-node h4{margin:10px 0 5px;color:var(--ink);font-size:.98rem}.research-node-description{min-height:40px;margin:0;color:var(--ink-soft);font-size:.82rem;line-height:1.35}.research-node-state{padding:3px 7px;border-radius:999px;font-size:.67rem;font-weight:800;white-space:nowrap}.state-active{color:#245f3a;background:#dff4e2}.state-done{color:#705829;background:#f2e3ba}.state-locked{color:#56616a;background:#e1e5e8}.state-paused{color:#46616e;background:#e0ebef}.state-ready{color:#77511d;background:#f8e5bc}.research-prerequisite{min-height:18px;margin:8px 0 0;color:#7c684e;font-size:.74rem}.research-progress-meta{display:flex;justify-content:space-between;gap:8px;margin-top:auto;padding-top:11px;color:var(--ink-soft);font-size:.74rem}.research-progress-meta b{color:var(--ink)}.research-progress-bar{height:6px;margin-top:5px;overflow:hidden;border-radius:999px;background:#62523b29}.research-progress-bar span{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#b1833e,#5f9b64);transition:width .3s ease}.research-node .research-completion-estimate{min-height:18px;margin:8px 0 0;color:#356842;font-size:.73rem;font-weight:700}.research-node-button{width:100%;margin-top:10px;padding:8px 10px;font-size:.78rem}.research-category-tabs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:18px 0 10px;padding:7px;border:1px solid rgba(123,90,58,.18);border-radius:17px;background:#f7edd385}.research-category-tabs button{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:43px;padding:9px 12px;border:1px solid transparent;border-radius:11px;background:transparent;color:var(--ink-soft);font-weight:800}.research-category-tabs button:hover{border-color:color-mix(in srgb,var(--tab-category-color) 40%,transparent);background:color-mix(in srgb,var(--tab-category-color) 8%,white)}.research-category-tabs button.active{border-color:color-mix(in srgb,var(--tab-category-color) 58%,white);background:color-mix(in srgb,var(--tab-category-color) 18%,white);color:color-mix(in srgb,var(--tab-category-color) 82%,#273226);box-shadow:0 3px 9px #4b371f14}.research-category-tab-mark{width:9px;height:9px;flex:0 0 auto;border-radius:999px;background:var(--tab-category-color);box-shadow:0 0 0 3px color-mix(in srgb,var(--tab-category-color) 16%,transparent)}.research-tree-scroll{overflow:auto;max-height:min(76vh,980px);margin:0 -4px;padding:4px;border:1px solid rgba(123,90,58,.18);border-radius:18px;background:radial-gradient(circle at 20% 15%,rgba(230,210,166,.32),transparent 32%),repeating-linear-gradient(135deg,rgba(123,90,58,.035) 0 1px,transparent 1px 11px),#fbf5e8}.research-map-controls{margin-left:auto}.research-tree-scroll.is-tree-pan-mode{cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}.research-tree-scroll.is-tree-panning{cursor:grabbing}.research-tree-scroll.is-tree-pan-mode .research-node{pointer-events:none}.research-tree-tab-heading{position:sticky;top:0;z-index:2;display:flex;align-items:center;gap:10px;min-height:44px;padding:9px 14px;border-bottom:1px solid rgba(123,90,58,.15);background:#fffcf1f0;-webkit-backdrop-filter:blur(7px);backdrop-filter:blur(7px)}.research-tree-tab-heading>span{width:8px;height:29px;border-radius:999px}.research-tree-tab-heading b,.research-tree-tab-heading small{display:block}.research-tree-tab-heading b{color:var(--ink);font-size:.9rem}.research-tree-tab-heading small{margin-top:1px;color:var(--ink-soft);font-size:.73rem}.research-tree-canvas{position:relative;min-width:100%;transform-origin:top left}.research-tree-viewport{position:relative;min-width:100%;min-height:100%}.research-tree-links{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible;pointer-events:none}.research-tree-links path{fill:none;stroke:#684e2b9e;stroke-width:2;stroke-linecap:round}.research-tree-node{position:absolute;width:300px;min-height:278px;box-sizing:border-box;border-top:5px solid var(--category-color, #6f7680)}.research-node-focused{animation:research-node-focus 1.8s ease-out}@keyframes research-node-focus{0%,30%{box-shadow:0 0 0 5px #d39b2ad1,0 0 0 11px #d39b2a33}to{box-shadow:0 5px 12px #43301d0d}}.research-tree-node .research-icon{border-color:color-mix(in srgb,var(--category-color, #6f7680) 58%,white);color:var(--category-color, #6f7680)}.research-category-label{margin-right:auto;padding:3px 7px;border-radius:999px;color:var(--category-color, #6f7680);background:color-mix(in srgb,var(--category-color, #6f7680) 13%,white);font-size:.65rem;font-weight:800;letter-spacing:.04em;text-transform:uppercase;white-space:nowrap}@media (max-width: 720px){.research-heading{flex-direction:column;gap:12px}.research-legend{justify-content:flex-start;max-width:none}.research-tree-scroll{max-height:70vh}.research-map-controls{flex-basis:100%;width:100%;margin:6px 0 0;justify-content:flex-start}.research-tree-tab-heading{flex-wrap:wrap}.research-category-tabs{display:flex;overflow-x:auto;padding:6px}.research-category-tabs button{flex:1 0 132px}}.research-icon{width:28px;height:28px;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;border-radius:50%;background:#f5ead2;border:1px solid rgba(82,55,34,.18)}.research-icon svg{width:20px;height:20px;fill:none;stroke:#6f4b2f;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.research-icon-rad{background:#efe1c1}.research-icon-wassermuehlen,.research-icon-forstwirtschaft,.research-icon-vorratshaltung{background:#edf3d7}.research-icon-steinbearbeitung,.research-icon-erzverhuettung,.research-icon-bauplanung,.research-icon-baustatik{background:#e7eef1}.resource-chip-points .resource-values{align-items:center;justify-content:center;width:100%}.points-inline-values{display:inline-flex;align-items:center;gap:6px}.points-ranking-part{display:inline-flex;align-items:center;gap:5px}.research-list{gap:10px}.research-row{border-radius:18px;transition:border-color .18s ease,box-shadow .18s ease,transform .18s ease}.research-row-active{border-color:#567d4980;box-shadow:0 10px 22px #567d491f;background:linear-gradient(135deg,#fffef9,#f2f8ec)}.research-row-applied{opacity:.72}.research-row-locked{opacity:.64;border-color:#6f768059}.research-info{display:flex;align-items:flex-start;gap:12px}.research-title-line{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.status-pill{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;font-size:.72rem;font-weight:800;color:#315c2d;background:#dff0d7}.status-pill-done{color:#6f5a2f;background:#efe2bd}.status-pill-paused{color:#60707a;background:#e6eef1}.status-pill-locked{color:#56616a;background:#e1e5e8}.points-ranking-icon{margin-left:2px}.icon-satisfaction svg{fill:#efc24a;stroke:#8a5b12;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.icon-idle svg{fill:none;stroke:#56705d;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.idle-gif-edge-wrap{margin-left:auto;width:28px;height:28px;border-radius:999px;display:inline-flex;align-items:center;justify-content:center;overflow:hidden}.icon-idle-gif{width:22px;height:22px;object-fit:cover;mix-blend-mode:multiply;filter:saturate(.82) contrast(1.06)}.idle-chip.idle-empty{background:#fffef9;border-color:var(--line)}.idle-chip.idle-empty .idle-gif-edge-wrap{background:radial-gradient(circle at 40% 35%,#f3ead9,#e2d2b8)}.idle-chip.idle-empty .resource-values b{color:#8a8176}.idle-chip.idle-available{background:#edf8f0;border-color:#b7ddc0}.idle-chip.idle-empty .icon-idle svg{stroke:#9d9388}.idle-chip.idle-available .icon-idle svg{stroke:#3d8f5a}.idle-chip.idle-available .resource-values b{color:#2d6a44}.resource-meta{display:inline-flex;flex-wrap:wrap;gap:10px;color:var(--ink-soft);font-size:.9rem}.satisfaction{display:inline-flex;align-items:center;gap:6px}.satisfaction-icon{width:20px;height:20px;display:inline-flex}.satisfaction-icon svg{width:100%;height:100%;fill:#efc24a;stroke:#8a5b12;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}.tab-pill{align-items:center;background:#f3e4c7;border:1px solid #dec196;border-radius:999px;color:#3b3125;display:inline-flex}.tabs .tab-pill .tab-main{border-radius:999px;background:transparent;border:0;color:inherit}.tab-pill.active{background:#ffe6bf;color:#6c3412;border-color:#e6b36e}.tab-pill.locked{opacity:.58}.tab-context-help-button{flex:0 0 26px;height:26px;margin-right:5px;min-height:26px;min-width:26px;width:26px}h2,h3{margin-top:20px;font-family:Cinzel,serif;letter-spacing:.02em}h2{color:#382a1a}h3{margin-bottom:10px;color:#463521}.card h2:first-child,.card h3:first-child{margin-top:0}.grid4{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:var(--space-md)}.compact input,.compact select{max-width:220px}.list{display:grid;gap:var(--space-md)}.build-row{align-items:center}.build-active{margin-bottom:var(--space-md);padding:var(--space-md);border:1px solid var(--line-2);border-radius:12px;background:#fffaf0}.build-active-row{align-items:center}.build-active-main{display:flex;align-items:center;gap:var(--space-md);flex-wrap:wrap}.build-worker-needed{margin-top:3px;color:#9a5b18;font-size:.86rem;font-weight:800}.assignment-coverage{display:inline-flex;align-items:baseline;gap:.45rem;margin-top:.2rem;color:var(--ink-soft);font-size:.86rem}.assignment-coverage strong{font-variant-numeric:tabular-nums}.assignment-coverage.complete strong{color:var(--state-built)}.assignment-coverage.partial strong{color:#9a6d1f}.assignment-coverage.low strong{color:var(--state-damaged)}.build-completion-confirmation{color:var(--brand-dark);font-size:.86rem;font-weight:700;margin-top:3px}.combat-readiness{margin-top:.45rem;width:min(16rem,100%)}.combat-readiness-head{display:flex;justify-content:space-between;gap:.75rem;color:var(--muted);font-size:.8rem}.combat-readiness-head strong{color:var(--ink)}.combat-readiness-track{height:.45rem;margin-top:.22rem;overflow:hidden;border:1px solid var(--line);border-radius:999px;background:#eee7d8}.combat-readiness-track span{display:block;height:100%;border-radius:inherit;transition:width .28s ease;background:#b95a42}.readiness-training .combat-readiness-track span{background:#d39b2a}.readiness-ready .combat-readiness-track span{background:#3fa36a}.levy-management{background:linear-gradient(105deg,#fff6e7,#f2f7ea)}.levy-level-controls{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.levy-level-controls button{min-width:4.8rem}.levy-level-controls button.reached{border-color:#78ad75;color:#316b3b}.levy-level-controls button.active{background:#4d9b68;border-color:#3f8358;color:#fff}.building-icon-button,.building-icon{width:46px;height:46px;border-radius:12px;border:1px solid var(--line);background:#fff9ee;display:inline-flex;align-items:center;justify-content:center}.building-icon-button{flex:0 0 auto}.building-icon-svg{width:24px;height:24px;fill:none;stroke:#5d4628;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.building-overview-art{overflow:hidden}.building-overview-art img{display:block;height:118%;object-fit:contain;width:118%}.levy-unit-art img{height:88%;width:88%}.population-building-art{width:60px;height:60px}.population-building-art img{width:126%;height:126%}.build-project-building-art{width:60px;height:60px}.build-project-building-art img{width:126%;height:126%}.build-costs{display:flex;flex-wrap:wrap;gap:var(--space-xs);align-items:center}.cost-chip{min-width:0;min-height:38px;padding:5px 8px;gap:5px}.cost-chip .icon{width:18px;height:18px}.cost-chip .resource-values b{font-size:.88rem}.build-actions{display:flex;gap:var(--space-sm);flex-wrap:wrap;align-items:center;margin-left:auto}.build-actions-right{min-width:96px;justify-content:flex-end}.compact-costs .cost-chip{min-height:32px;padding:4px 7px}.build-time-chip{min-width:0;width:64px;justify-content:center;padding:4px 6px;gap:4px}.build-time-chip .icon{width:16px;height:16px}.build-time-chip .resource-values b{font-size:.82rem}.build-costs-inline{justify-content:flex-end}.icon-time svg{fill:#8a6f3e}.build-state-chip{display:inline-flex;align-items:center;padding:6px 10px;border-radius:999px;border:1px solid var(--line);background:#fff9ef;color:var(--ink-soft);font-size:.84rem;white-space:nowrap}.build-actions input{width:120px}.build-population+.build-population,.build-active+.build-population{margin-top:var(--space-lg)}.building-overview-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);padding-bottom:var(--space-sm)}.building-overview-heading h3,.section-toggle-heading h3{margin:0}.section-toggle-heading{display:flex;align-items:center;justify-content:space-between;gap:var(--space-sm);padding-bottom:var(--space-sm)}.section-heading-with-badge{display:inline-flex;align-items:center;gap:8px}.build-attention-badge,.land-tab-attention-badge{display:inline-grid;place-items:center;min-width:20px;height:20px;padding:0 6px;border-radius:999px;background:#cf6b2d;color:#fff;font-size:.76rem;font-weight:800;line-height:1}.land-context-tabs .land-tab-attention-badge{margin-left:6px;vertical-align:middle}.build-worker-attention{display:grid;gap:3px;margin:0 0 var(--space-md);padding:10px 12px;border:1px solid #d6a85d;border-radius:12px;background:#fff1d7;color:#76501f;font-size:.9rem}.building-overview-toggle{padding:6px 10px;border:1px solid var(--line);border-radius:999px;background:#fffaf0;color:var(--ink-soft);font-size:.84rem}.unit-management-more{display:flex;justify-content:flex-start}.building-overview-more{margin-top:var(--space-sm)}.counter-help{margin-top:14px;padding:10px;border:1px solid var(--line-2);border-radius:12px;background:#fffaf0}.counter-help h4{margin:0 0 8px;font-family:Cinzel,serif;color:#4a3722}.counter-legend{display:flex;flex-wrap:wrap;gap:10px 14px;margin-bottom:8px}.counter-legend-item{display:inline-flex;align-items:center;gap:6px;color:var(--ink-soft);font-size:.85rem}.counter-table-wrap{overflow-x:auto}.counter-table{width:100%;border-collapse:collapse;min-width:420px}.counter-table th,.counter-table td{border:1px solid var(--line);padding:7px 8px;text-align:center;background:#fffef8}.counter-table th{background:#f7ecd7;color:#4a3722;font-weight:700}.counter-dot{width:12px;height:12px;border-radius:999px;display:inline-block;border:1px solid rgba(55,44,30,.25)}.counter-dot.lvl-very-bad{background:#c65a44}.counter-dot.lvl-bad{background:#e3a04f}.counter-dot.lvl-neutral{background:#d7cfbf}.counter-dot.lvl-good{background:#8bbb6e}.counter-dot.lvl-very-good{background:#43a36a}.worker-stepper{display:inline-flex;align-items:center;gap:6px;margin-left:auto;flex-wrap:wrap}.worker-stepper-centered{margin-left:0;justify-content:center;flex:1}.worker-stepper button{min-width:44px;padding:7px 9px}.worker-stepper span{min-width:28px;text-align:center;font-weight:700}.worker-stepper-group{display:inline-flex;gap:6px;align-items:center}.travel-stepper-list{margin-top:4px}.travel-stepper-row{align-items:center}.build-project-order{display:grid;justify-items:end;gap:5px;color:#74675a;font-size:.78rem;white-space:nowrap}.build-cancel-button{min-height:30px;padding:5px 9px;border-color:#bd704a;color:#8a482b;background:#fff8f1;font-size:.78rem}.build-cancel-button:hover:not(:disabled){background:#fbe8db}.mission-overview-list{display:grid;gap:8px}.mission-overview-row{display:grid;gap:10px}.mission-overview-toggle{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;border:0;padding:0;color:inherit;background:transparent;font:inherit;text-align:left;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;cursor:pointer}.mission-overview-toggle:focus-visible{outline:3px solid rgba(53,133,93,.45);outline-offset:4px;border-radius:8px}.mission-overview-main{display:grid;gap:2px;min-width:0}.mission-overview-main span,.mission-overview-main small{color:var(--muted);overflow-wrap:anywhere}.mission-overview-time{white-space:nowrap;color:var(--green-dark)}.mission-overview-meta{display:grid;justify-items:end;gap:3px}.mission-details-toggle{color:var(--muted);font-size:.76rem;font-weight:700}.mission-overview-details{display:grid;gap:7px;margin-left:calc(10px + 1em);padding:10px 0 0;border-top:1px solid var(--line-2)}.mission-detail-group{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.mission-detail-group>strong{margin-right:3px;color:#5b452c;font-size:.82rem}.mission-detail-token{display:inline-flex;gap:3px;align-items:center;padding:3px 7px;border:1px solid #b6c9ab;border-radius:999px;color:#355b39;background:#eef5e9;font-size:.78rem}.mission-resource-token{border-color:#ddc390;color:#72511e;background:#fff7e6}.mission-overview-highlight{position:relative;border:2px solid #bd661d;background:linear-gradient(90deg,#fff0d2,#fff9ed);box-shadow:0 0 0 4px #d4862c3d,0 10px 22px #703f1929;scroll-margin-block:32px;animation:mission-highlight 1.4s ease-in-out 3}.mission-overview-highlight:before{content:"";position:absolute;inset:9px auto 9px -2px;width:6px;border-radius:999px;background:#bd661d}.mission-map-selection{width:fit-content;padding:2px 7px;border-radius:999px;color:#73390f!important;background:#ffd68e;font-size:.72rem;font-weight:800;letter-spacing:.02em;text-transform:uppercase}@keyframes mission-highlight{50%{transform:translate(4px) scale(1.008)}}@media (prefers-reduced-motion: reduce){.mission-overview-highlight{animation:none}}.mission-kind{display:inline-flex;align-items:center;min-height:28px;border:1px solid var(--line-2);border-radius:999px;padding:3px 9px;font-size:.78rem;font-weight:700;color:#4f3b25;background:#f6ead1}.mission-kind-thief{background:#f3e1cf;border-color:#cf9760}.mission-kind-spy{background:#e4e6f0;border-color:#828ca8}.mission-kind-war{background:#f4d9d5;border-color:#c67669}.mission-kind-journey{background:#e4eedc;border-color:#7e9a70}@media (max-width: 640px){.mission-overview-toggle{grid-template-columns:auto minmax(0,1fr)}.mission-overview-meta{grid-column:1 / -1;justify-items:start;min-width:0;width:100%}.mission-overview-time{overflow-wrap:anywhere;white-space:normal}.mission-overview-details{margin-left:0}}.hex-map-shell{width:100%;position:relative;overflow:hidden;border:1px solid var(--line-2);border-radius:12px;background:#fff8ea;padding:8px;margin-bottom:12px}.hex-map{display:block;width:100%;min-height:380px;touch-action:manipulation}.world-map-controls{position:absolute;z-index:3;top:18px;right:18px}.hex-map.is-pannable{cursor:grab;touch-action:none}.hex-map.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.hex-map.is-pannable .map-hex{cursor:grab}.hex-map.is-panning .map-hex{cursor:grabbing}.hex-map.is-selection-mode .map-hex-actionable,.map-hex-own{cursor:pointer}.map-hex-own .hex-cell{transition:stroke .18s ease,stroke-width .18s ease,filter .18s ease}.map-hex-own:hover .hex-cell{stroke:#d4862c;stroke-width:2.1;filter:drop-shadow(0 0 5px rgba(212,134,44,.5))}.map-ranking-layout{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(280px,.9fr);gap:16px;align-items:start}.map-context-column{display:grid;gap:12px}@media (max-width: 1100px),(hover: none) and (pointer: coarse){.map-ranking-layout{grid-template-columns:1fr}.map-context-column{grid-column:1;grid-row:2;min-width:0;width:100%}}.map-hex-foreign{cursor:default}.map-hex-actionable{cursor:pointer}.land-detail-shell{width:100%;overflow:hidden;border:1px solid var(--line-2);border-radius:14px;background:#fff8ea;min-height:min(72vh,760px)}.land-detail-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:14px;align-items:start}.land-detail-shell{min-width:0}.land-detail-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:14px 16px 10px}.land-detail-head h2,.placement-sidebar h3,.placement-sidebar h4{margin:0 0 6px;font-family:Cinzel,serif;letter-spacing:.03em}.land-detail-meta{white-space:nowrap;font-weight:700;padding-top:4px}.land-detail-head-controls{display:flex;align-items:center;justify-content:flex-end;gap:10px;flex-wrap:wrap}.detail-map-controls{display:inline-flex;align-items:stretch;gap:8px;flex-wrap:wrap;justify-content:flex-end}.detail-map-zoom-controls{display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid var(--line-2);border-radius:10px;background:#fffef8eb;box-shadow:0 2px 7px #4b361f1a}.detail-map-zoom-button,.detail-map-zoom-reset{min-width:34px;min-height:32px;margin:0;padding:4px 9px;border:0;border-radius:0;color:#493927;background:transparent;box-shadow:none;font-weight:800;line-height:1}.detail-map-zoom-button{font-size:1.25rem}.detail-map-zoom-reset{min-width:49px;border-inline:1px solid var(--line-2);font-size:.78rem}.detail-map-zoom-button:hover:not(:disabled),.detail-map-zoom-reset:hover{color:#fffdf5;background:var(--brand-2);transform:none}.detail-map-zoom-button:disabled{opacity:.4;cursor:not-allowed}.detail-map-interaction-controls{display:inline-flex;align-items:stretch;overflow:hidden;border:1px solid var(--line-2);border-radius:10px;background:#fffef8eb;box-shadow:0 2px 7px #4b361f1a}.detail-map-interaction-button{display:inline-flex;align-items:center;gap:5px;min-height:32px;margin:0;padding:4px 9px;border:0;border-radius:0;color:#493927;background:transparent;box-shadow:none;font-size:.75rem;font-weight:800;line-height:1}.detail-map-interaction-button+.detail-map-interaction-button{border-left:1px solid var(--line-2)}.detail-map-interaction-button svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.detail-map-interaction-button:hover,.detail-map-interaction-button.active{color:#fffdf5;background:var(--brand-2);transform:none}.land-detail-map{width:100%;height:min(72vh,760px);display:block;touch-action:manipulation}.land-detail-map.is-pannable{cursor:grab;touch-action:none}.land-detail-map.is-selection-mode{cursor:default}.land-detail-map.is-selection-mode .tile-clickable{cursor:pointer}.land-detail-map.is-panning{cursor:grabbing;-webkit-user-select:none;user-select:none}.tile-outline{fill:#fffbeb14}.land-detail-map .tile-outline{stroke:none}.terrain-outer-edge-fade{stroke:#fff8ea;stroke-width:3.8;opacity:.68;filter:url(#land-detail-outer-edge-fade)}.tile-clickable{transition:stroke .18s ease,stroke-width .18s ease,filter .18s ease,transform .18s ease}.tile-clickable:hover{stroke:#cf6b2d;stroke-width:2.1;filter:drop-shadow(0 0 8px rgba(207,107,45,.32))}.tile-free,.tile-under-construction,.tile-demolishing,.tile-built,.tile-damaged,.tile-decommissioned,.tile-ruined{fill:#f7f0dd14}.tile-building-visual{pointer-events:none;filter:drop-shadow(0 1px 1px rgba(47,36,27,.45))}.tile-building-demolishing{opacity:.54;filter:grayscale(.72) sepia(.22) drop-shadow(0 1px 1px rgba(47,36,27,.35))}.tile-building-damaged{filter:saturate(.62) sepia(.25) drop-shadow(0 1px 1px rgba(47,36,27,.45))}.tile-building-decommissioned{opacity:.72;filter:grayscale(.85) drop-shadow(0 1px 1px rgba(47,36,27,.35))}.tile-stone-depleted{fill:#585b592e}.tile-wood-regrowing{fill:#6f7a4842}.tile-blocked-state{fill:#6f76803d}.tile-marker{stroke:#fff8ecf2;stroke-width:1.2;fill-opacity:.58;stroke-opacity:.72}.tile-marker-free{fill:var(--state-built)}.tile-marker-building{fill:var(--state-under-construction);animation:markerPulse 1.6s ease-in-out infinite}.tile-marker-demolishing{fill:#9a4b36;animation:markerPulse 1.6s ease-in-out infinite}.tile-marker-damaged{fill:#d5ad38}.tile-marker-decommissioned{fill:#676b68}.tile-marker-regrowing{fill:#71804f}.tile-marker-ruined{fill:#5a4432}.map-travel-layer,.map-travel-route-layer{pointer-events:none}.map-travel-route{color:#51606a}.map-travel-route line{stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-dasharray:5 4;opacity:.9;filter:drop-shadow(0 1px 1px rgba(47,36,27,.48))}.map-travel-route-arrow{fill:currentColor;filter:drop-shadow(0 1px 1px rgba(47,36,27,.56))}.map-travel-marker{pointer-events:all;cursor:pointer}.map-travel-marker-art{filter:drop-shadow(0 1px 1.5px rgba(47,36,27,.62))}.map-travel-marker-backplate{fill:#fffaefeb;stroke:currentColor;stroke-width:1.45;filter:drop-shadow(0 1px 1.5px rgba(47,36,27,.45))}.map-travel-marker-direction{fill:currentColor;filter:drop-shadow(0 1px 1px rgba(47,36,27,.55))}.map-travel-marker-pulse{fill:none;stroke:currentColor;stroke-width:1.25;opacity:.72;transform-box:fill-box;transform-origin:center;animation:map-travel-marker-pulse 2.4s ease-out infinite}.map-travel-marker-selection-ring{fill:none;stroke:currentColor;stroke-width:2.1;filter:drop-shadow(0 0 3px currentColor)}.map-travel-marker-selection-halo{fill:none;stroke:currentColor;stroke-width:1.8;opacity:.56;filter:drop-shadow(0 0 4px currentColor);transform-box:fill-box;transform-origin:center;animation:map-travel-marker-selection-pulse 2.8s ease-out infinite}.icon-satisfaction.satisfaction-sad svg{fill:#d14a3d;stroke:#8d2d2a}.icon-satisfaction.satisfaction-neutral svg{fill:#e78b32;stroke:#9a5217}.icon-satisfaction.satisfaction-happy svg{fill:#efc24a;stroke:#8a5b12}.icon-satisfaction.satisfaction-ecstatic svg{fill:#3f9d61;stroke:#1f623e}.map-travel-transfer{color:#80502f}.map-travel-settlement{color:#39754c}.map-travel-exploration{color:#247d75}.map-travel-refugees{color:#62666a}.map-travel-thief{color:#6b4b88}.map-travel-spy{color:#344f89}.map-travel-trade{color:#a86f17}.map-travel-war{color:#ad3e38}.map-travel-marker:hover .map-travel-marker-art,.map-travel-marker:focus-visible .map-travel-marker-art{filter:drop-shadow(0 0 4px rgba(212,134,44,.9))}.map-travel-marker-selected .map-travel-marker-art{filter:drop-shadow(0 0 3px currentColor)}.map-travel-marker:focus,.map-travel-marker:focus-visible{outline:none}.map-travel-marker-selected .map-travel-marker-backplate{stroke-width:1.45;filter:drop-shadow(0 1px 1.5px rgba(47,36,27,.45))}.map-travel-details{display:grid;gap:12px}.map-travel-detail-list{display:grid;gap:8px}.map-travel-detail-list>div{display:flex;justify-content:space-between;gap:16px;padding-bottom:8px;border-bottom:1px solid var(--line-2)}.map-travel-detail-list span{color:var(--muted)}.map-travel-detail-list strong{text-align:right}@keyframes map-travel-marker-pulse{0%{opacity:.72;transform:scale(.92)}70%,to{opacity:0;transform:scale(1.5)}}@keyframes map-travel-marker-selection-pulse{0%{opacity:.56;transform:scale(.9)}65%,to{opacity:0;transform:scale(1.32)}}.tile-marker-damage-light{fill:#d5ad38}.tile-marker-damage-moderate{fill:#d98032}.tile-marker-damage-severe{fill:#c94b43}.tile-marker-damage-critical{fill:#8f2f3d}.tile-marker-path{fill:none;stroke:#fff7e9;stroke-width:1.1;stroke-opacity:.84;stroke-linecap:round;stroke-linejoin:round}.tile-marker-depleted-building-path{stroke:#dc9e44;stroke-width:1.45;stroke-opacity:.96}.tile-selection-overlay{pointer-events:none}.tile-selection-overlay-shape{fill:#cf6b2d0d;stroke:#cf6b2d;stroke-width:3.2;stroke-linejoin:round;stroke-linecap:round;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 12px rgba(207,107,45,.38))}.placement-sidebar{width:100%;margin-top:14px;display:grid;align-content:start;gap:14px;padding:18px}@media (min-width: 1120px){.land-detail-layout{grid-template-columns:minmax(0,1fr) minmax(320px,370px);align-items:stretch}.placement-sidebar{min-width:0;align-self:stretch;contain:size;min-height:0;max-height:none;margin-top:0;overflow-y:auto;position:sticky;top:12px}}.placement-sidebar-head{display:flex;align-items:start;justify-content:space-between;gap:12px}.placement-sidebar-head h3{margin-bottom:0}.placement-tile-summary,.placement-preview,.placement-building-list{display:grid;gap:10px}.placement-tile-title,.placement-preview-head{display:flex;align-items:center;gap:10px}.placement-state{padding:2px 8px;border-radius:999px;font-weight:800}.placement-state.state-under_construction{background:#d39b2a29;color:#8d5f08}.placement-state.state-built{background:#3fa36a24;color:#296443}.placement-state.state-damaged{background:#c94b4324;color:#8d312c}.placement-state.state-decommissioned{background:#585b5924;color:#454946}.placement-state.state-ruined{background:#4f3d2f29;color:#5a4432}.placement-state.state-blocked{background:#6f76801f;color:#5e6672}.placement-building-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(126px,1fr));gap:10px}.placement-building-card-wrap{position:relative;min-width:0}.placement-building-filter{display:flex;flex-wrap:wrap;gap:6px}.placement-building-filter button{padding:6px 9px;border:1px solid var(--line);border-radius:999px;background:#fffaf0;color:var(--ink-soft);font-size:.78rem}.placement-building-filter button.active{border-color:#cf6b2d;background:#f4bd65;color:#4a2d18;font-weight:800}.placement-building-filter-hint{font-size:.84rem}.placement-building-card{display:grid;justify-items:center;align-content:start;gap:8px;text-align:center;min-width:0;min-height:120px;padding:12px 10px;background:#fffdf8;color:var(--ink)}.placement-building-card-wrap .placement-building-card{width:100%;height:100%}.placement-building-help-btn{align-items:center;background:#fffdf8;border:1px solid #c99750;border-radius:50%;color:#755128;display:inline-flex;font-family:Georgia,serif;font-size:.82rem;font-weight:800;height:24px;justify-content:center;line-height:1;padding:0;position:absolute;right:7px;top:7px;width:24px;z-index:2}.placement-building-help-btn:hover,.placement-building-help-btn:focus-visible{background:#f4bd65;border-color:#a56527;color:#3f2b1d}.placement-building-card.selected{border-color:#cf6b2d;box-shadow:0 0 0 2px #cf6b2d1f}.placement-building-card.locked{opacity:.62;border-color:var(--state-locked);cursor:not-allowed}.placement-building-card.resource-blocked{border-color:#c18a3d}.placement-research-lock{color:var(--state-locked);font-size:.76rem;font-weight:700}.placement-resource-lock{color:#8d5f08;font-size:.76rem;font-weight:700}.placement-building-card>strong{font-size:.92rem;color:var(--ink)}.placement-building-name{display:grid;align-items:end;width:100%;min-width:0;min-height:2.3em;line-height:1.15;overflow-wrap:anywhere;-webkit-hyphens:auto;hyphens:auto;position:relative;z-index:1}.placement-building-card .muted{color:#6b5b45}.placement-preview-card{display:grid;gap:12px;padding:12px;border-radius:14px;border:1px solid var(--line-2);background:#fffcf5eb}.placement-preview-overlay{position:fixed;z-index:2100;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px;background:#3023173d}.placement-preview-modal{width:min(480px,100%);max-height:calc(100dvh - 40px);overflow-y:auto;display:grid;gap:14px;padding:18px;box-shadow:0 18px 48px #3023175c}.placement-preview-modal-head{display:flex;align-items:center;justify-content:space-between;gap:12px}.placement-preview-modal-head h4{margin:0}.building-help-overlay{align-items:center;background:#30231757;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:20px;position:fixed;z-index:70}.building-help-modal{display:grid;gap:16px;max-height:calc(100dvh - 40px);overflow-y:auto;padding:20px;width:min(520px,100%)}.building-help-head{align-items:start;display:flex;gap:12px;justify-content:space-between}.building-help-head h3,.building-help-section h4,.building-help-head p{margin:0}.building-help-head p{color:var(--ink-soft);margin-top:4px}.building-help-section{display:grid;gap:8px}.building-help-facts{display:grid;gap:0;margin:0}.building-help-facts>div{border-bottom:1px solid var(--line-2);display:grid;gap:8px;grid-template-columns:minmax(100px,.35fr) 1fr;padding:9px 0}.building-help-facts>div:last-child{border-bottom:0}.building-help-facts dt{color:var(--ink-soft);font-weight:700}.building-help-facts dd{margin:0}.placement-impact-list{display:grid;gap:6px;margin:0;padding:10px 12px 10px 30px;color:var(--ink-soft);font-size:.9rem;line-height:1.35;background:color-mix(in srgb,var(--paper) 80%,var(--terrain-grass) 20%);border:1px solid color-mix(in srgb,var(--terrain-grass) 35%,var(--line));border-radius:12px}.placement-impact-list li::marker{color:var(--state-built)}.placement-preview-icon,.placement-building-icon{flex:0 0 auto}.placement-building-art{display:grid;place-items:center;width:68px;height:64px;overflow:hidden}.placement-building-art img{display:block;max-width:100%;max-height:100%;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(47,36,27,.35))}.placement-preview-art{flex:0 0 110px;width:110px;height:96px}.placement-building-icon{min-height:64px;display:grid;place-items:center}.placement-costs{flex-wrap:wrap}.placement-start-button{min-height:48px;font-weight:800;background:linear-gradient(180deg,#58a474,#4e9068);color:#fff}.placement-start-button:disabled{background:#d6ccb6;color:#7a7162}.placement-demolition{margin-top:var(--space-md)}.placement-demolish-button{background:#9a4b36;border-color:#7f3c2a;color:#fffaf4}.placement-demolish-button:hover:not(:disabled){background:#7f3c2a}.hex-cell{stroke:#5a4b33;stroke-width:1.2}.hex-territory-border-layer{pointer-events:none}.hex-territory-border{stroke-width:2.1;stroke-linecap:round;opacity:.84;vector-effect:non-scaling-stroke}.map-hex-selected-cluster .hex-territory-border{stroke-width:2.9;opacity:1;filter:drop-shadow(0 0 3px rgba(207,107,45,.26))}.map-hex-selected-land .hex-cell{stroke:#f0b63d;stroke-width:3.2}.hex-selection-ring{fill:#ffcb4f26;stroke:#fff1ba;stroke-width:5;stroke-linejoin:round;pointer-events:none;vector-effect:non-scaling-stroke;filter:drop-shadow(0 0 5px rgba(133,70,20,.95)) drop-shadow(0 0 10px rgba(255,184,45,.95));animation:selected-land-pulse 1.35s ease-in-out infinite alternate}@keyframes selected-land-pulse{0%{opacity:.75}to{opacity:1}}.map-hex-selected-cluster .hex-owner-tint{opacity:.38}.map-hex-capital .hex-owner-tint{opacity:.32}.hex-owner-tint.neutral{fill:#cdb8912e}.hex-owner-tint.owned{fill:#84b08a40}.hex-owner-tint.mine{fill:#efcc724d}.hex-owner-tint.fogged{fill:#65717a;opacity:1}.map-hex-fogged .hex-cell{stroke:#515861;stroke-width:1.5}.map-hex-known-fogged .hex-owner-tint.fogged{fill:#1c24286b;opacity:1}.map-hex-known-fogged .hex-cell{stroke:#313a3dc7}.hex-fog-layer{pointer-events:none}.hex-fog-shade{fill:#1b23275c}.hex-fog-layer-known .hex-fog-shade{fill:#131b1e38}.world-map-fog-layer{pointer-events:none}.world-map-fog-bank{fill:#b4c7ca4d;filter:blur(6px);transform-box:fill-box;transform-origin:center;animation:world-map-fog-drift-one 30s linear infinite}.world-map-fog-bank-two{fill:#dce8e638;animation:world-map-fog-drift-two 40s linear -20s infinite}@keyframes world-map-fog-drift-one{0%{opacity:0;transform:translate(-58%) scale(.94)}12%{opacity:.56}82%{opacity:1}to{opacity:0;transform:translate(58%) scale(1.06)}}@keyframes world-map-fog-drift-two{0%{opacity:0;transform:translate(-58%) scale(1.04)}12%{opacity:.64}82%{opacity:1}to{opacity:0;transform:translate(58%) scale(.97)}}@media (prefers-reduced-motion: reduce){.world-map-fog-bank{animation:none}}.hex-label-id,.hex-label-name{text-anchor:middle;fill:#30261c;pointer-events:none;font-family:Manrope,sans-serif}.hex-label-id{font-size:10px;font-weight:700}.hex-label-name{font-size:8.5px}.hex-capital-mark circle{fill:#fff6e6f5;stroke:#a87427;stroke-width:1.2}.hex-capital-mark path{fill:none;stroke:#a87427;stroke-width:1.1;stroke-linecap:round;stroke-linejoin:round}.hex-structures .structure-bg{fill:var(--building-base);stroke:var(--building-shadow);stroke-width:1}.hex-structures .structure-bg.state-im_bau{fill:color-mix(in srgb,var(--building-base) 58%,var(--state-under-construction) 42%);stroke:var(--state-under-construction)}.hex-structures .structure-bg.state-im_abriss{fill:color-mix(in srgb,var(--building-base) 58%,#9a4b36 42%);stroke:#9a4b36}.hex-structures .structure-state-marker.marker-im_abriss .marker-dot{fill:#9a4b36}.hex-structures .structure-bg.state-gebaut{fill:color-mix(in srgb,var(--building-base) 68%,var(--state-built) 32%);stroke:var(--state-built)}.hex-structures .structure-bg.state-beschaedigt{fill:color-mix(in srgb,var(--building-base) 62%,var(--state-damaged) 38%);stroke:var(--state-damaged)}.hex-structures .structure-icon-path{fill:none;stroke:var(--building-shadow);stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}.hex-structures .structure-warning{fill:none;stroke:var(--building-shadow);stroke-width:.8;stroke-linecap:round;stroke-linejoin:round}.hex-structures .structure-state-marker .marker-dot{stroke:#ffffffe6;stroke-width:.8}.hex-structures .structure-state-marker.marker-im_bau .marker-dot{fill:var(--state-under-construction);animation:markerPulse 1.6s ease-in-out infinite}.hex-structures .structure-state-marker.marker-gebaut .marker-dot{fill:var(--state-built)}.hex-structures .structure-state-marker.marker-beschaedigt .marker-dot{fill:var(--state-damaged)}.hex-structures .structure-state-marker .marker-glyph{fill:none;stroke:#fff7e9;stroke-width:.9;stroke-linecap:round;stroke-linejoin:round}.hex-construction circle{fill:color-mix(in srgb,var(--state-under-construction) 26%,transparent);stroke:var(--state-under-construction);stroke-width:1}.hex-construction .construction-glyph{fill:none;stroke:var(--state-under-construction);stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}@keyframes markerPulse{0%,to{transform:scale(1)}50%{transform:scale(1.09)}}.row{display:flex;justify-content:space-between;align-items:flex-start;gap:var(--space-md);border:1px solid var(--line-2);padding:var(--space-md);border-radius:14px;background:var(--card-soft)}.card-head-inline{display:flex;align-items:flex-start;justify-content:space-between;gap:12px}.icon-close-btn{min-width:36px;min-height:36px;padding:0;border-radius:999px;font-size:1.05rem;line-height:1}.integration-box{margin-top:12px;padding:12px;border-radius:14px;border:1px solid var(--line-2);background:#fffaf3}.integration-box-title{font-weight:700;color:#4a3722;margin-bottom:8px}.integration-list{display:grid;gap:8px;margin:8px 0 4px}.integration-option{display:grid;grid-template-columns:18px minmax(0,1fr) auto;align-items:center;gap:12px;padding:10px 12px;border:1px solid var(--line-2);border-radius:10px;background:#fffdf4db;font-size:.92rem;color:var(--ink);cursor:pointer}.integration-option.selected{border-color:#3fa36ab8;background:#3fa36a1a}.integration-option input[type=radio]{box-sizing:border-box;width:18px;min-width:18px;height:18px;min-height:18px;margin:0!important;padding:0;accent-color:var(--brand-2)}.integration-option-detail{display:grid;gap:2px;min-width:0}.integration-option-detail strong,.integration-option-detail small{overflow-wrap:anywhere}.integration-cost-chip{max-width:170px;min-width:0;padding:7px 10px;white-space:normal;text-align:right;line-height:1.2}.integration-option small{color:var(--ink-soft)}.integration-direction{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:10px 0 6px;padding:8px 10px;border-radius:10px;background:#7b5a3a12}.integration-direction-summary{flex-basis:100%;margin:0;color:var(--ink);line-height:1.45}.integration-confirmation-route small{display:block;margin-top:.18rem;color:var(--ink-soft);font-size:.82rem;font-weight:500}@media (max-width: 640px){.integration-option{grid-template-columns:18px minmax(0,1fr)}.integration-cost-chip{grid-column:2;justify-self:start;max-width:none;text-align:left}}.row>div:last-child{display:flex;gap:var(--space-sm);flex-wrap:wrap;align-items:center}.muted{color:var(--ink-soft);font-size:.92rem}.status-locked{color:var(--state-locked);font-weight:700}.feature-note{margin-bottom:8px}.unstyled-fieldset{border:0;margin:0;padding:0;display:grid;gap:8px}input,select,button{border-radius:10px;border:1px solid #ccab7f;padding:10px 12px;font:inherit;transition:all .16s ease}input,select{width:100%;background:#fffefb;color:#352a1c}input:focus,select:focus{outline:none;border-color:#d27d3d;box-shadow:0 0 0 3px #cf6b2d33}button{background:linear-gradient(180deg,#66b68a,var(--brand-2));color:#fff;cursor:pointer;font-weight:600;min-height:42px}.card :where(input,select,textarea,label)+:where(input,select,textarea,label),.card :where(input,select,textarea,label)+button,.compact :where(input,select,textarea,label)+:where(input,select,textarea,label),.compact :where(input,select,textarea,label)+button{margin-top:var(--space-sm)}.card>input,.card>select,.card>button,.card>label,.card>textarea,.compact>input,.compact>select,.compact>button,.compact>label{margin-bottom:var(--space-sm)}.card>input:last-child,.card>select:last-child,.card>button:last-child,.card>label:last-child,.card>textarea:last-child,.compact>input:last-child,.compact>select:last-child,.compact>button:last-child,.compact>label:last-child{margin-bottom:0}button:hover{background:linear-gradient(180deg,#e9924f,var(--brand));transform:translateY(-1px) scale(1.01)}button:disabled{opacity:.6;cursor:not-allowed;transform:none}.flash{margin-top:14px;border-color:#e8b67d;background:#fff6e7;color:#734322;font-weight:600}.dismissible-notice{align-items:center;display:flex;gap:10px}.notice-close{align-items:center;background:transparent;border:0;color:currentColor;cursor:pointer;display:inline-flex;flex:0 0 auto;font:inherit;font-size:1.35rem;height:28px;justify-content:center;line-height:1;margin-left:auto;padding:0;width:28px}.notice-close:hover,.notice-close:focus-visible{background:color-mix(in srgb,currentColor 14%,transparent);border-radius:50%}.toast{position:fixed;right:18px;bottom:18px;z-index:40;display:flex;align-items:center;gap:9px;max-width:min(420px,calc(100vw - 36px));background:#2f6b4e;color:#fff;border:1px solid #21543b;border-radius:10px;padding:10px 14px;box-shadow:0 10px 24px #19362659}.toast-info{background:#435d70;border-color:#30495b}.toast-error{background:#9b3f36;border-color:#712c27}.toast-close{color:#fff}.toast-mark{display:inline-grid;place-items:center;flex:0 0 20px;width:20px;height:20px;border:1px solid currentColor;border-radius:50%;font-size:.78rem;font-weight:800}@media (max-width: 860px){.placement-sidebar{padding:14px}.placement-preview-overlay{align-items:end;padding:10px}.placement-preview-modal{max-height:min(82dvh,720px);padding:14px}.hero{flex-direction:column;align-items:flex-start}.status{width:100%;justify-content:space-between;border-radius:12px}.row{flex-direction:column}.compact input,.compact select{max-width:none}.resource-meta{width:100%}.build-row{align-items:flex-start}.build-actions{margin-left:0}.build-active-row{align-items:flex-start}.worker-stepper{margin-left:0;flex-wrap:wrap}}.status-user-btn{background:none;border:0;color:#3d352d;font-weight:700;cursor:pointer;padding:4px 10px;display:inline-flex;align-items:center;gap:6px;border-radius:999px}.user-banner{width:21px;height:28px;background-repeat:no-repeat}.row-actions .map-repeat-action-active{background:#e6f4e7;border-color:#5a9c63;box-shadow:0 0 0 2px #5a9c6333;color:#245f3a}.row-actions .map-repeat-action-active:hover{background:#d9efdc}.user-banner-standalone{flex:0 0 auto}.status-user-caret{font-size:.7rem;opacity:.8}.profile-modal{position:fixed;left:50%;top:50%;transform:translate(-50%,-50%);width:min(760px,calc(100vw - 32px));max-height:min(720px,calc(100dvh - 32px));overflow-y:auto;z-index:40}.profile-edit-modal{width:min(660px,calc(100vw - 32px));padding:clamp(20px,4vw,32px)}.profile-modal-header{display:flex;align-items:flex-start;justify-content:space-between;gap:var(--space-md)}.profile-modal-header .eyebrow{margin:0 0 3px}.profile-modal-header h2{margin:0}.profile-modal-close{display:inline-grid;place-items:center;flex:0 0 auto;width:34px;height:34px;min-height:34px;padding:0;border-radius:50%;color:var(--ink-soft);background:transparent;border:1px solid var(--line);font-size:1.45rem;line-height:1}.profile-modal-close:hover,.profile-modal-close:focus-visible{color:var(--ink);background:#f6e9d0;box-shadow:none;transform:none}.profile-edit-form,.profile-form-grid,.profile-field{display:grid}.profile-edit-form{gap:var(--space-lg)}.profile-form-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:var(--space-md)}.profile-field{min-width:0;gap:6px;color:#68563f;font-size:.82rem;font-weight:800}.profile-field span{display:flex;align-items:baseline;justify-content:space-between;gap:8px}.profile-field em{color:var(--ink-soft);font-size:.74rem;font-style:normal;font-weight:600}.profile-field input,.profile-field select{width:100%;min-width:0;max-width:none}.profile-ruler-progress{padding:var(--space-md);border:1px solid #dcc69a;border-radius:var(--radius-md);background:linear-gradient(135deg,#fffaf0,#f7edd8)}.profile-ruler-progress .eyebrow,.profile-ruler-progress h3,.profile-ruler-progress p{margin-top:0}.profile-ruler-progress h3{margin-bottom:8px}.profile-ruler-progress p:last-child{margin-bottom:0}.profile-title-requirements{display:grid;gap:5px;margin:10px 0 0;padding:0;list-style:none;font-size:.88rem}.profile-title-requirements li{position:relative;padding-left:20px}.profile-title-requirements li:before{position:absolute;left:0;font-weight:900}.profile-title-requirements.fulfilled{color:#2d7048}.profile-title-requirements.fulfilled li:before{content:"✓"}.profile-title-requirements.missing{color:#87503a}.profile-title-requirements.missing li:before{content:"•"}.profile-title-overview-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.profile-title-overview-link{align-items:center;background:#f8f0df;border:1px solid #ddc69b;border-radius:var(--radius-md);color:var(--ink-soft);display:flex;gap:var(--space-md);justify-content:space-between;min-width:0;padding:var(--space-md)}.profile-title-requirement-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.profile-title-requirement{background:#fffdf7c2;border:1px solid #ddc89f;border-radius:12px;min-width:0;padding:11px 12px}.profile-title-requirement.fulfilled{border-color:#91b99a;background:#eef8eed1}.profile-title-requirement.mandatory:not(.fulfilled){border-color:#cf8e58;background:#fff4e5db}.profile-title-requirement-heading{align-items:center;display:flex;gap:8px;justify-content:space-between}.profile-title-requirement-heading strong{color:var(--ink);font-size:.92rem}.profile-title-requirement-heading span{background:#efe4cf;border-radius:999px;color:#6f573a;font-size:.68rem;font-weight:800;padding:3px 7px;text-transform:uppercase;white-space:nowrap}.profile-title-requirement.fulfilled .profile-title-requirement-heading span{background:#dcefdc;color:#2f7048}.profile-title-requirement.mandatory:not(.fulfilled) .profile-title-requirement-heading span{background:#f6d7b5;color:#914b25}.profile-title-requirement p{color:var(--ink-soft);font-size:.82rem;line-height:1.35;margin:7px 0 0}.profile-title-requirement p b{color:#59432d}.profile-title-requirement .profile-title-requirement-description{color:#715f4c;font-size:.78rem}@media (max-width: 640px){.profile-title-requirement-grid{grid-template-columns:1fr}}.profile-actions{justify-content:flex-end;margin-top:0}.row-actions{display:flex;gap:var(--space-sm);margin-top:var(--space-md);flex-wrap:wrap;align-items:center}.contact-box{padding:var(--space-md);border:1px solid var(--line);border-radius:14px;background:#fffefb}.mail-icon-btn{position:relative;min-width:40px;padding:8px 10px;font-size:18px;line-height:1}.mail-badge{position:absolute;right:-4px;top:-4px;background:#cf6b2d;color:#fff;border-radius:999px;min-width:18px;height:18px;padding:0 5px;font-size:11px;display:inline-flex;align-items:center;justify-content:center}.logbook-icon-btn{align-items:center;display:inline-flex;justify-content:center;min-width:40px;padding:8px 10px;position:relative}.logbook-icon-btn svg{fill:none;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:20px}.chronicle-icon-btn{color:#fff}.chronicle-action-badge{align-items:center;justify-content:center}.chronicle-action-badge.new{height:10px;min-width:10px;padding:0;right:0;top:2px}.chronicle-action-badge.reward{background:#b47a24;font-size:12px;font-weight:900;right:-3px;top:-3px}.chronicle-action-badge.deeds{right:-4px;top:-4px}.help-icon-btn{align-items:center;display:inline-flex;justify-content:center;min-width:40px;padding:8px 10px}.help-icon-btn svg{fill:none;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:20px}.context-help-anchor{display:flex;justify-content:flex-end;margin:8px 4px -2px}.context-help-button{align-items:center;background:#fffaf0d1;border:1px solid rgba(118,91,55,.46);border-radius:50%;color:#72532f;cursor:pointer;display:inline-flex;font-family:Cinzel,serif;font-size:.84rem;font-weight:800;height:26px;justify-content:center;line-height:1;padding:0;width:26px}.context-help-button:hover,.context-help-button:focus-visible{background:#f5e3bf;border-color:#9f6e31;box-shadow:0 0 0 3px #b5854426;transform:none}.context-help-backdrop{background:#1f19126b;display:grid;top:0;right:0;bottom:0;left:0;padding:16px;place-items:center;position:fixed;z-index:35}.context-help-modal{box-shadow:0 20px 52px #20160c40;max-width:500px;padding:clamp(22px,4vw,34px);position:relative;width:min(500px,100%)}.context-help-modal h2{margin:2px 34px 10px 0}.context-help-modal>p:not(.eyebrow){color:var(--ink-soft);line-height:1.55;margin:0;max-width:58ch}.context-help-close{align-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink-soft);cursor:pointer;display:inline-flex;font-size:1.3rem;height:30px;justify-content:center;line-height:1;padding:0;position:absolute;right:16px;top:16px;width:30px}.context-help-close:hover,.context-help-close:focus-visible{background:#f6e9d0;color:#3b3125;transform:none}.construction-cancellation-overlay{align-items:center;background:#281d137a;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:18px;position:fixed;z-index:1400}.construction-cancellation-dialog{box-shadow:0 24px 60px #2a1c1057;display:grid;gap:13px;max-width:500px;padding:clamp(24px,4vw,34px);position:relative;width:min(500px,100%)}.construction-cancellation-dialog h2,.construction-cancellation-dialog p{margin:0}.construction-cancellation-dialog h2{margin-right:36px}.construction-cancellation-dialog>p:not(.eyebrow){color:var(--ink-soft);line-height:1.55}.construction-cancellation-close{align-items:center;background:transparent;border:1px solid var(--line);border-radius:50%;color:var(--ink-soft);cursor:pointer;display:inline-flex;font-size:1.3rem;height:30px;justify-content:center;line-height:1;padding:0;position:absolute;right:16px;top:16px;width:30px}.construction-cancellation-close:hover,.construction-cancellation-close:focus-visible{background:#f6e9d0;color:#3b3125;transform:none}.construction-cancellation-mark{align-items:center;background:linear-gradient(145deg,#d78c47,#af572f);border:3px solid #f8ebca;border-radius:50%;box-shadow:0 0 0 1px #bd7040,0 7px 16px #60301533;color:#fff8e9;display:inline-flex;font-family:Cinzel,serif;font-size:1.4rem;font-weight:900;height:42px;justify-content:center;line-height:1;width:42px}.construction-cancellation-location{color:#806447!important;font-size:.88rem;font-weight:700;margin-top:-7px!important}.construction-cancellation-warning{background:#fff2d9;border-left:3px solid #c87932;border-radius:0 10px 10px 0;color:#765334!important;font-weight:700;padding:10px 12px}.construction-cancellation-actions{display:flex;flex-wrap:wrap-reverse;gap:10px;justify-content:flex-end;margin-top:4px}.construction-cancellation-confirm{background:#b95e36;border-color:#9d4927}.construction-cancellation-confirm:hover,.construction-cancellation-confirm:focus-visible{background:#a94f2c;border-color:#8c3f22}@media (max-width:480px){.construction-cancellation-actions>button{flex:1 1 100%}}.game-state-indicator{align-items:center;background:transparent;border:0;cursor:pointer;display:inline-flex;height:40px;justify-content:center;padding:8px;position:relative;width:28px}.game-state-indicator:hover,.game-state-indicator:focus-visible{background:transparent;box-shadow:none;transform:none}.game-state-indicator-dot{--game-state-pulse-color:rgba(201,75,67,.36);background:#c94b43;border-radius:50%;box-shadow:0 0 0 0 var(--game-state-pulse-color);display:block;height:10px;transition:background .7s ease,box-shadow .7s ease;width:10px}.game-state-indicator-tooltip{background:#332a22;border-radius:8px;color:#fff;display:none;font-size:.76rem;font-weight:700;left:50%;line-height:1.2;padding:6px 8px;position:absolute;top:calc(100% + 7px);transform:translate(-50%);white-space:nowrap;z-index:1200}.game-state-indicator:hover .game-state-indicator-tooltip,.game-state-indicator:focus-visible .game-state-indicator-tooltip,.game-state-indicator[aria-expanded=true] .game-state-indicator-tooltip{display:block}.game-state-indicator-fresh .game-state-indicator-dot{--game-state-pulse-color:rgba(63,163,106,.4);animation:game-state-pulse 2.3s ease-out infinite;background:#3fa36a}.game-state-indicator-aging .game-state-indicator-dot{--game-state-pulse-color:rgba(190,148,48,.38);animation:game-state-pulse 3s ease-out infinite;background:#be9430}.game-state-indicator-due .game-state-indicator-dot{--game-state-pulse-color:rgba(216,120,46,.4);animation:game-state-pulse 1.25s ease-out infinite;background:#d8782e}.game-state-indicator-stale .game-state-indicator-dot{--game-state-pulse-color:rgba(201,75,67,.42);animation:game-state-pulse .9s ease-out infinite;background:#c94b43;filter:saturate(1.2)}.game-state-indicator-waiting .game-state-indicator-dot{--game-state-pulse-color:rgba(72,126,172,.38);animation:game-state-pulse 1.6s ease-out infinite;background:#487eac}.banner-picker-wrap{position:relative;display:inline-flex;align-items:center}.tutorial-wayfinder{align-items:center;border-left:4px solid var(--green);display:flex;gap:16px;justify-content:space-between;margin:12px 0;padding:12px 16px}.tutorial-wayfinder p{margin:3px 0}.chronicle-guidance-setting{align-items:center;display:flex;gap:8px;justify-content:flex-end;margin-top:18px}.chronicle-guidance-setting select{min-width:180px}@media (max-width:700px){.tutorial-wayfinder,.chronicle-guidance-setting{align-items:stretch;flex-direction:column}}.banner-picker-trigger{background:none;border:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;padding:2px;position:relative}.banner-picker-trigger:hover,.banner-picker-trigger:focus-visible{background:none;box-shadow:none;transform:translateY(-4px) scale(1.14)}.banner-picker-trigger:focus-visible{outline:none}.user-banner-preview{width:42px;height:56px}.banner-popover{position:absolute;right:0;top:calc(100% + 8px);z-index:12;display:grid;gap:10px;width:min(500px,calc(100vw - 20px))}.banner-popover-row{display:flex;align-items:center;justify-content:center;gap:10px}.banner-emblem{display:block;overflow:hidden}.banner-emblem-header{display:block;height:28px;width:21px}.banner-emblem-preview{display:block;height:56px;width:42px}.banner-configurator{border-top:1px solid var(--line);display:grid;gap:9px;margin-top:4px;padding-top:12px}.banner-configurator label{display:grid;gap:4px;color:#68563f;font-size:.76rem;font-weight:700}.banner-configurator select{min-width:0;padding:7px 9px}.banner-config-preview{align-items:center;background:linear-gradient(145deg,#f6eddd,#e7d6b5);border:1px solid #d9bb86;border-radius:12px;display:flex;justify-content:center;min-height:118px;padding:8px}.banner-color-grid{display:grid;gap:8px;grid-template-columns:1fr 1fr}.banner-symbol-selector{border:1px solid #dbc8a8;border-radius:10px;display:grid;gap:9px;padding:10px}.banner-symbol-selector-heading{align-items:baseline;color:#68563f;display:flex;font-size:.76rem;justify-content:space-between}.banner-symbol-selector-heading span{color:#2f2419;font-weight:700}.banner-symbol-group{display:grid;gap:5px}.banner-symbol-group>span{color:#88745a;font-size:.68rem;font-weight:800;letter-spacing:.05em;text-transform:uppercase}.banner-symbol-grid{display:grid;gap:5px;grid-template-columns:repeat(7,minmax(0,1fr))}.banner-symbol-choice{align-items:center;background:#fffaf0;border:1px solid #ddc7a3;border-radius:8px;color:#5c4832;display:grid;font:inherit;gap:2px;justify-items:center;min-height:58px;padding:4px 2px}.banner-symbol-choice:hover,.banner-symbol-choice:focus-visible{background:#f3e4c8;border-color:#a97538;box-shadow:none;transform:translateY(-1px)}.banner-symbol-choice.active{background:#e4f1e5;border-color:#3d9865;box-shadow:inset 0 0 0 1px #a4d4ae}.banner-symbol-choice .banner-symbol{height:30px;width:30px}.banner-symbol-choice small{font-size:.58rem;font-weight:800;line-height:1.05;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.banner-symbol-none{align-items:center;color:#8b7254;display:flex;font-size:1.7rem;height:30px;justify-content:center;line-height:1;width:30px}@media (max-width:460px){.banner-symbol-grid{grid-template-columns:repeat(4,minmax(0,1fr))}.banner-symbol-choice{min-height:54px}.banner-symbol-choice .banner-symbol{height:27px;width:27px}}.legal-footer{margin-top:14px;padding:10px 4px 0;display:flex;gap:10px;justify-content:center;align-items:center;color:var(--ink-soft)}.legal-link{background:none;border:0;color:#2f6b4e;cursor:pointer;font-weight:700;padding:4px 12px;border-radius:999px;text-decoration:underline;text-underline-offset:3px}.legal-link:hover{color:#b4541d;background:#fff0cf;transform:none}.legal-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#1f19125c;display:grid;place-items:center;z-index:30;padding:16px}.land-switcher{margin-top:8px;display:flex;align-items:center;justify-content:center;gap:10px}.land-context-header{position:relative;z-index:1}.land-context-header:has(.land-territory-picker[open]){z-index:1300}.land-territory-picker{max-width:min(440px,56vw);min-width:0;position:relative;z-index:20}.land-territory-name-editor{max-width:min(440px,56vw);min-width:0}.land-territory-name-editor input{background:#fffaf0d1;border:1px solid rgba(177,124,58,.55);border-radius:12px;color:#3d352d;font-family:Cinzel,serif;font-size:clamp(1.15rem,3vw,2rem);font-weight:700;min-width:0;padding:5px 10px;text-align:center;width:100%}.land-territory-name-editor input:focus{border-color:#b5762d;box-shadow:0 0 0 3px #c687372e;outline:none}.land-territory-picker summary{align-items:center;background:transparent;border:0;color:#3d352d;cursor:pointer;display:flex;font-family:Cinzel,serif;font-size:clamp(1.15rem,3vw,2rem);font-weight:700;padding:4px 26px 4px 8px;position:relative;text-align:center;list-style:none}.land-territory-picker summary::-webkit-details-marker{display:none}.land-territory-picker summary>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.land-territory-picker summary svg{fill:none;height:20px;position:absolute;right:2px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4;transition:transform .16s ease;width:20px}.land-territory-picker[open] summary svg{transform:rotate(180deg)}.land-territory-picker summary:hover,.land-territory-picker summary:focus-visible{background:#f7e6c49e;border-radius:12px;box-shadow:none;transform:none}.land-territory-picker-options{background:#fffaf0;border:1px solid rgba(177,124,58,.48);border-radius:16px;box-shadow:0 14px 30px #3f2b1833;display:grid;gap:4px;left:50%;max-height:min(330px,52vh);min-width:max(100%,240px);overflow-y:auto;padding:7px;position:absolute;top:calc(100% + 8px);transform:translate(-50%);width:max-content;z-index:80}.land-territory-picker-options button{background:transparent;border:1px solid transparent;border-radius:11px;color:#493a2c;font-family:Cinzel,serif;font-size:.94rem;font-weight:700;max-width:100%;overflow:hidden;padding:9px 12px;text-align:left;text-overflow:ellipsis;white-space:nowrap}.land-territory-picker-options button:hover,.land-territory-picker-options button:focus-visible,.land-territory-picker-options button.active{background:#f4e4bd;border-color:#b77e3685;box-shadow:none;color:#50371e;transform:none}.land-territory-edit-btn{align-items:center;background:transparent;border:0;color:#4d9f73;cursor:pointer;display:inline-flex;height:32px;justify-content:center;padding:5px;width:32px}.land-territory-edit-btn:hover,.land-territory-edit-btn:focus-visible{background:#4d9f731f;box-shadow:none;transform:none}.land-territory-edit-btn svg{fill:none;height:20px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.9;width:20px}.land-context-tabs{display:flex;justify-content:center;gap:8px;margin-top:14px}.land-context-tabs button{background:#f3e4c7;border-radius:999px;color:#3b3125;min-width:132px}.land-context-tabs button.active{background:#4d9f73;border-color:#4d9f73;color:#fffdf7}.land-switcher-title{margin:0;text-align:center}.land-name-btn{background:none;border:0;color:#3d352d;font-weight:700;cursor:pointer;padding:4px 14px;display:inline-flex;align-items:center;gap:6px;font-size:2rem;line-height:1.1;border-radius:999px}.back-link-btn{background:none;border:0;color:#7a5b34;font-weight:700;padding:2px 0;border-radius:8px}.back-link-btn:hover{color:#b4541d;background:transparent;transform:none}.legal-modal{width:min(760px,94vw)}.mail-compose{display:grid;gap:var(--space-md)}.mail-compose-row{display:grid;grid-template-columns:minmax(260px,1fr) minmax(360px,2fr) auto;gap:var(--space-md);align-items:center}.mail-compose-row>input+button,.mail-compose-row .recipient-input-wrap input+button{margin-top:0}.subject-input{width:100%}.mail-content-input{width:100%;resize:vertical;border:1px solid var(--line);border-radius:12px;background:#fffcf6;color:#463a2c;padding:10px 12px;font:inherit;line-height:1.4}.mail-content-input:focus{outline:none;border-color:#d6b17f;box-shadow:0 0 0 2px #d6b17f3d}.recipient-input-wrap{position:relative;display:flex;gap:var(--space-sm);align-items:center}.recipient-input-wrap input{flex:1}.address-book-btn{min-width:42px;height:40px;padding:9px 10px;line-height:1;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid #ccab7f;background:linear-gradient(180deg,#66b68a,var(--brand-2));color:#fff;font-weight:600}.address-book-btn svg{width:18px;height:18px;fill:currentColor;display:block}.address-book-btn:hover{background:linear-gradient(180deg,#e9924f,var(--brand));transform:translateY(-1px) scale(1.01)}.mail-row{border:1px solid var(--line);border-radius:12px;padding:var(--space-md)}.mail-row-unread{background:#fff1da;border-color:#dea95e;box-shadow:0 4px 12px #945a161f}.mail-row-unread b{color:#613d1f}.mail-row-read{background:#f4efe6;border-color:#dacdbb}.mail-received-heading{margin-top:20px;display:flex;align-items:center;justify-content:space-between;gap:12px}.land-detail-title{display:inline-flex;align-items:center;gap:8px;min-width:0}.land-detail-title h3{margin:0}.land-name-edit-btn{display:inline-grid;width:34px;min-width:34px;height:34px;min-height:34px;place-items:center;padding:7px;border-radius:50%;color:var(--brand-2);background:transparent;border-color:transparent}.land-name-edit-btn:hover,.land-name-edit-btn:focus-visible{transform:translateY(-1px) scale(1.08);color:var(--brand);background:transparent;border-color:transparent}.land-name-edit-btn svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}.land-rename-form{display:flex;align-items:end;gap:10px;margin-top:12px}.land-rename-form label{display:grid;flex:1 1 220px;gap:5px;color:var(--ink-soft);font-size:.84rem;font-weight:700}.land-rename-form input{min-width:0}.land-rename-form button{white-space:nowrap}.mail-received-heading h3{margin:0}.work-priority-panel{overflow:hidden;border:1px solid var(--line-2);border-radius:15px;background:linear-gradient(135deg,#fffdf8,#f9f1e2)}.work-priority-heading{display:grid;grid-template-columns:minmax(0,1fr) auto 22px;width:100%;align-items:center;gap:14px;padding:15px 17px;color:#443424;border:0;border-radius:0;background:transparent;box-shadow:none;text-align:left}.work-priority-heading:hover,.work-priority-heading:focus-visible{transform:none;background:#f3e0b873}.work-priority-heading-copy{display:grid;gap:3px}.work-priority-heading-copy strong{font-family:var(--font-display);font-size:1.15rem;letter-spacing:.02em}.work-priority-heading-copy small{color:#74675a;font-family:var(--font-body);font-size:.86rem;font-weight:500}.work-priority-summary{padding:5px 9px;border:1px solid #d8c4a4;border-radius:999px;color:#756a5e;background:#f5eee2;font-size:.78rem;font-weight:800;white-space:nowrap}.work-priority-summary.active{border-color:#8bbd93;color:#287345;background:#e5f4e8}.work-priority-chevron{width:20px;height:20px;stroke:currentColor;stroke-width:2.3;fill:none;transition:transform .16s ease}.work-priority-panel.expanded .work-priority-chevron{transform:rotate(180deg)}.work-priority-content{padding:0 17px 17px;border-top:1px solid rgba(177,144,98,.26)}.work-priority-intro{max-width:760px;margin:13px 0 0}.work-priority-controls{display:flex;flex-wrap:wrap;align-items:end;gap:12px 18px;margin:15px 0}.work-priority-switch{display:inline-flex;align-items:center;gap:9px;min-height:40px;color:#4b4034;font-weight:800;cursor:pointer}.work-priority-switch input{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}.work-priority-switch-track{display:flex;align-items:center;width:42px;height:24px;padding:3px;border:1px solid #b8a58a;border-radius:999px;background:#dcd5c9;transition:background .16s ease,border-color .16s ease}.work-priority-switch-track span{width:16px;height:16px;border-radius:50%;background:#fffdf8;box-shadow:0 1px 3px #392b1b4d;transition:transform .16s ease}.work-priority-switch input:checked+.work-priority-switch-track{border-color:#3d9662;background:#4fa776}.work-priority-switch input:checked+.work-priority-switch-track span{transform:translate(18px)}.work-priority-switch input:focus-visible+.work-priority-switch-track{outline:3px solid rgba(36,118,219,.35);outline-offset:2px}.work-priority-switch:has(input:disabled){cursor:not-allowed;opacity:.55}.work-priority-reserve{display:grid;gap:4px;color:#675847;font-size:.84rem;font-weight:800}.work-priority-reserve input{width:142px}.work-priority-idle{align-self:center;color:#74675a}.work-priority-activation-hint{align-self:center;color:#8b6331;font-size:.84rem}.work-priority-reserve-readonly{align-self:center;color:#74675a}.work-priority-controls>button{min-height:42px}.work-priority-roles{display:grid;grid-template-columns:repeat(auto-fit,minmax(360px,1fr));gap:10px}.work-priority-role{display:grid;grid-template-rows:minmax(36px,auto) 34px;gap:7px;min-height:84px;padding:9px 10px 9px 12px;border:1px solid var(--line-2);border-radius:12px;background:#fffdf7}.work-priority-role.active{border-color:#81ad7b;background:#f1f8ed}.work-priority-role-select{display:grid;grid-template-columns:18px 30px minmax(0,1fr);align-items:center;justify-content:start;width:100%;min-width:0;gap:8px;color:#3f382f;font-weight:800;cursor:pointer}.automatic-repair-role-select{grid-template-columns:18px 46px minmax(0,1fr)}.work-priority-role-select span{overflow-wrap:anywhere}.work-priority-role-select input{width:18px;height:18px;margin:0}.work-priority-role-icon{display:inline-grid;flex:0 0 auto;place-items:center;width:30px;height:30px;border:1px solid #d6b477;border-radius:8px;color:#79562d;background:#fff7e6}.work-priority-role-icon svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.work-priority-building-art{overflow:hidden}.work-priority-building-art img{display:block;height:128%;object-fit:contain;width:128%}.work-priority-role-actions{display:flex;align-items:center;justify-content:space-between;gap:9px;min-width:0}.work-priority-order{color:#4f6d42;font-size:.78rem;font-weight:800;white-space:nowrap}.work-priority-disabled{color:#847a6f;font-size:.79rem}.work-priority-move-buttons{display:inline-flex;gap:5px}.work-priority-move-buttons button{display:grid;width:32px;min-width:32px;height:32px;min-height:32px;place-items:center;padding:0;font-size:.72rem;line-height:1}@media (max-width: 620px){.work-priority-heading{grid-template-columns:minmax(0,1fr) 22px;padding:13px 14px}.work-priority-summary{grid-row:2;grid-column:1;justify-self:start}.work-priority-chevron{grid-column:2;grid-row:1 / span 2}.work-priority-content{padding:0 14px 14px}.work-priority-controls{align-items:stretch}.work-priority-controls>button{width:100%}.work-priority-roles{grid-template-columns:1fr}}.ranking-alliances-heading{margin-top:20px}.address-book-list{position:absolute;top:calc(100% + 6px);left:0;right:0;z-index:6;max-height:240px;overflow:auto;border:1px solid var(--line);border-radius:10px;background:#fffef8;box-shadow:0 10px 24px #4234252e;padding:6px;display:grid;gap:6px}.address-entry{text-align:left;background:#f6ead2;color:#3b3125;border-color:#dec196}.success-note{color:#2f6b4e;font-weight:700;margin:4px 0 8px}.intro-screen{position:relative;overflow:hidden;width:min(940px,calc(100vw - 32px));justify-self:center;padding:clamp(24px,4vw,46px);border-radius:26px;background:radial-gradient(900px 300px at 18% 0%,rgba(220,148,79,.18) 0%,transparent 60%),radial-gradient(700px 220px at 100% 0%,rgba(111,143,82,.14) 0%,transparent 62%),linear-gradient(180deg,#f8f0dbfa,#f2e6c8fa);box-shadow:0 22px 56px #5034121f,inset 0 0 0 1px #84603024}.intro-screen:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;background:linear-gradient(135deg,rgba(120,94,54,.06) 1px,transparent 1px),linear-gradient(45deg,rgba(120,94,54,.045) 1px,transparent 1px);background-size:28px 28px,42px 42px;opacity:.22;mix-blend-mode:multiply}.intro-screen:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;border-radius:inherit;background:radial-gradient(circle at 50% 52%,transparent 52%,rgba(72,38,14,.08) 100%),radial-gradient(circle at 50% 0%,rgba(255,255,255,.18) 0%,transparent 28%),radial-gradient(circle at 50% 100%,rgba(111,58,29,.16) 0%,transparent 26%);box-shadow:inset 0 0 0 1px #7e582c1f,inset 0 0 60px #5d381214}.intro-screen>*{position:relative;z-index:1}.intro-hero{display:grid;gap:12px;margin-bottom:18px;justify-items:start}.intro-seal{width:58px;height:58px;position:relative;border-radius:50%;border:1.5px solid rgba(122,78,58,.55);background:radial-gradient(circle at 50% 50%,rgba(220,148,79,.54) 0 5px,rgba(122,78,58,.18) 6px,transparent 7px),linear-gradient(180deg,#fff5d6d1,#c6ab7a8c);box-shadow:inset 0 0 0 6px #fff5dc61,0 10px 18px #5337161f}.intro-seal:before,.intro-seal:after{content:"";position:absolute;top:11px;right:11px;bottom:11px;left:11px;border-radius:14px;border:1px solid rgba(122,78,58,.24);transform:rotate(45deg)}.intro-seal:after{top:18px;right:18px;bottom:18px;left:18px;border-radius:999px;border-color:#dc944f4d;background:radial-gradient(circle,rgba(220,148,79,.9) 0 20%,transparent 22%)}.intro-overline{margin:0;letter-spacing:.16em;text-transform:uppercase;font-size:.8rem;color:#6b5437;font-weight:800}.intro-hero h2{margin:0;font-size:clamp(2rem,4vw,3.35rem);line-height:.98;color:#3c2816;letter-spacing:.01em}.intro-subline{margin:0;max-width:58ch;color:#5f4f40;font-size:1.02rem}.intro-quote{margin:0 0 18px;padding:18px 20px 18px 22px;position:relative;display:grid;gap:8px;border-left:4px solid #cf8637;border-radius:18px;background:linear-gradient(180deg,#fff8e6f2,#f3e5c2eb);color:#3b2b1d;line-height:1.65;box-shadow:inset 0 0 0 1px #8c663714}.intro-year{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:4px 11px;border-radius:999px;background:#cf6b2d1f;color:#8a4d1e;font-size:.88rem;letter-spacing:.12em;text-transform:uppercase;font-weight:800}.intro-quote p{margin:0}.intro-timeline{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:14px;margin-bottom:16px;position:relative}.intro-timeline:before{content:"";position:absolute;left:18px;right:18px;top:18px;height:1px;background:linear-gradient(90deg,transparent,rgba(132,96,48,.28),transparent);pointer-events:none}.intro-chapter{position:relative;border:1px solid rgba(138,99,54,.2);border-radius:18px;padding:16px 16px 14px;background:linear-gradient(180deg,#fffcf4eb,#f7efddf0);box-shadow:inset 0 0 0 1px #ffffff59}.intro-chapter-marker{position:absolute;left:16px;top:-9px;width:18px;height:18px;border-radius:50%;border:2px solid rgba(130,84,38,.4);background:radial-gradient(circle at 50% 50%,rgba(231,157,70,.95) 0 34%,rgba(145,86,30,.1) 35%,transparent 36%),linear-gradient(180deg,#fae1acf2,#c28b43bf);box-shadow:0 3px 8px #5a3a161f}.intro-chapter h3{margin:0 0 8px;padding-top:8px;color:#4a311d;font-size:1.06rem}.intro-chapter p{margin:0;color:#43382d;line-height:1.62}.intro-law{position:relative;border:1px solid rgba(152,104,49,.3);border-radius:20px;padding:18px 18px 16px;margin-bottom:16px;background:linear-gradient(180deg,#492f1aeb,#362111f2);color:#f0dfbf;box-shadow:inset 0 0 0 1px #efc68024,0 10px 24px #371f0c1f}.intro-law:before{content:"";position:absolute;top:8px;right:8px;bottom:8px;left:8px;pointer-events:none;border-radius:16px;border:1px solid rgba(207,155,79,.18)}.intro-law h3{margin:0 0 6px;color:#f1dfb7;letter-spacing:.03em}.intro-law p{margin:0}.intro-law-line{margin-top:8px!important;font-weight:800;font-size:1.18rem;color:#ffd7a0;letter-spacing:.01em}.intro-cta{display:grid;gap:12px;justify-items:start;padding-top:4px}.intro-cta p{margin:0;font-weight:600;color:#3d3126;max-width:60ch}.intro-loading{display:grid;gap:10px;min-width:min(100%,460px)}.intro-loading-row{display:flex;align-items:center;gap:12px;flex-wrap:wrap}.intro-loading-label{color:#735743;font-weight:700}.intro-loading-dots{display:inline-flex;align-items:center;gap:8px}.work-priority-limit{display:inline-flex;align-items:center;gap:5px;color:#74675a;font-size:.78rem}.work-priority-limit input{width:88px;min-height:30px;padding:4px 7px}.work-priority-limit strong{color:#4b4034}.intro-loading-dots span{width:10px;height:10px;border-radius:50%;background:radial-gradient(circle at 35% 35%,#ffd7a8,#dc8b3b 48%,#8a4920);box-shadow:0 0 0 1px #6c3d161f,0 0 16px #e08a3559;animation:intro-ember-pulse 1.6s ease-in-out infinite}.intro-loading-dots span:nth-child(2){animation-delay:.2s}.intro-loading-dots span:nth-child(3){animation-delay:.4s}.intro-loading-bar{position:relative;width:min(100%,420px);height:10px;overflow:hidden;border-radius:999px;background:#684d311f;box-shadow:inset 0 1px 2px #462b161f,0 1px #ffffff47}.intro-loading-bar span{display:block;width:42%;height:100%;border-radius:inherit;background:linear-gradient(90deg,#ffd29533,#e5aa61 18%,#cc7932 55%,#f1c47e);box-shadow:0 0 14px #ce782e2e,inset 0 1px #fff6e461;animation:intro-loading-slide 1.8s ease-in-out infinite}.intro-ready{display:inline-flex;align-items:center;gap:12px;padding:10px 14px;border-radius:999px;background:linear-gradient(135deg,#f3fbf0f2,#e8f4e3f2);border:1px solid rgba(86,125,73,.22);box-shadow:0 10px 18px #587e4c14,inset 0 1px #ffffff59}.intro-ready-badge{width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%;background:linear-gradient(180deg,#79b36c,#4f8e4c);color:#fffdf7;font-weight:800;box-shadow:0 6px 14px #4f8e4c2e,inset 0 1px #ffffff4d}.intro-ready-label{color:#406239;font-weight:800;letter-spacing:.01em}.intro-cta button{min-height:50px;padding:12px 18px;border-radius:999px;border:1px solid rgba(141,87,36,.45);background:linear-gradient(180deg,#e4a85d,#cf7b35 45%,#9a5423);color:#fff8ec;box-shadow:0 10px 18px #6c3d1629,inset 0 1px #ffffff38}.intro-cta button:hover,.intro-cta button:focus-visible{filter:brightness(1.04);transform:translateY(-1px);box-shadow:0 12px 22px #6c3d1633,inset 0 1px #ffffff47}.intro-cta button:focus-visible{outline:3px solid rgba(207,107,45,.28);outline-offset:3px}@keyframes intro-ember-pulse{0%,to{transform:scale(.82);opacity:.55}50%{transform:scale(1);opacity:1}}@keyframes intro-loading-slide{0%{transform:translate(-110%)}to{transform:translate(250%)}}@media (max-width: 980px){.mail-compose-row{grid-template-columns:1fr}.intro-screen{width:min(940px,calc(100vw - 20px))}.intro-timeline{grid-template-columns:1fr}.intro-timeline:before{display:none}}@media (max-width: 640px){body{background-attachment:scroll}.page{width:min(100% - 20px,1320px);padding:12px 0 32px}.hero{gap:10px;margin-bottom:12px}.hero h1{font-size:clamp(1.75rem,9vw,2.35rem)}.status{gap:6px;padding:6px;flex-wrap:wrap;overflow:visible;justify-content:flex-start}.status>button{min-height:44px;flex:0 0 auto}.status-user-btn{min-width:0;max-width:42vw}.status-user-btn>span:first-child{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.card{padding:12px;border-radius:14px}.dashboard,.auth-grid{gap:12px}.auth-grid{grid-template-columns:1fr}.auth-card{width:100%}.tabs{position:static}.tab-buttons{flex-wrap:nowrap;overflow-x:auto;padding-bottom:4px;scrollbar-width:thin}.tab-buttons .tab-main{flex:0 0 auto;min-height:44px}.tab-buttons .tab-context-help-button{flex:0 0 26px;min-height:26px;min-width:26px}.resource-hud{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;overflow:visible}.resource-chip{min-width:0;width:100%;min-height:46px;padding:6px 7px}.resource-values b,.rate-inline{font-size:.9rem}.resource-capacity{white-space:nowrap}.land-switcher{gap:6px}.land-context-tabs{margin-top:12px}.land-context-tabs button{flex:1 1 0;min-width:0}.land-detail-head{flex-direction:column}.land-detail-head-controls{width:100%;justify-content:space-between}.land-detail-meta{white-space:normal}.land-rename-form{flex-wrap:wrap;align-items:stretch}.land-rename-form label{flex-basis:100%}.land-rename-form button{flex:1 1 calc(50% - 5px);min-width:0}.mail-received-heading{flex-wrap:wrap;align-items:flex-start}.mail-received-heading button{width:100%}.resource-territory-popover{top:calc(10px + env(safe-area-inset-top))!important;right:10px;bottom:calc(10px + env(safe-area-inset-bottom));left:10px!important;width:auto;max-height:none}.game-state-indicator-tooltip{left:0;max-width:calc(100vw - 40px);transform:none;white-space:normal}.land-name-btn{max-width:calc(100vw - 140px);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.row,.build-active-row,.mail-row,.ranking-row,.alliance-row{align-items:stretch}.row-actions,.worker-stepper,.worker-stepper-group{width:100%;justify-content:space-between}.worker-stepper button,.row-actions button,.ration-grid button{min-height:44px}.worker-stepper-group{flex:1 1 0}.worker-stepper-group button{flex:1 1 0;min-width:0}.build-active-main{min-width:0}.build-active-main strong,.muted{overflow-wrap:anywhere}.hex-map-shell{margin-inline:-2px;border-radius:10px}.hex-map{min-width:0;min-height:320px}.world-map-controls{top:14px;right:14px}.counter-table-wrap,.mail-list,.alliance-list,.ranking-list{overflow-x:auto}.profile-modal{top:12px;transform:translate(-50%);max-height:calc(100dvh - 24px);overflow-y:auto}.profile-edit-modal{width:min(660px,calc(100vw - 20px))}.profile-form-grid{grid-template-columns:1fr}.profile-actions{flex-direction:column-reverse;align-items:stretch}.profile-actions button{width:100%}.banner-popover{position:fixed;inset:auto 10px 10px;min-width:0;max-width:none}.toast{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));text-align:center}.legal-footer{flex-wrap:wrap;gap:2px 4px}input,select,textarea{font-size:16px}.intro-screen{padding:20px 16px 18px;border-radius:20px}.intro-hero h2{font-size:1.85rem}.intro-law-line{font-size:1.06rem}}@media (prefers-reduced-motion: reduce){.intro-screen *,.intro-view{animation:none!important;transition:none!important}}.satisfaction-total{display:flex;align-items:baseline;gap:.65rem;padding:1rem;margin:1rem 0;border:1px solid var(--border, #e6c997);border-radius:14px;background:#fff9ed}.satisfaction-total b{font-size:1.6rem;color:#2f714b}.ration-plan{margin:1.1rem 0 1.25rem;padding:1rem;border:1px solid #e6c997;border-radius:14px;background:linear-gradient(135deg,#fff8e9,#f4ead4)}.ration-plan-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:1rem;margin-bottom:.8rem}.ration-plan-heading h3{margin:0}.ration-plan-heading .muted{margin:.3rem 0 0}.ration-plan-current{flex:0 0 auto;padding:.4rem .65rem;border-radius:999px;background:#fffdf7;border:1px solid #dfc18a;color:#694b2d;font-size:.9rem}.ration-plan-consumption{margin:.85rem 0 0;color:#5e503f}.satisfaction-breakdown{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:.55rem;margin-bottom:1.5rem}.satisfaction-part{border-radius:10px;background:#fbf1dc;overflow:hidden}.satisfaction-part-header{display:flex;justify-content:space-between;align-items:center;gap:.5rem;padding:.65rem .8rem}.satisfaction-part-value{display:flex;align-items:center;gap:.45rem}.satisfaction-part-details{padding:0 .8rem .75rem;color:#6f6558;font-size:.92rem;line-height:1.45}.satisfaction-part-details p{margin:.35rem 0 0}.satisfaction-part-details strong{color:#493b2d}.satisfaction-details-panel{margin:-.7rem 0 1.5rem;padding:.9rem 1rem;border:1px solid #d6b477;border-radius:12px;background:#fff8e9;color:#6f6558;font-size:.92rem;line-height:1.45}.satisfaction-details-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem}.satisfaction-details-heading h3{margin:0;color:#493b2d}.satisfaction-details-panel p{margin:.35rem 0 0}.satisfaction-details-panel strong{color:#493b2d}.help-button{display:inline-flex;align-items:center;justify-content:center;width:1.45rem;height:1.45rem;padding:0;border:1px solid #b98a4c;border-radius:50%;background:#fff8e9;color:#75451f;font-weight:700;cursor:pointer}.help-button:hover,.help-button:focus-visible{background:#e9bd70;color:#3d2b1d}.satisfaction-part.expanded{box-shadow:0 0 0 2px #b98a4c38}.ration-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(155px,1fr));gap:.65rem}.ration-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;min-height:100px;text-align:left}.ration-grid button.active{border-color:#3fa36a;box-shadow:0 0 0 2px #ccebd8;background:#edf8f0;color:#245f3a}.ration-grid button.active:hover{background:#dff4e2}.ration-grid button.active:focus-visible{outline:3px solid rgba(63,163,106,.4);outline-offset:2px}.maintenance-plan{margin:1.1rem 0 1.25rem;padding:1rem;border:1px solid #d8c4a2;border-radius:14px;background:linear-gradient(135deg,#f8f4eb,#eee5d5)}.maintenance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(145px,1fr));gap:.65rem}.maintenance-grid button{display:flex;flex-direction:column;align-items:flex-start;gap:.25rem;min-height:92px;text-align:left}.maintenance-grid button.active{border-color:#8f673b;box-shadow:0 0 0 2px #e8d1a8;background:#fff6e5;color:#4f3824}.maintenance-grid button.active:hover{background:#f8e9cf}.maintenance-grid button.active:focus-visible{outline:3px solid rgba(143,103,59,.35);outline-offset:2px}.settlement-source-select{display:grid;gap:5px;max-width:360px;margin-bottom:var(--space-sm);color:var(--ink-soft);font-size:.84rem;font-weight:600}.settlement-package,.settlement-additions{display:grid;gap:.7rem;margin-top:.9rem;padding:.9rem;border-radius:14px}.settlement-package{background:linear-gradient(135deg,#fff7e4,#f5ecd9);border:1px solid #d7ad63;box-shadow:inset 4px 0 #c48a36}.settlement-additions{background:#fffcf4b8;border:1px solid #e4d0ae}.settlement-package-heading,.settlement-additions-heading{align-items:start;display:flex;gap:.8rem;justify-content:space-between}.settlement-package h4,.settlement-additions h4,.settlement-package p,.settlement-additions p{margin:0}.settlement-package p,.settlement-additions p{color:var(--ink-soft);font-size:.86rem;line-height:1.4;margin-top:.2rem}.settlement-package-required,.settlement-additions-heading>span{border-radius:999px;font-size:.74rem;font-weight:800;padding:.24rem .55rem;white-space:nowrap}.settlement-package-required{background:#c7842e;color:#fffdf7}.settlement-additions-heading>span{background:#e9eee1;color:#54704e}.settlement-package-values{display:flex;flex-wrap:wrap;gap:.45rem}.settlement-package-values span{background:#fffdf7cc;border:1px solid rgba(170,118,46,.38);border-radius:999px;color:#65451f;font-size:.82rem;font-weight:750;padding:.32rem .55rem}.settlement-total{background:#edf5e8;border:1px solid #b7d4b0;border-radius:10px;color:#315b3a;display:grid;font-size:.86rem;gap:.15rem;padding:.65rem .75rem}.settlement-total strong{color:#244b2e}@media (max-width: 560px){.settlement-package-heading,.settlement-additions-heading{gap:.5rem}.settlement-package-values{gap:.35rem}}.market-tab{display:grid;gap:1.25rem}.market-heading{align-items:start;display:flex;gap:1rem;justify-content:space-between}.market-heading h2{margin:0 0 .35rem}.market-heading p{margin:0;max-width:780px}.market-next-run{background:#edf5e7;border:1px solid #a9d4b2;border-radius:14px;color:#3a6748;font-size:.82rem;line-height:1.35;min-width:130px;padding:.65rem .8rem;text-align:center}.market-next-run strong{color:var(--ink);font-size:1rem}.market-section{display:grid;gap:.7rem;padding:1rem;border:1px solid #e2cfac;border-radius:15px;background:#fffbf1b8}.market-section h3{margin:0}.market-section-heading{align-items:center;display:flex;gap:.5rem}.market-help-button{align-items:center;background:#fffdf8;border:1px solid #c99750;border-radius:50%;color:#755128;display:inline-flex;font-family:Georgia,serif;font-size:.82rem;font-weight:800;height:24px;justify-content:center;line-height:1;padding:0;width:24px}.market-help-button:hover,.market-help-button:focus-visible{background:#f4bd65;border-color:#a56527;color:#3f2b1d}.market-help-overlay{align-items:center;background:#30231757;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:20px;position:fixed;z-index:70}.market-help-dialog{color:var(--ink-soft);display:grid;gap:.8rem;max-height:calc(100dvh - 40px);overflow-y:auto;padding:20px;width:min(560px,100%)}.market-help-heading{align-items:start;color:var(--ink);display:flex;gap:.75rem;justify-content:space-between}.market-help-heading h3,.market-help-dialog p,.market-help-dialog ul{margin:0}.market-help-dialog ul{display:grid;gap:.45rem;padding-left:1.25rem}.market-conflict{margin:0;color:#a33e31;font-weight:700}.market-price-grid{display:grid;gap:.7rem;grid-template-columns:repeat(3,minmax(0,1fr))}.market-price{background:#f7f3e8;border:1px solid #e2cfac;border-radius:12px;display:grid;gap:.15rem;padding:.7rem .8rem}.market-price span{color:#825c2c;font-size:1.05rem;font-weight:800}.market-price small{color:var(--ink-soft)}.market-order-card{background:#fffaf0;border:1px solid #ead8b6;border-radius:14px;display:grid;gap:.75rem;padding:.9rem}.market-order-title{align-items:start;display:flex;gap:.8rem;justify-content:space-between}.market-order-title>div{display:grid;gap:.15rem}.market-order-title small,.market-stock{color:var(--ink-soft);font-size:.84rem}.market-stock{text-align:right}.market-order-controls{align-items:end;display:grid;gap:.65rem;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto}.market-order-direction{border:1px solid #ead8b6;border-radius:10px;display:grid;gap:.55rem;grid-template-columns:repeat(3,minmax(0,1fr));margin:0;min-width:0;padding:.55rem .65rem .65rem}.market-order-direction legend{color:#76552f;font-size:.8rem;font-weight:800;padding:0 .25rem}.market-order-controls label{color:var(--ink-soft);display:grid;font-size:.8rem;font-weight:700;gap:.3rem}.market-order-controls input,.market-order-controls select{min-width:0}.market-save{align-self:end;min-height:40px;white-space:nowrap}.market-reasons{color:#805536;display:grid;font-size:.82rem;gap:.2rem}.market-reasons p{margin:0}.market-shipment{align-items:center;background:#fffaf0;border:1px solid #ead8b6;border-radius:12px;display:grid;gap:.35rem;grid-template-columns:1fr 1.2fr auto;padding:.75rem .85rem}.market-shipment small{color:var(--ink-soft);text-align:right}.market-conflict-overlay{align-items:center;background:#2d201461;display:flex;top:0;right:0;bottom:0;left:0;justify-content:center;padding:1rem;position:fixed;z-index:500}.market-conflict-dialog{background:#fffaf0;border:1px solid #d4a55f;border-radius:18px;box-shadow:0 18px 45px #2c1f1452;display:grid;gap:.8rem;max-width:460px;padding:1.25rem}.market-conflict-dialog h3,.market-conflict-dialog p{margin:0}.market-form,.market-controls{display:grid;grid-template-columns:repeat(auto-fit,minmax(135px,1fr));gap:.7rem}.market-form label,.market-controls label{display:grid;gap:.3rem;font-size:.82rem;font-weight:700;color:var(--ink-soft)}.market-check{display:flex;gap:.45rem;align-items:center}.market-offer{display:grid;gap:.35rem;grid-template-columns:1fr auto;align-items:center;padding:.8rem;border-radius:12px;background:#fffaf0;border:1px solid #ead8b6}.market-offer small{grid-column:1 / -1;color:var(--ink-soft)}.market-offer-allied{border-color:#4b9868;background:linear-gradient(135deg,#f4fbef,#eef7ea);box-shadow:inset 4px 0 #3fa36a}.market-alliance-note{justify-self:start;color:#277246;font-size:.8rem;font-weight:700}.market-accept{display:flex;gap:.45rem;align-items:center}.market-accept input{width:90px}.pager{display:flex;align-items:center;justify-content:center;gap:.7rem}@media (max-width: 1120px){.market-order-controls{grid-template-columns:1fr 1fr}.market-save{grid-column:1 / -1}}@media (max-width: 760px){.market-heading,.market-order-title{align-items:stretch;flex-direction:column}.market-stock{text-align:left}.market-order-controls{grid-template-columns:1fr 1fr}.market-save{grid-column:1 / -1}.market-price-grid,.market-shipment{grid-template-columns:1fr}.market-shipment small{text-align:left}}@media (max-width: 560px){.market-offer{grid-template-columns:1fr}.market-accept{justify-content:space-between}.market-order-controls{grid-template-columns:1fr}.market-order-direction{grid-template-columns:1fr 1fr}}.season-indicator{align-items:center;color:#fff;display:inline-flex;justify-content:center;min-width:40px;padding:8px 10px;position:relative}.season-indicator svg{fill:none;height:19px;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8;width:19px}.season-indicator-tooltip{background:#fffaf1;border:1px solid #d9bb86;border-radius:10px;box-shadow:0 8px 20px #412d192e;color:#4a3722;display:grid;font-size:.78rem;gap:2px;left:0;min-width:190px;padding:8px 10px;position:absolute;top:calc(100% + 8px);white-space:nowrap;z-index:60}.season-indicator.season-summer,.season-indicator.season-autumn,.season-indicator.season-winter{color:#fff}.chronicle-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;margin-bottom:1rem}.chronicle-heading h2,.chronicle-prologue h3,.chronicle-category h3,.chronicle-deed h3{margin:0}.chronicle-prologue,.chronicle-category,.chronicle-deed{border:1px solid var(--line, #decda8);border-radius:14px;padding:1rem;background:#fffcf2b3}.chronicle-prologue{margin-bottom:1rem;border-left:5px solid #b98b27}.daily-quests{border:1px solid #dfc36f;border-radius:14px;padding:1rem;margin-bottom:1rem;background:linear-gradient(130deg,#fff7d3e0,#fffcf2c7)}.daily-quest-heading{display:flex;justify-content:space-between;gap:1rem;align-items:center}.daily-quest-heading h3{margin:0}.daily-quest-streak,.daily-quest-star{display:inline-flex;align-items:center;justify-content:center;background:#e7b72f;color:#241c0f;border-radius:999px;font-weight:800}.daily-quest-streak{min-width:3.1rem;padding:.35rem .55rem;gap:.25rem}.daily-quest-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem}.daily-quest{border:1px solid rgba(157,112,35,.35);border-radius:11px;padding:.8rem;background:#ffffff7a}.daily-quest h3{margin:0;font-size:1rem}.daily-quest p{margin:.35rem 0 .65rem}.daily-quest.completed{border-color:#558e55;background:#e0f2dbbf}.daily-quest.completed strong{color:#35763b}.daily-quest-star{width:1.45rem;height:1.45rem;margin-left:.25rem;position:relative;font-size:1.35rem;vertical-align:middle}.daily-quest-star b{position:absolute;font-size:.58rem;line-height:1}.chronicle-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:.8rem}.chronicle-category p,.chronicle-deed p{margin:.4rem 0 0}.chronicle-locked{opacity:.64}.chronicle-reward_pending{border-color:#c99027;background:#fff5dc}.chronicle-deeds{display:grid;gap:.65rem}.chronicle-deed-filters{display:grid;gap:.65rem;grid-template-columns:repeat(3,minmax(0,1fr));margin-bottom:.35rem}.chronicle-deed-filters label{color:#675847;display:grid;font-size:.82rem;font-weight:700;gap:.25rem}.chronicle-deed-filters select{min-width:0}.chronicle-view-switcher{display:flex;flex-wrap:wrap;gap:.45rem;justify-content:flex-end}.chronicle-view-switcher .active{background:#a16d2e;border-color:#7e501c;color:#fffdf7}.chronicle-deed{display:flex;gap:.75rem;align-items:flex-start}.chronicle-deed>span{font-size:1.4rem;color:#9a8d78;line-height:1}.chronicle-deed.achieved>span{color:#b98517}.chronicle-badge.rarity-uncommon{color:#5b8c55}.chronicle-badge.rarity-rare{color:#537ab0}.chronicle-badge.rarity-epic{color:#a36baf}.chronicle-history{display:grid;gap:.7rem;list-style:none;margin:0;padding:0}.chronicle-history li{align-items:flex-start;background:#fffcf2bf;border-left:3px solid #b98517;border-radius:0 12px 12px 0;display:grid;gap:.8rem;grid-template-columns:minmax(9rem,.35fr) 1fr;padding:.85rem 1rem}.chronicle-history h3,.chronicle-history p{margin:0}.chronicle-history p{margin-top:.35rem}.chronicle-history-date{color:#745934;font-weight:700}.chronicle-history-groups{display:grid;gap:1.1rem}.chronicle-history-group{display:grid;gap:.55rem}.chronicle-history-period{border-bottom:1px solid rgba(185,133,23,.34);color:#60431e;font-family:var(--font-display);font-size:1.05rem;margin:0;padding-bottom:.35rem}.chronicle-history-pagination{align-items:center;justify-content:space-between}.chronicle-ruler{background:linear-gradient(135deg,#fffaf0f5,#f7edd8e6);border:1px solid #dcc69a;border-radius:14px;padding:clamp(1rem,3vw,1.5rem)}.chronicle-ruler-heading{align-items:flex-start;display:flex;gap:1rem;justify-content:space-between}.chronicle-ruler-heading h3{margin:0}.chronicle-ruler-heading .eyebrow{margin:0 0 .25rem}.chronicle-ruler-current{background:#e8d19b;border:1px solid #c99b40;border-radius:999px;color:#60431e;font-family:var(--font-display);font-weight:800;padding:.45rem .75rem;white-space:nowrap}.chronicle-ruler-probation{background:#ebf5e9d1;border-left:4px solid #5d9a6e;border-radius:8px;color:#3c6549;padding:.7rem .8rem}.chronicle-ruler-group{border-top:1px solid rgba(170,133,74,.28);margin-top:1rem;padding-top:1rem}.chronicle-ruler-section-heading{align-items:center;display:flex;gap:.8rem;justify-content:space-between}.chronicle-ruler-section-heading h4{color:#4d3824;font-family:var(--font-display);font-size:1.02rem;margin:0}.chronicle-ruler-section-heading .eyebrow{margin:0 0 .2rem}.chronicle-ruler-section-count{background:#e9d7a98c;border-radius:999px;color:#70552e;font-size:.75rem;font-weight:800;padding:.35rem .55rem;text-align:center}.chronicle-ruler-section-copy{color:#74624d;font-size:.82rem;line-height:1.4;margin:.5rem 0 0}.chronicle-ruler-requirements{display:grid;gap:10px;grid-template-columns:repeat(2,minmax(0,1fr));margin-top:1rem}.chronicle-ruler-primary{grid-template-columns:repeat(2,minmax(0,1fr))}.chronicle-ruler-requirement{background:#fffdf7cc;border:1px solid #ddc89f;border-radius:12px;min-width:0;padding:11px 12px}.chronicle-ruler-requirement.fulfilled{background:#eef8eed9;border-color:#91b99a}.chronicle-ruler-requirement.mandatory:not(.fulfilled){background:#fff4e5e6;border-color:#cf8e58}.chronicle-ruler-requirement-heading{align-items:center;display:flex;gap:8px;justify-content:space-between}.chronicle-ruler-requirement-heading strong{color:var(--ink);font-size:.92rem}.chronicle-ruler-requirement-heading span{background:#efe4cf;border-radius:999px;color:#6f573a;font-size:.68rem;font-weight:800;padding:3px 7px;text-transform:uppercase;white-space:nowrap}.chronicle-ruler-requirement.fulfilled .chronicle-ruler-requirement-heading span{background:#dcefdc;color:#2f7048}.chronicle-ruler-requirement.mandatory:not(.fulfilled) .chronicle-ruler-requirement-heading span{background:#f6d7b5;color:#914b25}.chronicle-ruler-requirement p{color:var(--ink-soft);font-size:.82rem;line-height:1.35;margin:7px 0 0}.chronicle-ruler-requirement p b{color:#59432d}.chronicle-ruler-requirement .chronicle-ruler-requirement-description{color:#715f4c;font-size:.78rem}.chronicle-ruler-complete{color:#3c6549;font-weight:700}@media (max-width: 720px){.chronicle-heading{align-items:flex-start;flex-direction:column}.chronicle-view-switcher{justify-content:flex-start}.daily-quest-grid,.chronicle-deed-filters{grid-template-columns:1fr}.chronicle-history li{grid-template-columns:1fr;gap:.3rem}.chronicle-ruler-heading,.chronicle-ruler-section-heading{align-items:flex-start;flex-direction:column}.chronicle-ruler-requirements,.chronicle-ruler-primary,.profile-title-overview-links{grid-template-columns:1fr}.profile-title-overview-link{align-items:flex-start;flex-direction:column}}@media (max-width: 640px){.chronicle-heading{align-items:flex-start;flex-direction:column}}.onboarding-highlight{animation:onboardingPulse 1.7s ease-in-out infinite;border-radius:18px;box-shadow:0 0 0 3px #cf6b2de0,0 0 0 8px #fff0cdc2,0 12px 28px #5c391c33;position:relative;z-index:1200}.onboarding-coachmark{background:radial-gradient(circle at 94% 7%,rgba(241,193,92,.22),transparent 35%),linear-gradient(135deg,#fffaf0,#f4ead6);border:1px solid #c98b42;border-radius:19px;box-shadow:0 20px 50px #3e261152;bottom:20px;display:grid;gap:.7rem;left:50%;max-width:min(530px,calc(100vw - 32px));padding:1.05rem 1.15rem 1rem;position:fixed;transform:translate(-50%);width:100%;z-index:2000}.onboarding-coachmark.onboarding-inline{bottom:auto;left:auto;max-width:none;position:relative;transform:none;width:auto;z-index:1}.onboarding-coachmark h2,.onboarding-coachmark p{margin:0}.onboarding-coachmark h2{color:#4c3520;font-size:1.25rem}.onboarding-coachmark>p:not(.eyebrow){color:#645647;line-height:1.52}.onboarding-progress{display:flex;gap:.38rem}.onboarding-progress span{background:#dbc7a4;border-radius:99px;height:5px;transition:background .2s ease,transform .2s ease;width:100%}.onboarding-progress span.complete{background:#74ae82}.onboarding-progress span.active{background:#c46d2e;transform:scaleY(1.45)}.onboarding-actions{align-items:center;margin-top:.1rem}.onboarding-skip{background:transparent;border-color:transparent;color:#766653;margin-left:auto;padding-inline:.25rem;text-decoration:underline}.onboarding-skip:hover{background:transparent;color:#3f3225}@keyframes onboardingPulse{0%,to{box-shadow:0 0 0 3px #cf6b2de0,0 0 0 8px #fff0cdc2,0 12px 28px #5c391c33}50%{box-shadow:0 0 0 4px #cf6b2df5,0 0 0 12px #ffe6b0b3,0 15px 34px #5c391c47}}@media (max-width: 620px){.onboarding-coachmark{bottom:10px;max-width:calc(100vw - 20px);padding:.9rem}.onboarding-coachmark.onboarding-inline{bottom:auto;max-width:none;width:auto}.onboarding-actions{align-items:stretch;display:grid;grid-template-columns:1fr 1fr}.onboarding-actions .onboarding-skip{grid-column:1 / -1;justify-self:center;margin:0}}@media (max-width: 640px){.season-indicator-tooltip{left:0;max-width:calc(100vw - 40px);transform:none;white-space:normal}.satisfaction-breakdown{grid-template-columns:1fr}.satisfaction-part-header>span{min-width:0;overflow-wrap:anywhere}.satisfaction-part-value,.satisfaction-part-value .help-button{flex:0 0 auto}}
