/* =========================================================
   MEMBERS APP — MASTER STYLESHEET
   ========================================================= */

/* ---------------------------------------------------------
   ARTIST ROSTER CONTAINER
   --------------------------------------------------------- */

#artist-roster-container {
  width: 100%;
  margin-top: 1.5rem;
}

#artist-roster-container #artist-roster-frame {
  display: block;
  width: 100%;
  height: 700px;
  min-height: 700px;
  max-width: 100%;
  border: 0;
  border-radius: 16px;
  overflow: hidden;
  background: #09000f;
}


/* ---------------------------------------------------------
   ARTIST ROSTER MODAL
   --------------------------------------------------------- */

#artist-roster-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 2vh 2vw;

  background: rgba(0, 0, 0, 0.82);

  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition:
    opacity 0.35s ease,
    visibility 0.35s ease;
}

#artist-roster-modal.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


/* ---------------------------------------------------------
   ROSTER PANEL
   --------------------------------------------------------- */

#artist-roster-panel {
  position: relative;

  width: min(1400px, 96vw);
  height: min(92vh, 1100px);

  background: #09000f;

  border: 1px solid rgba(187, 0, 255, 0.65);
  border-radius: 22px;

  box-shadow:
    0 0 60px rgba(187, 0, 255, 0.25),
    0 25px 100px rgba(0, 0, 0, 0.75);

  overflow: hidden;

  transform: scale(0.88) translateY(30px);
  opacity: 0;

  transition:
    transform 0.4s cubic-bezier(.2,.8,.2,1),
    opacity 0.3s ease;
}

#artist-roster-modal.open #artist-roster-panel {
  transform: scale(1) translateY(0);
  opacity: 1;
}


/* ---------------------------------------------------------
   ROSTER IFRAME
   --------------------------------------------------------- */

#artist-roster-panel #artist-roster-frame {
  position: absolute;
  inset: 0;

  display: block;

  width: 100%;
  height: 100%;

  min-width: 0;
  min-height: 0;

  max-width: 100%;
  max-height: 100%;

  margin: 0;
  padding: 0;

  border: 0;

  background: #09000f;

  transform: none;
}


/* ---------------------------------------------------------
   CLOSE BUTTON
   --------------------------------------------------------- */

#closeArtistRoster {
  position: absolute;

  top: 12px;
  right: 12px;

  z-index: 10;

  width: 44px;
  height: 44px;

  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;

  background: rgba(0,0,0,0.75);
  color: #fff;

  font-size: 28px;
  line-height: 1;

  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition:
    background 0.2s ease,
    transform 0.2s ease;
}

#closeArtistRoster:hover {
  background: rgba(187,0,255,0.8);
  transform: scale(1.08);
}


/* ---------------------------------------------------------
   BODY WHEN MODAL IS OPEN
   --------------------------------------------------------- */

body.artist-roster-open {
  overflow: hidden;
}


/* ---------------------------------------------------------
   MOBILE
   --------------------------------------------------------- */

@media (max-width: 700px) {

  #artist-roster-modal {
    padding: 1vh 1vw;
    align-items: center;
    justify-content: center;
  }

  #artist-roster-panel {
    position: relative;

    width: 98vw;
    height: 96vh;

    max-width: 98vw;
    max-height: 96vh;

    border-radius: 16px;

    overflow: hidden;
  }

  #artist-roster-panel #artist-roster-frame {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    min-width: 0;
    min-height: 0;

    max-width: 100%;
    max-height: 100%;

    transform: none;
  }

  #closeArtistRoster {
    width: 40px;
    height: 40px;

    top: 8px;
    right: 8px;
  }
}

/* =========================================================
   ARTIST ROSTER — FORCE IFRAME TO FIT CONTAINER
========================================================= */

#artist-roster-panel {
  width: min(1400px, 96vw);
  height: min(92vh, 1100px);
  min-width: 0;
  min-height: 0;
  max-width: 96vw;
  max-height: 92vh;
}

#artist-roster-panel #artist-roster-frame {
  display: block;
  position: absolute;
  inset: 0;

  width: 100% !important;
  height: 100% !important;

  min-width: 0 !important;
  min-height: 0 !important;

  max-width: 100% !important;
  max-height: 100% !important;

  margin: 0;
  padding: 0;
  border: 0;

  transform: none !important;
  overflow: hidden;
}

@media (max-width: 700px) {

  #artist-roster-panel {
    width: 98vw;
    height: 96vh;
    max-width: 98vw;
    max-height: 96vh;
  }

  #artist-roster-panel #artist-roster-frame {
    width: 100% !important;
    height: 100% !important;
  }

}

