/* Fit the three live choices in the dialog's Banner-aware viewport. */
@media (max-width: 620px), (max-height: 550px) {
  dialog.page-shell[data-page-screen="startingSupply"] .supply-choices {
    gap: 6px;
    margin: 0;
  }

  dialog.page-shell[data-page-screen="startingSupply"] .supply-choices > button {
    box-sizing: border-box;
    display: grid;
    align-content: center;
    gap: 3px;
    min-width: 0;
    min-height: 58px;
    margin: 0;
    padding: 6px 8px;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }

  dialog.page-shell[data-page-screen="startingSupply"] .supply-choices > button > span {
    font-size: 12px;
    line-height: 1.2;
  }

  dialog.page-shell[data-page-screen="startingSupply"] .page-footer:has(> .page-nav[hidden]) {
    display: none;
  }

  dialog.page-shell[data-page-screen="startingSupply"] > .page-header {
    padding: 5px 9px;
    gap: 4px;
  }

  dialog.page-shell[data-page-screen="startingSupply"] .page-flow {
    padding: 8px;
  }

  dialog.page-shell[data-page-screen="startingSupply"] .room-illustration {
    display: none;
  }
}

@media (max-width: 620px) {
  dialog.page-shell[data-page-screen="startingSupply"] .supply-choices {
    grid-template-columns: minmax(0, 1fr);
  }
}
