/* ============================================================
   朝圣仙门 · 山门文牒（auth.css）
   双栏登录/注册：左山门长卷，右入山文牒
   仅在 body.sect 下生效，覆盖 sect.css 的居中单卡
   ============================================================ */

/* ---------- 总体骨架 ---------- */
body.sect .auth-gate {
  display: none;
  padding: 0;
  background: #f6f1e6;
  overflow: hidden;
}
body.sect .auth-gate.show {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: flex-start;
}

/* 更易灵符弹层仍为居中单卡 */
body.sect .auth-gate.pwd-gate.show {
  display: grid;
  place-items: center;
  justify-content: center;
  align-content: center;
  padding: 22px;
  background:
    radial-gradient(900px 560px at 50% 12%, rgba(196, 160, 90, .18), transparent 66%),
    linear-gradient(180deg, #f7f2e7, #eee6d6);
}
body.sect .auth-gate.pwd-gate .auth-ink {
  position: fixed;
  inset: 0;
  width: auto;
  height: auto;
}
body.sect .auth-gate.pwd-gate .auth-card {
  width: min(420px, 94vw);
  padding: 34px 34px 26px;
  text-align: center;
}
body.sect .auth-gate.pwd-gate .auth-card-head,
body.sect .auth-gate.pwd-gate .auth-mobile-brand {
  display: none;
}

/* ---------- 左栏：山门长卷 ---------- */
body.sect .auth-visual {
  position: relative;
  flex: 0 0 54%;
  width: 54%;
  min-width: 0;
  overflow: hidden;
  background: #f3eddf;
  isolation: isolate;
}
body.sect .auth-visual .auth-ink {
  position: absolute;
  inset: 0;
  filter: none;
  animation: none;
  background:
    radial-gradient(300px 220px at 12% 88%, rgba(79, 127, 106, .10), transparent 70%),
    radial-gradient(420px 260px at 92% 8%, rgba(154, 116, 40, .12), transparent 72%);
}
body.sect .auth-visual .auth-ink::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/auth-hero.svg") center bottom / cover no-repeat;
  opacity: 1;
}
body.sect .auth-visual .auth-ink::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(720px 600px at 46% 46%, rgba(247, 242, 231, .18) 0%, rgba(247, 242, 231, .03) 54%, rgba(247, 242, 231, 0) 76%),
    linear-gradient(180deg, rgba(247, 242, 231, .50) 0%, rgba(247, 242, 231, .05) 34%, rgba(31, 37, 44, .10) 100%);
  transition: opacity 1.2s ease;
}
body.sect .auth-visual .auth-ink.is-live::before { opacity: 0; }
body.sect .auth-visual .auth-ink.is-live::after {
  background:
    radial-gradient(720px 600px at 46% 46%, rgba(247, 242, 231, .20) 0%, rgba(247, 242, 231, .04) 54%, rgba(247, 242, 231, 0) 76%),
    linear-gradient(180deg, rgba(247, 242, 231, .46) 0%, rgba(247, 242, 231, .04) 34%, rgba(31, 37, 44, .12) 100%);
}
body.sect .auth-visual .auth-temple-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.35s ease;
}
body.sect .auth-visual .auth-ink.is-live .auth-temple-canvas { opacity: 1; }

body.sect .auth-visual-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(270deg, rgba(246, 241, 230, .92) 0%, rgba(246, 241, 230, .42) 3.5%, transparent 11%),
    linear-gradient(90deg, rgba(247, 242, 231, .28) 0%, rgba(247, 242, 231, .05) 34%, rgba(247, 242, 231, 0) 62%),
    radial-gradient(120% 86% at 32% 50%, rgba(247, 242, 231, .40) 0%, rgba(247, 242, 231, .10) 48%, transparent 74%);
}
body.sect .auth-visual-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  padding: clamp(28px, 4.2vw, 62px) clamp(26px, 4.4vw, 64px) clamp(24px, 3.2vw, 46px);
}

