* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; background: #f0f2f5; color: #1c1e21; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.container { width: 100%; max-width: 600px; padding: 20px; background: white; border-radius: 8px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.screen { display: none; width: 100%; }
.screen.active { display: block; }
h1 { text-align: center; margin-bottom: 20px; color: #1877f2; }
h2 { margin-bottom: 10px; font-size: 1.2rem; }
.form-group { margin-bottom: 15px; display: flex; flex-direction: column; }
.form-group label { margin-bottom: 5px; font-weight: bold; }
.form-group input, .form-group-row input { padding: 10px; border: 1px solid #ddd; border-radius: 6px; font-size: 1rem; }
.form-group-row { display: flex; gap: 10px; margin-bottom: 15px; }
.form-group-row input { flex: 1; }
.btn { padding: 12px; border: none; border-radius: 6px; font-size: 1rem; font-weight: bold; cursor: pointer; transition: background 0.2s; width: 100%; margin-bottom: 10px; }
.btn-primary { background: #1877f2; color: white; }
.btn-primary:hover { background: #166fe5; }
.btn-secondary { background: #42b72a; color: white; }
.btn-secondary:hover { background: #36a420; }
.btn-stop { background: #fa3e3e; color: white; font-size: 1.5rem; padding: 20px; }
.btn:disabled { background: #ddd; cursor: not-allowed; }
.room-info { background: #e7f3ff; padding: 10px; border-radius: 6px; text-align: center; margin-bottom: 20px; font-size: 1.1rem; }
.themes-list, .players-list { list-style: none; margin-bottom: 20px; }
.themes-list li, .players-list li { background: #f0f2f5; padding: 8px 12px; border-radius: 4px; margin-bottom: 5px; }
.game-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; border-bottom: 2px solid #f0f2f5; padding-bottom: 10px; }
.game-info { display: flex; gap: 20px; }
.answers-container { display: grid; gap: 15px; margin-bottom: 20px; }
.answer-field { display: flex; flex-direction: column; gap: 5px; }
.answer-field label { font-weight: bold; }
.answer-field input:read-only { background: #f0f2f5; color: #888; }
.moderation-item { background: #f0f2f5; padding: 15px; border-radius: 8px; margin-bottom: 15px; }
.mod-header { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 0.9rem; color: #65676b; }
.mod-answer { font-size: 1.1rem; font-weight: bold; margin-bottom: 10px; }
.mod-btns { display: flex; gap: 10px; }
.btn-approve { background: #42b72a; color: white; }
.btn-reject { background: #fa3e3e; color: white; }
.leaderboard-table { width: 100%; border-collapse: collapse; margin-bottom: 20px; }
.leaderboard-table th, .leaderboard-table td { padding: 12px; text-align: left; border-bottom: 1px solid #ddd; }
.leaderboard-table th { background: #f0f2f5; }
