 



.obegames-unified-header #logo a {
    display: inline-flex;
    align-items: center;
}

.obegames-unified-header .logo-main {
    width: auto !important;
    height: 100px !important;
    max-width: 100%;
    object-fit: contain;
}

.obegames-unified-header .logo-mobile {
    width: auto !important;
    height: 70px !important;
    max-width: 100%;
    object-fit: contain;
}

.obegames-unified-header .menu_side_area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.obegames-unified-header #mainmenu > li > a {
    font-size: 15px;
    font-weight: 500;
}

.obegames-unified-header #mainmenu li ul li > a {
    font-size: 14px;
}

.obegames-unified-header .menu_side_area > a.d-lg-none {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px;
    min-height: 45px;
    padding: 0 !important;
    border-radius: 50% !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .obegames-unified-header #mainmenu > li > a {
        font-size: 14px;
    }

    .obegames-unified-header .menu_side_area {
        gap: 9px;
    }
}

@media (max-width: 991.98px) {
    .obegames-unified-header {
        background: #030617 !important;
    }

    .obegames-unified-header .logo-main {
        display: none !important;
    }

    .obegames-unified-header .logo-mobile {
        display: block !important;
        height: 70px !important;
    }

    .obegames-unified-header .menu_side_area {
        gap: 12px;
    }

    .obegames-unified-header #menu-btn {
        margin: 0 !important;
    }

    .obegames-unified-header #mainmenu > li > a {
        font-size: 15px;
    }
}


.obegames-unified-header .menu_side_area .btn-shield-control {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 0 16px !important;
    border-radius: 8px !important;
    border: 1px solid rgba(76, 201, 240, 0.42) !important;
    background: linear-gradient(180deg, rgba(12, 27, 58, 0.88) 0%, rgba(8, 20, 43, 0.96) 100%) !important;
    color: #9adcff !important;
    box-shadow: 0 10px 24px rgba(2, 12, 30, 0.22);
    transition: all .22s ease;
}

.obegames-unified-header .menu_side_area .btn-shield-control i {
    font-size: 14px;
}

.obegames-unified-header .menu_side_area .btn-shield-control span {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .01em;
    white-space: nowrap;
}

.obegames-unified-header .menu_side_area .btn-shield-control:hover,
.obegames-unified-header .menu_side_area .btn-shield-control:focus {
    color: #ffffff !important;
    border-color: rgba(76, 201, 240, 0.68) !important;
    box-shadow: 0 14px 28px rgba(4, 22, 52, 0.28);
    transform: translateY(-1px);
}

.obegames-unified-header .menu_side_area .btn-shield-control-mobile {
    width: 45px !important;
    height: 45px !important;
    min-width: 45px;
    min-height: 45px;
    padding: 0 !important;
    border-radius: 50% !important;
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .obegames-unified-header .menu_side_area .btn-shield-control {
        padding: 0 13px !important;
    }

    .obegames-unified-header .menu_side_area .btn-shield-control span {
        font-size: 12px;
    }
}


.obegames-unified-header .menu_side_area .btn-header-access {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    height: 38px !important;
    min-height: 38px !important;
    padding: 0 18px !important;
    line-height: 1 !important;
    border-radius: 8px !important;
    overflow: hidden;
    vertical-align: middle;
}

.obegames-unified-header .menu_side_area .btn-header-access span {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    line-height: 1 !important;
    margin: 0 !important;
}

.obegames-unified-header .menu_side_area .btn-header-login {
    border: 1px solid rgba(96, 58, 255, 0.95) !important;
    background: transparent !important;
    color: #ffffff !important;
}

.obegames-unified-header .menu_side_area .btn-header-login:hover,
.obegames-unified-header .menu_side_area .btn-header-login:focus {
    color: #ffffff !important;
    transform: translateY(-1px);
}

.obegames-unified-header .menu_side_area .btn-shield-control {
    min-height: 38px !important;
    height: 38px !important;
    padding: 0 18px !important;
}

