/* Xbahis account/menu details. Keep layout stable when the soft keyboard opens. */
.xb-theme { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
.xb-header-actions:has(.xb-user-button) { gap: 6px; }
.xb-header-actions .xb-user-button { width: 26px; height: 26px; }
.xb-header-actions .xb-user-button .xb-icon { font-size: 26px; color: #b4b4ba; }
.xb-header-actions .xb-more { width: 26px; height: 26px; background: #b4b4ba; color: #23232b; }
.xb-header-actions .xb-more .xb-icon { font-size: 18px; transform: rotate(90deg); }
.xb-quick { position: fixed; top: calc(var(--xb-header-height) - 14px); right: 8px; width: 50px; min-width: 0; padding: 0; border: 0; border-radius: 0 0 5px 5px; background: #2e2e36; box-shadow: 0 6px 12px #0003; max-height: calc(100svh - var(--xb-header-height) - 10px); overflow: visible; }
.xb-quick::before { content: ''; position: absolute; top: -6px; right: 19px; width: 12px; height: 6px; background: var(--accent-green); clip-path: polygon(50% 0,100% 100%,0 100%); }
.xb-quick>a,.xb-quick>button { display: flex; align-items: center; justify-content: center; width: 50px; height: 56px; min-height: 56px; padding: 0; margin: 0; border: 0; border-radius: 0; background: transparent; color: #d6d6da; text-decoration: none; }
.xb-quick .xb-icon { font-size: 18px; line-height: 1; }
.xb-quick>a:hover,.xb-quick>button:hover,.xb-quick>a:focus-visible,.xb-quick>button:focus-visible { color: var(--accent-green); background: #ffffff0a; }
.xb-quick>a:last-child { border-radius: 0 0 5px 5px; }
.xb-page-account .xb-page-content:has(.xb-account-home) { padding: 19px 0 70px; }
.xb-wallet-rail { position: relative; width: 100%; justify-content: flex-start; gap: 16px; padding: 0 min(11.25vw,67.5px) 9px; scroll-padding-inline: min(11.25vw,67.5px); touch-action: pan-x pan-y; }
.xb-wallet-rail::-webkit-scrollbar { display: none; }
.xb-wallet-card { flex: 0 0 100%; width: 100%; max-width: none; height: 120px; min-height: 120px; padding: 10px 15px; border-radius: 10px; scroll-snap-align: center; scroll-snap-stop: always; background: linear-gradient(110deg,#ff8932,var(--accent-green)); }
.xb-wallet-card>span { font-size: 14px; line-height: 20px; }
.xb-wallet-card>strong { font-size: 20px; line-height: 22px; font-weight: 700; }
.xb-wallet-card>strong,.xb-wallet-card>span:first-child { padding-right: 44px; }
.xb-wallet-card.secondary { background: #53535f; }
.xb-theme .xb-wallet-card::after { content: '\e92c'; font-family: XbahisIcons; position: absolute; right: -4px; top: -8px; font-size: 64px; line-height: 1; opacity: .08; color: #fff; pointer-events: none; }
.xb-theme .xb-wallet-card.secondary::after { content: '\e94f'; }
.xb-wallet-card.secondary small { font-size: 12px; line-height: 16px; margin-top: 8px; }
.xb-wallet-card.secondary>span:last-of-type { font-size: 14px; line-height: 18px; }
.xb-wallet-actions { gap: 10px; margin-top: 8px; }
.xb-wallet-actions>a { height: 34px; min-height: 34px; font-size: 14px; gap: 10px; background: #ffffff26; }
.xb-wallet-actions .xb-icon { font-size: 18px; }
.xb-wallet-eye { top: 10px; right: 15px; width: 34px; height: 34px; color: #fff9; background: #ffffff15; z-index: 1; }
.xb-wallet-eye .xb-icon { font-size: 20px; }
.xb-wallet-card [data-xb-masked] { position: relative; }
.xb-wallet-card [data-xb-masked=true] { color: transparent; }
.xb-wallet-card [data-xb-masked=true]::after { content: '*******'; position: absolute; left: 0; top: 0; color: #fff; font: inherit; letter-spacing: 1px; }
.xb-account-home>.xb-club,.xb-account-home>.xb-user-summary,.xb-account-home>.xb-promo,.xb-account-home>.xb-logout { margin-left: 7px; margin-right: 7px; }
html:has(.xb-auth-page) { overflow: hidden; overscroll-behavior: none; }
.xb-auth-page { --xb-auth-height: 100svh; --xb-visible-height: 100dvh; position: fixed; inset: 0; height: var(--xb-auth-height); min-height: 0; overflow: hidden; overscroll-behavior: none; transform: translateY(var(--xb-viewport-top,0px)); }
.xb-auth-page #xb-content { position: absolute; top: var(--xb-header-height); left: 0; right: 0; bottom: auto; height: calc(var(--xb-visible-height) - var(--xb-header-height) - 2px); min-width: 0; overflow-y: auto; scrollbar-width: none; overscroll-behavior: contain; overflow-anchor: none; -webkit-overflow-scrolling: touch; }
.xb-auth-page .xb-auth-form { min-height: calc(var(--xb-auth-height) - var(--xb-header-height) - 2px); padding-top: clamp(90px,calc(var(--xb-auth-height) * .295),270px); padding-bottom: var(--xb-safe-bottom); }
.xb-auth-page .xb-auth-forgot { padding-top: clamp(40px,calc(var(--xb-auth-height) * .16),165px); }
.xb-auth-page .xb-registration { height: calc(var(--xb-visible-height) - var(--xb-header-height) - 2px); padding-bottom: var(--xb-safe-bottom); }
.xb-auth-page:has(.xb-registration) #xb-content { overflow: hidden; }
.xb-auth-page .xb-field,.xb-auth-page .xb-field>input,.xb-auth-page .xb-registration-phone { min-width: 0; max-width: 100%; }
.xb-auth-page .xb-field>input,.xb-auth-page .xb-field>select,.xb-auth-page .xb-field>textarea { font-size: 16px; line-height: 20px; scroll-margin-block: 70px 24px; }
.xb-auth-page input:focus-visible { outline: none; }
.xb-auth-page .xb-field input:-webkit-autofill { -webkit-text-fill-color: var(--text-primary); box-shadow: 0 0 0 1000px var(--bg-card) inset; caret-color: var(--text-primary); }
.xb-auth-page .xb-registration-scroll { scroll-padding-block: 16px 32px; overflow-anchor: none; -webkit-overflow-scrolling: touch; }
.xb-auth-page.xb-keyboard-open .xb-registration { height: calc(var(--xb-visible-height) - var(--xb-header-height) - 2px); padding-bottom: 0; }
.xb-auth-page.xb-keyboard-open .xb-registration-actions { padding-top: 10px; }
.xb-auth-page.xb-keyboard-open .xb-registration-actions .xb-auth-support { display: none; }
.xb-auth-page.xb-keyboard-open .xb-support { visibility: hidden; pointer-events: none; }
.xb-auth-page .xb-password-toggle { width: 36px; height: 36px; top: 8px; right: 7px; padding: 0; display: grid; place-items: center; }
.xb-auth-page .xb-password-toggle .xb-icon { font-size: 18px; }
.xb-auth-page .xb-field:has(.xb-password-toggle)>input { padding-right: 48px; }
@media (min-width:600px) { .xb-wallet-rail { max-width: 600px; margin-inline: auto; } }
@media (max-width:350px) { .xb-wallet-card { padding-inline: 12px; } .xb-wallet-actions { gap: 8px; } .xb-wallet-actions>a { font-size: 12px; gap: 5px; } .xb-wallet-eye { right: 12px; } }
@media (max-height:430px) { .xb-quick>a,.xb-quick>button { height: 40px; min-height: 40px; } }
