
main.wrap.fr-night{
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 20px 28px;
  box-sizing: border-box;
}    .page-title{ margin:16px 0 8px; font-size:1.35rem; font-weight:900; color:#0f172a; text-align:center; }
    .page-sub{ margin:0 0 14px; color:#475569; text-align:center; }

    .card{
      background:#fff;
      border:1px solid rgba(15,23,42,.10);
      border-radius:14px;
      box-shadow:0 8px 20px rgba(15,23,42,.08);
      padding:12px;
      margin-bottom:14px;
    }

    .navrow{
      display:flex; gap:10px; flex-wrap:wrap;
      align-items:center; justify-content:center;
      margin-bottom:12px;
    }
    .navbtn{
      display:inline-flex; align-items:center; gap:8px;
      padding:8px 12px;
      border-radius:999px;
      border:1px solid rgba(15,23,42,.12);
      background:#fff;
      font-weight:900;
      color:#0f172a;
      text-decoration:none;
      transition:all .15s ease;
    }
    .navbtn:hover{ background:#f1f5f9; transform:translateY(-1px); }
    .navbtn.primary{
      color:#fff;
      border-color:transparent;
      background:linear-gradient(90deg,#1d4ed8,#0f172a,#dc2626);
    }

    .dates-grid{
      display:flex; justify-content:center;
      gap:8px; flex-wrap:wrap;
      margin-top:8px;
    }
    .date-pill{
      display:inline-flex; align-items:center;
      padding:6px 10px; border-radius:999px;
      border:1px solid rgba(15,23,42,.10);
      background:rgba(255,255,255,.9);
      color:#0f172a;
      font-weight:900; font-size:.82rem;
      text-decoration:none;
      transition:all .15s ease;
    }
    .date-pill:hover{ background:#f1f5f9; transform:translateY(-1px); }
    .date-pill.active{
      color:#fff; border-color:transparent;
      background:linear-gradient(90deg,#1d4ed8,#0f172a,#dc2626);
    }

    .seo-text{ max-width:900px; margin:0 auto; color:#0f172a; line-height:1.55; }
    .seo-text h2{ font-size:1.05rem; margin:0 0 8px; color:#0f172a; }

    .explore{ text-align:center; }
    .explore-title{ font-weight:800; color:#475569; margin-bottom:10px; }
    .explore-links{ display:flex; justify-content:center; gap:12px; flex-wrap:wrap; }
    .explore-chip{
      display:inline-flex; align-items:center; gap:6px;
      padding:8px 14px; border-radius:999px;
      border:1px solid rgba(15,23,42,.12);
      background:#fff;
      font-weight:800; font-size:14px;
      color:#1d4ed8; text-decoration:none;
      transition:all .15s ease;
    }
    .explore-chip:hover{ background:#f1f5f9; transform:translateY(-1px); }

    /* petit fix: la card générée par app.js doit s'intégrer bien */
    #frNightHost .card{ margin-bottom:14px; }

.bbd-statcard-close{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-weight: 900;
}

.bbd-statcard-preview-wrap{
  margin-top: 8px;
  border-radius: 14px;
  overflow: hidden;
  background: #091224;
}

.bbd-statcard-preview-wrap canvas{
  width: 100%;
  height: auto;
  display: block;
}

.bbd-statcard-actions{
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 14px;
}

.bbd-statcard-btn{
  border: none;
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  background: #1f2937;
  color: #fff;
}

.bbd-statcard-btn.primary{
  background: #2563eb;
  color: #fff;
}

.bbd-statcard-btn:hover{
  filter: brightness(1.05);
}
.fr-night-table td.player-cell{
  position: relative;
}

.fr-night-table td.player-cell.player-cell--with-card{
  padding-right: 42px !important;
}

.bbd-card-btn--inline{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 12px;
  font-weight: 800;
  padding: 0;
  background: #2563eb;
  color: #fff;
  opacity: .92;
  transition: .15s;
}

.bbd-card-btn--inline:hover{
  background: #1d4ed8;
  opacity: 1;
}

.bbd-card-btn--inline:disabled{
  opacity: .7;
  cursor: wait;
}
.bbd-card-mini-btn{
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  width: 26px;
  height: 26px;
  border-radius: 999px;
  border: 2px solid #ef4135;
  background: #fff;

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  padding: 0;

  transition: transform .12s ease, box-shadow .12s ease;
}

.bbd-card-mini-btn:hover{
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 3px 8px rgba(0,0,0,.15);
}

.bbd-card-mini-btn__icon{
  width: 12px;
  height: 12px;
  fill: #2563eb;
}

/* points bleu blanc rouge */

.bbd-fr-dots{
  position: absolute;
  bottom: -3px;
  display: flex;
  gap: 1px;
}

.bbd-fr-dots i{
  width: 3px;
  height: 3px;
  border-radius: 50%;
  display: block;
}

.bbd-fr-dots i:nth-child(1){ background:#2563eb; }
.bbd-fr-dots i:nth-child(2){ background:#ffffff; border:1px solid #ddd;}
.bbd-fr-dots i:nth-child(3){ background:#ef4135; }

.bbd-card-mini-btn{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border-radius:999px;
  border:2px solid #ef4135;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  padding:0;

  transition:transform .12s ease, box-shadow .12s ease;
}

.bbd-card-mini-btn:hover{
  transform:translateY(-50%) scale(1.08);
  box-shadow:0 3px 8px rgba(0,0,0,.15);
}

.bbd-card-mini-btn__icon{
  width:18px;
  height:18px;
}
.bbd-card-mini-btn{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  width:26px;
  height:26px;
  border-radius:999px;
  border:2px solid #ef4135;
  background:#fff;

  display:flex;
  align-items:center;
  justify-content:center;

  cursor:pointer;
  padding:0;

  transition:transform .12s ease, box-shadow .12s ease;
}

.bbd-card-mini-btn:hover{
  transform:translateY(-50%) scale(1.08);
  box-shadow:0 3px 8px rgba(0,0,0,.15);
}

.bbd-card-mini-btn__icon{
  width:14px;
  height:14px;
  fill:#2563eb;
}

main.wrap.fr-night{
  width:100%;
  max-width:1280px;
  margin:0 auto;
  padding:16px 20px 28px;
  box-sizing:border-box;
}

.fr-night .page-title{
  margin:16px 0 8px;
  font-size:1.35rem;
  font-weight:900;
  color:#0f172a;
  text-align:center;
}

.fr-night .page-sub{
  margin:0 0 14px;
  color:#475569;
  text-align:center;
}

.fr-night .card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  box-shadow:0 8px 20px rgba(15,23,42,.08);
  padding:12px;
  margin-bottom:14px;
}

.fr-night .navrow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  margin-bottom:12px;
}

.fr-night .navbtn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  font-weight:900;
  color:#0f172a;
  text-decoration:none;
  transition:all .15s ease;
}

.fr-night .navbtn:hover{
  background:#f1f5f9;
  transform:translateY(-1px);
}

.fr-night .navbtn.primary{
  color:#fff;
  border-color:transparent;
  background:linear-gradient(90deg,#1d4ed8,#0f172a,#dc2626);
}

/* =========================================================
   FR NIGHT - carte récap et tableau
   ========================================================= */

.fr-night #frNightHost .card,
.fr-night #frNightHost .card.fr-night{
  position: relative;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  padding: 8px;
  margin: 12px 0 24px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15,23,42,.15);
}

.fr-night #frNightHost .card.fr-night{
  border: 2px solid transparent;
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg,#0055a4,#ffffff,#ef4135) border-box;
}

.fr-night #frNightHost .card-main{
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px 6px;
  text-align: center;
  background: #f9fbff;
  border-radius: 14px;
}

.fr-night #frNightHost .card-main .score{
  font-size: 20px;
  font-weight: 700;
  color: #0f172a;
}

.fr-night #frNightHost .card-details{
  display: block;
  padding: 0;
  border-top: 1px solid #e2e8f0;
  margin-top: 8px;
  text-align: left;
}

.fr-night #frNightHost .table-wrap{
  overflow-x: auto;
  overflow-y: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}

/* tableau */
.fr-night #frNightHost table.bx,
.fr-night #frNightHost .fr-night-table{
  width: 100%;
  min-width: 1020px;
  border-collapse: collapse;
  font-size: 13px;
  margin-bottom: 0;
}

.fr-night #frNightHost table.bx thead,
.fr-night #frNightHost .fr-night-table thead{
  background: #0f172a;
  color: #fff;
}

.fr-night #frNightHost table.bx th,
.fr-night #frNightHost .fr-night-table th{
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 10px 12px;
  white-space: nowrap;
  text-align: center;
}

.fr-night #frNightHost table.bx td,
.fr-night #frNightHost .fr-night-table td{
  padding: 9px 12px;
  font-size: .88rem;
  border-bottom: 1px solid #e5e7eb;
  text-align: center;
  vertical-align: middle;
}

