@charset "UTF-8";
/* ==========================================================================
   nova-auth.css —— 商户认证类页面设计系统（登录 / 注册 / 找回密码 / 支付测试）
   与 nova-admin.css 同一套视觉语言，但认证页是独立外壳（不引 head.php）。
   命名空间：.na-*
   引入顺序必须在 app.css / captcha.css 之后
   ========================================================================== */

/* ---------------------------------------------------------------- 1. 变量 */
:root {
  --na-brand: #1677ff;
  --na-brand-d: #0b4fd8;
  --na-brand-l: #3d8bff;
  --na-brand-soft: #edf3ff;
  --na-ink: #1b2733;
  --na-ink-2: #33424e;
  --na-ink-3: #6b7c8c;
  --na-ink-4: #9aa8b6;
  --na-line: #e4ebf5;
  --na-line-2: #eef3fa;
  --na-bg: #f4f7fc;
  --na-card: #ffffff;
  --na-r: 14px;
  --na-r-lg: 22px;
  --na-h: 46px;
  --na-shadow: 0 18px 50px rgba(16, 34, 56, .08), 0 2px 6px rgba(16, 34, 56, .03);
  --na-shadow-btn: 0 12px 24px rgba(22, 119, 255, .26);
  --na-ease: cubic-bezier(.22, .68, .32, 1);
}

/* ---------------------------------------------------------------- 2. 基底 */
html, body.na-body { height: 100%; }

.na-body {
  margin: 0;
  min-height: 100vh;
  background: var(--na-bg);
  color: var(--na-ink-2);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-size: 14px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.na-body *,
.na-body *::before,
.na-body *::after { box-sizing: border-box; }

.na-body a { text-decoration: none; color: var(--na-brand); }
.na-body a:hover { color: var(--na-brand-d); }

.na-body input,
.na-body button,
.na-body select { font-family: inherit; }

.na-body input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
  -webkit-text-fill-color: var(--na-ink-2) !important;
  transition: background-color 9999s ease-in-out 0s;
}

/* ------------------------------------------------------- 3. 双栏外壳（登录） */
.na-wrap {
  display: flex;
  min-height: 100vh;
}

/* ---- 3.1 左：品牌区 ---- */
.na-brand {
  position: relative;
  flex: 0 0 46%;
  max-width: 620px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 56px 40px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(880px 560px at 82% -8%, rgba(74, 152, 255, .42) 0%, rgba(74, 152, 255, 0) 58%),
    radial-gradient(760px 560px at 96% 96%, rgba(22, 119, 255, .34) 0%, rgba(22, 119, 255, 0) 64%),
    linear-gradient(164deg, #071628 0%, #0c2749 46%, #0a2a58 100%);
}

/* 细网格纹理：让深色块不呆板 */
.na-brand::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .055) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(120% 95% at 30% 25%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(120% 95% at 30% 25%, #000 20%, transparent 78%);
  pointer-events: none;
}

/* 一道斜向高光：只留很淡的一层，否则会看成条纹瑕疵 */
.na-brand::after {
  content: "";
  position: absolute;
  left: -18%;
  top: -45%;
  width: 66%;
  height: 180%;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, .035) 50%, rgba(255, 255, 255, 0) 100%);
  transform: rotate(16deg);
  pointer-events: none;
}

.na-brand > * { position: relative; z-index: 1; }

.na-brand-top { display: flex; align-items: center; gap: 13px; }

.na-logo {
  width: 46px; height: 46px;
  flex: none;
  border-radius: 14px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 24px rgba(4, 18, 44, .34);
}
.na-logo img { width: 34px; height: 34px; object-fit: contain; display: block; }

.na-logo-txt b {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -.2px;
  line-height: 1.3;
}
.na-logo-txt i {
  display: block;
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: .4px;
  opacity: .72;
  margin-top: 2px;
}

.na-brand-mid { margin: 34px 0 0; max-width: 460px; }

