/**
 * BT-GSD-GOLFMAP-PARI-MUTUEL-CONTRASTE-LISIBILITE-DEV
 * Verrou Pari mutuel : texte lisible, WIN/PLACE/SHOW blanc, KPI lisibles.
 * Chargé en dernier dans App.js. Moteur WIN/PLACE/SHOW inchangé.
 */

.ct-mutuel-premium,
.ct-mutuel-fs,
.ct-mutuel-live,
.ct-mutuel-tv,
.ct-mutuel-admin-cc,
.ct-mutuel-desk {
  --mp-win: var(--win-bg, #1b7a45);
  --mp-place: var(--place-bg, #1d4e89);
  --mp-show: var(--show-bg, #8b1e2d);
  --mp-ink: var(--pws-ink);
  --mp-ivory: var(--pws-ivory);
}

.ct-mutuel-fs-wager__type.is-win,
.ct-mutuel-fs-wager__type.is-place,
.ct-mutuel-fs-wager__type.is-show,
.ct-mutuel-fs-bet.is-win,
.ct-mutuel-premium .ct-dlx-market.is-win,
.ct-mutuel-premium .ct-dlx-market.is-place,
.ct-mutuel-premium .ct-dlx-market.is-show,
.ct-mutuel-fs .ct-dlx-market.is-win,
.ct-mutuel-fs .ct-dlx-market.is-place,
.ct-mutuel-fs .ct-dlx-market.is-show,
.ct-mutuel-premium .ct-dlx-market.is-win span,
.ct-mutuel-premium .ct-dlx-market.is-win strong,
.ct-mutuel-premium .ct-dlx-market.is-place span,
.ct-mutuel-premium .ct-dlx-market.is-show span,
.ct-mutuel-fs .ct-dlx-market.is-win span,
.ct-mutuel-fs .ct-dlx-market.is-place span,
.ct-mutuel-fs .ct-dlx-market.is-show span,
.ct-mutuel-fs-wager__status.is-ok,
.ct-mutuel-premium .ct-mutuel-fs-wager__status.is-ok {
  color: #ffffff !important;
}
.ct-mutuel-fs-wager__status.is-pay,
.ct-mutuel-premium .ct-mutuel-fs-wager__status.is-pay,
.ct-dlx-wager__badge.is-pay {
  color: #142018 !important;
}
.ct-mutuel-premium .ct-dlx-market.is-win,
.ct-mutuel-fs .ct-dlx-market.is-win,
.ct-mutuel-fs__mix .is-win,
.ct-mutuel-fs-wager__type.is-win,
.ct-mutuel-fs-bet.is-win,
.ct-mutuel-fs .ct-dlx-chip.is-on.is-win,
.mp-pool.is-win,
.mp-v3-mkt.is-win,
.ct-mutuel-tv__pools .is-win,
.ct-mutuel-live__pools .is-win,
.ct-mutuel-master-poolsum .is-win {
  background-color: var(--win-bg, #1b7a45) !important;
  color: var(--win-text, #ffffff) !important;
}
.ct-mutuel-premium .ct-dlx-market.is-win strong,
.ct-mutuel-premium .ct-dlx-market.is-win span,
.ct-mutuel-fs .ct-dlx-market.is-win strong,
.ct-mutuel-fs .ct-dlx-market.is-win span,
.ct-mutuel-fs__mix .is-win *,
.mp-pool.is-win span,
.mp-pool.is-win strong,
.ct-mutuel-tv__pools .is-win span,
.ct-mutuel-tv__pools .is-win strong,
.ct-mutuel-live__pools .is-win span,
.ct-mutuel-live__pools .is-win strong {
  color: var(--win-text, #ffffff) !important;
  background: transparent !important;
}

.ct-mutuel-premium .ct-dlx-market.is-place,
.ct-mutuel-fs .ct-dlx-market.is-place,
.ct-mutuel-fs__mix .is-place,
.ct-mutuel-fs-wager__type.is-place,
.ct-mutuel-fs-bet.is-place,
.ct-mutuel-fs .ct-dlx-chip.is-on.is-place,
.mp-pool.is-place,
.mp-v3-mkt.is-place,
.ct-mutuel-tv__pools .is-place,
.ct-mutuel-live__pools .is-place,
.ct-mutuel-master-poolsum .is-place {
  background-color: var(--place-bg, #1d4e89) !important;
  color: var(--place-text, #ffffff) !important;
}
.ct-mutuel-premium .ct-dlx-market.is-place strong,
.ct-mutuel-premium .ct-dlx-market.is-place span,
.ct-mutuel-fs .ct-dlx-market.is-place strong,
.ct-mutuel-fs .ct-dlx-market.is-place span,
.ct-mutuel-fs__mix .is-place *,
.mp-pool.is-place span,
.mp-pool.is-place strong,
.ct-mutuel-tv__pools .is-place span,
.ct-mutuel-tv__pools .is-place strong,
.ct-mutuel-live__pools .is-place span,
.ct-mutuel-live__pools .is-place strong {
  color: var(--place-text, #ffffff) !important;
  background: transparent !important;
}

.ct-mutuel-premium .ct-dlx-market.is-show,
.ct-mutuel-fs .ct-dlx-market.is-show,
.ct-mutuel-fs__mix .is-show,
.ct-mutuel-fs-wager__type.is-show,
.ct-mutuel-fs-bet.is-show,
.ct-mutuel-fs .ct-dlx-chip.is-on.is-show,
.mp-pool.is-show,
.mp-v3-mkt.is-show,
.ct-mutuel-tv__pools .is-show,
.ct-mutuel-live__pools .is-show,
.ct-mutuel-master-poolsum .is-show {
  background-color: var(--show-bg, #8b1e2d) !important;
  color: var(--show-text, #ffffff) !important;
}
.ct-mutuel-premium .ct-dlx-market.is-show strong,
.ct-mutuel-premium .ct-dlx-market.is-show span,
.ct-mutuel-fs .ct-dlx-market.is-show strong,
.ct-mutuel-fs .ct-dlx-market.is-show span,
.ct-mutuel-fs__mix .is-show *,
.mp-pool.is-show span,
.mp-pool.is-show strong,
.ct-mutuel-tv__pools .is-show span,
.ct-mutuel-tv__pools .is-show strong,
.ct-mutuel-live__pools .is-show span,
.ct-mutuel-live__pools .is-show strong {
  color: var(--show-text, #ffffff) !important;
  background: transparent !important;
}

.ct-mutuel-premium .ct-dlx-market.is-win strong,
.ct-mutuel-premium .ct-dlx-market.is-place strong,
.ct-mutuel-premium .ct-dlx-market.is-show strong,
.ct-mutuel-fs__mix .is-win strong,
.ct-mutuel-fs__mix .is-place strong,
.ct-mutuel-fs__mix .is-show strong {
  background: transparent !important;
}

/* Équipe sélectionnée WIN/PLACE/SHOW : noms blancs, jamais #243228 sur vert */
.ct-mutuel-fs-team.is-on.is-pick-win,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-win {
  background: var(--win-bg, #1b7a45) !important;
  color: var(--win-text, #ffffff) !important;
}
.ct-mutuel-fs-team.is-on.is-pick-place,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-place {
  background: var(--place-bg, #1d4e89) !important;
  color: var(--place-text, #ffffff) !important;
}
.ct-mutuel-fs-team.is-on.is-pick-show,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-show {
  background: var(--show-bg, #8b1e2d) !important;
  color: var(--show-text, #ffffff) !important;
}
.ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-member,
.ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-members,
.ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-team__title,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-member,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-member,
.ct-mutuel-premium .ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-member,
.ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-member,
.ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-team__title,
.ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-member,
.ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-team__title {
  color: #fff !important;
}
.ct-mutuel-fs-team.is-on.is-pick-win .mp-team-no,
.ct-mutuel-fs-team.is-on.is-pick-place .mp-team-no,
.ct-mutuel-fs-team.is-on.is-pick-show .mp-team-no {
  color: var(--pws-ink) !important;
  background: linear-gradient(180deg, #f0d48a, #d4b15a) !important;
}
.ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-team__info,
.ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-team__info,
.ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-team__info {
  background: rgba(255, 255, 255, 0.94) !important;
  color: var(--pws-ink) !important;
}

/* Cartes ivoire non sélectionnées : texte foncé */
.ct-mutuel-premium .ct-mutuel-fs-team:not(.is-pick-win):not(.is-pick-place):not(.is-pick-show),
.ct-mutuel-live-card,
.ct-mutuel-tv-card {
  color: var(--text-on-light);
}
.ct-mutuel-premium .ct-mutuel-fs-team:not(.is-on) .ct-mutuel-fs-member {
  color: var(--text-on-light) !important;
  font-weight: 700;
  font-size: max(0.75rem, 12px);
}

/* Live / TV : pastilles WIN/PLACE/SHOW, pas du texte coloré seul */
.ct-mutuel-live-mk .is-win,
.ct-mutuel-tv-mk .is-win,
.ct-mutuel-live-ret b.is-win,
.ct-mutuel-tv-ret b.is-win,
.ct-mutuel-live--v2 .mp-v3-box .is-win {
  background: var(--win-bg, #1b7a45) !important;
  color: var(--win-text, #ffffff) !important;
  border-radius: 8px;
  padding: 0.18rem 0.28rem;
}
.ct-mutuel-live-mk .is-place,
.ct-mutuel-tv-mk .is-place,
.ct-mutuel-live-ret b.is-place,
.ct-mutuel-tv-ret b.is-place,
.ct-mutuel-live--v2 .mp-v3-box .is-place {
  background: var(--place-bg, #1d4e89) !important;
  color: var(--place-text, #ffffff) !important;
  border-radius: 8px;
  padding: 0.18rem 0.28rem;
}
.ct-mutuel-live-mk .is-show,
.ct-mutuel-tv-mk .is-show,
.ct-mutuel-live-ret b.is-show,
.ct-mutuel-tv-ret b.is-show,
.ct-mutuel-live--v2 .mp-v3-box .is-show {
  background: var(--show-bg, #8b1e2d) !important;
  color: var(--show-text, #ffffff) !important;
  border-radius: 8px;
  padding: 0.18rem 0.28rem;
}
.ct-mutuel-live-mk .is-win strong,
.ct-mutuel-live-mk .is-place strong,
.ct-mutuel-live-mk .is-show strong,
.ct-mutuel-tv-mk .is-win strong,
.ct-mutuel-tv-mk .is-place strong,
.ct-mutuel-tv-mk .is-show strong {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  font-weight: 900;
  font-size: max(0.95rem, 15px);
}

/* Statuts : mot + badge, jamais couleur seule / jamais brun sur fond sombre */
.ct-mutuel-fs-wager__status.is-pay,
.ct-dlx-wager__badge.is-pay,
.ct-mutuel-premium .ct-mutuel-fs-wager__status.is-pay {
  background: var(--pws-due-bg, #e8b84a) !important;
  color: var(--pws-due-text, #142018) !important;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-weight: 800;
}
.ct-mutuel-fs-wager__status.is-ok,
.ct-mutuel-premium .ct-mutuel-fs-wager__status.is-ok {
  background: var(--pws-paid-bg, #1b7a45) !important;
  color: var(--pws-paid-text, #ffffff) !important;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-weight: 800;
}
.ct-mutuel-fs-wager__status.is-cancel,
.ct-mutuel-premium .ct-mutuel-fs-wager__status.is-cancel {
  background: #4b5563 !important;
  color: #fff !important;
  border-radius: 999px;
  padding: 0.12rem 0.45rem;
  font-weight: 800;
}

.ct-mutuel-premium .ct-mutuel-fs-wager {
  color: var(--text-on-dark);
}
.ct-mutuel-premium .ct-mutuel-fs-wager__team,
.ct-mutuel-premium .ct-mutuel-fs-wager__stake,
.ct-mutuel-premium .ct-mutuel-fs-wager__players {
  color: var(--text-on-dark) !important;
}
.ct-mutuel-premium .ct-mutuel-fs-wager__extra {
  color: var(--muted-text-dark) !important;
}
.ct-mutuel-premium .ct-mutuel-fs-wager__extra.is-miss {
  color: #c5d4cb !important;
}

/* KPI cockpits : parmi les plus lisibles */
.mp-v3-kpi strong,
.ct-mutuel-desk-kpi strong,
.ct-mutuel-cc-kpi strong,
.mp-pool strong {
  font-size: max(1.25rem, 20px) !important;
  font-weight: 900 !important;
  color: #fff !important;
  letter-spacing: 0.01em;
}
.mp-v3-kpi span,
.ct-mutuel-desk-kpi span,
.ct-mutuel-cc-kpi span,
.ct-mutuel-cc-tower .ct-mutuel-cc-kpi span {
  font-size: max(0.72rem, 12px) !important;
  font-weight: 800 !important;
  color: var(--muted-text-dark) !important;
  opacity: 1 !important;
}
.mp-v3-kpi.is-warn strong,
.ct-mutuel-desk-kpi.is-warn strong,
.ct-mutuel-cc-kpi.is-warn strong {
  color: #fff8e6 !important;
}
.mp-v3-kpi em {
  color: var(--muted-text-dark) !important;
  font-size: max(0.75rem, 12px) !important;
}

/* Typo minimale */
.ct-mutuel-premium,
.ct-mutuel-fs,
.ct-mutuel-live,
.ct-mutuel-tv,
.ct-mutuel-desk {
  font-size: var(--pws-fs-body);
}
.ct-mutuel-premium .ct-dlx-market span,
.ct-mutuel-premium .ct-dlx-step,
.ct-mutuel-premium .ct-mutuel-viewport__kicker,
.mp-brand__event,
.mp-brand__date {
  font-size: max(0.75rem, 12px) !important;
  font-weight: 700;
  opacity: 1 !important;
}
.ct-mutuel-premium .ct-dlx-cta,
.ct-mutuel-fs .ct-dlx-cta {
  font-size: max(0.95rem, 15px) !important;
  font-weight: 900;
  min-height: 48px;
}
.ct-mutuel-premium .ct-dlx-cta:disabled,
.ct-mutuel-fs .ct-dlx-cta:disabled,
.ct-mutuel-fs.ct-mutuel-fs--v2 .ct-dlx-cta:disabled {
  opacity: 0.72 !important;
  color: var(--pws-ink) !important;
}
.ct-mutuel-premium .ct-dlx-cta.is-win,
.ct-mutuel-fs .ct-dlx-cta.is-win {
  background: var(--win-bg, #1b7a45) !important;
  color: var(--win-text, #ffffff) !important;
}

.ct-mutuel-premium button:focus-visible,
.ct-mutuel-fs button:focus-visible,
.ct-mutuel-live button:focus-visible,
.ct-mutuel-tv button:focus-visible,
.ct-mutuel-desk button:focus-visible,
.ct-mutuel-admin-cc button:focus-visible {
  outline: 3px solid #f0d48a;
  outline-offset: 2px;
}

/* Overlays / modales : carte claire, voile sombre, jamais texte sur photo */
.ct-dlx-modal {
  background: rgba(4, 16, 12, 0.78) !important;
}
.ct-dlx-modal__card,
.ct-mutuel-live-box {
  background: var(--pws-surface-light) !important;
  color: var(--text-on-light) !important;
}
.mp-v3-box__body {
  color: var(--text-on-light) !important;
}
.mp-v3-box__head {
  color: var(--text-on-dark) !important;
}
.ct-dlx-modal__card h3,
.ct-dlx-modal__body,
.ct-dlx-other__label,
.ct-mutuel-edit-drawer__summary,
.ct-mutuel-edit-drawer__current,
.ct-mutuel-team-drawer__members,
.ct-mutuel-team-drawer__bets {
  color: var(--text-on-light) !important;
}

/* TV : compteur, état, pool, retours */
.ct-mutuel-tv__clock strong,
.mp-clock strong {
  color: #fff8e6 !important;
  font-weight: 900;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}
.ct-mutuel-tv__state,
.mp-open {
  color: #fff !important;
  font-weight: 900;
}
.ct-mutuel-tv-card h2,
.ct-mutuel-live-card h2,
.ct-mutuel-tv-total,
.ct-mutuel-live-total {
  color: var(--text-on-light) !important;
  font-weight: 900;
}
.ct-mutuel-tv-card ul,
.ct-mutuel-live-card ul {
  color: var(--text-on-light) !important;
  font-weight: 700;
  font-size: max(0.75rem, 12px) !important;
}
.ct-mutuel-tv.ct-mutuel-premium .ct-mutuel-tv-ret span,
.ct-mutuel-live-ret span {
  color: var(--muted-text-light) !important;
  font-weight: 800;
}

/* BT-GSD-GOLFMAP-PARI-MUTUEL-BADGES-CONTRASTE-BLANC
   Pastilles WIN/PLACE/SHOW : blanc forcé (libellé + montant + $).
   Jamais hériter du noir de la carte ivoire / du bouton équipe.
   Micro-texte interdit — 9 px blanc sur vert paraît noir sur iPhone. */
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-win,
button.ct-dlx-team .ct-mutuel-fs-bet.is-win,
.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-win,
.ct-mutuel-fs-bet.is-win,
.ct-mutuel-fs-wager__type.is-win,
.pws-badge-win {
  background-color: var(--win-bg, #1b7a45) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-place,
button.ct-dlx-team .ct-mutuel-fs-bet.is-place,
.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-place,
.ct-mutuel-fs-bet.is-place,
.ct-mutuel-fs-wager__type.is-place,
.pws-badge-place {
  background-color: var(--place-bg, #1d4e89) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-show,
button.ct-dlx-team .ct-mutuel-fs-bet.is-show,
.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-show,
.ct-mutuel-fs-bet.is-show,
.ct-mutuel-fs-wager__type.is-show,
.pws-badge-show {
  background-color: var(--show-bg, #8b1e2d) !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-win *,
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-place *,
button.ct-mutuel-fs-team .ct-mutuel-fs-bet.is-show *,
.ct-mutuel-fs-bet.is-win *,
.ct-mutuel-fs-bet.is-place *,
.ct-mutuel-fs-bet.is-show *,
.ct-mutuel-fs-wager__type.is-win *,
.ct-mutuel-fs-wager__type.is-place *,
.ct-mutuel-fs-wager__type.is-show *,
.pws-badge-win *,
.pws-badge-place *,
.pws-badge-show * {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  background: transparent !important;
}
button.ct-mutuel-fs-team .ct-mutuel-fs-bet,
.ct-mutuel-fs-bet.is-win,
.ct-mutuel-fs-bet.is-place,
.ct-mutuel-fs-bet.is-show,
.ct-mutuel-fs-wager__type.is-win,
.ct-mutuel-fs-wager__type.is-place,
.ct-mutuel-fs-wager__type.is-show,
.pws-badge-win,
.pws-badge-place,
.pws-badge-show {
  font-size: 12px !important;
  font-size: max(0.75rem, 12px) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em;
  opacity: 1 !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

@media (max-width: 768px) {
  .ct-mutuel-premium,
  .ct-mutuel-fs,
  .ct-mutuel-live,
  .ct-mutuel-desk {
    font-size: 1rem;
  }
  .ct-mutuel-premium .ct-mutuel-fs-member,
  .ct-mutuel-fs-member {
    font-size: max(0.875rem, 14px) !important;
  }
  .mp-v3-kpi strong,
  .ct-mutuel-desk-kpi strong {
    font-size: max(1.15rem, 18px) !important;
  }
}

/* BT-GSD-GOLFMAP-PARI-MUTUEL-JOUEUR-MOBILE-LISIBILITE-LIBELLE-DEV
   Cartes de gageure dans une modal claire : texte foncé, jamais crème sur ivoire. */
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-dlx-modal__card,
.ct-mutuel-mobile-bets-drawer .ct-dlx-modal__card[data-surface="light"] {
  background: #fffdf8 !important;
  color: #142018 !important;
}

.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-dlx-modal__card h3,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-dlx-modal__body,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__team,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__stake,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__players,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__extra,
.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs__empty {
  color: #142018 !important;
}

.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager {
  background: #ffffff !important;
  border: 1px solid #c9b48a !important;
}

.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__players {
  color: #24362b !important;
  opacity: 1 !important;
}

.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__extra.is-miss {
  color: #6b1d18 !important;
}

.ct-mutuel-premium .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__kebab {
  color: #142018 !important;
  background: #fff8e6 !important;
  border: 1px solid #c9a227 !important;
}

/* CTA joueur : or lisible quand actif — pas vert WIN. Emplacement inchangé. */
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-cta.is-ready,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-cta.is-ready.is-win,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-cta.is-ready.is-place,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-cta.is-ready.is-show,
.ct-mutuel-premium.ct-mutuel-fs--mq .ct-dlx-cta.is-ready.is-win {
  background: linear-gradient(180deg, #ffe9a8, #d4a017) !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  opacity: 1 !important;
  box-shadow: 0 0 0 2px #fff8e6, 0 12px 26px rgba(212, 160, 23, 0.55);
}

.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-cta:disabled,
.ct-mutuel-premium.ct-mutuel-fs--mq .ct-dlx-cta:disabled {
  background: var(--disabled-bg) !important;
  color: var(--disabled-text) !important;
  -webkit-text-fill-color: var(--disabled-text) !important;
  opacity: 1 !important;
  box-shadow: none;
}

/* Contrat PWS — modal claire : chips D↔L, Autre = WIN, disabled lisible. */
.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-win,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-place,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-show {
  background: #fff8e6 !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  border: 1px solid #4a3d18 !important;
  opacity: 1 !important;
}

.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on.is-win,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on.is-place,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip.is-on.is-show {
  background: #0f2a1c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #0f2a1c !important;
}

.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other.is-on {
  background: #1b7a45 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #1b7a45 !important;
}

.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stake-current,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stake-current,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stake-current {
  display: block !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  font-weight: 800;
  opacity: 1 !important;
}

.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-cta:disabled,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-cta:disabled,
.ct-mutuel-fs.ct-mutuel-fs--mq .ct-dlx-modal__card[data-surface="light"] .ct-dlx-cta:disabled,
.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] button:disabled {
  background: #c5bfb0 !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  opacity: 1 !important;
}

/* P0 — 3. Choisissez votre mise : laptop + mobile. Panneau sombre → texte clair.
   Modales light inchangées (règles [data-surface="light"] plus spécifiques). */
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip,
.ct-mutuel-premium .ct-dlx-stakes .ct-dlx-chip,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.pws-chip-idle,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.pws-chip-on,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-win,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-place,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-show {
  background: #0f2a1c !important;
  color: #fff8e6 !important;
  -webkit-text-fill-color: #fff8e6 !important;
  border: 1px solid #d4b15a !important;
  opacity: 1 !important;
}
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on,
.ct-mutuel-premium .ct-dlx-stakes .ct-dlx-chip.is-on,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.pws-chip-on,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other.is-on,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-win,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-place,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on.is-show {
  background: #e8b84a !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  border-color: #f0d48a !important;
  opacity: 1 !important;
}
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip:hover,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip:focus-visible {
  border-color: #fff8e6 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on:hover,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on:focus-visible,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other.is-on:hover,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other.is-on:focus-visible {
  background: #f0d48a !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  border-color: #ffffff !important;
}
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip:disabled {
  background: #3a4a40 !important;
  color: #fff8e6 !important;
  -webkit-text-fill-color: #fff8e6 !important;
  opacity: 1 !important;
}
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-stake-current,
.ct-mutuel-fs .ct-dlx-stakes .ct-dlx-step {
  color: #fff8e6 !important;
  -webkit-text-fill-color: #fff8e6 !important;
  opacity: 1 !important;
}

.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip,
.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.pws-chip-idle,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.is-on.is-win,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.is-on.is-place,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.is-on.is-show {
  background: #fff8e6 !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  border: 1px solid #4a3d18 !important;
  opacity: 1 !important;
}
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.is-on,
.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-stakes .ct-dlx-chip.is-on,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other.is-on {
  background: #0f2a1c !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #0f2a1c !important;
}
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-premium .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other,
.ct-mutuel-fs .ct-dlx-modal__card[data-surface="light"] .ct-dlx-chip--other.is-on {
  background: #1b7a45 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  border-color: #1b7a45 !important;
}

/* P0 — contraste mobile immédiat. Layout / moteur inchangés. Paires D↔L seulement. */
.ct-mutuel-cc-badge.is-due,
.ct-mutuel-fs-wager__status.is-pay,
.ct-dlx-wager__badge.is-pay,
.ct-mutuel-desk-due.is-pay,
[data-testid="ct-mutuel-player-status"] .is-pay {
  background: #e8b84a !important;
  color: #142018 !important;
  -webkit-text-fill-color: #142018 !important;
  opacity: 1 !important;
}
.ct-mutuel-cc-badge.is-paid,
.ct-mutuel-fs-wager__status.is-ok,
.ct-dlx-wager__badge.is-ok,
.ct-dlx-hero.is-paid {
  background: #1b7a45 !important;
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
  opacity: 1 !important;
}

@media (max-width: 900px) {
  .ct-mutuel-fs,
  .ct-mutuel-live,
  .ct-mutuel-tv,
  .ct-mutuel-desk,
  .ct-mutuel-admin-cc,
  .ct-mutuel-premium {
    color: #fff8e6;
  }

  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__head,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2,
  .ct-mutuel-live__tabs,
  .ct-mutuel-desk .ct-mutuel-fs__head {
    background: #04110c !important;
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__identity h2,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__event,
  .ct-mutuel-mobile-status,
  .ct-mutuel-mobile-status strong,
  .ct-mutuel-mobile-status li,
  .ct-mutuel-mobile-status ul,
  .ct-mutuel-mobile-bets-btn,
  .ct-dlx-step,
  .ct-mutuel-fs__mix.is-v2 span,
  .ct-mutuel-fs__mix.is-v2 strong,
  .ct-mutuel-fs__mix.is-v2 em {
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
    opacity: 1 !important;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-win,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-win span,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-win strong,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-win em {
    background-color: #1b7a45 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-place,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-place span,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-place strong,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-place em {
    background-color: #1d4e89 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-show,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-show span,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-show strong,
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs__mix.is-v2 .is-show em {
    background-color: #8b1e2d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }

  .ct-dlx-market:not(.is-win):not(.is-place):not(.is-show),
  .ct-mutuel-live__tabs button:not(.is-on) {
    background: #0f2a1c !important;
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
    opacity: 1 !important;
  }
  .ct-dlx-market.is-win,
  .ct-dlx-market.is-win strong,
  .ct-dlx-market.is-win span {
    background-color: #1b7a45 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-dlx-market.is-place,
  .ct-dlx-market.is-place strong,
  .ct-dlx-market.is-place span {
    background-color: #1d4e89 !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-dlx-market.is-show,
  .ct-dlx-market.is-show strong,
  .ct-dlx-market.is-show span {
    background-color: #8b1e2d !important;
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-mutuel-live__tabs button.is-on {
    background: #e8b84a !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
  }

  .ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip,
  .ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.pws-chip-idle,
  .ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other {
    background: #0f2a1c !important;
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
    border: 1px solid #d4b15a !important;
    opacity: 1 !important;
  }
  .ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip.is-on,
  .ct-mutuel-fs .ct-dlx-stakes .ct-dlx-chip--other.is-on {
    background: #e8b84a !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
    border-color: #f0d48a !important;
  }

  .ct-mutuel-fs-team:not(.is-pick-win):not(.is-pick-place):not(.is-pick-show),
  .ct-mutuel-fs-team:not(.is-pick-win):not(.is-pick-place):not(.is-pick-show) .ct-mutuel-fs-team__title,
  .ct-mutuel-fs-team:not(.is-pick-win):not(.is-pick-place):not(.is-pick-show) .ct-mutuel-fs-member,
  .ct-mutuel-fs-team:not(.is-pick-win):not(.is-pick-place):not(.is-pick-show) .mp-team-no,
  .ct-mutuel-live-card,
  .ct-mutuel-live-card h2,
  .ct-mutuel-live-card ul,
  .ct-mutuel-queue-item,
  .ct-mutuel-desk__queue,
  .ct-mutuel-desk__dossier,
  .ct-mutuel-wager-table,
  .ct-mutuel-wager-table td,
  .ct-mutuel-wager-table th,
  .ct-mutuel-table,
  .ct-mutuel-table td,
  .ct-mutuel-table th {
    background-color: #fffdf8 !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
    opacity: 1 !important;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs-members,
  .ct-mutuel-fs.ct-mutuel-fs--mq .ct-mutuel-fs-members {
    display: flex !important;
    flex-direction: column;
    gap: 0.04rem;
    margin-top: 0.12rem;
  }
  .ct-mutuel-fs.ct-mutuel-fs--v2 .ct-mutuel-fs-member,
  .ct-mutuel-fs.ct-mutuel-fs--mq .ct-mutuel-fs-member {
    display: block !important;
    font-size: max(0.75rem, 12px) !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
  }
  .mp-v3-mkt.is-win button,
  .mp-v3-mkt.is-place button,
  .mp-v3-mkt.is-show button {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
  .ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-member,
  .ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-member,
  .ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-member,
  .ct-mutuel-fs-team.is-on.is-pick-win .ct-mutuel-fs-team__title,
  .ct-mutuel-fs-team.is-on.is-pick-place .ct-mutuel-fs-team__title,
  .ct-mutuel-fs-team.is-on.is-pick-show .ct-mutuel-fs-team__title {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: transparent !important;
  }

  .ct-dlx-modal__card,
  .ct-dlx-modal__card[data-surface="light"],
  .ct-mutuel-mobile-bets-drawer .ct-dlx-modal__card,
  .ct-mutuel-edit-drawer,
  .ct-mutuel-team-drawer {
    background: #fffdf8 !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
  }
  .ct-dlx-modal__card h3,
  .ct-dlx-modal__body,
  .ct-dlx-other__label,
  .ct-dlx-stake-current,
  .ct-mutuel-fs-wager__team,
  .ct-mutuel-fs-wager__stake,
  .ct-mutuel-fs-wager__players,
  .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager,
  .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__team,
  .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__stake,
  .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager__players {
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
    opacity: 1 !important;
  }
  .ct-mutuel-mobile-bets-drawer .ct-mutuel-fs-wager {
    background: #ffffff !important;
  }

  .ct-dlx-cta:disabled,
  .ct-mutuel-fs button:disabled,
  .ct-mutuel-desk button:disabled {
    background: #c5bfb0 !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
    opacity: 1 !important;
  }
  .ct-dlx-cta:not(:disabled):not(.is-win):not(.is-place):not(.is-show),
  .ct-mutuel-mobile-bets-btn {
    background: #0f2a1c !important;
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
    opacity: 1 !important;
  }
  .ct-dlx-cta.is-ready:not(:disabled) {
    background: #e8b84a !important;
    color: #142018 !important;
    -webkit-text-fill-color: #142018 !important;
  }

  .ct-mutuel-desk-due strong,
  .ct-mutuel-collect strong,
  .ct-mutuel-wager-table .is-amount,
  .mp-v3-kpi strong {
    font-weight: 900 !important;
    opacity: 1 !important;
  }
  .mp-v3-kpi,
  .ct-mutuel-desk-kpi,
  .ct-mutuel-cc-kpi {
    color: #fff8e6 !important;
    -webkit-text-fill-color: #fff8e6 !important;
  }
  .mp-v3-kpi strong,
  .ct-mutuel-desk-kpi strong,
  .ct-mutuel-cc-kpi strong {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
  }
}
