/* Shared player presentation only. Never loaded by the operations console.
   Keep component sizing, visibility, form actions and semantic status colors intact. */
@import url('./fonts/noto-sans-sc-5.3.1/index.css');
:root.bh-refined-theme, :root.bh-player-theme {
  color-scheme: dark;
  --gold: #bf9dff;
  --gold-light: #eadbff;
  --muted: #c1bbcc;
  --warm-gold: var(--gold);
  --warm-gold-light: var(--gold-light);
  --warm-gold-muted: #b8a3cd;
  --warm-gold-icon: brightness(0) saturate(100%) invert(82%) sepia(16%) saturate(645%) hue-rotate(219deg);
  --glass-bg: #000;
  --glass-text: #f7f5fa;
  --glass-muted: #c1bbcc;
  --glass-line: #3b3545;
  --glass-panel: linear-gradient(145deg, #211e27, #161419 80%);
  --glass-control: linear-gradient(140deg, #2d2933, #201e25);
  --glass-selected: linear-gradient(115deg, #3e3158, #34263e);
  --glass-gold: linear-gradient(102deg, #6248e5, #9630d4);
  --glass-shadow: inset 0 1px 0 #ffffff0c, 0 5px 16px #0004;
}
/* Main website: lobby, account, activities, global controls. */
.bh-refined-theme body.bh-surface :is(.panel,.surface,.profile-banner,.account-wallet,.account-shortcuts,.lobby-card,.app-download,.bh-status,.bh-broadcast,.platform-app-download-banner,.balance),
.bh-refined-theme body.bh-surface[data-variant] .activity-card {
  background:var(--glass-panel);border-color:var(--glass-line);box-shadow:var(--glass-shadow);
}
.bh-refined-theme body.bh-surface :is(.site-header,.lobby-sidebar,.account-menu) {
  background:var(--glass-panel);box-shadow:inset 0 1px 0 #dcd1e826,0 5px 14px #0003;
  -webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);
}
.bh-refined-theme body.bh-surface :is(.gold-button,.portal-main .gold-button,.search-bar .gold-button,.bh-profile .gold-button,.wallet-actions .gold-button) {
  background:var(--glass-gold);border-color:#b9a0ded9;color:#ffffff;
  box-shadow:inset 0 1px 0 #ead9ffd9,inset 0 -1px 0 #45315973,0 3px 9px #0000002b;
}
.bh-refined-theme body.bh-surface :is(.quiet-button,.outline-button,.header-login,.pill-tabs button,.offer-card-footer button,.bh-provider-pill,.platform-floating-back,.bh-floating-download) {
  background:var(--glass-control);border-color:var(--glass-line);box-shadow:inset 0 1px 0 #ded5ee33,0 3px 9px #0003;color:var(--gold-light);
}
.bh-refined-theme body.bh-surface :is(.lobby-sidebar>button,.account-menu>button) {color:#d9d4df;}
.bh-refined-theme body.bh-surface :is(.lobby-sidebar>button.is-active,.account-menu>button.is-active,.pill-tabs button.is-active) {
  background:var(--glass-selected);color:var(--gold-light);border-color:#b298d0a6;
  box-shadow:inset 0 1px 0 #ded5ee4d,inset 0 0 0 1px #a286bf66,0 3px 8px #0003;
}
.bh-refined-theme body.bh-surface .bh-provider-pill[aria-pressed="true"] {
  background:var(--glass-gold);color:#ffffff;border-color:#b9a0de;box-shadow:inset 0 1px 0 #ead9ffb3,0 2px 7px #0004;
}
.bh-refined-theme body.bh-surface .search-field {background:var(--glass-control);border-color:var(--glass-line);box-shadow:inset 0 1px 0 #ded5ee26;}
.bh-refined-theme body.bh-surface .portal-main .search-field input {background:transparent;color:var(--glass-text);}
.bh-refined-theme body.bh-surface :is(.search-field [data-icon],.sidebar-title,.bh-provider-result-heading,.account-content h2,.profile-info h2,.account-service button,.bh-status>strong) {color:var(--gold);}
.bh-refined-theme body.bh-surface :is(.bh-provider-caption,.bh-caption,.profile-info p,.account-service>span) {color:var(--glass-muted);}
.bh-refined-theme body.bh-surface :is(.library-toolbar,.account-service,.bh-account-section-heading) {border-color:var(--glass-line);}
.bh-refined-theme body.bh-surface .profile-avatar {background:var(--glass-selected);box-shadow:inset 0 1px 0 #ded5ee33;color:var(--gold);}
.bh-refined-theme body.bh-surface :is(.account-menu,.profile-avatar,.pill-tabs,.search-field,.main-nav) [data-icon] {filter:var(--warm-gold-icon);}
.bh-refined-theme body.bh-surface .main-nav .is-active {color:var(--gold-light);}
.bh-refined-theme body.bh-surface :is(.main-nav a,.main-nav button) {color:#d3cbdc;}
.bh-refined-theme body.bh-surface :is(.main-nav a,.main-nav button).is-active {color:var(--gold-light);}
.bh-refined-theme body.bh-surface .favorite-button {background:#151218bb;border-color:#a286bf66;color:var(--gold-light);}
.bh-refined-theme body.bh-surface .favorite-button.is-saved {background:#4b3760;color:#ecdfff;}
/* Account panels are the same DOM in a modal or mounted inside the member page. */
.bh-refined-theme body.bh-surface #platformModal {
  --dialog-text:var(--glass-text);--dialog-muted:var(--glass-muted);--dialog-gold:var(--gold);--dialog-line:var(--glass-line);--dialog-field:#141217;
}
.bh-refined-theme body.bh-surface #platformModal:not(.bh-account-inline) :is(.platform-box,.platform-head,.platform-tabs),
.bh-refined-theme body.bh-surface :is(#site-dialog,.bh-dialog),
.bh-refined-theme body.bh-surface #platformActivityModal :is(.platform-box,.platform-head),
.bh-refined-theme body.bh-surface :is(.rp-modal,.platform-customer-head) {
  background:var(--glass-panel);border-color:var(--glass-line);box-shadow:var(--glass-shadow);color:var(--glass-text);
}
.bh-refined-theme body.bh-surface #site-dialog .dialog-header {background:#15171b;border-color:var(--glass-line);box-shadow:0 -28px 0 #15171b;}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-card,.platform-row,.platform-method,.platform-message,.platform-vip),
.bh-refined-theme body.bh-surface #platformModal #walletSummary .platform-card:first-child,
.bh-refined-theme body.bh-surface #platformActivityModal .platform-activity-application {
  background:var(--glass-control);border-color:var(--glass-line);box-shadow:inset 0 1px 0 #dcd1e826;color:var(--glass-text);
}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-tab,.platform-recipient-mode,.platform-order-check,.platform-correction-button,.platform-message-read,.platform-close),
.bh-refined-theme body.bh-surface #platformActivityModal .platform-close,
.bh-refined-theme body.bh-surface :is(.rp-navigation button,.platform-customer-close) {
  background:var(--glass-control);border-color:var(--glass-line);color:var(--gold-light);box-shadow:inset 0 1px 0 #ded5ee2e;
}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-tab.active,.platform-method.active,.platform-recipient-mode.active,.platform-message.unread) {
  background:var(--glass-selected);border-color:#b298d0a6;color:var(--gold-light);box-shadow:inset 0 1px 0 #ded5ee42;
}
.bh-refined-theme body.bh-surface #platformModal .platform-submit,
.bh-refined-theme body.bh-surface #platformActivityModal .platform-submit,
.bh-refined-theme body.bh-surface :is(.rp-claim,.platform-app-download-button) {
  background:var(--glass-gold);color:#ffffff;border-color:#b9a0ded9;box-shadow:inset 0 1px 0 #ead9ff99,0 3px 9px #0003;
}
.bh-refined-theme body.bh-surface :is(.bh-dialog h2,#dialog-title,.rp-modal h2,.rp-pool strong,.platform-customer-title),
.bh-refined-theme body.bh-surface #platformModal :is(.platform-head>strong,h4),
.bh-refined-theme body.bh-surface #platformActivityModal :is(.platform-head>strong,.platform-activity-application h4) {color:var(--gold);}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-form input,.platform-form select),
.bh-refined-theme body.bh-surface :is(.account-form input,.account-form select,.bh-dialog input:not([type="checkbox"])) {
  background:#141217;color:var(--glass-text);border-color:var(--glass-line);box-shadow:inset 0 2px 5px #0005;caret-color:var(--gold);
}
.bh-refined-theme body.bh-surface :is(input,textarea)::placeholder {color:#c0baca;opacity:1;}
.bh-refined-theme body.bh-surface #platformModal .platform-form option {background:#18151c;color:var(--glass-text);}
.bh-refined-theme body.bh-surface #platformModal .platform-rebate-note {background:#9774b114;border-color:var(--glass-line);color:var(--gold-light);}
.bh-refined-theme body.bh-surface #platformModal .platform-progress {background:#080a0e;}
.bh-refined-theme body.bh-surface #platformModal .platform-progress>span,
.bh-refined-theme body.bh-surface #platformActivityModal .platform-activity-progress span {background:var(--glass-gold);}
.bh-refined-theme body.bh-surface #platformActivityModal :is(.platform-activity-meta,.platform-activity-application p,.platform-hint),
.bh-refined-theme body.bh-surface :is(.rp-description,.rp-pool small,.rp-navigation,.platform-app-download-description) {color:var(--glass-muted);}
/* Rich text and QR/payment artwork keep author-provided colors and contrast. */
.bh-refined-theme body.bh-surface #platformActivityModal .platform-activity-content {background:#fff;color:#2f3b49;}
.bh-refined-theme body.bh-surface :is(.rp-pool,.platform-activity-progress) {border-color:var(--glass-line);}
.bh-refined-theme body.bh-surface .platform-app-download-title {color:var(--gold);}
.bh-refined-theme body.bh-surface .platform-app-download-button {color:#ffffff!important;}
.bh-refined-theme body.bh-surface .platform-app-download-icon {background:var(--glass-selected);color:var(--gold);box-shadow:inset 0 1px 0 #ded5ee33;}
.bh-refined-theme body.bh-surface .platform-customer-external {background:var(--glass-control);color:var(--gold)!important;}
/* Standalone player pages: recharge/cashier, payment details, contacts, agent. */
html.bh-player-theme, .bh-player-theme body {
  --blue:var(--gold);--line:var(--glass-line);--muted:var(--glass-muted);
  color:var(--glass-text);background:#000000;
  font-family:'Noto Sans SC Variable',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
}
.bh-player-theme body {background:#000;}
.bh-player-theme :is(button,input,select,textarea) {font-family:inherit;}
.bh-player-theme :is(.head,.page-head,.card,.login-box,.section,.surface,.balance,.success-card,.guidance,.account-card) {
  background:var(--glass-panel);border-color:var(--glass-line);box-shadow:var(--glass-shadow);color:var(--glass-text);
}
.bh-player-theme :is(.head,.page-head) {-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);}
.bh-player-theme .login {background:transparent;}
.bh-player-theme :is(h1,h2,h3,.head-title,.brand,.metric b,.report-metric b,.amount,.hero-mark,.empty-symbol,.account-heading b) {color:var(--gold);}
.bh-player-theme :is(.muted,.hint,.meta,.label,.section-title small,.brand small,.channel-limit,.report-metric small,.hero-copy,.section-head p,.account-detail dt,.created-time,.section-note,.guidance p,.field-note,.password-help,.consent,.form-footer p,.page-footer,.login-panel p,.empty) {color:var(--glass-muted);}
.bh-player-theme .currency {color:var(--gold);}
.bh-player-theme .payment-sections {border-color:var(--glass-line);}
.bh-player-theme :is(label,.field label,.report-filters label,.field-label,.channel-name,.method-copy b) {color:var(--glass-text);}
.bh-player-theme :is(a,.head button,.back,.back-link,.eyebrow,.section-head .eyebrow,.text-button,.report-definitions summary,.tab-chevron) {color:var(--gold);}
.bh-player-theme :is(.button,.copy,.txid button,.actions button,.quick button,.payment-section,.channel,.method-tab,.add-button,.global-back,.captcha-row button,.success-card button,:where(#backButton)) {
  background:var(--glass-control);border-color:var(--glass-line);color:var(--gold-light);box-shadow:inset 0 1px 0 #ded5ee33,0 3px 8px #0003;
}
.bh-player-theme :is(.primary,.actions .primary,.submit,.success-card button),
.bh-player-theme[data-player-page="agent"] .button:not(.secondary) {
  background:var(--glass-gold);border-color:#b9a0ded9;color:#ffffff;box-shadow:inset 0 1px 0 #ead9ff99,0 3px 9px #0003;
}
.bh-player-theme :is(.channel.active,.method-tab.selected,.payment-section.active,.report-tabs [aria-selected="true"]) {
  background:var(--glass-selected);border-color:#b298d0;color:var(--gold-light);box-shadow:inset 0 1px 0 #ded5ee4d,inset 0 0 0 1px #a286bf66;
}
.bh-player-theme .channel.active:after {background:var(--gold);color:#ffffff;}
.bh-player-theme :is(input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),select,textarea),
.bh-player-theme #commissionApplicationBinding {
  background:#141217;color:var(--glass-text);border-color:var(--glass-line);box-shadow:inset 0 2px 5px #0005;caret-color:var(--gold);
}
.bh-player-theme :is(input,textarea)::placeholder {color:#c0baca;opacity:1;}
.bh-player-theme option {background:#18151c;color:var(--glass-text);}
.bh-player-theme :is(.value,.report-metric,.level-rate-item,.empty-state,.upload-box,.qr-error) {background:var(--glass-control);border-color:var(--glass-line);color:var(--glass-text);}
.bh-player-theme :is(.upload-box b,.upload-box small,.upload-icon,.guide-icon,.empty-state h3) {color:var(--gold-light);}
.bh-player-theme :is(.guide-icon,.tag,.notice,.status,.bonus-help,.warning) {background:#9e73b718;border-color:var(--glass-line);color:var(--gold-light);}
.bh-player-theme .warning b {color:#efbb83;}
.bh-player-theme :is(th,td,.meta,.form-footer,.page-footer) {border-color:#a286bf33;}
.bh-player-theme th {color:#cfc5df;background:#a286bf0c;}
.bh-player-theme :is(.positive,.secure,.success-icon) {color:#8bd5af;}
.bh-player-theme :is(.notice.success,.status.success) {background:#17402d;color:#9ee0bf;border-color:#55816a;}
.bh-player-theme :is(.notice.error,.status.error) {background:#431f24;color:#ffaaa5;border-color:#98615f;}
.bh-player-theme :is(#message,#reportStatus[data-error="true"]) {color:#ffaaa5;}
/* All status visibility, focus order and disabled states remain owned by each component. */
:is(.bh-refined-theme,.bh-player-theme) :is(button,a,input,select,textarea):focus-visible {outline:2px solid var(--gold-light);outline-offset:3px;}
:is(.bh-refined-theme,.bh-player-theme) :is(input,select,textarea):focus {border-color:var(--gold);}
@media(hover:hover) and (pointer:fine) {
  .bh-refined-theme body.bh-surface :is(.gold-button,.quiet-button,.outline-button,.pill-tabs button,.bh-provider-pill,.lobby-sidebar>button,.account-menu>button):not(:disabled):hover,
  .bh-refined-theme body.bh-surface #platformModal :is(button):not(:disabled):hover,
  .bh-player-theme :is(.button,.submit,.channel,.method-tab,.payment-section,.quick button):not(:disabled):hover {filter:brightness(1.08);border-color:#e3d7f4;}
}
