.battle-stat-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-items:start}.battle-stat{padding:10px 6px;border:1px solid var(--line);border-radius:7px;background:#fafbfc;text-align:center;min-height:86px}.battle-stat label{font-size:9px;white-space:nowrap;font-weight:600;color:#64758b;margin-bottom:9px}.battle-stat select,.battle-stat input{height:35px;background:white;padding:0 5px;font:600 14px var(--display);text-align:center}.battle-hp{--hp:100%}.battle-hp input{font-size:12px}.hp-track{height:4px;border-radius:5px;overflow:hidden;background:#dce8e1;margin-top:7px}.hp-track span{display:block;width:var(--hp);height:100%;background:#55a780}.battle-extra{font-size:11px;color:#687c94;margin-top:16px}.battle-extra summary{cursor:pointer}.battle-extra[open] summary{margin-bottom:13px}.battle-extra small{display:block;font-size:10px;line-height:1.6;margin-top:8px}.battle-extra .battle-stat{min-height:75px}.battle-totals{font-size:10px;color:#697d97;line-height:1.7;background:#f3f6fa;border-radius:5px;padding:8px 10px;margin-top:14px}.battle-panel .panel-heading{gap:10px}.battle-panel .panel-heading .text-button{white-space:nowrap}.battle-panel .hint{color:#73849a}.rebuff-panel{border-top:1px solid var(--line);padding-top:17px;margin-top:17px}.rebuff-panel .two-fields{margin-bottom:0}.rebuff-panel .hint{margin-top:8px}.enemy-conditions{margin:16px 0}.battle-panel>.toggle{margin-top:14px}.battle-panel>.three-fields:has(>#targets),.battle-panel>.three-fields:has(>.field>#targets){grid-template-columns:1fr;margin-top:16px}.battle-panel .enemy-base{border-top:1px solid var(--line);padding-top:14px}.battle-panel #foeBaseFields{margin-bottom:0}.battle-panel .battle-stat select:focus{outline-offset:2px}
[data-theme=dark] .battle-stat{background:#101d30}[data-theme=dark] .battle-stat input,[data-theme=dark] .battle-stat select{background:#1c2d45;color:#edf1fa}[data-theme=dark] .battle-stat label,[data-theme=dark] .battle-extra,[data-theme=dark] .battle-panel .hint{color:#adbed5}[data-theme=dark] .battle-totals{background:#22334c;color:#c0d0e4}[data-theme=dark] .hp-track{background:#334b43}[data-theme=dark] .hp-track span{background:#82d1ac}
@media(max-width:1100px) and (min-width:881px){.battle-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.battle-stat label{font-size:10px}}
@media(max-width:620px){.battle-stat-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.battle-stat{padding:10px 8px}.battle-stat label{font-size:10px}.battle-extra .three-fields{gap:6px}.battle-extra .battle-stat{padding:8px 4px}.battle-extra .battle-stat label{font-size:8px}.battle-panel .panel-heading h2{font-size:13px}}
