.navbar-mobile {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(6px + env(safe-area-inset-bottom, 0px));
    z-index: 9999;
    display: flex;
    justify-content: center;
    pointer-events: none;
}

.navbar-mobile .nav-inside {
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 2px;
    width: calc(100% - 20px);
    max-width: 560px;
    height: 56px;
    padding: 4px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .74);
    border: 1px solid rgba(255, 255, 255, .85);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 0 0 .5px rgba(17, 24, 39, .08);
    -webkit-backdrop-filter: blur(18px) saturate(180%);
    backdrop-filter: blur(18px) saturate(180%);
    transition: width .38s cubic-bezier(.2, .8, .2, 1), height .38s cubic-bezier(.2, .8, .2, 1), background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.navbar-mobile.is-compact .nav-inside {
    width: min(calc(100% - 72px), 440px);
    height: 52px;
    background: rgba(255, 255, 255, .68);
    -webkit-backdrop-filter: blur(22px) saturate(190%);
    backdrop-filter: blur(22px) saturate(190%);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
    .navbar-mobile .nav-inside,
    .navbar-mobile.is-compact .nav-inside {
        background: rgba(255, 255, 255, .97);
    }
}

.pk-nav-item {
    position: relative;
    flex: 1 1 0;
    min-width: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: #111827;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: background-color .2s ease, transform .15s ease;
}

.pk-nav-item:active {
    transform: scale(.94);
}

.pk-nav-item:focus-visible {
    outline: 2px solid #ff159b;
    outline-offset: -2px;
}

.pk-nav-item.is-active {
    background: rgba(118, 118, 128, .16);
}

.navbar-mobile.is-compact .pk-nav-item.is-active {
    background: rgba(118, 118, 128, .18);
}

.pk-nav-icon {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.pk-nav-item.is-active .pk-nav-icon--fill {
    fill: currentColor;
}

.pk-nav-iconwrap {
    position: relative;
    display: inline-flex;
}

.pk-nav-badge {
    position: absolute;
    top: -9px;
    right: -13px;
    min-width: 17px;
    height: 17px;
    padding: 0 4px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    border: 2px solid #fff;
    background: #ff159b;
    color: #fff;
    font-size: 10.5px;
    font-weight: 700;
    line-height: 1;
}

.pk-nav-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 0 0 1.5px rgba(17, 24, 39, .12);
}

.pk-nav-item.is-active .pk-nav-avatar {
    box-shadow: 0 0 0 2px #111827;
}

.pk-nav-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .navbar-mobile .nav-inside,
    .pk-nav-item {
        transition: none;
    }
}

@media (min-width: 1280px) {
    .navbar-mobile {
        display: none;
    }
}