.fr-night #frNightHost table.bx th:first-child,
.fr-night #frNightHost table.bx td:first-child,
.fr-night #frNightHost .fr-night-table th:first-child,
.fr-night #frNightHost .fr-night-table td:first-child{
  text-align: left;
}

.fr-night #frNightHost table.bx tbody tr:nth-child(even),
.fr-night #frNightHost .fr-night-table tbody tr:nth-child(even){
  background: #f9fafb;
}

.fr-night #frNightHost table.bx tbody tr:hover,
.fr-night #frNightHost .fr-night-table tbody tr:hover{
  background: #e5edff;
}

/* ligne FR */
.fr-night #frNightHost table.bx tr.row-fr,
.fr-night #frNightHost .fr-night-table tr.row-fr{
  background: linear-gradient(
    90deg,
    rgba(0,85,164,0.18) 0%,
    rgba(0,85,164,0.10) 16%,
    rgba(255,255,255,1) 50%,
    rgba(239,65,53,0.10) 84%,
    rgba(239,65,53,0.18) 100%
  );
}

.fr-night #frNightHost table.bx tr.row-fr:hover,
.fr-night #frNightHost .fr-night-table tr.row-fr:hover{
  background: linear-gradient(
    90deg,
    rgba(0,85,164,0.24) 0%,
    rgba(0,85,164,0.14) 16%,
    rgba(255,255,255,1) 50%,
    rgba(239,65,53,0.14) 84%,
    rgba(239,65,53,0.24) 100%
  );
}

/* cellule joueur */
.fr-night #frNightHost td.player-cell,
.fr-night #frNightHost .fr-night-table td.player-cell{
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.fr-night #frNightHost td.player-cell .pname,
.fr-night #frNightHost .fr-night-table td.player-cell .pname{
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
}

/* avatar */
.fr-night #frNightHost td.player-cell img,
.fr-night #frNightHost .fr-night-table td.player-cell img{
  width: 56px;
  height: 56px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: cover;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.fr-night #frNightHost td.player-cell .hs-wrap{
  position: relative;
  width: 56px;
  height: 56px;
  flex-shrink: 0;
}

.fr-night #frNightHost td.player-cell .hs-bg{
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255,255,255,1) 0%,
    rgba(230,230,230,1) 35%,
    rgba(180,180,180,1) 100%
  );
}

.fr-night #frNightHost td.player-cell .hs-img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

/* colonne match */
.fr-night #frNightHost .match-cell,
.fr-night #frNightHost .fr-night-table .match-cell{
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  height: 100%;
}

.fr-night #frNightHost .match-res,
.fr-night #frNightHost .fr-night-table .match-res{
  width: 22px;
  flex: 0 0 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.fr-night #frNightHost .res-dot,
.fr-night #frNightHost .fr-night-table .res-dot{
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: block;
}

.fr-night #frNightHost .res-dot.win,
.fr-night #frNightHost .fr-night-table .res-dot.win{
  background: #16a34a;
}

.fr-night #frNightHost .res-dot.loss,
.fr-night #frNightHost .fr-night-table .res-dot.loss{
  background: #ef4444;
}

.fr-night #frNightHost .match-tris,
.fr-night #frNightHost .fr-night-table .match-tris{
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.fr-night #frNightHost .match-tris .mtri{
  font-size: 13px;
  font-weight: 700;
}

.fr-night #frNightHost .match-tris .mtri-win{
  font-weight: 900;
}

.fr-night #frNightHost .match-tris .mtri-loss{
  font-weight: 700;
  opacity: .55;
}

.fr-night #frNightHost .match-tris .vs{
  font-size: 11px;
  opacity: .45;
}

/* points en gras */
.fr-night #frNightHost td.pts,
.fr-night #frNightHost .fr-night-table td.pts{
  font-weight: 800;
  color: #111827;
}

/* bouton carte dans tableau */
.fr-night #frNightHost td.player-cell.player-cell--with-card,
.fr-night #frNightHost .fr-night-table td.player-cell.player-cell--with-card{
  padding-right: 34px !important;
}

