/* WallHub Account — 认证 / 个人中心 / 投稿 / 审核 / 举报 */

/* --- 认证卡片 --- */
.wh-auth-wrap { max-width: 940px; margin: 34px auto 60px; padding: 0 4px; }
.wh-auth-card { display: grid; grid-template-columns: 0.92fr 1.08fr; background: var(--wh-surface); border: 1px solid var(--wh-border); border-radius: 10px; overflow: hidden; box-shadow: var(--wh-shadow-hover); }
.wh-auth-card__side { position: relative; padding: 40px 34px; color: #fff; background: #1d2733; display: flex; flex-direction: column; }
.wh-auth-card__side--reg { background: #1b2530; }
.wh-auth-brand { display: flex; align-items: center; gap: 10px; font-size: 17px; margin-bottom: 36px; }
.wh-auth-brand .wh-logo__mark { background: rgba(255,255,255,.10); box-shadow: none; }
.wh-auth-card__side h2 { font-size: 31px; line-height: 1.35; margin: 0 0 14px; letter-spacing: -.6px; }
.wh-auth-card__side p { font-size: 13.5px; line-height: 1.9; opacity: .9; margin: 0 0 26px; }
.wh-auth-card__side p b { color: #c9d8ea; }
.wh-auth-perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; font-size: 13px; }
.wh-auth-perks li { display: flex; align-items: center; gap: 10px; }
.wh-auth-perks i { font-size: 16px; width: 20px; opacity: .95; }
.wh-auth-quote { margin-top: auto; padding-top: 34px; font-size: 12.5px; opacity: .75; position: relative; z-index: 1; }
.wh-levels-mini { display: grid; gap: 8px; font-size: 12.5px; }
.wh-levels-mini span { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border-radius: 9px; padding: 7px 11px; }
.wh-levels-mini small { margin-left: auto; opacity: .75; }
.wh-auth-card__form { padding: 38px 40px 34px; }
.wh-auth-card__form h1 { font-size: 25px; margin: 0 0 4px; letter-spacing: -.5px; }
.wh-auth-sub { color: var(--wh-text-3); font-size: 13px; margin: 0 0 24px; }
.wh-auth-tabs { display: flex; gap: 6px; background: var(--wh-surface-2); padding: 4px; border-radius: 11px; margin-bottom: 22px; }
.wh-auth-tabs button { flex: 1; border: 0; background: transparent; color: var(--wh-text-2); padding: 9px; border-radius: 8px; font-size: 13.5px; font-weight: 600; transition: .18s; }
.wh-auth-tabs button.is-active { background: var(--wh-surface); color: var(--wh-primary); box-shadow: var(--wh-shadow); }
.wh-auth-pane { display: none; }
.wh-auth-pane.is-active { display: block; }
.wh-auth-row { display: flex; align-items: center; justify-content: space-between; font-size: 13px; margin: 4px 0 10px; }
.wh-auth-row a { color: var(--wh-primary); }
.wh-auth-foot { text-align: center; margin-top: 20px; padding-top: 18px; border-top: 1px solid var(--wh-border); color: var(--wh-text-3); font-size: 13px; }
.wh-auth-foot a { color: var(--wh-primary); font-weight: 600; }
.wh-captcha { display: flex; gap: 10px; align-items: center; }
.wh-captcha__q { flex: 0 0 150px; height: 42px; border-radius: 10px; border: 1px dashed var(--wh-primary); background: var(--wh-primary-soft); color: var(--wh-primary); font-weight: 700; letter-spacing: 1px; }
.wh-captcha__q:hover { background: var(--wh-surface-2); }
.wh-auth-card--gate { grid-template-columns: 1fr; text-align: center; padding: 60px 30px; }
.wh-auth-gate__icon { width: 66px; height: 66px; border-radius: 10px; background: var(--wh-primary-soft); color: var(--wh-primary); display: grid; place-items: center; font-size: 30px; margin: 0 auto 18px; }
.wh-auth-card--gate h1 { font-size: 24px; margin: 0 0 8px; }
.wh-auth-card--gate p { color: var(--wh-text-2); font-size: 14px; max-width: 440px; margin: 0 auto 22px; }
.wh-auth-gate__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* --- 个人中心 --- */
.wh-profile-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--wh-surface); border: 1px solid var(--wh-border); border-radius: 10px; padding: 22px 26px; margin-top: 8px; }
.wh-profile-head__user { display: flex; align-items: center; gap: 16px; }
.wh-profile-head__user h1 { font-size: 23px; margin: 0 0 4px; }
.wh-profile-head__lv { display: flex; align-items: center; gap: 7px; font-size: 13px; color: var(--wh-primary); font-weight: 600; flex-wrap: wrap; }
.wh-profile-head__lv span { color: var(--wh-text-3); font-weight: 400; }
.wh-profile-head__lv b { color: var(--wh-text); }
.wh-profile-head__max { color: var(--wh-primary) !important; }
.wh-level-bar { width: 260px; max-width: 60vw; height: 6px; border-radius: 6px; background: var(--wh-surface-2); overflow: hidden; margin-top: 8px; }
.wh-level-bar span { display: block; height: 100%; border-radius: 6px; background: var(--wh-gradient); transition: width .4s; }
.wh-profile-head__pts { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.wh-profile-head__pts small { color: var(--wh-text-3); font-size: 12px; }
.wh-profile-head__pts > b { font-size: 27px; color: var(--wh-primary); font-variant-numeric: tabular-nums; }
.wh-profile-head__streak { font-size: 12px; color: #e0483f; }
.wh-stat-cards { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; margin: 16px 0 20px; }
.wh-stat-card { background: var(--wh-surface); border: 1px solid var(--wh-border); border-radius: 8px; padding: 15px 12px; text-align: center; transition: .18s; }
.wh-stat-card:hover { border-color: var(--wh-primary); transform: translateY(-2px); box-shadow: var(--wh-shadow-hover); }
.wh-stat-card i { display: block; font-size: 19px; color: var(--wh-primary); margin-bottom: 6px; }
.wh-stat-card b { display: block; font-size: 21px; line-height: 1.2; }
.wh-stat-card small { color: var(--wh-text-3); font-size: 11.5px; }
.wh-profile-tabs { display: flex; gap: 6px; overflow-x: auto; border-bottom: 1px solid var(--wh-border); margin-bottom: 20px; padding-bottom: 0; }
.wh-profile-tabs a { display: inline-flex; align-items: center; gap: 7px; padding: 11px 15px; font-size: 13.5px; color: var(--wh-text-2); border-bottom: 2px solid transparent; white-space: nowrap; }
.wh-profile-tabs a:hover { color: var(--wh-primary); }
.wh-profile-tabs a.is-active { color: var(--wh-primary); font-weight: 700; border-bottom-color: var(--wh-primary); }
.wh-profile-tabs__dot { background: #c25a52; color: #fff; font-size: 10px; border-radius: 9px; padding: 0 6px; line-height: 16px; }
.wh-quick-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.wh-quick-grid a { background: var(--wh-surface-2); border: 1px solid var(--wh-border); border-radius: 8px; padding: 16px 12px; text-align: center; transition: .18s; }
.wh-quick-grid a:hover { border-color: var(--wh-primary); color: var(--wh-primary); }
.wh-quick-grid i { display: block; font-size: 22px; margin-bottom: 8px; color: var(--wh-primary); }
.wh-quick-grid b, .wh-quick-grid small { display: block; }
.wh-quick-grid b { font-size: 13.5px; }
.wh-quick-grid small { color: var(--wh-text-3); font-size: 11px; margin-top: 3px; }
.wh-notice-item { display: flex; gap: 12px; padding: 13px 4px; border-bottom: 1px dashed var(--wh-border); }
.wh-notice-item:last-child { border-bottom: 0; }
.wh-notice-item > i { font-size: 18px; color: var(--wh-primary); flex: 0 0 22px; }
.wh-notice-item.is-unread > i { color: #e0483f; }
.wh-notice-item b { display: block; font-size: 13.5px; }
.wh-notice-item span { display: block; color: var(--wh-text-2); font-size: 12.5px; line-height: 1.7; }
.wh-notice-item span a { color: var(--wh-primary); }
.wh-notice-item small { color: var(--wh-text-3); font-size: 11px; }
.wh-avatar-edit { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.wh-avatar-edit input { font-size: 12.5px; max-width: 220px; }
.wh-avatar-edit small { color: var(--wh-text-3); font-size: 11.5px; }
.wh-leaderboard__row { display: flex; align-items: center; gap: 12px; padding: 11px 10px; border-radius: 11px; border-bottom: 1px solid var(--wh-border); }
.wh-leaderboard__row:last-child { border-bottom: 0; }
.wh-leaderboard__row.is-top { background: var(--wh-primary-soft); border-bottom: 0; margin-bottom: 4px; }
.wh-leaderboard__no { width: 26px; text-align: center; font-weight: 800; font-size: 15px; color: var(--wh-text-3); }
.wh-leaderboard__row.is-top .wh-leaderboard__no { color: var(--wh-primary); }
.wh-leaderboard__info { flex: 1; min-width: 0; }
.wh-leaderboard__info b { display: block; font-size: 14px; }
.wh-leaderboard__info small { color: var(--wh-text-3); font-size: 11.5px; }
.wh-leaderboard__val { text-align: right; }
.wh-leaderboard__val b { display: block; font-size: 17px; color: var(--wh-primary); }
.wh-leaderboard__val small { color: var(--wh-text-3); font-size: 11px; }

/* --- 投稿页 --- */
.wh-upload-topbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-top: 18px; }
.wh-upload-topbar .wh-btn { margin-left: auto; }
.wh-upload-drop img { max-height: 170px; border-radius: 10px; margin: 0 auto 8px; object-fit: contain; }
.wh-submissions { display: grid; gap: 10px; margin-top: 14px; }
.wh-submission { display: flex; align-items: center; gap: 13px; padding: 10px; border: 1px solid var(--wh-border); border-radius: 8px; background: var(--wh-surface-2); }
.wh-submission__thumb { width: 76px; height: 56px; border-radius: 8px; overflow: hidden; flex: 0 0 76px; background: var(--wh-surface); }
.wh-submission__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wh-submission__info { flex: 1; min-width: 0; }
.wh-submission__title { display: block; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-submission__title:hover { color: var(--wh-primary); }
.wh-submission__meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; margin-top: 5px; color: var(--wh-text-3); font-size: 11.5px; }
.wh-submission__prio { color: #b4763c; font-weight: 600; }
.wh-submission__reason { margin-top: 5px; color: #e0483f; font-size: 11.5px; }
.wh-submission__ops { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.wh-submission__stat { color: var(--wh-text-3); font-size: 11.5px; white-space: nowrap; }

/* --- 审核中心 --- */
.wh-moderate-bar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--wh-surface); border: 1px solid var(--wh-border); border-radius: 8px; padding: 13px 16px; margin-top: 18px; }
.wh-moderate-bar .wh-input { height: 36px; }
.wh-review-card { display: flex; align-items: center; gap: 12px; padding: 12px 6px; border-bottom: 1px solid var(--wh-border); }
.wh-review-card:last-child { border-bottom: 0; }
.wh-review-card__check input { accent-color: var(--wh-primary); width: 16px; height: 16px; }
.wh-review-card__thumb { width: 82px; height: 60px; border-radius: 9px; overflow: hidden; flex: 0 0 82px; background: var(--wh-surface-2); }
.wh-review-card__thumb img { width: 100%; height: 100%; object-fit: cover; }
.wh-review-card__info { flex: 1; min-width: 0; }
.wh-review-card__title { display: block; font-size: 13.5px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-review-card__meta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 5px; font-size: 11.5px; color: var(--wh-text-3); }
.wh-review-card__meta span { display: inline-flex; align-items: center; gap: 3px; }
.wh-review-card__prio { color: #b4763c; font-weight: 700; }
.wh-review-card__report { color: #e0483f; font-weight: 700; }
.wh-review-card__note { margin-top: 4px; font-size: 11px; color: var(--wh-text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wh-review-card__ops { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }

/* --- 举报弹窗 --- */
.wh-modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.wh-modal.is-open { display: flex; }
.wh-modal__mask { position: absolute; inset: 0; background: rgba(8,10,18,.66); backdrop-filter: blur(3px); }
.wh-modal__box { position: relative; width: min(480px, 100%); max-height: 90vh; overflow-y: auto; background: var(--wh-surface); border: 1px solid var(--wh-border); border-radius: 10px; padding: 22px 24px; box-shadow: var(--wh-shadow-hover); }
.wh-modal__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.wh-modal__head h3 { margin: 0; font-size: 18px; }
.wh-modal__head h3 i { color: #e0483f; }
.wh-modal__x { border: 0; background: var(--wh-surface-2); color: var(--wh-text-2); width: 32px; height: 32px; border-radius: 9px; }
.wh-report-reasons { display: grid; gap: 8px; }
.wh-report-reasons label { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid var(--wh-border); border-radius: 10px; font-size: 13px; cursor: pointer; }
.wh-report-reasons label:hover { border-color: var(--wh-primary); background: var(--wh-primary-soft); }
.wh-report-reasons input { accent-color: var(--wh-primary); }
/* 提交按钮收敛为右对齐的普通按钮，不再铺满整张卡片 */
.wh-modal__box form > .wh-btn--block { width: fit-content; min-width: 132px; margin: 6px 0 0 auto; display: flex; }
.wh-modal__box form .wh-auth-msg { clear: both; }
