/* Entry surfaces reuse the approved fluid design tokens; no new theme. */
body.theme-liquid #authDialog {
  width: min(370px, calc(100vw - 32px));
  min-width: 0;
  max-width: calc(100vw - 32px);
  margin: auto;
  max-height: calc(100dvh - 40px);
  box-sizing: border-box;
  padding: 28px 24px 24px;
  border: 0;
  border-radius: 24px;
  color: #211D2D;
  background: linear-gradient(145deg, rgba(255,255,255,.92), rgba(248,247,252,.86));
  backdrop-filter: blur(22px) saturate(1.03);
  -webkit-backdrop-filter: blur(22px) saturate(1.03);
  box-shadow: 0 16px 40px rgba(48,44,62,.075), inset 0 1px rgba(255,255,255,.58);
}
#authDialog::backdrop { background: rgba(33,29,45,.24); backdrop-filter: blur(8px); }
body.theme-liquid #authDialog form { padding: 0; max-height: none; overflow: visible; }
body.theme-liquid #authDialog .auth-head { top: 0; margin-inline: 0; backdrop-filter: none; -webkit-backdrop-filter: none; }
body.theme-liquid #authDialog .auth-head .icon-button { order: 1; box-shadow: none; }
body.theme-liquid #authDialog .auth-head { display: flex; align-items: center; gap: 14px; padding: 0; background: none; margin-bottom: 22px; position: relative; }
body.theme-liquid #authDialog .auth-brand-logo { width: 56px; height: 56px; border-radius: 18px; flex: 0 0 56px; }
#authDialog .auth-heading-copy { min-width: 0; flex: 1; }
body.theme-liquid #authDialog .eyebrow { font-size: 11px; margin-bottom: 6px; color: #696477; }
body.theme-liquid #authDialog #authTitle { font-size: 22px; line-height: 1.35; text-align: left; margin: 0; }
body.theme-liquid #authDialog .auth-head .icon-button { width: 44px; height: 44px; min-width: 44px; padding: 0; background: transparent; color: #696477; }
#authDialog .auth-intro { font-size: 14px; line-height: 1.7; color: #696477; margin: 0 0 28px; }
body.theme-liquid #authDialog .wechat-login-button { min-height: 52px; border-radius: 12px; font-size: 16px; background: linear-gradient(135deg,#4C495B,#2F2D3A); color: #fff; box-shadow: 0 8px 20px rgba(48,44,62,.10); }
#authDialog .wechat-login-help { font-size: 12px; line-height: 1.7; color: #696477; margin: 12px 0 24px; text-align: center; }
#authDialog .phone-login-details { border-radius: 18px; background: rgba(244,242,250,.70); padding: 0 14px; }
#authDialog .phone-login-details summary { display: flex; justify-content: space-between; align-items: center; min-height: 52px; cursor: pointer; font-size: 14px; font-weight: 600; list-style: none; }
#authDialog summary::-webkit-details-marker { display: none; }
#authDialog details[open] summary span { transform: rotate(180deg); }
#authDialog .phone-login-details[open] { padding-bottom: 14px; }
body.theme-liquid #authDialog .field { margin-top: 12px; gap: 8px; }
body.theme-liquid #authDialog .field > span:first-child { font-size: 12px; font-weight: 500; color: #696477; }
body.theme-liquid #authDialog input { font-size: 16px; min-height: 48px; border-radius: 12px; padding: 12px; background: rgba(255,255,255,.82); }
body.theme-liquid #authDialog .auth-submit { min-height: 48px; border-radius: 12px; font-size: 14px; background: #E9E5ED; color: #211D2D; box-shadow: none; }
#authDialog .auth-footnote { font-size: 12px; line-height: 1.8; color: #514b60; margin: 20px 2px 0; }
#authDialog summary:focus-visible, #authDialog button:focus-visible, #authDialog input:focus-visible { outline: 2px solid #7257E8; outline-offset: 3px; }