.fr-night #frNightHost .bbd-card-btn--inline,
.fr-night #frNightHost .fr-night-table .bbd-card-btn--inline{
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  border: none;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 11px;
  padding: 0;
  background: #2563eb;
  color: #fff;
  opacity: .92;
  transition: .15s;
}

.fr-night #frNightHost .bbd-card-btn--inline:hover{
  background: #1d4ed8;
  opacity: 1;
}

.fr-night #frNightHost .bbd-card-btn--inline:disabled{
  opacity: .7;
  cursor: wait;
}

/* responsive */
@media (max-width: 920px){
  .fr-night #frNightHost table.bx,
  .fr-night #frNightHost .fr-night-table{
    min-width: 980px;
  }
}

/* =========================
   EDITORIAL FR NIGHT
   ========================= */

.fr-night-editorial{
  margin: 14px 0 18px;
  display: flex;
  justify-content: center;
}

.fr-night-editorial-inner{
  max-width: 780px;
  width: 100%;
  padding: 14px 18px;

  border-radius: 14px;

  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(90deg,#0055a4,#ffffff,#ef4135) border-box;

  border: 1px solid transparent;

  box-shadow: 0 8px 24px rgba(15,23,42,.08);

  text-align: center;
}

.fr-night-editorial .line1{
  font-weight: 800;
  font-size: 15px;
  color: #0f172a;
  margin: 0;
}

.fr-night-editorial .line2{
  margin-top: 4px;
  font-size: 13px;
  color: #475569;
  font-weight: 500;
}

/* petit effet subtil */
.fr-night-editorial-inner:hover{
  box-shadow: 0 10px 28px rgba(15,23,42,.12);
  transform: translateY(-1px);
  transition: .15s;
}

.fr-night-editorial{
  margin: 14px 0 18px;
}

.fr-night-editorial-inner{
  position: relative;
  overflow: hidden;
  padding: 18px 20px;
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(37,99,235,.08), rgba(255,255,255,.96) 35%, rgba(239,68,68,.08));
  border: 1px solid rgba(148,163,184,.22);
  box-shadow: 0 10px 28px rgba(15,23,42,.07);
  text-align: left;
}

.fr-night-editorial-inner::before{
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, #0055a4 0%, #ffffff 50%, #ef4135 100%);
}

.fr-night-editorial .line1,
.fr-night-editorial .line2{
  margin: 0;
}

.fr-night-editorial .line1{
  font-size: 1rem;
  line-height: 1.45;
  font-weight: 900;
  color: #0f172a;
}

.fr-night-editorial .line2{
  margin-top: 8px;
  font-size: .94rem;
  line-height: 1.5;
  color: #475569;
  font-weight: 700;
}

@media (max-width: 640px){
  .fr-night-editorial-inner{
    padding: 16px 14px;
    border-radius: 16px;
  }

  .fr-night-editorial .line1{
    font-size: .95rem;
  }

  .fr-night-editorial .line2{
    font-size: .88rem;
  }
}

.fr-night-editorial{
  max-width: 1240px;
  margin: 20px auto 18px;
}

.fr-night-editorial-inner{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px 26px 22px;
  background:
    linear-gradient(135deg, rgba(8,25,55,.96) 0%, rgba(20,40,78,.96) 42%, rgba(58,18,24,.92) 100%);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 40px rgba(15,23,42,.14),
    inset 0 1px 0 rgba(255,255,255,.05);
}

.fr-night-editorial-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.26), transparent 32%),
    radial-gradient(circle at top right, rgba(239,68,68,.20), transparent 28%);
  pointer-events:none;
}

.fr-night-editorial-inner::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background: linear-gradient(90deg,#2563eb 0%, #ffffff 50%, #ef4444 100%);
}

.fr-night-editorial-badge{
  position: relative;
  z-index: 1;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:7px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.fr-night-editorial .line1{
  position: relative;
  z-index: 1;
  margin:0;
  color:#fff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.03em;
  max-width: 820px;
}

.fr-night-editorial .line2{
  position: relative;
  z-index: 1;
  margin:12px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 760px;
}

.fr-night-editorial-chips{
  position: relative;
  z-index: 1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

.fr-night-editorial-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:800;
}

@media (max-width: 900px){
  .fr-night-editorial-inner{
    padding:20px 18px 18px;
    border-radius:18px;
  }

  .fr-night-editorial .line1{
    font-size:26px;
  }

  .fr-night-editorial .line2{
    font-size:15px;
  }
}
/* WRAPPER FULL WIDTH */
.fr-night-editorial-wrap{
  width:100%;
  margin: 28px 0 24px;
}

/* CONTENEUR CENTRÉ comme ton site */
.fr-night-editorial{
  max-width: 1240px; /* aligné avec ton layout global */
  margin: 0 auto;
  padding: 0 12px;
}

/* LA CARTE */
.fr-night-editorial-inner{
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  padding: 28px 32px 26px;

  background:
    linear-gradient(135deg, #0b1f44 0%, #1d3c6a 45%, #5c1e28 100%);

  box-shadow:
    0 25px 60px rgba(15,23,42,.18);

  border: 1px solid rgba(255,255,255,.08);
}

/* HALO LUMIÈRE */
.fr-night-editorial-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 15% 0%, rgba(37,99,235,.35), transparent 35%),
    radial-gradient(circle at 85% 0%, rgba(239,68,68,.25), transparent 30%);
}

/* LIGNE BBD */
.fr-night-editorial-inner::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background: linear-gradient(90deg,#2563eb 0%, #ffffff 50%, #ef4444 100%);
}

/* BADGE */
.fr-night-editorial-badge{
  position: relative;
  z-index: 1;
  display:inline-block;
  margin-bottom:16px;
  padding:6px 12px;
  border-radius:999px;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  background: rgba(255,255,255,.12);
  color:#fff;
}

/* TITRE */
.fr-night-editorial .line1{
  position: relative;
  z-index: 1;
  margin:0;
  font-size: 38px;
  font-weight: 950;
  color:#fff;
  line-height:1.1;
  max-width:900px;
}

/* SOUS LIGNE */
.fr-night-editorial .line2{
  position: relative;
  z-index: 1;
  margin-top:12px;
  font-size:18px;
  color:rgba(255,255,255,.85);
}