/* 品牌题签 */
body.sect .auth-brand {
  animation: auth-rise .8s cubic-bezier(.2, .8, .2, 1) both;
}
body.sect .auth-brand .auth-seal {
  width: 52px;
  height: 52px;
  margin: 0 0 15px;
  font-size: 28px;
  box-shadow: 0 10px 30px -18px rgba(140, 42, 30, .8);
}
body.sect .auth-brand .auth-title {
  font-size: clamp(34px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: .2em;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 253, 247, .7);
}
body.sect .auth-brand .auth-sub {
  margin-top: 10px;
  font-size: 9px;
  letter-spacing: .24em;
  color: var(--gold-deep);
  opacity: .76;
}
body.sect .auth-brand-txt {
  min-width: 0;
}
body.sect .auth-brand .auth-nature,
body.sect .auth-mobile-brand .auth-nature {
  margin-top: 5px;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--ink-3);
  opacity: .72;
  text-align: center;
  white-space: nowrap;
}

/* 诗句与入山三问 */
body.sect .auth-visual-copy {
  position: relative;
  max-width: 432px;
  margin: 6vh 0 3vh -20px;
  padding: 18px 30px 18px 20px;
  border-left: 1px solid rgba(154, 116, 40, .22);
  background: linear-gradient(100deg, rgba(247, 242, 231, .74) 0%, rgba(247, 242, 231, .42) 58%, rgba(247, 242, 231, 0) 100%);
  backdrop-filter: blur(1.5px);
  animation: auth-rise .9s .1s cubic-bezier(.2, .8, .2, 1) both;
}
body.sect .auth-visual-copy .auth-verse {
  margin: 0 0 26px;
  padding: 0 0 18px;
  border-top: 0;
  border-bottom: 1px solid rgba(154, 116, 40, .28);
  text-align: left;
  white-space: pre-line;
  font-family: var(--font-kai);
  font-size: clamp(12.5px, 1.05vw, 15px);
  line-height: 2.1;
  letter-spacing: .16em;
  color: var(--ink-2);
}
body.sect .auth-steps {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.sect .auth-step {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
body.sect .auth-step-no {
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(154, 116, 40, .38);
  border-radius: 1px;
  background: rgba(247, 242, 231, .48);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: .06em;
  color: var(--gold-deep);
  backdrop-filter: blur(2px);
}
body.sect .auth-step-body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-top: 2px;
}
body.sect .auth-step-body b {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--ink);
}
body.sect .auth-step-body span {
  font-size: 11.5px;
  line-height: 1.75;
  letter-spacing: .04em;
  color: var(--ink-2);
  opacity: .82;
}

/* 左栏页脚 */
body.sect .auth-visual-foot {
  display: flex;
  align-items: center;
  gap: 9px;
  animation: auth-rise 1s .2s cubic-bezier(.2, .8, .2, 1) both;
  font-family: var(--font-kai);
  font-size: 9.5px;
  letter-spacing: .18em;
  color: var(--ink-3);
}
body.sect .auth-foot-dot { color: var(--gold-soft); }
body.sect .auth-foot-mark { opacity: .8; }

/* ---------- 右栏：入山文牒 ---------- */
body.sect .auth-panel {
  position: relative;
  flex: 1 1 46%;
  min-width: 0;
  display: grid;
  place-items: center;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3.6vw, 54px);
  background:
    radial-gradient(620px 460px at 76% 8%, rgba(196, 160, 90, .13), transparent 68%),
    linear-gradient(180deg, #fbf8f1 0%, #f5efe2 100%);
  overflow-y: auto;
}
body.sect .auth-panel::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7%;
  bottom: 7%;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(154, 116, 40, .32) 22%, rgba(154, 116, 40, .32) 78%, transparent);
  pointer-events: none;
}
body.sect .auth-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: .28;
  background-image:
    repeating-linear-gradient(0deg, rgba(80, 68, 46, .028) 0 1px, transparent 1px 3px),
    radial-gradient(rgba(80, 68, 46, .13) .5px, transparent .8px);
  background-size: auto, 5px 5px;
  mix-blend-mode: multiply;
}
body.sect .auth-card {
  position: relative;
  z-index: 1;
  width: min(438px, 100%);
  max-width: none;
  margin: 0;
  padding: 32px 36px 26px;
  border: 1px solid var(--line-gold);
  border-radius: 2px;
  background:
    linear-gradient(180deg, rgba(255, 253, 247, .96), rgba(250, 245, 234, .94));
  box-shadow:
    0 40px 90px -58px rgba(45, 36, 20, .62),
    0 2px 0 rgba(255, 255, 255, .7) inset;
  text-align: left;
  animation: auth-panel-in .72s cubic-bezier(.2, .8, .2, 1) both;
}
body.sect .auth-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(154, 116, 40, .16);
  pointer-events: none;
}
body.sect .auth-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(154, 116, 40, .55), transparent);
  pointer-events: none;
}

