/* Member frontend theme-aware display fixes, 2026-11-21 r2. */
:root{--fleet-ui-revision:"20261121-r2"}

/* MA: retain the site's underline inputs and restrained neutral frames. */
.MaGameAuthDialog_captchaRow__eOr2P{grid-template-columns:minmax(0,1fr) 164px!important;gap:12px!important;align-items:end!important}
.MaGameAuthDialog_captchaRow__eOr2P .MaGameAuthDialog_plainField__v2mCr{min-width:0!important}
.MaGameAuthDialog_captchaRow__eOr2P input,.MaGameAuthDialog_codeField__qK0_q input{min-width:0!important;width:100%!important;background:transparent!important;color:var(--ma-text)!important;border:0!important;border-bottom:1px solid var(--ma-border)!important;border-radius:0!important;box-shadow:none!important}
.MaGameAuthDialog_captchaRow__eOr2P input{height:64px!important;font-size:20px!important;font-weight:500!important;letter-spacing:2px!important;padding:0 8px!important}
.MaGameAuthDialog_captchaImage__pbV6t{width:164px!important;height:64px!important;padding:4px!important;border:1px solid var(--ma-border)!important;border-radius:8px!important;background:var(--ma-field)!important;box-shadow:none!important;cursor:pointer}
.MaGameAuthDialog_captchaImage__pbV6t img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;border-radius:4px!important;filter:none!important}
.MaGameAuthDialog_captchaImage__pbV6t:focus-visible{outline:2px solid var(--ma-accent)!important;outline-offset:2px!important}
.MaGameAuthDialog_codeField__qK0_q{min-width:0!important;grid-template-columns:minmax(0,1fr) auto!important}
.MaGameAuthDialog_codeField__qK0_q>span{min-width:0!important}
.MaGameAuthDialog_codeField__qK0_q input{height:52px!important;font-size:18px!important;letter-spacing:2px!important}
.MaGameAuthDialog_codeField__qK0_q button{height:52px!important;min-width:112px!important;white-space:nowrap!important}

