:root.qhp-has-tabbar body { padding-bottom: 76px; }
:root.qhp-has-tabbar .u-tabbar, :root.qhp-has-tabbar uni-tabbar, :root.qhp-has-tabbar .uni-tabbar { display: none !important; }
@font-face { font-family: qhp-fa; src: url('/assets/libs/font-awesome/fonts/fontawesome-webfont.woff2') format('woff2'); font-display: block; }
.qhp-fa { display: inline-block; font-family: qhp-fa !important; font-style: normal; line-height: 1; speak: none; }
.qhp-fa-home::before { content: '\f015'; }.qhp-fa-list::before { content: '\f022'; }.qhp-fa-wallet::before { content: '\f0b1'; }.qhp-fa-users::before { content: '\f0c0'; }.qhp-fa-user::before { content: '\f007'; }.qhp-fa-cog::before { content: '\f013'; }.qhp-fa-headphones::before { content: '\f025'; }.qhp-fa-download::before { content: '\f0ed'; }.qhp-fa-signout::before { content: '\f08b'; }.qhp-fa-eye::before { content: '\f06e'; }.qhp-fa-eye-slash::before { content: '\f070'; }
.qhp-page { box-sizing: border-box; width: 100%; max-width: 500px; min-height: 100vh; margin: 0 auto; padding: 16px 16px 24px; color: #262626; background: #fff; font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.qhp-page *, .qhp-page *::before, .qhp-page *::after { box-sizing: border-box; }
.qhp-page button { font: inherit; border: 0; cursor: pointer; }
.qhp-title { margin: 0 0 16px; color: #555; font-size: 15px; font-weight: 500; text-align: center; }
.qhp-banner { display: block; width: 100%; aspect-ratio: 376 / 85; border-radius: 8px; object-fit: cover; background: #ddd; }
.qhp-banner-empty { display: flex; align-items: center; justify-content: center; color: #fff; background: linear-gradient(110deg, #302638, #a72f35); font-size: 23px; font-weight: 700; }
.qhp-promo { display: flex; align-items: center; gap: 9px; margin-top: 10px; padding: 11px 10px; border-radius: 4px; background: #fff; box-shadow: 0 0 0 1px #f0f0f0; }
.qhp-app-icon { width: 36px; height: 36px; border-radius: 8px; object-fit: contain; }
.qhp-promo-copy { display: flex; min-width: 0; flex: 1; flex-direction: column; gap: 3px; }
.qhp-promo-copy strong { font-size: 13px; line-height: 18px; }
.qhp-promo-copy span { overflow: hidden; color: #8b8b8b; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-download { flex: 0 0 auto; padding: 7px 10px; border-radius: 16px; color: #fff; background: #e8383d; font-size: 12px; font-weight: 700; }
.qhp-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 16px 0; }
.qhp-page .qhp-tool { display: flex; min-height: 60px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; border: 1px solid #e8e8e8; border-radius: 8px; color: #343434; background: #fff; font-size: 11px; }
.qhp-tool i { color: #db3439; font-size: 25px; line-height: 1; }
.qhp-notice { min-height: 210px; padding: 22px 20px; border-top: 8px solid #f4f4f4; background: #fff; text-align: center; }
.qhp-notice h2 { margin: 0 0 36px; color: #df3439; font-size: 18px; font-style: italic; }
.qhp-notice p { margin: 0; color: #666; font-size: 12px; line-height: 1.5; text-align: left; white-space: pre-wrap; word-break: break-word; }
#qhp-tabbar { position: fixed; z-index: 1002; right: 0; bottom: 0; left: 0; display: flex; width: 100%; max-width: 500px; height: 68px; margin: auto; padding: 7px 4px calc(7px + env(safe-area-inset-bottom)); border-top: 1px solid #ececec; background: rgba(255, 255, 255, .98); box-shadow: 0 -2px 12px rgba(0,0,0,.04); }
#qhp-tabbar button { display: flex; min-width: 0; flex: 1; flex-direction: column; align-items: center; justify-content: center; gap: 3px; border: 0; outline: 0; -webkit-appearance: none; appearance: none; color: #999; background: transparent; font-size: 11px; }
#qhp-tabbar button:focus-visible { outline: 2px solid #df3439; outline-offset: -2px; }
#qhp-tabbar i { font-size: 22px; line-height: 22px; }
#qhp-tabbar button.active { color: #df3439; font-weight: 600; }
.qhp-profile { padding: 0 6px 22px; background: #f3f3f3; }
.qhp-home { padding: 28px 8px 24px; }
.qhp-home .qhp-title { min-height: 18px; margin: 0 0 29px; line-height: 18px; }
.qhp-home .qhp-promo { margin-top: 20px; padding: 12px 10px; }
.qhp-home .qhp-app-icon { width: 42px; height: 42px; }
.qhp-home .qhp-tools { margin: 40px 22px 31px; gap: 10px; }
.qhp-home .qhp-tool { min-height: 0; aspect-ratio: 1; padding: 6px 2px; border: 1px solid #dcdcdc; border-radius: 12px; }
.qhp-home .qhp-notice { padding-top: 38px; }
.qhp-account-card { padding: 21px 22px 18px; background: #fff; text-align: center; }
.qhp-account-card > span { color: #aaa; font-size: 12px; }
.qhp-account-card h1 { margin: 21px 0 18px; color: #343434; font-size: 26px; letter-spacing: 1px; overflow-wrap: anywhere; word-break: break-word; }
.qhp-account-money { display: grid; grid-template-columns: 1fr 1fr; }
.qhp-account-money button { display: flex; flex-direction: column; align-items: center; gap: 7px; min-height: 55px; border-right: 1px solid #e7e7e7; background: #fff; }
.qhp-account-money button:last-child { border-right: 0; }
.qhp-account-money small { color: #999; font-size: 12px; }
.qhp-account-money strong { color: #dc343a; font-size: 13px; }
.qhp-account-money b { color: #2887d9; font-size: 12px; font-weight: 500; }
.qhp-ticker { display: flex; align-items: center; gap: 12px; min-height: 58px; margin: 9px 0; padding: 8px 16px; background: #fff; }
.qhp-ticker i { flex: 0 0 auto; color: #df3439; font-size: 21px; font-style: italic; font-weight: 800; }
.qhp-ticker p { min-width: 0; flex: 1; overflow: hidden; margin: 0; color: #555; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-income { display: flex; align-items: center; justify-content: space-between; padding: 14px 20px; background: #fff; }
.qhp-income strong { font-size: 19px; }
.qhp-income b { color: #dc343a; font-size: 24px; }
.qhp-child-list { margin-top: 9px; padding: 15px 18px 28px; background: #fff; }
.qhp-child-list header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.qhp-child-list h2 { margin: 0; font-size: 17px; }
.qhp-child-list h2 em { color: #df3439; font-size: 13px; font-style: normal; }
.qhp-child-list header button { color: #df3439; background: transparent; font-size: 13px; }
.qhp-child { border-bottom: 1px solid #eee; }
.qhp-child-head { display: grid; width: 100%; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 6px; align-items: center; padding: 14px 0; color: #888; background: #fff; font-size: 12px; text-align: left; }
.qhp-child-head strong { overflow: hidden; color: #777; font-weight: 400; text-overflow: ellipsis; white-space: nowrap; }
.qhp-child-head em { padding: 4px 8px; border-radius: 12px; color: #df3439; background: #f1f1f1; font-style: normal; }
.qhp-child-detail { padding: 8px; background: #fafafa; }
.qhp-ip-header, .qhp-ip { display: grid; grid-template-columns: 1.2fr .55fr .75fr 1fr .6fr; gap: 4px; padding: 7px 2px; color: #777; font-size: 10px; }
.qhp-ip-header { color: #555; background: #eee; font-weight: 600; }
.qhp-ip { border-bottom: 1px solid #ececec; }
.qhp-ip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qhp-child-actions { display: flex; justify-content: flex-end; gap: 8px; padding-top: 8px; }
.qhp-child-actions button { padding: 5px 9px; border-radius: 12px; color: #df3439; background: #fff0f0; font-size: 11px; }
.qhp-muted { margin: 18px 0; color: #aaa; font-size: 12px; text-align: center; }
@media (min-width: 501px) { #qhp-tabbar { border-right: 1px solid #eee; border-left: 1px solid #eee; } }

.qhp-notice h2, .qhp-ticker i { font-weight: 800; }
.qhp-notice h2 span:first-child, .qhp-ticker i span:first-child { color: #f21b2d; }
.qhp-notice h2 span:last-child, .qhp-ticker i span:last-child { color: #000; }

.qhp-page .qhp-detail-toggle { padding: 6px 0; color: #2887d9; background: transparent; font-size: 11px; white-space: nowrap; }

.qhp-finance { padding: 0 0 24px; background: #f4f4f4; }
.qhp-wallet { display: flex; flex-direction: column; min-height: 100vh; }
.qhp-wallet { padding-bottom: 0; background: #fff; }
.qhp-wallet .qhp-finance-account { margin-top: 0; }
.qhp-wallet .qhp-finance-notice { box-shadow: 0 -8px 0 #f4f4f4, 0 8px 0 #f4f4f4; }
.qhp-wallet .qhp-wallet-card { flex: 1; margin-top: 0; }
.qhp-wallet .qhp-wallet-tips { flex: 0 0 auto; margin-top: 0; }
.qhp-finance-title { min-height: 48px; margin: 0; padding: 16px 18px 13px; color: #333; background: #fff; font-size: 18px; font-weight: 600; text-align: center; }
.qhp-finance-account { margin-top: 8px; padding: 17px 18px 14px; background: #fff; text-align: center; }
.qhp-finance-account > span { color: #aaa; font-size: 11px; }
.qhp-finance-account > h2 { overflow: hidden; margin: 10px 0 16px; color: #444; font-size: 22px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.qhp-finance-account-actions { display: grid; grid-template-columns: 1fr 1fr; }
.qhp-finance-balance, .qhp-finance-children { display: flex; min-width: 0; flex-direction: column; align-items: center; gap: 5px; min-height: 52px; }
.qhp-finance-balance { border-right: 1px solid #ececec; }
.qhp-finance-account button { padding: 0; color: #2d8bdc; background: #fff; }
.qhp-finance-account small { color: #999; font-size: 11px; }
.qhp-finance-account strong { overflow: hidden; max-width: 100%; color: #db3439; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-finance-account b { color: #2d8bdc; font-size: 12px; font-weight: 500; }
.qhp-finance-children b { color: #333; }
.qhp-finance-balance-value { display: flex; align-items: center; gap: 7px; }
.qhp-finance-log { color: #2d8bdc; font-size: 11px; }
.qhp-finance-notice { display: flex; align-items: center; gap: 11px; min-height: 44px; margin: 8px 12px; padding: 9px 14px; border: 1px solid #ececec; border-radius: 24px; background: #fff; }
.qhp-finance-notice i { flex: 0 0 auto; color: #111; font-size: 20px; font-style: italic; font-weight: 800; }
.qhp-finance-notice i span:first-child { color: #f21b2d; }
.qhp-finance-notice p { min-width: 0; flex: 1; overflow: hidden; margin: 0; color: #666; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-record-card, .qhp-wallet-card, .qhp-wallet-tips { margin-top: 8px; padding: 0 18px; background: #fff; }
.qhp-records { display: flex; flex-direction: column; padding-bottom: 0; }
.qhp-records .qhp-record-card { flex: 1; }
.qhp-record-card h2 { margin: 0; padding: 16px 0 10px; color: #333; font-size: 16px; }
.qhp-record-card header { display: grid; grid-template-columns: minmax(0, 1fr) 90px; align-items: center; min-height: 34px; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #777; font-size: 12px; }
.qhp-record-card header span { text-align: left; }
.qhp-record-card header span:last-child { text-align: right; }
.qhp-record-row { display: grid; grid-template-columns: minmax(0, 1fr) 90px; align-items: center; min-height: 58px; border-bottom: 1px solid #f0f0f0; }
.qhp-record-row > div { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.qhp-record-row strong { overflow: hidden; color: #444; font-size: 13px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.qhp-record-row small { overflow: hidden; color: #aaa; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-record-row b { text-align: right; font-size: 13px; }
.qhp-record-row b.positive { color: #df3439; }
.qhp-record-row b.negative { color: #666; }
.qhp-record-card .qhp-muted { padding-bottom: 22px; }
.qhp-wallet-card { padding-bottom: 2px; }
.qhp-wallet-card h2 { margin: 0; padding: 16px 0 9px; color: #333; font-size: 16px; }
.qhp-method-header { display: grid; grid-template-columns: minmax(0, 1fr) 64px 48px; min-height: 32px; align-items: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #888; font-size: 11px; }
.qhp-method-header span:nth-child(2), .qhp-method-header span:last-child { text-align: right; }
.qhp-method { display: grid; grid-template-columns: 40px minmax(0, 1fr) 64px auto; gap: 9px; align-items: center; min-height: 70px; border-bottom: 1px solid #ededed; }
.qhp-method-icon { width: 34px; height: 34px; border-radius: 7px; object-fit: contain; }
.qhp-method-icon-wallet { display: flex; align-items: center; justify-content: center; color: #fff; background: #4c9af0; font-size: 9px; font-weight: 700; }
.qhp-method-copy { display: flex; min-width: 0; flex-direction: column; gap: 5px; }
.qhp-method-copy strong { color: #333; font-size: 14px; }
.qhp-method-copy span { overflow: hidden; color: #999; font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-method-bind-state { color: #777; font-size: 11px; text-align: right; white-space: nowrap; }
.qhp-method button { padding: 5px 8px; border-radius: 12px; color: #fff; background: #df3439; font-size: 11px; white-space: nowrap; }
.qhp-method-status { color: #999; font-size: 12px; white-space: nowrap; }
.qhp-pay-password { width: 100%; margin: 13px 0 15px; padding: 10px 12px; border-radius: 0; color: #333; background: #fff; font-size: 12px; text-align: center; }
.qhp-pay-password span { color: #df3439; }
.qhp-inline-form { margin: 8px 0 12px; padding: 0 12px 15px; border: 1px solid #eee; border-radius: 15px; background: #fff; }
.qhp-inline-form header { display: flex; align-items: center; justify-content: space-between; min-height: 45px; border-bottom: 1px solid #eee; }
.qhp-inline-form header strong { color: #555; font-size: 13px; }
.qhp-inline-form header button { padding: 0; color: #2d8bdc; background: transparent; font-size: 12px; }
.qhp-inline-field { display: grid; grid-template-columns: 92px minmax(0, 1fr) 26px; align-items: center; min-height: 47px; border-bottom: 1px solid #f1f1f1; color: #555; font-size: 12px; }
.qhp-inline-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #444; background: transparent; font: inherit; text-align: right; }
.qhp-inline-field button.qhp-inline-eye { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0; color: #777; background: transparent; font-size: 15px; }
.qhp-inline-submit { display: block; width: 128px; height: 38px; margin: 18px auto 0; border-radius: 20px; color: #fff; background: #df3439; font-size: 14px; font-weight: 600; }
.qhp-inline-submit:disabled { opacity: .55; cursor: wait; }
.qhp-withdraw { min-height: 100vh; padding: 0 0 28px; background: #f4f4f4; }
.qhp-withdraw-title { display: flex; min-height: 52px; align-items: center; justify-content: center; position: relative; background: #fff; }
.qhp-withdraw-title h1 { margin: 0; color: #333; font-size: 18px; }
.qhp-withdraw-title > button { position: absolute; left: 16px; padding: 8px 0; color: #555; background: transparent; font-size: 13px; }
.qhp-withdraw-account { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 21px 18px; background: #fff; }
.qhp-withdraw-account small { color: #999; font-size: 12px; }
.qhp-withdraw-account strong { color: #df3439; font-size: 20px; }
.qhp-withdraw-card { margin: 8px 12px; padding: 0 16px 20px; border-radius: 10px; background: #fff; }
.qhp-withdraw-card h2 { margin: 0; padding: 17px 0 11px; border-bottom: 1px solid #eee; color: #333; font-size: 16px; }
.qhp-withdraw-card > label, .qhp-withdraw-type-field { display: grid; grid-template-columns: 82px minmax(0, 1fr); align-items: center; min-height: 52px; border-bottom: 1px solid #eee; color: #555; font-size: 13px; }
.qhp-withdraw-card input { width: 100%; min-width: 0; border: 0; outline: 0; color: #444; background: transparent; font: inherit; text-align: right; }
.qhp-withdraw-types { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.qhp-withdraw-types button { padding: 5px 7px; border: 1px solid #ddd; border-radius: 13px; color: #777; background: #fff; font-size: 11px; }
.qhp-withdraw-types button.active { border-color: #df3439; color: #df3439; background: #fff5f5; }
.qhp-withdraw-types span { color: #aaa; font-size: 11px; }
.qhp-withdraw-arrival { margin: 14px 0 5px; color: #333; font-size: 14px; text-align: right; }
.qhp-withdraw-arrival::first-letter { color: inherit; }
.qhp-withdraw-fee { margin: 0 0 8px; color: #999; font-size: 11px; line-height: 1.5; }
.qhp-withdraw-closed { margin: 12px 0 5px; color: #df3439; font-size: 12px; text-align: center; }
.qhp-withdraw-password { grid-template-columns: 82px minmax(0, 1fr) 28px !important; }
.qhp-withdraw-password > button { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; padding: 0; color: #777; background: transparent; font-size: 15px; }
.qhp-withdraw-forgot { display: block; margin: 10px 0 0 auto; padding: 0; color: #df3439; background: transparent; font-size: 11px; }
.qhp-withdraw-submit { display: block; width: 150px; height: 41px; margin: 24px auto 0; border-radius: 22px; color: #fff; background: #df3439; font-size: 14px; font-weight: 600; }
.qhp-withdraw-submit:disabled { opacity: .55; cursor: wait; }
.qhp-wallet-tips { min-height: 170px; margin-top: auto; padding-top: 15px; padding-bottom: 19px; }
.qhp-wallet-tips strong { color: #555; font-size: 14px; }
.qhp-wallet-tips p { margin: 4px 0; color: #999; font-size: 11px; line-height: 1.6; }
.qhp-wallet-tips p:first-of-type { margin-top: 8px; }
.qhp-wallet-tips button { padding: 0; color: #df3439; background: transparent; font-size: 11px; }

.qhp-finance { min-height: calc(100vh - 76px); padding-bottom: 0; }
.qhp-finance-notice-block { padding: 20px 12px; border-top: 8px solid #f4f4f4; border-bottom: 8px solid #f4f4f4; background: #fff; }
.qhp-finance-notice-block .qhp-finance-notice { margin: 0; background: #fff; box-shadow: none; }
.qhp-method-header { padding-left: 49px; }

/* Withdrawal history and security settings share the wallet's account and
   notice header, while keeping their working area white through the tab bar. */
.qhp-withdraw-log, .qhp-settings { display: flex; flex-direction: column; min-height: 100vh; background: #fff; }
.qhp-withdraw-log .qhp-finance-account, .qhp-settings .qhp-finance-account { margin-top: 0; }
.qhp-withdraw-log .qhp-finance-notice, .qhp-settings .qhp-finance-notice { box-shadow: none; }
.qhp-tx-log-card { flex: 1; margin-top: 0; padding: 0 18px 22px; background: #fff; }
.qhp-tx-log-card h2 { margin: 0; padding: 17px 0 10px; color: #333; font-size: 16px; }
.qhp-tx-log-card > header { display: grid; grid-template-columns: minmax(0, 1fr) 84px 66px; min-height: 34px; align-items: center; border-top: 1px solid #eee; border-bottom: 1px solid #eee; color: #888; font-size: 11px; }
.qhp-tx-log-card > header span:nth-child(2), .qhp-tx-log-card > header span:last-child { text-align: right; }
.qhp-tx-log-row { display: grid; grid-template-columns: minmax(0, 1fr) 84px 66px; gap: 4px; align-items: center; min-height: 70px; border-bottom: 1px solid #f0f0f0; }
.qhp-tx-log-type, .qhp-tx-log-points, .qhp-tx-log-status { display: flex; min-width: 0; flex-direction: column; gap: 4px; }
.qhp-tx-log-type strong, .qhp-tx-log-points strong { overflow: hidden; color: #444; font-size: 12px; font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.qhp-tx-log-type small, .qhp-tx-log-points small, .qhp-tx-log-status small { overflow: hidden; color: #999; font-size: 10px; text-overflow: ellipsis; white-space: nowrap; }
.qhp-tx-log-points, .qhp-tx-log-status { align-items: flex-end; text-align: right; }
.qhp-tx-log-points strong { color: #df3439; }
.qhp-tx-log-status b { padding: 4px 6px; border-radius: 11px; color: #fff; background: #aaa; font-size: 10px; font-weight: 500; white-space: nowrap; }
.qhp-tx-log-status button { padding: 4px 6px; border: 0; border-radius: 11px; color: #fff; background: #df3439; font: inherit; font-size: 10px; white-space: nowrap; }
.qhp-tx-log-status.status-0 b { background: #2d8bdc; }.qhp-tx-log-status.status-1 b { background: #55a943; }.qhp-tx-log-status.status-2 b { background: #df3439; }.qhp-tx-log-status.status-3 b { background: #999; }
.qhp-tx-reject-reason { margin: -2px 0 8px; padding: 8px 10px; border-radius: 6px; color: #b53035; background: #fff4f4; font-size: 11px; line-height: 1.5; overflow-wrap: anywhere; word-break: break-word; }
.qhp-log-loading { margin: 14px 0; color: #aaa; font-size: 11px; text-align: center; }
.qhp-log-retry { display: block; margin: 0 auto 14px; padding: 5px 13px; border: 1px solid #df3439; border-radius: 14px; color: #df3439; background: #fff; font-size: 11px; }

.qhp-settings-card { flex: 1; padding: 0 28px 30px; background: #fff; }
.qhp-settings-tabs { display: grid; grid-template-columns: 1fr 1fr; min-height: 60px; border-bottom: 2px solid #eee; }
.qhp-settings-tabs button { position: relative; color: #222; background: #fff; font-size: 14px; font-weight: 600; }
.qhp-settings-tabs button.active { color: #df3439; }
.qhp-settings-tabs button.active::after { position: absolute; right: 0; bottom: -2px; left: 0; height: 4px; content: ''; background: #df3439; }
.qhp-settings-form { padding: 7px 22px 0; }
.qhp-settings-field { display: grid; grid-template-columns: minmax(0, 1fr) 30px; align-items: center; min-height: 60px; border-bottom: 1px solid #ececec; color: #aaa; font-size: 13px; }
.qhp-settings-field input { width: 100%; min-width: 0; border: 0; outline: 0; color: #444; background: transparent; font: inherit; text-align: left; }
.qhp-settings-field input::placeholder { color: #b9b9b9; }
.qhp-settings-field .qhp-inline-eye { display: flex; width: 30px; height: 30px; align-items: center; justify-content: center; padding: 0; color: #555; background: transparent; font-size: 14px; }
.qhp-settings-submit { display: block; width: 166px; height: 42px; margin: 29px auto 0; border-radius: 22px; color: #fff; background: #df3439; font-size: 14px; font-weight: 600; }
.qhp-settings-submit:disabled { opacity: .55; cursor: wait; }
.qhp-settings-pay-prompt { display: flex; align-items: center; justify-content: center; gap: 7px; min-height: 62px; color: #222; font-size: 13px; }
.qhp-settings-pay-prompt button { padding: 0; color: #df3439; background: transparent; font-size: 14px; font-weight: 600; }
.qhp-settings-pay-prompt span { color: #bbb; font-size: 18px; line-height: 1; }
.qhp-settings-pay-prompt-open { min-height: 48px; margin: 0 -22px 2px; border-bottom: 1px solid #ececec; }
.qhp-settings .qhp-finance-balance-value, .qhp-withdraw-log .qhp-finance-balance-value { flex-wrap: wrap; justify-content: center; }

.qhp-dialog-mask { position: fixed; z-index: 1100; inset: 0; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(0, 0, 0, .42); }
.qhp-dialog { position: relative; width: min(342px, 100%); padding: 30px 29px 27px; border-radius: 15px; background: #fff; box-shadow: 0 12px 34px rgba(0,0,0,.16); }
.qhp-import-dialog { min-height: 351px; }
.qhp-dialog h2 { margin: 2px 0 27px; color: #292929; font-size: 18px; font-weight: 700; text-align: center; }
.qhp-dialog-close { position: absolute; top: 9px; right: 12px; width: 32px; height: 32px; padding: 0; border: 0; color: #8c8c8c; background: transparent; font-size: 28px; font-weight: 300; line-height: 32px; }
.qhp-dialog-close:disabled { opacity: .45; }
.qhp-dialog-number { display: flex; align-items: center; justify-content: space-between; min-height: 48px; border-bottom: 1px solid #e7e7e7; color: #555; font-size: 14px; }
.qhp-dialog-number > div { display: flex; align-items: center; gap: 7px; }
.qhp-dialog-number button { display: flex; width: 28px; height: 28px; align-items: center; justify-content: center; padding: 0; border: 1px solid #e1e1e1; border-radius: 50%; color: #df3439; background: #fff; font-size: 17px; line-height: 1; }
.qhp-dialog-number button:disabled { color: #cfcfcf; }
.qhp-dialog-number input { width: 46px; border: 0; outline: 0; color: #333; background: transparent; font: inherit; font-weight: 600; text-align: center; -moz-appearance: textfield; }
.qhp-dialog-number input::-webkit-inner-spin-button, .qhp-dialog-number input::-webkit-outer-spin-button { margin: 0; -webkit-appearance: none; }
.qhp-dialog-hint { display: block; margin-top: 9px; color: #999; font-size: 11px; }
.qhp-dialog-copy { margin: -14px 0 10px; color: #777; font-size: 11px; line-height: 1.5; }
.qhp-dialog-target { overflow: hidden; margin: -17px 0 8px; color: #555; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.qhp-dialog-target + .qhp-dialog-copy { margin-top: 0; }
.qhp-dialog-textarea { display: block; width: 100%; min-height: 142px; resize: vertical; border: 1px solid #e7e7e7; border-radius: 8px; outline: 0; padding: 10px; color: #444; background: #fff; font: 12px/1.55 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif; }
.qhp-dialog-textarea::placeholder { color: #b3b3b3; }
.qhp-dialog-error { margin: 10px 0 0; color: #df3439; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; word-break: break-word; }
.qhp-dialog-submit { display: block; width: 95px; min-height: 31px; margin: 24px auto 0; border: 0; border-radius: 16px; color: #fff; background: #df3439; font-size: 13px; font-weight: 600; }
.qhp-dialog-submit:disabled { opacity: .58; cursor: wait; }
.qhp-dialog-result { display: flex; min-height: 170px; flex-direction: column; align-items: center; justify-content: center; text-align: center; }
.qhp-dialog-result i { display: flex; width: 54px; height: 54px; align-items: center; justify-content: center; border-radius: 50%; color: #fff; background: #df3439; font-size: 35px; font-style: normal; font-weight: 700; }
.qhp-result-error i { font-family: Georgia, serif; }

.qhp-team { display: flex; min-height: calc(100vh - 76px); flex-direction: column; padding-bottom: 76px; background: #fff; }
.qhp-team .qhp-finance-account { margin-top: 0; }
.qhp-team .qhp-finance-notice { box-shadow: none; }
.qhp-team-card { flex: 1; margin: 0; padding: 13px 18px 0; background: #fff; }
.qhp-team-card > header { display: flex; min-height: 30px; align-items: center; justify-content: space-between; border-bottom: 1px solid #e9e9e9; }
.qhp-team-card h2 { margin: 0; color: #181818; font-size: 15px; font-weight: 700; }
.qhp-team-invite { display: flex; min-width: 0; align-items: center; gap: 4px; color: #222; font-size: 11px; font-weight: 600; white-space: nowrap; }
.qhp-team-invite span { overflow: hidden; max-width: 112px; text-overflow: ellipsis; }
.qhp-team-invite button, .qhp-team-retry { flex: 0 0 auto; border: 0; border-radius: 11px; padding: 3px 8px; color: #fff; background: #df3439; font-size: 10px; line-height: 1.1; }
.qhp-team-tree { padding-top: 8px; }
.qhp-team-root { display: flex; width: 100%; min-height: 23px; align-items: center; gap: 4px; padding: 0; border: 0; color: #4a4a4a; background: #fff; text-align: left; }
.qhp-team-root:disabled { cursor: default; }
.qhp-team-root i, .qhp-team-member-head i { display: inline-flex; width: 12px; height: 12px; flex: 0 0 12px; align-items: center; justify-content: center; border: 1px solid #bfbfbf; color: #777; font-size: 12px; font-style: normal; line-height: 10px; }
.qhp-team-root strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.qhp-team-direct { min-height: 25px; margin: 0; padding: 3px 0 7px; border-bottom: 1px solid #ededed; color: #4593d6; font-size: 10px; }
.qhp-team-members { padding-left: 20px; }
.qhp-team-member { border-bottom: 1px solid #ededed; }
.qhp-team-member-head { display: grid; width: 100%; min-height: 41px; grid-template-columns: minmax(0, 1fr) auto 14px; gap: 6px; align-items: center; padding: 0; border: 0; color: #555; background: #fff; text-align: left; }
.qhp-team-member-head strong { overflow: hidden; font-size: 12px; font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.qhp-team-member-head small { color: #4593d6; font-size: 10px; white-space: nowrap; }
.qhp-team-member-head i { width: 11px; height: 11px; flex-basis: 11px; font-size: 11px; line-height: 9px; }
.qhp-team-member-detail { margin: -1px 0 8px; padding: 7px 8px; border: 1px solid #efefef; border-radius: 3px; background: #fbfbfb; }
.qhp-team-member-detail h3 { margin: 0 0 5px; color: #777; font-size: 10px; font-weight: 500; }
.qhp-team-ip { display: grid; min-height: 26px; grid-template-columns: minmax(0, .85fr) minmax(0, 1.35fr) minmax(70px, 1fr); gap: 5px; align-items: center; border-top: 1px solid #eee; color: #777; font-size: 9px; }
.qhp-team-ip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qhp-team-ip span:last-child { color: #df3439; text-align: right; }
.qhp-team-empty { margin: 0; padding: 10px 0 12px 20px; border-bottom: 1px solid #ededed; color: #999; font-size: 11px; }
.qhp-team-retry { display: block; margin: 10px auto; }
.qhp-team-tips { margin-top: auto; min-height: 131px; padding: 12px 18px 25px; border-top: 1px solid #f0f0f0; color: #5d5d5d; background: #fff; font-size: 11px; line-height: 1.7; }
.qhp-team-tips strong { display: block; color: #555; font-size: 12px; font-weight: 500; }
.qhp-team-tips p { margin: 5px 0 0; }

.qhp-dialog-result h2 { margin: 15px 0 7px; }
.qhp-dialog-result p { margin: 0; color: #666; font-size: 13px; }
.qhp-dialog-result .qhp-dialog-submit { margin-top: 20px; }

/* Shared compact notification ticker. The labelled viewport remains keyboard
   focusable so motion can be paused and full text remains available by title. */
.qhp-notice-ticker .qhp-notice-viewport { min-width: 0; flex: 1; overflow: hidden; outline: 0; color: #666; font-size: 11px; }
.qhp-ticker .qhp-notice-viewport { color: #555; }
.qhp-notice-ticker .qhp-notice-viewport:focus-visible { outline: 2px solid #df3439; outline-offset: 2px; }
.qhp-notice-ticker .qhp-notice-track { display: flex; width: max-content; min-width: 100%; align-items: center; white-space: nowrap; }
.qhp-notice-ticker .qhp-notice-primary, .qhp-notice-ticker .qhp-notice-clone { display: block; flex: 0 0 auto; }
.qhp-notice-ticker .qhp-notice-track.is-overflow { min-width: max-content; animation: qhp-notice-ticker var(--qhp-ticker-duration) linear infinite; }
.qhp-notice-ticker .qhp-notice-track.is-paused { animation-play-state: paused; }
.qhp-notice-ticker .qhp-notice-clone { margin-left: 32px; }
@keyframes qhp-notice-ticker { 0%, 8% { transform: translateX(0); } 92%, 100% { transform: translateX(var(--qhp-ticker-distance)); } }
@media (prefers-reduced-motion: reduce) {
  .qhp-notice-ticker .qhp-notice-viewport { overflow-x: auto; scrollbar-width: thin; }
  .qhp-notice-ticker .qhp-notice-track.is-overflow { animation: none; transform: none; }
}
