body.page-inscription .couleur-switch-container,
.cw-overlay.open ~ .couleur-switch-container {
  display: none !important;
}
/* ============================================================
   COMPETITION CREATION WIZARD - full-screen immersive overlay
   S'appuie sur les tokens DS (styles.css + olympe-theme.css)
   ============================================================ */

.cw-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
  background: var(--bg-0, #0a0a0f);
  overflow: hidden;
  opacity: 0;
  transition: opacity .28s var(--ease-out, ease);
}
.cw-overlay.open { display: flex; opacity: 1; }
.cw-overlay.closing { display: flex; opacity: 0; }
.cw-overlay * { box-sizing: border-box; }

/* Décor immersif : grille + halo magenta */
.cw-bg {
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 46px 46px;
  -webkit-mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 30%, transparent 75%);
}
.cw-glow {
  position: absolute; top: -240px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 600px; pointer-events: none; z-index: 0;
  background: radial-gradient(ellipse at center, var(--olympe-soft, rgba(var(--primary-rgb), 0.18)) 0%, transparent 62%);
  opacity: .8;
}

/* ── Top bar ── */
.cw-topbar {
  position: relative; z-index: 3;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px;
  flex-shrink: 0;
}
.cw-brand { display: flex; align-items: center; gap: 11px; }
.cw-brand-mark {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-050));
  color: var(--color-button-text);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 18px;
  box-shadow: 0 6px 18px -6px var(--olympe-glow, rgba(var(--primary-rgb), 0.45));
}
.cw-brand-name { font-family: var(--font-display); font-weight: 800; font-size: 19px; letter-spacing: -.4px; color: var(--text-1); }
.cw-close {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-3); background: transparent; border: 1px solid var(--border);
  cursor: pointer; transition: all .18s ease;
}
.cw-close:hover { color: var(--text-1); border-color: var(--border-strong); background: var(--bg-2); }

/* ── Progress stepper ── */
.cw-progress {
  position: relative; z-index: 3;
  width: 100%; max-width: 420px; margin: 4px auto 0;
  padding: 0 24px 22px;
  flex-shrink: 0;
}
.cw-steps { display: flex; align-items: center; }
.cw-step-node { display: flex; align-items: center; gap: 11px; }
.cw-step-dot {
  width: 30px; height: 30px; border-radius: 50%; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg-3); border: 1.5px solid var(--border-strong);
  font-family: var(--font-mono); font-size: 13px; font-weight: 700;
  color: var(--text-3);
  transition: all .3s var(--ease-out, ease);
}
.cw-step-label {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; color: var(--text-3);
  white-space: nowrap; transition: color .3s ease;
}
.cw-step-line {
  flex: 1; height: 2px; margin: 0 14px; border-radius: 99px;
  background: var(--border-strong); position: relative; overflow: hidden;
}
.cw-step-line::after {
  content: ""; position: absolute; inset: 0; width: 0;
  background: linear-gradient(90deg, var(--color-primary-100), var(--color-primary-050));
  transition: width .45s var(--ease-out, ease);
}
/* states */
.cw-step-node.active .cw-step-dot {
  background: var(--olympe-soft); border-color: var(--color-primary-100); color: var(--color-primary-100);
  box-shadow: 0 0 0 4px var(--olympe-soft);
}
.cw-step-node.active .cw-step-label { color: var(--text-1); }
.cw-step-node.done .cw-step-dot {
  background: var(--color-primary-100); border-color: var(--color-primary-100); color: var(--color-button-text);
  font-size: 0;
}
.cw-step-node.done .cw-step-dot::after {
  content: "✓";
  font-family: var(--font-sans, sans-serif);
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}
.cw-step-node.done .cw-step-label { color: var(--text-2); }
.cw-progress.s2 #cw-line1::after,
.cw-progress.s3 #cw-line1::after,
.cw-progress.s3 #cw-line2::after,
.cw-progress.done #cw-line1::after,
.cw-progress.done #cw-line2::after { width: 100%; }

/* ── Scrollable body ── */
.cw-scroll {
  position: relative; z-index: 2;
  flex: 1; overflow-y: auto; overflow-x: hidden;
  padding: 8px 24px 40px;
}
.cw-panel {
  width: 100%; max-width: 920px; margin: 0 auto;
  background: linear-gradient(168deg, var(--bg-2) 0%, var(--bg-1) 70%);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-elevated);
  padding: 38px 40px 36px;
  animation: cwUp .4s var(--ease-out, ease) both;
}
@keyframes cwUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

.cw-step { display: none; }
.cw-step.active { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .cw-overlay[data-dir="fwd"] .cw-step.active { animation: cwStepInF .34s var(--ease-out, ease) both; }
  .cw-overlay[data-dir="back"] .cw-step.active { animation: cwStepInB .34s var(--ease-out, ease) both; }
}
@keyframes cwStepInF { from { opacity: 0; transform: translateX(22px); } to { opacity: 1; transform: none; } }
@keyframes cwStepInB { from { opacity: 0; transform: translateX(-22px); } to { opacity: 1; transform: none; } }

