/* Copied design: AuthPageLayout + UnifiedAuthFormView; isolated under .auth-copy. */
.auth-copy{--auth-brand-logo-cat:url(/assets/auth-copy/ydm-cat-icon-white.svg);--auth-brand-logo-wordmark:url(/assets/auth-copy/ydm-wordmark-white.svg);
  color-scheme: light;

  /* Brand */
  --brand-primary: #3b82f6;
  --brand-primary-hover: #2563eb;
  --brand-primary-light: #dbeafe;
  --brand-primary-lighter: #eff6ff;
  --brand-primary-contrast: #ffffff;
  --brand-primary-on-surface: #2563eb;
  --brand-primary-muted: rgb(59 130 246 / 8%);

  /* Neutral */
  --color-neutral-50: #fafafa;
  --color-neutral-100: #f5f5f5;
  --color-neutral-200: #e5e5e5;
  --color-neutral-300: #d4d4d4;
  --color-neutral-400: #a3a3a3;
  --color-neutral-500: #737373;
  --color-neutral-600: #525252;
  --color-neutral-700: #404040;
  --color-neutral-800: #262626;
  --color-neutral-900: #171717;

  /* State */
  --state-success: #22c55e;
  --state-success-bg: rgb(34 197 94 / 8%);
  --state-warning: #f59e0b;
  --state-warning-bg: rgb(245 158 11 / 8%);
  --state-error: #ef4444;
  --state-error-bg: rgb(239 68 68 / 8%);
  --state-info: #3b82f6;
  --state-info-bg: rgb(59 130 246 / 8%);
  --state-success-text: #166534;
  --state-warning-text: #92400e;
  --state-error-text: #b91c1c;
  --state-info-text: #1d4ed8;

  /* Surface and text */
  --surface-bg: #ffffff;
  --surface-subtle: #fafafa;
  --surface-raised: #ffffff;
  --surface-overlay: rgb(0 0 0 / 4%);
  --surface-scrim: rgb(0 0 0 / 20%);
  --text-primary: #171717;
  --text-secondary: #525252;
  --text-tertiary: #6b6b6b;
  --text-on-brand: #ffffff;
  --text-link: #2563eb;
  --border-default: #e5e5e5;
  --border-light: #f5f5f5;
  --border-focus: rgb(59 130 246 / 40%);

  /* Compatibility aliases used by the 141 source pages */
  --brand-background: var(--surface-bg);
  --brand-foreground: var(--text-primary);

  /* Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 9999px;

  /* Shadow */
  --shadow-xs: 0 1px 2px rgb(0 0 0 / 3%);
  --shadow-sm: 0 1px 3px rgb(0 0 0 / 4%), 0 1px 2px rgb(0 0 0 / 2%);
  --shadow-md: 0 4px 12px rgb(0 0 0 / 4%);
  --shadow-lg: 0 12px 24px rgb(0 0 0 / 5%);
  --shadow-xl: 0 20px 60px rgb(0 0 0 / 12%);
  --shadow-float: 0 16px 48px rgb(0 0 0 / 8%);

  /* Typography */
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "SF Pro Text", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  --font-mono: "SF Mono", "JetBrains Mono", Menlo, monospace;
  --text-xs: 12px;
  --text-sm: 13px;
  --text-base: 14px;
  --text-md: 15px;
  --text-lg: 17px;
  --text-xl: 20px;
  --text-2xl: 24px;
  --text-3xl: 30px;
  --text-4xl: 36px;
  --leading-tight: 1.25;
  --leading-normal: 1.5;
  --leading-relaxed: 1.625;
  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.02em;

  /* 4px spacing grid */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;

  /* Layout */
  --content-max-width: 1200px;
  --toolbar-height: 52px;
  --sidebar-width: 240px;

  /* 页面内容区留白：全站唯一来源，页面容器不再各自声明数值。
     桌面 32px 安全边距，窄屏按档位收窄；内容宽度始终铺满，不限宽居中。 */
  --page-gutter: 32px;
  --page-gutter-md: 24px;
  --page-gutter-sm: 16px;
  --control-height-sm: 28px;
  --control-height-md: 36px;
  --control-height-lg: 44px;

font-family:var(--font-sans);color:var(--text-primary);font-size:14px;line-height:1.5}
.auth-copy *{box-sizing:border-box}

.auth-copy .login-page {
  display: flex;
  width: 100%;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
}

.auth-copy .login-brand-panel {
  flex: 0 0 49.16%;
  align-self: stretch;
  height: 100vh;
  min-height: 0;
  background: #2888fc;
  position: relative;
  overflow: hidden;
  color: #fff;
  contain: layout paint size;
}

