.setup {
  height: 100%;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
}

.hero {
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(145deg, #e8cf67, #c7a83a);
  color: #fffdf5;
}

.heroInner { height: 100%; display: flex; flex-direction: column; gap: 12px; }

.heroTitle {
  margin: 0;
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(24px, 3.3vw, 38px);
  font-weight: 400;
}

.heroDesc { margin: 0; font-weight: 700; line-height: 1.4; }

.heroInfo {
  border: 1px solid rgba(255, 255, 255, .26);
  border-radius: 14px;
  background: rgba(255, 255, 255, .14);
  padding: 10px 12px;
  font-size: 13px;
  line-height: 1.35;
  font-weight: 800;
}

.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spacer { flex: 1 1 auto; min-height: 12px; }
.startRow { display: flex; justify-content: flex-end; }

.game {
  height: 100%;
  display: grid;
  grid-template-columns: 1.65fr 0.65fr;
  gap: 12px;
}

.playWrap {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  position: relative;
}

.metaTop {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  font-weight: 850;
  margin-bottom: 10px;
}

.playArea {
  flex: 1 1 auto;
  min-height: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  padding: clamp(16px, 2.5vw, 28px);
}

.promptCard {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 18px;
  gap: 12px;
}

.promptLead {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  color: #7a6140;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.promptCategory {
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 400;
  color: #141414;
  line-height: 1.05;
}

.promptWith {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  color: #7a6140;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.promptLetter {
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
  font-size: clamp(84px, 14vw, 170px);
  line-height: 0.95;
  font-weight: 400;
  color: #111;
}

.actionPanel {
  display: grid;
  gap: 10px;
}

#versusAnswerActions {
  grid-template-columns: 1fr 1fr;
}

#versusAnswerActions #btnNobody {
  grid-column: 1 / -1;
}

.bigAction {
  min-height: 64px;
  font-size: 18px;
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
}

#versusAnswerActions .bigAction {
  min-height: 74px;
}

.side {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
}

.duelBox {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fafafa;
  padding: 10px;
  margin-bottom: 10px;
}

.scoreLine {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 8px;
}

.scoreLine:last-child { margin-bottom: 0; }

.scoreLine strong {
  color: var(--text);
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
  font-size: 24px;
  font-weight: 400;
}

.msg {
  padding: 2px 0 0;
  font-size: 13px;
  color: var(--muted);
  font-weight: 800;
  line-height: 1.35;
}

.sideButtons {
  display: grid;
  gap: 10px;
  margin-top: auto;
}

.overlay {
  position: absolute;
  inset: 12px;
  background: rgba(255, 255, 255, .82);
  backdrop-filter: blur(2px);
  border-radius: 16px;
  z-index: 5000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
}

.overlayCard {
  width: min(520px, 92%);
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 14px;
  text-align: center;
  box-shadow: 0 18px 42px rgba(10, 30, 20, .18);
}

.overlayCard h3 {
  margin: 0 0 8px;
  font-family: "CMB", "Segoe UI", system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(24px, 3vw, 34px);
}

.overlayCard p {
  margin: 0 0 10px;
  color: var(--muted);
  font-weight: 800;
  white-space: pre-line;
}

@media (max-width: 980px) {
  .setup { grid-template-columns: 1fr; }
  .game { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
}