.cw-head { margin-bottom: 30px; }
.cw-eyebrow {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--color-primary-100);
  margin-bottom: 12px;
}
.cw-title {
  font-family: var(--font-display); font-weight: 900; letter-spacing: -.6px;
  font-size: clamp(26px, 3vw, 34px); color: var(--text-1); line-height: 1.05; margin: 0 0 8px;
}
.cw-title:focus { outline: none; }
.cw-sub { font-size: 15px; color: var(--text-2); line-height: 1.5; max-width: 60ch; text-wrap: pretty; }

/* ── Pre-selected discipline banner ── */
.cw-preset-banner[hidden] { display: none; }
.cw-preset-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 14px 10px 10px; margin: 0 0 22px;
  background: linear-gradient(155deg, var(--olympe-soft) 0%, var(--bg-3) 75%);
  border: 1.5px solid var(--color-primary-100);
  border-radius: var(--radius-lg);
}
.cw-preset-main { display: flex; align-items: center; gap: 12px; min-width: 0; flex: 1; }
.cw-preset-badge {
  width: 52px; height: 40px; border-radius: var(--radius-md);
  background: var(--badge, #3a3a4a);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  overflow: hidden; border: 1px solid rgba(255, 255, 255, 0.1);
}
.cw-preset-badge img, .cw-preset-badge svg {
  width: auto; height: auto; max-width: 40px; max-height: 28px;
  object-fit: contain; display: block;
}
.cw-preset-badge img[src*="sports-illustrations"] {
  width: 100%; height: 100%; max-width: 100%; max-height: 100%; object-fit: cover;
}
.cw-preset-info { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.cw-preset-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  color: var(--color-primary-100); line-height: 1.2;
}
.cw-preset-check {
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--color-primary-100); color: var(--color-button-text, #14121A);
  display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.cw-preset-check svg { width: 10px; height: 10px; }
.cw-preset-name {
  font-family: var(--font-display); font-weight: 800; font-size: 15px;
  color: var(--text-1); line-height: 1.25;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.cw-preset-cat {
  font-family: var(--font-sans); font-weight: 500; font-size: 13px;
  color: var(--text-2); margin-left: 6px;
}
.cw-preset-change {
  background: var(--bg-2); border: 1px solid var(--border-strong); border-radius: 999px;
  color: var(--text-1); font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  padding: 8px 14px; min-height: 36px; cursor: pointer; flex-shrink: 0;
  transition: all .16s ease;
}
.cw-preset-change:hover {
  border-color: var(--color-primary-100); color: var(--color-primary-100);
}
.cw-preset-change:focus-visible {
  outline: none; border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft);
}
@media (max-width: 560px) {
  .cw-preset-banner { flex-wrap: wrap; padding: 10px 12px; gap: 10px; }
  .cw-preset-change { min-height: 44px; padding: 10px 14px; }
}
@media (max-width: 360px) {
  .cw-preset-cat { display: none; }
}

/* ── Field section ── */
.cw-section { padding: 24px 0; border-top: 1px solid var(--border); }
.cw-section:first-of-type { border-top: none; padding-top: 4px; }
.cw-section-label {
  font-family: var(--font-mono); font-size: 13px; font-weight: 600;
  letter-spacing: .12em; text-transform: uppercase; color: var(--text-3);
  display: flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.cw-section-label .cw-opt {
  font-family: var(--font-sans); text-transform: none; letter-spacing: 0;
  font-size: 13px; color: var(--text-3); font-weight: 500;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 99px; padding: 2px 9px;
}

.cw-field { margin-bottom: 16px; }
.cw-field:last-child { margin-bottom: 0; }
.cw-label {
  display: block; font-size: 13.5px; font-weight: 600; color: var(--text-1);
  margin-bottom: 8px;
}
.cw-label .req { color: var(--color-primary-100); margin-left: 2px; }
.cw-hint { font-size: 13px; color: var(--text-3); margin-top: 7px; line-height: 1.45; }

.cw-input {
  width: 100%; padding: 14px 15px;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-md); color: var(--text-1);
  font-family: var(--font-sans); font-size: 14.5px; outline: none;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.cw-input::placeholder { color: var(--text-3); }
.cw-input:focus { border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft); background: var(--bg-2); }

/* Link / subdomain field */
.cw-link-field {
  display: flex; align-items: center;
  background: var(--bg-3); border: 1px solid var(--border);
  border-radius: var(--radius-md); overflow: hidden;
  transition: border-color .18s, box-shadow .18s;
}
.cw-link-field:focus-within { border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft); }
.cw-link-ic { display: flex; align-items: center; padding: 0 4px 0 14px; color: var(--color-primary-100); }
.cw-link-field input {
  flex: 1; min-width: 0; border: none; background: transparent; outline: none;
  padding: 14px 8px; color: var(--text-1); font-family: var(--font-mono); font-size: 14px;
}
.cw-link-field input::placeholder { color: var(--text-3); font-family: var(--font-sans); }
.cw-link-suffix {
  font-family: var(--font-mono); font-size: 13.5px; color: var(--text-2);
  padding: 0 15px 0 6px; white-space: nowrap;
  background: var(--bg-2); align-self: stretch; display: flex; align-items: center;
  border-left: 1px solid var(--border);
}
.cw-link-preview {
  display: flex; align-items: center; gap: 8px; margin-top: 10px;
  font-size: 13px; color: var(--text-3);
}
.cw-link-preview .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex-shrink: 0; }
.cw-link-preview b { color: var(--color-primary-100); font-family: var(--font-mono); font-weight: 600; }
.cw-link-preview-header {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; flex-shrink: 0;
}
.cw-link-preview-badge {
  display: inline-flex; align-items: center; gap: 8px; min-width: 0;
}
@media (max-width: 600px) {
  .cw-link-preview {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    padding: 10px 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
  }
  .cw-link-preview-header {
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
  }
  .cw-link-preview-badge {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    width: 100%;
  }
  .cw-link-preview b {
    font-size: 13px;
    word-break: break-all;
    line-height: 1.35;
  }
  .cw-slug-avail {
    margin-left: auto;
    flex-shrink: 0;
  }
}
.cw-slug-avail { margin-left: 8px; font-family: var(--font-mono); font-weight: 600; font-size: 13px; white-space: nowrap; }
.cw-slug-avail.checking { color: var(--text-3); }
.cw-slug-avail.ok { color: var(--green); }
.cw-slug-avail.ok::before { content: "✓ "; }
.cw-slug-avail.taken { color: var(--red); }
.cw-slug-avail.taken::before { content: "✕ "; }

