/* MYCELL — porte d'entrée des apps réservées aux membres (porte-compte.js)       build porte-2026-11-21-1 */
html.porte-attente body > *:not(.mcx-voile), html.porte-fermee body > *:not(#porte):not(.mcx-voile) { display: none !important; }
html.porte-attente body::after {            /* le temps de vérifier le compte (quelques millisecondes en général) */
  content: ''; position: fixed; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%;
  border: 3px solid rgba(255,255,255,.18); border-top-color: #E8B04B; animation: porteTourne .8s linear infinite;
}
@keyframes porteTourne { to { transform: rotate(360deg); } }
#porte { position: fixed; inset: 0; z-index: 99999; display: grid; place-items: center; padding: 24px;
  background: radial-gradient(circle at 50% 0%, #22263a, #0B0B0F 70%); color: #F4F4F6;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif; }
#porte .porte-carte { width: min(420px, 100%); text-align: center; animation: porteVient .35s cubic-bezier(.16,.84,.3,1) both; }
@keyframes porteVient { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
#porte .porte-ic { font-size: 54px; line-height: 1; margin-bottom: 14px; }
#porte h1 { font-size: 22px; line-height: 1.25; margin: 0 0 10px; }
#porte p { margin: 0 0 22px; color: #C9CAD3; font-size: 15px; line-height: 1.45; }
#porte .porte-bts { display: grid; gap: 10px; }
#porte .porte-bt { min-height: 50px; border-radius: 14px; border: 1.5px solid rgba(255,255,255,.22); background: transparent; color: inherit;
  font-family: inherit; font-size: 16px; font-weight: 700; cursor: pointer; }
#porte .porte-bt.or { border: 0; background: linear-gradient(135deg, #F2C063, #D9962B); color: #1B1406; }
#porte .porte-bt:disabled { opacity: .6; cursor: progress; }
#porte .porte-bt:focus-visible, #porte .porte-retour:focus-visible { outline: 3px solid #F2C063; outline-offset: 3px; }
#porte .porte-retour { display: inline-block; margin-top: 20px; color: #C9CAD3; font-size: 14px; }
@media (prefers-reduced-motion: reduce) { #porte .porte-carte, html.porte-attente body::after { animation: none; } }
/* 21/11 — bulle de connexion : l'app reste visible derrière (floutée par la bulle), sans réagir */
html.porte-bulle body > *:not(.mcx-voile) { pointer-events: none; user-select: none; }
