.art-status{font-size:10px;color:#9bcddd;margin-top:10px;min-height:15px}.art-status.error{color:#ffc196}.art-status button{margin-left:7px;padding:2px 7px;border:1px solid #e4a578;background:#193044;color:#ffe1b9;border-radius:2px}.intro-actions button:disabled{opacity:.5;cursor:wait}
#codex-button{margin-top:9px;color:#b3d7e9;border-color:#477289}#codex-dialog{width:min(760px,94vw);max-height:90svh;overflow-y:auto}#codex-dialog h2{margin:8px 0}.codex-select-label{display:block;font-size:11px;color:#93b8cf;margin:14px 0 7px}#codex-unit{width:100%;background:#0c2236;color:#e0f3ff;border:1px solid #577b97;padding:11px;font:inherit;border-radius:3px}.codex-stage{position:relative;margin:15px 0 12px;border:1px solid #426e8e;background:radial-gradient(ellipse,#2b4b65,#0b2032 70%);overflow:hidden;border-radius:3px}.codex-stage canvas{display:block;width:100%;height:auto}.codex-stage>span{position:absolute;left:15px;bottom:13px;color:#c8ebfc;font-size:11px;letter-spacing:1px}.codex-actions{display:flex;flex-wrap:wrap;gap:7px}.codex-actions button{padding:8px 13px;border:1px solid #466a84;background:#112a3e;color:#adc8d9;font:inherit;font-size:12px;border-radius:2px}.codex-actions button[aria-pressed=true]{color:#d0f9ff;background:#225769;border-color:#8ee6f3;box-shadow:inset 0 0 12px #89e3fa13}.codex-footer{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-top:17px}.codex-footer>span{margin-right:auto;font-size:10px;color:#91bed7}.codex-footer button{font-size:12px;padding:7px 13px;min-height:34px}.hangar-model{display:block;width:92px;height:92px;margin:0 auto;background-position:0 0;background-size:400% 800%;background-repeat:no-repeat;filter:drop-shadow(0 6px 4px #0008)}
.tower-art{background-size:400% 600%;background-position:0 0!important;width:68px;height:68px}.tower-art.cannon{background-image:url('./assets/combat/tower-cannon-v3.webp')}.tower-art.flak{background-image:url('./assets/combat/tower-flak-v3.webp')}.tower-art.anchor{background-image:url('./assets/combat/tower-anchor-v3.webp')}.selected-art .tower-art{width:96px;height:96px}
.codex-stage canvas{height:min(38svh,350px);object-fit:contain}
@media(max-width:1040px){#codex-button{grid-column:1;grid-row:3;margin:0}}@media(max-width:700px){#codex-button{grid-column:1/-1;grid-row:4;margin:0;font-size:12px}#codex-dialog{padding:18px}#codex-dialog h2{font-size:23px}.codex-actions{gap:5px}.codex-actions button{padding:7px 9px;font-size:11px}.codex-stage>span{font-size:9px;left:10px;bottom:9px}.art-status{margin-top:7px;font-size:9px}.build-card .tower-art{height:72px;width:72px}.selected-art .tower-art{width:84px;height:84px}}
