.countries-game {
  width: min(96vw, 540px);
  margin: 0 auto;
  padding: 4px 0 24px;
}
.countries-box {
  background: linear-gradient(180deg, rgba(24,36,59,.96), rgba(15,23,40,.96));
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
  margin-bottom: 12px;
}
.countries-title {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 4px;
}
.countries-sub {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}
.country-player {
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid var(--line);
}
.country-player:last-child { border-bottom: 0; }
.country-player-name { flex: 1; font-weight: 800; font-size: 14px; }
.country-ready { font-size: 11px; color: var(--muted); }
.country-ready.yes { color: var(--green); }
.country-host {
  padding: 3px 7px;
  border-radius: 8px;
  background: rgba(109,124,255,.16);
  color: #bfc6ff;
  font-size: 9px;
  font-weight: 900;
}
.country-settings {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 12px;
}
.country-setting label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  margin: 0 0 5px 2px;
}
.country-select {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #0d1424;
  color: white;
  padding: 0 10px;
}
.country-stop-toggle {
  grid-column: 1 / -1;
  display: flex;
  gap: 9px;
  align-items: center;
  color: #dce2f4;
  font-size: 13px;
}
.country-letter {
  width: 86px;
  height: 86px;
  margin: 5px auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(109,124,255,.16);
  border: 2px solid rgba(109,124,255,.65);
  font-size: 48px;
  font-weight: 950;
}
.country-timer {
  text-align: center;
  font-size: 23px;
  font-weight: 900;
  margin-bottom: 12px;
}
.country-stop-warning {
  text-align: center;
  color: #ffd86b;
  font-size: 12px;
  margin-bottom: 9px;
}
.country-answer-row { margin-bottom: 10px; }
.country-answer-row label {
  display: block;
  margin: 0 0 5px 3px;
  font-size: 11px;
  font-weight: 800;
  color: var(--muted);
}
.country-answer-input {
  width: 100%;
  height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #0d1424;
  color: white;
  padding: 0 13px;
  outline: none;
  font-size: 16px;
}
.country-answer-input:focus {
  border-color: rgba(109,124,255,.8);
  box-shadow: 0 0 0 3px rgba(109,124,255,.12);
}
.country-vote-category {
  margin: 13px 0;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}
.country-vote-head {
  padding: 11px 13px;
  font-weight: 900;
  background: rgba(255,255,255,.04);
}
.country-vote-row {
  padding: 10px 12px;
  border-top: 1px solid var(--line);
}
.country-vote-name { font-size: 11px; color: var(--muted); }
.country-vote-answer {
  margin: 4px 0 8px;
  font-size: 15px;
  font-weight: 800;
  word-break: break-word;
}
.country-vote-actions {
  display: flex;
  gap: 5px;
}
.country-vote-btn {
  flex: 1;
  min-height: 35px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255,255,255,.055);
  color: white;
  font-size: 11px;
  font-weight: 800;
}
.country-vote-btn.selected {
  outline: 2px solid var(--accent);
  background: rgba(109,124,255,.18);
}
.country-wrong {
  color: var(--danger);
  font-size: 11px;
}
.country-score-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.country-score-table th,
.country-score-table td {
  padding: 9px 6px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  text-align: left;
}
.country-score-table th { color: var(--muted); font-weight: 700; }
.country-score-table td:last-child,
.country-score-table th:last-child { text-align: right; }
.country-ranking {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.country-rank-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  border-radius: 14px;
  background: rgba(255,255,255,.045);
}
.country-rank-pos { width: 28px; font-weight: 950; }
.country-rank-name { flex: 1; font-weight: 800; }
.country-rank-score { font-weight: 950; }
.country-invite-list {
  max-height: 180px;
  overflow-y: auto;
  margin-top: 8px;
}
.country-invite-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 0;
  border-bottom: 1px solid var(--line);
}
.country-invite-name { flex: 1; font-size: 13px; font-weight: 800; }
.country-code {
  margin: 8px 0;
  padding: 10px;
  text-align: center;
  border-radius: 12px;
  background: rgba(255,255,255,.05);
  color: #dce3f7;
  font-size: 12px;
  word-break: break-all;
}
