/* Balloon setup-only light surfaces. Keep the stage, effects and dark palette unchanged. */
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] {
  --balloon-setup-surface: #f2f7f3;
  --balloon-setup-border: #c2d5c9;
  --balloon-setup-ink: #25463d;
  --balloon-setup-muted: #47675b;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] :is(
  .party-setup-row,.party-bulk,.party-history
) {
  background: var(--balloon-setup-surface);
  border-color: var(--balloon-setup-border);
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .quickbet-names {
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .quickbet-name-field.qb-player-field {
  background: #f5f9f6;
  border-color: var(--balloon-setup-border);
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .quickbet-name-field.qb-player-field:focus-within {
  background: #fff;
  border-color: #3b7861;
  box-shadow: 0 0 0 2px #3b786122;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .quickbet-names .party-face-button {
  background: #d9eae0;
  border-color: #a9cabb;
  color: #24483e;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .quickbet-names .party-face-button:hover {
  background: #cce3d4;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .qb-player-field input {
  background: transparent;
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .qb-player-field input::placeholder,
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .party-bulk textarea::placeholder {
  color: #667c71;
  opacity: 1;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] :is(
  .quickbet-name-number,.qb-member-count,.party-order-toggle,.party-slots,.party-bulk summary,.party-history summary
) {
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] :is(
  .party-count-number,.party-history-list strong
) {
  color: #77511f;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-count-button {
  background: #fff;
  color: var(--balloon-setup-ink);
  border-color: #9fbcae;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-count-button:not(:disabled):hover {
  background: #e1efe7;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-start-odds {
  background: #eaf1d9;
  border-color: #b4c78f;
  color: #435c2d;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .party-order-toggle input {
  accent-color: #337b5d;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .party-bulk textarea {
  background: #fff;
  color: var(--balloon-setup-ink);
  border-color: #a9c4b5;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] #quickBetModal .party-bulk textarea:focus-visible {
  outline: 2px solid #34795f;
  outline-offset: 2px;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-bulk-apply {
  background: #d4edaa;
  border: 1px solid #a0c570;
  color: #2e502c;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-bulk-apply:hover {
  background: #c4e394;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-history-list p {
  background: #fff;
  border: 1px solid #d6e3da;
  color: var(--balloon-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-history-list small {
  color: #516b60;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-history-clear {
  background: #fff2ec;
  border-color: #d6a99a;
  color: #873d31;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] .party-history-clear:hover {
  background: #fce4dc;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="balloon"] :is(
  .party-count-button,.party-bulk-apply,.party-history-clear
):focus-visible {
  outline: 2px solid #34795f;
  outline-offset: 2px;
}

/* The roster uses a single readable column at phone widths in either theme. */
@media (max-width: 540px) {
  body.qb-refreshed[data-quick-bet-page="balloon"] .quickbet-names {
    grid-template-columns: minmax(0, 1fr);
  }
}
