/* Cards setup panels only. Keep the draw stage, animations and dark palette intact. */
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] {
  --cards-setup-surface: #f5f3fb;
  --cards-setup-border: #c9c1dc;
  --cards-setup-ink: #332d51;
  --cards-setup-muted: #59516e;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] :is(
  .party-setup-row, .party-bulk, .party-history
) {
  background: var(--cards-setup-surface);
  border-color: var(--cards-setup-border);
  color: var(--cards-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] :is(
  .party-slots, .party-order-toggle, .party-bulk summary, .party-history summary
) { color: var(--cards-setup-ink); }
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] :is(
  .party-count-number, .party-history-list strong
) { color: #613979; }
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-count-button {
  background: #fff;
  border-color: #ab9ec5;
  color: #392b57;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-count-button:not(:disabled):hover {
  background: #e7e0f5;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-start-odds {
  background: #eee6f9;
  border-color: #c0abdf;
  color: #533875;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] #quickBetModal .party-order-toggle input {
  accent-color: #6841a0;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] #quickBetModal .party-bulk textarea {
  background: #fff;
  border-color: #b7aaca;
  color: var(--cards-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] #quickBetModal .party-bulk textarea::placeholder {
  color: #655c78;
  opacity: 1;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-bulk-apply {
  background: #e2d5fa;
  border: 1px solid #ad90dc;
  color: #352052;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-bulk-apply:hover {
  background: #d5c2f4;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-history-list p {
  background: #fff;
  border: 1px solid #dbd5e9;
  color: var(--cards-setup-ink);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-history-list small {
  color: var(--cards-setup-muted);
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-history-clear {
  background: #fff0ed;
  border-color: #dbafa6;
  color: #883d36;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] .party-history-clear:hover {
  background: #fce2de;
}
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] :is(
  .party-count-button, .party-bulk-apply, .party-history-clear,
  .party-bulk summary, .party-history summary
):focus-visible,
html[data-theme="light"] body.qb-refreshed[data-quick-bet-page="cards"] #quickBetModal .party-bulk textarea:focus-visible {
  outline: 2px solid #65409c;
  outline-offset: 2px;
}