/* 桌面端卡片内不再重复品牌与诗句 */
body.sect .auth-mobile-brand { display: none; }
body.sect .auth-card-head { margin: 0 0 18px; }
body.sect .auth-card-kicker {
  font-family: var(--font-mono);
  font-size: 8px;
  letter-spacing: .28em;
  color: var(--gold-deep);
  opacity: .72;
}
body.sect .auth-card-title {
  margin-top: 7px;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: .3em;
  line-height: 1;
  color: var(--ink);
}
body.sect .auth-card-desc {
  margin-top: 10px;
  font-size: 10.5px;
  line-height: 1.8;
  letter-spacing: .03em;
  color: var(--ink-3);
}

/* 标签页 */
body.sect .auth-card .auth-tabs {
  margin: 0 0 17px;
  border: 1px solid var(--line);
  border-radius: 1px;
  overflow: hidden;
}
body.sect .auth-card .auth-tab {
  padding: 10px 0;
  font-size: 13px;
  letter-spacing: .18em;
}
body.sect .auth-card .auth-tab.active {
  background: linear-gradient(180deg, rgba(154, 116, 40, .14), rgba(154, 116, 40, .08));
  color: var(--gold-deep);
}

/* 表单 */
body.sect .auth-card .auth-form { gap: 12px; }
body.sect .auth-card .auth-field { gap: 6px; }
body.sect .auth-card .auth-label {
  font-family: var(--font-kai);
  font-size: 10.5px;
  letter-spacing: .18em;
  color: var(--ink-3);
}
body.sect .auth-card .auth-input {
  height: 43px;
  padding: 0 13px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background: rgba(255, 253, 247, .82);
  font-size: 13.5px;
  letter-spacing: .02em;
}
body.sect .auth-card .auth-input::placeholder { color: var(--ink-4); }
body.sect .auth-card .auth-input:focus {
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(154, 116, 40, .10);
  background: #fffdf8;
}

/* 灵符显隐 */
body.sect .auth-input-wrap { position: relative; }
body.sect .auth-input-wrap .auth-input { padding-right: 50px; }
body.sect .auth-eye {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 31px;
  border: 0;
  border-radius: 1px;
  background: transparent;
  color: var(--ink-4);
  font-family: var(--font-kai);
  font-size: 11px;
  letter-spacing: .08em;
  cursor: pointer;
  transition: color .2s, background .2s;
}
body.sect .auth-eye:hover { color: var(--gold-deep); background: rgba(154, 116, 40, .08); }
body.sect .auth-eye.is-on { color: var(--cinnabar); }

/* 提交 */
body.sect .auth-card .auth-submit {
  height: 44px;
  margin-top: 4px;
  border-radius: 1px;
  font-size: 14px;
  letter-spacing: .32em;
  box-shadow: 0 12px 26px -18px rgba(140, 42, 30, .9);
}
body.sect .auth-card .auth-or { margin: 15px 0 11px; }
body.sect .auth-card .auth-guest {
  height: 40px;
  border-color: var(--line-gold);
  color: var(--ink-2);
  letter-spacing: .16em;
}
body.sect .auth-card .auth-guest:hover {
  border-color: var(--gold-soft);
  background: rgba(154, 116, 40, .07);
  color: var(--gold-deep);
}
body.sect .auth-card .auth-listen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 34px;
  margin-top: 10px;
  border: 1px dashed rgba(154, 116, 40, .34);
  border-radius: 2px;
  color: var(--gold-deep);
  font-family: var(--font-kai, "KaiTi", serif);
  font-size: 11.5px;
  letter-spacing: .12em;
  text-decoration: none;
  transition: border-color .18s, background .18s, color .18s;
}
body.sect .auth-card .auth-listen:hover {
  border-color: var(--gold-soft);
  background: rgba(154, 116, 40, .08);
  color: var(--ink);
}
body.sect .auth-card .auth-hint {
  margin-top: 13px;
  text-align: left;
  font-size: 9.5px;
  line-height: 1.75;
  letter-spacing: .03em;
  color: var(--ink-4);
}
/* ---------- 动效 ---------- */
@keyframes auth-rise {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}
@keyframes auth-panel-in {
  from { opacity: 0; transform: translateY(20px) scale(.985); }
  to { opacity: 1; transform: none; }
}

