/* Commun à toutes les versions : bandeau cookies, erreurs de formulaire, bouton qui patiente. */
.crc{position:fixed;left:20px;bottom:20px;z-index:9990;width:min(400px,calc(100vw - 32px));box-sizing:border-box;padding:20px;border-radius:18px;
  background:rgba(14,14,18,.94);border:1px solid rgba(255,255,255,.12);box-shadow:0 30px 80px -20px #000,0 0 0 1px #000;color:#f2f2f5;
  font:400 14px/1.5 Inter,"Inter Fallback",system-ui,sans-serif;-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
  opacity:0;transform:translateY(12px);transition:opacity .26s ease,transform .26s cubic-bezier(.22,1,.36,1)}
.crc.in{opacity:1;transform:none}.crc.out{opacity:0;transform:translateY(12px)}
.crc-h{display:flex;align-items:center;gap:10px;margin:0 0 8px;font-size:15px}.crc-h svg{color:#ff6b8e;flex:none}
.crc p{margin:0 0 16px;color:#b4b4bf}.crc a{color:#fff;text-decoration:underline;text-underline-offset:2px}
.crc-b{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.crc-b button{height:44px!important;min-height:44px;padding:0 12px!important;border-radius:12px!important;border:1px solid rgba(255,255,255,.16)!important;background:rgba(255,255,255,.07)!important;color:#fff!important;font:600 14px/1 Inter,"Inter Fallback",system-ui,sans-serif!important;box-shadow:none!important;text-transform:none!important;letter-spacing:0!important;cursor:pointer;transition:background .2s,border-color .2s;transform:none!important}
.crc-b button:hover{background:rgba(255,255,255,.14)!important;border-color:rgba(255,255,255,.3)!important}
.crc button::after,.crc button::before{display:none!important}
.crc button:focus-visible{outline:2px solid #ff6b8e;outline-offset:2px}
.crc-cust{display:block!important;margin:6px auto 0!important;padding:6px 12px!important;min-height:44px;height:auto!important;width:auto!important;background:none!important;border:0!important;box-shadow:none!important;color:#9a9aa6!important;font:500 13px/1 Inter,"Inter Fallback",system-ui,sans-serif!important;cursor:pointer;text-decoration:underline;text-underline-offset:3px;text-transform:none!important}
.crc-cust:hover{color:#fff!important}
.crc-more{display:grid;gap:8px;margin:0 0 14px}
.crc-row{display:flex;align-items:center;justify-content:space-between;gap:14px;padding:12px 14px;border-radius:12px;background:rgba(255,255,255,.04);border:1px solid rgba(255,255,255,.08);cursor:pointer}
.crc-row span{display:grid;gap:2px}.crc-row b{font-size:13.5px}.crc-row small{color:#9a9aa6;font-size:12.5px;line-height:1.4}
.crc-row input{width:40px;height:22px;flex:none;appearance:none;-webkit-appearance:none;border-radius:999px;background:#3a3a44;position:relative;cursor:pointer;transition:background .2s;margin:0}
.crc-row input::after{content:"";position:absolute;top:3px;left:3px;width:16px;height:16px;border-radius:50%;background:#fff;transition:transform .2s}
.crc-row input:checked{background:linear-gradient(90deg,#ff3d6e,#8b5cf6)}.crc-row input:checked::after{transform:translateX(18px)}.crc-row input:disabled{opacity:.6;cursor:not-allowed}
@media (max-width:560px){.crc{left:12px;right:12px;bottom:calc(12px + env(safe-area-inset-bottom));width:auto;padding:14px 14px 8px;font-size:13px;line-height:1.45}
  .crc-h{margin-bottom:6px}.crc p{margin-bottom:12px}.crc-cust{margin-top:2px!important}}  /* plus compact sur téléphone : il cache moins la page */
@media (prefers-reduced-motion:reduce){.crc{transition:none}}
.ferr{display:block;margin-top:6px;color:#ff7a8f;font-size:12.5px;line-height:1.4;text-align:left}
[aria-invalid]{border-color:#ff5c7a!important;box-shadow:0 0 0 3px rgba(255,92,122,.16)!important}
button.busy{position:relative;color:transparent!important;pointer-events:none}
button.busy::before{content:"";position:absolute;left:50%;top:50%;width:18px;height:18px;margin:-9px 0 0 -9px;border-radius:50%;border:2px solid rgba(255,255,255,.35);border-top-color:#fff;animation:crspin .7s linear infinite}
@keyframes crspin{to{transform:rotate(360deg)}}
/* Mise en page de secours des pages communes (erreur, pages légales) pour la version classique.
   Spécificité nulle (:where) : les versions Noir et 3D les remplacent par leur propre style. */
:where(.errwrap){display:grid;justify-items:center;align-content:center;text-align:center;min-height:70vh;padding:48px 24px;max-width:560px;margin:0 auto;box-sizing:border-box}
:where(.errcode){display:inline-block;margin:0 0 24px;font:800 clamp(88px,24vw,200px)/1 Unbounded,Inter,sans-serif;background:linear-gradient(180deg,#ffb3c8,#ff2d75 55%,#7c4dff);-webkit-background-clip:text;background-clip:text;color:transparent}
:where(.authh){font-size:26px;line-height:32px;margin:0 0 8px}:where(.errwrap .hello){color:#a1a1b5;margin:0 0 24px;line-height:1.5}
:where(.authbtn){display:inline-flex;align-items:center;justify-content:center;gap:8px;height:48px;padding:0 24px;border-radius:12px;font-weight:700;color:#fff;text-decoration:none;background:linear-gradient(90deg,#ff2d75,#9b5cff)}
:where(.authbtn svg){width:18px;height:18px}
:where(.lhead){max-width:860px;margin:0 auto;padding:28px 24px 0;display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap;box-sizing:border-box}
:where(.ltabs){display:flex;flex-wrap:wrap;gap:6px}:where(.ltabs a){padding:8px 12px;border-radius:10px;text-decoration:none;color:#a1a1b5}:where(.ltabs a.on){background:#ffffff14;color:#fff}
:where(.authlogo){text-decoration:none;color:#fff;display:inline-flex;align-items:center}
:where(.foot-links){display:inline-flex;flex-wrap:wrap;justify-content:center;gap:6px 18px}
