/* SuperLuckyDucky client refinements: keep the original player theme. */
html[data-ak888] #root#root .bk-footer :is(span,p){color:#c9b2d8!important;line-height:1.6}
html[data-ak888] :is(.bk-main,.bg-account,.bg-profile,.bg-withdraw,.bg-referral,.bg-support){min-width:0;max-width:100%}
html[data-ak888] :is(.bg-account,.bg-profile,.bg-withdraw,.bg-referral,.bg-support) :is(input,select,textarea){min-width:0;max-width:100%;box-sizing:border-box}
html[data-ak888] :is(.fen-modal,.bg-modal,[role=dialog]){max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain}
@media(max-width:600px){html[data-ak888] :is(.bg-account,.bg-profile,.bg-withdraw,.bg-referral,.bg-support) :is(p,label,h1,h2,h3){overflow-wrap:anywhere}html[data-ak888] :is(.bg-account,.bg-profile,.bg-withdraw,.bg-referral,.bg-support) form{min-width:0;max-width:100%}}

/* Borderless platform artwork; preserve keyboard focus independently. */
html[data-ak888] :is(.fen-platform,.fen-platform-picture,.fen-platform-picture img){border:0!important;outline:0;box-shadow:none!important;background:transparent!important}
html[data-ak888] .fen-platform-picture{padding:0!important;overflow:hidden}
html[data-ak888] .fen-platform:focus-visible{outline:2px solid #e3baff!important;outline-offset:4px}

html[data-ak888] :is(.gv-available-top>img,.gv-owned-card img,.gv-platform-detail img){border:0!important;box-shadow:none!important;background:transparent!important}

html[data-ak888] #root#root .sms-phone-prefix{color:#d7bfdc!important}

/* The public hostname promotes this homepage-specific platform rail. */
html[data-ak888] #fen-ui#fen-ui #ak888-home :is(.ak888-platform-card,.ak888-platform-image,.ak888-platform-image img){border:0!important;outline:0;box-shadow:none!important;background:transparent!important}
html[data-ak888] #fen-ui#fen-ui #ak888-home .ak888-platform-card::before,html[data-ak888] #fen-ui#fen-ui #ak888-home .ak888-platform-card::after{display:none!important}
html[data-ak888] #fen-ui#fen-ui #ak888-home .ak888-platform-card:focus-visible{outline:2px solid #e3baff!important;outline-offset:4px}

html[data-ak888] #root#root :is(.gv-available-top>img,.gv-owned-card img,.gv-platform-detail img){border:0!important;box-shadow:none!important;background:transparent!important}
