body.player-tournament-v142 { background: #211924; color: #f5e7ce; min-height: 100dvh; }
body.player-tournament-v142 .app-shell { min-height: 100dvh; background: #211924; }
body.player-tournament-v142 .topbar { background: transparent; }
.player-layout.tournament-session-active .tournament-player-panel,
#tournamentPlayerGame,
#tournamentPlayerGame.player-game-room { background: #261d27; color: #f5e7ce; border-color: #8e7651; }
#tournamentPlayerGame { display: grid; grid-template-columns: minmax(0,1fr); justify-items: stretch; align-content: start; min-width: 0; padding: 14px; border-radius: 6px; text-align: left; }
#tournamentPlayerGame .tournament-hall,
#tournamentPlayerGame .spectator-hall,
#tournamentPlayerGame #spectatorMatchScreen { min-width: 0; width: 100%; }
#tournamentPlayerGame .tournament-hall,
#tournamentPlayerGame .spectator-hall { grid-template-columns: minmax(0,1fr); }
#tournamentPlayerGame .tournament-hall > *,
#tournamentPlayerGame .spectator-hall > *,
#tournamentPlayerGame .qualification-board-v113,
#tournamentPlayerGame .qualification-board-scroll-v113 { min-width: 0; max-width: 100%; }
#tournamentPlayerGame .tournament-player-head { background: transparent; border-bottom: 1px solid #705b45; padding-bottom: 10px; }
#tournamentPlayerGame .status-pill { background: #49382b; color: #ffe1a3; border: 1px solid #937a51; }
#tournamentPlayerGame .tournament-chat { padding-top: 12px; border-top: 1px solid #705b45; background: transparent; color: #f5e7ce; }
#tournamentPlayerGame .chat-heading { color: #f5d78f; background: transparent; }
#tournamentPlayerGame .chat-heading span { color: #dfceba; }
#tournamentPlayerGame .chat-messages { background: #1c171f; border: 1px solid #695849; }
#tournamentPlayerGame .chat-messages p { color: #f5e7ce; }
#tournamentPlayerGame .chat-messages p strong { color: #ffe1a3; }
#tournamentPlayerGame .chat-messages .admin-message { background: #3b271c; color: #ffd0a1; }
#tournamentPlayerGame .chat-compose input { background: #352a37; color: #fff1d6; border: 1px solid #927d58; }
#tournamentPlayerGame .chat-compose input::placeholder { color: #d7c7b5; }
#tournamentPlayerGame .chat-compose button,
#tournamentPlayerGame .tournament-player-head button { background: #463433; color: #ffe5b6; border-color: #927d58; }
#tournamentPlayerGame .spectator-stage { background: #302632; color: #f5e7ce; border-color: #8e7651; }
#tournamentPlayerGame .spectator-stage .score-row { background: #43333f; color: #fff0d6; border: 1px solid #80674f; }
#tournamentPlayerGame .tournament-player-head > div { min-width: 0; }
#tournamentPlayerGame h3,
#tournamentPlayerGame .spectator-stage .score-row span { min-width: 0; overflow-wrap: anywhere; }
#tournamentPlayerGame .spectator-stage .score-row > strong { flex-shrink: 0; }
#tournamentPlayerGame .round-two-notice,
#tournamentPlayerGame .tournament-result-card,
#tournamentPlayerGame .waiting-card { background: #3a2c39; color: #fff0d6; border-color: #8f7353; }
#tournamentPlayerGame .round-two-notice strong { color: #ffdc8d; }
#tournamentPlayerGame .tournament-player-list span,
#tournamentPlayerGame .spectate-match-button { background: #423340; color: #fff0d6; border-color: #896f50; }
#tournamentPlayerGame .spectate-match-button.active { background: #293d36; border-color: #5fac82; }
#tournamentPlayerGame .spectate-match-button.active > strong { color: #aff1cc; }
#tournamentPlayerGame .spectate-match-button.finished > strong { color: #decdba; }
.spectator-context-v142 { display: flex; flex-wrap: wrap; gap: 8px 18px; margin: 12px 0; color: #e9d9c4; font-size: 13px; }
.spectator-context-v142 span { min-width: 0; overflow-wrap: anywhere; }
.spectator-answer-v142 { display: flex; flex-wrap: wrap; gap: 6px 18px; padding: 10px 12px; margin: 12px 0; border: 1px solid; border-radius: 4px; }
.spectator-answer-v142.correct { background: #193c30; color: #bff7dc; border-color: #6abc96; }
.spectator-answer-v142.wrong { background: #4a252f; color: #ffced9; border-color: #dc8295; }
.spectator-answer-v142 small { flex-basis: 100%; color: inherit; }
.tournament-award-dialog-v142 { background: #261d27; color: #f5e7ce; border-color: #c6a369; }
.tournament-award-dialog-v142 > header { background: #3b2b39; color: #ffe1a3; border-bottom: 1px solid #8c6d46; }
.tournament-award-dialog-v142 > header h2 { color: inherit; font-size: 18px; }
.tournament-award-dialog-v142 > header button { background: transparent; color: #ffe1a3; border-color: #937a51; }
.tournament-award-v142 { display: grid; gap: 12px; justify-items: center; text-align: center; padding: 12px; }
.tournament-award-v142 > span { font-size: 64px; }
.tournament-award-v142 h3 { margin: 0; font-size: 18px; color: #ffdea0; overflow-wrap: anywhere; }
.tournament-award-v142 > strong { font-size: 28px; }
.tournament-award-v142 > b { font-size: 24px; color: #ffdfa0; }
.tournament-award-v142 button { background: #edcb7b; color: #291d25; border: 1px solid #be9657; border-radius: 4px; padding: 10px 20px; }
@media(max-width:540px) { #tournamentPlayerGame { padding: 10px; } .spectator-context-v142 { display: grid; gap: 6px; } }