.na-brand-mid h1 {
  margin: 0 0 16px;
  font-size: 33px;
  line-height: 1.34;
  font-weight: 700;
  letter-spacing: -1px;
  color: #fff;
}
.na-brand-mid h1 em {
  font-style: normal;
  background: linear-gradient(92deg, #b8d7ff, #fff 62%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.na-brand-mid p {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: rgba(255, 255, 255, .8);
  max-width: 400px;
}

/* 2×2 玻璃特性卡 */
.na-feats {
  list-style: none;
  margin: 30px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  max-width: 460px;
}
.na-feats li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 14px;
  border-radius: 13px;
  font-size: 13px;
  color: rgba(255, 255, 255, .92);
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .1);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.na-feats li i {
  width: 24px; height: 24px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 8px;
  font-size: 12px;
  color: #fff;
  background: rgba(255, 255, 255, .16);
}

.na-brand-foot {
  font-size: 11.5px;
  letter-spacing: .2px;
  color: rgba(255, 255, 255, .46);
}

/* ---- 3.2 右：表单区 ---- */
.na-main {
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 44px 32px;
  position: relative;
}

/* 表单一侧：极淡的点阵，避免纯白大平面 */
.na-main::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(22, 119, 255, .13) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 76%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 45%, #000 0%, transparent 76%);
  opacity: .5;
  pointer-events: none;
}

.na-card {
  position: relative;
  width: 100%;
  max-width: 396px;
  background: var(--na-card);
  border-radius: var(--na-r-lg);
  padding: 32px 30px 24px;
  box-shadow: var(--na-shadow);
  animation: naIn .44s var(--na-ease) both;
}

@keyframes naIn {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.na-card-hd { margin-bottom: 22px; }
.na-card-hd h2 {
  margin: 0;
  font-size: 21px;
  font-weight: 700;
  letter-spacing: -.4px;
  color: var(--na-ink);
}
.na-card-hd p {
  margin: 6px 0 0;
  font-size: 12.5px;
  color: var(--na-ink-3);
}

/* ---------------------------------------------------- 4. 单栏外壳（注册等） */
.na-plain {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 34px 18px 40px;
  position: relative;
  background:
    radial-gradient(760px 420px at 12% -10%, rgba(22, 119, 255, .1) 0%, rgba(22, 119, 255, 0) 60%),
    radial-gradient(680px 420px at 92% 108%, rgba(11, 79, 216, .09) 0%, rgba(11, 79, 216, 0) 58%),
    var(--na-bg);
}

.na-plain .na-card { max-width: 418px; animation: naIn .4s var(--na-ease) both; }

/* 卡片顶部品牌行 */
.na-plain-hd {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 20px;
}
.na-plain-hd .na-logo {
  display: flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  border-radius: 12px;
  background: #fff;
  border: 1px solid var(--na-line);
  box-shadow: 0 6px 16px rgba(16, 34, 56, .07);
}
.na-plain-hd .na-logo img { width: 26px; height: 26px; }
.na-plain-hd h1 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: var(--na-ink);
  letter-spacing: -.2px;
}
.na-plain-hd h1 + span {
  display: block;
  font-size: 11.5px;
  color: var(--na-ink-4);
  margin-top: 1px;
}

/* ---------------------------------------------------------- 5. 分段 Tab */
.na-tabs {
  display: flex;
  gap: 4px;
  padding: 4px;
  margin: 0 0 20px;
  border-radius: 12px;
  background: #eef2f9;
  list-style: none;
}
.na-tabs > li { flex: 1 1 0; margin: 0; }
.na-tabs > li > a {
  display: block;
  padding: 9px 0;
  border-radius: 9px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--na-ink-3);
  transition: all .16s;
}
.na-tabs > li > a:hover { color: var(--na-brand); background: rgba(255, 255, 255, .6); }
.na-tabs > li.active > a,
.na-tabs > li.active > a:hover {
  color: var(--na-brand);
  font-weight: 600;
  background: #fff;
  box-shadow: 0 2px 8px rgba(16, 34, 56, .09);
}

