/* 账号与安全, 修改密码, 登录设备 (multi-user design §十三; templates/account*.html): the cards of 我的 (prd/5.jpg,
   css/me.css) grouped under small gray headings, rows at least 44px, the login page's pills for passwords. */

.acct { padding: 4px 19.3px calc(32px + var(--safe-bottom)); }
.acct-h2 { margin: 18px 0 8px 6.1px; font-size: 13px; line-height: 18px; font-weight: 400; color: #a09fa5; }
.acct-card { display: block; margin: 0; padding: 0; list-style: none; background: var(--panel-2); border-radius: 15px; }
.acct-notice { margin-top: 14px; padding: 10px 17px; border-radius: 12px; background: var(--panel); font-size: 13px;
  line-height: 18px; color: var(--green); }

/* One row: the label left, its value gray at the right, then ›. A hairline between rows, inset like MTGA+'s. */
.acct-row { position: relative; display: flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 12.7px 0 16px;
  font-size: 15px; color: var(--text); }
.acct-row + .acct-row::before, .ss-row + .ss-row::before { content: ""; position: absolute; top: 0; left: 16px;
  right: 0; height: 0.5px; background: #3a3a3c; }
.acct-row .k { flex: none; }
.acct-row .v { flex: 1; min-width: 0; overflow: hidden; text-align: right; font-size: 14px; color: var(--text-2);
  white-space: nowrap; text-overflow: ellipsis; }
.acct-row .chev { flex: none; width: 18px; height: 18px; margin-left: auto; fill: none; stroke: #6e6e70;
  stroke-width: 1.9; }
.acct-row .v + .chev { margin-left: 0; }
a.acct-row:active { background: rgba(255, 255, 255, 0.04); }

/* 退出登录 (red) and 登出其他设备: full-width rounded rows under the cards. */
.acct-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 28px; }
.acct-actions form { margin: 0; }
.acct-btn { width: 100%; height: 48px; border-radius: 15px; background: var(--panel-2); font-size: 15px;
  color: var(--text); }
.acct-btn.danger { color: var(--red); font-weight: 600; }
.acct-btn:active { background: #333336; }

/* 修改密码: the login page's pill form (css/login.css) under the nav bar. */
.acct-form.login { padding-top: 22px; }
.acct-form form { margin-top: 0; }
.acct-hint { margin: 0; padding: 0 17px; font-size: 12px; line-height: 17px; color: var(--text-2); }
.login .pill .pill-show { flex: none; min-width: 44px; min-height: 40px; margin-right: -12px; font-size: 13px;
  color: var(--blue); }

/* 登录设备: the device, then last active and the address in gray; 下线 at the right. */
.ss-row { position: relative; display: flex; align-items: center; gap: 10px; min-height: 60px; padding: 8px 12.7px 8px 16px; }
.ss-main { flex: 1; min-width: 0; }
.ss-device { display: flex; align-items: center; gap: 8px; font-size: 15px; line-height: 21px; color: var(--text); }
.ss-here { padding: 1px 7px; border-radius: 9px; background: rgba(48, 209, 88, 0.16); font-size: 11px; line-height: 16px;
  color: var(--green); }
.ss-sub { margin-top: 2px; overflow: hidden; font-size: 12px; line-height: 17px; color: var(--text-2);
  white-space: nowrap; text-overflow: ellipsis; }
.ss-row form { margin: 0; }
.ss-n { color: var(--text-2); font-size: 14px; }  /* the same device's logins in one row (UX declutter AC01) */
/* 登出其他设备 above the list, at the count's right; 全部 N 台 › under the first 5 */
.ss-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.ss-head form { margin: 0; }
.ss-others { min-height: 44px; margin-right: -4px; padding: 0 4px; font-size: 14px; color: var(--red); }
.ss-more a { display: flex; align-items: center; justify-content: center; min-height: 44px; font-size: 14px;
  color: var(--blue); }
.ss-row + .ss-more { position: relative; }
.ss-row + .ss-more::before { content: ""; position: absolute; top: 0; left: 16px; right: 0; height: 0.5px;
  background: #3a3a3c; }
.ss-revoke { min-width: 56px; height: 32px; padding: 0 12px; border-radius: 16px; background: var(--panel-3);
  font-size: 13px; color: var(--red); }
.ss-bad { padding: 1px 7px; border-radius: 9px; background: rgba(255, 69, 58, 0.16); font-size: 11px; line-height: 16px;
  color: var(--red); }
.acct-row .v.warn { color: var(--orange); }  /* in a view: the data is the user's viewed (review MU3) */

/* 注册, 验证邮箱, 待审核 (MU4, templates/register*.html): the login page's pills; a small card 受 <昵称> 邀请; the
   honeypot field off screen (people never see it, §十二); the privacy sentence to tick; the code box wide and spaced. */
.reg { padding-bottom: calc(32px + var(--safe-bottom)); }
.reg form { gap: 10px; }
.reg-invite { padding: 10px 17px; border-radius: 12px; background: var(--panel-2); font-size: 13px; line-height: 18px;
  color: var(--text-2); }
.reg-invite b { color: var(--text); font-weight: 600; }
.reg .acct-hint { margin-top: -4px; }
.reg-hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.reg-agree { display: flex; align-items: flex-start; gap: 9px; padding: 4px 6px 0 12px; font-size: 12.5px;
  line-height: 18px; color: var(--text-2); cursor: pointer; }
.reg-agree input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--blue); }
.reg-title { margin: 0; text-align: center; font-size: 26px; line-height: 34px; font-weight: 600; color: var(--text); }
.reg .reg-code { justify-content: center; padding: 0 17px; }
.reg .reg-code input, .acct-form .reg-code input { text-align: center; font-size: 22px; letter-spacing: 0.4em; }
.reg .reg-code input::placeholder, .acct-form .reg-code input::placeholder { font-size: 15px; letter-spacing: normal; }
.reg-resend { margin: 4px 0 0 !important; }
.reg-resend .login-link { width: 100%; min-height: 44px; color: var(--blue); }
.reg-resend .login-link:disabled { color: var(--text-2); }
.reg-tip { margin-top: 2px !important; text-align: center; }
.reg-wait { display: flex; flex-direction: column; align-items: center; gap: 8px; margin-top: 30px; padding: 26px 18px;
  border-radius: 15px; background: var(--panel-2); text-align: center; }
.reg-wait svg { width: 40px; height: 40px; color: var(--orange); }
.reg-wait b { font-size: 16px; font-weight: 600; color: var(--text); }
.reg-wait span { font-size: 13px; line-height: 18px; color: var(--text-2); }
/* 账号与安全's email row (MU4): 已验证 green, 未验证 orange; 注销账号 red; the email / delete pages' top card. */
.acct-row .badge { flex: none; padding: 1px 7px; border-radius: 9px; font-size: 11px; line-height: 16px; }
.acct-row .badge.ok { background: rgba(48, 209, 88, 0.16); color: var(--green); }
.acct-row .badge.warn { background: rgba(255, 159, 10, 0.16); color: var(--orange); }
.acct-row .k.danger { color: var(--red); }
/* 换成别的邮箱 / 换个邮箱: the only way to another address, blue like the other links of these pages (review 2026-10-08:
   grey, it read as the hint above it) */
.login .login-link.acct-alt { color: var(--blue); }
.acct-form .acct-top { margin: 0 0 14px; }
.acct-form .notice.warn { margin-bottom: 14px; }
.login .btn-primary.danger { background: var(--red); }
.acct .av-warn { margin-top: 12px; }  /* 管理员查看记录: the one warning, under the lists (UX declutter AC08) */
.acct-nb { white-space: nowrap; }  /* a sentence's last words kept together (no 除。 alone on a line) */
