:root {
  --navy:      #0d1b2a;
  --navy2:     #1b2b3b;
  --blue:      #1d4ed8;
  --gold:      #f59e0b;
  --gold-lt:   #fcd34d;
  --white:     #ffffff;
  --off-white: #f8fafc;
  --gray-100:  #f1f5f9;
  --gray-200:  #e2e8f0;
  --gray-400:  #94a3b8;
  --gray-600:  #475569;
  --gray-800:  #1e293b;
  --green:     #10b981;
  --green-lt:  #d1fae5;
  --red:       #ef4444;
  --red-lt:    #fee2e2;
  --radius:    14px;
  --radius-sm: 8px;
  --shadow:    0 4px 24px rgba(0,0,0,.15);
  --font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--navy);
  color: var(--white);
  min-height: 100dvh;
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

/* ── Header ── */
.app-header {
  background: rgba(13,27,42,.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0 1rem;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.logo {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -.5px;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.logo-icon { font-size: 1.4rem; }

/* ── Layout ── */
.main-content { padding: 1.5rem 1rem 4rem; max-width: 540px; margin: 0 auto; }

/* ── Hero ── */
.hero {
  text-align: center;
  padding: 2.5rem 1rem 2rem;
}
.hero-emoji { font-size: 3.5rem; line-height: 1; margin-bottom: .75rem; }
.hero h1 {
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 900;
  letter-spacing: -1.5px;
  line-height: 1.1;
}
.hero h1 span { color: var(--gold); }
.hero p {
  color: var(--gray-400);
  margin-top: .6rem;
  font-size: 1rem;
}
.hero-badges {
  display: flex;
  gap: .5rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}
.badge {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 99px;
  padding: .3rem .8rem;
  font-size: .75rem;
  font-weight: 600;
  color: var(--gray-400);
  letter-spacing: .02em;
}
.badge-green { background: rgba(16,185,129,.15); border-color: rgba(16,185,129,.3); color: #6ee7b7; }

/* ── Cards ── */
.card {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  margin-bottom: 1rem;
}
.card-dark {
  background: var(--navy2);
  color: var(--white);
  border: 1px solid rgba(255,255,255,.08);
}

/* ── Forms ── */
.form-group { margin-bottom: 1rem; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem;
  color: var(--gray-600);
}
.card-dark .form-group label { color: var(--gray-400); }

input[type=text],
input[type=number],
input[type=datetime-local],
textarea,
select {
  width: 100%;
  background: var(--gray-100);
  border: 2px solid var(--gray-200);
  border-radius: var(--radius-sm);
  padding: .7rem .9rem;
  font-size: 1rem;
  font-family: var(--font);
  color: var(--gray-800);
  transition: border-color .15s;
  -webkit-appearance: none;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: var(--blue);
  background: var(--white);
}
textarea { resize: vertical; min-height: 70px; }

/* Mise slider */
.mise-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.mise-value {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  min-width: 3.5rem;
  text-align: right;
  white-space: nowrap;
}
input[type=range] {
  -webkit-appearance: none;
  flex: 1;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--gold) var(--pct, 22%), var(--gray-200) 0);
  border: none;
  padding: 0;
}
input[type=range]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,.2);
}
input[type=range]::-moz-range-thumb {
  width: 22px; height: 22px;
  border: none;
  border-radius: 50%;
  background: var(--gold);
  cursor: pointer;
}