/* ------------------------------------------------------------ 6. 表单字段 */
.na-field { margin-bottom: 14px; }

.na-field > label {
  display: block;
  margin: 0 0 6px 2px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--na-ink-3);
  letter-spacing: .1px;
}

.na-input {
  position: relative;
  display: flex;
  align-items: center;
  height: var(--na-h);
  border: 1px solid var(--na-line);
  border-radius: 12px;
  background: #fbfcfe;
  transition: border-color .16s, box-shadow .16s, background .16s;
}
.na-input:focus-within {
  border-color: var(--na-brand);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(22, 119, 255, .12);
}
.na-input.is-error {
  border-color: #f0564a;
  box-shadow: 0 0 0 3.5px rgba(240, 86, 74, .12);
}

/* 左图标（class="lead" 会吃到 bootstrap 的 .lead{margin-bottom:20px}，必须归零） */
.na-input > i.lead {
  flex: none;
  width: 42px;
  margin: 0;
  text-align: center;
  font-size: 15px;
  color: var(--na-ink-4);
  transition: color .16s;
}
.na-input:focus-within > i.lead { color: var(--na-brand); }

.na-input > input {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 14px 0 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 14.5px;
  color: var(--na-ink-2);
  box-shadow: none;
}
.na-input > input::placeholder { color: #aab6c2; }
.na-input > select {
  flex: 1 1 auto;
  min-width: 0;
  height: 100%;
  padding: 0 30px 0 0;
  border: 0;
  outline: none;
  background: transparent url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%239aa8b6' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 14px center;
  font-size: 14.5px;
  color: var(--na-ink-2);
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
}

/* 右侧眼睛 / 操作链接 */
.na-input > .na-eye {
  flex: none;
  width: 42px;
  text-align: center;
  font-size: 15px;
  color: var(--na-ink-4);
  cursor: pointer;
  transition: color .16s;
}
.na-input > .na-eye:hover { color: var(--na-brand); }

/* 验证码行：输入框 + 右侧「获取验证码」 */
.na-input > .na-code-btn,
.na-input > #sendcode {
  flex: none;
  display: flex;
  align-items: center;
  height: 26px;
  padding: 0 12px;
  margin-right: 9px;
  border-radius: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--na-brand);
  background: var(--na-brand-soft);
  cursor: pointer;
  white-space: nowrap;
  transition: all .16s;
}
.na-input > .na-code-btn:hover,
.na-input > #sendcode:hover { background: #e0ebff; color: var(--na-brand-d); }
.na-input > .na-code-btn.is-lock,
.na-input > #sendcode.is-lock {
  color: var(--na-ink-4);
  background: #f2f5fa;
  cursor: default;
}

/* 单位后缀（金额输入） */
.na-input > .na-suffix {
  flex: none;
  padding-right: 14px;
  font-size: 13px;
  color: var(--na-ink-4);
}

.na-hint {
  margin: 7px 0 0 2px;
  font-size: 11.5px;
  line-height: 1.65;
  color: var(--na-ink-4);
}

/* ---------------------------------------------------------------- 7. 按钮 */
.na-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: var(--na-h);
  margin-top: 6px;
  border: 0;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: .3px;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(135deg, var(--na-brand-l) 0%, var(--na-brand) 52%, var(--na-brand-d) 100%);
  box-shadow: var(--na-shadow-btn);
  transition: transform .16s, box-shadow .16s, filter .16s;
}
.na-btn:hover { transform: translateY(-1px); box-shadow: 0 16px 28px rgba(22, 119, 255, .32); filter: saturate(1.05); }
.na-btn:active { transform: translateY(0); box-shadow: 0 8px 18px rgba(22, 119, 255, .26); }
.na-btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }

