#welcome.fusion-welcome {
  padding: 0;
  justify-content: flex-start;
  background: linear-gradient(#173cc7, #1328a1 65%, #251b97);
  font-family: 'Nunito', 'Segoe UI', sans-serif;
}

.fusion-welcome .tfWrap {
  display: block;
  flex: none;
  width: min(100%, max(1000px, 195.36vh));
  max-width: none;
  aspect-ratio: 1600 / 819;
  container-type: inline-size;
}

.fusion-art, .fusion-art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.fusion-welcome .tfLeft {
  position: absolute;
  inset: 35.04% auto auto 38.31%;
  width: 23.38%;
  height: 41.15%;
  display: block;
  padding: 0;
}

#welcome.fusion-welcome #authPanel {
  width: 100%;
  height: 100%;
  max-height: none;
  scrollbar-gutter: auto;
  border-radius: 2.15cqw;
  background: linear-gradient(130deg, #f6f7ff, #ebefff 70%, #f6f6ff);
  box-shadow: 0 0.6cqw 1.5cqw #2a24702c;
}

.fusion-welcome #authPanel > .authForm.active {
  min-height: 0;
  justify-content: flex-start;
}

#welcome.fusion-welcome .authCard {
  width: 100%;
  padding: 1.13cqw 1.88cqw;
  color: #130b43;
  border: 0;
  border-radius: 0;
  background: none;
  box-shadow: none;
  backdrop-filter: none;
  font-size: clamp(11px, .95cqw, 21px);
}

.fusion-welcome .authTabs { gap: .7cqw; margin: 0 0 1.08cqw; }
.fusion-welcome .authTabs button {
  min-height: 1.94cqw;
  padding: .24cqw 1.08cqw;
  background: #dedcf6;
  color: #3c0eb1;
  font-size: inherit;
  font-weight: 800;
}

#welcome.fusion-welcome .authTabs button.on,
#welcome.fusion-welcome #authGo,
#welcome.fusion-welcome #welcomeLang .on {
  background: linear-gradient(112deg, #5523ea, #6800f4 57%, #a21bf5);
  color: white;
}

.fusion-field { position: relative; margin-bottom: .56cqw; }
#welcome.fusion-welcome .fusion-field input {
  display: block;
  width: 100%;
  height: 2.13cqw;
  min-height: 22px;
  padding: 0 2.9cqw;
  margin: 0;
  border: 1.5px solid #cbcae9;
  border-radius: 999px;
  background: #f9faff99;
  color: #130b43;
  font-size: inherit;
}
.fusion-field input::placeholder { color: #32275e; opacity: 1; }
.fusion-field-icon {
  position: absolute;
  left: .86cqw;
  top: 50%;
  width: .92cqw;
  height: .86cqw;
  color: #351385;
  transform: translateY(-38%);
  pointer-events: none;
}
.fusion-user { border: 1.5px solid; border-radius: 60% 60% 22% 22%; height: .43cqw; }
.fusion-lock { border: 1.5px solid; border-radius: 22%; height: .62cqw; }
.fusion-field-icon::before {
  content: '';
  position: absolute;
  bottom: 100%;
  left: 50%;
  width: 65%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border: 1.5px solid;
  border-radius: 50%;
}
.fusion-lock::before { border-radius: 50% 50% 0 0; }
#fusionPasswordToggle {
  position: absolute;
  right: .42cqw;
  top: 0;
  height: 100%;
  min-width: 28px;
  background: none;
  color: #51458b;
  font-size: inherit;
}
#fusionPasswordToggle span {
  display: inline-block;
  width: 1em;
  height: .7em;
  position: relative;
  border: 1.5px solid currentColor;
  border-radius: 70% 25% 70% 25%;
  transform: rotate(38deg);
}
#fusionPasswordToggle span::before {
  content: '';
  position: absolute;
  inset: 22% 32%;
  border-radius: 50%;
  background: currentColor;
}
#fusionPasswordToggle[aria-pressed="false"] span::after {
  content: '';
  position: absolute;
  left: -.22em;
  right: -.22em;
  top: 45%;
  border-top: 1.5px solid currentColor;
}

#welcome.fusion-welcome #authGo,
#welcome.fusion-welcome #googleBtn {
  height: 2.25cqw;
  min-height: 23px;
  margin: .17cqw 0 0;
  padding: 0 .5em;
  border-radius: 999px;
  font-size: inherit;
  font-weight: 850;
  box-shadow: 0 .28cqw .6cqw #432cc633;
}
#welcome.fusion-welcome #googleBtn {
  border: 1.5px solid #d3d1ed !important;
  color: #130b43 !important;
}
.fusion-google {
  display: inline-block;
  margin-right: .32em;
  background: conic-gradient(#4285f4 25%, #34a853 25% 50%, #fbbc05 50% 72%, #ea4335 72%);
  background-clip: text;
  color: transparent;
  font: 900 1.55em/1 Arial, sans-serif;
  vertical-align: -.12em;
}
#welcome.fusion-welcome #authMsg { min-height: 0; margin: .28em 0 0; }
#welcome.fusion-welcome #authMsg:empty { display: none; }
#welcome.fusion-welcome #altSignin { margin-top: .9cqw !important; }
#welcome.fusion-welcome #ssoDivider {
  display: flex;
  align-items: center;
  gap: .65em;
  margin: 0 0 .73cqw !important;
  color: #130b43 !important;
  font-size: .9em !important;
  font-weight: 800;
}
.fusion-welcome #ssoDivider::before, .fusion-welcome #ssoDivider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #d0cce6;
}
#welcome.fusion-welcome #loginLinks {
  gap: .35cqw;
  margin-top: .85cqw !important;
  flex-wrap: nowrap !important;
}
#welcome.fusion-welcome #loginLinks button {
  margin: 0;
  padding: .3em;
  color: #241152;
  font-size: .93em;
  font-weight: 700;
  white-space: nowrap;
}
#welcome.fusion-welcome #loginLinks button + button { border-left: 1px solid #cbc5e4; border-radius: 0; }

