/* 账号登录门 · 测试账号体系 */
.acct-gate {
  position: fixed; inset: 0; z-index: 99999;
  display: flex; align-items: center; justify-content: center;
  padding: 20px; overflow-y: auto;
  background: var(--ac-bg);
  color: var(--ac-text);
  font-family: var(--ac-font);
  -webkit-font-smoothing: antialiased;
}
.acct-gate * { box-sizing: border-box; }
.acct-gate .ac { width: 100%; max-width: 370px; padding: 4px 0 12px; }

.ac-top { display: flex; align-items: center; gap: 10px; margin-bottom: 30px; }
.ac-mark {
  width: 34px; height: 34px; border-radius: 9px; flex: none;
  display: flex; align-items: center; justify-content: center;
  background: var(--ac-accent); color: var(--ac-on-accent);
  font-size: 15px; font-weight: 700; letter-spacing: 0;
}
.ac-brand { font-size: 12px; letter-spacing: 2.6px; color: var(--ac-sub); text-transform: uppercase; }

.acct-gate h1 {
  font-size: 25px; font-weight: 600; line-height: 1.32;
  letter-spacing: .5px; margin: 0 0 8px;
}
.acct-gate .ac-sub { font-size: 12px; line-height: 1.8; color: var(--ac-sub); margin: 0 0 26px; }

.ac-field { margin-bottom: 14px; }
.ac-field label { display: block; font-size: 10px; letter-spacing: 1.6px; color: var(--ac-sub); margin-bottom: 7px; }
.ac-field input {
  width: 100%; height: 46px; padding: 0 14px; font-size: 15px; font-family: inherit;
  color: var(--ac-text); background: var(--ac-field);
  border: 1px solid var(--ac-line); border-radius: 8px; outline: none;
  letter-spacing: 1px; -webkit-appearance: none;
}
.ac-field input::placeholder { color: var(--ac-sub); opacity: .65; letter-spacing: .5px; }
.ac-field input:focus { border-color: var(--ac-accent); }
.ac-err {
  display: none; font-size: 11px; color: #d0503c; margin: -4px 0 12px; letter-spacing: .2px;
}
.ac-err.on { display: block; }

.ac-btn {
  width: 100%; height: 48px; margin-top: 8px;
  background: var(--ac-accent); color: var(--ac-on-accent);
  border: 0; border-radius: 8px; font-size: 14px; font-weight: 600;
  letter-spacing: 2px; font-family: inherit; cursor: pointer;
}
.ac-btn:active { opacity: .86; }

.ac-or {
  display: flex; align-items: center; gap: 10px;
  margin: 24px 0 14px; font-size: 10px; letter-spacing: 1.6px; color: var(--ac-sub);
}
.ac-or::before, .ac-or::after { content: ""; flex: 1; height: 1px; background: var(--ac-line); }

.ac-quick { display: flex; flex-direction: column; gap: 9px; }
.ac-quick button {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  width: 100%; padding: 12px 14px; text-align: left; cursor: pointer;
  background: var(--ac-field); border: 1px solid var(--ac-line); border-radius: 8px;
  color: var(--ac-text); font-family: inherit;
}
.ac-quick button:active { border-color: var(--ac-accent); }
.ac-quick .txt { min-width: 0; }
.ac-quick .txt b { display: block; font-size: 13px; font-weight: 600; letter-spacing: .4px; }
.ac-quick .txt i { display: block; font-style: normal; font-size: 10px; color: var(--ac-sub); margin-top: 4px; letter-spacing: .2px; line-height: 1.55; }
.ac-quick .tag {
  flex: none; font-size: 9px; letter-spacing: 1px; padding: 3px 7px; border-radius: 4px;
  background: var(--ac-soft); color: var(--ac-accent);
}
.ac-quick .tag.gold { background: var(--ac-soft); }

.ac-tip {
  margin-top: 20px; font-size: 10px; line-height: 1.9; color: var(--ac-sub); letter-spacing: .2px;
}
.ac-tip b { color: var(--ac-text); font-weight: 600; }
.ac-reset {
  display: inline-block; margin-top: 12px; font-size: 10px; letter-spacing: .6px;
  color: var(--ac-sub); text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

/* 登录后的账号标识（浮于「我的」页顶部，可切换账号） */
.acct-chip {
  position: fixed; z-index: 900; top: 0; left: 0; right: 0;
  display: none; align-items: center; justify-content: center; gap: 8px;
  padding: 5px 12px; font-size: 9px; letter-spacing: 1.2px;
  background: rgba(0, 0, 0, .06); color: var(--ac-sub);
  backdrop-filter: blur(6px); pointer-events: none;
}


/* 游客入口 */
.ac-guest { display: flex; flex-direction: column; gap: 3px; width: 100%; margin-top: 10px;
  padding: 11px 13px; border: 1px dashed var(--ac-line, #d8d3c6); border-radius: 12px;
  background: transparent; text-align: left; }
.ac-guest b { font-size: 12px; font-weight: 600; color: var(--ac-ink, #1c1c1c); }
.ac-guest i { font-style: normal; font-size: 9.5px; color: var(--ac-sub, #7a7468); }
.ac-guest:active { border-color: var(--ac-accent, #b08a3e); }

/* 可随时唤起的登录面板：右上关闭 */
.acct-gate .ac-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--ac-line); background: var(--ac-field);
  color: var(--ac-text); font-size: 19px; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; padding: 0;
}
.acct-gate .ac { position: relative; }
