
.public_mobile_bar,
.public_mobile_drawer,
.public_mobile_overlay {
    display: none;
}

@media (max-width: 991px) {
    body.public_site_mobile {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    body.public_site_mobile .top_header,
    body.public_site_mobile .bottom_header {
        display: none !important;
    }

    body.public_site_mobile .public_mobile_bar {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr) auto;
        align-items: center;
        gap: 8px;
        min-height: 64px;
        padding: 8px 10px;
        background: #111827;
        border-bottom: 1px solid rgba(255, 255, 255, 0.10);
        position: relative;
        z-index: 1200;
    }

    body.public_site_mobile .public_mobile_menu_button {
        width: 42px;
        height: 42px;
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 7px;
        background: transparent;
        color: #fff;
        font-size: 19px;
        cursor: pointer;
    }

    body.public_site_mobile .public_mobile_logo {
        display: flex;
        justify-content: center;
        align-items: center;
        min-width: 0;
    }

    body.public_site_mobile .public_mobile_logo img {
        display: block;
        width: auto;
        max-width: min(170px, 46vw);
        max-height: 42px;
        object-fit: contain;
    }

    body.public_site_mobile .public_mobile_account {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 6px;
        min-width: 0;
        color: #fff;
    }

    body.public_site_mobile .public_mobile_account a,
    body.public_site_mobile .public_mobile_account button {
        color: #fff;
        font-size: 12px;
        line-height: 1;
        text-decoration: none;
    }

    body.public_site_mobile .public_mobile_username {
        max-width: 20vw;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    body.public_site_mobile .public_mobile_logout {
        border: 1px solid rgba(255,255,255,.18);
        border-radius: 6px;
        background: transparent;
        padding: 8px 9px;
        cursor: pointer;
    }

    body.public_site_mobile .public_mobile_drawer {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        bottom: 0;
        width: min(280px, 82vw);
        padding: 22px 16px;
        background: #111827;
        color: #fff;
        transform: translateX(-100%);
        transition: transform .25s ease;
        z-index: 1300;
        overflow-y: auto;
        box-shadow: 8px 0 26px rgba(0,0,0,.22);
    }

    body.public_site_mobile .public_mobile_drawer.open {
        transform: translateX(0);
    }

    body.public_site_mobile .public_mobile_drawer_brand {
        display: flex;
        justify-content: center;
        padding: 4px 8px 24px;
    }

    body.public_site_mobile .public_mobile_drawer_brand img {
        width: auto;
        max-width: 190px;
        max-height: 48px;
    }

    body.public_site_mobile .public_mobile_drawer_group {
        margin: 18px 8px 7px;
        text-transform: uppercase;
        font-size: 11px;
        letter-spacing: 1px;
        color: #8893a5;
    }

    body.public_site_mobile .public_mobile_drawer a,
    body.public_site_mobile .public_mobile_drawer button {
        display: flex;
        align-items: center;
        gap: 12px;
        width: 100%;
        border: 0;
        border-radius: 8px;
        background: transparent;
        color: #d1d5db;
        padding: 12px 14px;
        margin: 4px 0;
        text-align: left;
        text-decoration: none;
        cursor: pointer;
    }

    body.public_site_mobile .public_mobile_drawer a:hover,
    body.public_site_mobile .public_mobile_drawer button:hover {
        background: #273244;
        color: #fff;
    }

    body.public_site_mobile .public_mobile_overlay {
        display: block;
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.48);
        opacity: 0;
        pointer-events: none;
        transition: opacity .2s ease;
        z-index: 1250;
    }

    body.public_site_mobile .public_mobile_overlay.open {
        opacity: 1;
        pointer-events: auto;
    }

    body.public_site_mobile .slicknav_menu {
        display: none !important;
    }

    body.public_site_mobile .ticker_wrapper {
        position: relative;
        z-index: 1;
    }
}

@media (max-width: 480px) {
    body.public_site_mobile .public_mobile_bar {
        grid-template-columns: 44px minmax(0, 1fr) auto;
        min-height: 58px;
        padding: 7px 7px;
        gap: 5px;
    }

    body.public_site_mobile .public_mobile_logo img {
        max-width: 43vw;
        max-height: 34px;
    }

    body.public_site_mobile .public_mobile_username {
        max-width: 19vw;
        font-size: 11px;
    }

    body.public_site_mobile .public_mobile_logout {
        padding: 7px 8px;
        font-size: 11px;
    }
}
