:root{font-family:Inter,ui-sans-serif,system-ui,sans-serif;color:#e9f2f9;background:#081925;font-size:16px;color-scheme:dark}*{box-sizing:border-box}body{margin:0}button,select,input{font:inherit}button,select{cursor:pointer}button,a,input,select{touch-action:manipulation}button{border:1px solid #3b586b;background:#183448;color:#f4f8fb;border-radius:8px;padding:10px 15px}button:hover{background:#254960}button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,[tabindex]:focus-visible{outline:3px solid #73e9d7;outline-offset:3px}a{color:#9bdcd6;text-decoration:none;font-size:.875rem}.top{padding:25px 3vw;border-bottom:1px solid #294153;display:flex;justify-content:space-between;align-items:center;gap:20px}.eyebrow{font-size:.75rem;letter-spacing:.19em;color:#89bbc8;font-weight:700}h1{font-size:1.8rem;margin:4px 0 0}h1 span{font-size:1rem;font-weight:400;color:#9fb7c8}h2{font-size:1.45rem;margin:0 0 8px}h3{font-size:1rem;margin:0 0 12px}p{line-height:1.55}main{max-width:1700px;margin:auto;padding:28px 3vw}.configuration{max-width:850px;margin:20px auto;background:#102a3a;padding:30px;border:1px solid #294858;border-radius:14px}.configuration p{color:#b4c7d3}.count-label{display:flex;gap:16px;align-items:center;margin:24px 0}.seat{display:grid;grid-template-columns:1fr 1fr;gap:18px;margin:18px 0}.seat label{display:grid;gap:8px;font-size:.875rem}input,select{min-width:0;background:#0b202e;border:1px solid #486477;border-radius:7px;padding:11px;color:#edf6fa}.primary{background:#67d4c0;color:#072b2e;border-color:#67d4c0;font-weight:700}.primary:hover{background:#92e5d6}#error{color:#ffc1b9}.table-heading{display:flex;align-items:center;justify-content:space-between;margin-bottom:22px}.players{display:grid;grid-template-columns:repeat(auto-fit,minmax(245px,1fr));gap:12px;margin-bottom:22px}.player{padding:18px;background:#102b3c;border-radius:10px;border-top:4px solid var(--animal)}.player-top{display:flex;justify-content:space-between;gap:12px;align-items:center}.player-top small{display:block;color:#b1c6d4;font-size:.875rem;margin-bottom:4px}.vp{font-size:1.25rem;white-space:nowrap}.rack{display:flex;gap:7px;align-items:center;flex-wrap:wrap;margin:17px 0}.pawn{display:inline-block;width:17px;height:27px;background:var(--animal,#faf6e9);border-radius:45% / 18%;box-shadow:inset -4px 0 #0003,inset 0 3px #fff5}.rack small{margin-left:6px;color:#bad0dd;font-size:.875rem}.needs{display:flex;gap:7px;align-items:center}.disk{width:32px;height:32px;border-radius:50%;object-fit:contain}.empty{width:30px;height:30px;border:1px dashed #7390a0;border-radius:50%;opacity:.65}.counts{font-size:.875rem;color:#b2c8d6;margin-top:14px}.workspace{display:grid;grid-template-columns:minmax(0,1fr) 370px;gap:20px;align-items:start}.ocean-panel{background:#0e2c40;border:1px solid #315263;border-radius:12px;overflow:hidden}.panel-heading{padding:20px;display:flex;justify-content:space-between;gap:10px;align-items:center}.panel-heading h3{margin:0}.panel-heading span{font-size:.875rem;color:#a4c2d2}#ocean{width:100%;max-height:810px;display:block;background:radial-gradient(ellipse at center,#164b65,#0b2639)}.tile{cursor:pointer}.tile polygon{stroke:#7db1c2;stroke-width:1.4}.tile:hover polygon,.tile.selected polygon{stroke:#edfff6;stroke-width:3}.tile text{fill:white;font-size:13px;text-anchor:middle;font-weight:600;paint-order:stroke;stroke:#132e3c;stroke-width:3px;stroke-linejoin:round}.element{cursor:pointer}.element circle{fill:#0b2837;stroke:#bbdde6;stroke-width:1}.element:hover circle,.element.selected circle{stroke:#fff;stroke-width:3}.inspector{padding:20px;background:#132f41;min-height:115px;line-height:1.55;color:#c5dce7}.inspector strong{color:#fff}.legend{display:flex;gap:12px;flex-wrap:wrap;padding:16px}.legend span{display:flex;align-items:center;gap:6px;font-size:.875rem}.legend img{width:25px;height:25px}.panel{padding:22px;background:#102b3c;border:1px solid #294859;border-radius:12px;margin-bottom:16px}.muted{font-size:.875rem;color:#a8c1d0;margin:6px 0 14px}.action-row{border-top:1px solid #2d4859;padding:10px 0;display:flex;align-items:center;justify-content:space-between;gap:8px}.action-row strong{font-size:.875rem;font-weight:500}.row-elements{display:flex;gap:5px;align-items:center;flex-wrap:wrap;justify-content:flex-end}.row-elements .disk{width:29px;height:29px}.empty-label{color:#8faab9;font-size:.875rem}.terrain-marker{width:27px;height:27px;border:1px solid #abc2ce;border-radius:3px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:.875rem;text-shadow:0 1px 2px #000}.specials{display:flex;justify-content:space-between;gap:7px}.special{display:grid;justify-items:center;gap:8px}.special .disk{width:25px;height:25px}.chain-row{display:flex;align-items:center;gap:9px;padding:6px 0;font-size:.875rem}.cube{display:inline-block;width:12px;height:12px;background:var(--animal);border:1px solid #fff7}.next{margin-top:20px;max-width:100%;color:#aec8d5}.next strong{color:#e1f2fa}.next p{margin:8px 0;font-size:.875rem}dialog{max-width:480px;border:1px solid #638491;border-radius:12px;padding:28px;background:#153449;color:white}dialog::backdrop{background:#00121bcc}.dialog-actions{display:flex;gap:12px;margin-top:22px}[hidden]{display:none!important}@media(min-width:1400px){.workspace{grid-template-columns:minmax(0,1fr) 410px}#ocean{max-height:850px}}@media(max-width:850px){.workspace{grid-template-columns:1fr}.top{align-items:flex-start}h1 span{display:block;margin-top:5px}aside{display:grid;grid-template-columns:1fr 1fr;gap:14px}aside .panel:first-child{grid-row:span 2}.panel{margin-bottom:0}.table-heading{gap:16px}.players{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:520px){main{padding:20px 12px}.top{padding:20px 14px}h1{font-size:1.45rem}.top a{max-width:90px}.configuration{padding:20px}.seat{grid-template-columns:1fr}.players{grid-template-columns:1fr}.workspace{gap:14px}aside{display:block}.panel{margin-bottom:14px}.panel-heading{flex-direction:column;align-items:flex-start}.table-heading{align-items:flex-start}.table-heading button{font-size:.875rem}}

.element.vacant circle{fill:#0b2837;fill-opacity:.8;stroke:#b6d2dc;stroke-width:1.5;stroke-dasharray:4 3}.element.vacant:hover circle,.element.vacant.selected circle{stroke:#fff;stroke-width:3;fill:#1c4e62}.species-pools{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin-top:15px}.species-pool{background:#0b2433;border:1px solid #325063;border-radius:6px;padding:8px 6px;text-align:center}.species-pool small{display:block;color:#9bb9c9;font-size:.62rem;letter-spacing:.06em;line-height:1.2}.species-pool strong{font-size:1rem;display:block;margin-top:4px}.earth-pool{border-color:color-mix(in srgb,var(--animal) 65%,#325063)}.extinction-pool{border-color:#b36970;background:#331d27}.extinction-pool small{color:#efb1b6}

.empty-hex{cursor:pointer}.empty-hex polygon{fill:#103448;fill-opacity:.4;stroke:#6093a9;stroke-width:1.5;stroke-opacity:.7}.empty-hex:hover polygon,.empty-hex:focus-visible polygon{fill:#1b4b60;stroke:#c0e6ee;stroke-opacity:1}

.evolution-area{margin-top:20px}.evolution-heading{display:flex;align-items:center;justify-content:space-between;gap:18px}.evolution-heading h3{margin:0}.evolution-heading .muted{margin:5px 0 0}.evolution-piles{display:flex;align-items:center;gap:10px}.card-pile{width:52px;min-height:58px;padding:5px;display:grid;align-content:center;justify-items:center;border:1px solid #6a8796;border-radius:5px;background:#0b2433;text-align:center;line-height:1}.draw-pile{box-shadow:4px 4px 0 #0b2433,7px 7px 0 #305466}.discard-summary{display:grid;justify-items:center;gap:3px}.discard-pile{opacity:.85;border-style:dashed;cursor:pointer}.discard-pile:hover,.discard-pile:focus-visible{opacity:1;border-color:#e0bd69;outline:none}.discard-summary small{max-width:118px;color:#abc5d0;font-size:.55rem;line-height:1.15;text-align:center}.evolution-piles>button{font-size:.65rem;white-space:nowrap}.card-pile b{font-size:1rem}.card-pile span{margin-top:4px;font-size:.56rem;color:#abc5d0;text-transform:uppercase}.evolution-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px;margin-top:16px}.evolution-card{position:relative;min-width:0;border:1px solid #7090a0;border-radius:7px;background:#0b2433;overflow:hidden}.card-slot{display:flex;align-items:center;justify-content:space-between;gap:3px;padding:5px 6px;border-bottom:1px solid #426575;background:#12394d;color:#cee6ec;font-size:.6rem;text-transform:uppercase;letter-spacing:.04em}.card-slot .terrain-marker{width:21px;height:21px;font-size:.62rem}.card-face{min-height:94px;padding:9px 7px;display:grid;align-content:center;justify-items:center;gap:7px;background:linear-gradient(145deg,#163b50,#0b2130);text-align:center}.card-face small{font-size:.54rem;letter-spacing:.12em;color:#8fc6cc}.card-face strong{font-size:.73rem;color:#e8f5f4}.card-face span{font-size:.58rem;color:#b6d0d8}.card-value{display:grid;place-items:center;position:absolute;right:5px;bottom:5px;width:19px;height:19px;border-radius:50%;background:#e0bd69;color:#1b2b31;font-size:.7rem;font-weight:800}.wanderlust-area{margin-top:16px}.wanderlust-area h3{margin:0}.wanderlust-area>.muted{margin:5px 0}.wanderlust-stacks{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:16px}.wanderlust-stack{display:flex;align-items:center;justify-content:center;gap:14px;min-width:0}.tile-stack{position:relative;width:88px;height:78px;flex:0 0 88px}.tile-stack>i,.face-up-tile{position:absolute;inset:11px 8px 11px 8px;clip-path:polygon(25% 0,75% 0,100% 50%,75% 100%,25% 100%,0 50%);border:1px solid #c5e4e8}.tile-stack>i{background:#133848}.tile-stack>i:nth-child(1){transform:translate(8px,8px);opacity:.45}.tile-stack>i:nth-child(2){transform:translate(5px,5px);opacity:.65}.tile-stack>i:nth-child(3){transform:translate(2px,2px);opacity:.8}.face-up-tile{display:grid;place-items:center;background:var(--terrain);color:#fff;text-align:center;font-size:.63rem;font-weight:800;line-height:1.05;text-shadow:0 1px 2px #000;padding:6px}.wanderlust-stack strong,.wanderlust-stack small{display:block}.wanderlust-stack strong{font-size:.8rem}.wanderlust-stack small{margin-top:4px;color:#a7c3ce;font-size:.63rem;line-height:1.25}@media(max-width:650px){.evolution-heading{align-items:flex-start;flex-direction:column}.evolution-cards{gap:5px}.card-face{min-height:80px;padding:6px 3px}.card-face strong{font-size:.6rem}.card-face span{font-size:.51rem}.card-slot{padding:4px}.card-slot .terrain-marker{width:18px;height:18px}.evolution-piles{align-self:stretch}.card-pile{flex:1}.wanderlust-stacks{gap:8px}.wanderlust-stack{flex-direction:column;gap:3px;text-align:center}.tile-stack{transform:scale(.82);margin:-7px}}

.speciation-links .linked-space:last-child .linked-token,.speciation-links .linked-space:last-child .link-arrow{width:100%;justify-content:center;text-align:center}.speciation-links .linked-space:last-child .any-token{box-sizing:border-box;justify-self:center;margin:0 auto}.linked-action{padding-bottom:15px}.linked-spaces{display:grid;grid-template-columns:repeat(var(--linked-count),minmax(0,1fr));gap:4px;margin-top:8px}.speciation-links,.competition-links{--linked-count:4}.evolution-links{--linked-count:5}.linked-space{min-width:0;display:grid;grid-template-rows:34px 16px auto;align-items:center;justify-items:center}.linked-token{height:34px;display:flex;align-items:center;justify-content:center;min-width:0}.linked-token .disk{width:31px;height:31px}.linked-token .terrain-marker{width:28px;height:28px}.any-token{font-size:.62rem;line-height:1.02;text-align:center;text-transform:uppercase;letter-spacing:.06em;color:#efdb95;border:1px dashed #d6bb70;border-radius:50%;width:31px;height:31px;display:grid;place-items:center}.link-arrow{font-size:1.2rem;line-height:1;color:#9fd6df;text-shadow:0 0 8px #62cfd4}.linked-space .pawn-space{width:100%;min-height:47px}.linked-space .pawn-space span{font-size:.58rem}.action-note{margin:7px 0 0;color:#9fc1ce;font-size:.7rem;line-height:1.3}.evolution-links .linked-space{grid-template-rows:31px 16px auto}.evolution-links .linked-token{height:31px}.evolution-links .pawn-space{padding:4px 2px}.evolution-links .display-pawn{width:9px;height:17px}.speciation-guide{margin-top:9px;padding:9px;border:1px solid #426b7a;border-radius:7px;background:#0a2331}.speciation-guide strong{display:block;margin-bottom:6px;font-size:.7rem;color:#d9eef2;text-transform:uppercase;letter-spacing:.06em}.speciation-guide div{display:grid;grid-template-columns:1fr 1fr;gap:4px}.speciation-guide span{font-size:.64rem;color:#c6dce3;white-space:nowrap}.speciation-guide b{display:inline-grid;place-items:center;width:15px;height:15px;margin-right:3px;border-radius:50%;background:#36798a;color:#fff;font-size:.66rem}.speciation-guide small{display:block;margin-top:7px;font-size:.62rem;line-height:1.25;color:#92b5c1}.reseed-cue{margin:5px 0 2px;padding:4px 7px;border-left:2px solid #6ac6cf;background:#113547;color:#aee0e5;font-size:.64rem;letter-spacing:.01em}

.tile text.population-count{font-size:14px;font-weight:700;stroke:none;fill:#fff;font-variant-numeric:tabular-nums}.tile text.population-count.endangered{fill:#ff6e62}

.active-player{box-shadow:0 0 0 2px #6fd8d0,inset 0 0 28px #51d7c51a}.move-status{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:9px;margin:0 0 10px;background:#0b2533;border:1px solid #406878;border-radius:7px;color:#cceaf0;font-size:.75rem;line-height:1.25}.move-status>div{display:flex;gap:6px;flex-wrap:wrap}.move-status button{font:inherit;padding:5px 7px;border:1px solid #668c99;border-radius:5px;background:#153d50;color:#e5f5f4;cursor:pointer}.move-status .primary{background:#67d4c0;color:#072b2e;border-color:#67d4c0}.action-element{padding:0;border:0;border-radius:50%;background:transparent;line-height:0;cursor:default}.action-element.choose-element{cursor:pointer;outline:2px solid transparent;outline-offset:2px}.action-element.choose-element:hover,.action-element.choose-element:focus-visible{outline-color:#7af0dc}.element-slot{width:29px;height:29px;font-size:.48rem;display:grid;place-items:center}.action-space{font:inherit;text-align:left;color:inherit;cursor:default}.action-space.available-action{cursor:pointer;border-color:#77d6cf;box-shadow:0 0 0 1px #77d6cf55}.action-space.available-action:hover,.action-space.available-action:focus-visible,.action-space.selected-action{border-color:#c8fff8;background:#164151}.action-space:disabled{opacity:.5}.placed-action-pawn{background:var(--animal);border-color:#fff}.element.abundance-target circle{fill:#275a62;stroke:#7af0dc;stroke-width:3;stroke-dasharray:none;animation:abundance-pulse 1.15s ease-in-out infinite}.element.abundance-chosen circle{fill:#d6fff3;stroke:#fff;stroke-width:4}@keyframes abundance-pulse{50%{fill:#3c7b7d;stroke:#dcfffa}}

.speciation-links .linked-space:last-child{grid-template-columns:minmax(0,1fr);justify-items:stretch}.speciation-links .linked-space:last-child .linked-token,.speciation-links .linked-space:last-child .link-arrow{width:100%;justify-content:center;text-align:center}.speciation-links .linked-space:last-child .linked-token{position:relative}.speciation-links .special-any-token{box-sizing:border-box;position:absolute;left:50%;transform:translateX(-50%);margin:0}
.action-row{display:block;padding:13px 0}.action-heading{display:flex;justify-content:space-between;align-items:center;gap:8px}.pawn-spaces{display:grid;grid-template-columns:repeat(auto-fit,minmax(46px,1fr));gap:5px;margin-top:8px}.pawn-space{min-height:50px;border:1px solid #608291;border-radius:6px;background:#0a2331;padding:5px 3px;display:grid;grid-template-columns:14px 1fr;grid-template-rows:1fr auto;gap:2px 4px;align-items:center}.pawn-space span{font-size:.62rem;line-height:1.1;color:#c4dae5}.display-pawn{display:block;width:11px;height:20px;border:1px solid #d2e5ec;border-radius:48% / 18%;grid-row:1 / span 2;box-shadow:inset -2px 0 #fff2}.special-space{border-color:#e6ca7c;background:#2a291e}.special-space .display-pawn{background:#fbf7e8;border-color:#fff}.placed-special-pawn{position:relative;background:linear-gradient(135deg,#fff7c7 0%,#e1aa3c 55%,#855614 100%)!important;border:2px solid #ffe8a2!important;border-radius:42% / 14%;box-shadow:0 0 0 1px #71470d,inset 2px 2px #fff8,inset -2px -2px #633d0c}.placed-special-pawn::after{content:'';position:absolute;inset:2px;display:block;background:var(--special-icon) center/contain no-repeat}.special-space b{font-size:.72rem;color:#ffdc80;justify-self:end}.unavailable-space{opacity:.38;filter:grayscale(1)}
.element.autotrophs-target circle{fill:#604d27;stroke:#ffdc80;stroke-width:3;stroke-dasharray:none;animation:autotroph-pulse 1.15s ease-in-out infinite}@keyframes autotroph-pulse{50%{fill:#8a7034;stroke:#fff1bc}}
.needs .animal-element-remove-target{cursor:pointer;border:2px solid #ffaaa4;border-radius:50%;padding:1px;box-shadow:0 0 0 2px #ffaaa433}.needs .animal-element-remove-target:hover,.needs .animal-element-remove-target:focus-visible{background:#6b3038}
.element.depletion-target circle{fill:#653536;stroke:#ffaaa4;stroke-width:3;stroke-dasharray:none;animation:depletion-pulse 1.15s ease-in-out infinite}@keyframes depletion-pulse{50%{fill:#8d4b47;stroke:#ffe1db}}
.owned-element{padding:0;border:2px solid transparent;border-radius:50%;background:transparent;line-height:0}.owned-element:hover,.owned-element:focus-visible{border-color:#ffdc80}
.owned-element.selected-owned-element{border-color:#73e9d7;box-shadow:0 0 0 3px #73e9d755}.element.adaptability-swap-target circle{fill:#275a62;stroke:#73e9d7;stroke-width:3;animation:abundance-pulse 1.15s ease-in-out infinite}.element.adaptability-swap-disabled{opacity:.42}.element.adaptability-swap-disabled circle{stroke:#7b919b;stroke-dasharray:4 3}
.element.niche-construction-target circle{fill:#275a62;stroke:#73e9d7;stroke-width:3;animation:abundance-pulse 1.15s ease-in-out infinite}.element.niche-construction-source circle{stroke:#f3c766;stroke-width:3}.element.niche-construction-preview circle{fill:#275a62;stroke:#73e9d7;stroke-width:3}
.tile.omnivore-target polygon{stroke:#f3c766;stroke-width:3.4;filter:drop-shadow(0 0 7px #f3c76699)}.element.omnivore-element-target circle{fill:#653536;stroke:#ffaaa4;stroke-width:3;animation:depletion-pulse 1.15s ease-in-out infinite}.element.omnivore-element-selected circle{fill:#d6fff3;stroke:#fff;stroke-width:4}
.tile.trophic-cascade-target polygon{stroke:#bc8cf5;stroke-width:3.4;filter:drop-shadow(0 0 7px #bc8cf599)}.element.trophic-cascade-element-target circle{fill:#4c3b67;stroke:#d5b1ff;stroke-width:3;animation:speciation-pulse 1.15s ease-in-out infinite}.element.trophic-cascade-element-selected circle{fill:#d6fff3;stroke:#fff;stroke-width:4}
.tile.predator-target polygon{stroke:#ffaaa4;stroke-width:3.8;filter:drop-shadow(0 0 8px #ffaaa499)}
.player.disease-target{outline:3px solid #b98bff;outline-offset:3px;box-shadow:0 0 14px #b98bff88}
.tile.mass-exodus-target polygon{stroke:#f3c766;stroke-width:3.4}.tile.mass-exodus-destination polygon{stroke:#73e9d7;stroke-width:3.4}
.regression-cube{width:15px;height:15px;border:1px solid #c2dce5;background:#0a2331}.placed-regression-cube{background:var(--animal)}
.element.speciation-target circle{fill:#355675;stroke:#9acfff;stroke-width:3;stroke-dasharray:none;animation:speciation-pulse 1.15s ease-in-out infinite}@keyframes speciation-pulse{50%{fill:#4b789c;stroke:#e1f2ff}}
.wander-move-controls{display:grid;gap:7px;width:100%;padding-top:8px;border-top:1px solid #315366}.wander-move-controls>strong{font-size:.75rem;color:#e2f5f5}.wander-move-controls>span{display:grid;grid-template-columns:minmax(70px,1fr) 28px 48px 28px;align-items:center;gap:6px}.wander-move-controls small{color:#a9c9d5}.wander-move-controls b{text-align:center;font-variant-numeric:tabular-nums}.wander-move-controls>span button{padding:3px 0}.wander-move-controls>div{display:flex;gap:6px;flex-wrap:wrap}
.tile.migration-source polygon{stroke:#f3c766;stroke-width:3;filter:drop-shadow(0 0 5px #f3c76699)}.tile.migration-target polygon{stroke:#8ee8e0;stroke-width:3;filter:drop-shadow(0 0 5px #8ee8e099)}.tile.tectonics-target polygon{stroke:#f5d66f;stroke-width:3.4;filter:drop-shadow(0 0 7px #f5d66faa)}.tile.biomass-target polygon{stroke:#f38a70;stroke-width:3.4;filter:drop-shadow(0 0 7px #f38a7099)}.tile.population-explosion-target polygon{stroke:#bc8cf5;stroke-width:3.4;filter:drop-shadow(0 0 7px #bc8cf599)}.tile.solar-radiation-target polygon{stroke:#f2bf62;stroke-width:3.8;filter:drop-shadow(0 0 8px #f2bf62cc);animation:solar-radiation-pulse 1.1s ease-in-out infinite}@keyframes solar-radiation-pulse{50%{stroke:#fff0ad;filter:drop-shadow(0 0 11px #fff0adaa)}}.tile.profligate-carnivore-target polygon{stroke:#ef7666;stroke-width:3.8;filter:drop-shadow(0 0 8px #ef7666cc);animation:profligate-carnivore-pulse 1.1s ease-in-out infinite}@keyframes profligate-carnivore-pulse{50%{stroke:#ffd0b4;filter:drop-shadow(0 0 11px #ffd0b4aa)}}.tile.asteroid-impact-target polygon{stroke:#eee8db;stroke-width:3.4;filter:drop-shadow(0 0 8px #eee8dbbb);animation:asteroid-impact-pulse 1s ease-in-out infinite}@keyframes asteroid-impact-pulse{50%{stroke:#fff;filter:drop-shadow(0 0 13px #ffffffcc)}}.tile.asteroid-adjacent-target polygon{stroke:#d491e8;stroke-width:3.6;filter:drop-shadow(0 0 8px #d491e8cc)}.variant-choice{display:grid;grid-template-columns:auto 1fr;gap:8px;align-items:center;margin:12px 0;color:#e6f3f7}.variant-choice input{min-width:auto;width:18px;height:18px}.variant-choice small{grid-column:2;color:#aac2cf;font-size:.8rem}.specials{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px 8px;justify-content:initial}.special{min-width:0}.special small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.tile-scoring{margin:30px 16px 0;padding:11px;border:1px solid #426b7a;border-radius:8px;background:#0a2331;color:#d7edf0}.tile-scoring>strong{display:block;margin-bottom:7px;font-size:.82rem;text-transform:uppercase;letter-spacing:.06em}.tile-scoring table{width:100%;border-collapse:collapse;font-size:.72rem;text-align:center}.tile-scoring th,.tile-scoring td{padding:4px;border-bottom:1px solid #264858}.tile-scoring th:first-child,.tile-scoring td:first-child{text-align:left}.tile-scoring th{color:#94cbd0;font-weight:600}.tile-scoring small{display:block;margin-top:7px;color:#9bc0ca;font-size:.64rem}.ocean-panel>.evolution-area,.ocean-panel>.wanderlust-area{margin:28px 16px 0}.ocean-panel>.wanderlust-area{margin-bottom:16px}
.score-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:4px 14px;font-size:.72rem}.score-list span{display:flex;justify-content:space-between;gap:6px;border-bottom:1px solid #264858;padding:3px 0}.score-list b{color:#f4dea0;white-space:nowrap}@media(max-width:520px){.score-list{grid-template-columns:1fr}}.evolution-card{font:inherit;color:inherit;text-align:inherit;padding:0}.evolution-card:disabled{cursor:default;opacity:.72}.evolution-card.card-available{cursor:pointer;opacity:1;border-color:#e0bd69;box-shadow:0 0 0 2px #e0bd6955}.evolution-card.card-available:hover,.evolution-card.card-available:focus-visible{transform:translateY(-2px);box-shadow:0 0 0 3px #e0bd6999;outline:none}

/* The special-pawn and food-chain references are read often, so keep them dense. */
aside .panel:has(#specials),aside .panel:has(#chain){padding:14px 16px;margin-bottom:11px}
aside .panel:has(#specials) h3,aside .panel:has(#chain) h3{margin-bottom:8px}
#specials{gap:7px 6px}
#specials .special{gap:3px;font-size:.7rem;line-height:1.05}
#specials .special .disk{width:21px;height:21px}
#chain .chain-row{gap:7px;padding:3px 0;font-size:.8rem}
#chain .cube{width:10px;height:10px}
#chain+.muted{margin:4px 0 0;font-size:.74rem;line-height:1.25}

/* The board already shows its terrain, elements, and populations. */
.table-heading>div:first-child{display:none}.table-heading{justify-content:flex-end}
#inspector{display:none}
.ocean-panel>.wanderlust-area{margin:16px 16px 0}.ocean-panel>.evolution-area{margin:16px 16px 0}.ocean-panel>.tile-scoring{margin:16px}

#online-room.online-game-toolbar{max-width:1700px;margin:14px auto 0}
#online-room.online-game-toolbar #online-last-action{flex:0 0 auto;max-width:100%!important;text-align:left;overflow:visible!important;text-overflow:clip!important;overflow-wrap:anywhere}
#copy-online-rejoin{padding:6px 8px;font-size:.75rem}

.evolution-card-reader{width:min(620px,calc(100vw - 32px));padding:26px}.evolution-card-reader h2{color:#f2d98c;margin:7px 0 22px}.evolution-card-reader section{padding:14px 0;border-top:1px solid #426b7a}.evolution-card-reader section strong,.reader-slot{color:#8fe2d6;letter-spacing:.08em;text-transform:uppercase;font-size:.72rem}.evolution-card-reader section p{margin:7px 0 0;font-size:1rem;line-height:1.55}.evolution-card-reader .dialog-actions{justify-content:flex-end}
