.game-symbol{vertical-align:middle;flex-shrink:0;width:22px;height:22px;display:inline-block}.board-control{width:40px;height:40px;min-height:40px;color:inherit;cursor:pointer;background:0 0;border:1px solid;border-radius:10px;flex-shrink:0;justify-content:center;align-items:center;padding:8px;text-decoration:none;display:inline-flex}.board-control:focus-visible{outline-offset:2px;outline:3px solid #29a3df}.board-list-link{margin-bottom:8px}.board-help{margin-left:auto}.board-dialog{box-sizing:border-box;color:#27392f;background:#f4efd9;border:1px solid #9b8d62;border-radius:18px;width:min(520px,100vw - 24px);max-height:calc(100dvh - 24px);padding:20px;overflow:auto;box-shadow:0 18px 60px #0007}.board-dialog::backdrop{background:#07181299}.board-dialog-heading{justify-content:space-between;align-items:center;gap:12px;margin-bottom:12px;display:flex}.board-dialog-heading h2{margin:0;font-size:20px}.board-dialog p,.board-dialog li{color:inherit;font-size:14px;line-height:1.6}.board-dialog ol{padding-left:22px}.board-dialog li+li{margin-top:8px}.board-dialog-actions{justify-content:flex-end;gap:10px;margin-top:16px;display:flex}.board-dialog .board-dialog-action{color:#27392f;width:auto;min-width:80px;min-height:44px;font:inherit;cursor:pointer;background:#fff9e8;border:1px solid #69755c;border-radius:10px;padding:10px 18px}.board-dialog .board-dialog-action:focus-visible{outline-offset:2px;outline:3px solid #29a3df}.board-dialog .board-dialog-action:disabled{opacity:.5;cursor:default}.board-sr{clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.board-clock-dial{fill:none;flex-shrink:0;width:26px;height:26px;display:block}.board-clock-track{stroke:currentColor;stroke-width:3px;opacity:.2}.board-clock-progress{stroke:currentColor;stroke-width:3px;stroke-linecap:round;transform-origin:50%;transition:stroke-dashoffset .5s linear;transform:rotate(-90deg)}.board-clock-hand{stroke:currentColor;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round;transform-origin:20px 20px}.board-clock-hand.ticking{animation:2s ease-in-out infinite board-clock-tick}.board-timer{--clock-ink:#285746;--clock-surface:#edf2e6;--clock-border:#a8bba0;--clock-alert:#a64b28;--clock-alert-surface:#f8e8d7;--clock-alert-border:#c9784e;border:1px solid var(--clock-border);background:var(--clock-surface);min-width:80px;height:32px;color:var(--clock-ink);white-space:nowrap;border-radius:9px;flex-shrink:0;justify-content:center;align-items:center;gap:5px;padding:2px 6px;display:inline-flex}.board-timer .board-timer-readout{color:inherit;align-items:baseline;gap:2px;display:flex}.board-timer .board-timer-readout b{font-variant-numeric:tabular-nums;text-align:right;min-width:2ch;font:750 22px/1 ui-monospace,monospace}.board-timer .board-timer-readout small{color:inherit;font-size:10px;display:inline}.board-timer.is-waiting{opacity:.72}.board-timer.urgent,.board-timer.expired{color:var(--clock-alert);background:var(--clock-alert-surface);border-color:var(--clock-alert-border)}.board-timer.urgent{animation:1s ease-in-out infinite board-clock-pulse}@keyframes board-clock-tick{0%,to{transform:rotate(-8deg)}50%{transform:rotate(8deg)}}@keyframes board-clock-pulse{0%,to{box-shadow:0 0 #0000}50%{box-shadow:0 0 0 3px color-mix(in srgb, var(--clock-alert-border) 30%, transparent)}}@media (width<=700px),(height<=650px){.board-timer{gap:4px;min-width:74px;height:28px;padding:1px 5px}.board-timer .board-clock-dial{width:22px;height:22px}.board-timer .board-timer-readout b{font-size:20px}}@media (prefers-reduced-motion:reduce){.board-timer,.board-clock-hand.ticking{animation:none!important}.board-clock-progress{transition:none!important}}header>.board-site-nav{flex-shrink:0;align-items:center;gap:4px;display:flex}header>.board-site-nav .board-control{box-sizing:border-box;width:32px;height:32px;min-height:32px;color:inherit;border-radius:8px;margin:0;padding:5px}header>.board-site-nav .game-symbol{width:20px;height:20px}@media (width<=700px){header:has(>.board-site-nav)>:is(.brand,.game-title,.lobby-branding,.wordmark){display:none}}@media (width<=380px){header:has(>.board-site-nav)>.header-meta{display:none}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;color:#263e32;font-synthesis:none;background:#f4f3ec;font-family:-apple-system,BlinkMacSystemFont,Apple SD Gothic Neo,Noto Sans KR,sans-serif;font-size:14px;font-weight:400;line-height:1.5}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial}}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer;color:inherit;background:0 0;border:0;border-radius:9px;transition:background .15s,transform .15s}button:disabled{cursor:default;opacity:.42}button:not(:disabled):hover{filter:brightness(.96)}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #c6884d}h1,h2,h3,p{margin:0}h1{letter-spacing:-2px;font-weight:600}h2{letter-spacing:-.5px;font-size:18px}h3{font-size:15px}small{font-size:11px}a{color:inherit;text-decoration:none}.topbar{border-bottom:1px solid #dcded2;justify-content:space-between;align-items:center;max-width:1500px;height:92px;margin:auto;padding:0 48px;display:flex}.brand{letter-spacing:-.5px;align-items:center;gap:12px;font-size:22px;font-weight:700;display:flex}.brand-mark{flex-shrink:0;width:42px;height:42px;display:block}.brand small{letter-spacing:1.5px;font-size:9px;font-weight:500;display:block}.top-actions{align-items:center;gap:22px;display:flex}.identity{color:#798578;font-size:12px}.text-button{padding:8px 0;font-size:12px}.text-button span{margin-left:12px}.eyebrow{letter-spacing:2px;color:#7b8778;font-size:10px;font-weight:600}.muted,.panel-note{color:#7a8578;font-size:12px}.primary,.secondary{justify-content:space-between;align-items:center;gap:20px;width:100%;padding:13px 17px;font-weight:600;display:flex}.primary{color:#f6f5ed;background:#284d3a}.secondary{color:#355340;background:#e7ebdf}.section-heading{justify-content:space-between;align-items:center;gap:12px;display:flex}.section-heading>small{color:#889181;font-size:10px}.section-heading>span{color:#87917e;font-size:12px}.message{background:#e2eadd;border-radius:8px;max-width:1300px;margin:18px auto 0;padding:12px 20px}.message.error{color:#8b4230;background:#f0e1d8}.lobby{grid-template-columns:minmax(0,1.45fr) minmax(320px,1fr);gap:88px;max-width:1260px;margin:64px auto 72px;padding:0 40px;display:grid}.lobby-intro h1{margin:20px 0;font-size:clamp(38px,4vw,58px);line-height:1.23}.lobby-guide{background:#fafbf6;border:1px solid #d6ddcd;border-radius:16px;margin-top:22px;padding:22px}.lobby-guide>h2{font-size:17px}.lobby-resource-key{border-bottom:1px solid #e1e6d9;justify-content:space-between;gap:10px;margin-bottom:16px;padding:16px 0;display:flex}.lobby-resource-key>div{color:#60735d;justify-items:center;gap:5px;font-size:11px;display:grid}.lobby-resource-key svg{width:35px;height:35px}.lobby-guide-steps{gap:20px;margin:0;padding:0;list-style:none;display:grid}.lobby-guide-steps>li{align-items:flex-start;gap:13px;display:flex}.lobby-guide-steps>li>svg{color:#4c7753;flex-shrink:0;width:24px;height:24px;margin-top:2px}.lobby-guide h3,.lobby-guide-steps h4{margin:0 0 5px;font-size:14px}.lobby-guide-win,.lobby-guide-limit{background:#e6ecdc;border-radius:10px;margin-top:16px;padding:14px}.lobby-guide-limit{margin-bottom:18px}.lobby-guide-scoring{margin-top:18px}.lobby-guide-win p,.lobby-guide-limit p,.lobby-guide-scoring p,.lobby-guide-choice{color:#53664d;margin:0;font-size:12px;line-height:1.75}.lobby-guide-choice{margin-bottom:15px}.lobby-guide-steps p,.lobby-guide-turns,.lobby-guide-footer p{color:#66765f;font-size:12px;line-height:1.75}.lobby-guide-turns{background:#eaf0e2;border-radius:8px;margin-top:20px;padding:12px}.lobby-guide-footer{border-top:1px solid #e1e6d9;margin-top:16px;padding-top:16px}.lobby-guide-footer strong{color:#355340;margin-right:5px}.lobby-guide-footer .text-button{color:#315b3c;margin-top:7px;font-weight:600}@media (width<=720px){.lobby-guide{margin-top:18px;padding:17px}.lobby-guide-steps{gap:17px}.lobby-guide-steps>li{gap:10px}}.lede{color:#7b8576;font-size:14px;line-height:1.9}.landscape{background:#e7eadb radial-gradient(#cdd5bf 1px,#0000 1px) 0 0/14px 14px;border:1px solid #dde2d0;border-radius:110px 110px 30px 30px;height:330px;margin:32px 0 20px;position:relative;overflow:hidden}.contour{border:1px solid #c1cfb3;border-radius:45% 55% 70% 30%;position:absolute;box-shadow:0 0 0 18px #e7eadb,0 0 0 19px #c9d3bb,0 0 0 37px #e7eadb,0 0 0 38px #c9d3bb}.contour-one{width:220px;height:175px;top:60px;left:-20px;transform:rotate(-30deg)}.contour-two{width:220px;height:240px;top:-30px;right:-30px;transform:rotate(30deg)}.contour-three{width:90px;height:130px;bottom:-60px;left:45%;transform:rotate(20deg)}.landscape:after{content:"";z-index:1;background:#829c77;width:60%;height:1px;position:absolute;top:165px;left:23%;transform:rotate(-13deg)}.landmark{z-index:2;background:#f4f3e8;border-radius:24px;flex-direction:column;justify-content:center;align-items:center;width:100px;height:100px;font-size:48px;display:flex;position:absolute;transform:rotate(-8deg);box-shadow:0 8px 25px #3b593a18}.landmark small{letter-spacing:2px;font-size:9px}.water-land{color:#6b9093;top:100px;left:13%}.forest-land{color:#446344;top:56px;left:44%;transform:rotate(8deg)}.camp-land{color:#b48e58;top:145px;right:9%;transform:rotate(3deg)}.map-caption{letter-spacing:1.8px;color:#85957c;font-size:9px;position:absolute;bottom:20px;left:24px}.game-facts{color:#7d8879;gap:24px;font-size:11px;display:flex}.lobby-panel{padding-top:8px}.lobby-panel h2{margin:14px 0 10px;font-size:26px}.select-label{color:#71806c;justify-content:space-between;align-items:center;margin:28px 0 0;font-size:12px;display:flex}select{color:#40573f;background:#f8f7f1;border:1px solid #d6dbcc;border-radius:8px;padding:10px 12px;font-size:12px}.mode-box{background:#f9f8f2;border:1px solid #d9ddce;border-radius:14px;margin-top:18px;padding:23px}.mode-box select{width:100%;margin:20px 0 14px}.mode-box .segmented{margin:20px 0 14px}.segmented{background:#e9ece2;border-radius:9px;gap:5px;padding:4px;display:flex}.segmented button{flex:1;padding:9px}.segmented .active{background:#fff;box-shadow:0 2px 6px #25462c10}.saved{margin-top:25px}.saved h3{margin-bottom:8px;font-size:12px}.saved button{border-bottom:1px solid #dde1d3;justify-content:space-between;width:100%;padding:12px 0;font-size:12px;display:flex}.waiting{max-width:700px;min-height:65vh;margin:70px auto;padding:0 25px}.waiting h1{margin:18px 0 12px;font-size:36px}.tile{aspect-ratio:1.2;text-align:center;background:#edf0e5;border:1px solid #d4dcc9;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:7px;min-width:0;padding:10px 3px;display:flex}.tile>strong{font-size:11px;font-weight:600}.tile-art{object-fit:contain;mix-blend-mode:multiply;border-radius:6px;width:54%;height:52px}.tile>small{color:#8d9c81;font-size:8px}.tile.camp{color:#f5f2dd;background:#274e37;border-color:#274e37}.tile.camp span{color:#d1ddba;font-size:37px}.tile.camp small{color:#9fb899}.tile.empty{background:#e9eedf;border-style:dashed}.tile.empty>span{color:#a9b598;font-size:22px}.tile.buildable{background:#f0f2e6;border-color:#b9caa6}.tile.pond{background:#e4efea}.tile.pond>span{color:#759b9b}.tile.lab>span{color:#b59462}.tile.garden>span{color:#b2a451}.tile.used{background:#dce3d3}.tile.selected{border:2px solid #59754c;box-shadow:0 0 0 3px #9db38955}.results{text-align:center;background:#e3ebd8;border-radius:18px;margin-bottom:30px;padding:28px;scroll-margin-top:110px}.results h2{margin:8px 0;font-size:25px}.results p:not(.eyebrow){color:#849276;font-size:12px}.results .primary{width:auto;margin:20px auto 8px}.results .text-button{margin-top:10px}footer{color:#909a82;border-top:1px solid #dde1d2;justify-content:space-between;gap:20px;max-width:1400px;margin:0 auto;padding:20px 48px 30px;font-size:9px;display:flex}footer>span:first-child{letter-spacing:1.5px}.modal-backdrop{z-index:10;background:#182b2366;place-items:center;padding:24px;display:grid;position:fixed;inset:0}.rules-modal{background:#f8f7ef;border-radius:18px;max-width:620px;max-height:85dvh;padding:32px;overflow:auto;box-shadow:0 25px 80px #102d2233}.rules-modal>.section-heading{margin-bottom:20px}.rules-modal p{margin:12px 0;font-size:12px;line-height:1.9}.rules-modal ol{padding-left:20px;font-size:12px;line-height:1.9}.rules-modal li{margin:12px 0}.rule-score{background:#e6ecdc;border-radius:10px;margin-top:20px;padding:13px 17px}.rule-score>strong{font-size:12px}.rule-score p{margin:4px 0}@media (width<=1100px){.topbar{padding:0 25px}.lobby{gap:40px}}@media (width<=720px){.topbar{height:76px;padding:0 18px}.brand{font-size:19px}.brand-mark{width:34px;height:34px}.brand small{font-size:7px}.top-actions{gap:15px}.identity{display:none}.lobby{grid-template-columns:1fr;gap:25px;margin:35px auto;padding:0 22px}.lobby-intro h1{font-size:39px}.lobby-intro .eyebrow{font-size:8px}.lede{font-size:12px}.landscape{height:250px;margin-top:25px}.landmark{border-radius:18px;width:75px;height:75px;font-size:36px}.water-land{top:80px;left:12%}.forest-land{top:45px;left:42%}.camp-land{top:115px;right:8%}.map-caption{font-size:7px}.game-facts{gap:18px;font-size:9px}.lobby-panel{border-top:1px solid #dce0cf;padding-top:15px}.lobby-panel h2{font-size:23px}.rules-modal{max-height:90dvh;padding:23px}.modal-backdrop{padding:14px}.rules-modal h2{font-size:20px}.message{margin:12px 14px 0;font-size:12px}.waiting h1{font-size:28px}.waiting{margin-top:45px}footer{flex-wrap:wrap;gap:10px;margin:10px 15px 0;padding:20px 0;font-size:8px}footer>span:last-child{display:none}}@media (prefers-reduced-motion:reduce){button{transition:none}}.name-label{color:#71806c;margin:22px 0;font-size:12px;display:block}.name-label input{color:#40573f;width:100%;font:inherit;background:#f8f7f1;border:1px solid #d6dbcc;border-radius:8px;margin-top:8px;padding:12px;display:block}.name-label input:focus-visible{outline-offset:3px;outline:3px solid #c6884d}:root{color:#243e34;background:#f3f0e7}body{background-image:radial-gradient(#82927a12 .7px,#0000 .7px);background-size:7px 7px}button,input,select{touch-action:manipulation}button:disabled{opacity:.62}.text-button{min-height:44px}.game-shell{color:#192d43;background:#edf3f8;flex-direction:column;height:100dvh;display:flex;position:fixed;inset:0;overflow:hidden}.game-shell .topbar{background:#fff;border-color:#d5dfeb;width:100%;max-width:none;height:48px;min-height:48px;padding:0 24px}.game-shell .brand{gap:9px;font-size:18px}.game-shell .brand-mark{width:28px;height:28px}.game-shell .brand small,.game-shell .identity{display:none}.game-shell .text-button{color:#3c536c;min-height:36px;font-size:12px}.game-shell .message{flex-shrink:0;max-height:25dvh;margin:6px 12px 0;padding:8px 14px;font-size:12px;overflow:auto}.game-shell .message .text-button{padding:4px 10px;text-decoration:underline}.game-shell button:disabled{opacity:1}.game-shell button:not(:disabled):hover{filter:none}.game-shell button:focus-visible{outline-color:#168dea}.table{flex-direction:column;flex:1;gap:8px;width:100%;max-width:1560px;min-height:0;margin:auto;padding:12px 20px 16px;display:flex}.table-status{flex-shrink:0;align-items:center;gap:14px;min-height:30px;display:flex}.table-status h1{letter-spacing:-.3px;overflow-wrap:anywhere;font-size:17px}.my-turn h1{color:#087bbd}.turn-toast-region{z-index:1100;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.turn-toast{color:#143c58;text-align:center;background:#f4fbff;border:1px solid #b9dcf2;border-radius:20px;flex-direction:column;align-items:center;gap:8px;width:min(300px,100vw - 40px);padding:24px 28px;animation:.18s ease-out turn-toast-in;display:flex;box-shadow:0 16px 60px #153d5d30,0 0 0 5px #ffffff80}.turn-toast-icon{color:#fff;background:#087bbd;border-radius:50%;place-items:center;width:44px;height:44px;margin-bottom:2px;display:grid}.turn-toast-icon svg{width:26px;height:26px}.turn-toast strong{letter-spacing:-.7px;overflow-wrap:anywhere;max-width:100%;font-size:24px}@keyframes turn-toast-in{0%{opacity:0;transform:translateY(8px)scale(.96)}to{opacity:1;transform:translateY(0)scale(1)}}@media (prefers-reduced-motion:reduce){.turn-toast{animation:none}}.game-results{color:#1c4836;text-align:center;background:#f4fbf6;border:1px solid #b9d7ca;border-radius:22px;width:min(440px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px;animation:.18s ease-out turn-toast-in;overflow:auto;box-shadow:0 20px 80px #153d5d40}.game-results::backdrop{background:#102d2266}.game-results-label{letter-spacing:2px;color:#5b7566;margin:0 0 16px;font-size:13px;font-weight:700}.game-results-emblem{color:#745511;background:#e8d58a;border-radius:50%;place-items:center;width:64px;height:64px;margin:0 auto 14px;display:grid}.game-results-emblem svg{width:38px;height:38px}.game-results h2{letter-spacing:-.7px;overflow-wrap:anywhere;margin:0;font-size:30px;line-height:1.3}.game-results h2>span{display:block}.game-results h2>small{color:#16895f;margin-top:8px;font-size:21px;display:block}.game-results>p:not(.game-results-label):not(.token-confirm-error){color:#5b7566;font-size:13px;line-height:1.6}.game-results-scores{text-align:left;gap:6px;margin:20px 0;padding:0;list-style:none;display:grid}.game-results-scores li{background:#eaf0eb;border-radius:12px;justify-content:space-between;align-items:center;gap:12px;padding:12px;display:flex}.game-results-scores li.winner{background:#d9eee0;box-shadow:inset 0 0 0 1px #a5d0b5}.game-results-player{overflow-wrap:anywhere;flex-wrap:wrap;align-items:center;gap:6px;min-width:0;display:flex}.game-results-player strong{min-width:0}.game-results-scores li>b{font-variant-numeric:tabular-nums;flex-shrink:0;font-size:23px}.game-results-scores b small{margin-left:3px;font-size:12px;font-weight:400}.game-results .winner-label{color:#fff;background:#16895f;border-radius:6px;padding:2px 6px}.game-results>.primary{background:#16895f;justify-content:center;width:100%;min-height:48px}.game-results>.text-button{min-height:44px}.game-results .game-results-note{margin:10px 0 4px}.game-results .token-confirm-error{overflow-wrap:anywhere}@media (width<=480px){.game-results{padding:22px 18px}.game-results h2{font-size:26px}}@media (prefers-reduced-motion:reduce){.game-results{animation:none}}.end-condition{color:#557089;align-items:center;gap:5px;display:flex}.end-condition svg{width:20px;height:20px}.end-condition b{font-size:15px}.end-condition{flex-shrink:0}.action-dots{gap:5px;display:flex}.action-dots i{background:#dce4ed;border:1px solid #c3ceda;border-radius:50%;width:11px;height:11px}.action-dots .remaining{background:#168dea;border-color:#0873c0;box-shadow:0 1px #045182}.clock{color:#285b7c;background:#f8fbff;border:1px solid #c9d9e8;border-radius:9px;flex-shrink:0;justify-content:center;align-items:baseline;gap:4px;min-width:82px;padding:3px 10px 6px;display:flex;position:relative;overflow:hidden}.clock-icon{align-self:center;width:15px;height:15px;margin-right:2px}.clock b{font-variant-numeric:tabular-nums;text-align:right;min-width:2ch;font-size:22px;font-weight:700;line-height:1.2}.clock-unit{font-size:11px}.clock-track{background:#dfe8f1;height:3px;position:absolute;inset:auto 0 0}.clock-track>span{width:var(--time-left);background:#4b86ae;height:100%;display:block}.clock.urgent{color:#a53220;background:#fff1eb;border-color:#e4b2a2}.clock.urgent .clock-track{background:#f4d8cd}.clock.urgent .clock-track>span{background:#bf4a32}.table-menu{gap:14px;margin-left:auto;display:flex}.economy-row{flex-shrink:0;grid-template-columns:minmax(560px,1.2fr) minmax(0,1fr);gap:12px;display:grid}.economy-row.opponents-3{flex-direction:column;gap:8px;display:flex}.hand-bar{background:#fff;border:1px solid #d5dfeb;border-radius:14px;flex-shrink:0;align-items:center;gap:16px;min-height:80px;padding:8px 16px;display:flex;box-shadow:0 3px 10px #1c395b05}.hand-title{align-items:center;gap:6px;min-width:80px;max-width:140px;display:flex}.hand-title strong{overflow-wrap:anywhere;font-size:14px}.resources{flex-wrap:nowrap;align-items:center;gap:10px;margin:0;display:flex}.resource.water,.card-bonus.water,.resource-icon.water{--token-color:#0873c4;--token-bg:#b8dcff;--token-glow:#e2f2ff;--icon-fill:#168dea;--icon-stroke:#075fb2;--icon-highlight:#b5ecff;--icon-shade:#0666be}.resource.seed,.card-bonus.seed,.resource-icon.seed{--token-color:#168536;--token-bg:#bceac8;--token-glow:#e4ffe9;--icon-fill:#10af3e;--icon-stroke:#14632b;--icon-highlight:#c9ffd1;--icon-shade:#3dd85d}.resource.soil,.card-bonus.soil,.resource-icon.soil{--token-color:#94a4bb;--token-bg:#242830;--token-glow:#525b68;--icon-fill:#171b22;--icon-stroke:#bac7d9;--icon-highlight:#cbd2dc;--icon-shade:#555e6b}.resource.sunlight,.card-bonus.sunlight,.resource-icon.sunlight{--token-color:#bc263b;--token-bg:#ffc3c8;--token-glow:#ffe5e7;--icon-fill:#e2384f;--icon-stroke:#a61d32;--icon-highlight:#ffdce0;--icon-shade:#c6243b}.resource.knowledge,.card-bonus.knowledge,.resource-icon.knowledge{--token-color:#8693a3;--token-bg:#fff;--token-glow:#fff;--icon-fill:#fff;--icon-stroke:#6b7889;--icon-highlight:#e4e9ef;--icon-shade:#c5ced9}.resource{border:2px solid var(--token-color);background:radial-gradient(circle at 35% 22%, var(--token-glow), var(--token-bg));width:54px;height:54px;box-shadow:inset 0 0 0 2px var(--token-bg), 0 3px 0 color-mix(in srgb, var(--token-color), #16364a 25%);border-radius:50%;flex-shrink:0;padding:6px;display:block;position:relative}.resource i,.resource i svg{width:100%;height:100%;display:block}.resource b{border:2px solid var(--token-color);color:#142d43;background:#fff;border-radius:50%;place-items:center;min-width:25px;height:25px;padding:0 3px;font-size:17px;font-weight:800;line-height:1;display:grid;position:absolute;bottom:-5px;right:-5px;box-shadow:0 1px 2px #1e385820}.resource.shortage b{color:#b34428;border-color:#d16b51}.resource.shortage:after{content:"";border-radius:inherit;pointer-events:none;border:1px dashed #cf7054;position:absolute;inset:-4px}:is(.site,.project-cost,.project-details-modal,.token-confirm-modal,.gather-selection-popup) .resource b{border-style:none}.inventory-spendable{flex-direction:column;gap:7px;padding-bottom:3px;display:flex}.inventory-spendable .resource b{font-variant-numeric:tabular-nums}.inventory-limit{color:#436681;text-align:center;font-size:10px;line-height:1.2}.inventory-permanent{border-left:1px solid #dde5ee;align-items:center;gap:10px;padding-left:20px;display:flex}.inventory-permanent>span{color:#436681;font-size:28px}.inventory-permanent .resource{border-radius:7px;width:38px;height:44px;padding:4px;box-shadow:-3px 3px #d5dfeb,-6px 6px #e7edf5}.inventory-permanent .resource.zero{box-shadow:none;background:#f5f8fc;border-style:dashed}.inventory-permanent .resource.zero i{opacity:.55}.inventory-permanent .resource b{min-width:20px;height:20px;font-size:13px;bottom:-3px}.hand-score{align-items:center;gap:6px;margin-left:auto;display:flex}.hand-score svg{width:36px;height:36px}.hand-score b{font-size:34px;line-height:1}.opponent-strip{flex-shrink:0;gap:8px;display:flex}.economy-row:not(.opponents-3) .opponent{grid-template-rows:22px 35px}.economy-row:not(.opponents-3) .opponent .resource{width:32px;height:32px}.economy-row:not(.opponents-3) .opponent .resource b{min-width:18px;height:18px;font-size:13px}.opponent{--seat-color:#d8593d;border:1px solid #d1dce8;border-left:4px solid var(--seat-color);background:#f9fbfd;border-radius:10px;flex:1;grid-template-rows:20px 27px;gap:4px;min-width:0;max-width:460px;padding:7px 10px;display:grid}.opponent.current{border-color:var(--seat-color);background:#fff}.opponent-identity{align-items:center;gap:6px;min-width:0;display:flex}.seat-marker{background:var(--seat-color);color:#fff;border-radius:50%;flex-shrink:0;place-items:center;width:18px;height:18px;font-size:11px;display:grid}.opponent-identity strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;overflow:hidden}.opponent-score{align-items:center;gap:4px;margin-left:auto;font-size:15px;font-weight:700;display:flex}.opponent-score svg{width:17px;height:17px}.opponent-inventory{align-items:center;gap:14px;display:flex}.opponent .resources{gap:7px}.opponent .resource{width:26px;height:26px;box-shadow:none;border-width:1px;padding:2px}.opponent .resource b{border-width:1px;min-width:16px;height:16px;font-size:11px;bottom:-2px;right:-4px}.opponent-permanent{color:#698299;align-items:center;gap:7px;font-size:18px;display:flex}.opponent-permanent .resource{border-radius:4px;width:23px;height:25px}.tabletop{overscroll-behavior:contain;flex:1;grid-template-rows:minmax(min-content,1fr) auto;grid-template-columns:minmax(0,1fr) 280px;gap:12px 18px;min-height:0;display:grid;overflow:auto}.economy-row.opponents-3~.tabletop .habitat-grid{width:min(100%,24dvh)}.board-heading{color:#567088;align-items:center;gap:7px;height:24px;margin-bottom:7px;display:flex}.board-heading>svg{width:19px;height:19px}.board-heading h2{letter-spacing:.5px;font-size:13px;font-weight:600}.projects-panel{flex-direction:column;grid-area:1/1;min-width:0;min-height:min-content;display:flex}.projects{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;min-height:min-content;padding:4px 4px 8px;display:grid;position:relative}.expanded-projects .project{min-height:156px}.project{background:#fff;border:2px solid #fff;border-radius:16px;min-height:200px;position:relative;overflow:hidden;box-shadow:0 4px #c2d0de,0 5px 12px #183e5c1c}.project.target-card{border-color:#1b91d3;box-shadow:0 4px #187bb7,0 5px 12px #183e5c1c}.project.can-complete{border-color:#16895f;box-shadow:0 4px #16895f,0 0 0 2px #b2e7cd,0 5px 12px #183e5c1c}.project.can-complete.target-card{box-shadow:0 4px #16895f,0 0 0 3px #1b91d3,0 5px 12px #183e5c1c}.project-legend{align-items:center;gap:10px;font-size:10px;display:flex}.project-legend>span{white-space:nowrap;align-items:center;gap:4px;display:flex}.project-legend>span:before{content:"";background:#16895f;border-radius:50%;width:8px;height:8px}.project-legend>.legend-target:before{background:#1b91d3}.project-goal{z-index:1;color:#087abd;position:absolute;top:10px;left:50%;transform:translate(-50%)}.project-goal svg{width:16px;height:16px;display:block}.project-art{object-fit:cover;object-position:center;width:100%;height:100%;display:block;position:absolute;inset:0}.project:after{content:"";pointer-events:none;background:linear-gradient(#0000,#fffefce8 48%,#fffefc 75%);position:absolute;inset:35% 0 0}.card-score{z-index:1;background:#ffffffef;border-radius:9px;align-items:center;gap:4px;padding:5px 8px;display:flex;position:absolute;top:10px;left:10px;box-shadow:0 2px 8px #132c4b20}.card-score svg{width:24px;height:24px}.card-score b{font-size:26px;line-height:1}.card-bonus{z-index:1;border:2px solid var(--token-color);background:var(--token-bg);border-radius:8px;width:48px;height:56px;padding:4px;position:absolute;top:10px;right:10px;box-shadow:-3px 3px #ffffffb0}.card-bonus svg{width:100%;height:100%}.card-bonus span{background:#fff;border-radius:6px;padding:1px 3px;font-size:19px;line-height:1;position:absolute;bottom:-6px;right:-4px}.project-cost{z-index:1;position:absolute;bottom:16px;left:14px;right:14px}.project-cost .resource{width:46px;height:46px;padding:4px}.project-cost .resource b{font-size:18px}.project-open{z-index:2;border-radius:inherit;background:0 0;width:100%;height:100%;padding:0;position:absolute;inset:0}.project-open:focus-visible{outline-offset:-4px}.sites-panel{grid-area:2/1;min-width:0}.sites{grid-template-columns:repeat(7,minmax(0,1fr));gap:8px;padding:3px 3px 5px;display:grid}.site{background:#fff;border:1px solid #c7d9e7;border-radius:12px;flex-direction:column;justify-content:center;align-items:center;gap:10px;min-height:104px;padding:12px 5px 7px;display:flex;position:relative;box-shadow:0 3px #c5d3e1}.site:not(:disabled):hover{border-color:#168dea;transform:translateY(-2px);box-shadow:0 3px #168dea}.site .resources{gap:6px}.site .resource{width:37px;height:37px;padding:3px}.site .resource b{min-width:21px;height:21px;font-size:15px;bottom:-4px;right:-4px}.site.suggested{background:#f2faff;border-color:#1a8bce}.site.choosing,.site.choosing:disabled{opacity:1;background:#e3f4ff;border:2px solid #087bbd;box-shadow:0 3px #087bbd,0 0 0 3px #b6e1fa}.selection-marker{color:#fff;white-space:nowrap;text-overflow:ellipsis;background:#087bbd;border-radius:5px;max-width:calc(100% + 10px);padding:2px 6px;font-size:10px;font-weight:700;position:absolute;top:-9px;left:50%;overflow:hidden;transform:translate(-50%)}.gather-selection-region{z-index:1100;pointer-events:none;place-items:center;display:grid;position:fixed;inset:0}.gather-selection-popup{color:#143c58;text-align:center;background:#f4fbff;border:1px solid #b9dcf2;border-radius:20px;flex-direction:column;align-items:center;gap:10px;width:min(320px,100vw - 32px);max-height:calc(100dvh - 32px);padding:22px 24px;animation:.18s ease-out turn-toast-in;display:flex;overflow:auto;box-shadow:0 16px 60px #153d5d30,0 0 0 5px #ffffff80}.gather-selection-icon{color:#fff;background:#087bbd;border-radius:50%;place-items:center;width:36px;height:36px;display:grid}.gather-selection-icon svg{width:22px;height:22px}.gather-selection-popup strong{overflow-wrap:anywhere;max-width:100%;font-size:19px}.gather-selection-source{color:#17699e;font-size:13px}.gather-selection-popup .resources{flex-wrap:wrap;justify-content:center;gap:14px;padding:6px 0 10px}.gather-selection-popup .resource{width:42px;height:42px;padding:4px}.gather-selection-popup .resource b{min-width:22px;height:22px;font-size:15px}@media (prefers-reduced-motion:reduce){.gather-selection-popup{animation:none}}.token-motion{z-index:1000;pointer-events:none;position:fixed;inset:0}.flying-token{padding:3px;animation:.65s cubic-bezier(.3,.05,.25,1) both token-delivery;position:absolute;box-shadow:inset 0 0 0 2px #fff,0 5px 12px #16364a40}@keyframes token-delivery{0%{opacity:0;transform:translate(0)scale(1)}12%{opacity:1}45%{transform:translate(calc(var(--flight-x) * .4), calc(var(--flight-y) * .4 - 35px)) scale(1.12)}90%{opacity:1}to{transform:translate(var(--flight-x), var(--flight-y)) scale(.85);opacity:0}}@media (prefers-reduced-motion:reduce){.flying-token{animation-duration:1ms;animation-delay:0s!important}}.site-state{color:#188acb;position:absolute;top:4px;right:4px}.site-state svg{width:14px;height:14px}.unlimited{color:#796092;font-size:22px;line-height:15px}.station-panel{background:#f8fbfd;border:1px solid #d6e0e9;border-radius:14px;flex-direction:column;grid-area:1/2/-1;gap:10px;min-height:0;padding:12px;display:flex}.station-panel .board-heading{flex-shrink:0;margin:0}.station-help{color:#657f95;background:#e5edf4;border-radius:50%;place-items:center;width:26px;height:26px;margin-left:auto;font-size:13px;display:grid}.habitat-grid{background:#e5edf4;border:1px solid #ccd8e4;border-radius:12px;flex-shrink:0;grid-template-columns:repeat(3,minmax(0,1fr));align-self:center;gap:5px;width:min(100%,27dvh);min-width:165px;max-width:210px;padding:6px;display:grid}.tile{aspect-ratio:1;background:#f9fbfd;border:1px solid #c5d3df;border-radius:8px;place-items:center;min-width:0;padding:3px;display:grid;position:relative}.tile>span{color:#93aac0;font-size:26px;line-height:1}.tile.buildable{background:#fff;border-style:dashed;border-color:#7aaacc}.tile.buildable>span{color:#247caf}.tile:disabled.empty{background:#e7edf3;border-color:#0000}.tile.selected{background:#e6f6ff;border:2px solid #168dea;box-shadow:0 0 0 2px #d0edfc}.tile.camp{background:#234965;border-color:#234965}.tile.camp>svg{color:#d5efff;width:32px;height:32px}.tile-art{object-fit:contain;width:100%;height:100%;max-height:58px}.tile.used .tile-art{filter:saturate(.4)}.tile-state{position:absolute;bottom:2px;right:2px}.tile-state svg{color:#657f95;width:18px;height:18px}.chain-order{color:#fff;text-align:center;background:#168dea;border-radius:50%;width:18px;height:18px;font-size:12px;position:absolute;bottom:2px;right:2px}.facility-catalog{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.facility-catalog>button{background:#fff;border:2px solid #d8e1e9;border-radius:9px;flex-direction:column;align-items:center;gap:5px;min-width:0;padding:4px 2px;display:flex}.facility-catalog>button.selected{background:#edf9ff;border-color:#168dea}.facility-art{object-fit:contain;mix-blend-mode:multiply;width:42px;height:42px;display:block}.facility-flow{justify-content:center;align-items:center;gap:2px;height:22px;display:flex}.facility-flow>svg{flex-shrink:0;width:10px;height:10px}.facility-catalog .resources{gap:3px}.facility-catalog .resource{width:14px;height:14px;box-shadow:none;background:0 0;border:0;border-radius:4px;padding:0}.facility-catalog .resource b{border:0;width:10px;min-width:10px;height:10px;font-size:8px;bottom:-4px;right:-3px}.facility-cost{border-top:1px solid #dce5ed;align-items:center;gap:3px;height:20px;padding-top:3px;display:flex}.facility-cost>svg{color:#6e879d;width:12px;height:12px}.facility-catalog .shortage:after{display:none}.action-preview{background:#fff;border:1px solid #d1dfea;border-radius:10px;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;min-height:56px;margin-top:auto;padding:7px;display:flex}.construction-steps{align-items:center;gap:8px;display:flex}.construction-steps img,.selected-facilities img{object-fit:contain;width:35px;height:35px}.construction-steps>svg{color:#758ba0;width:18px;height:18px}.placement-mark{color:#7992a9;border:1px dashed #91a8bc;border-radius:6px;place-items:center;width:30px;height:30px;display:grid}.placement-mark svg{width:23px;height:23px}.placement-mark.chosen{color:#1179b2;background:#d9f3ff;border-style:solid}.execute-button{color:#fff;background:#17699e;border-radius:9px;place-items:center;width:45px;height:42px;display:grid}.execute-button>svg{width:27px;height:27px}.execute-button:disabled{color:#8c9baa;background:#e7edf2}.execute-button:not(:disabled):hover{background:#0b4f7c}.selected-facilities{align-items:center;gap:4px;display:flex}.selected-facilities>svg{color:#7890a5;width:25px;height:25px}.activation-outcome,.invalid-outcome{align-items:center;gap:4px;display:flex}.activation-outcome>svg,.invalid-outcome>svg{width:14px;height:14px}.action-preview .resources{gap:5px}.action-preview .resource{width:23px;height:23px;box-shadow:none;border-width:1px;padding:1px}.action-preview .resource b{border-width:1px;min-width:15px;height:15px;font-size:10px;bottom:-3px;right:-3px}.invalid-outcome{border-radius:5px;outline:1px solid #d16b51}.results{background:#def2e7;flex-shrink:0;align-items:center;gap:12px;margin:0;padding:8px 12px;display:flex}.results h2{font-size:16px}.results .primary{background:#16895f;width:auto;margin-left:auto;padding:8px 14px;font-size:12px}.visual-key{background:#eaf1f6;border-radius:10px;justify-content:space-between;gap:12px;margin-bottom:20px;padding:12px;display:flex}.visual-key>div{justify-items:center;gap:5px;font-size:12px;display:grid}.visual-key svg{width:40px;height:40px}.token-confirm-modal{color:#142d43;text-align:center;background:#f8fbfd;border:1px solid #c7d9e7;border-radius:18px;width:min(380px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:28px 24px 22px;overflow:auto;box-shadow:0 25px 80px #102d2233}.token-confirm-modal::backdrop{background:#182b2366}.token-confirm-modal h2{margin:0;font-size:21px}.token-confirm-modal p{overflow-wrap:anywhere;margin:14px 0;font-size:13px;line-height:1.7}.token-confirm-modal .token-confirm-source{color:#17699e;font-size:15px;font-weight:700}.token-confirm-modal>.resources{justify-content:center;gap:18px;padding:10px 0 16px}.token-confirm-modal .token-confirm-error{color:#a23e2a}.token-confirm-recovery{background:#eaf1f6;border-radius:10px;margin-bottom:16px;padding:10px}.token-confirm-actions{gap:12px;margin-top:22px;display:flex}.token-confirm-actions>button{border-radius:10px;flex:1;min-height:46px;padding:10px 12px;font-size:14px}.token-confirm-actions>.text-button{background:#fff;border:1px solid #c7d9e7}.token-confirm-actions>.primary{justify-content:center;align-items:center;gap:5px;display:flex}.token-confirm-actions>.primary:disabled{color:#596875;box-shadow:none;opacity:1;cursor:not-allowed;background:#e1e7eb;border:1px solid #c2ccd4}.token-confirm-actions svg{width:18px;height:18px}.project-details-modal .section-heading{align-items:flex-start;gap:12px}.project-details-modal h2{text-align:left;font-size:18px}.project-details-modal .section-heading button{flex-shrink:0;min-height:44px;margin-top:-10px}.project-details-art{object-fit:cover;border-radius:10px;width:100%;height:120px;margin-top:14px;display:block}.project-details-reward{flex-wrap:wrap;justify-content:center;align-items:center;gap:14px;margin:14px 0;font-weight:700;display:flex}.project-details-reward>span{align-items:center;gap:5px;display:flex}.project-details-reward svg{width:27px;height:27px}.project-details-modal h3{margin:18px 0 8px;font-size:13px}.project-details-modal>.resources{flex-wrap:wrap;gap:16px}.project-details-modal .resource{width:40px;height:40px;padding:3px}.project-details-modal .resource b{min-width:22px;height:22px;font-size:15px}.token-confirm-actions>.project-target-action{color:#087abd;justify-content:center;align-items:center;gap:5px;display:flex}.rules-modal .section-heading button{flex-shrink:0;min-height:44px;padding:5px 8px}.rules-modal p,.rules-modal ol{font-size:14px;line-height:1.8}@media (width<=1100px) and (width>=721px){.economy-row{flex-direction:column;gap:8px;display:flex}.tabletop{grid-template-columns:minmax(0,1fr) 250px;gap:10px}.table{padding:10px 14px 14px}.resource{width:48px;height:48px}.site .resource{width:32px;height:32px}.site .resources{gap:4px}.facility-art{width:36px;height:36px}.facility-flow{flex-wrap:wrap;height:32px}.opponent-inventory{gap:8px}}@media (width<=720px){.game-shell .topbar{height:44px;min-height:44px;padding:0 12px}.game-shell .brand{font-size:16px}.game-shell .brand-mark{width:25px;height:25px}.game-shell .top-actions{gap:12px}.game-shell .text-button{font-size:11px}.table{padding:6px 10px max(8px, env(safe-area-inset-bottom));gap:7px}.table-status{gap:7px;min-height:28px}.table-status h1{font-size:13px}.end-condition b{font-size:12px}.end-condition small{font-size:10px}.end-condition svg{width:16px;height:16px}.table-menu{gap:8px}.table-menu .text-button{min-height:30px;font-size:10px}.action-dots{gap:3px}.action-dots i{width:8px;height:8px}.clock{gap:3px;min-width:66px;padding:3px 6px 6px}.clock b{font-size:18px}.clock-icon{width:13px;height:13px;margin-right:0}.clock-unit{font-size:10px}.economy-row,.economy-row.opponents-3{display:contents}.economy-row:not(.opponents-3) .opponent{grid-template-rows:17px 23px}.economy-row:not(.opponents-3) .opponent .resource{width:23px;height:23px}.economy-row:not(.opponents-3) .opponent .resource b{min-width:14px;height:14px;font-size:10px}.hand-bar{gap:10px;min-height:70px;padding:8px 9px 9px}.hand-title{display:none}.inventory-spendable .resource{width:43px;height:43px;padding:3px}.inventory-spendable .resources{gap:8px}.inventory-spendable .resource b{min-width:22px;height:22px;font-size:17px}.inventory-permanent{gap:5px;padding-left:9px}.inventory-permanent>span{font-size:19px}.inventory-permanent .resources{gap:5px}.inventory-permanent .resource{border-width:1px;width:22px;height:29px;padding:1px;box-shadow:-2px 2px #d5dfeb}.inventory-permanent .resource.zero{box-shadow:none;background:#f5f8fc;border-style:dashed}.inventory-permanent .resource.zero i{opacity:.55}.inventory-permanent .resource b{border-width:1px;min-width:14px;height:14px;font-size:10px}.hand-score{gap:1px}.hand-score svg{width:21px;height:21px}.hand-score b{font-size:24px}.opponent-strip{gap:6px;padding-bottom:3px;overflow-x:auto}.opponent{flex:1 0 210px;grid-template-rows:17px 23px;gap:4px;padding:5px 8px}.opponent .resource{width:23px;height:23px}.opponent .resource b{min-width:14px;height:14px;font-size:10px}.opponent-permanent .resource{width:18px;height:22px}.opponent-identity strong{font-size:11px}.tabletop{flex-direction:column;gap:15px;padding:0 2px 8px;display:flex;overflow:auto}.tabletop>section{flex-shrink:0}.sites-panel{order:0}.projects-panel{order:1}.station-panel{order:2}.board-heading{height:22px;margin-bottom:4px}.board-heading h2{font-size:12px}.board-heading>svg{width:18px;height:18px}.sites{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;padding-bottom:5px}.site{gap:9px;min-height:89px;padding:10px 4px 7px}.site .resource{width:33px;height:33px;padding:2px}.site .resource b{min-width:19px;height:19px;font-size:14px}.site .resources{gap:5px}.record-button{flex-direction:row;grid-column:1/-1;gap:10px;min-height:44px;padding:5px}.record-button .resource{width:29px;height:29px}.record-button .unlimited{font-size:25px}.projects{flex:none;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px 6px;padding:4px 4px 8px}.project,.expanded-projects .project{border-radius:10px;height:132px;min-height:132px}.project-cost{bottom:12px;left:7px;right:7px}.project-cost .resource{border-width:1px;width:24px;height:24px;padding:1px}.project-cost .resource b{border-width:1px;min-width:16px;height:16px;font-size:11px;bottom:-4px;right:-4px}.project-cost .resources{flex-wrap:wrap;gap:10px 8px}.card-score{gap:2px;padding:3px 4px;top:6px;left:6px}.card-score svg{width:15px;height:15px}.card-score b{font-size:18px}.card-bonus{width:27px;height:32px;padding:1px;top:6px;right:6px}.card-bonus span{font-size:13px}.project-goal{top:8px}.station-panel{gap:10px;min-height:400px;padding:12px}.habitat-grid{width:190px;min-width:0}.facility-catalog{gap:7px}.facility-art{width:48px;height:48px}.facility-catalog .resource{width:18px;height:18px}.facility-catalog .resource b{width:12px;min-width:12px;height:12px;font-size:9px}.facility-catalog .facility-flow{height:26px}.facility-catalog .facility-cost{height:24px}.action-preview{min-height:56px;margin-top:0}.action-preview .resource{width:29px;height:29px;padding:2px}.action-preview .resource b{min-width:17px;height:17px;font-size:12px}.results h2{font-size:13px}.results .primary{padding:8px;font-size:11px}}@media (width<=360px){.inventory-spendable .resource{width:37px;height:37px}.inventory-spendable .resources{gap:7px}.inventory-permanent{gap:4px;padding-left:6px}.hand-bar{gap:7px;padding-left:7px;padding-right:7px}.inventory-permanent>span{font-size:17px}.inventory-permanent .resource{width:19px;height:25px}.hand-score svg{width:18px;height:18px}.hand-score b{font-size:21px}.site .resource{width:29px;height:29px}.site .resource b{font-size:13px}.facility-catalog .resource{width:15px;height:15px}}.tabletop:has(.shared-station){grid-template-columns:minmax(0,1fr) 340px}.tabletop:has(.shared-station) .sites{grid-template-columns:repeat(5,minmax(0,1fr))}.tabletop:has(.shared-station) .site{gap:6px;min-height:78px;padding-top:8px}.economy-row.opponents-2{flex-direction:column;gap:8px;display:flex}.hand-bar{flex-wrap:wrap;gap:12px}.inventory-spendable .resource{width:50px;height:50px}.inventory-spendable .resource b{min-width:25px;height:25px;font-size:19px}.inventory-permanent{gap:7px;min-height:38px;padding-left:12px}.inventory-permanent .resource{width:30px;height:36px}.inventory-permanent .resources{gap:8px}.opponent-inventory{flex-wrap:wrap}.opponent{grid-template-rows:auto auto!important}.land-count{white-space:nowrap;margin-left:auto;font-size:11px}.shared-station .station-help{margin-left:0}.land-hint{color:#567088;margin:0;font-size:11px}.shared-land-grid{flex-shrink:0;gap:6px;display:grid}.shared-plot{background:#fff;border:1px dashed #8db0c4;border-radius:9px;flex-direction:column;justify-content:center;align-items:center;gap:5px;min-width:0;min-height:83px;padding:7px 4px;display:flex;position:relative}.shared-plot.empty>span{color:#2581af;font-size:28px;line-height:1}.shared-plot.occupied{isolation:isolate;border-style:solid;border-color:var(--owner-color);color:#fff;background:#20352b;border-top-width:4px;min-height:100px;overflow:hidden}.shared-plot .facility-backdrop{opacity:1}.shared-plot .facility-backdrop:after{content:"";background:linear-gradient(#14251f55,#14251fe6);position:absolute;inset:0}.shared-plot .plot-owner{text-shadow:0 1px 3px #000}.plot-owner{white-space:nowrap;text-overflow:ellipsis;align-items:center;gap:3px;max-width:100%;font-size:10px;display:flex;overflow:hidden}.shared-plot .resource{width:20px;height:20px;box-shadow:none;border-width:1px;padding:0}.shared-plot .resource b{border-width:1px;min-width:13px;height:13px;font-size:9px;bottom:-3px;right:-3px}.shared-plot .production-values{flex-wrap:wrap;max-width:100%}.shared-plot .resources{flex-wrap:wrap;justify-content:center;gap:8px;min-width:0;max-width:100%;padding:0 3px 3px 0}.shared-station .facility-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}.shared-station .facility-catalog>button{gap:6px;padding:6px 3px}.shared-station .facility-cost{gap:6px;height:25px}.shared-station .facility-catalog .resource{width:20px;height:20px}.shared-station .facility-catalog .resource b{min-width:12px;height:12px;font-size:10px}.visual-key{flex-wrap:wrap}@media (width<=1100px) and (width>=721px){.tabletop:has(.shared-station){grid-template-columns:minmax(0,1fr) 310px}.project-cost .resource{width:34px;height:34px}.project-cost .resources{gap:8px}}@media (width<=720px){.economy-row.opponents-2{display:contents}.hand-bar{gap:9px;padding:8px}.inventory-spendable .resource{width:38px;height:38px;padding:3px}.inventory-spendable .resources{gap:7px}.inventory-spendable .resource b{min-width:20px;height:20px;font-size:15px}.inventory-permanent{gap:5px;padding-left:6px}.inventory-permanent .resource{width:21px;height:27px}.inventory-permanent .resources{gap:5px}.tabletop:has(.shared-station){display:flex}.tabletop:has(.shared-station) .sites{grid-template-columns:repeat(3,minmax(0,1fr))}.tabletop:has(.shared-station) .site{min-height:76px}.tabletop:has(.shared-station) .record-button{min-height:40px}.shared-station{padding:10px}.shared-station .facility-catalog .resource{width:23px;height:23px}.shared-plot{min-height:90px}.opponent{flex-basis:245px}}.shared-station{gap:7px;overflow-y:auto}.shared-station>*{flex-shrink:0}.shared-station .facility-catalog>button{grid-template-columns:34px minmax(0,1fr);gap:5px;padding:7px 5px;display:grid}.shared-station .facility-art{grid-area:1/1;width:34px;height:34px}.shared-station .facility-flow{grid-area:1/2;align-self:center;gap:4px}.shared-station .facility-cost{grid-column:1/-1;justify-content:center}.facility-catalog>button.can-build{background:#edf9f1;border-color:#16895f;box-shadow:0 0 0 1px #b2e7cd}.facility-catalog>button.target-card{background:#edf9ff;border-color:#1b91d3}.facility-catalog>button.can-build.target-card{outline-offset:2px;border-color:#16895f;outline:2px solid #1b91d3}.facility-goal{color:#087abd;pointer-events:none;background:#edf9ff;border-radius:50%;place-items:center;width:20px;height:20px;display:grid;position:absolute;top:4px;right:4px}.facility-goal svg{width:16px;height:16px}.facility-catalog>button.can-build.selected{outline-offset:2px;outline:2px solid #168dea}@media (width<=720px){.shared-station{overflow:visible}}@media (width>=721px){.shared-plot{gap:4px;min-height:60px;padding:6px}.shared-station .facility-catalog>button{gap:3px;padding:4px}.shared-station .facility-flow{height:18px}.shared-station .facility-cost{height:20px}}.sound-settings-trigger{white-space:nowrap}.sound-settings-trigger span{margin:0 4px 0 0;font-size:15px}.sound-settings{color:#263e32;background:#f8f8f1;border:1px solid #cad6c5;border-radius:18px;width:min(420px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:22px 26px 24px;overflow:auto;box-shadow:0 25px 80px #102d2233}.sound-settings::backdrop{background:#182b2366}.sound-settings .section-heading button{min-height:44px;padding:8px}.sound-description{color:#647461;margin:8px 0 20px;font-size:13px}.sound-mute{cursor:pointer;background:#e7ebdf;border-radius:10px;justify-content:space-between;align-items:center;min-height:48px;padding:8px 12px;font-weight:600;display:flex}.sound-mute input{accent-color:#284d3a;cursor:pointer;width:20px;height:20px}.sound-volume{margin:24px 0}.sound-volume>div{justify-content:space-between;align-items:center;font-weight:600;display:flex}.sound-volume output{font-variant-numeric:tabular-nums;font-size:13px}.sound-volume input{accent-color:#284d3a;cursor:pointer;width:100%;min-height:36px;margin:6px 0 0}.sound-volume small{color:#647461}.sound-note{color:#647461;margin-top:12px;font-size:12px;line-height:1.7}@media (width<=720px){.top-actions,.game-shell .top-actions{gap:9px}.top-actions .text-button{white-space:nowrap;font-size:11px}.top-actions .text-button span{margin-left:3px}.top-actions .sound-settings-trigger span{margin:0 3px 0 0}.brand{flex-shrink:0}.sound-settings{padding:18px 22px 22px}}.room-help{color:#5a6752;margin:10px 0;font-size:13px;line-height:1.6}.public-room-list{background:#fafbf6;border:1px solid #d6ddcd;border-radius:16px;grid-column:1/-1;min-width:0;padding:24px}.public-room-list ul{margin:18px 0 0;padding:0;list-style:none}.public-room-list li{border-top:1px solid #d6ddcd;justify-content:space-between;align-items:center;gap:16px;padding:16px 0;display:flex}.public-room-list li>div{flex:1;min-width:0}.public-room-list h3{overflow-wrap:anywhere;word-break:keep-all;font-size:16px}.public-room-list h3 small{color:#68725f;white-space:nowrap;margin-left:6px;font-size:12px;font-weight:400;display:inline-block}.public-room-list li p{color:#5a6752;margin:6px 0 0;font-size:13px}.public-room-list li button{white-space:nowrap;flex:none;width:auto;min-height:44px}.list-error{color:#a3342d}@media (width<=720px){.public-room-list{padding:18px}}.site.card-taking{z-index:2;pointer-events:none;animation:.32s ease-in both gather-card-take}.site.card-empty{visibility:hidden;pointer-events:none}.site.card-entering{pointer-events:none;animation:.36s cubic-bezier(.2,.8,.3,1) both gather-card-deal}@keyframes gather-card-take{0%{opacity:1;transform:translateY(0)rotate(0)scale(1)}to{opacity:0;transform:translateY(-65px)rotate(-8deg)scale(.78)}}@keyframes gather-card-deal{0%{opacity:0;transform:translateY(35px)rotate(5deg)scale(.88)}70%{opacity:1;transform:translateY(-3px)rotate(0)scale(1.02)}to{opacity:1;transform:translateY(0)rotate(0)scale(1)}}@media (prefers-reduced-motion:reduce){.site.card-taking,.site.card-entering{animation:none}}.build-confirm-art{object-fit:contain;width:96px;height:82px;margin:20px auto 16px;display:block}.build-confirm-cost,.build-confirm-production{justify-content:center;align-items:center;gap:12px;display:flex}.build-confirm-cost>svg,.build-confirm-production>svg{color:#567088;flex-shrink:0;width:20px;height:20px}.build-confirm-production{margin-top:18px}.build-confirm-modal .build-confirm-production .resource{width:32px;height:32px;padding:2px}.build-confirm-modal .build-confirm-production .resource b{min-width:18px;height:18px;font-size:12px}.build-confirm-blocked,.project-details-blocked{color:#854329;background:#fff0e7;border:1px solid #d8b6a4;border-radius:8px;padding:10px 12px;font-size:13px;font-weight:700}.resource-shortage{flex-wrap:wrap;align-items:center;gap:12px;display:flex}.resource-shortage>span{flex-shrink:0;font-size:13px;font-weight:700}.resource-shortage .resources{flex-wrap:wrap;gap:14px;padding:4px 5px 8px 4px}.resource-shortage .resource{width:32px;height:32px;padding:2px}.resource-shortage .resource b{min-width:20px;height:20px;font-size:13px}.action-preview:has(>.resource-shortage){flex-wrap:wrap}.action-preview>.resource-shortage{flex-basis:100%}.takeover-plots{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0;display:grid}.takeover-plots>button{min-width:0;color:inherit;background:#f2f8f4;border:2px solid #67a78c;border-radius:9px;flex-direction:column;align-items:center;gap:4px;padding:8px;display:flex;position:relative}.takeover-plots img{object-fit:contain;width:64px;max-width:100%;height:48px}.takeover-plots span{text-overflow:ellipsis;white-space:nowrap;max-width:100%;font-size:12px;overflow:hidden}.takeover-plots>button:disabled{filter:grayscale();opacity:.45;border-color:#b5c0b8}.takeover-plots>button.selected{border-color:#2581af;box-shadow:0 0 0 2px #2581af33}.takeover-plots>button>svg{color:#2581af;width:18px;height:18px;position:absolute;top:5px;right:5px}.tabletop:has(.shared-station) .sites.varied-sites{grid-template-columns:repeat(3,minmax(0,1fr))}.varied-sites .site{container-type:inline-size}.varied-sites .site .resources{flex-wrap:nowrap;justify-content:center;gap:6px;width:100%;max-width:100%;padding:0 4px 4px}.varied-sites .site .resources:has(>.resource:nth-child(3)) .resource{aspect-ratio:1;width:min(37px,33.3333cqi - 6.66667px);height:auto;padding:2px}.varied-sites .site .resources:has(>.resource:nth-child(3)) .resource b{min-width:clamp(14px,18cqi,21px);height:clamp(14px,18cqi,21px);font-size:clamp(11px,14cqi,15px)}.rules-guide-modal{width:min(860px,100%);max-width:860px}.rules-guide-modal .rule-win{margin-top:0}.rule-resource-key{border-block:1px solid #d8e1ce;justify-content:space-around;gap:12px;margin:22px 0;padding:18px 8px;display:flex}.rule-resource-key>div{justify-items:center;gap:9px;font-size:12px;display:grid}.rule-resource-key .resource{width:42px;height:42px}.rule-illustrations h3,.rule-details-title{margin:26px 0 8px;font-size:18px}.rule-illustrations h4{margin:28px 0 14px;font-size:14px}.rule-card-figure{min-width:0;margin:0}.rule-card-figure figcaption{overflow-wrap:anywhere;margin-top:10px;font-size:12px;line-height:1.7}.rule-gather-examples{grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;display:grid}.rule-record>span{color:#61765b;font-size:12px}.rule-picture-reading{grid-template-columns:210px minmax(0,1fr);align-items:center;gap:28px;display:grid}.rule-illustrations .rule-project{height:210px;min-height:210px}.rule-project .project-cost{bottom:18px;left:12px;right:12px}.rule-project .project-cost .resources{flex-wrap:wrap;gap:8px}.rule-project .project-cost .resource{width:32px;height:32px}.rule-project .project-cost .resource b{min-width:19px;height:19px;font-size:14px}.rule-project .card-score svg{width:22px;height:22px}.rule-project .card-score b{font-size:25px}.rule-project .card-bonus{width:40px;height:46px}.rule-card-key{gap:18px;margin:0;display:grid}.rule-card-key dt{align-items:center;gap:7px;font-size:13px;font-weight:700;display:flex}.rule-card-key dt svg{flex-shrink:0;width:23px;height:23px}.rule-card-key dd{color:#56694f;margin:5px 0 0;font-size:13px;line-height:1.75}.rule-example-flow{background:#e6ecdc;border-radius:12px;grid-template-columns:minmax(0,1fr) 20px minmax(0,1fr) 20px minmax(0,1fr);align-items:center;gap:10px;margin-top:24px;padding:16px;display:grid}.rule-example-flow>div{text-align:center;justify-items:center;gap:13px;font-size:12px;display:grid}.rule-example-flow strong{font-size:12px}.rule-example-flow>svg{width:20px;height:20px}.rule-example-flow .resource{width:32px;height:32px}.rule-example-reward{align-items:center;gap:5px;display:flex}.rule-example-reward svg{width:25px;height:25px}.rule-catalog{background:#fafbf6;border:1px solid #d5dec9;border-radius:12px;margin-top:20px;padding:14px}.rule-catalog summary{cursor:pointer;padding:4px 0;font-size:13px;font-weight:600}.rule-catalog summary:focus-visible{outline-offset:3px;outline:3px solid #c6884d}.rule-catalog[open] summary{margin-bottom:18px}.rule-project-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px 16px;display:grid}.rule-facility-catalog{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;display:grid}.rule-facility-figure{background:#fff;border:1px solid #d6dfce;border-radius:12px;flex-direction:column;align-items:center;min-width:0;margin:0;padding:16px 12px;display:flex}.rule-facility-figure .facility-art{width:76px;height:76px}.rule-facility-figure figcaption{margin:8px 0 14px;font-size:13px;font-weight:700}.rule-facility-row{justify-items:center;gap:10px;width:100%;margin-bottom:14px;display:grid}.rule-facility-row>span{color:#5b7059;align-items:center;gap:5px;font-size:11px;display:flex}.rule-facility-row>span svg{width:17px;height:17px}.rule-facility-row .resources{gap:8px}.rule-facility-row .resource{width:28px;height:28px}.rule-facility-row .resource b{min-width:17px;height:17px;font-size:12px}.rule-facility-figure p{color:#5b7059;text-align:center;margin:auto 0 0;font-size:11px}.rule-land-reading{margin-top:20px}.rule-land-example{grid-template-columns:repeat(2,minmax(0,1fr))}.rule-land-example .shared-plot{min-height:100px}.rule-land-example .plot-owner{font-size:12px}.rule-land-example .resource{width:25px;height:25px}@media (width<=720px){.rules-guide-modal{padding:20px 16px}.rule-gather-examples,.rule-project-catalog,.rule-facility-catalog{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 12px}.rule-picture-reading{grid-template-columns:1fr;gap:20px}.rule-picture-reading>.rule-card-figure{width:210px;margin-inline:auto}.rule-example-flow{grid-template-columns:1fr;gap:14px}.rule-example-flow>svg{margin-inline:auto;transform:rotate(90deg)}.rule-resource-key{gap:8px;padding-inline:0}.rule-resource-key .resource{width:34px;height:34px}.rule-project-catalog .rule-project{height:180px;min-height:180px}.rule-project-catalog .project-cost{left:8px;right:8px}.rule-project-catalog .project-cost .resources{gap:7px}.rule-project-catalog .project-cost .resource{width:25px;height:25px}.rule-land-example{width:210px;margin-inline:auto}}.tabletop:has(.shared-station) .varied-sites .record-button{flex-direction:row;grid-column:1/-1;min-height:40px;padding:5px}.varied-sites .record-button .resource{width:29px;height:29px}.tabletop.compact-market{grid-template-rows:auto auto;align-content:start}.compact-market .sites-panel .board-heading{height:32px}.compact-market .board-heading .site.record-button{border-radius:7px;flex-direction:row;gap:5px;min-width:66px;height:30px;min-height:30px;margin-left:auto;padding:3px 8px}.compact-market .board-heading .record-button .resource{width:23px;height:23px;padding:1px}.compact-market .board-heading .record-button .resource b{min-width:15px;height:15px;font-size:11px}.compact-market .board-heading .record-button .unlimited{font-size:20px}.tabletop:has(.shared-station) .sites.six-gathering .record-button{flex-direction:column;grid-column:auto;gap:6px;min-height:78px;padding:8px 5px 7px}.six-gathering .record-button .resource{width:37px;height:37px}@media (width<=720px){.six-gathering .record-button .resource{width:33px;height:33px}}@media (width<=390px){.six-gathering .record-button .resource{width:29px;height:29px}}.tiered-projects{grid-template-rows:repeat(3,auto)}.shared-station .facility-catalog>button{isolation:isolate;flex-direction:column;justify-content:flex-start;gap:5px;min-height:88px;padding:7px 5px 6px;display:flex;position:relative;overflow:hidden}.facility-backdrop{z-index:-1;opacity:.12;pointer-events:none;background-position:50%;background-repeat:no-repeat;background-size:cover;position:absolute;inset:0}.shared-station .facility-flow{justify-content:center;align-items:center;gap:5px;width:100%;height:auto;min-height:40px;display:flex}.facility-time{color:#254f6a;background:#f5fbff;border:1px solid #8eafc1;border-radius:50%;flex-shrink:0;place-items:center;width:26px;height:26px;display:grid}.facility-time>svg{width:21px;height:21px}.shared-station .facility-catalog .resources{justify-content:center;align-items:center;gap:8px;min-width:0;display:flex}.shared-station .facility-catalog .resource{border:1px solid var(--token-color);background:radial-gradient(circle at 35% 22%, var(--token-glow), var(--token-bg));width:24px;height:24px;box-shadow:inset 0 0 0 1px var(--token-bg);border-radius:50%;padding:2px;display:block}.shared-station .facility-catalog .resource i{width:100%;height:100%}.shared-station .facility-catalog .resource b{border:1px solid var(--token-color);border-radius:50%;width:auto;min-width:14px;height:14px;padding:0 2px;font-size:10px;line-height:1;position:absolute;bottom:-4px;right:-4px}.shared-station .facility-cost{border-top:1px solid #a9bfca;flex-direction:column;align-items:center;gap:4px;width:100%;height:auto;margin-top:auto;padding-top:6px;display:flex}.shared-station .facility-cost .purchase-tokens{width:100%}.shared-station .facility-cost .resources{flex-wrap:wrap;justify-content:center;gap:5px;padding:0 4px 4px 0;display:flex}.shared-station .facility-cost .resource{width:22px;height:22px}@media (width<=390px){.shared-station .facility-catalog>button{padding-inline:4px}.shared-station .facility-flow{gap:4px}}@media (width>=721px){.table{gap:6px;padding-block:8px 12px}.economy-row{grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px}.hand-bar{border-radius:10px;gap:10px;min-height:60px;padding:7px 12px}.hand-title{min-width:0;max-width:100px}.hand-title strong{font-size:12px}.inventory-spendable .resources{gap:8px}.inventory-spendable .resource{width:36px;height:36px;padding:3px}.inventory-spendable .resource b{border-width:1px;min-width:21px;height:21px;font-size:15px}.inventory-permanent{gap:6px;min-height:30px;padding-left:10px}.inventory-permanent>span{font-size:22px}.inventory-permanent .resource{border-width:1px;width:24px;height:29px;padding:2px}.inventory-permanent .resource b{border-width:1px;min-width:16px;height:16px;font-size:11px}.hand-score{gap:4px}.hand-score svg{width:24px;height:24px}.hand-score b{font-size:25px}.opponent{gap:3px;padding:5px 8px;position:relative}.opponent-identity{line-height:1.2}.opponent-inventory{gap:10px}.economy-row .opponent .opponent-inventory .resource{width:24px;height:24px}.economy-row .opponent .opponent-inventory .resource b{min-width:15px;height:15px;font-size:10px}.tabletop:has(.tiered-projects){grid-template-rows:minmax(min-content,max-content) auto;align-content:start;gap:8px 14px}.tiered-projects{flex:none;grid-template-rows:repeat(3,112px);gap:10px;padding-bottom:3px}.tiered-projects .project{border-radius:12px;min-height:112px}.tiered-projects .card-score{padding:4px 6px;top:7px;left:7px}.tiered-projects .card-score svg{width:20px;height:20px}.tiered-projects .card-score b{font-size:22px}.tiered-projects .card-bonus{width:36px;height:42px;top:7px;right:7px}.tiered-projects .card-bonus span{font-size:16px}.tiered-projects .project-cost{bottom:14px;left:10px;right:10px}.tiered-projects .project-cost .resources{gap:10px}.tiered-projects .project-cost .resource{width:32px;height:32px;padding:2px}.tiered-projects .project-cost .resource b{min-width:20px;height:20px;font-size:14px}.shared-station .facility-catalog>button{min-height:84px;padding:6px 5px}}@media (width>=1101px){.tabletop:has(.tiered-projects) .sites.varied-sites{grid-template-columns:repeat(6,minmax(0,1fr))}.tabletop:has(.tiered-projects) .sites.six-gathering .record-button{flex-direction:row}}@media (width>=721px) and (height<=740px){.tabletop:has(.tiered-projects) .site{min-height:64px}.tabletop:has(.tiered-projects) .sites.six-gathering .record-button{min-height:64px}.tiered-projects{grid-template-rows:repeat(3,104px)}.tiered-projects .project{min-height:104px}.tiered-projects .project-cost{bottom:12px}.tiered-projects .project-cost .resource{width:28px;height:28px}}.economy-row.player-summary{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;gap:8px;display:grid}.player-summary .hand-bar{width:100%;min-width:0;min-height:80px;box-shadow:none;border-radius:10px;grid-template-rows:22px 1fr;grid-template-columns:minmax(0,1fr) auto;align-self:stretch;align-items:start;gap:8px 12px;padding:9px 12px 12px;display:grid}.player-summary .hand-bar.current{box-shadow:inset 3px 0 var(--seat-color)}.player-summary .hand-title{align-self:center;align-items:center;gap:6px;min-width:0;max-width:none;display:flex}.player-summary .hand-title strong{text-overflow:ellipsis;white-space:nowrap;font-size:12px;line-height:18px;overflow:hidden}.player-summary .hand-score{align-self:center;gap:4px;margin:0}.player-summary .hand-score svg{width:20px;height:20px}.player-summary .hand-score b{font-variant-numeric:tabular-nums;font-size:22px;line-height:1}.player-inventory{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:10px 14px;min-width:0;display:flex}.player-summary .inventory-spendable{padding:0 4px 4px 0}.player-summary .inventory-spendable .resources{gap:8px}.player-summary .inventory-spendable .resource{width:30px;height:30px;padding:3px}.player-summary .inventory-spendable .resource b{border-width:1px;min-width:19px;height:19px;font-size:14px;bottom:-4px;right:-4px}.player-summary .inventory-permanent{gap:8px;min-width:0;min-height:28px;padding:0 4px 4px 10px}.player-summary .inventory-permanent:has(.resources:empty){display:none}.player-summary .inventory-permanent>span{font-size:20px;line-height:1}.player-summary .inventory-permanent .resources{flex-wrap:wrap;gap:8px}.player-summary .inventory-permanent .resource{border-width:1px;width:22px;height:26px;padding:2px}.player-summary .inventory-permanent .resource b{border-width:1px;min-width:16px;height:16px;font-size:11px}@media (width>=1101px){.player-summary.opponents-2{grid-template-columns:repeat(3,minmax(0,1fr))}.player-summary.opponents-3{grid-template-columns:repeat(4,minmax(0,1fr))}}@media (width<=720px){.player-summary .hand-bar{gap:6px 8px;min-height:74px;padding:8px 8px 10px}.player-summary .inventory-spendable .resources{gap:6px}.player-summary .inventory-spendable .resource{width:23px;height:23px;padding:2px}.player-summary .inventory-spendable .resource b{min-width:16px;height:16px;font-size:11px;bottom:-4px;right:-4px}.player-summary .inventory-permanent{border-left:0;padding-left:0}.player-summary .inventory-permanent .resource{width:20px;height:23px}.player-summary .hand-score b{font-size:20px}}@media (width<=359px){.economy-row.player-summary{grid-template-columns:minmax(0,1fr)}}@media (width>=721px) and (width<=960px){.tabletop:has(.tiered-projects){flex-direction:column;display:flex}.tabletop:has(.tiered-projects)>section{flex-shrink:0}.tiered-projects{flex:none}.tabletop:has(.tiered-projects) .station-panel{overflow:visible}}.purchase-tokens.compact{flex-direction:column;gap:4px;width:100%;display:flex}.purchase-zero{font-size:13px;font-weight:700;line-height:24px}.project-cost .purchase-zero{color:#142d43;background:#f8fbfdec;border-radius:4px;width:fit-content;padding:0 6px}.facility-catalog .facility-cost{height:auto;min-height:36px}.purchase-tokens.detailed{text-align:left;flex-direction:column;gap:14px;margin:18px 0;display:flex}.purchase-row{flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;font-size:13px;display:flex}.purchase-row>:first-child{flex-shrink:0}.purchase-row .resources{flex-wrap:wrap;justify-content:flex-end;gap:12px;padding:0 4px 5px}.purchase-row .resource{width:30px;height:30px;padding:2px}.purchase-row .resource b{min-width:18px;height:18px;font-size:12px}.purchase-payment{border-top:1px solid #8a9d9b66;padding-top:14px}.card-bonus span{white-space:nowrap;font-size:12px;font-weight:700}.tiered-projects .card-bonus span{font-size:11px}.production-info{flex-direction:column;align-items:center;gap:6px;display:flex}.production-values{justify-content:center;align-items:center;gap:8px;display:flex}.production-values>svg{flex-shrink:0;width:16px;height:16px}.production-values>strong{font-size:13px}.production-info.compact{gap:4px;width:100%}.token-confirm-modal .production-info{margin-top:18px}.token-confirm-modal .production-info .resource{width:32px;height:32px;padding:2px}.token-confirm-modal .production-info .resource b{min-width:19px;height:19px;font-size:13px}@media (prefers-color-scheme:dark){:root{--dark-page:#141c18;--dark-panel:#1d2922;--dark-raised:#29392f;--dark-border:#405447;--dark-text:#e0e9df;--dark-muted:#adbdac;--dark-accent:#a1d3a7;--dark-blue:#8ecbf1;--dark-error:#f0ad98;color:var(--dark-text);background:var(--dark-page)}body{background-image:radial-gradient(#a2b49a0c .7px,#0000 .7px)}.topbar,footer,.lobby-panel,.saved button,.lobby-resource-key,.lobby-guide-footer,.public-room-list li,.rule-resource-key{border-color:var(--dark-border)}.lobby-guide,.mode-box,.public-room-list,.rules-modal,.sound-settings,.token-confirm-modal,.game-results,.rule-catalog,.rule-facility-figure{background:var(--dark-panel);color:var(--dark-text);border-color:var(--dark-border)}.identity,.eyebrow,.muted,.panel-note,.lede,.game-facts,.section-heading>small,.section-heading>span,footer,.name-label,.select-label,.room-help,.public-room-list li p,.public-room-list h3 small,.lobby-resource-key>div,.lobby-guide-win p,.lobby-guide-limit p,.lobby-guide-scoring p,.lobby-guide-choice,.lobby-guide-steps p,.lobby-guide-turns,.lobby-guide-footer p,.sound-description,.sound-volume small,.sound-note,.rule-card-key dd,.rule-record>span,.rule-facility-row>span,.rule-facility-figure p,.game-results-label,.game-results>p:not(.game-results-label):not(.token-confirm-error),.results p:not(.eyebrow),.inventory-limit{color:var(--dark-muted)}.lobby-guide-steps>li>svg,.lobby-guide-footer strong,.lobby-guide-footer .text-button,.game-results h2>small{color:var(--dark-accent)}select,.name-label input{background:var(--dark-page);color:var(--dark-text);border-color:var(--dark-border)}input::placeholder{color:var(--dark-muted);opacity:1}.primary{color:#f5faf3;background:#397451}.secondary{color:var(--dark-text);background:#304936}.segmented,.lobby-guide-win,.lobby-guide-limit,.lobby-guide-turns,.rule-score,.rule-example-flow,.sound-mute,.results,.game-results-scores li{background:var(--dark-raised)}.segmented .active{background:#425b47;box-shadow:0 2px 6px #0003}.sound-mute input,.sound-volume input{accent-color:var(--dark-accent)}.message{color:var(--dark-text);background:#2b4432}.message.error{color:var(--dark-error);background:#482d25}.list-error,.token-confirm-modal .token-confirm-error{color:var(--dark-error)}.build-confirm-blocked,.project-details-blocked{color:#f0bc9c;background:#3a2d25;border-color:#88614e}.takeover-plots>button{background:var(--dark-raised);border-color:#6eb48b}.takeover-plots>button.selected{border-color:var(--dark-blue)}.modal-backdrop,.sound-settings::backdrop,.token-confirm-modal::backdrop,.game-results::backdrop{background:#060e0ac4}.rules-modal,.sound-settings,.token-confirm-modal,.game-results{box-shadow:0 25px 80px #0005}.game-shell{background:var(--dark-page);color:var(--dark-text)}.game-shell .topbar,.hand-bar,.opponent,.opponent.current,.station-panel,.shared-plot,.facility-catalog>button,.action-preview,.site,.tile,.tile.buildable{background:var(--dark-panel);border-color:var(--dark-border)}.opponent{border-left-color:var(--seat-color)}.opponent.current{border-color:var(--seat-color);background:var(--dark-raised)}.shared-plot.occupied{border-color:var(--owner-color);background:#20352b}.game-shell .text-button,.end-condition,.board-heading,.opponent-permanent,.inventory-permanent>span,.land-hint,.build-confirm-cost>svg,.build-confirm-production>svg,.facility-cost>svg,.construction-steps>svg,.selected-facilities>svg{color:var(--dark-muted)}.my-turn h1,.token-confirm-modal .token-confirm-source,.gather-selection-source,.shared-plot.empty>span,.tile.buildable>span,.site-state{color:var(--dark-blue)}.inventory-permanent,.facility-cost,.shared-station .facility-cost{border-color:var(--dark-border)}.clock,.facility-time{background:var(--dark-panel);border-color:var(--dark-border);color:var(--dark-blue)}.clock-track,.action-dots i{background:var(--dark-raised);border-color:var(--dark-border)}.action-dots .remaining{background:#168dea;border-color:#70bce9}.clock.urgent{color:var(--dark-error);background:#482d25;border-color:#aa6856}.clock.urgent .clock-track{background:#633b2f}.clock.urgent .clock-track>span{background:#e78d73}.visual-key,.habitat-grid,.station-help,.token-confirm-recovery,.tile:disabled.empty{background:var(--dark-raised);border-color:var(--dark-border);color:var(--dark-muted)}.site{box-shadow:0 3px #0c1510}.site.suggested,.facility-catalog>button.selected,.tile.selected,.placement-mark.chosen{color:var(--dark-blue);background:#233f4c;border-color:#6cb9e7}.site.choosing,.site.choosing:disabled{background:#233f4c;border-color:#6cb9e7;box-shadow:0 3px #168dea,0 0 0 3px #325e73}.facility-catalog>button.target-card{background:#233f4c;border-color:#6cb9e7}.facility-goal{color:var(--dark-blue);background:#233f4c}.facility-catalog>button.can-build{background:#253e30;border-color:#6eb48b;box-shadow:0 0 0 1px #41634c}.facility-catalog>button.can-build.target-card{border-color:#6eb48b;outline-color:#6cb9e7}.facility-catalog>button.can-build.selected{outline-color:#6cb9e7}.facility-art,.tile-art{mix-blend-mode:normal}.project{background:var(--dark-panel);border-color:var(--dark-border);box-shadow:0 4px #0c1510,0 5px 12px #0003}.project-art{filter:brightness(.8)}.project:after{background:linear-gradient(transparent, #1d2922e8 48%, var(--dark-panel) 75%)}.project.target-card{border-color:#6cb9e7;box-shadow:0 4px #187bb7,0 5px 12px #0003}.project.can-complete{border-color:#6eb48b;box-shadow:0 4px #16895f,0 0 0 2px #41634c,0 5px 12px #0003}.project.can-complete.target-card{box-shadow:0 4px #16895f,0 0 0 3px #6cb9e7,0 5px 12px #0003}.project-goal,.token-confirm-actions>.project-target-action{color:var(--dark-blue)}.card-score{background:#1d2922ef}.card-bonus{box-shadow:-3px 3px #0c1510b0}.card-bonus span{background:var(--dark-panel)}.execute-button:disabled{background:var(--dark-raised);color:var(--dark-muted)}.turn-toast,.gather-selection-popup{background:var(--dark-panel);color:var(--dark-text);border-color:#50778a;box-shadow:0 16px 60px #0005,0 0 0 5px #325e7380}.token-confirm-actions>.text-button{background:var(--dark-raised);border-color:var(--dark-border)}.token-confirm-actions>.primary:disabled{background:var(--dark-raised);border-color:var(--dark-border);color:var(--dark-muted)}.game-results-scores li.winner{background:#304936;box-shadow:inset 0 0 0 1px #608969}.resource{box-shadow:inset 0 0 0 2px var(--token-bg), 0 3px 0 #0c1510}.resource b{background:var(--dark-panel);color:var(--dark-text)}.resource.shortage b{color:var(--dark-error);border-color:#d88c73}.inventory-permanent .resource{box-shadow:-3px 3px #405447,-6px 6px #29392f}.inventory-permanent .resource.zero{background:var(--dark-page)}.inventory-permanent .resource.zero i{opacity:.75}}.sr-only{clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important;width:1px!important;height:1px!important;margin:-1px!important;padding:0!important;position:absolute!important;overflow:hidden!important}.icon-button{justify-content:center;align-items:center;gap:6px;min-width:44px;min-height:44px;padding:8px;display:inline-flex}.icon-button svg{flex-shrink:0;width:24px;height:24px}.game-shell .top-actions{gap:8px}.game-shell .icon-button{min-width:44px;min-height:44px}.game-shell .brand{justify-content:center;min-width:44px;min-height:44px}.game-shell .table-status{gap:10px;min-height:44px}.turn-seat{align-items:center;gap:6px;display:flex}.turn-seat>svg{width:24px;height:24px}.turn-seat .seat-marker{width:24px;height:24px;font-size:13px}.turn-toast{flex-direction:row;justify-content:center;gap:18px;width:auto;padding:16px 22px}.turn-toast .seat-marker,.gather-selection-popup .seat-marker{width:32px;height:32px;font-size:18px}.turn-toast-icon{margin:0}.gather-selection-popup{width:min(240px,100vw - 32px)}.project-legend svg{width:16px;height:16px}.project-legend>span{align-items:center;gap:4px;display:inline-flex}.selection-marker{place-items:center;padding:3px 6px;display:grid}.selection-marker svg{width:14px;height:14px}.game-shell .station-help{background:0 0;margin-left:0}.station-help svg{width:22px;height:22px}.token-confirm-modal .section-heading{align-items:center;min-height:44px}.token-confirm-modal .section-heading>svg,.sound-settings .section-heading>svg{width:28px;height:28px}.token-confirm-modal .section-heading button{margin:0 0 0 auto}.dialog-emblem{color:#fff;background:#087bbd;border-radius:50%;place-items:center;width:56px;height:56px;margin:0 auto 18px;display:grid}.dialog-emblem svg{width:32px;height:32px}.purchase-symbol{align-items:center;gap:6px;font-size:21px;font-weight:700;display:flex}.purchase-symbol svg{width:26px;height:26px}.visual-warning{justify-content:center;align-items:center;gap:14px;padding:8px 0;display:flex}.visual-warning>svg,.resource-shortage>svg{flex-shrink:0;width:26px;height:26px}.token-cap-notice{color:#a23e2a}.token-cap-notice .resources{flex-wrap:wrap;padding-bottom:5px}.action-indicator{color:#087bbd;justify-content:center;align-items:center;gap:10px;margin-top:14px;display:flex}.action-indicator svg{width:24px;height:24px}.action-indicator i{background:currentColor;border-radius:50%;width:12px;height:12px}.token-confirm-actions .icon-button svg{width:26px;height:26px}.project-target-action[aria-pressed=true]{box-shadow:inset 0 0 0 2px #087bbd}.game-results .icon-button svg{width:26px;height:26px}.result-winner svg,.results h2 svg{width:24px;height:24px}.results h2{align-items:center;gap:8px;display:flex}.sound-mute svg,.sound-volume label svg{width:26px;height:26px}.sound-settings .section-heading .icon-button{margin-left:auto}@media (width<=720px){.game-shell .table-status{gap:6px}.table-menu{gap:2px}.clock{min-width:66px}}.lobby-branding{align-items:center;gap:24px;display:flex}.lobby-home-link{color:#61715d;white-space:nowrap;border-radius:6px;align-items:center;gap:7px;min-height:44px;padding:0 4px;font-size:13px;display:inline-flex}.lobby-home-link img{flex-shrink:0;width:20px;height:20px;display:block}.lobby-home-link:hover{color:#294733;text-underline-offset:4px;text-decoration:underline}@media (width<=720px){.lobby-branding{gap:14px}.lobby-home-link{font-size:12px}}@media (width<=420px){.lobby-topbar{height:92px}.lobby-branding{flex-direction:column;align-items:flex-start;gap:0}.lobby-home-link{padding:0}}@media (prefers-color-scheme:dark){.lobby-home-link{color:#adbdac}.lobby-home-link:hover{color:#e0e9df}}.launch-lobby{--lobby-surface:#fcfcf7;--lobby-soft:#e9eee3;--lobby-border:#d8e0d1;--lobby-muted:#61715d;--lobby-ink:#294733;--lobby-name-accent:#a45c18;--lobby-name-glow:#da9a4940;--lobby-name-background:#fff3d8;max-width:1140px;color:var(--lobby-ink);grid-template-columns:minmax(0,1.25fr) minmax(320px,1fr);gap:22px;margin:28px auto 48px;padding:0 32px;display:grid}.launch-lobby svg{flex-shrink:0;width:24px;height:24px}.lobby-banner{isolation:isolate;background:#dce7ce;border-radius:24px;grid-column:1/-1;min-height:176px;position:relative;overflow:hidden}.lobby-banner-art{z-index:-2;object-fit:cover;object-position:center 55%;width:68%;height:100%;position:absolute;right:0}.lobby-banner:after{content:"";z-index:-1;background:linear-gradient(90deg,#e4ebd7 16%,#e4ebd7f5 33%,#e4ebd700 70%);position:absolute;inset:0}.lobby-banner-copy{color:#294733;padding:23px 32px}.lobby-banner h1{letter-spacing:-1.8px;font-size:38px;line-height:1.2}.lobby-banner p{color:#506448;margin-top:7px;font-size:13px}.lobby-player-count{align-items:center;gap:7px;margin-top:17px;font-size:13px;font-weight:600;display:flex}.lobby-player-count svg{width:19px;height:19px}.lobby-player-count>span{border-left:1px solid #9cab91;margin-left:3px;padding-left:9px;font-size:11px;font-weight:400}.lobby-token-tray{gap:7px;display:flex;position:absolute;bottom:17px;right:22px}.lobby-token-tray>span{background:#f9f9edee;border-radius:50%;place-items:center;width:36px;height:36px;display:grid;box-shadow:0 2px 10px #213c3420}.lobby-token-tray svg{width:27px;height:27px}.lobby-name-row{grid-column:1/-1;align-items:center;gap:18px;display:flex}.lobby-name-row>label{white-space:nowrap;align-items:center;gap:9px;font-size:13px;font-weight:600;display:flex}.launch-lobby input{border:1px solid var(--lobby-border);background:var(--lobby-surface);min-width:0;height:44px;color:var(--lobby-ink);border-radius:10px;padding:10px 14px}.launch-lobby input::placeholder{color:var(--lobby-muted);opacity:1}.lobby-name-row input{width:260px}.lobby-name-row.name-attention>label,.lobby-name-row.needs-name:focus-within>label{color:var(--lobby-name-accent)}.lobby-name-row.name-attention input,.lobby-name-row.needs-name input:focus{border-color:var(--lobby-name-accent);background:var(--lobby-name-background);outline:2px solid var(--lobby-name-accent);outline-offset:3px;box-shadow:0 0 0 7px var(--lobby-name-glow);animation:.65s ease-in-out 2 lobby-name-attention}@keyframes lobby-name-attention{0%,to{box-shadow:0 0 0 7px var(--lobby-name-glow);transform:translate(0)}25%{transform:translate(-3px)}50%{box-shadow:0 0 0 11px var(--lobby-name-glow)}75%{transform:translate(3px)}}@media (prefers-reduced-motion:reduce){.lobby-name-row.name-attention input,.lobby-name-row.needs-name input:focus{animation:none}}.lobby-rooms,.lobby-start{background:var(--lobby-surface);border:1px solid var(--lobby-border);border-radius:20px;align-self:start;min-width:0;overflow:hidden}.lobby-section-heading{border-bottom:1px solid var(--lobby-border);justify-content:space-between;align-items:center;gap:16px;padding:14px 20px;display:flex}.lobby-section-heading h2{align-items:center;gap:10px;font-size:16px;display:flex}.lobby-count{background:var(--lobby-soft);text-align:center;border-radius:6px;min-width:23px;padding:2px 6px;font-size:12px}.lobby-icon-button{flex-shrink:0;place-items:center;width:44px;height:44px;display:grid}.lobby-join{background:var(--lobby-soft)}.lobby-room-content{min-height:160px}.lobby-empty{min-height:160px;color:var(--lobby-muted);flex-direction:column;justify-content:center;align-items:center;gap:12px;padding:20px;font-size:13px;display:flex}.lobby-empty>svg{opacity:.65;width:38px;height:38px}.lobby-list-error{color:#99452f}.lobby-list-error button{background:var(--lobby-soft);min-height:44px;color:var(--lobby-ink);padding:8px 16px}.lobby-room-items{max-height:340px;margin:0;padding:0;list-style:none;overflow-y:auto}.lobby-room-items li{align-items:center;gap:12px;padding:16px 20px;display:flex}.lobby-room-items li+li{border-top:1px solid var(--lobby-border)}.lobby-host-avatar{background:var(--lobby-soft);border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;font-weight:600;display:grid}.lobby-room-info{flex:1;min-width:0}.lobby-room-info h3{overflow-wrap:anywhere;font-size:14px}.lobby-room-facts{color:var(--lobby-muted);flex-wrap:wrap;gap:14px;margin-top:7px;display:flex}.lobby-room-facts>span{align-items:center;gap:4px;font-size:12px;display:flex}.lobby-room-facts svg{width:16px;height:16px}.lobby-invite{border-top:1px solid var(--lobby-border);align-items:center;gap:10px;padding:16px 20px;display:flex}.lobby-invite label{white-space:nowrap;align-items:center;gap:7px;font-size:12px;display:flex}.lobby-invite input{letter-spacing:2px;flex:1;width:100%;font-size:13px}.lobby-modes{background:var(--lobby-soft);grid-template-columns:1fr 1fr;gap:6px;padding:7px;display:grid}.lobby-modes button{min-height:52px;color:var(--lobby-muted);border:1px solid #0000;justify-content:center;align-items:center;gap:9px;font-weight:600;display:flex}.lobby-modes button[aria-pressed=true]{background:var(--lobby-surface);color:var(--lobby-ink);border-color:var(--lobby-border);box-shadow:0 2px 6px #213c3408}.lobby-mode-options{padding:22px}.lobby-option-row{border:0;min-width:0;margin:0 0 18px;padding:0}.lobby-option-row legend{color:var(--lobby-muted);margin-bottom:8px;padding:0;font-size:12px}.lobby-segments{gap:7px;display:flex}.lobby-segments button{border:1px solid var(--lobby-border);flex:1;justify-content:center;align-items:center;gap:8px;min-height:44px;font-size:13px;display:flex}.lobby-segments button[aria-pressed=true]{border-color:var(--lobby-ink);background:var(--lobby-soft);box-shadow:inset 0 0 0 1px var(--lobby-ink);font-weight:700}.lobby-segments svg{width:20px;height:20px}.lobby-level{align-items:end;gap:3px;height:18px;display:flex}.lobby-level i{opacity:.3;border:1px solid;border-radius:1px;width:4px;height:7px}.lobby-level i:nth-child(2){height:12px}.lobby-level i:nth-child(3){height:17px}.lobby-level i.filled{opacity:1;background:currentColor}.lobby-game-options{grid-template-columns:1fr 1fr;gap:14px;margin:4px 0 22px;display:grid}.lobby-game-options label>span{color:var(--lobby-muted);align-items:center;gap:6px;margin-bottom:8px;font-size:12px;display:flex}.lobby-game-options svg{width:17px;height:17px}.lobby-game-options select{background:var(--lobby-surface);width:100%;min-height:44px;color:var(--lobby-ink);border-color:var(--lobby-border);font-size:14px}.lobby-start-button{border-radius:12px;min-height:50px}.lobby-start-button[aria-disabled=true]{opacity:.62;cursor:pointer}.lobby-start-button[aria-disabled=true]:hover{filter:none}.lobby-mode-note{text-align:center;color:var(--lobby-muted);margin-top:12px;font-size:11px}@media (width<=720px){.launch-lobby{grid-template-columns:1fr;gap:16px;margin-top:16px;padding:0 16px}.lobby-banner{border-radius:18px;min-height:132px}.lobby-banner-copy{padding:18px 20px}.lobby-banner h1{font-size:28px}.lobby-banner p{font-size:11px}.lobby-player-count{margin-top:12px;font-size:12px}.lobby-token-tray{gap:4px;bottom:13px;right:13px}.lobby-token-tray>span{width:25px;height:25px}.lobby-token-tray svg{width:19px;height:19px}.lobby-name-row{gap:12px}.lobby-name-row label{gap:6px;font-size:12px}.lobby-name-row label svg{width:19px;height:19px}.lobby-name-row input{flex:1;width:0;font-size:16px}.lobby-section-heading{padding:9px 15px}.lobby-room-content,.lobby-empty{min-height:92px}.lobby-empty{flex-direction:row;gap:10px;font-size:12px}.lobby-empty>svg{width:28px;height:28px}.lobby-invite{gap:8px;padding:12px 15px}.lobby-invite label svg{width:18px;height:18px}.lobby-invite input{letter-spacing:1px;padding:10px;font-size:16px}.lobby-room-items{max-height:240px}.lobby-room-items li{gap:10px;padding:12px 15px}.lobby-room-facts{gap:10px}.lobby-mode-options{padding:18px}}@media (prefers-color-scheme:dark){.launch-lobby{--lobby-surface:#1d2922;--lobby-soft:#2b3d30;--lobby-border:#405447;--lobby-muted:#adbdac;--lobby-ink:#e0e9df;--lobby-name-accent:#f0bc70;--lobby-name-glow:#f0bc7040;--lobby-name-background:#3b3223}.lobby-banner{background:#2b3d30}.lobby-banner:after{background:linear-gradient(90deg,#253d2b 16%,#253d2bf5 33%,#253d2b00 80%)}.lobby-banner-copy,.lobby-banner p{color:#e0e9df}.lobby-banner-art{filter:brightness(.72)}.lobby-player-count>span{border-color:#6f8667}.lobby-token-tray>span{background:#dbe5cfee}.lobby-list-error{color:#f0ad98}}.board-waiting .waiting-ai-controls{flex-wrap:wrap;align-items:center;gap:12px;margin:0 0 24px;display:flex}.board-waiting .waiting-ai-controls label,.board-waiting .ai-remove{align-items:center;gap:6px;display:inline-flex}.board-waiting .waiting-ai-controls svg,.board-waiting .ai-remove svg,.board-waiting .avatar svg{width:24px;height:24px}.board-waiting .waiting-ai-controls select{min-width:72px;min-height:44px}.board-waiting .waiting-ai-controls .secondary{gap:8px;width:auto}.board-waiting .waiting-ai-controls p{flex-basis:100%;margin:0}.board-waiting .ai-remove{flex-shrink:0;min-height:44px}.board-waiting .member-kick{flex-shrink:0;align-items:center;gap:6px;min-height:44px;display:inline-flex}.board-waiting .members>.kick-target{grid-template-columns:40px minmax(0,1fr) auto;gap:4px 10px;display:grid}.board-waiting .kick-target>.avatar{grid-area:1/1/3}.board-waiting .kick-target>strong{grid-area:1/2}.board-waiting .kick-target>.member-ready{grid-area:2/2;font-size:12px}.board-waiting .kick-target>.member-kick{grid-area:1/3/3}@media (width<=480px){.board-waiting .members>div{flex-wrap:wrap;gap:10px;padding:14px 0}.board-waiting .members strong{overflow-wrap:anywhere;min-width:100px}}.board-lobby button,.board-waiting button{color:inherit;box-shadow:none;background:0 0;border-radius:9px}.board-lobby .primary,.board-waiting .primary{background:var(--lobby-button,#284d3a);color:var(--lobby-button-ink,#f6f5ed);justify-content:space-between;align-items:center;gap:20px;width:100%;min-height:46px;padding:13px 17px;font-weight:600;display:flex}.board-lobby .primary:hover,.board-waiting .primary:hover{background:var(--lobby-button,#284d3a);filter:brightness(1.08)}.board-waiting .secondary{background:var(--lobby-soft,#e7ebdf);color:var(--lobby-ink,#355340);border:0;align-items:center;gap:20px;min-height:46px;padding:13px 17px;font-weight:600;display:flex}.board-lobby .lobby-join{background:var(--lobby-soft)}.board-lobby .lobby-modes button[aria-pressed=true]{background:var(--lobby-surface)}.board-lobby .lobby-segments button[aria-pressed=true]{background:var(--lobby-soft);box-shadow:inset 0 0 0 1px var(--lobby-ink)}.board-lobby .lobby-list-error button{background:var(--lobby-soft)}.board-lobby .lobby-start-button{border-radius:12px;min-height:50px}.board-lobby .lobby-segments{flex-wrap:wrap}.board-lobby .lobby-segments button{flex:1 0 44px}.board-lobby .lobby-segments button svg{width:20px;height:20px}.board-lobby input{min-height:44px}.board-lobby select{color-scheme:inherit}.board-lobby .lobby-invite input{min-width:0}.board-lobby .lobby-extra{grid-column:1/-1}.board-waiting{max-width:700px;min-height:65vh;margin:70px auto;padding:0 25px}.board-waiting h1{margin:18px 0 12px;font-size:36px}.board-waiting .members{margin:30px 0}.waiting-capacity{border:0;min-width:0;margin:20px 0;padding:0}.waiting-capacity legend{color:var(--lobby-muted,currentColor);margin-bottom:8px;padding:0;font-size:12px}.waiting-capacity>div{flex-wrap:wrap;gap:7px;display:flex}.waiting-capacity button{border:1px solid var(--lobby-border,#929b89);min-height:44px;color:inherit;background:0 0;border-radius:9px;flex:1 0 44px;justify-content:center;align-items:center;gap:6px;padding:8px;display:flex}.waiting-capacity button[aria-pressed=true]{background:var(--lobby-soft,color-mix(in srgb, currentColor 16%, transparent));font-weight:700;box-shadow:inset 0 0 0 1px}.waiting-capacity svg{flex-shrink:0;width:20px;height:20px}.board-waiting .members>div{border-bottom:1px solid var(--lobby-border,#dde1d2);align-items:center;gap:16px;padding:18px;display:flex}.board-waiting .members strong{overflow-wrap:anywhere;flex:1;min-width:0}.board-waiting .members strong small{color:var(--lobby-muted,#8a937f);margin-left:10px}.board-waiting .members>div>span:last-child{font-size:12px}.board-waiting .avatar{background:var(--lobby-soft,#dce5ce);border-radius:50%;flex-shrink:0;place-items:center;width:40px;height:40px;display:grid}.board-waiting .waiting-buttons{flex-wrap:wrap;gap:12px;margin-bottom:18px;display:flex}.board-waiting .waiting-buttons .primary,.board-waiting .waiting-buttons .secondary,.board-waiting .waiting-ai-controls select{width:auto}.board-waiting .room-visibility{color:var(--lobby-ink,#376334);font-size:14px;font-weight:700}.board-waiting .invite-code strong{letter-spacing:.14em;margin-left:8px}@media (width<=720px){.board-waiting{margin-top:45px}.board-waiting h1{font-size:28px}}@media (width<=480px){.board-waiting .members>div{flex-wrap:wrap;gap:10px;padding:14px 0}}@media (prefers-color-scheme:dark){.board-waiting{--lobby-soft:#2b3d30;--lobby-border:#405447;--lobby-muted:#adbdac;--lobby-ink:#e0e9df}}.lobby-join-role{margin:12px 0}.traditional-game-picker{flex-wrap:wrap;grid-column:1/-1;align-items:center;gap:12px;display:flex}.traditional-game-picker a{color:inherit;text-underline-offset:4px;margin-right:auto;font-weight:700}.traditional-game-picker label{font-size:13px}.traditional-game-picker select{border:1px solid var(--lobby-border);background:var(--lobby-surface);width:auto;min-width:100px;min-height:40px;color:var(--lobby-ink);border-radius:10px;padding:8px 12px}.beginner-settings-trigger[aria-pressed=true]{color:#216e58;background:#e1f2e8}.lobby-beginner-option{border-top:1px solid #d5ddd1;align-items:center;gap:10px;padding:12px 16px;display:flex}.lobby-beginner-option>svg{color:#46715a;width:24px;height:24px}.lobby-beginner-option label{cursor:pointer;flex:1;align-items:center;gap:10px;min-height:44px;font-size:14px;display:flex}.lobby-beginner-option input,.beginner-toggle input{accent-color:#287d58;cursor:pointer;width:22px;height:22px}.lobby-beginner-option .text-button{font-size:13px}.lobby-beginner-note{color:#52685a;margin:0;padding:0 16px 14px;font-size:12px;line-height:1.6}.beginner-settings{color:#263e32;background:#f8f8f1;border:1px solid #cad6c5;border-radius:18px;width:min(420px,100% - 32px);max-height:calc(100dvh - 32px);margin:auto;padding:22px;overflow:auto;box-shadow:0 25px 80px #102d2233}.beginner-settings::backdrop{background:#182b2366}.beginner-settings .section-heading{gap:12px}.beginner-settings h2{align-items:center;gap:8px;margin:0;font-size:19px;display:flex}.beginner-settings h2 svg,.beginner-replay svg{flex-shrink:0;width:24px;height:24px}.beginner-settings p{font-size:14px;line-height:1.7}.beginner-toggle{cursor:pointer;border:1px solid #cad6c5;border-radius:10px;align-items:center;gap:12px;min-height:54px;padding:8px 12px;display:flex}.beginner-toggle>span:first-child{flex:1;font-weight:700}.beginner-toggle>span:last-child{min-width:32px;font-size:12px;font-weight:700}.beginner-settings .beginner-settings-note{color:#52685a;font-size:13px}.beginner-replay{align-items:center;gap:8px;min-height:44px;display:inline-flex}.beginner-hint{color:#234b38;text-align:left;background:#eff8f1;border:1px solid #86b4a0;border-radius:14px;gap:12px;width:100%;margin:12px 0;padding:14px 16px;display:flex}.beginner-hint-icon{background:#daeddf;border-radius:50%;flex-shrink:0;place-items:center;width:32px;height:32px;display:grid}.beginner-hint-icon svg{width:23px;height:23px}.beginner-hint-content{flex:1;min-width:0}.beginner-hint h2{text-align:left;margin:0 0 4px;font-size:15px;line-height:1.5}.beginner-hint p{overflow-wrap:anywhere;margin:0;font-size:13px;line-height:1.7}.beginner-hint-actions{flex-wrap:wrap;justify-content:flex-end;align-items:center;gap:8px;margin-top:8px;display:flex}.beginner-hint-actions button{min-height:44px;padding:8px 10px;font-size:13px}.game-shell .beginner-hint-actions button{min-height:44px;font-size:13px}.table>.beginner-hint{flex-shrink:0;max-height:32dvh;margin:4px 0;overflow:hidden}.table>.beginner-hint .beginner-hint-content{flex-direction:column;min-height:0;display:flex}.table>.beginner-hint .beginner-hint-content>[role=status]{overflow:auto}.table>.beginner-hint .beginner-hint-actions{flex-shrink:0}.beginner-progress{color:#52685a;margin-right:auto;font-size:12px}.beginner-understood{color:#fff;background:#287d58;border:1px solid #287d58;border-radius:9px;justify-content:center;align-items:center;gap:4px;display:inline-flex}.beginner-understood svg{width:18px;height:18px}.beginner-highlight{outline-offset:3px;outline:2px dashed #30866a}.token-confirm-modal .beginner-hint{gap:8px;margin-top:16px;padding:12px}.token-confirm-modal .beginner-hint p{margin:0;font-size:13px;line-height:1.7}.token-confirm-modal .beginner-hint h2{font-size:15px}.token-confirm-modal .beginner-hint-actions{margin-top:6px}@media (width<=480px){.beginner-hint{gap:8px;padding:12px}.beginner-hint-icon{width:26px;height:26px}.beginner-hint-icon svg{width:20px;height:20px}.beginner-settings{padding:18px}}@media (width<=359px){.table>.beginner-hint .beginner-rules{display:none}}@media (prefers-color-scheme:dark){.beginner-settings-trigger[aria-pressed=true]{color:#b2e6cc;background:#254b39}.lobby-beginner-option{border-color:#405646}.lobby-beginner-option>svg{color:#aad5b4}.beginner-settings{color:#e2eedd;background:#192c22;border-color:#516854}.beginner-settings::backdrop{background:#060e0ac4}.beginner-toggle{border-color:#516854}.beginner-settings .beginner-settings-note,.beginner-progress,.lobby-beginner-note{color:#b8cdbd}.beginner-hint{color:#e2eedd;background:#203d2e;border-color:#608b73}.beginner-hint-icon{background:#30523e}.beginner-highlight{outline-color:#94d3b5}}.game-shell .table{gap:5px;padding:5px 10px 8px}.game-shell .table-status{height:32px;min-height:32px}.game-shell .economy-row.player-summary{flex-shrink:0;grid-template-columns:repeat(4,minmax(0,1fr));gap:5px;display:grid}.game-shell .player-summary .hand-bar{grid-template-rows:18px 1fr;gap:4px;min-height:64px;padding:4px 7px}.game-shell .player-summary .hand-score b{font-size:18px}.game-shell .player-summary .player-inventory{gap:4px}.game-shell .player-summary .inventory-spendable .resource{width:24px;height:24px}.game-shell .player-summary .inventory-permanent .resource{width:18px;height:20px}.game-shell .tabletop{flex:1;grid-template:"sites projects station"minmax(0,1fr)/minmax(0,1fr) minmax(0,2fr) minmax(0,1.25fr);gap:8px;min-height:0;display:grid;overflow:visible}.game-shell .projects-panel{grid-area:projects}.game-shell .sites-panel{grid-area:sites}.game-shell .station-panel{grid-area:station}.game-shell .projects-panel,.game-shell .sites-panel,.game-shell .station-panel{flex-direction:column;gap:4px;min-height:0;padding:4px;display:flex;overflow:visible}.game-shell .board-heading{flex-shrink:0;height:22px;min-height:22px;margin:0}.game-shell .board-heading svg{width:18px;height:18px}.game-shell .station-help{width:24px;min-width:24px;height:24px;min-height:24px;padding:2px}.game-shell .projects{flex:1;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;min-height:0;display:grid}.game-shell .project{height:auto;min-height:0;padding:5px}.game-shell .project-art{height:100%}.game-shell .project-cost{flex-wrap:nowrap;gap:4px;padding:3px 1px}.game-shell .card-score{font-size:16px;top:4px;left:5px}.game-shell .card-bonus{width:28px;height:34px;top:4px;right:4px}.game-shell .sites{flex:1;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:5px;min-height:0;display:grid}.game-shell .sites .site{height:100%;min-height:0;padding:4px}.game-shell .site .resources{flex-wrap:nowrap;gap:3px}.game-shell .site .resource{width:28px;height:28px}.game-shell .shared-land-grid{flex:1;grid-auto-rows:minmax(0,1fr);gap:4px;min-height:0}.game-shell .shared-plot{height:auto;min-height:0;padding:3px}.game-shell .facility-catalog{flex:1.3;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-rows:minmax(0,1fr);gap:4px;min-height:0;display:grid}.game-shell .shared-station .facility-catalog>button{gap:2px;height:auto;min-height:0;padding:3px}.game-shell .facility-production{height:auto;min-height:0;padding:1px}.game-shell .facility-cost{gap:2px;min-height:0;padding-top:2px}.game-shell .facility-cost .resource,.game-shell .production-values .resource{width:19px;height:19px}.game-shell .facility-cost .resource b{min-width:12px;height:12px;font-size:10px}.game-shell .facility-time{width:17px;height:17px}.game-shell .facility-time svg{width:14px;height:14px}.game-shell .turn-toast-region{display:block;inset:48px 12px auto auto}.game-shell .turn-toast{box-shadow:none;border-radius:10px;gap:6px;padding:5px 8px}.game-shell .turn-toast-icon,.game-shell .turn-toast .seat-marker{width:22px;height:22px;font-size:12px}@media (width<=720px) and (height>=501px){.game-shell .economy-row.player-summary{grid-template-columns:repeat(2,minmax(0,1fr))}.game-shell .player-summary .hand-bar{gap:2px;height:50px;min-height:50px;padding:3px 5px}.game-shell .player-summary .inventory-spendable .resource{width:19px;height:19px}.game-shell .player-summary .inventory-permanent{gap:2px;padding-left:3px}.game-shell .player-summary .inventory-permanent .resource{width:14px;height:16px}.game-shell .player-summary .resource b{min-width:12px;height:12px;font-size:10px}.game-shell .tabletop{grid-template-rows:minmax(0,1.25fr) minmax(0,1fr);grid-template-columns:repeat(2,minmax(0,1fr));grid-template-areas:"projects projects""sites station";gap:3px}.game-shell .board-heading{height:18px;min-height:18px}.game-shell .project-cost .resource{width:19px;height:19px}.game-shell .project-cost .resource b{min-width:13px;height:13px;font-size:10px}.game-shell .card-score{font-size:14px}.game-shell .card-bonus{width:22px;height:27px}.game-shell .site .resource{width:22px;height:22px}.game-shell .shared-station .facility-catalog .resource{width:15px;height:15px}.game-shell .shared-station .facility-catalog .resource b{min-width:11px;height:11px;font-size:9px}.game-shell .shared-land-grid{flex:.55}.game-shell .facility-catalog{flex:1.45}.game-shell .facility-time{display:none}}@media (height<=500px){.game-shell .topbar{height:36px;min-height:36px}.game-shell .topbar .icon-button{height:32px;min-height:32px}.game-shell .table-status{height:26px;min-height:26px}.game-shell .player-summary .hand-bar{height:48px;min-height:48px}.game-shell .project-cost .resource{width:19px;height:19px}.game-shell .site .resource{width:22px;height:22px}.game-shell .card-bonus{width:22px;height:26px}}.game-shell .card-score{gap:2px;padding:2px 4px}.game-shell .card-score b{font-size:16px}.game-shell .card-score svg{width:16px;height:16px}.game-shell .project-cost{bottom:4px;left:4px;right:4px}.game-shell .project-cost .resource b{bottom:-2px;right:-2px}.game-shell .tabletop:has(.shared-station) .sites.varied-sites{grid-template-columns:repeat(2,minmax(0,1fr))}.game-shell .varied-sites .site .resources{gap:3px;width:auto;padding:0}.game-shell .varied-sites .site .resources:has(>.resource:nth-child(3)) .resource{width:24px;height:24px}.game-shell .varied-sites .site .resource b{min-width:13px;height:13px;font-size:10px;bottom:-2px;right:-2px}.game-shell .production-info.compact{gap:2px}.game-shell .production-values{gap:3px}@media (width<=720px) and (height>=501px){.game-shell .varied-sites .site .resources:has(>.resource:nth-child(3)) .resource{width:18px;height:18px;padding:1px}.game-shell .varied-sites .site .resources:has(>.resource:nth-child(3)) .resource b{min-width:11px;height:11px;font-size:9px}.game-shell .card-score b{font-size:13px}.game-shell .card-score svg{width:12px;height:12px}.game-shell .project .card-bonus span{font-size:9px}}@media (height<=500px){.game-shell .card-score b{font-size:13px}.game-shell .card-score svg{width:12px;height:12px}.game-shell .project-cost .resource{width:16px;height:16px}.game-shell .project-cost{bottom:3px}.game-shell .project{min-height:0}}.game-shell .projects.expanded-projects.tiered-projects{flex:1;grid-template-rows:repeat(3,minmax(0,1fr))}.game-shell .project-cost .resource{width:24px;height:24px;padding:2px}.game-shell .project-cost .resource b{min-width:12px;height:12px;font-size:10px}.game-shell .shared-station .facility-cost .resources{flex-wrap:nowrap;justify-content:center;gap:2px;padding:0}@media (width<=720px) and (height>=501px){.game-shell .project-cost .resource{width:22px;height:22px}.game-shell .shared-station .facility-cost .resource{width:auto;height:12px;box-shadow:none;background:0 0;border:0;align-items:center;padding:0;display:flex}.game-shell .shared-station .facility-cost .resource i{width:8px;height:10px}.game-shell .shared-station .facility-cost .resource b{background:0 0;border:0;width:auto;min-width:5px;height:12px;padding:0;font-size:9px;position:static}.game-shell .production-info .production-values>svg{display:none}}.game-shell .project-cost .resources{flex-wrap:nowrap;gap:3px;padding:0}.game-shell .project-cost{container-type:inline-size}.game-shell .project-cost .resource{width:min(24px,calc((100cqi - (var(--cost-count,3) - 1) * 3px) / var(--cost-count,3)));aspect-ratio:1;height:auto;padding:1px}.game-shell .project-cost .resource b{min-width:10px;height:10px;padding:0 1px;font-size:9px;bottom:-1px;right:-1px}.table .board-timer{--clock-ink:#285b7c;--clock-surface:#f8fbff;--clock-border:#c9d9e8}@media (prefers-color-scheme:dark){.table .board-timer{--clock-ink:var(--dark-blue);--clock-surface:var(--dark-panel);--clock-border:var(--dark-border);--clock-alert:var(--dark-error);--clock-alert-surface:#482d25;--clock-alert-border:#aa6856}}:root{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light dark;--board-page:#f3f1e9;--board-surface:#fffcf5;--board-soft:#e8ece2;--board-border:#c8d0bf;--board-ink:#263e35;--board-muted:#596b58;--board-accent:#285746;--board-gold:#856021;--board-error:#9a402b;--board-error-surface:#f7e5da}@media (prefers-color-scheme:dark){:root{--lightningcss-light: ;--lightningcss-dark:initial;--board-page:#141e1a;--board-surface:#21322a;--board-soft:#2e4435;--board-border:#596b56;--board-ink:#eee9d8;--board-muted:#b9c6ad;--board-accent:#a7d4b1;--board-gold:#e5c88a;--board-error:#ffbca2;--board-error-surface:#482e25}}.board-lobby,.board-waiting{--lobby-surface:var(--board-surface);--lobby-soft:var(--board-soft);--lobby-border:var(--board-border);--lobby-muted:var(--board-muted);--lobby-ink:var(--board-ink);--lobby-name-accent:var(--board-gold);--lobby-name-glow:color-mix(in srgb, var(--board-gold) 20%, transparent);--lobby-name-background:var(--board-soft);--lobby-button:#285746;--lobby-button-ink:#fffdf5;color:var(--lobby-ink)}.board-lobby select,.board-waiting input,.board-waiting select{background:var(--lobby-surface);color:var(--lobby-ink);border-color:var(--lobby-border)}.board-waiting .members>div,.board-waiting .avatar{background:var(--lobby-soft);border-color:var(--lobby-border)}.board-waiting .muted,.board-waiting .members strong small{color:var(--lobby-muted)}.board-waiting .room-visibility,.board-waiting .invite-code strong{color:var(--board-accent)}.board-dialog{background:var(--board-surface);color:var(--board-ink);border-color:var(--board-border)}.board-dialog .board-control{color:var(--board-ink)}.board-dialog .board-dialog-action{background:var(--board-soft);color:var(--board-ink);border-color:var(--board-border)}.board-dialog .board-dialog-confirm{color:#fffdf5;background:#285746}
