/* =====================================================================
   THÈME « STADE DE NUIT » — pages publiques, pages partenaires, espace partenaire
   Une seule ambiance : bleu nuit profond, bleu 1xBet électrique, jaune réservé au code promo,
   vert réservé à WhatsApp. Cartes en verre lumineux. L'admin (theme-bori) n'est pas concerné.
   Chargé APRÈS les autres feuilles : il fait foi.
   ===================================================================== */
.theme-1x {
  --bordeaux: #1f8bff;          /* bleu 1xBet électrique : actions, accents */
  --bordeaux-deep: #0b63db;
  --bordeaux-ink: #041029;
  --ink: #eaf2ff;               /* texte principal */
  --ink-soft: #c5d5ef;
  --muted: #95aacb;
  --cream: #050d1f;             /* fond de page */
  --paper: rgba(255, 255, 255, .055);
  --line: rgba(140, 180, 255, .16);
  --gold: #ffd21f;              /* éclat : code promo, mots clés */
  --gold-deep: #e0b000;
  --gold-soft: rgba(255, 210, 31, .14);
  --green: #2bd46d;
  --shadow: 0 22px 44px -26px rgba(0, 0, 0, .85);
  --glow: 0 0 0 1px rgba(31, 139, 255, .45), 0 10px 40px -12px rgba(31, 139, 255, .55);
  color-scheme: dark;
}

