/* 互花会员页新加的部分：付款弹窗、表单、提示、测试环境红标。只用统一设计变量（/hh/tokens-v2.css），不改预览站原有样式 */
.hh-modal { position: fixed; inset: 0; background: rgba(var(--fc-brand-rgb), 0.45); display: none; align-items: center; justify-content: center; z-index: 50; padding: 16px; }
.hh-modal.visible { display: flex; }
.hh-modal-box { position: relative; background: var(--fc-surface); border-radius: var(--fc-r-card); box-shadow: var(--fc-shadow-pop); padding: 28px; width: 100%; max-width: 380px; text-align: center; max-height: 90vh; overflow: auto; }
.hh-modal-box.wide { max-width: 640px; text-align: left; }
.hh-modal-x { position: absolute; right: 12px; top: 8px; border: 0; background: none; font-size: 24px; line-height: 1; color: var(--fc-ink-3); cursor: pointer; }
.hh-modal-title { margin: 0 0 6px; font-size: 18px; color: var(--fc-brand); }
.hh-modal-amount { font-family: var(--fc-font-num); font-size: 30px; font-weight: 700; color: var(--fc-brand); margin-bottom: 8px; }
.hh-modal-muted { color: var(--fc-ink-3); font-size: 13px; line-height: 1.7; }
.hh-modal-ok { font-size: 48px; color: var(--fc-brand); line-height: 1; margin-bottom: 8px; }
.hh-qr svg { width: 220px; height: 220px; }
.hh-poster { border: 1px solid var(--fc-line); border-radius: var(--fc-r-card); padding: 24px; background: linear-gradient(180deg, var(--fc-warm), var(--fc-surface)); text-align: center; }
.hh-poster svg { width: 200px; height: 200px; }
.hh-toast { position: fixed; left: 50%; bottom: 32px; transform: translateX(-50%); background: var(--fc-brand-active); color: var(--fc-on-dark); padding: 10px 18px; border-radius: var(--fc-r-md); font-size: 14px; opacity: 0; transition: opacity .2s; pointer-events: none; z-index: 60; }
.hh-toast.show { opacity: 1; }
.hh-env { background: var(--fc-danger); color: var(--fc-on-dark); text-align: center; font-size: 13px; padding: 6px 12px; letter-spacing: .02em; }
.hh-form { display: grid; gap: 10px; margin-top: 12px; }
.hh-form label { display: grid; gap: 4px; font-size: 14px; color: var(--fc-ink-3); }
.hh-form input, .hh-form select { padding: 10px 12px; border: 1px solid var(--fc-line); border-radius: var(--fc-r-md); font: inherit; color: var(--fc-ink-1); background: var(--fc-surface); }
.hh-inline { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.hh-inline input { flex: 1; min-width: 0; padding: 10px 12px; border: 1px solid var(--fc-line); border-radius: var(--fc-r-md); font: inherit; background: var(--fc-surface-2); }
.hh-inline .btn { width: auto; padding: 10px 18px; }
.hh-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-top: 12px; }
.hh-table th, .hh-table td { text-align: left; padding: 8px 6px; border-bottom: 1px solid var(--fc-line); white-space: nowrap; }
.hh-table th { color: var(--fc-ink-3); font-weight: 500; background: var(--fc-surface-2); }
.hh-table td { border-bottom-color: var(--fc-line-2); }
.hh-table .num { text-align: right; font-variant-numeric: tabular-nums; }
.hh-scroll { overflow-x: auto; }
.hh-stats { display: flex; gap: 24px; flex-wrap: wrap; margin: 4px 0 12px; }
.hh-stats .num { font-family: var(--fc-font-num); font-size: 22px; font-weight: 700; color: var(--fc-brand); }
.hh-stats .lbl { font-size: 12px; color: var(--fc-ink-3); }
.hh-tag { display: inline-block; font-size: 12px; padding: 2px 8px; border-radius: 6px; background: var(--fc-gold-soft); color: var(--fc-brand); }
.hh-tag.muted { background: var(--fc-surface-2); color: var(--fc-ink-3); }
.plan-user-note { font-size: 13px; color: var(--fc-brand); margin: 0 0 12px; min-height: 1.4em; }
.plan-card.svip .plan-user-note { color: var(--fc-gold-soft); }
/* 金额、积分、次数用统一的数字字体（规范第三节） */
.plan-price, .plan-points-display, .points-balance, .invite-stats .num, .referral-stat .value, .expiry-row span:last-child, .ledger .delta { font-family: var(--fc-font-num); }
.section-title, .card-title { color: var(--fc-title); }
/* 次按钮：白底、主色边框（规范第四节）。原来的灰底接上变量后和浅底区块同色，看不清 */
.btn-muted { background: var(--fc-surface); color: var(--fc-brand); box-shadow: inset 0 0 0 1px var(--fc-brand); }
.btn-muted:disabled { color: var(--fc-ink-3); box-shadow: inset 0 0 0 1px var(--fc-line); }
