.galactuz-guide ol{padding-left:24px;line-height:1.8}.galactuz-guide li{margin-bottom:12px}.galactuz-guide a{color:#f3d391;text-decoration:underline}.guide-command-card{display:flex;gap:18px;margin-top:25px;padding:22px;border:1px solid #9e7d47;border-radius:8px;background:linear-gradient(120deg,#152d48,#081323)}.guide-command-card>span{font-size:34px;color:#eac984}.guide-command-card h3{margin:0;color:#f1d18c;font:24px Georgia,serif}.guide-command-card p{line-height:1.7;font-size:14px}.galactuz-commands h3{color:#f1d18c;font:23px Georgia,serif;margin:25px 0 13px}.galactuz-commands p{font-size:13px;line-height:1.7;color:#c0d2e7}.commands-scroll{overflow-x:auto}.galactuz-commands table{width:100%;border-collapse:collapse;font-size:13px}.galactuz-commands th{font-size:10px;color:#e3c48c;letter-spacing:1px;text-align:left}.galactuz-commands td,.galactuz-commands th{padding:13px 10px;border-bottom:1px solid #283e55;text-align:left;line-height:1.65}.galactuz-commands td:nth-child(2){white-space:normal;min-width:200px}.galactuz-commands code{white-space:nowrap;color:#bce6ff;font:13px Consolas,monospace;background:#16334c77;border-radius:4px;padding:4px 6px}.commands-notice{padding:14px;border-left:3px solid #e4bd75;background:#ba8b3514}.galactuz-commands>.mini{margin-top:18px}dialog:has(.galactuz-commands){width:min(930px,96vw);overflow-x:hidden}dialog:has(.galactuz-commands):before,dialog:has(.galactuz-commands):after{display:none}@media(max-width:650px){.guide-command-card{padding:17px;gap:12px}.guide-command-card>span{font-size:25px}.guide-command-card h3{font-size:21px}.galactuz-commands td,.galactuz-commands th{padding:10px 7px}}

/* Legado Imperial: scoped to the guide, without changing commands or other views. */
dialog:has(.guide-imperial){width:min(980px,95vw);max-height:94dvh;overflow-x:hidden;padding:30px;background:radial-gradient(ellipse at top,#153957,#030d17 70%);border-color:#d6b675;box-shadow:0 0 0 3px #081828,0 0 0 4px #8c7039,0 20px 100px #000b}
dialog:has(.guide-imperial):before,dialog:has(.guide-imperial):after{display:none}dialog:has(.guide-imperial) .dialog-kicker{color:#dfbf78;letter-spacing:4px}dialog:has(.guide-imperial) #detail-title{font-size:clamp(25px,4vw,36px);margin-bottom:23px}dialog:has(.guide-imperial) .dialog-back{display:block;margin:24px auto 0}.guide-imperial{position:relative;isolation:isolate}.guide-art{display:block;width:100%;height:100%;object-fit:cover}.guide-hero{position:relative;height:230px;overflow:hidden;border:1px solid #b79857;clip-path:polygon(12px 0,calc(100% - 12px) 0,100% 12px,100% calc(100% - 12px),calc(100% - 12px) 100%,12px 100%,0 calc(100% - 12px),0 12px)}.guide-hero>.guide-art{position:absolute;inset:0}.guide-hero>div{position:absolute;inset:0;padding:28px;display:flex;flex-direction:column;justify-content:flex-end;background:linear-gradient(transparent 10%,#020c18ed 100%)}.guide-hero span,.guide-eyebrow{font-size:10px;letter-spacing:2px;color:#f0ca79}.guide-hero h3{font:clamp(25px,4vw,34px) Georgia,serif;color:#ffe2a6;margin:8px 0}.guide-hero p{color:#d6e7f8;font-size:13px;margin:0}.guide-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;margin:18px 0}.guide-step{position:relative;min-height:220px;overflow:hidden;border:1px solid #9f8144;background:#07182a;transition:transform .25s,box-shadow .25s}.guide-step>.guide-art{position:absolute;top:0;height:120px;opacity:.85}.guide-step-content{position:relative;padding:88px 16px 18px;background:linear-gradient(transparent,#061426 110px);height:100%}.guide-number{display:inline-grid;place-items:center;width:33px;height:33px;background:#102f4b;border:1px solid #d2ac61;color:#ffe0a0;font:18px Georgia;box-shadow:0 0 18px #3eafff4d}.guide-step h3{font:20px Georgia;color:#f9dc9b;margin:12px 0 8px}.guide-step p{font-size:12px;line-height:1.65;color:#c2d3e6;min-height:40px}.guide-action{display:inline-flex;align-items:center;justify-content:center;min-height:39px;max-width:100%;padding:10px 12px;border:1px solid #cfaa62;background:linear-gradient(#173650,#050d18);color:#ffdb91!important;font:700 11px Arial,sans-serif;letter-spacing:.4px;text-decoration:none!important;cursor:pointer;box-shadow:inset 0 0 0 2px #07101a;transition:filter .2s,box-shadow .2s}.guide-action:hover,.guide-action:focus-visible{filter:brightness(1.3);box-shadow:0 0 20px #50bfff66;outline:2px solid #8bd7ff;outline-offset:3px}.guide-step:hover{transform:translateY(-4px);box-shadow:0 0 22px #368cba44}.guide-imperial .guide-command-card{position:relative;overflow:hidden;display:grid;grid-template-columns:210px 1fr;align-items:center;padding:0;gap:24px;margin:0;border-radius:0;background:linear-gradient(110deg,#092b47,#050f1e);border-color:#be9b56}.guide-command-card>.guide-art{min-height:220px}.guide-command-card>div{padding:22px 24px 22px 0}.guide-imperial .guide-command-card h3{font-size:28px;margin:9px 0}.guide-imperial .guide-command-card p{color:#c4d7e8}.guide-motes{pointer-events:none;position:absolute;inset:5% 0;color:#bceeff;text-shadow:0 0 12px #58baff;letter-spacing:100px;opacity:.6;animation:guide-glow 5s ease-in-out infinite;z-index:2}.guide-motes i{font-style:normal}@keyframes guide-glow{50%{opacity:.1;transform:translateY(-12px)}}@media(max-width:650px){dialog:has(.guide-imperial){padding:24px 15px}.guide-steps{grid-template-columns:1fr}.guide-step{min-height:160px}.guide-step>.guide-art{width:45%;height:100%;right:0}.guide-step-content{padding:18px;background:linear-gradient(90deg,#061426 48%,#06142666)}.guide-step-content>div{max-width:75%}.guide-step p{min-height:0}.guide-number{float:left;margin-right:12px}.guide-hero{height:200px}.guide-hero>div{padding:18px}.guide-imperial .guide-command-card{grid-template-columns:1fr;gap:0}.guide-command-card>.guide-art{height:170px;min-height:0}.guide-command-card>div{padding:20px}.guide-motes{letter-spacing:40px}}@media(prefers-reduced-motion:reduce){.guide-motes{animation:none}.guide-step,.guide-action{transition:none}}
.guide-art{overflow:hidden} .guide-hero{height:210px}

/* Illustrated blue-and-gold command codex. */
dialog:has(.commands-imperial){width:min(1050px,95vw);max-height:94dvh;padding:30px;background:radial-gradient(ellipse at top,#143552,#030d17 70%);border-color:#d6b675;box-shadow:0 0 0 3px #081828,0 0 0 4px #8c7039,0 20px 100px #000b;scroll-behavior:smooth}dialog:has(.commands-imperial) #detail-title{font-size:clamp(27px,4vw,36px);color:#f8d895}dialog:has(.commands-imperial) .dialog-kicker{letter-spacing:4px;color:#dabc7c}.commands-hero{position:relative;height:220px;overflow:hidden;border:1px solid #ac8c4f;background:#061728}.commands-hero>.guide-art{position:absolute;inset:0;width:48%;height:100%}.commands-hero>div{position:absolute;inset:0;display:flex;flex-direction:column;justify-content:center;padding:28px 30px 28px 44%;background:linear-gradient(90deg,transparent 10%,#071a2a88 35%,#071a2a 55%)}.commands-imperial .commands-hero h3{font:clamp(28px,4vw,39px) Georgia,serif;color:#ffe0a3;margin:12px 0}.commands-hero:after{content:"";position:absolute;inset:0;pointer-events:none;box-shadow:inset 0 0 35px #64c8ff22;animation:codex-aura 5s ease-in-out infinite}.commands-nav{display:flex;gap:10px;margin:18px 0;flex-wrap:wrap}.commands-nav a{flex:1;text-align:center;padding:13px 10px;border:1px solid #9e8048;color:#f4d38e;background:linear-gradient(#16364f,#08121f);font-size:11px;letter-spacing:1px;text-decoration:none;min-width:100px;transition:box-shadow .2s,color .2s}.commands-nav a:hover,.commands-nav a:focus-visible{color:#fff0c9;box-shadow:0 0 18px #64caff55;outline:2px solid #85cfff;outline-offset:2px}.commands-imperial .commands-intro{padding:14px 18px;border-left:2px solid #70c9ff;background:#16344b77}.commands-chapter{margin:24px 0;border:1px solid #8f753f;background:linear-gradient(120deg,#0d2238,#050f1d);scroll-margin-top:15px;overflow:hidden}.commands-chapter>header{position:relative;min-height:100px;overflow:hidden;border-bottom:1px solid #8f753f}.commands-chapter>header>.guide-art{position:absolute;right:0;top:0;height:100%;width:40%;opacity:.75;transition:transform .6s}.commands-chapter>header>div{position:relative;padding:24px;background:linear-gradient(90deg,#0b2238 55%,transparent)}.commands-chapter>header span{font-size:9px;letter-spacing:3px;color:#e3b967}.commands-imperial .commands-chapter h3{margin:8px 0 0;color:#f6d28e;font:25px Georgia,serif;max-width:80%}.commands-chapter:hover>header>.guide-art{transform:scale(1.04)}.commands-chapter>p{margin:16px 20px}.commands-chapter .commands-scroll{padding:0 10px 12px}.commands-imperial th{color:#e4c383;background:#07121f}.commands-imperial td{padding:17px 12px}.commands-imperial tbody tr{transition:background .2s}.commands-imperial tbody tr:hover{background:#52b9ff0d}.commands-imperial code{display:inline-block;border:1px solid #397399;background:linear-gradient(#163e5b,#0b2238);color:#c9edff;box-shadow:inset 0 0 12px #448eff0d;padding:7px 10px;border-radius:3px}.commands-imperial td strong{color:#f2d191}.commands-imperial .commands-notice{margin:0;padding:18px 22px;background:#c8962414;border-top:1px solid #856d38;border-left:3px solid #e4bd75}.commands-imperial .dialog-note{border-left:2px solid #e4bd75;padding:15px;background:#10243a}.commands-imperial>.guide-action{margin:5px 0 15px}@keyframes codex-aura{50%{box-shadow:inset 0 0 55px #64c8ff44}}@media(max-width:650px){dialog:has(.commands-imperial){padding:24px 15px}.commands-hero{height:210px}.commands-hero>.guide-art{width:100%;opacity:.5}.commands-hero>div{padding:22px;background:linear-gradient(90deg,#071a2a55,#071a2add)}.commands-chapter>header>div{padding:20px}.commands-imperial .commands-chapter h3{font-size:21px}.commands-imperial td,.commands-imperial th{padding:12px 8px}.commands-imperial table{font-size:12px}.commands-chapter .commands-scroll{padding:0 4px 8px}.commands-nav{gap:6px}.commands-nav a{min-width:80px;font-size:10px}}@media(prefers-reduced-motion:reduce){dialog:has(.commands-imperial){scroll-behavior:auto}.commands-hero:after{animation:none}.commands-chapter>header>.guide-art,.commands-nav a,.commands-imperial tbody tr{transition:none}}
dialog:has(.commands-imperial){position:fixed;inset:3dvh auto auto 50%;transform:translateX(-50%);margin:0;box-sizing:border-box}

/* Horizontal command atlas: all categories together. */
dialog:has(.commands-imperial){width:min(1500px,97vw);padding:24px;max-height:94dvh}dialog:has(.commands-imperial) .dialog-kicker{margin:0 0 6px}dialog:has(.commands-imperial) #detail-title{font-size:28px;margin:6px 0 15px}.commands-imperial .commands-hero{height:100px}.commands-imperial .commands-hero>.guide-art{width:28%}.commands-imperial .commands-hero>div{padding:12px 24px 12px 28%;background:linear-gradient(90deg,transparent,#071a2a 38%)}.commands-imperial .commands-hero h3{font-size:28px;margin:5px 0}.commands-imperial .commands-hero p{margin:0;font-size:12px}.commands-imperial .commands-nav{display:none}.commands-imperial .commands-intro{margin:12px 0;padding:10px 14px;font-size:12px}.commands-columns{display:grid;grid-template-columns:1fr 1.2fr 1fr;gap:16px;align-items:start}.commands-columns>.commands-chapter{margin:0;min-width:0}.commands-columns .commands-chapter>header{min-height:75px}.commands-columns .commands-chapter>header>div{padding:16px}.commands-columns .commands-chapter h3{font-size:20px;max-width:95%}.commands-columns .commands-chapter>p{font-size:11px;margin:12px 14px;line-height:1.6}.command-cards{padding:4px 12px 12px;display:grid;gap:8px}.command-entry{padding:10px 11px;background:linear-gradient(110deg,#122e47aa,#061525);border:1px solid #304b63;transition:border-color .2s,box-shadow .2s}.command-entry:hover{border-color:#cfa85d;box-shadow:inset 0 0 18px #62bcff14,0 0 12px #59b6ff20}.command-entry-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.command-entry-top>span{font-size:8px;color:#a9bfd0;letter-spacing:.5px}.commands-imperial .command-entry code{padding:4px 6px;font-size:12px}.commands-imperial .command-entry-top>span code{font-size:10px;background:#071a2a;border-color:#305269;color:#d4c08f}.commands-imperial .command-entry p{font-size:11px;line-height:1.6;margin:8px 0 0;color:#c2d4e4}.commands-imperial .commands-columns .commands-notice,.commands-imperial .commands-columns .dialog-note{padding:12px;margin:0;font-size:11px}.commands-imperial>.guide-action{margin:16px 0 0}dialog:has(.commands-imperial) .dialog-back{margin:16px 0 0;float:right}.commands-columns #cmd-battle .command-entry{padding:15px 12px}.commands-columns #cmd-battle .command-entry p{font-size:12px;line-height:1.8}@media(max-width:1000px){.commands-columns{grid-template-columns:1fr 1fr}.commands-columns #cmd-battle{grid-column:1/-1}.commands-columns #cmd-battle .command-cards{grid-template-columns:1fr 1fr}.commands-columns #cmd-battle .dialog-note{margin:0 12px 12px}}@media(max-width:650px){dialog:has(.commands-imperial){padding:24px 14px}.commands-columns{grid-template-columns:1fr}.commands-columns #cmd-battle{grid-column:auto}.commands-columns #cmd-battle .command-cards{grid-template-columns:1fr}.commands-imperial .commands-hero{height:135px}.commands-imperial .commands-hero>.guide-art{width:100%;opacity:.4}.commands-imperial .commands-hero>div{padding:15px;background:#071a2a66}.command-entry-top{gap:12px}dialog:has(.commands-imperial) .dialog-back{float:none;display:block}.commands-imperial .commands-hero h3{font-size:26px}}@media(prefers-reduced-motion:reduce){.command-entry{transition:none}}
/* Compact desktop atlas: all thirteen commands within a standard desktop viewport. */
@media(min-width:1001px){
dialog:has(.commands-imperial){padding:16px 22px;max-height:96dvh;inset:2dvh auto auto 50%}
dialog:has(.commands-imperial) .dialog-kicker{font-size:9px;margin:0;letter-spacing:3px}
dialog:has(.commands-imperial) #detail-title{font-size:25px;margin:5px 0 10px}
.commands-imperial .commands-hero{height:66px}.commands-imperial .commands-hero h3{font-size:24px;margin:3px 0}.commands-imperial .commands-hero>div{padding-top:6px;padding-bottom:6px}.commands-imperial .commands-hero .guide-eyebrow{font-size:8px}.commands-imperial .commands-hero p{font-size:11px}
.commands-imperial .commands-intro{padding:7px 12px;margin:8px 0;font-size:11px;line-height:1.45}
.commands-columns{gap:12px;grid-template-columns:1fr 1.2fr 1fr}
.commands-columns .commands-chapter>header{min-height:55px}.commands-columns .commands-chapter>header>div{padding:10px 12px}.commands-columns .commands-chapter>header span{font-size:8px;letter-spacing:2px}.commands-columns .commands-chapter h3{font-size:18px;margin-top:4px}
.commands-columns .commands-chapter>p{font-size:11px;line-height:1.45;margin:8px 10px}
.command-cards{gap:5px;padding:5px 8px 8px}.command-entry{padding:6px 8px}.command-entry-top{gap:4px}.commands-imperial .command-entry code{padding:3px 5px;font-size:11px;line-height:1.2}.commands-imperial .command-entry-top>span code{font-size:10px}.commands-imperial .command-entry p{font-size:11px;line-height:1.4;margin:4px 0 0}
.commands-imperial .commands-columns .commands-notice,.commands-imperial .commands-columns .dialog-note{font-size:11px;padding:8px 10px;line-height:1.45}
.commands-columns #cmd-battle .command-entry{padding:9px}.commands-columns #cmd-battle .command-entry p{font-size:11px;line-height:1.55}
.commands-imperial>.guide-action{margin:10px 0 0;min-height:30px;padding:7px 12px;font-size:10px}dialog:has(.commands-imperial) .dialog-back{margin:10px 0 0;min-height:30px;padding:7px 12px;font-size:10px}
}
@media(min-width:1001px) and (max-height:680px){dialog:has(.commands-imperial){padding:12px 20px}.commands-imperial .commands-hero{height:48px}.commands-imperial .commands-hero p{display:none}.commands-imperial .commands-hero h3{font-size:21px}.commands-columns .commands-chapter>header{min-height:46px}.commands-columns .commands-chapter>header>div{padding:7px 10px}.command-cards{gap:4px}.command-entry{padding:4px 7px}.commands-imperial .command-entry p{margin-top:3px;font-size:10px}.commands-imperial .commands-columns .commands-notice{font-size:10px;padding:6px 8px}}
@media(min-width:1001px){.commands-imperial .commands-hero{height:50px}.commands-imperial .commands-hero h3{font-size:22px}.commands-columns .command-entry{padding:4px 8px}.commands-imperial .command-entry p{margin:2px 0 0;line-height:1.3}.commands-imperial .command-entry code{padding:2px 5px}.commands-columns .command-cards{gap:4px;padding:4px 8px 6px}.commands-columns .commands-chapter>header{min-height:48px}.commands-columns .commands-chapter>header>div{padding:7px 12px}.commands-imperial .commands-columns .commands-notice{padding:6px 10px}.commands-imperial>.guide-action,dialog:has(.commands-imperial) .dialog-back{margin-top:8px;min-height:28px;padding:6px 10px}dialog:has(.commands-imperial) .dialog-back{float:none;display:inline-flex;margin-left:10px}.commands-imperial{display:inline}.commands-columns{margin-bottom:0}}