/* Fond de page : nuit profonde + halos de projecteurs, fixes */
body.theme-1x {
  background:
    radial-gradient(900px 600px at 85% -5%, rgba(31, 139, 255, .16), transparent 60%),
    radial-gradient(700px 500px at -10% 35%, rgba(31, 139, 255, .10), transparent 60%),
    radial-gradient(600px 400px at 110% 75%, rgba(255, 210, 31, .06), transparent 60%),
    #050d1f;
  background-attachment: fixed;
  color: var(--ink);
}
.theme-1x h1, .theme-1x h2, .theme-1x h3 { color: #fff; }
/* liens simples uniquement : les boutons gardent leurs propres couleurs */
.theme-1x a:not([class]) { color: #6fb6ff; }
.theme-1x a:not([class]):hover { color: #a9d3ff; }

/* En-tête en verre sombre */
.theme-1x .site-header { background: rgba(5, 13, 31, .78); border-bottom: 1px solid rgba(140, 180, 255, .12); backdrop-filter: saturate(1.4) blur(12px); }
.theme-1x .nav a, .theme-1x .mobile-nav a { color: var(--ink-soft); }
.theme-1x .nav a:hover, .theme-1x .nav a[aria-current="page"] { color: #fff; }
.theme-1x .brand-badge img { height: 28px; }

/* Sections : même famille de nuit, jamais de bloc pâle */
.theme-1x .section.alt {
  background: radial-gradient(900px 320px at 50% 0, rgba(31, 139, 255, .14), transparent 70%), rgba(10, 24, 54, .55);
  border-top: 1px solid rgba(140, 180, 255, .1); border-bottom: 1px solid rgba(140, 180, 255, .1);
}
.theme-1x .section.dark, .theme-1x .site-footer { background: #030914; }
.theme-1x .section-head p, .theme-1x .muted { color: var(--muted); }

/* Kicker : bleu vif + filets dorés lumineux */
.theme-1x .kicker { color: #6fb6ff; }
.theme-1x .kicker::before, .theme-1x .kicker::after { background: linear-gradient(90deg, #ffd21f, #ffb800); box-shadow: 0 0 10px rgba(255, 210, 31, .6); }

/* Cartes en verre lumineux (une seule recette partout) */
.theme-1x .card, .theme-1x .h-mini-steps li, .theme-1x .pp2-steps li, .theme-1x .pp2-faq details, .theme-1x .panel,
.theme-1x .kpi, .theme-1x .onboard li, .theme-1x .empty-state {
  background: linear-gradient(180deg, rgba(255, 255, 255, .075), rgba(255, 255, 255, .03));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.theme-1x .card:hover, .theme-1x .h-mini-steps li:hover, .theme-1x .pp2-steps li:hover, .theme-1x .kpi:hover {
  border-color: rgba(31, 139, 255, .55); box-shadow: var(--glow);
}
.theme-1x .empty-state { border-style: dashed; color: var(--muted); }
.theme-1x .empty-state strong { color: #fff; }

/* Boutons : bleu électrique lumineux, jaune pour l'inscription, vert pour WhatsApp */
.theme-1x .btn-primary { background: linear-gradient(180deg, #3a9bff, #1173ea); color: #fff; box-shadow: 0 10px 28px -10px rgba(31, 139, 255, .85); }
.theme-1x .btn-primary:hover { background: linear-gradient(180deg, #55aaff, #1f80f0); color: #fff; }
.theme-1x .btn-gold { background: linear-gradient(180deg, #ffe45c, #ffc400); color: #0a1a33; box-shadow: 0 10px 28px -10px rgba(255, 200, 0, .75); }
.theme-1x .btn-gold:hover { color: #0a1a33; filter: brightness(1.06); }
.theme-1x .btn-whatsapp { background: linear-gradient(180deg, #33e07a, #1fae58); box-shadow: 0 10px 28px -10px rgba(43, 212, 109, .7); }
.theme-1x .btn-ghost { color: #fff; border-color: rgba(140, 180, 255, .35); background: rgba(255, 255, 255, .04); }
.theme-1x .btn-ghost:hover { color: #fff; border-color: #6fb6ff; background: rgba(31, 139, 255, .12); }

/* Ticket du code promo : l'élément le plus éclatant de la page */
/* Ticket du code promo : verre nuit + liseré or, code en jaune 1xBet (même langage que la pastille de l'accueil) */
.theme-1x .ticket { background: linear-gradient(160deg, rgba(16, 36, 80, .95), rgba(6, 15, 36, .95)); border-color: rgba(255, 210, 31, .8);
  box-shadow: 0 0 0 1px rgba(255, 210, 31, .25), 0 18px 50px -18px rgba(0, 0, 0, .8), 0 0 34px -10px rgba(255, 210, 31, .4); }
.theme-1x .ticket .label { color: #9fc2f5; }
.theme-1x .ticket .code { color: #ffd21f; text-shadow: 0 0 20px rgba(255, 210, 31, .45); }
.theme-1x .ticket .copy { border-color: rgba(255, 210, 31, .45); }
.theme-1x .ticket::before, .theme-1x .ticket::after { background: #050d1f; border-color: rgba(255, 210, 31, .8); }
/* Boutons secondaires sur fond sombre : clairs et discrets, l'action principale reste le bleu 1xBet */
.theme-1x .btn-ghost.on-dark, .theme-1x .ticket .btn-ghost { color: #fff; border-color: rgba(190, 215, 255, .45); background: rgba(255, 255, 255, .06); }
.theme-1x .btn-ghost.on-dark:hover, .theme-1x .ticket .btn-ghost:hover { background: rgba(255, 255, 255, .14); color: #fff; }

/* Formulaires sur fond sombre */
.theme-1x input[type=text], .theme-1x input[type=email], .theme-1x input[type=password], .theme-1x input[type=url],
.theme-1x input[type=search], .theme-1x input[type=number], .theme-1x input[type=date], .theme-1x select, .theme-1x textarea {
  background: rgba(255, 255, 255, .06); color: #fff; border-color: rgba(140, 180, 255, .25);
}
.theme-1x select option { background: #0a1836; color: #fff; }
.theme-1x input::placeholder, .theme-1x textarea::placeholder { color: #7f93b5; }
.theme-1x .input-affix span { background: rgba(255, 255, 255, .08); color: var(--muted); border-color: rgba(140, 180, 255, .25); }
.theme-1x .copy-row { background: rgba(255, 255, 255, .06); border-color: var(--line); }
.theme-1x .copy-row code { color: #fff; }

/* Badges et pastilles */
.theme-1x .badge { background: var(--gold-soft); color: var(--gold); }
.theme-1x .avatar { box-shadow: 0 0 0 3px #050d1f, 0 0 0 5px rgba(31, 139, 255, .6); }

/* Accueil : réseau, carrousel, étapes, frise */
.theme-1x .h-mini-steps b { background: linear-gradient(180deg, #3a9bff, #1173ea); }
.theme-1x .h-links line { stroke: #4ea3ff; }
.theme-1x .h-nodes circle { fill: #0b1f45; stroke: #4ea3ff; }
@keyframes node-night { 50% { transform: scale(1.18); fill: #1f8bff; } }
.theme-1x .h-nodes circle { animation-name: node-night; }
.theme-1x .h-core rect { fill: #ffd21f; stroke: #fff6c8; }
.theme-1x .h-core text { fill: #0a1a33; }
.theme-1x .h-carousel, .theme-1x .visual { background: #0a1836; }
.theme-1x .h-timeline b { box-shadow: 0 0 0 6px #050d1f, 0 0 24px rgba(31, 139, 255, .7); background: linear-gradient(180deg, #3a9bff, #1173ea); }
.theme-1x .h-timeline li.final b { background: linear-gradient(180deg, #33e07a, #1fae58); box-shadow: 0 0 0 6px #050d1f, 0 0 24px rgba(43, 212, 109, .7); }
.theme-1x .h-timeline::before { background: linear-gradient(90deg, #1f8bff, #ffd21f); box-shadow: 0 0 12px rgba(31, 139, 255, .6); }
.theme-1x .h-timeline span { color: var(--muted); }
.theme-1x .h-stats div { border-color: rgba(140, 180, 255, .2); }
.theme-1x .h-stats dd { color: #fff; text-shadow: 0 0 18px rgba(31, 139, 255, .6); }

/* Page partenaire */
.theme-1x .pp2-steps em { background: var(--gold-soft); color: var(--gold); }
.theme-1x .pp2-steps b, .theme-1x .pp2-faq summary::after { background: linear-gradient(180deg, #3a9bff, #1173ea); }
.theme-1x .pp2-faq details p { color: var(--muted); }
.theme-1x .pp2-gallery__item { border: 1px solid var(--line); }

/* Partage : bouton « copier » lisible sur fond sombre */
.theme-1x .share-btn--copy { background: rgba(255, 255, 255, .1); border: 1px solid rgba(140, 180, 255, .3); }
.theme-1x .share-title { color: var(--muted); }

/* Espace partenaire (même thème) */
.theme-1x .sidebar { background: linear-gradient(180deg, #08163a, #040b1d); border-right: 1px solid var(--line); }
.theme-1x .side-nav a[aria-current="page"] { background: linear-gradient(180deg, #3a9bff, #1173ea); }
.theme-1x .kpi .v { color: #fff; }
.theme-1x .kpi::after { background: linear-gradient(90deg, #1f8bff, #ffd21f); }
.theme-1x .table th { color: var(--muted); }
.theme-1x .table td { border-bottom-color: rgba(140, 180, 255, .1); }
.theme-1x .spark .bar { fill: #1f8bff; }
.theme-1x .spark .bar.zero { fill: rgba(140, 180, 255, .2); }
.theme-1x .onboard .n { background: rgba(255, 255, 255, .1); color: var(--ink-soft); }
.theme-1x .list-plain li, .theme-1x .notif { border-bottom-color: rgba(140, 180, 255, .1); }
.theme-1x .flash-info { background: rgba(31, 139, 255, .12); border-color: rgba(31, 139, 255, .35); color: #cfe5ff; }
.theme-1x .flash-success { background: rgba(43, 212, 109, .12); border-color: rgba(43, 212, 109, .35); color: #c8f5d9; }
.theme-1x .flash-error { background: rgba(255, 90, 90, .12); border-color: rgba(255, 90, 90, .35); color: #ffd3d3; }
.theme-1x .status-banner.pending { background: rgba(255, 210, 31, .1); border-color: rgba(255, 210, 31, .35); color: #ffe89a; }
.theme-1x .field .hint { color: var(--muted); }
.theme-1x .field label { color: var(--ink-soft); }

/* ===== Haut de page de l'accueil : visuel dévoilé, titre lumineux, bandeau défilant ===== */
.theme-1x .h-hero { background: #050d1f; }
.theme-1x .h-hero__bg::before { opacity: .9; filter: saturate(1.4) contrast(1.06); background-position: 72% 30%; }
.theme-1x .h-hero__bg::after {
  background:
    linear-gradient(90deg, #050d1f 0%, rgba(5, 13, 31, .9) 36%, rgba(5, 13, 31, .3) 68%, rgba(5, 13, 31, .55) 100%),
    linear-gradient(0deg, #050d1f 0%, transparent 32%),
    radial-gradient(600px 380px at 78% 40%, rgba(31, 139, 255, .25), transparent 70%);
}
@media (max-width: 959px) {
  /* mobile / tablette : le visuel s'affiche en haut, net, puis se fond dans la nuit */
  .theme-1x .h-hero__bg::before { inset: 0 0 auto 0; height: 360px; background-position: 70% 20%; animation: none; transform: none; }
  .theme-1x .h-hero__bg::after {
    background: linear-gradient(180deg, rgba(5, 13, 31, .15) 0%, rgba(5, 13, 31, .55) 150px, #050d1f 360px, #050d1f 100%);
  }
  .theme-1x .h-hero__inner { padding-top: 170px; }
}
.theme-1x .h-hero h1 { text-shadow: 0 4px 30px rgba(0, 0, 0, .55); }
.theme-1x .h-shimmer { filter: drop-shadow(0 0 22px rgba(255, 210, 31, .35)); }
.theme-1x .h-lead { color: #d3e2fb; }
.btn-ico { width: 20px; height: 20px; fill: currentColor; flex: none; }
.theme-1x .btn-whatsapp { color: #fff; font-size: 1.02rem; }

.h-ticker { position: relative; z-index: 3; overflow: hidden; border-top: 1px solid rgba(140, 180, 255, .18); border-bottom: 1px solid rgba(140, 180, 255, .18);
  background: linear-gradient(90deg, rgba(31, 139, 255, .16), rgba(255, 210, 31, .1), rgba(31, 139, 255, .16)); padding: .75rem 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.h-ticker__track { display: flex; width: max-content; gap: 2.4rem; animation: marquee 30s linear infinite; }
.h-ticker__track span { white-space: nowrap; font-weight: 800; font-size: .92rem; color: #eaf2ff; letter-spacing: .01em; }
@media (prefers-reduced-motion: reduce) { .h-ticker__track { animation: none; } }

/* Pied de page */
.theme-1x .site-footer { color: var(--muted); border-top: 1px solid rgba(140, 180, 255, .1); }
.theme-1x .site-footer a { color: #cfe3ff; }

/* ===== Cartes de pronostics (pages partenaires et page Pronostics) ===== */
.prono-list { display: grid; gap: .9rem; margin: 1rem 0 .8rem; }
.prono-list--wide { grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.prono-card { position: relative; display: grid; gap: .65rem; padding: 1rem 1.1rem; border-radius: 18px;
  background: linear-gradient(160deg, rgba(20, 44, 96, .8), rgba(8, 20, 46, .92)); border: 1px solid rgba(140, 180, 255, .22);
  transition: transform .3s ease, border-color .3s ease; }
.prono-card:hover { transform: translateY(-3px); border-color: rgba(255, 210, 31, .55); }
.prono-card__head { display: flex; justify-content: space-between; gap: .6rem; font-size: .74rem; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; color: #9fc2f5; }
.prono-card__time { color: #d3e2fb; white-space: nowrap; }
.prono-card__teams { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: .5rem; }
.prono-card__team { display: flex; align-items: center; gap: .45rem; font-weight: 800; color: #fff; min-width: 0; overflow-wrap: anywhere; }
.prono-card__team:last-child { justify-content: flex-end; text-align: right; flex-direction: row-reverse; }
.prono-card__team img { width: 28px; height: 28px; object-fit: contain; flex: none; }
.prono-card__vs { font-size: .7rem; font-weight: 900; color: #9fc2f5; }
.prono-card__pick { display: grid; gap: .1rem; padding: .55rem .75rem; border-radius: 12px; background: rgba(255, 210, 31, .08);
  border: 1px dashed rgba(255, 210, 31, .5); }
.prono-card__pick small { font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 800; color: #9fc2f5; }
.prono-card__pick strong { color: #ffd21f; font-family: var(--display); font-size: 1.05rem; }
.prono-card__bar { height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.prono-card__fill { display: block; height: 100%; width: 0; border-radius: inherit;
  background: linear-gradient(90deg, #1f8bff, #ffd21f); transition: width 1.2s cubic-bezier(.2, .7, .2, 1); }
.prono-card__meta { display: flex; flex-wrap: wrap; gap: .3rem 1rem; margin: 0; font-size: .82rem; color: #c9dbf7; }
.prono-card__meta b { color: #fff; }
.prono-record { margin: .4rem 0 1rem; color: #d3e2fb; }
.prono-record strong { color: #2bd46d; }

/* ===== Tableau « Pronostics Football » (pages partenaires et page Pronostics) ===== */
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.pb { display: grid; gap: 1rem; }
.pb-hero { position: relative; isolation: isolate; overflow: hidden; display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1.2rem; padding: clamp(1.2rem, 3.5vw, 2rem); border-radius: 22px; min-height: 220px;
  background: #06122b; border: 1px solid rgba(140, 180, 255, .22); }
.pb-hero__bg { position: absolute; inset: 0; z-index: -2; }
.pb-hero__bg .code-media { height: 100%; }
.pb-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 13, 31, .96) 0%, rgba(5, 13, 31, .82) 45%, rgba(5, 13, 31, .25) 100%); }
.pb-hero__text { display: grid; gap: .55rem; justify-items: start; max-width: 620px; min-width: 0; }
.pb-hero__tag { padding: .2rem .7rem; border-radius: 8px; background: linear-gradient(180deg, #ffe45c, #ffc400); color: #2b1a00;
  font-weight: 900; font-size: .8rem; letter-spacing: .04em; }
.pb-hero__title { margin: 0; color: #fff; font-size: clamp(1.9rem, 5.5vw, 3rem); line-height: 1.05; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.pb-hero__points { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .3rem 1rem; color: #d3e2fb; font-weight: 700; }
.pb-hero__points li::before { content: "\2713  "; color: #ffd21f; }
.pb-hero__code { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .7rem; margin-top: .3rem; padding: .55rem .7rem;
  border-radius: 14px; background: rgba(5, 13, 31, .7); border: 1.5px dashed rgba(255, 210, 31, .7); backdrop-filter: blur(6px); }
.pb-hero__code-label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #9fc2f5; }
.pb-hero__code-value { font-family: var(--display); font-size: 1.5rem; letter-spacing: .06em; color: #ffd21f;
  text-shadow: 0 0 18px rgba(255, 210, 31, .5); }
.pb-laurel { position: relative; display: grid; justify-items: center; gap: .1rem; padding: .8rem 1.4rem; text-align: center; color: #fff;
  border-radius: 999px; background: radial-gradient(circle, rgba(255, 210, 31, .16), transparent 70%); }
.pb-laurel small { color: #d3e2fb; font-weight: 700; line-height: 1.25; }
.pb-laurel__value { font-family: var(--display); font-size: clamp(2.2rem, 6vw, 3rem); color: #ffd21f; line-height: 1;
  text-shadow: 0 0 22px rgba(255, 210, 31, .5); }
.pb-laurel i { font-style: normal; color: #ffd21f; letter-spacing: .2em; font-size: .8rem; }

.pb-grid { display: grid; gap: 1rem; }
@media (min-width: 1000px) { .pb-grid { grid-template-columns: minmax(0, 1.8fr) minmax(0, 1fr); align-items: start; } }
.pb-main, .pb-card { border-radius: 20px; background: linear-gradient(160deg, rgba(16, 36, 80, .85), rgba(6, 15, 36, .92));
  border: 1px solid rgba(140, 180, 255, .2); }
.pb-main { padding: 1rem; min-width: 0; }
.pb-tabs { display: flex; gap: .5rem; margin-bottom: .8rem; }
.pb-tab { padding: .55rem 1rem; border-radius: 12px; font-weight: 800; color: #d3e2fb; background: rgba(255, 255, 255, .05); }
.pb-tab.is-active { color: #fff; background: linear-gradient(180deg, #3a9bff, #1173ea); box-shadow: 0 8px 20px -10px rgba(31, 139, 255, .9); }
.pb-filters { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; margin-bottom: .8rem; }
.pb-select select { min-height: 40px; padding: .4rem 2rem .4rem .8rem; border-radius: 10px; }
.pb-chips { display: flex; flex-wrap: wrap; align-items: center; gap: .35rem; }
.pb-chips__label { font-weight: 800; color: #d3e2fb; font-size: .9rem; margin-right: .2rem; }
.pb-chip { min-height: 36px; padding: .3rem .8rem; border-radius: 10px; border: 1px solid rgba(140, 180, 255, .3); cursor: pointer;
  background: rgba(255, 255, 255, .05); color: #d3e2fb; font-weight: 800; font-size: .85rem; }
.pb-chip.is-active { background: linear-gradient(180deg, #3a9bff, #1173ea); color: #fff; border-color: transparent; }

.pb-table { display: grid; }
.pb-row { display: grid; align-items: center; gap: .3rem .8rem; padding: .7rem .4rem; border-top: 1px solid rgba(140, 180, 255, .12);
  grid-template-columns: 56px minmax(0, 1fr) auto; grid-template-areas: "time match match" "time pick prob" "league league stars"; }
.pb-row[hidden] { display: none; }
.pb-row--head { display: none; }
.pb-time { grid-area: time; display: grid; color: #fff; }
.pb-time small { color: #9fc2f5; font-size: .72rem; }
.pb-league { grid-area: league; display: flex; align-items: center; gap: .4rem; color: #9fc2f5; font-size: .8rem; min-width: 0; }
.pb-league img, .pb-team img { object-fit: contain; flex: none; }
.pb-match { grid-area: match; display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; min-width: 0; }
.pb-team { display: inline-flex; align-items: center; gap: .35rem; color: #fff; min-width: 0; overflow-wrap: anywhere; }
.pb-vs { color: #9fc2f5; font-size: .75rem; }
.pb-pick { grid-area: pick; min-width: 0; }
.pb-pill { display: inline-block; padding: .3rem .65rem; border-radius: 10px; font-weight: 800; font-size: .84rem; line-height: 1.3;
  color: #c8f5d9; background: rgba(43, 212, 109, .14); border: 1px solid rgba(43, 212, 109, .4); }
.pb-prob { grid-area: prob; display: grid; gap: .25rem; justify-items: end; min-width: 64px; }
.pb-prob b { color: #fff; font-size: 1.05rem; }
.pb-bar { display: block; width: 64px; height: 5px; border-radius: 999px; background: rgba(255, 255, 255, .1); overflow: hidden; }
.pb-stars { grid-area: stars; justify-self: end; letter-spacing: .05em; }
.pb-stars i { font-style: normal; color: rgba(255, 255, 255, .2); }
.pb-stars i.on { color: #ffd21f; }
@media (min-width: 760px) {
  .pb-row { grid-template-columns: 54px minmax(96px, .8fr) minmax(0, 1.8fr) minmax(0, 1.5fr) 74px 86px;
    grid-template-areas: "time league match pick prob stars"; padding: .75rem .6rem; }
  .pb-row--head { display: grid; border-top: 0; border-radius: 12px; font-size: .74rem; font-weight: 800; letter-spacing: .08em;
    text-transform: uppercase; color: #fff; background: linear-gradient(180deg, rgba(31, 139, 255, .35), rgba(17, 115, 234, .25)); }
  .pb-row--head span:nth-child(1) { grid-area: time; } .pb-row--head span:nth-child(2) { grid-area: league; }
  .pb-row--head span:nth-child(3) { grid-area: match; } .pb-row--head span:nth-child(4) { grid-area: pick; }
  .pb-row--head span:nth-child(5) { grid-area: prob; justify-self: end; } .pb-row--head span:nth-child(6) { grid-area: stars; justify-self: end; }
  .pb-row:not(.pb-row--head):hover { background: rgba(31, 139, 255, .07); }
}
.pb-empty-filter { padding: 1rem; color: #9fc2f5; text-align: center; }
.pb-warning { margin: .9rem 0 0; padding: .6rem .8rem; border-radius: 10px; font-size: .84rem; color: #ffd3d3;
  background: rgba(255, 90, 90, .1); border: 1px solid rgba(255, 90, 90, .25); }

.pb-side { display: grid; gap: 1rem; min-width: 0; }
.pb-card { padding: 1rem; display: grid; gap: .7rem; }
.pb-card__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .5rem; }
.pb-card__head h3 { margin: 0; color: #fff; font-size: 1.1rem; }
.pb-odds { padding: .25rem .65rem; border-radius: 8px; font-weight: 800; font-size: .85rem; color: #2b1a00;
  background: linear-gradient(180deg, #ffe45c, #ffc400); }
.pb-coupon { border-color: rgba(255, 210, 31, .5); box-shadow: 0 0 34px -14px rgba(255, 210, 31, .5); }
.pb-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.pb-list li { display: flex; gap: .6rem; align-items: flex-start; padding-bottom: .5rem; border-bottom: 1px solid rgba(140, 180, 255, .1); }
.pb-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.pb-list b { color: #fff; display: block; }
.pb-list small { color: #9fc2f5; }
.pb-ok, .pb-ko { flex: none; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-weight: 900;
  font-size: .8rem; color: #fff; background: #1fae58; }
.pb-ko { background: #e2453c; }
.pb-note { margin: 0; font-size: .74rem; color: rgba(211, 226, 251, .6); }
.pb-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .4rem; text-align: center; }
.pb-kpis div { display: grid; gap: .1rem; padding: .5rem .2rem; border-radius: 12px; background: rgba(255, 255, 255, .04); }
.pb-kpis b { color: #fff; font-family: var(--display); font-size: 1.25rem; }
.pb-kpis small { color: #9fc2f5; font-size: .7rem; }
.pb-kpi--won b { color: #2bd46d; }
.pb-kpi--lost b { color: #ff7a72; }
@media (max-width: 420px) { .pb-kpis { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ===== Navigation rapide de la page partenaire (collante sous l'en-tête) ===== */
.pp2-nav { position: sticky; top: var(--hdr, 64px); z-index: 19; background: rgba(5, 13, 31, .9); backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(140, 180, 255, .14); }
.pp2-nav__inner { display: flex; gap: .45rem; overflow-x: auto; padding-top: .55rem; padding-bottom: .55rem;
  scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent); mask-image: linear-gradient(90deg, #000 92%, transparent); }
.pp2-nav__inner::-webkit-scrollbar { display: none; }
.pp2-nav .pp2-nav__link { flex: none; padding: .42rem .85rem; border-radius: 999px; font-weight: 800; font-size: .86rem; text-decoration: none;
  color: #d3e2fb; background: rgba(255, 255, 255, .06); border: 1px solid rgba(140, 180, 255, .22); white-space: nowrap;
  transition: background .2s ease, color .2s ease, border-color .2s ease; }
.pp2-nav .pp2-nav__link:hover, .pp2-nav .pp2-nav__link.is-current { color: #fff; background: linear-gradient(180deg, #3a9bff, #1173ea); border-color: transparent; }
.pp [id] { scroll-margin-top: calc(var(--hdr, 64px) + 78px); }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.pp2-to-pronos { display: block; text-align: center; padding: .55rem; border-radius: 12px; font-weight: 800; text-decoration: none;
  color: #ffd21f; background: rgba(255, 210, 31, .08); border: 1px solid rgba(255, 210, 31, .35); }
.pp2-to-pronos:hover { background: rgba(255, 210, 31, .16); color: #ffe57a; }
.pp2-pronos { padding-top: clamp(28px, 5vw, 56px); }
/* Mobile : 5 premiers pronostics, puis « Voir tous » (comme la maquette) */
.pb-more-btn { display: none; width: 100%; margin-top: .6rem; min-height: 46px; border-radius: 12px; cursor: pointer; font-weight: 800;
  color: #ffd21f; background: transparent; border: 1.5px solid rgba(255, 210, 31, .55); }
@media (max-width: 759px) {
  .pb:not(.is-expanded) .pb-row--more { display: none; }
  .pb:not(.is-expanded) .pb-more-btn { display: block; }
}
.pp2-nav__inner { position: relative; }
/* ===== Annuaire « Nos partenaires » : bandeau visuel ===== */
.dir-hero { position: relative; isolation: isolate; overflow: hidden; border-radius: 22px; margin-bottom: 1.4rem;
  padding: clamp(1.4rem, 4vw, 2.6rem); min-height: 220px; display: grid; align-content: end;
  border: 1px solid rgba(140, 180, 255, .22); }
.dir-hero::before { content: ""; position: absolute; inset: 0; z-index: -2;
  background: url("../img/home/programme-2.webp") center 30% / cover no-repeat; }
.dir-hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 13, 31, .95) 0%, rgba(5, 13, 31, .7) 50%, rgba(5, 13, 31, .2) 100%),
              linear-gradient(0deg, rgba(5, 13, 31, .85), transparent 60%); }
.dir-hero h1 { color: #fff; margin: .3rem 0 .4rem; text-shadow: 0 4px 24px rgba(0, 0, 0, .6); }
.dir-hero p { color: #d3e2fb; max-width: 40em; margin: 0; }

/* ===== Coupons premium (accès vérifié) ===== */
.pb-pill--lock { color: #1a1300 !important; background: linear-gradient(180deg, #ffe066, #ffbf00) !important; border-color: transparent !important;
  text-decoration: none; font-weight: 800; white-space: nowrap; }
.pb-pill--premium { box-shadow: 0 0 0 1.5px rgba(255, 210, 31, .7); }
.pb-bar--lock { background: repeating-linear-gradient(45deg, rgba(255, 210, 31, .35) 0 6px, rgba(255, 210, 31, .12) 6px 12px); }
.pb-coupon--locked { position: relative; border-color: rgba(255, 210, 31, .45) !important; }
.pb-lock-note { margin: 0 0 .5rem; font-size: .85rem; color: #ffe39a; }
.pb-list--locked .pb-lock { font-size: .9rem; }
.pb-blur { filter: blur(5px); user-select: none; }
.pb-unlocked { margin: 0 0 .4rem; font-size: .82rem; font-weight: 800; color: #2ee66f; }

/* ===== Fluidité du défilement (mobile) =====
   1. Pas de flou d'arrière-plan (backdrop-filter) sur les pages publiques : recalculé à chaque image pendant le
      défilement sur les éléments collants -> saccades. Fonds rendus plus opaques à la place.
   2. Animations en boucle mises en pause hors de l'écran (classe posée par bori.js).
   3. Halo flouté animé de la carte du code : figé (coûteux à repeindre). */
.theme-1x *, .theme-1x *::before, .theme-1x *::after { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
.theme-1x .site-header { background: rgba(5, 13, 31, .97); }
.pp2-nav { background: rgba(5, 13, 31, .98); }
.pp2-sticky { background: rgba(7, 26, 61, .99) !important; }
.ph__kicker { background: rgba(0, 12, 51, .82); }
.ph__star { background: linear-gradient(135deg, rgba(20, 70, 150, .92), rgba(8, 22, 55, .95)); }
.ph__coupon { background: rgba(8, 22, 55, .92); }
.ph__code { background: rgba(0, 12, 51, .9); }
.pp2-code__glow { animation: none !important; }
.anim-off, .anim-off::before, .anim-off::after, .anim-off *, .anim-off *::before, .anim-off *::after { animation-play-state: paused !important; }
/* plus d'effet d'apparition : le contenu est visible tout de suite */
[data-reveal="pending"], [data-reveal="shown"] { opacity: 1; transform: none; transition: none; }

/* ===== En-tête public mobile : barre compacte + menu hamburger ===== */
.show-sm { display: none; }
.pub-burger { display: none; }
@media (max-width: 899px) {
  .theme-1x .site-header .bar { min-height: 60px; gap: .6rem; }
  .theme-1x .site-header .brand img, .theme-1x .site-header .brand-badge { max-height: 40px; width: auto; }
  .header-cta .btn { min-height: 40px; padding: .4rem .8rem; font-size: .82rem; gap: .35rem; }
  .header-cta .btn .btn-ico { width: 16px; height: 16px; }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .pub-burger { display: inline-grid; place-content: center; gap: 5px; width: 42px; height: 42px; flex: none; border-radius: 12px;
    background: rgba(255, 255, 255, .08); border: 1px solid rgba(140, 180, 255, .3); cursor: pointer; }
  .pub-burger span { display: block; width: 20px; height: 2.5px; border-radius: 2px; background: #fff; transition: transform .25s ease, opacity .2s ease; }
  .menu-open .pub-burger span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .menu-open .pub-burger span:nth-child(2) { opacity: 0; }
  .menu-open .pub-burger span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  .theme-1x .mobile-nav { display: grid; gap: 0; padding: 0 16px; max-height: 0; overflow: hidden; transition: max-height .3s ease, padding .3s ease; }
  .menu-open .mobile-nav { max-height: 320px; padding: 4px 16px 14px; }
  .theme-1x .mobile-nav a { display: block; padding: .8rem .2rem; font-size: 1rem; color: #fff; border-bottom: 1px solid rgba(140, 180, 255, .14); }
  .theme-1x .mobile-nav a:last-child { border-bottom: 0; }
}
@media (max-width: 360px) { .header-cta .btn .show-sm { display: none; } }

/* ===== Espace partenaire ===== */
.espace .es-main { padding: 1.2rem 0 4rem; min-height: 70vh; }
.es-tabs { display: flex; gap: .4rem; overflow-x: auto; padding-bottom: .6rem; scrollbar-width: none; }
.es-tabs a { flex: none; padding: .45rem .9rem; border-radius: 999px; font-weight: 800; font-size: .88rem; color: #d3e2fb; text-decoration: none;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(140, 180, 255, .22); }
.es-tabs a[aria-current="page"] { color: #fff; background: linear-gradient(180deg, #3a9bff, #1173ea); border-color: transparent; }
.es-auth { max-width: 460px; margin: 6vh auto 0; padding: clamp(1.2rem, 5vw, 2rem); border-radius: 24px; color: #fff;
  background: linear-gradient(160deg, rgba(31, 95, 209, .35), rgba(6, 21, 53, .95) 55%); border: 1px solid rgba(140, 180, 255, .3); }
.es-auth h1, .es-hello h1 { color: #fff; margin: .3rem 0 .4rem; }
.es-muted { color: #b9cdf2; }
.es-form { display: grid; gap: .3rem; margin-top: 1rem; }
.espace .field label { color: #fff; }
.espace .field input, .espace .field textarea, .espace .field select { background: rgba(0, 12, 51, .7); color: #fff; border: 1.5px solid rgba(140, 180, 255, .35); }
.espace .field input[type="file"] { padding: .55rem; }
.es-hello { display: flex; gap: 1rem; align-items: center; margin: .6rem 0 1rem; }
.es-avatar { flex: none; width: 64px; height: 64px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; font-weight: 900;
  color: #fff; background: #1f8bff; border: 3px solid rgba(255, 255, 255, .7); }
.es-avatar img { width: 100%; height: 100%; object-fit: cover; }
.es-avatar--lg { width: 96px; height: 96px; font-size: 1.5rem; }
.es-code { color: #ffd21f; letter-spacing: .04em; }
.es-card { margin-bottom: 1rem; padding: clamp(1rem, 4vw, 1.5rem); border-radius: 20px; color: #fff; background: rgba(10, 26, 60, .75);
  border: 1px solid rgba(140, 180, 255, .22); }
.es-card h2 { color: #fff; font-size: 1.15rem; margin: 0 0 .7rem; }
.es-url { font-family: ui-monospace, monospace; font-size: .9rem; word-break: break-all; color: #ffd21f; margin: 0 0 .8rem; }
.es-actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.es-kpis { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: .7rem; margin-bottom: 1rem; }
.es-kpi { display: grid; gap: .15rem; padding: 1rem; border-radius: 18px; color: #fff; background: rgba(10, 26, 60, .75); border: 1px solid rgba(140, 180, 255, .22); }
.es-kpi small { color: #b9cdf2; font-weight: 800; font-size: .74rem; text-transform: uppercase; letter-spacing: .06em; }
.es-kpi b { font-family: var(--display); font-size: 2rem; }
.es-kpi span { color: #b9cdf2; font-size: .8rem; }
.es-kpi--gold { border-color: rgba(255, 210, 31, .55); } .es-kpi--gold b { color: #ffd21f; }
.es-tips ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .4rem; color: #d6e4ff; }
.es-profile { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.es-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: .6rem; margin-bottom: .8rem; }
.es-pick { position: relative; display: grid; gap: .3rem; cursor: pointer; font-size: .8rem; font-weight: 700; color: #d6e4ff; }
.es-pick input { position: absolute; opacity: 0; }
.es-pick img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 12px; border: 3px solid transparent; }
.es-pick input:checked + img { border-color: #ffd21f; box-shadow: 0 0 0 3px rgba(255, 210, 31, .35); }
.es-pick input:focus-visible + img { outline: 2px solid #fff; }
.es-accents { display: flex; flex-wrap: wrap; gap: .5rem; }
.es-accent { display: inline-flex; align-items: center; gap: .45rem; padding: .45rem .8rem; border-radius: 999px; cursor: pointer; font-weight: 800;
  font-size: .88rem; color: #fff; background: rgba(255, 255, 255, .06); border: 1.5px solid rgba(140, 180, 255, .25); }
.es-accent input { position: absolute; opacity: 0; }
.es-accent:has(input:checked) { border-color: #ffd21f; background: rgba(255, 210, 31, .12); }
.es-accent__dot { width: 18px; height: 18px; border-radius: 50%; }
.es-accent--blue .es-accent__dot { background: #1f8bff; } .es-accent--gold .es-accent__dot { background: #ffc400; }
.es-accent--green .es-accent__dot { background: #22c55e; } .es-accent--red .es-accent__dot { background: #ef4444; }
.es-accent--violet .es-accent__dot { background: #8b5cf6; }
.es-save { position: sticky; bottom: 0; padding: .8rem 0 calc(.8rem + env(safe-area-inset-bottom));
  background: linear-gradient(0deg, #050d1f 60%, rgba(5, 13, 31, 0)); }
.espace .field input:not([type="file"]):not([type="radio"]):not([type="checkbox"]), .espace .field textarea {
  width: 100%; min-height: 48px; border-radius: 12px; padding: .6rem .85rem; font-size: 1rem; }
.espace .field input:focus, .espace .field textarea:focus { outline: 2px solid #ffd21f; outline-offset: 1px; }
.espace .field small { color: #b9cdf2; font-weight: 600; }

/* ===== Boutons sur téléphone : une seule ligne, taille homogène ===== */
@media (max-width: 599px) {
  .theme-1x main .btn { min-height: 48px; padding: .62rem 1.05rem; font-size: .95rem; line-height: 1.2;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .theme-1x main .btn-sm { min-height: 40px; padding: .45rem .85rem; font-size: .86rem; }
  .theme-1x .ph__go, .theme-1x .pp2-cta, .theme-1x .pp-flyer__go, .theme-1x .h-cta .btn { min-height: 50px; font-size: 1rem; }
  .theme-1x .pb-more-btn { min-height: 44px; font-size: .92rem; }
}
@media (max-width: 599px) {
  /* boutons à halo animé : libellé court, le halo doit pouvoir déborder */
  .theme-1x.accueil .h-cta .btn-whatsapp, .theme-1x main .ph__go { overflow: visible; }
}

/* --- Espace partenaire : liens suivis et sources --- */
.es-links, .es-sources { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .55rem; }
.es-links li { display: flex; align-items: center; gap: .55rem; min-width: 0; padding: .5rem .6rem; border-radius: 12px; background: rgba(255,255,255,.05); }
.es-links b { flex: none; width: 5.4rem; font-size: .9rem; }
.es-links__url { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: ui-monospace, monospace; font-size: .78rem; color: #b9cdf2; }
.es-links .btn { flex: none; }
.es-sources li { display: grid; grid-template-columns: auto 1fr auto; align-items: center; column-gap: .5rem; }
.es-sources b { font-size: .92rem; }
.es-sources__n { font-size: .8rem; color: #b9cdf2; text-align: right; }
.es-sources .st-bar { grid-column: 1 / -1; background: rgba(255,255,255,.1); }
.espace .st-bar__fill { background: linear-gradient(90deg, #ffd21f, #2fbf71); }
@media (max-width: 599px) { .es-links__url { display: none; } .es-links b { flex: 1; width: auto; } }
.espace .st-dot--tiktok { background: #25f4ee; box-shadow: 1px 1px 0 #fe2c55; }
.espace .st-dot--twitter { background: #fff; }

/* --- Espace partenaire : galerie de flyers --- */
.fl-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); margin-bottom: 1rem; }
.fl-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: rgba(10, 26, 60, .75); border: 1px solid rgba(120, 160, 255, .18); }
.fl-card__img { position: relative; display: block; aspect-ratio: 4 / 5; background: #050c1d; }
.fl-card__img img { width: 100%; height: 100%; object-fit: contain; display: block; transition: transform .35s ease; }
.fl-card__img:hover img { transform: scale(1.03); }
.fl-badge { position: absolute; top: .6rem; left: .6rem; padding: .2rem .55rem; border-radius: 999px; background: #ffd21f; color: #111; font: 800 .7rem/1.4 system-ui, sans-serif; }
.fl-card__body { padding: .8rem 1rem 1rem; display: flex; flex-direction: column; gap: .35rem; }
.fl-card__body h2 { margin: 0; font-size: 1rem; color: #fff; }
.fl-actions { display: flex; gap: .5rem; margin-top: .3rem; }
.fl-actions .btn { flex: 1; }

/* ===== Espace partenaire — application : barre du bas (mobile), menu latéral (ordinateur) ===== */
.espace .es-top { position: sticky; top: 0; z-index: 40; background: rgba(4, 13, 36, .92); border-bottom: 1px solid rgba(120, 160, 255, .14); }
.es-top__bar { display: flex; align-items: center; justify-content: space-between; gap: .8rem; max-width: 1180px; margin: 0 auto; padding: .55rem 16px; }
.es-top__bar .brand img, .es-top__bar .brand svg { max-height: 40px; width: auto; }
.es-top__right { display: flex; align-items: center; gap: .6rem; }
.es-top__view { color: #cfe0ff; font-weight: 800; font-size: .85rem; text-decoration: none; padding: .4rem .7rem; border-radius: 10px; }
.es-top__view:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.es-account { position: relative; }
.es-account summary { list-style: none; cursor: pointer; border-radius: 50%; }
.es-account summary::-webkit-details-marker { display: none; }
.es-account summary:focus-visible { outline: 2px solid #ffd21f; outline-offset: 2px; }
.es-account__avatar { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; overflow: hidden; font-weight: 900; font-size: .85rem;
  color: #fff; background: linear-gradient(180deg, #3a9bff, #1173ea); border: 2px solid rgba(255, 255, 255, .5); }
.es-account__avatar img { width: 100%; height: 100%; object-fit: cover; }
.es-account__menu { position: absolute; right: 0; top: calc(100% + .5rem); min-width: 230px; padding: .4rem; border-radius: 16px; z-index: 60;
  background: #0b1d48; border: 1px solid rgba(140, 180, 255, .3); box-shadow: 0 20px 40px rgba(0, 0, 0, .45); display: grid; }
.es-account__name { margin: 0; padding: .6rem .7rem .7rem; color: #fff; font-weight: 800; border-bottom: 1px solid rgba(140, 180, 255, .2); }
.es-account__name small { color: #ffd21f; font-weight: 700; }
.es-account__menu a, .es-account__menu button { display: block; width: 100%; text-align: left; padding: .65rem .7rem; border-radius: 10px; border: 0;
  background: none; color: #dbe7ff; font: inherit; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; }
.es-account__menu a:hover, .es-account__menu button:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.es-shell { max-width: 1180px; margin: 0 auto; }
.espace .es-main { padding: 1rem 16px 2rem; min-width: 0; }
.es-content { max-width: 860px; margin: 0 auto; }
/* mobile : barre d'onglets fixe en bas, comme une application */
.es-nav { position: fixed; z-index: 50; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(5, 1fr);
  padding: .3rem .3rem calc(.3rem + env(safe-area-inset-bottom)); background: rgba(5, 14, 38, .97); border-top: 1px solid rgba(120, 160, 255, .2); }
.es-nav a { position: relative; display: flex; flex-direction: column; align-items: center; gap: .1rem; padding: .35rem .1rem; border-radius: 12px;
  color: #9fb6df; text-decoration: none; font-weight: 800; font-size: .68rem; min-width: 0; }
.es-nav__icon { font-size: 1.25rem; line-height: 1.2; filter: grayscale(.6); opacity: .8; }
.es-nav__label { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.es-nav a[aria-current="page"] { color: #fff; background: rgba(58, 155, 255, .16); }
.es-nav a[aria-current="page"] .es-nav__icon { filter: none; opacity: 1; }
.es-nav__badge { position: absolute; top: .1rem; left: calc(50% + .45rem); min-width: 1.15rem; height: 1.15rem; padding: 0 .3rem; border-radius: 999px;
  background: #ff3b5c; color: #fff; font-size: .68rem; line-height: 1.15rem; text-align: center; }
.es-app .es-main { padding-bottom: calc(5.5rem + env(safe-area-inset-bottom)); }
@media (min-width: 900px) {
  .es-app .es-shell { display: grid; grid-template-columns: 220px 1fr; gap: 1.5rem; padding: 0 16px; }
  .es-nav { position: sticky; top: 4.5rem; align-self: start; display: flex; flex-direction: column; gap: .25rem; padding: 1rem 0; background: none; border: 0; }
  .es-nav a { flex-direction: row; gap: .7rem; padding: .7rem .9rem; font-size: .95rem; }
  .es-nav a:hover { background: rgba(255, 255, 255, .06); color: #fff; }
  .es-nav__icon { font-size: 1.15rem; }
  .es-nav__badge { position: static; margin-left: auto; }
  .es-app .es-main { padding: 1.4rem 0 3rem; }
}
@media (max-width: 599px) { .es-top__view { display: none; } }
/* en-têtes de page et éléments communs */
.es-head { margin: .2rem 0 1rem; }
.es-head h1 { color: #fff; margin: 0 0 .3rem; font-size: clamp(1.45rem, 5vw, 2rem); }
.es-head--home { display: flex; flex-wrap: wrap; gap: .8rem 1.2rem; align-items: flex-end; justify-content: space-between; }
.es-quick { display: flex; gap: .5rem; flex-wrap: wrap; }
.es-chip { display: inline-block; padding: .1rem .55rem; border-radius: 8px; background: rgba(255, 210, 31, .14); color: #ffd21f; letter-spacing: .05em; }
.es-count { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; padding: 0 .4rem; margin-left: .3rem; border-radius: 999px;
  background: rgba(255, 255, 255, .1); font-size: .85rem; vertical-align: middle; }
.es-empty { margin: 0; color: #b9cdf2; }
.es-mini { flex: none; padding: .35rem .7rem; border-radius: 999px; border: 1px solid rgba(140, 180, 255, .4); background: none; color: #dbe7ff;
  font: inherit; font-weight: 800; font-size: .78rem; cursor: pointer; }
.es-mini:hover { background: rgba(255, 255, 255, .08); color: #fff; }
.es-fold summary { cursor: pointer; list-style: none; display: flex; align-items: center; justify-content: space-between; }
.es-fold summary::-webkit-details-marker { display: none; }
.es-fold summary h2 { margin: 0; }
.es-fold summary::after { content: "\25BE"; color: #9fb6df; font-size: 1.1rem; transition: transform .2s; }
.es-fold[open] summary { margin-bottom: .7rem; }
.es-fold[open] summary::after { transform: rotate(180deg); }
/* bloc « à faire » */
.es-todo { display: grid; gap: .6rem; margin-bottom: 1rem; }
@media (min-width: 700px) { .es-todo { grid-template-columns: repeat(3, 1fr); } }
.es-todo__item { display: flex; align-items: center; gap: .75rem; padding: .9rem 1rem; border-radius: 18px; text-decoration: none; color: #fff;
  background: rgba(10, 26, 60, .75); border: 1px solid rgba(140, 180, 255, .2); transition: transform .15s, border-color .15s; }
.es-todo__item:hover { transform: translateY(-2px); border-color: rgba(140, 180, 255, .5); }
.es-todo__item.is-hot { border-color: rgba(255, 210, 31, .65); background: linear-gradient(160deg, rgba(255, 210, 31, .13), rgba(10, 26, 60, .8)); }
.es-todo__icon { flex: none; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(255, 255, 255, .08); font-size: 1.25rem; }
.es-todo__item b { display: block; font-size: .95rem; }
.es-todo__item small { display: block; color: #b9cdf2; font-size: .78rem; font-weight: 600; }
.es-todo__go { margin-left: auto; font-size: 1.5rem; color: #9fb6df; }
.es-kpis { grid-template-columns: repeat(2, 1fr); }
@media (min-width: 700px) { .es-kpis { grid-template-columns: repeat(5, 1fr); } }
.es-kpi b { font-size: 1.7rem; }
/* joueurs à valider */
.es-reqs { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.es-req { display: grid; gap: .45rem; padding: .85rem; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(140, 180, 255, .16); }
.es-req__id { display: flex; align-items: center; gap: .6rem; }
.es-req__id b { font-size: 1.3rem; letter-spacing: .06em; color: #fff; }
.es-req__meta { font-size: .8rem; color: #b9cdf2; }
.es-req__actions { display: flex; gap: .5rem; }
.es-req__actions form { flex: 1; }
.es-req__actions .btn { width: 100%; }
@media (min-width: 700px) {
  .es-req { grid-template-columns: 1fr auto; align-items: center; }
  .es-req__meta { grid-column: 1; }
  .es-req__actions { grid-row: 1 / span 2; grid-column: 2; }
  .es-req__actions form { flex: none; }
}
.es-history { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.es-history li { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; color: #d6e4ff; font-size: .9rem; }
.es-history li > span:not(.es-dot) { color: #9fb6df; font-size: .82rem; }
.es-history .es-contact { margin: 0 0 0 auto; }
/* prévenir le joueur : message prêt à envoyer (vert réservé à WhatsApp) */
.es-contact { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .45rem; }
.es-contact .es-mini { text-decoration: none; font-size: .8rem; }
.es-mini--wa { border-color: rgba(47, 224, 111, .55); color: #c4f7d8; }
.es-mini--wa:hover { background: rgba(47, 224, 111, .14); color: #fff; }
.es-contact--big { gap: .6rem; margin-top: .7rem; }
.es-contact--big .btn { flex: 1 1 10rem; justify-content: center; }
.theme-1x .btn-wa { color: #04260f; background: linear-gradient(180deg, #2fe06f, #12a84c); border: 0; font-weight: 800; }
.theme-1x .btn-wa:hover { filter: brightness(1.06); color: #04260f; }
.es-notify { border-color: rgba(47, 224, 111, .45); box-shadow: 0 0 0 1px rgba(47, 224, 111, .18) inset; scroll-margin-top: 80px; }
.es-dot { width: .55rem; height: .55rem; border-radius: 50%; background: #6b7fa8; flex: none; }
.es-dot--ok { background: #2fbf71; }
.es-dot--ko { background: #ff5b6e; }
/* coupons */
.es-cform { gap: .2rem; }
.es-cform__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; align-items: end; }
.espace .es-cform__code input { font: 900 1.25rem ui-monospace, monospace; letter-spacing: .1em; text-transform: uppercase; }
.es-seg { border: 0; padding: 0; margin: .4rem 0 .9rem; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; }
.es-seg legend { color: #fff; font-weight: 700; margin-bottom: .4rem; }
.es-seg label { position: relative; cursor: pointer; }
.es-seg input { position: absolute; opacity: 0; }
.es-seg span { display: block; text-align: center; padding: .7rem .5rem; border-radius: 12px; border: 1.5px solid rgba(140, 180, 255, .35); color: #dbe7ff; font-weight: 800; font-size: .9rem; }
.es-seg input:checked + span { border-color: #ffd21f; background: rgba(255, 210, 31, .12); color: #fff; }
.es-seg input:focus-visible + span { outline: 2px solid #fff; }
.es-cpns { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.es-cpn { display: grid; grid-template-columns: 1fr auto; gap: .2rem .8rem; align-items: center; padding: .75rem .85rem; border-radius: 14px;
  background: rgba(255, 255, 255, .05); border: 1px solid rgba(140, 180, 255, .16); }
.es-cpn > div:nth-child(2) { grid-column: 1; }
.es-cpn form { grid-row: 1 / span 2; grid-column: 2; }
.es-cpn--premium { border-color: rgba(255, 210, 31, .45); }
.es-cpn__code { font: 900 1.15rem ui-monospace, monospace; letter-spacing: .1em; color: #ffd21f; margin-right: .5rem; }
.es-cpn__tag { font-size: .72rem; font-weight: 800; color: #b9cdf2; }

/* ===== Page partenaire : sommaire (bouton ☰ + grille), remplace la barre de liens qui défilait ===== */
.pp-head-right { display: flex; align-items: center; gap: .5rem; }
.pp-menu { position: static; }
.pp-menu summary { list-style: none; cursor: pointer; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px;
  color: #fff; font-size: 1.25rem; background: rgba(255, 255, 255, .08); border: 1px solid rgba(140, 180, 255, .3); }
.pp-menu summary::-webkit-details-marker { display: none; }
.pp-menu summary:focus-visible { outline: 2px solid #ffd21f; outline-offset: 2px; }
.pp-menu[open] summary { background: linear-gradient(180deg, #3a9bff, #1173ea); border-color: transparent; }
.pp-menu__panel { position: absolute; left: 16px; right: 16px; top: calc(100% + .4rem); z-index: 60; display: grid; grid-template-columns: 1fr 1fr; gap: .45rem;
  max-width: 560px; margin-left: auto; padding: .7rem; border-radius: 18px; background: #0b1d48; border: 1px solid rgba(140, 180, 255, .3);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5); }
.pp-menu__panel a { display: flex; align-items: center; gap: .5rem; padding: .75rem .8rem; border-radius: 12px; text-decoration: none;
  color: #e3ecff; font-weight: 800; font-size: .92rem; background: rgba(255, 255, 255, .05); }
.pp-menu__panel a:hover, .pp-menu__panel a:focus-visible { background: rgba(58, 155, 255, .22); color: #fff; }
.site-header .bar { position: relative; }

/* ===== Espace partenaire : sélecteur de palettes (3 couleurs par lot) ===== */
/* PALETTES:BEGIN */
.es-pal--blue { --c1: #1f8bff; --c2: #ffd21f; --c3: #050d1f; --on1: #ffffff; }
.es-pal--gold { --c1: #ffc400; --c2: #fff1a1; --c3: #0e0a02; --on1: #0b0f1a; }
.es-pal--green { --c1: #22c55e; --c2: #ffd21f; --c3: #03140b; --on1: #0b0f1a; }
.es-pal--red { --c1: #ef4444; --c2: #ffb020; --c3: #160506; --on1: #ffffff; }
.es-pal--violet { --c1: #8b5cf6; --c2: #22d3ee; --c3: #0c0720; --on1: #ffffff; }
.es-pal--ocean { --c1: #06b6d4; --c2: #a3e635; --c3: #02141a; --on1: #0b0f1a; }
.es-pal--sunset { --c1: #f97316; --c2: #fde047; --c3: #150903; --on1: #0b0f1a; }
.es-pal--royal { --c1: #4f6bff; --c2: #e2e8f0; --c3: #070b24; --on1: #ffffff; }
.es-pal--rose { --c1: #ec4899; --c2: #fbbf24; --c3: #170510; --on1: #ffffff; }
.es-pal--carbon { --c1: #a3e635; --c2: #f8fafc; --c3: #0a0b0a; --on1: #0b0f1a; }
/* PALETTES:END */
.es-pals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
@media (min-width: 700px) { .es-pals { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.es-pal { position: relative; cursor: pointer; display: grid; gap: .45rem; padding: .55rem; border-radius: 16px; border: 2px solid rgba(140, 180, 255, .2);
  background: rgba(255, 255, 255, .03); color: #dbe7ff; font-weight: 800; font-size: .82rem; }
.es-pal input { position: absolute; opacity: 0; }
.es-pal__preview { display: grid; gap: .35rem; padding: .6rem; border-radius: 11px; background: var(--c3); border: 1px solid rgba(255, 255, 255, .08); }
.es-pal__btn { height: 16px; border-radius: 999px; background: var(--c1); }
.es-pal__row { display: flex; gap: .3rem; align-items: center; }
.es-pal__chip { width: 38%; height: 10px; border-radius: 4px; background: var(--c2); }
.es-pal__line { flex: 1; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .18); }
.es-pal__dots { display: flex; gap: .3rem; }
.es-pal__dots i { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); }
.es-pal__dots i:nth-child(1) { background: var(--c1); } .es-pal__dots i:nth-child(2) { background: var(--c2); } .es-pal__dots i:nth-child(3) { background: var(--c3); }
.es-pal:has(input:checked) { border-color: #ffd21f; background: rgba(255, 210, 31, .1); color: #fff; }
.es-pal:has(input:checked)::after { content: "✓"; position: absolute; top: .35rem; right: .45rem; display: grid; place-items: center; width: 22px; height: 22px;
  border-radius: 50%; background: #ffd21f; color: #111; font-size: .8rem; }
.es-pal:has(input:focus-visible) { outline: 2px solid #fff; outline-offset: 2px; }
/* bouton « Enregistrer » collant : au-dessus de la barre d'onglets du bas sur mobile */
.es-app .es-save { bottom: calc(4.3rem + env(safe-area-inset-bottom)); z-index: 45; }
@media (min-width: 900px) { .es-app .es-save { bottom: 0; } }

/* champs de code PIN : chiffres masqués sans type="password" (aucune suggestion de mot de passe enregistré) */
.pin-mask { -webkit-text-security: disc; text-security: disc; letter-spacing: .3em; }
/* kit de partage du jour */
.es-kit { border-color: rgba(255, 210, 31, .45); }
.es-kit__body { display: grid; gap: .9rem; }
@media (min-width: 700px) { .es-kit__body { grid-template-columns: 200px 1fr; align-items: start; } }
.es-kit__flyer { margin: 0; display: grid; gap: .4rem; }
.es-kit__flyer img { width: 100%; max-height: 280px; object-fit: contain; border-radius: 12px; background: #050c1d; }
.es-kit__flyer figcaption { text-align: center; }
.es-kit__msg { margin: 0 0 .7rem; padding: .8rem .9rem; border-radius: 12px; background: rgba(0, 12, 40, .6); border: 1px solid rgba(140, 180, 255, .2);
  color: #e3ecff; font: 600 .86rem/1.5 system-ui, sans-serif; white-space: pre-wrap; overflow-wrap: anywhere; max-height: 240px; overflow: auto; }
/* galerie de flyers : 2 par ligne sur téléphone */
@media (max-width: 599px) {
  .fl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .6rem; }
  .fl-card { border-radius: 14px; }
  .fl-card__body { padding: .55rem .6rem .7rem; gap: .25rem; }
  .fl-card__body h2 { font-size: .85rem; line-height: 1.25; }
  .fl-card__body .es-muted { font-size: .72rem; }
  .fl-actions { flex-direction: column; gap: .35rem; }
  .fl-actions .btn { min-height: 38px; padding: .4rem .5rem; font-size: .8rem; }
  .fl-badge { font-size: .62rem; top: .4rem; left: .4rem; }
}