/* Toggle switch */
.toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--gray-100);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  border: 2px solid var(--gray-200);
}
.toggle-wrap span { font-size: .95rem; color: var(--gray-600); font-weight: 500; }
.toggle { position: relative; display: inline-block; width: 46px; height: 26px; flex-shrink: 0; }
.toggle input { opacity: 0; width: 0; height: 0; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--gray-400);
  border-radius: 13px;
  transition: .25s;
  cursor: pointer;
}
.toggle-slider::before {
  content: '';
  position: absolute;
  width: 20px; height: 20px;
  left: 3px; top: 3px;
  background: white;
  border-radius: 50%;
  transition: .25s;
}
.toggle input:checked + .toggle-slider { background: var(--green); }
.toggle input:checked + .toggle-slider::before { transform: translateX(20px); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .85rem 1.5rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: transform .1s, opacity .15s;
  font-family: var(--font);
  letter-spacing: .01em;
  text-align: center;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

.btn-primary {
  background: var(--gold);
  color: var(--navy);
  width: 100%;
  font-size: 1.1rem;
  padding: 1rem;
  box-shadow: 0 4px 18px rgba(245,158,11,.4);
}
.btn-primary:hover { opacity: .92; }

.btn-blue {
  background: var(--blue);
  color: white;
  width: 100%;
}
.btn-blue:hover { opacity: .9; }

.btn-danger {
  background: var(--red);
  color: white;
  width: 100%;
}
.btn-outline {
  background: transparent;
  border: 2px solid var(--gray-200);
  color: var(--gray-600);
  font-size: .9rem;
  padding: .6rem 1rem;
}
.btn-outline:hover { background: var(--gray-100); }

.btn-passe {
  background: transparent;
  border: 2px solid rgba(255,255,255,.12);
  color: var(--gray-400);
  width: 100%;
  margin-top: .5rem;
  font-size: .9rem;
}
.btn-passe:hover { background: rgba(255,255,255,.05); color: var(--white); }

/* ── Section titles ── */
.section-title {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  margin-bottom: .8rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,.1);
}

/* ── Bet info card ── */
.pari-header {
  background: linear-gradient(135deg, var(--navy2) 0%, #1a3050 100%);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  margin-bottom: 1rem;
}
.pari-titre {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -.5px;
  margin-bottom: .4rem;
}
.pari-meta {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-top: .8rem;
}
.pari-meta-item {
  display: flex;
  align-items: center;
  gap: .3rem;
  font-size: .82rem;
  color: var(--gray-400);
  background: rgba(255,255,255,.06);
  border-radius: 6px;
  padding: .3rem .6rem;
}
.mise-highlight {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

/* ── Participants list ── */
.participants-list { display: flex; flex-direction: column; gap: .5rem; }
.participant-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .75rem 1rem;
  background: var(--off-white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--gray-200);
}
.participant-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), #6366f1);
  color: white;
  font-size: 1rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.participant-info { flex: 1; min-width: 0; }
.participant-nom { font-weight: 700; font-size: .95rem; color: var(--gray-800); }
.participant-prono {
  font-size: .82rem;
  color: var(--gray-600);
  margin-top: .1rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.participant-badge {
  font-size: .7rem;
  font-weight: 700;
  padding: .2rem .5rem;
  border-radius: 99px;
  background: rgba(245,158,11,.15);
  color: var(--gold);
  border: 1px solid rgba(245,158,11,.3);
  white-space: nowrap;
}
.participant-prono.passe { color: var(--gray-400) !important; font-style: italic; }
.passe-badge {
  background: rgba(255,255,255,.06) !important;
  color: var(--gray-400) !important;
  border-color: rgba(255,255,255,.1) !important;
}
.participant-item.passe-item { opacity: .7; }

.participant-item.gagnant {
  background: var(--green-lt);
  border-color: rgba(16,185,129,.4);
}
.participant-item.gagnant .participant-avatar {
  background: linear-gradient(135deg, var(--green), #059669);
}

/* ── Share section ── */
.share-box {
  background: var(--navy2);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.share-url {
  background: rgba(0,0,0,.3);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .82rem;
  color: var(--gray-400);
  word-break: break-all;
  margin-bottom: .75rem;
  font-family: monospace;
}
.share-btns { display: flex; gap: .5rem; }
.share-btns .btn { flex: 1; font-size: .85rem; padding: .65rem .5rem; }

/* ── QR code ── */
#qrcode-wrap {
  display: none;
  justify-content: center;
  margin-top: 1rem;
}
#qrcode-wrap.visible { display: flex; }
#qrcode { background: white; padding: .75rem; border-radius: 8px; }

/* ── Status banner ── */
.status-banner {
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: .6rem;
}
.status-ouvert { background: rgba(16,185,129,.15); border: 1px solid rgba(16,185,129,.3); color: #6ee7b7; }
.status-termine { background: rgba(239,68,68,.12); border: 1px solid rgba(239,68,68,.3); color: #fca5a5; }

/* ── Countdown ── */
.countdown {
  text-align: center;
  padding: .8rem;
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
}
.countdown-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); font-weight: 800; }
.countdown-time { font-size: 1.5rem; font-weight: 900; color: var(--white); letter-spacing: -1px; }

/* ── Pot info ── */
.pot-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(245,158,11,.15), rgba(245,158,11,.05));
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius);
  padding: 1.2rem;
  margin-bottom: 1rem;
}
.pot-label { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--gold); font-weight: 800; }
.pot-amount { font-size: 2.5rem; font-weight: 900; color: var(--gold); line-height: 1.1; }
.pot-sub { font-size: .82rem; color: var(--gray-400); margin-top: .2rem; }