/* CHIPS */
.fr-night-editorial-chips{
  position: relative;
  z-index: 1;
  margin-top:18px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.fr-night-editorial-chip{
  padding:6px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:700;
}

/* MOBILE */
@media (max-width: 900px){
  .fr-night-editorial-inner{
    padding:22px 18px;
  }

  .fr-night-editorial .line1{
    font-size:26px;
  }
}

/* CARTE TOP */

.fr-top-card{
  background:#fff;
  border-radius:20px;
  padding:28px;
  margin:30px 0;
  box-shadow:0 10px 30px rgba(0,0,0,.05);
  text-align:center;
}

.fr-top-head h1{
  font-size:34px;
  font-weight:900;
  margin:0;
}

.fr-top-head p{
  color:#64748b;
  margin-top:8px;
}

/* SELECTEUR DATE */

.fr-date-selector{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin-top:20px;
}

.fr-date{
  font-size:26px;
  font-weight:900;
}

.fr-arrow a{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  background:#f1f5f9;
  text-decoration:none;
  font-size:26px;
  color:#0f172a;
  transition:.2s;
}

.fr-arrow a:hover{
  background:#e2e8f0;
}

/* bouton */

.fr-latest{
  margin-top:18px;
}

.fr-latest a{
  padding:10px 16px;
  border-radius:999px;
  background:#0f172a;
  color:#fff;
  text-decoration:none;
  font-weight:700;
}

/* EDITO SIMPLE */

.fr-night-editorial{
  background:#fff;
  border-radius:16px;
  padding:20px;
  margin:20px 0;
  box-shadow:0 8px 20px rgba(0,0,0,.04);
}

.fr-night-editorial .line1{
  font-size:22px;
  font-weight:800;
}

.fr-night-editorial .line2{
  margin-top:8px;
  color:#64748b;
}
.fr-top-card{
  margin-top:10px; /* au lieu de 30px */
}
/* =========================
   TOP CARD
========================= */

.fr-top-card{
  margin-top:12px;
  padding:28px;
  border-radius:20px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  text-align:center;
}

/* =========================
   TITLE
========================= */

.fr-title{
  font-size:28px;
  font-weight:800;
  margin-bottom:10px;
}

/* =========================
   DATE NAV
========================= */

.fr-date-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  margin:10px 0;
}

.fr-date-center{
  text-align:center;
}

.fr-date-label{
  font-size:13px;
  color:#64748b;
}

.fr-date-value{
  font-size:28px;
  font-weight:800;
}

.fr-arrow{
  width:40px;
  height:40px;
  border-radius:50%;
  background:#e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:20px;
  color:#0f172a;
}

.fr-arrow:hover{
  background:#cbd5f5;
}

/* =========================
   BUTTON
========================= */

.fr-last-btn{
  display:inline-block;
  margin-top:10px;
  padding:8px 16px;
  border-radius:999px;
  background:#0f172a;
  color:white;
  text-decoration:none;
  font-weight:600;
}

/* =========================
   MINI DATES
========================= */

.fr-mini-dates{
  display:flex;
  justify-content:center;
  gap:10px;
  margin-top:14px;
}

.fr-mini-dates a{
  padding:6px 12px;
  border-radius:999px;
  background:#e2e8f0;
  font-size:13px;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
}

.fr-mini-dates a:hover{
  background:#cbd5f5;
}

/* =========================
   EDITORIAL
========================= */

.fr-editorial{
  margin:20px 0;
  padding:18px 22px;
  border-radius:16px;
  background:#ffffff;
  border:1px solid #e2e8f0;
}

.fr-editorial .line1{
  font-size:18px;
  font-weight:800;
}

.fr-editorial .line2{
  margin-top:6px;
  font-size:14px;
  color:#64748b;
}

/* =========================
   NO JS
========================= */

.no-js{
  text-align:center;
  font-weight:600;
  color:#64748b;
}

/* =========================
   HEADER COMPACT
========================= */

.fr-top-card{
  margin-top:10px;
  padding:20px 22px;
  border-radius:18px;
  background:#f8fafc;
  border:1px solid #e2e8f0;
  text-align:center;
}

/* =========================
   TITLE
========================= */

.fr-title{
  font-size:24px;
  font-weight:800;
  margin-bottom:6px;
}

/* =========================
   DATE NAV
========================= */

.fr-date-nav{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  margin:8px 0;
}

.fr-date-center{
  text-align:center;
}

.fr-date-label{
  font-size:12px;
  color:#64748b;
}

.fr-date-value{
  font-size:22px;
  font-weight:800;
}

.fr-arrow{
  width:34px;
  height:34px;
  border-radius:50%;
  background:#e2e8f0;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  font-size:18px;
  color:#0f172a;
}

.fr-arrow:hover{
  background:#cbd5f5;
}

/* =========================
   BUTTON
========================= */

.fr-last-btn{
  display:inline-block;
  margin-top:6px;
  padding:6px 14px;
  border-radius:999px;
  background:#0f172a;
  color:white;
  text-decoration:none;
  font-weight:600;
  font-size:13px;
}

/* =========================
   MINI DATES
========================= */

.fr-mini-dates{
  display:flex;
  justify-content:center;
  gap:8px;
  margin-top:10px;
}

.fr-mini-dates a{
  padding:5px 10px;
  border-radius:999px;
  background:#e2e8f0;
  font-size:12px;
  text-decoration:none;
  color:#0f172a;
  font-weight:600;
}

.fr-mini-dates a:hover{
  background:#cbd5f5;
}

/* =========================
   EDITORIAL (BBD STYLE 🇫🇷)
========================= */

.fr-editorial{
  margin:18px 0 10px;
  padding:16px 20px;
  border-radius:14px;
  background:#ffffff;
  border:1px solid #e2e8f0;
  position:relative;
}

/* bande tricolore discrète */
.fr-editorial::before{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  border-radius:14px 14px 0 0;
  background:linear-gradient(
    90deg,
    #2563eb 0%,
    #ffffff 50%,
    #dc2626 100%
  );
}

.fr-editorial .line1{
  font-size:17px;
  font-weight:800;
}

.fr-editorial .line2{
  margin-top:4px;
  font-size:13px;
  color:#64748b;
}

/* =========================
   NO JS
========================= */

.no-js{
  text-align:center;
  font-weight:600;
  color:#64748b;
}
.fr-editorial{
  position: relative;
  z-index: 1;
}

.fr-editorial::before{
  pointer-events: none;
}

.fr-editorial{
  position: relative;
  z-index: 1;
}

.bbd-stat-card-trigger,
.stat-card-btn,
.stat-card-icon{
  position: relative;
  z-index: 10;
  pointer-events: auto;
}
.table,
.bbd-table,
.frNightHost{
  position: relative;
  z-index: 2;
}

/* =========================================================
   FN-GRID – grille de cartes joueurs françaises
   ========================================================= */

