.show-mode-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.builder-wizard-body.show-mode-selection { grid-template-columns: minmax(0, 1fr); }
.show-mode-selection .game-format-section { display: block; min-height: 0; padding: 0; background: none; box-shadow: none; }
.builder-wizard-card:has(.show-mode-selection) .builder-wizard-stage { border: 0; padding: 0; background: none; box-shadow: none; }
.builder-wizard-card:has(.show-mode-selection) .builder-wizard-title-row h2 { font-size: 32px; line-height: 1.15; }
.show-mode-grid .play-style-choice { min-width: 0; padding: 20px; }
.show-mode-grid .play-style-title-row { padding-right: 0; flex-wrap: nowrap; min-width: 0; min-height: 50px; }
.show-mode-grid .play-style-choice strong { flex: 1; font-size: 20px; line-height: 1.25; padding-right: 0; min-width: 0; }
.show-mode-grid .play-style-choice > span { min-width: 0; max-width: 100%; white-space: normal; }
.show-setup-fields, .show-clue-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-block: 20px; }
.show-clue-fields { grid-column: 2 / -1; margin: 0; }
.show-setup-fields select, .show-finale-setup select, .show-roster select { width: 100%; min-height: 44px; }
.setup-essential-choices { display: flex; flex-wrap: wrap; gap: 16px 24px; margin-block: 16px; }
.host-setup-card .classroom-switch { white-space: normal; max-width: 100%; align-items: flex-start; }
.host-setup-card .classroom-switch input { flex: 0 0 auto; }
.show-room-clues { margin-top: 20px; }
.show-room-clues summary { cursor: pointer; padding-block: 10px; }
.show-room-word { margin-block: 16px; }
.setup-segment { border: 0; padding: 0; margin: 0; min-width: 0; }
.setup-segment legend { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.setup-segment > div { display: flex; padding: 4px; border-radius: 8px; background: #f0efff; }
.setup-segment label { position: relative; flex: 1; cursor: pointer; }
.setup-segment input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.setup-segment span { display: block; padding: 10px 16px; border-radius: 6px; text-align: center; font-size: 14px; font-weight: 700; color: #514979; white-space: nowrap; }
.setup-segment input:checked + span { background: #6755df; color: white; }
.setup-segment input:focus-visible + span { outline: 2px solid #34256e; outline-offset: 2px; }
.setup-customize { margin-top: 16px; }
.setup-customize > summary { color: #5c4ac6; font-size: 15px; cursor: pointer; padding-block: 10px; }
.setup-customize .show-setup-fields { margin-block: 12px; }
.setup-customize .classroom-switch { white-space: normal; max-width: 100%; }
.setup-finale-note { font-size: 14px; line-height: 1.5; color: #52617c; margin: 8px 0 14px; }
.setup-legacy-link { display: block; border: 0; background: transparent; color: #5c4ac6; font: inherit; font-size: 14px; text-decoration: underline; padding: 12px 0; margin-top: 8px; cursor: pointer; }
.show-stage { display: grid; gap: 20px; min-width: 0; }
.show-progress { display: flex; justify-content: space-between; align-items: center; gap: 16px; color: #52617c; font-size: 14px; }
.show-timer { min-width: 58px; text-align: center; font-size: 28px; font-weight: 800; font-variant-numeric: tabular-nums; color: #5038bc; }
.show-timer.is-low { color: #a52338; }
.show-stage h2 { font-size: 30px; line-height: 1.15; margin: 0; overflow-wrap: anywhere; }
.show-stage .show-word { font-size: 44px; }
.show-stage p { margin: 0; }
.show-stage .student-secret-word, .show-stage .student-clue-live strong, .show-stage .classroom-mini-scores span { overflow-wrap: anywhere; min-width: 0; }
.show-stage form { display: grid; gap: 16px; }
.show-stage input, .show-clue-fields input { min-width: 0; width: 100%; }
.show-judging { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.show-judging .button { min-width: 0; padding: 16px 12px; }
.show-secondary-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.show-host-stage { max-width: 900px; width: 100%; margin-inline: auto; }
.show-device { width: min(100%, 440px); }
.show-roster ul { padding: 0; list-style: none; }
.show-roster h2 { font-size: 26px; }
.show-roster li { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding: 12px 0; border-bottom: 1px solid #e2e4ef; }
.show-roster li > span { flex: 1; min-width: 120px; }
.show-buzzer { min-height: 120px; font-size: 32px; }
.show-projector .show-stage { max-width: 1000px; margin: 32px auto; text-align: center; }
.show-projector .show-word { font-size: 64px; }
.show-projector .show-timer { font-size: 52px; }
.show-finale-setup { margin-top: 24px; }
@media (max-width: 800px) {
  .show-mode-grid, .show-setup-fields { grid-template-columns: 1fr; }
  .builder-wizard-card:has(.show-mode-selection) .builder-wizard-title-row h2 { font-size: 28px; }
  .show-mode-grid .play-style-choice { padding: 16px; }
  .show-mode-grid .play-style-choice strong { font-size: 20px; }
  .show-mode-grid .play-style-title-icon { width: 32px; height: 32px; }
  .show-mode-grid .play-style-choice > span:not(.play-style-title-row) { font-size: 14px; line-height: 1.5; }
  .show-clue-fields { grid-template-columns: minmax(0, 1fr); grid-column: 1 / -1; min-width: 0; }
  .show-stage h2 { font-size: 26px; }
  .show-stage .show-word { font-size: 36px; }
  .show-projector .show-word { font-size: 44px; }
}
@media (max-width: 600px) {
  .show-mode-grid { grid-template-columns: minmax(0, 1fr); }
}
