/* Mango / Cereja-PG — Login + Registro no topo (theme-2 home header) */
:root {
    --mango-auth-login-bg: #FFF5F0;
    --mango-auth-login-text: #f86d6d;
    --mango-auth-register-text: #FFFFFF;
    --mango-auth-register-border: #FFFFFF;
}

._header_107a1_30 ._un-login_cvqqm_30,
.lobby-home-header-container ._un-login_cvqqm_30,
#js_header ._un-login_cvqqm_30,
.lobby-base-header ._un-login_cvqqm_30,
#js_header ._header-out_1e4fb_366 {
    --btn-login-background: #FFF5F0 !important;
    --btn-login-color: #f86d6d !important;
    --btn-register-background: transparent !important;
    --btn-register-color: #FFFFFF !important;
    --btn-border-color: #FFFFFF !important;
}

/* Login — pill creme + texto coral */
._header_107a1_30 ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child,
.lobby-home-header-container ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child,
.lobby-base-header ._header-out_1e4fb_366 > div:nth-of-type(1),
#js_header ._header-out_1e4fb_366 > div:nth-of-type(1),
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child,
#mango-header-auth-fixed .mango-auth-btn-login,
#mango-header-auth .mango-auth-btn-login,
._un-login-info_vry36_30 ._login-btn_vry36_97,
.login-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.36rem !important;
    height: 0.52rem !important;
    padding: 0 0.14rem !important;
    border-radius: 0.26rem !important;
    font-size: 0.22rem !important;
    font-weight: 600 !important;
    background: #FFF5F0 !important;
    background-color: #FFF5F0 !important;
    background-image: none !important;
    color: #f86d6d !important;
    -webkit-text-fill-color: #f86d6d !important;
    border: 0.02rem solid #FFF5F0 !important;
    box-shadow: none !important;
}

._header_107a1_30 ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child span,
.lobby-home-header-container ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child span,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child span,
.lobby-base-header ._header-out_1e4fb_366 > div:nth-of-type(1) span,
#js_header ._header-out_1e4fb_366 > div:nth-of-type(1) span,
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43:first-child span {
    color: #f86d6d !important;
    -webkit-text-fill-color: #f86d6d !important;
    display: block !important;
    visibility: visible !important;
}

/* Registro — transparente, borda branca, texto branco */
._header_107a1_30 ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child,
.lobby-home-header-container ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child,
.lobby-base-header ._header-out_1e4fb_366 > div:nth-of-type(2),
#js_header ._header-out_1e4fb_366 > div:nth-of-type(2),
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child,
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43._register_cvqqm_89,
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43._isHidden_cvqqm_93,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child,
#mango-header-auth-fixed .mango-auth-btn-register,
#mango-header-auth .mango-auth-btn-register,
._un-login-info_vry36_30 ._register-btn_vry36_98,
.register-btn {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    min-width: 1.36rem !important;
    height: 0.52rem !important;
    padding: 0 0.14rem !important;
    border-radius: 0.26rem !important;
    font-size: 0.22rem !important;
    font-weight: 600 !important;
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    border: 0.02rem solid #FFFFFF !important;
    box-shadow: none !important;
}

._header_107a1_30 ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child span,
.lobby-home-header-container ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child span,
.lobby-base-header ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child span,
.lobby-base-header ._header-out_1e4fb_366 > div:nth-of-type(2) span,
#js_header ._header-out_1e4fb_366 > div:nth-of-type(2) span,
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43:last-child span {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
    display: block !important;
    visibility: visible !important;
}

._header_107a1_30 ._un-login_cvqqm_30 ._btn_cvqqm_43 img,
.lobby-home-header-container ._un-login_cvqqm_30 ._btn_cvqqm_43 img,
#js_header ._header-out_1e4fb_366 img,
#js_header ._un-login_cvqqm_30 ._btn_cvqqm_43 img {
    display: none !important;
}

._header_107a1_30 ._un-login_cvqqm_30,
.lobby-home-header-container ._un-login_cvqqm_30,
.lobby-base-header ._un-login_cvqqm_30,
.lobby-base-header__section--right ._un-login_cvqqm_30,
.lobby-base-header__section--right ._header-out_1e4fb_366 {
    display: flex !important;
    align-items: center !important;
    gap: 0.1rem !important;
    flex-shrink: 0 !important;
    flex-wrap: nowrap !important;
}

._un-login-info_vry36_30 > div:last-child {
    display: flex !important;
    align-items: center !important;
    gap: 0.1rem !important;
    flex-shrink: 0 !important;
}

/* Barra customizada (fallback) */
#mango-header-auth-fixed,
#mango-header-auth {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.1rem !important;
    z-index: 99999 !important;
    pointer-events: auto !important;
}

