/* Only the sign-in page owns this joined artwork and form surface. */
body.sc-auth.sc-network[data-net-page=login] .pp {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  width: min(1208px, 100%);
  padding: 108px 24px 48px;
}
body.sc-auth.sc-network[data-net-page=login] .pp > .net-breadcrumb {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}
body.sc-auth.sc-network[data-net-page=login] .auth-scene {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  width: 100%;
  min-width: 0;
  min-height: 620px;
  padding: 32px;
  overflow: hidden;
  border: 1px solid var(--auth-line);
  border-right: 0;
  border-radius: 8px 0 0 8px;
  background: #11181d;
  box-shadow: -12px 20px 48px #0005;
}
body.sc-auth .auth-scene__image {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  pointer-events: none;
}
body.sc-auth .auth-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, #060b10d9, #060b1070 18%, transparent 42%);
  pointer-events: none;
}
body.sc-auth .auth-scene__caption {
  position: relative;
  z-index: 2;
  min-width: 0;
  max-width: 100%;
  color: #f2f6f8;
  text-shadow: 0 2px 12px #000a;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
body.sc-auth .auth-scene__caption p {
  margin: 6px 0 0;
  font: 450 20px/1.4 Inter, system-ui, sans-serif;
  letter-spacing: 0;
}
body.sc-auth .auth-scene__caption .auth-scene__brand {
  margin: 0;
  font: 750 32px/1.2 Inter, system-ui, sans-serif;
  letter-spacing: 0;
}
/* Follow the existing reset state, including deep links and Google recovery. */
body.sc-auth .auth-scene__recovery { display: none; }
body.sc-auth .pp:has(> .acc-wrap.is-reset) .auth-scene__signin { display: none; }
body.sc-auth .pp:has(> .acc-wrap.is-reset) .auth-scene__recovery { display: block; }
body.sc-auth.sc-network[data-net-page=login] .acc-wrap {
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 0;
  border: 1px solid var(--auth-line);
  border-radius: 0 8px 8px 0;
  background: linear-gradient(150deg, #1a2228fa, #10171bfc 72%);
  box-shadow: 12px 20px 48px #0005;
}
body.sc-auth.sc-network[data-net-page=login] .acc-wrap > :is(#authCard, #resetCard, #acctCard) {
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}
body.sc-auth.sc-network[data-net-page=login] .acc-wrap > :is(#authCard, #resetCard, #acctCard):not([hidden]) {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
}
body.sc-auth.sc-network[data-net-page=login] .acc-wrap > .acc-notice:not(:empty) {
  margin: 24px 24px 0;
}
@media (min-width: 961px) and (max-width: 1040px) {
  body.sc-auth.sc-network[data-net-page=login] .pp { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  body.sc-auth.sc-network[data-net-page=login] .acc-wrap > :is(#authCard, #resetCard, #acctCard) { padding-inline: 26px; }
  body.sc-auth.sc-network[data-net-page=login] .auth-scene { padding: 26px; }
  body.sc-auth .auth-scene__caption .auth-scene__brand { font-size: 28px; }
}
@media (max-width: 960px) {
  body.sc-auth.sc-network[data-net-page=login] .pp {
    grid-template-columns: minmax(0, 1fr);
    width: min(608px, 100%);
  }
  body.sc-auth.sc-network[data-net-page=login] .auth-scene {
    width: 100%;
    min-height: 0;
    height: 360px;
    padding: 24px;
    border: 1px solid var(--auth-line);
    border-bottom: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: 0 -8px 40px #0004;
  }
  body.sc-auth .auth-scene__image { object-position: 50% 20%; }
  body.sc-auth .auth-scene__image.auth-scene__recovery { object-position: 50% 62%; }
  body.sc-auth.sc-network[data-net-page=login] .acc-wrap { border-radius: 0 0 8px 8px; box-shadow: 0 20px 48px #0005; }
}
@media (max-width: 540px) {
  body.sc-auth.sc-network[data-net-page=login] .pp { padding: 94px 16px 32px; }
  body.sc-auth.sc-network[data-net-page=login] .auth-scene { height: 260px; padding: 22px; }
  body.sc-auth .auth-scene__caption .auth-scene__brand { font-size: 26px; }
  body.sc-auth .auth-scene__caption p { font-size: 17px; }
}
@media (max-width: 360px) {
  body.sc-auth.sc-network[data-net-page=login] .pp { padding-inline: 12px; }
  body.sc-auth.sc-network[data-net-page=login] .auth-scene { height: 220px; padding: 18px; }
  body.sc-auth .auth-scene__caption .auth-scene__brand { font-size: 24px; }
}
