:root {
  --vert: #1ed760;
  --encre: #06210f;
  --fond: #0c1014;
  --flanc: #12181e;
  --panneau: #171e26;
  --ligne: #2a333c;
  --texte: #e8eeea;
  --muted: #93a099;
  --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; }
.fronton {
  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);
}
.menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  padding: 8px;
  cursor: pointer;
}
.menu-btn svg { width: 22px; height: 22px; stroke: #fff; fill: none; stroke-width: 2; }
.marque { display: flex; align-items: center; margin-right: auto; }
.marque img { height: 28px; width: auto; display: block; }
.fronton-actions { display: flex; align-items: center; gap: 8px; }
.loupe, .entrer, .ouvrir {
  border: 0;
  cursor: pointer;
  background: transparent;
}
.loupe {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: grid;
  place-items: center;
}
.loupe svg { width: 20px; height: 20px; stroke: #d7e0da; fill: none; stroke-width: 2; }
.entrer {
  color: #fff;
  padding: 8px 10px;
  font-weight: 650;
}
.ouvrir, .plein {
  background: var(--vert);
  color: var(--encre);
  font-weight: 750;
  border-radius: 10px;
  padding: 10px 16px;
  display: inline-block;
}
.recherche {
  position: absolute;
  left: 248px;
  right: 18px;
  top: 70px;
  z-index: 45;
}
.recherche 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;
}
.recherche input:focus { border-color: var(--vert); }
.flanc {
  position: fixed;
  inset: 0 auto 0 0;
  width: 248px;
  overflow: auto;
  background: var(--flanc);
  border-right: 1px solid var(--ligne);
  z-index: 50;
  padding: 12px 12px 96px;
}
.offres { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.offre {
  min-height: 72px;
  border-radius: 12px;
  padding: 10px 10px 8px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  line-height: 1.15;
}
.offre span { font-size: 12px; opacity: .85; }
.offre strong { font-size: 15px; }
.offre.pack { background: #1ed760; color: var(--encre); }
.offre.cash { background: #123d28; color: #d8ffe8; }
.offre.club { grid-column: 1 / -1; background: linear-gradient(90deg, #10261c, #1a3d2c); color: #fff; min-height: 58px; border: 1px solid #1f5a38; }
.chapitre {
  margin: 16px 8px 6px;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #7d8982;
  font-weight: 700;
}
.flanc a.sentier {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 8px;
  border-radius: 8px;
  color: #d5ddd8;
  font-size: 13.5px;
}
.flanc a.sentier:hover, .flanc a.sentier.courant { background: #1c2630; color: #fff; }
.puce {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vert);
  flex: 0 0 auto;
}
.rideau { display: none; }
.scene { margin-left: 248px; padding: 22px 22px 120px; }
.scene h1 { margin: 0 0 4px; font-size: 28px; letter-spacing: -.02em; }
.chapeau { margin: 0 0 4px; color: var(--muted); }
.dalles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 18px 0; }
.dalle {
  position: relative;
  height: 112px;
  border-radius: 12px;
  padding: 12px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: #fff;
  background-color: #171717;
}
.dalle strong { position: relative; z-index: 1; font-size: 20px; font-weight: 700; line-height: 1.1; }
.dalle img {
  position: absolute;
  right: -6px;
  top: -8px;
  width: 128px;
  height: 128px;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
}
.dalle.sport { background-image: linear-gradient(252deg, #1ed760, rgba(23,23,23,0) 85%); }
.dalle.mini { background-image: linear-gradient(252deg, #2e7bd7, rgba(23,23,23,0) 89%); }
.dalle.live { background-image: linear-gradient(252deg, #df1818, rgba(23,23,23,0) 93%); }
.dalle.exclu { background-image: linear-gradient(252deg, #e82375, rgba(23,23,23,0) 93%); }
.duo { display: grid; grid-template-columns: 1.45fr .9fr; gap: 12px; margin-bottom: 22px; }
.panneau {
  background: var(--panneau);
  border: 1px solid var(--ligne);
  border-radius: 16px;
  padding: 22px;
}
.panneau h2 { margin: 0 0 8px; font-size: 22px; }
.panneau p { margin: 0 0 16px; color: #c5d0c9; }
.file {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin: 8px 0 12px;
}
.file h2 { margin: 0; font-size: 20px; }
.file .compte { color: var(--muted); font-size: 13px; }
.file a { margin-left: auto; color: var(--vert); font-weight: 700; font-size: 14px; }
.tapis {
  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::-webkit-scrollbar { height: 8px; }
.tapis::-webkit-scrollbar-thumb { background: #2c3842; border-radius: 8px; }
.tapis.filtre-actif {
  display: flex;
  flex-wrap: wrap;
  overflow: visible;
}
.jeton { position: relative; width: 148px; }
.jeton img {
  width: 148px;
  height: 198px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
  background: #1a222a;
}
.jeton figcaption {
  margin-top: 6px;
  font-size: 12.5px;
  line-height: 1.3;
  min-height: 32px;
}
.calque {
  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;
}
.jeton:hover .calque, .jeton:focus-within .calque { opacity: 1; }
.prose { max-width: 860px; margin-top: 28px; }
.prose h2 { font-size: 22px; margin: 28px 0 8px; }
.prose p, .prose li { color: #d5ddd8; }
.prose a { color: var(--vert); }
.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: #9aa69f; font-weight: 650; }
.question {
  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;
}
.reponse { padding: 8px 4px 4px; color: #d5ddd8; }
.date-maj { color: var(--muted); font-size: 13px; }
.assise {
  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;
}
.assise h2 { margin: 0 0 6px; font-size: 18px; }
.assise p { margin: 0 0 4px; color: #c9d3cd; }
.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(--vert); margin-right: 12px; }
.liseret {
  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);
}
.liseret a { min-width: min(280px, 100%); text-align: center; }
@media (max-width: 980px) {
  .menu-btn { display: grid; }
  .entrer { display: none; }
  .fronton, .scene, .liseret { margin-left: 0; left: 0; }
  .recherche { left: 12px; }
  .flanc { transform: translateX(-105%); transition: transform .2s ease; }
  body.tiroir-ouvert .flanc { transform: none; }
  body.tiroir-ouvert .rideau { display: block; position: fixed; inset: 0; background: rgba(0,0,0,.55); z-index: 45; }
  .dalles, .duo, .assise { grid-template-columns: 1fr 1fr; }
  .dalle { height: 96px; }
  .dalle strong { font-size: 16px; }
  .dalle img { width: 96px; height: 96px; top: 0; right: -4px; }
  .duo, .assise { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .dalles { grid-template-columns: 1fr 1fr; }
  .scene { padding: 16px 14px 120px; }
  .scene h1 { font-size: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .flanc, .calque { transition: none; }
}

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

/* Illustrations captures d ecran officielles Betify */
.prose-media {
  margin: 28px 0;
  padding: 0;
  border-radius: 14px;
  overflow: hidden;
  background: #11171d;
  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;
}
.prose-media:hover {
  border-color: rgba(30, 215, 96, 0.35);
  transform: translateY(-2px);
}
.prose-media img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px 14px 0 0;
  object-fit: cover;
}
.prose-media figcaption {
  padding: 11px 18px;
  font-size: 13.5px;
  color: #a4b8ad;
  background: #141c23;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1.45;
}
.prose-media figcaption::before {
  content: 📸;
  font-size: 15px;
}

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

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