html:not([data-skin="aurum"]) .ice-auth-page .ice-auth-hero {
  flex-direction: column;
  min-height: 0;
  padding: 0;
}

html:not([data-skin="aurum"]) .ice-auth-page .ice-auth-brand {
  order: -1;
  width: 100%;
  max-width: none;
  padding: max(18px, env(safe-area-inset-top)) 20px 8px;
  background: #f8fbff;
  text-align: center;
}

html:not([data-skin="aurum"]) .ice-auth-page .ice-auth-title-row { justify-content: center; }
html:not([data-skin="aurum"]) .ice-auth-page .ice-auth-brand p { margin-left: 0; color: #4f6784; }

html:not([data-skin="aurum"]) .ice-auth-page .ice-auth-art {
  position: static;
  z-index: auto;
  display: block;
  width: 100%;
  height: clamp(128px, 46vw, 198px);
  min-height: 0;
  object-fit: cover;
  mask-image: linear-gradient(#000 82%, transparent);
  pointer-events: none;
}

html[data-skin="kk"] .ice-auth-page .ice-auth-brand,
html[data-skin="ylblue"] .ylblue-auth .ylblue-auth-brand {
  display: none;
}

html[data-skin="kk"] .ice-auth-page .ice-auth-art {
  height: auto;
  aspect-ratio: 3 / 2;
  object-position: center top;
  opacity: 1;
  mask-image: linear-gradient(#000 94%, transparent);
}

/* Also cover releases where Skin A still binds the background as an inline style. */
html[data-skin="qj"] .login:has(.login-title) {
  background-image: none !important;
}

html[data-skin="ylblue"] .ylblue-auth {
  display: flex;
  flex-direction: column;
  padding: env(safe-area-inset-top) 0 max(16px, env(safe-area-inset-bottom));
}

html[data-skin="ylblue"] .ylblue-auth .ylblue-auth-art {
  position: static;
  display: block;
  align-self: center;
  width: min(100%, 400px);
  width: min(100%, 49svh, 400px);
  height: auto;
  min-height: 0;
  aspect-ratio: 10 / 7;
  object-fit: cover;
  object-position: center 37%;
  mask-image: linear-gradient(#000 88%, transparent);
}

html[data-skin="ylblue"] .ylblue-auth .ylblue-auth-panel {
  flex-shrink: 0;
  margin: 0 auto;
}

html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-panel {
  gap: 7px;
  padding-block: 10px 12px;
}

html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-tabs { margin-bottom: 0; padding: 3px; }
html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-tabs button { min-height: 39px; }
html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-field { height: 44px; }
html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-captcha-image { height: 36px; }
html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-submit { min-height: 46px; }

@media (max-height: 640px) {
  html[data-skin="ylblue"] .ylblue-auth .ylblue-auth-art { width: min(100%, 38svh); }
  html[data-skin="ylblue"] .ylblue-auth.is-register .ylblue-auth-panel { gap: 5px; padding-block: 8px 10px; }
}

html[data-skin="aurum"] .ice-auth-page.login-auth-page {
  min-height: 100vh;
  min-height: 100dvh;
  background: #131416 url("./aurum-auth-background-ee5e9bc7c9de1658.webp") center top / cover no-repeat;
}

html[data-skin="aurum"] .ice-auth-page .ice-auth-art {
  display: none;
}