/* Inline errors (étape Compte) */
.cw-error { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--red); margin-top: 7px; }
.cw-error[hidden] { display: none; }
.cw-input.invalid { border-color: var(--red); box-shadow: 0 0 0 3px rgba(248,91,101,0.13); }

/* Badge optionnel dans l'eyebrow */
.cw-eyebrow-opt {
  font-family: var(--font-sans); text-transform: none; letter-spacing: 0; font-weight: 500;
  font-size: 13px; color: var(--text-3);
  background: var(--bg-3); border: 1px solid var(--border); border-radius: 99px; padding: 2px 9px; margin-left: 8px;
}

/* Focus clavier des dropzones */
.cw-drop:focus-visible { outline: none; border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft); }

/* ── Upload dropzones ── */
.cw-uploads { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cw-drop {
  position: relative;
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg);
  background: var(--bg-3);
  min-height: 180px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; padding: 16px;
  cursor: pointer; transition: border-color .18s, background .18s, box-shadow .18s;
  overflow: hidden;
}
.cw-drop:hover { border-color: var(--color-primary-100); background: var(--bg-2); }
.cw-drop.dragover { border-color: var(--color-primary-100); background: var(--olympe-soft); }
.cw-drop input[type=file] { display: none; }

.cw-drop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  pointer-events: none;
  transition: opacity .18s;
}
.cw-drop-ic {
  width: 46px; height: 46px; border-radius: var(--radius-md);
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  transition: all .18s;
}
.cw-drop:hover .cw-drop-ic { color: var(--color-primary-100); border-color: var(--olympe-soft); }
.cw-drop-text { font-size: 13px; color: var(--text-2); line-height: 1.4; }
.cw-drop-text b { color: var(--text-1); font-weight: 600; }
.cw-drop-sub { font-family: var(--font-mono); font-size: 13px; letter-spacing: .04em; color: var(--text-3); }

/* filled state */
.cw-drop.filled {
  border-style: solid;
  border-color: var(--border-strong);
  background: var(--bg-2);
  padding: 12px;
}
.cw-drop.filled:hover {
  border-color: var(--color-primary-100);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}
.cw-drop.filled .cw-drop-empty {
  display: none !important;
}
.cw-drop-preview {
  position: absolute;
  inset: 0;
  display: none;
  flex-direction: column;
  justify-content: space-between;
  padding: 12px;
  box-sizing: border-box;
  background: var(--bg-2);
}
.cw-drop.filled .cw-drop-preview {
  display: flex;
}

/* Remove button */
.cw-drop-remove {
  position: absolute; top: 10px; right: 10px; z-index: 5;
  width: 26px; height: 26px; border-radius: var(--radius-xs);
  background: rgba(18, 18, 22, 0.75); color: var(--text-2);
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  transition: all .18s ease;
}
.cw-drop-remove:hover {
  background: rgba(239, 68, 68, 0.9);
  color: #fff;
  border-color: #ef4444;
  transform: scale(1.05);
}

/* Logo Preview Stage */
.cw-preview-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  padding: 6px 4px 4px;
}
.cw-preview-frame {
  max-width: 92%;
  width: 100%;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, rgba(255,255,255,0.04) 0%, rgba(255,255,255,0.01) 100%), var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
  position: relative;
  overflow: hidden;
}
.cw-preview-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 50% / 12px 12px;
  pointer-events: none;
}
.cw-preview-frame img.cw-preview-img {
  max-height: 76px;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.35));
}

