/* Imperial Atlas — midnight enamel, aged brass and semantic colour.
   The map keeps its daylight; chrome and every workspace share these materials. */
:root{color-scheme:dark;--paper:#101722;--stone:#1c2635;--ink:#eee9dc;--muted:#a8b0bc;--accent:#d8bc7c;--line:#665a40;--blue:#83cbe9;--gold:#d8bc7c;--radius-control:8px;--radius-card:12px;--radius-panel:16px;--surface:linear-gradient(145deg,#202c3cf7,#111b2af7);--shadow:0 8px 25px #03091365,inset 0 1px #e4cc9130;--frame:#9a8250;--raised:#243143;--quiet:#172232;--danger:#ee9582}
body{background:var(--paper);color:var(--ink)}
button,input,select{color:var(--ink)}
::selection{background:#b49c66;color:#111a26}
*{scrollbar-color:#756646 #131c2a;scrollbar-width:thin}
.game-icon{width:24px;height:24px;flex-shrink:0;vertical-align:middle;filter:drop-shadow(0 1px 1px #0005)}
.btn,.icon-btn{background:linear-gradient(#273446,#182334);border:1px solid var(--frame);color:var(--ink);box-shadow:inset 0 1px #efd99a20,0 2px 4px #0003;border-radius:8px}
.btn{min-height:40px}
.btn.primary,.menu-choice.continue-choice{background:linear-gradient(#a48a52,#6f5a30);border-color:#d2b777;color:#fff8dc;box-shadow:inset 0 0 0 2px #1b203550,0 3px 12px #0004}
.btn.primary:hover:not(:disabled),.menu-choice.continue-choice:hover{background:linear-gradient(#bba269,#89723f);border-color:#f0db9f;box-shadow:0 0 15px #b49a4d30}
.btn.ghost{background:#152133a3;border-color:#66708560;color:#d6dce4;box-shadow:none}
.btn.ghost:hover:not(:disabled),.icon-btn:hover:not(:disabled){background:#304159;border-color:#d5bd82;color:#fff3cb}
.icon-btn{border-radius:50%;color:#dfc790}
.eyebrow,.accent,.gold{color:#d8bc7c}.muted,.ledger-note,.modal-intro{color:var(--muted)}
.meter{background:#070f1d;border:1px solid #5360764d;height:6px}.meter>div{background:linear-gradient(90deg,#9c8150,#e0c88d)}
input:not([type=checkbox]):not([type=range]),select,.modal select{background:#0c1626;border:1px solid #6a614b;color:#f0eadb;border-radius:7px;min-height:38px}
input[type=checkbox],input[type=range]{accent-color:#d0b16f}
button:focus-visible,input:focus-visible,select:focus-visible,canvas:focus-visible{outline:2px solid #f0d595;outline-offset:3px}
button:disabled{opacity:.52}.btn svg{width:20px;height:20px}
/* The opening is a nocturnal gallery around the player's founding miniature. */
.start-screen,.draft-screen{background:radial-gradient(ellipse at 74% 44%,#34465a66,transparent 52%),radial-gradient(ellipse at 5% 90%,#76623926,transparent 60%),#0e1726;color:var(--ink)}
.site-header{height:82px;border-bottom:1px solid #9c84553b;background:#0c1420a6;padding-inline:4%}
.brand-name,.brand-name span{color:#eadcb6}.brand small,.header-center{color:#9ba9bb}
.site-header .brand-mark{background:#1a283b;border:1px solid #ac915b;border-radius:50%;box-shadow:inset 0 0 0 3px #111b2c}
.header-right .icon-btn{background:#182437}
.start-main{grid-template-columns:minmax(340px,.9fr) minmax(0,1.1fr);padding:32px 7%;min-height:calc(100dvh - 130px)}
.start-copy h1{color:#f0e5cb;font-size:clamp(58px,6.7vw,94px);line-height:1.04;letter-spacing:-2px;text-shadow:0 3px 14px #0005}
.start-copy h1 em{color:#d1b479}.start-copy>p{color:#b0bac8;max-width:370px}
.start-actions{background:transparent;border:0;box-shadow:none;padding:0;margin:28px 0 0;gap:10px;max-width:400px;border-radius:0}
.menu-choice{background:linear-gradient(115deg,#253247,#152131);border:1px solid #8f7a4e;border-radius:10px;padding:16px 20px;box-shadow:inset 0 0 0 3px #101928}
.menu-choice>svg{background:#111e2e;border:1px solid #a68c56;color:#dfc98c;border-radius:50%;padding:9px}
.menu-choice strong{color:#f4e8c8;font-size:24px}.menu-choice small{color:#c8c4b7}
.menu-secondary{gap:8px}.menu-secondary .btn{color:#c5ccd5}
.start-art{position:relative;filter:drop-shadow(0 26px 32px #0006)}
.start-art>img{filter:saturate(1.08) contrast(1.04);position:relative;z-index:1}
.atlas-ring{border:1px solid #b69a5866;background:radial-gradient(circle,#d6b97116,transparent 70%);box-shadow:0 0 0 18px #a68c4320,inset 0 0 0 18px #a68c430c}.atlas-ring:before{border-color:#c2ab6b30}
.start-art-caption{background:#111b2de6;border:1px solid #9c815662;border-radius:8px;position:relative;z-index:2}.start-art-caption p{color:#c0c8d2}
.start-footer{background:#0a111c88;color:#9cabbc;border-color:#a28d593b;padding:16px 4%}
/* Founding choices: three illuminated charter panels, never generic settings. */
.gallery-intro h1,.review-copy h2{color:#f1e4c4}.gallery-intro p,.gallery-intro .serif{color:#b7c0cc}
.draft-progress,.draft-step,.draft-step .step-number{color:#9eabba}.draft-step.active{color:#e4c780}.draft-step.active .step-number{background:#8f7848;color:#fff5d8;border-color:#ddc486}.draft-step.complete .step-number{background:#29483c;color:#a6d7ae}
.origin-card{background:linear-gradient(145deg,#243348,#101c2c);border:1px solid #867244;border-radius:14px;box-shadow:inset 0 0 0 4px #0a14265e,0 14px 35px #0004;padding:8px}
.origin-card:hover{background:#2a3a50;border-color:#d8bf7b;box-shadow:0 10px 35px #0007}.origin-card.selected{background:linear-gradient(145deg,#334359,#182439);border-color:#e2c37f;box-shadow:0 0 0 2px #e2c37f50,0 14px 35px #0007}
.origin-art{border-radius:9px 9px 0 0;background:radial-gradient(#66777444,#18273a);border-bottom:1px solid #a68e5440}
.origin-body,.origin-card.selected .origin-body{background:transparent;color:#dce3eb;border-radius:0 0 9px 9px}.origin-body h2,.origin-body h3{color:#eadbb7}.origin-body p{color:#b2bfce}
.origin-seal,.origin-card.selected .origin-seal{background:#17263b;border:1px solid #c1a368;color:#e7ce91;box-shadow:0 4px 12px #0008}
.origin-number,.origin-tag,.origin-kind{color:#c4b17f}.effect-list li,.origin-effects li{color:#bdc8d6}
.charter-tradeoff{background:#0e1929;border:1px solid #b69a4e38;border-radius:8px}.charter-tradeoff>span{color:#efb490}.charter-tradeoff strong{color:#e3c98b}.charter-tradeoff small{color:#a9b7c9}
.draft-bottom,.draft-footer{background:#101b2be8;border-color:#87754b}.seed-note,.seed-wrap{color:#adb9c9}
.review-box{background:#172438;border:1px solid #998351;border-radius:14px}.review-copy p,.review-bonuses{color:#c0cad7}
.founding-preview{background:#0e1b2b;border:1px solid #777255;border-radius:10px}.founding-preview>small,.supply-preview span{color:#a5b4c7}.supply-preview strong{color:#edd79e}
.charter-signatures span{background:#29344b;border-color:#a48a56;color:#e5d6b3}
.difficulty-choice{background:#182639;border:1px solid #5e6776;box-shadow:none;color:#d5dfeb}.difficulty-choice small{color:#acbacd}.difficulty-choice.selected{background:#353b3c;border-color:#d6b773}.difficulty-description{color:#b9c7d9}
/* Map-first HUD: one slim resource ribbon, navigation beneath it, smaller hand. */
.game-header{top:10px;left:12px;right:12px;gap:8px;align-items:stretch}
.game-header .brand,.resource-bar,.turn-display,.game-nav,.inspector,.deck-block,.end-turn-block{background:var(--surface);border:1px solid #a38a55a6;box-shadow:var(--shadow);border-radius:10px;backdrop-filter:blur(14px)}
.game-header .brand{min-height:50px;padding:8px 12px}.game-header .brand small{font-size:6px}.game-header .brand-name{font-size:12px}.game-header .brand-name span{font-size:10px}
.resource-bar{padding:0 6px}.resource{height:49px;gap:7px;padding:5px 8px;background:none;border:0;box-shadow:none}.resource+.resource{border-left:1px solid #c5ab6340}
.resource svg{width:28px;height:28px}.resource strong{font-size:20px;color:#f4ead2}.resource small{font-size:9px;color:#aebccf}.resource-label{color:#aab5c6;font-size:7px;letter-spacing:.65px;margin-bottom:2px}
.turn-display{min-height:50px;padding:6px 10px;gap:8px}.turn-display strong{color:#edddba;font-size:17px}.turn-display .eyebrow{color:#a5b4c7}.turn-display .icon-btn{width:28px;height:28px;background:#142033}
.game-nav{top:69px;left:12px;padding:4px;border-radius:8px;gap:2px}.nav-item{color:#c6ceda;padding:8px 11px;gap:6px;border-radius:5px;font-size:11px}.nav-item svg{width:21px;height:21px}.nav-item.active{background:#8d744731;color:#f1d798;border:1px solid #ac915452}.nav-item:hover{background:#33415a;color:#f5dda2}.nav-spacer{border-color:#b09a654d}
.map-topline{top:78px;right:16px}.map-chip{background:#122034dd;border:1px solid #7f7452;color:#e0d5b3;border-radius:5px}.map-chip.secondary{display:none}
.recent-event{top:119px;color:#d8dfeb;background:#142033cf;border:1px solid #9f89503d;border-radius:6px;padding:8px 12px;font-size:10px;max-width:320px}
.compass{color:#e3c888;top:133px}.compass svg{filter:drop-shadow(0 2px 3px #000)}
.campaign-guidance{top:119px;width:250px;right:12px}.guide-chip,.report-chip{background:#142135ed;border:1px solid #a78d535f;border-radius:8px;color:#eee1bb;box-shadow:0 4px 16px #0004}.guide-chip strong{font-size:16px}.report-chip small{color:#aebdd0}
.inspector{width:290px;left:12px;bottom:198px;max-height:340px;border-radius:12px}.inspector-title h2{color:#efdfb8}.inspector-title p,.info-note{color:#b5c3d3}.inspector-art{border-radius:8px}.atlas-art{background-color:#26394a}.inspector-title,.inspector-body{padding-inline:16px}.inspector-foot{background:#101a2a;border-color:#7e6d454d;color:#b5bfce}.inspector-foot>.eyebrow{display:none}
.yield-row{background:#0c1829;border-color:#85754e}.yield-row span{color:#e4e8ed}.yield-row svg{width:22px;height:22px}.research-mini,.unit-row{color:#e2ddce;border-color:#8f7b4859;background:transparent}.research-mini small,.unit-row small{color:#aab8ca}.research-mini>svg,.unit-row>svg{width:27px;height:27px}
.resource-inspection{background:#17273a;border-color:#606a72}.resource-inspection strong{color:#d5dcca}.resource-inspection p{color:#acbed0}
.inspector.unit-inspector{width:300px;bottom:198px;max-height:none;height:auto;padding:9px 10px;border-radius:11px;overflow:visible}
.unit-compact-head{display:flex;gap:9px;align-items:center}.unit-compact-head .unit-portrait{width:47px;height:47px;flex-shrink:0;background-color:#364049;border:1px solid #b79b60;border-radius:50%;box-shadow:inset 0 0 0 2px #0e1b2d}
.unit-compact-name{flex:1;min-width:0}.unit-compact-name h2{font-size:19px;color:#f0dfb8;margin:0 0 3px}.unit-compact-name>span{font-size:9px;color:#b8c3d0}
.unit-vitals{display:flex;gap:9px}.unit-vitals>span{display:flex;align-items:center;gap:3px}.unit-vitals svg{width:18px;height:18px}.unit-vitals strong{font-size:12px;white-space:nowrap}.unit-vitals small{font-size:9px;color:#a3b1c3;font-weight:400}
.unit-compact-orders{display:flex;gap:6px;margin-top:7px;border-top:1px solid #ac91553d;padding-top:6px}.unit-compact-orders .btn{min-height:30px;padding:4px 8px;font-size:10px;flex:1;background:#1d2c40;border-color:#7b75545e}.unit-compact-orders svg{width:17px;height:17px}
.saved-journey{padding:7px;margin:7px 0 0;background:#0e1c30;border:1px solid #6b7890;border-radius:6px;align-items:center;gap:5px}.saved-journey strong{flex:1;flex-basis:auto;color:#b8d9ef;font-size:10px}.saved-journey .btn{min-height:30px;padding:5px 8px}.saved-journey .icon-btn{width:28px;height:28px}
.command-dock{height:170px;left:12px;right:12px;bottom:12px;gap:10px}.deck-block{width:64px;padding:10px 8px;border-radius:8px}.deck-block .eyebrow{color:#cbbb90}.energy-count{color:#edd289}.deck-stats{color:#a8b6c9}.deck-stats strong{color:#ebddb8}
.hand{gap:8px;justify-content:center;overflow:visible}.action-card{min-width:110px;max-width:170px;border-radius:10px;padding:7px 9px}
[data-type="MILITARY"]{--card-tone:#ef9584;--card-wash:#442a31;--card-edge:#ae635d}
[data-type="ECONOMY"]{--card-tone:#f2c673;--card-wash:#3b3424;--card-edge:#b09453}
[data-type="SCIENCE"]{--card-tone:#81c7f5;--card-wash:#22364d;--card-edge:#587fac}
[data-type="CULTURE"]{--card-tone:#cfadf4;--card-wash:#372a49;--card-edge:#9876b4}
[data-type="EXPLORATION"]{--card-tone:#79d9cf;--card-wash:#193b41;--card-edge:#508f8c}
[data-type="IMPROVEMENT"]{--card-tone:#b5d989;--card-wash:#303b2b;--card-edge:#7c9761}
[data-type="SETTLEMENT"],[data-type="EXPANSION"]{--card-tone:#a9c8f3;--card-wash:#2c3549;--card-edge:#7c94bc}
.action-card[data-type]{--card-tone:inherit;--card-wash:inherit;background:linear-gradient(150deg,#223045,var(--card-wash));border:1px solid var(--card-edge);border-top:2px solid var(--card-tone);border-bottom:3px solid var(--card-edge);box-shadow:0 6px 16px #0006,inset 0 0 0 3px #0b172a65;color:#f2e8d0}
.action-card[data-type="MILITARY"]{--card-tone:#ef9584;--card-wash:#442a31}.action-card[data-type="ECONOMY"]{--card-tone:#f2c673;--card-wash:#3b3424}.action-card[data-type="SCIENCE"]{--card-tone:#81c7f5;--card-wash:#22364d}.action-card[data-type="CULTURE"]{--card-tone:#cfadf4;--card-wash:#372a49}.action-card[data-type="EXPLORATION"]{--card-tone:#79d9cf;--card-wash:#193b41}.action-card[data-type="IMPROVEMENT"]{--card-tone:#b5d989;--card-wash:#303b2b}.action-card[data-type="SETTLEMENT"],.action-card[data-type="EXPANSION"]{--card-tone:#a9c8f3;--card-wash:#2c3549}
.action-card .card-type{color:var(--card-tone);background:transparent;padding:0;margin:1px 0 5px;font-size:7px;letter-spacing:.6px}.card-illustration{height:48px;border-radius:6px;margin:0 -2px 7px;background:#1e2d42}.card-title{font-size:15px;line-height:1.14;margin-bottom:5px}.card-text{color:#c4cbd4;font-size:10px;line-height:1.35}.card-price{color:#e4d1a4;font-size:9px}
.action-card .card-cost{background:#0d1829ed;border:1px solid #bba16a;color:#ebd293;top:8px;right:8px;height:24px;min-width:27px;font-size:13px}.action-card .card-symbol{background:#122238;border:1px solid #c2a86d;width:25px;height:25px}.action-card .card-symbol svg{width:20px;height:20px}.signature-mark,.action-card .signature-mark{background:#342f23;color:#edd795;outline:1px solid #bfa569}
.action-card.chosen{outline:2px solid #efdc9d;outline-offset:2px;box-shadow:0 0 24px #b8a16738}.action-card:hover:not(:disabled){border-color:#f0d897;transform:translateY(-7px)}.action-card:disabled{opacity:.67;filter:saturate(.45)}
.end-turn-block{width:106px;padding:10px 8px;border-radius:9px}.end-turn-block .btn{min-height:72px;border-radius:50%;border:2px solid #e1c884;box-shadow:inset 0 0 0 3px #564d36,0 0 0 4px #a88e4e24;background:radial-gradient(circle at 40% 30%,#9c864e,#58492b);color:#fff0c3;font-size:14px}.turn-tip,.saved-label{color:#adb9ca}
.map-controls{right:14px;bottom:198px;background:#142034e8;border:1px solid #a38a55;border-radius:25px;padding:4px}.map-controls .icon-btn{background:transparent;border:0;box-shadow:none;color:#e6d098}.map-help{display:none}
#journey-status{top:118px}.journey-banner{background:#142338f7;border:1px solid #d2b978;color:#ebdfc3;border-radius:10px;box-shadow:var(--shadow)}.journey-banner small{color:#b5c5d8}
.target-banner{background:#172a40f5;color:#e3e6df;border-color:#b8a16b;bottom:198px}.target-banner p{color:#c5d2df}
#toast{bottom:197px;background:#0e1b2ff5;border:1px solid #d8b878;color:#f4e5c0;border-radius:8px;box-shadow:0 5px 24px #0008}
/* All screens share materials, while their structures remain task-specific. */
.modal-backdrop{background:#050c18b3;backdrop-filter:blur(4px);padding:18px}
.modal{background:radial-gradient(ellipse at 100% 0,#31435b66,transparent 58%),linear-gradient(145deg,#1b2738,#101b2c);color:#eee9dc;border:1px solid #b59b63;border-radius:14px;box-shadow:0 20px 90px #000b,inset 0 0 0 4px #a8904d0e;padding:28px}
.modal:before{content:'';display:block;position:absolute;left:22px;right:22px;top:7px;height:1px;background:linear-gradient(90deg,transparent,#e6c98560,transparent);pointer-events:none}
.modal h2{color:#ecdbb0;font-size:32px;letter-spacing:.2px}.modal h3{color:#e6d8b6}.modal h4{color:#e2d5b4}.modal-intro{color:#b4c0d0}
.modal .close-modal{background:#382536;border:1px solid #b18e64;color:#f0d7b4;box-shadow:0 2px 6px #0005;top:0;width:30px;height:30px;border-radius:6px;margin:-10px -8px -20px auto}
.workspace-heading{margin-bottom:22px}.workspace-heading>.eyebrow{color:#c7ad74}.workspace-heading p{color:#abb9cc}.workspace-heading h2{font-size:32px;margin:7px 0 8px}
.modal nav button,.collection-toolbar button{color:#b7c4d5;border-radius:5px}.modal nav button.active,.collection-toolbar button.active{background:#ad915426;border:1px solid #b99d60;color:#f0d79c}.modal nav button:hover:not(:disabled),.collection-toolbar button:hover:not(:disabled){background:#33455e;color:#fff0c9}.modal .text-link{color:#dfbf7b}.text-link svg{width:15px;height:15px}
.modal :is(.ledger-notice,.construction-panel,.tech-card,.market-card,.project-card,.embassy,.agenda-card,.archive-entry,.battle-forces>section,.guide-lesson,.report-income>div,.charter-review>div,.specialisation-family,.signature-collection article){background:#1b2a3e;border:1px solid #80704b7a;box-shadow:none;border-radius:10px;color:#d8e0e9}
.modal :is(.project-card p,.market-card p,.tech-card p,.embassy p,.archive-entry p,.charter-review p,.guide-lesson small,.report-income span,.report-sections p){color:#b2c0d1}
.modal :is(.specialisation-option,.encounter-choices>button,.city-role-options button,.resource-deposit){background:#203047;border-color:#a48b5459;color:#d8e2ed;border-radius:8px}.specialisation-option.adopted{background:#30443f;border-color:#9cbd85}.specialisation-option span{color:#b5c5d8}.specialisation-option strong{color:#e5d8b6}
.ledger-notice,.preview-cost{background:#192a40;color:#c3cfe0;border-radius:8px}.modal .danger,.danger{color:var(--danger)}
.modal :is(.ledger-toolbar,.ledger-subheading,.report-sections section,.settings-footer,.city-heading,.chronicle-entry,.modal-actions){border-color:#7f704c70}
.modal :is(.archive-details,.archive-meta,.archive-date,.archive-entry small,.save-status,.import-summary,.ledger-stat small){color:#aebacf}
.modal :is(.archive-entry.current,.archive-entry.active,.guide-lesson.current){background:#313b40;border-color:#c5aa68}.modal .archive-entry h3{color:#ebd9af}
.war-notice,.combat-modifiers{background:#322733;border:1px solid #a8755e;border-radius:8px;color:#ecc0ad}.war-notice p,.combat-modifiers p{color:#cbbac2}.battle-outcome{background:#1b3041;color:#e6d7b0;border-color:#a08b56}.battle-health small,.battle-outcome small{color:#bbc9d9}
.guide-lesson em,.chapter-mark,.combo-benefit{color:#e6bf79}.combo-list>div{background:#1b2a3d;color:#cbd6e3}.combo-list em{color:#ddbb76}.report-income small{color:#b8c6da}
.victory-stats{border-color:#9f875a}.victory-stats strong{color:#efce84}.victory-stats small{color:#b9c5d6}
/* Cities are a true map-side production drawer. */
.backdrop-cities{justify-content:flex-start;align-items:stretch;background:#07101b22;backdrop-filter:none;padding:70px 12px 12px;pointer-events:none}
.backdrop-cities .screen-cities{pointer-events:auto;width:390px;max-width:100%;max-height:none;height:100%;padding:20px 16px;border-radius:10px;overflow:auto}
.city-drawer-heading{text-align:center;padding:0 30px 14px;border-bottom:1px solid #b49b6050}.city-drawer-heading .eyebrow{font-size:8px;letter-spacing:1.5px}.city-drawer-heading h2{margin:6px 0;font-size:26px}.city-drawer-heading p{color:#aebdd1;font-size:11px}
.city-switcher{display:flex;gap:5px;overflow:auto;margin:10px 0;padding:2px 0 5px}.modal .city-switcher button{display:flex;align-items:center;gap:5px;flex-shrink:0;font-size:10px;padding:6px 9px;border:1px solid #72715a5e;background:#122035}.city-switcher svg{width:17px;height:17px}.modal .city-switcher .selected{border-color:#d5b873;color:#f2dba5;background:#3a3c36}
.city-stat-strip{display:flex;justify-content:space-around;padding:8px 0 13px;gap:9px}.city-stat-strip>span{display:grid;grid-template-columns:24px auto;align-items:center;gap:2px 5px}.city-stat-strip svg{grid-row:span 2;width:24px;height:24px}.city-stat-strip strong{font-size:14px}.city-stat-strip small{font-size:9px;color:#9faec2}
.city-section-tabs{display:flex;border-bottom:1px solid #bd9c58;margin-bottom:12px;gap:5px}.modal .city-section-tabs button{flex:1;display:flex;justify-content:center;align-items:center;gap:8px;text-transform:uppercase;font-family:Georgia,serif;letter-spacing:1px;font-size:12px;border-radius:4px 4px 0 0;padding:10px 6px}.city-section-tabs svg{width:22px;height:22px}
.city-reserve{display:flex;align-items:center;gap:6px;font-size:10px;color:#aebed1}.city-reserve>svg{width:20px;height:20px}.city-reserve .text-link{margin-left:auto;font-size:10px}.production-prompt{color:#b9c9d8;padding:12px 0}
.active-construction{background:#243247;border:1px solid #a68e55;padding:12px;border-radius:8px;margin:14px 0}.active-construction .eyebrow{font-size:8px}.active-construction h3{font-size:21px;margin:7px 0 12px}.queue-total{display:flex;justify-content:space-between;color:#bbcad9;margin-top:8px;font-size:10px}.construction-actions{display:flex;gap:7px;margin-top:10px}.construction-actions .btn{font-size:10px;min-height:32px;padding:6px 10px}
.building-catalogue{margin-top:12px;gap:5px}.building-catalogue>button{padding:10px 8px;align-items:center;gap:9px;background:linear-gradient(90deg,#253246,#1b273a);border:1px solid #8e805350;border-radius:5px;color:#dfe4ed;min-height:73px}.building-catalogue>button:hover:not(:disabled){border-color:#d7b973;background:#344359}.building-catalogue button:disabled{opacity:.55}.building-medallion{width:43px;height:43px;position:relative;flex-shrink:0}.building-medallion>img{width:43px;height:43px;border-radius:50%;object-fit:cover;border:1px solid #c7aa65}.building-medallion>svg{position:absolute;width:18px;height:18px;bottom:-2px;right:-2px;background:#101e30;border-radius:50%;padding:1px}
.building-description{flex:1;min-width:0}.building-catalogue strong{font:12px Georgia,serif;color:#e4d9be}.building-catalogue small{font-size:10px;line-height:1.4;color:#aabbd1;margin:5px 0 0}.building-catalogue em{font-size:9px;color:#d7aa88}.building-cost{display:grid;grid-template-columns:14px auto;gap:3px;align-items:center;width:47px;flex-shrink:0}.building-cost svg{width:14px;height:14px}.building-cost small{grid-column:1/-1;text-align:right;font-size:8px}.building-cost strong{text-align:right}
.city-details .city-panorama{height:140px;border:1px solid #877750;border-radius:8px;background:#263347}.place-caption{background:#122033e8;color:#e4d5ae;border:1px solid #8b7e514d;border-radius:5px;font-size:9px;padding:7px}.city-growth{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:14px 0;font-size:12px}.city-growth>span{flex:1}.city-growth .meter{flex-basis:100%;width:100%}.city-growth svg{width:22px;height:22px}.city-details h3{font-size:20px}.built-strip>span{background:#26354a;color:#d7dfeb;border:1px solid #7474546b;border-radius:5px}.built-strip svg{width:18px;height:18px}.city-purpose>p,.hinterland>p{color:#aabbd1}.role-benefits{background:#253847;color:#d9d5b0;border-radius:6px}.hinterland{border-color:#a18b4a5c}.city-details>.btn{margin-top:18px;width:100%}
/* Research is a celestial board with distinct emblems and a fixed reading lens. */
.screen-research{width:min(1260px,100%);background:radial-gradient(at 20% 20%,#203d5e,#111b2d 65%)}
.research-map-scroll{background:radial-gradient(#9fbfe030 1px,transparent 1px) 0 0/26px 26px,#0c192b;border:1px solid #8e7d54;border-radius:10px;max-height:57dvh}.research-links path{stroke:#55627a}.research-links path.traced{stroke:#dcbb72}
.discovery-node{background:linear-gradient(130deg,#2d405a,#1a2a40);border:1px solid #9b8753;border-radius:8px;color:#e3ddce;padding:13px 10px 10px 58px}.discovery-node>svg{left:11px;top:18px;width:37px;height:37px;padding:4px;border:1px solid #b59e655c;border-radius:50%;background:#10223a}.discovery-node strong{font-size:15px}.discovery-node small{color:#a2b7d1}.discovery-node.locked{background:#182436;color:#a5b3c7;border-color:#5e6374;border-style:dashed}.discovery-node.locked>svg{filter:saturate(.4);opacity:.7}.discovery-node.complete{background:linear-gradient(120deg,#283d38,#162d33);border-color:#819e74}.discovery-node.complete:after{content:'✓';position:absolute;top:5px;right:7px;color:#b8d997;font-size:12px}.discovery-node.researching{border:2px solid #75c9f0}.discovery-node.selected{outline:2px solid #e4c781;outline-offset:3px;border-color:#e4c781;box-shadow:0 0 24px #a6bbd12b}
.discovery-detail{background:#17263b;border:1px solid #8d7a4c75;border-radius:10px;padding:18px}.discovery-detail>svg{width:66px;height:66px;padding:10px;background:#0e1d32;border:1px solid #c1a469;color:inherit}.discovery-detail p{color:#b6c3d4}.discovery-detail dl{color:#a9bad0}.discovery-detail dd{color:#e4d9bd}.research-reward,.research-current{border-color:#9d895655}.research-reward img{border:1px solid #9e8652;border-radius:7px}.research-current{color:#c1cfe0}.tree-legend{color:#a3b5cc}
/* Collection: richly tinted card families in a dark display case. */
.screen-deck{background:radial-gradient(at 10% 0,#45364480,transparent 55%),#111c2c}.collection-toolbar nav{background:#0e1729;border:1px solid #776b4f;border-radius:8px}.collection-toolbar label{color:#b3c3d5}
.collection-card[data-type]{background:linear-gradient(155deg,#243247,var(--card-wash));border:1px solid var(--card-edge);border-bottom:3px solid var(--card-tone);color:#e9e1ce;border-radius:10px}.collection-card>.eyebrow{color:var(--card-tone)}.collection-card>small{color:#bdc8d6}.collection-card>em{color:#aabacb}.collection-card[data-type].selected{outline:2px solid #e9d195;border-color:#e9d195;outline-offset:3px}.collection-card[data-type] .collection-cost{background:#0f1b2ee8;color:#ecd18c;border-color:#c0a66f}.collection-seal,.workbench-seal{background:#353025;border-color:#9f8757;color:#e6d197;border-radius:5px}
.card-workbench[data-type]{background:linear-gradient(140deg,#263247,var(--card-wash));border:1px solid var(--card-edge);border-radius:10px}.card-workbench[data-type]>.eyebrow,.card-workbench[data-type] .card-workbench-stats{color:var(--card-tone)}.workbench-art{border-radius:8px;border:1px solid #c7aa6870}.workbench-upgrades{border-color:#ad975c5c}.workbench-upgrades p{color:#b2bfd0}.collection-combos{border-color:#a58a5455;color:#b5c4d6}.collection-combos em{color:#dfbf7b}.card-workbench .retire-selection{color:#e5a28e}
/* Diplomacy: portrait, shared history, terms. */
.screen-council{background:radial-gradient(at 35% 30%,#453a4270,transparent 65%),#111b29}.leader-rail img{border-radius:50%;border:2px solid #6c6a56;box-shadow:0 4px 18px #0006}.leader-rail .selected img{border-color:#e0c17f}.leader-rail strong{color:#e1d5b8}.leader-rail small{color:#a7bad0}.leader-scene{border-radius:12px;border:1px solid #a89058;background:#1c2a3c}.leader-scene>div{background:linear-gradient(transparent,#0c172bee)}.leader-scene h3{color:#f1dcab}.leader-statement>.eyebrow{color:#e3c780}.leader-statement>p{color:#d0d9e5}.leader-statement ul{color:#aabdd2}.diplomatic-memory{border-color:#a18b565a}.diplomatic-memory small{color:#cdb17a}.diplomatic-memory p{color:#afbed1}.negotiation-table{background:#1e2b3d;border:1px solid #927e50;border-radius:10px;box-shadow:none}.negotiation-option{border-color:#a48e5255}.negotiation-option label{color:#b4c5d7}.treaty-pill{background:#223c36;color:#bddec2;border-radius:6px;border:1px solid #809c685e}.envoy-request{border-color:#bca46c}.negotiation-table .declare-war{color:#eaa392}.world-race>section>h3{border-color:#8c7c525e}.world-race h3>small{color:#a3b5ca}
/* Empire is a command desk; Chronicle is a dated record. */
.screen-empire{background:linear-gradient(135deg,#1c2d3c,#111e2d)}.ready-roster{background:#172b3c;border:1px solid #a38b5566;border-radius:10px}.decision-list button,.ready-roster button{color:#e1ddce;border-color:#8c7b4b57}.decision-list small,.ready-roster p{color:#a6bbd0}.ready-roster small{color:#afc0d2}.ready-roster button>svg{width:30px;height:30px}
.economy-desk article{position:relative;background:#1c2d42;border-color:#8b7b51;border-radius:9px}.economy-desk article>.game-icon{width:30px;height:30px;float:right}.economy-desk article>small{color:#a9bed4}.economy-desk article>strong{color:#f0dfb4}.economy-desk article>span{color:#a5d6c5}.income-spark polyline{stroke:#7eb9d3}.economy-desk article>.spark-empty{color:#94a8c0}
.victory-progress-cards article{background:#33293f;border-color:#b19acf;border-radius:4px 4px 10px 10px}.victory-progress-cards article:nth-child(2){background:#1b3547;border-color:#80c5df}.victory-progress-cards article:nth-child(3){background:#3a2b32;border-color:#c78375}.victory-progress-cards p,.milestone-ticks{color:#b4bfd0}.victory-alerts button{background:#432d31;border-color:#bb8766;color:#f0c7b0}
.screen-chronicle{background:radial-gradient(at 80% 20%,#51403044,transparent 60%),#141d29}.history-date{color:#d2b478;border-color:#ac9153}.history-date:after{background:#dfbe77;border-color:#182334}.history-event{border-color:#89784b60}.history-event small{color:#c8a976}.history-event p{color:#b8c7d8}.history-event.major p{color:#e3d8be}.history-event img{border-radius:8px;border:1px solid #9c844d7a}.chronicle-margin,.chronicle-margin article{border-color:#ab8e554d}.chronicle-margin article>small{color:#c3a97b}.chronicle-margin article>span{color:#afc0d2}
/* Settings has a navigation rail, spacious controls and readable descriptions. */
.screen-settings{display:grid;grid-template-columns:160px minmax(0,1fr);column-gap:25px;width:min(820px,100%)}.screen-settings>.close-modal,.screen-settings>.workspace-heading,.screen-settings>.settings-footer,.screen-settings>.save-error{grid-column:1/-1}.settings-tabs{display:flex;flex-direction:column;align-self:start;margin:0;background:#0e1a2c;border:1px solid #9a835253;border-radius:8px;padding:5px;gap:4px}.modal .settings-tabs>button{display:flex;gap:9px;align-items:center;text-align:left;justify-content:flex-start;padding:12px 9px;flex:auto;font-size:12px}.settings-tabs svg{width:21px;height:21px}.settings-content{min-width:0}.settings-row{border-color:#a38c5252}.settings-row strong{color:#e2d9c4}.settings-row small{color:#b1bfd0}.keyboard-reference{color:#b5c5d8}.keyboard-reference kbd,.settings-footer kbd{background:#28374c;border:1px solid #8c7d55;border-radius:4px;color:#e3d1a5}.settings-footer{color:#9fb1c8}
.encounter-scene{background:#172637}.encounter-scene>.eyebrow{background:#112036e8;border:1px solid #c1a66a;color:#e8d4a0;border-radius:7px}.encounter-choices small{color:#b3c3d5}.encounter-choices em{color:#e9ae8e}.screen-turn-report{border-radius:12px;max-height:95dvh}.screen-turn-report .report-sections>section{border-color:#9b87504f}.report-income>div{background:#223047}
@media(max-width:1100px){
 .game-header .brand{display:none}.game-nav{top:69px}.command-dock{left:12px;height:168px}.inspector,.inspector.unit-inspector{bottom:192px}.map-controls{bottom:192px}.campaign-guidance{width:220px}.screen-cities{width:390px}.resource-label{font-size:7px}.action-card{min-width:100px}.screen-settings{width:min(820px,100%)}
}
@media(max-width:750px){
 .site-header{height:68px;padding:12px 18px}.header-center{display:none}.start-main{padding:30px 24px;display:flex;flex-direction:column;gap:0}.start-copy{width:100%}.start-copy h1{font-size:64px}.start-copy>p{font-size:13px}.start-actions{max-width:none}.start-art{max-width:360px;margin-top:20px}.start-footer{font-size:7px;gap:8px}.start-art-caption{padding:11px 15px}.start-art-caption p{font-size:13px}
 .game-header{top:8px;left:8px;right:8px;display:grid;grid-template-columns:1fr;gap:5px}.game-header .brand{display:none}.turn-display{position:absolute;right:0;top:0;min-height:32px;height:32px;padding:3px 7px;background:#142034;border-radius:6px;border:1px solid #9d8552}.turn-display>div{display:flex;align-items:center;gap:4px}.turn-display .eyebrow{display:none}.turn-display strong{font-size:12px}.turn-display .icon-btn{width:24px;height:24px}.turn-display .icon-btn svg{width:16px;height:16px}
 .resource-bar{margin-top:38px;display:flex;gap:0;padding:2px 0;width:100%;border-radius:7px;grid-row:auto}.resource{height:45px;padding:3px 4px;gap:2px;flex-direction:row;min-width:0}.resource>svg{width:21px;height:21px}.resource>div{display:flex;flex-direction:column;gap:1px}.resource strong{font-size:16px}.resource small{font-size:8px;margin-left:0}.resource-label{display:none}
 .game-nav{top:8px;left:8px;right:auto;height:32px;padding:0;border:0;background:none;box-shadow:none;backdrop-filter:none;overflow:visible;gap:0}.game-nav .nav-item{display:none}.game-nav [data-action=empire]{display:flex;font:11px Georgia,serif;letter-spacing:1px;color:#ebd4a0;border:1px solid #a58d55;border-radius:6px;padding:4px 9px;background:#17263b;height:32px}.game-nav [data-action=empire] span{font-size:0}.game-nav [data-action=empire] span:after{content:'EMPIRE';font-size:11px}.game-nav [data-action=empire] svg{width:20px;height:20px}.game-nav .nav-spacer{display:none}
 .game-nav:after{content:none}.map-topline,.recent-event,.compass{display:none}
 .game-screen:after{content:'';position:absolute;top:99px;left:8px;right:8px;height:42px;z-index:3;background:#142034ea;border:1px solid #a38b55;border-radius:7px;pointer-events:none}
 .game-nav [data-action=cities],.game-nav [data-action=research],.game-nav [data-action=deck],.game-nav [data-action=council],.game-nav [data-action=chronicle]{display:flex;position:fixed;top:101px;width:calc((100vw - 20px)/5);height:38px;padding:3px 1px;justify-content:center;flex-direction:column;gap:0;border-radius:4px;font-size:8px;z-index:5}
 .game-nav [data-action=cities]{left:10px}.game-nav [data-action=research]{left:calc(10px + (100vw - 20px)/5)}.game-nav [data-action=deck]{left:calc(10px + (100vw - 20px)*2/5)}.game-nav [data-action=council]{left:calc(10px + (100vw - 20px)*3/5)}.game-nav [data-action=chronicle]{left:calc(10px + (100vw - 20px)*4/5)}.game-nav .nav-item svg{width:20px;height:20px}.game-nav [data-action=main-menu]{display:none}
 .campaign-guidance{top:149px;left:8px;right:8px;width:auto;display:flex;gap:5px}.guide-chip,.report-chip{border-radius:6px;flex:1;min-width:0}.guide-chip strong{font-size:12px}.report-chip{font-size:10px}.guide-chip .eyebrow{font-size:6px}.report-chip small{display:none}.guide-chip .icon-btn{width:24px;height:24px}.guide-chip>button:first-child{padding:5px}.report-chip{padding:7px}.report-chip svg{width:16px;height:16px}
 .command-dock{left:8px;right:8px;bottom:8px;height:178px;display:grid;grid-template-columns:1fr 105px;grid-template-rows:34px 136px;gap:7px;align-items:stretch}.deck-block{grid-row:1;grid-column:1;display:flex;flex-direction:row;align-items:center;width:auto;padding:4px 9px;border-radius:6px;gap:8px}.deck-block>.eyebrow,.deck-block .tiny{display:none}.energy-count{font-size:19px}.deck-stats{font-size:9px;line-height:1.3}.deck-stats br{display:none}.deck-block>div{display:flex}.hand{grid-column:1/-1;grid-row:2;overflow-x:auto;overflow-y:hidden;padding:0 1px 3px;gap:7px;justify-content:flex-start;align-items:stretch;width:100%;height:136px;scroll-snap-type:x proximity}.action-card{flex:0 0 119px;min-width:119px;max-width:119px;height:133px;padding:6px 8px;border-radius:8px;scroll-snap-align:start}.card-illustration{height:34px;min-height:34px;margin-bottom:5px;border-radius:4px}.card-title{font-size:12px;margin-bottom:3px;line-height:1.12}.card-text{font-size:9px;line-height:1.28}.card-price{font-size:8px}.action-card .card-type{font-size:6px;margin:0 0 3px;padding:0}.action-card .card-cost{height:20px;min-width:24px;top:6px;right:6px;font-size:11px}.card-illustration .card-symbol{height:21px;width:21px;left:3px;bottom:2px}.card-illustration .card-symbol svg{width:17px;height:17px}.action-card:hover:not(:disabled),.action-card.chosen{transform:none}.action-card.chosen{outline-offset:-3px}.signature-mark{font-size:5px;padding:2px 3px}
 .end-turn-block{grid-column:2;grid-row:1;width:auto;height:34px;background:none;border:0;box-shadow:none;padding:0;display:block}.end-turn-block .btn{width:100%;height:34px;min-height:34px;border-radius:7px;font-size:12px;padding:3px 8px;flex-direction:row;gap:7px;box-shadow:inset 0 0 0 2px #615433}.end-turn-block .btn svg{width:17px;height:17px}.end-turn-block .turn-tip,.end-turn-block .saved-label{display:none}
 .inspector{left:8px;bottom:195px;width:calc(100% - 61px);max-height:185px;border-radius:10px}.inspector.unit-inspector{left:8px;bottom:195px;width:calc(100% - 61px);padding:7px 8px;max-height:none}.unit-compact-head{gap:7px}.unit-compact-head .unit-portrait{height:38px;width:38px}.unit-compact-name h2{font-size:17px;margin-bottom:2px}.unit-compact-name>span{font-size:9px}.unit-vitals{gap:7px}.unit-vitals>span{flex-direction:column;gap:1px}.unit-vitals svg{height:15px;width:15px}.unit-vitals strong{font-size:11px}.unit-vitals small{font-size:8px}.unit-compact-orders{margin-top:5px;padding-top:5px;gap:5px}.unit-compact-orders .btn{min-height:32px;font-size:10px;padding:3px 7px}.unit-compact-orders svg{width:16px;height:16px}.saved-journey{padding:5px}.saved-journey strong{font-size:9px}.saved-journey .btn{font-size:9px;padding:5px}
 .map-controls{right:8px;bottom:195px;padding:3px;border-radius:20px;display:flex;flex-direction:column;gap:2px}.map-controls .icon-btn{width:32px;height:32px}.map-controls svg{height:17px;width:17px}
 #journey-status{top:150px;width:calc(100% - 16px);max-width:none;left:50%}.journey-banner{padding:8px 10px;font-size:11px}.journey-banner .btn{min-height:32px;padding:5px 12px}.target-banner{display:none}#toast{bottom:195px;max-width:calc(100% - 20px);font-size:11px;padding:10px 13px}
 .modal-backdrop{padding:8px}.modal{padding:20px 16px;max-height:96dvh;border-radius:10px}.modal h2,.workspace-heading h2{font-size:27px}.workspace-heading{margin-bottom:18px}.modal .close-modal{top:0;right:0;margin:-8px 0 -17px auto}.workspace-heading p{font-size:12px}.screen-cities,.screen-research,.screen-deck,.screen-council,.screen-empire,.screen-chronicle{padding:20px 16px;width:100%;max-height:96dvh}
 .backdrop-cities{padding:149px 8px 8px;align-items:stretch}.backdrop-cities .screen-cities{width:100%;max-height:none;padding:16px 12px}.city-drawer-heading{padding-bottom:8px}.city-drawer-heading h2{font-size:23px;margin:4px}.city-switcher{margin:8px 0}.city-stat-strip{padding:3px 0 10px}.building-catalogue>button{padding:9px 7px}.building-description small{font-size:11px}.building-medallion,.building-medallion>img{width:39px;height:39px}.city-section-tabs{margin-bottom:8px}
 .research-workspace,.deck-workspace,.diplomacy-workspace,.planning-top,.chronicle-workspace{display:flex;flex-direction:column;gap:18px}.research-map-scroll{min-height:290px;max-height:330px;width:100%}.discovery-detail{padding:15px;width:100%;border-radius:8px}.discovery-detail>svg{width:55px;height:55px;float:left;margin:0 14px 10px 0}.discovery-detail p{clear:both}.research-current{padding-top:12px;margin-top:16px}.research-current>svg{width:27px;height:27px}
 .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;width:100%}.collection-card>img{height:100px}.collection-card>strong{font-size:18px}.collection-card>small{font-size:11px;min-height:0}.collection-card>em{font-size:9px}.card-workbench{width:100%;padding:16px}.collection-toolbar nav{padding:4px}.collection-toolbar button{padding:9px;font-size:10px}.collection-combos{gap:12px}.workbench-art{height:150px}
 .leader-rail{flex-direction:row;width:100%;gap:12px}.leader-rail img{width:48px;height:58px}.leader-rail>button{display:flex;align-items:center;gap:9px;flex:1}.leader-scene{height:310px;border-radius:9px}.leader-statement{padding:16px 0}.leader-audience,.negotiation-table,.ready-roster{width:100%}.negotiation-table{padding:18px}.planning-top>section{width:100%}.economy-desk>div{grid-template-columns:repeat(2,minmax(0,1fr))}.economy-desk article:last-child{grid-column:1/-1}.victory-progress-cards{grid-template-columns:1fr}.victory-progress-cards h3{min-height:0;font-size:22px}.chronicle-margin{width:100%;border-left:0;border-top:1px solid #a18b4f;padding:18px 0 0}.history-event img{width:72px;height:72px}.history-turn{grid-template-columns:40px 1fr;gap:12px}.history-date{padding-right:10px}.history-event{gap:10px}
 .screen-settings{display:block;width:100%}.settings-tabs{flex-direction:row;gap:2px;padding:4px;margin:20px 0}.modal .settings-tabs>button{flex:1;justify-content:center;flex-direction:column;gap:5px;padding:8px 3px;font-size:10px}.settings-tabs svg{width:23px;height:23px}.settings-content{min-height:260px}.settings-row small{font-size:11px}.settings-row strong{font-size:13px}.settings-row select{width:100%;max-width:none}.settings-content .settings-row:has(select){flex-wrap:wrap}.settings-footer{font-size:10px}
 .encounter-workspace{display:block;max-height:94dvh}.encounter-scene{min-height:0;height:180px}.encounter-workspace>section{padding:20px 16px}.encounter-scene>.eyebrow{bottom:12px;padding:8px}.encounter-choices>button{padding:12px}.encounter-choices strong{font-size:18px}
}
@media(max-height:650px) and (min-width:751px){.command-dock{height:145px}.card-illustration{height:32px}.inspector,.inspector.unit-inspector,.map-controls{bottom:169px}.inspector{max-height:270px}.card-title{font-size:14px}.campaign-guidance{top:115px}.research-map-scroll{max-height:44dvh}}
@media(prefers-reduced-motion:reduce){.action-card:hover:not(:disabled){transform:none}}
:root[data-motion=reduced] .action-card:hover:not(:disabled){transform:none}
/* Readability refinements from the complete screen review. */
.settings-row{background:#1e2d42;border:1px solid #89774c60;border-radius:9px;margin-bottom:10px;padding:16px}
.settings-row input[type=checkbox]{background:#0c1728;border-color:#7f8b9c}
.settings-row input[type=checkbox]:after{background:#b4c5dc}
.settings-row input[type=checkbox]:checked{background:#987e45;border-color:#dfc280}
.settings-row input[type=checkbox]:checked:after{background:#fff0c3}
.backdrop-cities{pointer-events:auto}
.city-drawer-heading{padding-bottom:10px}.city-drawer-heading h2{line-height:1.15;margin:5px 0}.city-drawer-heading p{line-height:1.3;margin:0}
.collection-emblem{position:absolute;right:10px;top:96px;width:36px;height:36px;display:grid;place-items:center;border:1px solid #cfb675;border-radius:50%;background:#122038;box-shadow:0 2px 8px #0008}.collection-emblem svg{width:27px;height:27px}
@media(max-width:750px){.collection-emblem{top:68px;width:32px;height:32px}.collection-emblem svg{width:24px;height:24px}.settings-row{padding:13px}.city-stat-strip svg{width:22px;height:22px}}
@media(max-width:750px){.game-header{height:auto}.resource-bar{position:static;top:auto;left:auto;right:auto;bottom:auto}}
.game-nav{z-index:6}
@media(max-width:750px){.game-nav [data-action=empire] span{font-size:11px;text-transform:uppercase}.game-nav [data-action=empire] span:after{content:none}}
.origin-effects span{color:#c6d1df}.origin-effects svg{color:#c9b87e}.specimen-description{color:#acb9cc}.specimen-number{color:#b7c1cf}.origin-body{border-color:#8b7c515c;box-shadow:none}.origin-card.selected .origin-body{border-color:#b59d6866;box-shadow:none}
.charter-strip{background:#142136;border:1px solid #8f7b4b;border-radius:8px}.charter-slot{border-color:#98835150}.charter-slot.current{background:#a78d4c24;box-shadow:inset 0 -2px #d9bc77}.charter-slot:hover:not(:disabled){background:#33445d}.slot-number,.slot-text strong{color:#aabbd0}.slot-text small{color:#b3c1d3}.charter-slot.filled strong{color:#e8d6ad}.intro-foot{color:#acb9cb}.draft-footer{border-radius:8px;padding-inline:12px}.draft-footer .seed-wrap input{color:#e7ddc6;background:#0c1829;border-color:#8c794c}.resume-link{color:#ddc78f}
.help-sections p{color:#b8c7d8}.help-sections strong{color:#e8d9b6}.help-sections kbd{background:#24364b;border:1px solid #9f8a57;color:#e4ce9c;border-radius:3px;padding:1px 4px}
.charter-review>div{padding:13px}.charter-review .charter-tradeoff{grid-column:1/-1;width:100%}.charter-review .charter-tradeoff strong{font-size:18px}.charter-review .charter-tradeoff small{font-size:11px;line-height:1.6}
.card-inspector{background:linear-gradient(155deg,#1b2a3e,var(--card-wash));border-top:3px solid var(--card-tone);border-radius:10px}.card-inspector .inspector-title .eyebrow{color:var(--card-tone)}.inspector select{background:#0f1c2e;color:#e3dbc9;border:1px solid #a58d57}.target-label{color:#b9c7d7}.card-inspector .info-note{color:#b8c8da}.preview-cost{color:#d6d8cd}.empty-hand{background:#15243a;border:1px solid #87784e;color:#b5c5d9}
.save-error,.storage-warning{color:#efb3a4}.save-error{background:#3b2733;border:1px solid #bc8268;border-radius:8px;padding:12px}
[data-action=confirm-war],[data-action=confirm-attack]{background:linear-gradient(#8c4c47,#522d34)!important;border-color:#d29879!important;color:#ffe4d6!important}
.victory p{color:#bdcadd}.modal:has(.victory){border-color:#c9aa6d}.report-income .game-icon{width:26px;height:26px}.report-income>div{position:relative}.report-income .game-icon{position:absolute;right:12px;top:12px}.report-income small{padding-right:20px}
