/* ---------- "Who Knows Me Best?" mode ---------- */
.hint {
  font-size: 18px;
  color: #f1dede;
  max-width: 600px;
  margin: 0 auto 10px;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin: 10px auto 20px;
  max-width: 700px;
}

button.chip {
  font-size: 18px;
  padding: 10px 22px;
  margin: 0;
  background-color: #1a1a1a;
  border: 2px solid #5a1a20;
  box-shadow: none;
}

button.chip.selected {
  background-color: #e5383b;
  border-color: white;
}

/* Results list */
.leaderboard {
  max-width: 480px;
  margin: 20px auto 30px;
  padding: 0;
  list-style: none;
}

.leaderboard li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px 22px;
  margin-bottom: 12px;
  background: #121212;
  border: 2px solid rgba(229, 56, 59, 0.5);
  border-radius: 18px;
  font-size: 22px;
  font-weight: 700;
}

.leaderboard li.first {
  background: #b3121f;
  border-color: white;
}

.leaderboard .tag {
  display: block;
  font-size: 14px;
  font-weight: 400;
  color: #f1dede;
  margin-top: 4px;
}

.leaderboard .points {
  font-size: 24px;
  white-space: nowrap;
}

/* Hot seat picker */
button.chip.pick {
  font-size: 22px;
  padding: 14px 30px;
  border-color: #e5383b;
}

button.chip.pick.done {
  opacity: 0.4;
  cursor: default;
  transform: none;
}

/* Question count badge on each pack card */
button.pack-card {
  position: relative;
}

.pack-count {
  position: absolute;
  top: 14px;
  inset-inline-start: 16px;
  font-size: 13px;
  font-weight: 700;
  padding: 4px 10px;
  background-color: #e5383b;
  color: white;
  border-radius: 20px;
}

/* Price badge on each pack card (hidden: price shows only on the paywall) */
.pack-price {
  display: none;
}

/* Paywall screen */
.paywall-lock {
  font-size: 60px;
  margin: 10px 0 0;
}

.paywall-price {
  font-size: 34px;
  font-weight: 700;
  color: white;
  margin: 10px 0 20px;
}

/* ---------- Two of Us: one phone / two phones ---------- */
.modes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin: 20px auto;
  max-width: 460px;
}

button.mode-card {
  width: 100%;
  margin: 0;
  padding: 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(18, 18, 18, 0.9);
  border: 2px solid rgba(229, 56, 59, 0.7);
  border-radius: 24px;
}

.mode-name {
  font-size: 24px;
  font-weight: 700;
}

.mode-desc {
  font-size: 16px;
  font-weight: 400;
  color: #d9bcbc;
}

.room-code {
  font-size: 56px;
  font-weight: 800;
  letter-spacing: 10px;
  margin: 10px 0;
  text-shadow: 0 0 25px rgba(229, 56, 59, 0.6);
}

.code-input {
  display: block;
  width: 100%;
  max-width: 260px;
  margin: 12px auto;
  padding: 14px 18px;
  font-family: inherit;
  font-size: 32px;
  font-weight: 700;
  letter-spacing: 8px;
  text-align: center;
  color: white;
  background: rgba(20, 20, 20, 0.85);
  border: 2px solid #5a1a20;
  border-radius: 14px;
  outline: none;
}

.code-input:focus {
  border-color: #e5383b;
}

.code-error {
  font-size: 16px;
  color: #ff9a9c;
  margin: 0 0 10px;
}

/* Pack start screen: the unlock option stands out */
button.mode-card.buy-card {
  background: #b3121f;
  border-color: white;
}

button.mode-card.buy-card .mode-desc {
  color: #ffe3e3;
}