.na-btn-ghost {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  height: 42px;
  margin-top: 9px;
  border: 1px solid var(--na-line);
  border-radius: 12px;
  background: #fff;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--na-ink-3);
  transition: all .16s;
}
.na-btn-ghost:hover {
  border-color: #cfe0f8;
  background: #f7faff;
  color: var(--na-brand);
}

/* 行内链接组 */
.na-alt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
  font-size: 13px;
}
.na-alt a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--na-brand);
  font-weight: 500;
}
.na-alt a.muted { color: var(--na-ink-3); }
.na-alt a.muted:hover { color: var(--na-brand); }
.na-alt a:hover { color: var(--na-brand-d); }

/* 分隔线 */
.na-div {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
  font-size: 11.5px;
  color: var(--na-ink-4);
}
.na-div::before,
.na-div::after {
  content: "";
  flex: 1 1 auto;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--na-line), transparent);
}

/* ------------------------------------------------------------ 8. 扫码入口 */
.na-qr {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  padding: 11px 13px;
  border: 1px solid rgba(22, 119, 255, .16);
  border-radius: 13px;
  background: linear-gradient(180deg, #f7fbff, #f2f8ff);
  transition: all .18s;
}
.na-qr:hover {
  border-color: rgba(22, 119, 255, .38);
  background: #eff6ff;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 119, 255, .1);
}
.na-qr-ico {
  width: 34px; height: 34px;
  flex: none;
  display: flex; align-items: center; justify-content: center;
  border-radius: 10px;
  font-size: 15px;
  color: #fff;
  background: linear-gradient(140deg, var(--na-brand-l), var(--na-brand) 56%, var(--na-brand-d));
  box-shadow: 0 6px 14px rgba(22, 119, 255, .26);
}
.na-qr-txt {
  flex: 1 1 auto;
  min-width: 0;
}
.na-qr-txt b {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--na-ink);
  line-height: 1.4;
}
.na-qr-txt span {
  display: block;
  font-size: 11.5px;
  color: var(--na-ink-4);
  margin-top: 1px;
}
.na-qr > i.arrow { flex: none; font-size: 14px; color: #bcc8d4; }

/* ---------------------------------------------------------- 9. 第三方登录 */
.na-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 4px;
}
.na-social a {
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--na-line);
  border-radius: 50%;
  background: #fff;
  transition: all .18s;
}
.na-social a:hover {
  border-color: #cfe0f8;
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(16, 34, 56, .09);
}
.na-social img { width: 19px; height: 19px; border-radius: 50%; display: block; }
.na-social i { font-size: 19px; }

/* ------------------------------------------------------------- 10. 页脚 */
.na-foot {
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--na-line-2);
  text-align: center;
  font-size: 11.5px;
  line-height: 1.9;
  color: var(--na-ink-4);
}
.na-foot a { color: var(--na-ink-3); }
.na-foot a:hover { color: var(--na-brand); }

