:root{ --bg:#0B1220; --card:#0F1729; --text:#E2E8F0; --muted:#94A3B8; --accent:#0EA5E9; --radius:14px }
*,*::before,*::after{ box-sizing:border-box }
.cc-hide{ display:none !important }

/* Overlay + popup centré */
#cc-overlay{ position:fixed; inset:0; background:rgba(0,0,0,.55); z-index:999998 }
#cc-popup{ position:fixed; inset:0; display:grid; place-items:center; z-index:999999 }
.cc-card{ width:min(100%, 560px); background:var(--card); color:var(--text); border-radius:var(--radius); border:1px solid rgba(255,255,255,.08); box-shadow:0 20px 60px rgba(0,0,0,.45); font:16px/1.5 system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial }
.cc-card header, .cc-card footer{ padding:16px 18px; border-bottom:1px solid rgba(255,255,255,.08) }
.cc-card footer{ border-bottom:none; display:flex; gap:8px; justify-content:flex-end; flex-wrap:wrap }
.cc-card main{ padding:8px 18px 18px }
.cc-title{ margin:0; font-size:20px }
.cc-sub{ margin:6px 0 0; color:var(--muted); font-size:14px }

/* Boutons */
.cc-actions .btn{ appearance:none; border-radius:12px; padding:10px 14px; font-weight:700; cursor:pointer; border:1px solid rgba(255,255,255,.16); color:white; background:transparent }
.btn-primary{ background:linear-gradient(180deg,#10b1e6 0%, #0B84C3 100%); border-color:transparent }
.btn-ghost{ background:transparent }
.btn-danger{ background:linear-gradient(180deg,#ef4444 0%, #dc2626 100%); border-color:transparent }
.btn:focus-visible{ outline:2px solid rgba(14,165,233,.45); outline-offset:2px }

/* Paramètres minimalistes */
.cc-advanced{ margin-top:10px; padding:12px; border-radius:12px; border:1px solid rgba(255,255,255,.08); background:rgba(255,255,255,.03) }
.cc-row{ display:flex; align-items:center; gap:10px; padding:6px 0 }
.cc-row label{ flex:1 }
.cc-note{ color:var(--muted); font-size:12px; margin-top:6px }
.cc-toggle{ width:42px; height:24px; appearance:none; background:#475569; border-radius:999px; position:relative; outline:none; cursor:pointer; transition:.2s }
.cc-toggle:before{ content:""; position:absolute; width:18px; height:18px; top:3px; left:3px; background:white; border-radius:50%; transition:.2s }
.cc-toggle:checked{ background:#059669 }
.cc-toggle:checked:before{ transform:translateX(18px) }

@media (prefers-reduced-motion:reduce){ *{ transition:none !important; animation:none !important } }
