body {
  font-family: system-ui, Arial, sans-serif;
  margin: 0;
  background: #0b1220;
  color: #e8eefc;
  display: grid;
  place-items: center;
  min-height: 100vh;
}

.card {
  width: min(820px, 92vw);
  background: #121b31;
  border: 1px solid #233055;
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
}

input, button, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #2a3b67;
  background: #0d1529;
  color: #e8eefc;
  outline: none;
  box-sizing: border-box;
}

button {
  background: #2b67ff;
  border: none;
  cursor: pointer;
  font-weight: 700;
  margin-top: 10px;
}

label { display:block; margin-top: 10px; opacity: .9; }
hr { border: none; border-top: 1px solid #233055; margin: 18px 0; }

.row { display: flex; gap: 10px; }
.row button { margin-top: 0; }

.box {
  margin-top: 12px;
  padding: 12px;
  border: 1px dashed #2a3b67;
  border-radius: 10px;
}

.linkbtn {
  display: inline-block;
  margin-top: 8px;
  text-decoration: none;
  color: #e8eefc;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid #2a3b67;
}

.questionBox {
  margin-top: 18px;
  padding: 16px;
  border-radius: 12px;
  border: 1px solid #2a3b67;
  background: #0d1529;
}
.label { opacity: .8; margin-bottom: 8px; }
.big { font-size: 26px; font-weight: 800; line-height: 1.2; }

.status { opacity: .95; margin-top: 10px; }
.error { color: #ff6b6b; }

.options {
  margin-top: 14px;
  display: grid;
  gap: 10px;
}
.optBtn {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #2a3b67;
  background: #0d1529;
  color: #e8eefc;
  cursor: pointer;
  text-align: left;
}
.optBtn:disabled { opacity: 0.6; cursor: not-allowed; }

.qCard {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid #233055;
  border-radius: 12px;
  background: #0d1529;
}
.optionsGrid {
  display: grid;
  gap: 10px;
  grid-template-columns: 1fr 1fr;
}
.danger {
  margin-top: 10px;
  background: #ff4d4d;
}

.statRow {
  padding: 10px 12px;
  border: 1px solid #233055;
  border-radius: 10px;
  margin-top: 10px;
  background: #0d1529;
}

/* Esconde resultados na tela da sala (participantes) */
body.sala .votesBlock { display: none; }
