/* 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:#e7c16d;--gold-light:#f3dba3;--muted:#b5b4b0;
  --warm-gold:var(--gold);--warm-gold-light:var(--gold-light);--warm-gold-muted:#bea16a;
  --glass-bg:#090b0f;--glass-text:#eee9de;--glass-muted:#b5b4b0;--glass-line:#cba45d66;
  --glass-panel:linear-gradient(120deg,transparent 8%,#ffffff0b 22%,transparent 40%),linear-gradient(180deg,#26292e 0%,#111318 34%,#07090c 68%,#0e1116 100%);
  --glass-control:linear-gradient(140deg,#ffffff12,transparent 44%),linear-gradient(180deg,#22252a,#090b0f 65%,#101318);
  --glass-selected:linear-gradient(135deg,#cba45d28,transparent 60%),linear-gradient(180deg,#27251f,#111215 76%);
  --glass-gold:linear-gradient(165deg,#fff1ca3d,transparent 44%),linear-gradient(115deg,#f4dfad 0%,#e1bd76 34%,#d2ab5d 62%,#bd9145 82%,#e9ce92 100%);
  --glass-shadow:inset 0 1px 0 #f5e8c438,inset 0 -1px 0 #ffffff08,0 6px 16px #00000038;
}
/* 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 #f5e8c426,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:#ebd19cd9;color:#342918;
  box-shadow:inset 0 1px 0 #fff1d2d9,inset 0 -1px 0 #8e6b3c73,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 #f1dfb633,0 3px 9px #0003;color:var(--gold-light);
}
.bh-refined-theme body.bh-surface :is(.lobby-sidebar>button,.account-menu>button) {color:#d2c9b6;}
.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:#d7b36da6;
  box-shadow:inset 0 1px 0 #f1dfb64d,inset 0 0 0 1px #cba45d66,0 3px 8px #0003;
}
.bh-refined-theme body.bh-surface .bh-provider-pill[aria-pressed="true"] {
  background:var(--glass-gold);color:#342918;border-color:#ebd19c;box-shadow:inset 0 1px 0 #fff1d2b3,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 #f1dfb626;}
.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 #f1dfb633;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:#c8b68d;}
.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:#090b0fbb;border-color:#cba45d66;color:var(--gold-light);}
.bh-refined-theme body.bh-surface .favorite-button.is-saved {background:#6b5129;color:#ffe8b2;}
/* 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:#0c0e12;
}
.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 #f5e8c426;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 #f1dfb62e;
}
.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:#d7b36da6;color:var(--gold-light);box-shadow:inset 0 1px 0 #f1dfb642;
}
.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:#342918;border-color:#ebd19cd9;box-shadow:inset 0 1px 0 #fff1d299,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:#0c0e12;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:#aaa89f;opacity:1;}
.bh-refined-theme body.bh-surface #platformModal .platform-form option {background:#101216;color:var(--glass-text);}
.bh-refined-theme body.bh-surface #platformModal .platform-rebate-note {background:#b7974b14;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:#342918!important;}
.bh-refined-theme body.bh-surface .platform-app-download-icon {background:var(--glass-selected);color:var(--gold);box-shadow:inset 0 1px 0 #f1dfb633;}
.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:#14171c;
  font-family:'Noto Sans SC Variable',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
}
.bh-player-theme body {background:radial-gradient(ellipse at 10% 0,#a5752510,transparent 65%) no-repeat #14171c;background-size:100% 700px;}
.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 #f1dfb633,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:#ebd19cd9;color:#342918;box-shadow:inset 0 1px 0 #fff1d299,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:#d7b36d;color:var(--gold-light);box-shadow:inset 0 1px 0 #f1dfb64d,inset 0 0 0 1px #cba45d66;
}
.bh-player-theme .channel.active:after {background:var(--gold);color:#342918;}
.bh-player-theme :is(input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),select,textarea),
.bh-player-theme #commissionApplicationBinding {
  background:#0c0e12;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:#aaa89f;opacity:1;}
.bh-player-theme option {background:#101216;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:#bd974b18;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:#cba45d33;}
.bh-player-theme th {color:#cfbc92;background:#cba45d0c;}
.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:#ead5ab;}
}