.auth-copy .brand-visual-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.auth-copy .brand-scene,
.auth-copy .brand-blue-mask {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.auth-copy .brand-scene {
  z-index: 0;
  object-fit: cover;
  object-position: center center;
}

.auth-copy .brand-blue-mask {
  z-index: 1;
  background:
    linear-gradient(100deg, rgba(40, 136, 252, 0.9) 0%, rgba(40, 136, 252, 0.72) 48%, rgba(40, 136, 252, 0.52) 100%),
    linear-gradient(180deg, rgba(40, 136, 252, 0.18) 0%, rgba(40, 136, 252, 0.04) 54%, rgba(40, 136, 252, 0.38) 100%);
}

.auth-copy .brand-content-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.auth-copy .brand-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  position: absolute;
  top: 274px;
  left: 88px;
  z-index: 3;
}

.auth-copy .brand-top-lockup {
  position: absolute;
  top: 144px;
  left: 88px;
  z-index: 8;
  display: inline-flex;
  align-items: center;
  gap: 22px;
  height: 66px;
  pointer-events: none;
  user-select: none;
}

.auth-copy .brand-top-cat,
.auth-copy .brand-top-wordmark {
  display: block;
  flex: 0 0 auto;
  color: #fff;
  background: currentColor;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
}

.auth-copy .brand-top-cat {
  width: 84px;
  height: 52px;
  mask: var(--auth-brand-logo-cat) center / contain no-repeat;
  -webkit-mask: var(--auth-brand-logo-cat) center / contain no-repeat;
}

.auth-copy .brand-top-wordmark {
  width: 148px;
  height: 46px;
  mask: var(--auth-brand-logo-wordmark) center / contain no-repeat;
  -webkit-mask: var(--auth-brand-logo-wordmark) center / contain no-repeat;
}

.auth-copy .brand-name {
  margin: 0;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.2;
  color: #fff;
  letter-spacing: 0;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(11, 80, 171, 0.16);
}

.auth-copy .brand-subtitle {
  margin: 0;
  font-size: 22px;
  line-height: 1.4;
  color: #fff;
  white-space: nowrap;
  text-shadow: 0 1px 12px rgba(11, 80, 171, 0.16);
}

.auth-copy .brand-benefits {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.65;
  text-shadow: 0 1px 12px rgba(11, 80, 171, 0.16);
}

.auth-copy .brand-benefits li {
  position: relative;
  padding-left: 18px;
}

.auth-copy .brand-benefits li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
  background: currentColor;
}

.auth-copy .brand-copyright {
  position: absolute;
  left: 88px;
  bottom: 30px;
  z-index: 3;
  margin: 0;
  color: rgba(255, 255, 255, 0.94);
  font-size: 14px;
  line-height: 22px;
  text-shadow: 0 1px 12px rgba(11, 80, 171, 0.16);
}

.auth-copy .brand-copyright span {
  margin: 0 10px;
}

.auth-copy .brand-copyright a {
  color: inherit;
  text-decoration: none;
  pointer-events: auto;
}

.auth-copy .brand-copyright a:hover,
.auth-copy .brand-copyright a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.auth-copy .login-form-panel {
  flex: 1;
  min-width: 0;
  min-height: 0;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--surface-bg);
}

@media (max-width: 768px) {
  .auth-copy .login-page {
    flex-direction: column;
    height: auto;
    min-height: 100vh;
    overflow: visible;
  }

  .auth-copy .login-brand-panel {
    flex: 0 0 auto;
    align-self: auto;
    height: auto;
    min-height: 200px;
    padding: 32px 24px;
    contain: none;
  }

  .auth-copy .brand-visual-frame,
.auth-copy .brand-scene,
.auth-copy .brand-blue-mask {
    display: none;
  }

  .auth-copy .brand-content {
    position: relative;
    top: auto;
    left: auto;
    margin: 64px 0 0;
    gap: 12px;
  }

  .auth-copy .brand-top-lockup {
    top: 28px;
    left: 24px;
    gap: 14px;
    height: 46px;
  }

  .auth-copy .brand-top-cat {
    width: 56px;
    height: 35px;
  }

  .auth-copy .brand-top-wordmark {
    width: 100px;
    height: 31px;
  }

  .auth-copy .brand-name {
    font-size: var(--text-2xl);
    white-space: normal;
  }

  .auth-copy .brand-subtitle {
    font-size: var(--text-xs);
    white-space: normal;
  }

  .auth-copy .login-form-panel {
    height: auto;
    min-height: 0;
    padding: 24px;
    overflow: visible;
  }
}


