@import "https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&display=swap";:root{color:#273841;--blue:#297fa5;--ink:#273841;--muted:#77858c;--paper:#fafbf8;--line:#d3dce0;background:#e5edf1;font-family:Outfit,ui-rounded,Avenir Next,system-ui,sans-serif}*{box-sizing:border-box}body{margin:0;overflow:hidden}button,input,select{font:inherit}button{cursor:pointer;color:inherit}button:disabled{cursor:default;opacity:.4}button:focus-visible,select:focus-visible,input:focus-visible{outline-offset:3px;outline:3px solid #23a1d5}button{background:0 0;border:0}#app{isolation:isolate;background:radial-gradient(at 50% 40%,#f4f7f5 0%,#e4edf1 60%,#d9e6ec 100%);height:100dvh;min-height:530px;position:relative}.topbar{z-index:5;pointer-events:none;justify-content:space-between;align-items:center;width:100%;height:108px;padding:28px 38px;display:flex;position:absolute;top:0;left:0}.topbar>*{pointer-events:auto}.brand{text-align:left;letter-spacing:3px;align-items:center;gap:12px;padding:0;font-size:22px;font-weight:800;display:flex}.brand small{letter-spacing:2.8px;color:#7c8b93;margin-top:3px;font-size:9px;font-weight:500;display:block}.brand-mark{color:#fff;clip-path:polygon(50% 0,100% 25%,100% 75%,50% 100%,0 75%,0 25%);background:#2e414b;place-items:center;width:42px;height:42px;padding-left:3px;font-size:25px;display:grid}.scoreboard{align-items:center;gap:30px;height:65px;display:flex;position:absolute;left:50%;transform:translate(-50%)}.tribe{align-items:center;gap:10px;font-size:19px;font-weight:600;display:flex}.tribe small{color:var(--muted);margin-top:3px;font-size:11px;font-weight:400;display:block}.tribe-dot{background:var(--blue);border:3px solid #fff;border-radius:50%;width:14px;height:14px;box-shadow:0 1px 5px #74919e55}.stars{grid-template-columns:30px auto;align-items:center;column-gap:5px;display:grid;position:relative}.stars>span{color:#dbb54a;font-size:34px;line-height:1}.stars strong{font-size:30px;font-weight:600;line-height:1}.stars small{letter-spacing:1.6px;color:#849199;text-align:center;grid-column:2;margin-top:4px;font-size:9px}.round{text-align:center;border-left:1px solid #cbd6da;flex-direction:column;padding-left:25px;display:flex}.round strong{font-size:27px;font-weight:600;line-height:1}.round small{color:#849199;letter-spacing:1.6px;margin-top:7px;font-size:9px}.mode-badge{letter-spacing:1.5px;background:#ffffff70;border:1px solid #fff8;border-radius:30px;align-items:center;gap:10px;padding:12px 15px;font-size:10px;display:flex}.mode-badge>span:first-child{background:#d29a47;border-radius:50%;width:6px;height:6px}#board-wrap{touch-action:none;position:absolute;inset:0;overflow:clip}#board{width:100%;height:100%;display:block}#tile-controls{pointer-events:none;transform-origin:0 0;will-change:transform;position:absolute;inset:0}.tile-hit{pointer-events:auto;opacity:0;clip-path:polygon(50% 0,100% 50%,50% 100%,0 50%);border:0;padding:0;position:absolute}.tile-hit:focus-visible{opacity:.5;background:#47b4ed;outline:none}.game-info{pointer-events:none;max-width:260px;position:absolute;top:130px;left:40px}.eyebrow{letter-spacing:2px;color:#87959b;font-size:9px;font-weight:600}.game-info h1{margin:10px 0 6px;font-size:19px;font-weight:500;line-height:1.3}.game-info>div:not(.eyebrow){color:#77878f;font-size:11px;line-height:1.7}.text-button{color:#52798c;pointer-events:auto;margin-top:13px;padding:0;font-size:11px}.board-tools{flex-direction:column;gap:8px;display:flex;position:absolute;top:43%;right:30px}.board-tools button{color:#70848f;background:#ffffff9c;border:1px solid #fff;border-radius:50%;width:33px;height:33px;font-size:19px}.board-tools button:hover{background:#fff}#status{letter-spacing:.2px;color:#738891;white-space:nowrap;background:#eff4f1b8;border-radius:20px;align-items:center;gap:7px;padding:7px 13px;font-size:11px;display:flex;position:absolute;top:115px;left:50%;transform:translate(-50%)}.status-dot{background:#6b9d8a;border-radius:50%;width:5px;height:5px}.game-nav{align-items:center;gap:29px;display:flex;position:absolute;bottom:32px;left:50%;transform:translate(-50%)}.game-nav button{flex-direction:column;align-items:center;gap:9px;min-width:68px;font-size:11px;display:flex}.round-icon{color:#fff;background:#31444e;border:2px solid #fff;border-radius:50%;place-items:center;width:51px;height:51px;font-size:26px;transition:transform .15s;display:grid;box-shadow:0 3px #c8d5dc,0 6px 12px #8095a51c}.round-icon svg{fill:none;stroke:#fff;stroke-width:1.8px;width:30px}.game-nav button:hover .round-icon{transform:translateY(-3px)}.round-icon.end-icon{background:#3c89a8;font-size:32px}.game-nav button:disabled .round-icon{background:#8ba0aa}.replay-dock{background:#fcfdf9ed;border:1px solid #fff;border-radius:12px;align-items:center;gap:14px;width:min(720px,100% - 40px);padding:11px 16px;display:flex;position:absolute;bottom:135px;left:50%;transform:translate(-50%);box-shadow:0 6px 25px #506c7b12}.transport{align-items:center;gap:2px;display:flex}.transport button{min-width:24px;padding:5px;font-size:16px}.transport .play-button{color:#fff;background:#314650;border-radius:50%;width:32px;height:32px;margin:0 4px;padding-left:8px;font-size:12px}.timeline{flex:1;min-width:60px}.timeline-label{color:#60727b;justify-content:space-between;gap:10px;font-size:10px;display:flex}.timeline-label>span:first-child{text-overflow:ellipsis;white-space:nowrap;max-width:220px;overflow:hidden}#frame-count{white-space:nowrap;color:#a0adb2;font-variant-numeric:tabular-nums;font-size:9px}input[type=range]{accent-color:#4e91ad;cursor:pointer;width:100%;height:4px;margin:8px 0 0}select{color:#607581;background:#eef2f1;border:0;border-radius:5px;max-width:120px;padding:6px;font-size:10px}.selection{text-align:center;z-index:6;background:#fffffff5;border:1px solid #fff;border-radius:14px;min-width:280px;max-width:min(650px,100vw - 40px);padding:20px 26px;position:absolute;bottom:210px;left:50%;transform:translate(-50%);box-shadow:0 8px 32px #35556824}.selection h2{margin:5px 0;font-size:22px;font-weight:500}.actions{flex-wrap:wrap;justify-content:center;gap:10px;max-height:160px;display:flex;overflow:auto}.action-button{background:#f4f8f8;border:1px solid #dce5e8;border-radius:9px;min-width:72px;padding:10px 13px;font-size:11px}.action-button small{color:#89989d;margin-top:4px;display:block}.action-button.danger{color:#c05450}.close{color:#8e9b9f;padding:2px 5px;font-size:25px;position:absolute;top:8px;right:12px}.hidden{display:none!important}footer{letter-spacing:.4px;color:#8b9ca4;pointer-events:none;font-size:8px;position:absolute;bottom:13px;left:25px}#toast{color:#fff;z-index:20;background:#33444ef2;border-radius:10px;max-width:90vw;padding:14px 22px;font-size:13px;position:absolute;bottom:230px;left:50%;transform:translate(-50%);box-shadow:0 5px 20px #0002}dialog{color:var(--ink);background:#fafcf9;border:1px solid #fff;border-radius:20px;width:min(660px,100vw - 28px);max-height:85dvh;padding:35px;box-shadow:0 20px 100px #233e5940}dialog h2{margin:9px 0 10px;font-size:30px;font-weight:500}dialog p{color:#77878f;font-size:13px;line-height:1.7}.menu-cards{grid-template-columns:1fr 1fr;gap:12px;margin:22px 0;display:grid}.menu-card{text-align:left;background:#f0f5f4;border:1px solid #d9e4e6;border-radius:12px;padding:22px}.menu-card strong{margin-bottom:7px;font-size:19px;font-weight:500;display:block}.menu-card small{color:#71868f;font-size:11px;line-height:1.5;display:block}.menu-card.primary{color:#fff;background:#2c738f;border-color:#2c738f}.menu-card.primary small{color:#c0d8e1}.menu-row{flex-wrap:wrap;align-items:center;gap:12px;margin:16px 0;font-size:12px;display:flex}.menu-row input{color:#4e6876;background:#fff;border:1px solid #d5e0e3;border-radius:6px;width:145px;padding:8px}.pill{border:1px solid #d1dee2;border-radius:8px;padding:8px 12px;font-size:12px}.library-item{text-align:left;border-bottom:1px solid #e3e9e8;align-items:center;gap:12px;width:100%;padding:16px 0;display:flex}.library-item strong{font-size:14px;font-weight:500;display:block}.library-item small{color:#89999e;margin-top:4px;font-size:11px;display:block}.library-item>span:first-child{background:#e6eff0;border-radius:10px;padding:9px;font-size:22px}.tech-grid{grid-template-columns:repeat(5,1fr);gap:10px;margin-top:20px;display:grid}.tech-branch{flex-direction:column;gap:8px;display:flex}.tech{background:#edf1ef;border:1px solid #dce4e3;border-radius:8px;min-height:55px;padding:8px 4px;font-size:10px}.tech.researched{color:#37755b;background:#d9ece5;border-color:#b5d7c7}.tech.available{color:#347a9a;background:#e2f2f9;border-color:#8bbcd1}.tech small{color:#819198;margin-top:4px;font-size:9px;display:block}.detail-table{border-collapse:collapse;width:100%;margin-top:20px;font-size:12px}.detail-table td{overflow-wrap:anywhere;border-bottom:1px solid #e0e8e8;padding:10px 0}.detail-table td:first-child{color:#7d9098;width:35%}.history-row{cursor:pointer;border-bottom:1px solid #e3e9e8;gap:15px;padding:12px 0;font-size:12px;display:flex}.history-row small{color:#8a9ba2}.busy .status-dot{animation:1s infinite pulse}@keyframes pulse{50%{opacity:.3}}@media (width<=760px){.topbar{height:85px;padding:18px}.brand{letter-spacing:2px;gap:7px;font-size:15px}.brand-mark{width:30px;height:30px;font-size:20px}.brand small{letter-spacing:1.6px;font-size:7px}.scoreboard{gap:14px;left:auto;right:18px;transform:none}.tribe{display:none}.stars strong{font-size:24px}.stars>span{font-size:28px}.round{padding-left:14px}.round strong{font-size:23px}.mode-badge{display:none}.game-info{max-width:180px;top:100px;left:20px}.game-info h1{font-size:15px}.game-info>div:not(.eyebrow){font-size:10px}.game-info .text-button{display:none}#status{white-space:normal;max-width:90vw;font-size:10px;top:180px}.board-tools{right:12px}.replay-dock{gap:7px;width:calc(100% - 24px);padding:10px;bottom:125px}.transport{gap:0}.transport button{min-width:19px;padding:3px}.transport .play-button{width:27px;height:27px;margin:0 2px}.replay-dock select{max-width:82px;padding:5px;font-size:9px}#speed{display:none}.timeline-label>span:first-child{max-width:90px}.game-nav{gap:18px;bottom:28px}.game-nav button{min-width:54px;font-size:10px}.round-icon{width:45px;height:45px}.selection{bottom:195px}.selection h2{font-size:19px}footer{text-align:center;width:100%;font-size:7px;bottom:5px;left:0}.tech-grid{gap:5px}.tech{font-size:9px}dialog{padding:26px 18px}.menu-card{padding:15px}.menu-card strong{font-size:17px}}.tech-tree{aspect-ratio:1;width:100%;margin-top:8px;position:relative}.tech-tree>svg{width:100%;height:100%;position:absolute;inset:0}.tech-tree .tech{color:#809097;opacity:1;background:0 0;border:0;flex-direction:column;align-items:center;gap:3px;width:76px;min-height:0;padding:0;font-size:10px;line-height:1.2;display:flex;position:absolute;transform:translate(-50%,-50%)}.tech-icon{color:#a2b3af;background:#f6f8f4;border:1px solid #c9d6d4;border-radius:50%;place-items:center;width:29px;height:29px;font-size:18px;display:grid;box-shadow:0 2px #e1e7e2}.tech-tree .tech.researched{color:#4f7e6c}.tech.researched .tech-icon{color:#4c8d6e;background:#dceee5;border-color:#afcfbf}.tech-tree .tech.available{color:#277e9d}.tech.available .tech-icon{color:#277f9f;background:#e2f2f8;border-color:#5babc6}.tech-tree .tech small{color:#95a39e;margin:0;font-size:8px}.tech-center{color:#fff;background:#304650;border:3px solid #fff;border-radius:50%;place-items:center;width:46px;height:46px;font-size:25px;font-weight:700;display:grid;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);box-shadow:0 0 0 1px #cbdcd9}@media (width<=760px){.tech-tree .tech{gap:2px;width:58px;font-size:8px}.tech-icon{width:22px;height:22px;font-size:14px}.tech-tree .tech small{font-size:7px}.tech-center{width:35px;height:35px;font-size:19px}}:root{color:#fff;--ink:#fff;--muted:#ccc;--line:#666;--paper:#080b0f;background:#000;font-family:Josefin Sans,Avenir Next,sans-serif}#app{background:#000;min-height:400px}.topbar{pointer-events:none;background:linear-gradient(#000b,#0000);height:110px;padding:0}.brand,.mode-badge,.game-info,footer{display:none}.scoreboard{color:#fff;text-shadow:0 2px 3px #000a;pointer-events:none;gap:30px;height:auto;display:flex;position:absolute;top:25px;left:50%;right:auto;transform:translate(-50%)}.hud-stat{white-space:nowrap;flex-direction:column;align-items:center;gap:5px;min-width:70px;display:flex}.hud-stat>span{font-size:22px;font-style:italic;font-weight:400;line-height:1}.hud-stat strong{font-size:39px;font-weight:300;line-height:1.05}.hud-stars>div{justify-content:center;align-items:center;gap:6px;display:flex}.hud-stars img{object-fit:contain;width:34px;height:34px}#status{color:#fff;z-index:3;opacity:0;background:#000b;font-size:12px;transition:opacity .2s;top:100px}#status.busy{opacity:1}#status{pointer-events:none}.status-dot{background:#1dd147}.board-tools{z-index:4;opacity:.4;top:47%;right:18px}.board-tools:hover{opacity:1}.board-tools button{color:#fff;background:#0008;border:1px solid #fff7}.game-nav{z-index:7;gap:30px;bottom:20px}.game-nav:before{content:"";z-index:-1;pointer-events:none;background:linear-gradient(#0000,#000b 75%,#000);width:100vw;height:160px;position:fixed;bottom:-25px;left:50%;transform:translate(-50%)}.game-nav button{text-shadow:0 1px 3px #000;gap:5px;min-width:90px;font-size:20px;font-style:italic;font-weight:400}.round-icon{background:#000c;border:3px solid #fff;border-radius:50%;width:84px;height:84px;box-shadow:0 0 6px #0003}.round-icon svg{stroke:#fff;stroke-width:6px;stroke-linecap:round;stroke-linejoin:round;width:49px;height:49px}.round-icon.menu-icon svg{width:48px;height:48px}.stats-icon,.tech-nav-icon{background:radial-gradient(circle at 50% 35%,#75d3f3,#139ee4 65%,#007cba)}.stats-icon img{object-fit:contain;filter:drop-shadow(0 3px 1px #00588077);width:64px;height:67px}.round-icon.tech-nav-icon svg{width:44px;height:57px}.round-icon img.nav-real{object-fit:contain;width:55%;height:55%}.round-icon.stats-icon img.nav-real{width:70%;height:76%}.round-icon.tech-nav-icon img.nav-real{height:62%}.round-icon.end-icon{background:radial-gradient(circle at 40% 30%,#82dcf6,#12a1e6 65%,#0081bd)}.game-nav button:hover .round-icon{filter:brightness(1.13);transform:none}.game-nav button:disabled{opacity:1;color:#ddd}.game-nav button:disabled .end-icon{background:#000b}.game-nav button:disabled .end-icon svg{opacity:.85}.replay-dock{color:#fff;box-shadow:none;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);z-index:6;background:#000b;border:1px solid #ffffff50;border-radius:4px;bottom:143px}.transport .play-button{background:#149be4;border:1px solid #fff7}.timeline-label{color:#fff}.timeline-label #frame-count{color:#bbb}select{color:#fff;background:#0005;border:1px solid #fff5;border-radius:2px}select option{color:#fff;background:#111}input[type=range]{accent-color:#16b6f5}.selection{color:#fff;z-index:8;background:#000d;border:1px solid #fff8;border-radius:3px;min-width:290px;padding:20px;bottom:145px;box-shadow:0 6px 20px #0007}.selection h2{font-size:28px;font-weight:400}.selection p{color:#ddd;font-size:14px}.eyebrow{color:#aaa;letter-spacing:1px}.action-button{color:#fff;background:radial-gradient(at 50% 0,#3d9dc0,#126087);border:1px solid #fff;border-radius:3px;min-width:85px;padding:12px;font-size:14px}.action-button:hover{background:#209ad2;border-color:#fff}.action-button small{color:#ddd}.action-button.danger{color:#fff;background:#913b2c}.actions>small{color:#ddd;font-size:13px}.close{color:#fff;font-weight:300;top:5px;right:10px}dialog{color:#fff;background:#05090ef2;border:1px solid #fff7;border-radius:4px;width:min(660px,100vw - 24px);padding:32px;box-shadow:0 10px 100px #000}dialog::backdrop{-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);background:#0009}dialog h2{font-size:34px;font-weight:400}dialog p{color:#ccc;font-size:15px}dialog .eyebrow{color:#aaa}.menu-card{color:#fff;background:#121d24;border:1px solid #fff7;border-radius:4px}.menu-card:hover{background:#1a4d64;border-color:#fff}.menu-card strong{font-size:23px;font-weight:400}.menu-card small{color:#ccd8de;font-size:13px}.menu-card.primary{background:linear-gradient(#239fdf,#157ab9);border:1px solid #fff}.menu-row{font-size:15px}.menu-row input{color:#fff;background:#131b20;border-color:#66737c}.pill{color:#fff;border:1px solid #aaa;border-radius:3px;font-size:14px}.pill:hover{background:#234354}.library-item{border-color:#fff3}.library-item>span:first-child{background:#1f3b4e}.library-item strong{font-size:17px}.library-item small{color:#aaa;font-size:13px}.detail-table{font-size:15px}.detail-table td{border-color:#fff3}.detail-table td:first-child{color:#aaa}.history-row{border-color:#fff3;font-size:15px}#toast{background:#0c1e2aee;border:1px solid #fff8;border-radius:3px;font-size:15px;bottom:145px}.tech-tree .tech{color:#777;background:#000;border:2px solid #555;border-radius:50%;justify-content:center;gap:3px;width:80px;height:80px;font-size:11px;font-style:italic}.tech-tree .tech.researched{color:#fff;background:radial-gradient(circle at 35% 25%,#4fea6e,#00bc29 75%);border-color:#06c934}.tech-tree .tech.available{color:#fff;background:radial-gradient(circle at 35% 25%,#75d0f0,#009cff 75%);border-width:3px;border-color:#ff4d00}.tech-tree .tech-icon{box-shadow:none;width:29px;height:29px;color:inherit;background:0 0;border:0}.tech-tree .tech-icon img{object-fit:contain;width:38px;height:34px}.tech-tree .tech small{color:inherit;font-size:10px}.tech-center{box-shadow:none;background:0 0;border:0;width:70px;height:70px}.tech-center img{object-fit:contain;width:100%;height:100%}@media (width<=760px){.topbar{height:90px}.scoreboard{gap:20px;top:17px}.hud-stat{gap:3px;min-width:46px}.hud-stat>span{font-size:16px}.hud-stat strong{font-size:28px}.hud-stars img{width:25px;height:25px}.game-nav{justify-content:space-between;gap:14px;width:calc(100% - 28px);max-width:420px;bottom:13px}.game-nav button{white-space:nowrap;gap:4px;min-width:67px;font-size:15px}.round-icon{border-width:2px;width:65px;height:65px}.round-icon svg{stroke-width:6px;width:40px;height:40px}.round-icon.menu-icon svg{width:40px;height:40px}.stats-icon img{width:50px;height:52px}.round-icon.tech-nav-icon svg{width:34px;height:43px}.game-nav:before{height:125px}.replay-dock{gap:6px;width:calc(100% - 24px);padding:8px;bottom:113px}.timeline-label{font-size:10px}.selection{min-width:280px;max-width:calc(100% - 24px);bottom:114px}.selection h2{font-size:25px}.selection p{font-size:13px}.board-tools{opacity:1;top:42%;right:10px}#recenter{color:#fff;background:#0b1a24d9;border-color:#ffffffb3}#zoom-in,#zoom-out{display:none}#status{max-width:90vw;font-size:12px;top:83px}.tech-tree .tech{border-width:1px;gap:1px;width:49px;height:49px;font-size:7px}.tech-tree .tech.available{border-width:2px}.tech-tree .tech small{font-size:7px}.tech-tree .tech-icon{width:20px;height:17px;font-size:12px}.tech-tree .tech-icon img{width:23px;height:21px}.tech-center{width:44px;height:44px}#toast{bottom:113px}dialog{padding:25px 17px}.menu-card strong{font-size:21px}}.technology-dialog{background:#000e;border:0;width:min(900px,100vw);max-width:100vw;height:min(950px,100dvh);max-height:100dvh;padding:24px}.technology-dialog h2{text-align:center;margin:10px}.technology-dialog .eyebrow,.technology-dialog p{display:none}.technology-dialog .tech-tree{max-width:740px;margin:20px auto}.technology-dialog .tech{width:88px;height:88px}.technology-dialog .tech-icon{width:45px;height:40px}.technology-dialog .tech-icon img{width:48px;height:46px}.technology-dialog .tech small{font-style:normal}.tech:not(.available):not(.researched) img{filter:grayscale();opacity:.5}@media (width<=760px){.technology-dialog{padding:16px 0;display:block}.technology-dialog:not([open]){display:none}.technology-dialog .tech-tree{width:100%;max-width:none;margin-top:80px}.technology-dialog .tech{width:55px;height:55px;font-size:8px}.technology-dialog .tech-icon{width:25px;height:22px}.technology-dialog .tech-icon img{width:30px;height:28px}.technology-dialog h2{font-size:27px}.hud-stat>span,.game-nav button{font-weight:300}}#status.terminal{opacity:1;color:#fff;background:#001724e8;border:1px solid #fff7;border-radius:3px;padding:10px 16px}#tile-controls.animating .tile-hit{pointer-events:none}.game-nav{transition:opacity .18s,transform .18s}body.selecting .game-nav{opacity:0;pointer-events:none;transform:translate(-50%,24px)}body.selecting .replay-dock{display:none}.selection{width:100%;min-width:0;max-width:none;box-shadow:none;text-align:left;background:linear-gradient(#0000,#000c 26%,#000e);border:0;border-radius:0;padding:44px 16px 20px;animation:.2s ease-out sheet-in;bottom:0;left:0;right:0;transform:none}.selection .close{font-size:26px;top:28px;right:max(14px,50% - 356px)}.selection-head{align-items:center;gap:14px;max-width:640px;margin:0 auto;display:flex}.selection-portrait{flex:none;place-items:center;width:66px;height:66px;display:grid}.selection-portrait img{object-fit:contain;filter:drop-shadow(0 3px 2px #0008);max-width:100%;max-height:100%}.selection-portrait svg{width:56px;height:56px}#tile-coord{display:none}.selection h2{margin:0 0 4px;font-size:28px;font-style:italic;font-weight:400}.selection p{color:#cfd8dc;margin:4px 0 0;font-size:13px;line-height:1.35}.stat-line{flex-wrap:wrap;gap:4px 16px;display:flex}.stat-line span{flex-direction:column;display:flex}.stat-line small{color:#9fb0b8;letter-spacing:.6px;text-transform:uppercase;font-size:10px}.stat-line b{font-size:18px;font-weight:400}.orders{flex-wrap:nowrap;justify-content:center;gap:12px;max-width:640px;max-height:none;margin:14px auto 0;padding:8px 4px 2px;overflow-x:auto}.orders:empty{display:none}.round-action{color:#fff;white-space:nowrap;cursor:pointer;background:0 0;border:0;flex-direction:column;align-items:center;gap:6px;min-width:68px;font-size:13px;font-style:italic;display:flex}.round-action .round-icon{background:radial-gradient(circle at 50% 35%,#75d3f3,#139ee4 65%,#007cba);border:2px solid #fff;width:58px;height:58px;transition:transform .12s;position:relative}.round-action:not(:disabled):hover .round-icon,.round-action:not(:disabled):active .round-icon{transform:scale(1.08)}.round-action .round-icon img{object-fit:contain;width:72%;height:72%}.order-icon svg,.reward-icon svg{stroke:none;width:62%;height:62%}.order-cost{background:#000 url(/icons/star.svg) 3px/13px no-repeat;border:1px solid #fff;border-radius:10px;padding:2px 6px 1px 18px;font-size:12px;font-style:normal;line-height:1.2;position:absolute;top:-7px;right:-12px}.round-action:disabled{cursor:default;color:#aaa}.round-action:disabled .round-icon{background:#2a3237;border-color:#777}.round-action:disabled img{filter:grayscale();opacity:.55}.reward{z-index:20;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);background:#000b;place-items:center;animation:.2s ease-out fade-in;display:grid;position:fixed;inset:0}.reward-card{text-align:center;width:min(540px,100% - 32px);animation:.38s cubic-bezier(.2,1.5,.4,1) pop-in}.reward-card h2{margin:8px 0 4px;font-size:30px;font-style:italic;font-weight:400}.reward-card p{color:#cfd8dc;margin:0;font-size:16px}.reward-choices{justify-content:center;gap:16px;margin-top:26px;display:flex}.reward-choice{color:#fff;cursor:pointer;background:#0b2230;border:2px solid #fff;border-radius:6px;flex-direction:column;flex:1;align-items:center;gap:10px;max-width:220px;padding:20px 12px 18px;transition:background .15s,transform .15s;display:flex}.reward-choice:hover{background:#135273;transform:translateY(-3px)}.reward-icon{background:radial-gradient(circle at 50% 35%,#75d3f3,#139ee4 65%,#007cba);border:3px solid #fff;width:96px;height:96px}.reward-icon img{object-fit:contain;width:70%;height:70%}.reward-choice strong{font-size:21px;font-style:italic;font-weight:400}.reward-choice small{color:#cde3ec;font-size:13px;line-height:1.3}.reward-later{color:#cfd8dc;font:inherit;text-underline-offset:3px;cursor:pointer;background:0 0;border:0;margin-top:18px;padding:8px 14px;font-size:15px;text-decoration:underline}.reward-later:hover{color:#fff}.hud-stars>div{position:relative}.star-bump>div img{animation:.45s ease-out star-bump}.star-float{color:#ffd84a;text-shadow:0 1px 3px #000;pointer-events:none;font-size:20px;font-weight:500;animation:1.1s ease-out forwards star-float;position:absolute;top:100%;left:50%;transform:translate(-50%)}.star-float.spent{color:#ff8a70}@keyframes star-float{0%{opacity:0;transform:translate(-50%,8px)}20%{opacity:1}to{opacity:0;transform:translate(-50%,-26px)}}@keyframes star-bump{40%{transform:scale(1.35)rotate(-12deg)}}@keyframes sheet-in{0%{opacity:0;transform:translateY(18px)}}@keyframes fade-in{0%{opacity:0}}@keyframes pop-in{0%{opacity:0;transform:scale(.6)}}@media (width<=760px){.selection{max-width:none;padding:40px 12px 16px;bottom:0}.selection h2{font-size:25px}.round-action{min-width:62px;font-size:12px}.round-action .round-icon{width:52px;height:52px}.reward-card h2{font-size:25px}.reward-choices{gap:10px}.reward-icon{width:76px;height:76px}}@media (prefers-reduced-motion:reduce){.selection,.reward,.reward-card,.star-float,.star-bump>div img{animation:none}}.tech-detail{text-align:center;background:#061018f2;border:1px solid #fff8;border-radius:4px;max-width:460px;margin:0 auto;padding:16px 18px;animation:.18s ease-out sheet-in;position:sticky;bottom:0}.tech-detail h3{margin:0 0 6px;font-size:24px;font-style:italic;font-weight:400}.technology-dialog .tech-detail p{margin:4px 0 12px;display:block}.research-button{color:#fff;cursor:pointer;background:radial-gradient(circle at 50% 30%,#75d3f3,#139ee4 65%,#007cba);border:2px solid #fff;border-radius:30px;padding:12px 26px;font-size:17px;font-style:italic}.selection.over-dock{background:linear-gradient(#0000,#000c 18% 82%,#0000);padding-top:18px;bottom:190px}.selection.over-dock .close{top:6px}@media (width<=760px){.selection.over-dock{bottom:176px}}.scoreboard .hud-score,.scoreboard button.hud-stars{pointer-events:auto;cursor:pointer;color:inherit;font:inherit;text-shadow:inherit;background:0 0;border:0;padding:0}.leaderboard{gap:8px;margin:18px 0 6px;padding:0;list-style:none;display:grid}.leaderboard li{background:#ffffff10;border-left:6px solid #e5483b;border-radius:10px;align-items:center;gap:12px;padding:10px 14px;display:flex}.leaderboard li.home{border-left-color:#2f9bff}.leaderboard .rank{color:#fffa;width:18px;font-size:20px;font-style:italic}.leaderboard .tribe-badge{background:#e5483b;border-radius:50%;place-items:center;width:40px;height:40px;display:grid}.leaderboard li.home .tribe-badge{background:#2f9bff}.leaderboard .tribe-badge img{object-fit:contain;width:30px;height:30px}.leaderboard .who{flex-direction:column;flex:1;min-width:0;display:flex}.leaderboard .who strong{font-size:16px;font-weight:500}.leaderboard small{color:#fffa;font-size:12px}.leaderboard .points{flex-direction:column;align-items:flex-end;font-size:22px;font-weight:300;display:flex}:root[data-art=real] .order-cost{background-image:url(/assets/game/UI_StarIconBig.png)}.more-detail{display:none}@media (width<=720px){.selection.compact #tile-detail>:not(:first-child):not(.attack-forecast):not(.zoc-note),.selection.compact .selection-portrait{display:none}.selection.compact .more-detail{margin-top:4px;font-size:13px;display:inline-block}}
