/* 网站版新增：登录页、账号卡片、Logo 图片、页脚、公告、积分明细 */
.logo-img { width: 26px; height: 26px; border-radius: 8px; object-fit: cover; flex: none; }
.auth-page { position: fixed; inset: 0; overflow: auto; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 20px; padding: 30px 16px;
  background: radial-gradient(900px 500px at 50% -10%, rgba(45, 212, 191, .14), transparent 70%), var(--bg); }
.auth-card { width: 100%; max-width: 400px; padding: 28px 28px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); box-shadow: var(--shadow); }
.auth-brand { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 20px; margin-bottom: 18px; }
.auth-brand .logo, .auth-brand .logo-img { width: 32px; height: 32px; }
.auth-title { text-align: center; font-weight: 600; margin-bottom: 14px; }
.auth-notice { margin-bottom: 14px; padding: 9px 12px; border-radius: 9px; background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .25); color: #fde68a; font-size: 13px; }
.auth-card .tabs { display: flex; gap: 4px; margin-bottom: 16px; padding: 4px; border-radius: 10px; background: var(--bg2); }
.auth-card .tabs button { flex: 1; padding: 7px 0; border: 0; border-radius: 7px; background: none; color: var(--dim); }
.auth-card .tabs button.on { background: var(--panel2); color: var(--text); font-weight: 600; }
.auth-form label { display: block; margin-bottom: 12px; color: var(--dim); font-size: 13px; }
.auth-form label .input { margin-top: 5px; }
.auth-code { display: flex; gap: 8px; margin-top: 5px; }
.auth-code .input { margin-top: 0 !important; }
.auth-code .btn { flex: none; height: 37px; }
.auth-captcha { display: flex; align-items: stretch; gap: 8px; margin-top: 5px; }
.auth-captcha .input { flex: 1; min-width: 0; margin-top: 0 !important; }
.captcha-btn { flex: none; width: 132px; height: 42px; padding: 0; overflow: hidden; border: 1px solid var(--line2); border-radius: 8px; background: #172126; cursor: pointer; }
.captcha-btn img { display: block; width: 132px; height: 42px; }
.captcha-btn:hover { border-color: var(--accent); }
.auth-msg { min-height: 20px; color: var(--danger); font-size: 13px; margin-bottom: 6px; }
.auth-tip { color: var(--mute); font-size: 12px; margin-top: 4px; line-height: 1.6; }
.auth-tip a { color: var(--accent); }
.auth-link { display: inline-block; margin: 0; padding: 4px 6px; border: 0; background: none; color: var(--dim); font-size: 13px; cursor: pointer; }
.auth-link:hover { color: var(--accent); }
.auth-links { display: flex; align-items: center; justify-content: center; gap: 2px; margin-top: 12px; }
.auth-links-sep { width: 1px; height: 12px; background: var(--line2); margin: 0 6px; }

.user-chip { display: inline-flex; align-items: center; gap: 8px; height: 32px; padding: 0 10px; border-radius: 9px; border: 1px solid var(--line2);
  background: var(--panel); color: var(--text); font-size: 13px; max-width: 220px; }
.user-chip:hover { border-color: var(--accent); }
.uc-credits { display: inline-flex; align-items: center; gap: 4px; color: #fbbf24; }
.uc-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: var(--dim); }
.user-chip.side { width: 100%; max-width: none; height: 36px; margin-bottom: 8px; justify-content: flex-start; }
.folded .user-chip.side .uc-name { display: none; }
.folded .user-chip.side { padding: 0; justify-content: center; }
.folded .user-chip.side .uc-credits b { font-size: 11px; }

.site-foot { display: flex; justify-content: center; flex-wrap: wrap; gap: 14px; padding: 20px 16px 26px; color: var(--mute); font-size: 12px; }
.site-foot a { color: var(--mute); text-decoration: none; }
.site-foot a:hover { color: var(--accent); }
.hm-notice { display: inline-block; margin: 0 auto 14px; padding: 7px 14px; border-radius: 20px; background: rgba(250, 204, 21, .08); border: 1px solid rgba(250, 204, 21, .25); color: #fde68a; font-size: 13px; }
.fb-reply { margin-top: 6px; padding: 8px 10px; border-radius: 8px; background: rgba(45, 212, 191, .08); color: var(--dim); font-size: 13px; }

.cl-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 10px; }
.cl-head b { color: #fbbf24; font-size: 18px; }
.cl-list { max-height: 60vh; overflow: auto; }
.cl-row { display: grid; grid-template-columns: 130px 1fr 70px 100px; gap: 8px; padding: 8px 4px; border-bottom: 1px solid var(--line); font-size: 13px; }
.cl-time, .cl-bal { color: var(--mute); }
.cl-reason { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cl-delta { text-align: right; color: var(--danger); font-weight: 600; }
.cl-delta.plus { color: #34d399; }
.cl-bal { text-align: right; }

#home[data-theme="light"] .uc-credits { color: #b45309; }
#home[data-theme="light"] .hm-notice { color: #92400e; background: #fffbeb; border-color: #fde68a; }
