/* Mobile geometry only: template logos, palettes and tab contents remain owned by each skin. */
@media(max-width:767px){
html body.modal-open :is(.mobile-bottommenu,#sc-reward-center-link,#scMango1Language,[data-stream-language-switcher="1"]){visibility:hidden!important;pointer-events:none!important}
html body :is(#modalInfo,#modalInfoMobile) .modal-dialog{width:calc(100% - 16px)!important;max-width:calc(100vw - 16px)!important;min-width:0!important;margin:8px auto!important}
html body :is(#modalInfo,#modalInfoMobile) .modal-content{min-width:0!important;max-width:100%!important;max-height:calc(100dvh - 16px)!important;display:flex!important;flex-direction:column!important}
html body :is(#modalInfo,#modalInfoMobile) .modal-body{min-width:0!important;min-height:0!important;max-height:calc(100dvh - 72px)!important;overflow:auto!important;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}
html body #modalInfo[id] .modal-body .nav.nav-pills{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:6px!important;overflow:visible!important;padding:0!important;margin:0 0 12px!important;width:100%!important}
html body #modalInfo[id] .modal-body .nav.nav-pills .nav-item{display:block!important;flex:0 0 auto!important;margin:0!important;padding:0!important}
html body #modalInfo[id] .modal-body .nav.nav-pills .nav-link{display:block!important;width:auto!important;min-height:40px!important;margin:0!important;padding:8px 10px!important;font-size:14px!important;line-height:1.4!important;white-space:nowrap!important}
html body :is(#modalInfo,#modalInfoMobile,#blgeMemberPanelModal,#m2StreamInfoDialog) :is(input,select,textarea){max-width:100%!important;min-width:0!important;font-size:16px!important}
}
@media(max-width:767px){html body #modalInfo[id] .modal-body .nav.nav-pills .nav-item{width:auto!important;min-width:max-content!important;max-width:none!important;overflow:visible!important}html body #modalInfo[id] .modal-body .nav.nav-pills .nav-link{max-width:none!important;overflow:visible!important;text-overflow:clip!important}}
@media(max-width:767px){html body #modalInfoMobile[id] .stream-mobile-info-tabs{display:flex!important;flex-wrap:wrap!important;gap:4px!important;padding:0 0 10px!important;overflow:visible!important}html body #modalInfoMobile[id] .stream-mobile-info-tabs button{flex:0 1 auto!important;min-width:0!important;max-width:100%!important;padding:8px 10px!important;white-space:nowrap!important}html body :is(#modalInfo,#modalInfoMobile,#blgeMemberPanelModal,#m2StreamInfoDialog) .stream-template-table{width:100%!important;max-width:100%!important;min-width:0!important;table-layout:fixed!important}html body :is(#modalInfo,#modalInfoMobile,#blgeMemberPanelModal,#m2StreamInfoDialog) .stream-template-table :is(th,td){min-width:0!important;padding:8px 6px!important;overflow-wrap:anywhere!important;white-space:normal!important}}
@media(max-width:767px){
html body[data-panel=member] .app-shell{display:block!important;width:100%!important;min-width:0!important}
html body[data-panel=member] .app-shell>.sidebar{position:fixed!important;inset:0 auto 0 0!important;width:min(300px,calc(100vw - 48px))!important;max-width:calc(100vw - 48px)!important;height:100dvh!important;overflow:auto!important;z-index:100001!important;transform:translateX(-102%)!important;visibility:hidden!important;transition:transform .18s ease}
html body[data-panel=member].sc-member-menu-open .app-shell>.sidebar{transform:translateX(0)!important;visibility:visible!important}
html body[data-panel=member] .app-shell>.main{width:100%!important;min-width:0!important;margin:0!important}
html body[data-panel=member] .main>.topbar{display:flex!important;flex-wrap:wrap!important;gap:8px!important;padding:10px!important;min-width:0!important;height:auto!important;min-height:54px!important}
html body[data-panel=member] .top-actions{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;max-width:100%!important}
html body[data-panel=member] .content{padding:12px!important;min-width:0!important}
html body[data-panel=member] .content :is(input,select,textarea){max-width:100%!important;min-width:0!important;font-size:16px!important;box-sizing:border-box!important}
html body[data-panel=member] #sc-reward-center-link{position:static!important;display:table!important;margin:12px auto!important}
#scMemberMenuBackdrop{position:fixed!important;inset:0!important;width:100vw!important;height:100dvh!important;z-index:100000!important;background:#0009!important;border:0!important;border-radius:0!important;box-shadow:none!important;display:none!important}
body.sc-member-menu-open #scMemberMenuBackdrop{display:block!important}
body.sc-member-menu-open{overflow:hidden!important}
}
@media(max-width:767px){html body[data-panel=member] .content .card label{color:inherit!important}html body[data-panel=member] .content .card :is(input,select,textarea){background:rgba(255,255,255,.065)!important;color:inherit!important}}
@media(max-width:767px){
html body.sp-body #sc-reward-center-link{bottom:76px!important}
html body.sp-body.mobile-cart-open #sc-reward-center-link,html body.sp-body.mobile-cart-open #mobileCartToggle{visibility:hidden!important;pointer-events:none!important}
html body.sp-body.mobile-cart-open .bet-panel.mobile-open{display:block!important;position:fixed!important;inset:auto 8px 8px!important;left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:auto!important;min-width:0!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 32px)!important;height:auto!important;margin:0!important;overflow:auto!important;z-index:100005!important;transform:none!important}
html body.sp-body.mobile-cart-open #mobileCartBackdrop{z-index:100004!important}
html body.sp-body .bet-panel .quick-amounts{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:5px!important}
html body.sp-body .bet-panel .quick-amounts button{min-width:0!important;width:100%!important;padding:7px 4px!important;font-size:12px!important;white-space:normal!important;overflow-wrap:anywhere!important}
html body.sp-body .bet-panel .sc-mobile-cart-close{display:inline-flex!important;align-items:center;justify-content:center;min-width:36px;min-height:36px;font-size:22px}
}
@media(min-width:768px){.sc-mobile-cart-close{display:none!important}}
@media(max-width:767px){html body.sp-body.mobile-cart-open .bet-panel.mobile-open:has(#spBetAmount){display:block!important}}
@media(max-width:767px){html body.sp-body.mobile-cart-open>.bet-panel.mobile-open:has(#spBetAmount){display:block!important;position:fixed!important;left:8px!important;right:8px!important;top:auto!important;bottom:8px!important;width:calc(100vw - 16px)!important;min-width:0!important;max-width:calc(100vw - 16px)!important;max-height:calc(100dvh - 32px)!important;height:auto!important;margin:0!important;overflow:auto!important;z-index:100005!important;transform:none!important}html body.sp-body>.bet-panel .bet-head{position:sticky!important;top:0!important;z-index:2!important}}
@media(max-width:767px){html body.sp-body.mobile-cart-open>.bet-panel.mobile-open:has(#spBetAmount){width:calc(100% - 16px)!important;max-width:calc(100% - 16px)!important}}
@media(max-width:767px){
html body:has(#blgeMemberPanelModal.open) :is(#sc-reward-center-link,#blgeMobileBottomNav){visibility:hidden!important;pointer-events:none!important}
html body.sport.blge-body .blge-header{position:relative!important;display:flex!important;flex-wrap:wrap!important;gap:6px!important;width:100%!important;max-width:100%!important;min-height:56px!important;height:auto!important;padding:8px!important;overflow:visible!important}
html body.sport.blge-body .blge-header-actions,html body.sport.blge-body .blge-user-info{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;min-width:0!important;max-width:100%!important;width:auto!important;flex:1 1 auto!important}
html body.sport.blge-body .blge-logo-wrapper{height:auto!important;min-height:36px!important;max-width:100%!important;width:auto!important;flex:0 1 auto!important}
}
@media(max-width:767px){html body:has(#blgeMemberPanelModal.open) #blgeMobileSlipToggle{visibility:hidden!important;pointer-events:none!important}body.spobet-page #blgeMemberPanelBody button[type=submit]{border:0;border-radius:8px;background:#00c95f;color:#fff;font-weight:700;padding:12px}}
@media(max-width:767px){html body.sport.blge-body .blge-header.blge-website-header .blge-header-inner{display:flex!important;flex-wrap:wrap!important;gap:6px!important;min-width:0!important;max-width:100%!important;width:100%!important;height:auto!important;padding:0!important;overflow:visible!important}html body.sport.blge-body .blge-header.blge-website-header .blge-header-inner .blge-header-actions,html body.sport.blge-body .blge-header.blge-website-header .blge-header-inner .blge-user-info{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px!important;width:100%!important;min-width:0!important;max-width:100%!important;flex:1 1 100%!important;white-space:normal!important;overflow:visible!important}html body.sport.blge-body .blge-header.blge-website-header .blge-logo-wrapper{height:auto!important;min-height:36px!important;width:auto!important;min-width:0!important;max-width:100%!important;flex:0 1 auto!important}}
@media(max-width:767px){html body #blgeMemberPanelModal #blgeMemberPanelTabs{height:auto!important;max-height:34dvh!important;min-height:0!important;flex-shrink:0!important;overflow-y:auto!important;overflow-x:hidden!important;align-content:flex-start!important}html body #blgeMemberPanelModal #blgeMemberPanelTabs button{white-space:normal!important;min-height:38px!important}}
@media(max-width:767px){html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:8px!important;width:100%!important;max-width:100%!important;height:auto!important;min-width:0!important}html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form label{display:block!important;grid-column:1!important;width:auto!important;margin:0!important;white-space:normal!important}html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form :is(input,select,textarea){grid-column:1!important;width:100%!important;max-width:100%!important;min-height:42px!important;padding:8px 10px!important;box-sizing:border-box!important}html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form input[type=hidden]{display:none!important}html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form textarea{min-height:96px!important}html body :is(#modalInfo,#modalInfoMobile)[id] form.stream-template-form button[type=submit]{grid-column:1!important;width:100%!important;min-height:44px!important;height:auto!important;padding:10px 12px!important;font-size:16px!important;line-height:1.4!important}}
@media(max-width:767px){html.stream-template-mango5 body #modalInfoMobile[id] .stream-mobile-info-tabs button{color:#f4f4f7!important;min-height:40px!important;font-size:14px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:8px!important;background:rgba(255,255,255,.06)!important}html.stream-template-mango5 body #modalInfoMobile[id] .stream-mobile-info-tabs button.active{background:rgba(255,255,255,.18)!important;font-weight:700!important}}
#scMemberMenuBackdrop{display:none!important}
