/* ==========================================================================
   auth2026.css - login / register skin
   Loaded AFTER base.css + home.css. Pure ASCII (site served as GB2312).
   ========================================================================== */

/* ---------- page head ---------- */
.au-ph { padding: 34px 0 38px; background: #fff; border-bottom: 1px solid var(--line); }
.au-ph .crumb { margin-bottom: 24px; }
.au-ph .eyebrow {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--ink-4); margin-bottom: 13px;
}
.au-ph-grid { display: grid; grid-template-columns: 7fr 5fr; gap: var(--gutter); align-items: end; }
.au-ph h1 { font-size: 42px; line-height: 1.08; letter-spacing: -.04em; }
.au-ph h1 em { font-style: normal; color: var(--brand); }
.au-ph .ph-desc { font-size: 14px; color: var(--ink-3); line-height: 1.8; padding-bottom: 3px; }
.au-ph .ph-meta { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 22px; font-family: var(--mono); font-size: 11px; color: var(--ink-4); }
.au-ph .ph-meta b { color: var(--ink-2); font-weight: 600; }

/* ---------- body grid ---------- */
.au-sec { padding: 52px 0 92px; }
.au-grid { display: grid; grid-template-columns: 6fr 5fr; gap: 76px; align-items: start; }
.au-grid--reg { grid-template-columns: 7fr 4fr; gap: 64px; }

/* ---------- card ---------- */
.au-card { border: 1px solid var(--line); border-radius: var(--r-lg); background: #fff; padding: 34px 34px 30px; }
.au-card-hd { padding-bottom: 20px; border-bottom: 1px solid var(--line-2); margin-bottom: 24px; }
.au-card-hd h2 { font-size: 19px; letter-spacing: -.02em; }
.au-card-hd p { margin-top: 6px; font-size: 12.5px; color: var(--ink-4); }

/* ---------- fields ---------- */
.af { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.af > label {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .13em;
  text-transform: uppercase; color: var(--ink-4); font-weight: 500;
}
.af input[type="text"], .af input[type="password"], .af input[type="email"] {
  display: block; width: 100%; height: 46px; padding: 0 14px;
  border: 1px solid var(--line-3); border-radius: var(--r); background: #fff;
  font-size: 15px; color: var(--ink); outline: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.af input::placeholder { color: var(--ink-4); font-size: 14px; }
.af input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 14, 20, .07); }
.af .hint { font-size: 11.5px; color: var(--ink-4); line-height: 1.6; }

/* ---------- remember / links row ---------- */
.au-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 4px 0 22px; font-size: 12.5px; color: var(--ink-3); }
.au-check { display: inline-flex; align-items: center; gap: 7px; cursor: pointer; user-select: none; }
.au-check input { width: 14px; height: 14px; accent-color: var(--brand); margin: 0; }
.au-link { color: var(--ink-3); border-bottom: 1px solid var(--line-3); padding-bottom: 1px; }
.au-link:hover { color: var(--brand-ink); border-bottom-color: var(--brand-line); }

/* ---------- submit ---------- */
.au-sub {
  display: flex; align-items: center; justify-content: center; width: 100%; height: 48px;
  border-radius: var(--r); background: var(--brand); color: #fff;
  font-size: 15px; font-weight: 600; letter-spacing: .01em;
  transition: background .16s var(--ease);
}
.au-sub:hover { background: var(--brand-ink); }
.au-sub--ink { background: var(--ink); }
.au-sub--ink:hover { background: #000; }

.au-foot { margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--line-2); font-size: 13px; color: var(--ink-3); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.au-foot a { color: var(--brand-ink); font-weight: 600; }
.au-foot a:hover { text-decoration: underline; }

/* ---------- side info ---------- */
.ainfo-hd {
  font-family: var(--mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--ink-4); padding-bottom: 13px; border-bottom: 1px solid var(--line); margin-bottom: 4px;
}
.alist { display: flex; flex-direction: column; }
.alist li { display: grid; grid-template-columns: 30px 1fr; gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.alist .n { font-family: var(--mono); font-size: 11px; color: var(--brand); font-weight: 700; padding-top: 2px; }
.alist h3 { font-size: 14px; font-weight: 600; letter-spacing: -.01em; }
.alist p { margin-top: 4px; font-size: 12.5px; color: var(--ink-4); line-height: 1.65; }

.aside-box { margin-top: 26px; padding: 20px 22px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--soft); }
.aside-box .k { font-family: var(--mono); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-4); }
.aside-box .v { margin-top: 6px; font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: -.01em; }
.aside-box .v small { display: block; margin-top: 3px; font-size: 11.5px; font-weight: 400; color: var(--ink-4); letter-spacing: 0; }

