.screen { padding: 40px 0 80px; }
.hero-block { text-align: center; margin-bottom: 32px; }
.hero-block h1 { font-size: 2.2rem; margin: 0 0 8px; }
.hero-block h2 { font-size: 1.6rem; margin: 0 0 8px; }
.hero-block p { color: var(--text-muted); }

.lobby-card { padding: 24px; display: flex; flex-direction: column; gap: 10px; }
.lobby-card h3 { margin: 0 0 6px; }
.lobby-card input {
  padding: 10px 14px; border-radius: 10px; border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 0.95rem;
}
.error-text { color: #e5484d; text-align: center; margin-top: 16px; min-height: 1.2em; }
.room-code { font-family: var(--mono); letter-spacing: 0.1em; color: var(--accent); }

#waiting-players { display: flex; flex-direction: column; gap: 8px; }
.waiting-player { padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; font-size: 0.92rem; display: flex; justify-content: space-between; }

.players-strip { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 24px; }
.player-chip {
  padding: 6px 14px; border-radius: 999px; border: 1px solid var(--border);
  background: var(--bg-elevated); font-size: 0.82rem; display: flex; gap: 6px; align-items: center;
}
.player-chip.eliminated { opacity: 0.4; text-decoration: line-through; }
.player-chip.answered { border-color: var(--accent-2); }

.quiz-area { max-width: 640px; margin: 0 auto; padding: 32px; text-align: center; }
.timer-bar { height: 6px; border-radius: 999px; background: var(--border); overflow: hidden; margin-bottom: 24px; }
.timer-fill { height: 100%; background: var(--accent-grad); width: 100%; transition: width 0.1s linear; }
#question-text { font-size: 1.4rem; margin: 0 0 24px; }

.options-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.option-btn {
  padding: 16px; border-radius: var(--radius-sm); border: 1px solid var(--border);
  background: var(--bg); color: var(--text); font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: transform 0.12s ease, border-color 0.12s ease;
}
.option-btn:hover { transform: translateY(-2px); border-color: var(--accent); }
.option-btn.selected { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 15%, var(--bg)); }
.option-btn.correct { border-color: var(--accent-2); background: color-mix(in srgb, var(--accent-2) 20%, var(--bg)); }
.option-btn.wrong { border-color: #e5484d; background: color-mix(in srgb, #e5484d 20%, var(--bg)); }
.option-btn:disabled { cursor: default; opacity: 0.8; }

.answered-note { margin-top: 16px; color: var(--text-muted); font-size: 0.9rem; }

.reveal-banner { max-width: 640px; margin: 24px auto 0; padding: 20px; text-align: center; }
.reveal-banner .eliminated-name { color: #e5484d; font-weight: 700; }

#winner-title { font-size: 2rem; }
