@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/dm-sans-latin-ext-BOFOeGcA.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:400;font-display:swap;src:url(/assets/dm-sans-latin-Xz1IZZA0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/dm-sans-latin-ext-BOFOeGcA.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:500;font-display:swap;src:url(/assets/dm-sans-latin-Xz1IZZA0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/dm-sans-latin-ext-BOFOeGcA.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/dm-sans-latin-Xz1IZZA0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/dm-sans-latin-ext-BOFOeGcA.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:DM Sans;font-style:normal;font-weight:700;font-display:swap;src:url(/assets/dm-sans-latin-Xz1IZZA0.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:italic;font-weight:600;font-display:swap;src:url(/assets/fraunces-italic-vietnamese-cvhKTo6T.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:italic;font-weight:600;font-display:swap;src:url(/assets/fraunces-italic-latin-ext-BVu0amGW.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:italic;font-weight:600;font-display:swap;src:url(/assets/fraunces-italic-latin-sdKVIW35.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fraunces-vietnamese-BesnDYxP.woff2)format("woff2");unicode-range:U+102-103,U+110-111,U+128-129,U+168-169,U+1A0-1A1,U+1AF-1B0,U+300-301,U+303-304,U+308-309,U+323,U+329,U+1EA0-1EF9,U+20AB}@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fraunces-latin-ext-CDFEjIqy.woff2)format("woff2");unicode-range:U+100-2BA,U+2BD-2C5,U+2C7-2CC,U+2CE-2D7,U+2DD-2FF,U+304,U+308,U+329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF}@font-face{font-family:Fraunces;font-style:normal;font-weight:600;font-display:swap;src:url(/assets/fraunces-latin-Cn88bXme.woff2)format("woff2");unicode-range:U+??,U+131,U+152-153,U+2BB-2BC,U+2C6,U+2DA,U+2DC,U+304,U+308,U+329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}:root{color:#19322b;font-synthesis:none;text-rendering:optimizelegibility;--forest-950:#0e3028;--forest-900:#153e33;--forest-800:#205345;--forest-700:#2e6b58;--sage-200:#c7d8b7;--sage-100:#e6ecdc;--cream:#f8f5ec;--paper:#fffdf7;--gold:#d99f37;--ink:#19322b;--muted:#6c766f;--error:#a94037;--success:#2f7d5b;--surface-soft:#f1f4ed;--surface-raised:#fff;--border:#d9ded4;--shadow:#19413217;--player-account-width:210px;background:#f6f2e8;font-family:DM Sans,system-ui,sans-serif}:root[data-theme=dark]{color:#e5efe9;--forest-950:#edf8f1;--forest-900:#dcefe4;--forest-800:#79b99d;--forest-700:#70bd9b;--sage-200:#355c4d;--sage-100:#223b32;--cream:#101d19;--paper:#182722;--gold:#e4b75e;--ink:#e5efe9;--muted:#9fb1a8;--error:#ff9286;--success:#74d1a3;--surface-soft:#1d3029;--surface-raised:#21352d;--border:#334c42;--shadow:#0000004d;background:#101d19}.sr-only{clip:rect(0, 0, 0, 0);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}[dir=rtl] body{text-align:right}[dir=rtl] .brand__mark,[dir=rtl] .resource-svg,[dir=rtl] .button-spinner{direction:ltr}.resource-svg{--resource-bg:#274f42;--resource-fill:#91c8ae;--resource-line:#e6f6ee;--resource-rim:#fff3;vertical-align:-.42em;flex:none;width:1.65em;height:1.65em;display:inline-block;overflow:visible}.resource-svg.resource-png{object-fit:cover;border-radius:50%;overflow:hidden;box-shadow:0 1px 3px #122d2438}.ship-icon{object-fit:cover;vertical-align:-.55em;border-radius:50%;flex:none;width:1.9em;height:1.9em;display:inline-block;box-shadow:0 1px 3px #122d2438}.ship-card__icon .ship-icon{border-radius:12px;width:48px;height:48px}.route-ship__heading .ship-icon,.route-editor__assigned-ships article .ship-icon{border-radius:9px;width:34px;height:34px}.route-map__ship-entry{align-items:center;gap:.3rem;margin-right:.6rem;display:inline-flex}.renamable-title{flex-wrap:wrap;align-items:center;gap:.4rem;min-width:0;display:flex}.renamable-title>h1,.renamable-title>h2,.renamable-title>h3,.renamable-title>strong{overflow-wrap:anywhere;min-width:0}.rename-control__open{color:#3f6559;cursor:pointer;background:#fff;border:1px solid #d6e3da;border-radius:50%;flex:none;place-items:center;width:1.65rem;height:1.65rem;padding:0;font-size:.78rem;line-height:1;display:grid}.rename-control__open:hover:not(:disabled){background:#edf4ef}.ship-card .rename-control__open{color:#3f6559;background:#fff;border:1px solid #d6e3da;padding:0}.rename-control__open:disabled{opacity:.45;cursor:not-allowed}.rename-control{flex-wrap:wrap;align-items:center;gap:.4rem;width:100%;display:flex}.rename-control input{min-width:0;font:inherit;border:1px solid #cfdfd4;border-radius:8px;flex:9rem;padding:.35rem .5rem;font-size:.85rem}.rename-control button{padding:.35rem .6rem;font-size:.78rem}.rename-control small{color:#8c3e36;flex:100%;font-size:.72rem}.resource-svg__backdrop{fill:var(--resource-bg)}.resource-svg__rim{fill:none;stroke:var(--resource-rim);stroke-width:.7px}.resource-svg path,.resource-svg ellipse{fill:none;stroke:var(--resource-line);stroke-width:1.05px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.resource-svg .resource-svg__fill,.resource-svg>circle:not(.resource-svg__backdrop):not(.resource-svg__rim),.resource-svg g.resource-svg__fill{fill:var(--resource-fill);stroke:var(--resource-line)}.resource-svg .resource-svg__detail{fill:var(--resource-line);stroke:var(--resource-line)}.resource-svg--gold{--resource-bg:#5b4212;--resource-fill:#eebc43;--resource-line:#fff0a8;--resource-rim:#c99327}.resource-svg--wood{--resource-bg:#493426;--resource-fill:#a87345;--resource-line:#f1d1a3;--resource-rim:#865f3e}.resource-svg--planks{--resource-bg:#604733;--resource-fill:#c79159;--resource-line:#ffe0ad;--resource-rim:#9a7049}.resource-svg--stone{--resource-bg:#41484c;--resource-fill:#899296;--resource-line:#edf1f2;--resource-rim:#687277}.resource-svg--fish{--resource-bg:#25526a;--resource-fill:#67abc4;--resource-line:#dcf6ff;--resource-rim:#4b89a5}.resource-svg--cereals{--resource-bg:#5a4719;--resource-fill:#d9ac3c;--resource-line:#ffeb9d;--resource-rim:#a98227}.resource-svg--wheat{--resource-bg:#5b4616;--resource-fill:#dfb541;--resource-line:#fff0a6;--resource-rim:#a8862e}.resource-svg--corn{--resource-bg:#40511a;--resource-fill:#e6c83f;--resource-line:#fff7a8;--resource-rim:#82902c}.resource-svg--barley{--resource-bg:#554a22;--resource-fill:#c7ad57;--resource-line:#fff0b8;--resource-rim:#8d793a}.resource-svg--apples{--resource-bg:#4f2d21;--resource-fill:#c95545;--resource-line:#ffe2bd;--resource-rim:#994536}.resource-svg--strawberries{--resource-bg:#572331;--resource-fill:#d85268;--resource-line:#ffe1e7;--resource-rim:#a43d52}.resource-svg--raspberries{--resource-bg:#51213f;--resource-fill:#b84478;--resource-line:#ffe0ef;--resource-rim:#8f3867}.resource-svg--peaches{--resource-bg:#653729;--resource-fill:#e58a63;--resource-line:#ffe2ca;--resource-rim:#b76046}.resource-svg--potatoes{--resource-bg:#54402a;--resource-fill:#ad8551;--resource-line:#f6ddb5;--resource-rim:#80613c}.resource-svg--carrots{--resource-bg:#57341f;--resource-fill:#df7b38;--resource-line:#ffe2b1;--resource-rim:#a95a2d}.resource-svg--sand{--resource-bg:#594a2d;--resource-fill:#d3b66e;--resource-line:#fff1c2;--resource-rim:#927b4d}.resource-svg--glass{--resource-bg:#244f59;--resource-fill:#70b7bf;--resource-line:#e2fbff;--resource-rim:#4d8992}.resource-svg--eggs{--resource-bg:#544b37;--resource-fill:#ede0bd;--resource-line:#fff9e8;--resource-rim:#8e7b58}.resource-svg--flour{--resource-bg:#514936;--resource-fill:#d9c99e;--resource-line:#fff7dd;--resource-rim:#87785a}.resource-svg--bread{--resource-bg:#5a3821;--resource-fill:#c98545;--resource-line:#ffe1af;--resource-rim:#986034}.resource-svg--cider{--resource-bg:#5b351c;--resource-fill:#c57d2f;--resource-line:#ffe6aa;--resource-rim:#995d28}.resource-svg--wine{--resource-bg:#4d253b;--resource-fill:#983f66;--resource-line:#ffe0ed;--resource-rim:#773650}.resource-svg--beer{--resource-bg:#594315;--resource-fill:#d5a52f;--resource-line:#fff0a5;--resource-rim:#9e7624}.resource-svg--sugar{--resource-bg:#365263;--resource-fill:#d6e8ed;--resource-line:#fff;--resource-rim:#6d91a1}.resource-svg--apple-jam{--resource-bg:#54241f;--resource-fill:#b94538;--resource-line:#ffe0bb;--resource-rim:#923b30}.resource-svg--grape-jam{--resource-bg:#422650;--resource-fill:#814d9d;--resource-line:#efdcff;--resource-rim:#6c4082}.resource-svg--strawberry-jam{--resource-bg:#591f30;--resource-fill:#c33e59;--resource-line:#ffe0e7;--resource-rim:#993048}.resource-svg--raspberry-jam{--resource-bg:#4f1d3b;--resource-fill:#a9366c;--resource-line:#ffdeed;--resource-rim:#842b5b}.resource-svg--peach-jam{--resource-bg:#613122;--resource-fill:#d87553;--resource-line:#ffe1c7;--resource-rim:#a4513b}.resource-svg--jam-making{--resource-bg:#4b2b4f;--resource-fill:#a2589e;--resource-line:#fce1ff;--resource-rim:#7e447b}.resource-svg--salted-fish{--resource-bg:#2b5060;--resource-fill:#78aebc;--resource-line:#e5f9ff;--resource-rim:#568491}.resource-svg--bricks{--resource-bg:#603126;--resource-fill:#bd6048;--resource-line:#ffd4bf;--resource-rim:#994b39}.resource-svg--iron-ingots{--resource-bg:#394247;--resource-fill:#84949a;--resource-line:#edf5f7;--resource-rim:#65767c}.resource-svg--tools{--resource-bg:#3e4648;--resource-fill:#89999b;--resource-line:#eff9f7;--resource-rim:#68797a}.resource-svg--mechanical-parts{--resource-bg:#35474c;--resource-fill:#6e8e94;--resource-line:#e5f6f8;--resource-rim:#55747a}.resource-svg--rations{--resource-bg:#4d492c;--resource-fill:#a79d5d;--resource-line:#fff2bd;--resource-rim:#7c7545}.resource-svg--advanced-materials{--resource-bg:#344d51;--resource-fill:#6f9da3;--resource-line:#e5fbff;--resource-rim:#527b82}.resource-svg--electricity{--resource-bg:#5b4914;--resource-fill:#f0c83d;--resource-line:#fff7b0;--resource-rim:#a98c28}.resource-svg--factory-power{--resource-bg:#4b482e;--resource-fill:#9e9361;--resource-line:#fff2b2;--resource-rim:#7c7448}.resource-svg--powered-factory{--resource-bg:#31503d;--resource-fill:#68a178;--resource-line:#e6f8d9;--resource-rim:#4f805e}.resource-svg--housing-power{--resource-bg:#315442;--resource-fill:#75a985;--resource-line:#ebf9df;--resource-rim:#568665}.resource-svg--wood-power-generation{--resource-bg:#3f4c2d;--resource-fill:#789053;--resource-line:#f1e4ad;--resource-rim:#647a43}.resource-svg--coal-power-generation{--resource-bg:#34383b;--resource-fill:#697276;--resource-line:#f4e8a5;--resource-rim:#5d6367}.resource-svg--oil-power-generation{--resource-bg:#303249;--resource-fill:#59618c;--resource-line:#fff0a6;--resource-rim:#4a5078}.resource-svg--clay{--resource-bg:#603327;--resource-fill:#c66f50;--resource-line:#ffd0b7;--resource-rim:#a6513a}.resource-svg--wool{--resource-bg:#4b4262;--resource-fill:#b8a8d1;--resource-line:#f2eaff;--resource-rim:#83749d}.resource-svg--copper{--resource-bg:#5c3020;--resource-fill:#cf7042;--resource-line:#ffd0ac;--resource-rim:#a94f2b}.resource-svg--salt{--resource-bg:#284e63;--resource-fill:#75bad4;--resource-line:#dff8ff;--resource-rim:#4d8ba7}.resource-svg--hops{--resource-bg:#334d20;--resource-fill:#78a846;--resource-line:#e4f6b3;--resource-rim:#5f8537}.resource-svg--flax{--resource-bg:#33496a;--resource-fill:#7398d1;--resource-line:#e3edff;--resource-rim:#5779aa}.resource-svg--iron{--resource-bg:#343e43;--resource-fill:#788b92;--resource-line:#e6f0f2;--resource-rim:#607279}.resource-svg--medicinal-herbs{--resource-bg:#214d3a;--resource-fill:#5dae7e;--resource-line:#d8f7e5;--resource-rim:#3e8963}.resource-svg--grapes{--resource-bg:#49305c;--resource-fill:#9764b8;--resource-line:#f0dcff;--resource-rim:#764992}.resource-svg--cotton{--resource-bg:#3a5261;--resource-fill:#dcebf0;--resource-line:#fff;--resource-rim:#7295a6}.resource-svg--coal{--resource-bg:#282c31;--resource-fill:#4b5158;--resource-line:#cbd2d8;--resource-rim:#5e666f}.resource-svg--spices{--resource-bg:#5b2d25;--resource-fill:#cb6548;--resource-line:#ffd0ae;--resource-rim:#9e4935}.resource-svg--sugar-cane{--resource-bg:#31512c;--resource-fill:#7fb15a;--resource-line:#e7f8b9;--resource-rim:#5e8d47}.resource-svg--silk{--resource-bg:#5a344d;--resource-fill:#ce7fa8;--resource-line:#ffe1f0;--resource-rim:#9e5d81}.resource-svg--quartz{--resource-bg:#35465f;--resource-fill:#86b8d7;--resource-line:#e4f7ff;--resource-rim:#668cac}.resource-svg--saltpeter{--resource-bg:#285154;--resource-fill:#62aca9;--resource-line:#dbffff;--resource-rim:#4b898b}.resource-svg--rubber{--resource-bg:#4e2931;--resource-fill:#a94f61;--resource-line:#ffd6dc;--resource-rim:#843e4e}.resource-svg--cocoa{--resource-bg:#4b3024;--resource-fill:#a96442;--resource-line:#f7d2af;--resource-rim:#805039}.resource-svg--oil{--resource-bg:#292b40;--resource-fill:#4f567e;--resource-line:#dce0ff;--resource-rim:#454a6b}:root[data-theme=dark] .resource-svg{filter:saturate(1.08)brightness(1.08)}.locked-resource-intro{color:#6d7d75;margin:0 0 .6rem;font-size:.78rem}.locked-resource-list{gap:.5rem;display:grid}.locked-resource{background:#f6f7f1;border:1px dashed #cdd8c8;border-radius:10px;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;padding:.6rem .7rem;display:grid}.locked-resource>div{flex-direction:column;min-width:0;display:flex}.locked-resource strong{color:#3f514a;font-size:.86rem}.locked-resource small{color:#7a8a83;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.locked-resource>b{color:#6d571c;white-space:nowrap;background:#fff6d9;border-radius:999px;padding:.3rem .55rem;font-size:.68rem;font-weight:700}.locked-resource .resource-svg{filter:grayscale(.55);opacity:.8}.capital-card{color:#f7f1dc;background:linear-gradient(120deg,#183f48,#256477);border:1px solid #ffffff29;border-radius:18px;justify-content:space-between;align-items:center;gap:2rem;margin:0 0 2rem;padding:1.4rem 1.6rem;display:flex;box-shadow:0 14px 36px #1137422e}.capital-card>div:first-child{align-items:center;gap:1rem;display:flex}.capital-card h2{margin:.15rem 0;font-family:Georgia,serif}.capital-card small{color:#bfdae0}.capital-card__icon{color:#183f48;background:#e8b752;border-radius:50%;place-items:center;width:58px;height:58px;font-size:1.7rem;display:grid}.capital-card__stocks{flex-wrap:wrap;justify-content:flex-end;gap:.55rem;display:flex}.capital-card__stocks span,.capital-card__stocks em{background:#ffffff1a;border-radius:10px;padding:.55rem .8rem;font-style:normal}.capital-card__stocks i{color:#efc768;margin-right:.3rem;font-style:normal}.capital-card__open{color:#183f48;cursor:pointer;background:#f0c767;border:0;border-radius:9px;flex:none;padding:.68rem .85rem;font-weight:800}.island-card__title small{color:#7a8a83;margin-top:.25rem;font-size:.72rem;display:block}.capital-resource-strip{color:#dceced;background:#163d48;border-top:1px solid #ffffff1a;flex-wrap:wrap;align-items:center;gap:.75rem;padding:.7rem 1.25rem;display:flex}.capital-resource-strip strong{color:#f0c767}.capital-resource-strip span{background:#ffffff14;border-radius:7px;padding:.25rem .55rem;font-size:.85rem}.capital-page{width:min(1240px,100% - 3rem);margin:0 auto;padding:2.5rem 0 5rem}.capital-hero{color:#f7f4e9;background:radial-gradient(circle at 78% 15%,#efc56840,#0000 27%),linear-gradient(135deg,#173e38,#245e53);border-radius:22px;justify-content:space-between;align-items:center;gap:2rem;padding:2rem;display:flex;box-shadow:0 18px 42px #143a302e}.capital-hero h1{margin:.2rem 0 .35rem;font:700 clamp(2rem,4vw,3.35rem)/1.05 Fraunces,Georgia,serif}.capital-hero p{color:#d2e2da;max-width:650px;margin:.25rem 0}.capital-population-meter{background:#ffffff1a;border:1px solid #ffffff29;border-radius:16px;min-width:230px;padding:1rem 1.15rem;display:grid}.capital-population-meter span,.capital-population-meter small{color:#d7e6df}.capital-population-meter strong{color:#f4cb70;margin:.1rem 0;font:700 2.3rem/1 Fraunces,Georgia,serif}.capital-population-meter progress{accent-color:#e7b957;width:100%;height:8px;margin-top:.75rem}.capital-summary-grid{grid-template-columns:repeat(4,1fr);gap:1rem;margin:1.25rem 0;display:grid}.capital-summary-grid article{background:var(--surface-raised);border:1px solid var(--border);box-shadow:0 8px 22px var(--shadow);border-radius:14px;align-items:center;gap:.85rem;padding:1rem 1.1rem;display:flex}.capital-summary-grid article div{gap:.08rem;display:grid}.capital-summary-grid small,.capital-summary-grid span{color:var(--muted);font-size:.75rem}.capital-summary-grid strong{color:var(--forest-800)}.capital-summary-grid article.is-missing{border-color:#d8a293}.capital-summary-grid article.is-missing strong{color:#a4543f}.capital-summary-grid article .is-gain{color:var(--success)}.capital-summary-grid article .is-loss{color:var(--error)}.capital-summary-grid article strong.is-gain{color:var(--success)}.capital-summary-grid article strong.is-loss{color:var(--error)}.capital-summary-icon{background:var(--sage-100);border-radius:11px;flex:none;place-items:center;width:42px;height:42px;display:grid;font-size:1.3rem!important}.capital-limit-alert,.capital-success,.capital-empty{border-radius:12px;margin:1rem 0;padding:1rem 1.15rem}.capital-limit-alert{color:#77571d;background:#fff5d9;border:1px solid #ead28f;align-items:flex-start;gap:.9rem;display:flex}.capital-limit-alert ul{margin:.45rem 0 0;padding-left:1.2rem}.capital-limit-alert li+li{margin-top:.25rem}.capital-success{color:#216344;background:#e5f4e9;border:1px solid #b6d8c0}.capital-empty{color:var(--muted);background:var(--surface-soft);border:1px dashed var(--border)}.capital-resources-section,.capital-needs-section,.capital-buildings-section,.capital-catalog-section{background:var(--paper);border:1px solid var(--border);box-shadow:0 10px 28px var(--shadow);border-radius:18px;margin-top:1.5rem;padding:1.4rem}.capital-section-heading{justify-content:space-between;align-items:end;gap:1rem;margin-bottom:1rem;display:flex}.capital-section-heading h2{color:var(--forest-900);margin:.15rem 0 0;font:700 1.5rem Fraunces,Georgia,serif}.capital-section-heading>p{max-width:520px;color:var(--muted);text-align:right;margin:0;font-size:.82rem}.capital-resource-groups{grid-template-columns:repeat(2,1fr);gap:1rem;display:grid}.capital-resource-groups>article{background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;padding:1rem}.capital-resource-groups h3{color:var(--forest-800);margin:0}.capital-resource-groups small{color:var(--muted)}.capital-resource-groups article>div:last-child{flex-wrap:wrap;gap:.55rem;margin-top:.85rem;display:flex}.capital-resource-groups article>div:last-child span{background:var(--surface-raised);border:1px solid var(--border);border-radius:9px;align-items:center;gap:.35rem;padding:.45rem .65rem;font-size:.8rem;display:flex}.capital-resource-groups em{color:var(--muted);font-size:.8rem}.capital-needs-grid{grid-template-columns:repeat(4,1fr);gap:.75rem;display:grid}.capital-needs-grid article{border:1px solid var(--border);border-radius:12px;align-items:center;gap:.7rem;padding:.85rem;display:flex}.capital-needs-grid article>.capital-need-icon{flex:none;width:58px;height:58px}.capital-needs-grid h3{margin:0;font-size:.92rem}.capital-needs-grid strong,.capital-needs-grid small{display:block}.capital-needs-grid small{color:var(--muted);font-size:.68rem}.capital-needs-grid .is-satisfied{background:#edf8f0;border-color:#9ccbad}.capital-needs-grid .is-missing{background:#fff0ec;border-color:#e1ad9e}.capital-needs-grid .is-future{opacity:.72}.capital-need-icon{--need-outline:#27483d;--need-halo:#e7f0e9;--need-medallion:#f8fbf8;filter:drop-shadow(0 3px 3px #1f3e321f);display:block;overflow:visible}.capital-need-icon path,.capital-need-icon circle{stroke:var(--need-outline);stroke-width:1.65px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.capital-need-icon__halo{fill:var(--need-halo);stroke:none!important}.capital-need-icon__medallion{fill:var(--need-medallion);stroke:#27483d26!important;stroke-width:1px!important}.capital-need-icon .need-detail{fill:none;stroke:var(--need-outline);stroke-width:1.1px;opacity:.65}.capital-need-icon--religion{--need-halo:#f4ead0;--need-medallion:#fffaf0}.capital-need-icon .need-religion-rays{fill:none;stroke:#c2933a}.capital-need-icon .need-religion-building{fill:#f0dfb8}.capital-need-icon .need-religion-roof{fill:#76938a}.capital-need-icon .need-religion-door{fill:#795641}.capital-need-icon .need-religion-cross{fill:none;stroke:#aa7928;stroke-width:2.2px}.capital-need-icon--police{--need-halo:#dceaf6;--need-medallion:#f5f9fd}.capital-need-icon .need-police-rays{fill:none;stroke:#6a91b2}.capital-need-icon .need-police-shield{fill:#477ba4;stroke:#294e6d}.capital-need-icon .need-police-badge{fill:#f5f7f2;stroke:#294e6d;stroke-width:1.2px}.capital-need-icon .need-police-star{fill:#f1c75b;stroke:#9a7421;stroke-width:.8px}.capital-need-icon--fire-safety{--need-halo:#fae2d7;--need-medallion:#fff8f3}.capital-need-icon .need-fire-shield{fill:#bd6554;stroke:#743d35}.capital-need-icon .need-fire-flame{fill:#f39a45;stroke:#923e2e}.capital-need-icon .need-fire-core{fill:#ffe188;stroke:#b86132;stroke-width:1px}.capital-need-icon .need-fire-spark{fill:none;stroke:#d16b43}.capital-need-icon--health{--need-halo:#dff0e9;--need-medallion:#f6fbf9}.capital-need-icon .need-health-pulse{fill:none;stroke:#4b9886;stroke-width:2px}.capital-need-icon .need-health-heart{fill:#e26d69;stroke:#8c3e43}.capital-need-icon .need-health-cross{fill:#fff7ed;stroke:none}.capital-need-icon .need-health-shine{fill:none;stroke:#70aa9a}.capital-need-icon--education{--need-halo:#e6e2f6;--need-medallion:#f8f6ff}.capital-need-icon .need-education-rays{fill:none;stroke:#8a7fb5}.capital-need-icon .need-education-book{fill:#f6f3ea;stroke:#6f6494}.capital-need-icon .need-education-spine{fill:none;stroke:#6f6494;stroke-width:1.6px}.capital-need-icon .need-education-cap{fill:#5d5289;stroke:#3d3560}.capital-need-icon .need-education-tassel{fill:none;stroke:#e0b352;stroke-width:2px}.capital-need-icon .need-generic{fill:#dbe8df}.capital-need-icon .need-generic-mark{fill:none;stroke-width:2px}.capital-housing-status{gap:.55rem;display:grid}.capital-housing-status article{background:var(--surface-raised);border:1px solid var(--border);border-radius:10px;gap:.6rem;padding:.75rem .9rem;display:grid}.capital-housing-status__title{align-items:center;gap:.6rem;display:flex}.capital-housing-status__title .capital-building-icon{flex:none;width:46px;height:46px}.capital-housing-status h5{color:var(--forest-800);margin:0;font-size:.9rem}.capital-housing-status small{color:var(--muted);font-size:.72rem}.capital-housing-status__lines{grid-template-columns:repeat(2,minmax(0,1fr));gap:.6rem;display:grid}.capital-housing-status__lines>div{flex-wrap:wrap;align-items:center;gap:.4rem;display:flex}.capital-housing-status__lines>div>span{background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.3rem;padding:.28rem .55rem;font-size:.72rem;font-weight:700;display:inline-flex}.capital-housing-status__lines>div>span.capital-housing-status__label{width:100%;color:var(--muted);letter-spacing:.08em;text-transform:uppercase;background:0 0;border:0;padding:0;font-size:.66rem;font-weight:750}.capital-housing-status__lines .capital-need-icon{width:22px;height:22px}.capital-housing-status__lines b{color:var(--forest-700);font-weight:750}.capital-housing-status__lines em{color:var(--muted);font-size:.66rem;font-style:normal;font-weight:600}.capital-housing-status__lines .is-satisfied{background:#edf8f0;border-color:#9ccbad}.capital-housing-status__lines .is-missing{background:#fff0ec;border-color:#e1ad9e}.capital-district-population{text-align:right;gap:.1rem;display:grid}.capital-district-population strong{color:var(--forest-700);white-space:nowrap}.capital-district-population small{color:var(--muted);font-size:.72rem}.capital-district-satisfaction{background:var(--surface-raised);border:1px solid var(--border);border-radius:12px;gap:.6rem;padding:.9rem 1rem;display:grid}.capital-district-satisfaction h4{color:var(--forest-900);margin:0;font-size:.95rem}.foldable-panel{gap:.55rem;display:grid}.foldable-panel__heading{color:var(--forest-900);margin:0;font-size:.95rem}.foldable-panel__summary{display:none}.foldable-panel__body{gap:.6rem;display:grid}.capital-district-consumption{gap:.4rem;display:grid}.capital-district-consumption table{border-collapse:collapse;width:100%;font-size:.74rem}.capital-district-consumption th{color:var(--muted);letter-spacing:.06em;text-align:left;text-transform:uppercase;padding:.35rem .5rem;font-size:.64rem}.capital-district-consumption tbody th{border-top:1px solid var(--border);color:var(--forest-800);letter-spacing:normal;text-transform:none;align-items:center;gap:.35rem;font-size:.74rem;display:flex}.capital-district-consumption td{border-top:1px solid var(--border);color:var(--muted);padding:.35rem .5rem}.capital-district-consumption tr.is-missing th,.capital-district-consumption tr.is-missing td{color:#a4543f}.capital-district-consumption>small{color:var(--muted);font-size:.68rem}.capital-buildings-grid,.capital-catalog-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:.85rem;display:grid}.capital-buildings-grid>article,.capital-catalog-grid>article{background:var(--surface-raised);border:1px solid var(--border);border-radius:13px;flex-direction:column;padding:1rem;display:flex}.capital-building-title{align-items:center;gap:.65rem;display:flex}.capital-building-title>.capital-building-icon{width:62px;height:62px}.capital-building-count{color:var(--forest-800);background:var(--surface-soft);border:1px solid var(--border);white-space:nowrap;border-radius:999px;margin-left:auto;padding:.3rem .55rem;font-size:.78rem}.capital-building-title h3,.capital-catalog-grid h3{color:var(--forest-800);margin:.1rem 0}.capital-building-title small,.capital-buildings-grid article>p,.capital-catalog-grid article>p{color:var(--muted);font-size:.78rem}.capital-upgrade{border-top:1px solid var(--border);gap:.4rem;margin-top:auto;padding-top:.75rem;display:grid}.capital-upgrade>p,.capital-catalog-cost{flex-wrap:wrap;gap:.5rem;margin:.15rem 0;display:flex}.capital-upgrade>p span,.capital-catalog-cost span{align-items:center;gap:.25rem;font-size:.75rem;display:inline-flex}.capital-upgrade>p>small{width:100%;color:var(--muted);font-weight:700}.capital-upgrade-quantity{color:var(--muted);justify-content:space-between;align-items:center;gap:.75rem;font-size:.78rem;font-weight:700;display:flex}.capital-upgrade-quantity input{width:4.5rem;color:var(--forest-900);background:var(--surface-raised);border:1px solid var(--border);border-radius:7px;padding:.35rem .5rem}.capital-buildings-grid button,.capital-catalog-grid button{color:#fff;background:var(--forest-700);cursor:pointer;border:0;border-radius:8px;margin-top:auto;padding:.65rem .75rem;font-weight:750}.capital-buildings-grid button:disabled,.capital-catalog-grid button:disabled{cursor:not-allowed;opacity:.5}.capital-max-level{width:max-content;color:var(--muted);background:var(--surface-soft);border-radius:999px;margin-top:auto;padding:.3rem .55rem;font-size:.68rem}.capital-catalog-grid>article{gap:.5rem}.capital-catalog-icon{width:82px;height:82px;margin:-.15rem 0 .1rem}.capital-catalog-grid>article>p{min-height:2.3em;margin:.15rem 0}.capital-building-detail{color:var(--muted);margin:.15rem 0;font-size:.72rem}.capital-districts-section{background:var(--paper);border:1px solid var(--border);box-shadow:0 10px 28px var(--shadow);border-radius:18px;margin-top:1.5rem;padding:1.4rem}.capital-district{background:var(--surface-soft);border:1px solid var(--border);border-radius:15px;gap:.9rem;margin-top:1rem;padding:1.1rem;display:grid}.capital-district>header{justify-content:space-between;align-items:center;gap:1rem;display:flex}.capital-district>header h3{color:var(--forest-800);margin:0}.capital-district>header small{color:var(--muted);font-size:.78rem}.capital-district>header strong{color:var(--forest-700);white-space:nowrap}.capital-district-needs{flex-wrap:wrap;gap:.5rem;display:flex}.capital-district-needs span{background:var(--surface-raised);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.75rem;font-weight:700;display:inline-flex}.capital-district-needs .capital-need-icon{width:26px;height:26px}.capital-district-needs .is-satisfied{color:var(--forest-700)}.capital-district-needs .is-missing{color:#a4543f;border-color:#d8a293}.capital-buildings-grid>article.is-unfunded{background:var(--surface-soft);border-color:#d8a293}.capital-district-new{background:var(--surface-raised);border:1px dashed var(--border);border-radius:15px;justify-content:space-between;align-items:center;gap:1.2rem;margin-top:1rem;padding:1.1rem;display:flex}.capital-district-new h3{color:var(--forest-800);margin:0 0 .25rem}.capital-district-new p{color:var(--muted);margin:0 0 .4rem;font-size:.8rem}.capital-district-new button{color:#fff;background:var(--forest-700);cursor:pointer;white-space:nowrap;border:0;border-radius:8px;padding:.65rem .9rem;font-weight:750}.capital-district-new button:disabled{cursor:not-allowed;opacity:.5}.capital-building-icon{--icon-outline:#24483d;--icon-sky:#eaf2df;--icon-ground:#a8c77f;filter:drop-shadow(0 4px 4px #1f3e3221);flex:none;width:64px;height:64px;display:block;overflow:visible}.capital-building-icon--painted{object-fit:cover;border-radius:14px;overflow:hidden}.capital-building-icon path,.capital-building-icon circle{stroke:var(--icon-outline);stroke-width:1.55px;stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}.capital-building-icon__sky{fill:var(--icon-sky);stroke:#fff!important;stroke-width:2px!important}.capital-building-icon__ground{fill:var(--icon-ground);stroke:none!important}.capital-building-icon .icon-shadow{fill:#2741362b;stroke:none}.capital-building-icon .icon-detail{fill:none;stroke:var(--icon-outline);stroke-width:1.15px;opacity:.72}.capital-summary-building-icon{filter:none;width:48px;height:48px;margin:-3px}.confirm-dialog__shortages{gap:.65rem;margin:.85rem 0;padding:0;list-style:none;display:grid}.confirm-dialog__shortages li{background:var(--surface-soft);border:1px solid #d8a293;border-radius:10px;gap:.12rem;padding:.65rem .75rem;display:grid}.confirm-dialog__shortages strong{color:#8f4737}.confirm-dialog__shortages span,.confirm-dialog__shortages small{color:var(--muted)}.capital-building-icon--worker-hut{--icon-sky:#edf3df;--icon-ground:#9fc278}.capital-building-icon .hut-wall{fill:#e8bd78}.capital-building-icon .hut-side{fill:#c79155}.capital-building-icon .hut-roof{fill:#c86d48}.capital-building-icon .hut-roof-line{fill:none;stroke:#f2b274}.capital-building-icon .hut-chimney{fill:#8d543e}.capital-building-icon .hut-door{fill:#78513b}.capital-building-icon .hut-handle{fill:#f4d37e;stroke:none}.capital-building-icon .hut-window{fill:#bde2dc}.capital-building-icon .hut-grass{fill:none;stroke:#4f7c4d}.capital-building-icon--church{--icon-sky:#e8f1ef;--icon-ground:#91bea2}.capital-building-icon .church-body,.capital-building-icon .church-tower{fill:#f2e5c7}.capital-building-icon .church-apse{fill:#dccda9}.capital-building-icon .church-roof{fill:#527f79}.capital-building-icon .church-spire{fill:#d1a953}.capital-building-icon .church-cross{fill:none;stroke:#9a6d22;stroke-width:2px}.capital-building-icon .church-door{fill:#76523d}.capital-building-icon .church-window{fill:#83b9bd}.capital-building-icon--police-station{--icon-sky:#e7eff9;--icon-ground:#8eb69e}.capital-building-icon .police-body{fill:#dce7ed}.capital-building-icon .police-side{fill:#b7cbd7}.capital-building-icon .police-roof{fill:#315f86}.capital-building-icon .police-trim{fill:#6b95b5}.capital-building-icon .police-door{fill:#294d6a}.capital-building-icon .police-window{fill:#91c4d8}.capital-building-icon .police-sign{fill:#f4f7f5}.capital-building-icon .police-shield{fill:#3e77a2;stroke-width:1px}.capital-building-icon .police-star{fill:#f5cf63;stroke:none}.capital-building-icon--fire-station{--icon-sky:#fff0e5;--icon-ground:#9cbd86}.capital-building-icon .fire-body{fill:#d8795f}.capital-building-icon .fire-side{fill:#b85e4d}.capital-building-icon .fire-roof{fill:#81463d}.capital-building-icon .fire-trim{fill:#f0be75}.capital-building-icon .fire-garage{fill:#f3e3cf}.capital-building-icon .fire-garage-line{fill:none;stroke:#b86050}.capital-building-icon .fire-door{fill:#754941}.capital-building-icon .fire-sign{fill:#fff4dc}.capital-building-icon .fire-flame{fill:#ef7142;stroke:#9b3e2a;stroke-width:1px}.capital-building-icon--hospital{--icon-sky:#e9f5f1;--icon-ground:#8fbea2}.capital-building-icon .hospital-wing{fill:#dcebe7}.capital-building-icon .hospital-body{fill:#f4f2e9}.capital-building-icon .hospital-roof{fill:#4e8e86}.capital-building-icon .hospital-cross-bg{fill:#fff}.capital-building-icon .hospital-cross{fill:#d95752;stroke:none}.capital-building-icon .hospital-window{fill:#85bcc0}.capital-building-icon .hospital-door{fill:#4f7e7b}.capital-building-icon--school{--icon-sky:#eeecf8;--icon-ground:#9db08f}.capital-building-icon .school-body{fill:#f3efe2}.capital-building-icon .school-wing{fill:#ddd6ee}.capital-building-icon .school-roof{fill:#6f6494}.capital-building-icon .school-belfry{fill:#f3efe2;stroke:#6f6494;stroke-width:1px}.capital-building-icon .school-bell{fill:#e0b352}.capital-building-icon .school-door{fill:#7b5c46}.capital-building-icon .school-window{fill:#9bb8d8}.capital-building-icon .school-clock{fill:#fff8ea;stroke:#6f6494;stroke-width:1px}.capital-building-icon .generic-building{fill:#d9dfd5}.capital-building-icon .generic-roof{fill:#6c8e7d}.capital-building-icon .generic-door{fill:#52695e}.section-nav{flex-wrap:wrap;gap:.6rem;margin-bottom:1.1rem;display:flex}.section-nav__link{min-height:48px;color:var(--forest-800);background:var(--surface-raised);border:1px solid var(--border);box-shadow:0 6px 16px var(--shadow);font:inherit;text-align:start;cursor:pointer;border-radius:14px;align-items:center;gap:.65rem;padding:.55rem 1.05rem .55rem .8rem;display:flex}.section-nav__link:hover{border-color:var(--forest-700)}.section-nav__icon{background:var(--sage-100);border-radius:9px;flex:none;place-items:center;width:32px;height:32px;font-size:1.05rem;display:grid}.section-nav__copy{gap:.05rem;min-width:0;display:grid}.section-nav__copy strong{color:var(--forest-900);font-size:.9rem}.section-nav__copy small{color:var(--muted);font-size:.7rem}.section-nav__link.is-current{color:#f4f8f4;background:var(--forest-700);border-color:var(--forest-700);cursor:default}.section-nav__link.is-current .section-nav__icon{color:var(--forest-900);background:#ffffffd1}.section-nav__link.is-current .section-nav__copy strong{color:#fbfdfb}.section-nav__link.is-current .section-nav__copy small{color:#f6faf6c7}.capital-stats-tiles{grid-template-columns:repeat(3,1fr)}.stock-picker{flex-wrap:wrap;gap:.5rem;max-height:9.6rem;display:flex;overflow-y:auto}.stock-picker__chip{min-height:40px;color:var(--forest-800);background:var(--surface-soft);border:1px solid var(--border);font:inherit;cursor:pointer;border-radius:999px;align-items:center;gap:.4rem;padding:.4rem .8rem .4rem .5rem;font-size:.8rem;display:flex}.stock-picker__chip .resource-svg{width:22px;height:22px}.stock-picker__chip:hover:not(:disabled){border-color:var(--forest-700)}.stock-picker__chip.is-current{color:#f4f8f4;background:var(--forest-700);border-color:var(--forest-700)}.stock-picker__chip.is-missing{border-color:#d8a293}.stock-picker__chip.is-current.is-missing{background:var(--error);border-color:var(--error)}.stock-picker__chip:disabled{opacity:.45;cursor:not-allowed}.stock-panels{grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin-top:1.5rem;display:grid}.stock-panel{--stock-hue:var(--forest-700);background:var(--paper);border:1px solid var(--border);box-shadow:0 10px 28px var(--shadow);border-radius:18px;gap:.6rem;padding:1.1rem 1.2rem 1rem;display:grid}.stock-panel.is-missing{border-color:#d8a293}.stock-panel>header{align-items:flex-start;gap:.75rem;display:flex}.stock-panel>header .resource-svg{flex:none;width:38px;height:38px}.stock-panel>header>div{gap:.05rem;min-width:0;display:grid}.stock-panel h3{color:var(--forest-900);margin:0;font-size:.92rem}.stock-panel>header strong{color:var(--forest-800);font-variant-numeric:tabular-nums;font:700 1.5rem/1.1 Fraunces,Georgia,serif}.stock-panel>header small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.72rem}.stock-panel__alert{color:#8c3a2e;white-space:nowrap;background:#fdece7;border:1px solid #e6b3a5;border-radius:9px;align-items:center;gap:.3rem;margin:0 0 0 auto;padding:.3rem .55rem;font-size:.68rem;font-weight:700;display:flex}.stock-panel__frame{min-height:128px}.stock-panel>footer{color:var(--muted);justify-content:space-between;font-size:.66rem;display:flex}.stock-panel>footer>span:nth-child(2){color:var(--forest-800);font-weight:700}.stock-chart{touch-action:pan-y;display:block}.stock-chart__grid{stroke:var(--border);stroke-width:1px}.stock-chart__baseline{stroke:var(--muted);stroke-width:1px;opacity:.55}.stock-chart__area{fill:var(--stock-hue);opacity:.12}.stock-chart__area--forecast{opacity:.06}.stock-chart__line{fill:none;stroke:var(--stock-hue);stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.stock-chart__line--forecast{stroke-dasharray:5 4}.stock-chart__now{stroke:var(--forest-800);stroke-width:1px;opacity:.45}.stock-chart__shortage{stroke:var(--error);stroke-width:1px;stroke-dasharray:3 3}.stock-chart__shortage-dot{fill:var(--error);stroke:var(--paper);stroke-width:2px}.stock-chart__endpoint{fill:var(--stock-hue);stroke:var(--paper);stroke-width:2px}.stock-chart__cursor{stroke:var(--forest-800);stroke-width:1px}.stock-chart__cursor-dot{fill:var(--forest-800);stroke:var(--paper);stroke-width:2px}.stock-chart__tick{fill:var(--muted);font-variant-numeric:tabular-nums;font-size:10px}.stock-deliveries{gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.stock-deliveries li{background:var(--surface-soft);border:1px solid var(--border);border-radius:11px;grid-template-columns:64px minmax(0,1fr) minmax(0,1.4fr);align-items:center;gap:.75rem;padding:.6rem .8rem;display:grid}.stock-deliveries__time{color:var(--forest-800);font-variant-numeric:tabular-nums;font-size:.82rem;font-weight:700}.stock-deliveries__route{gap:.05rem;min-width:0;display:grid}.stock-deliveries__route strong{font-size:.82rem}.stock-deliveries__route small{color:var(--muted);font-size:.68rem}.stock-deliveries__cargo{color:var(--forest-800);text-align:right;font-size:.78rem}.stock-table-wrap{overflow-x:auto}.stock-table{border-collapse:collapse;width:100%}.stock-table th{color:var(--muted);background:var(--surface-soft);letter-spacing:.09em;text-align:left;text-transform:uppercase;padding:.65rem .8rem;font-size:.62rem}.stock-table th:not(:first-child),.stock-table td:not(:first-child){text-align:right}.stock-table td{border-top:1px solid var(--border);color:var(--forest-800);font-variant-numeric:tabular-nums;padding:.7rem .8rem;font-size:.82rem}.stock-table__name{align-items:center;gap:.5rem;display:flex}.stock-table__name .resource-svg{width:24px;height:24px}.stock-table .is-missing td{background:#fdece7}.stock-table .is-gain{color:var(--success)}.stock-table .is-loss{color:var(--error)}.stock-notice{color:var(--muted);background:var(--surface-soft);border:1px dashed var(--border);border-radius:12px;margin:1.2rem 0 0;padding:.85rem 1.1rem;font-size:.8rem}.stock-assumptions{background:var(--surface-soft);border:1px dashed var(--border);border-radius:14px;margin-top:1.5rem;padding:1.1rem 1.3rem}.stock-assumptions h2{color:var(--forest-900);margin:0 0 .5rem;font:700 1rem Fraunces,Georgia,serif}.stock-assumptions ul{color:var(--muted);margin:0;padding-left:1.15rem;font-size:.79rem}.stock-assumptions li+li{margin-top:.2rem}@media (width<=1100px){.capital-summary-grid{grid-template-columns:repeat(2,1fr)}.capital-stats-tiles{grid-template-columns:repeat(3,1fr)}}@media (width<=900px){.capital-needs-grid{grid-template-columns:repeat(2,1fr)}.capital-summary-grid,.capital-stats-tiles,.stock-panels{grid-template-columns:1fr}.capital-district-new{flex-direction:column;align-items:flex-start}}@media (width<=680px){.capital-page{width:min(100% - 1.25rem,1240px);padding-top:1rem}.capital-hero,.capital-section-heading{flex-direction:column;align-items:flex-start}.capital-hero{gap:.65rem;padding:1rem 1.1rem}.capital-hero h1{margin:.1rem 0 0;font-size:1.9rem}.capital-hero>div:first-child>p:last-child{display:none}.capital-population-meter{box-sizing:border-box;background:0 0;border:0;border-radius:0;grid-template-columns:auto auto minmax(0,1fr);align-items:baseline;gap:.15rem .5rem;width:100%;min-width:0;padding:0}.capital-population-meter strong{margin:0;font-size:1.65rem}.capital-population-meter progress{grid-column:1/-1;height:6px;margin-top:.25rem}.capital-population-meter>small:last-child{grid-column:1/-1}.capital-summary-grid>.capital-summary-card--consumption,.capital-summary-grid>.capital-summary-card--districts{display:none}.capital-resource-groups,.capital-needs-grid{grid-template-columns:1fr}.capital-section-heading>p{text-align:left}.section-nav{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}.section-nav__link{min-height:44px;padding:.45rem .6rem}.section-nav__copy small{display:none}.capital-stats-page .capital-resources-section,.capital-stats-page .capital-needs-section{box-shadow:none;background:0 0;border:0;padding:0}.stock-panel{box-sizing:border-box;width:auto;margin-inline:calc(var(--shell-gutter,16px) * -1);padding:.9rem var(--shell-gutter,16px);box-shadow:none;border-inline:0;border-radius:0}.stock-panels{gap:.5rem}.stock-panel>header{flex-wrap:wrap}.stock-panel__alert{margin-left:0}.stock-picker{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.stock-picker__chip{flex:none;min-height:44px}.stock-deliveries li{grid-template-columns:58px minmax(0,1fr);gap:.35rem .6rem}.stock-deliveries__cargo{text-align:left;grid-column:2;font-size:.74rem}.stock-table thead{display:none}.stock-table,.stock-table tbody,.stock-table tr,.stock-table td{box-sizing:border-box;width:100%;display:block}.stock-table tr{border-top:1px solid var(--border);grid-template-columns:repeat(2,minmax(0,1fr));gap:.15rem .6rem;padding:.7rem .1rem;display:grid}.stock-table tbody tr:first-child{border-top:0}.stock-table td{border:0;padding:0;text-align:left!important}.stock-table td:first-child{grid-column:1/-1;margin-bottom:.25rem}.stock-table td:not(:first-child):before{content:attr(data-label) " · ";color:var(--muted);font-variant-numeric:normal;font-size:.68rem}.stock-table .is-missing td{background:0 0}.stock-table .is-missing td:first-child strong{color:var(--error)}.capital-housing-status__lines{grid-template-columns:1fr}.capital-district>header{flex-direction:column;align-items:flex-start}.capital-district-population{text-align:left}.capital-district-consumption{overflow-x:auto}.capital-resources-section,.capital-needs-section{box-shadow:none;background:0 0;border:0;padding:0}.capital-needs-grid>article{padding:.75rem}.capital-resource-groups>article{padding:.85rem}.capital-resource-groups article>div:last-child{grid-template-columns:repeat(auto-fill,minmax(135px,1fr));gap:.4rem;margin-top:.7rem;display:grid}.capital-resource-groups article>div:last-child span{padding:.35rem .5rem;font-size:.75rem}.capital-districts-section{box-shadow:none;background:0 0;border:0;padding:0}.capital-district,.capital-district-new{box-sizing:border-box;width:auto;margin-inline:calc(var(--shell-gutter,16px) * -1);padding:1rem var(--shell-gutter,16px);border-inline:0;border-radius:0}.capital-district-satisfaction{background:0 0;border:0;padding:0}.capital-housing-status article{border:0;border-left:2px solid var(--border);background:0 0;border-radius:0;padding:0 0 0 .7rem}.foldable-panel{border-top:1px solid var(--border);gap:0}.foldable-panel__summary{width:100%;min-height:44px;color:inherit;cursor:pointer;font:inherit;text-align:start;background:0 0;border:0;align-items:center;gap:.6rem;padding:.75rem 0;display:flex}.foldable-panel__summary>span:first-child{flex:1}.foldable-panel__count{color:var(--muted);background:var(--surface-raised);border:1px solid var(--border);border-radius:999px;padding:.1rem .5rem;font-family:DM Sans,system-ui,sans-serif;font-size:.72rem;font-weight:700}.foldable-panel__chevron{border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);flex:none;width:.5rem;height:.5rem;margin-inline-end:.15rem;transition:transform .15s;transform:rotate(45deg)translate(-25%,-25%)}.foldable-panel.is-open .foldable-panel__chevron{transform:rotate(-135deg)translate(-25%,-25%)}.foldable-panel__body{padding-bottom:.9rem}.capital-buildings-grid,.capital-catalog-grid{gap:.6rem}.capital-buildings-grid>article,.capital-catalog-grid>article{padding:.8rem}.capital-building-title>.capital-building-icon{width:48px;height:48px}}.fleet-page{width:min(1240px,100% - 3rem);margin:0 auto;padding:2.5rem 0 5rem}.fleet-section{background:#fffdf7;border:1px solid #dce5dc;border-radius:18px;margin-top:2rem;padding:1.5rem;box-shadow:0 10px 30px #27463a14}.page-assistant-illustration{border:1px solid var(--border);background:#173e38;border-radius:22px;margin:2rem 0 0;overflow:hidden;box-shadow:0 18px 42px #143a3024}.page-assistant-illustration img{width:100%;height:auto;display:block}@media (width<=520px){.page-assistant-illustration{border-radius:14px;margin-top:1.25rem}}.ship-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:1rem;display:grid}.ship-grid--fleet{align-items:start}.ship-card{background:#fff;border:1px solid #dce5dc;border-radius:14px;grid-template-columns:auto 1fr;gap:.8rem;padding:1.15rem;display:grid;position:relative;overflow:hidden}.ship-card__icon{background:#dceff0;border-radius:12px;grid-row:1/3;place-items:center;width:48px;height:48px;font-size:1.5rem;display:grid}.ship-card h3{color:#244c40;margin:.25rem 0 .1rem}.ship-card p{color:#6d7d75;margin:0;font-size:.84rem}.ship-card>small{color:#6d7d75;grid-column:1/-1}.ship-card dl{grid-column:1/-1;grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:.4rem;margin:.4rem 0;display:grid}.ship-card dl div{text-align:center;background:#f2f6f1;border-radius:8px;padding:.45rem}.ship-card dt{color:#78877f;text-transform:uppercase;font-size:.68rem}.ship-card dd{color:#244c40;margin:.15rem 0 0;font-weight:700}.ship-card button{color:#fff;background:#236a59;border:0;border-radius:9px;grid-column:1/-1;padding:.7rem;font-weight:700}.ship-card button:disabled{background:#a9b5ae}.ship-card .ship-card__detach{color:#8c3e36;cursor:pointer;background:#fff;border:1px solid #ddbbb7}.ship-card .ship-card__detach:disabled{opacity:.55}.ship-status{color:#25634e;text-transform:uppercase;background:#dbf0e5;border-radius:999px;padding:.2rem .45rem;font-size:.67rem;font-weight:800;display:inline-block}.ship-status--in_transit{color:#275d76;background:#dceef7}.cargo-pill{color:#795a15;background:#fff3d6;border-radius:999px;grid-column:1/-1;width:max-content;padding:.3rem .55rem;font-size:.75rem}.ship-price{text-align:center;background:#fff6d9;border-radius:9px;grid-column:1/-1;padding:.55rem .7rem;color:#6d571c!important}.ship-price strong{color:#7f5b08}.ship-upkeep{color:#6d7d75;text-align:center;grid-column:1/-1;margin:.35rem 0 0;font-size:.76rem}.ship-card__unfunded{color:#8c3e36;background:#fbeeec;border:1px solid #e3c4c0;border-radius:8px;grid-column:1/-1;padding:.45rem .6rem;font-size:.74rem}.ship-card--owned{flex-direction:column;gap:.4rem;padding:.75rem .85rem;display:flex}.ship-card__head{align-items:center;gap:.55rem;display:flex}.ship-card--owned .ship-card__icon{border-radius:10px;flex:none;width:38px;height:38px}.ship-card--owned .ship-card__icon .ship-icon{border-radius:10px;width:38px;height:38px}.ship-card__identity{flex:auto;min-width:0}.ship-card--owned h3{margin:0;font-size:.98rem;line-height:1.2}.ship-card--owned .ship-card__identity p{font-size:.75rem}.ship-card--owned .ship-status{flex:none}.ship-card--owned .rename-control__open{width:1.35rem;height:1.35rem;font-size:.68rem}.ship-card--owned dl{flex-wrap:wrap;gap:.15rem .85rem;margin:0;display:flex}.ship-card--owned dl div{text-align:left;background:0 0;align-items:baseline;gap:.3rem;padding:0;display:flex}.ship-card--owned dt{font-size:.65rem}.ship-card--owned dd{margin:0;font-size:.82rem}.ship-card__lines{color:#6d7d75;flex-wrap:wrap;gap:.15rem .5rem;font-size:.76rem;display:flex}.ship-card__lines small+small:before{content:"·";margin-right:.5rem}.ship-card__cargo{flex-wrap:wrap;gap:.3rem;display:flex}.ship-card--owned .cargo-pill{width:auto;padding:.15rem .45rem;font-size:.72rem}.ship-card--owned .ship-card__unfunded{padding:.35rem .5rem;font-size:.72rem}.ship-card__actions{flex-wrap:wrap;gap:.35rem;margin-top:.1rem;display:flex}.ship-card--owned .ship-card__actions button{border-radius:7px;flex:auto;padding:.35rem .55rem;font-size:.74rem}.route-form{grid-template-columns:repeat(3,1fr);align-items:end;gap:.85rem;display:grid}.route-form label{color:#617269;flex-direction:column;gap:.3rem;font-size:.75rem;font-weight:700;display:flex}.route-form input,.route-form select{box-sizing:border-box;color:#244c40;background:#fff;border:1px solid #cdd9d1;border-radius:8px;width:100%;padding:.68rem .7rem}.route-form button{color:#fff;background:#236a59;border:0;border-radius:8px;padding:.72rem 1rem;font-weight:750}.route-distance{color:#4e7468;margin:0;font-size:.8rem}.route-list{gap:1.15rem;margin-top:1rem;display:grid}.route-primary-action,.route-card__actions button,.route-editor button{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:8px;padding:.68rem .9rem;font-weight:700}.route-primary-action:disabled,.route-card__actions button:disabled,.route-editor button:disabled{cursor:not-allowed;opacity:.48}.route-list>.route-card{background:#fff;border:1px solid #d7e4dc;border-radius:15px;overflow:hidden}.route-card__header{background:#f4f8f4;border-bottom:1px solid #dce7df;align-items:center;gap:.8rem;padding:1rem 1.15rem;display:flex}.route-card__identity{flex:1;align-items:center;gap:.75rem;min-width:220px;display:flex}.route-card__identity>span{color:#21614f;background:#dcece3;border-radius:10px;flex:none;place-items:center;width:38px;height:38px;font-size:1.2rem;display:grid}.route-card__identity>div{flex-direction:column;min-width:0;display:flex}.route-card__identity strong{color:#244c40;font-size:1.04rem}.route-card__identity small{color:#72837a;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.route-card__header>b{color:#287257;text-transform:uppercase;font-size:.75rem}.route-card__actions{flex:none;gap:.45rem;display:flex}.route-card__actions button:last-child{color:#285b4e;background:#fff;border:1px solid #b9cfc4}.route-card__actions .route-delete{color:#8c3e36;background:#fff;border:1px solid #ddbbb7}.route-ship-assignment{background:#edf5f0;border-bottom:1px solid #dce7df;justify-content:flex-end;align-items:end;gap:.8rem;padding:.8rem 1.15rem;display:flex}.route-ship-assignment label{color:#547066;flex-direction:column;gap:.3rem;min-width:300px;font-size:.72rem;font-weight:750;display:flex}.route-ship-assignment select{color:#244c40;background:#fff;border:1px solid #bfd1c6;border-radius:8px;padding:.6rem .7rem}.route-ship-assignment>div{gap:.45rem;display:flex}.route-ship-assignment button{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:8px;padding:.62rem .8rem;font-weight:700}.route-ship-assignment button.secondary{color:#355f53;background:#fff;border:1px solid #bfd1c6}.route-ship-assignment button:disabled{cursor:not-allowed;opacity:.5}.route-card__header .route-paused{color:#8a6124}.route-map{color:#255c65;background:radial-gradient(circle at 25% 25%,#fffc,#0000 32%),linear-gradient(145deg,#e5f2ef,#d7ecec);padding:.65rem 1rem .35rem;position:relative}.route-map svg{width:100%;height:auto;max-height:260px;display:block}.route-map__line{fill:none;stroke:#4d8d82;stroke-width:3px;stroke-linecap:round;stroke-linejoin:round}.route-map marker path{fill:#4d8d82}.route-map__stop circle{fill:#fffdf7;stroke:#2e735e;stroke-width:3px}.route-map__stop-number{fill:#245746;font-size:13px;font-weight:800}.route-map__label{fill:#244c40;paint-order:stroke;stroke:#e1f0ed;stroke-width:5px;stroke-linejoin:round;font-size:13px;font-weight:700}.route-map__ship circle{fill:#f4c85e;stroke:#8f6a16;stroke-width:2px}.route-map__ship text{font-size:18px}.route-map>p{color:#3e6966;align-items:center;gap:.35rem;margin:-.1rem 0 .25rem;font-size:.75rem;display:flex}.route-map__legend{flex-wrap:wrap;gap:.3rem .5rem;margin:.35rem 0 .3rem;padding:0;list-style:none;display:flex}.route-map__legend li{color:#2c5b52;align-items:center;gap:.3rem;font-size:.72rem;display:inline-flex}.route-map__legend b{color:#fff;background:#2d715e;border-radius:50%;place-items:center;width:17px;height:17px;font-size:.62rem;font-weight:800;display:grid}.route-card__details{grid-template-columns:minmax(0,1.25fr) minmax(280px,.8fr);gap:1.2rem;padding:1.15rem;display:grid}.route-card__details h3{color:#244c40;justify-content:space-between;align-items:center;margin:0 0 .75rem;font-family:DM Sans,sans-serif;font-size:.9rem;display:flex}.route-card__details h3>span{color:#2e6253;background:#e4eee8;border-radius:999px;place-items:center;min-width:24px;height:24px;font-size:.72rem;display:grid}.route-operations>div{grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.65rem;display:grid}.route-operations article{background:#f5f8f4;border:1px solid #e0e9e2;border-radius:10px;padding:.75rem}.route-operations article>header{border-bottom:1px solid #dfe8e1;align-items:center;gap:.5rem;padding-bottom:.55rem;display:flex}.route-operations article>header span{color:#fff;background:#2d715e;border-radius:50%;place-items:center;width:25px;height:25px;font-size:.72rem;font-weight:800;display:grid}.route-operations article>header strong{color:#31584c;font-size:.82rem}.route-operations ul{gap:.4rem;margin:.6rem 0 0;padding:0;list-style:none;display:grid}.route-operations li{color:#48675e;justify-content:space-between;align-items:center;gap:.5rem;font-size:.76rem;display:flex}.transfer-action{letter-spacing:.02em;text-transform:uppercase;border-radius:999px;padding:.18rem .42rem;font-size:.65rem}.transfer-action--load{color:#26624e;background:#dcefe5}.transfer-action--unload{color:#805921;background:#f8e8c7}.route-operations .route-operations__empty{color:#7b8781;justify-content:flex-start;font-style:italic}.route-ships{min-width:0}.route-ships>article{background:#f8f5eb;border:1px solid #e7dfca;border-radius:10px;gap:.55rem;padding:.8rem;display:grid}.route-ships>article+article{margin-top:.6rem}.route-ship__heading{align-items:center;gap:.55rem;display:flex}.route-ship__heading>span{color:#285e67;background:#dceff0;border-radius:9px;place-items:center;width:34px;height:34px;display:grid}.route-ship__heading>div{flex-direction:column;flex:1;min-width:0;display:flex}.route-ship__heading strong{color:#2d4e45;font-size:.85rem}.route-ship__heading small{color:#728078;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.route-ship__heading .ship-status{text-overflow:ellipsis;white-space:nowrap;max-width:145px;overflow:hidden}.route-ship__capacity{color:#67766f;justify-content:space-between;gap:.6rem;font-size:.7rem;display:flex}.route-ship__capacity strong{color:#365a4f}.route-ship__bar{background:#e1dfd3;border-radius:999px;height:6px;overflow:hidden}.route-ship__bar span{border-radius:inherit;background:#d29a34;height:100%;display:block}.route-ship__cargo{flex-wrap:wrap;gap:.35rem;display:flex}.route-ship__cargo span{color:#6b5724;background:#fff3d6;border-radius:6px;padding:.22rem .4rem;font-size:.68rem}.route-ship__cargo em{color:#7b817b;font-size:.72rem}.route-hint{color:#74837c;margin:1rem 0 0;font-size:.82rem}.route-editor__identity{grid-template-columns:2fr 1fr;gap:1rem;margin-bottom:1rem;display:grid}.route-editor label{color:#617269;flex-direction:column;gap:.35rem;font-size:.75rem;font-weight:700;display:flex}.route-editor input,.route-editor select{box-sizing:border-box;color:#244c40;background:#fff;border:1px solid #cdd9d1;border-radius:8px;width:100%;padding:.65rem .7rem}.route-editor__preview{background:#f7faf7;border:1px solid #cfe0d7;border-radius:14px;margin:1rem 0;overflow:hidden}.route-editor__preview>header{border-bottom:1px solid #dce7df;justify-content:space-between;align-items:center;gap:1rem;padding:.85rem 1rem;display:flex}.route-editor__preview>header p{margin:0 0 .15rem}.route-editor__preview>header h3{color:#244c40;margin:0;font-family:DM Sans,sans-serif}.route-editor__preview>header small{color:#687c72;font-weight:700}.route-editor__assigned-ships{background:#f7faf7;border:1px solid #d6e3da;border-radius:12px;margin:1rem 0;padding:1rem}.route-editor__assigned-ships>div:first-child{justify-content:space-between;align-items:baseline;gap:1rem;display:flex}.route-editor__assigned-ships h3{color:#31584c;margin:0;font-family:DM Sans,sans-serif;font-size:.95rem}.route-editor__assigned-ships p{color:#6d7d75;margin:.2rem 0;font-size:.76rem}.route-editor__assigned-ships>div:last-child{gap:.5rem;margin-top:.75rem;display:grid}.route-editor__assigned-ships article{background:#fff;border:1px solid #e0e9e2;border-radius:9px;grid-template-columns:auto 1fr auto;align-items:center;gap:.65rem;padding:.65rem .75rem;display:grid}.route-editor__assigned-ships article>span{font-size:1.2rem}.route-editor__assigned-ships article>div{flex-direction:column;min-width:0;display:flex}.route-editor__assigned-ships article strong{color:#31584c;font-size:.84rem}.route-editor__assigned-ships article small{color:#718078;text-overflow:ellipsis;white-space:nowrap;font-size:.7rem;overflow:hidden}.route-editor__assigned-ships .route-detach{color:#8c3e36;background:#fff;border:1px solid #ddbbb7;padding:.5rem .7rem}.route-stops{gap:.8rem;display:grid}.route-stop{background:#f7faf7;border:1px solid #d6e3da;border-radius:12px;padding:1rem}.route-stop>header{grid-template-columns:auto minmax(220px,1fr) auto;align-items:end;gap:.8rem;display:grid}.route-stop>header>span{color:#fff;background:#2d715e;border-radius:50%;place-items:center;width:36px;height:36px;font-weight:800;display:grid}.route-stop .route-remove{color:#8c3e36;background:#fff;border:1px solid #ddbbb7}.route-stop__resources{color:#617269;background:#edf4ef;border-radius:8px;align-items:flex-start;gap:.75rem;margin:.75rem 0 0 44px;padding:.55rem .65rem;font-size:.72rem;display:flex}.route-stop__resources>strong{color:#3f6559;flex:none;padding-top:.15rem}.route-stop__resources>div{flex-wrap:wrap;gap:.35rem;display:flex}.route-stop__resources span{color:#4e675f;background:#fff;border:1px solid #d9e5dd;border-radius:999px;align-items:center;gap:.25rem;padding:.16rem .38rem;display:inline-flex}.route-stop__resources .resource-svg{width:16px;height:16px}.route-stop__resources em{color:#7b8781}.route-transfers{gap:.45rem;margin:1rem 0 0 44px;display:grid}.route-transfer{grid-template-columns:1fr 1fr .75fr auto;gap:.45rem;display:grid}.route-transfer--all{grid-template-columns:1fr 2fr auto;align-items:center}.resource-select{min-width:0;position:relative}.resource-select__trigger{box-sizing:border-box;color:#244c40;cursor:pointer;width:100%;font:inherit;text-align:left;background:#fff;border:1px solid #cdd9d1;border-radius:8px;align-items:center;gap:.45rem;padding:.55rem .6rem;font-size:.86rem;display:flex}.resource-select__trigger:disabled{opacity:.55;cursor:not-allowed}.resource-select__trigger>span:first-of-type{text-overflow:ellipsis;white-space:nowrap;flex:1;overflow:hidden}.resource-select__chevron{color:#7a8a83;flex:none;font-size:.8rem;line-height:1}.resource-select__menu{z-index:20;background:#fff;border:1px solid #cdd9d1;border-radius:10px;min-width:100%;max-height:16rem;padding:.25rem;display:grid;position:absolute;top:calc(100% + .3rem);left:0;overflow-y:auto;box-shadow:0 12px 30px #20534529}.resource-select__menu button{color:#244c40;cursor:pointer;width:100%;font:inherit;text-align:left;white-space:nowrap;background:0 0;border:0;border-radius:7px;align-items:center;gap:.5rem;padding:.45rem .5rem;font-size:.84rem;display:flex}.resource-select__menu button:hover,.resource-select__menu button:focus-visible{background:#eef4ee;outline:none}.resource-select__menu button.is-selected{color:#1f5646;background:#e3efe6;font-weight:700}.route-transfer-actions{flex-wrap:wrap;gap:.45rem;display:flex}.route-transfer>button{color:#8c3e36;background:#fff;border:1px solid #ddbbb7;padding:.45rem .7rem;font-size:1.1rem}.route-editor .route-add-transfer{color:#2c6556;background:#e6f0ea;justify-self:start;padding:.48rem .7rem}.route-editor .route-add-stop{color:#2c6556;background:#e6f0ea;margin-top:.8rem}.route-cargo-warning{color:#7c541b;background:#fff2d8;border-left:4px solid #dcaa4d;border-radius:6px;padding:.75rem .9rem;font-size:.82rem}.route-editor__actions{justify-content:flex-end;gap:.6rem;margin-top:1rem;display:flex}.route-editor__actions .secondary{color:#355f53;background:#edf3ef}.check-label{align-items:center;padding-bottom:.65rem;flex-direction:row!important}.check-label input{width:auto}@media (width<=800px){.capital-card{display:none}.capital-card__stocks{justify-content:flex-start}.route-form,.route-editor__identity{grid-template-columns:1fr}.route-stop>header{grid-template-columns:auto 1fr}.route-stop .route-remove{grid-column:1/-1}.route-transfers{margin-left:0}.route-stop__resources{flex-direction:column;gap:.4rem;margin-left:0}.route-transfers{gap:.6rem}.route-transfer{background:#fff;border:1px solid #dce7e0;border-radius:10px;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:.4rem;padding:.5rem}.route-transfer .resource-select{grid-area:1/1/auto/3}.route-transfer>select{grid-area:2/1}.route-transfer>input{grid-area:2/2}.route-transfer>button{grid-area:1/3/3}.route-editor__preview>header,.route-editor__assigned-ships>div:first-child{flex-direction:column;align-items:flex-start}.route-editor__assigned-ships article{grid-template-columns:auto 1fr}.route-editor__assigned-ships article button{grid-column:1/-1}.route-card__header{flex-wrap:wrap;align-items:flex-start}.route-card__header>b{margin-top:.65rem}.route-card__actions{width:100%}.route-card__actions button{flex:1}.route-ship-assignment{flex-direction:column;align-items:stretch}.route-ship-assignment label{min-width:0}.route-ship-assignment>div button{flex:1}.route-card__details{grid-template-columns:1fr}.route-map{padding-inline:.35rem}}@media (width<=680px){.trade-routes-page{width:100%;padding-top:1.75rem}.trade-routes-page .fleet-section,:root[data-theme=dark] .trade-routes-page .fleet-section{box-shadow:none;background:0 0;border:0;margin-top:1.5rem;padding:0}.route-list{gap:1.5rem}.route-list>.route-card{box-sizing:border-box;width:auto;margin-inline:calc(var(--shell-gutter,16px) * -1);border-inline:0;border-radius:0}.route-card__actions{grid-template-columns:1fr 1fr;gap:.5rem;display:grid}.route-card__actions button{min-height:44px;padding-inline:.55rem;font-size:.82rem}.route-card__identity{min-width:0}.route-card__identity small{display:none}.route-ship__heading{flex-wrap:wrap}.route-ship__heading .ship-status{max-width:100%}.route-map>p{flex-direction:column;align-items:flex-start;gap:.2rem}.route-map__ship-entry{margin-right:0}.route-card__details{gap:0;padding-block:0}.route-card__details h3{display:none}.route-card__details .foldable-panel__body{padding-bottom:1rem}.route-stop .route-remove{justify-self:end;padding:.45rem .7rem;font-size:.78rem}.route-transfer{grid-template-columns:minmax(0,1fr) minmax(0,1fr) 2.4rem}.route-transfer>button{padding:.45rem 0}.route-transfer--all{grid-template-columns:minmax(0,1fr) 2.4rem;align-items:start}.route-transfer--all>strong{grid-area:1/1}.route-transfer--all>span{grid-area:2/1}.route-transfer--all>button{grid-area:1/2/3}.route-editor__actions button{flex:1;min-height:44px}}*{box-sizing:border-box}body{min-width:320px;min-height:100vh;color:var(--ink);background:var(--cream);margin:0}button,input{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button:focus-visible,a:focus-visible,input:focus-visible{outline-offset:2px;outline:3px solid #d99f3773}.auth-shell{grid-template-columns:minmax(480px,1.08fr) minmax(480px,.92fr);min-height:100vh;display:grid}.auth-story{color:#f9f6e9;background:radial-gradient(circle at 78% 12%,#ffe9a221,#0000 25%),linear-gradient(146deg,#1e5849 0%,#153e33 62%,#102f28 100%);min-height:100vh;display:flex;position:relative;overflow:hidden}.auth-story:before{content:"";opacity:.09;pointer-events:none;background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");position:absolute;inset:0}.auth-story__content{z-index:2;width:min(660px,82%);margin:0 auto;padding:clamp(38px,5vh,60px) 0 410px;position:relative}.brand{color:inherit;letter-spacing:-.04em;align-items:center;gap:12px;font-family:Fraunces,Georgia,serif;font-size:1.65rem;font-weight:600;display:inline-flex}.brand__mark{fill:none;stroke:#e6b453;stroke-linecap:round;stroke-linejoin:round;stroke-width:2.4px;width:42px;height:42px}.brand--compact{color:var(--forest-900);font-size:1.35rem}.brand--compact .brand__mark{width:34px;height:34px}.eyebrow{color:#d9a847;letter-spacing:.18em;text-transform:uppercase;margin:0 0 12px;font-size:.72rem;font-weight:700}.auth-story__content>.eyebrow{margin-top:clamp(45px,6vh,80px)}.auth-story h1{letter-spacing:-.055em;margin:0;font-family:Fraunces,Georgia,serif;font-size:clamp(3.7rem,6vw,6rem);font-weight:600;line-height:.96}.auth-story h1 em{color:#d8c98f;font-weight:inherit}.story-copy{color:#f9f6e9ba;max-width:540px;margin:20px 0 24px;font-size:1.03rem;line-height:1.72}.story-features{gap:clamp(20px,3vw,42px);margin:0;padding:0;list-style:none;display:flex}.story-features li{color:#f9f6e999;align-items:center;gap:11px;font-size:.76rem;line-height:1.4;display:flex}.story-features svg{fill:none;stroke:#d6a746;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px;flex:none;width:31px;height:31px}.story-features strong{color:#f9f6e9;font-size:.83rem;font-weight:600;display:block}.auth-assistants-art{z-index:1;pointer-events:none;height:clamp(360px,46vh,470px);position:absolute;bottom:32px;left:0;right:0;overflow:hidden}.auth-assistants-art img{filter:saturate(.92)contrast(.96);-webkit-mask-composite:source-in;width:min(900px,112%);height:auto;display:block;position:absolute;bottom:0;left:50%;transform:translate(-50%);-webkit-mask-image:linear-gradient(#0000 0,#000 4% 94%,#0000 100%),linear-gradient(90deg,#0000 0,#000 5% 95%,#0000 100%);mask-image:linear-gradient(#0000 0,#000 4% 94%,#0000 100%),linear-gradient(90deg,#0000 0,#000 5% 95%,#0000 100%);-webkit-mask-composite:source-in;mask-composite:intersect}.auth-story__quote{z-index:2;color:#f6f1dd8c;width:max-content;max-width:90%;margin:0;font-family:Fraunces,Georgia,serif;font-size:.82rem;font-style:italic;position:absolute;bottom:20px;left:50%;transform:translate(-50%)}@media (width>=1041px) and (height>=851px){.auth-story__content{padding-top:18px;padding-bottom:0}.auth-story__content>.eyebrow{margin-top:14px;margin-bottom:8px}.auth-story h1{font-size:clamp(2.8rem,3.2vw,3.5rem)}.story-copy{margin:10px 0 12px;font-size:.94rem;line-height:1.5}.story-features{gap:clamp(18px,2.4vw,34px)}.story-features li{line-height:1.35}.auth-assistants-art{height:auto;top:max(360px,35vh);bottom:32px}.auth-assistants-art img{width:min(1050px,112%);top:0;bottom:auto}}.auth-panel{background:linear-gradient(#fffdf7b8, #fffdf7b8), radial-gradient(circle at 70% 30%, #fff 0, transparent 45%), var(--cream);flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:48px clamp(36px,6vw,100px) 20px;display:flex}.auth-card{width:min(100%,470px);margin:auto 0}.auth-card__mobile-brand{margin-bottom:28px;display:none}.auth-tabs{background:#ecebe5;border:1px solid #deddd4;border-radius:12px;grid-template-columns:1fr 1fr;padding:4px;display:grid}.auth-tabs button{color:#747a74;cursor:pointer;background:0 0;border:0;border-radius:9px;padding:11px 14px;font-size:.86rem;font-weight:600;transition:all .16s}.auth-tabs button.is-active{color:var(--forest-900);background:var(--paper);box-shadow:0 2px 8px #1f3c2f1a}.google-button{height:51px;color:var(--forest-950);background:var(--paper);cursor:pointer;border:1px solid #deddd4;border-radius:10px;justify-content:center;align-items:center;gap:12px;font-size:.88rem;font-weight:700;text-decoration:none;transition:transform .14s,box-shadow .14s,border-color .14s;display:flex;box-shadow:0 2px 8px #1f3c2f0f}.google-button:hover{border-color:#c9c8bd;transform:translateY(-1px);box-shadow:0 8px 18px #1f3c2f1f}.google-button__glyph{flex:none;width:18px;height:18px}.auth-separator{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;align-items:center;gap:14px;margin:20px 0;font-size:.72rem;font-weight:600;display:flex}.auth-separator:before,.auth-separator:after{content:"";background:#deddd4;flex:1;height:1px}.google-identity{background:#f5f4ee;border:1px solid #deddd4;border-radius:10px;align-items:center;gap:10px;margin:0 0 20px;padding:12px 14px;font-size:.82rem;display:flex}.google-identity__label{color:var(--muted)}.google-identity__email{color:var(--forest-950);overflow-wrap:anywhere;font-weight:700}.auth-card__heading{margin:clamp(32px,5vh,48px) 0 27px}.auth-card__heading h2{color:var(--forest-950);letter-spacing:-.045em;margin:0 0 9px;font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,3.2vw,2.55rem);font-weight:600;line-height:1.1}.auth-card__heading>p:last-child{color:var(--muted);margin:0;font-size:.91rem}.auth-form{gap:18px;display:grid}.form-field{gap:7px;display:grid}.form-field label{color:#33443e;font-size:.78rem;font-weight:700}.form-field input{width:100%;height:49px;color:var(--ink);background:#ffffffbf;border:1px solid #d5d7cf;border-radius:10px;padding:0 15px;font-size:.9rem;transition:border-color .14s,box-shadow .14s;box-shadow:0 1px 2px #143a3008}.form-field input::placeholder{color:#a3a7a2}.form-field input:hover{border-color:#b6bdb4}.form-field input:focus{border-color:var(--forest-700);outline:0;box-shadow:0 0 0 3px #2e6b581c}.form-field input[aria-invalid=true]{border-color:#c36a62}.password-input{position:relative}.password-input input{padding-right:49px}.password-toggle{color:#77817a;cursor:pointer;background:0 0;border:0;width:34px;height:34px;padding:7px;display:grid;position:absolute;top:50%;right:8px;transform:translateY(-50%)}.password-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.5px}.field-help,.field-error{font-size:.73rem}.field-help{color:#858d87}.field-error{color:var(--error)}.terms-check{color:#717a74;cursor:pointer;align-items:flex-start;gap:10px;font-size:.75rem;line-height:1.55;display:flex}.terms-check input{width:16px;height:16px;accent-color:var(--forest-700);flex:none;margin:2px 0 0}.terms-check a{color:var(--forest-700);font-weight:600}.primary-button{color:#fffdf5;cursor:pointer;background:linear-gradient(135deg,#205946,#153e33);border:0;border-radius:10px;justify-content:center;align-items:center;gap:13px;height:51px;margin-top:4px;font-size:.88rem;font-weight:700;transition:transform .14s,box-shadow .14s,opacity .14s;display:flex;box-shadow:0 9px 20px #19463729}.primary-button:hover:not(:disabled){transform:translateY(-1px);box-shadow:0 12px 24px #19463738}.primary-button:disabled{cursor:wait;opacity:.72}.button-spinner{border:2px solid #ffffff59;border-top-color:#fff;border-radius:50%;width:19px;height:19px;animation:.7s linear infinite spin}@keyframes spin{to{transform:rotate(360deg)}}.auth-alternative{color:#818983;text-align:center;margin:23px 0 0;font-size:.78rem}.auth-alternative button{color:var(--forest-700);cursor:pointer;background:0 0;border:0;padding:0;font-weight:700}.form-message{border-radius:8px;margin:-12px 0 18px;padding:11px 13px;font-size:.78rem;line-height:1.45}.form-message--error{color:#84362f;background:#f9e6e2}.form-message--success{color:#285d47;background:#e3efe7}.auth-panel__footer{color:#a2a6a1;margin:auto 0 0;font-size:.66rem}.auth-alternative--forgot{margin-top:14px;font-size:.74rem}.loading-screen{min-height:100vh;color:var(--forest-900);background:var(--cream);place-content:center;display:grid}.mail-link-screen{background:radial-gradient(circle at 80% 0, #b3cda359, transparent 32%), var(--cream);place-content:center;min-height:100vh;padding:24px;display:grid}.mail-link-card{border:1px solid var(--border);background:var(--paper);width:min(440px,100%);box-shadow:0 18px 44px var(--shadow);text-align:center;border-radius:16px;justify-items:center;gap:14px;padding:34px 32px;display:grid}.mail-link-card h1{color:var(--forest-950);margin:6px 0 0;font-family:Fraunces,Georgia,serif;font-size:1.5rem;line-height:1.2}.mail-link-card p{color:var(--muted);margin:0;font-size:.82rem;line-height:1.55}.mail-link-card__hint{font-size:.74rem}.mail-link-card .auth-form{text-align:start;width:100%}.mail-link-card .form-message{width:100%;margin:0}.mail-link-card .primary-button{justify-content:center;width:100%;text-decoration:none}.mail-link-card__back{color:var(--muted);font-size:.74rem}.email-banner{background:linear-gradient(#d99f3724,#d99f370d);border:1px solid #e0cd9a;border-radius:12px;align-items:center;gap:14px;margin:16px 0 0;padding:12px 16px;display:flex}.email-banner__mark{color:#f0cb75;background:var(--forest-800);border-radius:8px;flex:none;place-content:center;width:30px;height:30px;font-size:.95rem;display:grid}.email-banner__copy{flex:1;gap:2px;min-width:0;display:grid}.email-banner__copy strong{color:var(--forest-900);font-size:.82rem}.email-banner__copy small{color:var(--muted);font-size:.7rem;line-height:1.45}.email-banner__done{font-weight:700;color:#2f7a55!important}.email-banner__failed{font-weight:700;color:var(--error)!important}.email-banner__actions{flex:none;align-items:center;gap:8px;display:flex}.email-banner__actions button{border:1px solid var(--forest-800);color:var(--paper);background:var(--forest-800);cursor:pointer;border-radius:8px;padding:8px 13px;font-size:.72rem;font-weight:700}.email-banner__actions button:disabled{cursor:wait;opacity:.65}.email-banner__dismiss{color:var(--muted)!important;background:0 0!important;border-color:#0000!important;font-weight:600!important}@media (width<=720px){.email-banner{flex-wrap:wrap}.email-banner__actions{justify-content:flex-end;width:100%}}.loading-dots{justify-content:center;gap:6px;margin-top:24px;display:flex}.loading-dots span{background:var(--gold);border-radius:50%;width:6px;height:6px;animation:.9s ease-in-out infinite alternate pulse}.loading-dots span:nth-child(2){animation-delay:.15s}.loading-dots span:nth-child(3){animation-delay:.3s}@keyframes pulse{to{opacity:.3;transform:translateY(-4px)}}.player-shell{--shell-gutter:6vw;min-height:100vh;padding:0 var(--shell-gutter) 80px;background:radial-gradient(circle at 80% 0, #b3cda359, transparent 32%), var(--cream)}.game-clock{border-bottom:1px solid var(--border);flex-wrap:wrap;justify-content:center;align-items:baseline;gap:2px 10px;padding:7px 0 6px;display:flex}.game-clock__label{color:var(--muted);letter-spacing:.09em;text-transform:uppercase;font-size:.58rem}.game-clock__value{color:var(--forest-800);font-variant-numeric:tabular-nums;letter-spacing:.01em;font-size:.86rem}.player-header{border-bottom:1px solid #dedfd6;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;min-height:86px;display:grid}.play-time-meter{box-sizing:border-box;border:1px solid var(--border);background:var(--surface-raised);border-radius:8px;align-items:center;gap:6px;width:100%;padding:4px 8px;display:flex}.play-time-meter>span{color:var(--forest-700);font-size:.92rem}.play-time-meter>div{flex:1;gap:1px;min-width:0;display:grid}.play-time-meter small{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;font-size:.55rem}.play-time-meter strong{color:var(--forest-800);white-space:nowrap;font-size:.76rem}.play-time-meter progress{width:100%;height:3px}.play-time-meter.is-warning{background:#fdf6e4;border-color:#d9c089}.play-time-meter.is-warning strong{color:#8a6d24}.play-time-meter.is-exhausted{background:#fff0ec;border-color:#d8a293}.play-time-meter.is-exhausted strong{color:#a4543f}.player-header__navigation{scrollbar-width:thin;align-items:center;gap:6px;min-width:0;display:flex;overflow-x:auto}.player-header__profile{justify-content:center;align-items:center;gap:7px;display:flex}.player-header__profile.is-current{color:var(--forest-950);background:var(--sage-100);border-color:var(--sage-200);cursor:default}.player-header__account{width:var(--player-account-width);background:var(--surface-soft);border:1px solid #dde0d6;border-radius:12px;gap:6px;padding:8px 10px;display:grid}.account-identity{align-items:center;gap:10px;min-width:0;display:flex}.avatar{color:#fff;background:var(--forest-700);border-radius:50%;flex:none;place-content:center;width:34px;height:34px;font-weight:700;display:grid}.player-header__account .account-copy{min-width:0;display:grid}.player-header__account .account-copy>*{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.player-header__account strong{font-size:.82rem}.player-header__account small{color:var(--muted);font-size:.68rem}.player-header__navigation button,.player-header__navigation a,.player-header__account button{color:var(--forest-800);cursor:pointer;background:#ffffff8c;border:1px solid #cfd4ca;border-radius:8px;margin-left:12px;padding:9px 14px;font-size:.74rem;font-weight:600;text-decoration:none}.player-header__account button{width:100%;margin-left:0;padding:7px 12px}.brand-button{background:0 0;border:0;padding:0}.brand-button:not(:disabled){cursor:pointer}.player-header__navigation .worlds-link{background:0 0;border-color:#0000;flex:none;margin:0}.player-header__navigation .worlds-link.is-current{color:var(--forest-950);background:var(--sage-100);border-color:var(--sage-200);cursor:default}.worlds-link--admin{color:#805d1e!important;background:#fff6d9!important;border-color:#ead8a8!important}.player-header__navigation .worlds-link__icon{display:none}.player-header__panel{display:contents}.player-header__panel-head,.player-header__menu-toggle,.player-header__compact-meter,.player-header__scrim{display:none}body.has-open-menu{overflow:hidden}.world-selection{width:min(100%,1180px);margin:0 auto;padding:clamp(64px,9vh,105px) 0 30px}.world-selection__heading{max-width:760px}.world-selection__heading h1{color:var(--forest-950);letter-spacing:-.055em;margin:0;font-family:Fraunces,Georgia,serif;font-size:clamp(2.8rem,5.2vw,5rem);font-weight:600;line-height:.98}.world-selection__heading>p:last-child{max-width:610px;color:var(--muted);margin:22px 0 0;line-height:1.65}.world-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin-top:48px;display:grid}.world-tile{background:var(--paper);border:1px solid #d9ddd2;border-radius:18px;transition:border-color .18s,box-shadow .18s,transform .18s;overflow:hidden;box-shadow:0 17px 45px #19413212}.world-tile:hover{border-color:#b9c7b7;transform:translateY(-3px);box-shadow:0 22px 55px #1941321c}.world-tile.is-joined{border-color:#d99f37a6;box-shadow:0 18px 45px #ae791d1a}.world-tile__landscape{background:linear-gradient(#8eb9b1 0%,#b8d5c7 48%,#4f8a7f 49%,#27665f 100%);height:178px;position:relative;overflow:hidden}.world-tile--2 .world-tile__landscape{background:linear-gradient(#aabfc3 0%,#dce0d6 48%,#648993 49%,#315e67 100%)}.world-tile--3 .world-tile__landscape{filter:saturate(.72);background:linear-gradient(#b9d1c3 0%,#eedcad 48%,#4b9a91 49%,#286e6b 100%)}.world-tile__landscape:after{content:"";background:#ffffff54;height:1px;position:absolute;bottom:26px;left:0;right:0;box-shadow:0 9px #ffffff26,0 18px #ffffff1a}.world-sun{background:#eed18b;border-radius:50%;width:42px;height:42px;position:absolute;top:24px;right:35px;box-shadow:0 0 32px #ffe69c8c}.world-island{z-index:1;background:#658c55;border-radius:55% 44% 50% 48%;position:absolute;transform:rotate(-4deg)skew(-10deg);box-shadow:inset 0 -9px #72583a,0 9px 14px #0f393440}.world-island:before,.world-island:after{content:"";background:#315e3a;border-radius:50%;position:absolute;box-shadow:10px 3px #315e3a,5px -7px #416f45}.world-island:before{width:12px;height:19px;top:10px;left:26%}.world-island:after{width:9px;height:14px;top:17px;right:23%}.world-island--front{width:72%;height:59px;bottom:31px;right:9%}.world-island--back{opacity:.58;width:42%;height:31px;bottom:61px;left:-5%;transform:scale(.7)}.world-tile__body{padding:25px 25px 23px}.world-tile__status{color:#748078;letter-spacing:.1em;text-transform:uppercase;align-items:center;gap:7px;font-size:.67rem;font-weight:700;display:flex}.live-dot,.soon-dot{border-radius:50%;width:7px;height:7px}.live-dot{background:#4da36d;box-shadow:0 0 0 4px #4da36d1f}.soon-dot{background:#bd9c60;box-shadow:0 0 0 4px #bd9c601f}.world-tile h2{color:var(--forest-950);letter-spacing:-.035em;margin:14px 0 8px;font-family:Fraunces,Georgia,serif;font-size:1.7rem;font-weight:600}.world-tile__body>p{min-height:58px;color:var(--muted);margin:0;font-size:.79rem;line-height:1.55}.world-tile dl{border-top:1px solid #ecece5;border-bottom:1px solid #ecece5;grid-template-columns:repeat(3,1fr);gap:8px;margin:21px 0;padding:16px 0;display:grid}.world-tile dl div{gap:4px;display:grid}.world-tile dt{color:#939b95;text-transform:uppercase;font-size:.61rem}.world-tile dd{color:#344b42;margin:0;font-size:.75rem;font-weight:700}.world-tile button,.tutorial-cta{color:#fffdf6;background:var(--forest-800);cursor:pointer;border:0;border-radius:9px;justify-content:center;align-items:center;gap:10px;width:100%;min-height:45px;font-size:.77rem;font-weight:700;display:flex}.world-tile button:disabled{color:#929890;cursor:default;background:#e7e8e2}.world-tile button .button-spinner{width:16px;height:16px}.world-list-loading,.world-empty{color:var(--muted);background:#fffdf7cc;border:1px solid #dfe1d7;border-radius:14px;margin-top:45px;padding:28px}.world-list-loading{align-items:center;gap:12px;display:flex}.world-list-loading .button-spinner{border-color:#20534533;border-top-color:var(--forest-700)}.world-empty p{margin-bottom:0}.world-action-error{color:var(--error);margin:25px 0 -25px}.archipelago,.archipelago-loading{width:min(100%,1440px);margin:0 auto}.archipelago{padding:44px 0 70px}.archipelago-loading{min-height:55vh;color:var(--muted);justify-content:center;align-items:center;gap:12px;display:flex}.archipelago-loading .button-spinner{border-color:#20534533;border-top-color:var(--forest-700)}.archipelago__heading{justify-content:space-between;align-items:flex-end;gap:30px;margin-bottom:32px;display:flex}.archipelago__heading h1{color:var(--forest-950);letter-spacing:-.055em;margin:6px 0 8px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.8rem,6vw,5rem);font-weight:600;line-height:.95}.archipelago__heading p:last-child{color:var(--muted);margin:0}.archipelago-wallet{background:#fffdf7;border:1px solid #d8ddd1;border-radius:12px;grid-template-columns:auto auto;min-width:150px;padding:14px 18px;display:grid;box-shadow:0 8px 25px #2053450f}.archipelago-wallet>span{color:var(--gold);grid-row:1/3;align-self:center;margin-right:10px;font-size:1.35rem}.archipelago-wallet strong{color:var(--forest-950);font-size:1.05rem}.archipelago-wallet small{color:var(--muted);font-size:.58rem}.archipelago-wallet--alert{background:#fbeeec;border-color:#e3c4c0}.archipelago-wallet--alert>span,.archipelago-wallet--alert strong{color:#8c3e36}.archipelago-error{color:var(--error);background:#fff2ef;border-radius:9px;margin:-12px 0 22px;padding:11px 14px}.owned-islands{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;display:grid}.island-card{background:#fffdf8;border:1px solid #d5dbcf;border-radius:17px;overflow:hidden;box-shadow:0 14px 38px #1c3d3114}.island-card__preview{background:#527f7c;height:150px;position:relative;overflow:hidden}.island-card__preview img,.island-offer__visual img{object-fit:cover;object-position:center 55%;width:100%;height:100%;display:block}.island-card__body{padding:20px}.island-card__title{justify-content:space-between;align-items:flex-start;gap:12px;display:flex}.island-card__title span,.island-offer__kind{color:var(--gold);letter-spacing:.1em;text-transform:uppercase;font-size:.56rem;font-weight:800}.island-card__title h2{color:var(--forest-950);margin:3px 0 0;font-family:Fraunces,Georgia,serif;font-size:1.35rem}.island-card__title>b{color:#567166;background:#edf2e9;border-radius:50%;place-content:center;width:30px;height:30px;font-size:.62rem;display:grid}.island-card__stats{grid-template-columns:1fr 1fr;gap:12px;margin:18px 0;display:grid}.island-card__stats>div{background:#f3f5ed;border-radius:9px;align-content:start;gap:5px;padding:10px;display:grid}.island-card__stats small{color:#8d9690;text-transform:uppercase;margin-bottom:2px;font-size:.52rem;font-weight:700}.island-card__stats span{color:#3f514a;align-items:center;gap:4px;font-size:.59rem;display:flex}.island-card__stats i{color:var(--gold);font-style:normal}.island-card__stats em{color:#98a099;margin-left:auto;font-size:.48rem;font-style:normal}.island-card__routes{gap:5px;margin:-6px 0 14px;display:grid}.island-card__routes>small{color:#8d9690;text-transform:uppercase;font-size:.52rem;font-weight:700}.island-card__routes>div{flex-wrap:wrap;gap:4px;display:flex}.island-route-pill{color:#2f5b49;background:#eef6f0;border:1px solid #cfe0d3;border-radius:999px;align-items:center;gap:4px;max-width:100%;padding:2px 7px;font-size:.55rem;display:inline-flex}.island-route-pill>span{color:var(--forest-700);font-size:.58rem}.island-route-pill>b{text-overflow:ellipsis;white-space:nowrap;font-weight:650;overflow:hidden}.island-route-pill.is-idle{color:#8a7f5c;background:#f7f4e8;border-color:#ddd7c4}.island-route-pill.is-idle>span{color:#a3925f}.island-card__routes-empty{color:#a4543f;font-size:.55rem;font-style:normal}.island-card__body>button,.island-offer button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#205946,#153e33);border:0;border-radius:9px;justify-content:center;align-items:center;gap:8px;width:100%;min-height:39px;font-size:.66rem;font-weight:750;display:flex}.island-card__body>button:disabled,.island-offer button:disabled{cursor:not-allowed;opacity:.48}.island-market{margin-top:55px}.island-market__heading{justify-content:space-between;align-items:end;gap:28px;margin-bottom:22px;display:flex}.island-market__heading h2{color:var(--forest-950);margin:4px 0 0;font-family:Fraunces,Georgia,serif;font-size:2rem}.island-market__actions{justify-content:flex-end;align-items:center;display:flex}.island-market__refresh-control{align-items:center;gap:8px;display:flex;position:relative}.island-market__refresh{color:#fff;cursor:pointer;background:linear-gradient(135deg,#b98b32,#7f5b1e);border:1px solid #b68a36;border-radius:10px;place-content:center;gap:3px;min-width:170px;min-height:50px;padding:8px 14px;display:grid;box-shadow:0 8px 18px #7f5b1e2e}.island-market__refresh:disabled{cursor:not-allowed;filter:saturate(.55);opacity:.58}.island-market__refresh>span{font-size:.66rem;font-weight:800}.island-market__refresh>strong{justify-content:center;align-items:center;gap:4px;font-size:.58rem;font-weight:650;display:flex}.island-market__refresh .resource-icon{color:#ffe5a0;font-size:.72rem}.island-market__help{position:relative}.island-market__help>button{width:28px;height:28px;color:var(--forest-700);background:var(--paper);cursor:help;border:1px solid #bdc7bc;border-radius:50%;place-content:center;padding:0;font-size:.72rem;font-weight:850;display:grid}.island-market__help>button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.island-market__help>p{z-index:5;color:#f8fbf8;opacity:0;pointer-events:none;visibility:hidden;background:#173e34;border-radius:9px;width:min(360px,100vw - 32px);margin:0;padding:12px 14px;font-size:.68rem;line-height:1.55;transition:opacity .15s,transform .15s,visibility .15s;position:absolute;bottom:calc(100% + 10px);right:0;transform:translateY(4px);box-shadow:0 10px 28px #1330283d}.island-market__help:hover>p,.island-market__help:focus-within>p{opacity:1;visibility:visible;transform:translateY(0)}.island-offers{grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;display:grid}.island-offer{background:#fffdf8;border:1px solid #d8ddd2;border-radius:14px;overflow:hidden}.island-offer__visual{background:#527f7c;height:95px;position:relative;overflow:hidden}.island-offer__body{padding:15px}.island-offer h3{min-height:42px;color:var(--forest-950);margin:4px 0 12px;font-family:Fraunces,Georgia,serif;font-size:1rem;line-height:1.15}.island-offer__position{color:#73827b;min-height:38px;margin:-5px 0 12px;font-size:.68rem;line-height:1.45}.island-offer__position strong{color:#315f52}.offer-capacities{grid-template-columns:repeat(3,1fr);gap:4px;display:grid}.offer-capacities>span{background:#f1f4eb;border-radius:7px;grid-template-columns:auto 1fr;padding:7px 5px;display:grid}.offer-capacities i{color:var(--gold);grid-row:1/3;align-self:center;margin-right:4px;font-size:.62rem;font-style:normal}.offer-capacities b{font-size:.55rem}.offer-capacities small{color:var(--muted);font-size:.42rem}.offer-costs{min-height:84px;margin:13px 0 10px}.offer-costs>small{color:#8d9690;text-transform:uppercase;font-size:.5rem;font-weight:700}.offer-costs>div{flex-wrap:wrap;gap:4px;margin-top:6px;display:flex}.offer-costs span{color:#5a503e;background:#f6edda;border-radius:6px;padding:5px 6px;font-size:.51rem}.game-shell{--shell-gutter:4vw;min-height:100vh;padding:0 var(--shell-gutter) 45px;background:#edf0e6}.island-game{width:min(100%,1440px);margin:0 auto}@media (width>=1041px){.player-shell,.game-shell{padding-inline-end:calc(var(--player-account-width) + 24px)}.player-header{grid-template-columns:auto minmax(0,1fr)}.player-header__account{z-index:60;top:30px;box-shadow:0 12px 30px var(--shadow);position:fixed;inset-inline-end:12px}}.game-topbar{justify-content:space-between;align-items:center;gap:24px;min-height:116px;display:flex}.game-topbar__title{justify-items:start;display:grid}.island-back-button{color:var(--muted);cursor:pointer;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:7px;margin-bottom:12px;padding:7px 11px;font-size:.68rem;font-weight:750;transition:color .14s,border-color .14s,background .14s;display:inline-flex}.island-back-button:hover{border-color:var(--border);color:var(--forest-700);background:var(--surface-soft)}.island-back-button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.island-back-button span{font-size:.9rem;line-height:1;transition:transform .14s}.island-back-button:hover span{transform:translate(-2px)}[dir=rtl] .island-back-button:hover span{transform:translate(2px)}.game-topbar .eyebrow{margin-bottom:5px}.game-topbar h1{color:var(--forest-950);letter-spacing:-.045em;margin:0;font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,4vw,3.1rem);font-weight:600}.resource-bar{gap:9px;display:flex}.resource-bar>div{background:#fffdf7d9;border:1px solid #d8ddd1;border-radius:11px;grid-template-columns:auto auto;min-width:108px;padding:11px 15px;display:grid}.resource-bar strong{align-self:center;margin-left:8px;font-size:.9rem}.resource-bar small{color:var(--muted);grid-column:2;font-size:.61rem}.resource-icon{color:var(--gold);grid-row:1/3;align-self:center;font-size:1.25rem}.resource-icon--stock{color:var(--forest-700)}.admin-shell{background:radial-gradient(circle at 90% 0,#b7c9a547,#0000 31%),#f3f1e9;min-height:100vh;padding-bottom:70px}.admin-header{color:#f7f4e9;background:#173e34;border-bottom:1px solid #ffffff1f;justify-content:space-between;align-items:center;gap:24px;min-height:82px;padding:0 max(28px,50vw - 750px);display:flex}.admin-header__brand{color:inherit;align-items:center;gap:18px;text-decoration:none;display:flex}.admin-header__brand .brand{color:#fff}.admin-header__brand>span{color:#c8d8d0;letter-spacing:.08em;text-transform:uppercase;border-left:1px solid #ffffff3d;padding-left:18px;font-size:.74rem;font-weight:700}.admin-header__account{align-items:center;gap:12px;display:flex}.admin-header__account>div{min-width:130px;display:grid}.admin-header__account strong{font-size:.78rem}.admin-header__account small{color:#b9ccc4;font-size:.63rem}.admin-header__account a,.admin-header__account button{color:#f5f1e4;cursor:pointer;background:#ffffff12;border:1px solid #fff3;border-radius:8px;padding:9px 12px;font-size:.7rem;font-weight:650;text-decoration:none}.admin-header__account button:disabled{opacity:.55}.admin-badge{color:#4e3a13;letter-spacing:.12em;background:#e4b756;border-radius:6px;padding:5px 8px;font-size:.53rem;font-weight:900}.admin-layout{grid-template-columns:220px minmax(0,1fr);gap:46px;width:min(1500px,100% - 56px);margin:0 auto;padding-top:42px;display:grid}.admin-nav{align-content:start;gap:7px;height:max-content;display:grid;position:sticky;top:24px}.admin-nav>p{color:#91978f;letter-spacing:.15em;text-transform:uppercase;margin:0 0 10px 12px;font-size:.57rem;font-weight:800}.admin-nav a{color:#627069;border:1px solid #0000;border-radius:10px;align-items:center;gap:11px;padding:11px 13px;font-size:.76rem;font-weight:650;text-decoration:none;display:flex}.admin-nav a span{color:#577068;background:#e6e9e0;border-radius:7px;place-content:center;width:25px;height:25px;font-size:.85rem;display:grid}.admin-nav a:hover{color:#244f42;background:#ffffff8c}.admin-nav a.is-active{color:#f9f6ec;background:#285c4d;box-shadow:0 8px 22px #1f4d4029}.admin-nav a.is-active span{color:#ffe3a0;background:#ffffff1f}.admin-content{min-width:0}.admin-page{max-width:1200px}.admin-page__heading{justify-content:space-between;align-items:flex-end;gap:35px;margin-bottom:30px;display:flex}.admin-page__heading>div{max-width:720px}.admin-page__heading h1{color:#153e33;letter-spacing:-.055em;margin:5px 0 0;font-family:Fraunces,Georgia,serif;font-size:clamp(2.55rem,5vw,4.4rem);font-weight:600;line-height:.98}.admin-page__heading>p{color:#6d7771;text-align:right;max-width:420px;margin:0 0 5px;font-size:.81rem;line-height:1.65}.admin-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin-bottom:24px;display:grid}.admin-summary article{background:#fffdf7c7;border:1px solid #dce0d6;border-radius:13px;align-items:center;gap:13px;padding:17px 18px;display:flex}.admin-summary article>span{color:#f7d887;background:#285c4d;border-radius:10px;flex:none;place-content:center;width:39px;height:39px;display:grid}.admin-summary article div{min-width:0;display:grid}.admin-summary strong{color:#25483d;text-overflow:ellipsis;white-space:nowrap;font-family:Fraunces,Georgia,serif;font-size:1.15rem;overflow:hidden}.admin-summary small{color:#7c847f;font-size:.62rem}.admin-section-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;display:grid}.admin-section-grid>a{color:inherit;background:#fffdf7;border:1px solid #d9ded4;border-radius:17px;grid-template-columns:auto minmax(0,1fr) auto;align-items:start;gap:16px;padding:27px;text-decoration:none;transition:transform .16s,box-shadow .16s;display:grid;box-shadow:0 12px 35px #2046380f}.admin-section-grid>a:hover{transform:translateY(-2px);box-shadow:0 17px 40px #2046381a}.admin-section-card__icon{color:#725519;background:#f7e7bd;border-radius:12px;place-content:center;width:48px;height:48px;font-size:1.25rem;display:grid}.admin-section-grid h2{color:#21483c;margin:4px 0 7px;font-family:Fraunces,Georgia,serif;font-size:1.45rem}.admin-section-grid p:last-child{color:#748079;margin:0;font-size:.76rem;line-height:1.55}.admin-section-grid>a>b{color:#af8440;align-self:center;font-size:1.2rem}.admin-panel{background:#fffdf8;border:1px solid #d8ddd3;border-radius:17px;padding:25px;box-shadow:0 15px 42px #23443712}.admin-panel__heading{border-bottom:1px solid #e2e4dc;justify-content:space-between;align-items:end;gap:25px;padding-bottom:22px;display:flex}.admin-panel__heading h2{color:#244c40;margin:3px 0 0;font-family:Fraunces,Georgia,serif;font-size:1.65rem}.admin-panel__heading label{color:#65736c;gap:6px;min-width:280px;font-size:.65rem;font-weight:700;display:grid}.admin-panel select,.admin-panel input{color:#244c40;background:#fff;border:1px solid #cdd7cf;border-radius:8px;padding:10px 11px}.admin-island-overview{grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin:20px 0;display:grid}.admin-island-overview>div{background:#f1f4ed;border-radius:10px;gap:4px;padding:14px;display:grid}.admin-island-overview small{color:#7b847f;font-size:.6rem}.admin-island-overview strong{color:#31584c;font-size:.82rem}.admin-actions{gap:10px;display:grid}.admin-actions article{background:#f8faf6;border:1px solid #dce4dd;border-radius:12px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:15px;padding:17px;display:grid}.admin-actions__icon{color:#f6d98d;background:#2d6554;border-radius:10px;place-content:center;width:39px;height:39px;font-size:1.15rem;display:grid}.admin-actions h3{color:#2c5146;margin:0 0 4px;font-size:.88rem}.admin-actions p{color:#77817c;margin:0;font-size:.68rem;line-height:1.5}.admin-actions button,.admin-ship-list button{color:#fff;cursor:pointer;background:#28624f;border:0;border-radius:8px;justify-content:center;align-items:center;gap:7px;min-width:150px;min-height:39px;padding:9px 13px;font-size:.7rem;font-weight:750;display:flex}.admin-actions button:disabled,.admin-ship-list button:disabled{cursor:wait;opacity:.55}.admin-actions .button-spinner,.admin-ship-list .button-spinner{width:14px;height:14px}.admin-actions__danger{background:#fff9f6!important;border-color:#ead7d1!important}.admin-actions__danger .admin-actions__icon{color:#fff0e8;background:#a15345}.admin-actions__danger button{background:#a15345}.admin-feedback{border-radius:9px;margin:16px 0 0;padding:11px 13px;font-size:.72rem}.admin-feedback--success{color:#2f704c;background:#e8f3e9}.admin-feedback--error{color:#963e35;background:#fff0ed}.admin-ship-list{gap:13px;display:grid}.admin-ship-list form{background:#fffdf8;border:1px solid #d9ded5;border-radius:15px;padding:0;display:block;overflow:hidden;box-shadow:0 10px 30px #2344370e}.admin-ship-list form>header{background:#f4f6f0;border-bottom:1px solid #e1e4dc;justify-content:space-between;align-items:center;gap:20px;padding:15px 18px;display:flex}.admin-ship-list form>header>div{align-items:center;gap:9px;display:flex}.admin-ship-list form>header span{color:#fff6dd;letter-spacing:.1em;background:#95712d;border-radius:5px;padding:4px 6px;font-size:.48rem;font-weight:900}.admin-ship-list code{color:#36584e;font-size:.7rem}.admin-ship-list label{color:#637169;gap:5px;font-size:.65rem;font-weight:700;display:grid}.admin-ship-list input{box-sizing:border-box;color:#244c40;background:#fff;border:1px solid #ced8d0;border-radius:8px;width:100%;padding:9px 10px}.admin-ship-list .check-label{align-items:center;padding:0;display:flex;flex-direction:row!important}.admin-ship-list .check-label input{width:auto}.admin-ship-form__identity{grid-template-columns:1fr 2fr;gap:12px;padding:17px 18px 10px;display:grid}.admin-ship-form__stats{grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;padding:0 18px 17px;display:grid}.admin-ship-list form>footer{border-top:1px solid #e5e6df;justify-content:space-between;align-items:center;gap:15px;padding:13px 18px;display:flex}.admin-ship-list form>footer small{color:#858b86;font-size:.62rem}.admin-loading,.admin-error{color:#67756e;justify-content:center;align-items:center;gap:10px;min-height:45vh;display:flex}.admin-error{color:#8d4339;background:#fff7f4;border:1px solid #ead5cf;border-radius:15px;flex-direction:column;padding:30px}.admin-error p{margin:0}.admin-access-denied{text-align:center;background:#f6f2e8;flex-direction:column;justify-content:center;align-items:center;min-height:100vh;padding:30px;display:flex}.admin-access-denied>span{color:#a34439;letter-spacing:.12em;text-transform:uppercase;margin-top:40px;font-size:.65rem;font-weight:850}.admin-access-denied h1{color:#173e33;max-width:720px;margin:12px 0;font-family:Fraunces,Georgia,serif;font-size:clamp(2.3rem,6vw,4rem);line-height:1}.admin-access-denied p{color:#6c766f}.admin-access-denied>a{color:#fff;background:#2e6b58;border-radius:9px;margin-top:18px;padding:11px 16px;font-size:.76rem;font-weight:700;text-decoration:none}.admin-success{color:#256b49;background:#eef8f1;border:1px solid #bfdcc9;border-radius:11px;margin:0 0 14px;padding:11px 14px;font-size:.8rem}.maintenance-screen{text-align:center;min-height:100vh;color:var(--ink);background:var(--surface-soft);flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.maintenance-screen__badge{color:#a3762f;letter-spacing:.12em;text-transform:uppercase;margin-top:40px;font-size:.65rem;font-weight:850}.maintenance-screen h1{max-width:720px;color:var(--forest-900);margin:12px 0;font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,5vw,3.4rem);line-height:1.05}.maintenance-screen p{max-width:560px;color:var(--muted)}.maintenance-screen>a{color:#fff;background:#2e6b58;border-radius:9px;margin-top:18px;padding:11px 16px;font-size:.76rem;font-weight:700;text-decoration:none}.play-time-wall{text-align:center;min-height:100vh;color:var(--ink);background:var(--surface-soft);flex-direction:column;justify-content:center;align-items:center;padding:30px;display:flex}.play-time-wall__badge{color:#a3762f;letter-spacing:.12em;text-transform:uppercase;margin-top:40px;font-size:.65rem;font-weight:850}.play-time-wall h1{max-width:720px;color:var(--forest-900);margin:12px 0 4px;font-family:Fraunces,Georgia,serif;font-size:clamp(1.7rem,4.4vw,2.9rem);line-height:1.08}.play-time-wall__lead{max-width:520px;color:var(--muted);margin:0;font-size:.86rem;line-height:1.5}.play-time-wall__countdown{border:1px solid var(--border);background:var(--surface-raised);border-radius:16px;align-items:baseline;gap:.6rem;margin:26px 0 6px;padding:14px 26px;display:flex}.play-time-wall__countdown strong{color:var(--forest-800);font-family:Fraunces,Georgia,serif;font-size:clamp(2rem,6vw,3rem);line-height:1}.play-time-wall__countdown small{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.7rem}.play-time-wall__reset{color:var(--muted);margin:0;font-size:.74rem}.play-time-wall__premium{background:#fdf8ea;border:1px solid #e0d3ac;border-radius:14px;max-width:480px;margin:26px 0 0;padding:16px 20px}.play-time-wall__premium h2{color:#8a6d24;margin:0 0 6px;font-family:Fraunces,Georgia,serif;font-size:1.05rem}.play-time-wall__premium p{color:#7c6a44;margin:0;font-size:.78rem;line-height:1.5}.play-time-wall__actions{flex-wrap:wrap;justify-content:center;gap:10px;margin-top:26px;display:flex}.play-time-wall__actions button{color:#fff;cursor:pointer;background:#2e6b58;border:0;border-radius:9px;align-items:center;gap:7px;padding:11px 18px;font-size:.76rem;font-weight:700;display:inline-flex}.play-time-wall__actions button.secondary{color:var(--forest-800);border:1px solid var(--border);background:0 0}.play-time-wall__actions button:disabled{opacity:.6;cursor:progress}.play-time-meter__premium{color:#8a6d24;letter-spacing:.08em;text-transform:uppercase;background:#f6ecd2;border-radius:5px;justify-self:start;margin-top:1px;padding:0 5px;font-size:.5rem;font-style:normal;font-weight:800}.admin-account-table{border-collapse:collapse;width:100%;margin-top:18px;font-size:.78rem}.admin-account-table th,.admin-account-table td{text-align:start;vertical-align:middle;border-bottom:1px solid #e4e9e0;padding:10px 12px}.admin-account-table thead th{color:#67756e;letter-spacing:.07em;text-transform:uppercase;font-size:.62rem;font-weight:800}.admin-account-table tbody th{flex-direction:column;gap:1px;font-weight:600;display:flex}.admin-account-table tbody th strong{color:#244c40;font-size:.82rem}.admin-account-table tbody th small,.admin-account-table td small{color:#7d8a83;font-size:.66rem;font-weight:400;display:block}.admin-account-table tbody th .admin-badge{align-self:flex-start;margin-top:3px}.admin-account-table tr.is-premium{background:#fdfaf0}.admin-account-table td b{color:#8a6d24}.admin-account-table button{color:#fff;white-space:nowrap;cursor:pointer;background:#2e6b58;border:0;border-radius:8px;align-items:center;gap:6px;padding:8px 12px;font-size:.7rem;font-weight:700;display:inline-flex}.admin-account-table button.secondary{color:#8a5a3f;background:0 0;border:1px solid #ddc9b8}.admin-account-table button:disabled{opacity:.55;cursor:progress}.admin-account-table td:last-child{text-align:end}.admin-account-actions{flex-direction:column;align-items:flex-end;gap:6px;display:flex}.admin-account-table .admin-danger-button{color:#7d3129;background:0 0;border:1px solid #d8a49c}.admin-account-table .admin-danger-button:hover:enabled{color:#fff;background:#a4453a;border-color:#a4453a}.admin-badge--verified{color:#265c46;letter-spacing:.06em;background:#d9ecdf}.admin-badge--unverified{color:#7d3129;letter-spacing:.06em;background:#f6ddd9}.admin-gem-balance{align-items:center;gap:5px;display:inline-flex}.admin-gem-balance img{width:18px;height:18px}.admin-gem-balance strong{color:#4a3f7a;font-size:.8rem}.admin-gem-grant{align-items:center;gap:6px;margin-top:6px;display:flex}.admin-gem-grant input{border:1px solid var(--border);background:var(--paper);width:68px;color:var(--ink);font:inherit;border-radius:7px;padding:6px 7px;font-size:.72rem}.admin-gem-grant button{padding:6px 10px;font-size:.68rem}.confirm-dialog__field{display:block}.confirm-dialog__field input{border:1px solid var(--border);background:var(--paper);width:100%;color:var(--ink);font:inherit;border-radius:10px;padding:.55rem .7rem;font-size:.8rem}.admin-empty{color:#67756e;margin:18px 0 0;font-size:.78rem}.visually-hidden{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;padding:0;position:absolute;overflow:hidden}.admin-service{flex-direction:column;gap:1rem;max-width:620px;display:flex}.admin-service__state{border:1px solid var(--border);background:var(--surface-raised);border-radius:12px;align-items:baseline;gap:.75rem;margin:0;padding:.85rem 1rem;display:flex}.admin-service__state b{font-size:1rem}.admin-service__state.is-open b{color:#256b49}.admin-service__state.is-closed b{color:#a3452f}.admin-service__state small{color:var(--muted);font-size:.72rem}.admin-service label{color:var(--muted);flex-direction:column;gap:.35rem;font-size:.76rem;font-weight:650;display:flex}.admin-service textarea{border:1px solid var(--border);color:var(--ink);background:var(--surface-raised);font:inherit;resize:vertical;border-radius:10px;padding:.6rem .7rem;font-size:.82rem}.admin-service__actions{gap:.6rem;display:flex}.admin-service__forced,.admin-service__fallback{border-radius:10px;margin:0;padding:.7rem .85rem;font-size:.75rem;line-height:1.6}.admin-service__forced{color:#8d4339;background:#fff7f4;border:1px solid #ead5cf}.admin-service__fallback{color:var(--muted);background:var(--surface-soft);border:1px dashed var(--border)}.admin-service code{background:var(--surface-raised);border-radius:6px;padding:.1rem .35rem;font-size:.72rem;display:inline-block}.game-layout{background:var(--paper);border:1px solid #d3d9cc;border-radius:18px;grid-template-columns:minmax(0,1fr) 390px;min-height:calc(100vh - 235px);display:grid;overflow:hidden;box-shadow:0 22px 60px #1c3d311a}.island-board{background:radial-gradient(circle at 48% 45%,#82b9ad 0,#4b8d84 45%,#25645e 100%);min-height:650px;position:relative;overflow:hidden}.island-board__sea-lines{opacity:.2;background-image:repeating-radial-gradient(#0000 0 31px,#ffffff4d 32px 33px,#0000 34px 63px);position:absolute;inset:0;transform:scaleY(.42)rotate(-7deg)}.play-island{filter:drop-shadow(0 28px 25px #0e322c59);position:absolute;inset:13% 10% 11% 8%;transform:rotate(-4deg)}.play-island__shore,.play-island__grass{border-radius:43% 56% 45% 52%/49% 44% 57% 48%;position:absolute;inset:0}.play-island__shore{background:#e3d5a6;inset:-13px}.play-island__grass{background:radial-gradient(circle at 42% 40%,#87a965,#5d8758 68%,#4d764e);box-shadow:inset 0 -13px #573e2661}.play-field{z-index:2;background:repeating-linear-gradient(90deg,#b89952 0 6px,#a78648 7px 13px);border:4px double #f7e29d61;position:absolute;transform:skewY(-10deg)}.play-field--one{width:22%;height:17%;top:29%;left:31%}.play-field--two{width:23%;height:15%;top:48%;left:44%}.play-trees{z-index:3;color:#214f37;letter-spacing:-10px;text-shadow:4px 5px #173e2e;font-size:clamp(1.5rem,3vw,2.6rem);position:absolute;transform:rotate(5deg)}.play-trees--one{top:20%;right:18%}.play-trees--two{bottom:23%;left:15%}.play-mine{z-index:4;color:#f3d281;text-align:center;background:#786044;border:4px solid #60462f;border-radius:8px;place-content:center;width:74px;height:62px;font-size:1.5rem;display:grid;position:absolute;top:27%;left:18%;box-shadow:9px 9px #37392440}.play-mine small{color:#fff;background:#0f3028d1;border-radius:5px;width:max-content;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.play-mine.is-focused{outline-offset:7px;outline:5px solid #f2c9678c}.play-lumberjack{z-index:4;color:#fff0b0;text-align:center;background:#a76840;border:4px solid #76523b;border-radius:7px;place-content:center;width:68px;height:57px;font-size:1.65rem;display:grid;position:absolute;top:22%;right:26%;box-shadow:8px 8px #37392438}.play-lumberjack:before{content:"";clip-path:polygon(50% 0,100% 100%,0 100%);background:#74432f;width:46px;height:22px;position:absolute;top:-14px;left:7px}.play-lumberjack small{color:#fff;background:#0f3028d1;border-radius:5px;width:max-content;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.play-sawmill{z-index:4;color:#f3d991;text-align:center;background:#8c6d50;border:4px solid #695444;border-radius:7px;place-content:center;width:82px;height:60px;font-size:1.7rem;display:grid;position:absolute;box-shadow:8px 8px #37392438}.play-sawmill:before{content:"";clip-path:polygon(50% 0,100% 100%,0 100%);background:#57483e;width:58px;height:24px;position:absolute;top:-18px;left:8px}.play-sawmill small{color:#fff;background:#0f3028d1;border-radius:5px;width:max-content;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.play-warehouse{z-index:4;color:#e9d6ae;text-align:center;background:repeating-linear-gradient(90deg,#7e7565 0 12px,#716959 13px 24px);border:4px solid #5e5147;border-radius:6px;place-content:center;width:88px;height:64px;font-size:1.7rem;display:grid;position:absolute;box-shadow:9px 9px #37392438}.play-warehouse:before{content:"";clip-path:polygon(7% 0,93% 0,100% 100%,0 100%);background:#514a43;width:70px;height:17px;position:absolute;top:-13px;left:5px}.play-warehouse small{color:#fff;background:#0f3028d1;border-radius:5px;width:max-content;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.play-resource-building{z-index:4;color:#f3d28a;text-align:center;background:#47725b;border:4px solid #5b503f;border-radius:8px;place-content:center;width:64px;height:54px;font-size:1.4rem;display:grid;position:absolute;box-shadow:8px 8px #37392438}.play-resource-building small{color:#fff;text-overflow:ellipsis;white-space:nowrap;background:#0f3028d1;border-radius:5px;width:max-content;max-width:130px;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;overflow:hidden;transform:translate(-50%)}.play-fishing-port{z-index:5;color:#f6dd9b;text-align:center;background:linear-gradient(160deg,#527d7c,#2d5758);border:4px solid #60452f;border-radius:7px;place-content:center;width:72px;height:48px;font-size:1.45rem;display:grid;position:absolute;box-shadow:8px 8px #1f3a3d40}.play-fishing-port small{color:#fff;white-space:nowrap;background:#0f3034d6;border-radius:5px;width:max-content;padding:4px 8px;font-size:.58rem;position:absolute;bottom:-27px;left:50%;transform:translate(-50%)}.play-flag{z-index:3;color:#f1d17f;text-shadow:2px 3px #31503b;font-size:2.1rem;position:absolute;top:38%;left:55%}.island-sell-button{z-index:6;color:#f7e3a8;cursor:pointer;background:#123d36bf;border:1px solid #ffffff73;border-radius:50%;place-items:center;width:38px;height:38px;padding:0;font-family:Fraunces,Georgia,serif;font-size:1.15rem;font-weight:700;line-height:1;display:grid;position:absolute;top:18px;right:18px}.island-sell-button:hover:not(:disabled){color:#ffeec2;background:#8c3a2ed9;border-color:#fff9}.island-sell-button:disabled{cursor:not-allowed;opacity:.5}.map-controls{border:1px solid #ffffff4d;border-radius:8px;display:grid;position:absolute;bottom:18px;right:18px;overflow:hidden}.map-controls button{color:#fff;background:#123d36bf;border:0;width:37px;height:34px}.map-controls button+button{border-top:1px solid #ffffff2e}.island-routes{margin:24px 0 0}.island-routes__heading{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:10px;margin:0 0 14px;display:flex}.island-routes__heading h2{margin:2px 0 0;font-size:1.15rem}.island-routes__heading small{color:var(--muted);font-size:.74rem}.island-routes__list{grid-template-columns:repeat(auto-fill,minmax(330px,1fr));gap:14px;display:grid}.island-route-card{border:1px solid var(--border);color:var(--ink);background:var(--paper);box-shadow:0 12px 30px var(--shadow);cursor:pointer;font:inherit;text-align:left;border-radius:14px;grid-template-rows:auto auto 1fr auto;gap:10px;padding:14px 16px 12px;transition:border-color .15s,background .15s,transform .15s;display:grid}.island-route-card:hover{border-color:var(--sage-200);background:var(--surface-soft);transform:translateY(-1px)}.island-route-card:focus-visible{outline:2px solid var(--forest-700);outline-offset:2px}.island-route-card.is-idle{border-style:dashed}.island-route-card__header{align-items:center;gap:8px;display:flex}.island-route-card__header>span{color:var(--forest-700);font-size:.95rem}.island-route-card__header>strong{color:var(--forest-950);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.95rem;overflow:hidden}.island-route-card__header>b{text-transform:uppercase;font-size:.6rem}.island-route-card__header .route-active{color:#287257}.island-route-card__header .route-paused{color:#8a6124}.island-route-card__itinerary{flex-wrap:wrap;align-items:center;gap:4px;font-size:.72rem;display:flex}.island-route-card__itinerary>span{align-items:center;gap:4px;display:inline-flex}.island-route-card__itinerary i,.island-route-card__itinerary em{color:var(--muted);font-style:normal}.island-route-card__itinerary em.is-here{color:var(--forest-800);background:var(--sage-100);border-radius:999px;padding:1px 7px;font-weight:700}.island-route-card__operations{align-content:start;gap:8px;display:grid}.island-route-card__call{background:var(--surface-soft);border-radius:10px;align-content:start;gap:4px;padding:8px 10px;display:grid}.island-route-card:hover .island-route-card__call{background:var(--paper)}.island-route-card__call>small{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.56rem;font-weight:700}.island-route-card__call>span{justify-content:space-between;align-items:center;gap:8px;font-size:.74rem;display:flex}.island-route-card__call>span>span{text-align:right;align-items:center;gap:4px;display:inline-flex}.island-route-card__call .resource-svg{width:16px;height:16px}.island-route-card__idle-stop{color:var(--muted);font-style:italic}.island-route-card__footer{border-top:1px solid var(--border);flex-wrap:wrap;justify-content:space-between;align-items:center;gap:8px;padding-top:4px;display:flex}.island-route-card__ships{color:var(--muted);flex-wrap:wrap;gap:8px;font-size:.68rem;display:flex}.island-route-card__ships>span{align-items:center;gap:4px;display:inline-flex}.island-route-card__ships i{color:var(--ink);font-style:normal;font-weight:650}.island-route-card__ships .ship-icon{vertical-align:-.45em;width:1.6em;height:1.6em}.island-route-card__ships em{color:#a4543f;font-style:normal}.island-route-card__edit{color:var(--forest-700);white-space:nowrap;font-size:.7rem;font-weight:700}@media (width<=700px){.island-routes__list{grid-template-columns:1fr}}.tutorial-guide{right:20px;bottom:max(78px, calc(env(safe-area-inset-bottom) + 60px));z-index:40;border:1px solid var(--border);background:var(--paper);width:min(340px,100vw - 40px);box-shadow:0 18px 44px var(--shadow);border-radius:14px;padding:20px 22px 22px;position:fixed}.tutorial-guide__head{justify-content:space-between;align-items:center;gap:10px;display:flex}.tutorial-guide__step{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;font-size:.66rem;font-weight:700}.tutorial-guide__collapse{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:7px;padding:3px 8px;font-size:.62rem}.tutorial-guide h2{color:var(--forest-950);margin:10px 0 8px;font-family:Fraunces,Georgia,serif;font-size:1.28rem;line-height:1.15}.tutorial-guide>p{color:var(--muted);margin:0;font-size:.75rem;line-height:1.55}.tutorial-guide__waiting{color:var(--muted);text-align:center;margin:0;font-size:.66rem;font-style:italic;line-height:1.45}.tutorial-guide--collapsed{box-shadow:none;background:0 0;border:0;width:auto;padding:0}.tutorial-guide--collapsed button{border:1px solid var(--border);color:var(--forest-800);background:var(--paper);box-shadow:0 12px 30px var(--shadow);cursor:pointer;border-radius:10px;align-items:center;gap:8px;padding:11px 15px;font-size:.7rem;font-weight:700;display:flex}.tutorial-objective{align-items:center;gap:13px;margin:18px 0 16px;display:flex}.tutorial-objective>span{min-width:34px;color:var(--gold);text-align:center;font-family:Fraunces,Georgia,serif;font-size:1.1rem}.tutorial-objective div{gap:3px;display:grid}.tutorial-objective strong{font-size:.76rem}.tutorial-objective small{color:var(--muted);font-size:.65rem;line-height:1.4}.tutorial-cta{background:linear-gradient(135deg,#205946,#153e33)}.tutorial-cta:disabled{cursor:wait;opacity:.7}.tutorial-error{color:var(--error);margin:-8px 0 15px;font-size:.7rem;line-height:1.45}.tutorial-objective--done>span{color:#4b9365;font-size:1.45rem}.milestone-tracker{right:20px;bottom:max(78px, calc(env(safe-area-inset-bottom) + 60px));z-index:40;border:1px solid var(--border);background:var(--paper);width:min(300px,100vw - 40px);box-shadow:0 18px 44px var(--shadow);border-radius:14px;gap:9px;padding:14px 16px 16px;display:grid;position:fixed}.milestone-tracker__head{justify-content:space-between;align-items:center;gap:10px;display:flex}.milestone-tracker__step{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;font-size:.62rem;font-weight:700}.milestone-tracker__head button{border:1px solid var(--border);color:var(--muted);cursor:pointer;font:inherit;background:0 0;border-radius:7px;padding:3px 8px;font-size:.6rem}.milestone-tracker>strong{color:var(--forest-950);font-family:Fraunces,Georgia,serif;font-size:.98rem;line-height:1.25}.milestone-tracker__count{color:var(--muted);align-items:baseline;gap:5px;margin:-4px 0 0;font-size:.72rem;display:flex}.milestone-tracker__count span{color:var(--forest-800);font-family:Fraunces,Georgia,serif;font-size:1.05rem}.milestone-tracker__bar{background:var(--surface-soft);border-radius:999px;height:6px;overflow:hidden}.milestone-tracker__bar span{border-radius:inherit;background:linear-gradient(90deg,#c8892a,#e4b75e);height:100%;display:block}.milestone-tracker__reward{color:var(--muted);flex-wrap:wrap;align-items:center;gap:6px;font-size:.64rem;line-height:1.4;display:flex}.milestone-tracker__reward span{align-items:center;gap:3px;display:inline-flex}.milestone-tracker__reward .resource-svg{width:17px;height:17px}.milestone-tracker--collapsed{box-shadow:none;background:0 0;border:0;width:auto;padding:0}.milestone-tracker--collapsed button{border:1px solid var(--border);color:var(--forest-800);background:var(--paper);box-shadow:0 12px 30px var(--shadow);cursor:pointer;font:inherit;border-radius:10px;align-items:center;gap:8px;padding:11px 15px;font-size:.7rem;font-weight:700;display:flex}@media (width<=820px){.milestone-tracker--collapsed button{width:44px;height:44px;box-shadow:none;background:0 0;border:0;justify-content:center;padding:0}.milestone-tracker--collapsed button>[aria-hidden=true]{font-size:1.5rem;line-height:1}.milestone-tracker__collapsed-label{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}}.milestone-dialog__banner{color:var(--gold);letter-spacing:.14em;text-transform:uppercase;font-size:.64rem;font-weight:700}.boost-control{border:1px solid var(--border);background:var(--surface-raised);border-radius:8px;gap:5px;padding:6px 8px;display:grid}.boost-control.is-ready{border-color:var(--gold);background:linear-gradient(#d99f3724,#0000)}.boost-control__top{align-items:center;gap:6px;display:flex}.boost-button{cursor:pointer;text-align:start;background:0 0;border:0;flex:1;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.boost-button:disabled{cursor:default;opacity:.6}.boost-button__icon{color:#f0cb75;background:var(--forest-800);border-radius:6px;flex:none;place-content:center;width:24px;height:24px;display:grid;overflow:hidden}.boost-button__icon img{object-fit:cover;width:24px;height:24px;display:block}.boost-copy{gap:1px;min-width:0;display:grid}.boost-copy small{color:var(--muted);letter-spacing:.03em;text-transform:uppercase;white-space:nowrap;font-size:.55rem}.boost-copy strong{color:var(--forest-800);white-space:nowrap;font-size:.76rem}.boost-stamps{justify-content:space-between;margin:0;padding:0;list-style:none;display:flex}.boost-stamps li{border:1px solid var(--border);width:15px;height:15px;color:var(--muted);border-radius:50%;place-content:center;font-size:.6rem;line-height:1;display:grid}.boost-stamps li.is-stamped{border-color:var(--gold);color:var(--gold);background:#d99f3729}.boost-hint{color:var(--muted);font-size:.55rem;line-height:1.35}.boost-control.is-super .boost-hint{color:var(--gold);font-weight:700}.boost-help{flex:none;position:relative}.boost-help>button{border:1px solid var(--border);width:18px;height:18px;color:var(--muted);background:var(--surface-soft);cursor:help;border-radius:50%;place-content:center;padding:0;font-size:.55rem;font-weight:850;line-height:1;display:grid}.boost-help>button:hover{border-color:var(--gold);color:var(--forest-700)}.boost-help>button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.boost-help>p{z-index:40;color:#f8fbf8;opacity:0;pointer-events:none;text-transform:none;visibility:hidden;top:calc(100% + 8px);background:#173e34;border-radius:9px;width:min(300px,100vw - 32px);margin:0;padding:11px 13px;font-size:.62rem;font-weight:400;line-height:1.55;transition:opacity .15s,transform .15s,visibility .15s;position:absolute;inset-inline-end:0;transform:translateY(4px);box-shadow:0 10px 28px #13302847}.boost-help:hover>p,.boost-help:focus-within>p{opacity:1;visibility:visible;transform:translateY(0)}.boost-control.is-super.is-ready .boost-copy strong{color:var(--gold)}.gem-boost-control{border:1px solid var(--border);background:var(--surface-raised);border-radius:8px;gap:5px;margin-top:6px;padding:6px 8px;display:grid}.gem-boost-control.is-ready{background:linear-gradient(#8a6bc424,#0000);border-color:#8a6bc4}.gem-boost-control__top{align-items:center;gap:6px;display:flex}.gem-boost-button{cursor:pointer;text-align:start;background:0 0;border:0;flex:1;align-items:center;gap:8px;min-width:0;padding:0;display:flex}.gem-boost-button:disabled{cursor:default;opacity:.6}.gem-boost-button .boost-button__icon{color:#e5d8ff;background:#4b3a72}.gem-boost-control.is-ready .boost-copy strong{color:#6b4ea8}.management-panel{z-index:2;background:#fffdf8;border-left:1px solid #daddd3;position:relative;overflow-y:auto}.management-section{padding:27px 24px}.management-section+.management-section{border-top:1px solid #e1e4da}.management-heading{justify-content:space-between;align-items:flex-start;gap:14px;display:flex}.management-kicker{color:var(--gold);letter-spacing:.12em;text-transform:uppercase;margin:0 0 5px;font-size:.58rem;font-weight:800}.management-heading h2{color:var(--forest-950);margin:0;font-family:Fraunces,Georgia,serif;font-size:1.35rem}.production-period,.instant-badge{color:#63716a;white-space:nowrap;background:#eef1e8;border-radius:20px;padding:5px 8px;font-size:.55rem;font-weight:700}.instant-badge{color:#3e7557;background:#e4f1e5}.production-list,.construction-list{gap:9px;margin-top:17px;display:grid}.resource-stock-list{gap:11px;margin-top:17px;display:grid}.resource-stock{gap:6px;display:grid}.resource-stock__heading{color:var(--muted);justify-content:space-between;align-items:baseline;gap:10px;font-size:.62rem;display:flex}.resource-stock__heading span{color:var(--forest-950);font-weight:700}.resource-stock__heading strong{font-size:.58rem}.resource-stock__track{background:#e7e9e1;border-radius:999px;height:7px;overflow:hidden}.resource-stock__track>span{border-radius:inherit;background:linear-gradient(90deg,#4a8a61,#75a766);height:100%;transition:width .24s;display:block}.resource-stock__track>span.is-full{background:linear-gradient(90deg,#c47b43,#d39a4c)}.production-line{background:#f7f8f1;border:1px solid #e1e5da;border-radius:10px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:10px;padding:11px;display:grid}.production-icon{color:#efd078;background:var(--forest-800);border-radius:8px;place-content:center;width:31px;height:31px;display:grid}.production-icon--wood{color:#e7c790;background:#73553e}.production-icon--planks{color:#f1d8a5;background:#80634e}.production-line>div{gap:2px;min-width:0;display:grid}.production-line strong{font-size:.7rem}.production-line small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.53rem;overflow:hidden}.production-line>b{font-size:.75rem}.production-line>b.is-positive{color:#397b56}.production-line>b.is-negative{color:var(--error)}.production-empty{color:var(--muted);background:#f5f6f0;border-radius:10px;margin:0;padding:16px;font-size:.68rem;line-height:1.5}.construction-option{background:#fff;border:1px solid #e1e5da;border-radius:11px;grid-template-columns:auto minmax(0,1fr);gap:10px;padding:12px;display:grid}.construction-option__icon{color:#f3d28a;background:#315e4a;border-radius:9px;place-content:center;width:37px;height:37px;font-size:1.1rem;display:grid}.construction-option__icon .resource-svg{width:27px;height:27px}.construction-option__copy{min-width:0}.construction-option__copy>div{justify-content:space-between;align-items:baseline;gap:8px;display:flex}.construction-option__copy strong{font-size:.69rem}.construction-option__copy small{color:var(--muted);white-space:nowrap;font-size:.51rem}.construction-option__copy p{color:var(--muted);margin:4px 0 0;font-size:.56rem;line-height:1.4}.construction-option button{color:#fff;cursor:pointer;background:linear-gradient(135deg,#205946,#153e33);border:0;border-radius:8px;grid-column:1/-1;min-height:34px;padding:8px 12px;font-size:.63rem;font-weight:750}.construction-option button:disabled{cursor:not-allowed;opacity:.48}.construction-option__pause-note{color:var(--muted);margin:6px 0 0;font-size:.53rem;line-height:1.4}.construction-option button.construction-option__pause{color:#24503f;background:#eaf1e7;border:1px solid #cfdcca}.construction-option--paused{background:#fdf7e8;border-color:#ddc78e}.construction-option--paused .construction-option__pause-note{color:#8a6a1c;font-weight:650}.construction-option--paused button.construction-option__pause{color:#6d5310;background:#f7e8bd;border-color:#dfc98d}.management-message{color:#316f4d;background:#e8f4e9;border-radius:8px;margin:13px 0 0;padding:9px 11px;font-size:.63rem}.construction-section .tutorial-error{margin:13px 0 0}.welcome-card,.world-card{background:#fffdf7cc;border:1px solid #dfe1d7;border-radius:18px;width:min(100%,1050px);margin-left:auto;margin-right:auto;box-shadow:0 18px 50px #1e41330f}.welcome-card{justify-content:space-between;align-items:flex-end;gap:36px;margin-top:10vh;padding:clamp(34px,5vw,62px);display:flex}.welcome-card h1{color:var(--forest-950);letter-spacing:-.05em;margin:0 0 13px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.4rem,5vw,4.2rem);line-height:1}.welcome-card>div:first-child>p:last-child{max-width:680px;color:var(--muted);margin:0;line-height:1.7}.account-status{color:#4b6a5e;flex:none;align-items:center;gap:8px;font-size:.75rem;font-weight:600;display:flex}.status-dot{background:#51a171;border-radius:50%;width:8px;height:8px;box-shadow:0 0 0 4px #51a17121}.world-card{grid-template-columns:auto 1fr auto;align-items:center;gap:25px;margin-top:24px;padding:27px 32px;display:grid}.world-card__icon{width:62px;height:62px;color:var(--forest-700);background:var(--sage-100);border-radius:15px;place-content:center;display:grid}.world-card__icon svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2px;width:38px}.world-card h2{margin:0 0 5px;font-family:Fraunces,Georgia,serif;font-size:1.45rem}.world-card p:last-child{color:var(--muted);margin:0;font-size:.82rem}.world-card>button{color:#7d867f;background:#e7e8e2;border:0;border-radius:9px;padding:11px 16px;font-size:.74rem;font-weight:600}.worlds-link--technology{color:#8a651e!important}.technology-page{width:min(100%,1480px);margin:0 auto;padding:42px 0 76px}.technology-hero{justify-content:space-between;align-items:flex-end;gap:36px;margin-bottom:28px;display:flex}.technology-hero>div:first-child{max-width:780px}.technology-hero h1{color:var(--forest-950);letter-spacing:-.055em;margin:4px 0 10px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.5rem,5vw,4.6rem);font-weight:600;line-height:.98}.technology-hero>div:first-child>p:last-child{max-width:700px;color:var(--muted);margin:0;font-size:.88rem;line-height:1.65}.technology-treasury{background:#fffdf7e0;border:1px solid #dfd5bd;border-radius:15px;flex:0 0 220px;grid-template-columns:auto auto;align-items:center;gap:1px 10px;padding:16px 18px;display:grid;box-shadow:0 10px 30px #42371f12}.technology-treasury>span{color:#fff5d5;background:#c79332;border-radius:10px;grid-row:1/3;place-content:center;width:38px;height:38px;display:grid}.technology-treasury>div{display:grid}.technology-treasury strong{color:#58451d;font-family:Fraunces,Georgia,serif;font-size:1.25rem;line-height:1}.technology-treasury small{color:#8a7d63;font-size:.57rem}.technology-treasury .technology-progress{background:#e7e2d5;border-radius:20px;grid-column:1/-1;height:5px;margin-top:11px;display:block;overflow:hidden}.technology-progress i{border-radius:inherit;background:linear-gradient(90deg,#d29b38,#e2bd66);height:100%;transition:width .25s;display:block}.technology-treasury em{color:#8b806a;text-align:right;grid-column:1/-1;margin-top:5px;font-size:.54rem;font-style:normal}.technology-illustration{border:1px solid var(--border);background:#4e3b23;border-radius:22px;margin:22px 0 0;overflow:hidden;box-shadow:0 18px 42px #143a3024}.technology-illustration img{width:100%;height:auto;display:block}.technology-filters{flex-wrap:wrap;gap:7px;margin-bottom:17px;display:flex}.technology-filters button{color:#637069;cursor:pointer;background:#ffffff94;border:1px solid #d9dcd2;border-radius:9px;align-items:center;gap:7px;min-height:34px;padding:7px 12px;font-size:.62rem;font-weight:700;display:flex}.technology-filters button span{color:#a77a27;font-size:.85rem}.technology-filters button.is-active{color:#fff;background:#285e4d;border-color:#285e4d;box-shadow:0 6px 16px #20534529}.technology-filters button.is-active span{color:#f3ce7a}.technology-layout{grid-template-columns:minmax(0,1fr) 310px;align-items:start;gap:16px;display:grid}.technology-tree{background:#fffdf7b8;border:1px solid #d9ded4;border-radius:17px;grid-template-columns:repeat(5,minmax(168px,1fr));min-width:890px;display:grid;overflow:hidden;box-shadow:0 16px 42px #21433514}.technology-tier{min-width:0;padding:15px 11px 17px}.technology-tier+.technology-tier{background:#f1f2e96b;border-left:1px dashed #d8d9cf}.technology-tier:nth-child(4),.technology-tier:nth-child(5){background:#ebefe4a8}.technology-tier>header{align-items:center;gap:8px;min-height:41px;margin:0 3px 11px;display:flex}.technology-tier>header>span{color:#958052;background:#ede7d6;border-radius:50%;place-content:center;width:27px;height:27px;font-family:Fraunces,Georgia,serif;font-size:.68rem;display:grid}.technology-tier>header div{display:grid}.technology-tier>header small{color:#a19e92;letter-spacing:.1em;text-transform:uppercase;font-size:.47rem;font-weight:800}.technology-tier>header strong{color:#3f5048;font-family:Fraunces,Georgia,serif;font-size:.78rem}.technology-tier__nodes{gap:9px;display:grid}.technology-node{width:100%;min-height:74px;color:var(--ink);cursor:pointer;text-align:left;background:#fffefa;border:1px solid #dfe2da;border-radius:11px;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:8px;padding:9px 8px;transition:all .15s;display:grid;position:relative;box-shadow:0 4px 11px #203b310d}.technology-node:hover{border-color:#9eb6a8;transform:translateY(-1px)}.technology-node.is-selected{border-color:#326e5a;outline:2px solid #326e5a1f}.technology-tree--domains{grid-template-columns:repeat(3,minmax(230px,1fr));min-width:720px}.technology-tree--domains .technology-tier:nth-child(4),.technology-tree--domains .technology-tier:nth-child(5){background:initial}.technology-node--construction{border-left:3px solid #b88755}.technology-node--agriculture{border-left:3px solid #6d9a58}.technology-node--nutrition{border-left:3px solid #c38b45}.technology-node--industry{border-left:3px solid #647b85}.technology-node--energy{border-left:3px solid #d0a532}.capital-industry-page{width:min(1320px,100% - 3rem);margin:0 auto;padding:2.5rem 0 5rem}.capital-industry-hero{color:#f7f4e9;background:radial-gradient(circle at 82% 18%,#e6b14340,#0000 30%),linear-gradient(135deg,#253f43,#355e5c);border-radius:22px;justify-content:space-between;align-items:center;gap:2rem;padding:2rem;display:flex;box-shadow:0 18px 42px #143a302e}.capital-industry-hero h1{margin:.2rem 0 .35rem;font:700 clamp(2rem,4vw,3.35rem)/1.05 Fraunces,Georgia,serif}.capital-industry-hero p{color:#d2e2da;max-width:760px;margin:.25rem 0}.capital-industry-hero>div:last-child{text-align:center;background:#ffffff1a;border:1px solid #ffffff29;border-radius:15px;min-width:180px;padding:1rem 1.2rem;display:grid}.capital-industry-hero>div:last-child strong{color:#f3cc70;font:700 2.2rem Fraunces,Georgia,serif}.capital-industry-hero>div:last-child span{color:#d4e3de;font-size:.72rem}.capital-industry-illustration{border:1px solid var(--border);background:#d3bd86;border-radius:22px;margin:1.5rem 0 0;overflow:hidden;box-shadow:0 18px 42px #143a3024}.capital-industry-illustration img{width:100%;height:auto;display:block}.capital-flow-section,.capital-electricity-section,.capital-industry-section,.capital-industry-catalog{background:var(--paper);border:1px solid var(--border);box-shadow:0 10px 28px var(--shadow);border-radius:18px;margin-top:1.5rem;padding:1.4rem}.capital-flow-grid{grid-template-columns:repeat(auto-fit,minmax(205px,1fr));gap:.75rem;display:grid}.capital-flow-grid article{background:var(--surface-raised);border:1px solid var(--border);border-radius:11px;align-items:center;gap:.7rem;padding:.8rem;display:flex}.capital-flow-grid .resource-svg{width:38px;height:38px}.capital-flow-grid article div{grid-template-columns:1fr 1fr;gap:.15rem .55rem;display:grid}.capital-flow-grid article strong{color:var(--forest-800);grid-column:1/-1}.capital-flow-grid article span{font-size:.72rem}.capital-flow-grid .is-consumed{color:#a35448}.capital-flow-grid .is-produced{color:#367654}.capital-flow-grid .capital-flow-stock{color:var(--muted);border-top:1px solid var(--border);grid-column:1/-1;margin-top:.2rem;padding-top:.35rem}.capital-flow-grid .capital-flow-stock b{color:var(--forest-800)}.capital-electricity-section{background:linear-gradient(135deg,var(--paper),#fff9e9)}.capital-electricity-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:.75rem;display:grid}.capital-electricity-grid article{background:#ffffffa8;border:1px solid #e2d3a6;border-radius:12px;grid-template-columns:auto 1fr;align-items:center;gap:.1rem .65rem;padding:.9rem;display:grid}.capital-electricity-grid article .resource-svg{grid-row:1/3;width:38px;height:38px}.capital-electricity-grid article span{color:var(--muted);font-size:.64rem}.capital-electricity-grid article strong{color:#66501c;font-family:Fraunces,Georgia,serif}.capital-electricity-grid article.is-housing{background:#f2faf4;border-color:#b8d4c4}.capital-electricity-grid article.is-housing strong{color:#2d6a4b}.capital-electricity-warning{color:#8c4a2e;background:#fff0e5;border-radius:9px;align-items:center;gap:.5rem;margin:.85rem 0 0;padding:.65rem .8rem;font-size:.76rem;display:flex}.capital-electricity-warning .resource-svg{width:24px;height:24px}.capital-domain-tabs{border-bottom:1px solid var(--border);flex-wrap:wrap;gap:.45rem;margin:0 0 1rem;padding-bottom:.75rem;display:flex}.capital-domain-tab{color:var(--forest-800);background:var(--surface-raised);border:1px solid var(--border);cursor:pointer;border-radius:999px;align-items:center;gap:.5rem;padding:.32rem .75rem .32rem .32rem;font:700 .88rem Fraunces,Georgia,serif;display:inline-flex}.capital-domain-tab>span{color:#f7e4ae;background:#526d69;border-radius:999px;place-content:center;width:26px;height:26px;font-size:.85rem;display:grid}.capital-domain-tab>em{color:var(--muted);background:var(--surface-soft);border-radius:999px;padding:.05rem .42rem;font-size:.68rem;font-style:normal;font-weight:600}.capital-domain-tab--agriculture>span{background:#5c7a3f}.capital-domain-tab--nutrition>span{background:#a8703a}.capital-domain-tab--industry>span{background:#4a5f74}.capital-domain-tab--energy>span{background:#8b6d1f}.capital-domain-tab.is-current{color:#fff;background:var(--forest-700);border-color:var(--forest-700)}.capital-domain-tab.is-current>em{color:#fff;background:#ffffff38}.capital-industry-grid,.capital-industry-catalog-grid{gap:.9rem;display:grid}.capital-industry-grid{grid-template-columns:repeat(auto-fill,minmax(300px,1fr))}.capital-industry-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.capital-industry-grid>article,.capital-industry-catalog-grid>article{background:var(--surface-raised);border:1px solid var(--border);border-radius:13px;flex-direction:column;gap:.7rem;padding:1rem;display:flex}.capital-industry-grid>article.is-blocked{background:#fffaf4;border-color:#dfb89b}.capital-industry-grid article>header{justify-content:space-between;align-items:flex-start;gap:.75rem;display:flex}.capital-industry-grid article>header>div{align-items:center;gap:.6rem;display:flex}.capital-industry-grid article>header>.industry-card-aside{flex:none;align-items:center;gap:.4rem}.capital-industry-grid article>header small{font-size:.72rem}.capital-industry-grid .industry-status{padding:.28rem .45rem;font-size:.58rem}.capital-industry-grid h4 .capital-building-count{vertical-align:.12em;margin-left:.4rem;padding:.15rem .4rem;font-size:.66rem}.capital-industry-grid h4,.capital-industry-catalog-grid h3{color:var(--forest-800);margin:0;font-size:1.05rem}.capital-industry-grid article>p,.capital-industry-catalog-grid article>p{color:var(--muted);margin:0;font-size:.78rem;line-height:1.5}.industry-icon{color:#f7e4ae;background:#526d69;border:1px solid #6048224d;border-radius:12px;flex:none;place-content:center;width:52px;height:52px;font-size:1.15rem;display:grid;overflow:hidden;box-shadow:0 3px 9px #32261424}.industry-icon img{object-fit:cover;width:100%;height:100%;display:block}.industry-status{white-space:nowrap;border-radius:999px;padding:.3rem .5rem;font-size:.62rem}.industry-status--running{color:#286b49;background:#e1f3e7}.industry-status--input_blocked{color:#965b30;background:#f8e5d4}.industry-status--power_blocked{color:#8b5d12;background:#fff0ba}.industry-status--paused{color:#666;background:#ececec}.capital-industry-grid article>p.industry-electricity,.capital-industry-catalog-grid article>p.industry-electricity{color:#7b5b16;background:#fff7d8;border-radius:8px;align-items:center;gap:.35rem;padding:.45rem .55rem;display:flex}.industry-electricity.is-production{color:#2d6a4b!important;background:#eaf7ee!important}.industry-electricity .resource-svg{width:22px;height:22px}.capital-industry-grid article>p.industry-stack-total{color:var(--forest-800);letter-spacing:.02em;text-transform:uppercase;margin-bottom:-.35rem;font-size:.68rem;font-weight:750}.capital-industry-grid label{color:var(--muted);gap:.25rem;font-size:.68rem;font-weight:700;display:grid}.capital-industry-grid select{border:1px solid var(--border);background:var(--paper);border-radius:8px;padding:.55rem}.industry-recipe-flow{background:var(--surface-soft);border-radius:9px;grid-template-columns:1fr auto 1fr;align-items:center;gap:.45rem;padding:.65rem;display:grid}.industry-recipe-flow>div{gap:.25rem;display:grid}.industry-recipe-flow span,.industry-cost span{align-items:center;gap:.3rem;font-size:.67rem;display:flex}.industry-recipe-flow .resource-svg,.industry-cost .resource-svg{width:20px;height:20px}.industry-recipe-flow>b{color:var(--muted)}.capital-industry-grid footer{border-top:1px solid var(--border);justify-content:space-between;align-items:flex-end;gap:.7rem;margin-top:auto;padding-top:.7rem;display:flex}.capital-industry-grid footer p,.industry-cost{flex-wrap:wrap;gap:.45rem;margin:.25rem 0 0;display:flex}.capital-industry-grid button,.capital-industry-catalog-grid button{color:#fff;background:var(--forest-700);cursor:pointer;border:0;border-radius:8px;padding:.62rem .75rem;font-weight:750}.capital-industry-grid button:disabled,.capital-industry-catalog-grid button:disabled{cursor:not-allowed;opacity:.5}.capital-industry-catalog-grid>article>button{margin-top:auto}.industry-demolish{flex:none;position:relative}.industry-demolish>button{color:#8c3e36;background:var(--paper);cursor:pointer;border:1px solid #ddbbb7;border-radius:8px;place-content:center;width:26px;height:26px;padding:0;transition:border-color .15s,color .15s,background .15s;display:grid}.industry-demolish>button:hover:not(:disabled){color:#fff;background:#a24a40;border-color:#a24a40}.industry-demolish>button:disabled{cursor:not-allowed;opacity:.45}.industry-demolish>button:focus-visible{outline-offset:2px;outline:2px solid #a24a40}.industry-demolish>p{z-index:40;color:#f8fbf8;opacity:0;pointer-events:none;visibility:hidden;top:calc(100% + 7px);background:#173e34;border-radius:9px;gap:.35rem;width:max-content;max-width:min(260px,100vw - 32px);margin:0;padding:.6rem .7rem;font-size:.62rem;line-height:1.5;transition:opacity .15s,transform .15s,visibility .15s;display:grid;position:absolute;inset-inline-end:0;transform:translateY(4px);box-shadow:0 10px 28px #13302847}.industry-demolish:hover>p,.industry-demolish:focus-within>p{opacity:1;visibility:visible;transform:translateY(0)}.industry-demolish>p span{align-items:center;gap:.3rem;display:flex}.industry-demolish>p>.industry-demolish__refund{flex-wrap:wrap;gap:.4rem}.industry-demolish .resource-svg{width:18px;height:18px}.merchant-page{width:min(1420px,100% - 3rem);margin:0 auto;padding:2.5rem 0 5rem}.merchant-hero{color:#f9f3e4;background:radial-gradient(circle at 82% 15%,#f0c86e47,#0000 30%),linear-gradient(135deg,#3f3020,#664923);border:1px solid #f5d89738;border-radius:22px 22px 10px 10px;justify-content:space-between;align-items:center;gap:2rem;padding:1.55rem 1.8rem;display:flex;box-shadow:0 18px 42px #3a2a1033}.merchant-hero h1{margin:.2rem 0 .35rem;font:700 clamp(2rem,4vw,3.35rem)/1.05 Fraunces,Georgia,serif}.merchant-hero p{color:#e5d7b6;max-width:780px;margin:.25rem 0}.merchant-gold{text-align:left;background:#ffffff17;border:1px solid #ffffff2e;border-radius:15px;flex:none;grid-template-columns:auto auto;justify-content:center;align-items:center;gap:.05rem .65rem;min-width:150px;padding:.8rem 1rem;display:grid}.merchant-gold .resource-svg{grid-row:1/3;width:42px;height:42px}.merchant-gold strong{color:#f7d68a;font:700 1.8rem/1 Fraunces,Georgia,serif}.merchant-gold span{color:#e2d4b2;font-size:.66rem}.merchant-page>.capital-success,.merchant-page>.archipelago-error{margin:1rem 0 0}.merchant-counter{--merchant-panel:#fffcf3f7;--merchant-panel-soft:#f8f1df;isolation:isolate;background:radial-gradient(circle at 50% 30%,#e5bb6757,#0000 30%),linear-gradient(145deg,#6c4b29,#3d2d22 74%);border:1px solid #8c6b3d;border-radius:10px 10px 24px 24px;grid-template-columns:minmax(265px,1fr) minmax(270px,.76fr) minmax(265px,1fr);align-items:center;gap:clamp(.8rem,1.8vw,1.5rem);margin-top:1rem;padding:clamp(1rem,2vw,1.8rem);display:grid;position:relative;overflow:hidden;box-shadow:0 22px 48px #3424133d,inset 0 1px #ffffff29}.merchant-counter:before{z-index:-1;pointer-events:none;content:"";border:1px solid #f4d59540;border-radius:7px 7px 19px 19px;position:absolute;inset:.55rem}.merchant-counter:after{z-index:-1;content:"";background:linear-gradient(90deg,#0000,#f2d29314,#0000);width:min(34%,430px);position:absolute;top:0;bottom:0;left:50%;transform:translate(-50%)}.merchant-trade-card{min-width:0;min-height:430px;color:var(--ink);background:var(--merchant-panel);border:1px solid #d4b77ccc;border-radius:18px 8px;flex-direction:column;gap:1rem;padding:clamp(1rem,1.8vw,1.45rem);display:flex;box-shadow:0 16px 35px #23170c3d,inset 0 0 0 3px #ffffff73}.merchant-trade-card--sell{border-radius:8px 18px}.merchant-trade-card>header{grid-template-columns:1fr auto 1fr;align-items:center;gap:.7rem;display:grid}.merchant-trade-card>header h2{color:#624818;text-align:center;margin:0;font:700 clamp(1.45rem,2.2vw,2rem)/1 Fraunces,Georgia,serif}.merchant-trade-card--sell>header h2{color:#315f4b}.merchant-trade-card__ornament{color:#c29948;align-items:center;gap:.35rem;font-size:.55rem;display:flex}.merchant-trade-card__ornament:before,.merchant-trade-card__ornament:after{content:"";opacity:.5;background:currentColor;width:100%;height:1px}.merchant-trade-card__ornament:last-child{flex-direction:row-reverse}.merchant-trade-card__select{z-index:2;position:relative}.merchant-trade-card__select .resource-select__trigger{color:var(--ink);background:var(--merchant-panel-soft);border-color:#d8c79f;border-radius:10px;padding:.7rem .75rem}.merchant-trade-card__select .resource-select__menu{color:var(--ink);background:var(--merchant-panel);border-color:#d8c79f}.merchant-trade-card__resource{background:radial-gradient(circle,#e9d09773,#0000 68%);justify-items:center;gap:.45rem;padding:.85rem;display:grid}.merchant-trade-card__resource .resource-svg{filter:drop-shadow(0 7px 7px #533a162e);width:64px;height:64px}.merchant-trade-card__resource strong{color:var(--forest-800);font:700 1.05rem Fraunces,Georgia,serif}.merchant-trade-card__rates{grid-template-columns:1fr 1fr;gap:.65rem;margin:0;display:grid}.merchant-trade-card__rates>div{background:var(--merchant-panel-soft);border:1px solid #d0bb8f85;border-radius:10px;min-width:0;padding:.7rem}.merchant-trade-card__rates dt{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;font-size:.61rem;font-weight:800}.merchant-trade-card__rates dd{color:var(--ink);margin:.2rem 0 0;font-size:.72rem}.merchant-trade-card__rates dd b{color:#8a6516;font:700 1.15rem Fraunces,Georgia,serif}.merchant-trade-card--sell .merchant-trade-card__rates dd b{color:#39725a}.merchant-quantity{color:var(--muted);gap:.3rem;font-size:.68rem;font-weight:750;display:grid}.merchant-quantity input{box-sizing:border-box;width:100%;color:var(--ink);background:var(--merchant-panel-soft);border:1px solid #d8c79f;border-radius:9px;padding:.62rem .7rem;font-size:.92rem}.merchant-trade-button{cursor:pointer;border:0;border-radius:10px;gap:.16rem;width:100%;margin-top:auto;padding:.72rem .7rem;font-weight:800;display:grid;box-shadow:0 6px 15px #412b0f24}.merchant-trade-button span{font-size:.82rem}.merchant-trade-button b{opacity:.88;font-size:.72rem;font-weight:750}.merchant-trade-button:disabled{cursor:not-allowed;filter:saturate(.45);opacity:.45;box-shadow:none}.merchant-buy{color:#fff;background:linear-gradient(135deg,#a77d24,#75520e)}.merchant-sell{color:#fff;background:linear-gradient(135deg,#54856b,#2d614b)}.merchant-trade-card__empty-message{color:var(--muted);text-align:center;flex:1;align-content:center;justify-items:center;gap:.45rem;padding:1rem;display:grid}.merchant-trade-card__empty-message>span{color:#759682;background:var(--merchant-panel-soft);border:1px dashed #99aa9f;border-radius:50%;place-content:center;width:62px;height:62px;font-size:1.5rem;display:grid}.merchant-trade-card__empty-message strong{color:var(--forest-800);font:700 1rem Fraunces,Georgia,serif}.merchant-trade-card__empty-message p{margin:0;font-size:.72rem}.merchant-character{align-self:end;min-width:0;margin:0;padding:0 0 1.8rem;position:relative}.merchant-character__frame{background:#c69a52;border:3px solid #d8b56d;border-radius:48% 48% 12px 12px/15% 15% 12px 12px;position:relative;overflow:hidden;box-shadow:0 18px 38px #1e120961,0 0 0 1px #735020,inset 0 0 0 1px #ffffff8c}.merchant-character__frame:after{pointer-events:none;content:"";position:absolute;inset:0;box-shadow:inset 0 -35px 45px #3d260f2e}.merchant-character img{aspect-ratio:2/3;object-fit:cover;width:100%;display:block}.merchant-character figcaption{color:#f8e7be;letter-spacing:.04em;text-align:center;background:linear-gradient(#745424,#4d3517);border:1px solid #d5ae60;border-radius:6px;padding:.55rem .7rem;font:700 1rem Fraunces,Georgia,serif;position:absolute;bottom:.55rem;left:10%;right:10%;box-shadow:0 8px 18px #1d110752}.merchant-warning{color:#7b5b16;background:#fff7d8;border:1px solid #ecd9a0;border-radius:12px;margin:1.1rem 0 0;padding:.85rem 1rem;font-size:.8rem;line-height:1.6}@media (width<=1050px){.merchant-counter{grid-template-columns:1fr minmax(220px,.68fr) 1fr}.merchant-trade-card{min-height:400px}.merchant-trade-card__resource{padding:.55rem}.merchant-trade-card__resource .resource-svg{width:52px;height:52px}}@media (width<=820px){.merchant-page{width:min(100% - 1.25rem,1420px);padding-top:1rem}.merchant-hero{flex-direction:column;align-items:flex-start}.merchant-gold{box-sizing:border-box;width:100%}.merchant-counter{grid-template-columns:1fr 1fr;align-items:stretch}.merchant-character{grid-area:1/1/auto/3;justify-self:center;width:min(320px,74vw)}.merchant-trade-card{min-height:0}}@media (width<=560px){.merchant-counter{grid-template-columns:1fr}.merchant-character{grid-column:1;width:min(300px,82vw)}.merchant-trade-card--buy{grid-row:2}.merchant-trade-card--sell{grid-row:3}}:root[data-theme=dark] .merchant-counter{--merchant-panel:#1b2722f7;--merchant-panel-soft:#24382f}:root[data-theme=dark] .merchant-trade-card{border-color:#806b42;box-shadow:0 16px 35px #00000057,inset 0 0 0 3px #ffffff06}:root[data-theme=dark] .merchant-trade-card>header h2{color:#e2be70}:root[data-theme=dark] .merchant-trade-card--sell>header h2{color:#9bc5ad}:root[data-theme=dark] .merchant-trade-card__select .resource-select__trigger,:root[data-theme=dark] .merchant-trade-card__select .resource-select__menu,:root[data-theme=dark] .merchant-quantity input{color:var(--ink);background:var(--merchant-panel-soft);border-color:#5d654e}.admin-industry-list{gap:1rem;display:grid}.admin-industry-list>form{background:var(--paper);border:1px solid var(--border);box-shadow:0 8px 24px var(--shadow);border-radius:15px;padding:1.1rem}.admin-industry-list form>header,.admin-industry-list form>footer{justify-content:space-between;align-items:center;gap:1rem;display:flex}.admin-industry-list form>header div{flex-wrap:wrap;align-items:baseline;gap:.55rem;display:flex}.admin-industry-list form>header span{color:var(--muted);letter-spacing:.12em;font-size:.6rem}.admin-industry-list h2{color:var(--forest-800);margin:0;font:700 1.25rem Fraunces,Georgia,serif}.admin-industry-list form>p{color:var(--muted);font-size:.8rem}.admin-max-level{align-items:center;gap:.6rem;width:max-content;margin:.8rem 0;font-size:.75rem;font-weight:700;display:flex}.admin-max-level select,.admin-max-level input{border:1px solid var(--border);border-radius:7px;padding:.45rem}.admin-industry-levels{grid-template-columns:repeat(2,1fr);gap:.75rem;display:grid}.admin-industry-levels fieldset{border:1px solid var(--border);border-radius:10px;padding:.8rem}.admin-industry-levels legend{color:var(--forest-700);font-weight:800}.admin-industry-levels label{color:var(--muted);gap:.2rem;font-size:.67rem;display:grid}.admin-industry-levels input{border:1px solid var(--border);background:var(--surface-raised);border-radius:7px;min-width:0;padding:.45rem}.admin-cost-grid{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.45rem;margin-top:.65rem;display:grid}.admin-industry-list form>footer{border-top:1px solid var(--border);margin-top:1rem;padding-top:.8rem}.admin-industry-list form>footer button{color:#fff;background:var(--forest-700);border:0;border-radius:8px;padding:.65rem .85rem;font-weight:750}@media (width<=820px){.capital-industry-page{width:min(100% - 1.25rem,1320px);padding-top:1rem}.capital-industry-hero{flex-direction:column;align-items:flex-start}.capital-industry-hero>div:last-child{box-sizing:border-box;width:100%}.capital-electricity-grid{grid-template-columns:1fr 1fr}.admin-industry-levels{grid-template-columns:1fr}}.technology-node.is-locked{opacity:.55;filter:saturate(.45)}.technology-node.is-unlocked{background:#f4f9ef;border-color:#a9c7aa}.technology-node__branch{background:#c8cabb;width:11px;height:1px;position:absolute;top:50%;left:-12px}.technology-node__branch:before{content:"";border-top:1px solid #c8cabb;border-left:1px solid #c8cabb;width:6px;height:6px;position:absolute;top:-3px;left:0;transform:rotate(-45deg)}.technology-node__icon{color:#f4d78f;background:#315d4d;border-radius:9px;place-content:center;width:31px;height:31px;font-size:1rem;display:grid}.technology-node--agriculture .technology-node__icon{color:#e0d699;background:#607a3e}.technology-node--artisanat .technology-node__icon{color:#ead4aa;background:#806344}.technology-node--metallurgie .technology-node__icon{color:#d6e0de;background:#536965}.technology-node--alchimie .technology-node__icon{color:#d8d3ee;background:#675f7d}.technology-node--ingenierie .technology-node__icon{color:#d1e3e4;background:#376d75}.technology-node__copy{gap:1px;min-width:0;display:grid}.technology-node__copy small{color:#9b9e95;letter-spacing:.06em;text-overflow:ellipsis;text-transform:uppercase;white-space:nowrap;font-size:.43rem;font-weight:800;overflow:hidden}.technology-node__copy strong{text-overflow:ellipsis;white-space:nowrap;font-size:.64rem;overflow:hidden}.technology-node__copy em{color:#a57d32;font-size:.51rem;font-style:normal;font-weight:750}.technology-node.is-unlocked .technology-node__copy em{color:#4c8559}.technology-node__state{color:#9c8b68;background:#f0ecdf;border-radius:50%;place-content:center;width:18px;height:18px;font-size:.58rem;display:grid}.technology-node.is-unlocked .technology-node__state{color:#fff;background:#5c925f}.technology-tier__empty{color:#a6aaa2;margin:8px 4px;font-size:.58rem;line-height:1.4}.technology-detail{background:#fffdf8;border:1px solid #d9ded4;border-radius:17px;padding:21px;position:sticky;top:14px;overflow:hidden;box-shadow:0 16px 42px #2143351a}.technology-detail:before{content:"";background:#607a3e;height:4px;position:absolute;top:0;left:0;right:0}.technology-detail--artisanat:before{background:#806344}.technology-detail--metallurgie:before{background:#536965}.technology-detail--alchimie:before{background:#675f7d}.technology-detail--ingenierie:before{background:#376d75}.technology-detail__top{align-items:center;gap:12px;display:flex}.technology-detail__top>span{color:#f3d58c;background:var(--forest-800);border-radius:12px;flex:none;place-content:center;width:45px;height:45px;font-size:1.25rem;display:grid}.technology-detail__top small{color:#9a927d;text-transform:uppercase;font-size:.51rem;font-weight:750}.technology-detail h2{color:var(--forest-950);margin:3px 0 0;font-family:Fraunces,Georgia,serif;font-size:1.23rem;line-height:1.05}.technology-detail>p{color:var(--muted);margin:15px 0;font-size:.68rem;line-height:1.55}.technology-resource-unlock{background:#fbf5e4;border:1px solid #eadcb9;border-radius:11px;gap:7px;padding:12px;display:grid}.technology-resource-unlock small,.technology-recipes>header small,.technology-requires>small{color:#9c8960;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850}.technology-resource-unlock strong{align-items:center;gap:8px;font-size:.73rem;display:flex}.technology-resource-unlock strong span{color:#b58125;font-size:1rem}.technology-recipes{margin-top:16px}.technology-recipes>header{justify-content:space-between;align-items:center;margin-bottom:7px;display:flex}.technology-recipes>header span{color:#9ba19c;font-size:.49rem}.technology-recipes article{background:#fafbf6;border:1px solid #e3e6de;border-radius:9px;gap:6px;padding:9px 10px;display:grid}.technology-recipes article+article{margin-top:6px}.technology-recipes article>div{align-items:center;gap:7px;font-size:.66rem;display:flex}.technology-recipes article>div span{color:#5f806f}.technology-recipes article p{flex-wrap:wrap;gap:4px;margin:0;display:flex}.technology-recipes article p span{color:#7b7568;font-size:.49rem}.technology-recipes article p b{color:#c0b9a7;margin-right:4px;font-weight:400}.technology-requires{gap:7px;margin-top:15px;display:grid}.technology-requires>div{flex-wrap:wrap;gap:5px;display:flex}.technology-requires span{color:#8d6e63;background:#f6eae5;border-radius:6px;padding:5px 7px;font-size:.51rem}.technology-requires span.is-met{color:#4e7858;background:#e8f1e5}.technology-unlock{color:#fff;cursor:pointer;background:linear-gradient(135deg,#285f4d,#153e33);border:0;border-radius:9px;justify-content:space-between;align-items:center;width:100%;min-height:41px;margin-top:17px;padding:10px 13px;font-size:.65rem;font-weight:800;display:flex}.technology-unlock span{color:#f1cb75}.technology-unlock:disabled{color:#89908b;cursor:not-allowed;background:#e5e7e1;justify-content:center}.technology-complete{color:#386a49;background:#e7f1e3;border-radius:9px;align-items:center;gap:10px;margin-top:17px;padding:10px 12px;display:flex}.technology-complete>span{color:#fff;background:#5a8b5d;border-radius:50%;place-content:center;width:25px;height:25px;display:grid}.technology-complete div{display:grid}.technology-complete strong{font-size:.62rem}.technology-complete small{color:#6f8b74;font-size:.5rem}.technology-error{background:#fae9e5;border-radius:8px;padding:8px 10px;color:var(--error)!important;font-size:.58rem!important}@media (width<=680px){.technology-page .technology-treasury{width:100%;max-width:none}.technology-accordion{margin-inline:calc(var(--shell-gutter,16px) * -1);border-top:1px solid var(--border)}.technology-domain-panel{border-bottom:1px solid var(--border)}.technology-domain-panel__heading{margin:0}.technology-domain-panel__summary{width:100%;min-height:64px;padding:.65rem var(--shell-gutter,16px);color:var(--forest-900);background:var(--surface-raised);cursor:pointer;text-align:start;border:0;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:.75rem;display:grid;position:relative;overflow:hidden}.technology-domain-panel__summary:before{content:"";background:#b88755;width:3px;position:absolute;inset-block:0;inset-inline-start:0}.technology-domain-panel__summary--agriculture:before{background:#6d9a58}.technology-domain-panel__summary--nutrition:before{background:#c38b45}.technology-domain-panel__summary--industry:before{background:#647b85}.technology-domain-panel__summary--energy:before{background:#d0a532}.technology-domain-panel__icon{color:#f8e6b4;background:#536e63;border-radius:11px;place-content:center;width:38px;height:38px;font-size:1.05rem;display:grid}.technology-domain-panel__summary--agriculture .technology-domain-panel__icon{background:#607a3e}.technology-domain-panel__summary--nutrition .technology-domain-panel__icon{background:#92683e}.technology-domain-panel__summary--industry .technology-domain-panel__icon{background:#536965}.technology-domain-panel__summary--energy .technology-domain-panel__icon{background:#8a6f27}.technology-domain-panel__copy{gap:.12rem;min-width:0;display:grid}.technology-domain-panel__copy strong{font:700 1rem Fraunces,Georgia,serif}.technology-domain-panel__copy small{color:var(--muted);font-size:.68rem;font-weight:600}.technology-domain-panel__chevron{border-right:2px solid var(--muted);border-bottom:2px solid var(--muted);width:.55rem;height:.55rem;margin-inline-end:.2rem;transition:transform .15s;transform:rotate(45deg)translate(-25%,-25%)}.technology-domain-panel.is-open .technology-domain-panel__chevron{transform:rotate(-135deg)translate(-25%,-25%)}.technology-domain-panel__body{background:var(--surface-soft);padding:.15rem 0 .5rem}.technology-domain-panel .technology-tier{padding:1rem var(--shell-gutter,16px) 1.15rem}.technology-domain-panel .technology-tier+.technology-tier{border-top:1px dashed var(--border);background:0 0;border-left:0}.technology-domain-panel .technology-tier>header{min-height:0;margin:0 0 .75rem}.technology-domain-panel .technology-tier>header>span{width:32px;height:32px;font-size:.76rem}.technology-domain-panel .technology-tier>header small{font-size:.52rem;line-height:1.35}.technology-domain-panel .technology-tier>header strong{font-size:.92rem}.technology-domain-panel .technology-tier__nodes{gap:.65rem}.technology-domain-panel .technology-node{border-radius:13px;gap:.7rem;min-height:78px;padding:.7rem}.technology-domain-panel .technology-node:hover{transform:none}.technology-domain-panel .technology-node__icon,.technology-domain-panel .technology-node__icon .resource-svg{width:42px;height:42px}.technology-domain-panel .technology-node__copy{gap:.12rem}.technology-domain-panel .technology-node__copy small{font-size:.51rem}.technology-domain-panel .technology-node__copy strong{text-overflow:clip;white-space:normal;font-size:.82rem;line-height:1.25;overflow:visible}.technology-domain-panel .technology-node__copy em{font-size:.65rem}.technology-domain-panel .technology-node__state{width:24px;height:24px;font-size:.7rem}.technology-detail--inline{border-radius:13px;width:100%;margin:0;padding:1rem;position:relative;top:auto;box-shadow:0 8px 24px #21433517}.technology-detail--construction:before{background:#b88755}.technology-detail--agriculture:before{background:#6d9a58}.technology-detail--nutrition:before{background:#c38b45}.technology-detail--industry:before{background:#647b85}.technology-detail--energy:before{background:#d0a532}.technology-detail--inline .technology-detail__top>span,.technology-detail--inline .technology-detail__top .resource-svg{width:52px;height:52px}.technology-detail--inline .technology-detail__top small{font-size:.56rem;line-height:1.3}.technology-detail--inline h2{font-size:1.3rem}.technology-detail--inline>p{margin:.85rem 0;font-size:.82rem;line-height:1.55}.technology-detail--inline .technology-resource-unlock strong{font-size:.82rem}.technology-detail--inline .technology-recipes article>div{font-size:.78rem}.technology-detail--inline .technology-recipes article p span,.technology-detail--inline .technology-requires span{font-size:.65rem}.technology-detail--inline .technology-unlock{min-height:46px;font-size:.76rem}.technology-detail--inline .technology-complete strong{font-size:.75rem}.technology-detail--inline .technology-complete small{font-size:.62rem;line-height:1.4}}.leaderboard-page{width:min(100%,1120px);margin:0 auto;padding:clamp(42px,7vh,78px) 0 30px}.leaderboard-hero{justify-content:space-between;align-items:flex-end;gap:35px;display:flex}.leaderboard-hero>div:first-child{max-width:670px}.leaderboard-hero h1{color:var(--forest-950);letter-spacing:-.05em;margin:6px 0 13px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.7rem,5vw,4.5rem);font-weight:600;line-height:1}.leaderboard-hero>div:first-child>p:last-child{color:var(--muted);margin:0;line-height:1.6}.leaderboard-own-rank{background:linear-gradient(135deg,#fff9e7,#f4e6bd);border:1px solid #d7c48e;border-radius:16px;grid-template-columns:auto 1fr 1fr;align-items:center;gap:17px;min-width:330px;padding:18px 21px;display:grid;box-shadow:0 15px 35px #664e181a}.leaderboard-own-rank>span{font-size:2rem}.leaderboard-own-rank>div{gap:3px;display:grid}.leaderboard-own-rank small{color:#7d6c44;letter-spacing:.03em;text-transform:uppercase;font-size:.64rem;font-weight:700}.leaderboard-own-rank strong{color:#3a4f42;font-family:Fraunces,Georgia,serif;font-size:1.35rem}.leaderboard-own-rank sup{margin-left:1px;font-family:inherit;font-size:.55em}.leaderboard-tabs{flex-wrap:wrap;gap:9px;margin-top:30px;display:flex}.leaderboard-tabs button{color:var(--forest-800);cursor:pointer;background:#f8faf6;border:1px solid #ced7cd;border-radius:999px;padding:9px 15px;font-size:.72rem;font-weight:750}.leaderboard-tabs button.is-current{color:#fff;background:var(--forest-700);border-color:var(--forest-700)}.leaderboard-board{background:var(--paper);border:1px solid #d9ddd2;border-radius:19px;margin-top:19px;overflow:hidden;box-shadow:0 20px 50px #19413214}.leaderboard-board__heading{border-bottom:1px solid #e2e5dd;justify-content:space-between;align-items:center;gap:20px;padding:24px 28px;display:flex}.leaderboard-board__heading h2{color:var(--forest-950);margin:0 0 4px;font-family:Fraunces,Georgia,serif;font-size:1.45rem}.leaderboard-board__heading p{color:var(--muted);margin:0;font-size:.76rem}.leaderboard-refresh{color:#536d60;align-items:center;gap:11px;display:flex}.leaderboard-refresh>span{background:#e8f0e8;border-radius:50%;place-content:center;width:34px;height:34px;font-size:1.2rem;display:grid}.leaderboard-refresh>div{gap:2px;display:grid}.leaderboard-refresh small{color:var(--muted);font-size:.64rem}.leaderboard-refresh strong{font-size:.71rem}.leaderboard-table-wrap{overflow-x:auto}.leaderboard-table{border-collapse:collapse;width:100%}.leaderboard-table th{color:#7a857e;letter-spacing:.09em;text-align:left;text-transform:uppercase;background:#f6f7f2;padding:13px 24px;font-size:.62rem}.leaderboard-table th:first-child{text-align:center;width:90px}.leaderboard-table th:nth-child(4),.leaderboard-table th:last-child{text-align:right;width:150px}.leaderboard-table td{color:#526158;border-top:1px solid #e8eae4;padding:17px 24px;font-size:.8rem}.leaderboard-table tbody tr:first-child td{border-top:0}.leaderboard-table td:first-child{text-align:center}.leaderboard-table td:nth-child(4),.leaderboard-table td:last-child{color:var(--forest-800);text-align:right}.leaderboard-table td:nth-child(2)>strong{color:var(--forest-950)}.leaderboard-table .is-current-player td{background:#eef5e9}.leaderboard-table .is-current-player td:first-child{box-shadow:inset 4px 0 #7ca36e}.leaderboard-rank{color:#52685d;white-space:nowrap;font-size:.85rem}.leaderboard-you{color:#fff;letter-spacing:.04em;text-transform:uppercase;background:#538067;border-radius:10px;margin-left:9px;padding:3px 7px;font-size:.55rem;font-weight:800;display:inline-block}.leaderboard-pagination{border-top:1px solid #e2e5dd;justify-content:center;align-items:center;gap:15px;padding:19px 24px;display:flex}.leaderboard-pagination button{color:var(--forest-800);cursor:pointer;background:#f8faf6;border:1px solid #ced7cd;border-radius:8px;padding:8px 12px;font-size:.68rem;font-weight:700}.leaderboard-pagination button:disabled{opacity:.42;cursor:not-allowed}.leaderboard-pagination .leaderboard-my-page{color:#fff;background:var(--forest-700);border-color:var(--forest-700)}.leaderboard-pagination>span{color:var(--muted);font-size:.7rem}.leaderboard-loading,.leaderboard-error{text-align:center;border-radius:13px;margin-top:35px;padding:20px}.leaderboard-loading{color:var(--muted);background:#ffffff8c}.leaderboard-error{color:var(--error);background:#fae9e5}@font-face{font-family:Twemoji Country Flags;src:url(/assets/TwemojiCountryFlags-Bymva2JV.woff2)format("woff2");unicode-range:U+1F1E6-1F1FF;font-display:swap}.country-flag,.country-select__flag{font-family:Twemoji Country Flags,Apple Color Emoji,Segoe UI Emoji,Noto Color Emoji,Twemoji Mozilla,sans-serif}.country-flag{text-align:center;min-width:1.5em;margin-right:8px;font-size:1.05em;line-height:1;display:inline-block}.country-select{background:#ffffffbf;border:1px solid #d5d7cf;border-radius:10px;align-items:center;gap:10px;padding:0 15px;display:flex;position:relative;box-shadow:0 1px 2px #143a3008}.country-select:focus-within{border-color:var(--forest-700);box-shadow:0 0 0 3px #2e6b581c}.country-select__flag{font-size:1.15rem;line-height:1}.country-select select{min-width:0;height:47px;color:var(--ink);background:0 0;border:0;flex:1;font-family:inherit;font-size:.9rem}.country-select select:focus{outline:0}.country-select select:disabled{color:var(--muted);cursor:progress}.leaderboard-country-picker{gap:7px;max-width:420px;margin-top:22px;display:grid}.leaderboard-country-picker label,.leaderboard-country-picker>span:first-child{color:#33443e;font-size:.78rem;font-weight:700}.leaderboard-country-declaration{background:#ffffffbf;border:1px solid #d5d7cf;border-radius:10px;justify-content:space-between;align-items:center;gap:14px;padding:11px 15px;display:flex}.leaderboard-country-declaration strong{color:var(--ink);align-items:center;font-size:.95rem;display:flex}.leaderboard-country-declaration button{border:1px solid var(--forest-700);color:var(--forest-800);cursor:pointer;background:0 0;border-radius:999px;padding:8px 14px;font-size:.72rem;font-weight:750}.leaderboard-country-declaration button:hover{color:#fff;background:var(--forest-700)}.profile-page{width:min(100%,1120px);margin:0 auto;padding:clamp(42px,7vh,78px) 0 30px}.profile-hero{max-width:670px}.profile-hero h1{color:var(--forest-950);letter-spacing:-.05em;margin:6px 0 13px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.4rem,4.4vw,3.6rem);font-weight:600;line-height:1}.profile-hero>p:last-child{color:var(--muted);margin:0;line-height:1.6}.profile-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:19px;margin-top:30px;display:grid}.profile-card{background:var(--paper);border:1px solid #d9ddd2;border-radius:19px;min-width:0;padding:24px 26px;box-shadow:0 20px 50px #19413214}.profile-card--wide{grid-column:1/-1}.profile-card h2{color:var(--forest-950);margin:0 0 16px;font-family:Fraunces,Georgia,serif;font-size:1.3rem}.profile-card h3{color:var(--forest-900);margin:0 0 12px;font-size:.86rem;font-weight:750}.profile-card__lead{max-width:70ch;color:var(--muted);margin:-8px 0 18px;font-size:.86rem;line-height:1.6}.assistant-portrait{aspect-ratio:4/5;object-fit:cover;background:var(--surface-soft);border-radius:12px;width:100%;display:block}.assistant-portrait--fallback{color:var(--forest-800);place-items:center;font-family:Fraunces,Georgia,serif;font-size:2rem;font-weight:700;display:grid}.assistant-picker{grid-template-columns:repeat(auto-fit,minmax(min(100%,150px),1fr));gap:14px;margin:0;padding:0;list-style:none;display:grid}.assistant-card{border:1px solid var(--border);background:var(--surface-raised);width:100%;color:inherit;cursor:pointer;font:inherit;text-align:center;border-radius:16px;gap:7px;padding:12px 12px 15px;transition:border-color .15s,box-shadow .15s,transform .15s;display:grid;position:relative}.assistant-card:hover:not(:disabled){border-color:var(--forest-700);transform:translateY(-2px)}.assistant-card:disabled{cursor:wait;opacity:.65}.assistant-card.is-selected{border-color:var(--forest-700);box-shadow:0 0 0 2px var(--forest-700) inset, 0 14px 34px var(--shadow)}.assistant-card strong{color:var(--forest-900);font-family:Fraunces,Georgia,serif;font-size:1.05rem}.assistant-card small{color:var(--muted);font-size:.72rem;line-height:1.45}.assistant-card__badge{top:9px;background:var(--forest-700);color:#f8fbf8;letter-spacing:.06em;text-transform:uppercase;border-radius:999px;padding:2px 8px;font-size:.6rem;font-weight:700;position:absolute;inset-inline-end:9px}.assistant-choice{z-index:60;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e30289e;justify-content:center;align-items:flex-start;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.assistant-choice__panel{border:1px solid var(--border);background:var(--paper);text-align:center;border-radius:22px;width:min(980px,100%);margin:auto 0;padding:28px 30px 26px;box-shadow:0 30px 70px #00000059}.assistant-choice__panel h1{color:var(--forest-950);margin:0 0 8px;font-family:Fraunces,Georgia,serif;font-size:1.65rem;line-height:1.15}.assistant-choice__lead{color:var(--muted);margin:0 0 22px;font-size:.86rem;line-height:1.55}.assistant-choice__submit{color:#f8fbf8;cursor:pointer;width:100%;font:inherit;background:linear-gradient(135deg,#205946,#153e33);border:0;border-radius:12px;margin-top:22px;padding:13px 20px;font-weight:700}.assistant-choice__submit:disabled{cursor:not-allowed;opacity:.55}.assistant-choice__help{color:var(--muted);margin:14px 0 0;font-size:.72rem}.tutorial-guide__head{justify-content:flex-start}.tutorial-guide__portrait{border-radius:9px;flex:none;width:40px;height:50px}.tutorial-guide__collapse{margin-inline-start:auto}.capital-limit-alert__portrait{border-radius:10px;flex:none;width:56px;height:70px}.confirm-dialog{z-index:80;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e30289e;justify-content:center;align-items:center;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.confirm-dialog__panel{border:1px solid var(--border);background:var(--paper);border-radius:20px;grid-template-columns:auto 1fr;gap:.9rem 1.15rem;width:min(540px,100%);margin:auto 0;padding:1.5rem 1.6rem 1.4rem;display:grid;box-shadow:0 30px 70px #00000059}.confirm-dialog__portrait{border-radius:12px;flex:none;width:84px;height:105px}.confirm-dialog__body{align-content:start;gap:.55rem;display:grid}.confirm-dialog__body h2{color:var(--forest-950);margin:0;font-family:Fraunces,Georgia,serif;font-size:1.3rem;line-height:1.2}.confirm-dialog__body p{color:var(--ink);margin:0;font-size:.8rem;line-height:1.55}.confirm-dialog__body .confirm-dialog__warning{color:#7d3129;background:#fbeeec;border:1px solid #d8a49c;border-radius:10px;padding:.55rem .7rem;font-weight:700}.confirm-dialog__refund,.confirm-dialog__reward{border:1px dashed var(--border);background:var(--surface-soft);border-radius:10px;padding:.55rem .7rem}.confirm-dialog__refund small,.confirm-dialog__reward small{color:var(--muted);font-size:.66rem;font-weight:700}.confirm-dialog__refund p,.confirm-dialog__reward p{color:var(--muted);flex-wrap:wrap;gap:.45rem;margin:.3rem 0 0;font-size:.72rem;display:flex}.confirm-dialog__refund span,.confirm-dialog__reward span{align-items:center;gap:.3rem;display:flex}.confirm-dialog__refund .resource-svg,.confirm-dialog__reward .resource-svg{width:20px;height:20px}.confirm-dialog__actions{border-top:1px solid var(--border);grid-column:1/-1;justify-content:flex-end;gap:.6rem;padding-top:.95rem;display:flex}.confirm-dialog__actions button{border:1px solid var(--border);color:var(--ink);background:var(--surface-raised);cursor:pointer;font:inherit;border-radius:10px;padding:.62rem 1.05rem;font-weight:700}.confirm-dialog__actions button:disabled{cursor:not-allowed;opacity:.55}.confirm-dialog__actions .confirm-dialog__confirm{color:#f8fbf8;background:linear-gradient(135deg,#205946,#153e33);border-color:#0000}.confirm-dialog__actions .confirm-dialog__confirm.is-danger{background:linear-gradient(135deg,#a24a40,#7d3129)}@media (width<=520px){.confirm-dialog__panel{text-align:center;grid-template-columns:1fr;justify-items:center}.confirm-dialog__actions{justify-content:stretch}.confirm-dialog__actions button{flex:1}}:root[data-theme=dark] .confirm-dialog{background:#000000ad}:root[data-theme=dark] .confirm-dialog__panel{background:var(--surface-raised)}:root[data-theme=dark] .confirm-dialog__body .confirm-dialog__warning{color:#f4c3ba;background:#3d2723;border-color:#7d453c}:root[data-theme=dark] .confirm-dialog__actions .confirm-dialog__cancel{color:#bcd6c9;background:#263b33;border-color:#48665a}:root[data-theme=dark] .assistant-card{background:var(--surface-raised)}:root[data-theme=dark] .assistant-choice{background:#000000ad}:root[data-theme=dark] .assistant-choice__panel{background:var(--surface-raised)}@media (width<=520px){.assistant-choice__panel{padding:20px 16px 18px}.assistant-picker{grid-template-columns:1fr}.assistant-card{text-align:start;grid-template-columns:auto 1fr;align-items:center;gap:4px 14px}.assistant-card .assistant-portrait{grid-row:1/3;width:66px}.assistant-card strong{align-self:end}.assistant-card small{align-self:start}.assistant-card__badge{grid-column:2;justify-self:start;margin-top:4px;position:static}}.profile-identity{gap:13px;margin:0 0 14px;display:grid}.profile-identity>div{gap:3px;display:grid}.profile-identity dt{color:#858d87;letter-spacing:.03em;text-transform:uppercase;font-size:.68rem;font-weight:700}.profile-identity dd{color:var(--ink);overflow-wrap:break-word;margin:0;font-size:.95rem}.profile-badge{color:#7d6c44;background:#f6ecd0;border-radius:999px;padding:4px 11px;font-size:.7rem;font-weight:750;display:inline-block}.profile-badge.is-verified{color:#26603f;background:#dff0e2}.profile-field{gap:7px;min-width:0;display:grid}.profile-field>*{min-width:0}.profile-field label{color:#33443e;font-size:.78rem;font-weight:700}.profile-field textarea{box-sizing:border-box;width:100%;color:var(--ink);resize:vertical;background:#ffffffbf;border:1px solid #d5d7cf;border-radius:10px;padding:12px 15px;font-family:inherit;font-size:.9rem;line-height:1.55}.profile-field textarea:focus{border-color:var(--forest-700);outline:0;box-shadow:0 0 0 3px #2e6b581c}.profile-field textarea:disabled{color:var(--muted);cursor:progress}.suggestion-form{gap:15px;display:grid}.suggestion-form__footer{justify-content:space-between;align-items:baseline;gap:14px;display:flex}.suggestion-form__count{color:#a3a7a2;font-variant-numeric:tabular-nums;font-size:.7rem}.suggestion-form__submit{color:#fff8e8;background:var(--forest-700);cursor:pointer;border:0;border-radius:999px;justify-self:start;align-items:center;gap:9px;padding:12px 22px;font-family:inherit;font-size:.8rem;font-weight:750;display:inline-flex}.suggestion-form__submit:disabled{cursor:not-allowed;background:#b3c2b8}.suggestion-history{border-top:1px solid #e2e5dd;margin-top:26px;padding-top:20px}.suggestion-history ul{gap:13px;margin:0;padding:0;list-style:none;display:grid}.suggestion-history li{background:#ffffff8c;border:1px solid #e2e5dd;border-radius:13px;padding:13px 16px}.suggestion-history time{color:#858d87;letter-spacing:.03em;text-transform:uppercase;font-size:.68rem;font-weight:700}.suggestion-history p{color:var(--ink);white-space:pre-wrap;overflow-wrap:anywhere;margin:5px 0 0;font-size:.88rem;line-height:1.55}.gems-card{gap:20px;display:grid}.gems-card h2{margin:0}.gems-balance{align-items:baseline;gap:10px;display:flex}.gems-balance__figure{border-radius:11px;place-content:center;align-self:center;width:38px;height:38px;display:grid;overflow:hidden}.gems-balance__figure img{object-fit:cover;width:38px;height:38px;display:block}.gems-balance__count{color:var(--forest-950);font-variant-numeric:tabular-nums;font-family:Fraunces,Georgia,serif;font-size:2.1rem;line-height:1}.gems-balance__unit{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.82rem;font-weight:700}.gems-card .profile-card__lead{margin:0}.gems-premium{border-top:1px solid #e2e5dd;gap:9px;padding-top:18px;display:grid}.gems-premium p{color:var(--ink);margin:0;font-size:.88rem;line-height:1.55}.gems-premium__buy{color:#f3ecff;cursor:pointer;background:linear-gradient(135deg,#6b4ea8,#3f2f63);border:0;border-radius:999px;justify-self:start;align-items:center;gap:9px;padding:11px 20px;font-family:inherit;font-size:.8rem;font-weight:750;display:inline-flex}.gems-premium__buy:disabled{cursor:not-allowed;background:#b3aec2}.gems-inline-icon{object-fit:cover;border-radius:6px;width:20px;height:20px;display:block}.referral-panel{border-top:1px solid #e2e5dd;gap:12px;padding-top:18px;display:grid}.referral-panel h3{margin:0}.referral-panel>p{color:var(--ink);margin:0;font-size:.88rem;line-height:1.55}.referral-codes{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));gap:15px;display:grid}.referral-copy{gap:8px;display:flex}.referral-copy input{box-sizing:border-box;min-width:0;color:var(--ink);font-variant-numeric:tabular-nums;letter-spacing:.04em;background:#ffffffbf;border:1px solid #d5d7cf;border-radius:10px;flex:1;padding:11px 14px;font-family:inherit;font-size:.9rem}.referral-copy button{border:1px solid var(--forest-700);color:var(--forest-700);cursor:pointer;background:0 0;border-radius:10px;flex:none;padding:0 16px;font-family:inherit;font-size:.76rem;font-weight:750}.referral-copy button:hover{color:#fff8e8;background:var(--forest-700)}.referral-list{gap:10px;margin:0;padding:0;list-style:none;display:grid}.referral-list li{background:#ffffff8c;border:1px solid #e2e5dd;border-radius:13px;flex-wrap:wrap;align-items:baseline;gap:10px;padding:12px 15px;display:flex}.referral-list li.is-rewarded{background:#6b4ea812;border-color:#c6b6e4}.referral-list__name{color:var(--forest-950);font-size:.88rem;font-weight:750}.referral-list__status{color:#63716a;letter-spacing:.03em;text-transform:uppercase;background:#eef1e8;border-radius:999px;padding:3px 9px;font-size:.62rem;font-weight:750}.referral-list li.is-rewarded .referral-list__status{color:#4b3a72;background:#e6dcf7}.referral-list__progress,.referral-list__reward{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.78rem}.referral-list__reward{color:#6b4ea8;font-weight:750}.referral-list time{color:#858d87;letter-spacing:.03em;text-transform:uppercase;margin-inline-start:auto;font-size:.68rem;font-weight:700}@media (width<=1260px){.technology-layout{display:block;overflow-x:auto}.technology-tree{width:100%}.technology-detail{box-sizing:border-box;width:min(100%,600px);margin-top:16px;position:relative;top:auto}:root{--player-account-width:186px}.player-header{gap:10px}.player-header__account{padding:6px 8px}.player-header__navigation button,.player-header__navigation a{margin-left:3px;padding-left:8px;padding-right:8px}.player-header__account button{padding-left:8px;padding-right:8px}}@media (width<=1040px){.auth-shell{grid-template-columns:minmax(400px,.9fr) minmax(450px,1.1fr)}.auth-story__content{width:84%}.story-features{gap:12px;display:grid}.auth-story h1{font-size:clamp(3.2rem,7vw,4.8rem)}.world-grid,.owned-islands{grid-template-columns:repeat(2,minmax(0,1fr))}.island-offers{grid-template-columns:repeat(3,minmax(0,1fr))}.game-layout{grid-template-columns:minmax(0,1fr) 340px}.admin-layout{grid-template-columns:1fr;gap:25px}.admin-nav{padding-bottom:4px;display:flex;position:static;overflow-x:auto}.admin-nav>p{display:none}.admin-nav a{flex:none}.admin-ship-form__stats{grid-template-columns:repeat(3,minmax(0,1fr))}}@media (width>=821px) and (height<=850px){.auth-story__content{padding-top:24px;padding-bottom:280px}.auth-story__content>.eyebrow{margin-top:30px}.auth-story h1{font-size:clamp(3rem,5.3vw,4.4rem)}.story-copy{margin:18px 0 20px;line-height:1.55}.story-features{gap:clamp(12px,2vw,24px);display:flex}.story-features li{min-width:0}.auth-assistants-art{height:min(300px,38vh);bottom:30px}.auth-assistants-art img{width:auto;max-width:none;height:100%}}@media (width<=820px){.auth-shell{display:block}.auth-story{display:none}.auth-panel{min-height:100vh;padding:30px 24px 18px}.auth-card__mobile-brand{display:block}.auth-card__heading{margin-top:36px}.player-shell{--shell-gutter:22px}.welcome-card{flex-direction:column;align-items:flex-start}.world-card{grid-template-columns:auto 1fr}.world-card>button{grid-column:1/-1}.world-grid{grid-template-columns:1fr}.archipelago__heading,.island-market__heading{flex-direction:column;align-items:flex-start}.island-market__actions{justify-content:space-between;width:100%;max-width:none}.island-offers{grid-template-columns:repeat(2,minmax(0,1fr))}.world-tile__body>p{min-height:auto}.game-layout{flex-direction:column;display:flex}.island-board{min-height:500px}.tutorial-panel,.management-panel{border-top:1px solid #daddd3;border-left:0}.technology-page{padding-top:30px}.technology-hero{flex-direction:column;align-items:flex-start;gap:20px}.technology-treasury{box-sizing:border-box;width:min(100%,280px)}.technology-filters{flex-wrap:nowrap;padding-bottom:4px;overflow-x:auto}.technology-filters button{flex:none}.leaderboard-hero{flex-direction:column;align-items:flex-start}.leaderboard-own-rank{box-sizing:border-box;width:min(100%,420px);min-width:0}.admin-header{padding:0 22px}.admin-header__account>div,.admin-badge{display:none}.admin-layout{width:calc(100% - 36px);padding-top:30px}.admin-page__heading{flex-direction:column;align-items:flex-start;gap:15px}.admin-page__heading>p{text-align:left}.admin-summary,.admin-section-grid{grid-template-columns:1fr}.admin-island-overview{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-ship-form__identity{grid-template-columns:1fr}.fleet-page,.capital-page,.capital-industry-page{width:100%;padding-top:1.6rem}.technology-page,.profile-page,.leaderboard-page,.archipelago{padding-top:26px}.archipelago__heading h1,.leaderboard-hero h1,.technology-hero h1{letter-spacing:-.035em;font-size:2.15rem;line-height:1.06}.capital-hero h1,.capital-industry-hero h1,.game-topbar h1{font-size:1.95rem}.archipelago__heading{gap:16px;margin-bottom:22px}.leaderboard-hero,.technology-hero{gap:18px}.leaderboard-tabs{gap:7px;margin-top:20px;display:grid}.leaderboard-tabs button{text-align:start;border-radius:12px;min-height:44px}.technology-filters button{min-height:42px;padding:9px 13px;font-size:.68rem}.capital-domain-tab{min-height:44px}.rename-control__open{width:2.3rem;height:2.3rem}.island-back-button{min-height:40px;padding:9px 12px}.boost-help>button{width:28px;height:28px;font-size:.68rem}.leaderboard-pagination button{min-height:40px;padding:10px 14px}.island-market__help>button{width:36px;height:36px;font-size:.8rem}.map-controls button{width:44px;height:40px;font-size:1rem}.island-sell-button{width:44px;height:44px;font-size:1.3rem}.archipelago__heading{flex-flow:wrap;align-items:flex-start}.archipelago__heading>div:first-child{flex:100%}.archipelago__heading>.archipelago-wallet{flex:130px;width:auto;min-width:0}}@media (width<=1040px){.game-clock{margin-inline:calc(var(--shell-gutter,0px) * -1);padding-inline:var(--shell-gutter,0px);gap:2px 8px}.game-clock__label{font-size:.52rem}.game-clock__value{font-size:.74rem}.player-header{z-index:60;min-height:0;margin-inline:calc(var(--shell-gutter,0px) * -1);padding:9px var(--shell-gutter,0px);background:var(--cream);grid-template-columns:auto minmax(0,1fr) auto;gap:10px;position:sticky;top:0}.game-shell>.player-header{background:#edf0e6}.player-header__compact-meter{min-width:0;display:block}.player-header__compact-meter .play-time-meter{max-width:180px;margin-inline-start:auto}.player-header__compact-meter .play-time-meter progress{display:none}.player-header__compact-meter .play-time-meter small{clip:rect(0, 0, 0, 0);border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}.player-header__menu-toggle{border:1px solid var(--border);background:var(--surface-raised);cursor:pointer;border-radius:11px;place-content:center;width:44px;height:44px;padding:0;display:grid;position:relative}.player-header__menu-bars{position:relative}.player-header__menu-bars,.player-header__menu-bars:before,.player-header__menu-bars:after{background:var(--forest-800);border-radius:2px;width:18px;height:2px;display:block}.player-header__menu-bars:before,.player-header__menu-bars:after{content:"";position:absolute;left:0}.player-header__menu-bars:before{top:-6px}.player-header__menu-bars:after{top:6px}.player-header__menu-toggle.has-badge:after{border:2px solid var(--surface-raised);background:var(--gold);content:"";border-radius:50%;width:9px;height:9px;position:absolute;top:5px;right:5px}.player-header__panel{z-index:1200;width:min(330px,88vw);padding-bottom:max(18px, env(safe-area-inset-bottom));border-inline-start:1px solid var(--border);background:var(--paper);box-shadow:-18px 0 44px var(--shadow);visibility:hidden;flex-direction:column;transition:transform .22s,visibility .22s;display:flex;position:fixed;inset-block:0;inset-inline-end:0;overflow-y:auto;transform:translate(100%)}[dir=rtl] .player-header__panel{box-shadow:18px 0 44px var(--shadow);transform:translate(-100%)}.player-header.is-menu-open .player-header__panel{visibility:visible;transform:translate(0)}.player-header__panel-head{z-index:1;border-bottom:1px solid var(--border);background:var(--paper);justify-content:space-between;align-items:center;gap:10px;padding:13px 14px;display:flex;position:sticky;top:0}.player-header__panel-head p{color:var(--muted);letter-spacing:.14em;text-transform:uppercase;margin:0;font-size:.6rem;font-weight:800}.player-header__menu-close{border:1px solid var(--border);width:38px;height:38px;color:var(--forest-800);background:var(--surface-raised);cursor:pointer;border-radius:10px;place-content:center;padding:0;font-size:.85rem;display:grid}.player-header__navigation{gap:3px;padding:11px;display:grid;overflow-x:visible}.player-header__navigation .worlds-link{text-align:start;border:1px solid #0000;border-radius:10px;align-items:center;gap:11px;width:100%;min-height:48px;margin:0;padding:10px 11px;font-size:.83rem;display:flex}.player-header__navigation .worlds-link__icon{width:30px;height:30px;color:var(--forest-700);background:var(--surface-soft);border-radius:8px;flex:none;place-content:center;font-size:.85rem;display:grid}.player-header__navigation .worlds-link.is-current .worlds-link__icon{color:#fff8e8;background:var(--forest-700)}.player-header__navigation .worlds-link__label{min-width:0}.player-header__account{background:var(--surface-soft);width:auto;margin:0 11px;padding:12px}.player-header__account .account-copy{display:grid}.player-header__account>.play-time-meter{display:none}.player-header__account button{min-height:44px}.player-header__scrim{z-index:1100;opacity:0;pointer-events:none;background:#10262073;border:0;width:100%;height:100%;padding:0;transition:opacity .22s;display:block;position:fixed;inset:0}.player-header.is-menu-open .player-header__scrim{opacity:1;pointer-events:auto}:root[data-theme=dark] .game-shell>.player-header{background:#101d19}:root[data-theme=dark] .player-header__navigation .worlds-link.is-current .worlds-link__icon{color:#10241d}:root[data-theme=dark] .player-header__scrim{background:#0000008c}}@media (width<=520px){.auth-panel{justify-content:flex-start;padding:24px 18px 14px}.auth-card{margin-top:0}.auth-card__heading h2{font-size:2rem}.player-shell{--shell-gutter:16px}.welcome-card{margin-top:45px;padding:30px 24px}.world-card{padding:24px}.world-selection{padding-top:48px}.archipelago{padding-top:30px}.owned-islands,.island-offers{grid-template-columns:1fr}.island-market__actions,.island-market__refresh-control{width:100%}.island-market__refresh{flex:1}.archipelago-wallet{width:100%}.world-selection__heading h1{font-size:2.3rem}.world-tile__landscape{height:150px}.game-shell{--shell-gutter:14px}.game-topbar{flex-direction:column;align-items:flex-start;padding:27px 0}.resource-bar{width:100%}.resource-bar>div{flex:1}.island-board{min-height:380px}.play-island{inset:16% 4% 16% 3%}.play-mine{transform:scale(.75)}.technology-detail{padding:18px}.leaderboard-page,.profile-page{padding-top:30px}.profile-card{padding:19px 17px}.archipelago__heading h1,.leaderboard-hero h1,.profile-hero h1,.technology-hero h1{font-size:1.95rem}.capital-hero h1,.capital-industry-hero h1,.game-topbar h1{font-size:1.75rem}.archipelago__heading p:last-child,.leaderboard-hero>div:first-child>p:last-child,.technology-hero>div:first-child>p:last-child,.capital-hero p,.capital-industry-hero p{font-size:.84rem;line-height:1.55}.capital-hero,.capital-industry-hero{padding:1.4rem}.leaderboard-own-rank{grid-template-columns:auto 1fr 1fr;padding:15px}.leaderboard-board__heading{flex-direction:column;align-items:flex-start;padding:20px}.leaderboard-table thead{display:none}.leaderboard-table,.leaderboard-table tbody,.leaderboard-table tr,.leaderboard-table td{box-sizing:border-box;width:100%;display:block}.leaderboard-table tr{border-top:1px solid #e2e5dd;grid-template-columns:72px 1fr;padding:13px 15px;display:grid}.leaderboard-table tbody tr:first-child{border-top:0}.leaderboard-table td{border:0;padding:4px 8px;text-align:left!important}.leaderboard-table td:first-child{grid-row:1/5;align-content:center}.leaderboard-table td:nth-child(3){color:var(--muted);font-size:.68rem}.leaderboard-table td:nth-child(4),.leaderboard-table td:last-child{font-size:.75rem}.leaderboard-table .is-current-player td:first-child{box-shadow:none}.leaderboard-pagination{flex-wrap:wrap;gap:9px;padding:16px}.leaderboard-pagination>span{text-align:center;order:-1;width:100%}.admin-header__brand>span,.admin-header__account>a{display:none}.admin-header{min-height:70px}.admin-layout{width:calc(100% - 24px)}.admin-nav a{padding:9px 11px}.admin-page__heading h1{font-size:2.45rem}.admin-section-grid>a{grid-template-columns:auto minmax(0,1fr);padding:20px}.admin-section-grid>a>b{display:none}.admin-panel{padding:17px}.admin-panel__heading{flex-direction:column;align-items:stretch}.admin-panel__heading label{min-width:0}.admin-actions article{grid-template-columns:auto minmax(0,1fr)}.admin-actions button{grid-column:1/-1;width:100%}.admin-ship-form__stats{grid-template-columns:1fr 1fr}.admin-ship-list form>header,.admin-ship-list form>footer{flex-direction:column;align-items:flex-start}.admin-ship-list form>footer button{width:100%}}.capital-card__stocks>span,.capital-resource-strip>span,.cargo-pill,.route-operations li>span:last-child,.route-ship__cargo>span,.offer-costs span,.resource-inline-amount{align-items:center;gap:.3rem;display:inline-flex}.capital-card__stocks .resource-svg{width:1.75em;height:1.75em}.capital-resource-strip .resource-svg{width:1.55em;height:1.55em}.island-card__stats .resource-svg{width:1.8em;height:1.8em}.offer-capacities .resource-svg{grid-row:1/3;align-self:center;width:2.25em;height:2.25em;margin-right:.15rem}.offer-costs .resource-svg,.cargo-pill .resource-svg,.route-ship__cargo .resource-svg{width:1.75em;height:1.75em}.resource-stock__heading>span{align-items:center;gap:.4rem;display:inline-flex}.resource-stock__heading .resource-svg{width:2em;height:2em}.resource-svg.production-icon{width:36px;height:36px;color:inherit;background:0 0;border-radius:0;padding:0;display:block}.resource-svg.resource-png.production-icon{border-radius:50%}.resource-cost-list{flex-wrap:wrap;justify-content:center;align-items:center;gap:.35rem .65rem;display:inline-flex}.resource-cost-list>span{align-items:center;gap:.25rem;display:inline-flex}.resource-cost-list .resource-svg{width:1.7em;height:1.7em}.resource-inline-amount+.resource-inline-amount{margin-left:.35rem}.resource-inline-amount>b{color:currentColor;opacity:.5;margin-right:.05rem;font-weight:400}.shipyard-stocks{flex-wrap:wrap;justify-content:flex-end;gap:.4rem .75rem;margin:0;padding:0;list-style:none;display:flex}.shipyard-stocks>li{background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.35rem;padding:.3rem .6rem;font-size:.74rem;display:inline-flex}.shipyard-stocks .resource-svg{width:1.7em;height:1.7em}.shipyard-stocks strong{color:var(--forest-900);font-weight:750}.shipyard-stocks span{color:var(--muted)}.ship-price .resource-svg,.route-operations .resource-svg{width:1.7em;height:1.7em}.technology-treasury>.resource-svg{grid-row:1/3;width:40px;height:40px}.technology-node__icon{width:36px;height:36px;color:inherit;background:0 0}.technology-node__icon .resource-svg{width:36px;height:36px}.technology-icon{object-fit:cover;border-radius:50%;width:100%;height:100%;display:block;box-shadow:0 1px 4px #122d243d}.technology-icon--fallback{color:#f1d58d;background:var(--forest-800);place-items:center;display:grid}.technology-node__copy em{align-items:center;gap:3px;display:inline-flex}.technology-node__copy em .resource-svg{width:1.55em;height:1.55em}.technology-detail__top>span{width:48px;height:48px;color:inherit;background:0 0}.technology-detail__top .resource-svg{width:48px;height:48px}.technology-resource-unlock strong>.resource-svg{width:2.5em;height:2.5em}.technology-unlock .resource-svg{width:1.65em;height:1.65em}.language-switcher{right:max(78px, calc(env(safe-area-inset-right) + 60px));bottom:max(18px, env(safe-area-inset-bottom));z-index:1000;position:fixed}.language-switcher__trigger{color:#fff8e8;cursor:pointer;height:48px;font:inherit;background:#173f33;border:1px solid #153e3333;border-radius:999px;align-items:center;gap:.45rem;padding:0 .6rem 0 .8rem;font-weight:700;display:flex;box-shadow:0 10px 30px #0e30283d}.language-flag{background:#fff;border:1px solid #0000002e;border-radius:3px;flex:none;width:24px;height:16px;display:block;overflow:hidden;box-shadow:0 1px 2px #00000029}.language-switcher__trigger>span:nth-child(2){text-align:left;text-overflow:ellipsis;white-space:nowrap;width:min(152px,36vw);overflow:hidden}.language-switcher__chevron{transition:transform .16s}.language-switcher__trigger[aria-expanded=true] .language-switcher__chevron{transform:rotate(180deg)}body:has(.player-shell,.game-shell,.admin-shell,.admin-access-denied) .language-switcher__trigger{border-radius:50%;justify-content:center;width:48px;padding:0}body:has(.player-shell,.game-shell,.admin-shell,.admin-access-denied) .language-switcher__trigger>span:nth-child(2){display:none}body:has(.player-shell,.game-shell,.admin-shell,.admin-access-denied) .language-switcher__chevron{display:none}.language-switcher__menu{width:min(440px,100vw - 24px);max-height:min(64vh,520px);color:var(--ink);background:var(--paper);border:1px solid var(--border);scrollbar-width:thin;border-radius:16px;grid-template-columns:repeat(2,minmax(180px,1fr));padding:.45rem;display:grid;position:absolute;bottom:calc(100% + 10px);right:0;overflow-y:auto;box-shadow:0 18px 55px #0e30284d}.language-switcher__menu button{min-height:42px;color:inherit;cursor:pointer;font:inherit;text-align:left;background:0 0;border:0;border-radius:9px;grid-template-columns:24px minmax(0,1fr) 18px;align-items:center;gap:.65rem;padding:.55rem .65rem;display:grid}.language-switcher__menu button:hover,.language-switcher__menu button:focus-visible{background:var(--surface-soft);outline:none}.language-switcher__menu button.is-selected{color:var(--forest-800);background:var(--sage-100);font-weight:800}.language-switcher__menu button>span:nth-child(2){text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.language-switcher__check{text-align:center}:root[data-theme=dark] .language-switcher__trigger{color:#1b3028;background:#f0c96f;border-color:#ffffff29}[dir=rtl] .language-switcher{right:auto;left:max(78px, calc(env(safe-area-inset-left) + 60px))}[dir=rtl] .language-switcher__menu{left:0;right:auto}[dir=rtl] .language-switcher__trigger>span:nth-child(2),[dir=rtl] .language-switcher__menu button{text-align:right}[dir=rtl] .theme-toggle{right:auto;left:max(18px, env(safe-area-inset-left))}.theme-toggle{right:max(18px, env(safe-area-inset-right));bottom:max(18px, env(safe-area-inset-bottom));z-index:1000;color:#fff8e8;cursor:pointer;background:#173f33;border:1px solid #153e3333;border-radius:50%;place-content:center;width:48px;height:48px;padding:0;transition:background .16s,box-shadow .16s,transform .16s;display:grid;position:fixed;box-shadow:0 10px 30px #0e30283d}.theme-toggle:hover{transform:translateY(-2px);box-shadow:0 13px 34px #0e302852}.theme-toggle svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;grid-area:1/1;width:22px;height:22px;transition:opacity .15s,transform .2s}.theme-toggle__sun{opacity:0;transform:rotate(-35deg)scale(.65)}:root[data-theme=dark] .theme-toggle{color:#1b3028;background:#f0c96f;border-color:#ffffff29;box-shadow:0 10px 32px #00000061}:root[data-theme=dark] .theme-toggle__moon{opacity:0;transform:rotate(35deg)scale(.65)}:root[data-theme=dark] .theme-toggle__sun{opacity:1;transform:rotate(0)scale(1)}:root[data-theme=dark] .auth-panel{background:radial-gradient(circle at 70% 30%, #1a3028 0, transparent 48%), var(--cream)}:root[data-theme=dark] .auth-tabs,:root[data-theme=dark] .form-field input,:root[data-theme=dark] .country-select,:root[data-theme=dark] .player-header__account button,:root[data-theme=dark] .player-header__account a,:root[data-theme=dark] .route-form input,:root[data-theme=dark] .route-form select,:root[data-theme=dark] .route-ship-assignment select,:root[data-theme=dark] .route-editor input,:root[data-theme=dark] .route-editor select,:root[data-theme=dark] .admin-panel select,:root[data-theme=dark] .admin-panel input,:root[data-theme=dark] .profile-field textarea,:root[data-theme=dark] .leaderboard-country-declaration,:root[data-theme=dark] .admin-ship-list input{color:var(--ink);border-color:var(--border);background:#152620}:root[data-theme=dark] .google-button{color:var(--ink);background:var(--surface-raised);border-color:var(--border);box-shadow:0 2px 10px #00000047}:root[data-theme=dark] .google-button:hover{border-color:#3d6b53}:root[data-theme=dark] .auth-separator:before,:root[data-theme=dark] .auth-separator:after{background:var(--border)}:root[data-theme=dark] .google-identity{border-color:var(--border);background:#152620}:root[data-theme=dark] .google-identity__email{color:var(--ink)}:root[data-theme=dark] .auth-tabs button{color:var(--muted)}:root[data-theme=dark] .auth-tabs button.is-active{color:var(--ink);background:var(--surface-raised);box-shadow:0 2px 10px #00000047}:root[data-theme=dark] .form-field label,:root[data-theme=dark] .leaderboard-country-picker label,:root[data-theme=dark] .leaderboard-country-picker>span:first-child,:root[data-theme=dark] .profile-field label,:root[data-theme=dark] .terms-check{color:#bfd0c7}:root[data-theme=dark] .leaderboard-country-declaration button{color:#a8d3ba;border-color:#3d6b53}:root[data-theme=dark] .leaderboard-country-declaration button:hover{color:#10241d;background:#a8d3ba}:root[data-theme=dark] .profile-card{border-color:var(--border);background:var(--surface-raised);box-shadow:0 20px 50px #00000047}:root[data-theme=dark] .profile-identity dt,:root[data-theme=dark] .suggestion-history time{color:#94a79c}:root[data-theme=dark] .profile-badge{color:#ecd59a;background:#3b321f}:root[data-theme=dark] .profile-badge.is-verified{color:#9ed8b5;background:#1d3b2b}:root[data-theme=dark] .suggestion-history{border-color:var(--border)}:root[data-theme=dark] .suggestion-history li{border-color:var(--border);background:#ffffff0a}:root[data-theme=dark] .gems-balance__count{color:var(--ink)}:root[data-theme=dark] .gems-premium,:root[data-theme=dark] .referral-panel{border-color:var(--border)}:root[data-theme=dark] .referral-copy input{border-color:var(--border);color:var(--ink);background:#ffffff0d}:root[data-theme=dark] .referral-copy button{color:#a8d3ba;border-color:#3d6b53}:root[data-theme=dark] .referral-copy button:hover{color:#10241d;background:#a8d3ba}:root[data-theme=dark] .referral-list li{border-color:var(--border);background:#ffffff0a}:root[data-theme=dark] .referral-list li.is-rewarded{background:#8a6bc421;border-color:#5b4a86}:root[data-theme=dark] .referral-list__name{color:var(--ink)}:root[data-theme=dark] .referral-list__status{color:#b6c4bb;background:#ffffff12}:root[data-theme=dark] .referral-list li.is-rewarded .referral-list__status{color:#d8c8f7;background:#8a6bc43d}:root[data-theme=dark] .referral-list__reward{color:#c3aef0}:root[data-theme=dark] .referral-list time{color:#94a79c}:root[data-theme=dark] .gem-boost-control.is-ready .boost-copy strong{color:#c3aef0}:root[data-theme=dark] .country-select select{color:var(--ink);background:#152620}:root[data-theme=dark] .form-message--error{color:#ffaaa0;background:#452824}:root[data-theme=dark] .form-message--success{color:#9ed8b5;background:#1d3b2b}:root[data-theme=dark] .auth-story{background:radial-gradient(circle at 78% 12%,#ffe9a21a,#0000 25%),linear-gradient(146deg,#173f35 0%,#0e2821 65%,#091b17 100%)}:root[data-theme=dark] .player-shell{background:radial-gradient(circle at 80% 0, #4b7c6038, transparent 32%), var(--cream)}:root[data-theme=dark] .player-header,:root[data-theme=dark] .player-header__account{border-color:var(--border)}:root[data-theme=dark] .play-time-meter.is-warning{color:#ecd59a;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .play-time-meter.is-warning strong{color:#ecd59a}:root[data-theme=dark] .play-time-meter.is-exhausted{background:#422724;border-color:#68413b}:root[data-theme=dark] .play-time-meter.is-exhausted strong{color:#f0b48f}:root[data-theme=dark] .island-route-pill{color:#b6dcc4;background:#22392f;border-color:#35553f}:root[data-theme=dark] .island-route-pill.is-idle{color:#d2c48f;background:#3a3524;border-color:#5a5030}:root[data-theme=dark] .island-route-pill.is-idle>span{color:#c3ad6f}:root[data-theme=dark] .island-card__routes-empty{color:#f0b48f}:root[data-theme=dark] .worlds-link--admin{color:#f0c973!important;background:#342d1d!important;border-color:#68562c!important}:root[data-theme=dark] .worlds-link--technology{color:#e6bd64!important}:root[data-theme=dark] .world-tile,:root[data-theme=dark] .world-list-loading,:root[data-theme=dark] .world-empty,:root[data-theme=dark] .archipelago-wallet,:root[data-theme=dark] .island-card,:root[data-theme=dark] .island-offer,:root[data-theme=dark] .welcome-card,:root[data-theme=dark] .world-card,:root[data-theme=dark] .fleet-section,:root[data-theme=dark] .ship-card,:root[data-theme=dark] .route-list>.route-card,:root[data-theme=dark] .game-layout,:root[data-theme=dark] .tutorial-panel,:root[data-theme=dark] .management-panel,:root[data-theme=dark] .admin-summary article,:root[data-theme=dark] .admin-section-grid>a,:root[data-theme=dark] .admin-panel,:root[data-theme=dark] .admin-ship-list form,:root[data-theme=dark] .technology-treasury,:root[data-theme=dark] .technology-tree,:root[data-theme=dark] .technology-detail{color:var(--ink);background:var(--paper);border-color:var(--border);box-shadow:0 16px 42px var(--shadow)}:root[data-theme=dark] .world-tile dl,:root[data-theme=dark] .management-section+.management-section,:root[data-theme=dark] .admin-panel__heading,:root[data-theme=dark] .admin-ship-list form>header,:root[data-theme=dark] .admin-ship-list form>footer{border-color:var(--border)}:root[data-theme=dark] .world-tile dd,:root[data-theme=dark] .island-card__stats span,:root[data-theme=dark] .island-offer__position strong,:root[data-theme=dark] .ship-card h3,:root[data-theme=dark] .ship-card dd{color:#dbe9e2}:root[data-theme=dark] .world-tile__status,:root[data-theme=dark] .world-tile dt,:root[data-theme=dark] .island-card__title small,:root[data-theme=dark] .island-card__routes>small,:root[data-theme=dark] .island-card__stats small,:root[data-theme=dark] .island-card__stats em,:root[data-theme=dark] .island-offer__position,:root[data-theme=dark] .offer-costs>small,:root[data-theme=dark] .ship-card p,:root[data-theme=dark] .ship-card>small,:root[data-theme=dark] .ship-card__lines,:root[data-theme=dark] .ship-card dt{color:var(--muted)}:root[data-theme=dark] .island-card__title>b,:root[data-theme=dark] .island-card__stats>div,:root[data-theme=dark] .offer-capacities>span,:root[data-theme=dark] .ship-card dl div,:root[data-theme=dark] .starter-building,:root[data-theme=dark] .production-line,:root[data-theme=dark] .production-empty,:root[data-theme=dark] .construction-option,:root[data-theme=dark] .admin-island-overview>div,:root[data-theme=dark] .admin-actions article{color:var(--ink);background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .construction-option--paused{background:#2f2a1b;border-color:#6a5a2c}:root[data-theme=dark] .construction-option--paused .construction-option__pause-note{color:#e6c576}:root[data-theme=dark] .construction-option button.construction-option__pause{color:#cfe6d7;background:#23372d;border-color:#3a5145}:root[data-theme=dark] .construction-option--paused button.construction-option__pause{color:#f0d79a;background:#3d3520;border-color:#5b4d28}:root[data-theme=dark] .ship-card--owned dl div{background:0 0;border-color:#0000}:root[data-theme=dark] .offer-costs span,:root[data-theme=dark] .cargo-pill,:root[data-theme=dark] .ship-price,:root[data-theme=dark] .route-ship__cargo span{background:#3a311d;color:#ebc874!important}:root[data-theme=dark] .ship-status{color:#9edab9;background:#1d4434}:root[data-theme=dark] .ship-status--in_transit{color:#9bcce4;background:#1b3a49}:root[data-theme=dark] .route-card__header,:root[data-theme=dark] .route-ship-assignment,:root[data-theme=dark] .route-operations article,:root[data-theme=dark] .route-stop,:root[data-theme=dark] .route-ships>article,:root[data-theme=dark] .route-editor__preview,:root[data-theme=dark] .route-editor__assigned-ships,:root[data-theme=dark] .route-editor__assigned-ships article{color:var(--ink);background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .route-card__identity strong,:root[data-theme=dark] .route-card__details h3,:root[data-theme=dark] .route-operations article>header strong,:root[data-theme=dark] .route-ship__heading strong,:root[data-theme=dark] .route-ship__capacity strong{color:#dcebe4}:root[data-theme=dark] .route-card__identity small,:root[data-theme=dark] .route-form label,:root[data-theme=dark] .route-distance,:root[data-theme=dark] .route-ship-assignment label,:root[data-theme=dark] .route-operations li,:root[data-theme=dark] .route-ship__heading small,:root[data-theme=dark] .route-ship__capacity,:root[data-theme=dark] .route-hint,:root[data-theme=dark] .route-editor label{color:var(--muted)}:root[data-theme=dark] .route-card__actions button:last-child,:root[data-theme=dark] .route-ship-assignment button.secondary,:root[data-theme=dark] .ship-card .ship-card__detach,:root[data-theme=dark] .route-editor__assigned-ships .route-detach,:root[data-theme=dark] .route-stop .route-remove,:root[data-theme=dark] .route-transfer>button,:root[data-theme=dark] .route-editor__actions .secondary{color:#bcd6c9;background:#263b33;border-color:#48665a}@media (width<=800px){:root[data-theme=dark] .route-transfer{background:var(--surface-raised);border-color:var(--border)}}:root[data-theme=dark] .route-map{color:#a6d2d1;background:radial-gradient(circle at 25% 25%,#52867f38,#0000 32%),linear-gradient(145deg,#142c2c,#193839)}:root[data-theme=dark] .route-map__stop circle{fill:#182b25;stroke:#75b89e}:root[data-theme=dark] .route-map__stop-number,:root[data-theme=dark] .route-map__label{fill:#d9ebe4}:root[data-theme=dark] .route-map__label{stroke:#183231}:root[data-theme=dark] .route-map>p{color:#a7c4bc}:root[data-theme=dark] .route-map__legend li{color:#bcd8cf}:root[data-theme=dark] .route-map__legend b{color:#dcebe4;background:#2f6a58}:root[data-theme=dark] .route-editor__preview>header,:root[data-theme=dark] .route-editor__assigned-ships article{border-color:var(--border)}:root[data-theme=dark] .route-editor__preview>header h3,:root[data-theme=dark] .route-editor__assigned-ships h3,:root[data-theme=dark] .route-editor__assigned-ships article strong{color:#dcebe4}:root[data-theme=dark] .route-editor__preview>header small,:root[data-theme=dark] .route-editor__assigned-ships p,:root[data-theme=dark] .route-editor__assigned-ships article small{color:var(--muted)}:root[data-theme=dark] .route-stop__resources{color:var(--muted);background:#21352d}:root[data-theme=dark] .route-stop__resources>strong{color:#bcd6c9}:root[data-theme=dark] .route-stop__resources span{color:#c6d8cf;background:#263b33;border-color:#48665a}:root[data-theme=dark] .route-card__details h3>span,:root[data-theme=dark] .route-card__identity>span,:root[data-theme=dark] .route-ship__heading>span{color:#9bd1bc;background:#28453a}:root[data-theme=dark] .resource-select__trigger,:root[data-theme=dark] .resource-select__menu{color:#dcebe4;background:#1c2e28;border-color:#48665a}:root[data-theme=dark] .resource-select__menu button{color:#dcebe4}:root[data-theme=dark] .resource-select__menu button:hover,:root[data-theme=dark] .resource-select__menu button:focus-visible{background:#264036}:root[data-theme=dark] .resource-select__menu button.is-selected{color:#bcd6c9;background:#2f4f43}:root[data-theme=dark] .locked-resource-intro{color:var(--muted)}:root[data-theme=dark] .locked-resource{background:#1f2f28;border-color:#48665a}:root[data-theme=dark] .locked-resource strong{color:#dcebe4}:root[data-theme=dark] .locked-resource small,:root[data-theme=dark] .ship-upkeep{color:var(--muted)}:root[data-theme=dark] .ship-card__unfunded{color:#eaa79e;background:#3a2622;border-color:#6b4038}:root[data-theme=dark] .archipelago-wallet--alert{background:#3a2622;border-color:#6b4038}:root[data-theme=dark] .archipelago-wallet--alert>span,:root[data-theme=dark] .archipelago-wallet--alert strong{color:#eaa79e}:root[data-theme=dark] .rename-control__open{color:#bcd6c9;background:#263b33;border-color:#48665a}:root[data-theme=dark] .rename-control__open:hover:not(:disabled){background:#315145}:root[data-theme=dark] .rename-control input{color:#e4f0ea;background:#1c2e28;border-color:#48665a}:root[data-theme=dark] .rename-control small{color:#eaa79e}:root[data-theme=dark] .game-shell{background:#101d19}:root[data-theme=dark] .resource-bar>div{border-color:var(--border);background:#182722e6}:root[data-theme=dark] .tutorial-panel--complete{background:linear-gradient(#182722,#1c3028)}:root[data-theme=dark] .starter-building--candidate{background:#352f20;border-color:#6a5730}:root[data-theme=dark] .production-period{color:#b7c8c0;background:#263a32}:root[data-theme=dark] .instant-badge{color:#9dd2ae;background:#214331}:root[data-theme=dark] .resource-stock__track{background:#2b4037}:root[data-theme=dark] .management-message{color:#a4dab7;background:#1d432f}:root[data-theme=dark] .admin-shell{background:radial-gradient(circle at 90% 0,#4d775b33,#0000 31%),#101d19}:root[data-theme=dark] .admin-page__heading h1,:root[data-theme=dark] .admin-summary strong,:root[data-theme=dark] .admin-section-grid h2,:root[data-theme=dark] .admin-panel__heading h2,:root[data-theme=dark] .admin-island-overview strong,:root[data-theme=dark] .admin-actions h3,:root[data-theme=dark] .admin-ship-list code{color:#dceae3}:root[data-theme=dark] .admin-page__heading>p,:root[data-theme=dark] .admin-summary small,:root[data-theme=dark] .admin-section-grid p:last-child,:root[data-theme=dark] .admin-panel__heading label,:root[data-theme=dark] .admin-island-overview small,:root[data-theme=dark] .admin-actions p,:root[data-theme=dark] .admin-ship-list label,:root[data-theme=dark] .admin-ship-list form>footer small,:root[data-theme=dark] .admin-loading{color:var(--muted)}:root[data-theme=dark] .admin-ship-list form>header{background:var(--surface-soft)}:root[data-theme=dark] .admin-actions__danger{background:#342522!important;border-color:#66413a!important}:root[data-theme=dark] .admin-feedback--success{color:#a4dab7;background:#1d432f}:root[data-theme=dark] .admin-feedback--error,:root[data-theme=dark] .admin-error{color:#ffaaa0;background:#402522;border-color:#68413b}:root[data-theme=dark] .admin-access-denied{background:var(--cream)}:root[data-theme=dark] .admin-access-denied h1{color:var(--forest-950)}:root[data-theme=dark] .admin-access-denied p{color:var(--muted)}:root[data-theme=dark] .technology-filters button{color:#b5c7be;border-color:var(--border);background:#1b2d27}:root[data-theme=dark] .technology-filters button.is-active{color:#fff;background:#39755f;border-color:#70a991}:root[data-theme=dark] .technology-tier+.technology-tier,:root[data-theme=dark] .technology-tier:nth-child(4),:root[data-theme=dark] .technology-tier:nth-child(5){border-color:var(--border);background:#23372f85}:root[data-theme=dark] .technology-tier>header>span,:root[data-theme=dark] .technology-node__state{color:#d5bd82;background:#3b3526}:root[data-theme=dark] .technology-tier>header strong,:root[data-theme=dark] .technology-node{color:var(--ink)}:root[data-theme=dark] .technology-node,:root[data-theme=dark] .technology-recipes article{background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .technology-node.is-unlocked{background:#203729;border-color:#477b5a}:root[data-theme=dark] .technology-detail__top small,:root[data-theme=dark] .technology-node__copy small,:root[data-theme=dark] .technology-recipes>header span{color:var(--muted)}:root[data-theme=dark] .technology-treasury strong{color:#f0d38c}:root[data-theme=dark] .technology-treasury small,:root[data-theme=dark] .technology-treasury em{color:#bbaa85}:root[data-theme=dark] .technology-treasury .technology-progress{background:#3a362c}:root[data-theme=dark] .technology-resource-unlock{color:#f1e1b8;background:#372f1d;border-color:#62502a}:root[data-theme=dark] .technology-resource-unlock small,:root[data-theme=dark] .technology-recipes>header small,:root[data-theme=dark] .technology-requires>small{color:#d0b87e}:root[data-theme=dark] .technology-recipes article p span{color:#bcb5a4}:root[data-theme=dark] .technology-requires span{color:#dfaca1;background:#432c28}:root[data-theme=dark] .technology-requires span.is-met,:root[data-theme=dark] .technology-complete{color:#a8d5b0;background:#23402b}:root[data-theme=dark] .technology-complete small{color:#9ebca5}:root[data-theme=dark] .technology-unlock:disabled{color:#8d9b94;background:#2b3732}:root[data-theme=dark] .technology-error{background:#422724}:root[data-theme=dark] .capital-limit-alert{color:#ecd59a;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .capital-success{color:#a4dab7;background:#1d432f;border-color:#36664a}:root[data-theme=dark] .capital-needs-grid .is-satisfied,:root[data-theme=dark] .capital-housing-status__lines .is-satisfied{background:#203d2a;border-color:#477b5a}:root[data-theme=dark] .capital-needs-grid .is-missing,:root[data-theme=dark] .capital-housing-status__lines .is-missing{background:#422724;border-color:#68413b}:root[data-theme=dark] .capital-district-consumption tr.is-missing th,:root[data-theme=dark] .capital-district-consumption tr.is-missing td{color:#f0b48f}:root[data-theme=dark] .capital-industry-grid>article.is-blocked{background:#31251c;border-color:#6d4c33}:root[data-theme=dark] .industry-demolish>button{color:#e6a79e;background:#3a2724;border-color:#6d4640}:root[data-theme=dark] .capital-domain-tab.is-current,:root[data-theme=dark] .section-nav__link.is-current,:root[data-theme=dark] .section-nav__link.is-current .section-nav__copy strong,:root[data-theme=dark] .stock-picker__chip.is-current{color:#10231d}:root[data-theme=dark] .section-nav__link.is-current .section-nav__copy small{color:#10231db8}:root[data-theme=dark] .section-nav__link.is-current .section-nav__icon{color:#10231d;background:#10231d24}:root[data-theme=dark] .stock-picker__chip.is-current.is-missing{color:#2a0f0b}:root[data-theme=dark] .stock-panel__alert{color:#f4c3ba;background:#3d2723;border-color:#7d453c}:root[data-theme=dark] .stock-table .is-missing td{background:#33221f}:root[data-theme=dark] .stock-table td{color:#cfe0d8}:root[data-theme=dark] .stock-table th{color:#aabbb2;background:#1c2c26}:root[data-theme=dark] .stock-deliveries__cargo,:root[data-theme=dark] .stock-deliveries__time{color:#dcebe4}:root[data-theme=dark] .capital-domain-tab.is-current>em{color:#10231d;background:#ffffff6b}:root[data-theme=dark] .capital-electricity-section{background:linear-gradient(135deg,var(--paper),#2e2a1a)}:root[data-theme=dark] .capital-electricity-grid article{background:#0000003d;border-color:#5d5030}:root[data-theme=dark] .capital-electricity-grid article strong{color:#ecd08a}:root[data-theme=dark] .capital-electricity-grid article.is-housing{background:#203d2a8c;border-color:#41705a}:root[data-theme=dark] .capital-electricity-grid article.is-housing strong{color:#95d6b0}:root[data-theme=dark] .capital-electricity-warning{color:#f0b48f;background:#3d2820}:root[data-theme=dark] .merchant-warning{color:#e6c98a;background:#332c1b;border-color:#5f5230}:root[data-theme=dark] .merchant-stall.is-held{background:linear-gradient(180deg,#2f2a1c,var(--surface-raised));border-color:#6a5a33}:root[data-theme=dark] .merchant-rates dd b{color:#ecd08a}:root[data-theme=dark] .merchant-scale b{color:var(--ink)}:root[data-theme=dark] .merchant-buy{color:#2a2110;background:#d8b360}:root[data-theme=dark] .merchant-sell{color:#d7ece0;background:#264034;border-color:#456f5b!important}:root[data-theme=dark] .leaderboard-own-rank{background:linear-gradient(135deg,#39331f,#2b2a20);border-color:#685b32;box-shadow:0 15px 35px #0000002e}:root[data-theme=dark] .leaderboard-own-rank small{color:#c9b578}:root[data-theme=dark] .leaderboard-own-rank strong{color:#f0e5c4}:root[data-theme=dark] .leaderboard-board{background:var(--paper);border-color:var(--border);box-shadow:0 20px 50px var(--shadow)}:root[data-theme=dark] .leaderboard-board__heading,:root[data-theme=dark] .leaderboard-pagination{border-color:var(--border)}:root[data-theme=dark] .leaderboard-board__heading h2,:root[data-theme=dark] .leaderboard-table td:nth-child(2)>strong{color:var(--ink)}:root[data-theme=dark] .leaderboard-refresh>span{background:#284139}:root[data-theme=dark] .leaderboard-table th{color:#aabbb2;background:#1c2c26}:root[data-theme=dark] .leaderboard-table td,:root[data-theme=dark] .leaderboard-table tr{border-color:var(--border);color:#b7c7bf}:root[data-theme=dark] .leaderboard-table td:nth-child(4),:root[data-theme=dark] .leaderboard-table td:last-child{color:#dcebe4}:root[data-theme=dark] .leaderboard-tabs button{color:#c7dbd1;background:#23372f;border-color:#496157}:root[data-theme=dark] .leaderboard-tabs button.is-current{color:#fff;background:var(--forest-700);border-color:var(--forest-700)}:root[data-theme=dark] .leaderboard-table .is-current-player td{background:#21372c}:root[data-theme=dark] .leaderboard-pagination button{color:#c7dbd1;background:#23372f;border-color:#496157}:root[data-theme=dark] .leaderboard-loading{background:#192b24b3}@media (width<=520px){.theme-toggle{right:max(12px, env(safe-area-inset-right));bottom:max(12px, env(safe-area-inset-bottom));width:44px;height:44px}.language-switcher{right:max(66px, calc(env(safe-area-inset-right) + 54px));bottom:max(12px, env(safe-area-inset-bottom))}.language-switcher__trigger{height:44px;font-size:.78rem}body:has(.player-shell,.game-shell,.admin-shell,.admin-access-denied) .language-switcher__trigger{width:44px}.language-switcher__trigger>span:nth-child(2){width:min(118px,31vw)}.language-switcher__menu{grid-template-columns:1fr;width:min(280px,100vw - 24px);max-height:66vh}[dir=rtl] .language-switcher{right:auto;left:max(66px, calc(env(safe-area-inset-left) + 54px))}[dir=rtl] .theme-toggle{right:auto;left:max(12px, env(safe-area-inset-left))}}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.archipelago-map-page{--map-sea-light:#cfe9e6;--map-sea-deep:#8dbfc4;--map-grid:#1f4f4c29;--map-ring:#1f4f4c4d;--map-land:#7ea86a;--map-shore:#e6d7a6;--map-ink:#1c4038;width:min(100%,1440px);margin:0 auto;padding:44px 0 70px}.map-toolbar{flex-wrap:wrap;grid-column:1/-1;justify-content:space-between;align-items:center;gap:14px;display:flex}.map-toolbar__filters{flex-wrap:wrap;gap:8px;display:flex}.map-toolbar__filters label{border:1px solid var(--border);background:var(--paper);color:var(--forest-800);cursor:pointer;border-radius:999px;align-items:center;gap:7px;padding:8px 13px;font-size:.74rem;font-weight:650;display:flex}.map-toolbar__filters input{accent-color:var(--forest-700)}.map-toolbar__build{display:flex}.map-toolbar__route{color:#fff;cursor:pointer;background:#236a59;border:1px solid #1d5a4b;border-radius:999px;padding:9px 15px;font-size:.74rem;font-weight:750}.map-toolbar__route:hover:not(:disabled){background:#1d5a4b}.map-toolbar__route:disabled{border-color:var(--border);color:var(--muted);background:var(--surface-soft);cursor:not-allowed}.map-toolbar__route.is-picking{color:var(--forest-800);background:var(--paper);border-color:var(--gold)}.map-toolbar__route.is-picking:hover{background:var(--surface-soft)}.map-toolbar__zoom{align-items:center;gap:7px;display:flex}.map-toolbar__zoom>span{min-width:42px;color:var(--muted);text-align:center;font-size:.74rem;font-weight:700}.map-toolbar__zoom button{border:1px solid var(--border);width:36px;height:36px;color:var(--forest-800);background:var(--paper);cursor:pointer;border-radius:9px;place-content:center;padding:0;font-size:1.05rem;font-weight:800;display:grid}.map-toolbar__zoom .map-toolbar__reset{width:auto;padding:0 14px;font-size:.74rem;font-weight:700}.map-toolbar button:hover{background:var(--surface-soft)}.map-layout{grid-template-columns:minmax(0,1fr) 300px;align-items:stretch;gap:16px;display:grid;position:relative}.map-canvas{border:1px solid #cbd8d0;border-radius:18px;position:relative;overflow:hidden;box-shadow:0 18px 45px #1c3d311f}.map-canvas svg{cursor:grab;touch-action:none;width:100%;height:auto;display:block}.map-canvas.is-dragging svg{cursor:grabbing}.map-canvas.is-picking svg{cursor:crosshair}.map-canvas.is-picking{box-shadow:0 0 0 2px var(--gold), 0 18px 45px #1c3d311f}.map-canvas__hint{border-top:1px solid var(--border);color:var(--muted);background:var(--paper);margin:0;padding:9px 14px;font-size:.66rem}.map-grid line{stroke:var(--map-grid);stroke-width:1px}.map-rings circle{fill:none;stroke:var(--map-ring);stroke-width:1.5px;stroke-dasharray:7 9}.map-rings text{fill:var(--map-ink);opacity:.62;paint-order:stroke;stroke:#ffffffb3;stroke-width:4px;stroke-linejoin:round;font-size:11px;font-weight:700}.map-route{fill:none;stroke-width:3.5px;stroke-linecap:round;stroke-linejoin:round;opacity:.85}.map-route.is-paused{stroke-dasharray:9 8;opacity:.5}.map-route.is-dimmed{opacity:.18}.map-route-draft{fill:none;stroke:var(--gold);stroke-width:4px;stroke-dasharray:12 7;stroke-linecap:round;stroke-linejoin:round}.map-place__rank circle{fill:var(--gold);stroke:#fffdf7;stroke-width:2px}.map-place__rank text{fill:#40300c;font-size:12px;font-weight:800}.map-place{cursor:pointer}.map-place__hit{fill:#0000}.map-place:focus{outline:none}.map-place:focus-visible .map-place__hit{fill:#d99f3747;stroke:var(--gold);stroke-width:2px}.map-place__label{fill:var(--map-ink);paint-order:stroke;stroke:#ffffffd9;stroke-width:4px;stroke-linejoin:round;font-size:13px;font-weight:700}.map-place__sub{fill:var(--map-ink);opacity:.7;paint-order:stroke;stroke:#fffc;stroke-width:3.5px;font-size:11px}.map-place__label--capital{font-size:14px}.map-place__label--offer{fill:#7a5a1c;font-size:12px}.map-island__shore{fill:var(--map-shore);opacity:.9}.map-island__land{fill:var(--map-land);stroke:#4d7b46;stroke-width:1.2px}.map-island__tree{fill:#2f5c3c}.map-island__home{fill:var(--gold);font-size:14px;font-weight:800}.map-place--island.is-selected .map-island__shore{stroke:var(--gold);stroke-width:3px}.map-place--island:hover .map-island__land{fill:#8fbb78}.map-capital__shield{fill:#22604f;stroke:#f3e2b4;stroke-width:2px}.map-capital__glyph{fill:#f8efd4;font-size:15px;font-weight:700}.map-place--capital.is-selected .map-capital__shield{stroke:var(--gold);stroke-width:3.5px}.map-place__offer-ring{fill:#fffdf7c7;stroke:#b58a33;stroke-width:2px;stroke-dasharray:5 4}.map-place__offer-mark{fill:#8a6124;font-size:14px;font-weight:800}.map-place--offer.is-selected .map-place__offer-ring{stroke-dasharray:none;stroke-width:3px}.map-ship circle{fill:#fdf3d8;stroke:#8f6a16;stroke-width:2px}.map-ship--in-transit circle{stroke:#2c6d5c}.map-compass circle{fill:#fffdf7d1;stroke:#9db6ad}.map-compass path{fill:#b4622a}.map-compass text{fill:var(--map-ink);font-size:12px;font-weight:800}.map-scale line{stroke:var(--map-ink);stroke-width:2px}.map-scale text{fill:var(--map-ink);font-size:12px;font-weight:700}.map-side{min-height:0;position:relative}.map-side__scroll{align-content:start;gap:10px;padding-right:3px;display:grid;position:absolute;inset:0;overflow-y:auto}.map-panel{border:1px solid var(--border);background:var(--paper);border-radius:15px;padding:12px 14px;box-shadow:0 10px 30px #27463a12}.map-panel h2{color:var(--forest-950);margin:0 0 8px;font-family:Fraunces,Georgia,serif;font-size:1rem}.map-panel h3{color:var(--forest-800);letter-spacing:.1em;text-transform:uppercase;margin:14px 0 7px;font-size:.7rem}.map-panel__hint{color:var(--muted);margin:10px 0 0;font-size:.64rem}.map-selection .eyebrow{margin-bottom:6px;font-size:.6rem}.map-selection h2{overflow-wrap:anywhere;margin:0}.map-selection__position{color:var(--muted);margin:8px 0 0;font-size:.72rem;line-height:1.6}.map-selection__position strong{color:var(--forest-800)}.map-selection--empty p{color:var(--muted);margin:0;font-size:.72rem;line-height:1.6}.map-selection__stats{grid-template-columns:repeat(3,1fr);gap:6px;margin:12px 0 0;display:grid}.map-selection__stats div{background:var(--surface-soft);text-align:center;border-radius:9px;padding:8px 6px}.map-selection__stats dt{color:var(--muted);text-transform:uppercase;font-size:.55rem}.map-selection__stats dd{color:var(--forest-950);margin:3px 0 0;font-size:.82rem;font-weight:750}.map-selection__resources{gap:5px;display:grid}.map-selection__resources span{color:var(--forest-800);align-items:center;gap:6px;font-size:.72rem;display:flex}.map-selection__resources em{color:var(--muted);font-size:.62rem;font-style:normal}.map-selection__routes{overflow-wrap:anywhere;color:var(--muted);margin:12px 0 0;font-size:.66rem}.map-selection__ships{margin-top:4px}.map-selection__ships span{color:var(--forest-800);align-items:center;gap:6px;font-size:.72rem;display:flex}.map-selection>button{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:9px;width:100%;margin-top:14px;padding:.7rem;font-size:.74rem;font-weight:700}.map-selection>button:hover{background:#1d5a4b}.map-route-list{gap:4px;max-height:190px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.map-route-list__entry{cursor:pointer;text-align:left;background:0 0;border:1px solid #0000;border-radius:9px;grid-template-columns:12px minmax(0,1fr) auto;align-items:center;gap:9px;width:100%;padding:6px 8px;display:grid}.map-route-list__entry:hover{background:var(--surface-soft)}.map-route-list__entry.is-current{background:var(--sage-100);border-color:var(--sage-200)}.map-route-list__chip{border-radius:50%;width:12px;height:12px;display:block}.map-route-list__entry span>strong{color:var(--forest-950);font-size:.75rem;display:block}.map-route-list__entry span>small{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.62rem;display:block;overflow:hidden}.map-route-list__entry b{text-transform:uppercase;font-size:.6rem}.map-route-list__entry .route-active{color:#287257}.map-route-list__entry .route-paused{color:#8a6124}.map-route-list__edit{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:8px;width:calc(100% - 4px);margin:4px 2px 2px;padding:.45rem;font-size:.68rem;font-weight:700}.map-route-list__edit:hover{background:#1d5a4b}.map-route-draft-panel{border-color:var(--gold)}.map-route-draft-panel .eyebrow{margin-bottom:6px;font-size:.6rem}.map-route-draft-panel__stops{gap:4px;max-height:230px;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.map-route-draft-panel__stops li{background:var(--surface-soft);border-radius:9px;grid-template-columns:22px minmax(0,1fr) 24px;align-items:center;gap:8px;padding:5px 6px;display:grid}.map-route-draft-panel__rank{color:#40300c;background:var(--gold);border-radius:50%;place-content:center;width:22px;height:22px;font-size:.68rem;font-weight:800;display:grid}.map-route-draft-panel__stops strong{color:var(--forest-950);text-overflow:ellipsis;white-space:nowrap;font-size:.75rem;display:block;overflow:hidden}.map-route-draft-panel__stops small{color:var(--muted);font-size:.62rem;display:block}.map-route-draft-panel__stops button{border:1px solid var(--border);width:24px;height:24px;color:var(--muted);background:var(--paper);cursor:pointer;border-radius:7px;padding:0;font-size:.85rem;line-height:1}.map-route-draft-panel__stops button:hover{color:#a33b2a;border-color:#d8a99f}.map-route-draft-panel__empty{color:var(--muted);margin:0;font-size:.7rem;line-height:1.6}.map-route-draft-panel__total{color:var(--forest-800);margin:10px 0 0;font-size:.7rem;font-weight:650;line-height:1.6}.map-route-draft-panel__actions{grid-template-columns:auto minmax(0,1fr);gap:8px;margin-top:12px;display:grid}.map-route-draft-panel__actions button{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:9px;padding:.6rem .7rem;font-size:.72rem;font-weight:700}.map-route-draft-panel__actions button:hover:not(:disabled){background:#1d5a4b}.map-route-draft-panel__actions button:disabled{background:var(--surface-soft);color:var(--muted);cursor:not-allowed}.map-route-draft-panel__actions .secondary{border:1px solid var(--border);color:var(--forest-800);background:var(--paper)}.map-route-draft-panel__actions .secondary:hover{background:var(--surface-soft)}.map-legend ul{gap:4px;margin:0;padding:0;list-style:none;display:grid}.map-legend li{color:var(--muted);align-items:center;gap:7px;font-size:.64rem;display:flex}.map-legend__mark{background:var(--surface-soft);width:18px;height:18px;color:var(--forest-700);border-radius:6px;flex:none;place-content:center;font-size:.7rem;font-weight:800;display:grid}.map-legend__mark--capital{color:#f8efd4;background:#22604f}.map-legend__mark--home{color:var(--gold)}.map-legend__mark--island{color:#4d7b46}.map-legend__mark--offer{color:#8a6124;background:#f6ecd5}@media (width<=1080px){.map-layout{grid-template-columns:minmax(0,1fr)}.map-side{position:static}.map-side__scroll{padding-right:0;position:static;overflow-y:visible}.map-route-list{max-height:260px}}@media (width<=640px){.archipelago-map-page{padding:18px 0 40px}.archipelago-map-page .archipelago__heading{margin-bottom:12px}.archipelago-map-page .archipelago__heading h1{margin-bottom:0}.archipelago-map-page .archipelago__heading>div:first-child>p:last-child,.archipelago-map-page .archipelago__heading>.archipelago-wallet,.map-toolbar__filters{display:none}.map-toolbar{z-index:3;pointer-events:none;margin:0;display:block;position:absolute;inset:0}.map-toolbar__build{top:10px;left:calc(var(--shell-gutter,16px) * -1 + 10px);pointer-events:auto;position:absolute}.map-toolbar__route{border-color:#ffffff7a;min-height:44px;box-shadow:0 7px 18px #133f3638}.map-toolbar__zoom{top:10px;right:calc(var(--shell-gutter,16px) * -1 + 10px);pointer-events:auto;flex-direction:column;gap:5px;position:absolute}.map-toolbar__zoom>span{display:none}.map-toolbar__zoom button{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fffdf7e6;border-color:#ffffff7a;width:44px;height:44px;box-shadow:0 5px 15px #133f3629}.map-toolbar__zoom .map-toolbar__reset{width:44px;padding:0;font-size:0;overflow:hidden}.map-toolbar__zoom .map-toolbar__reset:before{content:"⌖";font-size:1.15rem}.map-canvas{margin-inline:calc(var(--shell-gutter,16px) * -1);border-left:0;border-right:0;border-radius:0}.map-canvas__hint{display:none}.map-canvas.is-picking .map-canvas__hint{-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);background:#fffdf7e6;border:1px solid #ffffff73;border-radius:10px;padding:9px 11px;display:block;position:absolute;bottom:10px;left:10px;right:10px;box-shadow:0 6px 20px #133f3629}.map-selection__stats{grid-template-columns:repeat(2,1fr)}.map-place__label{stroke-width:7px;font-size:23px}.map-place__label--capital{font-size:25px}.map-place__label--offer{font-size:22px}.map-place__sub{stroke-width:6px;font-size:19px}.map-rings text,.map-scale text,.map-compass text{font-size:20px}.map-place__rank text{font-size:15px}.map-canvas__hint{font-size:.72rem}}:root[data-theme=dark] .archipelago-map-page{--map-sea-light:#234a52;--map-sea-deep:#12303a;--map-grid:#b4dcd621;--map-ring:#b4dcd642;--map-land:#4e7b4d;--map-shore:#7d7048;--map-ink:#dbe9e2}:root[data-theme=dark] .map-canvas{border-color:var(--border)}:root[data-theme=dark] .map-place__label,:root[data-theme=dark] .map-place__sub,:root[data-theme=dark] .map-rings text{stroke:#0a1a16cc}:root[data-theme=dark] .map-place__label--offer{fill:#e9c477}:root[data-theme=dark] .map-island__land{stroke:#2f5836}:root[data-theme=dark] .map-island__tree{fill:#1e3a27}:root[data-theme=dark] .map-place__offer-ring{fill:#10221eb3;stroke:#d2a955}:root[data-theme=dark] .map-place__offer-mark{fill:#e9c477}:root[data-theme=dark] .map-compass circle{fill:#10221eb8;stroke:#4d6b62}:root[data-theme=dark] .map-ship circle{fill:#2e2718}:root[data-theme=dark] .map-canvas.is-picking .map-canvas__hint{color:var(--ink);background:#182b25eb;border-color:#b4dcd64d}:root[data-theme=dark] .map-toolbar__filters label,:root[data-theme=dark] .map-toolbar__zoom button{color:var(--ink);background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .map-legend__mark--offer{color:#e9c477;background:#37301d}:root[data-theme=dark] .map-route-draft-panel__rank,:root[data-theme=dark] .map-place__rank text{color:#2b2208;fill:#2b2208}:root[data-theme=dark] .map-place__rank circle{stroke:#10221e}:root[data-theme=dark] .map-toolbar__route.is-picking,:root[data-theme=dark] .map-route-draft-panel__actions .secondary{color:var(--ink);background:var(--surface-soft)}:root[data-theme=dark] .map-route-list__entry .route-paused{color:#e0be74}:root[data-theme=dark] .map-route-list__entry .route-active{color:#86d3ae}:root[data-theme=dark] .island-route-card__header .route-paused{color:#e0be74}:root[data-theme=dark] .island-route-card__header .route-active{color:#86d3ae}:root[data-theme=dark] .island-route-card__ships em{color:#f0b48f}:root[data-theme=dark] .play-time-wall__countdown{background:var(--paper);border-color:var(--border)}:root[data-theme=dark] .play-time-wall__premium{color:#ecd59a;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .play-time-wall__premium h2{color:#f0dda9}:root[data-theme=dark] .play-time-wall__premium p{color:#d8c493}:root[data-theme=dark] .play-time-wall__actions button.secondary{color:var(--ink);background:var(--surface-soft)}:root[data-theme=dark] .play-time-meter__premium{color:#ecd59a;background:#3b321f}:root[data-theme=dark] .admin-account-table th,:root[data-theme=dark] .admin-account-table td{border-color:var(--border)}:root[data-theme=dark] .admin-account-table tbody th strong{color:var(--ink)}:root[data-theme=dark] .admin-account-table tr.is-premium{background:#65542c2e}:root[data-theme=dark] .admin-account-table td b{color:#ecd59a}:root[data-theme=dark] .admin-account-table button.secondary{color:#e6b795;background:0 0;border-color:#6b5040}.is-tutorial-target{border-color:var(--gold);animation:2.4s ease-in-out infinite tutorial-target-pulse;box-shadow:0 0 0 3px #d99f374d}@keyframes tutorial-target-pulse{0%,to{box-shadow:0 0 0 3px #d99f374d}50%{box-shadow:0 0 0 8px #d99f3714}}.capital-catalog-grid>article.is-tutorial-target{border-color:var(--gold)}.player-header__navigation .worlds-link.is-tutorial-target{border-color:var(--gold);box-shadow:0 0 0 2px #d99f3761}.tutorial-lock__objective{border:1px solid var(--gold);background:#d99f371a;border-radius:10px;margin:12px 0 0;padding:11px 13px}:root[data-theme=dark] .tutorial-lock__objective{background:#e4b75e24}.route-transfer--guided{border:1px solid var(--gold);background:#d99f371a;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.6rem;padding:.6rem .7rem}.route-transfer--guided>strong{color:#7c541b}.route-transfer--guided>span{color:#617269;font-size:.78rem}:root[data-theme=dark] .route-transfer--guided{background:#e4b75e24}:root[data-theme=dark] .route-transfer--guided>strong{color:var(--gold)}:root[data-theme=dark] .route-transfer--guided>span{color:var(--muted)}.route-editor .route-stop select:disabled{color:#6c7d75;cursor:not-allowed;background:#eef3f0}:root[data-theme=dark] .route-editor .route-stop select:disabled{color:var(--muted);background:#1a2b25}.action-celebration{z-index:2000;pointer-events:none;isolation:isolate;place-items:center;padding:20px;animation:2.6s both action-celebration-overlay;display:grid;position:fixed;inset:0;overflow:hidden}.action-celebration:before{z-index:-2;content:"";-webkit-backdrop-filter:blur(1.5px);backdrop-filter:blur(1.5px);background:radial-gradient(circle,#fffdf7c7 0,#fffdf761 28%,#12362d14 57%,#0000 76%);position:absolute;inset:0}.action-celebration__stage{width:min(430px,100vw - 32px);min-height:310px;color:var(--ink);align-content:center;place-items:center;gap:11px;animation:2.6s cubic-bezier(.2,.82,.3,1) both action-celebration-stage;display:grid;position:relative}.action-celebration__halo{z-index:-1;background:radial-gradient(circle,#fff8d5d1,#e6ecdc57 54%,#0000 70%);border:2px solid #d99f3780;border-radius:50%;width:250px;height:250px;animation:1.4s cubic-bezier(.18,.78,.3,1) both action-celebration-halo;position:absolute;top:10px;left:50%;transform:translate(-50%);box-shadow:0 0 0 16px #d99f3714,0 0 70px #d99f373d}.action-celebration__graphic{z-index:1;width:240px;height:140px;position:relative;overflow:visible}.action-celebration__copy{z-index:3;-webkit-backdrop-filter:blur(9px);backdrop-filter:blur(9px);background:#fffdf7f2;border:1px solid #d99f3794;border-radius:16px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:11px;width:min(390px,100vw - 44px);padding:13px 17px;animation:2.6s cubic-bezier(.2,.75,.3,1) both action-celebration-copy;display:grid;box-shadow:0 18px 48px #143c2f30,0 2px 8px #143c2f14}.action-celebration__copy>div{gap:2px;min-width:0;display:grid}.action-celebration__copy strong{color:#174b3b;font-family:Fraunces,Georgia,serif;font-size:1.12rem;line-height:1.2}.action-celebration__copy small{color:#5f6f68;overflow-wrap:anywhere;font-size:.76rem;line-height:1.35}.action-celebration__check{color:#fffdf7;background:#2e7657;border-radius:50%;place-items:center;width:34px;height:34px;font-size:1.05rem;font-weight:900;animation:.55s cubic-bezier(.17,.89,.32,1.45) .72s both action-celebration-check;display:grid;box-shadow:0 0 0 5px #2e765721}.action-celebration__sparks{z-index:2;position:absolute;inset:6px 25px 70px}.action-celebration__sparks i{background:var(--gold);opacity:0;border-radius:2px;width:7px;height:7px;animation:1.05s ease-out .18s both action-celebration-spark;position:absolute}.action-celebration__sparks i:first-child{--spark-x:-18px;--spark-y:-23px;top:22%;left:10%}.action-celebration__sparks i:nth-child(2){--spark-x:-7px;--spark-y:-28px;animation-delay:.26s;top:2%;left:31%}.action-celebration__sparks i:nth-child(3){--spark-x:12px;--spark-y:-27px;animation-delay:.34s;top:13%;right:24%}.action-celebration__sparks i:nth-child(4){--spark-x:24px;--spark-y:-12px;animation-delay:.22s;top:34%;right:7%}.action-celebration__sparks i:nth-child(5){--spark-x:19px;--spark-y:17px;animation-delay:.39s;bottom:17%;right:13%}.action-celebration__sparks i:nth-child(6){--spark-x:-8px;--spark-y:22px;animation-delay:.29s;bottom:8%;left:27%}.action-celebration__sparks i:nth-child(7){--spark-x:-23px;--spark-y:5px;animation-delay:.37s;top:46%;left:3%}.action-celebration__sparks i:nth-child(8){--spark-x:3px;--spark-y:-30px;width:5px;height:13px;animation-delay:.45s;top:6%;right:43%}.action-celebration__graphic--ship{place-items:center;display:grid}.action-celebration__graphic--ship>svg{fill:none;width:100%;position:absolute;bottom:4px;left:0;right:0;overflow:visible}.action-celebration__ship{z-index:1;animation:1.45s cubic-bezier(.17,.75,.3,1) both action-celebration-ship}.action-celebration__ship .ship-icon{border:4px solid #fffc;border-radius:25px;width:112px;height:112px;box-shadow:0 16px 28px #163d323d}.action-celebration__wave{stroke:#337b80;stroke-width:5px;stroke-linecap:round;stroke-dasharray:1;stroke-dashoffset:1px;animation:1.1s ease-out .2s forwards action-celebration-wave}.action-celebration__wave--back{stroke:#78b5ad;stroke-width:3px;animation-delay:.32s}.action-celebration__graphic--island{animation:1.05s cubic-bezier(.18,.86,.32,1.18) both action-celebration-island}.action-celebration__island-ring{fill:none;stroke:#4d9ba0;stroke-width:3px;opacity:.52;transform-origin:50%;animation:1.4s ease-out .2s both action-celebration-island-ring}.action-celebration__island-shore{fill:#d9b86f;stroke:#8a733f;stroke-width:2px}.action-celebration__island-land{fill:#679458;stroke:#315e42;stroke-width:2px}.action-celebration__island-tree{fill:#285c3d}.action-celebration__flag{transform-origin:128px 69px;animation:.55s cubic-bezier(.17,.89,.32,1.45) .62s both action-celebration-flag}.action-celebration__flag path:first-child{fill:none;stroke:#65492b;stroke-width:4px;stroke-linecap:round}.action-celebration__flag path:last-child{fill:var(--gold);stroke:#9d6d20;stroke-width:2px}.action-celebration__graphic--building{place-items:center;display:grid}.action-celebration__graphic--building .capital-building-icon{z-index:1;filter:drop-shadow(0 13px 13px #17443530);transform-origin:bottom;width:132px;height:132px;animation:.85s cubic-bezier(.18,.86,.32,1.16) .18s both action-celebration-building}.action-celebration__blueprint{opacity:.55;border:2px dashed #5a8a80;border-radius:8px;width:120px;height:96px;animation:.75s ease-out .32s both action-celebration-blueprint;position:absolute}.action-celebration__blueprint:before,.action-celebration__blueprint:after{content:"";opacity:.55;background:#5a8a80;position:absolute}.action-celebration__blueprint:before{width:calc(100% + 26px);height:1px;top:50%;left:-13px}.action-celebration__blueprint:after{width:1px;height:calc(100% + 24px);top:-12px;left:50%}.action-celebration__ground-line{background:#70917a;border-radius:50%;width:175px;height:3px;animation:.7s ease-out .18s forwards action-celebration-ground;position:absolute;bottom:7px;transform:scaleX(0);box-shadow:0 5px 12px #1f4d3c33}.action-celebration__graphic--industry{filter:drop-shadow(0 13px 10px #17443529);animation:.8s cubic-bezier(.18,.86,.32,1.14) .12s both action-celebration-factory}.action-celebration__factory{fill:#b5784f;stroke:#684936;stroke-width:3px;stroke-linejoin:round}.action-celebration__chimney{fill:#8d6250;stroke:#684936;stroke-width:3px}.action-celebration__factory-detail{fill:#f4d787;stroke:#684936;stroke-width:2px}.action-celebration__industry-ground{fill:none;stroke:#50755e;stroke-width:4px;stroke-linecap:round}.action-celebration__gear{fill:#d8a53f;stroke:#72552a;stroke-width:3px;transform-origin:99px 64px;animation:1.5s ease-in-out .34s both action-celebration-gear}.action-celebration__gear circle{fill:#fff2c4}.action-celebration__smoke{fill:none;stroke:#7b958c;stroke-width:7px;stroke-linecap:round;opacity:0;animation:1.25s ease-out .62s both action-celebration-smoke}.action-celebration__smoke--two{animation-delay:.78s}.action-celebration__graphic--route{fill:none;overflow:visible}.action-celebration__route-line,.action-celebration__route-old{stroke-linecap:round;stroke-linejoin:round}.action-celebration__route-line{stroke:#327b69;stroke-width:6px;stroke-dasharray:1;stroke-dashoffset:1px;animation:.95s ease-out .16s forwards action-celebration-route-draw}.action-celebration__route-old{stroke:#a9aaa2;stroke-width:4px;stroke-dasharray:.05 .05;animation:.9s .1s both action-celebration-route-old}.action-celebration__route-nodes{fill:#f2c45c;stroke:#73521d;stroke-width:3px;opacity:0;animation:.42s ease-out .7s forwards action-celebration-route-nodes}.action-celebration__route-ship{fill:#fff5d2;stroke:#214f42;stroke-width:2px;opacity:0;animation:1.05s ease-in-out .78s both action-celebration-route-ship}.action-celebration--route-updated .action-celebration__route-ship{animation-name:action-celebration-route-ship-updated}@keyframes action-celebration-overlay{0%{opacity:0}8%,84%{opacity:1}to{opacity:0}}@keyframes action-celebration-stage{0%{opacity:0;transform:scale(.92)}13%,86%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(1.025)}}@keyframes action-celebration-halo{0%{opacity:0;transform:translate(-50%)scale(.35)}55%{opacity:1}to{opacity:.7;transform:translate(-50%)scale(1)}}@keyframes action-celebration-copy{0%,22%{opacity:0;transform:translateY(18px)scale(.96)}40%,87%{opacity:1;transform:none}to{opacity:0;transform:translateY(-4px)}}@keyframes action-celebration-check{0%{opacity:0;transform:scale(.2)rotate(-25deg)}to{opacity:1;transform:none}}@keyframes action-celebration-spark{0%{opacity:0;transform:translate(0)scale(.3)rotate(0)}28%{opacity:1}to{opacity:0;transform:translate(var(--spark-x), var(--spark-y)) scale(.9) rotate(100deg)}}@keyframes action-celebration-ship{0%{opacity:0;transform:translate(-115px)translateY(13px)rotate(-7deg)scale(.8)}62%{opacity:1;transform:translate(8px)translateY(-4px)rotate(2deg)scale(1.04)}to{opacity:1;transform:translate(0)translateY(0)rotate(0)scale(1)}}@keyframes action-celebration-wave{to{stroke-dashoffset:0}}@keyframes action-celebration-island{0%{opacity:0;transform:translateY(35px)scale(.72)}to{opacity:1;transform:none}}@keyframes action-celebration-island-ring{0%{opacity:0;transform:scale(.35)}45%{opacity:.65}to{opacity:0;transform:scale(1.35)}}@keyframes action-celebration-flag{0%{opacity:0;transform:translateY(-32px)scale(.6)}to{opacity:1;transform:none}}@keyframes action-celebration-building{0%{opacity:0;transform:translateY(28px)scaleY(.16)}to{opacity:1;transform:none}}@keyframes action-celebration-blueprint{0%{opacity:.7;transform:scale(1)}to{opacity:0;transform:scale(1.22)}}@keyframes action-celebration-ground{to{transform:scaleX(1)}}@keyframes action-celebration-factory{0%{opacity:0;transform-origin:bottom;transform:translateY(35px)scaleY(.35)}to{opacity:1;transform:none}}@keyframes action-celebration-gear{0%{transform:rotate(-95deg)scale(.6)}70%{transform:rotate(25deg)scale(1.05)}to{transform:rotate(0)scale(1)}}@keyframes action-celebration-smoke{0%{opacity:0;transform:translateY(8px)}30%{opacity:.75}to{opacity:0;transform:translateY(-23px)}}@keyframes action-celebration-route-draw{to{stroke-dashoffset:0}}@keyframes action-celebration-route-old{0%,40%{opacity:.75}to{opacity:0}}@keyframes action-celebration-route-nodes{0%{opacity:0;transform-origin:50%;transform:scale(.5)}to{opacity:1;transform-origin:50%;transform:scale(1)}}@keyframes action-celebration-route-ship{0%{opacity:0;transform:translate(28px,91px)rotate(-8deg)}22%{opacity:1}53%{opacity:1;transform:translate(130px,53px)rotate(18deg)}to{opacity:0;transform:translate(221px,75px)rotate(-7deg)}}@keyframes action-celebration-route-ship-updated{0%{opacity:0;transform:translate(28px,91px)rotate(-5deg)}22%{opacity:1}53%{opacity:1;transform:translate(130px,72px)rotate(-18deg)}to{opacity:0;transform:translate(221px,75px)rotate(8deg)}}:root[data-theme=dark] .action-celebration:before{background:radial-gradient(circle,#1d3a30e8 0,#142b24a1 35%,#08161233 62%,#0000 78%)}:root[data-theme=dark] .action-celebration__halo{background:radial-gradient(circle,#5b4e27a8,#23413561 55%,#0000 71%)}:root[data-theme=dark] .action-celebration__copy{background:#182b24f5;border-color:#e4b75e7a}:root[data-theme=dark] .action-celebration__copy strong{color:#edf8f1}:root[data-theme=dark] .action-celebration__copy small{color:#b6c8bf}@media (width<=520px){.action-celebration__stage{min-height:280px}.action-celebration__halo{width:220px;height:220px;top:17px}.action-celebration__graphic{width:210px;height:125px}.action-celebration__copy{padding:12px 14px}.action-celebration__copy strong{font-size:1rem}.action-celebration__ship .ship-icon{width:96px;height:96px}}@media (prefers-reduced-motion:reduce){.action-celebration,.action-celebration *,.action-celebration :before,.action-celebration :after{transition:none!important;animation:none!important}.action-celebration__route-line,.action-celebration__wave{stroke-dashoffset:0}.action-celebration__route-old,.action-celebration__blueprint{opacity:0}.action-celebration__route-nodes{opacity:1}.action-celebration__route-ship{opacity:1;transform:translate(130px,64px)}.action-celebration__smoke{opacity:.4}}
