.tactics-lab, .combat-tactics {
  margin-block: 1rem;
  padding: clamp(12px, 2vw, 22px);
  border: 1px solid #516b8d;
  border-radius: 14px;
  background: #111a2b;
}
.tactics-lab summary { color: #98e8ef; cursor: pointer; font-size: 1.2rem; font-weight: 650; }
.tactics-field { display: grid; gap: .4rem; margin-block: .85rem; width: min(100%,26rem); }
.tactics-field select { font: inherit; color: #edf6ff; background: #132239; border: 1px solid #5e7aa1; border-radius: 8px; padding: .6rem; }
.tactics-passive { color: #b4e6fc; }
.tactics-preview, .tactics-actions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: .55rem; }
.tactics-preview { list-style: none; padding: 0; }
.tactics-preview li, .tactics-actions button { display: grid; gap: .25rem; text-align: start; border: 1px solid #3c5876; border-radius: 8px; background: #101f30; padding: .7rem; }
.tactics-preview small, .tactics-actions small { color: #b9ccdf; }
.combat-tactics progress { width: min(100%,25rem); margin-bottom: .6rem; accent-color: #b69aff; }
.tile.action-tactic_a, .tile.action-tactic_b, .tile.action-tactic_c, .tile.action-ultimate { animation: tactic-pulse .55s ease-out both; }
.tile.action-ultimate { animation-duration: .9s; }
@keyframes tactic-pulse { 30% { box-shadow: 0 0 22px #a787ffb5, inset 0 0 13px #a7edff85; } }
body.reduced .tile { animation: none; }
@media (prefers-reduced-motion:reduce) { .tile { animation:none !important; } }
@media (max-width:520px) { .tactics-preview, .tactics-actions { grid-template-columns: minmax(0,1fr); } }
.combat-tactics h3 { margin: 0; }
.combat-tactics button { min-height: 44px; }