/* ── Toast ── */
.toast {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(120px);
  background: var(--gray-800);
  color: white;
  padding: .75rem 1.5rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: .9rem;
  z-index: 999;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
  white-space: nowrap;
  box-shadow: 0 8px 32px rgba(0,0,0,.3);
}
.toast.visible { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--green); }
.toast.error { background: var(--red); }

/* ── Error/Success alert ── */
.alert {
  border-radius: var(--radius-sm);
  padding: .9rem 1rem;
  margin-bottom: 1rem;
  font-size: .9rem;
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: .5rem;
}
.alert-error { background: var(--red-lt); color: #b91c1c; border-left: 3px solid var(--red); }
.alert-success { background: var(--green-lt); color: #065f46; border-left: 3px solid var(--green); }

/* ── Spinner ── */
.spinner {
  display: inline-block;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.3);
  border-top-color: white;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Divider ── */
.divider {
  display: flex; align-items: center; gap: .75rem;
  font-size: .75rem; font-weight: 700; color: var(--gray-400);
  text-transform: uppercase; letter-spacing: .06em;
  margin: 1.2rem 0;
}
.divider::before, .divider::after {
  content: ''; flex: 1; height: 1px; background: rgba(255,255,255,.1);
}

/* ── Resultats gagnants ── */
.gagnants-box {
  background: linear-gradient(135deg, rgba(16,185,129,.15), rgba(16,185,129,.05));
  border: 1px solid rgba(16,185,129,.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}
.gagnants-emoji { font-size: 3rem; }
.gagnants-titre { font-size: 1.2rem; font-weight: 900; color: #6ee7b7; margin: .5rem 0; }
.gagnants-gain {
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
}

/* ── Empty state ── */
.empty-state {
  text-align: center;
  padding: 2rem 1rem;
  color: var(--gray-400);
}
.empty-state-icon { font-size: 2.5rem; margin-bottom: .5rem; }

/* ── Admin specifics ── */
.admin-banner {
  background: linear-gradient(135deg, rgba(99,102,241,.15), rgba(99,102,241,.05));
  border: 1px solid rgba(99,102,241,.3);
  border-radius: var(--radius-sm);
  padding: .8rem 1rem;
  margin-bottom: 1rem;
  font-size: .85rem;
  color: #a5b4fc;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: .5rem;
}

/* ── Footer ── */
.app-footer {
  background: var(--navy2);
  border-top: 1px solid rgba(255,255,255,.07);
  padding: 2rem 1rem;
  text-align: center;
  color: var(--gray-400);
  font-size: .8rem;
}
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: .25rem .75rem;
  margin-bottom: .8rem;
}
.footer-links a {
  color: var(--gray-400);
  transition: color .15s;
}
.footer-links a:hover { color: var(--white); }
.footer-sep { color: rgba(255,255,255,.2); }
.footer-brand { margin-top: .4rem; font-size: .75rem; }
.footer-brand strong { color: var(--gray-400); }
.footer-no-money {
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  margin: .6rem auto 0;
  background: rgba(16,185,129,.1);
  border: 1px solid rgba(16,185,129,.25);
  border-radius: 99px;
  padding: .3rem .8rem;
  color: #6ee7b7;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .03em;
}

/* ── Hamburger menu ── */
.hamburger-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: flex-end;
}
.hamburger-btn span {
  display: block;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: width .2s, transform .25s, opacity .2s;
}
.hamburger-btn span:nth-child(1) { width: 22px; }
.hamburger-btn span:nth-child(2) { width: 16px; }
.hamburger-btn span:nth-child(3) { width: 22px; }
.hamburger-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.hamburger-btn.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

.nav-drawer {
  position: fixed;
  top: 56px;
  right: 0;
  width: min(280px, 85vw);
  height: calc(100dvh - 56px);
  background: var(--navy2);
  border-left: 1px solid rgba(255,255,255,.08);
  z-index: 99;
  transform: translateX(100%);
  transition: transform .25s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  padding: 1.5rem 0;
  overflow-y: auto;
}
.nav-drawer.open { transform: translateX(0); }

.nav-drawer-overlay {
  position: fixed;
  inset: 56px 0 0 0;
  background: rgba(0,0,0,.5);
  z-index: 98;
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s;
}
.nav-drawer-overlay.open { opacity: 1; pointer-events: auto; }

.nav-drawer-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.5rem;
  color: var(--white);
  font-size: .95rem;
  font-weight: 500;
  border-left: 3px solid transparent;
  transition: background .15s, border-color .15s;
  text-decoration: none;
}
.nav-drawer-item:hover { background: rgba(255,255,255,.05); }
.nav-drawer-item.active { border-left-color: var(--gold); color: var(--gold); }
.nav-drawer-item-icon { font-size: 1.1rem; width: 1.5rem; text-align: center; flex-shrink: 0; }

.nav-drawer-section {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gray-400);
  padding: 1rem 1.5rem .4rem;
}
.nav-drawer-sep {
  height: 1px;
  background: rgba(255,255,255,.07);
  margin: .5rem 1.5rem;
}