.auth-copy .login-card {
  box-sizing: border-box;
  width: 100%;
  max-width: 574px;
  background: var(--surface-raised);
  border: 0;
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 30px rgba(17, 27, 55, 0.06);
  min-height: 724px;
  padding: 58px 50px 44px;
}

.auth-copy .login-card--compact {
  min-height: auto;
}

.auth-copy .login-header {
  margin-bottom: 24px;
}

.auth-copy .login-title {
  margin: 0 0 8px;
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.35;
  letter-spacing: 0;
}

.auth-copy .login-subtitle {
  margin: 0;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-secondary);
  line-height: 1.45;
}

.auth-copy .login-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 26px;
  padding: 4px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  background: var(--surface-subtle);
}

.auth-copy .login-tab {
  height: 42px;
  border: 0;
  border-radius: var(--radius-sm);
  background: transparent;
  color: var(--text-secondary);
  font: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
}

.auth-copy .login-tab.is-active {
  color: var(--text-link);
  background: var(--surface-raised);
  box-shadow: 0 1px 8px rgba(17, 27, 55, 0.06);
}

.auth-copy .status-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  margin-bottom: 24px;
}

.auth-copy .status-banner--warning {
  background: var(--state-warning-bg);
  color: var(--state-warning);
}

.auth-copy .status-banner--error {
  background: var(--state-error-bg);
  color: var(--state-error);
}

.auth-copy .status-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.auth-copy .form-group {
  margin-bottom: 24px;
}

.auth-copy .form-label {
  display: block;
  margin-bottom: 11px;
  font-size: var(--text-md);
  font-weight: 500;
  color: var(--text-primary);
}

.auth-copy .form-input {
  box-sizing: border-box;
  width: 100%;
  height: 53px;
  padding: 0 16px;
  font: inherit;
  color: var(--text-primary);
  background: var(--surface-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-sm);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-copy .form-input::placeholder {
  color: var(--text-tertiary);
}

.auth-copy .form-input:hover {
  border-color: var(--color-neutral-300);
}

.auth-copy .form-input:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--border-focus);
}

.auth-copy .form-input.is-error {
  border-color: var(--state-error);
  box-shadow: 0 0 0 3px var(--state-error-bg);
}

.auth-copy .sms-code-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 88px;
  gap: 12px;
}

.auth-copy .sms-code-button {
  height: 53px;
  border: 1px solid #2d80ff;
  border-radius: var(--radius-sm);
  background: var(--surface-raised);
  color: var(--text-link);
  font: inherit;
  font-size: var(--text-md);
  font-weight: 600;
  cursor: pointer;
}

.auth-copy .sms-code-button:disabled {
  cursor: wait;
  opacity: 0.7;
}

.auth-copy .agreement-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 4px 0 0;
  color: var(--text-secondary);
  font-size: var(--text-xs);
  line-height: 1.7;
}

.auth-copy .agreement-row input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: var(--brand-primary);
}

.auth-copy .agreement-row a {
  color: var(--text-link);
  text-decoration: none;
}

.auth-copy .agreement-row a:hover {
  color: var(--brand-primary-hover);
}

.auth-copy .field-error {
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--state-error);
  line-height: 1.5;
}

.auth-copy .field-hint {
  margin: 8px 0 0;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
  line-height: 1.5;
}

.auth-copy .field-error--center {
  text-align: center;
}

.auth-copy .code-input-group {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.auth-copy .code-digit {
  width: 48px;
  height: 48px;
  text-align: center;
  font-family: var(--font-sans);
  font-size: var(--text-2xl);
  font-weight: 500;
  color: var(--text-primary);
  background: var(--surface-bg);
  border: 2px solid var(--border-default);
  border-radius: var(--radius-md);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-copy .code-digit:focus,
.auth-copy .code-digit--focused {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px var(--border-focus);
}

.auth-copy .code-digit.is-error {
  border-color: var(--state-error);
  box-shadow: 0 0 0 3px var(--state-error-bg);
}

.auth-copy .password-strength {
  display: flex;
  gap: 4px;
  margin-bottom: 8px;
}

.auth-copy .auth-flow-empty-state {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px 12px 8px;
  text-align: center;
}

.auth-copy .auth-flow-empty-state__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  color: #fff;
  background: var(--state-warning);
  font-size: var(--text-2xl);
  font-weight: 700;
}

.auth-copy .auth-flow-empty-state h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.35;
}

.auth-copy .auth-flow-empty-state p {
  max-width: 380px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.75;
}

.auth-copy .auth-flow-empty-state__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.auth-copy .strength-segment {
  flex: 1;
  height: 4px;
  border-radius: var(--radius-full);
  background: var(--color-neutral-200);
}

