/* Single source of truth for the generated mobile bottom navigation. */

#mobNav,
#mobBackdrop,
#mobileAccountSheet,
#langSheet,
#mobileNav,
.mobile-nav {
    display: none;
}

@media (max-width: 900px) {
    :root {
        --header-h: 56px !important;
    }

    html,
    body {
        overflow-x: hidden !important;
    }

    html body header nav .nav-links,
    html body .nav-links,
    html body #desktopNavLinks,
    html body .guest-mobile-nav,
    html body .guest-mobile-nav.open {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        inset: auto !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    #mobileNav,
    .mobile-nav {
        display: none !important;
    }

    body {
        padding-bottom: calc(60px + env(safe-area-inset-bottom, 0)) !important;
    }

    #mobNav {
        display: block !important;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        top: auto !important;
        z-index: 1500 !important;
        width: 100% !important;
        height: calc(60px + env(safe-area-inset-bottom, 0)) !important;
        min-height: 60px !important;
        padding: 0 0 env(safe-area-inset-bottom, 0) !important;
        margin: 0 !important;
        overflow: hidden !important;
        background: rgba(10, 14, 39, 0.95) !important;
        border: 0 !important;
        box-shadow: none !important;
        backdrop-filter: blur(24px) !important;
        transform: translateZ(0) !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    #mobNav,
    #mobNav * {
        box-sizing: border-box !important;
        max-width: none !important;
        min-width: 0 !important;
        font-synthesis: none !important;
    }

    #mobNav .mn-inner {
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        width: 100% !important;
        height: 60px !important;
        padding: 3px 4px 4px !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    #mobNav .mn-item,
    #mobNav .mn-item:hover,
    #mobNav .mn-item:active,
    #mobNav .mn-item:focus,
    #mobNav .mn-item:focus-visible {
        flex: 1 1 20% !important;
        width: 20% !important;
        height: 53px !important;
        min-height: 53px !important;
        max-height: 53px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 0 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: rgba(255, 255, 255, 0.52) !important;
        text-decoration: none !important;
        transform: none !important;
        translate: none !important;
        filter: none !important;
        cursor: pointer !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
        -webkit-touch-callout: none !important;
        user-select: none !important;
        -webkit-user-select: none !important;
        transition: none !important;
        animation: none !important;
        contain: layout paint style !important;
    }

    #mobNav .mn-item.mn-active,
    #mobNav .mn-item.mn-active:hover,
    #mobNav .mn-item.mn-active:active,
    #mobNav .mn-item.mn-active:focus,
    #mobNav .mn-item.mn-active:focus-visible {
        color: var(--secondary, #00e5ff) !important;
        background: transparent !important;
    }

    #mobNav .mn-ico-wrap,
    #mobNav #mn-user-inner {
        position: relative !important;
        flex: 0 0 21px !important;
        width: 21px !important;
        height: 21px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        top: 0 !important;
        left: auto !important;
        transform: none !important;
        translate: none !important;
    }

    #mobNav .mn-ico,
    #mobNav svg.mn-ico {
        flex: 0 0 21px !important;
        width: 21px !important;
        height: 21px !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        translate: none !important;
    }

    #mobNav .mn-label {
        flex: 0 0 10px !important;
        width: 100% !important;
        max-width: 70px !important;
        height: 10px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
        color: inherit !important;
        font-family: 'Inter', Arial, Helvetica, sans-serif !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        line-height: 10px !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
        transform: none !important;
        translate: none !important;
        transition: none !important;
    }

    .mobile-account-sheet .dropdown-plan-badge,
    .mobile-account-sheet .dropdown-plan-badge .badge-text {
        font-family: 'Inter', Arial, Helvetica, sans-serif !important;
        font-size: 0.66rem !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
        line-height: 1.15 !important;
    }

    #mobNav .mn-home-item,
    #mobNav .mn-home-item:hover,
    #mobNav .mn-home-item:active,
    #mobNav .mn-home-item:focus,
    #mobNav .mn-home-item:focus-visible {
        gap: 0 !important;
        padding: 0 2px !important;
        line-height: 0 !important;
    }

    #mobNav .mn-logo-slot {
        flex: none !important;
        width: 52px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        line-height: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        transform: none !important;
        translate: none !important;
        pointer-events: none !important;
    }

    #mobNav .mn-logo-img {
        width: auto !important;
        max-width: 46px !important;
        height: 13px !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        opacity: 1 !important;
        filter: none !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        transform: none !important;
        translate: none !important;
        transition: none !important;
    }

    #mobNav .mn-user-avatar {
        flex: 0 0 21px !important;
        width: 21px !important;
        height: 21px !important;
        display: block !important;
        border-radius: 50% !important;
        object-fit: cover !important;
    }

    #mobNav .mn-badge,
    #mobNav .mn-user-badge {
        position: absolute !important;
        top: -5px !important;
        right: -8px !important;
        left: auto !important;
        bottom: auto !important;
        min-width: 15px !important;
        height: 15px !important;
        display: none;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 3px 1px !important;
        border-radius: 8px !important;
        background: var(--primary, #ff1744) !important;
        color: #fff !important;
        font-family: 'Inter', Arial, Helvetica, sans-serif !important;
        font-size: 8px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        transform: none !important;
        translate: none !important;
    }

    #mobNav .mn-badge:empty,
    #mobNav .mn-user-badge:empty {
        display: none !important;
    }

    #mobBackdrop {
        display: none;
        position: fixed !important;
        inset: 0 !important;
        z-index: 1497 !important;
        background: rgba(0, 0, 0, 0.5) !important;
    }

    #mobileAccountSheet {
        display: none;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: calc(60px + env(safe-area-inset-bottom, 0)) !important;
        z-index: 1498 !important;
        width: 100% !important;
        max-width: 100% !important;
        max-height: calc(100dvh - 104px) !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        scrollbar-width: none !important;
        -ms-overflow-style: none !important;
        overscroll-behavior: contain !important;
        padding: 10px 12px 12px !important;
        background: rgba(13, 17, 38, 0.99) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.36) !important;
    }

    #mobileAccountSheet::-webkit-scrollbar {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
    }

    #mobileAccountSheet.open {
        display: block !important;
        animation: mobDdIn 0.3s cubic-bezier(0.32, 1, 0.36, 1) !important;
    }

    #mobileAccountSheet.closing {
        animation: mobDdOut 0.2s ease-in forwards !important;
    }

    #mobileAccountSheet * {
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    #mobileAccountSheet .user-dropdown {
        position: static !important;
        display: block !important;
        width: 100% !important;
        min-width: 0 !important;
        max-width: 100% !important;
        overflow-x: hidden !important;
        opacity: 1 !important;
        pointer-events: auto !important;
        transform: none !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
        border-radius: 0 !important;
    }

    #mobileAccountSheet .user-dropdown::before {
        display: none !important;
    }

    .lang-sheet {
        display: none;
        position: fixed !important;
        left: 0 !important;
        right: 0 !important;
        bottom: calc(60px + env(safe-area-inset-bottom, 0)) !important;
        z-index: 1499 !important;
        padding: 14px 12px 10px !important;
        background: rgba(13, 17, 38, 0.99) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        border-right: 0 !important;
        border-bottom: 0 !important;
        border-left: 0 !important;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.36) !important;
    }

    .lang-sheet.open {
        display: block !important;
        animation: mobDdIn 0.3s cubic-bezier(0.32, 1, 0.36, 1) !important;
    }

    .lang-sheet.closing {
        animation: mobDdOut 0.2s ease-in forwards !important;
    }

    .lang-sheet-title {
        padding: 0 4px !important;
        margin-bottom: 8px !important;
        color: rgba(255, 255, 255, 0.36) !important;
        font-family: 'Inter', Arial, Helvetica, sans-serif !important;
        font-size: 0.64rem !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em !important;
        text-transform: uppercase !important;
    }

    .lang-sheet-opt {
        display: flex !important;
        align-items: center !important;
        gap: 10px !important;
        width: 100% !important;
        padding: 11px 8px !important;
        border: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        cursor: pointer !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .lang-sheet-opt:active {
        background: rgba(255, 255, 255, 0.06) !important;
    }

    .lang-sheet-name {
        flex: 1 !important;
        color: rgba(255, 255, 255, 0.88) !important;
        font-family: 'Inter', Arial, Helvetica, sans-serif !important;
        font-size: 0.8rem !important;
        font-weight: 600 !important;
        text-align: left !important;
    }

    .lang-sheet-check {
        width: 16px !important;
        height: 16px !important;
        flex: 0 0 16px !important;
    }

    .lang-sheet-opt.active .lang-sheet-name {
        color: var(--secondary, #00e5ff) !important;
    }

    .lang-sheet-opt.active .lang-sheet-check::after {
        content: "" !important;
        display: block !important;
        width: 10px !important;
        height: 6px !important;
        margin: auto !important;
        border-bottom: 2px solid var(--secondary, #00e5ff) !important;
        border-left: 2px solid var(--secondary, #00e5ff) !important;
        transform: rotate(-45deg) translateY(-2px) !important;
    }

    @keyframes mobDdIn {
        from { transform: translateY(16px); opacity: 0; }
        to { transform: translateY(0); opacity: 1; }
    }

    @keyframes mobDdOut {
        from { transform: translateY(0); opacity: 1; }
        to { transform: translateY(16px); opacity: 0; }
    }

    html body #mobNav .mn-inner {
        display: flex !important;
        align-items: stretch !important;
        justify-content: stretch !important;
        width: 100% !important;
        height: 60px !important;
        padding: 3px 4px 4px !important;
        gap: 0 !important;
        margin: 0 !important;
    }

    html body #mobNav .mn-item,
    html body #mobNav .mn-item:hover,
    html body #mobNav .mn-item:active,
    html body #mobNav .mn-item:focus,
    html body #mobNav .mn-item:focus-visible {
        flex: 1 1 20% !important;
        width: 20% !important;
        height: 53px !important;
        min-height: 53px !important;
        max-height: 53px !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 5px !important;
        padding: 0 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        color: rgba(255, 255, 255, 0.52) !important;
        text-decoration: none !important;
        transform: none !important;
        translate: none !important;
        transition: none !important;
    }

    html body #mobNav .mn-item.mn-active,
    html body #mobNav .mn-item.mn-active:hover,
    html body #mobNav .mn-item.mn-active:active,
    html body #mobNav .mn-item.mn-active:focus,
    html body #mobNav .mn-item.mn-active:focus-visible {
        color: var(--secondary, #00e5ff) !important;
        background: transparent !important;
    }

    html body #mobNav .mn-ico-wrap,
    html body #mobNav #mn-user-inner {
        position: relative !important;
        top: 0 !important;
        left: auto !important;
        flex: 0 0 21px !important;
        width: 21px !important;
        height: 21px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        transform: none !important;
        translate: none !important;
    }

    html body #mobNav .mn-label {
        position: static !important;
        flex: 0 0 10px !important;
        width: 100% !important;
        max-width: 70px !important;
        height: 10px !important;
        margin: 0 !important;
        color: inherit !important;
        font-family: Arial, Helvetica, sans-serif !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        line-height: 10px !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        transform: none !important;
        translate: none !important;
    }

    html body #mobNav .mn-home-item,
    html body #mobNav .mn-home-item:hover,
    html body #mobNav .mn-home-item:active,
    html body #mobNav .mn-home-item:focus,
    html body #mobNav .mn-home-item:focus-visible {
        position: relative !important;
        display: flex !important;
        gap: 0 !important;
        align-items: center !important;
        justify-content: center !important;
    }

    html body #mobNav .mn-logo-slot {
        position: absolute !important;
        top: 50% !important;
        left: 50% !important;
        transform: translate(-50%, -50%) !important;
        width: 52px !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 0 !important;
    }

    html body #mobNav .mn-logo-img {
        width: auto !important;
        max-width: 46px !important;
        height: 13px !important;
        display: block !important;
        transform: none !important;
        translate: none !important;
    }

    html body #mobileNav,
    html body .mobile-nav,
    html body #mobileNav.open,
    html body .mobile-nav.open,
    html body header nav .nav-links,
    html body .nav-links,
    html body #desktopNavLinks,
    html body .guest-mobile-nav,
    html body .guest-mobile-nav.open {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
        position: absolute !important;
        inset: auto !important;
        width: 0 !important;
        height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }

    html body #mobNav {
        display: block !important;
        height: calc(60px + env(safe-area-inset-bottom, 0)) !important;
        min-height: calc(60px + env(safe-area-inset-bottom, 0)) !important;
        max-height: calc(60px + env(safe-area-inset-bottom, 0)) !important;
    }

    html body #mobNav .mn-inner {
        display: grid !important;
        grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
        align-items: center !important;
        justify-items: stretch !important;
        height: 60px !important;
        min-height: 60px !important;
        max-height: 60px !important;
        padding: 4px 4px 4px !important;
        gap: 0 !important;
    }

    html body #mobNav .mn-item,
    html body #mobNav a.mn-item,
    html body #mobNav button.mn-item,
    html body #mobNav .mn-item:hover,
    html body #mobNav .mn-item:active,
    html body #mobNav .mn-item:focus,
    html body #mobNav .mn-item:focus-visible,
    html body #mobNav .mn-item.mn-active,
    html body #mobNav .mn-item.mn-active:hover,
    html body #mobNav .mn-item.mn-active:active,
    html body #mobNav .mn-item.mn-active:focus,
    html body #mobNav .mn-item.mn-active:focus-visible {
        display: block !important;
        position: relative !important;
        grid-template-rows: none !important;
        grid-auto-rows: 0 !important;
        align-content: center !important;
        align-items: center !important;
        justify-items: center !important;
        row-gap: 5px !important;
        width: 100% !important;
        min-width: 0 !important;
        height: 51px !important;
        min-height: 51px !important;
        max-height: 51px !important;
        padding: 0 2px !important;
        margin: 0 !important;
        border: 0 !important;
        border-radius: 0 !important;
        outline: 0 !important;
        box-shadow: none !important;
        background: transparent !important;
        text-decoration: none !important;
        font: inherit !important;
        font-size: 0 !important;
        line-height: normal !important;
        transform: none !important;
        translate: none !important;
        transition: none !important;
        animation: none !important;
        appearance: none !important;
        -webkit-appearance: none !important;
        -webkit-tap-highlight-color: transparent !important;
        overflow: hidden !important;
        contain: layout paint style !important;
    }

    html body #mobNav .mn-item {
        color: rgba(255, 255, 255, 0.52) !important;
    }

    html body #mobNav .mn-item.mn-active {
        color: var(--secondary, #00e5ff) !important;
    }

    html body #mobNav .mn-ico-wrap,
    html body #mobNav #mn-user-inner {
        grid-row: auto !important;
        position: absolute !important;
        top: 7px !important;
        left: 50% !important;
        width: 21px !important;
        min-width: 21px !important;
        max-width: 21px !important;
        height: 21px !important;
        min-height: 21px !important;
        max-height: 21px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        line-height: 0 !important;
        transform: translateX(-50%) !important;
        translate: none !important;
        overflow: visible !important;
    }

    html body #mobNav #mn-user-inner:has(.mn-avatar-wrap) {
        top: 5px !important;
    }

    html body #mobNav #mn-user-inner .mn-avatar-wrap {
        position: static !important;
        width: 21px !important;
        height: 21px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 0 !important;
        margin: 0 !important;
        transform: none !important;
        translate: none !important;
    }

    html body #mobNav .mn-ico,
    html body #mobNav svg.mn-ico,
    html body #mobNav .mn-user-avatar {
        width: 21px !important;
        min-width: 21px !important;
        max-width: 21px !important;
        height: 21px !important;
        min-height: 21px !important;
        max-height: 21px !important;
        display: block !important;
        padding: 0 !important;
        margin: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        outline: 0 !important;
        background: transparent !important;
        line-height: 0 !important;
        transform: none !important;
        translate: none !important;
    }

    html body #mobNav .mn-label,
    html body #mobNav .mn-item.mn-active .mn-label,
    html body #mobNav .mn-item:hover .mn-label,
    html body #mobNav .mn-item:active .mn-label,
    html body #mobNav .mn-item:focus .mn-label {
        grid-row: auto !important;
        position: absolute !important;
        top: 33px !important;
        left: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 70px !important;
        height: 11px !important;
        min-height: 11px !important;
        max-height: 11px !important;
        padding: 0 !important;
        margin: 0 !important;
        color: inherit !important;
        font-family: Inter, Arial, Helvetica, sans-serif !important;
        font-size: 9.5px !important;
        font-weight: 600 !important;
        line-height: 11px !important;
        letter-spacing: 0 !important;
        text-align: center !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        transform: translateX(-50%) !important;
        translate: none !important;
        transition: none !important;
        animation: none !important;
    }

    html body #mobNav .mn-home-item,
    html body #mobNav .mn-home-item:hover,
    html body #mobNav .mn-home-item:active,
    html body #mobNav .mn-home-item:focus,
    html body #mobNav .mn-home-item:focus-visible {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
    }

    html body #mobNav .mn-label::before,
    html body #mobNav .mn-label::after,
    html body #mobNav .mn-item.mn-active .mn-label::before,
    html body #mobNav .mn-item.mn-active .mn-label::after,
    html body #mobNav .mn-item:hover .mn-label::before,
    html body #mobNav .mn-item:hover .mn-label::after,
    html body #mobNav .mn-item:active .mn-label::before,
    html body #mobNav .mn-item:active .mn-label::after,
    html body #mobNav .mn-item:focus .mn-label::before,
    html body #mobNav .mn-item:focus .mn-label::after,
    html body #mobNav .mn-item:focus-visible .mn-label::before,
    html body #mobNav .mn-item:focus-visible .mn-label::after {
        content: none !important;
        display: none !important;
    }
}