/* Favicon Preview Stage */
.cw-fav-preview-stage {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 0;
  padding: 6px 4px 4px;
}
.cw-fav-tab-mock {
  flex: 1;
  max-width: 165px;
  background: var(--bg-1);
  border: 1px solid var(--border);
  border-radius: var(--radius-xs);
  padding: 6px 8px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.25);
}
.cw-fav-tab-header {
  display: flex;
  align-items: center;
  gap: 4px;
  padding-left: 2px;
}
.cw-fav-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}
.cw-fav-tab-chip {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-3);
  border: 1px solid var(--border-subtle);
  border-radius: 5px;
  padding: 4px 7px;
  min-width: 0;
}
.cw-fav-mini-img {
  width: 16px;
  height: 16px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 2px;
}
.cw-fav-tab-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-1);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cw-fav-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.cw-fav-badge-frame {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: radial-gradient(circle at center, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0.01) 100%), var(--bg-1);
  border: 1px solid var(--border-strong);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  position: relative;
  overflow: hidden;
}
.cw-fav-badge-frame::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-conic-gradient(rgba(255,255,255,0.02) 0% 25%, transparent 0% 50%) 50% / 8px 8px;
  pointer-events: none;
}
.cw-fav-badge-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  position: relative;
  z-index: 1;
}

/* Bottom Metadata Bar */
.cw-drop-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-top: 8px;
  border-top: 1px solid var(--border-subtle, rgba(255,255,255,0.07));
  margin-top: 2px;
}
.cw-drop-file-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  overflow: hidden;
}
.cw-drop-check {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.4);
  color: #10B981;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.cw-drop-check svg {
  width: 10px;
  height: 10px;
}
.cw-drop-name {
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--text-2);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cw-drop-action-hint {
  font-size: 13px;
  color: var(--text-3);
  white-space: nowrap;
  flex-shrink: 0;
  transition: color .15s;
}
.cw-drop:hover .cw-drop-action-hint {
  color: var(--color-primary-100);
}