/* --------------------------------------------------------- 11. 提示 / 弹窗 */
.na-alert {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 11px 13px;
  margin-bottom: 16px;
  border-radius: 12px;
  font-size: 12.5px;
  line-height: 1.7;
}
.na-alert i { font-size: 14px; line-height: 1.5; flex: none; }
.na-alert.ok { color: #14734a; background: #ecfbf3; border: 1px solid #c6f0da; }
.na-alert.warn { color: #96560a; background: #fff8e8; border: 1px solid #ffe4b0; }
.na-alert.err { color: #b02a20; background: #fdf0ef; border: 1px solid #fbd4d0; }
.na-alert.info { color: #13509b; background: #eff6ff; border: 1px solid #d3e5ff; }

/* 价格条（注册收费时） */
.na-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 12px;
  background: linear-gradient(135deg, #fff8e8, #fffdf6);
  border: 1px solid #ffe4b0;
  font-size: 12.5px;
  color: #8a5a12;
}
.na-price b { font-size: 17px; font-weight: 700; color: #b06a00; letter-spacing: -.2px; }

/* 注册须知弹窗：bootstrap modal 结构不变，只换皮 */
.na-body .modal-content {
  border: 0;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 34, 56, .22);
}
.na-body .modal-header {
  padding: 18px 20px;
  border-bottom: 1px solid var(--na-line-2);
}
.na-body .modal-title { font-size: 15px; font-weight: 700; color: var(--na-ink); }
.na-body .modal-body {
  padding: 18px 20px;
  max-height: 58vh;
  overflow: auto;
  font-size: 13px;
  line-height: 1.9;
  color: var(--na-ink-2);
}
.na-body .modal-footer { padding: 12px 20px 16px; border-top: 1px solid var(--na-line-2); }
.na-body .modal-footer .btn {
  padding: 8px 22px;
  border-radius: 10px;
  border: 1px solid var(--na-line);
  background: #fff;
  font-size: 13px;
  color: var(--na-ink-3);
}
.na-body .modal-footer .btn:hover { border-color: #cfe0f8; color: var(--na-brand); background: #f7faff; }

/* --------------------------------------------------------- 12. 复选框 */
.na-check {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 4px 0 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--na-ink-3);
  cursor: pointer;
}
.na-check input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0; height: 0;
}
.na-check .box {
  flex: none;
  width: 16px; height: 16px;
  margin-top: 2px;
  border: 1.5px solid #c8d4e2;
  border-radius: 5px;
  background: #fff;
  transition: all .15s;
  position: relative;
}
.na-check input:checked + .box {
  background: var(--na-brand);
  border-color: var(--na-brand);
}
.na-check input:checked + .box::after {
  content: "";
  position: absolute;
  left: 4.6px; top: 1.4px;
  width: 4.6px; height: 8.6px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(42deg);
}
.na-check a { font-weight: 500; }

/* ------------------------------------------------------- 13. 支付测试页 */
.na-amount {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 16px 18px;
  margin-bottom: 16px;
  border: 1px solid var(--na-line);
  border-radius: 14px;
  background: #fbfcfe;
  transition: border-color .16s, box-shadow .16s;
}
.na-amount:focus-within {
  border-color: var(--na-brand);
  background: #fff;
  box-shadow: 0 0 0 3.5px rgba(22, 119, 255, .12);
}
.na-amount span.cur { font-size: 20px; font-weight: 600; color: var(--na-ink-4); }
.na-amount input {
  flex: 1 1 auto;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  font-size: 30px;
  font-weight: 700;
  letter-spacing: -.5px;
  color: var(--na-ink);
  line-height: 1.2;
}
.na-amount input:disabled { color: var(--na-ink-3); -webkit-text-fill-color: var(--na-ink-3); }
.na-amount em { font-style: normal; font-size: 12.5px; color: var(--na-ink-4); }

.na-paygrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(112px, 1fr));
  gap: 10px;
  margin-top: 4px;
}
.na-pay {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding: 0 10px;
  border: 1px solid var(--na-line);
  border-radius: 12px;
  background: #fff;
  font-size: 13px;
  font-weight: 500;
  color: var(--na-ink-2);
  white-space: nowrap;
  cursor: pointer;
  transition: all .16s;
}
.na-pay:hover {
  border-color: rgba(22, 119, 255, .45);
  background: #f7faff;
  color: var(--na-brand);
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(22, 119, 255, .1);
}
.na-pay:active { transform: translateY(0); }
.na-pay img { height: 18px; display: block; }

/* 只读信息行 */
.na-rows { margin-bottom: 16px; }
.na-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--na-line-2);
  font-size: 13px;
}
.na-row:last-child { border-bottom: 0; }
.na-row > b {
  font-weight: 500;
  color: var(--na-ink-3);
  white-space: nowrap;
}
.na-row > span {
  font-weight: 600;
  color: var(--na-ink-2);
  text-align: right;
  word-break: break-all;
}
.na-row > span.mono {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 12.5px;
  letter-spacing: .2px;
}