.auth-copy .strength-segment--idle {
  background: var(--color-neutral-200);
}

.auth-copy .strength-segment--weak {
  background: var(--state-error);
}

.auth-copy .strength-segment--medium {
  background: var(--state-warning);
}

.auth-copy .strength-segment--strong {
  background: var(--state-success);
}

.auth-copy .strength-label {
  margin: 0 0 20px;
  font-size: var(--text-xs);
  color: var(--text-tertiary);
}

.auth-copy .form-error {
  margin: 0 0 20px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  background: var(--state-error-bg);
  color: var(--state-error);
  font-size: var(--text-sm);
  line-height: 1.6;
}

.auth-copy .btn-submit {
  display: block;
  width: 100%;
  height: 53px;
  margin-top: 24px;
  font: inherit;
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--text-on-brand);
  background: var(--brand-primary);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}

.auth-copy .btn-submit:hover {
  background: var(--brand-primary-hover);
}

.auth-copy .btn-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.auth-copy .resend-area {
  margin-top: 20px;
  text-align: center;
}

.auth-copy .resend-link {
  padding: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: var(--text-sm);
  color: var(--text-tertiary);
  cursor: pointer;
  transition: color 0.15s ease;
}

.auth-copy .resend-link:hover:not(:disabled) {
  color: var(--text-secondary);
}

.auth-copy .resend-link:disabled {
  cursor: default;
  opacity: 0.8;
}

.auth-copy .login-footer {
  margin-top: 16px;
  min-height: 24px;
}

.auth-copy .login-footer a,
.auth-copy .login-footer__link {
  font-size: var(--text-sm);
  color: var(--text-link);
  text-decoration: none;
}

.auth-copy .login-footer a:hover,
.auth-copy .login-footer__link:hover,
.auth-copy .login-footer__button:hover {
  color: var(--brand-primary-hover);
}

.auth-copy .login-footer__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.auth-copy .login-footer__button {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-link);
  font: inherit;
  font-size: var(--text-sm);
  cursor: pointer;
}

.auth-copy .registration-closed {
  display: grid;
  justify-items: center;
  gap: 16px;
  padding: 24px 12px 10px;
  text-align: center;
}

.auth-copy .registration-closed__icon {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  color: var(--text-link);
  background: #edf6ff;
}

.auth-copy .registration-closed__icon svg {
  width: 34px;
  height: 34px;
}

.auth-copy .registration-closed h2 {
  margin: 0;
  color: var(--text-primary);
  font-size: var(--text-2xl);
  font-weight: 700;
  line-height: 1.35;
}

.auth-copy .registration-closed p {
  max-width: 360px;
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-md);
  line-height: 1.75;
}

.auth-copy .registration-closed__actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}

.auth-copy .agreement-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(15, 23, 42, 0.42);
}

.auth-copy .agreement-modal {
  width: min(420px, 100%);
  padding: 24px;
  border-radius: var(--radius-md);
  background: var(--surface-raised);
  box-shadow: var(--shadow-md);
}

.auth-copy .agreement-modal h2 {
  margin: 0 0 12px;
  color: var(--text-primary);
  font-size: var(--text-xl);
  line-height: var(--leading-tight);
}

.auth-copy .agreement-modal p {
  margin: 0;
  color: var(--text-secondary);
  font-size: var(--text-sm);
  line-height: 1.8;
}

.auth-copy .agreement-modal a {
  color: var(--text-link);
  text-decoration: none;
}

.auth-copy .agreement-modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

.auth-copy .success-card,
.auth-copy .error-page-centered {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 32px 20px;
  background: var(--surface-subtle);
  background-image: radial-gradient(ellipse at top left, rgba(59, 130, 246, 0.06), transparent 24%);
}

.auth-copy .loading-hint {
  font-size: var(--text-sm);
  color: var(--text-tertiary);
}

.auth-copy .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: var(--radius-lg);
  font-size: var(--text-sm);
  font-weight: 500;
  font-family: var(--font-sans);
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}

.auth-copy .btn--pill {
  margin-top: 24px;
  padding: 10px 24px;
  border-radius: var(--radius-full);
  background: var(--brand-primary);
  color: var(--text-on-brand);
  border: none;
}

.auth-copy .success-card,
.auth-copy .error-card--centered {
  width: min(560px, 100%);
  min-height: auto;
  padding: 52px 42px 44px;
  background: var(--surface-bg);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  box-shadow: 0 18px 42px rgba(17, 27, 55, 0.08);
  text-align: center;
}

