*{box-sizing:border-box}body{margin:0!important;padding:0!important}.game{color:#e5ecec;max-width:1800px;margin:auto;padding:20px 28px;font:14px/1.45 system-ui,sans-serif}.game h1{margin:4px 0 8px;font-size:26px}.game h2{font-size:20px}.game h3{font-size:15px}.game p{margin:8px 0 14px}.game a{color:#efd09b}.game header{justify-content:space-between;align-items:center;gap:20px;display:flex}.game .eyebrow{letter-spacing:2px;color:#aabfc7;margin:0;font-size:11px}.game button,.game input,.game select{font:inherit;color:inherit;background:#273e49;border:1px solid #617983;border-radius:6px;padding:8px 10px}.game button{cursor:pointer}.game button:hover:not(:disabled){background:#3c5663}.game button:disabled{opacity:.42;cursor:default}.game button:focus-visible,.game input:focus-visible,.game select:focus-visible,.game g:focus-visible{outline:3px solid #ffe2a3}.game label{align-items:center;gap:9px;display:flex}.game input{min-width:0}.game input[type=checkbox]{width:18px;height:18px}.game .actions{flex-wrap:wrap;align-items:center;gap:8px;display:flex}.game small{color:#acbfc7;font-size:12px}.game .match-bar{border-block:1px solid #425761;flex-wrap:wrap;align-items:center;gap:14px;margin-bottom:14px;padding:12px 0;display:flex}.game .match-bar small{margin-left:auto}.game .match-bar [role=status]{color:#c3dcab}.game .play-layout{grid-template-columns:minmax(0,1fr) 310px;gap:18px;display:grid}.game .information{background:#1c323d;border:1px solid #415c68;border-radius:10px;min-height:420px;max-height:calc(100vh - 190px);padding:18px;position:sticky;top:12px;overflow:auto}.game nav{gap:8px;display:flex}.game [aria-pressed=true]{border-color:#ffe2a3}.game-board{border:1px solid #415c68;border-radius:10px;overflow:hidden}.game-board svg{touch-action:none;width:100%;height:clamp(350px,52vh,720px);display:block}.game .area-hit,.game .unit-hit{cursor:pointer}.game .board-tools,.game .board-legend{background:#1c323d;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:12px;padding:9px 12px;font-size:11px;display:flex}.game .unit-row{border-bottom:1px solid #41545e;flex-wrap:wrap;padding:8px 0}.game .unit-row small{width:100%;padding-left:28px}.game .order-entry{text-align:left;width:100%;margin:8px 0;display:block}.game .targets{background:#344c55;margin-top:12px;padding:10px}.game .targets button{margin:3px}.game .results{margin-top:12px}.game .history{background:#172d37;max-height:280px;padding:0 14px;overflow:auto}.game .history ul{padding-left:20px}.game .history li{margin:6px 0}.game button.text-button{color:#efd09b;background:0 0;border:0;padding:0;text-decoration:underline}.game .error{color:#ffe4d3;background:#50372c;border:1px solid #f1af89;margin-bottom:14px;padding:14px}.game .finished{background:#304a3a;border-radius:8px;margin-bottom:15px;padding:12px 20px}.game hr{border:0;border-top:1px solid #41545e;margin:20px 0}.game .victory-dialog{color:#1f1c16;text-align:center;background:#ffdc55;border:2px solid #242017;width:min(760px,100% - 32px);max-height:calc(100% - 32px);margin:0;padding:clamp(24px,5vw,56px);position:fixed;inset:auto;transform:translate(-50%,-50%)}.game .victory-dialog::backdrop{background:#0a121659}.game .victory-dialog h2{margin:0;font-size:clamp(56px,9vw,112px);font-weight:650;line-height:1.06}.game .victory-dialog p{margin:18px 0 28px;font-size:clamp(24px,4vw,40px)}.game .victory-dialog button{color:#f4f7f7;padding-inline:24px}.game .winner-marker{color:#ffdc55}.game.menu{max-width:1180px;padding-top:48px}.game .new-match{border:1px solid #415c68;border-radius:10px;flex-wrap:wrap;align-items:center;gap:18px;margin:32px 0;padding:22px;display:flex}.game .new-match h2{width:100%;margin:0}.game .new-match input{width:180px}.game .save-row{border-top:1px solid #415c68;justify-content:space-between;align-items:center;gap:20px;padding:16px 0;display:flex}.game .save-row p{color:#acbfc7;font-size:12px}.game footer{color:#acbfc7;margin-top:30px}@media (max-width:1000px){.game{padding:12px}.game .play-layout{grid-template-columns:minmax(0,1fr) 280px}.game header{align-items:flex-start}.game .match-header .actions{max-width:400px}}.game .terrain-board svg{height:clamp(490px,68vh,900px)}.game .terrain-board text{paint-order:stroke;stroke:#12252d;stroke-width:3px;stroke-linejoin:round}.game-board svg[data-panning=true],.game-board svg[data-panning=true] *{cursor:grabbing!important}.game [aria-label=Support\ recipient] button[aria-pressed=true]{background:#526a49;outline:2px solid #fff0b0;font-weight:700}.game .technology-icon{object-fit:contain;vertical-align:middle;flex-shrink:0;margin-right:7px;display:inline-block}.game .technology-title{overflow-wrap:anywhere;align-items:center;gap:7px;min-width:0;display:flex}.game .technology-title .technology-icon{margin-right:0}.technology-tree{background:#12252d;border:1px solid #49626c;border-radius:12px;overflow:hidden}.tree-scroll{min-height:360px;max-height:70vh;overflow:auto}.tree-canvas{position:relative}.tree-lines{pointer-events:none;position:absolute;inset:0}.technology-card{text-align:left;color:#fff;background:#243d47;border:2px solid #7a959e;border-radius:12px;flex-direction:column;justify-content:center;gap:8px;width:180px;height:110px;padding:16px;display:flex;position:absolute}.technology-card.empty{color:#bbcbd0;border-style:dashed}.technology-card.selected{outline-offset:4px;outline:3px solid #fff0b0}.technology-card.military,.technology-offer.military{background:#492b31;border-color:#ec8d87}.technology-card.economy,.technology-offer.economy{background:#213d57;border-color:#79b9ee}.technology-card.environment,.technology-offer.environment{background:#533c25;border-color:#efb875}.tier-badge{background:#14262d;border:2px solid;border-radius:50%;place-items:center;width:32px;height:32px;font-weight:700;display:grid;position:absolute;top:-12px;right:-12px}.technology-offer{text-align:left;color:#fff;border:2px solid;border-radius:10px;flex-direction:column;gap:10px;width:100%;margin:12px 0;padding:16px;display:flex}.technology-offer[aria-pressed=true]{outline-offset:2px;outline:3px solid #fff0b0}.game .information{align-self:start;min-width:0;min-height:0;max-height:calc(100dvh - 24px);padding:16px;overflow:auto}.game .information h2{overflow-wrap:anywhere;margin:18px 0 12px;font-size:19px}.game .information h3{margin:14px 0 8px}.game .information p{margin:8px 0}.game .strength-lines{margin:8px 0;padding:0;list-style:none}.game .strength-lines li{margin:5px 0}.game .area-orders button[aria-pressed=false]{color:#bfc8cc;background:#343d43;border-color:#59646b}.game .area-orders button[aria-pressed=true]{color:#fff;background:#526a49;border-color:#fff0b0;box-shadow:0 0 0 1px #fff0b0}.game .area-orders button[aria-pressed=false]:hover:not(:disabled){color:#fff;background:#4a555d}.game .sr-only{clip-path:inset(50%);white-space:nowrap;border:0;width:1px;height:1px;margin:-1px;padding:0;position:absolute;overflow:hidden}@media (max-width:720px){.game .play-layout{grid-template-columns:minmax(0,1fr)}.game .information{max-height:none;position:static}.game header{flex-wrap:wrap}.game .match-header .actions{max-width:100%}.game .match-bar{gap:10px}.game .board-tools{gap:8px}.game .information nav{flex-wrap:wrap}}.game .area-orders button[aria-pressed=true]:disabled{opacity:1}.game .illustrated-board .area-hit text{stroke:#d8d0b9;stroke-width:3px;fill:#292f29}.game .illustrated-board .area-hit path[stroke=\#ffdf6f]{filter:drop-shadow(0 0 1px #293934)}.game .area-hit:focus{outline:none}.game .area-hit:focus-visible>path:last-of-type,.game .area-hit:focus-visible>rect{stroke:#ffe2a3;stroke-width:5px}.game .game-icon{object-fit:contain;vertical-align:middle;flex-shrink:0;margin-right:7px;display:inline-block}.game .information h2 .game-icon{margin-right:9px}.game .place-name{stroke-linejoin:round;paint-order:stroke;font-family:Palatino Linotype,Book Antiqua,Georgia,serif;font-style:italic;font-weight:600;fill:#fff3cc!important;stroke:#25271e!important;stroke-width:3px!important}.game .river-name{stroke:#18313c!important;stroke-width:3px!important}.game .resource-map-icon{filter:drop-shadow(0 1px 1px #14251c)drop-shadow(0 0 1px #fff0cb)}.game .workspace-toolbar{background:#1c323d;border:1px solid #415c68;border-radius:8px 8px 0 0;flex-wrap:wrap;align-items:center;gap:10px;padding:6px 10px;display:flex}.game .workspace-status{flex-wrap:wrap;flex:1;justify-content:center;gap:6px 12px;display:flex}.game .workspace-toolbar+.game-board{border-top:0;border-radius:0 0 8px 8px}.game .standings{margin:8px 0;padding:0;list-style:none}.game .standings li{align-items:center;gap:8px;padding:3px 0;display:flex}.game .standings-dot{border-radius:50%;flex:none;width:9px;height:9px}
