/* AI Video Quiz — feuille de style de index.html (chargée par <link rel="stylesheet" href="style.css">) */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  color: #222;
}

.app {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

header {
  text-align: center;
  margin-bottom: 25px;
}

header h1 {
  margin: 0 0 8px;
  font-size: 32px;
}

header p {
  margin: 0;
  color: #666;
}

.card {
  background: #fff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.hidden {
  display: none !important;
}

.auth-card {
  max-width: 520px;
  margin: 0 auto 20px;
}
.auth-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}
.auth-form input {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 10px;
  font-size: 16px;
  outline: none;
}
.auth-switch {
  margin-top: 14px;
  text-align: center;
  color: #64748b;
}
.auth-switch button {
  background: transparent;
  color: #2563eb;
  padding: 4px;
  font-size: 15px;
}
.auth-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 8px;
  background: #fee2e2;
  color: #991b1b;
}
.auth-success {
  background: #dcfce7;
  color: #166534;
}
.auth-forgot {
  justify-self: start;
  padding: 2px 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  color: #2563eb;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}
.auth-forgot:hover {
  background: transparent;
  text-decoration: underline;
  transform: none;
}
.account-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 20px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
}
.account-info {
  font-size: 14px;
  color: #475569;
}
.account-score {
  font-weight: bold;
  color: #2563eb;
}
.logout-button {
  background: #64748b;
  padding: 9px 13px;
  font-size: 14px;
}


h2 {
  margin-top: 0;
}

button {
  border: 0;
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 16px;
  cursor: pointer;
  background: #2563eb;
  color: white;
  transition: 0.2s;
}

button:hover {
  opacity: 0.9;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.language-grid,
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 18px;
}

.category-grid {
  grid-template-columns: repeat(2, 1fr);
}

.choice-button {
  display: block;
  background: #eef2ff;
  color: #222;
  text-align: left;
  border: 2px solid transparent;
  width: 100%;
  margin-bottom: 10px;
}

.choice-button:hover {
  background: #e0e7ff;
}

.choice-button.selected {
  border-color: #2563eb;
  background: #dbeafe;
}

.choice-button.correct {
  border-color: #16a34a;
  background: #dcfce7;
}

.choice-button.wrong {
  border-color: #dc2626;
  background: #fee2e2;
}

.primary {
  width: 100%;
  margin-top: 15px;
}

.secondary {
  background: #64748b;
}

.back-button {
  background: #64748b;
  margin-bottom: 18px;
}

.back-button:hover {
  background: #475569;
}

.info {
  background: #eff6ff;
  border-radius: 10px;
  padding: 12px;
  margin: 15px 0;
}

.score-box {
  text-align: center;
  padding: 25px;
  border-radius: 12px;
  background: #f8fafc;
  margin: 20px 0;
}

.score-number {
  font-size: 48px;
  font-weight: bold;
  color: #2563eb;
  margin: 10px 0;
}

.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  margin: 15px 0;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-title {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 8px;
  line-height: 1.4;
}

.video-channel {
  color: #666;
  margin-bottom: 15px;
}

.video-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 15px;
}

.meta-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  padding: 6px 10px;
  border-radius: 20px;
  font-size: 13px;
}

.loading {
  text-align: center;
  padding: 30px;
  color: #555;
}

.error {
  background: #fee2e2;
  color: #991b1b;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 15px;
}