/* --------------------------------------------------------- 14. 极验容器 */
/* 主题自带的 #captcha_text 是 #F3F3F3 灰块 + 直角，这里改成虚线占位框 */
.na-body #captcha {
  margin: 2px 0 14px;
}
.na-body #captcha_text {
  height: 44px;
  line-height: 44px;
  width: 100%;
  padding: 0;
  border: 1px dashed var(--na-line);
  border-radius: 12px;
  background: #f8fafd;
  color: var(--na-ink-4);
  font-size: 12.5px;
  letter-spacing: .2px;
  text-align: center;
}
.na-body #captcha_wait {
  display: none;
  height: 44px;
  width: 100%;
  border: 1px dashed var(--na-line);
  border-radius: 12px;
  background: #f8fafd;
}
.na-body #captcha_wait .loading {
  height: 44px;
  padding-top: 0;
}
.na-body #captcha_wait .loading-dot {
  margin: 18px 4px;
  background: var(--na-brand);
  box-shadow: none;
}
/* geetest 渲染出来的按钮撑满一行 */
.na-body #captcha > div:not(#captcha_text):not(#captcha_wait) { width: 100%; }
.na-body #captchaform { margin-bottom: 10px; }

/* -------------------------------------------------------- 15. 响应式 */
@media (max-width: 1080px) {
  .na-brand { flex-basis: 42%; padding: 40px 38px 34px; }
  .na-brand-mid h1 { font-size: 28px; }
  .na-feats { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  /* 窄屏隐掉品牌区，只留表单 */
  .na-brand { display: none; }
  .na-wrap { min-height: 100vh; }
  /* flex item 默认 min-width:auto 不收缩，320 宽会把 main 撑到 342 */
  .na-main { padding: 28px 18px 40px; align-items: flex-start; min-width: 0; }
  .na-card {
    max-width: 100%;
    min-width: 0;
    padding: 26px 22px 20px;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(16, 34, 56, .07);
  }
  .na-card-hd h2 { font-size: 19px; }
  .na-plain { padding: 22px 16px 34px; }
}

@media (max-width: 420px) {
  .na-card { padding: 22px 18px 18px; }
  .na-input { height: 44px; }
  .na-btn { height: 44px; font-size: 14.5px; }
  .na-tabs > li > a { font-size: 13px; }
  .na-paygrid { grid-template-columns: 1fr 1fr; }
  .na-pay { height: 46px; padding: 0 8px; font-size: 12.5px; }
  .na-brand-mid h1 { font-size: 24px; }
}

/* -------------------------------------------------------- 16. 打印/减弱动效 */
@media (prefers-reduced-motion: reduce) {
  .na-card, .na-plain .na-card { animation: none; }
  .na-btn, .na-qr, .na-pay, .na-social a { transition: none; }
}

/* ------------------- 17. 移动端品牌头（登录页：≤900px 品牌区隐藏后的替身） */
.na-mob-hd { display: none; }

@media (max-width: 900px) {
  .na-main { flex-direction: column; }
  .na-mob-hd {
    display: flex;
    align-items: center;
    gap: 11px;
    width: 100%;
    max-width: 396px;
    margin: 0 0 16px;
  }
  .na-mob-hd .na-logo {
    width: 44px; height: 44px;
    border-radius: 13px;
    background: #fff;
    border: 1px solid var(--na-line);
    box-shadow: 0 6px 16px rgba(16, 34, 56, .07);
  }
  .na-mob-hd .na-logo img { width: 30px; height: 30px; }
  .na-mob-hd .na-mob-txt b {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: var(--na-ink);
    letter-spacing: -.2px;
    line-height: 1.25;
  }
  .na-mob-hd .na-mob-txt i {
    display: block;
    font-style: normal;
    font-size: 11.5px;
    color: var(--na-ink-4);
    margin-top: 1px;
  }
}