/* ── Type selector (cards) ── */
.cw-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cw-type {
  position: relative; cursor: pointer;
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 14px;
  display: flex; align-items: center; gap: 12px;
  transition: all .18s var(--ease-out, ease);
  font-family: inherit; text-align: left; width: 100%; color: inherit;
}
.cw-type:focus-visible { outline: none; border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft); }
.cw-type:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.cw-type.active {
  border-color: var(--color-primary-100); background: linear-gradient(155deg, var(--olympe-soft) 0%, var(--bg-3) 70%);
  box-shadow: 0 0 24px -8px var(--olympe-glow, rgba(var(--primary-rgb), 0.45));
}
.cw-type-ic {
  width: 44px; height: 44px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--bg-2); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; color: var(--text-2);
  transition: all .18s;
}
.cw-type.active .cw-type-ic { background: var(--olympe-soft); border-color: transparent; color: var(--color-primary-100); }
.cw-type-body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.cw-type-name { font-family: var(--font-display); font-weight: 800; font-size: 15.5px; letter-spacing: -.2px; color: var(--text-1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.cw-type-desc { font-size: 13px; color: var(--text-3); line-height: 1.35; }
.cw-type-check {
  position: absolute; top: 10px; right: 10px;
  width: 18px; height: 18px; border-radius: 50%;
  background: var(--color-primary-100); color: var(--color-button-text);
  display: none; align-items: center; justify-content: center;
}
.cw-type.active .cw-type-check { display: flex; }

/* ── Game picker ── */
.cw-search {
  position: relative; margin-bottom: 14px;
}
.cw-search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--text-3); pointer-events: none; }
.cw-search input { padding-left: 42px; }
.cw-games { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.cw-game {
  position: relative; cursor: pointer; text-align: left;
  background: var(--bg-3); border: 1.5px solid var(--border);
  border-radius: var(--radius-md); padding: 0 14px 0 0;
  display: flex; align-items: center; gap: 0;
  height: 64px; min-height: 64px; max-height: 64px;
  box-sizing: border-box;
  overflow: hidden;
  transition: all .16s var(--ease-out, ease);
}
.cw-game:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.cw-game.active { border-color: #E05A10; background: var(--bg-3); }
.cw-game-badge {
  width: 88px; min-width: 88px; max-width: 88px;
  height: 64px; min-height: 64px; max-height: 64px;
  border-radius: calc(var(--radius-md) - 1.5px) 0 0 calc(var(--radius-md) - 1.5px);
  margin: 0;
  padding: 0;
  box-shadow: none;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 14px; letter-spacing: -.5px;
  color: #fff; background: var(--badge, #3a3a4a);
  overflow: hidden;
  box-sizing: border-box;
}
.cw-game:hover .cw-game-badge { transform: none; }
.cw-game-badge svg,
.cw-game-badge img {
  object-fit: contain;
  width: var(--logo-w, auto);
  height: var(--logo-h, auto);
  max-width: var(--logo-w, 76px);
  max-height: var(--logo-h, 44px);
  display: block;
  flex-shrink: 0;
  pointer-events: none;
  transition: transform .18s var(--ease-out, ease);
}
.cw-game-badge img[src*="sports-illustrations"] {
  object-fit: cover;
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
}
.cw-game:hover .cw-game-badge img,
.cw-game:hover .cw-game-badge svg { transform: scale(1.06); }
.cw-game-name {
  font-size: 13.5px; font-weight: 600; color: var(--text-1);
  line-height: 1.25; word-break: break-word;
  padding-left: 14px; padding-right: 28px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  flex: 1;
}
.cw-game-check {
  position: absolute; top: 50%; transform: translateY(-50%); right: 12px;
  width: 20px; height: 20px; border-radius: 50%;
  background: #E05A10; color: #FFFFFF;
  display: none; align-items: center; justify-content: center;
}
.cw-game.active .cw-game-check { display: flex; }
.cw-games-empty {
  grid-column: 1 / -1; text-align: center; padding: 24px 16px;
  font-size: 13px; color: var(--text-2);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
}
.cw-games-empty p { margin: 0 0 10px; line-height: 1.45; }
.cw-games-empty b { color: var(--text-1); }
.cw-empty-suggest-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 16px; border-radius: var(--radius-sm, 8px);
  background: var(--olympe-soft); color: var(--olympe);
  border: 1.5px solid var(--border-strong);
  font-family: var(--font-sans); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: all .16s ease;
}
.cw-empty-suggest-btn:hover {
  background: var(--color-primary-100); color: var(--color-button-text, #14121A);
  border-color: var(--color-primary-100); transform: translateY(-1px);
}
.cw-empty-suggest-btn svg { flex-shrink: 0; }

/* ── Sélecteur de jeux : 4 lignes par défaut & bouton Afficher plus ── */
.cw-games.cw-games-collapsed .cw-game:nth-child(n+13) {
  display: none !important;
}
@media (max-width: 820px) {
  .cw-games.cw-games-collapsed .cw-game:nth-child(n+9) {
    display: none !important;
  }
}
@media (max-width: 560px) {
  .cw-games.cw-games-collapsed .cw-game:nth-child(n+5) {
    display: none !important;
  }
}

.cw-games-more-wrap {
  margin-top: 14px;
  display: flex;
  justify-content: center;
}
.cw-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 22px;
  border-radius: 999px;
  background: var(--bg-3);
  border: 1.5px solid var(--border-strong);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s var(--ease-out, ease);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cw-more-btn:hover {
  background: var(--olympe-soft);
  color: var(--text-1);
  border-color: var(--color-primary-100);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px var(--olympe-glow, rgba(255, 0, 166, 0.18));
}
.cw-more-btn:focus-visible {
  outline: none;
  border-color: var(--color-primary-100);
  box-shadow: 0 0 0 3px var(--olympe-soft);
}
.cw-more-chevron {
  transition: transform .22s ease;
  color: var(--color-primary-100);
  flex-shrink: 0;
}
.cw-more-btn.is-expanded .cw-more-chevron {
  transform: rotate(180deg);
}

/* Game-not-found card */
.cw-missing {
  margin-top: 14px;
  border: 1.5px dashed var(--border-strong); border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(var(--primary-rgb), 0.04), var(--bg-3));
  padding: 18px 20px; transition: border-color .2s;
}
.cw-missing:hover { border-color: rgba(var(--primary-rgb), 0.4); }
.cw-missing-head { display: flex; align-items: center; gap: 14px; }
.cw-missing-ic {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--olympe-soft); color: var(--color-primary-100);
  display: flex; align-items: center; justify-content: center;
}
.cw-missing-txt { flex: 1; }
.cw-missing-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--text-1); }
.cw-missing-desc { font-size: 13px; color: var(--text-3); line-height: 1.4; margin-top: 2px; }
.cw-missing-btn {
  flex-shrink: 0; display: inline-flex; align-items: center; gap: 8px;
  background: transparent; border: 1px solid var(--border-strong); color: var(--text-1);
  border-radius: var(--radius-sm); padding: 10px 16px; cursor: pointer;
  font-family: var(--font-sans); font-weight: 700; font-size: 13.5px;
  transition: all .18s;
}
.cw-missing-btn:hover { border-color: var(--color-primary-100); color: var(--color-primary-100); background: var(--olympe-soft); }
.cw-missing-form { display: none; margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--border); }
.cw-missing.open .cw-missing-form { display: block; }
@media (prefers-reduced-motion: no-preference) {
  .cw-missing.open .cw-missing-form { animation: cwReveal .3s var(--ease-out, ease) both; }
}
@keyframes cwReveal { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.cw-missing.open .cw-missing-btn { display: none; }
.cw-missing-row { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; align-items: end; }
.cw-mini-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--text-3); margin-bottom: 6px; display: block; }
.cw-missing-sent {
  display: none; align-items: center; gap: 12px; margin-top: 16px;
  background: rgba(77,216,164,0.08); border: 1px solid rgba(77,216,164,0.3);
  border-radius: var(--radius-md); padding: 14px 16px;
  font-size: 13.5px; color: var(--text-1);
}
.cw-missing-sent .ic { width: 26px; height: 26px; border-radius: 50%; background: var(--green); color: #04140f; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }

/* Validated state - the whole card becomes a confirmation */
.cw-missing.sent {
  border-style: solid; border-color: rgba(77,216,164,0.4);
  background: rgba(77,216,164,0.07);
}
.cw-missing.sent .cw-missing-head,
.cw-missing.sent .cw-missing-form { display: none; }
.cw-missing-success { display: none; align-items: center; gap: 14px; }
.cw-missing.sent .cw-missing-success { display: flex; }
.cw-missing-success-ic {
  width: 42px; height: 42px; border-radius: var(--radius-md); flex-shrink: 0;
  background: var(--green); color: #04140f;
  display: flex; align-items: center; justify-content: center;
}
.cw-missing-success-ic svg { width: 18px; height: 18px; }
.cw-missing-success-title { font-family: var(--font-display); font-weight: 800; font-size: 15px; color: var(--text-1); }
.cw-missing-success-desc { font-size: 13px; color: var(--text-2); line-height: 1.4; margin-top: 2px; }

/* ── Socials ── */
.cw-socials { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cw-social {
  display: flex; align-items: center;
  background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--radius-md);
  overflow: hidden; transition: border-color .18s, box-shadow .18s;
}
.cw-social:focus-within { border-color: var(--color-primary-100); box-shadow: 0 0 0 3px var(--olympe-soft); }
.cw-social-ic {
  width: 44px; flex-shrink: 0; align-self: stretch;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-2); background: var(--bg-2); border-right: 1px solid var(--border);
}
.cw-social input { flex: 1; min-width: 0; border: none; background: transparent; outline: none; padding: 12px 13px; color: var(--text-1); font-size: 13.5px; font-family: var(--font-sans); }
.cw-social input::placeholder { color: var(--text-3); }

