/* English action labels are longer than the original Japanese 4em column. */
.desktop-app .app-shell .rules-card .rules-list > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 3px;
}
.desktop-app .app-shell .rules-card .rules-list dt {
  white-space: normal;
  overflow-wrap: anywhere;
  font-weight: 700;
}
.desktop-app .app-shell .rules-card .rules-list dd {
  min-width: 0;
  overflow-wrap: anywhere;
}
.desktop-app .app-shell .rules-card {
  box-sizing: border-box;
  overflow-x: hidden;
}
/* Long English score names must remain inside their own card column. */
.yaku-title, .pro-yaku-card-title, .role-card-heading {
  min-width: 0;
}
.yaku-title b, .pro-yaku-card-title b, .role-card-heading > strong {
  box-sizing: border-box;
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}
.yaku-list article, .pro-yaku-card {
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}
.yaku-title {
  justify-content: flex-start;
}
.yaku-title > strong {
  flex-basis: 100%;
}
.yaku-title b {
  margin-top: 0;
}
