.damage-spec {
  overflow-wrap: anywhere;
}

.damage-spec .info-hero h1 {
  font-size: clamp(26px, 5vw, 36px);
  line-height: 1.4;
}

.damage-spec .info-content h2 {
  font-size: clamp(21px, 4vw, 26px);
  line-height: 1.5;
}

.damage-spec .info-content section {
  min-width: 0;
}

.damage-spec-formula {
  margin: 20px 0;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--md-surface-container-low);
  color: var(--text);
  font: inherit;
  font-size: 0.94rem;
  line-height: 1.9;
  white-space: pre-wrap;
}

.damage-spec-table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  line-height: 1.75;
}

.damage-spec-table th,
.damage-spec-table td {
  padding: 12px 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.damage-spec-table thead {
  background: var(--md-surface-container-low);
}

.damage-spec-table th[scope="row"] {
  font-weight: 600;
}

.damage-spec-weapons th:first-child {
  width: 6.5em;
}

.damage-spec-modes {
  margin: 18px 0;
  padding-left: 1.4em;
  list-style: disc;
  line-height: 1.85;
}

.damage-spec-modes li + li {
  margin-top: 10px;
}

.damage-spec .damage-spec-note {
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .damage-spec .info-hero,
  .damage-spec .info-content section {
    padding: 20px 16px;
  }

  .damage-spec-table th,
  .damage-spec-table td {
    padding: 10px;
  }
}
