header .help-link{margin-left:auto}.help-link[aria-current]{font-weight:600;text-decoration:none}.guide{max-width:920px;margin:0 auto;padding:1.5rem 1rem 3rem;line-height:1.55;color:var(--text)}.guide h2{margin:0 0 .75rem;font-size:1.35rem;display:flex;align-items:center;gap:.6rem}.guide h3{margin:1.4rem 0 .4rem;font-size:1.05rem}.guide p{margin:.5rem 0}.hero{display:flex;gap:1.5rem;align-items:center;padding:1.75rem;margin-bottom:1.5rem;border-radius:14px;color:#fbf8f1;background:radial-gradient(circle at 90% 10%,rgb(255 255 255 / .14),transparent 45%),linear-gradient(135deg,var(--accent),#5e1010)}.hero img{flex:none;border-radius:20px;box-shadow:0 6px 18px #0000004d}.hero h2{font-size:1.7rem}.toc{display:flex;flex-wrap:wrap;gap:.4rem;margin-top:1rem}.toc a{color:inherit;text-decoration:none;font-size:.85rem;padding:.2rem .7rem;border-radius:999px;background:#ffffff29}.toc a:hover,.toc a:focus-visible{background:#ffffff4d}.block{background:var(--panel);border:1px solid var(--border);border-radius:12px;padding:1.4rem 1.5rem;margin-bottom:1.25rem;scroll-margin-top:1rem}.num{display:inline-grid;place-items:center;flex:none;width:1.9rem;height:1.9rem;border-radius:50%;background:var(--accent);color:#fff;font-size:1rem}.armies{display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:.6rem;margin-top:1rem}.army{display:flex;flex-direction:column;align-items:center;padding:.7rem .4rem;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.army .players{font-size:.7rem;letter-spacing:-2px;min-height:1.1em}.army b{font-size:1.6rem;color:var(--accent);line-height:1.2}.army span:last-child{font-size:.8rem;color:var(--muted)}.phases{list-style:none;padding:0;margin:.5rem 0;display:grid;grid-template-columns:repeat(3,1fr);gap:1.6rem;counter-reset:phase}.phases li{position:relative;display:flex;flex-direction:column;align-items:center;text-align:center;gap:.3rem;padding:1rem .75rem;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.phases li:not(:last-child):after{content:"➜";position:absolute;right:-1.3rem;top:50%;transform:translateY(-50%);color:var(--accent);font-size:1.1rem}.phase-icon{font-size:2rem}.phases span:last-child{font-size:.85rem;color:var(--muted)}.formula{display:flex;flex-wrap:wrap;align-items:stretch;gap:.5rem;margin:.8rem 0}.formula .term{flex:1 1 160px;display:flex;flex-direction:column;padding:.7rem .9rem;border-radius:10px;border-left:4px solid var(--accent);background:var(--bg)}.formula .term span{font-size:.8rem;color:var(--muted)}.formula .op{align-self:center;font-size:1.4rem;font-weight:700;color:var(--accent)}.regions{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:.6rem}.region{padding:.6rem .8rem;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.region-head{display:flex;justify-content:space-between;align-items:baseline}.region-head b{color:var(--accent);font-size:1.15rem}.bar{height:6px;border-radius:3px;background:var(--border);margin:.35rem 0 .25rem;overflow:hidden}.bar span{display:block;height:100%;background:var(--accent);border-radius:inherit}.upgrades{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:.8rem;margin:1rem 0}.upgrade-card{display:flex;flex-direction:column;padding:1rem;border-radius:12px;background:var(--bg);border:1px solid var(--border)}.upgrade-card.featured{border:2px solid #c9a15a;background:linear-gradient(160deg,rgb(201 161 90 / .15),var(--bg) 60%)}.upgrade-card h3{margin:.6rem 0 .2rem}.upgrade-card p{flex:1;font-size:.9rem;margin:0 0 .6rem}.icons{display:flex;align-items:flex-end;gap:.5rem}.icons .looted{opacity:.85}.upgrade-card dl{display:flex;flex-wrap:wrap;gap:.4rem;margin:0}.upgrade-card dl div{display:flex;gap:.3rem;font-size:.8rem;padding:.15rem .55rem;border-radius:999px;background:var(--panel);border:1px solid var(--border)}.upgrade-card dt{color:var(--muted)}.upgrade-card dd{margin:0;font-weight:600}.callout{display:flex;gap:.8rem;align-items:flex-start;padding:.8rem 1rem;border-radius:10px;background:#b2222214;border:1px dashed var(--accent)}.callout img{flex:none}.callout p{margin:0;font-size:.92rem}.battle{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:1rem;margin:1rem 0;padding:1rem;border-radius:12px;background:var(--bg);border:1px solid var(--border)}.side{display:flex;flex-direction:column;align-items:center;gap:.4rem}.side .label{font-size:.8rem;text-transform:uppercase;letter-spacing:.06em;color:var(--muted)}.dice{display:flex;flex-direction:column;gap:.4rem}.die{position:relative;display:grid;place-items:center;width:2.6rem;height:2.6rem;border-radius:8px;font-weight:700;font-size:1.25rem;color:#fff;box-shadow:inset 0 -3px #00000040}.att .die{background:#e63946}.def .die{background:#1d7ed6}.die sup{position:absolute;top:-.5rem;right:-.7rem;font-size:.7rem;padding:.05rem .3rem;border-radius:999px;background:#f4a300;color:#1f1f1f}.vs{display:flex;flex-direction:column;gap:.4rem;align-self:start;margin-top:1.6rem}.result{height:2.6rem;display:grid;place-items:center;font-size:.85rem;font-weight:600;padding:0 .6rem;border-radius:6px}.result.win{color:#2a9d4b;background:#2a9d4b1f}.result.lose{color:#1d7ed6;background:#1d7ed61f}.rules{padding-left:1.2rem;margin:.5rem 0 0}.rules li{margin:.3rem 0}.rules img{vertical-align:-4px;margin-right:.2rem}.moves{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:.8rem;margin:.5rem 0 .8rem}.move{padding:1rem;border-radius:12px;background:var(--bg);border:1px solid var(--border)}.move svg{width:100%;height:auto;max-height:80px;overflow:visible}.move p{font-size:.9rem;margin:.2rem 0 0}.move .own{fill:#e63946}.move .enemy{fill:var(--muted);opacity:.5}.move .arrow{fill:none;stroke:var(--text);stroke-width:2.5;stroke-linecap:round}.move .arrow.transit{stroke:#f4a300;stroke-dasharray:6 5}.victory{text-align:center;background:linear-gradient(160deg,rgb(201 161 90 / .18),var(--panel) 70%)}.victory h2{justify-content:center}.cta{display:inline-block;margin-top:.8rem;padding:.55rem 1.4rem;border-radius:8px;background:var(--accent);color:#fff;font-weight:600;text-decoration:none}.cta:hover,.cta:focus-visible{filter:brightness(1.1)}@media(max-width:640px){.hero{flex-direction:column;text-align:center;padding:1.25rem}.hero img{width:72px;height:72px}.toc{justify-content:center}.block{padding:1.1rem}.formula{flex-direction:column}.formula .term{flex:none}.formula .op{line-height:1}.phases{grid-template-columns:1fr;gap:1.4rem}.phases li:not(:last-child):after{content:"⬇";right:auto;left:50%;top:auto;bottom:-1.35rem;transform:translate(-50%)}}.history{display:grid;grid-template-columns:240px 1fr;gap:1.2rem;align-items:center}.history svg{width:100%;height:auto;padding:.6rem;border-radius:10px;background:var(--bg);border:1px solid var(--border)}.history path{fill:none;stroke-width:2.5;stroke-linejoin:round;stroke-linecap:round}.history circle{stroke:var(--bg);stroke-width:2}.history .grid{stroke:var(--border)}.history .base{stroke:var(--muted)}.history p:first-child{margin-top:0}@media(max-width:640px){.history{grid-template-columns:1fr}}
