/* Member presentation only. Payment and game availability keep their API state. */
body:not(.auth-entry):not(.admin-mode){
  --member-ink:#153955;--member-muted:#596f85;--member-line:#d7e7f3;
  color:#153955;background:linear-gradient(180deg,#eaf7ff 0,#f6f9fe 540px,#f6f9fe 100%);font-size:16px;
}
body:not(.auth-entry):not(.admin-mode) .topbar{background:rgba(255,255,255,.97);border-bottom:1px solid #dae8f4;box-shadow:0 3px 18px #275b8510}
body:not(.auth-entry):not(.admin-mode) .brand{color:#123f6b}
body:not(.auth-entry):not(.admin-mode) .nav-button{color:#536b83}
body:not(.auth-entry):not(.admin-mode) .nav-button.active{color:#1366b5;background:#e5f3ff}
body:not(.auth-entry):not(.admin-mode) .top-actions select{background:#f6faff;border-color:#d3e3f0;color:#274a68;font-size:14px}
body:not(.auth-entry):not(.admin-mode) .top-actions #logoutButton{background:#edf5fc;color:#275577}
body:not(.auth-entry):not(.admin-mode) .top-actions #logoutButton::before{color:#275577}
body:not(.auth-entry):not(.admin-mode) .page{padding-top:22px}
body:not(.auth-entry):not(.admin-mode) .surface{color:#183c58;background:#fff!important;border-color:#d8e7f2!important;border-radius:18px!important;box-shadow:0 8px 26px #24557d08!important}
body:not(.auth-entry):not(.admin-mode) .brand span{color:#123f6b}
body:not(.auth-entry):not(.admin-mode) .page :where(h1,h2,h3,h4,strong){color:#173f60}
body:not(.auth-entry):not(.admin-mode) .page :where(p,small){color:#58758c}
body:not(.auth-entry):not(.admin-mode) .page [id]{scroll-margin-top:82px}
body:not(.auth-entry):not(.admin-mode) .section-header{background:#fff;border-color:#d8e7f2;box-shadow:none}
body:not(.auth-entry):not(.admin-mode) .portal-sidebar{background:#fff;border-color:#d8e7f2}
body:not(.auth-entry):not(.admin-mode) .portal-sidebar-heading{color:#62839a;font-size:11px}
body:not(.auth-entry):not(.admin-mode) :is(.sidebar-nav-button,.sidebar-game-filter){color:#355e7b;min-height:42px;font-size:13px}
body:not(.auth-entry):not(.admin-mode) :is(.sidebar-nav-button,.sidebar-game-filter).active{color:#1366b5;background:#e5f3ff;border-color:#cde5f7}
body:not(.auth-entry):not(.admin-mode) :is(.nav-button,.sidebar-game-filter)::after{display:none}
body:not(.auth-entry):not(.admin-mode) .top-actions #logoutButton::before{content:"↗";display:block;font-size:20px;line-height:1;color:#275577}
body:not(.auth-entry):not(.admin-mode) .eyebrow{color:#2878ac;font-size:12px;letter-spacing:.12em}
body:not(.auth-entry):not(.admin-mode) .muted{color:#597286}
body:not(.auth-entry):not(.admin-mode) .button-primary{color:#fff;background:linear-gradient(115deg,#147ac7,#195ec8);box-shadow:0 6px 16px #176ac025}
body:not(.auth-entry):not(.admin-mode) .page .button-outline,
body:not(.auth-entry):not(.admin-mode) .page .button-ghost{color:#25628d;border-color:#c7dff1;background:#f0f8ff;box-shadow:none}
body:not(.auth-entry):not(.admin-mode) .page :is(input,select,textarea){background:#f8fbff;border-color:#c7dcea;color:#173b58;font-size:16px}
body:not(.auth-entry):not(.admin-mode) .page label{color:#294e6d;font-size:15px}
body:not(.auth-entry):not(.admin-mode) .notice,
body:not(.auth-entry):not(.admin-mode) .announcement{color:#335873;background:#edf6fd;border-color:#cfe4f3}

/* Large, predictable service entrances. Existing member wallet stays first. */
body:not(.auth-entry):not(.admin-mode) .member-service-menu{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:0 0 20px}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button{display:grid;justify-items:center;gap:4px;min-height:126px;padding:16px 8px;border:1px solid #d4e6f4;border-radius:18px;color:#1b4668;background:#fff;box-shadow:0 6px 18px #285d8608}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button>span{display:grid;place-items:center;width:44px;height:44px;border-radius:14px;background:#e8f6ff;color:#1977c1;font-size:29px;font-weight:600;line-height:1}
body:not(.auth-entry):not(.admin-mode) .member-service-menu strong{font-size:17px}
body:not(.auth-entry):not(.admin-mode) .member-service-menu small{color:#647e92;font-size:12px}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button:focus-visible{outline:3px solid #47b7f2;outline-offset:3px}
body:not(.auth-entry):not(.admin-mode) #lobby:has(>#memberWallet:not([hidden]))>.member-service-menu{display:none}
body:not(.auth-entry):not(.admin-mode) #lobby>.member-home-wallet{padding:22px;background:#fff;border-color:#cce3f4;box-shadow:0 8px 26px #24557d0b}
body:not(.auth-entry):not(.admin-mode) .member-home-wallet .wallet-balance{min-height:80px;padding:14px 18px;background:linear-gradient(115deg,#e7f6ff,#f3f9ff);border-color:#d4eafa}
body:not(.auth-entry):not(.admin-mode) .member-home-wallet .wallet-balance :is(span,strong){color:#174873}
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action{display:grid;grid-template-columns:1fr;justify-items:center;gap:2px;min-height:110px;padding:10px 6px;background:#f5faff;border-color:#d5e7f4;text-align:center}
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action>span{grid-row:auto;width:38px;height:38px;border-radius:12px;background:#e0f2ff;color:#1478c5;box-shadow:none}
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action strong{color:#174873;font-size:16px}
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action small{color:#627f95;font-size:12px}
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action:hover{background:#e8f6ff;border-color:#87c6ed}
body:not(.auth-entry):not(.admin-mode) .member-home-wallet .wallet-records{border-color:#dfecf5}
body:not(.auth-entry):not(.admin-mode) .wallet-recent-activity summary{padding:8px 0 0;color:#356b91;font-size:14px;cursor:pointer}
body:not(.auth-entry):not(.admin-mode) .wallet-recent-activity .wallet-records{margin-top:10px}

/* Brand image and short introduction; longer company text is expandable. */
body:not(.auth-entry):not(.admin-mode) .company-profile-hero{grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);margin:0 0 20px;border-color:#c2def3;border-radius:22px;background:#092342;box-shadow:0 12px 32px #1f568315}
body:not(.auth-entry):not(.admin-mode) .company-profile-media,
body:not(.auth-entry):not(.admin-mode) .company-profile-media img{min-height:270px}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy{padding:28px;background:#092342;color:#f3fbff}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy .eyebrow{color:#8edaff;font-size:11px}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy h1{max-width:16ch;color:#f3fbff;font-size:clamp(29px,3vw,39px);line-height:1.13}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy .company-profile-lead{font-size:16px;font-weight:500;color:#b9e7ff;line-height:1.5;margin:0 0 12px}
body:not(.auth-entry):not(.admin-mode) .company-profile-about{border-top:1px solid #ffffff25;padding-top:12px}
body:not(.auth-entry):not(.admin-mode) .company-profile-about summary{display:flex;justify-content:space-between;gap:14px;cursor:pointer;color:#e5f7ff;font-size:14px;list-style:none}
body:not(.auth-entry):not(.admin-mode) .company-profile-about summary::-webkit-details-marker{display:none}
body:not(.auth-entry):not(.admin-mode) .company-profile-about[open] summary>span{transform:rotate(45deg)}
body:not(.auth-entry):not(.admin-mode) .company-profile-about p{color:#c1d8e8;font-size:15px;line-height:1.7}
body:not(.auth-entry):not(.admin-mode) .company-profile-about .company-profile-points span{color:#dff5ff}
body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview{background:#fff!important;border-color:#d6e7f4!important;box-shadow:none!important}
body:not(.auth-entry):not(.admin-mode) .lobby-overview h1{color:#174873}
body:not(.auth-entry):not(.admin-mode) .casino-trust-row span{background:#edf7ff;border-color:#d2e9fa;color:#396f96}
body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span{background:#f4faff;border-color:#d6e9f6}
body:not(.auth-entry):not(.admin-mode) .lobby-live-summary :is(strong,small),
body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span:last-child strong{color:#1c6090}

/* Consistent card edges, image ratios and readable provider names. */
body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content{padding:0;border:0;background:transparent}
body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-lobby{padding:20px;background:#fff;border-color:#d5e6f3;box-shadow:none}
body:not(.auth-entry):not(.admin-mode) .bonus-lobby-head h2{color:#174873}
body:not(.auth-entry):not(.admin-mode) .bonus-head-count{color:#2b739f;border-color:#c7e2f5;background:#eef8ff}
body:not(.auth-entry):not(.admin-mode) .bonus-brand-grid .bonus-brand-card{border-color:#d6e7f4;background:#f6fbff!important;box-shadow:none}
body:not(.auth-entry):not(.admin-mode) .bonus-brand-card .bonus-card-top{color:#346a92}
body:not(.auth-entry):not(.admin-mode) .bonus-disclosure{color:#5a758c}
body:not(.auth-entry):not(.admin-mode) .bonus-extra-action{color:#dff5ff}
body:not(.auth-entry):not(.admin-mode) .api-supplier-lobby{padding:20px;background:#fff;border:1px solid #d5e6f3}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button{background:#f8fbff!important;border-color:#d6e7f3!important;gap:9px!important}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button strong{color:#173f60;font-size:16px!important;line-height:1.4}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button small{color:#5c7a92;font-size:13px!important}
body:not(.auth-entry):not(.admin-mode) .api-supplier-number{color:#377fae}
body:not(.auth-entry):not(.admin-mode) .api-supplier-art{border-radius:12px!important}
body:not(.auth-entry):not(.admin-mode) :is(.provider-card,.platform-entry-card){background:#fff;border-color:#d5e6f3}
body:not(.auth-entry):not(.admin-mode) .provider-card p{color:#58758c}
body:not(.auth-entry):not(.admin-mode) .game-category-chip{min-height:44px;padding:10px 15px;border-color:#c9dff0;background:#fff;color:#467493;font-size:14px}
body:not(.auth-entry):not(.admin-mode) .game-category-chip.active{background:#176fc5;border-color:#176fc5;color:#fff}
body:not(.auth-entry):not(.admin-mode) .tiny-label{color:#347aa6;background:#edf8ff;border-color:#c8e5f6}

/* Four independent gateway profiles retain their reported availability. */
body:not(.auth-entry):not(.admin-mode) .payment-lobby{background:#fff;border-color:#d3e6f4}
body:not(.auth-entry):not(.admin-mode) .payment-lobby-heading h2{color:#174873}
body:not(.auth-entry):not(.admin-mode) .payment-lobby-counter{color:#2c75a2;background:#edf8ff;border-color:#c5e5f6;white-space:normal}
body:not(.auth-entry):not(.admin-mode) .payment-option{min-height:150px;padding:20px;background:#f3faff;border-color:#cce4f5;color:#365f7d}
body:not(.auth-entry):not(.admin-mode) .payment-option strong{color:#195d95;font-size:22px}
body:not(.auth-entry):not(.admin-mode) .payment-number{color:#5685a5}
body:not(.auth-entry):not(.admin-mode) .payment-hint{color:#58778e;font-size:14px}
body:not(.auth-entry):not(.admin-mode) .payment-state{color:#356f93;background:#e9f5ff;border-color:#c3dff1;font-size:13px}
body:not(.auth-entry):not(.admin-mode) .payment-option:hover{background:#e7f5ff;border-color:#78bfea}
body:not(.auth-entry):not(.admin-mode) .payment-caveat{color:#58758d;font-size:14px}
body:not(.auth-entry):not(.admin-mode) .cashier-bank-option .payment-hint{color:#d2eaff}
body:not(.auth-entry):not(.admin-mode) .cashier-bank-option strong{color:#fff}
body:not(.auth-entry):not(.admin-mode) .footer{color:#59778f;background:#edf5fc;border-color:#d3e5f3}
body:not(.auth-entry):not(.admin-mode) .footer-brand{color:#1b537e}

@media(max-width:760px){
  body:not(.auth-entry):not(.admin-mode) .page{padding:14px 14px 28px}
  body:not(.auth-entry):not(.admin-mode) .topbar{height:64px;min-height:64px;padding:8px 14px}
  body:not(.auth-entry):not(.admin-mode) .topbar .brand{font-size:17px}
  body:not(.auth-entry):not(.admin-mode) .top-actions #logoutButton::before{content:none}
  body:not(.auth-entry):not(.admin-mode) .top-actions #logoutButton{background:#edf5fc url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%23275577' stroke-width='1.7'%3E%3Cpath d='M9 4H4v16h5M14 8l4 4-4 4M8 12h10'/%3E%3C/svg%3E") center/22px no-repeat}
  body:not(.auth-entry):not(.admin-mode) .top-actions select{min-height:42px;width:86px;max-width:86px;font-size:13px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock{left:10px;right:10px;background:rgba(255,255,255,.98);border-color:#c9e0f2;box-shadow:0 3px 24px #1c568424}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button{min-height:54px;color:#597c99}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{font-size:12px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{color:inherit}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button.active{color:#0c64b3;background:#e4f3ff;border-color:#c3e6fc}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu{gap:8px;margin-bottom:14px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu button{min-height:98px;padding:12px 3px;border-radius:14px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu strong{font-size:14px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu small{display:none}
  body:not(.auth-entry):not(.admin-mode) .company-profile-hero{grid-template-columns:1fr;border-radius:18px;margin-bottom:14px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-media{min-height:0;aspect-ratio:5/2}
  body:not(.auth-entry):not(.admin-mode) .company-profile-media img{min-height:0;aspect-ratio:5/2;object-position:35% center}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy{padding:19px 20px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy h1{max-width:19ch;font-size:28px;line-height:1.15}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy .company-profile-lead{font-size:15px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy .eyebrow{font-size:10px;letter-spacing:.11em}
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:6px}
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action{min-height:96px;padding:8px 3px}
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action strong{font-size:14px}
  body:not(.auth-entry):not(.admin-mode) .member-home-wallet .wallet-heading .muted{font-size:14px}
  body:not(.auth-entry):not(.admin-mode) #lobby>.member-home-wallet{padding:16px}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-lobby{padding:14px}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-grid{gap:10px!important}
  body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-lobby{padding:14px}
  body:not(.auth-entry):not(.admin-mode) .payment-option{min-height:150px;padding:16px}
  body:not(.auth-entry):not(.admin-mode) .payment-option strong{font-size:20px}
}
@media(max-width:360px){
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action strong{font-size:12px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{font-size:10px}
}

body:not(.auth-entry):not(.admin-mode) .provider-account-picker{display:grid;gap:8px;margin-top:16px;font-size:16px;font-weight:600;}
body:not(.auth-entry):not(.admin-mode) .provider-account-select{width:100%;min-height:48px;padding:10px 12px;border:1px solid #b8d9ec;border-radius:12px;background:#fff;color:#12354d;font-size:16px;}

body:not(.auth-entry):not(.admin-mode) #apiSupplierLobby{background:#f0f8ff!important;border-color:#c9dfef!important;}
body:not(.auth-entry):not(.admin-mode) #apiSupplierTitle{color:#12354d!important;}
body:not(.auth-entry):not(.admin-mode) #apiSupplierLobby .muted{color:#526f84!important;}
body:not(.auth-entry):not(.admin-mode) #apiSupplierButtons .api-supplier-button.connected,
body:not(.auth-entry):not(.admin-mode) #apiSupplierButtons .api-supplier-button.pending{background:#fff!important;color:#12354d!important;border-color:#bbd9eb!important;}
body:not(.auth-entry):not(.admin-mode) #providers .platform-entry-status{background:#f8fcff!important;border-color:#c9dfef!important;}
body:not(.auth-entry):not(.admin-mode) #providers .platform-entry-copy h2{color:#12354d!important;}
body:not(.auth-entry):not(.admin-mode) #providers .platform-entry-copy p{color:#526f84!important;}

/* V17.156 customer-shell polish. This final layer resolves older theme
   collisions without changing payment or game availability state. */
body:not(.auth-entry):not(.admin-mode){
  --member-blue:#1269b8;
  --member-water:#5ecdf0;
  --member-soft:#eef8ff;
  --member-border:#cfe4f3;
  --member-shadow:0 12px 34px rgba(22,78,119,.10);
  background:
    radial-gradient(circle at 92% 0,rgba(92,205,240,.2),transparent 26rem),
    linear-gradient(180deg,#effaff 0,#f8fbff 34rem,#f6f9fd 100%);
}
body:not(.auth-entry):not(.admin-mode) .demo-ribbon{
  padding:7px 14px;border:0;background:linear-gradient(90deg,#0b4f8d,#1479c9 58%,#1ba6cb);color:#fff;font-size:11px;letter-spacing:.09em;
}
body:not(.auth-entry):not(.admin-mode) .topbar{box-shadow:0 8px 26px rgba(21,76,116,.08)}
body:not(.auth-entry):not(.admin-mode) .brand-logo{filter:drop-shadow(0 5px 11px rgba(12,85,153,.24))}
body:not(.auth-entry):not(.admin-mode) .button,
body:not(.auth-entry):not(.admin-mode) button{transition:transform .16s ease,border-color .16s ease,background .16s ease,box-shadow .16s ease}
body:not(.auth-entry):not(.admin-mode) button:active{transform:translateY(1px)}
body:not(.auth-entry):not(.admin-mode) :is(button,a,input,select,textarea):focus-visible{outline:3px solid rgba(30,151,220,.38);outline-offset:2px}

body:not(.auth-entry):not(.admin-mode) .member-service-menu{gap:14px}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button{
  position:relative;overflow:hidden;min-height:118px;border-color:var(--member-border);background:linear-gradient(145deg,#fff,#f1f9ff);box-shadow:var(--member-shadow)
}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button::after{
  content:"";position:absolute;right:-30px;bottom:-38px;width:92px;height:92px;border-radius:50%;background:rgba(80,194,233,.1)
}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button>span{width:50px;height:50px;border-radius:16px;background:linear-gradient(145deg,#dff5ff,#edf7ff);box-shadow:inset 0 0 0 1px #cae9f8}
body:not(.auth-entry):not(.admin-mode) .member-service-menu strong{font-size:18px;line-height:1.2}

body:not(.auth-entry):not(.admin-mode) .company-profile-hero{overflow:hidden;box-shadow:var(--member-shadow)}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy{background:linear-gradient(145deg,#082d54,#0a436d);}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy h1{letter-spacing:-.025em}
body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview{padding:22px!important;border-radius:20px!important;box-shadow:var(--member-shadow)!important}
body:not(.auth-entry):not(.admin-mode) .casino-trust-row{display:flex;flex-wrap:wrap;gap:7px}
body:not(.auth-entry):not(.admin-mode) .casino-trust-row span{padding:6px 9px;border:1px solid #cfe5f4;border-radius:999px;background:#eef8ff;color:#2f709d;font-size:10px;font-weight:800;letter-spacing:.06em}
body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span{border-radius:14px}

body:not(.auth-entry):not(.admin-mode) .bonus-brand-grid{scroll-padding-inline:2px}
body:not(.auth-entry):not(.admin-mode) .bonus-brand-card{box-shadow:0 9px 25px rgba(25,76,112,.09)!important}
body:not(.auth-entry):not(.admin-mode) .bonus-brand-action,
body:not(.auth-entry):not(.admin-mode) .bonus-extra-action{min-height:42px;padding:9px 13px;border-radius:11px;font-size:12px}
body:not(.auth-entry):not(.admin-mode) .bonus-brand-action{border-color:#b8dcef;background:#eaf7ff;color:#1a638e}
body:not(.auth-entry):not(.admin-mode) .bonus-extra-action{border-color:#176eb0;background:#176eb0;color:#fff}
body:not(.auth-entry):not(.admin-mode) .sponsor-pagination{display:flex;justify-content:center;gap:7px;padding:12px 0 3px}
body:not(.auth-entry):not(.admin-mode) .sponsor-pagination span{width:7px;height:7px;border-radius:999px;background:#c4dbe9}
body:not(.auth-entry):not(.admin-mode) .sponsor-pagination .active{width:24px;background:#2588ca}

body:not(.auth-entry):not(.admin-mode) .api-supplier-lobby{border-radius:20px;box-shadow:var(--member-shadow)}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button{overflow:hidden;box-shadow:0 7px 20px rgba(28,76,108,.07)!important}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button:hover{border-color:#7fc9ef!important;box-shadow:0 10px 24px rgba(23,105,159,.13)!important}
body:not(.auth-entry):not(.admin-mode) .member-catalogue-status{margin:12px 0 18px;padding:13px 16px;border-radius:13px}

body:not(.auth-entry):not(.admin-mode) .payment-lobby{border-radius:22px;box-shadow:var(--member-shadow)}
body:not(.auth-entry):not(.admin-mode) .payment-grid{gap:10px}
body:not(.auth-entry):not(.admin-mode) .payment-option{min-height:132px;padding:17px;border-radius:16px;box-shadow:0 7px 20px rgba(30,81,119,.06)}
body:not(.auth-entry):not(.admin-mode) .payment-option strong{font-size:19px}
body:not(.auth-entry):not(.admin-mode) .cashier-bank-option{border-radius:16px;box-shadow:0 9px 22px rgba(12,91,136,.14)}

body.auth-entry #authDialog.customer-auth .auth-quick-actions-single{grid-template-columns:1fr}
body.auth-entry #authDialog.customer-auth .auth-quick-actions-single .auth-company-details{width:100%}

/* Customer guides follow the member palette. Backoffice guide styling remains
   scoped to body.admin-mode in the administrative theme. */
body:not(.auth-entry):not(.admin-mode) .feature-inline-guide{
  margin:16px 0 0;border:1px solid #cfe4f3;border-radius:15px;background:linear-gradient(145deg,#fff,#eef8ff);color:#274f6d;box-shadow:0 8px 22px rgba(22,78,119,.07)
}
body:not(.auth-entry):not(.admin-mode) .feature-inline-guide summary{
  padding:12px 14px;color:#1d618f;font-size:12px;font-weight:800;letter-spacing:.03em;cursor:pointer
}
body:not(.auth-entry):not(.admin-mode) .feature-inline-guide[open] summary{border-bottom:1px solid #d8eaf5;color:#115f99}
body:not(.auth-entry):not(.admin-mode) .feature-inline-guide p{margin:0;padding:9px 14px 0;color:#526f84;font-size:12px;line-height:1.55}
body:not(.auth-entry):not(.admin-mode) .feature-inline-guide p:last-child{padding-bottom:12px}

@media(max-width:760px){
  body:not(.auth-entry):not(.admin-mode){padding-bottom:calc(98px + env(safe-area-inset-bottom));font-size:16px}
  body:not(.auth-entry):not(.admin-mode) .page{padding:12px 12px calc(42px + env(safe-area-inset-bottom))}
  body:not(.auth-entry):not(.admin-mode) .topbar{height:62px;min-height:62px;padding:8px 12px}
  body:not(.auth-entry):not(.admin-mode) .topbar .brand{font-size:17px}
  body:not(.auth-entry):not(.admin-mode) .topbar .brand-logo{width:39px;height:39px;flex-basis:39px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock{left:8px;right:8px;bottom:calc(7px + env(safe-area-inset-bottom));min-height:70px;padding:6px 5px;border-radius:20px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock:not(:has([data-section="deposit"]:not([hidden]))){grid-template-columns:repeat(4,minmax(0,1fr))}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button{min-height:56px;border-radius:15px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>span{font-size:22px}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{font-size:11px;font-weight:750;letter-spacing:-.01em}

  body:not(.auth-entry):not(.admin-mode) .member-service-menu{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-bottom:14px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu button{min-height:104px;padding:13px 8px;border-radius:17px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu button>span{width:46px;height:46px;font-size:27px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu strong{font-size:16px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu small{display:block;font-size:11px}

  body:not(.auth-entry):not(.admin-mode) .company-profile-hero{position:relative;display:block;min-height:235px;margin-bottom:14px;border-radius:20px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-media{min-height:235px;aspect-ratio:auto}
  body:not(.auth-entry):not(.admin-mode) .company-profile-media img{min-height:235px;height:235px;aspect-ratio:auto;object-position:31% center}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy{position:absolute;inset:0;justify-content:flex-end;padding:64px 18px 18px;background:linear-gradient(180deg,rgba(2,23,45,.06) 15%,rgba(4,35,64,.93) 72%,#062b50 100%)}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy h1{max-width:14ch;margin-bottom:7px;font-size:25px;line-height:1.08}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy .company-profile-lead{margin:0;color:#d2f4ff;font-size:14px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy .eyebrow{margin-bottom:5px;color:#94e6ff;font-size:9px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-about{display:none}

  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview{gap:13px;padding:17px!important}
  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview h1{font-size:25px!important;line-height:1.1}
  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview h1{color:#173f60!important}
  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview .muted{color:#526f84!important}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span{min-height:66px;padding:10px 5px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary strong{font-size:23px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary small{font-size:9px}

  body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-card{flex-basis:88vw!important;min-height:0!important}
  body:not(.auth-entry):not(.admin-mode) .bonus-brand-card .bonus-btn-bottom{gap:8px}
  body:not(.auth-entry):not(.admin-mode) .bonus-brand-action,
  body:not(.auth-entry):not(.admin-mode) .bonus-extra-action{flex:1;min-height:44px;font-size:12px}
  body:not(.auth-entry):not(.admin-mode) .game-category-chip{min-height:46px;padding:10px 14px;font-size:13px}
  body:not(.auth-entry):not(.admin-mode) .platform-search input{min-height:48px}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-grid{gap:11px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button{padding:8px!important;border-radius:15px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button strong{font-size:15px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button small{font-size:12px!important}

  body:not(.auth-entry):not(.admin-mode) #deposit .payment-grid{grid-template-columns:1fr;gap:9px}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option{display:grid;grid-template-columns:38px minmax(0,1fr) auto;grid-template-rows:auto auto;align-items:center;gap:3px 10px;min-height:94px;padding:13px 14px}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option .payment-number{grid-row:1/3;align-self:center;font-size:12px}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option strong{font-size:18px;line-height:1.2}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option .payment-hint{grid-column:2;font-size:12px}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option .payment-state{grid-column:3;grid-row:1/3;align-self:center;white-space:nowrap;font-size:11px}
  body:not(.auth-entry):not(.admin-mode) .cashier-bank-option{min-height:96px!important;padding:14px!important}
}

@media(max-width:370px){
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{font-size:10px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu small{display:none}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option{grid-template-columns:30px minmax(0,1fr);}
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option .payment-state{grid-column:2;grid-row:3;justify-self:start;margin-top:4px}
}

/* Premium mobile finish. Presentation only: payment and game readiness still
   comes from the existing API state and no disabled action is promoted. */
body:not(.auth-entry):not(.admin-mode){
  --premium-navy:#08345f;
  --premium-blue:#126db7;
  --premium-water:#5ecdf0;
  --premium-ice:#effaff;
  --premium-white:#fff;
  --premium-line:#cbe4f3;
  --premium-shadow:0 12px 32px rgba(19,77,119,.11);
}
body:not(.auth-entry):not(.admin-mode) .topbar{
  border-bottom-color:rgba(121,183,220,.42);
  background:rgba(255,255,255,.94);
  -webkit-backdrop-filter:blur(18px);
  backdrop-filter:blur(18px);
}
body:not(.auth-entry):not(.admin-mode) .brand span{
  color:var(--premium-navy);
  font-weight:850;
  letter-spacing:.1em;
}
body:not(.auth-entry):not(.admin-mode) .brand small{color:#5e8098;letter-spacing:.13em}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button,
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action{
  border-color:var(--premium-line);
  background:
    radial-gradient(circle at 105% 110%,rgba(94,205,240,.18),transparent 45%),
    linear-gradient(145deg,#fff 12%,#f3faff 100%);
  box-shadow:var(--premium-shadow);
}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button:hover,
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action:hover{
  border-color:#7fc9ed;
  background:linear-gradient(145deg,#fff,#e9f7ff);
}
body:not(.auth-entry):not(.admin-mode) .member-service-menu button>span,
body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action>span{
  color:#0d70bd;
  background:linear-gradient(145deg,#e4f7ff,#f5fbff);
  box-shadow:inset 0 0 0 1px #bfe5f7,0 6px 16px rgba(22,111,174,.10);
}
body:not(.auth-entry):not(.admin-mode) .company-profile-hero{
  border:1px solid rgba(102,189,231,.48);
  box-shadow:0 18px 42px rgba(4,46,81,.18);
}
body:not(.auth-entry):not(.admin-mode) .company-profile-copy{
  background:linear-gradient(145deg,#062c52,#07507d);
}
body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview,
body:not(.auth-entry):not(.admin-mode) .api-supplier-lobby,
body:not(.auth-entry):not(.admin-mode) .payment-lobby{
  border-color:var(--premium-line)!important;
  background:
    radial-gradient(circle at 100% 0,rgba(94,205,240,.13),transparent 34%),
    #fff!important;
  box-shadow:var(--premium-shadow)!important;
}
body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span{
  border:1px solid #d4eaf6;
  background:linear-gradient(145deg,#f8fdff,#edf8ff);
}
body:not(.auth-entry):not(.admin-mode) .game-category-filters{
  scrollbar-width:none;
  -ms-overflow-style:none;
}
body:not(.auth-entry):not(.admin-mode) .game-category-filters::-webkit-scrollbar{display:none}
body:not(.auth-entry):not(.admin-mode) .game-category-chip{
  border-color:#c7e2f2;
  background:rgba(255,255,255,.92);
  color:#315f7f;
  box-shadow:0 5px 16px rgba(21,75,112,.06);
}
body:not(.auth-entry):not(.admin-mode) .game-category-chip.active{
  border-color:#176db8;
  background:linear-gradient(120deg,#126db7,#199acb);
  color:#fff;
  box-shadow:0 8px 20px rgba(20,113,183,.22);
}
body:not(.auth-entry):not(.admin-mode) .platform-search input{
  border-color:#c8e2f1;
  background:#fff;
  box-shadow:0 8px 22px rgba(20,75,113,.08);
}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button{
  border-color:#d0e5f2!important;
  background:linear-gradient(150deg,#fff,#f0f9ff)!important;
  box-shadow:0 9px 24px rgba(18,77,118,.09)!important;
}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button.connected,
body:not(.auth-entry):not(.admin-mode) .api-supplier-button.playable{
  border-color:#9ed7eb!important;
  background:linear-gradient(150deg,#fff,#e9f9ff)!important;
}
body:not(.auth-entry):not(.admin-mode) .api-supplier-art{
  background:linear-gradient(145deg,#eaf8ff,#fff);
  box-shadow:inset 0 0 0 1px rgba(172,215,237,.6);
}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button strong{color:#123f64!important}
body:not(.auth-entry):not(.admin-mode) .api-supplier-button small{color:#5d7c91!important}

@media(max-width:760px){
  body:not(.auth-entry):not(.admin-mode){
    padding-bottom:calc(96px + env(safe-area-inset-bottom));
    background:
      radial-gradient(circle at 100% 0,rgba(94,205,240,.26),transparent 22rem),
      linear-gradient(180deg,#effaff 0,#f7fbff 32rem,#f4f8fc 100%);
  }
  body:not(.auth-entry):not(.admin-mode) .topbar{
    position:sticky;
    top:0;
    z-index:40;
    height:64px;
    min-height:64px;
    padding:8px 12px;
  }
  body:not(.auth-entry):not(.admin-mode) .topbar .brand-logo{width:40px;height:40px;flex-basis:40px}
  body:not(.auth-entry):not(.admin-mode) .topbar .brand{font-size:17px}
  body:not(.auth-entry):not(.admin-mode) .top-actions :is(select,#loginButton,#logoutButton){min-height:44px}
  body:not(.auth-entry):not(.admin-mode) .top-actions #loginButton{padding-inline:15px;border-radius:13px}

  body:not(.auth-entry):not(.admin-mode) .mobile-dock{
    z-index:55;
    left:8px;
    right:8px;
    bottom:calc(7px + env(safe-area-inset-bottom));
    min-height:70px;
    padding:6px;
    border:1px solid rgba(151,204,233,.75);
    border-radius:22px;
    background:rgba(255,255,255,.96);
    box-shadow:0 16px 42px rgba(5,49,82,.24);
    -webkit-backdrop-filter:blur(18px);
    backdrop-filter:blur(18px);
  }
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button{
    min-height:57px;
    padding:4px 2px;
    border-radius:16px;
    color:#52738c;
  }
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>span{
    display:grid;
    place-items:center;
    width:30px;
    height:30px;
    border-radius:10px;
    color:#1c75b7;
    background:#eaf7ff;
    font-size:18px;
  }
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button>small{font-size:12px;font-weight:800}
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button.active{
    border-color:#b9ddf2;
    background:linear-gradient(145deg,#e6f6ff,#f6fcff);
    color:#075a9b;
    box-shadow:inset 0 0 0 1px #e8f8ff;
  }
  body:not(.auth-entry):not(.admin-mode) .mobile-dock-button.active>span{
    color:#fff;
    background:linear-gradient(145deg,#126db7,#1ba7ce);
    box-shadow:0 5px 12px rgba(17,109,179,.22);
  }

  body:not(.auth-entry):not(.admin-mode) .member-service-menu{gap:11px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu button{
    min-height:108px;
    padding:13px 8px;
    border-radius:19px;
  }
  body:not(.auth-entry):not(.admin-mode) .member-service-menu button>span{width:48px;height:48px;font-size:27px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu strong{font-size:16px}
  body:not(.auth-entry):not(.admin-mode) .member-service-menu small{font-size:11px}

  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:10px;
  }
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action{
    min-height:104px;
    padding:12px 8px;
    border-radius:17px;
  }
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action>span{width:44px;height:44px;border-radius:14px}
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action strong{font-size:16px}
  body:not(.auth-entry):not(.admin-mode) .wallet-quick-grid .wallet-primary-action small{font-size:12px}

  body:not(.auth-entry):not(.admin-mode) .company-profile-hero{min-height:228px;border-radius:21px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-media,
  body:not(.auth-entry):not(.admin-mode) .company-profile-media img{min-height:228px;height:228px}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy{
    padding:58px 18px 18px;
    background:linear-gradient(180deg,rgba(2,20,41,.05) 8%,rgba(3,32,60,.82) 58%,#05375f 100%);
  }
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy h1{max-width:15ch;font-size:27px;line-height:1.06}
  body:not(.auth-entry):not(.admin-mode) .company-profile-copy .company-profile-lead{font-size:14px}

  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview{padding:17px!important;border-radius:19px!important}
  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview .casino-hero-stage{display:none!important}
  body:not(.auth-entry):not(.admin-mode) #lobby>.lobby-overview h1{font-size:26px!important;letter-spacing:-.025em}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary{gap:8px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary span{min-height:70px;border-radius:15px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary strong{font-size:24px}
  body:not(.auth-entry):not(.admin-mode) .lobby-live-summary small{font-size:10px;letter-spacing:.07em}

  body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-grid{
    display:flex!important;
    gap:10px;
    overflow-x:auto;
    scroll-snap-type:x mandatory;
    scrollbar-width:none;
  }
  body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-grid::-webkit-scrollbar{display:none}
  body:not(.auth-entry):not(.admin-mode) .lobby-secondary-content .bonus-brand-card{
    flex:0 0 86%;
    scroll-snap-align:start;
    border-radius:18px!important;
  }
  body:not(.auth-entry):not(.admin-mode) .bonus-brand-action,
  body:not(.auth-entry):not(.admin-mode) .bonus-extra-action{min-height:44px;font-size:12px}

  body:not(.auth-entry):not(.admin-mode) .game-category-filters{padding:3px 1px 10px;gap:8px}
  body:not(.auth-entry):not(.admin-mode) .game-category-chip{min-height:46px;padding:10px 15px;font-size:13px}
  body:not(.auth-entry):not(.admin-mode) .platform-search input{min-height:50px;border-radius:14px;font-size:16px}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-lobby{padding:15px 12px;border-radius:20px}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button{
    min-height:170px!important;
    padding:8px!important;
    grid-template-rows:105px auto!important;
    border-radius:17px!important;
  }
  body:not(.auth-entry):not(.admin-mode) .api-supplier-art{height:105px!important;border-radius:12px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button strong{font-size:15px!important;line-height:1.25}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button small{font-size:12px!important;line-height:1.3}

  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option{
    min-height:98px;
    border-radius:17px;
    box-shadow:0 9px 24px rgba(18,77,118,.08);
  }
  body:not(.auth-entry):not(.admin-mode) #deposit .payment-option strong{font-size:18px}
}

@media(max-width:370px){
  body:not(.auth-entry):not(.admin-mode) .api-supplier-grid{gap:8px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button{min-height:154px!important;grid-template-rows:90px auto!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-art{height:90px!important}
  body:not(.auth-entry):not(.admin-mode) .api-supplier-button strong{font-size:14px!important}
}
