html.gf-auth-open,
html.gf-auth-open body { overflow: hidden !important; }

.gf-auth {
  align-items: center;
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 20px;
  position: fixed;
  z-index: 2147483600;
}

.gf-auth__backdrop {
  background: rgba(10, 8, 8, .72);
  inset: 0;
  position: absolute;
}

.gf-auth__dialog {
  background: #fff;
  border: 0;
  border-radius: var(--gf-radius-dialog);
  box-shadow: 0 32px 100px rgba(0, 0, 0, .36);
  max-height: calc(100dvh - 40px);
  max-width: 860px;
  overflow: hidden;
  padding: 0;
  position: relative;
  width: 100%;
}

.gf-auth__dialog:focus { outline: none; }

.gf-auth__shell {
  display: grid;
  grid-template-columns: minmax(290px, .82fr) minmax(430px, 1.18fr);
  max-height: calc(100dvh - 40px);
  min-height: 548px;
}

.gf-auth__story {
  align-items: flex-end;
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, .18), transparent 24%),
    radial-gradient(circle at 88% 82%, rgba(255, 174, 174, .22), transparent 28%),
    linear-gradient(145deg, #8d0710 0%, #c31420 50%, #e12834 100%);
  color: #fff;
  display: flex;
  min-height: 548px;
  overflow: hidden;
  padding: 44px 38px;
  position: relative;
}

.gf-auth__story::before,
.gf-auth__story::after {
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  content: '';
  position: absolute;
}
.gf-auth__story::before { height: 290px; left: -150px; top: -120px; width: 290px; }
.gf-auth__story::after { bottom: -160px; height: 360px; right: -220px; width: 360px; }

.gf-auth__story-mark {
  height: 110px;
  left: 38px;
  opacity: .92;
  position: absolute;
  top: 42px;
  width: 142px;
}
.gf-auth__story-mark span {
  border: 2px solid rgba(255, 255, 255, .82);
  border-radius: 999px;
  height: 54px;
  position: absolute;
  width: 54px;
}
.gf-auth__story-mark span:nth-child(1) { left: 44px; top: 0; }
.gf-auth__story-mark span:nth-child(2) { left: 8px; top: 45px; }
.gf-auth__story-mark span:nth-child(3) { left: 80px; top: 45px; }

.gf-auth__intro {
  color: #fff !important;
  font-size: 20px;
  line-height: 1.5;
  margin: 0;
  position: relative;
  z-index: 2;
}
.gf-auth__intro strong {
  display: block;
  font-size: 25px;
  font-weight: 750;
  letter-spacing: -.02em;
  line-height: 1.35;
  margin-top: 12px;
}

.gf-auth__panel {
  background: #fff;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 96px 46px 54px;
  scrollbar-color: rgba(112, 112, 112, .72) transparent;
  scrollbar-width: thin;
}
.gf-auth__panel::-webkit-scrollbar { width: 5px; }
.gf-auth__panel::-webkit-scrollbar-track { background: transparent; }
.gf-auth__panel::-webkit-scrollbar-thumb {
  background: rgba(112, 112, 112, .72);
  border: 0;
  border-radius: 999px 0 0 999px;
  min-height: 48px;
}
.gf-auth__panel::-webkit-scrollbar-button { display: none; height: 0; width: 0; }

.gf-auth__close {
  align-items: center;
  background: var(--gf-red) !important;
  border: 1px solid var(--gf-red) !important;
  border-radius: 999px !important;
  box-shadow: 0 5px 18px rgba(0, 0, 0, .09) !important;
  color: #fff !important;
  cursor: pointer;
  display: flex;
  font-size: 0 !important;
  height: 42px;
  justify-content: center;
  max-width: 42px !important;
  min-width: 42px !important;
  padding: 0 !important;
  position: absolute;
  right: 20px;
  top: 20px;
  width: 42px !important;
  z-index: 5;
}
.gf-auth__close::before,
.gf-auth__close::after {
  background: currentColor;
  border-radius: 999px;
  content: '';
  height: 3px;
  left: 50%;
  position: absolute;
  top: 50%;
  width: 14px;
}
.gf-auth__close::before { transform: translate(-50%, -50%) rotate(45deg); }
.gf-auth__close::after { transform: translate(-50%, -50%) rotate(-45deg); }

.gf-auth__preflight {
  align-items: center;
  color: var(--gf-muted);
  display: flex;
  font-size: 13px;
  gap: 8px;
  margin: -8px 0 16px;
}
.gf-auth__preflight > span {
  animation: gf-auth-spin .75s linear infinite;
  border: 2px solid #dedede;
  border-radius: 50%;
  border-top-color: var(--gf-red);
  height: 14px;
  width: 14px;
}
@keyframes gf-auth-spin { to { transform: rotate(360deg); } }

.gf-auth__sr-only {
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

@media (max-width: 760px) {
  .gf-auth__dialog {
    border-radius: 18px;
    max-height: calc(100dvh - 20px);
    max-width: 560px;
    overflow-y: auto;
  }
  .gf-auth__shell { display: block; max-height: none; min-height: 0; }
  .gf-auth__story { min-height: 225px; padding: 70px 24px 28px; }
  .gf-auth__story-mark { left: 24px; top: 22px; transform: scale(.65); transform-origin: left top; }
  .gf-auth__intro { font-size: 16px; line-height: 1.45; }
  .gf-auth__intro strong { font-size: 20px; line-height: 1.32; margin-top: 8px; }
  .gf-auth__panel { max-height: none; overflow: visible; padding: 28px 22px 26px; }
  .gf-auth__close {
    background: rgba(255, 255, 255, .14) !important;
    border-color: rgba(255, 255, 255, .45) !important;
    box-shadow: none !important;
    right: 16px;
    top: 16px;
  }
}
