/* Dimensions and artwork captured from the mobile references, September 2026. */
.xb-theme .xb-logo,.xb-auth-page .xb-logo{width:100px;max-width:100px;flex:0 0 100px;height:46px}
.xb-theme .xb-logo img,.xb-auth-page .xb-logo img{width:100%;height:46px;max-width:100px;max-height:46px;object-fit:contain}
.xb-theme{--xb-header-height:calc(50px + var(--xb-safe-top))}
@media(max-width:360px){.xb-theme .xb-logo,.xb-auth-page .xb-logo{width:75px;max-width:75px;flex-basis:75px}.xb-theme .xb-logo img{max-width:75px}}
@media(max-width:350px){.xb-theme .xb-header{padding-left:17px;padding-right:7px}.xb-theme .xb-header-actions:not(:has(.xb-user-button)){gap:12px;transform:translateX(-1px)}.xb-theme .xb-header-actions:not(:has(.xb-user-button)) .xb-more{width:28px;height:28px;margin-left:-6px;background:#35353f;color:#a7a7af}}
.bw-quick-actions{height:38px;display:flex;align-items:center;gap:10px;padding:4px 18px;background:var(--xb-bg,#23232b)}
.bw-quick-actions>a,.bw-quick-actions>button{display:grid;place-items:center;border:1px solid #ff6a00;border-radius:5px;color:#ff6a00;width:24px;height:24px;background:#34343d;padding:0;font-size:14px;transition:background-color .15s,border-color .15s,color .15s}
.bw-quick-actions .bw-deposit{display:flex;align-items:center;justify-content:center;gap:4px;width:97px;height:26px;margin-right:auto;background:#ff7500;color:#fff;border-color:#ff7500;font-size:10px;font-weight:700;white-space:nowrap}
.bw-quick-actions>a:hover,.bw-quick-actions>button:hover,.bw-quick-actions>a:active,.bw-quick-actions>button:active{background:#ff8a2a;border-color:#ff8a2a;color:#fff}
.bw-quick-actions>a:focus-visible,.bw-quick-actions>button:focus-visible{outline:2px solid #ff8a2a;outline-offset:3px}
.xb-jackpot{position:relative;margin:0 10px 16px;padding-top:22px;color:#fff}
.xb-jackpot:before{content:"";position:absolute;right:20px;top:0;width:136px;height:40px;background:url('widgets/sport.png') center/contain no-repeat;pointer-events:none;z-index:1}
.xb-jackpot:after{content:"";position:absolute;right:0;top:0;width:200px;height:120px;background:url('widgets/sport-blur.png') center/contain no-repeat;pointer-events:none}
.xb-jackpot-card{position:relative;padding:8px;border-radius:8px;background:linear-gradient(0deg,#ffffff0a,#ffffff0a),linear-gradient(0deg,#ff650000 0%,#ff65001f 95%)}
.xb-jackpot-card:before{content:"";position:absolute;top:0;left:0;right:0;height:1px;background:linear-gradient(90deg,#f900 10%,#edd271 40%,#f90 60%,#ffa826 80%,#f900)}
.xb-jackpot-card header{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;position:relative;z-index:2}
.xb-jackpot-card h2{font:600 12px/16px Roboto,sans-serif;margin:0;color:#fff}
.xb-jackpot-card header button{padding:0;border:0;background:none;width:16px;height:16px;display:flex}
.xb-jackpot-card header img{width:16px;height:16px;opacity:.64}
.xb-jackpot-pools{display:grid;grid-template-columns:1fr 1fr;gap:8px;position:relative;z-index:1}
.xb-jackpot-pool{border:0;border-radius:8px;padding:4px 8px;display:flex;align-items:center;gap:4px;text-align:left;background:#ffffff14;color:white;min-width:0}
.xb-jackpot-mega{grid-column:1/-1;justify-content:center}.xb-jackpot-pool img{width:24px;height:24px;object-fit:contain}.xb-jackpot-pool span{display:flex;flex-direction:column}.xb-jackpot-pool small{font:400 10px/14px Roboto,sans-serif;color:#ffffffa3}.xb-jackpot-pool strong{font:600 12px/16px Roboto,sans-serif;white-space:nowrap}
.bw-sheet{color:#fff;background:#23232b;border:1px solid #ffffff14;border-bottom:0;border-radius:14px 14px 0 0;padding:0;margin:auto auto 0;width:100%;max-width:540px;max-height:calc(100dvh - 24px);height:min(80dvh,calc(100dvh - 24px));overflow:hidden;box-sizing:border-box}
.bw-sheet[open]{display:flex;flex-direction:column;animation:bw-enter .22s ease-out}.bw-sheet::backdrop{background:#000a;backdrop-filter:blur(5px)}
.bw-sheet-header{padding:16px 16px 18px;flex-shrink:0}.bw-sheet h2{font:600 16px/24px Roboto,sans-serif;margin:16px 0 0}.bw-drag-handle{display:block;margin:0 auto;width:32px;height:4px;padding:0;border:0;background:var(--xb-orange,#ff6500);border-radius:1px;position:relative}.bw-drag-handle:after{content:"";position:absolute;inset:-12px}
.bw-sheet-content{overflow:auto;overscroll-behavior:contain;padding:0 16px 16px;min-height:0;flex:1}
.bw-pool-details{margin-bottom:8px}.bw-pool-details summary{list-style:none;border-radius:8px;background:#ffffff14;display:flex;align-items:center;gap:8px;padding:12px;cursor:pointer}.bw-pool-details summary::-webkit-details-marker{display:none}.bw-pool-details summary>img{width:48px;height:48px;object-fit:contain}.bw-pool-details summary>span{flex:1;display:flex;flex-direction:column;gap:2px}.bw-pool-details summary small{font-size:14px;color:#ffffffa3}.bw-pool-details summary strong{font-size:18px;line-height:24px}.bw-pool-details[open] summary>.xb-icon{transform:rotate(180deg)}
.bw-pool-stats{border-radius:8px;background:#ffffff14;margin-top:8px;padding:12px;font:400 14px/20px Roboto,sans-serif}.bw-stat-totals{display:flex;justify-content:space-between;gap:4px}.bw-stat-totals>span{display:flex;flex-direction:column;font-size:13px}.bw-stat-totals>span:nth-child(2){text-align:center}.bw-stat-totals>span:last-child{text-align:right}.bw-pool-stats small{color:#ffffff7a;font-size:12px}.bw-stat-winner{border-top:1px solid #ffffff1f;margin-top:8px;padding-top:8px;display:flex;flex-direction:column;gap:4px}.bw-stat-winner>div{display:flex;justify-content:space-between;gap:4px}.bw-stat-winner time,.bw-stat-winner>span:last-child{font-size:12px;color:#ffffffcc}
.bw-sheet-footer{padding:16px;border-top:1px solid #ff65002b;flex-shrink:0}.bw-sheet-footer a{display:block;border-radius:24px;background:#ffffff14;text-align:center;color:white;padding:8px;font-size:14px;line-height:20px}
.bw-hot-section{margin:24px 4px 20px;color:#fff;font-family:Roboto,sans-serif}.bw-periods{display:flex;gap:8px;margin:0 0 28px 12px}.bw-periods button{border:1px solid transparent;border-radius:24px;padding:7px 14px;background:#ffffff14;color:#ffffffa3;font-size:12px}.bw-periods button[aria-pressed=true]{background:#ff650020;border-color:var(--xb-orange,#ff6500);color:white}
.bw-hot{position:relative}.bw-hot:before{content:"";position:absolute;right:3px;top:-19px;width:193px;height:118px;background:url('widgets/hotElements.png') center/contain no-repeat;pointer-events:none;z-index:1}.bw-hot-flame{position:absolute;right:24px;top:-8px;width:55px;height:52px;object-fit:contain;z-index:3;pointer-events:none}
.bw-hot-inner{position:relative;border-radius:16px;background:#ffffff0a;padding:16px}.bw-hot-inner:before{content:"";position:absolute;right:0;top:0;width:550px;max-width:100%;height:550px;background:url('widgets/hotBlurEffect.png') center/contain no-repeat;filter:blur(50px);z-index:0;pointer-events:none}.bw-hot-inner:after{content:"";position:absolute;inset:0;border-radius:inherit;padding:1.5px;background:conic-gradient(from var(--bw-angle),transparent 0deg,#ffd24d 30deg,#ff4e00 60deg,transparent 90deg,transparent 180deg,#ffd24d 210deg,#ff4e00 240deg,transparent 270deg,transparent 360deg);mask:linear-gradient(#000 0 0) content-box exclude,linear-gradient(#000 0 0);pointer-events:none;animation:bw-border 15s linear infinite}
@property --bw-angle{syntax:'<angle>';inherits:false;initial-value:0deg}@keyframes bw-border{to{--bw-angle:360deg}}
.bw-hot h2{position:relative;z-index:1;margin:0 0 8px;font-size:16px;line-height:24px;font-weight:600}.bw-hot-grid{display:grid;gap:8px;position:relative;z-index:2}.bw-hot-card{position:relative;display:flex;gap:8px;padding:8px;background:#ffffff14;border-radius:8px;min-width:0}.bw-hot-card[hidden]{display:none}.bw-hot-play{flex-shrink:0}.bw-hot-play img{display:block;width:56px;height:56px;object-fit:cover;border-radius:4px}.bw-hot-info{display:flex;justify-content:center;flex-direction:column;gap:4px;flex:1;min-width:0}.bw-hot-info strong{font-size:18px;line-height:24px;font-weight:600}.bw-hot-info>span{color:#ffffffa3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;line-height:20px}.bw-hot-trend{padding:0;width:24px;height:24px;flex-shrink:0;border:0;border-radius:4px;background:#ffffff1f}.bw-hot-trend img{display:block;width:24px;height:24px}.bw-hot-tooltip{position:absolute;right:8px;top:38px;width:min(260px,calc(100% - 16px));padding:8px;border:1px solid #ffffff20;border-radius:8px;background:#34343d;box-shadow:0 6px 20px #0008;z-index:6;font-size:12px}.bw-hot-card:has(.bw-hot-tooltip:not([hidden])){z-index:5}.bw-hot-tooltip>strong{display:block;margin-bottom:8px}.bw-hot-tooltip>div{display:flex;justify-content:space-between;padding:4px;background:#ffffff0a;margin-top:4px}.bw-hot-more{position:relative;z-index:2;width:100%;margin-top:8px;border:0;border-radius:24px;background:#ffffff14;color:#fff;font-size:12px;padding:8px}
.bw-callback{height:auto;max-height:90dvh}.bw-callback-form{padding:0 16px 20px;overflow:auto}.bw-callback-form>p{color:#bcbcc5;font-size:14px}.bw-callback-form>label{display:block;font-size:14px;margin-bottom:8px}.bw-callback-form>input[type=tel]{width:100%;height:46px;border:1px solid #ffffff26;background:#ffffff0a;border-radius:8px;padding:10px;color:white;font-size:16px;margin-bottom:16px}.bw-callback-form .bw-consent{display:flex;align-items:center;gap:8px}.bw-consent input{accent-color:var(--xb-orange,#ff6500)}.bw-submit{width:100%;border:0;border-radius:8px;background:var(--xb-orange,#ff6500);color:#fff;padding:12px;font-size:14px;margin-top:12px}.bw-submit:disabled{opacity:.6}.bw-callback-status{padding:12px;background:#3baa3922;border-radius:8px;color:#b5efb7!important}.bw-callback-status.is-error{background:#d33a;color:white!important}
@keyframes bw-enter{from{transform:translateY(100%)}to{transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){.bw-sheet[open],.bw-hot-inner:after{animation:none}}

.bw-quick-actions .xb-icon{font-size:14px!important}.bw-pool-details summary>.xb-icon{font-size:16px!important}
/* Match the Xbahis vertical menu toggle: dark tile with a light vertical mark. */
.xb-theme .xb-header-actions .xb-more{width:28px;height:28px;border:0;border-radius:4px;background:#393941;color:#d7d7d9}
.xb-theme .xb-header-actions .xb-more .xb-icon{font-size:18px;color:inherit;transform:none}
.bw-hot-card:nth-child(-n+2){backdrop-filter:blur(6px)}
/* Mobile Xbahis header buttons measured from the reference. */
.xb-theme .xb-header-actions{gap:12px}
.xb-theme .xb-login-button,.xb-theme .xb-register-button{box-sizing:border-box;flex:0 0 auto;height:30px;min-height:30px;padding:0;border-radius:6px;font:500 12px Roboto,Arial,Helvetica,sans-serif;letter-spacing:normal;text-transform:uppercase;color:#fff;box-shadow:none}
.xb-theme .xb-login-button{width:72px;border:1px solid #ff6500;background:transparent}
.xb-theme .xb-register-button{width:82px;border:1px solid #2e2e36;background:#ff6500}
