/* Shared player theme. Keep selectors scoped so standalone/admin pages remain isolated. */
@import url('./fonts/noto-sans-sc-5.3.1/index.css');
@font-face {
  font-family:'Bohui Brush';font-style:normal;font-weight:400;font-display:swap;
  src:url('./fonts/brand-brush/yuji-boku-bohui.woff2') format('woff2');
  unicode-range:U+532F,U+535A,U+570B,U+969B;
}
@font-face {
  font-family:'Bohui Signature';font-style:normal;font-weight:400;font-display:swap;
  src:url('./fonts/brand-signature/courgette-bohui.woff2') format('woff2');
  unicode-range:U+002E,U+0062-0063,U+0068-0069,U+006F,U+0075;
}
:root.bh-refined-theme {
  --font:'Noto Sans SC Variable',-apple-system,BlinkMacSystemFont,'Segoe UI','PingFang SC','Microsoft YaHei',sans-serif;
  --bg:#14171c;--panel:#20242b;--text:#f2f0eb;--muted:#969da7;
  --gold:#dfb469;--gold-light:#f2d49f;--border:#ffffff14;--border-soft:#ffffff0e;
  --warm-gold:#e7c16d;--warm-gold-light:#f3dba3;--warm-gold-muted:#bea16a;
  --warm-gold-icon:brightness(0) saturate(100%) invert(70%) sepia(100%) saturate(180%) brightness(91%);
  background:var(--bg);
}
.bh-refined-theme .bh-surface {font-family:var(--font);font-size:14px;line-height:1.6;font-weight:400;color:var(--text);text-rendering:optimizeLegibility;}
.bh-refined-theme .bh-surface,.bh-refined-theme .bh-surface[data-variant="mobile"],.bh-refined-theme [data-variant="mobile"] .mobile-shell {
  background:#14171c; background-image:radial-gradient(ellipse at 10% 0,#a5752510,transparent 65%);background-repeat:no-repeat;background-size:100% 700px;
}
.bh-refined-theme :is(button,input,select,textarea) {font-family:var(--font);letter-spacing:0;}
.bh-refined-theme :is(h1,h2,h3,h4) {font-family:var(--font);font-weight:600;letter-spacing:0;text-shadow:none;}
.bh-refined-theme .site-header {background:#191c21;border-bottom:1px solid #ffffff0b;box-shadow:none;}
.bh-refined-theme .brand {gap:12px;min-width:0;}
.bh-refined-theme .brand-crown {width:66px;height:66px;flex:0 0 auto;filter:none;}
.bh-refined-theme .brand-crown img {display:block;width:100%;height:100%;object-fit:contain;}
.bh-refined-theme .brand-copy {display:flex;flex-direction:column;align-items:flex-start;min-width:0;gap:3px;}
.bh-refined-theme [data-variant="desktop"] .brand-copy {max-width:160px;}
.bh-refined-theme [data-variant="desktop"] .header-account .bh-user-label {max-width:96px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.bh-refined-theme .brand .brand-name {display:block;margin:0;font-family:var(--font);font-size:30px;font-weight:700;letter-spacing:1.2px;line-height:1.25;color:#f4d59b;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;}
.bh-refined-theme .brand .brand-name[data-brand-style="bohui"] {font-family:'Bohui Brush',var(--font);font-size:32px;font-weight:400;font-synthesis:none;letter-spacing:.8px;line-height:1.15;}
.bh-refined-theme .brand .brand-domain {display:flex;align-items:center;justify-content:center;gap:5px;width:100%;min-width:0;margin:0;font-family:'Bohui Signature','Segoe Script',cursive;font-size:17px;font-weight:400;font-synthesis:none;letter-spacing:.4px;line-height:1.1;color:#e8c78b;white-space:nowrap;}
.bh-refined-theme .brand-domain:not(:has(.brand-logo))::before,
.bh-refined-theme .brand-domain:not(:has(.brand-logo))::after {content:'';display:block;flex:1 1 14px;max-width:18px;min-width:0;height:5px;background:linear-gradient(90deg,#b68a3a00,#d7ae67);clip-path:polygon(0 40%,65% 40%,82% 0,100% 50%,82% 100%,65% 60%,0 60%);pointer-events:none;}
.bh-refined-theme .brand-domain:not(:has(.brand-logo))::after {transform:scaleX(-1);}
.bh-refined-theme .brand-domain .brand-logo {display:block;width:auto;max-width:132px;height:auto;max-height:17px;object-fit:contain;}
@supports ((background-clip:text) or (-webkit-background-clip:text)) {
 .bh-refined-theme .brand .brand-name[data-brand-style="bohui"] {background-image:linear-gradient(170deg,#fff0c7 5%,#f0cd86 42%,#c99342 68%,#f7dda5 96%);-webkit-background-clip:text;background-clip:text;color:transparent;filter:drop-shadow(0 1px 0 #6c421b55);}
}
.bh-refined-theme :is(.main-nav a,.main-nav button) {font-size:14px;font-weight:500;color:#a9aeb6;gap:7px;}
.bh-refined-theme .main-nav .is-active {color:var(--gold-light);}
.bh-refined-theme .main-nav a.is-active::after {height:2px;background:var(--gold);box-shadow:none;}
.bh-refined-theme :is(.panel,.surface,.profile-banner,.wallet-panel,.account-shortcuts,.game-card,.lobby-card,.offer-card,.account-wallet,.app-download) {
  background:#20242b;background-image:none;border:1px solid #ffffff10;box-shadow:none;border-radius:14px;
}
.bh-refined-theme :is(.offer-card.theme-green,.offer-card.theme-purple) {background:#20242b!important;}
.bh-refined-theme :is(.gold-button,.portal-main .gold-button,.search-bar .gold-button,.bh-profile .gold-button) {
  min-height:44px;padding:10px 18px;border-radius:10px;border:1px solid transparent;
  background:#dfb469;color:#241c0f;box-shadow:none;text-shadow:none;font-size:14px;font-weight:600;letter-spacing:0;line-height:1.4;
}
.bh-refined-theme :is(.quiet-button,.outline-button,.header-login,.quick-actions button,.quick-actions a,.offer-card-footer button) {
  min-height:44px;padding:10px 16px;border-radius:10px;border:1px solid #ffffff20;
  background:#ffffff04;color:#e1e2e5;box-shadow:none;text-shadow:none;font-size:14px;font-weight:500;letter-spacing:0;line-height:1.4;
}
.bh-refined-theme :is(button,a,input,select):focus-visible {outline:2px solid #dfb469;outline-offset:3px;}
.bh-refined-theme :is(button:disabled,.unavailable) {opacity:.45;cursor:not-allowed;}
.bh-refined-theme :is(.hero,.carousel-slide) {border-color:#ffffff12;border-radius:14px;box-shadow:none;background:#1b222b;}
.bh-refined-theme .hero :is(h1,.hero-title) {font-family:var(--font);font-weight:650;text-shadow:none;letter-spacing:0;}
.bh-refined-theme :is(.section-eyebrow,.dialog-eyebrow,.english-label) {font-family:var(--font);font-style:normal;font-size:10px;font-weight:500;letter-spacing:1.2px;text-transform:uppercase;color:#8f98a5;}
.bh-refined-theme :is(.section-heading,.portal-heading),.bh-refined-theme [data-variant="mobile"] :is(.section-heading,.portal-heading) {border-bottom:0;background:none;padding-bottom:12px;}
.bh-refined-theme :is(.section-heading,.portal-heading)::after,.bh-refined-theme [data-variant="mobile"] :is(.section-heading,.portal-heading)::after {display:none;}
.bh-refined-theme .section-heading h2 {font-size:20px;font-weight:600;color:#f1efea;letter-spacing:0;gap:8px;}
.bh-refined-theme :is(.portal-heading h1,.page-title h1) {font-size:28px;font-weight:600;color:#f1efea;line-height:1.4;letter-spacing:-.4px;}
.bh-refined-theme :is(.text-button,.portal-heading>a) {font-family:var(--font);font-size:12px;color:#b9a989;letter-spacing:0;font-weight:400;}
.bh-refined-theme .welcome-bar :is(strong,span),.bh-refined-theme .announcement {font-size:12px;letter-spacing:0;}
.bh-refined-theme .balance-caption {font-size:12px;color:#b2b7bf;font-weight:400;}
.bh-refined-theme .sample-tag {border:0;background:#ffffff07;color:#9ba2ad;font-size:10px;border-radius:4px;padding:2px 5px;}
.bh-refined-theme #balance-value {font-family:var(--font);font-weight:550;letter-spacing:1px;color:#f0eee9;}
.bh-refined-theme #balance-value:not([data-balance-hidden="true"]) {font-size:28px;}
.bh-refined-theme .bh-home-shortcuts,.bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts {gap:10px;margin-block:16px 24px;}
.bh-refined-theme .bh-home-shortcuts button,.bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts > button {
  height:74px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;
  background:#20242b;border:1px solid #ffffff0c;border-radius:12px;padding:10px 2px;box-shadow:none;font-size:12px;
}
.bh-refined-theme .bh-home-shortcuts .bh-shortcut-icon {position:static;inset:auto;display:flex;align-items:center;justify-content:center;width:26px;height:26px;}
.bh-refined-theme .bh-home-shortcuts .bh-shortcut-icon > [data-icon],.bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts .bh-shortcut-icon > [data-icon] {width:26px;height:26px;display:block;padding:0;}
.bh-refined-theme .bh-home-shortcuts .bh-shortcut-icon img {width:100%;height:100%;object-fit:contain;}
.bh-refined-theme .bh-home-shortcuts button > span:last-child {padding:0;background:none;text-shadow:none;color:#d9dce1;font-weight:500;line-height:1.4;}
.bh-refined-theme .categories {border:0;background:transparent;padding-inline:0;box-shadow:none;}
.bh-refined-theme .category-art {border:1px solid #ffffff0d;border-radius:10px;background:#20242b;}
.bh-refined-theme .category-all .category-art {background:#28271f;color:#dfb469;}
.bh-refined-theme .category-label {font-family:var(--font);color:#a5aab3;font-size:12px;letter-spacing:0;font-weight:400;}
.bh-refined-theme .game-card,.bh-refined-theme .bh-surface .game-card,.bh-refined-theme .bh-surface :is(#game-grid,#bh-game-list) .game-card {background:transparent;border:0;border-radius:0;box-shadow:none;}
.bh-refined-theme .bh-surface .game-card .game-art {border:0;border-radius:14px;box-shadow:none;}
.bh-refined-theme .bh-surface :is(#game-grid,#bh-game-list) .game-meta {padding:6px 2px 2px;background:transparent;border:0;text-align:center;}
.bh-refined-theme .bh-surface .game-card .game-meta h3 {font-family:var(--font);font-weight:500;color:#e6e8ec;font-size:13px;letter-spacing:0;line-height:1.6;text-align:center;}
.bh-refined-theme .favorite-button {background:#111722bb;border:1px solid #ffffff19;color:#d6c29f;box-shadow:none;}
.bh-refined-theme .favorite-button.is-saved {background:#514225;color:#f2cd8b;}
.bh-refined-theme .lobby-sidebar {border:0;background:#1c2027;border-radius:12px;padding:6px;}
.bh-refined-theme .lobby-sidebar > button {min-height:44px;border-radius:8px;border:0;background:transparent;color:#9fa7b3;font-size:13px;font-weight:500;}
.bh-refined-theme .lobby-sidebar > button.is-active {color:#edd3a4;background:#dfb46914;border:0;}
.bh-refined-theme .pill-tabs {border:0;gap:8px;}
.bh-refined-theme .pill-tabs button {min-height:44px;padding:9px 14px;border:1px solid #ffffff12;background:#20242b;color:#9fa7b3;border-radius:9px;font-size:13px;font-weight:500;box-shadow:none;}
.bh-refined-theme .pill-tabs button.is-active {color:#f0d4a1;border-color:#dfb46944;background:#dfb46910;box-shadow:none;}
.bh-refined-theme .search-field {min-height:46px;border:1px solid #ffffff14;border-radius:10px;background:#20242b;box-shadow:none;}
.bh-refined-theme .search-field [data-icon] {color:#8e97a4;}
.bh-refined-theme .portal-main .search-field input {background:transparent;border:0;box-shadow:none;padding-block:10px;font-size:14px;color:#e6e8ec;}
.bh-refined-theme .search-field:focus-within {border-color:#c9a363;box-shadow:0 0 0 3px #dfb46914;}
.bh-refined-theme :is(.account-form input,.account-form select,.bh-dialog input:not([type="checkbox"])) {min-height:46px;border:1px solid #ffffff20;border-radius:10px;background:#171b22;color:#e6e8ec;font-size:16px;}
.bh-refined-theme .account-form .has-error input {border-color:#e88d83;}
.bh-refined-theme :is(#site-dialog,.bh-dialog) {border:1px solid #ffffff18;border-radius:18px;background:#20242b;color:#eceef1;box-shadow:0 30px 90px #0007;}
.bh-refined-theme :is(.bh-dialog h2,#dialog-title) {color:#f2f0eb;font-weight:600;font-size:23px;}
.bh-refined-theme #site-dialog .dialog-header {background:#20242b;border-color:#ffffff12;box-shadow:0 -28px 0 #20242b;}
.bh-refined-theme .auth-tabs {border-color:#ffffff14;}
.bh-refined-theme .auth-tabs button {min-height:44px;font-size:14px;color:#9fa7b3;}
.bh-refined-theme .auth-tabs button.is-active {color:#e8c58d;border-color:#dfb469;}
.bh-refined-theme .bh-dialog .dialog-close {width:44px;height:44px;font-size:24px;color:#9fa7b3;}
.bh-refined-theme .bh-dialog .auth-note {color:#969da7;font-size:12px;}
.bh-refined-theme #authModal .platform-captcha-row {grid-template-columns:minmax(0,1fr) 122px 44px;}
.bh-refined-theme #authModal .platform-captcha-refresh {width:44px;min-height:44px;border:1px solid #ffffff20;background:#ffffff04;color:#e4bd7b;border-radius:10px;}
.bh-refined-theme #authModal .platform-captcha-image {border-color:#ffffff20;}
.bh-refined-theme .account-menu {padding:8px;border-radius:12px;}
.bh-refined-theme .account-menu>button {min-height:46px;font-size:13px;font-weight:500;border:0;color:#aab0bb;border-radius:8px;background:transparent;}
.bh-refined-theme .account-menu>button.is-active {background:#dfb46912;color:#ebc68c;border:0;}
.bh-refined-theme .account-menu [data-icon],.bh-refined-theme .profile-avatar [data-icon] {width:21px;height:21px;}
.bh-refined-theme .profile-avatar {background:#dfb46910;border:0;border-radius:14px;}
.bh-refined-theme .profile-info h2 {font-size:19px;line-height:1.6;}
.bh-refined-theme .profile-info p {font-size:12px;color:#969da7;}
.bh-refined-theme .account-content p {color:#aab0bb;font-size:14px;line-height:1.9;}
.bh-refined-theme .account-content h2 {font-size:18px;color:#efede8;}
.bh-refined-theme .activity-card {border:1px solid #ffffff13;border-radius:14px;background:#20242b;}
.bh-refined-theme .activity-copy {min-width:0;}
.bh-refined-theme [data-variant="desktop"] .activity-copy :is(h3,p) {overflow:hidden;text-overflow:ellipsis;}
.bh-refined-theme .activity-copy h3 {font-family:var(--font);font-size:18px;font-weight:600;letter-spacing:0;}
.bh-refined-theme .activity-copy :is(p,span) {font-size:12px;letter-spacing:0;color:#aeb5c0;}
.bh-refined-theme .bottom-nav {background:#191d25fa;border-top:1px solid #ffffff0f;box-shadow:0 -6px 28px #0002;}
.bh-refined-theme .bottom-nav :is(a,button) {font-family:var(--font);font-size:11px;font-weight:500;min-height:50px;gap:5px;color:#929aa7;}
.bh-refined-theme [data-variant="mobile"] .bottom-nav .is-active {background:transparent;color:#edc787;}
.bh-refined-theme .bottom-nav .is-active::before {display:none;}
.bh-refined-theme .bottom-nav [data-icon] {width:21px;height:21px;}
.bh-refined-theme .bottom-nav .is-active .custom-icon {opacity:1;}
.bh-refined-theme .site-footer {background:transparent;border-color:#ffffff0a;color:#737d8c;font-size:11px;}
/* Match the actual account panel specificity while preserving inline mounting rules. */
.bh-refined-theme body.bh-surface #platformModal {--dialog-text:#eceef1;--dialog-muted:#a4abb6;--dialog-gold:#e4bd7b;--dialog-line:#ffffff16;--dialog-field:#171b22;}
.bh-refined-theme body.bh-surface #platformModal:not(.bh-account-inline) :is(.platform-box,.platform-head,.platform-tabs) {background:#20242b;border-color:#ffffff14;box-shadow:none;}
.bh-refined-theme body.bh-surface #platformModal .platform-head>strong {font-size:18px;font-weight:600;color:#eceef1;letter-spacing:0;}
.bh-refined-theme body.bh-surface #platformModal .platform-submit {min-height:46px;background:#dfb469;color:#241c0f;border:1px solid transparent;border-radius:10px;box-shadow:none;font-size:14px;font-weight:600;}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-tab,.platform-recipient-mode,.platform-order-check,.platform-correction-button,.platform-message-read) {min-height:44px;border:1px solid #ffffff1c;border-radius:9px;background:#ffffff04;color:#c2c7ce;box-shadow:none;font-size:13px;font-weight:500;}
.bh-refined-theme body.bh-surface #platformModal :is(.platform-tab.active,.platform-recipient-mode.active) {background:#dfb46916;border-color:#dfb46950;color:#e9c68e;}
.bh-refined-theme body.bh-surface #platformModal .platform-method {border-width:1px;border-radius:12px;}
.bh-refined-theme body.bh-surface #platformModal .platform-close {width:44px;height:44px;flex-basis:44px;border-color:#ffffff14;background:transparent;color:#b4bcc9;}
/* Glossy black glass with warm-gold accents; game artwork stays unframed. */
.bh-refined-theme .bh-surface #page-home .wallet-panel,
.bh-refined-theme .bh-surface[data-variant] #home-shortcuts > button,
.bh-refined-theme .bh-surface #page-home .quick-actions > :is(button,a),
.bh-refined-theme .bh-surface #page-home :is(#activity-grid,#game-grid) > .bh-status {
  background:linear-gradient(120deg,transparent 8%,#ffffff0f 22%,transparent 40%),linear-gradient(180deg,#292c32 0%,#111318 34%,#07090c 65%,#0e1116 100%);
  border:1px solid #cba45d80;
  box-shadow:inset 0 1px 0 #f5e8c44d,inset 0 -1px 0 #ffffff0d,0 6px 14px #00000045,0 0 12px #b88e4910;
  -webkit-backdrop-filter:blur(12px) saturate(125%);backdrop-filter:blur(12px) saturate(125%);
}
.bh-refined-theme .bh-surface[data-variant] #home-shortcuts > button {
  background:linear-gradient(140deg,#ffffff16,transparent 42%),linear-gradient(180deg,#23262b 0%,#111318 46%,#06080b 51%,#0d1015 100%);
}
.bh-refined-theme .bh-surface #home-shortcuts > button > span:last-child {color:#eee2c9;}
.bh-refined-theme .bh-surface #home-shortcuts .bh-shortcut-icon,
.bh-refined-theme .bh-surface #categories .category-all [data-icon],
.bh-refined-theme .bh-surface #page-home .wallet-actions .outline-button [data-icon],
.bh-refined-theme .bh-surface #page-home .quick-actions [data-icon] {
  filter:var(--warm-gold-icon) drop-shadow(0 1px 2px #b38b4533);
}
.bh-refined-theme .bh-surface #page-home .balance-caption {color:#c6cbd2;}
.bh-refined-theme .bh-surface #page-home .wallet-actions .gold-button {
  background:linear-gradient(165deg,#fff1ca3d,transparent 44%),linear-gradient(115deg,#f4dfad 0%,#e1bd76 34%,#d2ab5d 62%,#bd9145 82%,#e9ce92 100%);
  border-color:#ebd19cd9;box-shadow:inset 0 1px 0 #fff1d2d9,inset 0 -1px 0 #8e6b3c73,0 3px 9px #0000002b,0 0 12px #bc985218;
  color:#342918;
}
.bh-refined-theme .bh-surface #page-home .wallet-actions .outline-button {
  background:linear-gradient(145deg,#ffffff12,transparent 48%),linear-gradient(180deg,#23262c,#090b0f 65%,#101319);
  border-color:#cba45d80;box-shadow:inset 0 1px 0 #f1dfb642,inset 0 -1px 0 #00000020;
  color:var(--warm-gold-light);
}
.bh-refined-theme .bh-surface #categories .category-art {
  position:relative;border-color:#cba45d73;box-shadow:inset 0 1px 0 #f1dfb640,0 3px 8px #00000024;
}
.bh-refined-theme .bh-surface #categories .category-art::after {
  content:'';position:absolute;inset:0;border-radius:inherit;pointer-events:none;
  background:linear-gradient(150deg,#ffffff20,transparent 42%);box-shadow:inset 0 1px 0 #f1dfb64d;
}
.bh-refined-theme .bh-surface #categories .category-all .category-art {
  background:linear-gradient(140deg,#ffffff1c,transparent 45%),linear-gradient(180deg,#25272d 0%,#101216 46%,#06080b 51%,#111419 100%);
  border-color:#d7b36da6;color:var(--warm-gold-light);
}
.bh-refined-theme .bh-surface #categories .category-label {color:#c0c5ce;}
/* Carry the same black-and-gold finish through headings, footer and navigation. */
.bh-refined-theme .bh-surface :is(.section-heading h2,.portal-heading h1),
.bh-refined-theme .bh-surface #page-home .bh-status > strong {
  color:var(--warm-gold);text-shadow:0 1px 1px #00000080;
}
.bh-refined-theme .bh-surface :is(.section-eyebrow,.english-label) {color:var(--warm-gold-muted);}
.bh-refined-theme .bh-surface :is(.section-heading,.portal-heading) :is(.text-button,.text-link,a),
.bh-refined-theme .bh-surface #page-home .section-heading > .text-button {
  color:var(--warm-gold);text-shadow:0 1px 1px #00000066;
}
.bh-refined-theme .bh-surface :is(.section-heading,.portal-heading) [data-icon] {
  filter:var(--warm-gold-icon) drop-shadow(0 1px 2px #b38b4526);
}
.bh-refined-theme .bh-surface .site-footer {
  background:transparent;border-color:#cba45d40;color:var(--warm-gold-muted);
}
.bh-refined-theme .bh-surface .site-footer .footer-brand,
.bh-refined-theme .bh-surface .site-footer > span:first-child {
  color:var(--warm-gold);font-family:var(--font);font-weight:600;text-shadow:0 1px 1px #00000080;
}
.bh-refined-theme .bh-surface .site-footer :is(.footer-brand span,p) {color:#ccb17d;}
.bh-refined-theme .bh-surface[data-variant="mobile"] .bottom-nav {
  background:linear-gradient(180deg,#2b2b29 0%,#101215 28%,#05070a 72%,#0e1014 100%);
  border-top:1px solid #cba45d99;box-shadow:inset 0 1px 0 #f1dfb633,0 -5px 20px #00000059;
  -webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);
}
.bh-refined-theme .bh-surface[data-variant="mobile"] .bottom-nav :is(a,button) {
  color:var(--warm-gold-muted);text-shadow:0 1px 1px #00000080;
}
.bh-refined-theme .bh-surface[data-variant="mobile"] .bottom-nav .custom-icon {
  filter:var(--warm-gold-icon);opacity:.78;
}
.bh-refined-theme .bh-surface[data-variant="mobile"] .bottom-nav .is-active {
  color:var(--warm-gold-light);background:radial-gradient(ellipse at 50% 0,#d2b47b24,transparent 78%);
  border-radius:8px;box-shadow:inset 0 1px 0 #ead3a373;text-shadow:0 1px 2px #00000080;
}
.bh-refined-theme .bh-surface[data-variant="mobile"] .bottom-nav .is-active .custom-icon {
  opacity:1;filter:var(--warm-gold-icon) brightness(1.12) drop-shadow(0 0 3px #d1b37a40);
}
@media(hover:hover) and (pointer:fine){
 .bh-refined-theme .bh-surface[data-variant] #home-shortcuts > button:hover,
 .bh-refined-theme .bh-surface #page-home .quick-actions > :is(button,a):hover,
 .bh-refined-theme .bh-surface #page-home .wallet-actions > button:hover {border-color:#ead5abe6;filter:brightness(1.06);}
 .bh-refined-theme .bh-surface #categories .category:hover .category-art {border-color:#ead5abe6;}
}
@media(hover:hover) and (pointer:fine){
 .bh-refined-theme :is(.gold-button,.portal-main .gold-button):hover{background:#ecc584;border-color:transparent;box-shadow:none;}
 .bh-refined-theme :is(.quiet-button,.outline-button,.quick-actions button,.quick-actions a,.header-login,.offer-card-footer button):hover{border-color:#c4a16470;background:#ffffff08;box-shadow:none;}
 .bh-refined-theme :is(.game-card,.lobby-card,.offer-card):hover{border-color:#dfb46955;box-shadow:0 8px 20px #0002;}
}
@media(min-width:901px) and (max-width:1120px){
 .bh-refined-theme [data-variant="desktop"] .header-inner {flex-wrap:wrap;gap:4px 15px;padding-top:10px;}
 .bh-refined-theme [data-variant="desktop"] .brand {order:0;}
 .bh-refined-theme [data-variant="desktop"] .header-account {order:1;margin-left:auto;}
 .bh-refined-theme [data-variant="desktop"] .main-nav {order:2;width:100%;justify-content:center;min-height:48px;gap:28px;}
}
@media(max-width:600px){
 .bh-refined-theme [data-variant="mobile"] .site-header {min-height:calc(62px + env(safe-area-inset-top));padding:4.5px 16px;padding-top:calc(4.5px + env(safe-area-inset-top));gap:8px;}
 .bh-refined-theme [data-variant="mobile"] .brand {gap:6px;flex:0 1 auto;}
 .bh-refined-theme [data-variant="mobile"] .brand-crown {width:52px;height:52px;}
 .bh-refined-theme [data-variant="mobile"] .brand-copy {gap:1.5px;}
 .bh-refined-theme [data-variant="mobile"] .brand .brand-name {font-size:24px;letter-spacing:1px;}
 .bh-refined-theme [data-variant="mobile"] .brand .brand-name[data-brand-style="bohui"] {font-size:26px;letter-spacing:.2px;}
 .bh-refined-theme [data-variant="mobile"] .brand .brand-domain {font-size:15px;letter-spacing:.3px;}
 .bh-refined-theme [data-variant="mobile"] .brand-domain .brand-logo {max-width:104px;max-height:14px;}
 .bh-refined-theme [data-variant="mobile"] .header-actions {flex:0 1 auto;min-width:0;}
 .bh-refined-theme [data-variant="mobile"] .header-actions .bh-user-label {max-width:clamp(38px,calc(100vw - 292px),90px);}
 .bh-refined-theme .bh-surface .header-actions :is(.gold-button,.quiet-button) {min-height:44px;padding:9px 11px;font-size:12px;border-radius:9px;}
 .bh-refined-theme [data-variant="mobile"] .wallet-panel {padding:0;border-radius:14px;}
 .bh-refined-theme [data-variant="mobile"] .wallet-actions {gap:8px;}
 .bh-refined-theme [data-variant="mobile"] .wallet-actions button {min-height:44px;min-width:76px;padding:10px;font-size:13px;white-space:nowrap;flex-shrink:0;}
 .bh-refined-theme [data-variant="mobile"] .wallet-actions [data-icon] {width:16px;height:16px;}
 .bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts {gap:8px;margin-block:12px 16px;}
 .bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts > button {height:62px;gap:6px;padding:7px 2px;border-radius:10px;}
 .bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts .bh-shortcut-icon,
 .bh-refined-theme .bh-surface[data-variant="mobile"] #home-shortcuts .bh-shortcut-icon > [data-icon] {width:24px;height:24px;}
 .bh-refined-theme [data-variant="mobile"] .categories {gap:8px 5px;margin-block:12px 18px;}
 .bh-refined-theme [data-variant="mobile"] .category {gap:4px;}
 .bh-refined-theme [data-variant="mobile"] .bottom-nav {padding:5px 8px calc(5px + env(safe-area-inset-bottom));}
 .bh-refined-theme [data-variant="mobile"] .bottom-nav :is(a,button) {min-height:44px;gap:3px;}
 .bh-refined-theme [data-variant="mobile"] .bottom-nav [data-icon] {width:20px;height:20px;}
 .bh-refined-theme [data-variant="mobile"] .mobile-shell {padding-bottom:calc(76px + env(safe-area-inset-bottom));}
 .bh-refined-theme [data-variant="mobile"] .section-heading h2 {font-size:19px;font-weight:600;letter-spacing:0;}
 .bh-refined-theme [data-variant="mobile"] .portal-heading h1 {font-size:24px;}
 .bh-refined-theme [data-variant="mobile"] .portal-main {padding-top:24px;}
 .bh-refined-theme [data-variant="mobile"] .portal-main .search-field input {font-size:16px;}
 .bh-refined-theme .bh-surface[data-variant="mobile"] #game-grid .game-meta h3,.bh-refined-theme .bh-surface[data-variant="mobile"] #bh-game-list .game-meta h3 {font-size:12px;font-weight:500;line-height:1.6;letter-spacing:0;}
 .bh-refined-theme [data-variant="mobile"] .game-meta {padding:9px 9px 11px;}
 .bh-refined-theme [data-variant="mobile"] .profile-banner {padding:16px;gap:10px;}
 .bh-refined-theme [data-variant="mobile"] .profile-banner>.gold-button {font-size:12px;padding:9px 10px;}
 .bh-refined-theme [data-variant="mobile"] .profile-info h2 {font-size:17px;}
 .bh-refined-theme [data-variant="mobile"] .activity-grid {grid-template-columns:minmax(0,1fr);}
 .bh-refined-theme [data-variant="mobile"] .activity-card {grid-column:1/-1;min-height:118px;align-items:center;padding:16px 12px 16px 43%;background:#20242b;border-color:#ffffff13;}
 .bh-refined-theme [data-variant="mobile"] .activity-art {left:0;top:0;bottom:auto;right:auto;width:40%;height:100%;opacity:1;mask-image:linear-gradient(to right,#000 80%,transparent);}
 .bh-refined-theme [data-variant="mobile"] .activity-copy h3 {font-size:17px;}
 .bh-refined-theme [data-variant="mobile"] .activity-copy>span {margin-top:10px;border:0;padding:0;color:#dfb469;}
}
@media(prefers-reduced-motion:reduce){.bh-refined-theme *{scroll-behavior:auto!important;}}
@media(max-width:360px){.bh-refined-theme #authModal .platform-captcha-row {grid-template-columns:minmax(0,1fr) 44px;}}