/* ── Footer action bar ── */
.cw-footer {
  position: relative; z-index: 3; flex-shrink: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 16px 28px;
  background: rgba(10,10,15,0.86);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-top: 1px solid var(--border);
}
.cw-footer-meta { font-size: 13px; color: var(--text-3); display: flex; flex-direction: column; align-items: flex-start; gap: 3px; }
.cw-footer-reassure { display: flex; align-items: center; gap: 8px; }
.cw-footer-reassure svg { color: var(--green); flex-shrink: 0; }
.cw-footer-hint { color: var(--color-primary-100); font-weight: 600; }
.cw-footer-hint[hidden] { display: none; }
.cw-footer-actions { display: flex; align-items: center; gap: 10px; }
.cw-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  min-height: 44px;
  border-radius: var(--radius-md); padding: 13px 22px;
  font-family: var(--font-sans); font-weight: 700; font-size: 14.5px; letter-spacing: -.1px;
  cursor: pointer; border: 1px solid transparent; text-decoration: none;
  transition: transform .15s ease, box-shadow .22s ease, background .18s, border-color .18s, color .18s, opacity .18s;
}
.cw-btn-primary { background: var(--color-primary-100); color: var(--color-button-text); box-shadow: 0 8px 24px -8px var(--olympe-glow, rgba(var(--primary-rgb), 0.5)); }
.cw-btn-primary:hover { transform: translateY(-1px); filter: brightness(1.05); box-shadow: 0 12px 30px -8px var(--color-primary-100); }
.cw-btn-primary:disabled { opacity: .45; cursor: not-allowed; box-shadow: none; transform: none; filter: none; }
.cw-btn-ghost { background: transparent; color: var(--text-2); border-color: var(--border-strong); }
.cw-btn-ghost:hover { color: var(--text-1); border-color: var(--text-3); }
.cw-btn .arrow { transition: transform .2s; }
.cw-btn-primary:hover .arrow { transform: translateX(4px); }

/* ── Step 2 : account ── */
.cw-account-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
  width: 100%;
}
.cw-account-grid > div {
  min-width: 0;
  width: 100%;
}
.cw-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  padding: 4px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  width: 100%;
}
.cw-toggle button {
  border: none;
  background: transparent;
  cursor: pointer;
  padding: 11px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13.5px;
  color: var(--text-3);
  transition: all .18s;
  white-space: nowrap;
}
.cw-toggle button.active {
  background: var(--bg-1);
  color: var(--text-1);
  box-shadow: var(--shadow-card);
}
.cw-oauth {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 20px;
  width: 100%;
}
.cw-oauth-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  width: 100%;
  padding: 13px;
  cursor: pointer;
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 14px;
  color: var(--text-1);
  transition: all .18s;
}
.cw-oauth-btn:hover {
  border-color: var(--text-3);
  background: var(--bg-3);
}
.cw-or {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
  width: 100%;
}
.cw-or::before, .cw-or::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cw-or span {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-3);
  white-space: nowrap;
}

