/* PATCH PORTAL V1.9R - Welcome lock réel */

.portal-welcome-shield {
  position: fixed !important;
  inset: 0 !important;
  z-index: 89990 !important;
  background: transparent !important;
  pointer-events: auto !important;
}

body.portal-welcome-active .portal-logo-discord-link,
body.portal-welcome-active #portalLogoDiscordLink {
  display: none !important;
  visibility: hidden !important;
  pointer-events: none !important;
  opacity: 0 !important;
}

/*
  Important :
  On ne réactive PAS tous les boutons ou tous les liens.
  Seulement la carte Bienvenue active et ses enfants.
*/
body.portal-welcome-active .portal-welcome-card-active {
  position: relative !important;
  z-index: 90020 !important;
  pointer-events: auto !important;
}

body.portal-welcome-active .portal-welcome-card-active,
body.portal-welcome-active .portal-welcome-card-active * {
  pointer-events: auto !important;
}

body.portal-welcome-active .portal-welcome-card-active button,
body.portal-welcome-active .portal-welcome-card-active a {
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* Les cartes de la deuxième page ne peuvent plus recevoir de clics sous Bienvenue */
body.portal-welcome-active .app-card,
body.portal-welcome-active .portal-card,
body.portal-welcome-active .project-card,
body.portal-welcome-active [class*="soundboard"],
body.portal-welcome-active [class*="landriault"],
body.portal-welcome-active [href*="ChillStream"],
body.portal-welcome-active [href*="DJ_Landriault"],
body.portal-welcome-active [href*="DJ"],
body.portal-welcome-active [data-app],
body.portal-welcome-active [data-target] {
  pointer-events: none !important;
}