.obegames-unified-header .menu_side_area .btn-shield-control span,
.obegames-unified-header .menu_side_area .btn-header-login span {
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
}


.obegames-unified-header .mobile-menu-system-links {
    display: none;
}

@media (max-width: 991.98px) {
    .obegames-unified-header .menu_side_area {
        gap: 10px;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links {
        position: relative !important;
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 20px 0 4px !important;
        border-top: 1px solid rgba(255, 255, 255, 0.12) !important;
        border-bottom: 0 !important;
        clear: both !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links::before,
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links::after,
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links > span {
        display: none !important;
        content: none !important;
    }

    .obegames-unified-header .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        margin: 0 !important;
        padding: 0 10px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-decoration: none !important;
        text-align: center !important;
        font-size: 12.5px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        display: inline-block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        display: inline-block !important;
        min-width: 0 !important;
        margin: 0 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--shield {
        color: #9adcff !important;
        border: 1px solid rgba(76, 201, 240, 0.50) !important;
        background: linear-gradient(180deg, rgba(12, 27, 58, 0.94) 0%, rgba(8, 20, 43, 0.98) 100%) !important;
        box-shadow: none !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--login {
        color: #ffffff !important;
        border: 1px solid rgba(105, 66, 255, 0.96) !important;
        background: rgba(88, 48, 224, 0.18) !important;
        box-shadow: none !important;
    }

    .obegames-unified-header .btn-shield-control-mobile,
    .obegames-unified-header .menu_side_area > a[aria-label="Đăng nhập"] {
        display: none !important;
    }
}

@media (max-width: 420px) {
    .obegames-unified-header .mobile-menu-system-actions {
        gap: 8px !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        padding-right: 8px !important;
        padding-left: 8px !important;
        font-size: 12px !important;
    }
}


@media (max-width: 991.98px) {
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links {
        display: block !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        margin: 14px 0 0 !important;
        padding: 16px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.10) !important;
        border-bottom: 0 !important;
        clear: both !important;
        list-style: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links::before,
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links::after {
        display: none !important;
        content: none !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 8px !important;
        width: 100% !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 12px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
        text-decoration: none !important;
        text-align: center !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        text-transform: none !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn i {
        font-size: 14px !important;
        line-height: 1 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn span {
        display: inline-block !important;
        margin: 0 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn--shield {
        color: #9adcff !important;
        border: 1px solid rgba(76, 201, 240, 0.48) !important;
        background: linear-gradient(180deg, rgba(12, 27, 58, 0.92) 0%, rgba(8, 20, 43, 0.98) 100%) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02) !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn--login {
        color: #ffffff !important;
        border: 1px solid rgba(105, 66, 255, 0.96) !important;
        background: rgba(88, 48, 224, 0.18) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02) !important;
    }
}

@media (max-width: 420px) {
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-actions {
        gap: 10px !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn {
        font-size: 12.5px !important;
        padding: 0 10px !important;
    }
}


@media (max-width: 991.98px) {
    /* Hide top-right header action buttons on mobile; only keep the bottom menu buttons */
    .obegames-unified-header .menu_side_area .btn-header-access,
    .obegames-unified-header .menu_side_area .btn-shield-control,
    .obegames-unified-header .menu_side_area .btn-header-login {
        display: none !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links {
        margin: 16px 0 0 !important;
        padding: 16px 0 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 12px !important;
        border-radius: 8px !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}


@media (max-width: 991.98px) {
    /* Mobile header layout: logo left, menu icon right */
    .obegames-unified-header .de-flex.sm-pt10 {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        row-gap: 8px !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        order: 1 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        order: 2 !important;
        flex: 0 0 auto !important;
        margin-left: auto !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .obegames-unified-header #logo {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .obegames-unified-header #logo a {
        justify-content: flex-start !important;
    }

    .obegames-unified-header .logo-mobile {
        height: 56px !important;
        margin: 0 !important;
    }

    .obegames-unified-header .menu_side_area {
        justify-content: flex-end !important;
        gap: 0 !important;
        width: auto !important;
        margin-left: auto !important;
    }

    .obegames-unified-header #menu-btn {
        order: 2 !important;
        margin: 0 !important;
    }

    /* Bottom mobile action buttons */
    .obegames-unified-header #mainmenu > li.mobile-menu-system-links {
        margin: 14px 0 0 !important;
        padding: 14px 0 0 !important;
    }

    .obegames-unified-header .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 46px !important;
        min-height: 46px !important;
        padding: 0 8px !important;
        border-radius: 8px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
        text-align: center !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        font-size: 13px !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        display: inline-block !important;
        font-size: 11.5px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        white-space: nowrap !important;
        letter-spacing: 0 !important;
        margin: 0 !important;
    }
}


/* Final mobile header/button alignment fixes */
@media (max-width: 991.98px) {
    .obegames-unified-header .de-flex.sm-pt10 {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        justify-content: space-between !important;
        column-gap: 12px !important;
        row-gap: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        order: 1 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-right: auto !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        order: 2 !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 0 !important;
        margin-left: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        order: 3 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    .obegames-unified-header #logo {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 56px !important;
        margin: 0 !important;
    }

    .obegames-unified-header .logo-mobile {
        height: 54px !important;
        margin: 0 !important;
    }

    .obegames-unified-header .menu_side_area {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: auto !important;
        min-height: 56px !important;
        margin: 0 !important;
        gap: 0 !important;
    }

    .obegames-unified-header #menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        top: 0 !important;
        transform: none !important;
        align-self: center !important;
    }

    .obegames-unified-header .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 6px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 8px !important;
        text-align: center !important;
        overflow: hidden !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        font-size: 13px !important;
        line-height: 1 !important;
        margin: 0 !important;
        flex: 0 0 auto !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        display: inline-block !important;
        margin: 0 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        text-transform: none !important;
        white-space: nowrap !important;
    }
}


/* v52 final mobile request fix: menu icon left, logo right, aligned on one row; bottom buttons centered */
@media (max-width: 991.98px) {
    .obegames-unified-header .de-flex.sm-pt10 {
        display: grid !important;
        grid-template-columns: auto 1fr !important;
        align-items: center !important;
        column-gap: 14px !important;
        row-gap: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
        justify-self: end !important;
        align-self: center !important;
        flex: none !important;
        width: auto !important;
        margin: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        flex: none !important;
        width: auto !important;
        margin: 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        text-align: right !important;
        margin: 0 !important;
        padding: 0 !important;
        min-height: 58px !important;
    }

    .obegames-unified-header .logo-mobile {
        display: block !important;
        height: 54px !important;
        max-width: 235px !important;
        margin: 0 !important;
    }

    .obegames-unified-header .menu_side_area {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
    }

    .obegames-unified-header #menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 56px !important;
        height: 56px !important;
        min-width: 56px !important;
        min-height: 56px !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        vertical-align: middle !important;
    }

    .obegames-unified-header .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 100% !important;
        height: 48px !important;
        min-height: 48px !important;
        padding: 0 8px !important;
        text-align: center !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        font-size: 14px !important;
        margin: 0 !important;
        line-height: 1 !important;
        flex: 0 0 auto !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        display: inline-block !important;
        margin: 0 !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        text-align: center !important;
    }
}


/* v53 polished mobile menu */
@media (max-width: 991.98px) {
    .obegames-unified-header {
        background: #030617 !important;
    }

    /* top row inside mobile header/menu */
    .obegames-unified-header .de-flex.sm-pt10 {
        display: grid !important;
        grid-template-columns: 58px minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 14px !important;
        row-gap: 8px !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        align-self: center !important;
        justify-self: start !important;
        margin: 0 !important;
        width: 58px !important;
        flex: none !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
        align-self: center !important;
        justify-self: start !important;
        margin: 0 !important;
        width: 100% !important;
        min-width: 0 !important;
        flex: none !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    .obegames-unified-header .menu_side_area {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .obegames-unified-header #menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 58px !important;
        height: 58px !important;
        min-width: 58px !important;
        min-height: 58px !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 8px !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08) !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        min-height: 58px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header .logo-mobile {
        display: block !important;
        height: 52px !important;
        width: auto !important;
        max-width: 230px !important;
        margin: 0 !important;
    }

    /* menu list */
    .obegames-unified-header #mainmenu {
        margin-top: 4px !important;
    }

    .obegames-unified-header #mainmenu > li {
        margin: 0 !important;
    }

    .obegames-unified-header #mainmenu > li > a {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        min-height: 58px !important;
        padding: 0 8px 0 0 !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: 0 !important;
    }

    .obegames-unified-header #mainmenu > li:not(.mobile-menu-system-links) {
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
    }

    .obegames-unified-header #mainmenu > li.mobile-menu-system-links {
        margin-top: 18px !important;
        padding-top: 18px !important;
        border-top: 1px solid rgba(255,255,255,0.12) !important;
        border-bottom: 0 !important;
    }

    /* bottom action buttons */
    .obegames-unified-header .mobile-menu-system-actions {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 12px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header .mobile-menu-system-btn {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 8px !important;
        border-radius: 8px !important;
        text-align: center !important;
        text-decoration: none !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
        white-space: nowrap !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        display: inline-block !important;
        flex: 0 0 auto !important;
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1 !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        display: inline-block !important;
        flex: 0 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
        font-size: 10px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        letter-spacing: 0 !important;
        white-space: nowrap !important;
        text-overflow: clip !important;
        overflow: visible !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--shield {
        color: #a8e4ff !important;
        border: 1px solid rgba(76, 201, 240, 0.50) !important;
        background: linear-gradient(180deg, rgba(8, 28, 61, 0.96) 0%, rgba(5, 20, 45, 1) 100%) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02) !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--login {
        color: #ffffff !important;
        border: 1px solid rgba(110, 72, 255, 0.96) !important;
        background: linear-gradient(180deg, rgba(44, 26, 108, 0.52) 0%, rgba(28, 18, 70, 0.52) 100%) !important;
        box-shadow: inset 0 0 0 1px rgba(255,255,255,0.02) !important;
    }
}


/* v54 mobile fine-tuning per latest feedback */
@media (max-width: 991.98px) {
    /* Bottom buttons: move label slightly to the right */
    .obegames-unified-header .mobile-menu-system-btn {
        gap: 8px !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        transform: translateX(4px) !important;
    }

    /* Closed/open mobile header top row: smaller menu frame, icon left, logo to the right */
    .obegames-unified-header .de-flex.sm-pt10 {
        display: grid !important;
        grid-template-columns: 52px minmax(0, 1fr) !important;
        align-items: center !important;
        column-gap: 14px !important;
        row-gap: 6px !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 52px !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: start !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: stretch !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin-top: 8px !important;
    }

    .obegames-unified-header .menu_side_area {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        width: 52px !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .obegames-unified-header #menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 52px !important;
        height: 52px !important;
        min-width: 52px !important;
        min-height: 52px !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 8px !important;
        align-self: center !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        text-align: right !important;
        width: 100% !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header .logo-mobile {
        display: block !important;
        height: 50px !important;
        width: auto !important;
        max-width: 220px !important;
        margin: 0 !important;
    }
}


/* v55 mobile fine fix */
@media (max-width: 991.98px) {
    /* Move mobile menu icon slightly lower for better visual centering */
    .obegames-unified-header .menu_side_area {
        min-height: 56px !important;
        padding-top: 6px !important;
    }

    .obegames-unified-header #menu-btn {
        margin-top: 6px !important;
        align-self: center !important;
    }

    /* Center text perfectly inside the two bottom buttons */
    .obegames-unified-header .mobile-menu-system-btn {
        justify-content: center !important;
        text-align: center !important;
        gap: 10px !important;
        padding: 0 12px !important;
    }

    .obegames-unified-header .mobile-menu-system-btn span {
        transform: none !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
        width: auto !important;
        margin: 0 !important;
    }

    .obegames-unified-header .mobile-menu-system-btn i {
        margin: 0 !important;
    }
}


/* v56: swap logo/menu positions and reduce mobile header height */
@media (max-width: 991.98px) {
    .obegames-unified-header .de-flex.sm-pt10 {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) 48px !important;
        align-items: center !important;
        column-gap: 10px !important;
        row-gap: 4px !important;
    }

    /* Logo on the left */
    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child {
        grid-column: 1 !important;
        grid-row: 1 !important;
        width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: start !important;
    }

    /* Menu icon on the right */
    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        grid-column: 2 !important;
        grid-row: 1 !important;
        width: 48px !important;
        margin: 0 !important;
        align-self: center !important;
        justify-self: end !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .header-col-mid {
        grid-column: 1 / -1 !important;
        grid-row: 2 !important;
        width: 100% !important;
        margin-top: 4px !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: flex-start !important;
        text-align: left !important;
        width: 100% !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .obegames-unified-header .logo-mobile {
        display: block !important;
        height: 42px !important;
        width: auto !important;
        max-width: 205px !important;
        margin: 0 !important;
    }

    .obegames-unified-header .menu_side_area {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        width: 48px !important;
        min-height: 40px !important;
        margin: 0 !important;
        padding: 0 !important;
        gap: 0 !important;
    }

    .obegames-unified-header #menu-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 44px !important;
        height: 40px !important;
        min-width: 44px !important;
        min-height: 40px !important;
        margin: 0 !important;
        top: 0 !important;
        left: 0 !important;
        transform: none !important;
        border-radius: 8px !important;
        align-self: center !important;
    }
}


