.kk-auth-page .kk-auth-shell {
  box-sizing:border-box;
  min-height:100vh;
  min-height:100svh;
  padding-top:calc(297.4 * var(--zx));
  padding-bottom:max(24px, env(safe-area-inset-bottom));
}
.kk-auth-page .kk-auth-shell .kk-auth-form {
  position:relative !important;
  inset:auto !important;
  width:calc(100% - 31.2 * var(--zx)) !important;
  max-height:none !important;
  margin:0 auto !important;
  overflow:visible;
  transform:none !important;
  animation:none;
  will-change:auto;
}
.kk-auth-page .kk-auth-shell .kk-field input {font-size:max(16px, calc(16.64 * var(--zx))) !important;}
.kk-auth-shell .zaka-kefu {
  position:static;
  width:max-content;
  min-width:96px;
  min-height:42px;
  max-height:none;
  margin:8px auto 0;
  animation:none;
}
html.zaka-auth-editing .kk-auth-shell {
  padding-bottom:max(24px, env(safe-area-inset-bottom), var(--zaka-auth-covered, 0px));
}

/* The hero, form and support link scroll together when the keyboard is open. */
#root .kk-auth-page > .kk-auth-shell {
  --auth-top:var(--jd-auth-top,env(safe-area-inset-top,0px));
  display:flex;flex-direction:column;align-items:stretch;position:relative;
  padding-top:calc(314 * var(--zx) + var(--auth-top));
  padding-bottom:max(20px,env(safe-area-inset-bottom,0px));
  background-color:#fff!important;
  background-image:url("/jd-brand-splash228.png"),linear-gradient(110deg,#490db1,#251086)!important;
  background-size:100% auto,100% calc(var(--auth-top) + 1px)!important;
  background-position:50% var(--auth-top),top!important;
}
#root .kk-auth-page>.kk-auth-shell::before {
  content:"";position:absolute;pointer-events:none;inset:0 0 auto;height:var(--auth-top);
  background:url("/jd-brand-splash228.png") center top / 100% 12000px no-repeat;
}
#root .kk-auth-page .kk-auth-shell .kk-auth-form {
  width:89%!important;flex:none;min-height:0!important;
  padding:clamp(16px,4vw,23px) clamp(15px,4vw,22px) 8px!important;
  border-radius:17px!important;box-shadow:0 5px 18px #24234312!important;
}
#root .kk-auth-page .kk-auth-shell .kk-auth-form:not(.kk-auth-form-register) {
  padding-top:calc(clamp(16px,4vw,23px) + 16px)!important;
  background:linear-gradient(to bottom,#fff 20px,#f0f4fa 56px)!important;
}
#root .kk-auth-page .kk-field {height:40px!important;flex:0 0 40px!important;margin:0 0 8px!important}
#root .kk-auth-page .kk-field input {font-size:16px!important}
#root .kk-auth-page .kk-login-options {margin:2px 0 0!important;min-height:32px}
#root .kk-auth-page .kk-primary {height:44px!important;flex:0 0 44px!important;font-size:17px!important;margin:14px 0 0!important}
#root .kk-auth-page .kk-auth-error:empty {min-height:0!important;margin:0!important}
#root .kk-auth-page .zaka-links {margin-top:5px;padding-inline:2px}
#root .kk-auth-page .kk-back-login {min-height:40px;margin:4px 0 0!important}
#root .kk-auth-shell .zaka-kefu {position:static!important;flex:none;min-height:44px;margin:clamp(12px,4dvh,30px) auto 0}
.zaka-x {top:calc(var(--jd-auth-top,env(safe-area-inset-top,0px)) + 10px)!important}
html.zaka-auth-editing #root .kk-auth-page>.kk-auth-shell {padding-bottom:max(24px,var(--zaka-auth-covered,0px))}


/* Keep the printed logo and the form below the Android status icons.
   The existing clipped strip samples the top edge of the same poster. */