/* ---------- 自适应 ---------- */
@media (max-width: 1080px) {
  body.sect .auth-visual { flex-basis: 50%; width: 50%; }
  body.sect .auth-visual-inner { padding: 34px 30px 30px; }
  body.sect .auth-brand .auth-title { font-size: clamp(30px, 4.4vw, 42px); }
  body.sect .auth-visual-copy { margin: 4vh 0 2vh; }
  body.sect .auth-step-body span { font-size: 11px; }
}

@media (max-width: 900px) {
  body.sect .auth-gate.show {
    flex-direction: column;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  body.sect .auth-visual {
    flex: 0 0 190px;
    width: 100%;
    min-height: 190px;
  }
  body.sect .auth-visual-inner {
    justify-content: center;
    padding: 18px 24px;
  }
  body.sect .auth-brand { display: flex; align-items: center; gap: 16px; }
  body.sect .auth-brand .auth-seal { width: 42px; height: 42px; margin: 0; font-size: 23px; }
  body.sect .auth-brand .auth-title { font-size: 27px; letter-spacing: .18em; }
  body.sect .auth-brand .auth-sub { margin: 5px 0 0; font-size: 7.5px; letter-spacing: .3em; }
  body.sect .auth-visual-copy,
  body.sect .auth-visual-foot { display: none; }
  body.sect .auth-visual-shade {
    background: linear-gradient(180deg, rgba(247, 242, 231, .46) 0%, rgba(247, 242, 231, .10) 52%, rgba(247, 242, 231, .52) 100%);
  }
  body.sect .auth-panel {
    flex: 1 1 auto;
    width: 100%;
    padding: 22px 18px 30px;
    overflow-y: visible;
  }
  body.sect .auth-panel::before { display: none; }
  body.sect .auth-card { width: min(520px, 100%); padding: 28px 28px 24px; }
  body.sect .auth-mobile-brand { display: none; }
  body.sect .auth-card-title { font-size: 26px; }
}

@media (max-width: 560px) {
  body.sect .auth-visual {
    flex-basis: 128px;
    min-height: 128px;
  }
  body.sect .auth-brand .auth-seal { width: 34px; height: 34px; font-size: 19px; }
  body.sect .auth-brand .auth-title { font-size: 22px; letter-spacing: .14em; }
  body.sect .auth-brand .auth-sub { display: none; }
  body.sect .auth-brand .auth-nature { font-size: 8px; letter-spacing: .04em; }
  body.sect .auth-panel { padding: 16px 12px 24px; }
  body.sect .auth-card { padding: 24px 20px 20px; }
  body.sect .auth-card-head { margin-bottom: 15px; }
  body.sect .auth-card-title { font-size: 23px; }
  body.sect .auth-card-desc { font-size: 10px; }
  body.sect .auth-card .auth-input { height: 42px; }
}

@media (max-width: 560px) and (max-height: 740px) {
  body.sect .auth-visual {
    flex-basis: 96px;
    min-height: 96px;
  }
  body.sect .auth-brand .auth-seal { width: 30px; height: 30px; font-size: 17px; }
  body.sect .auth-brand .auth-title { font-size: 20px; }
  body.sect .auth-panel { padding: 12px 10px 18px; }
  body.sect .auth-card { padding: 18px 16px 16px; }
  body.sect .auth-card-head { margin-bottom: 10px; }
  body.sect .auth-card-title { font-size: 21px; }
  body.sect .auth-card-desc { margin-top: 6px; font-size: 9.5px; line-height: 1.6; }
  body.sect .auth-card .auth-tabs { margin-bottom: 12px; }
  body.sect .auth-card .auth-tab { padding: 8px 0; font-size: 12px; }
  body.sect .auth-card .auth-form { gap: 8px; }
  body.sect .auth-card .auth-field { gap: 4px; }
  body.sect .auth-card .auth-input { height: 38px; }
  body.sect .auth-card .auth-submit { height: 40px; margin-top: 2px; }
  body.sect .auth-card .auth-or { margin: 10px 0 8px; }
  body.sect .auth-card .auth-guest { height: 36px; }
  body.sect .auth-card .auth-hint { margin-top: 9px; line-height: 1.6; }
}

@media (max-height: 760px) and (min-width: 901px) {
  body.sect .auth-visual-inner { padding-top: 30px; padding-bottom: 28px; }
  body.sect .auth-visual-copy { margin: 2.4vh 0 1.4vh; }
  body.sect .auth-visual-copy .auth-verse { margin-bottom: 18px; padding-bottom: 14px; }
  body.sect .auth-steps { gap: 12px; }
  body.sect .auth-brand .auth-title { font-size: clamp(30px, 3.6vw, 44px); }
  body.sect .auth-card { padding: 26px 32px 22px; }
  body.sect .auth-card-head { margin-bottom: 14px; }
  body.sect .auth-card-title { font-size: 26px; }
}

@media (min-width: 901px) and (max-height: 980px) {
  body.sect .auth-gate.is-register .auth-card { padding: 20px 32px 18px; }
  body.sect .auth-gate.is-register .auth-card-head { margin-bottom: 12px; }
  body.sect .auth-gate.is-register .auth-card-title { font-size: 25px; }
  body.sect .auth-gate.is-register .auth-card .auth-tabs { margin-bottom: 13px; }
  body.sect .auth-gate.is-register .auth-card .auth-form { gap: 8px; }
  body.sect .auth-gate.is-register .auth-card .auth-input { height: 40px; }
  body.sect .auth-gate.is-register .auth-card .auth-submit { height: 44px; margin-top: 2px; }
  body.sect .auth-gate.is-register .auth-card .auth-or { margin: 10px 0 9px; }
  body.sect .auth-gate.is-register .auth-card .auth-guest { height: 38px; }
  body.sect .auth-gate.is-register .auth-card .auth-hint { margin-top: 8px; line-height: 1.65; }
  body.sect .auth-gate.is-register .auth-invite-hint { font-size: 8.5px; line-height: 1.55; }
}

@media (prefers-reduced-motion: reduce) {
  body.sect .auth-brand,
  body.sect .auth-visual-copy,
  body.sect .auth-visual-foot,
  body.sect .auth-card {
    animation: none !important;
  }
}


/* ============================================================
 * 三十三重天外天 · 入山文牒（协议）与内推玉符
 * ============================================================ */

/* ---------- 三十三重天刻度（左栏竖排 / 文牒横排） ---------- */
body.sect .auth-heavens-visual {
  position: absolute;
  z-index: 1;
  right: clamp(16px, 2.4vw, 34px);
  top: clamp(54px, 8.4vh, 86px);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 7px;
  pointer-events: none;
  opacity: .8;
  text-shadow: 0 0 10px rgba(255, 253, 247, .9);
}
body.sect .auth-heavens-label {
  writing-mode: vertical-rl;
  font-family: var(--font-kai);
  font-size: 9px;
  letter-spacing: .42em;
  color: rgba(154, 116, 40, .76);
  text-shadow: 0 0 12px rgba(255, 253, 247, .8);
}
body.sect .auth-heavens-lines {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}
body.sect .auth-heavens-lines i {
  display: block;
  height: 1px;
  width: calc(10px + var(--i) * .5px);
  background: linear-gradient(90deg, transparent, rgba(154, 116, 40, .52));
}
body.sect .auth-heavens-lines i:nth-child(11n + 1) {
  background: linear-gradient(90deg, transparent, rgba(189, 76, 57, .58));
}
body.sect .auth-heavens-lines i:nth-child(33) {
  width: 20px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(154, 116, 40, .9));
}

