:root {
  --cyan: #00ffc8;
  --encre: #042018;
  --fond: #151d24;
  --nef-teinte: #12181e;
  --rose: #ff2d6a;
  --panneau: #171e26;
  --ligne: #2a333c;
  --texte: #e8eef0;
  --muted: #8aa0a4;
  --rayon: 14px;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-bottom: 88px; }
body {
  margin: 0;
  background: var(--fond);
  color: var(--texte);
  font: 15px/1.5 "Segoe UI", system-ui, sans-serif;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
button, input { font: inherit; color: inherit; }
.porche {
  position: sticky;
  top: 0;
  z-index: 40;
  height: 64px;
  margin-left: 248px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 18px;
  background: rgba(12, 16, 20, .94);
  border-bottom: 1px solid var(--ligne);
  backdrop-filter: blur(8px);
}
.loquet {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.loquet svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.enseigne { display: flex; align-items: center; margin-right: auto; }
.enseigne img { height: 28px; width: auto; display: block; }
.porche-actes { display: flex; align-items: center; gap: 8px; }
.lucarne, .lien-entrer, .lien-ouvrir {
  border: 0;
  cursor: pointer;
  background: transparent;
}
.lucarne {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.lucarne svg { width: 20px; height: 20px; stroke: #d7e0e3; fill: none; stroke-width: 2; }
.lien-entrer {
  color: #fff;
  padding: 8px 10px;
  font-weight: 650;
}
.lien-ouvrir, .bouton-plein {
  background: var(--cyan);
  color: var(--encre);
  font-weight: 750;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
}
.tamis {
  position: absolute;
  left: 248px;
  right: 18px;
  top: 70px;
  z-index: 45;
}
.tamis input {
  width: min(420px, 100%);
  margin-left: auto;
  display: block;
  background: #1c252e;
  border: 1px solid var(--ligne);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
}
.tamis input:focus { border-color: var(--cyan); }
.nef {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  overflow: auto;
  background: var(--nef-teinte);
  border-right: 1px solid var(--ligne);
  z-index: 50;
  padding: 12px 12px 96px;
}
.hallage { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.carton {
  min-height: 72px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.15;
}
.carton span { font-size: 12px; opacity: .85; }
.carton strong { font-size: 15px; }
.carton.pack { background: #00ffc8; color: var(--encre); }
.carton.cash { background: #0a3d38; color: #c8fff4; }
.carton.club { grid-column: 1 / -1; background: linear-gradient(90deg, #0c2a2c, #12444a); color: #fff; min-height: 58px; border: 1px solid #1a6a68; }
.rayon {
  margin: 16px 8px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7a8a90;
  font-weight: 700;
}
.nef a.allee {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #d5dde0;
  font-size: 13.5px;
}
.nef a.allee:hover, .nef a.allee.courant { background: #1c2630; color: #fff; }
.grain {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--cyan);
  flex: 0 0 auto;
}
.voile { display: none; }
.parvis { margin-left: 248px; padding: 22px 22px 120px; }
.parvis h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.chapiteau { margin: 0 0 4px; color: var(--muted); }
.eventaire { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.dalle-halle {
  position: relative;
  height: 112px;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #171717;
  border: 2px solid var(--rose);
}
.dalle-halle strong { position: relative; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.1; }
.dalle-halle img {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.dalle-halle.sport { background-image: linear-gradient(252deg, #00ffc8, rgba(23,23,23,0) 85%); }
.dalle-halle.esport { background-image: linear-gradient(252deg, #00aafd, rgba(23,23,23,0) 89%); }
.dalle-halle.casino { background-image: linear-gradient(252deg, #ff2d6a, rgba(23,23,23,0) 93%); }
.dalle-halle.aviator { background-image: linear-gradient(252deg, #ff8a1a, rgba(23,23,23,0) 93%); }
.couple { display: grid; grid-template-columns: 1.45fr .9fr; gap: 12px; margin-bottom: 22px; }
.etabli {
  background: var(--panneau);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 22px;
}
.etabli h2 { margin: 0 0 8px; font-size: 22px; }
.etabli p { margin: 0 0 16px; color: #c5cfd4; }
.filet {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 12px;
}
.filet h2 { margin: 0; font-size: 20px; }
.filet .compte { color: var(--muted); font-size: 13px; }
.filet a { margin-left: auto; color: var(--cyan); font-weight: 700; font-size: 14px; }
.tapis-jeux {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  grid-auto-columns: 148px;
  gap: 16px 12px;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: thin;
  padding-bottom: 6px;
}
.tapis-jeux::-webkit-scrollbar { height: 8px; }
.tapis-jeux::-webkit-scrollbar-thumb { background: #2c3842; border-radius: 8px; }
.tapis-jeux.filtre-actif {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.jaquette { position: relative; width: 148px; }
.jaquette img {
  width: 148px;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a222a;
}
.jaquette figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 32px;
}
.calque-j {
  position: absolute;
  left: 0; right: 0; top: 0;
  height: 198px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(6, 16, 12, .45);
  opacity: 0;
  transition: opacity .15s ease;
}
.jaquette:hover .calque-j, .jaquette:focus-within .calque-j { opacity: 1; }
.prose-halle { max-width: 860px; margin-top: 28px; }
.prose-halle h2 { font-size: 22px; margin: 28px 0 8px; }
.prose-halle p, .prose-halle li { color: #d5dde0; }
.prose-halle a { color: var(--cyan); }
.bandes { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 14px; }
.bandes th, .bandes td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--ligne); }
.bandes th { color: #9aa6ab; font-weight: 650; }
.pli {
  width: 100%;
  text-align: left;
  background: #171e26;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 12px 14px;
  margin-top: 8px;
  cursor: pointer;
  font-weight: 650;
}
.pli-corps { padding: 8px 4px 4px; color: #d5dde0; }
.date-releve { color: var(--muted); font-size: 13px; }
.soubassement {
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid var(--ligne);
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 18px;
  align-items: start;
}
.soubassement h2 { margin: 0 0 6px; font-size: 18px; }
.soubassement p { margin: 0 0 4px; color: #c9d3d6; }
.carte { border: 0; width: 100%; height: 220px; border-radius: 12px; background: #1a222a; }
.ligne-legale { grid-column: 1 / -1; color: var(--muted); font-size: 13px; }
.ligne-legale a { color: var(--cyan); margin-right: 12px; }
.seuil {
  position: fixed;
  left: 248px;
  right: 0;
  bottom: 0;
  z-index: 35;
  display: flex;
  justify-content: center;
  padding: 10px 16px;
  background: rgba(12, 16, 20, .96);
  border-top: 1px solid var(--ligne);
}
.seuil a { min-width: min(280px, 100%); text-align: center; }
@media (max-width: 980px) {
  .loquet { display: grid; }
  .lien-entrer { display: none; }
  .porche, .parvis, .seuil { margin-left: 0; left: 0; }
  .tamis { left: 12px; }
  .nef { transform: translateX(-105%); transition: transform .2s ease; }
  body.nef-ouverte .nef { transform: none; }
  body.nef-ouverte .voile { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; }
  .eventaire, .couple, .soubassement { grid-template-columns: 1fr 1fr; }
  .dalle-halle { height: 96px; }
  .dalle-halle strong { font-size: 16px; }
  .dalle-halle img { width: 96px; height: 96px; top: 0; right: -4px; }
  .couple, .soubassement { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .eventaire { grid-template-columns: 1fr 1fr; }
  .parvis { padding: 16px 14px 120px; }
  .parvis h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .nef, .calque-j { transition: none; }
}

.appel { margin: 20px 0; }
.prose-halle a.bouton-plein {
  color: var(--encre) !important;
  background: var(--cyan);
  font-weight: 750;
  display: inline-block;
  padding: 10px 18px;
  border-radius: 10px;
  text-decoration: none;
}
.prose-halle a.bouton-plein:hover {
  filter: brightness(1.08);
  text-decoration: none;
}
.prose-halle ul, .prose-halle ol {
  padding-left: 22px;
  margin: 12px 0 18px;
}
.prose-halle li {
  margin-bottom: 8px;
  line-height: 1.6;
}
.prose-halle p {
  line-height: 1.65;
  margin: 14px 0;
}

/* Encadre visuel */
.cadre-media {
  margin: 28px 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #11191d;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);
  transition: transform 0.2s ease, border-color 0.2s ease;
}
.cadre-media:hover {
  border-color: rgba(0, 255, 200, 0.35);
  transform: translateY(-2px);
}
.cadre-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}
.cadre-media figcaption {
  padding: 11px 18px;
  font-size: 13.5px;
  color: #a4b8bc;
  background: #141c23;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}
.cadre-media figcaption::before {
  content: 📸;
  font-size: 15px;
}

/* Tableaux a lignes separees */
.tableau-flotte {
  width: 100%;
  overflow-x: auto;
  margin: 24px 0 30px;
  -webkit-overflow-scrolling: touch;
}
.tableau-flotte table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0 7px;
  font-size: 14px;
  min-width: 520px;
}
.tableau-flotte thead th {
  background: #0d3d38;
  color: #ffffff;
  font-weight: 700;
  text-align: left;
  padding: 12px 14px;
  letter-spacing: 0.02em;
}
.tableau-flotte thead th:first-child {
  border-radius: 8px 0 0 8px;
}
.tableau-flotte thead th:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-flotte tbody tr {
  background: #141b22;
  transition: background 0.15s ease, transform 0.15s ease;
}
.tableau-flotte tbody tr:nth-child(even) {
  background: #18222b;
}
.tableau-flotte tbody tr:hover {
  background: #1d2b36;
}
.tableau-flotte tbody td {
  padding: 12px 14px;
  color: #d1dee0;
  border-top: 1px solid rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.25);
  vertical-align: middle;
}
.tableau-flotte tbody td:first-child {
  border-radius: 8px 0 0 8px;
  font-weight: 650;
  color: #ffffff;
}
.tableau-flotte tbody td:last-child {
  border-radius: 0 8px 8px 0;
}
.tableau-flotte td strong {
  color: var(--cyan);
}

/* Style des puces vertes dans .prose-halle */
.prose-halle ul {
  list-style: none !important;
  padding-left: 0 !important;
}
.prose-halle ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
  line-height: 1.6;
}
.prose-halle ul li::before {
  content: "•";
  position: absolute;
  left: 6px;
  top: -2px;
  color: var(--cyan);
  font-size: 22px;
  line-height: 1;
}

/* --- ENCARTS AVIS JOUEURS EEAT --- */
.tribune-avis {
  margin: 18px 0 24px;
  padding: 16px;
  background: linear-gradient(180deg, #162029 0%, #101820 100%);
  border: 1px solid var(--ligne);
  border-radius: 14px;
}
.tribune-tete {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--ligne);
  margin-bottom: 14px;
}
.tribune-note-bloc {
  display: flex;
  align-items: center;
  gap: 12px;
}
.tribune-chiffre {
  font-size: 30px;
  font-weight: 800;
  color: var(--cyan);
  line-height: 1;
}
.tribune-etoiles {
  color: #ffb703;
  font-size: 15px;
  letter-spacing: 2px;
}
.tribune-legende {
  font-size: 12px;
  color: var(--muted);
  margin-top: 2px;
}
.tribune-gages {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.gage-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 255, 200, 0.08);
  border: 1px solid rgba(0, 255, 200, 0.25);
  color: #d5dde0;
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.gage-item .gage-coche {
  color: var(--cyan);
  font-weight: 800;
}
.grille-avis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.carte-avis {
  background: #17222b;
  border: 1px solid var(--ligne);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.carte-avis:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 255, 200, 0.4);
}
.carte-avis-tete {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.carte-avis-avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #22303c;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  border: 1px solid rgba(0, 255, 200, 0.3);
  flex-shrink: 0;
}
.carte-avis-profil {
  flex: 1;
  min-width: 0;
}
.carte-avis-nom {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.badge-verif {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  background: rgba(0, 255, 200, 0.15);
  color: var(--cyan);
  font-size: 10.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 200, 0.35);
}
.carte-avis-date {
  font-size: 11px;
  color: var(--muted);
}
.carte-avis-note {
  color: #ffb703;
  font-size: 13px;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.carte-avis-titre {
  font-size: 13px;
  font-weight: 700;
  color: #f1f5f3;
  margin: 0 0 6px;
  line-height: 1.35;
}
.carte-avis-texte {
  font-size: 12px;
  line-height: 1.55;
  color: #c5d0c9;
  margin: 0 0 10px;
  flex: 1;
}
.carte-avis-pied {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  padding-top: 8px;
  border-top: 1px dashed var(--ligne);
  font-size: 10.5px;
  color: var(--muted);
}
.etiquette-avis {
  background: #0f161c;
  border: 1px solid var(--ligne);
  padding: 2px 7px;
  border-radius: 4px;
  color: #9aa6ab;
}
@media (max-width: 900px) {
  .grille-avis {
    grid-template-columns: 1fr;
  }
}

/* Bilans / Tableaux Pro-Con EEAT */
.bilan-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 18px 0 24px;
}
.bloc-forces, .bloc-faiblesses {
  padding: 16px;
  border-radius: 12px;
}
.bloc-forces {
  background: rgba(0, 255, 200, 0.05);
  border: 1px solid rgba(0, 255, 200, 0.25);
}
.bloc-faiblesses {
  background: rgba(255, 45, 106, 0.05);
  border: 1px solid rgba(255, 45, 106, 0.25);
}
.bloc-forces h3 {
  color: var(--cyan);
  margin: 0 0 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bloc-faiblesses h3 {
  color: #ff5c8a;
  margin: 0 0 10px;
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.bloc-forces ul, .bloc-faiblesses ul {
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
}
.bloc-forces li, .bloc-faiblesses li {
  font-size: 13.5px;
  line-height: 1.5;
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px !important;
}
.bloc-forces li::before {
  content: "✓" !important;
  position: absolute;
  left: 0;
  top: 0;
  color: var(--cyan) !important;
  font-weight: 800;
  font-size: 14px !important;
}
.bloc-faiblesses li::before {
  content: "✕" !important;
  position: absolute;
  left: 0;
  top: 0;
  color: #ff5c8a !important;
  font-weight: 800;
  font-size: 14px !important;
}
@media (max-width: 640px) {
  .bilan-points {
    grid-template-columns: 1fr;
  }
}

.date-maj {
  font-size: 13px;
  color: var(--muted);
  margin: -10px 0 18px;
  font-style: italic;
}
.cta-wrap {
  margin: 26px 0;
  text-align: center;
}
.cta-wrap a.bouton-plein {
  font-size: 15px;
  padding: 12px 26px;
}