/* Email-code (OTP) flow */
.cw-code-note {
  font-size: 13px;
  color: var(--text-2);
  line-height: 1.5;
  margin-bottom: 16px;
}
.cw-code-note b {
  color: var(--text-1);
  font-weight: 600;
}
.cw-link-btn {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary-100);
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cw-link-btn:hover {
  filter: brightness(1.1);
}
.cw-otp {
  display: flex;
  gap: 8px;
  width: 100%;
  max-width: 360px;
}
.cw-otp-box {
  flex: 1 1 0;
  min-width: 0;
  width: 100%;
  max-width: 52px;
  height: 56px;
  text-align: center;
  background: var(--bg-3);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  color: var(--text-1);
  font-family: var(--font-mono);
  font-size: 22px;
  font-weight: 700;
  outline: none;
  padding: 0;
  transition: border-color .18s, box-shadow .18s, background .18s;
}
.cw-otp-box:focus {
  border-color: var(--color-primary-100);
  box-shadow: 0 0 0 3px var(--olympe-soft);
  background: var(--bg-2);
}
.cw-otp.invalid .cw-otp-box {
  border-color: var(--red);
}
.cw-resend {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cw-resend-ok {
  color: var(--green);
  font-weight: 600;
}
.cw-resend-ok[hidden] {
  display: none;
}

@media (max-width: 560px) {
  .cw-otp { gap: 6px; }
  .cw-otp-box { height: 48px; font-size: 18px; }
}

/* ── OIDC Olympe Account Card (Step 3) ── */
.cw-oidc-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px 20px;
  margin-bottom: 18px;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border-strong);
  background: linear-gradient(155deg, var(--olympe-soft) 0%, var(--bg-3) 72%);
  transition: border-color .2s ease, background .2s ease;
  max-width: 100%;
  min-width: 0;
}
.cw-oidc-card.is-connected {
  background: linear-gradient(155deg, rgba(77, 216, 164, 0.12) 0%, var(--bg-3) 72%);
  border-color: rgba(77, 216, 164, 0.42);
}
.cw-oidc-card.needs-scope {
  background: linear-gradient(155deg, rgba(239, 159, 59, 0.14) 0%, var(--bg-3) 72%);
  border-color: rgba(239, 159, 59, 0.42);
}
.cw-oidc-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.cw-oidc-identity {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
  flex: 1;
}
.cw-oidc-badge {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 7px;
  padding: 4px 11px;
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: .03em;
  background: var(--olympe-soft);
  color: var(--color-primary-100);
  border: 1px solid rgba(var(--primary-rgb), 0.3);
  max-width: 100%;
}
.cw-oidc-badge svg {
  flex-shrink: 0;
}
.cw-oidc-card.is-connected .cw-oidc-badge {
  background: rgba(77, 216, 164, 0.16);
  color: var(--green);
  border-color: rgba(77, 216, 164, 0.38);
}
.cw-oidc-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 16px;
  line-height: 1.3;
  color: var(--text-1);
}
.cw-oidc-sub {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-2);
}
.cw-oidc-tag {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-2);
  line-height: 1.35;
  min-width: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cw-oidc-tag strong {
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
  color: var(--green);
  overflow-wrap: anywhere;
  word-break: break-word;
}
.cw-oidc-email {
  font-size: 13px;
  color: var(--text-3);
  line-height: 1.4;
  overflow-wrap: anywhere;
  word-break: break-all;
}
.cw-oidc-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.cw-oidc-btn {
  min-height: 44px;
  padding: 11px 18px;
  font-size: 14px;
  font-weight: 700;
}
.cw-oidc-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 10px 15px;
  border-radius: var(--radius-md);
  background: var(--bg-2);
  border: 1px solid var(--border-strong);
  color: var(--text-2);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color .18s ease, background .18s ease, color .18s ease;
}
.cw-oidc-switch:hover {
  color: var(--text-1);
  border-color: var(--color-primary-100);
  background: var(--bg-1);
}
.cw-oidc-switch:focus-visible,
.cw-oidc-btn:focus-visible {
  outline: 2px solid var(--color-primary-100);
  outline-offset: 2px;
}
.cw-oidc-err {
  margin-top: -8px;
  margin-bottom: 16px;
  font-size: 13px;
  line-height: 1.45;
}

/* Recap card */
.cw-recap {
  background: linear-gradient(160deg, var(--bg-2), var(--bg-1));
  border: 1px solid var(--border-strong); border-radius: var(--radius-lg);
  padding: 22px; position: sticky; top: 0;
}
.cw-recap-label { font-family: var(--font-mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-bottom: 16px; }
.cw-recap-head { display: flex; align-items: center; gap: 13px; margin-bottom: 18px; }
.cw-recap-logo {
  width: 52px; height: 52px; border-radius: var(--radius-md); flex-shrink: 0; overflow: hidden;
  background: var(--bg-3); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 900; font-size: 20px; color: var(--color-primary-100);
}
.cw-recap-logo img { width: 100%; height: 100%; object-fit: contain; padding: 6px; }
.cw-recap-name { font-family: var(--font-display); font-weight: 800; font-size: 17px; color: var(--text-1); letter-spacing: -.2px; line-height: 1.2; word-break: break-word; }
.cw-recap-sub { font-family: var(--font-mono); font-size: 13px; color: var(--color-primary-100); margin-top: 3px; word-break: break-all; }
.cw-recap-rows { display: flex; flex-direction: column; gap: 0; }
.cw-recap-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 13px; }
.cw-recap-row .k { color: var(--text-3); flex-shrink: 0; }
.cw-recap-row .v { color: var(--text-1); font-weight: 600; text-align: right; min-width: 0; overflow-wrap: anywhere; word-break: break-word; }
.cw-recap-tag { font-family: var(--font-mono); color: var(--green); }
.cw-recap-tag-req { color: var(--amber); }

