/* ============================================================
 * 东洲应届生申报 · 统一认证页样式
 * ============================================================ */

/* ============ 设计令牌 ============ */
:root {
  --c-purple:        #533afd;
  --c-purple-hover:  #4434d4;
  --c-purple-deep:   #2e2b8c;
  --c-purple-light:  #b9b9f9;
  --c-purple-soft:   #d6d9fc;
  --c-purple-mid:    #665efd;

  --c-brand-dark:    #1c1e54;
  --c-dark-navy:     #0d253d;
  --c-deep-navy:     #061b31;

  /* 东洲蓝 · 主品牌色系 */
  --c-dz-blue-deep:  #062048;
  --c-dz-blue:       #0d3b8c;
  --c-dz-blue-mid:   #1e63c7;
  --c-dz-blue-light: #4488d2;
  --c-dz-blue-soft:  #a8d0f5;

  --c-ruby:          #ea2261;
  --c-magenta:       #f96bee;
  --c-magenta-100:   #ffd7ef;

  --c-white:         #ffffff;
  --c-heading:       #061b31;
  --c-label:         #273951;
  --c-body:          #64748d;
  --c-border:        #e5edf5;
  --c-border-soft:   #f0f4f9;
  --c-bg-soft:       #f6f9fc;

  --c-success:       #15be53;
  --c-success-text:  #108c3d;
  --c-error:         #ea2261;
  --c-warn:          #9b6829;

  --shadow-soft:
    rgba(23, 23, 23, 0.06) 0px 3px 6px;
  --shadow-card:
    rgba(23, 23, 23, 0.08) 0px 15px 35px 0px;
  --shadow-elevated:
    rgba(50, 50, 93, 0.25) 0px 30px 45px -30px,
    rgba(0, 0, 0, 0.10)    0px 18px 36px -18px;
  --shadow-deep:
    rgba(3, 3, 39, 0.25)   0px 14px 21px -14px,
    rgba(0, 0, 0, 0.10)    0px 8px 17px -8px;

  --font-sans: "Inter", "SF Pro Display", system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-mono: "JetBrains Mono", "SF Mono", Menlo, monospace;

  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-soft: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ============ Reset ============ */
*, *::before, *::after {
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}
html, body { margin: 0; padding: 0; }
html { height: 100%; }
button {
  border: none; background: none; cursor: pointer;
  font: inherit; color: inherit;
  touch-action: manipulation;
}
a {
  color: var(--c-purple); text-decoration: none;
  transition: color 200ms var(--ease-soft);
  touch-action: manipulation;
}
a:hover { color: var(--c-purple-hover); }
html, body { overflow-x: hidden; }

body {
  font-family: var(--font-sans);
  font-feature-settings: "ss01" on, "cv11" on;
  font-weight: 400;
  color: var(--c-heading);
  background: var(--c-white);
  line-height: 1.40;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ============ 布局 · 双栏 ============ */
.dz-shell {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  min-height: 100vh;
  min-height: 100dvh;
}

/* ----- 左侧：东洲蓝品牌区 ----- */
.dz-brand {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg,
      var(--c-dz-blue-deep) 0%,
      var(--c-dz-blue)      45%,
      var(--c-dz-blue-light) 100%);
  color: var(--c-white);
  padding:
    max(56px, env(safe-area-inset-top))
    max(64px, env(safe-area-inset-right))
    max(56px, env(safe-area-inset-bottom))
    max(64px, env(safe-area-inset-left));
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.dz-brand::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -160px;
  width: 520px;
  height: 520px;
  background:
    radial-gradient(circle at 30% 30%, rgba(168,208,245,0.42), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(94,161,230,0.32),  transparent 65%);
  filter: blur(8px);
  pointer-events: none;
}
.dz-brand::after {
  content: "";
  position: absolute;
  bottom: -240px;
  left: -180px;
  width: 600px;
  height: 600px;
  background:
    radial-gradient(circle at 50% 50%, rgba(30,99,199,0.38), transparent 60%);
  filter: blur(10px);
  pointer-events: none;
}

.dz-brand-inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 28px;
  max-width: 480px;
}

