#battle-access-toggle{width:auto!important;height:auto!important;min-height:44px;padding:8px!important;font-size:14px!important;white-space:normal}
.battle-access-setting{display:flex;align-items:center;gap:10px;margin:16px 0;font-size:1rem;color:#fff}.battle-access-setting input{width:24px;height:24px}
#battle-access{background:#142520;color:#fff;padding:20px;border:2px solid #a4cfc0;max-width:100%;box-sizing:border-box;font:1rem/1.6 Arial,sans-serif}#battle-access[hidden]{display:none}
#battle-access label{display:block;margin:14px 0}#battle-access select,#battle-access input[type=number]{display:block;width:100%;max-width:100%;padding:10px;color:#fff;background:#192f27;border:1px solid #a4cfc0;font:inherit;min-height:44px}#battle-access input[type=checkbox]{margin-inline:10px;width:22px;height:22px}#battle-access button{padding:10px;margin:5px;min-height:44px;color:#fff;background:#234638;font:inherit;border:1px solid #a4cfc0}#battle-access *:focus-visible{outline:3px solid #ffdc83;outline-offset:3px}
html.battle-text-mode,html.battle-text-mode body{height:auto!important;overflow:auto!important}.battle-text-mode #game{position:relative!important;display:flex!important;flex-direction:column!important;min-height:100vh!important;height:auto!important;overflow:visible!important;padding:12px!important;gap:12px}
.battle-text-mode #game>.hud,.battle-text-mode #game>.command,.battle-text-mode #game>.radar,.battle-text-mode #game>.mission-strip,.battle-text-mode #game>.selection-panel,.battle-text-mode #game>.control-groups,.battle-text-mode #game>.view-controls{position:static!important;transform:none!important;inset:auto!important;width:100%!important;max-width:100%!important;height:auto!important;max-height:none!important;min-height:44px;overflow:visible!important;flex-wrap:wrap!important;font-size:1rem!important;padding:12px!important;box-sizing:border-box}
.battle-text-mode #viewport{position:relative!important;inset:auto!important;width:100%!important;height:300px!important;min-height:300px!important;order:20}.battle-text-mode .command{display:block!important}.battle-text-mode .catalog{max-height:none!important;overflow:visible!important;grid-template-columns:repeat(auto-fit,minmax(min(190px,100%),1fr))!important}.battle-text-mode .unit-card{height:auto!important;min-height:130px}.battle-text-mode .command button,.battle-text-mode .selection-panel button,.battle-text-mode summary,.battle-text-mode .command select{font-size:1rem!important;min-height:44px!important}.battle-text-mode .command p,.battle-text-mode .command small,.battle-text-mode .unit-name{font-size:1rem!important}.battle-text-mode .army-command-content,.battle-text-mode .gameplay-content{position:static!important;width:auto!important;max-height:none!important;overflow:visible!important}.battle-text-mode .resources{flex-wrap:wrap}.battle-text-mode .army-command-content>*{min-width:0}.battle-text-mode .radar{display:block!important}.battle-text-mode .selection-panel{display:block!important}.battle-text-mode .orders{display:flex!important;flex-wrap:wrap}.battle-text-mode #modeHint{position:sticky!important;top:0!important;inset-inline:auto!important;transform:none!important;max-width:100%;white-space:normal;font-size:1rem}.battle-text-mode .control-groups{display:flex!important}.battle-text-mode .access-launcher{z-index:10000}
.battle-text-mode #firstBattleLesson{position:static!important;inset:auto!important;transform:none!important;width:auto!important;max-width:1100px!important;margin:16px auto!important}.battle-text-mode #battle-access{width:100%;max-width:1100px;margin-inline:auto}.battle-text-mode #game{box-sizing:border-box}