.fn-recap-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  width:100%;
  gap:12px;
}
.fn-recap-left{
  display:flex;
  align-items:center;
  gap:10px;
}
.fn-recap-flag{ font-size:1.4rem; }
.fn-recap-title{
  font-size:.95rem;
  font-weight:800;
  color:#0f172a;
}
.fn-recap-date{
  font-size:.8rem;
  color:#64748b;
  margin-top:2px;
}
.fn-recap-right{
  display:flex;
  align-items:center;
  gap:8px;
}
.fn-recap-count{
  font-size:.9rem;
  font-weight:700;
  color:#0f172a;
}
.fn-recap-chip{
  font-size:.75rem;
  font-weight:700;
  color:#64748b;
  background:#f1f5f9;
  padding:4px 10px;
  border-radius:999px;
}

.fn-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(280px, 1fr));
  gap:14px;
  padding:14px;
}

.fn-empty,
.fn-loading{
  grid-column:1 / -1;
  text-align:center;
  padding:24px;
  color:#64748b;
  font-weight:600;
}

.fn-card{
  background:#fff;
  border:1px solid rgba(15,23,42,.10);
  border-radius:14px;
  padding:12px 12px 10px 16px;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
  position:relative;
  overflow:hidden;
}
.fn-card::before{
  content:'';
  position:absolute;
  top:0; left:0;
  width:4px; height:100%;
  background:var(--fn-color, #1d428a);
  border-radius:4px 0 0 4px;
}
.fn-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(15,23,42,.12);
}
.fn-card--dnp{ opacity:.6; }