.question {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.question:first-child {
  border-top: 0;
  padding-top: 0;
}

.question-number {
  color: #2563eb;
  font-weight: bold;
  margin-bottom: 8px;
}

.question-text {
  font-size: 19px;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 14px;
}

.progress {
  height: 8px;
  background: #e5e7eb;
  border-radius: 10px;
  overflow: hidden;
  margin: 15px 0 25px;
}

.progress-bar {
  height: 100%;
  width: 0%;
  background: #2563eb;
  transition: width 0.3s;
}

.top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.badge {
  display: inline-block;
  background: #e0e7ff;
  color: #3730a3;
  padding: 7px 12px;
  border-radius: 20px;
  font-size: 14px;
  margin-right: 5px;
}

.result-success {
  color: #15803d;
  font-weight: bold;
}

.result-fail {
  color: #b91c1c;
  font-weight: bold;
}

/* =========================================
   EVALUATION
   ========================================= */

.evaluation-card {
  margin-top: 25px;
  padding: 20px;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.evaluation-title {
  text-align: center;
  font-size: 19px;
  font-weight: bold;
  margin-bottom: 15px;
}

.evaluation-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.evaluation-button {
  background: #fff;
  color: #222;
  border: 2px solid #e2e8f0;
  padding: 15px;
  font-size: 16px;
}

.evaluation-button:hover {
  background: #f1f5f9;
}

.evaluation-button.like.selected {
  border-color: #16a34a;
  background: #dcfce7;
}

.evaluation-button.dislike.selected {
  border-color: #dc2626;
  background: #fee2e2;
}

.length-question {
  margin-top: 20px;
  text-align: center;
  font-weight: bold;
}

.length-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.length-button {
  background: #fff;
  color: #334155;
  border: 2px solid #e2e8f0;
  padding: 11px 8px;
  font-size: 14px;
}

.length-button.selected {
  border-color: #2563eb;
  background: #dbeafe;
}

.evaluation-thanks {
  text-align: center;
  margin-top: 15px;
  color: #15803d;
  font-weight: bold;
}

.navigation-area {
  margin-bottom: 10px;
}

@media (max-width: 600px) {

  .app {
    padding: 12px;
  }

  header h1 {
    font-size: 26px;
  }

  .language-grid {
    grid-template-columns: 1fr;
  }

  .category-grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 16px;
  }

  .video-title {
    font-size: 18px;
  }

  .question-text {
    font-size: 17px;
  }

  .evaluation-buttons {
    grid-template-columns: 1fr;
  }

  .length-buttons {
    grid-template-columns: 1fr;
  }
}


/* =========================================
   PROFESSIONAL VISUAL DESIGN
   ========================================= */
:root {
  --primary: #4f46e5;
  --primary-dark: #3730a3;
  --accent: #06b6d4;
  --ink: #0f172a;
  --muted: #64748b;
  --surface: rgba(255,255,255,.96);
  --line: #e2e8f0;
  --soft: #eef2ff;
  --success: #16a34a;
}

body {
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 0%, rgba(79,70,229,.16), transparent 30%),
    radial-gradient(circle at 90% 10%, rgba(6,182,212,.13), transparent 28%),
    linear-gradient(180deg, #f8fafc 0%, #eef2ff 100%);
  min-height: 100vh;
}

.app {
  max-width: 1040px;
  padding: 24px 18px 50px;
}

header {
  padding: 10px 0 20px;
  margin-bottom: 8px;
}

header h1 {
  font-size: clamp(30px, 6vw, 48px);
  letter-spacing: -1.5px;
  background: linear-gradient(135deg, #312e81, #4f46e5 50%, #0891b2);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

header p { color: var(--muted); font-size: 16px; }

.card {
  border: 1px solid rgba(226,232,240,.9);
  border-radius: 22px;
  padding: clamp(20px, 4vw, 34px);
  background: var(--surface);
  box-shadow: 0 18px 55px rgba(15,23,42,.09);
  backdrop-filter: blur(12px);
}

button {
  border-radius: 13px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), #6366f1);
  box-shadow: 0 7px 18px rgba(79,70,229,.18);
}
button:hover { transform: translateY(-1px); opacity: 1; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 5vw, 48px);
  background: linear-gradient(135deg, #111827 0%, #312e81 52%, #155e75 100%);
  color: #fff;
  border: 0;
}
.hero:after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -90px;
  top: -90px;
  border-radius: 50%;
  background: rgba(255,255,255,.09);
}
.hero-kicker {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .3px;
  margin-bottom: 14px;
}
.hero h2 { font-size: clamp(28px, 6vw, 46px); line-height: 1.05; margin: 0 0 14px; max-width: 720px; }
.hero p { color: rgba(255,255,255,.82); line-height: 1.65; max-width: 700px; margin: 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.hero-actions button { background: #fff; color: #312e81; box-shadow: none; }

.section-title { margin: 0 0 8px; font-size: 25px; }
.section-subtitle { color: var(--muted); margin: 0 0 20px; line-height: 1.6; }

.language-grid { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.language-choice { min-height: 88px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow: none; text-align: left; }
.language-choice strong { display: block; font-size: 18px; }
.language-choice span { display: block; margin-top: 5px; color: var(--muted); font-size: 13px; font-weight: 500; }
.language-choice:hover { border-color: #a5b4fc; background: #f8faff; }

.feature-grid, .rules-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 20px; }
.feature, .rule { padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.feature-icon { font-size: 25px; margin-bottom: 9px; }
.feature strong, .rule strong { display: block; margin-bottom: 6px; }
.feature p, .rule p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.rule-number { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--soft); color: var(--primary-dark); font-weight: 800; margin-bottom: 10px; }

.rules-note { margin-top: 20px; padding: 15px 16px; border-radius: 14px; background: #ecfeff; color: #155e75; border: 1px solid #cffafe; line-height: 1.55; }

.auth-card { max-width: 520px; }
.auth-card:before { content: "AI VIDEO QUIZ"; display: inline-block; font-size: 12px; font-weight: 900; letter-spacing: 1.5px; color: var(--primary); margin-bottom: 12px; }
.auth-form input { border: 1px solid var(--line); background: #f8fafc; padding: 14px; }
.auth-form input:focus { border-color: #818cf8; box-shadow: 0 0 0 4px rgba(99,102,241,.10); }
.auth-language { display:flex; gap:7px; flex-wrap:wrap; margin-top:18px; }
.auth-language button { padding:7px 10px; font-size:12px; background:#f1f5f9; color:#475569; box-shadow:none; }
.auth-language button.active { background:#e0e7ff; color:#3730a3; }

.account-bar { border:1px solid var(--line); box-shadow: 0 10px 30px rgba(15,23,42,.06); }
.account-score { color: var(--primary); }
.badge { background:#eef2ff; color:#3730a3; font-weight:700; }
.video-container { box-shadow: 0 14px 35px rgba(15,23,42,.18); }
.progress-bar { background: linear-gradient(90deg, var(--primary), var(--accent)); }

.category-grid { gap: 14px; }
.category-choice { min-height: 105px; background: #fff; color: var(--ink); border: 1px solid var(--line); box-shadow:none; text-align:left; }
.category-choice strong { display:block; font-size:18px; }
.category-choice span { display:block; color:var(--muted); font-size:13px; margin-top:6px; font-weight:500; }
.category-choice:hover { border-color:#a5b4fc; background:#fafaff; }

.nav-row { display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap; margin-bottom:20px; }
.nav-row .back-button { margin:0; }
.ghost-button { background:#fff; color:#475569; border:1px solid var(--line); box-shadow:none; }

[dir="rtl"] { text-align:right; }
[dir="rtl"] .choice-button, [dir="rtl"] .category-choice, [dir="rtl"] .language-choice { text-align:right; }


.ielts-card{background:linear-gradient(135deg,#fff 0%,#f8fafc 100%)}
.ielts-hero{padding:24px;border-radius:20px;background:linear-gradient(135deg,#172554,#1e3a8a 55%,#0e7490);color:#fff;margin-bottom:20px}
.ielts-kicker{display:inline-flex;padding:7px 12px;border-radius:999px;background:rgba(255,255,255,.13);font-size:12px;font-weight:800;letter-spacing:.5px;margin-bottom:10px}
.ielts-hero h2{margin:0 0 9px;font-size:clamp(27px,5vw,39px)}
.ielts-hero p{margin:0;color:rgba(255,255,255,.84);line-height:1.65;max-width:720px}
.ielts-skills{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:18px 0 22px}
.ielts-skill-button{background:#fff;color:#1e293b;border:1px solid #e2e8f0;box-shadow:none;padding:13px 10px;font-size:14px}
.ielts-skill-button.active{background:#e0e7ff;color:#3730a3;border-color:#818cf8}
.ielts-video-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
.ielts-video-card{overflow:hidden;border:1px solid #e2e8f0;border-radius:18px;background:#fff;box-shadow:0 8px 24px rgba(15,23,42,.06)}
.ielts-thumbnail{display:block;width:100%;aspect-ratio:16/9;object-fit:cover;background:#0f172a}
.ielts-video-body{padding:16px}.ielts-video-title{font-size:17px;font-weight:800;line-height:1.4;margin-bottom:7px}.ielts-video-channel{color:#64748b;font-size:13px;margin-bottom:10px}
.ielts-video-meta{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:13px}.ielts-meta{padding:5px 8px;border-radius:999px;background:#f1f5f9;color:#475569;font-size:12px;font-weight:700}.ielts-watch{width:100%;padding:11px 14px}.ielts-empty,.ielts-loading{padding:28px;text-align:center;color:#64748b;border:1px dashed #cbd5e1;border-radius:16px;background:#f8fafc}
@media(max-width:700px){.ielts-skills{grid-template-columns:repeat(2,1fr)}.ielts-video-grid{grid-template-columns:1fr}}

@media (max-width: 700px) {
  .language-grid, .feature-grid, .rules-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction:column; }
  .hero-actions button { width:100%; }
}


/* =========================================================
   INFORMATION PAGES + PROFESSIONAL FOOTER
   ========================================================= */
.info-page {
  max-width: 920px;
  margin: 0 auto 24px;
}

.info-page-header {
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:18px;
  flex-wrap:wrap;
  margin-bottom:24px;
}

.info-page-kicker {
  display:inline-flex;
  padding:7px 12px;
  border-radius:999px;
  background:#eef2ff;
  color:#3730a3;
  font-size:12px;
  font-weight:800;
  letter-spacing:.4px;
  margin-bottom:10px;
}

.info-page h2 {
  margin:0 0 10px;
  font-size:clamp(28px,5vw,40px);
  letter-spacing:-.6px;
}

.info-page-lead {
  margin:0;
  color:var(--muted);
  line-height:1.7;
  max-width:760px;
}

.info-content {
  display:grid;
  gap:14px;
}

.info-block {
  padding:20px;
  border:1px solid var(--line);
  border-radius:17px;
  background:#fff;
}

.info-block h3 {
  margin:0 0 9px;
  font-size:18px;
  color:var(--ink);
}

.info-block p {
  margin:0;
  color:#475569;
  line-height:1.7;
}

.info-block ul {
  margin:8px 0 0;
  padding-left:21px;
  color:#475569;
  line-height:1.75;
}

[dir="rtl"] .info-block ul {
  padding-left:0;
  padding-right:21px;
}

.legal-placeholder {
  display:inline-block;
  padding:2px 7px;
  border-radius:6px;
  background:#fff7ed;
  color:#9a3412;
  font-weight:700;
}

.info-note {
  padding:16px 18px;
  border-radius:15px;
  background:#f8fafc;
  border:1px solid var(--line);
  color:#475569;
  line-height:1.65;
}

.site-footer {
  margin-top:34px;
  border-top:1px solid rgba(226,232,240,.9);
  background:rgba(255,255,255,.82);
  border-radius:22px 22px 0 0;
  padding:30px 24px 22px;
  box-shadow:0 -8px 30px rgba(15,23,42,.04);
}

.footer-main {
  display:grid;
  grid-template-columns:1.4fr repeat(3,1fr);
  gap:28px;
}

.footer-brand strong {
  display:block;
  font-size:19px;
  letter-spacing:-.3px;
  color:var(--ink);
}

.footer-brand p {
  color:var(--muted);
  line-height:1.6;
  margin:8px 0 0;
  font-size:14px;
  max-width:330px;
}

.footer-column h3 {
  margin:0 0 10px;
  font-size:14px;
  color:var(--ink);
}

.footer-links {
  display:grid;
  gap:7px;
}

.footer-link {
  display:inline-block;
  width:max-content;
  max-width:100%;
  padding:2px 0;
  border:0;
  border-radius:0;
  background:transparent;
  box-shadow:none;
  color:#64748b;
  font-size:14px;
  font-weight:600;
  text-align:left;
  cursor:pointer;
}

a.footer-link { text-decoration:none; }

.footer-link:hover {
  color:var(--primary);
  transform:none;
  background:transparent;
}

.footer-bottom {
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:14px;
  flex-wrap:wrap;
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  color:#94a3b8;
  font-size:13px;
}

.footer-language {
  display:flex;
  gap:6px;
}

.footer-language button {
  padding:7px 9px;
  font-size:12px;
  background:#f1f5f9;
  color:#475569;
  box-shadow:none;
}

.footer-language button.active {
  background:#e0e7ff;
  color:#3730a3;
}

@media (max-width: 820px) {
  .footer-main {
    grid-template-columns:repeat(2,1fr);
  }
  .footer-brand {
    grid-column:1 / -1;
  }
}

@media (max-width: 520px) {
  .site-footer {
    padding:24px 18px 18px;
  }
  .footer-main {
    grid-template-columns:1fr;
    gap:22px;
  }
  .footer-brand {
    grid-column:auto;
  }
}


/* =========================================
   RECOMPENSES
   ========================================= */
.account-actions { display:flex; gap:8px; align-items:center; flex-wrap:wrap; }
.account-money { color:#16a34a; font-weight:700; }
.account-daily { font-size:13px; color:#64748b; margin-top:2px; }
.account-hint { font-size:12px; color:#92400e; margin-top:4px; max-width:520px; line-height:1.4; }
.withdraw-button { background:linear-gradient(135deg,#16a34a,#15803d); padding:9px 14px; font-size:14px; box-shadow:none; }
.withdraw-button:disabled { background:#94a3b8; opacity:.75; box-shadow:none; }
.mode-button { background:linear-gradient(135deg,#4f46e5,#4338ca); }
.mode-line { font-size:13px; color:#475569; margin-top:2px; }
.account-hint, .mode-line, .account-info { overflow-wrap:anywhere; }
.sp-card { max-width:760px; margin:0 auto 20px; }
.sp-note { font-size:13px; color:#64748b; margin:8px 0; line-height:1.5; }
.sp-label { font-weight:700; margin:16px 0 8px; }
.sp-chips { display:flex; flex-wrap:wrap; gap:8px; }
.sp-chip { padding:9px 14px; border-radius:999px; background:#fff; color:#1e293b; border:1px solid #cbd5e1; box-shadow:none; font-weight:600; }
.sp-chip.active { background:#4f46e5; color:#fff; border-color:#4f46e5; }
.sp-chip:disabled { opacity:.45; cursor:not-allowed; }
.sp-count { margin-inline-start:7px; padding:1px 8px; border-radius:999px; background:#eef2ff; color:#3730a3; font-size:12px; font-weight:700; }
.sp-chip.active .sp-count { background:rgba(255,255,255,.25); color:#fff; }
.sp-formats { display:grid; gap:8px; }
.sp-format { border-radius:12px; text-align:start; }
#spCustom { width:100%; margin:10px 0 0; padding:12px 14px; border:1px solid #cbd5e1; border-radius:10px; font-size:16px; box-sizing:border-box; }
#spStart, #spNext { width:100%; margin-top:16px; }
.sp-progress { font-weight:700; color:#4f46e5; margin:6px 0; }
.sp-qcard { background:#eef2ff; border-radius:14px; padding:16px; font-size:19px; line-height:1.55; margin:10px 0; }
.sp-qcard ul { margin:8px 0 8px 22px; padding:0; }
.sp-card-label { font-size:12px; font-weight:800; letter-spacing:.06em; color:#4f46e5; text-transform:uppercase; }
.sp-card-title { font-weight:800; margin:4px 0; }
.sp-prep { background:#fef9c3; border-radius:12px; padding:10px 14px; margin:8px 0; display:flex; gap:10px; align-items:center; justify-content:space-between; flex-wrap:wrap; }
.sp-actions { display:flex; gap:10px; flex-wrap:wrap; margin:12px 0; }
.sp-live { background:#dc2626; }
.sp-actions button:disabled { opacity:.4; cursor:not-allowed; }
#spTranscript { width:100%; padding:12px; border:1px solid #cbd5e1; border-radius:10px; font-size:16px; line-height:1.5; box-sizing:border-box; }
.sp-loading { padding:36px 8px; text-align:center; font-weight:700; color:#4f46e5; }
.sp-overall-box { text-align:center; background:#eef2ff; border-radius:16px; padding:16px; margin:12px 0; }
.sp-overall { font-size:54px; font-weight:800; color:#4338ca; line-height:1.1; }
.sp-overall-label { font-weight:700; }
.sp-band { margin:14px 0; }
.sp-band-head { display:flex; justify-content:space-between; font-weight:700; }
.sp-bar { height:10px; background:#e2e8f0; border-radius:99px; overflow:hidden; margin-top:6px; }
.sp-bar span { display:block; height:100%; background:linear-gradient(90deg,#6366f1,#22c55e); }
.sp-comment { margin:6px 0 0; line-height:1.55; }
.sp-block { margin:12px 0; }
.sp-block h3, .sp-block h4 { margin:0 0 6px; }
.sp-block ul { margin:0; padding-inline-start:20px; line-height:1.6; }
.sp-item { border:1px solid #e2e8f0; border-radius:12px; padding:10px 14px; margin:10px 0; }
.sp-item summary { cursor:pointer; font-weight:700; line-height:1.5; }
.sp-english { line-height:1.6; margin:4px 0; }
.sp-fix { margin:8px 0; line-height:1.5; }
.sp-before { color:#b91c1c; text-decoration:line-through; }
.sp-after { color:#166534; font-weight:700; }
#modeActions button:disabled { opacity:.6; cursor:not-allowed; }
.pm-badge { margin-left:10px; font-size:12px; font-weight:700; padding:2px 9px; border-radius:999px; background:#dcfce7; color:#166534; }
.pm-badge.off { background:#fee2e2; color:#991b1b; }
.method-button { display:flex; align-items:center; justify-content:space-between; width:100%; text-align:left; }
.withdraw-panel { max-width:520px; margin:0 auto 20px; }
.withdraw-panel input { width:100%; padding:13px 14px; border:1px solid #cbd5e1; border-radius:10px; font-size:16px; margin:10px 0; }
.withdraw-panel select { width:100%; padding:13px 14px; border:1px solid #cbd5e1; border-radius:10px; font-size:16px; margin:10px 0; background:#fff; }
.withdraw-panel .section-subtitle { margin:4px 0 8px; }
.withdraw-history { margin-top:16px; }
.withdraw-history h3 { margin:0 0 8px; font-size:15px; }
.withdraw-item { display:flex; justify-content:space-between; gap:10px; padding:8px 0; border-top:1px solid #e2e8f0; font-size:14px; }
.withdraw-status-pending { color:#b45309; font-weight:700; }
.withdraw-status-paid { color:#15803d; font-weight:700; }
.withdraw-status-rejected { color:#b91c1c; font-weight:700; }

/* ---- Utilitaires (remplacent d'anciens styles écrits directement dans le HTML) ---- */
.pre-wrap { white-space: pre-wrap !important; }
.bold { font-weight: 700 !important; }
.mt-8 { margin-top: 8px !important; }