.fusion-welcome .tfFoot {
  position: absolute;
  left: 30.56%;
  top: 90.06%;
  width: 38.88%;
  height: 7.94%;
  padding: 0;
  margin: 0;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(110deg, #9ea4ff, #77b8f5);
}
.fusion-welcome #welcomeLang { width: 97%; gap: .53cqw; flex-wrap: nowrap; }
.fusion-welcome #welcomeLang button {
  padding: .57cqw .92cqw;
  font-size: clamp(10px, .9cqw, 19px);
  font-weight: 800;
  white-space: nowrap;
}
.fusion-mobile-language { display: none; }
.fusion-utility {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 20px;
  padding: 6px 10px;
}
#welcome.fusion-welcome .fusion-utility button {
  margin: 0;
  padding: 4px;
  background: transparent;
  color: #f6f4ff;
  font-size: 11px;
}
.fusion-welcome :is(button, select):focus-visible { outline: 2px solid #6736eb; outline-offset: 2px; }

@media (max-width: 980px), (orientation: portrait) {
  .fusion-welcome .tfWrap { width: min(100%, 650px); aspect-ratio: 900 / 1552; }
  .fusion-art { overflow: hidden; }
  .fusion-art img { height: auto; top: -5.33cqw; }
  .fusion-welcome .tfLeft { inset: 20.43% auto auto 10.95%; width: 78.1%; height: 40.27%; }
  #welcome.fusion-welcome #authPanel { border-radius: 6.7cqw; }
  #welcome.fusion-welcome .authCard { padding: 4.25cqw 5.56cqw 1.6cqw; font-size: clamp(12px, 3.18cqw, 23px); }
  .fusion-welcome .authTabs { gap: 1.45cqw; margin-bottom: 3.25cqw; }
  .fusion-welcome .authTabs button { width: 40%; min-height: 6.67cqw; padding: .3em; }
  .fusion-field { margin-bottom: 2.05cqw; }
  #welcome.fusion-welcome .fusion-field input { height: 7.56cqw; min-height: 26px; padding: 0 10.7cqw; }
  .fusion-field-icon { left: 4cqw; width: 3.1cqw; height: 1.6cqw; }
  .fusion-lock { height: 2cqw; }
  #fusionPasswordToggle { right: 2.35cqw; }
  #welcome.fusion-welcome #authGo, #welcome.fusion-welcome #googleBtn {
    height: 7.65cqw; min-height: 27px; margin-top: 1.05cqw;
  }
  #welcome.fusion-welcome #altSignin { margin-top: 2.6cqw !important; }
  #welcome.fusion-welcome #ssoDivider { margin-bottom: .75cqw !important; }
  #welcome.fusion-welcome #loginLinks { margin-top: 1.75cqw !important; gap: .8cqw; }
  #welcome.fusion-welcome #loginLinks button { font-size: .9em; white-space: nowrap; }
  .fusion-welcome .tfFoot {
    left: 33.25%; top: 91.58%; width: 33.55%; height: 4.62%;
    background: #4322c9;
    border: 1px solid #c8b5ff;
  }
  .fusion-welcome #welcomeLang { display: none; }
  .fusion-mobile-language { display: flex; align-items: center; gap: 1.1cqw; color: white; font-size: 3.35cqw; }
  .fusion-mobile-language select { color: white; background: #4322c9; border: 0; font: inherit; font-weight: 800; }
}

/* Phones can report a wide CSS viewport in desktop-site mode.
   Keep the portrait artwork and its aligned controls full-width on touch. */
@media (orientation: portrait) and (pointer: coarse) {
  .fusion-welcome .tfWrap { width: 100%; }
}

@media (min-width: 981px) and (max-width: 1499px) and (orientation: landscape) {
  #welcome.fusion-welcome .authCard { padding-block: .65cqw; }
  #welcome.fusion-welcome #altSignin { margin-top: .55cqw !important; }
  #welcome.fusion-welcome #loginLinks { margin-top: .45cqw !important; }
}

@media (max-width: 360px) {
  #welcome.fusion-welcome .authCard { padding-block: 3cqw 1cqw; }
  .fusion-welcome .authTabs { margin-bottom: 2.6cqw; }
  #welcome.fusion-welcome #loginLinks { margin-top: 1.1cqw !important; }
}