/* head */
.fn-card__head{
  display:flex;
  align-items:center;
  gap:10px;
  margin-bottom:10px;
}
.fn-card__hs{
  width:64px;
  height:64px;
  border-radius:12px;
  object-fit:cover;
  flex-shrink:0;
  background:#e2e8f0;
  border:2px solid rgba(15,23,42,.08);
}
.fn-card__info{
  flex:1;
  min-width:0;
}
.fn-card__name{
  font-size:.88rem;
  font-weight:800;
  color:#0f172a;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.fn-card__game-line{
  display:flex;
  align-items:center;
  gap:5px;
  margin-top:3px;
  flex-wrap:wrap;
}
.fn-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:18px;
  height:18px;
  border-radius:4px;
  font-size:.7rem;
  font-weight:900;
  flex-shrink:0;
}
.fn-badge--win{ background:#dcfce7; color:#16a34a; }
.fn-badge--loss{ background:#fee2e2; color:#dc2626; }
.fn-badge--live{ background:#fff7ed; color:#ea580c; width:auto; padding:1px 5px; }
.fn-card__tris{
  display:inline-flex;
  align-items:center;
  gap:3px;
  font-size:.75rem;
  font-weight:700;
  color:#475569;
}
.fn-card__logo{
  width:14px;
  height:14px;
  object-fit:contain;
  flex-shrink:0;
}
.fn-vs{ font-size:.68rem; opacity:.5; }
.fn-card__score{ font-size:.75rem; color:#475569; }
.fn-card__min{ font-size:.72rem; color:#94a3b8; margin-top:2px; }

.fn-card__share{
  flex-shrink:0;
  width:28px;
  height:28px;
  border:none;
  border-radius:50%;
  background:#f1f5f9;
  color:#475569;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:background .15s;
  padding:0;
  margin-left:auto;
}
.fn-card__share:hover{ background:#e2e8f0; }
.fn-share-icon{ width:14px; height:14px; fill:currentColor; }
.fn-card__clip{flex:0 0 28px;width:28px;height:28px;border-radius:50%;border:1.5px solid rgba(0,85,164,.25);background:#0055A4;color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;padding:0;transition:background .15s,transform .12s;align-self:flex-start;}
.fn-card__clip:hover{background:#003d7a;transform:scale(1.08);}
.fn-td-carte-wrap{display:flex;align-items:center;gap:4px;}
.fn-td-clip-btn{flex:0 0 22px;width:22px;height:22px;font-size:9px;}

/* stats principales */
.fn-card__main-stats{
  display:flex;
  justify-content:space-around;
  padding:8px 6px;
  background:#f8faff;
  border-radius:10px;
  margin-bottom:8px;
}
.fn-big-stat{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:1px;
}
.fn-big-stat__val{
  font-size:1.45rem;
  font-weight:900;
  color:#0f172a;
  line-height:1;
}
.fn-big-stat--pts .fn-big-stat__val{ color:var(--fn-color, #1d428a); }
.fn-big-stat__lbl{
  font-size:.62rem;
  font-weight:700;
  color:#94a3b8;
  text-transform:uppercase;
  letter-spacing:.06em;
}

/* pills */
.fn-card__pills{
  display:flex;
  gap:5px;
  flex-wrap:wrap;
  margin-bottom:7px;
}
.fn-pill{
  display:inline-flex;
  align-items:center;
  gap:3px;
  padding:3px 8px;
  background:#f1f5f9;
  border-radius:999px;
  font-size:.72rem;
  color:#475569;
}
.fn-pill--pm-pos{
  display:inline-flex;
  padding:3px 8px;
  background:#dcfce7;
  color:#16a34a;
  border-radius:999px;
  font-size:.72rem;
}
.fn-pill--pm-neg{
  display:inline-flex;
  padding:3px 8px;
  background:#fee2e2;
  color:#dc2626;
  border-radius:999px;
  font-size:.72rem;
}

/* tirs */
.fn-card__shoot{
  font-size:.72rem;
  color:#64748b;
  text-align:center;
}

/* responsive */
@media (max-width:640px){
  .fn-grid{
    grid-template-columns:1fr 1fr;
    gap:8px;
    padding:8px;
  }
  .fn-card__hs{ width:56px; height:56px; }
  .fn-big-stat__val{ font-size:1.2rem; }
}
@media (max-width:400px){
  .fn-grid{ grid-template-columns:1fr; }
}

html.bbd-dark body.page-fr-night{
  color-scheme: dark;
  --surface: #102039;
  --surface-2: #142740;
  --ink: #edf4ff;
  --muted: #9eb0c8;
  --border: #263b56;
  background:
    radial-gradient(ellipse at top, rgba(36, 79, 142, .18) 0%, transparent 42%),
    #081224;
  color: #e5eef9;
}

html.bbd-dark body.page-fr-night main.wrap.fr-night{
  padding-top: 18px;
}

html.bbd-dark body.page-fr-night .fr-top-card,
html.bbd-dark body.page-fr-night .fr-night-editorial,
html.bbd-dark body.page-fr-night .card{
  background: rgba(15, 26, 46, .96);
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 16px 42px rgba(2, 6, 23, .18);
}

html.bbd-dark body.page-fr-night .fr-top-card{
  position: relative;
  overflow: hidden;
  text-align: left;
  background:
    radial-gradient(ellipse at 82% 20%, rgba(11, 94, 168, .28) 0%, transparent 42%),
    linear-gradient(135deg, rgba(13, 27, 49, .98) 0%, rgba(19, 45, 84, .98) 100%);
  padding: 26px 28px 22px;
}

html.bbd-dark body.page-fr-night .fr-top-card::after{
  content:"";
  position:absolute;
  inset:auto -12% -42px auto;
  width:240px;
  height:240px;
  background: url('/img/bleublancdunk-logo.svg') center/contain no-repeat;
  opacity:.08;
  pointer-events:none;
  transform: rotate(-8deg);
}

html.bbd-dark body.page-fr-night .fr-top-card::before{
  content:'CETTE NUIT';
  position:absolute;
  right:-14px;
  top:-34px;
  color:rgba(255,255,255,.035);
  font-size:145px;
  font-weight:1000;
  line-height:1;
  white-space:nowrap;
  pointer-events:none;
}

html.bbd-dark body.page-fr-night .fr-top-eyebrow{
  position: relative;
  z-index:1;
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-bottom:8px;
  font-size:11px;
  font-weight:900;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#7db7ff;
}

html.bbd-dark body.page-fr-night .page-title,
html.bbd-dark body.page-fr-night .fr-title,
html.bbd-dark body.page-fr-night .fr-top-head h1,
html.bbd-dark body.page-fr-night .fr-date-value,
html.bbd-dark body.page-fr-night .seo-text,
html.bbd-dark body.page-fr-night .seo-text h2,
html.bbd-dark body.page-fr-night .fr-night-editorial .line1,
html.bbd-dark body.page-fr-night .fn-card__name,
html.bbd-dark body.page-fr-night .fn-card__stat .val{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night .fr-title{
  position: relative;
  z-index:1;
  margin: 0;
  font-size: clamp(38px, 5vw, 56px);
  line-height: .94;
  font-weight: 1000;
  letter-spacing: -.058em;
  text-wrap: balance;
}

html.bbd-dark body.page-fr-night .fr-title br{
  display:block;
}

html.bbd-dark body.page-fr-night .fr-title span{
  display:inline-block;
  color:#7db7ff;
}

html.bbd-dark body.page-fr-night .fr-title em{
  color:#7db7ff;
  font-style:normal;
}

html.bbd-dark body.page-fr-night .fr-title span{
  color:#7db7ff;
}

html.bbd-dark body.page-fr-night .fr-top-subtitle{
  position: relative;
  z-index:1;
  margin:12px 0 18px;
  max-width: 760px;
  color:#c4d1e4;
  font-size:14px;
  line-height:1.55;
  font-weight:600;
}

html.bbd-dark body.page-fr-night .page-sub,
html.bbd-dark body.page-fr-night .fr-top-head p,
html.bbd-dark body.page-fr-night .fr-date-label,
html.bbd-dark body.page-fr-night .fr-night-editorial .line2,
html.bbd-dark body.page-fr-night .no-js,
html.bbd-dark body.page-fr-night .explore-title,
html.bbd-dark body.page-fr-night .fn-card__team,
html.bbd-dark body.page-fr-night .fn-card__shoot,
html.bbd-dark body.page-fr-night .fn-pill--pm-pos,
html.bbd-dark body.page-fr-night .fn-pill--pm-neg{
  color: #9ab0cb;
}

html.bbd-dark body.page-fr-night .navbtn,
html.bbd-dark body.page-fr-night .date-pill,
html.bbd-dark body.page-fr-night .explore-chip{
  background: rgba(148, 163, 184, .08);
  border-color: rgba(148, 163, 184, .18);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night .navbtn:hover,
html.bbd-dark body.page-fr-night .date-pill:hover,
html.bbd-dark body.page-fr-night .explore-chip:hover{
  background: rgba(255,255,255,.06);
}

html.bbd-dark body.page-fr-night .navbtn.primary,
html.bbd-dark body.page-fr-night .date-pill.active{
  color: #fff;
  background: linear-gradient(90deg, #0b5ea8, #0d2347, #dc2626);
  border-color: transparent;
}

html.bbd-dark body.page-fr-night .fr-arrow{
  background: rgba(148, 163, 184, .10);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night .fr-arrow:hover{
  background: rgba(148, 163, 184, .16);
}

html.bbd-dark body.page-fr-night .fr-last-btn{
  background: linear-gradient(90deg, #0b5ea8, #0d2347);
  color: #fff;
}

html.bbd-dark body.page-fr-night .fr-date-nav{
  position: relative;
  z-index:1;
  justify-content:flex-start;
  margin: 8px 0 0;
}

html.bbd-dark body.page-fr-night .fr-last-btn{
  position: relative;
  z-index:1;
}

html.bbd-dark body.page-fr-night .fr-mini-dates a{
  background: rgba(148, 163, 184, .10);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night .fr-mini-dates a:hover{
  background: rgba(148, 163, 184, .16);
}

@media (max-width: 700px){
  html.bbd-dark body.page-fr-night .fr-top-card{
    min-height: 175px;
    padding: 27px 22px 22px;
    border-radius: 18px;
  }

  html.bbd-dark body.page-fr-night .fr-top-card::before{
    top:-5px;
    right:-8px;
    font-size:82px;
  }
}

html.bbd-dark body.page-fr-night #frNightHost .card,
html.bbd-dark body.page-fr-night #frNightHost .fn-card,
html.bbd-dark body.page-fr-night #frNightHost .fn-recap-card{
  background: rgba(15, 26, 46, .96);
  border-color: rgba(148, 163, 184, .16);
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night{
  background:
    linear-gradient(180deg, rgba(15, 26, 46, .98) 0%, rgba(11, 21, 39, .98) 100%);
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: 0 16px 42px rgba(2, 6, 23, .20);
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-main{
  background: rgba(11, 21, 39, .98) !important;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, .10);
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-details{
  border-top: 1px solid rgba(148, 163, 184, .12);
}

html.bbd-dark body.page-fr-night #frNightHost .table-wrap{
  background: rgba(15, 26, 46, .96);
  box-shadow: none;
}

html.bbd-dark body.page-fr-night #frNightHost .card-main,
html.bbd-dark body.page-fr-night #frNightHost .card-details,
html.bbd-dark body.page-fr-night #frNightHost .table-wrap,
html.bbd-dark body.page-fr-night #frNightHost .fn-grid,
html.bbd-dark body.page-fr-night #frNightHost .fn-card{
  background-color: rgba(15, 26, 46, .96) !important;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-main{
  background: rgba(11, 21, 39, .98) !important;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-details{
  background: transparent !important;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-head{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-title{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-date{
  color: #9ab0cb;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-chip{
  background: rgba(148, 163, 184, .10);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-count{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-view-btn{
  background: rgba(148, 163, 184, .10);
  border: 1px solid rgba(148, 163, 184, .16);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-view-btn--active{
  background: #0b5ea8;
  border-color: #0b5ea8;
  color: #fff;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-grid{
  background: transparent;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-loading{
  color: #9ab0cb;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card{
  background: rgba(11, 21, 39, .98);
  border-color: rgba(148, 163, 184, .14);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__main-stats{
  background: rgba(148, 163, 184, .08);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__name,
html.bbd-dark body.page-fr-night #frNightHost .fn-big-stat__val{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__score,
html.bbd-dark body.page-fr-night #frNightHost .fn-card__tris,
html.bbd-dark body.page-fr-night #frNightHost .fn-card__min,
html.bbd-dark body.page-fr-night #frNightHost .fn-big-stat__lbl,
html.bbd-dark body.page-fr-night #frNightHost .fn-pill{
  color: #9ab0cb;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__share{
  background: rgba(148, 163, 184, .10);
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__share:hover{
  background: rgba(148, 163, 184, .16);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__clip{
  background: #0b5ea8;
  border-color: rgba(125, 183, 255, .28);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__clip:hover{
  background: #0a4b86;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__shoot{
  color: #9ab0cb;
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table{
  background: rgba(15, 26, 46, .96);
  color: #e5eef9;
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table thead{
  background: rgba(7, 16, 31, .94);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table th{
  color: #8ea2bf;
  border-bottom-color: rgba(148, 163, 184, .12);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table td{
  color: #e5eef9;
  border-bottom-color: rgba(148, 163, 184, .08);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table tbody tr:hover,
html.bbd-dark body.page-fr-night #frNightHost .fr-night-table tbody tr:nth-child(even){
  background: rgba(255,255,255,.03);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table tr.row-fr{
  background: rgba(11, 94, 168, .12);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table tr.row-fr:hover{
  background: rgba(11, 94, 168, .18);
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table .match-cell,
html.bbd-dark body.page-fr-night #frNightHost .fr-night-table .match-res{
  color: #d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table td.pts{
  color: #7db7ff;
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table td.player-cell .pname{
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost .fr-night-table .bbd-card-btn--inline{
  background: #0b5ea8;
}

html.bbd-dark body.page-fr-night .fr-editorial::before{
  background: linear-gradient(90deg, #2563eb 0%, #ffffff 50%, #dc2626 100%);
}

html.bbd-dark body.page-fr-night .fr-editorial{
  margin:18px 0 10px !important;
  padding:16px 20px !important;
  border-radius:14px !important;
  background:
    linear-gradient(135deg, rgba(8,25,55,.96) 0%, rgba(20,40,78,.96) 42%, rgba(58,18,24,.92) 100%) !important;
  border: 1px solid rgba(255,255,255,.10) !important;
  box-shadow:
    0 18px 40px rgba(15,23,42,.14),
    inset 0 1px 0 rgba(255,255,255,.05) !important;
  position:relative !important;
  overflow:hidden !important;
  color:#fff !important;
}

html.bbd-dark body.page-fr-night .fr-editorial::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.26), transparent 32%),
    radial-gradient(circle at top right, rgba(239,68,68,.20), transparent 28%);
  pointer-events:none;
  border-radius:14px !important;
}

html.bbd-dark body.page-fr-night .fr-editorial .line1{
  position:relative;
  z-index:1;
  color:#fff !important;
  font-size:17px !important;
  font-weight:800 !important;
}

html.bbd-dark body.page-fr-night .fr-editorial .line2{
  position:relative;
  z-index:1;
  color:rgba(255,255,255,.82) !important;
  font-size:13px !important;
}

html.bbd-dark body.page-fr-night .fr-night-editorial{
  background: transparent;
  border: 0;
  box-shadow: none;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-inner{
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  padding: 24px 26px 22px;
  background:
    linear-gradient(135deg, rgba(8,25,55,.96) 0%, rgba(20,40,78,.96) 42%, rgba(58,18,24,.92) 100%) !important;
  border: 1px solid rgba(255,255,255,.10);
  box-shadow:
    0 18px 40px rgba(15,23,42,.14),
    inset 0 1px 0 rgba(255,255,255,.05);
}

html.bbd-dark body.page-fr-night .fr-night-editorial-inner::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at top left, rgba(37,99,235,.26), transparent 32%),
    radial-gradient(circle at top right, rgba(239,68,68,.20), transparent 28%);
  pointer-events:none;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-inner::after{
  content:"";
  position:absolute;
  top:0;
  left:0;
  right:0;
  height:4px;
  background: linear-gradient(90deg, #2563eb 0%, #ffffff 50%, #ef4444 100%);
}

html.bbd-dark body.page-fr-night .fr-night-editorial-badge{
  position: relative;
  z-index: 1;
  display:inline-flex;
  align-items:center;
  gap:8px;
  margin-bottom:14px;
  padding:7px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:12px;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

html.bbd-dark body.page-fr-night .fr-night-editorial .line1{
  position: relative;
  z-index: 1;
  margin:0;
  color:#fff;
  font-size: 34px;
  line-height: 1.12;
  font-weight: 950;
  letter-spacing: -.03em;
  max-width: 820px;
}

html.bbd-dark body.page-fr-night .fr-night-editorial .line2{
  position: relative;
  z-index: 1;
  margin:12px 0 0;
  color: rgba(255,255,255,.82);
  font-size: 17px;
  line-height: 1.45;
  font-weight: 600;
  max-width: 760px;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-chips{
  position: relative;
  z-index: 1;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:18px;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.12);
  color:#fff;
  font-size:13px;
  font-weight:800;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night{
  position: relative;
  background: linear-gradient(180deg, rgba(15, 26, 46, .98) 0%, rgba(11, 21, 39, .98) 100%);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 22px;
  box-shadow: 0 12px 30px rgba(2, 6, 23, .18);
  overflow: hidden;
  margin: 14px 0;
  padding: 0;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night::before{
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: 22px;
  padding: 2px;
  background: linear-gradient(90deg, rgba(0,85,164,.55) 0%, rgba(255,255,255,.2) 50%, rgba(239,65,53,.55) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-main{
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: auto;
  padding: 20px 20px 12px;
  background: #142740 !important;
  border-radius: 14px;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .center{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  text-align: center;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .score{
  font-size: 18px;
  font-weight: 950;
  line-height: 1.2;
  margin: 0;
  color: #f8fafc;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .status-chip.pre{
  min-height: 28px;
  padding: 0 12px;
  background: rgba(148, 163, 184, .10);
  color: #edf4ff;
  border: 1px solid rgba(148, 163, 184, .16);
  box-shadow: none;
  letter-spacing: .03em;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .card-details{
  display: none;
  padding: 0 18px 18px;
  border-top: 1px solid rgba(148, 163, 184, .12);
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night.open .card-details{
  display: block;
}

html.bbd-dark body.page-fr-night #frNightHost article.card.fr-night .detail-box{
  background: transparent;
  border: 0;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-left{
  display:flex;
  align-items:center;
  gap:14px;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-flag{
  font-size:40px;
  line-height:1;
  flex:0 0 auto;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-title{
  font-size:20px;
  font-weight:950;
  color:#f8fafc;
  line-height:1.15;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-date{
  font-size:13px;
  color:#9ab0cb;
  margin-top:3px;
  font-weight:500;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-right{
  display:flex;
  align-items:center;
  gap:10px;
  flex-shrink:0;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-count{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:900;
  background:linear-gradient(135deg, #1d4ed8 0%, #dc2626 100%);
  color:#fff;
  padding:5px 14px;
  border-radius:999px;
  white-space:nowrap;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-recap-chip{
  font-size:12px;
  color:#9ab0cb;
  font-weight:600;
  white-space:nowrap;
  background:transparent;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-grid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(268px, 1fr));
  gap:14px;
  padding:6px 0 4px;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-loading,
html.bbd-dark body.page-fr-night #frNightHost .fn-empty{
  border:1px solid rgba(255,255,255,0.08);
  border-radius:8px;
  padding:3px;
  margin-right:8px;
  flex-shrink:0;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card{
  background:#102039 !important;
  border:1px solid rgba(148, 163, 184, .14) !important;
  border-radius:14px;
  padding:12px 12px 10px 16px;
  cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease;
  position:relative;
  overflow:hidden;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card:hover{
  transform:translateY(-2px);
  box-shadow:0 8px 20px rgba(2, 6, 23, .22);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__main-stats{
  display:flex;
  justify-content:space-around;
  padding:8px 6px;
  background:rgba(148, 163, 184, .08);
  border-radius:10px;
  margin-bottom:8px;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__name{
  font-size:.88rem;
  font-weight:800;
  color:#f8fafc;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__score{
  font-size:.75rem;
  color:#d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__min{
  font-size:.72rem;
  color:#9ab0cb;
  margin-top:2px;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__share{
  background:rgba(148, 163, 184, .10);
  color:#d7e3f1;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__share:hover{
  background:rgba(148, 163, 184, .16);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__clip{
  background:#0055A4;
  color:#fff;
  border:1.5px solid rgba(0,85,164,.25);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-card__clip:hover{
  background:#003d7a;
  transform:scale(1.08);
}

html.bbd-dark body.page-fr-night #frNightHost .fn-view-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:26px;
  border:none;
  background:transparent;
  border-radius:5px;
  cursor:pointer;
  color:#9ab0cb;
  transition:background .15s, color .15s;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-view-btn:hover:not(.fn-view-btn--active){
  background: rgba(255,255,255,0.06);
  color:#edf4ff;
}

html.bbd-dark body.page-fr-night #frNightHost .fn-view-btn--active{
  background: rgba(255,255,255,0.12);
  color:#f8fafc;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-wrap{
  width:100%;
  margin: 28px 0 24px;
}

html.bbd-dark body.page-fr-night .fr-night-editorial-wrap .fr-night-editorial{
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 12px;
}

/* ── Françaises cette nuit : dark theme ───────────────────── */
html.bbd-dark body.page-fr-night .fncn-wrap { color: #edf4ff; }
html.bbd-dark body.page-fr-night .fncn-card {
  background: #102039 !important;
  border-color: #2a405c !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.24) !important;
}
html.bbd-dark body.page-fr-night .fncn-card:hover {
  box-shadow: 0 16px 36px rgba(0,0,0,.34) !important;
}
html.bbd-dark body.page-fr-night .fncn-ava {
  background: #142740 !important;
  border-color: #36506e !important;
}
html.bbd-dark body.page-fr-night .fncn-name,
html.bbd-dark body.page-fr-night .fncn-val { color: #f4f8ff !important; }
html.bbd-dark body.page-fr-night .fncn-name:hover,
html.bbd-dark body.page-fr-night .fncn-match-link,
html.bbd-dark body.page-fr-night .fncn-sc-btn { color: #7db7ff !important; }
html.bbd-dark body.page-fr-night .fncn-opp,
html.bbd-dark body.page-fr-night .fncn-result,
html.bbd-dark body.page-fr-night .fncn-min,
html.bbd-dark body.page-fr-night .fncn-lab,
html.bbd-dark body.page-fr-night .fncn-shoot,
html.bbd-dark body.page-fr-night .fncn-dnp-meta,
html.bbd-dark body.page-fr-night .fncn-section,
html.bbd-dark body.page-fr-night .fncn-empty { color: #9eb0c8 !important; }
html.bbd-dark body.page-fr-night .fncn-stats-main,
html.bbd-dark body.page-fr-night .fncn-stat:not(:last-child) { border-color: #2a405c !important; }
html.bbd-dark body.page-fr-night .fncn-chip,
html.bbd-dark body.page-fr-night .fncn-dnp-badge {
  background: #172b45 !important;
  color: #cbd9e9 !important;
}
html.bbd-dark body.page-fr-night .fncn-chip.pm-pos,
html.bbd-dark body.page-fr-night .wl-w {
  background: #123e32 !important;
  color: #72e6ad !important;
}
html.bbd-dark body.page-fr-night .fncn-chip.pm-neg,
html.bbd-dark body.page-fr-night .wl-l {
  background: #4a2530 !important;
  color: #ff9eaa !important;
}
html.bbd-dark body.page-fr-night .fncn-sc-btn {
  background: rgba(94,169,255,.14) !important;
  border-color: rgba(125,183,255,.28) !important;
}
html.bbd-dark body.page-fr-night .fncn-dnp:hover { background: #172b45 !important; }
html.bbd-dark body.page-fr-night .fncn-dnp-ava { background: #142740 !important; }