/* 品牌文字标:东洲评估网申系统 */
.dz-wordmark {
  align-self: flex-start;
  display: inline-flex;
  flex-direction: column;
  gap: 6px;
  color: var(--c-white);
  text-decoration: none;
  line-height: 1;
  transition: opacity 0.2s ease;
}
.dz-wordmark:hover { opacity: 0.85; }
.dz-wordmark-text {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.14em;
  background-image: linear-gradient(120deg, #ffffff 0%, #d8e8fa 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  padding-right: 0.14em;
}
.dz-wordmark-sub {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--c-dz-blue-soft);
  padding-left: 2px;
}

/* 前往官网 */
.dz-brand-foot {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}
.dz-goto-site {
  position: absolute;
  top: max(56px, env(safe-area-inset-top));
  right: max(64px, env(safe-area-inset-right));
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Noto Serif SC", "Source Han Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 6px 14px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: all 220ms var(--ease-soft);
  text-decoration: none;
  z-index: 2;
  animation: dz-goto-breathe 2.6s ease-in-out infinite;
}
.dz-goto-site:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.14);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}
.dz-goto-arrow {
  width: 12px;
  height: 12px;
  opacity: 0.7;
  transition: transform 220ms var(--ease-out), opacity 220ms;
}
.dz-goto-site:hover .dz-goto-arrow {
  transform: translate(2px, -2px);
  opacity: 1;
}
@keyframes dz-goto-breathe {
  0%, 100% { opacity: 0.65; transform: translateY(0); }
  50% { opacity: 0.95; transform: translateY(-2px); }
}

.dz-eyebrow {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--c-dz-blue-soft);
}
.dz-hero-title {
  font-size: clamp(34px, 4.0vw, 52px);
  line-height: 1.10;
  letter-spacing: -0.028em;
  font-weight: 300;
  margin: 16px 0 24px;
  color: var(--c-white);
}
.dz-typing {
  min-height: calc(2 * 1.10em);   /* 锁住两行高度,避免布局抖动 */
  display: block;
}
.dz-typing-text {
  background-image: linear-gradient(118deg, #ffffff 0%, #cce0f5 60%, #a8d0f5 100%);
  -webkit-background-clip: text;
          background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  white-space: pre-wrap;
  word-break: break-word;
}
.dz-typing-cursor {
  display: inline-block;
  width: 3px;
  min-width: 2px;
  height: 0.86em;
  margin-left: 0.08em;
  background: var(--c-dz-blue-soft);
  border-radius: 2px;
  vertical-align: -0.06em;
  box-shadow: 0 0 14px rgba(168, 208, 245, 0.65);
  animation: dz-blink 1.05s steps(2) infinite;
}
/* 文本为空时隐藏光标,避免标题前出现孤立竖线 */
.dz-typing-text:empty + .dz-typing-cursor {
  opacity: 0;
  box-shadow: none;
  animation: none;
}
@keyframes dz-blink {
  to { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .dz-typing-cursor { animation: none; opacity: 0.75; }
}
.dz-hero-sub {
  font-size: 18px;
  font-weight: 300;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  max-width: 420px;
}

.dz-brand-foot {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 0.02em;
}

/* ----- 右侧：表单区 ----- */
.dz-form-side {
  display: flex;
  align-items: center;
  justify-content: center;
  padding:
    max(48px, env(safe-area-inset-top))
    max(56px, env(safe-area-inset-right))
    max(48px, env(safe-area-inset-bottom))
    max(56px, env(safe-area-inset-left));
  background: var(--c-white);
}
.dz-form-wrap {
  width: 100%;
  max-width: 440px;
}

/* ----- Tab 切换 ----- */
.dz-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  padding: 4px;
  margin-bottom: 28px;
}
.dz-tab {
  position: relative;
  z-index: 1;
  padding: 9px 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-body);
  background: transparent;
  border-radius: 7px;
  transition: color 220ms var(--ease-soft);
  text-align: center;
  letter-spacing: -0.005em;
}
.dz-tab.active { color: var(--c-heading); }
.dz-tab:hover:not(.active) { color: var(--c-label); }
.dz-tab-pill {
  position: absolute;
  z-index: 0;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc((100% - 8px) / 3);
  background: var(--c-white);
  border-radius: 7px;
  box-shadow:
    rgba(50, 50, 93, 0.10) 0px 4px 10px -4px,
    rgba(0, 0, 0, 0.06)    0px 2px 4px -2px;
  transition: transform 320ms var(--ease-out);
  pointer-events: none;
}