/* ── Success ── */
.cw-success { text-align: center; max-width: 520px; margin: 10px auto; padding: 20px 0; }
.cw-success-ic {
  width: 80px; height: 80px; border-radius: 50%; margin: 0 auto 26px;
  background: var(--olympe-soft); color: var(--color-primary-100);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 40px -6px var(--olympe-glow, rgba(var(--primary-rgb), 0.5));
  animation: cwPop .5s var(--ease-out, ease) both;
}
.cw-success-ic.is-live {
  background: rgba(77, 216, 164, 0.16);
  color: var(--green);
  box-shadow: 0 0 40px -6px rgba(77, 216, 164, 0.45);
}
@keyframes cwPop { 0% { transform: scale(.6); opacity: 0; } 60% { transform: scale(1.08); } 100% { transform: scale(1); opacity: 1; } }
.cw-success h2 { font-family: var(--font-display); font-weight: 900; font-size: clamp(28px,4vw,40px); letter-spacing: -1px; color: var(--text-1); margin: 0 0 12px; }
.cw-success p { font-size: 15.5px; color: var(--text-2); line-height: 1.55; margin: 0 0 28px; }
.cw-success-link {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
  font-family: var(--font-mono); font-size: 14px; color: var(--text-1);
  background: var(--bg-3); border: 1px solid var(--border-strong); border-radius: 99px; padding: 11px 20px;
}
.cw-success-link b { color: var(--color-primary-100); }

/* ── Responsive ── */
@media (max-width: 820px) {
  .cw-panel { padding: 28px 22px 28px; }
  .cw-account-grid { grid-template-columns: 1fr; gap: 22px; }
  .cw-recap { position: static; order: -1; }
  .cw-games { grid-template-columns: repeat(2, 1fr); }
  .cw-step-label { display: none; }
  .cw-progress { max-width: 240px; }
}
@media (max-width: 560px) {
  .cw-uploads { grid-template-columns: 1fr; }
  .cw-types { grid-template-columns: 1fr; }
  .cw-socials { grid-template-columns: 1fr; }
  .cw-games { grid-template-columns: 1fr; gap: 10px; }
  .cw-game { height: 64px; min-height: 64px; padding: 0 10px 0 0; }
  .cw-game-badge { width: 88px; min-width: 88px; height: 64px; }
  .cw-missing-head { flex-wrap: wrap; }
  .cw-missing-btn { width: 100%; }
  .cw-missing-row { grid-template-columns: 1fr; }
  .cw-topbar { padding: 16px 18px; }
  .cw-scroll { padding: 8px 14px 32px; }
  .cw-footer { padding: 14px 18px; }
  .cw-footer-meta { display: none; }
  .cw-footer-actions { flex: 1; }
  .cw-footer-actions .cw-btn-primary { flex: 1; }

  /* Affinage mobile */
  .cw-title { font-size: 23px; }
  .cw-sub { font-size: 13.5px; }
  .cw-panel { padding: 22px 16px 24px; }
  .cw-head { margin-bottom: 22px; }
  .cw-section { padding: 20px 0; }
  .cw-link-ic { padding: 0 3px 0 11px; }
  .cw-link-field input { font-size: 13px; padding: 13px 6px; }
  .cw-link-suffix { font-size: 13px; padding: 0 10px 0 5px; }
  .cw-type { padding: 16px 14px; gap: 12px; }
  .cw-type-ic { width: 40px; height: 40px; }
  .cw-recap { padding: 16px; }
  .cw-oidc-card { padding: 16px 14px; gap: 10px; }
  .cw-oidc-head { flex-direction: column; align-items: stretch; gap: 8px; }
  .cw-oidc-actions { flex-direction: column; align-items: stretch; }
  .cw-oidc-btn,
  .cw-oidc-switch { width: 100%; justify-content: center; }
  .cw-btn { padding: 13px 16px; font-size: 14px; }
  .cw-progress { padding-bottom: 16px; }
  .cw-success-link {
    font-size: 13px;
    padding: 10px 16px;
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 480px) {
  .cw-link-field input { font-size: 13px; padding: 12px 4px; }
  .cw-link-suffix { font-size: 13px; padding: 0 8px 0 4px; }
  .cw-link-ic { padding: 0 2px 0 8px; }
  .cw-games { grid-template-columns: 1fr; gap: 10px; }
  .cw-game { height: 64px; min-height: 64px; padding: 0 10px 0 0; }
  .cw-game-badge { width: 88px; min-width: 88px; height: 64px; }
  .cw-game { padding: 0 12px 0 0; }
  .cw-topbar { padding: 14px 16px; }
  .cw-scroll { padding: 6px 10px 28px; }
  .cw-panel { padding: 16px 12px 20px; }
  .cw-more-btn { min-height: 44px; width: 100%; max-width: 280px; }
}
@media (max-width: 360px) {
  .cw-link-suffix { font-size: 13px; padding: 0 6px 0 2px; }
  .cw-link-preview { font-size: 13px; flex-wrap: wrap; }
  .cw-footer { padding: 12px; gap: 8px; }
  .cw-footer-actions { gap: 8px; }
  .cw-footer-actions .cw-btn { padding: 11px 12px; font-size: 13.5px; }
}