#mango-header-auth-fixed {
    position: fixed !important;
    top: 0.19rem !important;
    right: max(0.12rem, calc((100vw - var(--lobby__max-width, 100%)) / 2 + 0.12rem)) !important;
}

body.mango-hide-header-auth #mango-header-auth-fixed,
body.mango-hide-header-auth #mango-header-auth {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

body:has(.lobby-base-header) #mango-header-auth-fixed {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Subgame / páginas internas — botão voltar clicável (não coberto pelo título) */
.lobby-base-header__section--left,
.lobby-base-header__back {
    z-index: 30 !important;
    position: relative !important;
    pointer-events: auto !important;
    cursor: pointer !important;
}

.lobby-base-header__section--center {
    justify-content: center !important;
    margin-left: 0 !important;
    padding-left: 1.05rem !important;
    padding-right: 1.05rem !important;
    transform: none !important;
    pointer-events: none !important;
}

.lobby-base-header__section--right {
    z-index: 25 !important;
    position: relative !important;
    pointer-events: auto !important;
}

#mango-header-auth-fixed .mango-auth-btn,
#mango-header-auth .mango-auth-btn {
    cursor: pointer !important;
    white-space: nowrap !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    font-family: inherit !important;
    -webkit-appearance: none !important;
    appearance: none !important;
}

body:has(#mango-header-auth-fixed) ._header_107a1_30 ._un-login_cvqqm_30,
body:has(#mango-header-auth) ._header_107a1_30 ._un-login_cvqqm_30,
body:has(#mango-header-auth-fixed) #js_header ._header-out_1e4fb_366,
body:has(#mango-header-auth) #js_header ._header-out_1e4fb_366 {
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Depósito no header (usuário logado) — contraste no fundo coral */
._header_107a1_30 [class*="_user-action-box_"],
.lobby-home-header-container [class*="_user-action-box_"],
[class*="_user-action-box_"] {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
}

._header_107a1_30 [class*="_currency-com_"],
.lobby-home-header-container [class*="_currency-com_"] {
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    overflow: visible !important;
}

._header_107a1_30 [class*="_user-action-box_"] button[class*="_reCharge_"],
.lobby-home-header-container [class*="_user-action-box_"] button[class*="_reCharge_"],
[class*="_user-action-box_"] button._reCharge_1wuau_54,
#depositClick,
button#depositClick.ui-button--primary {
    display: inline-flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    align-items: center !important;
    justify-content: center !important;
    background: #FFF5F0 !important;
    background-color: #FFF5F0 !important;
    background-image: none !important;
    border: 0.02rem solid #FFF5F0 !important;
    color: #f86d6d !important;
    -webkit-text-fill-color: #f86d6d !important;
    font-weight: 600 !important;
    text-shadow: none !important;
    box-shadow: none !important;
    min-width: 1.18rem !important;
    height: 0.54rem !important;
    z-index: 5 !important;
    pointer-events: auto !important;
}

._header_107a1_30 [class*="_user-action-box_"] button[class*="_reCharge_"] span,
[class*="_user-action-box_"] button._reCharge_1wuau_54 span,
#depositClick span {
    color: #f86d6d !important;
    -webkit-text-fill-color: #f86d6d !important;
    visibility: visible !important;
}

._header_107a1_30 [class*="_user-action-box_"] [class*="_user-action-popover_"],
[class*="_user-action-box_"] ._user-action-popover_1wuau_60 {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    background-color: #FFF5F0 !important;
    border-color: #FFF5F0 !important;
    color: #f86d6d !important;
}

._header_107a1_30 [class*="_user-action-box_"] [class*="_user-action-popover_"]:after,
[class*="_user-action-box_"] ._user-action-popover_1wuau_60:after {
    background: #f86d6d !important;
    opacity: 0.35 !important;
}

html[data-skin-bg="0"] ._header_107a1_30 [class*="_user-action-box_"] button[class*="_reCharge_"],
html[data-skin-bg="0"] [class*="_user-action-box_"] button._reCharge_1wuau_54,
html[data-skin-bg="0"] #depositClick {
    background-color: #FFF5F0 !important;
    border-color: #FFF5F0 !important;
    color: #f86d6d !important;
    -webkit-text-fill-color: #f86d6d !important;
}

html[data-skin-bg="0"] ._header_107a1_30 [class*="_user-action-box_"] [class*="_user-action-popover_"],
html[data-skin-bg="0"] [class*="_user-action-box_"] ._user-action-popover_1wuau_60 {
    background-color: #FFF5F0 !important;
    border-color: #FFF5F0 !important;
    color: #f86d6d !important;
}
