/* Styles du portail client Web UNITÉS EXPRESS — réutilise les variables de
   couleur déjà définies dans /assets/css/site.css (--primary-dark, etc.),
   jamais une palette parallèle. */

.hidden { display: none !important; }

.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--primary-dark) 0%, #0a5c3f 100%);
  padding: 24px 16px;
}

.auth-card {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 20px;
  padding: 32px 26px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

.auth-logo {
  display: block;
  height: 64px;
  margin: 0 auto 10px;
}

.auth-slogan {
  text-align: center;
  color: #5b6b63;
  font-size: 13px;
  margin: 0 0 22px;
}

.auth-tabs {
  display: flex;
  gap: 4px;
  background: var(--primary-light);
  border-radius: 14px;
  padding: 4px;
  margin-bottom: 20px;
}

.auth-tab {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 10px;
  border-radius: 11px;
  font-weight: 800;
  font-size: 12.5px;
  color: var(--primary-dark);
  cursor: pointer;
}

.auth-tab.active {
  background: var(--primary);
  color: #fff;
}

.field { margin-bottom: 16px; }
.field.hidden { display: none; }

.field label {
  display: block;
  font-size: 12px;
  font-weight: 700;
  color: #5b6b63;
  margin-bottom: 6px;
}

.field input {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e0e6e2;
  border-radius: 14px;
  padding: 13px 14px;
  font-size: 15px;
  background: #fafcfb;
}

.field input:focus {
  outline: none;
  border-color: var(--primary);
  background: #fff;
}

.phone-input {
  display: flex;
  align-items: center;
  border: 1px solid #e0e6e2;
  border-radius: 14px;
  background: #fafcfb;
  padding: 0 14px;
}

.phone-prefix {
  font-weight: 700;
  color: #5b6b63;
  padding-right: 6px;
}

.phone-input input {
  border: none;
  background: transparent;
  padding: 13px 0;
  flex: 1;
}

.phone-input:focus-within {
  border-color: var(--primary);
  background: #fff;
}

.field-error, .form-error {
  color: #d92d20;
  font-size: 12px;
  margin: 6px 0 0;
}

.form-error {
  background: #fef2f2;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 14px;
}

.field-error.hidden, .form-error.hidden { display: none; }

/* CORRECTIF SÉCURITÉ — CSP PHASE 3 (2026-10-24) — remplace les styles
   inline de index.html (page de connexion). */
.forgot-password-row { text-align: right; margin: 4px 0 14px; font-size: 12.5px; }
.referral-input { text-transform: uppercase; }
.field-hint { color: #1a7f37; font-size: 12.5px; margin-top: 6px; }

.btn-block { width: 100%; border: 0; cursor: pointer; padding: 14px; border-radius: 14px; font-size: 15px; font-weight: 800; }

.auth-footer {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
}

/* --- Accueil client — reproduction fidèle de home_screen.dart (APK USER) ---
   Palette opérateurs/statuts identique à AppColors (unites_express_user) ;
   --warning/--danger/--neutral n'existaient pas dans site.css (jamais requis
   par le reste du site avant ce portail) — ajoutés ici, valeurs identiques
   à AppColors.warning/danger/neutral, aucune palette parallèle inventée. */
:root {
  --warning: #F59E0B;
  --warning-bg: #FEF3E0;
  --danger: #E5484D;
  --danger-bg: #FCEBEC;
  --neutral: #7C8A83;
  --neutral-bg: #EEF2F0;
}

.home-body { min-height: 100vh; background: var(--primary-lighter); padding-bottom: 84px; }

/* AppBar compacte (Scaffold.appBar), PAS un bandeau plein-largeur coloré.
   Sur PC, la bande reste pleine largeur (même identité) mais son CONTENU
   est recentré à la largeur de l'accueil — sinon le badge points/la cloche
   se retrouveraient à 1000px du nom sur un grand écran, ce qui casserait
   la compacité de l'AppBar Android ("responsive ne signifie pas une
   interface différente"). */
.app-bar {
  background: #fff;
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 10;
  border-bottom: 1px solid var(--border);
}
.app-bar-inner {
  max-width: 560px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 0;
}
.app-bar-greeting { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.app-bar-hello { font-size: 12.5px; color: var(--text-secondary); font-weight: 600; }
.app-bar-name { font-size: 18px; font-weight: 800; color: var(--text-primary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app-bar-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }

.points-pill {
  display: flex; align-items: center; gap: 5px; max-width: 128px;
  padding: 6px 10px; border-radius: 20px; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-strong) 100%);
}
.points-pill-emoji { font-size: 13px; }
.points-pill-text { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }
.points-pill-amount { color: #fff; font-size: 11px; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 84px; }
.points-pill-label { color: #fff; font-size: 9.5px; font-weight: 600; }

.bell-btn {
  width: 38px; height: 38px; border-radius: 50%; border: 0; cursor: pointer;
  background: var(--primary-lighter); color: var(--text-primary); font-size: 16px;
  display: flex; align-items: center; justify-content: center;
}

.home-main { max-width: 560px; margin: 0 auto; padding: 14px 16px 24px; }

/* _WelcomeOrRecentCard */
.hero-card {
  display: block; border-radius: 20px; padding: 18px; margin-bottom: 22px; color: #fff;
  text-decoration: none; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-strong) 100%);
}
.hero-card.clickable { cursor: pointer; }
.hero-welcome { display: flex; align-items: center; gap: 12px; }
.hero-welcome-icon { font-size: 26px; }
.hero-welcome-text { font-size: 13px; font-weight: 700; line-height: 1.4; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="display:none" (état initial, avant le premier rendu JS de
   renderHero()) sur #heroRecent. renderHero() continue de piloter
   l'affichage via recent.style.display = 'block' | 'none' (CSSOM, jamais
   concerné par style-src) — AJUSTEMENT MINIMAL NÉCESSAIRE : la branche
   "afficher" posait auparavant recent.style.display = '' (chaîne vide,
   qui RETIRE la déclaration inline et retombe sur la feuille de style) ;
   comme .hero-recent n'avait alors AUCUNE règle display dans app.css, ce
   retour en cascade affichait bien l'élément (display:block par défaut
   d'un <div>). Maintenant que .hero-recent a SA PROPRE règle
   `display:none` (nécessaire pour remplacer l'attribut inline retiré),
   `.style.display = ''` retomberait sur CETTE règle et l'élément resterait
   caché à tort — remplacé par 'block' (même résultat final visuel
   qu'avant, vérifié par capture des styles calculés) pour que l'assignation
   inline continue de l'emporter comme prévu. */
.hero-recent { display: none; }
.hero-recent-top { display: flex; align-items: center; gap: 12px; }
.hero-recent-label { font-size: 11.5px; color: rgba(255,255,255,0.75); }
.hero-recent-title { font-size: 14.5px; font-weight: 800; margin-top: 1px; }
.hero-recent-footer { display: flex; align-items: center; gap: 2px; margin-top: 12px; font-size: 12.5px; font-weight: 700; }

.section-row { display: flex; align-items: center; justify-content: space-between; margin: 22px 0 10px; }
.section-title { font-size: 15px; font-weight: 800; color: var(--text-primary); margin: 0; }
.section-link { font-size: 12.5px; font-weight: 700; color: var(--primary-strong); background: none; border: 0; padding: 0; cursor: pointer; }

/* _OperatorCard — logo + nom SEULEMENT, aucun badge de disponibilité
   permanent : le blocage se fait au clic (voir guardOperatorAvailable dans
   ui.js), exactement comme operator_availability.dart. */
.operator-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="margin-top:10px" sur #operatorGrid (home/index.html). */
.operator-grid--spaced { margin-top: 10px; }
.operator-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 16px 8px; text-align: center; cursor: pointer;
}
.operator-badge {
  width: 42px; height: 42px; border-radius: 50%; margin: 0 auto 8px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 9.5px; box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="margin:0 auto" (purchase/index.html, étape opérateur) : la marge
   basse de 8px de .operator-badge y est redondante avec l'espacement déjà
   apporté par .operator-pick-label (margin-top:6px) juste en dessous. */
.operator-badge--pick { margin: 0 auto; }
.operator-badge.orange { background: #F47216; color: #fff; }
.operator-badge.mtn { background: #FFCB05; color: #1A1A1A; }
.operator-badge.moov { background: #0057B8; color: #fff; }
.operator-label { font-size: 12px; font-weight: 700; color: var(--text-primary); }

/* SnackBar — mirrors app_snackbar.dart : n'apparaît qu'au clic sur un
   opérateur indisponible, jamais un état persistant affiché à l'avance. */
.snackbar-host {
  position: fixed; left: 16px; right: 16px; bottom: 86px; z-index: 50;
  display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none;
}
.snackbar {
  pointer-events: auto; max-width: 480px; width: 100%;
  background: var(--warning-bg); border-left: 4px solid var(--warning); color: #92620A;
  border-radius: 12px; padding: 12px 14px; font-size: 12.5px; font-weight: 600;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12); animation: snackbar-in 0.2s ease-out;
}
.snackbar b { display: block; font-weight: 800; margin-bottom: 2px; }
@keyframes snackbar-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* _PromoBannerCarousel — PageView animé, flèches + indicateurs, jamais un
   bandeau statique. Masqué entièrement si aucune promo active. */
.promo-carousel { position: relative; height: 96px; border-radius: 18px; overflow: hidden; margin-top: 22px; margin-bottom: 22px; }
.promo-carousel.hidden { display: none; }
.promo-track { display: flex; height: 100%; transition: transform 0.35s cubic-bezier(0.33,1,0.68,1); }
.promo-slide {
  flex: 0 0 100%; height: 100%; box-sizing: border-box; padding: 16px;
  display: flex; align-items: center; gap: 12px; color: #fff;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-strong) 100%);
}
.promo-slide.has-image { padding: 0; align-items: flex-end; background-size: cover; background-position: center; }
.promo-slide.clickable { cursor: pointer; }
.promo-slide-icon {
  width: 42px; height: 42px; border-radius: 12px; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 20px; flex-shrink: 0;
}
.promo-slide-text { min-width: 0; }
.promo-slide-title { font-size: 13px; font-weight: 700; }
.promo-slide-subtitle { font-size: 11.5px; font-weight: 600; opacity: 0.85; margin-top: 4px; }
.promo-slide-caption { width: 100%; padding: 20px 14px 12px; background: linear-gradient(to top, rgba(0,0,0,0.65), rgba(0,0,0,0)); }
.promo-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); width: 26px; height: 26px;
  border-radius: 50%; background: rgba(255,255,255,0.25); border: 0; color: #fff; font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer; z-index: 2;
}
.promo-arrow.left { left: 4px; }
.promo-arrow.right { right: 4px; }
.promo-dots { position: absolute; bottom: 8px; left: 0; right: 0; display: flex; justify-content: center; gap: 5px; z-index: 2; }
.promo-dot { width: 6px; height: 6px; border-radius: 3px; background: rgba(255,255,255,0.5); transition: width 0.25s, background 0.25s; }
.promo-dot.active { width: 16px; background: rgba(255,255,255,0.95); }

/* "Dernières opérations" — remplace la section "Offres & Pass" fabriquée
   (inexistante sur l'accueil Android) par la vraie liste de commandes. */
.orders-list { display: flex; flex-direction: column; gap: 10px; }
.order-tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; cursor: pointer; }
.order-tile-badge { width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 9px; }
.order-tile-body { flex: 1; min-width: 0; }
.order-tile-title { font-size: 13.5px; font-weight: 800; color: var(--text-primary); }
.order-tile-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.order-tile-date { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.order-tile-end { text-align: right; flex-shrink: 0; }
.order-tile-amount { font-size: 13px; font-weight: 800; color: var(--text-primary); }
.order-tile-amount.success { color: var(--success); }

.status-pill { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 30px; font-size: 12px; font-weight: 700; margin-top: 6px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="margin-left:auto" sur #heroRecentStatus (home/index.html). */
.status-pill--push-right { margin-left: auto; }
.status-pill.success { background: var(--success-bg); color: var(--success); }
.status-pill.warning { background: var(--warning-bg); color: var(--warning); }
.status-pill.danger  { background: var(--danger-bg); color: var(--danger); }
.status-pill.neutral { background: var(--neutral-bg); color: var(--neutral); }
.status-pill.info    { background: var(--info-bg); color: var(--info); }

.muted { color: var(--text-secondary); font-size: 12.5px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace
   style="margin:0" et style="line-height:1.5" sur .muted (points/index.html). */
.muted--flush { margin: 0; }
.muted--relaxed { line-height: 1.5; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="margin-bottom:14px" sur les 2 paragraphes d'introduction d'étape
   identiques (purchase/index.html : "Sélectionnez l'opérateur..." et
   "Vérifiez les informations..."). */
.muted--step-intro { margin-bottom: 14px; }

/* BottomNavigationBar — 4 destinations, mirrors main_shell.dart. Sur PC,
   même identité visuelle mais contenu centré (pas de barre étirée bord à
   bord sur un très grand écran). */
.bottom-nav { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 1px solid var(--border); z-index: 20; padding-bottom: env(safe-area-inset-bottom); }
.bottom-nav-inner { max-width: 560px; margin: 0 auto; display: flex; }
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px;
  padding: 8px 0 6px; color: var(--text-faint); text-decoration: none; font-size: 10.5px;
  font-weight: 700; background: none; border: 0; cursor: pointer;
}
.nav-item .nav-icon { font-size: 19px; line-height: 1; }
.nav-item.active { color: var(--primary-strong); }

/* Pages "Bientôt disponible" (Acheter/Historique/Profil/Points) — même
   navigation basse que l'accueil ; en-tête simplifié (titre seul, ces écrans
   n'ont pas encore leur propre AppBar riche côté Android/Web) pour ne pas
   préjuger d'un contenu qui n'existe pas encore. */
.simple-bar {
  background: #fff; padding: 14px 20px; border-bottom: 1px solid var(--border);
  font-size: 16px; font-weight: 800; color: var(--text-primary); position: sticky; top: 0; z-index: 10;
}
.placeholder-main { max-width: 560px; margin: 0 auto; padding: 60px 24px; text-align: center; }
.placeholder-icon { font-size: 40px; margin-bottom: 12px; }
.placeholder-title { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.placeholder-text { font-size: 13px; color: var(--text-secondary); }
.placeholder-phone { font-size: 12.5px; color: var(--text-secondary); margin-top: 10px; }
.placeholder-logout {
  margin-top: 22px; border: 0; border-radius: 14px; padding: 12px 22px;
  background: var(--danger-bg); color: var(--danger); font-weight: 800; font-size: 13.5px; cursor: pointer;
}

@media (max-width: 420px) {
  .operator-grid { gap: 6px; }
  .operator-card { padding: 12px 4px; }
}

/* --- Parcours Achat (Étape 5) — reproduit purchase_screen.dart /
   service_select_screen.dart / offer_select_screen.dart /
   pass_beneficiary_screen.dart / payment_method_select_screen.dart /
   payment_screen.dart / credit_sent_screen.dart EXACTEMENT, adapté en
   "étapes" affichées/masquées sur une seule page plutôt qu'en écrans
   séparés (seule adaptation au format navigateur — même logique, mêmes
   champs, même séquence). --- */
.wizard-main { max-width: 560px; margin: 0 auto; padding: 14px 16px 40px; }
.wizard-step.hidden { display: none; }
.wizard-back { background: none; border: 0; color: var(--text-secondary); font-size: 13px; font-weight: 700; cursor: pointer; padding: 6px 0; margin-bottom: 10px; display: flex; align-items: center; gap: 4px; }

.step-label { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="margin-top:22px" sur le step-label "2. Choisissez le montant"
   (purchase/index.html, étape crédit). */
.step-label--spaced { margin-top: 22px; }
.step-label-num { width: 22px; height: 22px; border-radius: 50%; background: var(--primary-light); color: var(--primary-strong); display: flex; align-items: center; justify-content: center; font-size: 11.5px; font-weight: 800; flex-shrink: 0; }
.step-label-text { font-size: 14px; font-weight: 800; color: var(--text-primary); }

.operator-pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 22px; }
.operator-pick { background: #fff; border: 1.6px solid var(--border); border-radius: 14px; padding: 14px 6px; text-align: center; cursor: pointer; }
.operator-pick.selected { border-color: var(--primary-strong); background: var(--primary-lighter); }
.operator-pick-label { font-size: 11.5px; font-weight: 700; margin-top: 6px; }
.operator-pick-check { font-size: 12px; color: var(--primary-strong); margin-top: 3px; }

.amount-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 10px; }
.amount-pick { background: #fff; border: 1.6px solid var(--border); border-radius: 14px; padding: 14px 6px; text-align: center; cursor: pointer; font-size: 12.5px; font-weight: 800; color: var(--text-primary); white-space: pre-line; }
.amount-pick.selected { border-color: var(--primary-strong); background: var(--primary-light); color: var(--primary-strong); }

.service-list, .offer-pick-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.service-tile, .offer-pick-card, .category-card {
  display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border);
  border-radius: 16px; padding: 14px 16px; cursor: pointer;
}
.service-tile-emoji { font-size: 20px; }
.service-tile-label { flex: 1; font-size: 14px; font-weight: 700; }
.chevron { color: var(--text-faint); font-size: 16px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="margin-left:auto" sur le chevron des tuiles de moyen de paiement
   (purchase/index.html). */
.chevron--push-right { margin-left: auto; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="flex:1;min-width:0" sur le conteneur de texte des cartes d'offre
   (purchase/index.html, renderOfferList()). */
.offer-pick-info { flex: 1; min-width: 0; }

.category-hero { background: var(--primary-lighter); border-radius: 18px; padding: 20px; text-align: center; margin-bottom: 16px; }
.category-hero-badge { width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 10px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 10px; color: #fff; }
.category-hero-title { font-size: 16px; font-weight: 900; }
.category-grid { display: flex; flex-direction: column; gap: 10px; }
.category-card-icon { width: 40px; height: 40px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.category-card-body { flex: 1; min-width: 0; }
.category-card-name { font-size: 14px; font-weight: 800; }
.category-card-subtitle { font-size: 11.5px; color: var(--text-secondary); margin-top: 2px; }
.category-header-back { display: flex; align-items: center; gap: 10px; background: var(--primary-lighter); border-radius: 14px; padding: 12px 14px; margin-bottom: 16px; cursor: pointer; border: 0; width: 100%; text-align: left; }
.category-header-back-text { flex: 1; font-weight: 800; font-size: 13.5px; color: var(--text-primary); }

.offer-pick-name { font-size: 14px; font-weight: 800; }
.offer-pick-desc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.offer-pick-card { justify-content: space-between; }

.offer-recap { background: var(--primary-lighter); border-radius: 16px; padding: 16px; display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.offer-recap-name { font-size: 14px; font-weight: 800; }
.offer-recap-desc { font-size: 12px; color: var(--text-secondary); margin-top: 3px; }
.offer-recap-price { font-size: 16px; font-weight: 900; color: var(--primary-strong); white-space: nowrap; }

/* Bandeau "Bonus Mardi +200 %" — mirrors _TuesdayBonusSection
   (pass_beneficiary_screen.dart, USER) : purement informatif, affiché
   UNIQUEMENT quand purchaseSource == 'tuesday_bonus' (purchase/index.html). */
.pb-bonus-section { background: var(--success-bg); border-radius: 14px; padding: 10px 12px; margin: -6px 0 16px; }
.pb-bonus-section.hidden { display: none; }
.pb-bonus-top { display: flex; align-items: center; gap: 10px; }
.pb-bonus-icon { width: 28px; height: 28px; border-radius: 50%; background: var(--success); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.pb-bonus-title { font-size: 12.5px; font-weight: 800; color: var(--success); }
.pb-bonus-sub { font-size: 11.5px; font-weight: 600; color: var(--success); margin-top: 1px; }
.pb-bonus-detail { font-size: 11.5px; font-weight: 600; color: var(--success); margin-top: 8px; }
/* BONUS INTERNET +100 % MOOV (2026-11-01) — badge informatif sur la carte d'offre (mirrors _InternetBonusBadge, USER) */
.offer-bonus-badge { display: inline-block; margin-top: 6px; padding: 3px 8px; border-radius: 20px; background: var(--success-bg); color: var(--success); font-size: 10.5px; font-weight: 800; }

.recap-card { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 16px; margin: 16px 0; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="text-align:left" sur #orderRecap (purchase/status/index.html),
   nécessaire car .status-main (ancêtre) force text-align:center. */
.recap-card--left { text-align: left; }
.recap-row { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 5px 0; font-size: 12.5px; }
.recap-row-label { color: var(--text-secondary); font-weight: 600; }
.recap-row-value { font-weight: 800; color: var(--text-primary); text-align: right; }
.recap-row.emphasize .recap-row-label { font-size: 14px; color: var(--text-primary); font-weight: 800; }
.recap-row.emphasize .recap-row-value { font-size: 16px; color: var(--primary-strong); }
.recap-divider { border: 0; border-top: 1px solid var(--border); margin: 8px 0; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace
   style="padding-top:0" (première .recap-row d'une carte) et
   style="font-weight:700;color:var(--text-primary)" (points/index.html). */
.recap-row--flush-top { padding-top: 0; }
.recap-row-label--strong { font-weight: 700; color: var(--text-primary); }

.payment-method-list { display: flex; flex-direction: column; gap: 10px; }
.payment-method-tile { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; cursor: pointer; }
.payment-method-logo { width: 48px; height: 48px; border-radius: 14px; object-fit: cover; flex-shrink: 0; }
.payment-method-title { font-size: 14.5px; font-weight: 800; }
.payment-method-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.secure-banner { display: flex; align-items: flex-start; gap: 10px; background: var(--primary-light); border-radius: 14px; padding: 12px 14px; margin-top: 16px; }
.secure-banner-title { font-size: 12.5px; font-weight: 800; color: var(--primary-strong); }
.secure-banner-text { font-size: 11.5px; color: var(--text-secondary); margin-top: 2px; }

.chosen-method-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; margin-bottom: 16px; }

.points-choice { display: flex; gap: 10px; margin-bottom: 12px; }
.choice-btn { flex: 1; background: #fff; border: 1.6px solid var(--border); border-radius: 14px; padding: 12px 10px; text-align: center; cursor: pointer; font-size: 12.5px; font-weight: 800; color: var(--text-secondary); }
.choice-btn.selected { border-color: var(--primary-strong); background: var(--primary-light); color: var(--primary-strong); }
.points-box { background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 14px; margin-bottom: 16px; }
.points-box-head { font-size: 14px; font-weight: 800; margin-bottom: 6px; }
.points-box-sub { font-size: 12px; color: var(--text-secondary); margin-bottom: 10px; line-height: 1.4; }
.points-input-row { display: flex; gap: 10px; }
.points-input-row input { flex: 1; border: 1px solid var(--border); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.points-input-row button { border: 1px solid var(--border); background: #fff; border-radius: 12px; padding: 0 14px; font-size: 12.5px; font-weight: 700; cursor: pointer; color: var(--primary-strong); }
.points-error { color: var(--danger); font-size: 11.5px; font-weight: 600; margin-top: 8px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="text-align:center" sur #resumeError (history/detail/index.html). */
.points-error--center { text-align: center; }

.info-banner { display: flex; align-items: flex-start; gap: 8px; background: var(--info-bg); border-radius: 14px; padding: 12px 14px; margin-top: 16px; font-size: 12px; color: var(--info); font-weight: 600; line-height: 1.4; }
.error-banner { display: flex; align-items: flex-start; gap: 8px; background: var(--danger-bg); border-radius: 10px; padding: 10px 12px; margin-top: 12px; font-size: 12.5px; color: var(--danger); font-weight: 600; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="margin-top:0" (bannière d'erreur de recharge, sous le hero) et
   style="text-align:left" (#resumePopupBlocked, bannière popup bloqué)
   de history/detail/index.html. */
.error-banner--flush-top { margin-top: 0; }
.error-banner--left { text-align: left; }

.wizard-cta { width: 100%; border: 0; border-radius: 14px; padding: 15px; font-size: 14.5px; font-weight: 800; cursor: pointer; background: var(--primary); color: #fff; margin-top: 20px; display: flex; align-items: center; justify-content: center; gap: 8px;
  /* CORRECTIF SÉCURITÉ — CSP PHASE 3 (2026-10-24) : text-decoration:none
     ajouté ici pour remplacer le style inline de profile/help/index.html,
     qui utilise .wizard-cta sur un <a> (jamais un <button>) ; sans effet
     sur les usages existants en <button> (text-decoration y est déjà
     invisible par défaut). display:flex était déjà présent ci-dessus,
     donc l'inline était redondant sur ce point. */
  text-decoration: none; }
.wizard-cta:disabled { opacity: 0.5; cursor: not-allowed; }
.wizard-cta-outline { width: 100%; border: 1px solid var(--border); background: #fff; color: var(--text-primary); border-radius: 14px; padding: 13px; font-size: 13.5px; font-weight: 700; cursor: pointer; margin-top: 10px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3b (2026-10-24) — remplace
   style="margin-top:0;border-color:var(--warning);color:var(--warning)" du
   bouton "Faire une réclamation" (history/detail/index.html). */
.wizard-cta-outline--warning { margin-top: 0; border-color: var(--warning); color: var(--warning); }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="margin-top:0" sur #creditUseOwnNumber et #passUseOwnNumber
   (purchase/index.html). */
.wizard-cta-outline--flush-top { margin-top: 0; }
.wizard-secure-note { text-align: center; font-size: 11.5px; color: var(--text-secondary); font-weight: 600; margin-top: 16px; }

.loading-row { text-align: center; padding: 24px; color: var(--text-secondary); font-size: 13px; }

/* --- Page de statut (status/index.html) — reproduit credit_sent_screen.dart --- */
.status-body { min-height: 100vh; background: var(--primary-lighter); }
.status-main { max-width: 480px; margin: 0 auto; padding: 36px 24px; text-align: center; }
.status-icon-circle { width: 96px; height: 96px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 46px; margin: 0 auto 20px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — remplace
   style="background:${meta.bg}" et style="color:${meta.fg}" (générés
   dynamiquement depuis OUTCOME_META, purchase/status/index.html) par des
   classes de ton CSS — mêmes 4 tons, mêmes variables CSS exactes, déjà
   utilisés ailleurs sur le site (.status-pill.success/.warning/.danger).
   OUTCOME_META porte désormais un champ `tone` appliqué comme classe. */
.status-icon-circle.success { background: var(--success-bg); }
.status-icon-circle.success span { color: var(--success); }
.status-icon-circle.warning { background: var(--warning-bg); }
.status-icon-circle.warning span { color: var(--warning); }
.status-icon-circle.danger { background: var(--danger-bg); }
.status-icon-circle.danger span { color: var(--danger); }
.status-icon-circle.neutral { background: var(--neutral-bg); }
.status-icon-circle.neutral span { color: var(--neutral); }
.status-title { font-size: 20px; font-weight: 900; margin-bottom: 8px; }
.status-amount { font-size: 24px; font-weight: 900; color: var(--primary-strong); margin-bottom: 6px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3c (2026-10-24) — white-space:
   pre-line repris du style="white-space:pre-line" retiré de
   purchase/status/index.html ; .status-message n'est utilisée que sur
   cette page, aucun autre usage à préserver. */
.status-message { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 8px; white-space: pre-line; }

/* --- Historique (Étape 7) — reproduit history_screen.dart / order_detail_screen.dart --- */
.history-main { max-width: 560px; margin: 0 auto; padding: 14px 16px 90px; }
.history-tile { background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.history-tile-top { display: flex; align-items: center; gap: 12px; }
.history-tile-body { flex: 1; min-width: 0; }
.history-tile-title { font-size: 13.5px; font-weight: 800; color: var(--text-primary); }
.history-tile-phone { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }
.history-tile-date { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.history-tile-amount { font-size: 13px; font-weight: 800; color: var(--text-primary); flex-shrink: 0; }
.history-tile-amount.success { color: var(--success); }
.history-tile-bottom { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 10px; }
.history-tile-pills { display: flex; gap: 6px; }
.history-tile-ref { font-size: 10.5px; color: var(--text-faint); text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.detail-hero { border-radius: 20px; padding: 18px; text-align: center; color: #fff; margin-bottom: 16px; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-strong) 100%); }
.detail-hero-amount { font-size: 24px; font-weight: 900; margin: 10px 0 4px; }
.detail-hero-title { font-size: 12.5px; opacity: 0.8; margin-bottom: 12px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace
   style="text-align:left" (points/index.html, 2 occurrences — .detail-hero
   y est aligné à gauche au lieu du centre par défaut). */
.detail-hero--left { text-align: left; }

.detail-row-group { padding: 7px 0; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.detail-row-group-label { font-size: 13px; color: var(--text-secondary); font-weight: 600; }

.countdown-pill { display: inline-flex; align-items: center; gap: 6px; background: var(--warning-bg); color: var(--warning); border-radius: 30px; padding: 10px 14px; font-size: 12.5px; font-weight: 800; margin: 18px auto 12px; }
.countdown-wrap { text-align: center; }

.claim-prompt, .claim-status { border-radius: 14px; padding: 14px; margin-top: 16px; display: flex; align-items: flex-start; gap: 8px; }
.claim-prompt { background: var(--warning-bg); flex-direction: column; align-items: stretch; }
.claim-prompt-head { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; font-weight: 800; color: var(--warning); margin-bottom: 10px; }
.claim-status.success { background: var(--success-bg); }
.claim-status.danger { background: var(--danger-bg); }
.claim-status.info { background: var(--info-bg); }
.claim-status-title { font-size: 13px; font-weight: 800; }
.claim-status-sub { font-size: 12px; color: var(--text-secondary); margin-top: 2px; }

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.4); z-index: 60; display: flex; align-items: flex-end; justify-content: center; }
.modal-overlay.hidden { display: none; }
.modal-sheet { background: #fff; border-radius: 24px 24px 0 0; padding: 20px 20px 28px; width: 100%; max-width: 560px; max-height: 85vh; overflow-y: auto; }
.modal-handle { width: 40px; height: 4px; background: var(--border); border-radius: 4px; margin: 0 auto 16px; }
.modal-title { font-size: 17px; font-weight: 800; margin-bottom: 4px; }
.modal-subtitle { font-size: 12px; color: var(--text-secondary); margin-bottom: 16px; }
.modal-field { margin-bottom: 14px; }
.modal-field label { display: block; font-size: 12.5px; font-weight: 700; color: var(--text-secondary); margin-bottom: 6px; }
.modal-field select, .modal-field textarea { width: 100%; box-sizing: border-box; border: 1px solid var(--border); border-radius: 12px; padding: 12px; font-size: 14px; font-family: inherit; background: #fafcfb; }
.modal-field textarea { resize: vertical; min-height: 80px; }

.share-receipt-btn { width: 100%; border: 1px solid var(--border); background: #fff; color: var(--text-primary); border-radius: 14px; padding: 13px; font-size: 13.5px; font-weight: 700; cursor: pointer; margin-top: 20px; }

/* --- Points & Parrainage (Étape 8) — reproduit loyalty_screen.dart / referral_screen.dart --- */
.points-subnav { display: flex; gap: 8px; background: var(--primary-lighter); border-radius: 14px; padding: 4px; margin-bottom: 18px; }
.points-subnav-btn { flex: 1; border: 0; background: transparent; padding: 10px; border-radius: 11px; font-weight: 800; font-size: 13px; color: var(--primary-dark); cursor: pointer; }
.points-subnav-btn.active { background: #fff; box-shadow: 0 2px 6px rgba(0,0,0,0.06); }
.points-panel.hidden { display: none; }

.points-hero-icon { width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,0.14); display: flex; align-items: center; justify-content: center; font-size: 18px; }
.points-hero-label { color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 700; margin-top: 14px; }
.points-hero-balance { color: #fff; font-size: 28px; font-weight: 900; margin-top: 2px; }
.points-hero-sub { color: rgba(255,255,255,0.85); font-size: 12.5px; font-weight: 700; margin-top: 10px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace les
   style="margin-top:..." de points/index.html (panneau Parrainage). */
.points-hero-sub--share-hint { margin-top: 12px; font-weight: 600; }
.points-hero-label--spaced { margin-top: 18px; }

.earn-method-tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.earn-method-tile.clickable { cursor: pointer; }
.earn-method-emoji { font-size: 22px; }
.earn-method-title { font-size: 13.5px; font-weight: 800; }
.earn-method-desc { font-size: 12px; color: var(--text-secondary); margin-top: 2px; line-height: 1.35; }

.progress-bar-track { height: 8px; background: var(--divider); border-radius: 8px; overflow: hidden; margin: 10px 0; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — width:0% reprend
   l'état initial du style="width:0%" HTML retiré de points/index.html ;
   points.js continue de piloter la largeur réelle via .style.width = ...
   (assignation JS CSSOM, jamais concernée par style-src — inchangée). */
.progress-bar-fill { height: 100%; width: 0%; background: var(--primary-strong); border-radius: 8px; transition: width 0.3s; }

.loyalty-tx-tile, .referee-tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.loyalty-tx-emoji { font-size: 18px; }
.loyalty-tx-title { font-size: 13px; font-weight: 700; }
.loyalty-tx-date { font-size: 11px; color: var(--text-faint); margin-top: 2px; }
.loyalty-tx-amount { font-size: 13.5px; font-weight: 800; margin-left: auto; }
.loyalty-tx-amount.success { color: var(--success); }
.loyalty-tx-amount.danger { color: var(--danger); }

.referral-code-box { flex: 1; background: rgba(255,255,255,0.14); border-radius: 12px; padding: 12px 14px; color: #fff; font-size: 18px; font-weight: 800; letter-spacing: 3px; display: flex; align-items: center; min-height: 20px; }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace
   style="font-size:12.5px;letter-spacing:normal;word-break:break-all" du
   lien de parrainage complet (points/index.html), plus long que le code
   court, qui garde le style par défaut. */
.referral-code-box--small { font-size: 12.5px; letter-spacing: normal; word-break: break-all; }
.referral-code-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; }
.referral-copy-btn { background: rgba(255,255,255,0.14); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 12px; font-size: 16px; cursor: pointer; flex-shrink: 0; }
.referee-tile-sub { font-size: 12px; color: var(--success); font-weight: 700; margin-top: 2px; }

.empty-card { background: var(--surface-muted, #F7FAF8); border-radius: 16px; padding: 20px; text-align: center; color: var(--text-secondary); font-size: 12.5px; }

/* --- Profil / Compte (Étape 9) — reproduit profile_screen.dart et les
   sous-écrans statiques (CGU, Politique de confidentialité, À propos, Aide,
   numéro non modifiable) + le flux de demande de suppression de compte
   (security_screen.dart > _PrivacyGroup, sans le reste de l'écran Sécurité,
   propre à l'appareil mobile et hors périmètre Web). --- */
.profile-card { display: flex; align-items: center; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 18px; padding: 18px; margin-bottom: 20px; }
.profile-avatar { width: 52px; height: 52px; border-radius: 50%; background: var(--primary); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; flex-shrink: 0; }
.profile-name { font-size: 15.5px; font-weight: 800; color: var(--text-primary); }
.profile-phone { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; }

.profile-tile-group { display: flex; flex-direction: column; gap: 10px; margin-bottom: 22px; }
.profile-tile { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px 16px; cursor: pointer; text-decoration: none; width: 100%; box-sizing: border-box; text-align: left; font: inherit; }
.profile-tile:disabled, .profile-tile.disabled { opacity: 0.55; cursor: default; }
.profile-tile-emoji { font-size: 19px; }
.profile-tile-label { flex: 1; font-size: 14px; font-weight: 700; color: var(--text-primary); }
.profile-tile-trailing { font-size: 11.5px; color: var(--text-secondary); font-weight: 600; }
.profile-tile.danger .profile-tile-label { color: var(--danger); }

.notif-tile { display: flex; align-items: flex-start; gap: 12px; background: #fff; border: 1px solid var(--border); border-radius: 16px; padding: 14px; margin-bottom: 10px; cursor: pointer; }
.notif-tile.unread { background: var(--primary-lighter); }
.notif-tile-icon { width: 34px; height: 34px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 15px; flex-shrink: 0; }
.notif-tile-icon.info { background: var(--info-bg); }
.notif-tile-icon.success { background: var(--success-bg); }
.notif-tile-icon.danger { background: var(--danger-bg); }
.notif-tile-icon.warning { background: var(--warning-bg); }
.notif-tile-body { flex: 1; min-width: 0; }
.notif-tile-title { font-size: 13.5px; color: var(--text-primary); }
.notif-tile.unread .notif-tile-title { font-weight: 800; }
.notif-tile-text { font-size: 12.5px; color: var(--text-secondary); margin-top: 2px; line-height: 1.4; }
.notif-tile-date { font-size: 11px; color: var(--text-faint); margin-top: 4px; }

.legal-main { max-width: 560px; margin: 0 auto; padding: 14px 16px 40px; }
.legal-text { font-size: 13px; line-height: 1.6; color: var(--text-primary); white-space: pre-wrap; }

/* --- Audit UI (polish) ---------------------------------------------------
   1) site.css définit globalement `a:hover { text-decoration: underline; }`
      pour les vrais liens texte (nav marketing, footer, "Retour au site").
      Cette règle (spécificité élément+pseudo-classe) gagne contre une
      simple classe de composant comme `.hero-card{text-decoration:none}`
      (spécificité classe seule) : au survol/tap, le soulignement réapparaît
      malgré le `text-decoration:none` déjà posé. Sur mobile, un tap déclenche
      et "colle" l'état :hover — d'où l'impression de lien souligné au clic.
      Corrigé UNIQUEMENT pour les <a> de l'app Champion stylés comme
      bouton/carte/tuile (jamais comme texte) ; les vrais liens texte
      (ex. "← Retour au site" sur /app/login/) ne sont pas dans cette
      liste et gardent volontairement le soulignement au survol. */
.nav-item, .nav-item:hover, .nav-item:active, .nav-item:focus, .nav-item:visited,
.hero-card, .hero-card:hover, .hero-card:active, .hero-card:focus, .hero-card:visited,
.section-link, .section-link:hover, .section-link:active, .section-link:focus, .section-link:visited,
.order-tile, .order-tile:hover, .order-tile:active, .order-tile:focus, .order-tile:visited,
.wizard-back, .wizard-back:hover, .wizard-back:active, .wizard-back:focus, .wizard-back:visited,
.profile-tile, .profile-tile:hover, .profile-tile:active, .profile-tile:focus, .profile-tile:visited {
  text-decoration: none;
}

/* 2) Aucune carte/tuile cliquable n'avait de retour visuel au tap (ni
      <a>, ni <div> avec un simple addEventListener('click', ...)) : rien
      ne confirmait visuellement la pression avant que la navigation ou le
      changement d'état n'arrive. Ajouté uniformément, purement visuel —
      aucun gestionnaire de clic n'est modifié. */
.operator-card, .operator-pick, .amount-pick, .service-tile, .category-card,
.offer-pick-card, .payment-method-tile, .choice-btn, .history-tile,
.order-tile, .profile-tile, .earn-method-tile.clickable, .notif-tile {
  transition: transform 0.12s ease, background-color 0.12s ease;
}
.operator-card:active, .operator-pick:active, .amount-pick:active,
.service-tile:active, .category-card:active, .offer-pick-card:active,
.payment-method-tile:active, .choice-btn:active, .history-tile:active,
.order-tile:active, .profile-tile:active, .earn-method-tile.clickable:active,
.notif-tile:active {
  transform: scale(0.98);
  background-color: var(--primary-lighter);
}

.hero-card { transition: opacity 0.12s ease; }
.hero-card:active { opacity: 0.88; }

.nav-item, .wizard-back, .section-link {
  transition: opacity 0.12s ease;
}
.nav-item:active, .wizard-back:active, .section-link:active {
  opacity: 0.6;
}

/* 3) États focus clavier visibles — uniquement sur les éléments déjà
      focusables nativement (<a>/<button> réels). Les cartes en <div>
      cliquables (opérateurs, montants, moyens de paiement, etc.) ne sont
      pas focusables au clavier (ni tabindex ni gestion Entrée/Espace) :
      en ajouter un relèverait d'un changement de comportement, pas d'un
      simple polish visuel — signalé dans le rapport plutôt que corrigé
      ici sans autorisation. */
.nav-item:focus-visible, .wizard-back:focus-visible, .section-link:focus-visible,
.hero-card:focus-visible, .profile-tile:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
  border-radius: 6px;
}

/* 4) Même constat pour les vrais <button> (CTA principaux/secondaires,
      onglets, copie du code de parrainage) : aucun n'avait de retour de
      pression, au-delà de l'effet navigateur par défaut (quasi invisible
      sur un fond coloré personnalisé). Ajouté uniformément ; les styles
      :disabled existants ne sont pas touchés. */
.wizard-cta, .wizard-cta-outline, .auth-tab, .points-subnav-btn,
.btn-block, .referral-copy-btn, .share-receipt-btn {
  transition: transform 0.12s ease, opacity 0.12s ease;
}
.wizard-cta:not(:disabled):active, .wizard-cta-outline:active, .auth-tab:active,
.points-subnav-btn:active, .btn-block:active, .referral-copy-btn:active,
.share-receipt-btn:active {
  transform: scale(0.97);
  opacity: 0.9;
}

/* 5) Accessibilité clavier — cartes/tuiles <div> rendues focusables par
      makeKeyboardClickable() (ui.js) : tabindex="0" + Entrée/Espace
      déclenchent le même click() que la souris. Focus visible cohérent
      avec le reste du site (même style que les <a>/<button> ci-dessus). */
.operator-card:focus-visible, .operator-pick:focus-visible, .amount-pick:focus-visible,
.service-tile:focus-visible, .category-card:focus-visible, .offer-pick-card:focus-visible,
.payment-method-tile:focus-visible, .choice-btn:focus-visible, .history-tile:focus-visible,
.earn-method-tile.clickable:focus-visible, .notif-tile:focus-visible,
.promo-slide.clickable:focus-visible, .tb-tab:focus-visible, .tb-card-buy:focus-visible {
  outline: 2px solid var(--primary-strong);
  outline-offset: 2px;
}

/* --- Page "🎁 Mardi Bonus" (/mardi-bonus/) — reproduit tuesday_bonus_screen.dart
   (USER) : bannière dégradée, onglets Internet/Mix avec compteurs RÉELS,
   grille 2 colonnes TOUJOURS pour Pass Internet ET Pass Mix, quelle que
   soit la largeur d'écran (parité stricte avec l'APK, testée en direct sur
   téléphone le 2026-10-17 — texte plus long sur Mix — minutes/SMS/NP/
   Spotify/assurance — jamais tronqué, les cartes rétrécissent, jamais le
   nombre de colonnes), bandeau "astuce". Mêmes variables CSS que le reste
   du site (--primary-dark/--success/--orange/--warning...), aucune
   nouvelle palette introduite. --- */
.tuesday-bonus-main { max-width: 640px; margin: 0 auto; padding: 14px 16px 40px; }

.tb-gate { text-align: center; padding: 60px 24px; }
.tb-gate-icon { font-size: 40px; margin-bottom: 12px; }
.tb-gate-title { font-size: 16px; font-weight: 800; color: var(--text-primary); margin-bottom: 6px; }
.tb-gate-text { font-size: 13px; color: var(--text-secondary); }
/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace le
   style="text-align:center;padding:40px 0" du message d'erreur de
   mardi-bonus/index.html. */
.tb-error-message { text-align: center; padding: 40px 0; }

.tb-banner {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-strong));
  border-radius: 20px; padding: 18px; color: #fff; margin-bottom: 16px;
}
.tb-banner-top { display: flex; align-items: flex-start; gap: 10px; }
.tb-banner-title { font-size: 21px; font-weight: 900; }
.tb-banner-subtitle { font-size: 12.5px; font-weight: 600; color: rgba(255,255,255,0.75); margin-top: 4px; }
.tb-banner-gift { width: 48px; height: 48px; border-radius: 14px; background: rgba(255,255,255,0.16); display: flex; align-items: center; justify-content: center; font-size: 22px; flex-shrink: 0; }
.tb-banner-pill { margin-top: 6px; background: var(--warning); color: var(--primary-dark); font-size: 9.5px; font-weight: 900; padding: 3px 8px; border-radius: 20px; text-align: center; white-space: nowrap; }
.tb-banner-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.tb-chip { background: rgba(255,255,255,0.12); border-radius: 12px; padding: 8px 6px; text-align: center; }
.tb-chip-icon { font-size: 15px; }
.tb-chip-label { font-size: 9.5px; font-weight: 700; margin-top: 4px; }

.tb-tabs { display: flex; gap: 10px; margin-bottom: 18px; }
.tb-tab {
  flex: 1; display: flex; align-items: center; justify-content: center; gap: 6px;
  padding: 11px; border-radius: 30px; border: 1px solid var(--border); background: #fff;
  font-size: 13px; font-weight: 800; color: var(--text-secondary); cursor: pointer;
}
.tb-tab.active { background: var(--primary-strong); border-color: var(--primary-strong); color: #fff; }

.tb-section-header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.tb-section-header-icon { font-size: 18px; color: var(--primary-strong); }
.tb-section-header-title { font-size: 14.5px; font-weight: 800; }
.tb-section-header-subtitle { font-size: 11px; color: var(--text-secondary); font-weight: 600; margin-top: 1px; }
.tb-section-header-count { background: var(--primary-light); color: var(--primary-strong); font-size: 11px; font-weight: 800; padding: 4px 9px; border-radius: 20px; white-space: nowrap; }

/* CORRECTIF (2026-10-17, demande explicite de l'utilisateur, après test en
   direct sur téléphone) — grille 2 colonnes TOUJOURS, quelle que soit la
   largeur d'écran (jamais de repli en 1 colonne sous un seuil) : parité
   stricte avec l'APK, qui construit toujours 2 cartes par rangée
   (IntrinsicHeight + Row + Expanded, tuesday_bonus_screen.dart) sans jamais
   tenir compte de la largeur de l'appareil — seules les cartes rétrécissent
   sur petit écran, jamais le nombre de colonnes. S'applique identiquement à
   Pass Internet et Pass Mix (voir aussi renderOffers(), mardi-bonus/index.html,
   qui n'utilise plus qu'une seule classe `tb-grid tb-grid-2col` pour les deux
   types). Ancienne version (media query >= 560px, 1 colonne sous ce seuil)
   abandonnée : elle faisait diverger le web de l'APK sur mobile. */
.tb-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
.tb-grid.tb-grid-2col { grid-template-columns: 1fr 1fr; gap: 8px; }

.tb-card { background: #fff; border-radius: 16px; padding: 14px; box-shadow: var(--shadow-card); display: flex; flex-direction: column; }
.tb-card-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 6px; }
.tb-card-name { font-size: 13.5px; font-weight: 800; }
.tb-card-badges { display: flex; flex-direction: column; align-items: flex-end; gap: 3px; flex-shrink: 0; }
.tb-card-badge-source { background: var(--orange-bg); color: var(--orange); font-size: 8.5px; font-weight: 800; padding: 2px 6px; border-radius: 20px; white-space: nowrap; }
.tb-card-badge-pct { background: var(--success-bg); color: var(--success); font-size: 10px; font-weight: 800; padding: 2px 7px; border-radius: 20px; white-space: nowrap; }
.tb-card-price { font-size: 16.5px; font-weight: 900; margin-top: 8px; }
.tb-card-volume { display: flex; align-items: center; gap: 4px; margin-top: 10px; }
.tb-card-volume-base { flex: 1; }
.tb-card-volume-base-value { font-size: 11.5px; color: var(--text-secondary); font-weight: 700; }
.tb-card-volume-base-label { font-size: 9.5px; color: var(--text-faint); font-weight: 600; }
.tb-card-volume-arrow { color: var(--success); font-size: 16px; }
.tb-card-volume-total { flex: 1; text-align: right; }
.tb-card-volume-total-value { font-size: 12.5px; color: var(--success); font-weight: 900; }
.tb-card-volume-total-label { font-size: 9.5px; color: var(--success); font-weight: 600; }
.tb-card-validity { display: flex; align-items: flex-start; gap: 4px; margin-top: 10px; font-size: 11px; color: var(--text-secondary); font-weight: 600; }
.tb-card-extra { font-size: 10.5px; color: var(--text-secondary); margin-top: 4px; }
.tb-card-buy {
  width: 100%; border: 0; border-radius: 14px; padding: 10px; margin-top: 12px; text-decoration: none;
  display: flex; align-items: center; justify-content: center; text-align: center;
  background: var(--primary); color: #fff; font-size: 13px; font-weight: 800; cursor: pointer;
}

.tb-tip { display: flex; align-items: center; gap: 10px; background: var(--success-bg); border-radius: 14px; padding: 12px 14px; margin-top: 16px; }
.tb-tip-text { font-size: 12px; font-weight: 700; color: var(--success); }

@media (max-width: 380px) {
  .tb-banner-chips { gap: 6px; }
  .tb-chip { padding: 7px 4px; }
}

/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 3 (2026-10-24) — remplace les
   style="flex:1" répétés (mardi-bonus/index.html, points/index.html) :
   seule déclaration, aucune valeur spécifique à une page, pas de risque de
   collision. */
.flex-1 { flex: 1; }

/* CORRECTIF SÉCURITÉ — CSP PHASE 3, GROUPE 2 (2026-10-24) — extrait tel
   quel du bloc <style> inline de forgot-password/index.html (mirrors
   forgot_password_screen.dart, USER). Classes minimales, uniques à cette
   page, tout le reste réutilise field/btn/form-error déjà définis ici ou
   dans site.css. */
.reset-title { font-size: 20px; font-weight: 900; color: var(--text-primary); text-align: center; margin: 4px 0 10px; }
.reset-message { font-size: 13px; color: var(--text-secondary); line-height: 1.5; text-align: center; margin: 0 0 22px; }
.reset-spinner { width: 40px; height: 40px; margin: 6px auto 22px; border: 3px solid var(--border); border-top-color: var(--primary-strong); border-radius: 50%; animation: reset-spin 0.8s linear infinite; }
@keyframes reset-spin { to { transform: rotate(360deg); } }
/* Remplace le style="margin-top:-10px;font-size:12px;opacity:.75" du
   paragraphe "Mauvais numéro ?" de l'étape "waiting". */
.reset-message--tight { margin-top: -10px; font-size: 12px; opacity: .75; }

/* PAIEMENTS DIRECTS (2026-11-04) — champ « numéro à débiter » (Orange Money, MTN MoMo, Moov Money) et carte d'attente du paiement
   direct. Reproduit la présentation de l'APK USER avec les couleurs/variables du site. AUCUN style intégré (CSP style-src 'self'). */
#payerPhoneBlock { margin-top: 16px; }
.payer-phone-field { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.8px solid var(--primary-strong); border-radius: 14px; padding: 0 12px; }
.payer-phone-field.has-error { border-color: var(--danger); }
.payer-phone-flag { display: inline-flex; border-radius: 3px; overflow: hidden; flex-shrink: 0; }
.payer-phone-flag i { display: block; width: 8px; height: 19px; }
.payer-phone-flag .flag-orange { background: #F77F00; }
.payer-phone-flag .flag-white { background: #fff; }
.payer-phone-flag .flag-green { background: #009E60; }
.payer-phone-prefix { font-size: 16px; font-weight: 800; color: var(--text-primary); }
.payer-phone-divider { width: 1px; height: 24px; background: var(--border); flex-shrink: 0; }
.payer-phone-field input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font: inherit; font-size: 18px; font-weight: 700; letter-spacing: 0.3px; padding: 13px 0; color: var(--text-primary); }
.payer-phone-field input::placeholder { color: var(--text-secondary); font-weight: 500; opacity: 0.7; }
.payer-phone-hint { margin: 6px 0 0; }
.direct-pending-card { display: flex; align-items: flex-start; gap: 12px; background: var(--primary-light); border-radius: 16px; padding: 14px; margin-top: 18px; font-size: 13.5px; line-height: 1.4; text-align: left; color: var(--text-primary); }
.direct-pending-card .direct-pending-icon { font-size: 22px; line-height: 1; }
.direct-resend-panel { text-align: left; margin-top: 10px; }
.direct-resend-panel .step-label { margin-top: 6px; }

/* PAIEMENT DIRECT MTN MoMo / Moov Money (2026-11-04) — PAGE DÉDIÉE, reproduction de MobileMoneyPaymentScreen (APK USER) : en-tête dégradé vert avec
   logo, feuille blanche aux coins arrondis, carte récapitulative, champ du numéro, bandeau USSD, boutons « Payer » et « Retour ». Mêmes couleurs que
   AppColors (variables du site). Plein écran : la barre du haut et la navigation du bas sont masquées tant que la page est ouverte. Aucun style intégré. */
body.mm-active { background: var(--primary-dark); padding-bottom: 0; }
body.mm-active .simple-bar, body.mm-active .bottom-nav { display: none; }
body.mm-active .wizard-main { padding: 0; max-width: 560px; }
.mm-page { min-height: 100vh; display: flex; flex-direction: column; padding: 0; }
.mm-page.hidden { display: none; }
.mm-header { text-align: center; padding: 14px 16px 16px; background: linear-gradient(135deg, #0B3B24 0%, #145A34 100%); }
.mm-header-logo { height: 64px; width: auto; display: block; margin: 0 auto 4px; }
.mm-title { margin: 0; color: #fff; font-size: 18px; font-weight: 800; }
.mm-sheet { flex: 1; background: #fff; border-radius: 32px 32px 0 0; padding: 14px 16px 24px; }
.mm-summary { background: #fff; border: 1px solid var(--border); border-radius: 20px; padding: 12px 14px 4px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08); }
.mm-summary-top { display: flex; align-items: center; }
.mm-app-icon { width: 44px; height: 44px; padding: 3px; box-sizing: border-box; background: var(--primary-dark); border-radius: 12px; display: inline-flex; flex-shrink: 0; }
.mm-app-icon img { width: 100%; height: 100%; object-fit: contain; }
.mm-vdivider { width: 1px; height: 36px; margin: 0 10px; background: var(--border); flex-shrink: 0; }
.mm-summary-text { flex: 1; min-width: 0; }
.mm-company { font-size: 14px; font-weight: 800; color: var(--text-primary); }
.mm-product { font-size: 12px; color: var(--text-secondary); line-height: 1.25; margin-top: 2px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.mm-method-logo { width: 44px; height: 44px; border-radius: 12px; object-fit: cover; margin-left: 8px; flex-shrink: 0; }
.mm-hdivider { border: 0; border-top: 1px solid var(--border); margin: 10px 0 0; }
.mm-row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 8px 0; }
.mm-row-label { font-size: 13px; color: var(--text-secondary); }
.mm-amount { font-size: 21px; font-weight: 900; color: var(--primary-strong); }
.mm-ref-label { font-size: 12px; color: var(--text-secondary); white-space: nowrap; }
.mm-ref { font-size: min(12px, 3.1vw); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; color: var(--text-primary); }
.mm-section-title { font-size: 13px; font-weight: 800; margin: 14px 0 10px; color: var(--text-primary); }
.mm-label { font-size: 14px; font-weight: 800; margin: 16px 0 8px; color: var(--text-primary); }
.mm-use-number { border: 0; background: none; color: var(--primary-strong); padding: 6px; cursor: pointer; display: inline-flex; flex-shrink: 0; }
.mm-use-number:disabled { opacity: 0.4; cursor: not-allowed; }
.mm-phone-error { color: var(--danger); font-size: 11.5px; font-weight: 600; margin: 6px 0 0; }
.mm-info { display: flex; align-items: flex-start; background: var(--primary-light); border-radius: 14px; padding: 12px; margin-top: 10px; font-size: 12.5px; line-height: 1.35; color: var(--text-primary); }
.mm-info-icon { color: var(--primary-strong); flex-shrink: 0; }
.mm-info-divider { width: 1px; align-self: stretch; min-height: 34px; margin: 0 10px; background: rgba(21, 128, 61, 0.35); flex-shrink: 0; }
.mm-info-text { flex: 1; }
.mm-info-text strong { font-weight: 800; }
#mmPointsOnlyText { font-weight: 600; }
.mm-error { display: flex; align-items: flex-start; gap: 8px; background: var(--danger-bg); color: var(--danger); border-radius: 10px; padding: 10px 12px; margin-top: 12px; font-size: 12px; font-weight: 600; }
.mm-error-icon { flex-shrink: 0; margin-top: 1px; }
.mm-pay { display: block; width: 100%; height: 50px; margin-top: 16px; border: 0; border-radius: 14px; background: var(--primary-strong); color: #fff; font-size: 16px; font-weight: 800; cursor: pointer; }
.mm-pay:disabled { opacity: 0.4; cursor: not-allowed; }
.mm-back { display: block; width: 100%; height: 44px; margin-top: 8px; border: 1px solid var(--border); border-radius: 14px; background: #fff; color: var(--primary-strong); font-size: 14px; font-weight: 800; cursor: pointer; }
.mm-back:disabled { opacity: 0.4; cursor: not-allowed; }
.mm-secure { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 12px; font-size: 12px; color: var(--text-secondary); }
.mm-secure strong { font-size: 13px; font-weight: 800; color: var(--primary-strong); }
.mm-secure svg { color: var(--primary-strong); }
#mmLeaveOverlay { align-items: center; }
/* Proposition de l'application Android après connexion (2026-11-09) — même fenêtre centrée que ci-dessus, aucune autre règle nécessaire. */
#apkPromptOverlay { align-items: center; }
#apkPromptOverlay .wizard-cta, #apkPromptOverlay .wizard-cta-outline { text-align: center; }

/* Barre publicitaire défilante (2026-11-09) — MÊMES dimensions que la barre publicitaire de l'application USER (home_screen.dart, _PromoBannerCarousel) : hauteur 110 dp
   (le site était resté à 96 px depuis le passage de l'application à 110 dp le 2026-11-05) et largeur de l'écran moins 8 dp de chaque côté (l'application l'affiche dans un
   remplissage de 8 dp, alors que le contenu du site a 16 px de marge : -8 px de chaque côté). Coins de 18 px et images en `cover` : déjà identiques, inchangés. Contenu, textes,
   couleurs, flèches, points et animations de défilement INCHANGÉS (règle d'origine .promo-carousel plus haut, non modifiée : seules ces dimensions sont surchargées). */
.promo-carousel { height: 110px; margin-left: -8px; margin-right: -8px; }
.mm-dialog { background: #fff; border-radius: 18px; padding: 20px; margin: 0 16px; max-width: 420px; width: 100%; }
.mm-dialog-title { font-size: 16px; font-weight: 800; margin-bottom: 12px; color: var(--text-primary); }
.mm-dialog-message { font-size: 14px; color: var(--text-secondary); line-height: 1.4; }
.mm-dialog-actions { display: flex; gap: 10px; margin-top: 16px; }
.mm-dialog-btn { flex: 1; margin-top: 0; }
.resend-title { font-size: 16px; font-weight: 900; margin-bottom: 12px; color: var(--text-primary); }
#resendOverlay .wizard-cta { margin-top: 14px; }
.wizard-cta--link { text-decoration: none; box-sizing: border-box; }
.mm-progress { height: 3px; border-radius: 4px; background: var(--primary-soft, #e3f2e8); overflow: hidden; margin: 10px 0 0; position: relative; }
.mm-progress::after { content: ''; position: absolute; top: 0; bottom: 0; width: 40%; border-radius: 4px; background: var(--primary); animation: mm-progress-slide 1.1s ease-in-out infinite; }
.mm-progress.hidden { display: none; }
@keyframes mm-progress-slide { 0% { left: -40%; } 100% { left: 100%; } }

/* WAVE (2026-11-07) : tuile du moyen de paiement grisee pendant la lecture de la disponibilite de Wave Direct (6 s au plus). */
.mm-tile-busy { opacity: .6; pointer-events: none; }

/* MARDI BONUS (2026-11-08) : bouton « MARDI BONUS 200 % » dans la liste des services Orange (meme gabarit que les autres lignes, liseré et fond d'accent). */
.mm-bonus-tile.service-tile { border: 1.5px solid var(--primary); background: var(--primary-light); }
.mm-bonus-tile .service-tile-label { color: var(--primary-dark); font-weight: 800; }

/* ==========================================================================
   POINTS — ACCUEIL ET PAGES « MES BONUS / PARRAINAGE / RACHETER / MES DÉPENSES » (2026-11-23)
   Reproduction fidèle de l'APK USER (points_card.dart, loyalty_*.dart, monthly_*.dart) : MÊMES couleurs (valeurs exactes de AppColors, reprises dans les variables --ue-*), mêmes tailles, mêmes espacements.
   Aucun style en ligne sur le site (CSP : style-src 'self') : la largeur de la barre de progression passe par les classes .pct-0 … .pct-100.
   ========================================================================== */
:root {
  --ue-primary-dark: #0B3B24; --ue-primary: #1E9E5A; --ue-primary-strong: #15803D; --ue-primary-light: #E7F6ED;
  --ue-surface: #FFFFFF; --ue-surface-muted: #F7FAF8; --ue-text: #10241C; --ue-text-2: #5B6B63; --ue-text-faint: #8FA098;
  --ue-border: #E3EAE6; --ue-divider: #EDF2EF; --ue-success: #16A34A; --ue-danger: #E5484D; --ue-neutral: #7C8A83;
  --ue-info: #2563EB; --ue-info-bg: #E9F0FE; --ue-orange: #F47216;
}

/* Icônes vectorielles (voir icons.js) */
.ue-icon { width: 24px; height: 24px; flex-shrink: 0; display: inline-block; vertical-align: middle; }

/* En-tête simple avec flèche de retour */
.simple-bar { display: flex; align-items: center; gap: 12px; }
.simple-bar-back { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 10px; background: var(--primary-lighter); color: var(--primary-dark); font-size: 18px; font-weight: 800; text-decoration: none; }

/* Le site applique `section { padding: 60px 24px }` (pages vitrine) : on le neutralise pour les blocs « points » ; titres alignés à gauche. */
.points-panel, .spending-summary, .points-card, .points-strip, .tier-card, .rank-card, .rules-card, .month-bonus-box, .stats-box { padding: 0; }
.points-panel .section-title { text-align: left; }

/* ---------------------------------------------------------------- Carte « Solde points » de l'accueil */
.points-card { position: relative; background: linear-gradient(135deg, var(--ue-primary-dark) 0%, var(--ue-primary-strong) 100%); color: #fff; border-radius: 22px; padding: 10px 14px; margin: 12px 16px; max-width: 560px; box-shadow: 0 6px 14px rgba(21,128,61,0.25); }
@media (min-width: 600px) { .points-card { margin-left: auto; margin-right: auto; } }
.points-card-top { position: relative; }
.points-card-info { padding-right: 58px; min-width: 0; }
.points-card-title { display: flex; align-items: center; gap: 8px; font-size: 14.5px; font-weight: 700; color: #fff; }
.points-card-coin { font-size: 18px; line-height: 1; }
.points-card-balance { font-size: 31px; font-weight: 900; line-height: 1.1; margin-top: 2px; white-space: nowrap; color: #fff; }
.points-card-reduction { font-size: 14px; font-weight: 600; margin-top: 2px; color: #fff; }
.points-card-min { display: inline-block; margin-top: 6px; background: rgba(231,246,237,0.92); color: var(--ue-primary-dark); border-radius: 20px; padding: 3px 12px; font-size: 11.5px; font-weight: 800; }
.points-card-gifts { position: absolute; right: 0; top: 0; display: flex; align-items: flex-start; gap: 2px; }
.points-card-sparkle { font-size: 13px; line-height: 1.2; }
.points-card-gift { font-size: 46px; line-height: 1.1; }
.points-card-divider { height: 1px; background: rgba(255,255,255,0.35); margin: 8px 0; }
.points-card-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.points-action { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 4px; border-radius: 18px; padding: 8px 2px; text-decoration: none; color: var(--ue-text); }
.points-action:hover { text-decoration: none; filter: brightness(0.97); }
.points-action .ue-icon { width: 25px; height: 25px; }
.points-action-label { font-size: 11.5px; font-weight: 800; text-align: center; line-height: 1.15; color: var(--ue-text); }
.points-action--bonus { background: #EAF7EE; color: var(--ue-primary-strong); }
.points-action--referral { background: #F3ECFD; color: #7C3AED; }
.points-action--redeem { background: #E9F0FE; color: var(--ue-info); }
.points-action--spending { background: #FDEEDD; color: var(--ue-orange); }

/* Montant d'une opération perdue (expirée, échouée, annulée) : gris, sans « + » */
.order-tile-amount.lost { color: var(--ue-neutral); }

/* ---------------------------------------------------------------- Bandeau « Solde points » des pages (Mes bonus, Racheter) */
.points-strip { display: flex; align-items: center; gap: 10px; background: linear-gradient(135deg, var(--ue-primary-dark) 0%, var(--ue-primary-strong) 100%); color: #fff; border-radius: 18px; padding: 12px 16px; }
.points-strip-coin { font-size: 26px; line-height: 1; }
.points-strip-main { flex: 1; min-width: 0; }
.points-strip-label { font-size: 12px; font-weight: 700; color: rgba(255,255,255,0.85); }
.points-strip-balance { font-size: 24px; font-weight: 900; line-height: 1.1; white-space: nowrap; }
.points-strip-side { text-align: right; }
.points-strip-reduction { font-size: 12.5px; font-weight: 700; }
.points-strip-min { font-size: 11px; color: rgba(255,255,255,0.85); margin-top: 3px; }
.page-gap { height: 14px; }

/* ---------------------------------------------------------------- Textes et listes communs */
.points-banner { display: flex; align-items: flex-start; gap: 8px; background: var(--ue-info-bg); border-radius: 14px; padding: 12px 14px; font-size: 12px; color: var(--ue-info); font-weight: 600; line-height: 1.4; }
.points-banner .ue-icon { width: 17px; height: 17px; margin-top: 1px; }
.page-title-15 { font-size: 15px; font-weight: 800; color: var(--ue-text); margin: 0; text-align: left; }
.page-title-15--spaced { margin: 22px 0 10px; }
.empty-card { background: var(--ue-surface-muted); border-radius: 16px; padding: 20px; text-align: center; color: var(--ue-text-2); font-size: 12.5px; }
.rules-card { background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 14px; }
.rules-title { font-size: 13.5px; font-weight: 800; color: var(--ue-text); }
.rules-line { display: flex; align-items: flex-start; gap: 8px; margin-top: 6px; font-size: 12.5px; color: var(--ue-text-2); line-height: 1.4; }
.rules-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--ue-primary-strong); margin-top: 7px; flex-shrink: 0; }
.more-row { display: flex; justify-content: center; margin: 6px 0 10px; }
.text-btn { display: inline-flex; align-items: center; gap: 4px; border: 0; background: transparent; color: var(--ue-primary-strong); font-weight: 600; font-size: 14px; padding: 8px 12px; cursor: pointer; }
.text-btn .ue-icon { width: 18px; height: 18px; }
.text-btn.hidden { display: none; }
.history-tile-row { display: flex; align-items: center; gap: 12px; background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 14px; margin-bottom: 10px; }
.loyalty-tx-title { font-size: 13px; font-weight: 700; color: var(--ue-text); }
.loyalty-tx-date, .loyalty-tx-note { font-size: 11px; color: var(--ue-text-faint); margin-top: 2px; }
.loyalty-tx-amount { font-size: 13.5px; font-weight: 800; margin-left: auto; white-space: nowrap; }
.loyalty-tx-amount.success { color: var(--ue-success); }
.loyalty-tx-amount.danger { color: var(--ue-danger); }

/* ---------------------------------------------------------------- Carte « Bonus mensuel » */
.tier-host { margin-top: 14px; }
.tier-card { background: var(--ue-surface); border: 1.2px solid var(--ue-primary); border-radius: 16px; padding: 14px; margin-top: 10px; }
.tier-head { display: flex; align-items: flex-start; gap: 12px; }
.tier-gift { padding: 10px; background: var(--ue-primary-light); border-radius: 12px; font-size: 22px; line-height: 1.2; }
.tier-titles { flex: 1; min-width: 0; }
.tier-title { font-size: 15px; font-weight: 900; color: var(--ue-text); }
.tier-rule { font-size: 12.5px; color: var(--ue-text-2); line-height: 1.3; margin-top: 2px; }
.tier-badge { background: var(--ue-primary-strong); color: #fff; border-radius: 20px; padding: 4px 10px; font-size: 11px; font-weight: 800; }
.tier-sep { height: 1px; background: var(--ue-divider); margin: 12px 0; }
.tier-stats { display: flex; align-items: stretch; }
.tier-stat { flex: 1; display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
.tier-stat + .tier-stat { border-left: 1px solid var(--ue-divider); margin-left: 7px; padding-left: 7px; }
.tier-stat .ue-icon { color: var(--ue-primary-strong); }
.tier-stat-body { min-width: 0; flex: 1; }
.tier-stat-label { font-size: 10.5px; color: var(--ue-text-2); line-height: 1.2; }
.tier-stat-value { font-size: 13.5px; font-weight: 900; line-height: 1.2; margin-top: 3px; color: var(--ue-text); white-space: pre-line; }
.tier-progress { position: relative; height: 20px; background: var(--ue-divider); border-radius: 10px; overflow: hidden; margin-top: 12px; }
.tier-progress-fill { height: 100%; background: var(--ue-primary-strong); }
.tier-progress-label { position: absolute; top: 0; height: 20px; line-height: 20px; font-size: 11.5px; font-weight: 800; right: 8px; color: var(--ue-text-2); }
.tier-progress.inside .tier-progress-fill { display: flex; align-items: center; justify-content: flex-end; padding-right: 8px; box-sizing: border-box; }
.tier-progress.inside .tier-progress-label { position: static; height: auto; color: #fff; }
.tier-remaining { display: flex; align-items: flex-start; gap: 10px; margin-top: 12px; background: var(--ue-primary-light); border-radius: 12px; padding: 10px 12px; }
.tier-remaining .ue-icon { width: 22px; height: 22px; color: var(--ue-primary-dark); }
.tier-remaining-title { font-size: 13.5px; font-weight: 800; color: var(--ue-text); }
.tier-remaining-sub { font-size: 12.5px; color: var(--ue-text-2); line-height: 1.3; margin-top: 2px; }
.tier-note { font-size: 11px; color: var(--ue-text-faint); line-height: 1.35; margin: 8px 0 0; }

/* ---------------------------------------------------------------- « Racheter » */
.reorder-heading { margin: 18px 0 4px; }
.reorder-desc { font-size: 12px; color: var(--ue-text-2); line-height: 1.4; margin: 0 0 12px; }
.reorder-card { display: flex; align-items: center; gap: 12px; background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 14px; margin-bottom: 10px; cursor: pointer; width: 100%; text-align: left; font: inherit; }
.reorder-card:disabled { opacity: 0.6; cursor: default; }
.reorder-card .operator-badge { width: 40px; height: 40px; margin: 0; font-size: 9px; flex-shrink: 0; }
.reorder-title { font-size: 13.5px; font-weight: 800; color: var(--ue-text); }
.reorder-phone { font-size: 12px; color: var(--ue-text-2); margin-top: 2px; }
.reorder-amount { font-size: 12px; font-weight: 700; color: var(--ue-primary-strong); margin-top: 2px; }
.reorder-pill { display: inline-flex; align-items: center; gap: 4px; background: var(--ue-primary-light); color: var(--ue-primary-strong); border-radius: 20px; padding: 8px 12px; font-size: 12px; font-weight: 800; flex-shrink: 0; }
.reorder-pill .ue-icon { width: 16px; height: 16px; }
.sheet-title { font-size: 17px; font-weight: 900; color: var(--ue-text); margin: 0 0 12px; }
.sheet-order { display: flex; align-items: center; gap: 12px; }
.sheet-order .operator-badge { width: 40px; height: 40px; margin: 0; font-size: 9px; }
.sheet-order-title { font-size: 14px; font-weight: 800; color: var(--ue-text); }
.sheet-order-amount { font-size: 12.5px; font-weight: 700; color: var(--ue-primary-strong); }
.sheet-label { font-size: 13px; font-weight: 800; color: var(--ue-text); margin: 16px 0 6px; }
.sheet-input { display: flex; align-items: center; gap: 8px; border: 1px solid var(--ue-border); border-radius: 12px; background: #fafcfb; padding: 0 6px 0 12px; }
.sheet-input.invalid { border-color: var(--ue-danger); }
.sheet-input .ue-icon { color: var(--ue-text-2); }
.sheet-input input { flex: 1; min-width: 0; border: 0; background: transparent; font-size: 15px; padding: 13px 0; outline: none; }
.sheet-input-btn { border: 0; background: transparent; padding: 8px; cursor: pointer; color: var(--ue-text-2); display: inline-flex; border-radius: 50%; }
.sheet-input-btn:disabled { opacity: 0.4; cursor: default; }
.sheet-error { color: var(--ue-danger); font-size: 12px; margin: 6px 0 0; }
.sheet-help { font-size: 11.5px; color: var(--ue-text-2); line-height: 1.35; margin: 6px 0 16px; }
.sheet-cta { width: 100%; border: 0; background: var(--ue-primary); color: #fff; border-radius: 14px; padding: 14px; font-size: 15px; font-weight: 800; cursor: pointer; }
.sheet-cta:disabled { opacity: 0.6; }
.sheet-foot { text-align: center; font-size: 11.5px; color: var(--ue-text-faint); margin: 6px 0 0; }

/* ---------------------------------------------------------------- « Mes dépenses » */
.month-nav { display: flex; align-items: center; gap: 0; }
.month-arrow { width: 40px; height: 44px; border: 0; background: transparent; color: var(--ue-text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.month-arrow:disabled { opacity: 0.3; cursor: default; }
.month-picker { flex: 1; min-width: 0; display: flex; align-items: center; justify-content: center; gap: 8px; background: var(--ue-surface); border: 1.2px solid var(--ue-primary); border-radius: 14px; padding: 11px 14px; font-size: 14.5px; font-weight: 900; color: var(--ue-text); cursor: pointer; }
.month-picker .ue-icon { width: 18px; height: 18px; color: var(--ue-primary-strong); }
.month-picker .month-picker-caret { color: var(--ue-text-faint); }
.month-picker-label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.spending-summary { display: flex; align-items: flex-start; gap: 12px; background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 16px; margin-top: 12px; }
.spending-summary-main { flex: 1; min-width: 0; }
.spending-summary-side { text-align: right; }
.spending-stat-label { font-size: 12px; color: var(--ue-text-2); font-weight: 700; }
.spending-stat-value { font-size: 24px; font-weight: 900; margin-top: 4px; color: var(--ue-text); white-space: nowrap; }
.spending-stat-value.green { color: var(--ue-primary-strong); }
.past-bonus-box { margin-top: 10px; background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 14px; }
.past-bonus-text { font-size: 12.5px; color: var(--ue-text-2); margin: 0; }
.past-bonus-stats { display: flex; }
.past-bonus-stat { flex: 1; min-width: 0; }
.past-bonus-stat-label { font-size: 10.5px; color: var(--ue-text-2); line-height: 1.2; }
.past-bonus-stat-value { font-size: 15px; font-weight: 900; margin-top: 4px; color: var(--ue-text); }
.spending-note { display: flex; align-items: flex-start; gap: 8px; margin-top: 10px; background: var(--ue-surface-muted); border-radius: 12px; padding: 12px; font-size: 11.5px; color: var(--ue-text-2); line-height: 1.4; }
.spending-note .ue-icon { width: 16px; height: 16px; color: var(--ue-text-faint); margin-top: 1px; }
.stats-box { background: var(--ue-surface); border: 1px solid var(--ue-border); border-radius: 16px; padding: 16px; }
.stats-row { display: flex; justify-content: space-between; gap: 8px; align-items: baseline; }
.stats-main { font-size: 13px; font-weight: 700; color: var(--ue-text); }
.stats-aside { font-size: 12px; color: var(--ue-text-2); white-space: nowrap; }
.stats-bar { height: 8px; background: var(--ue-divider); border-radius: 8px; overflow: hidden; margin: 10px 0; }
.stats-bar-fill { height: 100%; background: var(--ue-primary-strong); }
.stats-text { font-size: 12px; color: var(--ue-text-2); margin: 0; }
.month-option { display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; border: 0; background: transparent; padding: 10px 16px; cursor: pointer; border-radius: 12px; }
.month-option.selected { color: var(--ue-primary-strong); }
.month-option-main { flex: 1; min-width: 0; }
.month-option-title { font-size: 16px; font-weight: 800; }
.month-option-sub { font-size: 14px; color: var(--ue-text-2); margin-top: 2px; }
.month-option .ue-icon { color: var(--ue-primary-strong); }

/* Classement du mois (carte verte) et Top N */
.rank-card { background: linear-gradient(90deg, var(--ue-primary-dark), var(--ue-primary-strong)); border-radius: 18px; padding: 16px; color: #fff; margin-top: 14px; }
.rank-card-head { display: flex; align-items: flex-start; gap: 12px; }
.rank-card-crown { font-size: 30px; line-height: 1.1; }
.rank-card-titles { flex: 1; min-width: 0; }
.rank-card-title { font-size: 16px; font-weight: 900; color: #fff; }
.rank-card-sub { font-size: 12px; color: rgba(255,255,255,0.82); line-height: 1.3; margin-top: 2px; }
.rank-card-top-btn { display: inline-flex; align-items: center; gap: 2px; flex-shrink: 0; border: 1px solid rgba(255,255,255,0.7); background: transparent; color: #fff; border-radius: 30px; padding: 8px 12px; font-size: 12px; font-weight: 800; cursor: pointer; }
.rank-card-top-btn .ue-icon { width: 16px; height: 16px; }
.rank-card-body { margin-top: 12px; }
.rank-card-msg { font-size: 13px; color: rgba(255,255,255,0.82); margin: 0; }
.rank-stats { display: flex; align-items: stretch; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.28); border-radius: 14px; padding: 12px 10px; }
.rank-stat { flex: 1; display: flex; gap: 6px; align-items: flex-start; min-width: 0; }
.rank-stat + .rank-stat { border-left: 1px solid rgba(255,255,255,0.28); margin-left: 5px; padding-left: 5px; }
.rank-stat .ue-icon { width: 26px; height: 26px; color: #FFC83D; }
.rank-stat-label { font-size: 10.5px; color: rgba(255,255,255,0.82); line-height: 1.2; }
.rank-stat-value { font-size: 16px; font-weight: 900; color: #fff; line-height: 1.1; margin-top: 3px; }
.rank-line-strong { font-size: 14px; font-weight: 800; color: #fff; margin: 12px 0 0; }
.rank-line-soft { font-size: 12px; color: rgba(255,255,255,0.82); margin: 2px 0 0; }
.rank-line-soft--mid { font-size: 12.5px; margin-top: 6px; }
.rank-line-reward { font-size: 12.5px; font-weight: 700; color: #fff; margin: 8px 0 0; }
.rank-line-reward.soft { color: rgba(255,255,255,0.82); }
.rank-card-strong-line { font-size: 13px; font-weight: 700; color: #fff; margin: 0; }
.top-title { display: flex; align-items: center; gap: 8px; font-size: 17px; font-weight: 900; color: var(--ue-text); }
.top-title-emoji { font-size: 22px; }
.top-intro { font-size: 12.5px; color: var(--ue-text-2); line-height: 1.4; margin: 6px 0 12px; }
.top-box { background: var(--ue-surface-muted); border-radius: 14px; padding: 14px; font-size: 12.5px; color: var(--ue-text-2); line-height: 1.35; }
.top-position { background: var(--ue-primary-light); border-radius: 12px; padding: 12px; font-size: 12.5px; font-weight: 800; margin-top: 6px; color: var(--ue-text); }
.top-privacy { font-size: 11.5px; color: var(--ue-text-faint); margin: 12px 0 0; }
.top-row { display: flex; align-items: center; gap: 12px; border: 1px solid var(--ue-border); border-radius: 14px; padding: 10px 12px; margin-bottom: 8px; background: var(--ue-surface); }
.top-row.me { background: var(--ue-primary-light); border: 1.4px solid var(--ue-primary); }
.top-row-rank { width: 40px; padding: 6px 0; border-radius: 10px; background: var(--ue-surface-muted); color: var(--ue-text); text-align: center; font-size: 12.5px; font-weight: 900; flex-shrink: 0; }
.top-row-rank.podium { background: var(--ue-primary-strong); color: #fff; }
.top-row-main { flex: 1; min-width: 0; }
.top-row-name-line { display: flex; align-items: center; gap: 6px; }
.top-row-name { font-size: 13.5px; font-weight: 800; color: var(--ue-text); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.top-row-me { background: var(--ue-primary-strong); color: #fff; border-radius: 20px; padding: 2px 8px; font-size: 10.5px; font-weight: 800; flex-shrink: 0; }
.top-row-reward { font-size: 11px; font-weight: 700; color: var(--ue-success); margin-top: 2px; }
.top-row-amount { font-size: 13.5px; font-weight: 900; white-space: nowrap; color: var(--ue-text); }
.top-sheet { border-radius: 20px 20px 0 0; }
.sheet-retry { border: 0; background: transparent; color: var(--ue-primary-strong); font-weight: 700; padding: 8px 0 0; cursor: pointer; font-size: 14px; }
.spin { width: 20px; height: 20px; border: 2px solid rgba(21,128,61,0.25); border-top-color: var(--ue-primary-strong); border-radius: 50%; animation: ue-spin 0.8s linear infinite; margin: 8px auto; }
.spin.on-dark { border-color: rgba(255,255,255,0.3); border-top-color: #fff; }
@keyframes ue-spin { to { transform: rotate(360deg); } }

/* Barre de progression : largeur par classe (aucun style en ligne) */
.pct-0 { width: 0%; }
.pct-1 { width: 1%; }
.pct-2 { width: 2%; }
.pct-3 { width: 3%; }
.pct-4 { width: 4%; }
.pct-5 { width: 5%; }
.pct-6 { width: 6%; }
.pct-7 { width: 7%; }
.pct-8 { width: 8%; }
.pct-9 { width: 9%; }
.pct-10 { width: 10%; }
.pct-11 { width: 11%; }
.pct-12 { width: 12%; }
.pct-13 { width: 13%; }
.pct-14 { width: 14%; }
.pct-15 { width: 15%; }
.pct-16 { width: 16%; }
.pct-17 { width: 17%; }
.pct-18 { width: 18%; }
.pct-19 { width: 19%; }
.pct-20 { width: 20%; }
.pct-21 { width: 21%; }
.pct-22 { width: 22%; }
.pct-23 { width: 23%; }
.pct-24 { width: 24%; }
.pct-25 { width: 25%; }
.pct-26 { width: 26%; }
.pct-27 { width: 27%; }
.pct-28 { width: 28%; }
.pct-29 { width: 29%; }
.pct-30 { width: 30%; }
.pct-31 { width: 31%; }
.pct-32 { width: 32%; }
.pct-33 { width: 33%; }
.pct-34 { width: 34%; }
.pct-35 { width: 35%; }
.pct-36 { width: 36%; }
.pct-37 { width: 37%; }
.pct-38 { width: 38%; }
.pct-39 { width: 39%; }
.pct-40 { width: 40%; }
.pct-41 { width: 41%; }
.pct-42 { width: 42%; }
.pct-43 { width: 43%; }
.pct-44 { width: 44%; }
.pct-45 { width: 45%; }
.pct-46 { width: 46%; }
.pct-47 { width: 47%; }
.pct-48 { width: 48%; }
.pct-49 { width: 49%; }
.pct-50 { width: 50%; }
.pct-51 { width: 51%; }
.pct-52 { width: 52%; }
.pct-53 { width: 53%; }
.pct-54 { width: 54%; }
.pct-55 { width: 55%; }
.pct-56 { width: 56%; }
.pct-57 { width: 57%; }
.pct-58 { width: 58%; }
.pct-59 { width: 59%; }
.pct-60 { width: 60%; }
.pct-61 { width: 61%; }
.pct-62 { width: 62%; }
.pct-63 { width: 63%; }
.pct-64 { width: 64%; }
.pct-65 { width: 65%; }
.pct-66 { width: 66%; }
.pct-67 { width: 67%; }
.pct-68 { width: 68%; }
.pct-69 { width: 69%; }
.pct-70 { width: 70%; }
.pct-71 { width: 71%; }
.pct-72 { width: 72%; }
.pct-73 { width: 73%; }
.pct-74 { width: 74%; }
.pct-75 { width: 75%; }
.pct-76 { width: 76%; }
.pct-77 { width: 77%; }
.pct-78 { width: 78%; }
.pct-79 { width: 79%; }
.pct-80 { width: 80%; }
.pct-81 { width: 81%; }
.pct-82 { width: 82%; }
.pct-83 { width: 83%; }
.pct-84 { width: 84%; }
.pct-85 { width: 85%; }
.pct-86 { width: 86%; }
.pct-87 { width: 87%; }
.pct-88 { width: 88%; }
.pct-89 { width: 89%; }
.pct-90 { width: 90%; }
.pct-91 { width: 91%; }
.pct-92 { width: 92%; }
.pct-93 { width: 93%; }
.pct-94 { width: 94%; }
.pct-95 { width: 95%; }
.pct-96 { width: 96%; }
.pct-97 { width: 97%; }
.pct-98 { width: 98%; }
.pct-99 { width: 99%; }
.pct-100 { width: 100%; }
.page-gap-top { margin-top: 14px; }
.banner-gap-top { margin-top: 14px; }
.top-close-btn, .reorder-cancel-btn { display: flex; margin: 10px auto 0; color: var(--ue-text-2); }

/* --- BADGE « Agent officiel » (2026-11-25) — profil du client dont le statut clientAgent est actif (affichage seulement). --- */
/* CORRECTION (2026-11-25) : vert Unités Express (celui de la carte « Solde points » et des boutons verts), texte blanc, discret et lisible sur téléphone. */
.agent-badge { display: inline-block; margin-top: 6px; padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg, var(--ue-primary-dark) 0%, var(--ue-primary-strong) 100%); color: #fff; font-size: 10.5px; font-weight: 800; line-height: 1.5; letter-spacing: 0.1px; white-space: nowrap; flex-shrink: 0; }
/* Accueil : le badge se place juste à côté du nom (« Bonjour … »), le nom se tronque en premier sur un petit écran. */
.app-bar-name-row { display: flex; align-items: center; gap: 16px; min-width: 0; }
.app-bar-name-row .agent-badge { margin-top: 0; }

/* --- BOUTON « PREMIUM » de l'accueil (2026-11-25) — 5e bouton de la rangée « Solde points » : OR (dégradé + reflet), couronne, texte brun foncé. Distinct du jaune MTN (#FFCB05) : plus chaud, plus profond. --- */
.points-card--wide5 { margin-left: 8px; margin-right: 8px; padding-left: 10px; padding-right: 10px; }
@media (min-width: 600px) { .points-card--wide5 { margin-left: auto; margin-right: auto; } }
.points-card-actions--5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.points-card-actions--5 .points-action { padding: 8px 1px; }
.points-card-actions--5 .points-action-label { font-size: 10.5px; }
@media (max-width: 340px) { .points-card-actions--5 .points-action-label { font-size: 9.4px; letter-spacing: -0.2px; } }
.points-action--premium { position: relative; overflow: hidden; background: linear-gradient(160deg, #FFE48A 0%, #F0BE32 36%, #D49A1C 68%, #B5801A 100%); color: #4A2C00; box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 1px 4px rgba(122,82,0,0.4); }
.points-action--premium::before { content: ''; position: absolute; top: -45%; left: -35%; width: 75%; height: 210%; background: linear-gradient(105deg, rgba(255,255,255,0.6) 0%, rgba(255,255,255,0) 70%); transform: rotate(10deg); pointer-events: none; }
.points-action--premium .premium-crown { color: #4A2C00; position: relative; }
.points-action--premium .points-action-label { color: #4A2C00; font-weight: 900; position: relative; }
.points-action--premium .premium-sub:empty { display: none; }
.points-action--premium .premium-sub { position: relative; font-size: 8.5px; font-weight: 800; line-height: 1.15; text-align: center; color: #5E3C00; }

/* --- ABONNEMENT PREMIUM (2026-11-25) : badge « Premium » (or) à côté du nom, double badge avec « Agent officiel », page /premium/ --- */
.app-bar-name-row { flex-wrap: wrap; row-gap: 4px; }
.name-badges { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; min-width: 0; }
.name-badges--profile { margin-top: 6px; }
.name-badges .agent-badge { margin-top: 0; }
.premium-badge { display: inline-block; padding: 2px 9px; border-radius: 999px; background: linear-gradient(135deg, #FFE48A 0%, #E8B22E 55%, #C98E1A 100%); color: #4A2C00; font-size: 10.5px; font-weight: 900; line-height: 1.5; letter-spacing: 0.1px; white-space: nowrap; flex-shrink: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,0.6); }
.premium-badge--silver { background: linear-gradient(135deg, #F2F4F6 0%, #C4CBD2 55%, #9AA4AD 100%); color: #26303A; }
.premium-badge--bronze { background: linear-gradient(135deg, #F0C9A4 0%, #CD8A4B 55%, #A5651F 100%); color: #3A1F06; }
.premium-badge--blue { background: linear-gradient(135deg, #9DC3FF 0%, #3B82F6 55%, #1D4ED8 100%); color: #fff; }
.premium-badge--green { background: linear-gradient(135deg, #86E3A6 0%, #22A85B 55%, #15803D 100%); color: #fff; }
.premium-badge--purple { background: linear-gradient(135deg, #D7B8FF 0%, #8B5CF6 55%, #6D28D9 100%); color: #fff; }

.premium-main { padding-top: 14px; }
.premium-hero { text-align: center; padding: 18px 16px 16px; border-radius: 22px; background: linear-gradient(160deg, #FFE48A 0%, #F0BE32 36%, #D49A1C 68%, #B5801A 100%); color: #4A2C00; box-shadow: inset 0 1px 0 rgba(255,255,255,0.7), 0 4px 12px rgba(122,82,0,0.3); }
.premium-hero .premium-crown { width: 44px; height: 44px; color: #4A2C00; }
.premium-hero-title { margin: 4px 0 0; font-size: 26px; font-weight: 900; color: #4A2C00; text-align: center; }
.premium-hero-sub { margin: 4px 0 0; font-size: 13px; font-weight: 800; color: #5E3C00; }
.premium-hero-sub:empty { display: none; }
.premium-status { margin-top: 14px; background: #fff; border: 1px solid var(--ue-border); border-left: 5px solid #D49A1C; border-radius: 16px; padding: 14px 16px; }
.premium-status-title { font-size: 15px; font-weight: 900; color: #7A5200; }
.premium-status p { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: var(--ue-text); }
.premium-status p:empty { display: none; }
.premium-status .premium-remaining { color: var(--ue-primary-strong); font-weight: 800; }
.premium-notice { margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; font-size: 13px; font-weight: 700; line-height: 1.4; }
.premium-notice--pending { background: var(--ue-info-bg); color: var(--ue-info); }
.premium-notice--success { background: #E7F8EC; color: #166534; }
.premium-notice--error { background: #FCEBEC; color: #B42318; }
.premium-notice--disabled { background: #EEF2F0; color: var(--ue-text-2); }
.premium-offer { margin-top: 18px; background: #fff; border: 1px solid var(--ue-border); border-radius: 16px; padding: 14px 16px; }
.premium-offer-line { margin: 6px 0 0; font-size: 22px; font-weight: 900; color: #7A5200; }
.premium-benefits { list-style: none; margin: 10px 0 0; padding: 0; }
.premium-benefits li { position: relative; padding: 5px 0 5px 24px; font-size: 13.5px; font-weight: 600; color: var(--ue-text); line-height: 1.35; }
.premium-benefits li::before { content: '✓'; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ue-primary-light); color: var(--ue-primary-strong); font-size: 12px; font-weight: 900; text-align: center; line-height: 18px; }
.premium-methods-box { padding: 0; }
.premium-methods-title { margin: 20px 0 10px; }
.premium-methods { display: grid; gap: 8px; }
.premium-method { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--ue-border); border-radius: 14px; padding: 10px 12px; cursor: pointer; }
.premium-method input { accent-color: var(--ue-primary-strong); width: 18px; height: 18px; flex-shrink: 0; }
.premium-method-logo { width: 36px; height: 36px; border-radius: 8px; object-fit: cover; flex-shrink: 0; }
.premium-method-name { font-size: 14px; font-weight: 800; color: var(--ue-text); }
.premium-phone { margin-top: 12px; background: #fff; border: 1px solid var(--ue-border); border-radius: 14px; padding: 12px 14px; }
.premium-phone-label { display: block; font-size: 12.5px; font-weight: 800; color: var(--ue-text); margin-bottom: 6px; }
.premium-phone-input { width: 100%; box-sizing: border-box; border: 1px solid var(--ue-border); border-radius: 12px; padding: 12px 14px; font-size: 16px; background: var(--ue-surface-muted); }
.premium-phone-input:focus { outline: none; border-color: var(--ue-primary); background: #fff; }
.premium-phone-msg { margin: 6px 0 0; font-size: 12px; font-weight: 700; color: var(--ue-danger); }
.premium-phone-help { margin: 8px 0 0; font-size: 11.5px; line-height: 1.4; color: var(--ue-text-2); }
.premium-hint { margin: 10px 0 0; font-size: 12.5px; font-weight: 700; color: var(--ue-text-2); }
.premium-pay { margin-top: 16px; background: linear-gradient(160deg, #F0BE32 0%, #B5801A 100%); color: #3A2300; box-shadow: 0 3px 8px rgba(122,82,0,0.3); }
.premium-pay.hidden { display: none; }
.premium-pay:disabled { opacity: 0.55; box-shadow: none; }
.premium-resume { width: 100%; }
.premium-foot { margin: 16px 0 0; font-size: 11.5px; line-height: 1.45; color: var(--ue-text-2); }
.premium-app-note { margin: 14px 0 0; padding: 11px 14px; border-radius: 14px; background: var(--ue-info-bg); color: var(--ue-info); font-size: 12.5px; font-weight: 700; line-height: 1.4; }

/* TOMBOLA PREMIUM (2026-11-27) — compteur de tickets de l'accueil (à côté du badge « Premium ») et page /tombola/. */
.tombola-pill { display: inline-flex; align-items: center; gap: 6px; margin-left: -6px; padding: 3px 11px; border: 2px solid #E8B22E; border-radius: 999px; background: linear-gradient(135deg, #0A3B24 0%, #15633C 100%); color: #fff; font-size: 13.5px; font-weight: 900; line-height: 1.4; text-decoration: none; white-space: nowrap; flex-shrink: 0; }
.tombola-pill-icon { width: 18px; height: 18px; color: #FFD23F; transform: rotate(-28deg); }
.tombola-hero { padding-bottom: 18px; }
.tombola-count { margin: 8px 0 0; font-size: 34px; font-weight: 900; color: #4A2C00; }
.tombola-progress { width: 100%; height: 10px; margin: 10px 0 4px; accent-color: #4A2C00; }
.tombola-message { margin: 6px 0; font-size: 13.5px; font-weight: 900; color: #4A2C00; }
.tombola-title { margin: 20px 0 8px; }
.tombola-box { margin: 8px 0; padding: 12px 13px; border: 1px solid #E3E7EE; border-radius: 16px; background: #fff; font-size: 13px; }
.tombola-box p { margin: 2px 0; }
.tombola-line { display: flex; justify-content: space-between; gap: 10px; }
.tombola-muted { color: #667085; font-size: 12.5px; }
.tombola-strong { font-weight: 800; }
.tombola-ticket { font-weight: 800; color: #0B7A4B; }
.tombola-won { font-weight: 900; color: #0B7A4B; }
.tombola-empty { margin: 4px 0; color: #667085; font-size: 13px; }
