/* ═══════════════════════════════════════════════
   SCREENS.CSS — Per-screen layout styles
════════════════════════════════════════════════ */

/* ── LANDING ── */
/* Styles are scoped in landing.html */

/* ── HOST LOBBY ── */
/* Styles are scoped in host-lobby.html */

/* ── HOST PLAYERS ── */
/* Styles are scoped in host-players.html */

/* ── FORM SCREENS (name/chars) ── */
.form-screen .form-body {
  flex: 1;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: 32px 24px 120px;
}
/* ── FORM SCREENS — host-name, host-chars, guest-name, guest-chars ── */
/* Layout styles are now scoped in each HTML file via .host-form-layout */

/* ── TEAMS SCREEN ── */
#s-host-teams .teams-body {
  flex: 1;
  overflow-y: auto;
  padding: 28px 24px 120px;
}

/* ── ROUND INTRO ── */
#s-round-intro .round-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 48px 32px;
  text-align: center;
  gap: 20px;
}
#s-round-intro .round-emoji { font-size: 72px; display: block; margin-bottom: 4px; }
#s-round-intro .round-main-title {
  font-size: clamp(40px, 12vw, 64px);
  font-weight: 700;
  letter-spacing: -2px;
  line-height: 1;
}

/* ── PLAYER INTRO ── */
#s-player-intro .pintro-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 32px;
  text-align: center;
  gap: 12px;
}

/* ── PLAYING ── */
#s-playing {
  position: relative;
}

/* ── ROUND RESULTS ── */
#s-round-results .rresults-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 24px;
}
#s-round-results .scores-row {
  display: flex;
  gap: 12px;
  margin-bottom: 20px;
}
#s-round-results .leader-note {
  padding: 18px 20px;
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-md);
  text-align: center;
  font-size: 15px;
  font-weight: 600;
  opacity: .7;
}
#s-round-results .breakdown {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.breakdown-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
}
.breakdown-row__label { opacity: .4; font-weight: 600; letter-spacing: 0.5px; }
.breakdown-row__scores { font-weight: 700; }

/* ── FINAL RESULTS ── */
#s-final-results .final-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 36px 24px;
  text-align: center;
}
#s-final-results .winner-emoji-big { font-size: 80px; display: block; margin-bottom: 14px; }
#s-final-results .final-scores-row { display: flex; gap: 12px; margin: 28px 0 20px; }

/* ── GUEST DONE ── */
#s-guest-done .done-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 32px;
  gap: 14px;
}