html.jd-native #root .kk-auth-page > .kk-auth-shell {
  background-position:50% var(--auth-top),top!important;
  padding-top:calc(314 * var(--zx) + var(--auth-top));
}
html.jd-native #root .wending-hall .personPage {
  padding-top:calc(var(--jd-tab-top) + var(--jd-auth-top,0px))!important;
}
html.jd-native #root .wending-hall .personPage .topArea {
  height:calc(66.2vw + var(--jd-auth-top,0px));
}
@supports (width:1cqw) {
  html.jd-native #root .wending-hall .personPage .topArea {
    height:calc(66.2cqw + var(--jd-auth-top,0px));
  }
}
html.jd-native #root .wending-hall .personPage .topArea .head_area {
  top:var(--jd-auth-top,0px)!important;
}
/* The Android shell already resizes the WebView for the keyboard. */
html.jd-native.zaka-auth-editing #root .kk-auth-page > .kk-auth-shell {
  padding-bottom:24px;
}
html.jd-native #root .kk-auth-page > .kk-auth-shell::before {
  position:fixed;
  left:50%;right:auto;width:var(--jd-player-width,100%);
  transform:translateX(-50%);z-index:2;
}

/* The new shell supplies physical insets. Older shells retain their native margin. */
html.jd-edge { --jd-surface-offset:var(--jd-safe-top,0px); background:var(--jd-bar-color,#f4f6fa); }
html.jd-edge[data-jd-surface="mine"] { --jd-surface-offset:0px; }
html.jd-edge body {
  position:fixed!important; inset:var(--jd-surface-offset) 0 0!important;
  width:100%; height:auto!important; min-height:0!important; margin:0!important;
  contain:layout; overflow:hidden;
}
html.jd-edge #root, html.jd-edge #root #app-frame, html.jd-edge .jd-standalone-frame,
html.jd-edge #root > .kk-auth-page, html.jd-edge .wending-hall {
  max-height:calc(100dvh - var(--jd-surface-offset))!important;
}
html.jd-edge[data-jd-surface="mine"] .personPage { --jd-auth-top:var(--jd-safe-top); }
html.jd-edge[data-jd-surface="mine"] .personPage > .topArea { top:0!important; }

/* All tabs retain the same content rectangle. Only the paint above it changes. */
html.jd-bars50, html.jd-bars50[data-jd-surface] { --jd-surface-offset:var(--jd-safe-top,0px); }
html.jd-edge.jd-bars50 body {
  box-sizing:border-box!important; height:calc(100dvh - var(--jd-safe-top))!important;
  max-height:calc(100dvh - var(--jd-safe-top))!important; min-height:0!important;
}
html.jd-bars50::before {
  content:""; position:fixed; pointer-events:none; top:0; left:var(--jd-art-left,0px);
  width:var(--jd-art-width,100%); height:var(--jd-safe-top,0px);
}
html.jd-bars50:not([data-jd-has-art])::before {
  left:0;width:100%;z-index:2147483646;background:var(--jd-bar-color,#fff);
}
html.jd-bars50 .vip-page::after {
  content:"";position:fixed;inset:auto 0 0;height:4px;pointer-events:none;z-index:2;
  background:linear-gradient(transparent,#f1f3f9 80%);
}
html.jd-bars50[data-jd-detail-gradient]::after {
  content:"";position:fixed;inset:auto 0 0;height:2px;pointer-events:none;
  z-index:2147483645;background:var(--jd-detail-edge);
}
html.jd-bars50[data-jd-has-art]::before {
  background:var(--jd-art-image) center top / 100% var(--jd-art-height) no-repeat;
}
html.jd-bars50[data-jd-bar-photo]::before { background-position-y:var(--jd-photo-y,0px); }
html.jd-bars50 [data-jd-bar-art] {
  background-size:100% calc(100% + var(--jd-art-extend))!important;
  background-position:center bottom!important;
}
html.jd-bars50[data-jd-profile-art]::before {
  height:var(--jd-art-height);background-size:cover;background-position:center;
  clip-path:inset(0 0 calc(100% - var(--jd-safe-top)) 0);
}
html.jd-bars50 .feedProfileHero { overflow:visible; }
html.jd-bars50 .feedHero[data-jd-bar-art] {
  position:absolute; bottom:0; left:0; width:100%; height:calc(100% + var(--jd-art-extend));
  object-fit:cover; object-position:center; clip-path:inset(var(--jd-art-extend) 0 0);
}
html.jd-bars50 [data-zk-overlay], html.jd-bars50 [data-zk-overlay] > iframe { max-height:calc(100lvh - var(--jd-safe-top)); }
html.jd-bars50[data-jd-menu-edge]::after {
  content:""; position:fixed; z-index:2147483646; inset:auto 0 0; height:2px; pointer-events:none; background:var(--jd-menu-edge);
}
