/* Stable purple navigation cards — intentionally no glass, blur, or motion. */

body.liquid-body.home-screen-page .app-bottom-nav,
body.liquid-body:not(.home-screen-page) .app-bottom-nav {
    right: 50%;
    bottom: max(8px, env(safe-area-inset-bottom));
    left: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: min(640px, calc(100% - 24px));
    min-height: 72px;
    padding: 7px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 24px;
    background: linear-gradient(180deg, #2a2144, #1b152e);
    box-shadow: 0 20px 42px rgba(20, 10, 53, .34);
    transform: translateX(50%);
}

body.liquid-body .app-bottom-nav::after {
    display: none;
}

body.liquid-body .app-bottom-nav > .bottom-nav-item {
    position: relative;
    z-index: 1;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 56px;
    gap: 5px;
    padding: 6px 8px;
    border: 1px solid transparent;
    border-radius: 16px;
    background: transparent;
    color: #d4cbe7;
    font-size: 11px;
    line-height: 1.25;
    text-shadow: none;
    transition: background .18s ease, color .18s ease, transform .18s ease, box-shadow .18s ease;
}

body.liquid-body .app-bottom-nav > .bottom-nav-item i {
    font-size: 20px;
}

body.liquid-body .app-bottom-nav > .bottom-nav-item.is-active {
    border-color: rgba(216, 190, 255, .48);
    background: linear-gradient(135deg, #6725dc, #9a3df0);
    box-shadow: 0 8px 18px rgba(91, 29, 207, .38), inset 0 1px 0 rgba(255, 255, 255, .25);
    color: #fff;
}

body.liquid-body .app-bottom-nav > .bottom-nav-item.is-active::after {
    display: none;
}

body.liquid-body .app-bottom-nav > .bottom-nav-item:hover {
    color: #fff;
    background: rgba(145, 80, 238, .20);
}

body.liquid-body .app-bottom-nav > .bottom-nav-item.is-active:hover {
    background: linear-gradient(135deg, #6725dc, #9a3df0);
}

body.liquid-body .app-bottom-nav > .bottom-nav-item:active {
    transform: scale(.96);
}

@media (max-width: 720px) {
    body.liquid-body.home-screen-page .app-bottom-nav,
    body.liquid-body:not(.home-screen-page) .app-bottom-nav {
        right: 0;
        bottom: 0;
        width: 100%;
        min-height: 76px;
        padding: 8px 9px calc(8px + env(safe-area-inset-bottom));
        border-width: 1px 0 0;
        border-radius: 0;
        transform: none;
    }

    body.liquid-body .app-bottom-nav > .bottom-nav-item {
        min-height: 56px;
        gap: 4px;
        padding: 5px 3px;
        border-radius: 14px;
        font-size: 10px;
    }

    body.liquid-body .app-bottom-nav > .bottom-nav-item i {
        font-size: 19px;
    }
}

@media (prefers-reduced-motion: reduce) {
    body.liquid-body .app-bottom-nav > .bottom-nav-item {
        transition: none;
    }
}