.auth-copy .success-icon,
.auth-copy .error-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.auth-copy .success-icon {
  background: var(--brand-primary);
}

.auth-copy .error-icon {
  width: 72px;
  height: 72px;
  background: #ef4444;
  box-shadow: 0 14px 30px rgba(239, 68, 68, 0.24);
}

.auth-copy .success-card__title,
.auth-copy .error-card__title {
  font-size: var(--text-3xl);
  font-weight: 600;
  color: var(--text-primary);
  line-height: var(--leading-tight);
}

.auth-copy .success-card__title {
  margin-bottom: 12px;
}

.auth-copy .error-card__title {
  margin: 0 0 12px;
}

.auth-copy .error-card__code {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 34px;
  margin: 0 0 16px;
  padding: 0 16px;
  border: 1px solid rgba(239, 68, 68, 0.24);
  border-radius: var(--radius-full);
  background: rgba(239, 68, 68, 0.08);
  color: #dc2626;
  font-size: var(--text-md);
  font-weight: 700;
  letter-spacing: 0;
}

.auth-copy .success-card__desc,
.auth-copy .error-card__desc {
  font-size: var(--text-base);
  color: var(--text-secondary);
  line-height: 1.7;
}

.auth-copy .success-card__actions,
.auth-copy .error-card__actions {
  margin-top: 40px;
}

.auth-copy .error-card__eyebrow {
  font-size: var(--text-xs);
  font-weight: 500;
  color: var(--text-tertiary);
  letter-spacing: 0.08em;
}

.auth-copy .error-card__actions--group {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

.auth-copy .btn--primary {
  background: var(--brand-primary);
  color: var(--text-on-brand);
  border: none;
}

.auth-copy .btn--secondary {
  color: var(--text-secondary);
  background: var(--surface-bg);
  border: 1px solid var(--border-default);
}

@keyframes bounce {
  0%,
  80%,
  100% {
    transform: scale(0.6);
    opacity: 0.4;
  }

  40% {
    transform: scale(1);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .auth-copy .login-card {
    padding: 32px;
  }

  .auth-copy .sms-code-row {
    grid-template-columns: minmax(0, 1fr) 84px;
  }

  .auth-copy .code-digit {
    width: 42px;
    height: 42px;
    font-size: var(--text-xl);
  }

  .auth-copy .success-card,
.auth-copy .error-card--centered {
    padding: 40px 24px;
  }
}

/* Host adaptation: permit internal scrolling and avoid fixed desktop text clipping. */
.auth-copy .login-page{min-height:100vh;height:auto;overflow:visible}.auth-copy .brand-name{white-space:normal;max-width:calc(100% - 30px)}.auth-copy .brand-content{right:24px}.auth-copy .login-card{min-height:0}.auth-copy .brand-benefits li{padding-left:0}.auth-copy .brand-benefits li::before{content:none}.auth-copy a:focus-visible,.auth-copy button:focus-visible{outline:2px solid var(--brand-primary);outline-offset:3px}.auth-copy .auth-links{display:flex;flex-wrap:wrap;gap:16px;margin-top:20px}.auth-copy .auth-links a{color:var(--text-link)}.auth-copy .form-input:disabled{opacity:.6}.auth-copy .brand-copyright{right:24px}
@media(min-width:769px) and (max-width:1150px){.auth-copy .brand-content,.auth-copy .brand-top-lockup{left:40px}.auth-copy .brand-copyright{left:40px;font-size:12px}.auth-copy .login-form-panel{padding:24px}.auth-copy .login-card{padding:32px}}

/* Project branding: original website image and logo, no source retail claims. */
.auth-copy.auth-project .auth-project-logo{display:block;width:264px;max-width:100%;height:auto;object-fit:contain}
.auth-copy.auth-project .brand-top-lockup{pointer-events:auto}
.auth-copy.auth-project .brand-slogan{font-size:22px;margin:0;line-height:1.5;font-weight:500}
.auth-copy.auth-project .brand-scene{object-position:center;transform:none}
.auth-copy.auth-project .brand-blue-mask{background:linear-gradient(100deg,rgba(9,44,112,.30),rgba(11,56,136,.15) 55%,rgba(14,69,156,.06))}
.auth-copy.auth-project .brand-name{font-size:40px}.auth-copy.auth-project .brand-content{gap:18px}.auth-copy.auth-project .brand-benefits{margin-top:10px}
@media(min-width:769px) and (max-width:1150px){.auth-copy.auth-project .brand-name{font-size:32px}}
@media(max-width:768px){.auth-copy.auth-project .auth-project-logo{width:210px}.auth-copy.auth-project .brand-name{font-size:28px}}