/* v57: compact mobile header + lower menu icon */
@media (max-width: 991.98px) {
    header.obegames-unified-header:not(.side-header) .de-flex.sm-pt10 {
        min-height: 76px !important;
        height: 76px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
        align-items: center !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:first-child,
    .obegames-unified-header .de-flex.sm-pt10 > .de-flex-col:last-child {
        align-self: center !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        min-height: 76px !important;
        height: 76px !important;
        align-items: center !important;
    }

    .obegames-unified-header .logo-mobile {
        height: 40px !important;
        max-width: 195px !important;
    }

    .obegames-unified-header .menu_side_area {
        min-height: 76px !important;
        height: 76px !important;
        padding: 0 !important;
        align-items: center !important;
    }

    .obegames-unified-header #menu-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        margin: 0 !important;
        transform: translateY(5px) !important;
        align-self: center !important;
    }

    header.header-mobile:not(.side-header) .header-col-mid #mainmenu {
        top: 76px !important;
    }
}


/* v58: larger mobile logo + remove underline on login button text */
@media (max-width: 991.98px) {
    .obegames-unified-header .logo-mobile {
        height: 40px !important;
        max-width: 210px !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--login,
    .obegames-unified-header .mobile-menu-system-btn--login:hover,
    .obegames-unified-header .mobile-menu-system-btn--login:focus,
    .obegames-unified-header .mobile-menu-system-btn--login span,
    .obegames-unified-header .mobile-menu-system-btn--login span:hover,
    .obegames-unified-header .mobile-menu-system-btn--login span:focus {
        text-decoration: none !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
}


/* v59: remove underline on Shield Control too + increase mobile logo size */
@media (max-width: 991.98px) {
    .obegames-unified-header .logo-mobile {
        height: 47px !important;
        max-width: 225px !important;
    }

    .obegames-unified-header .mobile-menu-system-btn--shield,
    .obegames-unified-header .mobile-menu-system-btn--shield:hover,
    .obegames-unified-header .mobile-menu-system-btn--shield:focus,
    .obegames-unified-header .mobile-menu-system-btn--shield span,
    .obegames-unified-header .mobile-menu-system-btn--shield span:hover,
    .obegames-unified-header .mobile-menu-system-btn--shield span:focus,
    .obegames-unified-header .mobile-menu-system-btn--login,
    .obegames-unified-header .mobile-menu-system-btn--login:hover,
    .obegames-unified-header .mobile-menu-system-btn--login:focus,
    .obegames-unified-header .mobile-menu-system-btn--login span,
    .obegames-unified-header .mobile-menu-system-btn--login span:hover,
    .obegames-unified-header .mobile-menu-system-btn--login span:focus {
        text-decoration: none !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
}


/* v60: make mobile logo visibly larger, lower menu icon, and reduce mobile header height */
@media (max-width: 991.98px) {
    .obegames-unified-header {
        padding: 6px 0 !important;
    }

    .obegames-unified-header .de-flex.sm-pt10 {
        padding-top: 0 !important;
        min-height: 60px !important;
        row-gap: 2px !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        min-height: 40px !important;
    }

    .obegames-unified-header .logo-mobile {
        height: 58px !important;
        max-width: 245px !important;
    }

    .obegames-unified-header .menu_side_area {
        min-height: 52px !important;
        padding-top: 10px !important;
    }

    .obegames-unified-header #menu-btn {
        width: 42px !important;
        height: 42px !important;
        min-width: 42px !important;
        min-height: 42px !important;
        margin-top: 8px !important;
    }
}


/* v61: raise mobile menu icon to align with logo row */
@media (max-width: 991.98px) {
    .obegames-unified-header .de-flex.sm-pt10 {
        align-items: center !important;
    }

    .obegames-unified-header .menu_side_area {
        min-height: 40px !important;
        padding-top: 0 !important;
        align-items: center !important;
        justify-content: flex-end !important;
    }

    .obegames-unified-header #menu-btn {
        margin-top: 0 !important;
        transform: translateY(-6px) !important;
        align-self: center !important;
    }
}


/* v62: increase mobile menu logo size */
@media (max-width: 991.98px) {
    .obegames-unified-header .logo-mobile {
        height: 64px !important;
        max-width: 265px !important;
    }

    .obegames-unified-header #logo,
    .obegames-unified-header #logo a {
        min-height: 46px !important;
    }
}