/* ----- 表单头 ----- */
.dz-form-head {
  margin-bottom: 24px;
  min-height: 56px;
}
.dz-form-title {
  font-size: 28px;
  font-weight: 300;
  letter-spacing: -0.020em;
  line-height: 1.10;
  color: var(--c-heading);
  margin: 0 0 6px;
}
.dz-form-sub {
  font-size: 14px;
  font-weight: 300;
  color: var(--c-body);
  margin: 0;
}
.dz-form-sub a { font-weight: 400; }

/* ----- 表单容器：交替显示 ----- */
.dz-panel { display: none; animation: dzFadeIn 280ms var(--ease-out); }
.dz-panel.active { display: block; }
@keyframes dzFadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ----- 表单字段 ----- */
.dz-field { margin-bottom: 16px; }
.dz-field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 16px;
}
.dz-label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--c-label);
  margin-bottom: 6px;
  letter-spacing: -0.005em;
}
.dz-label .req { color: var(--c-error); margin-left: 2px; }
.dz-label .opt {
  color: var(--c-body); font-weight: 300; font-size: 12px; margin-left: 6px;
}

.dz-input,
.dz-select {
  width: 100%;
  height: 44px;
  padding: 0 12px;
  font: inherit;
  font-size: 16px;
  font-weight: 400;
  color: var(--c-heading);
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  transition:
    border-color 180ms var(--ease-soft),
    box-shadow   180ms var(--ease-soft);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
}
.dz-input::placeholder { color: #98a4b6; font-weight: 300; }
.dz-input:hover,
.dz-select:hover { border-color: var(--c-purple-soft); }
.dz-input:focus,
.dz-select:focus {
  border-color: var(--c-purple);
  box-shadow: 0 0 0 4px rgba(83, 58, 253, 0.12);
}
.dz-input.is-error,
.dz-select.is-error {
  border-color: var(--c-error);
  box-shadow: 0 0 0 4px rgba(234, 34, 97, 0.10);
}
.dz-select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5L6 6.5L11 1.5' stroke='%23273951' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.dz-select:invalid { color: #98a4b6; }
.dz-select option { color: var(--c-heading); }

.dz-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 18px;
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.30;
  color: var(--c-body);
}
.dz-hint.is-error { color: var(--c-error); }
.dz-hint.is-ok    { color: var(--c-success-text); }

/* jquery.validate 生成的错误 label 不直接显示,统一改写到 .dz-hint */
label.dz-validate-error { display: none !important; }

/* ----- 图形验证码行 ----- */
.dz-captcha-row {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto auto;
  gap: 0 10px;
  align-items: start;
}
.dz-captcha-img {
  min-width: 110px;
  padding: 4px;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-border);
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 180ms var(--ease-soft);
}
.dz-captcha-img:hover { border-color: var(--c-purple-soft); }
.dz-captcha-img img {
  max-height: 100%;
  max-width: 100%;
  display: block;
  mix-blend-mode: multiply;     /* 适配多色背景验证码 */
}
.dz-captcha-text {
  grid-column: 2;
  grid-row: 2;
  font-size: 11px;
  line-height: 1;
  color: var(--c-body);
  white-space: nowrap;
  margin-top: 4px;
  text-align: center;
}
.dz-captcha-img .refresh-mark {
  position: absolute;
  font-size: 11px;
  color: var(--c-body);
  pointer-events: none;
}

/* ----- 短信验证码 + 发送 ----- */
.dz-code-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: stretch;
}
.dz-btn-code {
  height: 44px;
  padding: 0 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--c-purple);
  background: var(--c-white);
  border: 1px solid var(--c-purple-light);
  border-radius: 6px;
  transition:
    background-color 180ms var(--ease-soft),
    border-color     180ms var(--ease-soft),
    color            180ms var(--ease-soft);
  white-space: nowrap;
  min-width: 120px;
}
.dz-btn-code:hover:not(:disabled) {
  background: rgba(83, 58, 253, 0.05);
  border-color: var(--c-purple);
}
.dz-btn-code:disabled {
  color: var(--c-body);
  border-color: var(--c-border);
  background: var(--c-bg-soft);
  cursor: not-allowed;
}