/* ---------- 登录页协议提示 ---------- */
body.sect .auth-card .auth-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3px;
  margin-top: 2px;
  font-size: 9.5px;
  line-height: 1.7;
  letter-spacing: .02em;
  color: var(--ink-4);
}
body.sect .auth-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--gold-deep);
  font-family: inherit;
  font-size: inherit;
  letter-spacing: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(154, 116, 40, .35);
  cursor: pointer;
}
body.sect .auth-link:hover { color: var(--cinnabar); text-decoration-color: currentColor; }

/* ---------- 内推玉符字段 ---------- */
body.sect .auth-card .auth-invite {
  font-family: var(--font-mono);
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: 13px;
}
body.sect .auth-label-tip {
  font-size: 8px;
  letter-spacing: .02em;
  color: var(--gold-deep);
  opacity: .72;
}
body.sect .auth-invite-hint {
  margin-top: -3px;
  font-size: 9px;
  line-height: 1.7;
  letter-spacing: .01em;
  color: var(--ink-4);
}

/* ---------- 协议勾选 ---------- */
body.sect .auth-agree-row {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 4px 9px;
  padding: 2px 0 0;
}
body.sect .auth-agree {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: .02em;
  color: var(--ink-2);
}
body.sect .auth-agree input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
body.sect .auth-agree-box {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  flex: 0 0 14px;
  border: 1px solid rgba(154, 116, 40, .42);
  border-radius: 1px;
  background: rgba(255, 253, 247, .85);
  color: transparent;
  font-size: 10px;
  line-height: 1;
  transition: background .18s, border-color .18s, color .18s;
}
body.sect .auth-agree:hover .auth-agree-box { border-color: var(--gold-soft); background: rgba(154, 116, 40, .08); }
body.sect .auth-agree input:focus-visible + .auth-agree-box {
  border-color: var(--gold-deep);
  box-shadow: 0 0 0 3px rgba(154, 116, 40, .12);
}
body.sect .auth-agree input:checked + .auth-agree-box {
  border-color: var(--cinnabar);
  background: var(--cinnabar);
  color: #fffdf8;
}
body.sect .auth-agree-link { font-size: 9.5px; }