/* v63: visibly enlarge mobile logo without increasing header height */
@media (max-width: 991.98px) {
    .obegames-unified-header #logo {
        overflow: visible !important;
    }

    .obegames-unified-header #logo a {
        overflow: visible !important;
    }

    .obegames-unified-header .logo-mobile {
        height: 64px !important;
        width: auto !important;
        max-width: none !important;
        transform: scale(1.22) !important;
        transform-origin: left center !important;
    }
}

/* v68: make sticky desktop logo substantially smaller */
@media (min-width: 992px) {
    .obegames-unified-header .logo-main {
        transition: width .2s ease, height .2s ease, max-width .2s ease, max-height .2s ease;
    }

    header.obegames-unified-header.smaller .obe-header-main-logo-col {
        flex: 0 0 172px !important;
        width: 172px !important;
        max-width: 172px !important;
    }

    header.obegames-unified-header.smaller #logo,
    header.obegames-unified-header.smaller #logo a {
        width: 168px !important;
        min-width: 168px !important;
        max-width: 168px !important;
        height: 40px !important;
        min-height: 40px !important;
        max-height: 40px !important;
        align-items: center !important;
        overflow: visible !important;
    }

    header.obegames-unified-header.smaller #logo img.logo-main {
        display: block !important;
        width: 160px !important;
        height: auto !important;
        max-width: 160px !important;
        max-height: 40px !important;
        margin: 0 !important;
        object-fit: contain !important;
        transform: none !important;
        transform-origin: left center !important;
    }
}
