.classroom-setup-options { border: 0; padding: 0; margin: 24px 0; min-width: 0; }
.classroom-setup-options legend { font-size: 20px; font-weight: 800; margin-bottom: 14px; }
.classroom-choice-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.classroom-choice { display: flex; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: white; cursor: pointer; }
.classroom-choice.is-selected { border-color: var(--brand-blue); background: var(--brand-blue-pale); }
.game-format-section:has(.classroom-setup-options),
.game-format-section:has(.classroom-setup-options) > *,
.classroom-choice { min-width: 0; box-sizing: border-box; }
.game-format-section:has(.classroom-setup-options) .play-style-choice { min-width: 0; width: 100%; box-sizing: border-box; overflow-wrap: anywhere; }
.classroom-choice input { width: 18px; height: 18px; flex: 0 0 18px; accent-color: var(--brand-blue-deep); margin-top: 4px; }
.classroom-choice > span { display: grid; grid-template-columns: 24px minmax(0, 1fr); gap: 8px; min-width: 0; }
.classroom-choice svg { width: 24px; height: 24px; color: var(--brand-blue-deep); fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.classroom-choice strong { font-size: 18px; }
.classroom-choice small { grid-column: 1 / -1; color: var(--muted); font-size: 15px; line-height: 1.5; }
.classroom-switch { display: inline-flex; align-items: center; gap: 10px; padding: 12px 16px; font-size: 15px; font-weight: 800; white-space: nowrap; color: var(--brand-blue-deep); background: var(--brand-blue-pale); border-radius: 8px; }
.classroom-switch input { appearance: none; width: 38px; height: 22px; border-radius: 20px; background: #b9bfce; padding: 3px; cursor: pointer; margin: 0; flex: 0 0 38px; }
.classroom-switch input::before { content: ""; display: block; width: 16px; height: 16px; border-radius: 50%; background: white; }
.classroom-switch input:checked { background: var(--wizard-button-bg); }
.classroom-switch input:checked::before { margin-left: 16px; }
.classroom-switch input:focus-visible { outline: 3px solid var(--brand-blue-deep); outline-offset: 3px; }
.private-host-participants:has(.classroom-switch) .private-host-participants-head { flex-wrap: wrap; }
.private-host-participants:has(.classroom-switch) .private-host-participant-actions { flex-wrap: wrap; }
.classroom-advice { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 20px; border-left: 3px solid var(--yellow); color: var(--muted); }
.classroom-advice strong { color: var(--ink); font-size: 18px; }
.classroom-advice p { margin: 6px 0; font-size: 15px; line-height: 1.5; }
.classroom-advice details { max-width: 640px; }
.classroom-advice textarea { display: block; box-sizing: border-box; width: 100%; margin: 10px 0; padding: 12px; border: 1px solid var(--line); border-radius: 8px; font: inherit; resize: vertical; }
.classroom-point-value { color: var(--brand-blue-deep); font-size: 24px; line-height: 1.2; }
.classroom-action-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 16px; }
.classroom-guided { min-width: 0; }
.classroom-more-actions { width: 100%; font-size: 15px; }
.classroom-more-actions .button { padding: 10px 16px; font-size: 14px; }
.classroom-role-picker { display: flex; flex-wrap: wrap; gap: 12px; margin-block: 12px; }
.classroom-role-picker label { display: grid; gap: 6px; min-width: 0; flex: 1 1 150px; font-size: 13px; letter-spacing: 0; }
.classroom-role-picker select { width: 100%; min-width: 0; padding: 8px; border: 1px solid var(--line); border-radius: 8px; font-size: 14px; color: var(--ink); background: white; }
.private-host-team-card.is-guessing:has(.classroom-role-picker) .host-role-summary { color: white; }
.private-host-team-card.is-guessing .classroom-role-picker label { color: white; }
.classroom-student-page { min-width: 0; box-sizing: border-box; }
.classroom-student-page .student-device-card { max-width: 540px; width: 100%; min-width: 0; box-sizing: border-box; overflow-wrap: anywhere; }
.classroom-student-page .student-device-card > * { min-width: 0; }
.classroom-student-page h1 { font-size: 30px; line-height: 1.15; overflow-wrap: anywhere; }
.classroom-student-page form { display: grid; gap: 12px; }
.classroom-student-page input { min-width: 0; width: 100%; box-sizing: border-box; padding: 14px; border: 1px solid var(--brand-blue-soft); border-radius: 8px; font-size: 18px; }
.classroom-student-page .student-secret-word, .classroom-student-page .student-clue-live strong { overflow-wrap: anywhere; }
.classroom-participant-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; padding: 4px; border-radius: 8px; background: var(--brand-blue-pale); }
.classroom-participant-nav button { min-height: 44px; border: 0; border-radius: 6px; padding: 10px; background: transparent; color: var(--muted); font: inherit; font-weight: 800; cursor: pointer; }
.classroom-participant-nav button[aria-pressed="true"] { background: var(--wizard-button-bg); color: white; }
.classroom-participant-screen { display: grid; gap: 20px; min-width: 0; }
.classroom-participant-screen .eyebrow, .classroom-participant-screen h1, .classroom-participant-status { margin: 0; }
.classroom-mini-scores { display: grid; gap: 12px; margin-top: 4px; font-size: 18px; }
.classroom-mini-scores > div { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 16px; border-bottom: 1px solid var(--line); }
.classroom-mini-scores span { overflow-wrap: anywhere; }
.classroom-mini-scores strong { color: var(--brand-blue-deep); font-size: 32px; }
.classroom-projected-roles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.classroom-projected-roles > div { display: grid; gap: 6px; padding: 16px; border-bottom: 3px solid transparent; font-size: 20px; overflow-wrap: anywhere; }
.classroom-projected-roles > .active { border-color: var(--yellow); background: var(--brand-blue-pale); border-radius: 8px; }
@media (max-width: 600px) {
  .game-format-section:has(.classroom-setup-options) .play-style-title-row { padding-right: 0; }
  .game-format-section:has(.classroom-setup-options) .play-style-title-row strong { padding-right: 28px; font-size: 18px; line-height: 1.15; overflow-wrap: normal; }
  .game-format-section:has(.classroom-setup-options) .play-style-choice em { position: static; justify-self: start; }
  .classroom-choice-grid, .classroom-projected-roles { grid-template-columns: minmax(0, 1fr); }
  .classroom-switch { font-size: 14px; padding: 10px 12px; }
  .classroom-advice { padding-inline: 12px; }
  .classroom-projected-roles > div { font-size: 16px; }
}