/* ---------- register form ---------- */
.rg-sec { margin-bottom: 34px; }
.rg-sec-hd { display: flex; align-items: baseline; gap: 12px; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.rg-sec-hd .n { font-family: var(--mono); font-size: 11px; font-weight: 700; color: var(--brand); letter-spacing: .06em; }
.rg-sec-hd h3 { font-size: 15px; font-weight: 700; letter-spacing: -.01em; }
.rg-sec-hd .d { margin-left: auto; font-size: 11.5px; color: var(--ink-4); font-family: var(--mono); letter-spacing: .04em; }

.rg-row { display: grid; grid-template-columns: 122px 1fr 150px; gap: 0 18px; align-items: start; padding: 13px 0; border-bottom: 1px solid var(--line-2); }
.rg-row:last-child { border-bottom: 0; }
.rg-lab { padding-top: 11px; font-size: 13px; color: var(--ink-2); font-weight: 500; line-height: 1.5; }
.rg-lab .req { color: var(--brand); margin-right: 2px; }
.rg-ctl { min-width: 0; }
.rg-ctl input[type="text"], .rg-ctl input[type="password"] {
  display: block; width: 100%; height: 42px; padding: 0 12px;
  border: 1px solid var(--line-3); border-radius: var(--r); background: #fff;
  font-size: 14px; color: var(--ink); outline: 0;
  transition: border-color .16s var(--ease), box-shadow .16s var(--ease);
}
.rg-ctl input:focus { border-color: var(--ink); box-shadow: 0 0 0 3px rgba(10, 14, 20, .07); }
.rg-tip { padding-top: 13px; min-width: 0; }

/* radios */
.rg-radios { display: flex; align-items: center; gap: 22px; height: 42px; }
.rg-radios input { width: 15px; height: 15px; accent-color: var(--brand); margin: 0 6px 0 0; vertical-align: -2px; }
.rg-radios label { font-size: 13.5px; color: var(--ink-2); }

/* override Validform default tip styles */
.rg-tip .Validform_checktip,
.rg-tip .Validform_right,
.rg-tip .Validform_wrong,
.rg-tip .Validform_loading {
  margin: 0; height: auto; overflow: visible; white-space: normal;
  font-size: 11.5px; line-height: 1.55; color: var(--ink-4);
  background: none; padding-left: 0;
}
.rg-tip .Validform_right { color: var(--ok); }
.rg-tip .Validform_wrong { color: var(--danger); white-space: normal; }
.rg-ctl input.Validform_error { border-color: var(--danger); background: #FFF8F8; }

/* agreement + submit */
.rg-agree { display: flex; align-items: flex-start; gap: 9px; padding: 18px 0 4px; font-size: 13px; color: var(--ink-3); }
.rg-agree input { width: 15px; height: 15px; accent-color: var(--brand); margin: 2px 0 0; flex-shrink: 0; }
.rg-agree a { color: var(--brand-ink); border-bottom: 1px solid var(--brand-line); }
.rg-agree a:hover { border-bottom-color: var(--brand-ink); }
.rg-acts { display: flex; align-items: center; gap: 18px; margin-top: 22px; }
.rg-acts .au-sub { width: auto; min-width: 176px; padding: 0 34px; }
.rg-acts .back { font-size: 13px; color: var(--ink-3); }
.rg-acts .back:hover { color: var(--brand-ink); }

/* quick login slot (3rd party buttons, usually empty) */
.rg-quick { margin-top: 18px; }
.rg-quick > #quickLink { float: none !important; width: auto !important; }
.rg-quick > #quickLink:not(:has(img)) { display: none !important; }
.rg-quick > div { float: none !important; width: auto !important; color: var(--ink-4) !important; font-size: 12.5px !important; height: auto !important; line-height: 30px !important; }

/* ---------- narrow ---------- */
@media (max-width: 1180px) {
  .au-grid, .au-grid--reg { grid-template-columns: 1fr; gap: 44px; }
  .au-ph-grid { grid-template-columns: 1fr; gap: 18px; }
  .au-ph h1 { font-size: 34px; }
  .rg-row { grid-template-columns: 132px 1fr; }
  .rg-tip { grid-column: 2; padding-top: 0; padding-bottom: 2px; }
}
@media (max-width: 720px) {
  .au-card { padding: 24px 20px; }
  .rg-row { grid-template-columns: 1fr; padding: 12px 0; }
  .rg-lab { padding-top: 0; padding-bottom: 6px; }
  .rg-tip { grid-column: 1; }
  .au-ph h1 { font-size: 28px; }
}