/* JDYL: keep the template's boxed fields and theme border colour. */
.JdylAuthScreen_field__jb6kj:has(.JdylAuthScreen_captchaAction__T1qSc){height:64px!important;min-width:0!important}
.JdylAuthScreen_field__jb6kj:has(.JdylAuthScreen_captchaAction__T1qSc) input{height:64px!important;min-width:0!important;padding-right:180px!important;font-size:19px!important;letter-spacing:2px!important;color:var(--jdyl-text,#555)!important;background:var(--jdyl-surface,#fff)!important;border-color:var(--jdyl-border,#cfcfd3)!important;border-radius:7px!important}
.JdylAuthScreen_captchaAction__T1qSc{top:4px!important;right:4px!important;width:164px!important;height:56px!important;padding:3px!important;border:1px solid var(--jdyl-border,#cfcfd3)!important;border-radius:5px!important;background:var(--jdyl-soft,#f5f7fa)!important}
.JdylAuthScreen_captchaAction__T1qSc img{width:100%!important;height:100%!important;object-fit:contain!important;background:#fff!important;filter:none!important;border-radius:3px!important}

/* BWB3: use the template's cyan controls and neutral rounded fields. */
.Bwb3Application_captchaRow__Q_TRw{grid-template-columns:minmax(0,1fr) auto!important;gap:8px!important;align-items:center!important}
.Bwb3Application_captchaRow__Q_TRw img{grid-column:1!important;grid-row:1!important;display:block!important;width:164px!important;height:64px!important;object-fit:contain!important;background:#fff!important;border:1px solid #ccc!important;border-radius:5.2px!important;filter:none!important}
.Bwb3Application_captchaRow__Q_TRw input{grid-column:1/-1!important;grid-row:2!important;min-width:0!important;width:100%!important;height:52px!important;font-size:19px!important;letter-spacing:2px!important;color:#1a1a1b!important;border:1px solid #ccc!important;border-radius:5.2px!important;background:#fff!important}
.Bwb3Application_captchaRow__Q_TRw button{grid-column:2!important;grid-row:1!important;height:44px!important;border-radius:18px!important;background:#ecfbfe!important;color:#24c9e6!important;white-space:nowrap!important}

/* MA desktop: let the main banner determine its own height. */
@media(min-width:1279px){
.MaGameHero_desktopHero__IKYap{height:auto!important;align-items:stretch!important}
.MaGameHero_desktopHero__IKYap.MaGameHero_desktopHeroSingle__0Doud{grid-template-columns:minmax(0,1fr)!important}
.MaGameHero_desktopMain__Zp94N{height:auto!important;min-height:0!important;aspect-ratio:auto!important}
.MaGameHero_desktopMain__Zp94N>.MaGameHero_bannerButton__ipbK0{height:auto!important;width:100%!important}
.MaGameHero_desktopMain__Zp94N img{display:block!important;width:100%!important;height:auto!important;max-height:560px!important;object-fit:contain!important}
.MaGameHero_desktopPromos__cVHfP{height:auto!important;min-height:0!important;align-self:stretch!important;background:transparent!important}
.MaGameHero_desktopPromos__cVHfP .MaGameHero_promoTrack__yakIt{position:absolute!important;inset:0!important;height:100%!important}
.MaGameHero_promoButton__RjfHb img{object-fit:contain!important}
.MaGameHero_promoPageSingle__nJJFS{display:flex!important;align-items:center!important}
.MaGameHero_promoPageSingle__nJJFS .MaGameHero_promoButton__RjfHb{height:auto!important}
.MaGameHero_promoPageSingle__nJJFS .MaGameHero_promoButton__RjfHb img{display:block!important;height:auto!important}
}
@media(max-width:1278px){
.MaGameHero_mobileHero__PXydd{height:auto!important;min-height:0!important;max-height:none!important;aspect-ratio:5/2!important}
.MaGameHero_mobileHero__PXydd .MaGameHero_bannerButton__ipbK0{height:100%!important}
.MaGameHero_mobileHero__PXydd img{width:100%!important;height:100%!important;object-fit:contain!important}
.MaGameHero_mobilePromoButton__1fLAG{height:auto!important;aspect-ratio:12/5!important}
.MaGameHero_mobilePromoButton__1fLAG img{object-fit:contain!important}
}

/* Other home templates: stable frames without cutting banner text. */
.JdylHomeView_bannerCarousel__mYPXD{aspect-ratio:8/3!important}
.JdylHomeView_bannerTrack__EMES2 img,.JdylHomeView_banners__7vc0O img{object-fit:contain!important}
.JdylHomeView_banners__7vc0O button{height:auto!important;aspect-ratio:15/7!important}
.Bwb3PublicViews_bannerViewport__NYLtP{height:auto!important;aspect-ratio:5/2!important}
.Bwb3PublicViews_bannerViewport__NYLtP img{object-fit:contain!important}

@media(max-width:479px){
.MaGameAuthDialog_captchaRow__eOr2P{grid-template-columns:minmax(0,1fr) 148px!important;gap:8px!important}
.MaGameAuthDialog_captchaRow__eOr2P input{height:58px!important;font-size:18px!important}
.MaGameAuthDialog_captchaImage__pbV6t{width:148px!important;height:58px!important}
.JdylAuthScreen_captchaAction__T1qSc{width:148px!important}
.JdylAuthScreen_field__jb6kj:has(.JdylAuthScreen_captchaAction__T1qSc) input{padding-right:164px!important;font-size:18px!important}
.Bwb3Application_captchaRow__Q_TRw img{width:148px!important;height:58px!important}
}
@media(max-width:359px){
.MaGameAuthDialog_captchaRow__eOr2P{grid-template-columns:minmax(0,1fr)!important}
.MaGameAuthDialog_captchaImage__pbV6t{width:164px!important;height:64px!important;justify-self:start!important}
.JdylAuthScreen_field__jb6kj:has(.JdylAuthScreen_captchaAction__T1qSc){height:120px!important}
.JdylAuthScreen_field__jb6kj:has(.JdylAuthScreen_captchaAction__T1qSc) input{height:52px!important;padding-right:12px!important}
.JdylAuthScreen_captchaAction__T1qSc{top:60px!important;right:auto!important;left:0!important;width:164px!important}
}


/* Legacy b4/b5: preserve skin variables, remove banner distortion/cropping. */
:root{--fleet-legacy-ui-revision:"20261121-r2"}
._banner-container_1rcmv_91{height:auto!important}
._banner-box-3_1rcmv_175{height:auto!important;aspect-ratio:3/1!important}
._banner-box-3_1rcmv_175 .ui-swipe-item,._banner-item_1e3d3_92{height:100%!important}
._banner-item_1e3d3_92 ._bg-img_1e3d3_98{height:100%!important;background-size:contain!important;background-repeat:no-repeat!important;background-position:center!important}
._banner-item_1e3d3_92 img.rea-banner-img{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important}
._verifyCode_1g8e6_91 .ui-input{min-height:52px!important}
._verifyCode_1g8e6_91 .ui-input__input{min-height:48px!important;font-size:18px!important;letter-spacing:2px!important;color:var(--skin__text_primary,#333)!important}
._verifyCode_1g8e6_91 ._send_1g8e6_110{min-height:44px!important;max-height:52px!important;border-radius:var(--lobby__border-radius,0.1rem)!important}


/* Override earlier legacy inline rules with the exact observed banner hierarchy. */
html body .lobby-root section._banner-container_1rcmv_91 div._banner-box-3_1rcmv_175{--banner-ratio:3/1;aspect-ratio:3/1!important;height:auto!important;min-height:0!important;max-height:none!important}
html body .lobby-root section._banner-container_1rcmv_91 .ui-swipe._banner-box-3_1rcmv_175 ._banner-item_1e3d3_92 img.rea-banner-img{object-fit:contain!important;object-position:center!important;width:100%!important;height:100%!important}
html body .lobby-root section._banner-container_1rcmv_91 .ui-swipe._banner-box-3_1rcmv_175 ._banner-item_1e3d3_92 ._bg-img_1e3d3_98{background-size:contain!important;background-position:center!important;background-repeat:no-repeat!important}