/* ── Legal pages ── */
.legal-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
}
.legal-icon { font-size: 2.5rem; margin-bottom: .5rem; }
.legal-hero h1 {
  font-size: clamp(1.3rem, 5vw, 1.8rem);
  font-weight: 900;
  letter-spacing: -.5px;
  line-height: 1.2;
}
.legal-date { color: var(--gray-400); font-size: .82rem; margin-top: .4rem; }

.legal-alert {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  background: rgba(245,158,11,.1);
  border: 1px solid rgba(245,158,11,.25);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  margin-bottom: 1.2rem;
  color: #fde68a;
  font-size: .9rem;
  line-height: 1.5;
}
.legal-alert-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: .05rem; }

.legal-card {
  background: var(--white);
  color: var(--gray-800);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: .8rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
}
.legal-card h2 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .7rem;
  padding-bottom: .5rem;
  border-bottom: 2px solid var(--gray-200);
}
.legal-card h3 { font-size: .95rem; }
.legal-card p { font-size: .88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: .6rem; }
.legal-card p:last-child { margin-bottom: 0; }
.legal-card ul { padding-left: 1.2rem; margin: .5rem 0; }
.legal-card ul li { font-size: .88rem; color: var(--gray-600); line-height: 1.7; margin-bottom: .25rem; }
.legal-card a { color: var(--blue); text-decoration: underline; }

.legal-highlight {
  background: rgba(245,158,11,.06);
  border-left: 3px solid var(--gold);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: .8rem 1rem;
  margin: .5rem 0;
}
.legal-highlight p, .legal-highlight li { color: var(--gray-700) !important; }

