.match-injury-dialog {
  width: min(560px, calc(100cqw - 20px));
  max-width: calc(100cqw - 20px);
  max-height: calc(100cqh - 24px);
  overflow: auto;
  background: #1a303e;
  color: var(--cream);
  border: 1px solid #9d9984;
  border-radius: 5px;
  padding: 22px;
}
.match-injury-dialog::backdrop {
  background: #07151cce;
}
.injury-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}
.injury-heading h2 {
  font-size: var(--type-number);
  line-height: 1.2;
}
.match-injury-dialog p {
  font-size: var(--type-section);
  line-height: 1.6;
  margin: 14px 0;
}
.injury-player strong {
  display: block;
  font-size: var(--type-title);
  color: var(--gold);
}
.injury-player span {
  display: block;
  margin-top: 5px;
}
.injury-choices {
  display: grid;
  gap: 10px;
  margin: 20px 0;
}
.injury-choices .game-button {
  text-align: left;
  justify-content: flex-start;
  min-height: 64px;
  padding: 12px;
  gap: 10px;
}
.injury-choices .game-button > span:last-child {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}
.injury-choices strong {
  font-size: var(--type-section);
}
.injury-choices small {
  font-size: var(--type-caption);
  font-weight: 400;
  line-height: 1.5;
  color: var(--dim);
}
.injury-rule-note {
  font-size: var(--type-body) !important;
  color: var(--dim);
  border-top: 1px solid var(--edge);
  padding-top: 14px;
}
@container game (max-width:700px) {
  .match-injury-dialog {
    padding: 16px;
  }
  .injury-heading h2 {
    font-size: var(--type-title);
  }
  .injury-heading {
    gap: 10px;
  }
  .injury-choices .game-button {
    flex-wrap: wrap;
  }
  .injury-choices .game-button > span:last-child {
    flex: 1;
    min-width: 130px;
  }
  .match-injury-dialog .role-symbol {
    width: 20px;
    height: 20px;
  }
}
