.expedition-scene{isolation:isolate;aspect-ratio:2;background:#173c3b;border:1px solid #987440;border-radius:12px;width:100%;min-width:0;position:relative;overflow:hidden;box-shadow:inset 0 0 0 1px #e6c58638}.expedition-scene__motion{position:absolute;inset:0;overflow:hidden}.expedition-scene__stage{z-index:0;aspect-ratio:3/2;width:100%;margin-top:-33.3333%;animation:4.8s ease-out both expedition-scene-drift;position:absolute;top:50%;left:0}.expedition-scene img{object-fit:cover;object-position:50% 50%;width:100%;height:100%;display:block;position:absolute;inset:0}.expedition-scene__loot{z-index:1;aspect-ratio:1;filter:drop-shadow(0 .4rem .45rem #2b170599);background:radial-gradient(circle,#fff4c8 0 46%,#ffd76a99 58%,#0000 72%);border-radius:50%;place-items:center;width:14%;margin:-7% 0 0 -7%;animation:1.4s cubic-bezier(.2,.9,.3,1.25) .8s both expedition-loot-rise;display:grid;position:absolute}.expedition-scene__loot.is-several{width:10%;margin:-5% 0 0 -5%}.expedition-scene .expedition-scene__loot .resource-svg{vertical-align:0;width:84%;height:84%;box-shadow:0 0 0 .18rem #d9a441,0 0 0 .32rem #6b4312}.expedition-scene__atmosphere,.expedition-scene__light{z-index:1;pointer-events:none;position:absolute;inset:-12%}.expedition-scene__atmosphere{opacity:0;background:radial-gradient(at 30% 85%,#b8e9df55,#0000 52%);animation:4.8s ease-out both expedition-atmosphere-drift}.expedition-scene__light{background:linear-gradient(120deg,#0000 25%,#fff2bb25 48%,#0000 68%);animation:4.8s ease-out both expedition-light-pass}.expedition-scene[data-atmosphere=rain] .expedition-scene__atmosphere{background:repeating-linear-gradient(112deg,#0000 0 25px,#daf1ee55 26px,#0000 27px 51px);animation-name:expedition-rain}.expedition-scene[data-atmosphere=rain] .expedition-scene__light,.expedition-scene[data-atmosphere=smoke] .expedition-scene__light{display:none}.expedition-scene[data-atmosphere=smoke] .expedition-scene__atmosphere{background:radial-gradient(at 20% 70%,#d3b68e80,#0000 50%)}.expedition-scene[data-atmosphere=mist] .expedition-scene__atmosphere{background:radial-gradient(at 20% 80%,#d1e3dd90,#0000 60%)}.expedition-scene[data-atmosphere=swirl] .expedition-scene__atmosphere{background:conic-gradient(from 20deg at 50% 65%,#0000,#b5ede230,#0000 45%,#b5ede235,#0000);animation-name:expedition-swirl}.expedition-scene[data-atmosphere=embers] .expedition-scene__atmosphere{background-image:radial-gradient(circle,#ffd295b3 1px,#0000 2px),radial-gradient(circle,#e6a66599 1px,#0000 3px);background-position:10px 30px,65px 15px;background-size:83px 97px,137px 113px;animation-name:expedition-embers}.expedition-scene[data-atmosphere=glow] .expedition-scene__light{background:linear-gradient(120deg,#0000 20%,#ffedb345 48%,#0000 75%)}.expedition-scene:not(.is-visible) .expedition-scene__stage,.expedition-scene:not(.is-visible) .expedition-scene__atmosphere,.expedition-scene:not(.is-visible) .expedition-scene__light{animation-play-state:paused}.expedition-scene--compact{aspect-ratio:3/2;border-radius:8px;width:112px}.expedition-scene--compact .expedition-scene__stage{animation:none}.expedition-scene--compact span{display:none}.expedition-encounter>.expedition-scene{margin-bottom:.35rem}.expedition-report>.confirm-dialog__panel{width:min(680px,100%)}.expedition-report .confirm-dialog__panel>.expedition-scene{grid-column:1/-1}.expedition-log__entry{align-items:flex-start;gap:.7rem;margin-bottom:.5rem;display:flex}.expedition-log__entry>.expedition-scene{flex:0 0 112px}.expedition-log__copy{min-width:0}@keyframes expedition-scene-drift{0%{transform:scale(1.065)translate(-.5%,.5%)}to{transform:scale(1)}}@keyframes expedition-atmosphere-drift{0%{opacity:0;transform:translate(-5%)}25%{opacity:.6}to{opacity:0;transform:translate(8%)}}@keyframes expedition-rain{0%{opacity:0;transform:translate(-2%,-5%)}15%,70%{opacity:.35}to{opacity:0;transform:translate(2%,8%)}}@keyframes expedition-swirl{0%{opacity:0;transform:rotate(-12deg)scale(1.1)}30%{opacity:.5}to{opacity:0;transform:rotate(18deg)scale(1.1)}}@keyframes expedition-embers{0%{opacity:0;transform:translateY(8%)}20%,65%{opacity:.65}to{opacity:0;transform:translate(3%,-9%)}}@keyframes expedition-loot-rise{0%{opacity:0;transform:translateY(22%)scale(.55)}to{opacity:1;transform:none}}@keyframes expedition-light-pass{0%{opacity:0;transform:translate(-20%)}35%{opacity:.6}to{opacity:0;transform:translate(25%)}}@media (width<=520px){.expedition-scene{aspect-ratio:3/2}.expedition-log__entry>.expedition-scene{flex-basis:84px;width:84px}}@media (prefers-reduced-motion:reduce){.expedition-scene__stage,.expedition-scene span{animation:none}.expedition-scene__atmosphere,.expedition-scene__light{display:none}}@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;--surface:#fff;--border:#d9ded4;--shadow:#19413217;--player-account-width:210px;--map-grass:#dfe9cf;--map-road:#cfc6b0;--map-plaza:#ebe3d0;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;--surface:#1c2e28;--border:#334c42;--shadow:#0000004d;--map-grass:#20372d;--map-road:#3b4a40;--map-plaza:#2c3d34;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--coffee{--resource-bg:#3f2a20;--resource-fill:#8c5a3b;--resource-line:#f6e2c6;--resource-rim:#6e4631}.resource-svg--orange-juice{--resource-bg:#62350f;--resource-fill:#ea9128;--resource-line:#fff0cc;--resource-rim:#a85f1d}.resource-svg--suits{--resource-bg:#26314a;--resource-fill:#48597f;--resource-line:#e4ebff;--resource-rim:#3c4a6b}.resource-svg--dresses{--resource-bg:#4f2138;--resource-fill:#b04a79;--resource-line:#ffe1ee;--resource-rim:#8a3a5f}.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--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--coffee-beans{--resource-bg:#3a281d;--resource-fill:#7b4b2d;--resource-line:#f1d3b3;--resource-rim:#6a412a}.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-page{width:min(1560px,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-limit-alert p{margin:.45rem 0 0}.capital-limit-alert__link{color:inherit;font:inherit;cursor:pointer;background:0 0;border:0;margin-top:.6rem;padding:0;font-weight:600;text-decoration:underline}.capital-limit-alert__link:hover{text-decoration:none}.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;position:relative}.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-storage-help{vertical-align:middle;margin-inline-start:.35rem;display:inline-block}.capital-storage-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}.capital-storage-help>button:hover{border-color:var(--gold);color:var(--forest-700)}.capital-storage-help>button:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.capital-storage-help>[role=tooltip]{z-index:40;box-sizing:border-box;color:#f8fbf8;text-align:start;opacity:0;pointer-events:none;visibility:hidden;top:calc(100% + 8px);background:#173e34;border-radius:9px;width:min(300px,100vw - 32px);padding:11px 13px;font-size:.72rem;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}.capital-storage-help:hover>[role=tooltip],.capital-storage-help:focus-within>[role=tooltip]{opacity:1;visibility:visible;transform:translateY(0)}.capital-storage-help>[role=tooltip]>span{display:block}.capital-storage-help>[role=tooltip]>span+span{margin-top:.45rem}.capital-section-heading>p.capital-resources-meta{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:.4rem 1.1rem;max-width:none;display:flex}.capital-resources-currency{color:var(--forest-900);align-items:center;gap:.35rem;display:inline-flex}.capital-resources-currency .resource-svg{width:20px;height:20px}.capital-resources-cap{align-items:center;display:inline-flex}.capital-resource-categories{columns:16rem;column-gap:1rem}.capital-resource-categories>article{break-inside:avoid;background:var(--surface-soft);border:1px solid var(--border);border-radius:13px;margin-bottom:1rem;padding:.85rem 1rem .6rem}.capital-resource-categories h3{color:var(--forest-800);margin:0 0 .35rem;font:700 1rem Fraunces,Georgia,serif}.capital-resource-categories ul{margin:0;padding:0;list-style:none}.capital-resource-categories li{grid-template-columns:24px minmax(0,1fr) auto auto;align-items:center;gap:.55rem;padding:.4rem 0;font-size:.86rem;line-height:1.3;display:grid}.capital-resource-categories li+li{border-top:1px solid var(--border)}.capital-resource-categories li .resource-svg{width:24px;height:24px}.capital-resource-categories li b{font-variant-numeric:tabular-nums;grid-column:4}.capital-resource-categories li.is-empty{color:var(--muted)}.capital-resource-categories li.is-empty .resource-svg{opacity:.45}.capital-resource-categories li.is-full b{color:#a2643a}.capital-resource-categories li.is-full em{color:#a2643a;white-space:nowrap;background:#fff4e8;border-radius:999px;padding:.1rem .4rem;font-size:.66rem;font-style:normal;font-weight:700}:root[data-theme=dark] .capital-resource-categories li.is-full b{color:#f0c39a}:root[data-theme=dark] .capital-resource-categories li.is-full em{color:#dda772;background:#31251c}.capital-resources-empty{color:var(--muted);margin:0;font-size:.8rem;font-style:italic}.capital-resources-footer{flex-wrap:wrap;justify-content:space-between;gap:.5rem 1.5rem;margin-top:.75rem;display:flex}.capital-resources-toggle{color:var(--forest-700);font:inherit;cursor:pointer;background:0 0;border:0;margin-top:0;padding:0;font-size:.76rem;font-weight:700}.capital-resources-toggle:hover{text-decoration:underline}.capital-resources-toggle:focus-visible{outline:2px solid var(--gold);outline-offset:2px}.capital-need-icon{object-fit:contain;filter:drop-shadow(0 3px 3px #1f3e321f);border-radius:50%;display:block}.capital-need-icon__halo{fill:#e7f0e9}.capital-need-icon__medallion{fill:#f8fbf8;stroke:#27483d}.capital-need-icon .need-generic{fill:#dbe8df;stroke:#27483d}.capital-need-icon .need-generic-mark{fill:none;stroke:#27483d;stroke-width:2px}.capital-housing-needs{flex-wrap:wrap;align-items:center;gap:.35rem;margin:.45rem 0 .1rem;padding:0;list-style:none;display:flex}.capital-housing-needs li{background:var(--surface-soft);border:1px solid var(--border);border-radius:999px;align-items:center;gap:.3rem;padding:.2rem;font-size:.72rem;font-weight:700;display:inline-flex}.capital-housing-needs li.is-missing{color:#a4543f;background:#fff0ec;border-color:#e1ad9e;padding-inline-end:.55rem}.capital-housing-needs li:has(em){padding-inline-end:.55rem}.capital-housing-needs .capital-need-icon,.capital-housing-needs .resource-svg{width:22px;height:22px}.capital-housing-needs em{color:var(--muted);font-size:.66rem;font-style:normal;font-weight:600}.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-service-need{color:var(--forest-800);align-items:center;gap:.4rem;margin:.35rem 0 .15rem;font-size:.8rem;font-weight:700;display:flex}.capital-service-need .capital-need-icon{flex:none;width:24px;height:24px}.capital-service-need b{font-variant-numeric:tabular-nums;white-space:nowrap;margin-inline-start:auto}.capital-service-need.is-satisfied b{color:var(--forest-700)}.capital-service-need.is-missing b{color:#a4543f}.capital-service-need.is-idle{color:var(--muted)}.capital-catalog-grid>article.is-unavailable{opacity:.65}.capital-catalog-grid>article>.capital-service-need{min-height:0;margin:0}.capital-district-slots{color:var(--muted);margin:0;font-size:.78rem}.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-consumption-table{gap:.4rem;margin-top:1rem;display:grid}.capital-consumption-table h3{color:var(--forest-800);margin:0;font-size:1rem}.capital-consumption-table table{border-collapse:collapse;width:100%;font-size:.74rem}.capital-consumption-table th{color:var(--muted);letter-spacing:.06em;text-align:left;text-transform:uppercase;padding:.35rem .5rem;font-size:.64rem}.capital-consumption-table 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-consumption-table td{border-top:1px solid var(--border);color:var(--muted);padding:.35rem .5rem}.capital-consumption-table td:last-child{white-space:nowrap}.capital-consumption-table tr.is-missing th,.capital-consumption-table tr.is-missing td{color:#a4543f}.capital-consumption-table>small{color:var(--muted);font-size:.68rem}.capital-consumption-icons{flex-wrap:wrap;gap:.15rem;display:flex}.capital-consumption-icons>:not(:first-child){display:none}.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-build-more+.capital-upgrade{margin-top:.35rem}.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-downgrade{border-top:1px dashed var(--border);gap:.35rem;margin-top:.65rem;padding-top:.6rem;display:grid}.capital-downgrade>small{color:var(--muted);font-size:.72rem}.capital-buildings-grid .capital-downgrade button{color:var(--muted);border:1px solid var(--border);background:0 0;margin-top:0;padding:.45rem .75rem;font-size:.78rem}.capital-buildings-grid .capital-downgrade button:hover:not(:disabled){color:var(--forest-900);border-color:var(--forest-700)}.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-layout{grid-template-columns:minmax(0,1fr) minmax(280px,320px);align-items:start;gap:1.4rem;display:grid}.capital-district-plan{gap:.45rem;min-width:0;display:grid}.capital-district-map{isolation:isolate;aspect-ratio:856/540;border:1px solid var(--border);background:radial-gradient(at 50% 45%,#e1e3c7 0%,#ece8d9 65%,#e4dfcc 100%);border-radius:16px;position:relative;overflow:hidden}.capital-district-board{width:116.822%;height:129.63%;position:absolute;top:-11.1111%;left:-8.41122%}.capital-district-terrain{pointer-events:none;width:100%;height:100%;position:absolute;inset:0}.capital-map-cell{width:10.8%;min-width:0;height:18%;color:var(--muted);cursor:pointer;font:inherit;-webkit-tap-highlight-color:transparent;background:0 0;border:0;border-radius:0;padding:0;display:block;position:absolute;transform:translate(-50%,-100%)}.capital-map-cell:before{content:"";aspect-ratio:2;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);opacity:0;background:#f0d794;width:100%;transition:opacity .15s;position:absolute;bottom:0;left:0;transform:translateY(50%)}.capital-map-cell:is(.is-hovered,:focus-visible,.is-selected,.is-tutorial-target):before{opacity:.8}.capital-map-cell.is-related:before{opacity:.35}.capital-map-cell:focus-visible{outline:0}.capital-map-cell:focus-visible:before{opacity:1;background:#fff1aa}.capital-map-cell:is(.is-empty,.is-planned,.is-unavailable){clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);height:8%;transform:translate(-50%,-50%)}.capital-map-cell:is(.is-empty,.is-planned,.is-unavailable):before{bottom:50%}.capital-district-parcel{pointer-events:none;width:100%;height:auto;position:absolute;bottom:0;left:0;transform:translateY(50%)}.capital-district-parcel path{stroke:#ddd5aa;stroke-width:1px;stroke-opacity:.65}.capital-district-parcel.is-garden path{fill:#729449;fill-opacity:.14}.capital-district-parcel.is-courtyard path{fill:#ece1c2;fill-opacity:.12}.capital-district-building{pointer-events:auto;filter:drop-shadow(2px 4px 2px #35432c35);max-width:none;height:auto;transition:filter .15s;position:absolute}.capital-map-cell:is(.is-hovered,:focus-visible,.is-selected) .capital-district-building{filter:drop-shadow(0 0 3px #fff1b2)drop-shadow(2px 4px 2px #35432c35)}.capital-map-cell__level{color:#fff;text-align:center;pointer-events:none;background:#315e48;border:1.5px solid #eee9d5;border-radius:999px;min-width:1.15rem;padding:0 .2rem;font-size:.62rem;font-weight:800;line-height:1.05rem;position:absolute;bottom:-8%;right:5%}.capital-map-cell.is-missing .capital-map-cell__level{background:#b4553f}.capital-map-cell:is(.is-unfunded,.is-degraded) .capital-map-cell__level{background:#986b25}.capital-district-plan>.capital-district-slots{text-align:center}.capital-district-detail{min-width:0}.capital-district-detail>.capital-buildings-grid,.capital-district-detail>.capital-catalog-grid{grid-template-columns:minmax(0,1fr)}.capital-district-detail__hint{color:var(--muted);background:var(--surface-raised);border:1px dashed var(--border);border-radius:13px;margin:0;padding:1rem;font-size:.85rem}:root[data-theme=dark] .capital-district-map{background:radial-gradient(at 50% 45%,#344b3c,#20362e)}@media (width<=1100px){.capital-district-layout{grid-template-columns:minmax(0,1fr)}.capital-district-plan{width:100%;max-width:980px;margin-inline:auto}}@media (width<=680px){.capital-districts-section>.capital-district{margin-inline:0}}@media (width<=520px){.capital-district-map{border-radius:10px;margin-inline:-.6rem}.capital-map-cell__level{border-width:1px;min-width:.85rem;padding:0 .1rem;font-size:.5rem;line-height:.8rem}}.capital-buildings-grid>article.is-unfunded{background:var(--surface-soft);border-color:#d8a293}.capital-buildings-grid>article.is-degraded{background:var(--surface-soft);border-color:#e0bd7a}.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-district-open{width:100%;color:inherit;border:1px solid var(--border);cursor:pointer;font:inherit;text-align:left;background:0 0;border-radius:15px;margin-top:1rem;padding:0;display:block;position:relative;overflow:hidden}.capital-district-open .capital-district-map{border:0;border-radius:0;margin:0}.capital-district-open .capital-district-building{pointer-events:none}.capital-district-open>span{color:#fff;background:linear-gradient(#0000,#112b21d1 45%);gap:.1rem;padding:.7rem .9rem;display:grid;position:absolute;inset:auto 0 0}.capital-district-open strong{font-size:1rem}.capital-district-open small{opacity:.9;font-size:.75rem}.capital-district-view{z-index:75;overscroll-behavior:contain;background:var(--paper);position:fixed;inset:0;overflow:hidden}.capital-district-view__stage{padding:env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);background:radial-gradient(at 50% 55%,#e1e3c7 0%,#ece8d9 65%,#e4dfcc 100%);grid-template-rows:minmax(0,1fr);display:grid;position:absolute;inset:0;overflow:hidden}@media (orientation:portrait){.capital-district-view__stage{width:100dvh;height:100vw;padding:0 env(safe-area-inset-bottom) 0 env(safe-area-inset-top);transform-origin:0 0;inset:0 auto auto 100%;transform:rotate(90deg)}.capital-district-view__bar{padding-right:calc(.5rem + env(safe-area-inset-bottom));padding-left:calc(1rem + env(safe-area-inset-top))}.has-capital-district-view :is(.confirm-dialog,.action-celebration){transform-origin:0 0;width:100dvh;height:100vw;inset:0 auto auto 100%;transform:rotate(90deg)}}.has-capital-district-view :is(.language-switcher,.theme-toggle){display:none}.has-capital-district-view .confirm-dialog{align-items:safe center;padding:10px}.has-capital-district-view .confirm-dialog__panel{text-align:left;grid-template-rows:minmax(0,1fr) auto;grid-template-columns:auto 1fr;justify-items:stretch;gap:.5rem 1rem;width:min(860px,100%);max-height:100%;padding:.9rem 1.1rem .8rem}.has-capital-district-view .confirm-dialog__body{overscroll-behavior:contain;min-height:0;overflow-y:auto}.has-capital-district-view .confirm-dialog__shortages{grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:.4rem;margin:.2rem 0}.has-capital-district-view .confirm-dialog__shortages li{align-content:start;padding:.4rem .55rem;font-size:.72rem;line-height:1.35}.has-capital-district-view .confirm-dialog__shortages small{font-size:.66rem}.has-capital-district-view .confirm-dialog__portrait{width:64px;height:80px}.has-capital-district-view .confirm-dialog__body h2{font-size:1.1rem}.has-capital-district-view .confirm-dialog__body p{font-size:.76rem;line-height:1.45}.has-capital-district-view .confirm-dialog__actions{justify-content:flex-end;padding-top:.6rem}.has-capital-district-view .confirm-dialog__actions button{flex:none}.capital-district-view__bar{z-index:3;min-width:0;padding:.35rem calc(.5rem + env(safe-area-inset-right)) .35rem calc(1rem + env(safe-area-inset-left));pointer-events:none;align-items:center;gap:.75rem;display:flex;position:absolute;inset:0 0 auto}.capital-district-view__bar>*{text-shadow:0 0 3px var(--paper),0 0 8px var(--paper)}.capital-district-view__close{pointer-events:auto}.capital-district-view__bar>div{flex:1;align-items:baseline;gap:.6rem;min-width:0;display:flex}.capital-district-view__bar h2{color:var(--forest-800);text-overflow:ellipsis;white-space:nowrap;margin:0;font:700 1.05rem Fraunces,Georgia,serif;overflow:hidden}.capital-district-view__bar small{color:var(--muted);white-space:nowrap;font-size:.75rem}.capital-district-view__count{color:var(--muted);white-space:nowrap;font-size:.75rem;font-weight:700}.capital-district-view__close,.capital-district-modal__close{width:36px;height:36px;color:var(--forest-800);background:var(--surface-raised);border:1px solid var(--border);cursor:pointer;border-radius:50%;flex:none;place-items:center;padding:0;display:grid}.capital-district-view__close svg,.capital-district-modal__close svg{fill:none;stroke:currentColor;stroke-width:2px;stroke-linecap:round;width:14px;height:14px}.capital-district-view__body{touch-action:none;-webkit-user-select:none;user-select:none;min-height:0;position:relative}.capital-district-view__scene{place-items:center;display:grid;position:absolute;inset:0 2.4rem;container-type:size}.capital-district-view__scene .capital-district-map{background:0 0;border:0;width:min(100cqw,158.519cqh);margin:0}.capital-district-view__scene .capital-map-cell__level{border-width:1.5px;min-width:1rem;padding:0 .15rem;font-size:.58rem;line-height:.95rem}.capital-district-view__scene.is-from-next{animation:.28s ease-out capital-district-from-next}.capital-district-view__scene.is-from-previous{animation:.28s ease-out capital-district-from-previous}@keyframes capital-district-from-next{0%{opacity:0;transform:translate(12%)}}@keyframes capital-district-from-previous{0%{opacity:0;transform:translate(-12%)}}.capital-district-view__arrow{z-index:2;width:26px;color:var(--forest-800);cursor:pointer;background:0 0;border:0;place-items:center;padding:0;display:grid;position:absolute;top:3.1rem;bottom:.8rem}.capital-district-view__arrow:before{content:"";background:var(--surface-raised);border:1px solid var(--border);opacity:.85;border-radius:999px;position:absolute;inset:0 5px}.capital-district-view__arrow svg{fill:none;stroke:currentColor;stroke-width:1.6px;stroke-linecap:round;stroke-linejoin:round;width:8px;height:32px;position:relative}.capital-district-view__arrow.is-previous{left:.35rem}.capital-district-view__arrow.is-next{right:.35rem}.capital-district-view__arrow:focus-visible{outline:0}.capital-district-view__arrow:focus-visible:before{border-color:var(--forest-700);box-shadow:0 0 0 2px var(--gold)}.capital-district-view__notice{z-index:3;color:#fff;background:var(--forest-700);pointer-events:none;border-radius:999px;max-width:min(90%,34rem);margin:0;padding:.45rem .8rem;font-size:.78rem;animation:5s forwards capital-district-notice;position:absolute;bottom:.6rem;left:50%;transform:translate(-50%)}.capital-district-view__notice.is-error{background:#b4553f;border-radius:10px}@keyframes capital-district-notice{0%,85%{opacity:1}to{opacity:0}}.capital-district-modal{z-index:5;background:#0e30288c;place-items:center;padding:.9rem 1rem;display:grid;position:absolute;inset:0}.capital-district-modal__panel{width:min(100% - 5.5rem,720px);min-height:0;max-height:100%;display:grid;position:relative}.capital-district-modal__close{z-index:1;box-shadow:0 2px 8px var(--shadow);position:absolute;top:0;left:calc(100% + .5rem)}.capital-district-modal .capital-district-detail{overscroll-behavior:contain;background:var(--paper);touch-action:pan-x pan-y;border-radius:13px;max-height:100%;overflow-y:auto}.capital-district-modal .capital-district-detail>*{margin:0}.capital-district-modal :is(.capital-buildings-grid,.capital-catalog-grid){gap:.6rem}.capital-district-modal .capital-buildings-grid>article{background:var(--surface-raised);border:1px solid var(--border);border-radius:13px;grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);align-items:start;gap:0 1rem;padding:.75rem .9rem;display:grid}.capital-district-modal .capital-buildings-grid>article:is(.is-unfunded,.is-degraded){border-left-width:1px;padding-inline-start:.9rem}.capital-district-modal .capital-building-state{align-content:start;gap:.15rem;min-width:0;display:grid}.capital-district-modal .capital-building-state>p{color:var(--muted);margin:0;font-size:.78rem}.capital-district-modal .capital-building-title>.capital-building-icon{width:44px;height:44px}.capital-district-modal .capital-building-title h3{font-size:1rem}.capital-district-modal .capital-housing-needs{gap:.25rem;margin:.25rem 0 0}.capital-district-modal .capital-housing-needs .capital-need-icon,.capital-district-modal .capital-housing-needs .resource-svg{width:18px;height:18px}.capital-district-modal .capital-building-actions{border-left:1px solid var(--border);flex-wrap:wrap;align-content:start;gap:.3rem .45rem;min-width:0;padding-left:1rem;display:flex}.capital-district-modal .capital-building-actions :is(.capital-upgrade,.capital-downgrade,.capital-build-more){display:contents}.capital-district-modal .capital-building-actions :is(.capital-upgrade,.capital-downgrade,.capital-build-more)>:not(button){flex:1 0 100%;margin:0}.capital-district-modal .capital-building-actions small{color:var(--muted);font-size:.72rem}.capital-district-modal .capital-building-actions .capital-max-level{margin:0}.capital-district-modal .capital-building-actions button{flex:1 1 0;order:10;min-width:6.5rem;margin:.2rem 0 0;padding:.5rem .6rem;font-size:.8rem;line-height:1.2}.capital-district-modal .capital-building-actions .capital-downgrade button{padding:.5rem .6rem;font-size:.8rem}.capital-district-modal .capital-district-detail>.capital-catalog-grid{grid-template-columns:repeat(auto-fit,minmax(15rem,1fr))}.capital-district-modal .capital-catalog-grid>article{background:var(--surface-raised);border:1px solid var(--border);border-radius:13px;grid-template-columns:48px minmax(0,1fr) minmax(0,1fr);align-items:start;gap:.25rem .7rem;padding:.75rem .9rem;display:grid}.capital-district-modal .capital-catalog-grid>article>*{grid-column:2/-1;min-height:0;margin:0}.capital-district-modal .capital-catalog-grid>article>.capital-catalog-icon{grid-area:1/1/span 3;width:48px;height:48px;margin:0}.capital-district-modal .capital-catalog-grid>article>h3{font-size:1rem}.capital-district-modal .capital-catalog-grid>article>button{grid-column:2;margin-top:.3rem;padding:.5rem .6rem;font-size:.8rem;line-height:1.2}.capital-district-modal .capital-catalog-grid>article>button:only-of-type{grid-column:2/-1}.capital-district-modal .capital-catalog-grid>article>button+button{grid-column:3}:root[data-theme=dark] .capital-district-view__stage{background:radial-gradient(at 50% 55%,#344b3c,#20362e)}:root[data-theme=dark] .capital-district-modal{background:#0009}@media (prefers-reduced-motion:reduce){.capital-district-view__scene{animation:none!important}}.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-deliveries__sold{color:#8a6a2f;margin-top:.2rem;font-size:.72rem;font-style:italic;display:block}.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-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-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}.capital-stats-page .capital-stats-tiles{gap:0;margin:1rem 0 .25rem}.capital-stats-page .capital-stats-tiles article{border:0;border-bottom:1px solid var(--border);box-shadow:none;background:0 0;border-radius:0;gap:.7rem;padding:.55rem 0}.capital-stats-page .capital-stats-tiles article:last-child{border-bottom:0}.capital-stats-page .capital-stats-tiles .capital-summary-icon{border-radius:9px;width:32px;height:32px;font-size:1rem!important}.capital-stats-page .capital-stats-tiles article>div{flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:baseline;column-gap:.75rem;min-width:0}.capital-stats-page .capital-stats-tiles article>div>strong{white-space:nowrap;grid-area:1/2}.capital-stats-page .capital-stats-tiles article>div>span{grid-column:1/-1}.stock-deliveries{gap:0}.stock-deliveries li{border:0;border-bottom:1px solid var(--border);background:0 0;border-radius:0;grid-template-columns:58px minmax(0,1fr);gap:.35rem .6rem;padding:.55rem 0}.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(4,minmax(0,1fr));gap:.1rem .5rem;padding:.55rem 0;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:.15rem}.stock-table td:not(:first-child):before{content:attr(data-label);color:var(--muted);font-variant-numeric:normal;font-size:.62rem;display:block}.stock-table .is-missing td,:root[data-theme=dark] .capital-stats-page .stock-table .is-missing td{background:0 0}.stock-table .is-missing td:first-child strong{color:var(--error)}.capital-stats-page .stock-assumptions{border:0;border-top:1px dashed var(--border);background:0 0;border-radius:0;margin-top:1.25rem;padding:1rem 0 0}.capital-district>header{flex-direction:column;align-items:flex-start}.capital-district-population{text-align:left}.capital-consumption-table{overflow-x:auto}.capital-consumption-table table{font-size:.72rem}.capital-consumption-table :is(th,td){padding:.35rem .3rem}.capital-consumption-table thead th{letter-spacing:.02em;font-size:.58rem}.capital-consumption-table :is(th,td):nth-child(2){display:none}.capital-consumption-table td:last-child{white-space:normal}.capital-consumption-icons{max-width:5.4rem}.capital-consumption-icons>:not(:first-child){display:inline-block}.capital-consumption-names{clip-path:inset(50%);white-space:nowrap;width:1px;height:1px;position:absolute;overflow:hidden}.capital-resources-section,.capital-needs-section{box-shadow:none;background:0 0;border:0;padding:0}.capital-resource-categories>article{margin-bottom:.75rem;padding:.7rem .85rem .45rem}.capital-resource-categories li{grid-template-columns:20px minmax(0,1fr) auto auto;gap:.5rem;padding:.28rem 0;font-size:.8rem}.capital-resource-categories li .resource-svg{width:20px;height:20px}.capital-section-heading>p.capital-resources-meta{justify-content:flex-start}.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}.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:0}.capital-buildings-grid>article,.capital-catalog-grid>article{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;padding:.9rem 0}.capital-buildings-grid>article:first-child,.capital-catalog-grid>article:first-child{border-top:0;padding-top:.15rem}.capital-building-title>.capital-building-icon{width:48px;height:48px}.capital-buildings-grid .capital-upgrade{border-top:0;padding-top:.45rem}.capital-buildings-grid>article:is(.is-unfunded,.is-degraded){border-top-color:var(--border);background:0 0;border-left:3px solid #d8a293;padding-inline-start:.75rem}.capital-buildings-grid>article.is-degraded{border-left-color:#e0bd7a}.capital-catalog-grid>article{grid-template-columns:56px minmax(0,1fr);align-items:start;gap:.3rem .75rem;display:grid}.capital-catalog-grid>article>*{grid-column:2}.capital-catalog-grid>article>.capital-catalog-icon{grid-area:1/1/span 3;width:56px;height:56px;margin:0}.capital-catalog-grid>article>p{min-height:0;margin:0}.capital-catalog-grid>article>h3{margin:0;font-size:1rem}.capital-catalog-grid>article>button{grid-column:1/-1;margin-top:.35rem}.capital-catalog-grid>article.is-tutorial-target{border-radius:10px;padding:.6rem}}.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}@media (width<=680px){.ships-page .fleet-section,:root[data-theme=dark] .ships-page .fleet-section{box-shadow:none;background:0 0;border:0;margin-top:1.5rem;padding:0}.ships-page .ship-grid{gap:.75rem}.ships-page .ship-card{margin-inline:calc(var(--shell-gutter,16px) * -1);padding-inline:var(--shell-gutter,16px);border-inline:0;border-radius:0}.ships-page .ship-card--catalog .ship-card__icon{grid-row:auto}.ships-page .ship-card--catalog dl{flex-wrap:wrap;gap:.15rem .85rem;margin:0;display:flex}.ships-page .ship-card--catalog dl div,:root[data-theme=dark] .ships-page .ship-card--catalog dl div{text-align:left;background:0 0;align-items:baseline;gap:.3rem;padding:0;display:flex}.ships-page .ship-card--catalog dd{margin:0;font-size:.86rem}.ships-page .ship-price,:root[data-theme=dark] .ships-page .ship-price{text-align:left;background:0 0;padding:0}.ships-page .ship-upkeep{text-align:left;margin:0}}.worlds-link--expeditions{color:#2b6d80!important}:root[data-theme=dark] .worlds-link--expeditions{color:#7fc7db!important}.expedition-lock{text-align:center;max-width:640px}.expedition-lock__badge{background:var(--sage-100);color:var(--forest-800);letter-spacing:.06em;text-transform:uppercase;border-radius:999px;margin:0 0 .8rem;padding:.2rem .6rem;font-size:.66rem;font-weight:800;display:inline-block}.expedition-lock h2{color:var(--forest-950);margin:0 0 .6rem}.expedition-lock p{color:var(--muted);margin:0 0 .8rem}.expedition-lock__progress{font-weight:700;color:var(--forest-900)!important}.expedition-lock__gauge{background:var(--sage-100);border-radius:999px;height:9px;margin:0 auto 1rem;overflow:hidden}.expedition-lock__gauge>span{background:var(--forest-700);border-radius:999px;height:100%;display:block}.expedition-lock__hint{margin:0;font-size:.8rem}.expedition-grid{grid-template-columns:minmax(0,1fr);align-items:start}.expedition-card{container-type:inline-size}.expedition-empty{border:1px dashed var(--border);text-align:center;border-radius:12px;padding:1.4rem}.expedition-empty h3{color:var(--forest-950);margin:0 0 .4rem}.expedition-empty p{max-width:46ch;color:var(--muted);margin:0 auto;font-size:.85rem}.expedition-card__upgrades-title{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:.5rem 0 0;font-size:.66rem;font-weight:800}.expedition-card__planned{color:var(--muted);margin:.2rem 0 0;font-size:.72rem;font-style:italic}.expedition-card__at-sea{font-size:.76rem;font-weight:700;color:var(--gold)!important;margin:.15rem 0 0!important}.expedition-parts{gap:.5rem;margin:.35rem 0 0;padding:0;list-style:none;display:grid}.expedition-part{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;gap:.3rem;padding:.6rem .7rem;display:grid}.expedition-part__head{justify-content:space-between;align-items:baseline;gap:.5rem;display:flex}.expedition-part__head strong{color:var(--forest-950);font-size:.86rem}.expedition-part__level{background:var(--paper);color:var(--muted);white-space:nowrap;border-radius:999px;flex:none;padding:.1rem .45rem;font-size:.68rem;font-weight:700}.expedition-part.is-done .expedition-part__level{background:var(--sage-100);color:var(--forest-800)}.expedition-part__detail{color:var(--muted);font-size:.72rem}.expedition-part__gain{color:var(--gold);margin:0;font-size:.76rem;font-weight:700}.expedition-card .expedition-part__action{color:#fff;cursor:pointer;background:#236a59;border:0;border-radius:8px;justify-self:end;padding:.38rem .85rem;font-size:.76rem;font-weight:700}.expedition-card .expedition-part__action:disabled{cursor:not-allowed;background:#a9b5ae}.expedition-deck{background:radial-gradient(at 50% 45%,#153344 0,#0000 62%),linear-gradient(#33596a18 1px,#0000 1px) 0 0/26px 26px,linear-gradient(90deg,#33596a18 1px,#0000 1px) 0 0/26px 26px,#081521;border:1px solid #29485c;border-radius:12px;margin-top:.7rem;padding:1.1rem;overflow:hidden}.expedition-deck__heading{border-bottom:1px solid #294353;justify-content:space-between;align-items:center;gap:1rem;padding-bottom:.85rem;display:flex}.expedition-card .expedition-deck .expedition-deck__heading .expedition-card__upgrades-title{color:#c0e5eb;letter-spacing:.14em;margin:0;font-size:.7rem}.expedition-deck__heading>span{color:#63d4ca;white-space:nowrap;font-size:.75rem}.expedition-deck__layout{grid-template-rows:repeat(3,1fr);grid-template-columns:minmax(0,1fr) minmax(180px,.85fr) minmax(0,1fr);align-items:center;gap:1rem;padding:.5rem 0;display:grid;position:relative}.expedition-deck__connections{z-index:1;pointer-events:none;width:100%;height:100%;position:absolute;inset:0;overflow:visible}.expedition-deck__connections path{fill:none;stroke:#65c8c7;stroke-width:1.5px;stroke-linecap:square;stroke-linejoin:miter;vector-effect:non-scaling-stroke}.expedition-deck__connections path.is-active{stroke:#98fff0;stroke-width:2px}.expedition-deck .expedition-parts{display:contents}.expedition-blueprint{grid-area:1/2/4;align-self:center;min-width:0;position:relative}.expedition-blueprint__canvas{aspect-ratio:320/760;width:100%;position:relative}.expedition-blueprint__drawing{width:100%;height:100%;display:block;overflow:visible}.expedition-blueprint__module{color:#4e8491;transition:color .18s,filter .18s}.expedition-blueprint__module.is-active{color:#98fff0;filter:drop-shadow(0 0 6px #55e8d75c)}.expedition-card .expedition-blueprint__hotspot{z-index:2;color:#c5fff6;cursor:pointer;background:#0c2737;border:1px solid #74e6d9;border-radius:50%;place-items:center;width:32px;height:32px;padding:0;font:700 .76rem ui-monospace,monospace;display:grid;position:absolute;transform:translate(-50%,-50%);box-shadow:0 0 0 4px #061923a6}.expedition-card .expedition-blueprint__hotspot:is(:hover,.is-active){color:#071b24;background:#8af6df;box-shadow:0 0 0 4px #8af6df20,0 0 22px #58e4ce44}.expedition-card .expedition-blueprint__hotspot:focus-visible,.expedition-deck .expedition-part:focus-visible,.expedition-deck .expedition-part__action:focus-visible{outline-offset:4px;outline:2px solid #f4c5ec}.expedition-deck .expedition-part{z-index:2;background:linear-gradient(135deg,#142c3bed,#0a1a28f5);border:1px solid #375465;border-radius:9px;gap:.65rem;min-width:0;padding:1rem;scroll-margin-block:5rem;position:relative;box-shadow:0 8px 22px #0002}.expedition-part--cabins{grid-area:1/1}.expedition-part--first_aid{grid-area:2/3}.expedition-part--hold{grid-area:3/1}.expedition-part--engines{grid-area:3/3}.expedition-part--armaments{grid-area:1/3}.expedition-part--plating{grid-area:2/1}.expedition-deck .expedition-part.is-active{border-color:#6de5d5;box-shadow:inset 3px 0 #6de5d5,0 0 24px #4dd9ca0c}.expedition-deck .expedition-part__head{flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:.4rem}.expedition-deck .expedition-part__head strong{color:#edf8fb;flex:1;font-size:.9rem}.expedition-part__number{color:#9ef9e9;border:1px solid #53798b;border-radius:5px;flex:0 0 24px;place-items:center;height:24px;font:700 .7rem ui-monospace,monospace;display:grid}.expedition-deck .expedition-part__level{white-space:normal;color:#b4c9d4;background:#223b4b;padding:.2rem .45rem}.expedition-deck .expedition-part.is-done .expedition-part__level{color:#9bf2cf;background:#153c37}.expedition-deck .expedition-part__detail{color:#aec3cf;font-size:.76rem;line-height:1.55}.expedition-card .expedition-deck .expedition-part .expedition-part__gain{color:#eed09a;font-size:.8rem}.expedition-deck .expedition-part__costs{border-top:1px solid #304858;padding-top:.65rem}.expedition-deck .expedition-cost-list{gap:.4rem}.expedition-deck .expedition-cost-list li{color:#c8dce5;flex-wrap:wrap}.expedition-deck .expedition-cost-list li.is-short>strong{color:#ffaca5}.expedition-card .expedition-deck .expedition-part__action{color:#08212b;background:#89e9d5;border:1px solid #75e6d3;border-radius:5px;justify-self:stretch;margin-top:.2rem;padding:.65rem .7rem}.expedition-card .expedition-deck .expedition-part__action:hover:enabled{background:#b4ffeb}.expedition-card .expedition-deck .expedition-part__action:disabled{color:#9db3c1;background:#243b4a;border-color:#3d5766}@container (width<=740px){.expedition-deck__layout{grid-template-rows:auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:.75rem}.expedition-blueprint{grid-area:1/1/auto/-1;justify-self:center;width:210px}.expedition-deck__connections{display:none}.expedition-deck .expedition-part{grid-area:auto;align-content:start;align-self:stretch}.expedition-card .expedition-blueprint__hotspot{width:40px;height:40px}}@container (width<=460px){.expedition-deck{padding:.7rem}.expedition-deck__layout{grid-template-columns:minmax(0,1fr)}.expedition-deck__heading>span{display:none}.expedition-deck .expedition-part{padding:.85rem}}@media (width<=680px){.expeditions-page .fleet-section:not(.expedition-lock),:root[data-theme=dark] .expeditions-page .fleet-section:not(.expedition-lock){box-shadow:none;background:0 0;border:0;margin-top:1.5rem;padding:0}.expeditions-page .expedition-card,:root[data-theme=dark] .expeditions-page .expedition-card{box-shadow:none;background:0 0;border:0;border-radius:0;padding:0;overflow:visible}.expedition-card .expedition-deck{margin-inline:calc(var(--shell-gutter,16px) * -1);padding:.9rem var(--shell-gutter,16px) .2rem;border-inline:0;border-radius:0}.expedition-card .expedition-deck__layout{gap:0;padding-bottom:0}.expedition-card .expedition-blueprint{margin-bottom:.6rem}.expedition-card .expedition-deck .expedition-part,.expedition-card .expedition-deck .expedition-part.is-active{border:0;box-shadow:none;background:0 0;border-top:1px solid #294353;border-radius:0;padding:.95rem 0}.expedition-deck .expedition-part.is-active .expedition-part__number{color:#071b24;background:#8af6df;border-color:#8af6df}.expedition-card .expedition-deck .expedition-part__costs{border-top:0;padding-top:0}}@media (prefers-reduced-motion:reduce){.expedition-blueprint__module{transition:none}}.expedition-cost-list{gap:.2rem;margin:0;padding:0;list-style:none;display:grid}.expedition-cost-list li{color:var(--forest-900);align-items:center;gap:.4rem;font-size:.76rem;display:flex}.expedition-cost-list li>span{flex:auto;min-width:0}.expedition-cost-list li>strong{font-variant-numeric:tabular-nums;flex:none}.expedition-cost-list .resource-svg{flex:none;width:18px;height:18px}.expedition-cost-list li.is-short>strong{color:var(--error)}.expedition-catalog{max-width:420px}.expedition-costs{background:var(--surface-soft);border-radius:9px;grid-column:1/-1;padding:.6rem .7rem}.expedition-costs__label{letter-spacing:.06em;text-transform:uppercase;font-size:.66rem;font-weight:800;color:var(--muted)!important;margin:0 0 .35rem!important}.expedition-blocked{border:1px solid var(--border);background:var(--surface-soft);color:var(--muted);border-radius:9px;grid-column:1/-1;margin:0;padding:.6rem .75rem;font-size:.8rem}.expedition-captain{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;align-items:center;gap:.7rem;margin:.2rem 0 0;padding:.6rem .7rem;display:flex}.expedition-captain__rank{color:#fff;background:var(--forest-800);font-variant-numeric:tabular-nums;border-radius:50%;flex:0 0 38px;place-items:center;height:38px;font:800 .95rem/1 inherit;display:grid}.expedition-captain>div{flex:auto;min-width:0}.expedition-captain p{justify-content:space-between;gap:.5rem;margin:0 0 .3rem;display:flex}.expedition-captain p strong{color:var(--forest-950);font-size:.82rem}.expedition-captain p span{color:var(--muted);font-size:.74rem}.expedition-captain__bar{background:var(--border);border-radius:999px;height:5px;overflow:hidden}.expedition-captain__bar>i{background:var(--gold);height:100%;display:block}.expedition-captain small{color:var(--muted);font-variant-numeric:tabular-nums;margin-top:.25rem;font-size:.7rem;display:block}.expedition-note{color:var(--muted);margin:.3rem 0 0;font-size:.76rem;line-height:1.5}.expedition-trophies{gap:1rem;margin-top:1rem;display:grid}.expedition-trophy{border:1px solid var(--border);border-left:4px solid var(--gold);background:var(--surface);border-radius:12px;grid-template-columns:minmax(180px,220px) minmax(0,1fr);grid-template-areas:"summary use""summary actions";gap:1rem 1.5rem;padding:1.1rem 1.25rem;display:grid}.expedition-trophy__summary{background:var(--surface-soft);text-align:center;border-radius:10px;grid-area:summary;align-content:start;justify-items:center;gap:.6rem;padding:.9rem .6rem;display:grid}.expedition-trophy__grade{color:var(--gold);letter-spacing:.08em;font-size:.9rem}.expedition-trophy__identity{gap:.15rem;min-width:0;display:grid}.expedition-trophy__identity h3{color:var(--forest-950);margin:0;font-size:1.05rem}.expedition-trophy__summary>.expedition-note{text-align:center;margin:0}.expedition-trophy__options{text-align:left;border:0;justify-self:stretch;min-width:0;margin:0;padding:0}.expedition-trophy__options>legend{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0 auto .45rem;padding:0;font-size:.66rem;font-weight:800}.expedition-trophy__option-list{gap:.4rem;display:grid}.expedition-trophy__option{border:1px solid var(--border);color:var(--forest-900);background:var(--surface);cursor:pointer;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.55rem;padding:.5rem .6rem;display:grid}.expedition-trophy__option .resource-svg{flex:none;width:34px;height:34px}.expedition-trophy__option-text{gap:.05rem;min-width:0;display:grid}.expedition-trophy__option-text strong{color:var(--forest-950);overflow-wrap:anywhere;font-size:.86rem}.expedition-trophy__option-text small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.72rem}.expedition-trophy__option:hover{background:#eef4ee}.expedition-trophy__option:has(input:focus-visible){outline:2px solid var(--forest-800);outline-offset:2px}.expedition-trophy__option.is-selected{border-color:var(--forest-800);box-shadow:inset 0 0 0 1px var(--forest-800);background:#e3efe6}.expedition-trophy__option.is-stranded .resource-svg{filter:grayscale(.6);opacity:.65}.expedition-trophy__options:disabled .expedition-trophy__option{opacity:.6;cursor:not-allowed}:root[data-theme=dark] .expedition-trophy__option:hover{background:#264036}:root[data-theme=dark] .expedition-trophy__option.is-selected{background:#2f4f43}.expedition-trophy__use{grid-area:use;min-width:0}.expedition-trophy__actions{flex-wrap:wrap;grid-area:actions;justify-content:space-between;align-items:center;gap:.6rem;display:flex}.island-choices{border:0;min-width:0;margin:0;padding:0}.island-choices>legend{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0 0 .5rem;padding:0;font-size:.66rem;font-weight:800}.island-choices__grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem;max-height:22rem;padding:.15rem;display:grid;overflow-y:auto}.island-choices__option{border:1px solid var(--border);color:var(--forest-900);background:var(--surface);cursor:pointer;border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:start;gap:.55rem;padding:.65rem .75rem;font-size:.84rem;display:grid}.island-choices__option input{width:1rem;height:1rem;accent-color:var(--forest-800);cursor:pointer;margin:.1rem 0 0}.island-choices__option:hover{background:#eef4ee}.island-choices__option.is-selected{border-color:var(--forest-800);box-shadow:inset 0 0 0 1px var(--forest-800);background:#e3efe6}.island-choices:disabled .island-choices__option{opacity:.6;cursor:not-allowed}:root[data-theme=dark] .island-choices__option:hover{background:#264036}:root[data-theme=dark] .island-choices__option.is-selected{background:#2f4f43}@media (width<=680px){.expedition-trophy{grid-template-columns:minmax(0,1fr);grid-template-areas:"summary""use""actions";gap:.75rem;padding:.85rem}.expedition-trophy__summary{text-align:left;background:0 0;justify-items:stretch;gap:.5rem;padding:0}.expedition-trophy__identity{flex-wrap:wrap;align-items:baseline;gap:.2rem .6rem;display:flex}.expedition-trophy__grade{font-size:.72rem}.expedition-trophy__identity h3{font-size:.92rem}.expedition-trophy__options>legend{margin-left:0}.expedition-trophy__summary>.expedition-note{text-align:left}.expedition-trophy__option-list{grid-template-columns:repeat(auto-fit,minmax(90px,1fr))}.expedition-trophy__option{text-align:center;grid-template-columns:minmax(0,1fr);align-content:start;justify-items:center;gap:.3rem;padding:.5rem .35rem}.expedition-trophy__option .resource-svg{width:30px;height:30px}.expedition-trophy__option-text strong{overflow-wrap:normal;-webkit-hyphens:auto;hyphens:auto;font-size:.76rem}.expedition-trophy__apply{flex:100%;order:-1}}.island-select__trigger{font-size:.84rem}.island-select__menu{max-height:20rem;right:0}.island-select__menu button{white-space:normal;padding:.55rem .6rem;display:block}.island-select__menu button+button{margin-top:.15rem}.island-select__line{gap:.3rem;min-width:0;display:grid}.island-select__line.is-compact{align-items:center;gap:.5rem;display:flex}.island-select__line strong{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.island-select__line.is-compact strong{flex:0 auto;min-width:0}.island-select__outputs{flex-wrap:wrap;gap:.25rem .7rem;display:flex}.island-select__line.is-compact .island-select__outputs{flex-wrap:nowrap;flex:auto;gap:.15rem;min-width:0;overflow:hidden}.island-select__output{font-variant-numeric:tabular-nums;align-items:center;gap:.25rem;font-size:.76rem;font-weight:400;display:inline-flex}.island-select__output .resource-svg{flex:none;width:18px;height:18px}.island-select__output.is-unexploited{color:var(--muted)}.island-select__output.is-unexploited .resource-svg{filter:grayscale(.6);opacity:.6}.island-select__grant{color:var(--muted);align-items:center;gap:.3rem;font-size:.72rem;font-weight:600;display:flex}.island-select__grant .resource-svg{flex:none;width:16px;height:16px}.island-select__idle{color:var(--muted);font-size:.72rem;font-style:italic;font-weight:400}.expedition-trophy__apply{color:#fff;background:var(--forest-800);cursor:pointer;border:0;border-radius:8px;padding:.6rem 1.1rem;font-weight:750}.expedition-trophy__apply:disabled{cursor:not-allowed;background:#a9b5ae}.expedition-trophy__discard{border:1px solid var(--border);color:var(--muted);cursor:pointer;background:0 0;border-radius:8px;padding:.4rem .7rem;font-size:.76rem;font-weight:700}.expedition-trophy__discard:hover:not(:disabled){color:#a24a40;border-color:#d8a99f}.expedition-trophy__discard:disabled{opacity:.55;cursor:not-allowed}.expedition-voyages{gap:1rem;display:grid}.expedition-voyages-section{scroll-margin-top:16px}.expedition-voyage{border:1px solid var(--border);background:var(--surface);border-radius:14px;gap:.75rem;padding:1rem;scroll-margin-top:16px;display:grid}.expedition-voyage.is-lost{background:#fdf4f2;border-color:#e2b3ae}:root[data-theme=dark] .expedition-voyage.is-lost{background:#33221f;border-color:#68413b}.expedition-voyage.is-daring{border-color:var(--gold)}.expedition-voyage__head{flex-wrap:wrap;justify-content:space-between;align-items:flex-start;gap:.6rem;display:flex}.expedition-voyage__head h3{color:var(--forest-950);margin:0 0 .35rem;font-size:1rem}.expedition-voyage__tags{flex-wrap:wrap;gap:.35rem;margin:0;display:flex}.expedition-tag{background:var(--surface-soft);color:var(--forest-900);border-radius:999px;padding:.2rem .5rem;font-size:.7rem;font-weight:700}.expedition-tag--normal{background:#e7f0e9}.expedition-tag--hard{color:#8a3527;background:#f6e2dd}:root[data-theme=dark] .expedition-tag--normal{background:#203d2a}:root[data-theme=dark] .expedition-tag--hard{color:#f4c3ba;background:#422724}.expedition-voyage__clock{color:var(--muted);margin:0;font-size:.78rem;font-weight:700}.expedition-voyage__clock.is-urgent{color:var(--gold)}.expedition-voyage__clock.is-lost{color:var(--error)}.expedition-voyage__gauges{grid-template-columns:repeat(auto-fit,minmax(170px,1fr));gap:.55rem;display:grid}.expedition-gauge p{justify-content:space-between;gap:.5rem;margin:0 0 .25rem;font-size:.72rem;display:flex}.expedition-gauge p span{color:var(--muted);font-weight:700}.expedition-gauge p strong{color:var(--forest-900);font-variant-numeric:tabular-nums}.expedition-gauge>div{background:var(--border);border-radius:999px;height:6px;overflow:hidden}.expedition-gauge>div>i{background:var(--forest-700);height:100%;display:block}.expedition-gauge--hull>div>i{background:#4f88a6}.expedition-gauge--crew>div>i{background:#8a6fb0}.expedition-gauge.is-low>div>i{background:var(--error)}.expedition-hold{flex-wrap:wrap;gap:.4rem;margin:0;padding:0;list-style:none;display:flex}.expedition-hold li{background:var(--surface-soft);border-radius:999px;align-items:center;gap:.3rem;padding:.25rem .5rem;font-size:.74rem;display:flex}.expedition-hold .resource-svg{width:16px;height:16px}.expedition-hold strong{font-variant-numeric:tabular-nums}.expedition-daring{border-left:3px solid var(--gold);background:var(--surface-soft);color:var(--forest-900);margin:0;padding:.5rem .7rem;font-size:.78rem}.expedition-devtool{margin:0}.expedition-devtool button{border:1px dashed var(--muted);background:repeating-linear-gradient(45deg, transparent, transparent 6px, var(--surface-soft) 6px, var(--surface-soft) 12px);width:100%;color:var(--muted);letter-spacing:.02em;cursor:pointer;border-radius:8px;padding:.45rem .7rem;font-size:.74rem}.expedition-devtool button:disabled{opacity:.45;cursor:not-allowed}.expedition-encounter{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;gap:.5rem;padding:.9rem;display:grid}.expedition-encounter.is-ultimatum{border-color:var(--error);background:#fdf3f1}:root[data-theme=dark] .expedition-encounter.is-ultimatum{background:#422724}.expedition-encounter h4{color:var(--forest-950);margin:0;font-size:.95rem}.expedition-encounter>p{color:var(--muted);margin:0;font-size:.82rem;line-height:1.6}.expedition-encounter__choices{grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:.5rem;display:grid}.expedition-choice{border:1px solid var(--forest-700);background:var(--surface);color:var(--forest-900);text-align:left;cursor:pointer;border-radius:10px;gap:.25rem;padding:.7rem .8rem;display:grid}.expedition-choice:hover:enabled{background:var(--sage-100)}.expedition-choice:disabled{border-color:var(--border);color:var(--muted);cursor:not-allowed}.expedition-choice strong{font-size:.85rem}.expedition-choice__odds{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.74rem}.expedition-choice__cost{align-items:center;gap:.3rem;font-size:.72rem;display:flex}.expedition-choice__cost .resource-svg{width:15px;height:15px}.expedition-choice__blocked{color:var(--error);font-size:.72rem}.expedition-choice__risk{color:var(--error);font-variant-numeric:tabular-nums;font-size:.72rem}.expedition-choice__risk.is-fatal{font-weight:700}.expedition-captain{background:var(--sage-100);color:var(--forest-900);border-radius:8px;margin:.5rem 0 0;padding:.45rem .6rem;font-size:.74rem}.expedition-captain.is-daring{color:var(--error);background:#fbeaea;font-weight:700}:root[data-theme=dark] .expedition-captain.is-daring{background:#422724}.expedition-welcome{border:1px solid var(--forest-700);background:var(--sage-100);border-radius:12px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:.6rem;padding:.75rem .85rem;display:flex}.expedition-welcome p{color:var(--forest-900);flex:220px;margin:0;font-size:.82rem}.expedition-welcome button{color:#fff;background:var(--forest-800);cursor:pointer;border:0;border-radius:8px;padding:.6rem .95rem;font-weight:750}.expedition-welcome button:disabled{cursor:not-allowed;background:#a9b5ae}.expedition-outcome{color:var(--forest-900);margin:0;font-size:.82rem;font-weight:700}.expedition-outcome.is-lost{color:var(--error)}.expedition-outcome.is-reward{color:var(--gold)}.expedition-log>summary{color:var(--muted);cursor:pointer;font-size:.76rem}.expedition-log ol{gap:.5rem;margin:.6rem 0 0;padding:0 0 0 1.1rem;display:grid}.expedition-log li{color:var(--forest-900);font-size:.78rem}.expedition-log li strong{color:var(--forest-950)}.expedition-log li em{color:var(--muted);margin-left:.35rem;font-style:normal}.expedition-log li p{color:var(--muted);margin:.15rem 0 0}.expedition-log li small{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.72rem}.expedition-log li.is-lost strong{color:#8a3527}.expedition-report__eyebrow{color:var(--muted);letter-spacing:.06em;text-transform:uppercase;margin:0;font-size:.68rem;font-weight:700}.confirm-dialog__body .expedition-report__title.is-won{color:var(--success)}.confirm-dialog__body .expedition-report__title.is-lost{color:var(--error)}.expedition-report__tolls{flex-wrap:wrap;gap:.35rem;margin:0;padding:0;list-style:none;display:flex}.expedition-report__tolls li{border:1px solid var(--border);background:var(--surface-soft);color:var(--forest-900);font-variant-numeric:tabular-nums;border-radius:999px;padding:.2rem .5rem;font-size:.72rem;font-weight:700}.confirm-dialog__body .expedition-report__next{border:1px dashed var(--border);background:var(--surface-soft);border-radius:10px;padding:.55rem .7rem}.confirm-dialog__body .expedition-report__next.is-lost{color:var(--error);font-weight:700}.confirm-dialog__body .expedition-report__grade{color:var(--gold);letter-spacing:.12em;font-size:1.1rem}.expedition-report__options{grid-template-columns:repeat(auto-fit,minmax(90px,1fr));gap:.4rem;margin:0;padding:0;list-style:none;display:grid}.expedition-report__options li{border:1px solid var(--border);background:var(--surface-soft);text-align:center;border-radius:10px;align-content:start;justify-items:center;gap:.15rem;padding:.45rem .35rem;display:grid}.expedition-report__options .resource-svg{width:30px;height:30px}.expedition-report__options strong{color:var(--forest-950);overflow-wrap:anywhere;font-size:.8rem}.expedition-report__options span{color:var(--muted);font-variant-numeric:tabular-nums;font-size:.7rem}@media (width<=520px){.expedition-report__tolls{justify-content:center}}.expedition-departure{gap:1.15rem;display:grid}.expedition-departure__captain{border:1px solid var(--border);border-inline-start:4px solid var(--gold);background:linear-gradient(115deg,var(--sage-100),var(--surface));border-radius:14px;flex-wrap:wrap;align-items:center;gap:.75rem 1.5rem;padding:1rem 1.15rem;display:flex}.expedition-departure__rank{gap:.25rem;display:grid}.expedition-departure__rank>span{color:var(--muted);letter-spacing:.08em;text-transform:uppercase;font-size:.68rem;font-weight:800}.expedition-departure__rank>strong{color:var(--forest-950);font-variant-numeric:tabular-nums;font-size:1.15rem}.expedition-departure__captain>.expedition-note{flex:220px;margin:0}.expedition-departure__grid{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:1rem;display:grid}.expedition-field{border:0;align-content:start;gap:.65rem;min-width:0;margin:0;padding:0;display:grid}.expedition-field>span,.expedition-field>legend{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;padding:0 0 .65rem;font-size:.72rem;font-weight:800}.expedition-options{grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.5rem;display:grid}.expedition-options--compass{grid-template-columns:repeat(4,minmax(0,1fr))}.expedition-option{border:1px solid var(--border);background:var(--surface);min-height:78px;color:var(--forest-900);text-align:center;cursor:pointer;border-radius:12px;align-content:center;gap:.35rem;padding:.75rem .6rem;display:grid}.expedition-option.is-active{border-color:var(--forest-700);background:var(--sage-100);box-shadow:inset 0 0 0 1px var(--forest-700)}.expedition-option:hover:not(:disabled){border-color:var(--forest-700)}.expedition-option:disabled{opacity:.65;cursor:not-allowed}.expedition-option:focus-visible,.expedition-loading input:focus-visible,.expedition-departure__action:focus-visible{outline:2px solid var(--forest-700);outline-offset:3px}.expedition-option strong{font-size:.8rem}.expedition-option small{color:var(--muted);font-size:.68rem;line-height:1.45}.expedition-option--difficulty{grid-template-rows:auto auto 1fr;align-content:start;gap:.5rem}.expedition-option__illustration{object-fit:contain;width:76px;max-width:100%;height:76px;box-shadow:0 2px 6px var(--shadow);border-radius:50%;justify-self:center;display:block}.expedition-options--compass strong{font-size:1.3rem;line-height:1}.expedition-departure__preparation{grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.expedition-loading{border:1px solid var(--border);background:var(--surface-soft);border-radius:14px;min-width:0;padding:1rem}.expedition-loading__head{justify-content:space-between;gap:.5rem;margin:0;display:flex}.expedition-loading__head span{color:var(--muted);letter-spacing:.05em;text-transform:uppercase;font-size:.72rem;font-weight:800}.expedition-loading__head strong{color:var(--forest-900);font-variant-numeric:tabular-nums}.expedition-loading__progress{appearance:none;background:var(--border);width:100%;height:7px;accent-color:var(--forest-700);border:0;border-radius:999px;margin:.65rem 0;display:block;overflow:hidden}.expedition-loading__progress::-webkit-progress-bar{background:var(--border);border-radius:999px}.expedition-loading__progress::-webkit-progress-value{background:var(--forest-700);border-radius:999px}.expedition-loading__progress::-moz-progress-bar{background:var(--forest-700);border-radius:999px}.expedition-loading ul{grid-template-columns:30px minmax(0,1fr) 76px auto;gap:.6rem .65rem;margin:.85rem 0 0;padding:0;list-style:none;display:grid}.expedition-loading li{grid-column:1/-1;grid-template-columns:subgrid;border-top:1px solid var(--border);align-items:center;padding:.65rem 0;display:grid}.expedition-loading li>div{min-width:0}.expedition-loading li>div span{color:var(--forest-900);font-size:.8rem;display:block}.expedition-loading li>div small{color:var(--muted);font-size:.7rem}.expedition-loading li input{box-sizing:border-box;border:1px solid var(--border);background:var(--surface);width:100%;min-height:44px;color:var(--forest-900);font-variant-numeric:tabular-nums;text-align:right;border-radius:8px;padding:.5rem}.expedition-loading__held{color:var(--muted);font-variant-numeric:tabular-nums;text-align:end;font-size:.72rem}.expedition-loading .resource-svg{width:30px;height:30px}.expedition-departure__checkout{border:1px solid var(--border);background:var(--surface);border-radius:14px;gap:1rem;min-width:0;padding:1rem;display:grid}.expedition-departure__checkout .expedition-cost-list{grid-template-columns:minmax(0,1fr);gap:.5rem;display:grid}.expedition-departure__checkout .expedition-cost-list li{padding:.55rem .65rem}.expedition-departure__checkout .expedition-cost-list strong{margin-inline-start:auto}.expedition-departure__action{width:100%;min-height:46px;color:var(--paper);background:var(--forest-800);cursor:pointer;border:0;border-radius:10px;padding:.8rem 1rem;font-weight:750}.expedition-departure__action:disabled{cursor:not-allowed;background:#a9b5ae}.expedition-departure__action:hover:not(:disabled){background:var(--forest-700)}@media (width<=760px){.expedition-departure__grid,.expedition-departure__preparation{grid-template-columns:minmax(0,1fr)}}@media (width<=400px){.expedition-loading ul{grid-template-columns:30px minmax(0,1fr) 68px}.expedition-loading__held{grid-column:2/-1}}@media (width<=680px){.expeditions-page .expedition-voyage,.expeditions-page .expedition-trophy{margin-inline:calc(var(--shell-gutter,16px) * -1);padding-inline:var(--shell-gutter,16px);border-right:0;border-radius:0}.expeditions-page .expedition-voyage{border-left:0}.expeditions-page .expedition-encounter,.expeditions-page .expedition-welcome{background:0 0;border:0;border-radius:0;padding:0}.expeditions-page .expedition-voyage:has(.expedition-encounter.is-ultimatum){border-color:var(--error)}.expeditions-page .expedition-welcome{border-top:1px solid var(--border);padding-top:.75rem}.expedition-departure__checkout .expedition-costs{background:0 0;padding:0}.expedition-departure__checkout .expedition-cost-list li{padding-inline:0}}@media (width<=520px){.expedition-voyage__gauges,.expedition-encounter__choices{grid-template-columns:minmax(0,1fr)}}.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;scroll-margin-top:16px;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-operations__stock{color:#5d7a70;border-top:1px dashed #d3e0d7;justify-content:space-between;align-items:baseline;gap:.5rem;margin:.6rem 0 0;padding-top:.5rem;font-size:.72rem;display:flex}.route-operations__stock strong{color:#26624e;font-size:.82rem}.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__hold{gap:.55rem;min-width:0;display:grid}.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-list{gap:.5rem;margin-top:.75rem;display:grid}.route-editor__assigned-ships .route-editor__add-ship{border:1px solid #dce7df;border-radius:9px;margin-top:.75rem}.route-editor__assigned-ships .route-editor__add-ship label{flex:1}.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-editor__assigned-ships article>.route-ship__hold{border-top:1px solid #eaf0eb;grid-column:1/-1;gap:.45rem;margin-top:.15rem;padding-top:.55rem}.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__actions{align-items:end;gap:.4rem;display:flex}.route-stop .route-remove{color:#8c3e36;background:#fff;border:1px solid #ddbbb7}.route-stop .route-move{color:#2c6556;background:#e6f0ea;flex:none;width:2.6rem;padding:.68rem 0;font-size:1rem;line-height:1}.route-stop .route-move:disabled{color:#9db3a9;cursor:not-allowed;background:#eef2ef}.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-editor .route-location-select .resource-select__trigger{color:#244c40;background:#fff;border:1px solid #cdd9d1;padding:.65rem .7rem;font-weight:400}.route-location-select__menu{max-height:20rem;right:0}.route-location-select__line{flex:auto;align-items:center;gap:.55rem;min-width:0;display:flex;overflow:hidden}.route-location-select__line>strong{text-overflow:ellipsis;white-space:nowrap;flex:0 auto;min-width:0;overflow:hidden}.route-location-select__stocks{min-width:0;color:var(--muted);font-variant-numeric:tabular-nums;flex:0 auto;align-items:center;gap:.5rem;font-size:.76rem;font-weight:400;display:flex;overflow:hidden}.route-location-select__stocks>span{flex:none;align-items:center;gap:.2rem;display:inline-flex}.route-location-select__stocks .resource-svg{flex:none;width:18px;height:18px}.route-location-select__empty{color:var(--muted);white-space:nowrap;font-size:.72rem;font-style:italic;font-weight:400}.route-location-select__unlinked{white-space:nowrap;flex:none;margin-left:auto;font-size:.72rem;font-weight:700}.route-location-select .resource-select__trigger.is-unlinked,.route-location-select .resource-select__menu button.is-unlinked,.route-location-select .is-unlinked .route-location-select__stocks,.route-location-select .is-unlinked .route-location-select__empty,:root[data-theme=dark] .route-location-select .resource-select__trigger.is-unlinked,:root[data-theme=dark] .route-location-select .resource-select__menu button.is-unlinked{color:var(--error)}.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){.route-form,.route-editor__identity{grid-template-columns:1fr}.route-stop>header{grid-template-columns:auto 1fr}.route-stop__actions{grid-column:1/-1;justify-content:flex-end}.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{padding:.45rem .7rem;font-size:.78rem}.route-stop .route-move{width:2.4rem;padding:.45rem 0}.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-discovery{text-align:center;gap:8px;margin:0 0 4px;display:grid}.auth-discovery .eyebrow{margin:0}.discovery-button{color:#2a1c05;cursor:pointer;width:100%;font:inherit;background:linear-gradient(135deg,#d99f37,#b97f22);border:0;border-radius:12px;justify-content:center;align-items:center;gap:10px;padding:14px 20px;font-size:1rem;font-weight:800;display:flex;box-shadow:0 10px 24px #b97f2247}.discovery-button:hover:not(:disabled){filter:brightness(1.05)}.discovery-button:disabled{cursor:wait;opacity:.65}.auth-discovery__help{color:var(--muted);margin:0;font-size:.74rem;line-height:1.5}.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{grid-template-columns:minmax(0,1fr);gap:18px;display:grid}.auth-form .form-field input,.auth-form .country-select,.auth-form .terms-check{box-sizing:border-box}.form-field{grid-template-columns:minmax(0,1fr);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}.discovery-banner{background:linear-gradient(#2059461f,#2059460a);border:1px solid #9cc0ae;border-radius:12px;align-items:center;gap:14px;margin:16px 0 0;padding:12px 16px;display:flex}.discovery-banner__mark{background:var(--forest-800);border-radius:8px;flex:none;place-content:center;width:30px;height:30px;font-size:.95rem;display:grid}.discovery-banner__copy{flex:1;gap:2px;min-width:0;display:grid}.discovery-banner__copy strong{color:var(--forest-900);font-size:.82rem}.discovery-banner__copy small{color:var(--muted);font-size:.7rem;line-height:1.45}.discovery-banner__action{color:var(--forest-900);cursor:pointer;font:inherit;background:0 0;border:1px solid #9cc0ae;border-radius:9px;flex:none;padding:7px 12px;font-size:.74rem;font-weight:700}.discovery-banner__action:hover:not(:disabled){background:#20594614}.discovery-banner__action:disabled{cursor:wait;opacity:.6}.claim-screen__panel .google-button,.claim-screen__panel .google-identity{text-align:start}.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}.sale-banner{border:1px solid var(--border);background:var(--surface-soft);border-radius:12px;align-items:center;gap:14px;margin:16px 0 0;padding:12px 16px;display:flex}.sale-banner.is-running{background:linear-gradient(#d9a63a33,#d9a63a0f);border-color:#d9a63a}.sale-banner__mark{width:30px;height:30px;color:var(--muted);background:var(--surface-raised);border-radius:8px;flex:none;place-content:center;font-size:.9rem;font-weight:800;display:grid}.sale-banner.is-running .sale-banner__mark{color:#f0cb75;background:var(--forest-800)}.sale-banner__copy{flex:1;gap:2px;min-width:0;display:grid}.sale-banner__copy strong{color:var(--forest-900);font-size:.82rem}.sale-banner__copy small{color:var(--muted);font-size:.7rem;line-height:1.45}.sale-banner__dismiss{color:var(--muted);cursor:pointer;font:inherit;background:0 0;border:1px solid #0000;border-radius:8px;flex:none;padding:8px 13px;font-size:.72rem;font-weight:700}@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)}.boost-electricity{z-index:70;pointer-events:none;width:100%;height:100%;transition:opacity .18s ease-out;position:fixed;inset:0}.boost-electricity.is-finishing{opacity:0}@media (prefers-reduced-motion:reduce){.boost-electricity{display:none}}.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{align-items:center;gap:6px;min-width:0;display:flex;overflow:visible}.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__aside{width:var(--player-account-width);align-content:start;gap:8px;display:grid}.player-header__aside>*{min-width:0}.player-header__account{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}.player-header__capital{background:var(--surface-soft);border:1px solid #dde0d6;border-radius:12px;grid-template-rows:auto minmax(0,1fr);padding:8px 10px;display:grid}.player-header__capital-title{color:var(--muted);letter-spacing:.02em;margin:0 0 6px;font-size:.58rem;font-weight:800}.capital-title-icon{vertical-align:-.42em;fill:currentColor;width:1.5em;height:1.5em;margin-inline-end:4px}.capital-title-icon__grip{fill:none;stroke:currentColor;stroke-width:2px}.player-header__capital>small{color:var(--muted);font-size:.62rem;line-height:1.35}.player-header__capital-list{overscroll-behavior:contain;align-content:start;gap:3px;min-height:0;margin:0;padding:0;list-style:none;display:grid;overflow-y:auto}.player-header__capital-list li{align-items:center;gap:5px;min-width:0;display:flex}.player-header__capital-list .resource-svg{flex:none;width:1.5em;height:1.5em}.player-header__capital-list span{min-width:0;color:var(--forest-800);text-overflow:ellipsis;white-space:nowrap;flex:1;font-size:.62rem;overflow:hidden}.player-header__capital-list b{color:var(--forest-950);white-space:nowrap;font-size:.66rem;font-weight:750}.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}.worlds-menu{flex:none;display:flex;position:relative}.worlds-link__chevron{flex:none;place-items:center;width:14px;height:14px;margin-inline-start:5px;line-height:0;transition:transform .15s;display:inline-grid}.worlds-link__chevron svg{fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:1.8px;width:100%;height:100%;overflow:visible}.worlds-subnav{z-index:100;border:1px solid var(--border);background:var(--paper);width:max-content;min-width:210px;box-shadow:0 14px 34px var(--shadow);opacity:0;pointer-events:none;visibility:hidden;border-radius:12px;gap:3px;padding:7px;transition:opacity .14s,transform .14s,visibility .14s;display:grid;position:absolute;inset-block-start:calc(100% + 7px);inset-inline-start:0;transform:translateY(-5px)}.worlds-subnav:before{content:"";height:8px;position:absolute;inset-block-end:100%;inset-inline:0}.worlds-menu.has-children:hover .worlds-subnav,.worlds-menu.has-children:focus-within .worlds-subnav{opacity:1;pointer-events:auto;visibility:visible;transform:translateY(0)}.worlds-menu.has-children:hover .worlds-link__chevron,.worlds-menu.has-children:focus-within .worlds-link__chevron{transform:rotate(180deg)}.player-header__navigation .worlds-subnav__link{text-align:start;background:0 0;border:1px solid #0000;border-radius:8px;align-items:center;gap:9px;width:100%;min-height:42px;margin:0;padding:8px 10px;font-size:.76rem;display:flex}.player-header__navigation .worlds-subnav__link:hover{background:var(--surface-soft)}.player-header__navigation .worlds-subnav__link.is-current{color:var(--forest-950);border-color:var(--sage-200);background:var(--sage-100);cursor:default}.worlds-subnav__icon{width:27px;height:27px;color:var(--forest-700);background:var(--surface-soft);border-radius:7px;flex:none;place-content:center;font-size:.78rem;display:grid}.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}.archipelago__heading-tools{flex:none;align-items:center;gap:12px;display:flex}.owned-islands-filter{width:240px;min-width:0}.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 small{color:#7a8a83;margin-top:.25rem;font-size:.72rem;display:block}.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__stats span.is-untapped{color:#98a099;white-space:nowrap;font-style:italic}.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;cursor:pointer;background:#eef6f0;border:1px solid #cfe0d3;border-radius:999px;align-items:center;gap:4px;max-width:100%;padding:2px 7px;font-size:.55rem;transition:background .15s,border-color .15s;display:inline-flex}.island-route-pill:hover{background:#e0efe5;border-color:#a6cbb3}.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-route-pill.is-idle:hover{background:#f0ebdb;border-color:#ccc29c}.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(auto-fill,minmax(min(100%,max(84px,33.3333% - 2.66667px)),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-capacities>span.is-new{box-shadow:inset 0 0 0 1px var(--gold);background:#fbeeca}.offer-capacities>span.is-new b{color:#7c5a15}.offer-capacities>span.is-new small{color:#93701f;text-transform:uppercase;letter-spacing:.02em;font-weight:800}.island-market__legend{color:var(--muted);margin:6px 0 0;font-size:.72rem}.island-market__full{color:#8c3e36;background:#fbeeec;border:1px solid #e3c4c0;border-radius:9px;max-width:520px;margin:10px 0 0;padding:9px 12px;font-size:.72rem;font-weight:700}.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__aside{z-index:60;top:30px;grid-template-rows:auto minmax(0,1fr);max-height:calc(100vh - 42px);position:fixed;inset-inline-end:12px}.player-header__account,.player-header__capital{box-shadow:0 12px 30px var(--shadow)}}.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__unlock{color:#3d2f08;cursor:pointer;background:linear-gradient(#f3d98a,#e3bd5c);border:0;border-radius:9px;align-items:center;gap:7px;margin-top:12px;padding:10px 18px;font-size:.76rem;font-weight:800;display:inline-flex}.play-time-wall__unlock:hover{background:linear-gradient(#f7e3a4,#e8c66d)}.play-time-wall__unlock:disabled{opacity:.6;cursor:progress}.play-time-wall__balance{color:#7c6a44;margin-top:8px;font-size:.72rem;display:block}.play-time-wall__error{color:var(--error);margin-top:8px;font-size:.72rem;font-weight:600;display:block}.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 tr.is-dormant{color:#7d8a83;background:#f3f4f2}.admin-account-table tr.is-dormant tbody th strong,.admin-account-table tr.is-dormant td b{color:inherit}.admin-account-table__dormant{font-style:italic}.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-badge--guest{color:#4a3a6b;letter-spacing:.06em;background:#e4dff2}.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}.admin-sale-form{border:1px solid var(--border);background:var(--surface-raised);border-radius:14px;margin:22px 0 0}.admin-sale-form h2{border-bottom:1px solid var(--border);margin:0;padding:14px 18px;font-size:.88rem}.admin-sale-form__fields{grid-template-columns:minmax(0,2fr) minmax(0,1fr) minmax(0,1fr);gap:12px;padding:16px 18px;display:grid}.admin-sale-form label{color:var(--muted);gap:.3rem;font-size:.68rem;font-weight:700;display:grid}.admin-sale-form input{border:1px solid var(--border);background:var(--paper);min-height:36px;color:var(--ink);font:inherit;border-radius:8px;padding:.45rem .55rem;font-size:.78rem}.admin-sale-form footer{justify-content:space-between;align-items:center;gap:14px;padding:0 18px 16px;display:flex}.admin-sale-form footer small{color:var(--muted);font-size:.7rem;line-height:1.5}.admin-sale-form button{border:1px solid var(--forest-800);color:var(--paper);background:var(--forest-800);cursor:pointer;font:inherit;white-space:nowrap;border-radius:9px;padding:9px 15px;font-size:.74rem;font-weight:700}.admin-sale-form button:disabled{cursor:wait;opacity:.65}.admin-sale-table{border-collapse:collapse;width:100%;margin:22px 0 0;font-size:.76rem}.admin-sale-table th,.admin-sale-table td{border-bottom:1px solid var(--border);text-align:left;padding:.6rem .7rem}.admin-sale-table th{color:var(--muted);letter-spacing:.04em;text-transform:uppercase;font-size:.66rem;font-weight:700}.admin-sale-table td:nth-child(2){white-space:nowrap;font-weight:700}.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:61;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}.dormancy-dialog,.disaster-dialog{z-index:90}.expedition-alert{z-index:85}.expedition-alert__list{gap:.55rem;margin:.2rem 0 0;padding:0;list-style:none;display:grid}.expedition-alert__item{border:1px solid var(--border);border-inline-start:4px solid var(--gold);background:var(--surface-soft);text-align:start;border-radius:10px;gap:.2rem;padding:.65rem .8rem;display:grid}.expedition-alert__item.is-welcome{border-inline-start-color:var(--success)}.expedition-alert__item strong{color:var(--ink);font-size:.84rem;line-height:1.3}.expedition-alert__item span{color:var(--muted);font-size:.74rem;line-height:1.45}@media (width<=520px){.expedition-alert .confirm-dialog__actions{justify-self:stretch}}.dormancy-dialog__banner{color:var(--muted);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;pointer-events:auto;transform:translateY(0)}.boost-help>p:before{content:"";top:-8px;height:8px;position:absolute;inset-inline:0}.boost-help .tooltip-link{width:auto;color:inherit;font:inherit;text-underline-offset:2px;cursor:pointer;background:0 0;border:0;border-radius:0;margin:0;padding:0;text-decoration:underline;display:inline}.boost-help .tooltip-link:hover{color:#ffd98a}.boost-help .tooltip-link:focus-visible{outline-offset:2px;outline:2px solid #ffd98a}.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--pausable{grid-template-columns:auto minmax(0,1fr) auto}.construction-option .pause-control{align-self:start}.construction-option .pause-control>button{min-height:0}.construction-option__pause-note{color:var(--muted);margin:6px 0 0;font-size:.53rem;line-height:1.4}.construction-option--paused{background:#fdf7e8;border-color:#ddc78e}.construction-option--paused .construction-option__pause-note{color:#8a6a1c;font-weight:650}.construction-option--damaged{background:#fdf0ed;border-color:#d9a49a}.construction-option__damage-note{color:#9a3d28;margin:6px 0 0;font-size:.53rem;font-weight:650;line-height:1.4}.construction-option__repair{color:#fff6f3;background:#a8412a;border-color:#a8412a}.construction-option__repair:hover:not(:disabled){background:#8d3421;border-color:#8d3421}.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--beverage{border-left:3px solid #9d5a72}.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-families{gap:1.35rem;display:grid}.capital-flow-family>header{justify-content:space-between;align-items:baseline;gap:1rem;margin-bottom:.6rem;display:flex}.capital-flow-family h3{color:var(--forest-900);margin:0;font:700 1.05rem Fraunces,Georgia,serif}.capital-flow-family>header p{color:var(--muted);margin:.15rem 0 0;font-size:.74rem}.capital-flow-family__tally{color:var(--muted);background:var(--surface-soft);white-space:nowrap;border-radius:999px;padding:.22rem .6rem;font-size:.7rem;font-weight:700}.capital-flow-family__tally.is-deficit{color:var(--error);background:#a9403721}:root[data-theme=dark] .capital-flow-family__tally.is-deficit{background:#ff928624}.capital-flow-grid{grid-template-columns:repeat(auto-fit,minmax(272px,1fr));gap:.75rem;display:grid}.capital-flow-card{background:var(--surface-raised);border:1px solid var(--border);border-radius:11px;align-items:flex-start;gap:.7rem;padding:.8rem;display:flex}.capital-flow-card.is-up{background:#2f7d5b17;border-color:#2f7d5b52}.capital-flow-card.is-down{background:#a9403717;border-color:#a9403752}:root[data-theme=dark] .capital-flow-card.is-up{background:#74d1a31c;border-color:#74d1a34d}:root[data-theme=dark] .capital-flow-card.is-down{background:#ff92861c;border-color:#ff92864d}.capital-flow-grid .resource-svg{flex:none;width:38px;height:38px}.capital-flow-card>div{flex:1;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:.1rem .55rem;min-width:0;display:grid}.capital-flow-card strong{color:var(--forest-800);grid-column:1}.capital-flow-card .capital-flow-balance{grid-column:1;font-size:.8rem;font-weight:700}.capital-flow-card .capital-flow-balance:not(.is-consumed):not(.is-produced){color:var(--muted);font-weight:500}.capital-flow-card .capital-flow-trend{color:var(--muted);grid-area:1/2/3;align-self:center;line-height:0}.capital-flow-card.is-up .capital-flow-trend{color:var(--success)}.capital-flow-card.is-down .capital-flow-trend{color:var(--error)}.capital-flow-card dl{border-top:1px solid var(--border);grid-column:1/-1;grid-template-columns:minmax(0,1fr) auto;gap:.12rem .55rem;margin:.5rem 0 0;padding-top:.45rem;display:grid}.capital-flow-card dl>div{display:contents}.capital-flow-card dt{color:var(--muted);font-size:.69rem}.capital-flow-card dd{text-align:right;white-space:nowrap;margin:0;font-size:.69rem;font-weight:700}.capital-flow-card dl>div:not(.is-produced):not(.is-consumed) dd{color:var(--muted);font-weight:500}.capital-flow-grid .is-consumed{color:#a35448}.capital-flow-grid .is-produced{color:#367654}:root[data-theme=dark] .capital-flow-grid .is-consumed{color:#f0a48d}:root[data-theme=dark] .capital-flow-grid .is-produced{color:#95d6b0}.capital-flow-card .capital-flow-stock dt,.capital-flow-card .capital-flow-stock dd{padding-top:.3rem}.capital-flow-card .capital-flow-stock dd{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--beverage>span{background:#8a4a63}.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}.industry-status--output_blocked{color:#3f6280;background:#dde8f3}.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,.pause-control{flex:none;position:relative}.industry-demolish>button,.pause-control>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,.pause-control>button:disabled{cursor:not-allowed;opacity:.45}.industry-demolish>button:focus-visible{outline-offset:2px;outline:2px solid #a24a40}.industry-demolish>p,.pause-control>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,.pause-control:hover>p,.pause-control:focus-within>p{opacity:1;visibility:visible;transform:translateY(0)}.industry-demolish>p span,.pause-control>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}.pause-control>button{color:#7b5b16;border-color:#d9cba4}.pause-control>button:hover:not(:disabled){color:#fff;background:#a8811f;border-color:#a8811f}.pause-control>button:focus-visible{outline-offset:2px;outline:2px solid #a8811f}.pause-control.is-paused>button{color:#2d6a4b;border-color:#bcd8c4}.pause-control.is-paused>button:hover:not(:disabled){color:#fff;background:#2d6a4b;border-color:#2d6a4b}.pause-control.is-paused>button:focus-visible{outline-color:#2d6a4b}.pause-control .button-spinner{border-color:currentColor #5a461438 #5a461438;width:13px;height:13px}.capital-industry-grid>article.is-paused{background:#fdf8ea;border-color:#d8c68f}.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}.merchant-surplus{color:#5c4a2c;background:#fffaf0;border:1px solid #e4d3ac;border-radius:12px;align-items:flex-start;gap:1rem;margin:1.1rem 0 0;padding:1rem 1.15rem;display:flex}.merchant-surplus__body{flex:auto;min-width:0}.merchant-surplus__body p{margin:.5rem 0 0;font-size:.82rem;line-height:1.6}.merchant-surplus__switch{cursor:pointer;align-items:center;gap:.6rem;display:flex}.merchant-surplus__switch input{accent-color:#8a6a2f;cursor:pointer;flex:none;width:1.05rem;height:1.05rem}.merchant-surplus__switch input:disabled{cursor:progress}.merchant-surplus__switch strong{font-size:.95rem}.merchant-surplus__ledger{border-top:1px dashed #e0cda3;margin-top:.8rem;padding-top:.7rem}.merchant-surplus__ledger ul{gap:.35rem;margin:.45rem 0 0;padding:0;list-style:none;display:grid}.merchant-surplus__ledger li{align-items:center;gap:.45rem;font-size:.8rem;display:flex}.merchant-surplus__ledger-more{opacity:.8;padding-left:.2rem;font-style:italic}@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}:root[data-theme=dark] .merchant-surplus{color:#e3d3ad;background:#2b2618;border-color:#5c5030}:root[data-theme=dark] .merchant-surplus__ledger{border-top-color:#5c5030}.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}.admin-domain-filter{flex-wrap:wrap;gap:.45rem;margin-bottom:1rem;display:flex}.admin-domain-filter button{border:1px solid var(--border);min-height:36px;color:var(--muted);background:var(--surface-raised);cursor:pointer;border-radius:9px;align-items:center;gap:.45rem;padding:.45rem .75rem;font-size:.72rem;font-weight:700;display:flex}.admin-domain-filter button.is-active{border-color:var(--forest-700);color:#fff;background:var(--forest-700)}.admin-technology-list{gap:1rem;display:grid}.admin-technology-list>form{background:var(--paper);border:1px solid var(--border);box-shadow:0 8px 24px var(--shadow);border-radius:15px;gap:.85rem;padding:1.1rem;display:grid}.admin-technology-list form>header{flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:1rem;display:flex}.admin-technology-list form>header>div:first-child{gap:.15rem;display:grid}.admin-technology-list form>header span{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin-right:.6rem;font-size:.6rem;display:inline-block}.admin-technology-list form>header code{color:var(--muted);font-size:.68rem}.admin-technology-list form>header h2{color:var(--forest-800);margin:.15rem 0 0;font:700 1.2rem Fraunces,Georgia,serif}.admin-technology-numbers{flex-wrap:wrap;gap:.65rem;display:flex}.admin-technology-numbers label{color:var(--muted);gap:.2rem;font-size:.67rem;font-weight:700;display:grid}.admin-technology-numbers input{border:1px solid var(--border);background:var(--surface-raised);width:130px;min-height:34px;color:inherit;text-align:right;border-radius:7px;padding:.45rem}.admin-flask-grid{grid-template-columns:repeat(auto-fit,minmax(136px,1fr));gap:.45rem;display:grid}.admin-flask-grid label{border:1px solid var(--border);background:var(--surface-soft);border-radius:10px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:.15rem .55rem;padding:.5rem .6rem;display:grid}.admin-flask-grid .flask-icon{grid-row:1/3;width:24px;height:24px}.admin-flask-grid span{color:var(--muted);text-overflow:ellipsis;white-space:nowrap;font-size:.58rem;overflow:hidden}.admin-flask-grid input{border:1px solid var(--border);background:var(--surface-raised);min-width:0;min-height:30px;color:inherit;text-align:right;border-radius:7px;padding:.35rem .45rem}.admin-technology-list form>footer{border-top:1px solid var(--border);justify-content:space-between;align-items:center;gap:1rem;padding-top:.7rem;display:flex}.admin-technology-list form>footer small{color:var(--muted);font-size:.68rem}.admin-technology-list form>footer button{color:#fff;background:var(--forest-700);cursor:pointer;border:0;border-radius:8px;padding:.65rem .85rem;font-weight:750}.admin-balance-controls{border:1px solid var(--border);background:var(--paper);box-shadow:0 8px 24px var(--shadow);border-radius:15px;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:1rem;margin-bottom:1.25rem;padding:1.1rem;display:grid}.admin-balance-controls>div>p:first-child{color:var(--muted);letter-spacing:.12em;text-transform:uppercase;margin:0 0 .6rem;font-size:.6rem;font-weight:800}.admin-balance-mix>div{grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:.5rem;display:grid}.admin-balance-mix label,.admin-balance-distance{color:var(--muted);gap:.2rem;font-size:.65rem;font-weight:700;display:grid}.admin-balance-mix input,.admin-balance-distance input{border:1px solid var(--border);background:var(--surface-raised);min-width:0;min-height:34px;color:inherit;text-align:right;border-radius:7px;padding:.45rem}.admin-balance-strategy .admin-domain-filter{margin-bottom:.7rem}.admin-balance-distance{margin-top:.2rem}.admin-balance.is-stale{opacity:.55;transition:opacity .12s}.admin-balance{gap:1rem;display:grid}.admin-balance-tiles{grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:.6rem;display:grid}.admin-balance-tiles article{border:1px solid var(--border);background:var(--paper);border-radius:12px;gap:.15rem;padding:.85rem .95rem;display:grid}.admin-balance-tiles strong{color:var(--forest-800);font-variant-numeric:tabular-nums;letter-spacing:-.02em;font:600 1.5rem Fraunces,Georgia,serif}.admin-balance-tiles article.is-negative strong{color:#a3503c}.admin-balance-tiles small{color:var(--muted);font-size:.62rem}.admin-balance-flags{border:1px solid var(--border);background:var(--paper);box-shadow:0 8px 24px var(--shadow);border-radius:15px;gap:.55rem;padding:1.1rem;display:grid}.admin-balance-flags h2{color:var(--forest-800);margin:0 0 .2rem;font:700 1.25rem Fraunces,Georgia,serif}.admin-balance-flags article{border:1px solid var(--border);background:var(--surface-soft);border-left-width:3px;border-radius:10px;grid-template-columns:auto minmax(0,1fr);gap:.75rem;padding:.75rem .85rem;display:grid}.admin-balance-flags article>span{border-radius:7px;place-content:center;width:24px;height:24px;font-size:.8rem;font-weight:900;display:grid}.admin-balance-flags article.is-high{border-left-color:#a3503c}.admin-balance-flags article.is-high>span{color:#fff1ec;background:#a3503c}.admin-balance-flags article.is-medium{border-left-color:#95712d}.admin-balance-flags article.is-medium>span{color:#fff6dd;background:#95712d}.admin-balance-flags h3{color:var(--forest-800);margin:0 0 .2rem;font-size:.85rem}.admin-balance-flags p{color:var(--muted);margin:0;font-size:.72rem;line-height:1.55}.admin-balance-panel{border:1px solid var(--border);background:var(--paper);box-shadow:0 8px 24px var(--shadow);border-radius:15px;padding:1.1rem}.admin-balance-panel h2{color:var(--forest-800);margin:0 0 .3rem;font:700 1.25rem Fraunces,Georgia,serif}.admin-balance-panel>p{max-width:70ch;color:var(--muted);margin:0 0 .9rem;font-size:.73rem;line-height:1.6}.admin-balance-panel code{color:var(--forest-800);font-size:.68rem}.admin-balance-columns{grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:start;gap:1rem;display:grid}.admin-balance-columns>div:first-child .admin-balance-table{max-height:min(60vh,540px);overflow-y:auto}.admin-balance-columns>div:first-child thead th{background:var(--paper);position:sticky;top:0}.admin-balance-table{overflow-x:auto}.admin-balance-table table{border-collapse:collapse;width:100%;font-size:.72rem}.admin-balance-table th{border-bottom:1px solid var(--border);color:var(--muted);letter-spacing:.09em;text-align:left;text-transform:uppercase;white-space:nowrap;padding:.45rem .6rem;font-size:.58rem;font-weight:800}.admin-balance-table td{border-bottom:1px solid var(--border);color:var(--ink);vertical-align:top;padding:.5rem .6rem}.admin-balance-table tr:last-child td{border-bottom:0}.admin-balance-table .is-number{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap}.admin-balance-table .is-strong{font-weight:700}.admin-balance-table td b{color:var(--forest-800)}.admin-balance-table td code{color:var(--muted);margin-left:.35rem;font-size:.64rem;display:inline-block}.admin-balance-table td em{color:#95712d;font-size:.6rem;font-style:normal;font-weight:700;display:block}.admin-balance-table td small{color:var(--muted);font-size:.6rem;font-weight:400;display:block}.admin-balance-table tr.is-total td{border-top:1px solid var(--border);background:var(--surface-soft);border-bottom:0;font-weight:700}.admin-balance-ledger .is-positive{color:#2f704c}.admin-balance-ledger .is-negative{color:#a3503c}.admin-balance-options{gap:.15rem;margin:0;padding:0;list-style:none;display:grid}.admin-balance-options li{color:var(--muted);flex-wrap:wrap;align-items:baseline;gap:.5rem;font-size:.64rem;display:flex}.admin-balance-options li.is-retained{color:var(--forest-800);font-weight:700}.admin-balance-options li.is-retained span:before{content:"▸ "}.admin-balance-options b{font-variant-numeric:tabular-nums;font-weight:inherit}.admin-balance-options i{font-variant-numeric:tabular-nums;opacity:.75;font-style:normal}.admin-balance-bars{gap:.55rem;margin:0;padding:0;list-style:none;display:grid}.admin-balance-bars li{grid-template-columns:minmax(90px,120px) minmax(0,1fr) 70px;align-items:center;gap:.15rem .7rem;display:grid}.admin-balance-bars__label{font-size:.72rem;font-weight:700}.admin-balance-bars__track{border-bottom:1px solid var(--border);background:var(--surface-soft);height:13px}.admin-balance-bars__track>span{background:var(--forest-700);border-radius:0 3px 3px 0;min-width:2px;height:100%;display:block}.admin-balance-bars__track>span.is-over{background:#a3503c}.admin-balance-bars__value{font-variant-numeric:tabular-nums;text-align:right;white-space:nowrap;font-size:.68rem}.admin-balance-bars small{color:var(--muted);grid-column:2/-1;font-size:.6rem}.admin-balance-notes{color:var(--muted);gap:.25rem;margin:.8rem 0 0;padding-left:1rem;font-size:.68rem;line-height:1.5;display:grid}.admin-balance-notes b{color:var(--forest-800)}@media (width<=1100px){.admin-balance-controls,.admin-balance-columns{grid-template-columns:minmax(0,1fr)}}@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}}@media (width<=680px){.capital-industry-page :is(.capital-flow-section,.capital-electricity-section,.capital-industry-section,.capital-industry-catalog),:root[data-theme=dark] .capital-industry-page .capital-electricity-section{box-shadow:none;background:0 0;border:0;padding:0}.capital-industry-page .capital-flow-families{gap:1.1rem}.capital-industry-page .capital-flow-family>header{margin-bottom:.45rem}.capital-industry-page .capital-flow-grid{grid-template-columns:minmax(0,1fr);gap:.4rem}.capital-industry-page .capital-flow-card{gap:.55rem;padding:.5rem .6rem}.capital-industry-page .capital-flow-grid .resource-svg{width:30px;height:30px}.capital-industry-page .capital-flow-card>div{gap:.05rem .55rem}.capital-industry-page .capital-flow-card strong{font-size:.9rem}.capital-industry-page .capital-flow-card .capital-flow-balance{font-size:.82rem}.capital-industry-page .capital-flow-card .capital-flow-trend svg{width:32px;height:32px}.capital-industry-page .capital-flow-grid.is-summary .capital-flow-card>div{grid-template-columns:minmax(0,1fr) auto auto;align-items:center}.capital-industry-page .capital-flow-grid.is-summary .capital-flow-card .capital-flow-balance{white-space:nowrap;grid-area:1/2}.capital-industry-page .capital-flow-grid.is-summary .capital-flow-card .capital-flow-trend{grid-area:1/3}.capital-flow-toggle{width:100%;min-height:44px;color:var(--forest-800);border:0;border-top:1px solid var(--border);cursor:pointer;background:0 0;justify-content:center;align-items:center;gap:.55rem;padding:.6rem;font:700 .8rem DM Sans,system-ui,sans-serif;display:flex}.capital-flow-toggle:after{content:"";border-bottom:2px solid;border-right:2px solid;width:.45rem;height:.45rem;transition:transform .15s;transform:rotate(45deg)translate(-25%,-25%)}.capital-flow-toggle[aria-expanded=true]:after{transform:rotate(-135deg)translate(-25%,-25%)}.capital-industry-page .capital-electricity-grid{grid-template-columns:minmax(0,1fr);gap:0}.capital-industry-page .capital-electricity-grid>article,:root[data-theme=dark] .capital-industry-page .capital-electricity-grid>article,:root[data-theme=dark] .capital-industry-page .capital-electricity-grid>article.is-housing{border:0;border-top:1px solid var(--border);background:0 0;border-radius:0;grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;padding:.55rem 0}.capital-industry-page .capital-electricity-grid article .resource-svg{grid-row:auto;width:30px;height:30px}.capital-industry-page .capital-electricity-grid article span{font-size:.8rem}.capital-industry-page .capital-electricity-grid article strong{white-space:nowrap}.capital-industry-page :is(.capital-industry-grid,.capital-industry-catalog-grid){gap:.75rem}.capital-industry-page :is(.capital-industry-grid,.capital-industry-catalog-grid)>article{margin-inline:calc(var(--shell-gutter,16px) * -1);padding-inline:var(--shell-gutter,16px);border-inline:0;border-radius:0}.capital-industry-page .capital-industry-grid article>header>div:first-child,.capital-industry-page .capital-industry-grid article>header>div:first-child>div{flex:auto;min-width:0}.capital-industry-page :is(.capital-industry-grid,.capital-industry-catalog-grid) article>p.industry-electricity{padding:0;background:0 0!important}:root[data-theme=dark] .capital-industry-page p.industry-electricity{color:#ecd08a}:root[data-theme=dark] .capital-industry-page p.industry-electricity.is-production{color:#95d6b0!important}.capital-industry-page .industry-recipe-flow{background:0 0;padding:0}}.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}.flask-icon{object-fit:cover;border-radius:22%;flex:none;width:1em;height:1em}.flask-count{background:#fbfcf8;border:1px solid #e2e5dd;border-radius:999px;align-items:center;gap:4px;padding:3px 8px 3px 5px;display:inline-flex}.flask-count .flask-icon{width:15px;height:15px}.flask-count strong{color:var(--flask-ink,#4a4a4a);font-size:.62rem}.flask-count small{color:var(--muted);font-size:.5rem}.flask-count--short{gap:2px;padding:1px 5px 1px 3px}.flask-count--short .flask-icon{width:12px;height:12px}.flask-count--short strong{font-size:.5rem}.technology-node__flasks{flex-wrap:wrap;gap:3px;margin-top:3px;display:flex}.technology-node.is-researching{background:#fffaed;border-color:#d3b055}.technology-node.is-researching .technology-node__state{color:#6c531a;background:#f3e3b8}.technology-node.is-researching .technology-node__copy em{color:#a3801f}.technology-node.is-queued{background:#fffdf3;border-color:#d9c48c}.technology-node.is-queued .technology-node__state{color:#8a6a1e;background:#f6ecd0}.technology-node.is-queued .technology-node__copy em{color:#a3801f}.technology-bench{background:#fffdf7db;border:1px solid #ded5bd;border-radius:14px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:10px;margin-bottom:15px;padding:11px 15px;display:flex}.technology-bench__flasks{flex-wrap:wrap;gap:11px;margin:0;padding:0;list-style:none;display:flex}.technology-bench__flasks li{align-items:center;gap:4px;display:flex}.technology-bench__flasks .flask-icon{width:19px;height:19px}.technology-bench__flasks b{color:var(--forest-900);font-size:.72rem}.technology-bench__flasks i{color:var(--muted);font-size:.5rem;font-style:normal}.technology-bench__flasks li.is-empty{opacity:.42}.technology-bench__link{border:1px solid var(--forest-700);color:#fff;background:var(--forest-700);cursor:pointer;border-radius:9px;padding:8px 13px;font-size:.62rem;font-weight:750}.technology-current{background:linear-gradient(135deg,#fff9e7,#f6ead0);border:1px solid #d7c48e;border-radius:14px;grid-template-columns:auto minmax(0,1fr) minmax(110px,230px) auto;align-items:center;gap:13px;margin-bottom:16px;padding:12px 15px;display:grid}.technology-current__icon{background:#ffffffb3;border-radius:10px;place-content:center;width:38px;height:38px;display:grid}.technology-current__icon img{width:30px;height:30px}.technology-current small{color:#907c47;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850;display:block}.technology-current strong{color:#4c3f1c;font-family:Fraunces,Georgia,serif;font-size:.95rem}.technology-current__gauge{background:#7864322e;border-radius:999px;height:6px;overflow:hidden}.technology-current__gauge i{border-radius:inherit;background:linear-gradient(90deg,#d29b38,#e2bd66);height:100%;transition:width .4s;display:block}.technology-current em{color:#7d6b3d;white-space:nowrap;font-size:.6rem;font-style:normal;font-weight:750}.technology-queue{background:#fffaedb3;border:1px dashed #d7c48e;border-radius:14px;margin-bottom:16px;padding:11px 15px}.technology-queue>header{justify-content:space-between;align-items:center;margin-bottom:8px;display:flex}.technology-queue>header small{color:#907c47;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850}.technology-queue>header span{color:#6b5a2c;background:#f2e8cd;border-radius:999px;padding:3px 8px;font-size:.52rem;font-weight:800}.technology-queue ol{gap:7px;margin:0;padding:0;list-style:none;display:grid}.technology-queue li{background:#fffdf6;border:1px solid #e6dcc2;border-radius:10px;grid-template-columns:auto auto minmax(0,1fr) auto auto;align-items:center;gap:10px;padding:8px 10px;display:grid}.technology-queue__rank{color:#6c531a;background:#f3e3b8;border-radius:50%;place-content:center;width:20px;height:20px;font-size:.55rem;font-weight:850;display:grid}.technology-queue__icon{background:#ffffffbf;border-radius:9px;place-content:center;width:30px;height:30px;display:grid}.technology-queue__icon img{width:24px;height:24px}.technology-queue__copy{min-width:0;display:grid}.technology-queue__copy strong{color:#4c3f1c;overflow-wrap:anywhere;font-size:.68rem}.technology-queue__copy small{color:#8b7433;overflow-wrap:anywhere;font-size:.52rem}.technology-queue em{color:#7d6b3d;white-space:nowrap;font-size:.58rem;font-style:normal;font-weight:750}.technology-queue__remove{color:#8a6a1e;cursor:pointer;background:#fdf6e4;border:1px solid #e0cfa8;border-radius:8px;place-content:center;width:26px;height:26px;font-size:.7rem;line-height:1;display:grid}.technology-queue__remove:hover:not(:disabled){color:var(--error);background:#fae9e5;border-color:#c98c7f}.technology-queue__remove:disabled{opacity:.4;cursor:not-allowed}.technology-queue__note{color:#8b7433;margin:8px 0 0;font-size:.52rem}.technology-history{background:#fafbf6;border:1px solid #dfe2da;border-radius:14px;margin-bottom:16px;padding:11px 15px}.technology-history>header{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:6px;margin-bottom:6px;display:flex}.technology-history>header small{color:#6d7f72;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850}.technology-history>header span{color:var(--muted);font-size:.52rem}.technology-history table{border-collapse:collapse;width:100%}.technology-history th,.technology-history td{text-align:left;vertical-align:middle;padding:6px 4px}.technology-history thead th{color:var(--muted);letter-spacing:.07em;text-transform:uppercase;border-bottom:1px solid #e3e7dd;font-size:.48rem;font-weight:800}.technology-history tbody th{color:var(--ink);font-size:.64rem;font-weight:700}.technology-history th:last-child,.technology-history td:last-child{text-align:right}.technology-history tbody td{color:#6d7f72;white-space:nowrap;font-size:.58rem}.technology-history tbody tr+tr th,.technology-history tbody tr+tr td{border-top:1px solid #edf0e8}.technology-history__icon{vertical-align:middle;background:#eef3e9;border-radius:8px;place-content:center;width:26px;height:26px;margin-right:8px;display:inline-grid}.technology-history__icon img{width:21px;height:21px}.technology-price{background:#fafbf6;border:1px solid #dfe2da;border-radius:11px;gap:9px;margin-top:15px;padding:12px;display:grid}.technology-price>header{justify-content:space-between;align-items:center;display:flex}.technology-price>header small{color:#9c8960;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850}.technology-price>header span{color:#6b5a2c;background:#f2e8cd;border-radius:999px;padding:3px 8px;font-size:.52rem;font-weight:800}.technology-price__gold{align-items:center;gap:7px;display:flex}.technology-price__gold .resource-svg{width:20px;height:20px}.technology-price__gold strong{color:#8a6a1e;font-size:.78rem}.technology-price__gold small{color:var(--muted);font-size:.5rem}.technology-price__flasks{flex-wrap:wrap;gap:6px;display:flex}.technology-price__flasks>span{background:#fbf1ee;border:1px solid #e6d7d2;border-radius:8px;align-items:center;gap:4px;padding:4px 8px;display:inline-flex}.technology-price__flasks>span.is-met{background:#eef6ea;border-color:#c3ddc3}.technology-price__flasks .flask-icon{width:16px;height:16px}.technology-price__flasks b{font-size:.62rem}.technology-price__flasks i{color:var(--muted);font-size:.47rem;font-style:normal}.technology-price__flasks em{color:var(--muted);font-size:.55rem;font-style:normal}.technology-running{color:#6c531a;background:#f8efd6;border-radius:9px;gap:7px;margin-top:17px;padding:11px 13px;display:grid}.technology-running strong{font-size:.65rem;display:block}.technology-running small{color:#8b7433;font-size:.55rem}.technology-running__bar{background:#78643233;border-radius:999px;height:6px;overflow:hidden}.technology-running__bar i{border-radius:inherit;background:linear-gradient(90deg,#d29b38,#e2bd66);height:100%;transition:width .4s;display:block}.technology-queued{color:#6c531a;background:#fdf7e6;border:1px dashed #d3b055;border-radius:9px;gap:9px;margin-top:17px;padding:11px 13px;display:grid}.technology-queued strong{font-size:.65rem;display:block}.technology-queued small{color:#8b7433;font-size:.55rem}.technology-queued__remove{color:#8a6a1e;cursor:pointer;background:#fffdf6;border:1px solid #d9c48c;border-radius:8px;min-height:36px;padding:8px 12px;font-size:.6rem;font-weight:800}.technology-queued__remove:hover:not(:disabled){color:var(--error);background:#fae9e5;border-color:#c98c7f}.technology-queued__remove:disabled{opacity:.5;cursor:not-allowed}.flask-page{width:min(100%,1500px);margin:0 auto;padding:42px 0 76px}.flask-hero{justify-content:space-between;align-items:flex-end;gap:36px;margin-bottom:24px;display:flex}.flask-hero>div:first-child{max-width:800px}.flask-hero h1{color:var(--forest-950);letter-spacing:-.05em;margin:4px 0 10px;font-family:Fraunces,Georgia,serif;font-size:clamp(2.4rem,4.6vw,4.1rem);font-weight:600;line-height:1}.flask-hero>div:first-child>p:last-child{max-width:740px;color:var(--muted);margin:0;font-size:.88rem;line-height:1.65}.flask-vault{text-align:right;background:#fffdf7e0;border:1px solid #dfd5bd;border-radius:15px;flex:0 0 210px;gap:2px;padding:16px 18px;display:grid;box-shadow:0 10px 30px #42371f12}.flask-vault small,.flask-collection header small{color:#8a7d63;letter-spacing:.08em;text-transform:uppercase;font-size:.55rem;font-weight:800}.flask-vault strong{color:#58451d;font-family:Fraunces,Georgia,serif;font-size:1.7rem;line-height:1.1}.flask-vault em{color:#8b806a;font-size:.55rem;font-style:normal}.flask-workbench{grid-template-columns:minmax(250px,.72fr) minmax(390px,1.35fr) minmax(250px,.78fr);align-items:stretch;gap:16px;display:grid}.flask-input,.flask-machine,.flask-result{background:#fffdf7e6;border:1px solid #d7ddd2;border-radius:19px;overflow:hidden;box-shadow:0 17px 44px #21433517}.flask-input,.flask-result{min-height:510px}.flask-input>header,.flask-machine>header,.flask-result>header{background:linear-gradient(135deg,#fbf8ec,#f2f4e9);border-bottom:1px solid #e3e6de;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;min-height:58px;padding:12px 15px;display:grid}.flask-input>header>span,.flask-machine>header>span,.flask-result>header>span{color:#6f5b27;background:#fff9e8;border:1px solid #b8a772;border-radius:50%;place-content:center;width:29px;height:29px;font:700 .7rem Fraunces,Georgia,serif;display:grid}.flask-input>header div,.flask-machine>header div,.flask-result>header div{gap:1px;display:grid}.flask-input>header small,.flask-machine>header small,.flask-result>header small{color:#9b927b;letter-spacing:.09em;text-transform:uppercase;font-size:.48rem;font-weight:850}.flask-input>header strong,.flask-machine>header strong,.flask-result>header strong{color:#3d5147;font:650 .88rem Fraunces,Georgia,serif}.flask-input{padding-bottom:16px}.flask-input>header{margin-bottom:16px}.flask-input__select{gap:6px;margin:0 15px;display:grid}.flask-input__select>span:first-child,.flask-input__amount>span{color:#908976;letter-spacing:.07em;text-transform:uppercase;font-size:.52rem;font-weight:800}.flask-input__select-control{z-index:5;display:block;position:relative}.flask-input__select-control .resource-select__trigger{color:var(--ink);background:var(--surface-raised);border-color:var(--border);border-radius:10px;padding:.7rem .75rem;font-size:.69rem;font-weight:750}.flask-input__select-control .resource-select__menu{color:var(--ink);background:var(--paper);border-color:var(--border)}.flask-input__select-control .resource-svg{width:38px;height:38px}.flask-input__stock{background:#f2f5ed;border-radius:10px;justify-content:space-between;align-items:center;gap:8px;margin:12px 15px 0;padding:10px 12px;display:flex}.flask-input__stock span{color:var(--muted);font-size:.58rem}.flask-input__stock strong{color:var(--forest-900);font:700 .94rem Fraunces,Georgia,serif}.flask-input__amount{gap:8px;margin:22px 15px 0;display:grid}.flask-stepper{grid-template-columns:43px minmax(0,1fr) 43px;align-items:stretch;gap:6px;display:grid}.flask-stepper button{color:#315545;cursor:pointer;background:#f8fbf5;border:1px solid #cdd6ca;border-radius:10px;font-size:1.1rem;font-weight:800}.flask-stepper button:disabled,.flask-input__max:disabled{opacity:.38;cursor:not-allowed}.flask-stepper output{text-align:center;background:#fff;border:1px solid #d4dacd;border-radius:11px;place-content:center;gap:1px;min-height:63px;display:grid}.flask-stepper output strong{color:var(--forest-950);font:700 1.45rem/1 Fraunces,Georgia,serif}.flask-stepper output small{color:var(--muted);font-size:.51rem}.flask-input__max{color:#53675d;cursor:pointer;background:#fff;border:1px solid #d4d9cf;border-radius:9px;min-height:34px;font-size:.58rem;font-weight:750}.flask-input__rule{color:#756a4d;text-align:center;background:#fff9e8;border:1px dashed #d7c78f;border-radius:11px;margin:18px 15px 0;padding:12px;font-size:.62rem;line-height:1.5}.flask-input__rule b{color:#4c684f;font:700 .82rem Fraunces,Georgia,serif}.flask-empty{color:var(--muted);margin:0;padding:18px 16px;font-size:.66rem;line-height:1.55}.flask-machine{background:#17261f;border-color:#6f765b;grid-template-rows:auto auto 1fr;display:grid;position:relative}.flask-machine>header{z-index:4;background:linear-gradient(135deg,#223b30,#182b24);border-bottom-color:#e8d7a133;grid-template-columns:auto minmax(0,1fr) auto;position:relative}.flask-machine>header>span{color:#ffe7a2;background:#4b5133;border-color:#9f8950}.flask-machine>header small{color:#b9aa7d}.flask-machine>header strong{color:#f5e7be}.flask-machine__lamp{background:#83b977;border:2px solid #333b2b;border-radius:50%;width:11px;height:11px;box-shadow:0 0 9px #7ec770b3}.flask-machine__viewport{background:#152119;min-height:360px;position:relative;overflow:hidden}.flask-machine__picture{object-fit:cover;object-position:center;opacity:0;filter:saturate(.93)contrast(1.04);width:100%;height:100%;min-height:360px;transition:opacity .42s,filter .42s,transform .7s;position:absolute;inset:0;transform:scale(1.025)}.flask-machine__picture.is-active{opacity:1;transform:scale(1.015)}.flask-machine__picture--closed{filter:saturate(1.18)contrast(1.08)brightness(1.04)}.flask-machine__viewport:after{content:"";pointer-events:none;background:linear-gradient(#07110c1f,#0000 38%,#050c0870);position:absolute;inset:0}.flask-machine__glow{z-index:2;background:#57f2bf0d;border-radius:50%;width:90px;height:90px;position:absolute;top:61%;left:56%;transform:translate(-50%,-50%);box-shadow:0 0 35px 15px #36e0b00f}.flask-machine__steam{z-index:3;opacity:0;border:2px solid #def2e28c;border-radius:50%;width:16px;height:16px;position:absolute}.flask-machine__steam--one{top:50%;left:67%}.flask-machine__steam--two{top:45%;left:72%}.flask-machine__steam--three{top:55%;left:62%}.flask-machine__console{z-index:4;background:linear-gradient(#1d332a,#14271f);border-top:1px solid #e8d7a133;align-content:start;gap:9px;padding:12px 14px 14px;display:grid;position:relative}.flask-machine__status{color:#bfcabf;grid-template-columns:auto minmax(70px,1fr);align-items:center;gap:10px;font-size:.53rem;display:grid}.flask-machine__status i{background:#0c1813;border-radius:999px;height:5px;overflow:hidden;box-shadow:inset 0 0 0 1px #ffffff14}.flask-machine__status i b{border-radius:inherit;background:#73a06d;width:18%;height:100%;transition:width .3s;display:block}.flask-error{color:#ffd3ca;background:#562b26;border-radius:8px;margin:0;padding:8px 10px;font-size:.58rem}.flask-brew{color:#263a2f;cursor:pointer;background:linear-gradient(135deg,#f4d47b,#d6a94c);border:1px solid #b79b52;border-radius:10px;justify-content:center;align-items:center;width:100%;min-height:46px;padding:10px 13px;font-size:.69rem;font-weight:850;display:flex;box-shadow:0 8px 20px #0000002e}.flask-brew:disabled{color:#8b948e;box-shadow:none;cursor:not-allowed;background:#3b4842;border-color:#4c5953}.flask-machine.is-brewing .flask-machine__picture--closed{filter:saturate(1.28)contrast(1.1)brightness(1.06);animation:.18s linear infinite flask-machine-rattle}.flask-machine.is-brewing .flask-machine__lamp{background:#ffd05e;animation:.35s steps(2,end) infinite flask-lamp;box-shadow:0 0 15px 4px #ffb933a6}.flask-machine.is-brewing .flask-machine__glow{animation:.7s ease-in-out infinite alternate flask-glow}.flask-machine.is-brewing .flask-machine__steam{animation:1.2s ease-out infinite flask-steam}.flask-machine.is-brewing .flask-machine__steam--two{animation-delay:.35s}.flask-machine.is-brewing .flask-machine__steam--three{animation-delay:.7s}.flask-machine.is-brewing .flask-machine__status i b{background:#e8bd55;width:100%;animation:.9s ease-in-out infinite flask-progress}.flask-result{grid-template-rows:auto minmax(0,1fr);display:grid}.flask-result__empty,.flask-result__waiting{text-align:center;align-content:center;justify-items:center;gap:7px;min-height:370px;padding:24px;display:grid}.flask-result__empty>span{opacity:.55;border:5px solid #c6b27b;border-top:0;border-radius:0 0 50px 50px;width:100px;height:55px;margin-bottom:13px;display:block;position:relative}.flask-result__empty>span:before,.flask-result__empty>span:after{content:"";border:4px solid #c6b27b;border-radius:50%;width:18px;height:18px;position:absolute;top:-7px}.flask-result__empty>span:before{left:-18px}.flask-result__empty>span:after{right:-18px}.flask-result__empty strong,.flask-result__waiting strong{color:#53645b;font:650 .92rem Fraunces,Georgia,serif}.flask-result__empty small,.flask-result__waiting small{max-width:220px;color:var(--muted);font-size:.58rem;line-height:1.5}.flask-result__bubbles{background:#e8f2e3;border:2px solid #b9aa70;border-radius:50%;width:86px;height:86px;margin-bottom:8px;position:relative}.flask-result__bubbles i{border:2px solid #6c9d83;border-radius:50%;width:12px;height:12px;animation:1.1s ease-in infinite flask-bubble;position:absolute;bottom:16px}.flask-result__bubbles i:first-child{left:20px}.flask-result__bubbles i:nth-child(2){animation-delay:.3s;left:41px}.flask-result__bubbles i:nth-child(3){animation-delay:.6s;left:56px}.flask-harvest{align-content:start;gap:12px;padding:18px 15px;display:grid}.flask-harvest__title{color:#376046;font:650 .86rem/1.35 Fraunces,Georgia,serif}.flask-harvest__list{gap:8px;display:grid}.flask-harvest__list article{background:#f5f8f0;border:1px solid #d9dfd2;border-radius:12px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:10px;padding:8px;display:grid}.flask-harvest__list .flask-icon{width:54px;height:54px;box-shadow:0 5px 12px #3a442b1f}.flask-harvest__list article div{gap:1px;display:grid}.flask-harvest__list article strong{color:var(--forest-900);font:700 1.25rem Fraunces,Georgia,serif}.flask-harvest__list article small{color:var(--muted);font-size:.55rem}.flask-harvest p{color:#886c56;background:#f5eee8;border-radius:9px;margin:0;padding:9px 10px;font-size:.56rem;line-height:1.45}.flask-collection{background:#fffdf7c2;border:1px solid #dadfd4;border-radius:17px;margin-top:16px;padding:14px}.flask-collection>header{justify-content:space-between;align-items:end;gap:12px;margin:0 2px 11px;display:flex}.flask-collection>header div{gap:1px;display:grid}.flask-collection>header strong{color:var(--forest-900);font:650 .92rem Fraunces,Georgia,serif}.flask-collection>header>span{color:var(--muted);font-size:.58rem}.flask-shelf{grid-template-columns:repeat(9,minmax(84px,1fr));gap:8px;margin:0;padding:0;list-style:none;display:grid}.flask-shelf li{background:#fffefa;border:1px solid #dfe2da;border-radius:11px;grid-template-columns:auto minmax(0,1fr);align-items:center;gap:1px 8px;padding:8px;display:grid}.flask-shelf .flask-icon{grid-row:1/3;width:38px;height:38px}.flask-shelf strong{color:var(--forest-900);font:650 .95rem/1 Fraunces,Georgia,serif}.flask-shelf small{color:var(--muted);overflow-wrap:anywhere;font-size:.48rem;line-height:1.2}.flask-shelf li.is-empty{opacity:.48}@keyframes flask-machine-rattle{0%,to{transform:scale(1.015)translate(0)}25%{transform:scale(1.015)translate(1px,-1px)}75%{transform:scale(1.015)translate(-1px,1px)}}@keyframes flask-lamp{50%{opacity:.45}}@keyframes flask-glow{0%{opacity:.5;transform:translate(-50%,-50%)scale(.8)}to{opacity:1;transform:translate(-50%,-50%)scale(1.4);box-shadow:0 0 55px 24px #36e0b03b}}@keyframes flask-steam{0%{opacity:0;transform:translateY(8px)scale(.55)}28%{opacity:.72}to{opacity:0;transform:translate(-13px,-70px)scale(1.7)}}@keyframes flask-progress{0%,to{transform:translate(-25%)}50%{transform:translate(10%)}}@keyframes flask-bubble{0%{opacity:0;transform:translateY(12px)scale(.55)}30%{opacity:1}to{opacity:0;transform:translateY(-46px)scale(1.25)}}@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--beverage:before{background:#9d5a72}.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--beverage .technology-domain-panel__icon{background:#7c4459}.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--beverage:before{background:#9d5a72}.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}.technology-bench{flex-direction:column;align-items:stretch}.technology-bench__flasks{gap:.55rem 1rem}.technology-bench__link{min-height:44px}.technology-current{grid-template-columns:auto minmax(0,1fr)}.technology-current__gauge,.technology-current em{grid-column:1/-1}.technology-queue li{gap:8px}.technology-queue__remove{width:40px;height:40px}.technology-queued__remove{min-height:44px}.technology-history tbody td{white-space:normal}.technology-detail--inline .technology-price>header span{font-size:.62rem}.technology-detail--inline .technology-price__gold strong{font-size:.9rem}.technology-detail--inline .technology-price__flasks b{font-size:.72rem}.technology-detail--inline .technology-running strong{font-size:.78rem}.technology-detail--inline .technology-running small{font-size:.66rem}}@media (width<=1120px){.flask-workbench{grid-template-columns:minmax(250px,.75fr) minmax(390px,1.25fr)}.flask-input{min-height:0}.flask-machine{grid-template-rows:auto auto auto;align-self:start}.flask-machine__viewport{aspect-ratio:2;min-height:0}.flask-machine__picture{min-height:0}.flask-result{grid-column:1/-1;min-height:0}.flask-result__empty,.flask-result__waiting{min-height:210px}.flask-harvest__list{grid-template-columns:repeat(auto-fit,minmax(170px,1fr))}.flask-shelf{grid-template-columns:repeat(5,minmax(100px,1fr))}}@media (width<=680px){.flask-page{padding-top:28px}.flask-hero{flex-direction:column;align-items:flex-start;gap:18px}.flask-vault{box-sizing:border-box;text-align:start;flex:none;width:100%}.flask-workbench{grid-template-columns:minmax(0,1fr)}.flask-input,.flask-result{min-height:0}.flask-machine__viewport{aspect-ratio:2;min-height:0}.flask-machine__picture{object-position:center;min-height:0}.flask-result{grid-column:auto}.flask-result__empty,.flask-result__waiting{min-height:250px}.flask-stepper button{min-width:44px;min-height:56px}.flask-brew{min-height:50px;font-size:.78rem}.flask-collection>header{flex-direction:column;align-items:start}.flask-shelf{grid-template-columns:repeat(2,minmax(0,1fr))}.flask-shelf li:last-child{grid-column:1/-1}.flask-shelf .flask-icon{width:46px;height:46px}.flask-shelf small{font-size:.56rem}}@media (width<=400px){.technology-queue em{display:none}}@media (prefers-reduced-motion:reduce){.flask-machine.is-brewing .flask-machine__picture,.flask-machine.is-brewing .flask-machine__lamp,.flask-machine.is-brewing .flask-machine__glow,.flask-machine.is-brewing .flask-machine__steam,.flask-machine.is-brewing .flask-machine__status i b,.flask-result__bubbles i{animation:none}}.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-board{--housing-level-1:#7db86f;--housing-level-2:#5fa258;--housing-level-3:#438449;--housing-level-4:#2c663f;--housing-level-5:#174631;--housing-track:#e6e9e1}.housing-mix{border-radius:4px;gap:2px;width:100%;max-width:240px;height:10px;display:flex;overflow:hidden}.housing-mix.is-empty{background:var(--housing-track)}.housing-mix__segment{background:var(--housing-level-5);flex-basis:0;min-width:3px;display:block}.housing-mix__segment[data-level="1"]{background:var(--housing-level-1)}.housing-mix__segment[data-level="2"]{background:var(--housing-level-2)}.housing-mix__segment[data-level="3"]{background:var(--housing-level-3)}.housing-mix__segment[data-level="4"]{background:var(--housing-level-4)}.housing-mix-legend{flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:10px;display:flex}.housing-mix-legend small{color:var(--muted);font-size:.64rem}.housing-mix-legend ul{flex-wrap:wrap;gap:10px;margin:0;padding:0;list-style:none;display:flex}.housing-mix-legend li{color:#526158;align-items:center;gap:5px;font-size:.66rem;font-weight:700;display:flex}.housing-mix-legend .housing-mix__segment{border-radius:3px;flex:none;width:12px;height:10px}.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,.merchant-surplus__portrait{border-radius:12px;flex:none;width:112px;height:140px}@media (width<=820px){.capital-limit-alert__portrait,.merchant-surplus__portrait{border-radius:10px;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}.claim-screen{z-index:62;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0e3028ad;justify-content:center;align-items:flex-start;padding:20px;display:flex;position:fixed;inset:0;overflow-y:auto}.claim-screen__panel{border:1px solid var(--border);background:var(--paper);text-align:center;border-radius:22px;width:min(460px,100%);margin:auto 0;padding:26px 28px 24px;box-shadow:0 30px 70px #00000059}.claim-screen__portrait{justify-content:center;margin:0 0 10px;display:flex}.claim-screen__portrait .assistant-portrait{width:96px;height:96px}.claim-screen__panel .eyebrow{margin:0 0 4px}.claim-screen__panel h1{color:var(--forest-950);margin:0 0 10px;font-family:Fraunces,Georgia,serif;font-size:1.5rem;line-height:1.15}.claim-screen__lead{color:var(--muted);margin:0 0 20px;font-size:.85rem;line-height:1.55}.claim-screen__panel .auth-form{text-align:start}.claim-screen__help{color:var(--muted);margin:14px 0 0;font-size:.72rem;line-height:1.5}: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)}:root[data-theme=dark] .claim-screen{background:#000000b8}:root[data-theme=dark] .claim-screen__panel{background:var(--surface-raised)}:root[data-theme=dark] .discovery-banner__action{color:#d7ebe1;border-color:#3f6154}:root[data-theme=dark] .discovery-banner{background:linear-gradient(#5aa88c29,#5aa88c0d);border-color:#3f6154}@media (width<=520px){.claim-screen__panel{padding:20px 16px 18px}.claim-screen__portrait .assistant-portrait{width:72px;height:72px}.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,.player-header__capital{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))}.admin-sale-form__fields{grid-template-columns:1fr}.admin-sale-form footer{flex-direction:column;align-items:stretch}.admin-sale-table{display:block;overflow-x:auto}.sale-banner{flex-wrap:wrap}}@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,.capital-storage-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}.archipelago__heading-tools{flex:100%}.archipelago__heading-tools .owned-islands-filter{flex:auto;width:auto}.archipelago__heading-tools .archipelago-wallet{flex:none}}@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}.route-list>.route-card,.expedition-voyages-section,.expedition-voyage{scroll-margin-top:78px}.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}.worlds-menu{min-width:0;display:grid}.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}.worlds-link__chevron{display:none}.worlds-subnav{border:0;border-inline-start:1px solid var(--border);width:auto;min-width:0;box-shadow:none;opacity:1;pointer-events:auto;visibility:visible;background:0 0;border-radius:0;gap:2px;margin:1px 0 4px 20px;padding:2px 0 2px 13px;transition:none;position:static;transform:none}[dir=rtl] .worlds-subnav{margin:1px 20px 4px 0}.worlds-subnav:before{display:none}.worlds-menu.has-children:hover .worlds-link__chevron,.worlds-menu.has-children:focus-within .worlds-link__chevron{transform:none}.player-header__navigation .worlds-subnav__link{min-height:42px;padding:7px 9px;font-size:.77rem}.worlds-subnav__icon{width:26px;height:26px}.player-header__aside{gap:11px;width:auto}.player-header__account,.player-header__capital{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%}.archipelago__heading-tools .archipelago-wallet{width:auto}.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){padding-block:7px}.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%}}.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}.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,:root[data-theme=dark] .player-header__capital{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-route-pill:hover{background:#2d4b3c;border-color:#4a7157}:root[data-theme=dark] .island-route-pill.is-idle:hover{background:#4a4430;border-color:#726542}: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] .offer-capacities>span.is-new{box-shadow:inset 0 0 0 1px var(--gold);background:#33291a}:root[data-theme=dark] .offer-capacities>span.is-new b{color:#f2d698}:root[data-theme=dark] .offer-capacities>span.is-new small{color:var(--gold)}:root[data-theme=dark] .map-selection__resources span.is-new{color:#f2d698;background:#33291a}:root[data-theme=dark] .map-selection__resources span.is-new em{color:var(--gold)}: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--damaged{background:#331e1a;border-color:#7a3a2c}:root[data-theme=dark] .construction-option__damage-note{color:#f0a48d}:root[data-theme=dark] .construction-option__repair{background:#b04a31;border-color:#b04a31}: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-operations__stock 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-operations__stock,: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-stop .route-move,:root[data-theme=dark] .route-transfer>button,:root[data-theme=dark] .route-editor__actions .secondary{color:#bcd6c9;background:#263b33;border-color:#48665a}:root[data-theme=dark] .route-stop .route-move:disabled{color:#6f877c;background:#1e2c27;border-color:#33463e}@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__assigned-ships article>.route-ship__hold{border-top-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] .flask-count{background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .flask-count strong{color:var(--ink)}:root[data-theme=dark] .technology-bench,:root[data-theme=dark] .flask-vault,:root[data-theme=dark] .flask-shelf li,:root[data-theme=dark] .flask-input,:root[data-theme=dark] .flask-result,:root[data-theme=dark] .flask-collection{background:var(--paper);border-color:var(--border)}:root[data-theme=dark] .flask-input>header,:root[data-theme=dark] .flask-result>header{background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .flask-input>header strong,:root[data-theme=dark] .flask-result>header strong,:root[data-theme=dark] .technology-bench__flasks b,:root[data-theme=dark] .flask-shelf strong,:root[data-theme=dark] .flask-input__stock strong,:root[data-theme=dark] .flask-stepper output strong{color:var(--ink)}:root[data-theme=dark] .flask-stepper output,:root[data-theme=dark] .flask-input__max{background:var(--surface-raised);border-color:var(--border)}:root[data-theme=dark] .flask-input__stock{background:var(--surface-soft)}:root[data-theme=dark] .flask-vault strong{color:#f0d38c}:root[data-theme=dark] .flask-vault small,:root[data-theme=dark] .flask-vault em{color:#bbaa85}:root[data-theme=dark] .technology-current,:root[data-theme=dark] .technology-running{color:#ecd59a;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .technology-current strong,:root[data-theme=dark] .technology-current em,:root[data-theme=dark] .technology-running small{color:#ecd59a}:root[data-theme=dark] .technology-current small{color:#c0a877}:root[data-theme=dark] .technology-current__icon{background:#ffffff14}:root[data-theme=dark] .technology-node.is-researching{background:#33291a;border-color:#6d5a2c}:root[data-theme=dark] .technology-node.is-researching .technology-node__state{color:#f0d38c;background:#4a3d21}:root[data-theme=dark] .technology-node.is-queued{background:#302819;border-color:#5b4b26}:root[data-theme=dark] .technology-node.is-queued .technology-node__state{color:#f0d38c;background:#453a20}:root[data-theme=dark] .technology-queue{background:#3b321f80;border-color:#65542c}:root[data-theme=dark] .technology-queue>header small{color:#c0a877}:root[data-theme=dark] .technology-queue>header span{color:#ecd59a;background:#3b321f}:root[data-theme=dark] .technology-queue li{background:#33291a;border-color:#5b4b26}:root[data-theme=dark] .technology-queue__rank{color:#f0d38c;background:#4a3d21}:root[data-theme=dark] .technology-queue__icon{background:#ffffff14}:root[data-theme=dark] .technology-queue__copy strong{color:#ecd59a}:root[data-theme=dark] .technology-queue__copy small,:root[data-theme=dark] .technology-queue em,:root[data-theme=dark] .technology-queue__note{color:#bbaa85}:root[data-theme=dark] .technology-queue__remove,:root[data-theme=dark] .technology-queued__remove{color:#f0d38c;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .technology-queued{color:#ecd59a;background:#3b321f;border-color:#65542c}:root[data-theme=dark] .technology-queued small{color:#d3bd88}:root[data-theme=dark] .technology-history{background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .technology-history>header small,:root[data-theme=dark] .technology-history>header span,:root[data-theme=dark] .technology-history thead th,:root[data-theme=dark] .technology-history tbody td{color:var(--muted)}:root[data-theme=dark] .technology-history tbody th{color:var(--ink)}:root[data-theme=dark] .technology-history thead th,:root[data-theme=dark] .technology-history tbody tr+tr th,:root[data-theme=dark] .technology-history tbody tr+tr td{border-color:var(--border)}:root[data-theme=dark] .technology-history__icon{background:var(--surface-raised)}:root[data-theme=dark] .technology-price{background:var(--surface-soft);border-color:var(--border)}:root[data-theme=dark] .technology-price>header span{color:#ecd59a;background:#3b321f}:root[data-theme=dark] .technology-price__gold strong{color:#f0d38c}:root[data-theme=dark] .technology-price__flasks>span{color:#dfaca1;background:#432c28;border-color:#68413b}:root[data-theme=dark] .technology-price__flasks>span.is-met{color:#a8d5b0;background:#23402b;border-color:#477b5a}:root[data-theme=dark] .flask-harvest__title{color:#a8d5b0}:root[data-theme=dark] .flask-harvest__list article{background:#223a2c;border-color:#477b5a}:root[data-theme=dark] .flask-brew:disabled{color:#8d9b94;background:#2b3732}:root[data-theme=dark] .flask-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-housing-needs li.is-missing{color:#f0a48d;background:#422724;border-color:#68413b}:root[data-theme=dark] .capital-service-need.is-missing b{color:#f0a48d}:root[data-theme=dark] .capital-map-cell__level{color:#10201a}:root[data-theme=dark] .capital-service-need.is-satisfied b{color:#a8d5b0}:root[data-theme=dark] .capital-consumption-table tr.is-missing th,:root[data-theme=dark] .capital-consumption-table 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-industry-grid>article.is-paused{background:#2f2a1b;border-color:#6a5a2c}:root[data-theme=dark] .pause-control>button{color:#f0d79a;background:#3d3520;border-color:#6b5c30}:root[data-theme=dark] .pause-control.is-paused>button{color:#a9dcbd;background:#23372d;border-color:#3f5b4a}:root[data-theme=dark] .pause-control .button-spinner{border-color:#fff3}: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__sold{color:#d9b877}: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-board{--housing-level-1:#356b4f;--housing-level-2:#4a8a64;--housing-level-3:#66a97d;--housing-level-4:#90c9a0;--housing-level-5:#c2e8ca;--housing-track:#2a3f36}:root[data-theme=dark] .housing-mix-legend li{color:#b7c7bf}: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;transition:stroke-width .15s,opacity .15s}.map-route.is-paused{stroke-dasharray:9 8;opacity:.5}.map-route.is-dimmed{opacity:.18}.map-route-group{cursor:pointer}.map-route-group:focus{outline:none}.map-route-hit{fill:none;stroke-width:16px;stroke-linecap:round;stroke-linejoin:round;stroke-opacity:0;pointer-events:stroke;transition:stroke-opacity .15s}.map-route-group.is-focused .map-route{stroke-width:5.5px;opacity:1}.map-route-group.is-focused .map-route-hit{stroke-opacity:.22}.map-canvas.is-dragging .map-route-group{cursor:grabbing}.map-canvas.is-picking .map-route-group{pointer-events:none}.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__resources span.is-new{box-shadow:inset 0 0 0 1px var(--gold);color:#7c5a15;background:#fbeeca;border-radius:7px;padding:3px 7px}.map-selection__resources span.is-new em{color:#93701f;text-transform:uppercase;letter-spacing:.02em;font-weight:800}.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,.map-route-list__entry.is-hovered{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__balance{color:#cbb888}: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 tr.is-dormant{color:var(--muted);background:#78827c29}: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}}.monuments-page{width:min(100%,1500px);margin:0 auto;padding:42px 0 76px}.monuments-hero{border:1px solid var(--border);background:linear-gradient(128deg, var(--surface) 0%, var(--surface-soft) 100%);box-shadow:var(--shadow);border-radius:28px;justify-content:space-between;align-items:end;gap:28px;margin:28px 0 34px;padding:34px 38px;display:flex}.monuments-hero h1,.monuments-section-heading h2{margin:4px 0 8px}.monuments-hero p:not(.eyebrow){max-width:760px;color:var(--muted);margin:0;line-height:1.65}.monuments-appeal{text-align:center;background:#e1b3521f;border:1px solid #c28f2d61;border-radius:20px;min-width:210px;padding:18px 22px}.monuments-appeal small,.monuments-appeal span{color:var(--muted);display:block}.monuments-appeal strong{color:var(--gold);margin:4px 0;font-family:Georgia,serif;font-size:2.35rem;display:block}.monuments-error{color:var(--danger);background:#aa433714;border:1px solid #aa433759;border-radius:14px;margin:0 0 24px;padding:14px 18px}.monuments-built,.monuments-worksite{margin-top:34px}.monuments-section-heading{justify-content:space-between;align-items:end;gap:24px;margin-bottom:18px;display:flex}.monuments-section-heading p:last-child{max-width:520px;color:var(--muted);text-align:right;margin:0}.monuments-built-grid{grid-template-columns:repeat(auto-fit,minmax(290px,1fr));gap:18px;display:grid}.monument-built-card,.monument-catalog-card,.monument-project{border:1px solid var(--border);background:var(--surface);box-shadow:var(--shadow);border-radius:22px}.monument-built-card{grid-template-columns:minmax(170px,220px) 1fr;align-items:center;gap:22px;padding:20px;display:grid}.monument-illustration{aspect-ratio:1;object-fit:cover;border-radius:14px;width:100%;height:auto;display:block;box-shadow:0 12px 28px #19392c29}.monument-built-card h3,.monument-catalog-card h3,.monument-project h3{margin:0 0 8px}.monument-bonuses{color:var(--muted);gap:5px;margin:0;padding:0;font-size:.93rem;list-style:none;display:grid}.monument-bonuses li:before{color:var(--gold);content:"◆";margin-right:7px;font-size:.65em}.monuments-empty{border:1px dashed var(--border);color:var(--muted);text-align:center;border-radius:18px;padding:24px}.monument-catalog{grid-template-columns:repeat(auto-fit,minmax(340px,1fr));gap:20px;display:grid}.monument-catalog-card{flex-direction:column;gap:18px;padding:22px;display:flex}.monument-catalog-card__head{gap:18px;display:grid}.monument-catalog-card__head p,.monument-project__summary p{color:var(--muted);margin:0;line-height:1.55}.monument-total-cost{background:var(--surface-soft);border-radius:16px;padding:16px}.monument-total-cost>strong{margin-bottom:10px;display:block}.monument-total-cost>div{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 14px;display:grid}.monument-total-cost span{align-items:center;gap:7px;min-width:0;font-size:.88rem;display:flex}.monument-total-cost .resource-icon{width:28px;height:28px}.monument-catalog-card details{border-top:1px solid var(--border);padding-top:14px}.monument-catalog-card summary{cursor:pointer;color:var(--accent);font-weight:800}.monument-stage-cost{border-bottom:1px solid var(--border);gap:4px;padding:12px 0;display:grid}.monument-stage-cost span,.monument-stage-cost small{color:var(--muted);line-height:1.45}.monument-catalog-card>button{margin-top:auto}.monument-project{padding:26px}.monument-project__summary{grid-template-columns:minmax(240px,360px) 1fr;align-items:center;gap:28px;display:grid}.monument-stage-pill{color:var(--accent);background:#347e5c1c;border-radius:999px;margin-bottom:7px;padding:5px 10px;font-size:.8rem;font-weight:900;display:inline-block}.monument-project__summary .monument-bonuses{margin-top:12px}.monument-stage-track{grid-template-columns:repeat(4,1fr);gap:10px;margin:28px 0;padding:0;list-style:none;display:grid}.monument-stage-track li{color:var(--muted);background:var(--surface-soft);text-align:center;border-radius:14px;place-items:center;gap:7px;padding:12px 8px;display:grid}.monument-stage-track li>span{border:2px solid var(--border);border-radius:50%;place-items:center;width:30px;height:30px;font-weight:900;display:grid}.monument-stage-track li.is-current{color:var(--ink);background:#e1b35221}.monument-stage-track li.is-current>span{border-color:var(--gold);color:var(--gold)}.monument-stage-track li.is-done{color:var(--accent)}.monument-stage-track li.is-done>span{border-color:var(--accent);color:#fff;background:var(--accent)}.monument-progress-list{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;display:grid}.monument-progress-line{border:1px solid var(--border);border-radius:15px;align-items:center;gap:12px;padding:13px;display:flex}.monument-progress-line>div{flex:1;min-width:0}.monument-progress-line span{justify-content:space-between;gap:12px;margin-bottom:7px;display:flex}.monument-progress-line small{color:var(--muted)}.monument-progress-line progress{width:100%;height:9px;accent-color:var(--accent);display:block}.monument-contribution{background:var(--surface-soft);border-radius:18px;grid-template-columns:minmax(220px,1.5fr) minmax(120px,.6fr) auto auto;align-items:end;gap:12px;margin-top:22px;padding:18px;display:grid}.monument-contribution label{color:var(--muted);gap:7px;font-size:.85rem;font-weight:800;display:grid}.monument-contribution input{border:1px solid var(--border);width:100%;min-height:46px;color:var(--ink);background:var(--surface);font:inherit;border-radius:12px;padding:0 12px}.monument-contribution button{cursor:pointer;min-height:46px;font:inherit;white-space:nowrap;border-radius:12px;justify-content:center;align-items:center;gap:8px;padding:0 18px;font-size:.86rem;font-weight:850;transition:border-color .16s,background .16s,box-shadow .16s,filter .16s,transform .16s;display:inline-flex}.monument-contribution button:hover:not(:disabled){transform:translateY(-1px)}.monument-contribution button:focus-visible{outline:3px solid color-mix(in srgb, var(--gold) 38%, transparent);outline-offset:2px}.monument-contribution button:disabled{cursor:not-allowed;filter:saturate(.55);opacity:.48;transform:none}.monument-max-button{border:1px solid color-mix(in srgb, var(--forest-700) 34%, var(--border));color:var(--forest-800);background:var(--surface);box-shadow:0 3px 10px var(--shadow)}.monument-max-button:hover:not(:disabled){border-color:var(--gold);color:var(--forest-900);background:color-mix(in srgb, var(--gold) 8%, var(--surface));box-shadow:0 6px 16px var(--shadow)}.monument-contribute-button{color:#fff;background:linear-gradient(135deg,#2e6b58,#153e33);border:1px solid #153e33;box-shadow:0 7px 16px #153e3333}.monument-contribute-button:hover:not(:disabled){filter:brightness(1.08);box-shadow:0 9px 20px #153e3342}.monument-contribute-button:active:not(:disabled),.monument-max-button:active:not(:disabled){box-shadow:none;transform:translateY(0)}.monument-countdown{text-align:center;background:#e1b3521a;border:1px solid #c28f2d57;border-radius:18px;place-items:center;gap:6px;margin-top:22px;padding:24px;display:grid}.monument-countdown strong{color:var(--gold);font-family:ui-monospace,SFMono-Regular,Menlo,monospace;font-size:clamp(1.25rem,3vw,2rem)}.monument-countdown span,.monument-countdown small{color:var(--muted)}:root[data-theme=dark] .monuments-appeal,:root[data-theme=dark] .monument-countdown{background:#c28f2d1f}:root[data-theme=dark] .monument-stage-pill{background:#41976f29}@media (width<=820px){.monuments-hero,.monuments-section-heading{flex-direction:column;align-items:stretch}.monuments-section-heading p:last-child{text-align:left}.monuments-appeal{min-width:0}.monument-progress-list{grid-template-columns:1fr}.monument-contribution{grid-template-columns:1fr 1fr}.monument-built-card,.monument-project__summary{grid-template-columns:1fr;align-items:start}.monument-built-card .monument-illustration{max-width:360px}}@media (width<=520px){.monuments-page{padding-top:28px}.monuments-hero,.monument-project{padding:20px}.monument-catalog,.monument-total-cost>div{grid-template-columns:1fr}.monument-stage-track{grid-template-columns:repeat(2,1fr)}.monument-contribution{grid-template-columns:1fr}}
