@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800;900&family=Space+Grotesk:wght@500;600;700&display=swap');
:root{color-scheme:dark;--bg:#090e1e;--surface:#151e37;--surface2:#202b47;--line:#ffffff1c;--fg:#f2f5ff;--muted:#a6b4ce;--cyan:#49dedb;--gold:#ffcf6e;--purple:#a28cff;--blue:#4b8aff;--red:#ff686d;--green:#47ce96}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--fg);font-family:Outfit,system-ui,sans-serif;min-width:320px}.orb{position:fixed;z-index:-1;filter:blur(95px);border-radius:50%;opacity:.24;pointer-events:none}.orb1{width:340px;height:340px;background:#7157f5;top:-160px;right:5%}.orb2{width:400px;height:400px;background:#087e91;top:500px;left:-280px}.app{max-width:1250px;margin:auto;padding:0 24px}.top{height:84px;display:flex;gap:22px;align-items:center;border-bottom:1px solid var(--line)}.brand{color:white;text-decoration:none;display:flex;align-items:center;font-size:23px;font-weight:900;letter-spacing:-1px}.brand-mark{width:40px;height:40px;background:linear-gradient(135deg,#7d64ff,#34d3da);border-radius:12px;display:grid;place-items:center;margin-right:10px;font-size:28px}.mini{color:var(--cyan);font-size:11px;letter-spacing:2px;display:block;line-height:10px}.version{border:1px solid var(--line);border-radius:30px;padding:9px 13px;color:var(--muted);font-size:10px;letter-spacing:1.2px}.authbox{margin-left:auto;display:flex;align-items:center;gap:8px}.authbox span{font-size:12px}.btn{border:0;color:var(--fg);font:700 14px Outfit,sans-serif;border-radius:13px;padding:14px 18px;cursor:pointer;transition:transform .12s,filter .12s;background:#253353}.btn:hover{transform:translateY(-2px);filter:brightness(1.15)}.btn:focus-visible{outline:3px solid var(--cyan)}.btn:disabled{opacity:.4;cursor:not-allowed;transform:none}.btn.primary{background:linear-gradient(120deg,#8d63ff,#426bf4);box-shadow:0 8px 25px #6548f13d}.btn.ghost{border:1px solid #ffffff30;background:#ffffff0c}.btn.small{padding:10px 13px;font-size:12px}.btn.full{width:100%}.btn.textbtn{background:transparent;color:var(--muted);margin-top:8px}.hero{min-height:320px;display:flex;align-items:center;justify-content:space-between;gap:25px;padding:34px 0}.hero h1{font-size:clamp(35px,5.2vw,65px);line-height:1.03;max-width:680px;letter-spacing:-2px;margin:14px 0}.hero em{font-style:normal;background:linear-gradient(90deg,#56d8dd,#a998ff);background-clip:text;color:transparent}.hero p{max-width:560px;color:var(--muted);font-size:16px;line-height:1.55}.eyebrow{font-size:10px;color:var(--cyan);font-weight:800;letter-spacing:1.6px}.hero-actions{display:flex;gap:10px;margin-top:22px}.hero-stat{background:radial-gradient(circle,#354d8e66,#0a142400 66%);min-width:270px;text-align:center;display:grid;justify-items:center}.hero-stat .earth{font-size:94px;filter:drop-shadow(0 15px 12px #0007)}.hero-stat strong{font:900 52px Space Grotesk;line-height:1}.hero-stat small{color:var(--muted);font-size:10px;letter-spacing:1px}.notice{padding:14px 17px;border-radius:12px;border:1px solid #ffcf6e42;background:#ffcf6e10;color:#e8d7ac;font-size:13px;margin-bottom:24px}.section-head{display:flex;justify-content:space-between;align-items:center;margin:18px 0}.section-head h2{font-size:29px;letter-spacing:-.7px;margin:6px 0}.round{background:#1b2949;padding:13px 20px;border-radius:13px;font-size:12px;letter-spacing:1px;color:var(--muted)}.round strong{font-size:24px;color:white}.stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:20px 0}.stat{border:1px solid var(--line);background:linear-gradient(145deg,#1c2846,#101b33);padding:18px;border-radius:17px;display:flex;flex-direction:column;gap:6px}.stat>span{color:var(--muted);font-weight:700;font-size:12px}.stat strong{font-size:35px;font-family:Space Grotesk}.stat small{color:#8191b2;font-size:11px}.stat.money strong{color:var(--gold)}.stat.moves strong{color:var(--cyan)}.stat.force strong{color:var(--purple)}.stat.land strong{color:var(--green)}.layout{display:grid;grid-template-columns:minmax(0,1.75fr) minmax(285px,1fr);gap:16px}.maincol,.sidecol{display:flex;flex-direction:column;gap:16px}.panel{background:linear-gradient(155deg,#19243e,#131d34);border:1px solid var(--line);border-radius:18px;padding:20px}.panel-head{display:flex;justify-content:space-between;align-items:center;gap:8px}.panel h3{margin:0 0 6px;font-size:18px}.panel p{margin:5px 0;color:var(--muted);font-size:13px;line-height:1.5}.tag{border:1px solid #ffffff22;border-radius:6px;color:var(--muted);font-size:10px;padding:6px 8px;white-space:nowrap}.mapwrap{width:100%;max-height:540px}.mapwrap svg{width:100%;height:auto}.map-route{stroke:#4c638d;stroke-width:2;opacity:.45}.map-route.cross{stroke:#79d9cf;stroke-dasharray:4 7;opacity:.3}.map-node{cursor:pointer}.map-node circle{stroke:#d5e9ff45;stroke-width:2;transition:stroke-width .1s}.map-node:hover circle,.map-node.selected circle{stroke:#fff;stroke-width:5}.map-node text{fill:white;text-anchor:middle;font-size:23px;pointer-events:none}.map-node .node-name{font:700 11px Outfit}.map-node .node-upe{font:700 10px Outfit;fill:#fbd77a}.legend{display:flex;flex-wrap:wrap;justify-content:center;gap:17px;color:var(--muted);font-size:11px}.dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:5px}.blue{background:var(--blue)}.red{background:var(--red)}.green{background:var(--green)}.gray{background:#69788d}.mission{background:linear-gradient(145deg,#193d48,#16263e)}.mission h3{font-size:22px;letter-spacing:-.5px;margin:8px 0}.mission-line{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:12px 0}.mission-line strong{color:white}.progress{height:8px;border-radius:10px;background:#ffffff19;overflow:hidden}.progress div{background:linear-gradient(90deg,var(--cyan),#806aff);height:100%;width:0;transition:width .3s}.target .selected-flag{font-size:35px}.selected-name{font-size:23px;font-weight:800}.selected-info{color:var(--muted);font-size:12px;margin:7px 0 16px}.action-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.btn.action{background:#263654;text-align:left;padding:12px;font-size:13px}.btn.action small{display:block;color:#9eb2d3;margin-top:6px;font-weight:500}.cards #hand{display:grid;gap:9px}.hand-card{padding:13px;border:1px solid #ffffff24;border-radius:13px;background:linear-gradient(120deg,#362d63,#263856);display:flex;justify-content:space-between;align-items:center;gap:12px}.hand-card div{font-size:12px}.hand-card span{display:block;font-size:11px;color:#c3c9e2;margin-top:3px}.hand-card button{font-size:11px;padding:8px}.log{max-height:240px;overflow-y:auto}.log-item{padding:10px 0;border-bottom:1px solid #ffffff0e;color:#c7d0e4;font-size:12px}.log-item b{color:#fff}.opponents{margin-top:16px}.opprow{display:flex;gap:13px;align-items:center;padding:11px 0;border-bottom:1px solid #ffffff13}.opprow strong{min-width:75px}.opprow span{color:var(--muted);font-size:12px}.opprow .bar{flex:1;height:6px;background:#ffffff16;border-radius:9px;overflow:hidden}.opprow .bar i{display:block;height:100%}.tension{margin-top:13px;font-size:12px;color:var(--muted);display:flex;justify-content:space-between}footer{text-align:center;padding:34px 0;color:#6e809f;font-size:11px}dialog{background:#16223d;border:1px solid #ffffff38;color:white;border-radius:20px;width:min(550px,94vw);padding:0;box-shadow:0 30px 90px #000b}dialog::backdrop{background:#050913bb}.modal-inner{padding:26px;position:relative}.close{position:absolute;top:15px;right:15px;border:0;background:#ffffff16;color:white;border-radius:9px;padding:9px;cursor:pointer}.modal-inner h2{margin-top:0}.modal-inner p,.modal-inner li{font-size:14px;color:#cad2e4;line-height:1.6}.modal-inner .btn{margin:7px 5px 0 0}.modal-inner select{background:#263453;color:white;border:1px solid #ffffff30;border-radius:8px;padding:12px;width:100%}.smallprint{color:#8f9db9;font-size:11px}.victory{color:#f9cb65;font-size:26px} @media(max-width:900px){.layout{grid-template-columns:1fr}.hero-stat{min-width:170px}.hero-stat .earth{font-size:65px}.hero-stat strong{font-size:37px}.version{display:none}}@media(max-width:640px){.app{padding:0 12px}.top{height:70px}.brand{font-size:17px}.brand-mark{width:33px;height:33px}.hero{padding:26px 0;min-height:250px}.hero h1{font-size:38px;letter-spacing:-1px}.hero-stat{display:none}.hero p{font-size:14px}.stats{grid-template-columns:repeat(2,1fr)}.panel{padding:14px}.map-node text{font-size:20px}.map-node .node-name{font-size:12px}.map-node .node-upe{font-size:11px}.action-grid{grid-template-columns:1fr 1fr}.section-head h2{font-size:24px}.authbox .btn{font-size:10px;padding:9px 8px}}

/* Experiência orientada e cuidados de acessibilidade */
.guide-panel{background:linear-gradient(145deg,#183853,#1b2744);border-color:#4addd250}.guide-panel p{font-size:14px;line-height:1.55;color:#d8e4fb}.guide-actions,.save-actions{display:flex;gap:8px;flex-wrap:wrap}.save-actions .btn{flex:1}.privacy-stamp{display:block;margin-bottom:12px;color:#9cacc9}.hero-actions{flex-wrap:wrap}.map-node:focus-visible circle{stroke:#ffcf6e;stroke-width:5}.modal-inner code{color:#7de4e3;word-break:break-all}.step-line{padding:11px 0;border-bottom:1px solid #ffffff16}.step-line strong{color:#fcdf9f}.mini-pill{display:inline-block;border-radius:40px;padding:4px 10px;background:#ffffff16;color:#d1e4f1;font-size:12px}.node-owned circle{filter:drop-shadow(0 0 5px #8f9cce55)}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;transition:none!important;animation:none!important}}
