/* 官网页面上的登录小部件和申请入口（替换 wechat-login.css）。沿用官网自己的 .btn 样式。 */
.hh-account { display: flex; align-items: center; gap: 8px; margin-right: 8px; font-size: 14px; }
.hh-account img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; background: #f2f3f5; }
.hh-account .hh-name { max-width: 7em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; color: inherit; text-decoration: none; }
.hh-account .hh-name:hover { color: #1a5cff; }
/* 会员档位标签：跟后台一致；昵称被截断时标签不被挤掉 */
.hh-tier { flex-shrink: 0; display: inline-block; font-size: 12px; line-height: 20px; padding: 0 7px; border-radius: 4px; font-weight: 600; white-space: nowrap; }
.hh-tier.svip { background: #2B2216; color: #E8C77E; }
.hh-tier.vip { background: #FBF3DF; color: #8A6510; }
.hh-account .hh-name { min-width: 0; }
@media (max-width: 760px), (pointer: coarse) and (max-height: 500px) {
  .hh-account .hh-name { display: none; }
  .hh-account { gap: 6px; margin-right: 4px; }
  .hh-tier { font-size: 11px; line-height: 18px; padding: 0 5px; }
}

/* 悬浮弹窗：申请提交成功 / 没成功（老板 11-14「要改为悬浮弹窗提示」）。沿用官网 .btn / .btn.primary */
.hh-pop-mask { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 16px; background: rgba(15, 22, 35, .45); animation: hh-pop-in .16s ease-out; }
.hh-pop { width: min(420px, 100%); max-height: calc(100vh - 32px); overflow: auto; background: #fff; border-radius: 12px; padding: 28px 24px 20px; box-shadow: 0 20px 60px rgba(15, 22, 35, .28); text-align: center; color: var(--c-ink, #454954); }
.hh-pop-ic { width: 52px; height: 52px; margin: 0 auto 12px; border-radius: 50%; display: grid; place-items: center; font-size: 26px; font-weight: 700; color: #fff; background: var(--fc-brand, #14294E); }
.hh-pop-warn .hh-pop-ic { background: #c2410c; }
.hh-pop h3 { margin: 0 0 10px; font-size: 20px; line-height: 1.4; color: var(--fc-brand, #14294E); }
.hh-pop-body { font-size: 15px; line-height: 1.75; text-align: left; }
.hh-pop-body p { margin: 0 0 8px; }
.hh-pop-body b { color: var(--fc-brand, #14294E); }
.hh-pop-act { display: flex; gap: 10px; justify-content: center; margin-top: 18px; }
.hh-pop-act .btn { min-width: 120px; justify-content: center; }
@keyframes hh-pop-in { from { opacity: 0; } to { opacity: 1; } }
@media (max-width: 480px) {
  .hh-pop { padding: 24px 18px 16px; }
  .hh-pop-act { flex-direction: column-reverse; }
  .hh-pop-act .btn { width: 100%; min-height: 46px; }
}
/* 必填没填：那一格标红，下面写原因 */
#applyForm .hh-bad input:not([type=radio]):not([type=checkbox]) { border-color: #c2410c !important; box-shadow: 0 0 0 3px rgba(194, 65, 12, .15); }
#applyForm .hh-bad .types, #applyForm .hh-bad .chips { outline: 2px solid rgba(194, 65, 12, .55); outline-offset: 4px; border-radius: 8px; }
#applyForm label.hh-bad.consent { color: #c2410c; }
#applyForm .hh-fe { margin-top: 6px; font-size: 13px; color: #c2410c; font-weight: 600; }
/* 句子里的短链接（「联系渠道」「积分会员」）不拆成两行（老板 11-14 名字换行问题，全站同类一起查） */
main p a:not(.btn), main li a:not(.btn), .privacy-note a { white-space: nowrap; }
/* 管理员登录后右上角的「后台」按钮 */
.hh-account .hh-admin-button { border-color: var(--fc-brand, #14294E); color: var(--fc-brand, #14294E); white-space: nowrap; }