/* ── Contact page ── */
.contact-cards { display: flex; flex-direction: column; gap: .75rem; margin-bottom: 1rem; }
.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.1rem 1.2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  color: var(--gray-800);
}
.contact-card-link { transition: transform .1s; cursor: pointer; }
.contact-card-link:hover { transform: scale(1.01); }
.contact-card-icon { font-size: 1.8rem; flex-shrink: 0; }
.contact-card-body { flex: 1; min-width: 0; }
.contact-card-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--gray-400); }
.contact-card-value { font-size: 1rem; font-weight: 700; color: var(--gray-800); margin-top: .1rem; }
.contact-card-sub { font-size: .78rem; color: var(--gray-400); margin-top: .15rem; line-height: 1.4; }
.contact-card-arrow { font-size: 1.1rem; color: var(--gray-400); flex-shrink: 0; }

/* ── FAQ ── */
.faq-section-label {
  font-size: .7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--gold);
  margin: 1.5rem 0 .5rem;
}
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  margin-bottom: .5rem;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,.1);
}
.faq-question {
  padding: 1rem 1.2rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--gray-800);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: .75rem;
  user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .2s;
}
details[open] .faq-question::after { transform: rotate(45deg); }
.faq-answer {
  padding: 0 1.2rem 1rem;
  font-size: .88rem;
  color: var(--gray-600);
  line-height: 1.7;
  border-top: 1px solid var(--gray-200);
  padding-top: .75rem;
}
.faq-answer ol, .faq-answer ul { padding-left: 1.2rem; margin: .4rem 0; }
.faq-answer li { margin-bottom: .25rem; }
.faq-answer a { color: var(--blue); text-decoration: underline; }
.faq-answer code {
  background: var(--gray-100);
  border-radius: 4px;
  padding: .1em .4em;
  font-size: .85em;
}

/* ── Règles – Steps ── */
.steps-list { display: flex; flex-direction: column; }
.step-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}
.step-number {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: white;
  font-size: 1.1rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: .1rem;
  box-shadow: 0 4px 12px rgba(29,78,216,.3);
}
.step-connector {
  width: 2px;
  height: 24px;
  background: linear-gradient(to bottom, var(--blue), rgba(29,78,216,.2));
  margin-left: 19px;
}
.step-body { flex: 1; padding-bottom: .5rem; }
.step-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: .4rem;
}
.step-desc { font-size: .88rem; color: var(--gray-400); line-height: 1.7; margin-bottom: .3rem; }
.step-ul { padding-left: 1.1rem; margin: .4rem 0; }
.step-ul li { font-size: .88rem; color: var(--gray-400); line-height: 1.7; margin-bottom: .2rem; }
.step-ul li strong { color: var(--white); }
.step-links-box {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  margin-top: .5rem;
  display: flex;
  flex-direction: column;
  gap: .6rem;
}
.step-link-row {
  display: flex;
  align-items: flex-start;
  gap: .6rem;
  font-size: .85rem;
  color: var(--gray-400);
  line-height: 1.5;
}
.step-link-badge {
  font-size: .65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .05em;
  padding: .2rem .5rem;
  border-radius: 99px;
  white-space: nowrap;
  flex-shrink: 0;
}
.step-link-badge.public { background: rgba(16,185,129,.15); color: #6ee7b7; border: 1px solid rgba(16,185,129,.3); }
.step-link-badge.admin  { background: rgba(99,102,241,.15); color: #a5b4fc; border: 1px solid rgba(99,102,241,.3); }
.step-pot-example {
  background: rgba(245,158,11,.08);
  border: 1px solid rgba(245,158,11,.2);
  border-radius: var(--radius-sm);
  padding: .75rem 1rem;
  font-size: .85rem;
  color: var(--gray-400);
  margin-top: .5rem;
  line-height: 1.7;
}
.step-pot-example strong { color: var(--gold); }

/* ── Responsive ── */
@media (min-width: 540px) {
  .main-content { padding: 2rem 0 4rem; }
}