/* ----- 记住我 + 忘记密码 ----- */
.dz-options {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: -4px 0 12px;
}
.dz-check {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--c-label);
  cursor: pointer;
  user-select: none;
}
.dz-check input {
  appearance: none;
  -webkit-appearance: none;
  width: 16px; height: 16px;
  border: 1.5px solid var(--c-border);
  border-radius: 4px;
  background: var(--c-white);
  cursor: pointer;
  transition:
    border-color   180ms var(--ease-soft),
    background    180ms var(--ease-soft);
  position: relative;
  flex: 0 0 auto;
}
.dz-check input:checked {
  background: var(--c-purple);
  border-color: var(--c-purple);
}
.dz-check input:checked::after {
  content: "";
  position: absolute;
  left: 3px; top: 0px;
  width: 6px; height: 10px;
  border: solid var(--c-white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.dz-check input:focus-visible {
  box-shadow: 0 0 0 3px rgba(83, 58, 253, 0.18);
}
.dz-forgot {
  font-size: 13px;
  font-weight: 400;
}

/* ----- 主按钮 ----- */
.dz-btn-primary {
  width: 100%;
  height: 48px;
  margin-top: 8px;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: var(--c-white);
  background: var(--c-purple);
  border-radius: 6px;
  box-shadow:
    rgba(50, 50, 93, 0.18) 0px 8px 16px -6px,
    rgba(0, 0, 0, 0.08)    0px 4px 8px -2px;
  transition:
    background-color 180ms var(--ease-soft),
    box-shadow       220ms var(--ease-soft),
    transform        180ms var(--ease-soft);
}
.dz-btn-primary:hover:not(:disabled) {
  background: var(--c-purple-hover);
  box-shadow:
    rgba(50, 50, 93, 0.25) 0px 14px 24px -10px,
    rgba(0, 0, 0, 0.12)    0px 6px 12px -4px;
  transform: translateY(-1px);
}
.dz-btn-primary:active:not(:disabled) {
  transform: translateY(0);
  background: var(--c-purple-deep);
}
.dz-btn-primary:disabled {
  background: var(--c-purple-light);
  cursor: not-allowed;
  box-shadow: none;
}
.dz-btn-primary .spinner {
  display: none;
  width: 16px; height: 16px;
  margin-right: 8px;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--c-white);
  border-radius: 50%;
  animation: dz-spin 0.7s linear infinite;
  vertical-align: middle;
}
.dz-btn-primary.is-loading .spinner { display: inline-block; }
@keyframes dz-spin { to { transform: rotate(360deg); } }

.dz-terms {
  margin-top: 16px;
  font-size: 12px;
  line-height: 1.50;
  color: var(--c-body);
  text-align: center;
}
.dz-terms a { font-weight: 400; }

.dz-foot {
  margin-top: 24px;
  font-size: 12px;
  color: var(--c-body);
  text-align: center;
  letter-spacing: 0.01em;
}

/* ============ Toast ============ */
.dz-toast-host {
  position: fixed;
  top: max(16px, env(safe-area-inset-top));
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: calc(100% - 32px);
  max-width: 420px;
}
.dz-toast {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  width: 100%;
  padding: 12px 16px;
  background: var(--c-white);
  border: 1px solid var(--c-border);
  border-radius: 10px;
  box-shadow: var(--shadow-elevated);
  font-size: 14px;
  color: var(--c-heading);
  pointer-events: auto;
  transform: translateY(-12px);
  opacity: 0;
  transition:
    transform 280ms var(--ease-out),
    opacity   240ms var(--ease-out);
}
.dz-toast.show { transform: translateY(0); opacity: 1; }
.dz-toast .icon {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center; justify-content: center;
  color: var(--c-white);
  font-size: 12px;
  font-weight: 600;
}
.dz-toast.success .icon { background: var(--c-success); }
.dz-toast.error   .icon { background: var(--c-error); }
.dz-toast.info    .icon { background: var(--c-purple); }
.dz-toast .body { flex: 1 1 auto; line-height: 1.4; }
.dz-toast .body small {
  display: block;
  color: var(--c-body);
  font-size: 12px;
  margin-top: 2px;
}

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .dz-goto-site {
    top: max(28px, env(safe-area-inset-top));
    right: max(24px, env(safe-area-inset-right));
    font-size: 12px;
    padding: 5px 11px;
  }
  .dz-shell { grid-template-columns: 1fr; min-height: 100dvh; }
  .dz-brand {
    padding:
      max(28px, env(safe-area-inset-top))
      max(24px, env(safe-area-inset-right))
      28px
      max(24px, env(safe-area-inset-left));
    min-height: 0;
  }
  .dz-brand-inner { gap: 20px; max-width: 100%; }
  .dz-wordmark-text { font-size: 20px; }
  .dz-wordmark-sub { font-size: 10px; letter-spacing: 0.22em; }
  .dz-eyebrow { font-size: 11px; }
  .dz-hero-title {
    font-size: clamp(24px, 5.6vw, 36px);
    line-height: 1.10;
    letter-spacing: -0.022em;
    margin: 8px 0 10px;
  }
  .dz-hero-title br { display: none; }
  .dz-hero-sub { font-size: 14px; line-height: 1.45; max-width: 100%; }
  .dz-features { gap: 12px; }
  .dz-feature { font-size: 13px; }
  .dz-feature-icon { width: 20px; height: 20px; }

  .dz-form-side {
    padding:
      28px
      max(20px, env(safe-area-inset-right))
      max(28px, env(safe-area-inset-bottom))
      max(20px, env(safe-area-inset-left));
  }
  .dz-form-wrap { max-width: 480px; }
}