/* ---------- 入山文牒弹层 ---------- */
body.sect .auth-gate.protocol-gate.show {
  display: grid;
  place-items: center;
  padding: 18px;
  overflow-y: auto;
  background:
    radial-gradient(900px 560px at 50% 0%, rgba(200, 165, 92, .18), transparent 62%),
    radial-gradient(700px 500px at 86% 92%, rgba(79, 127, 106, .12), transparent 66%),
    linear-gradient(180deg, #f7f2e7, #ece3d1);
}
body.sect .protocol-sky {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(420px 260px at 12% 18%, rgba(107, 132, 116, .10), transparent 70%),
    radial-gradient(520px 300px at 88% 82%, rgba(154, 116, 40, .10), transparent 72%),
    repeating-linear-gradient(90deg, transparent 0 119px, rgba(154, 116, 40, .035) 119px 120px);
  -webkit-mask-image: radial-gradient(120% 90% at 50% 45%, #000 34%, transparent 78%);
  mask-image: radial-gradient(120% 90% at 50% 45%, #000 34%, transparent 78%);
}
body.sect .protocol-card {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(720px, 94vw);
  max-height: min(88vh, 920px);
  padding: 0;
  text-align: left;
  border: 1px solid var(--line-gold);
  background: linear-gradient(180deg, #fffdf8 0%, #faf5ea 58%, #f5ecda 100%);
  box-shadow: 0 40px 100px -50px rgba(42, 45, 35, .55), 0 0 0 1px rgba(255, 253, 247, .8) inset;
}
body.sect .protocol-card::before {
  content: "";
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(154, 116, 40, .14);
  pointer-events: none;
}
body.sect .protocol-close {
  position: absolute;
  z-index: 2;
  right: 11px;
  top: 9px;
  width: 32px;
  height: 32px;
  border: 1px solid transparent;
  border-radius: 1px;
  background: transparent;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition: color .18s, border-color .18s, background .18s;
}
body.sect .protocol-close:hover {
  border-color: var(--line-gold);
  background: rgba(154, 116, 40, .07);
  color: var(--cinnabar);
}
body.sect .protocol-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 30px 14px;
  border-bottom: 1px solid rgba(154, 116, 40, .16);
}
body.sect .protocol-head .auth-seal {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  margin: 0;
  font-size: 24px;
}
body.sect .protocol-head-txt { min-width: 0; }
body.sect .protocol-card .auth-card-title { font-size: 28px; letter-spacing: .2em; }
body.sect .protocol-card .auth-card-desc { margin-top: 7px; }
body.sect .protocol-card .auth-heavens.is-protocol {
  position: static;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  margin: 9px 30px 0;
  padding: 0 0 9px;
  opacity: .9;
  transform: none;
}
body.sect .auth-heavens.is-protocol .auth-heavens-label {
  writing-mode: horizontal-tb;
  flex: 0 0 auto;
  font-size: 9px;
  letter-spacing: .3em;
  color: var(--gold-deep);
}
body.sect .auth-heavens.is-protocol .auth-heavens-lines {
  flex: 1 1 auto;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2px;
}
body.sect .auth-heavens.is-protocol .auth-heavens-lines i {
  width: 1px;
  height: calc(2px + var(--i) * .16px);
  background: rgba(154, 116, 40, .34);
}
body.sect .auth-heavens.is-protocol .auth-heavens-lines i:nth-child(11n + 1) {
  background: rgba(189, 76, 57, .4);
}
body.sect .auth-heavens.is-protocol .auth-heavens-lines i:nth-child(33) {
  width: 1px;
  height: 8px;
  background: rgba(154, 116, 40, .82);
}
body.sect .protocol-body {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  padding: 15px 32px 6px;
  scrollbar-width: thin;
  scrollbar-color: rgba(154, 116, 40, .34) transparent;
}
body.sect .protocol-body::-webkit-scrollbar { width: 6px; }
body.sect .protocol-body::-webkit-scrollbar-thumb { background: rgba(154, 116, 40, .28); border-radius: 3px; }
body.sect .protocol-lead {
  margin: 0 0 15px;
  padding: 10px 14px;
  border-left: 2px solid rgba(189, 76, 57, .42);
  background: linear-gradient(90deg, rgba(154, 116, 40, .06), transparent);
  font-family: var(--font-kai);
  font-size: 12px;
  line-height: 1.95;
  color: var(--ink-2);
}
body.sect .protocol-sec { margin: 0 0 15px; }
body.sect .protocol-sec h3 {
  margin: 0 0 5px;
  font-family: var(--font-kai);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  color: var(--gold-deep);
}
body.sect .protocol-sec p {
  margin: 0;
  text-align: justify;
  font-size: 12.5px;
  line-height: 2.02;
  letter-spacing: .01em;
  color: var(--ink-2);
}
body.sect .protocol-sign {
  margin: 4px 0 14px;
  text-align: right;
  font-family: var(--font-kai);
  font-size: 11.5px;
  letter-spacing: .06em;
  color: var(--ink-3);
}
body.sect .protocol-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 18px;
  flex-wrap: wrap;
  padding: 14px 30px 20px;
  border-top: 1px solid rgba(154, 116, 40, .16);
}
body.sect .protocol-foot-hint {
  flex: 1 1 200px;
  font-size: 10px;
  line-height: 1.7;
  color: var(--ink-4);
}
body.sect .protocol-accept {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 24px;
  border-radius: 1px;
  font-size: 12.5px;
  letter-spacing: .14em;
}

/* ---------- 移动端 ---------- */
@media (max-width: 900px) {
  body.sect .auth-heavens-visual { display: none; }
  body.sect .protocol-card { width: min(560px, 94vw); max-height: 90vh; }
  body.sect .protocol-head { padding: 20px 22px 12px; gap: 12px; }
  body.sect .protocol-card .auth-card-title { font-size: 24px; }
  body.sect .protocol-card .auth-heavens.is-protocol { margin: 8px 22px 0; }
  body.sect .protocol-body { padding: 12px 22px 4px; }
  body.sect .protocol-sec p { font-size: 12px; line-height: 1.95; }
  body.sect .protocol-foot { padding: 12px 22px 18px; }
  body.sect .protocol-foot-hint { flex-basis: 100%; }
  body.sect .protocol-accept { width: 100%; }
}
@media (max-width: 560px) {
  body.sect .protocol-gate.show { padding: 10px; }
  body.sect .protocol-card { max-height: 94vh; }
  body.sect .protocol-head { padding: 18px 18px 10px; }
  body.sect .protocol-head .auth-seal { flex-basis: 38px; width: 38px; height: 38px; font-size: 20px; }
  body.sect .protocol-card .auth-card-title { font-size: 21px; letter-spacing: .16em; }
  body.sect .protocol-card .auth-heavens.is-protocol { margin: 7px 18px 0; gap: 8px; }
  body.sect .protocol-body { padding: 10px 18px 3px; }
  body.sect .protocol-sec h3 { font-size: 12.5px; }
  body.sect .protocol-sec p { font-size: 11.5px; line-height: 1.92; }
  body.sect .protocol-foot { padding: 10px 18px 16px; }
  body.sect .auth-legal { font-size: 9px; }
}
@media (max-width: 560px) and (max-height: 760px) {
  body.sect .auth-invite-hint { font-size: 8.5px; }
  body.sect .auth-agree { font-size: 9.5px; }
}

/* ---------- 道籍补录：学历 / 专业大类 ---------- */
body.sect .auth-gate.profile-gate.show {
  display: grid;
  place-items: center;
  align-content: center;
  justify-content: center;
  padding: 22px;
  overflow-y: auto;
  background:
    radial-gradient(760px 480px at 50% 10%, rgba(196, 160, 90, .20), transparent 66%),
    radial-gradient(540px 400px at 18% 96%, rgba(79, 127, 106, .10), transparent 70%),
    linear-gradient(180deg, #f7f2e7, #eee6d6);
}
body.sect .profile-card {
  width: min(600px, 94vw);
  max-width: 600px;
  padding: 34px 38px 26px;
  text-align: center;
}
body.sect .profile-card .auth-seal {
  width: 50px;
  height: 50px;
  margin-bottom: 10px;
  font-size: 26px;
  background: var(--cinnabar);
  color: #fdf8ec;
}
body.sect .profile-card .auth-title { font-size: 24px; letter-spacing: .26em; }
body.sect .profile-card .auth-verse {
  margin: 13px 0 10px;
  padding: 8px 0;
  font-size: 12.5px;
  color: var(--gold-deep);
  letter-spacing: .18em;
}
body.sect .profile-lead {
  margin: 0 0 18px;
  text-align: center;
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: .04em;
  color: var(--ink-3);
}
body.sect .profile-form { text-align: left; gap: 13px; }
body.sect .profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
body.sect .auth-select {
  width: 100%;
  height: 43px;
  padding: 0 34px 0 13px;
  border: 1px solid var(--line);
  border-radius: 1px;
  background-color: rgba(255, 253, 247, .86);
  background-image: linear-gradient(45deg, transparent 50%, var(--gold-deep) 50%), linear-gradient(135deg, var(--gold-deep) 50%, transparent 50%);
  background-position: calc(100% - 17px) 19px, calc(100% - 12px) 19px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  color: var(--ink);
  font-family: var(--font-kai);
  font-size: 13.5px;
  letter-spacing: .06em;
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
body.sect .auth-select:focus {
  outline: 0;
  border-color: var(--gold-soft);
  box-shadow: 0 0 0 3px rgba(154, 116, 40, .10);
  background-color: #fffdf8;
}
body.sect .auth-select:disabled {
  color: var(--ink-3);
  cursor: not-allowed;
  background-color: rgba(239, 232, 217, .7);
}
body.sect .profile-tip {
  min-height: 16px;
  font-size: 10px;
  line-height: 1.75;
  letter-spacing: .02em;
  color: var(--ink-4);
}
body.sect .profile-card .auth-err { min-height: 16px; text-align: center; }
body.sect .profile-card .pwd-actions { margin-top: 3px; }
body.sect .profile-card .pwd-actions .btn-primary {
  flex: 1.35;
  height: 44px;
  letter-spacing: .34em;
}
body.sect .profile-card .pwd-actions .btn-ghost { height: 44px; letter-spacing: .12em; color: var(--ink-3); }
body.sect .profile-card .auth-hint {
  margin-top: 15px;
  padding-top: 12px;
  border-top: 1px solid var(--line-soft);
  text-align: center;
  font-size: 9.5px;
  line-height: 1.8;
}
@media (max-width: 620px) {
  body.sect .profile-card { padding: 26px 22px 20px; }
  body.sect .profile-card .auth-title { font-size: 21px; }
  body.sect .profile-grid { grid-template-columns: 1fr; gap: 12px; }
  body.sect .profile-card .auth-verse { font-size: 11.5px; }
}
@media (max-width: 420px) {
  body.sect .auth-gate.profile-gate.show { padding: 10px; }
  body.sect .profile-card { padding: 22px 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  body.sect .profile-card { animation: none; }
}