@media (max-width: 640px) {
  .dz-brand {
    padding:
      max(20px, env(safe-area-inset-top))
      20px
      22px
      20px;
  }
  .dz-brand::before { width: 360px; height: 360px; top: -160px; right: -120px; }
  .dz-brand::after  { width: 380px; height: 380px; bottom: -200px; left: -140px; }
  .dz-brand-inner { gap: 14px; }
  .dz-brand-foot { display: none; }

  .dz-eyebrow { font-size: 11px; letter-spacing: 0.06em; }
  .dz-hero-title { font-size: clamp(22px, 6.4vw, 28px); margin: 6px 0 8px; }
  .dz-typing { min-height: calc(2 * 1.10em); }
  .dz-hero-sub { font-size: 13px; line-height: 1.45; }

  .dz-wordmark { gap: 4px; }
  .dz-wordmark-text { font-size: 17px; letter-spacing: 0.12em; }
  .dz-wordmark-sub { font-size: 9.5px; letter-spacing: 0.18em; padding-left: 1px; }

  .dz-form-side {
    padding:
      24px
      16px
      max(28px, env(safe-area-inset-bottom))
      16px;
  }
  .dz-tabs { margin-bottom: 22px; }
  .dz-tab { font-size: 13px; padding: 8px 6px; }
  .dz-form-head { margin-bottom: 20px; min-height: 0; }
  .dz-form-title { font-size: 22px; }
  .dz-form-sub   { font-size: 13px; }

  .dz-field-row {
    grid-template-columns: 1fr;
    gap: 0;
    margin-bottom: 0;
  }
  .dz-field-row .dz-field { margin-bottom: 14px; }

  .dz-btn-code { min-width: 104px; padding: 0 10px; font-size: 13px; }
  .dz-captcha-img { min-width: 96px; }
  .dz-field { margin-bottom: 14px; }
  .dz-hint  { font-size: 11.5px; }
}

@media (max-width: 380px) {
  .dz-hero-title { font-size: 21px; }
  .dz-form-title { font-size: 22px; }
  .dz-btn-code   { min-width: 92px; padding: 0 8px; }
  .dz-form-side  { padding-left: 14px; padding-right: 14px; }
  .dz-captcha-img { min-width: 88px; }
}

@media (max-width: 900px) and (max-height: 480px) and (orientation: landscape) {
  .dz-shell { grid-template-columns: 1fr; }
  .dz-brand { padding: 14px 20px; }
  .dz-brand::before, .dz-brand::after { display: none; }
  .dz-brand-inner { gap: 8px; flex-direction: row; align-items: center; justify-content: space-between; }
  .dz-eyebrow, .dz-hero-sub, .dz-brand-foot { display: none; }
  .dz-wordmark { gap: 3px; }
  .dz-wordmark-text { font-size: 15px; }
  .dz-wordmark-sub { font-size: 9px; letter-spacing: 0.16em; }
  .dz-hero-title {
    font-size: 14px;
    font-weight: 400;
    margin: 0;
    letter-spacing: -0.01em;
  }
  .dz-form-side { padding: 16px 20px max(20px, env(safe-area-inset-bottom)); }
  .dz-form-head { margin-bottom: 14px; min-height: 0; }
  .dz-tabs { margin-bottom: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}

@media (hover: none) {
  .dz-btn-primary:hover:not(:disabled) { transform: none; }
  .dz-input:hover, .dz-select:hover { border-color: var(--c-border); }
}
