.mnn-shell {
    --mnn-neutral: #f7f3f6;
    --mnn-muted: rgba(255, 255, 255, 0.76);
    bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    display: none;
    left: 0;
    opacity: 0;
    padding: 28px 14px 0;
    pointer-events: none;
    position: fixed;
    right: 0;
    transform: translateY(16px);
    z-index: 2147483000;
}

.mnn-shell.is-visible {
    pointer-events: auto;
}

.mnn-bar {
    background:
        radial-gradient(ellipse at var(--mnn-glow-center, 50%) -18px, color-mix(in srgb, var(--mnn-neon) 28%, transparent), transparent 43%),
        linear-gradient(180deg, rgba(28, 26, 31, 0.98) 0%, rgba(16, 14, 19, 0.99) 54%, rgba(8, 7, 10, 0.99) 100%);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    box-shadow:
        0 10px 28px rgba(0, 0, 0, 0.56),
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        inset 0 -10px 24px color-mix(in srgb, var(--mnn-neon) 13%, transparent);
    margin: 0 auto;
    max-width: 430px;
    min-height: 58px;
    overflow: visible;
    position: relative;
}

.mnn-list {
    align-items: stretch;
    display: flex;
    gap: 0;
    justify-content: space-between;
    list-style: none;
    margin: 0;
    padding: 5px 7px 6px;
    position: relative;
    z-index: 3;
}

.mnn-item-wrap {
    flex: 1 1 0;
    min-width: 0;
}

.mnn-item,
.mnn-item:visited {
    align-items: center;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--mnn-neutral) !important;
    display: flex;
    flex-direction: column;
    gap: 3px;
    height: 49px;
    justify-content: center;
    min-width: 0;
    outline: 0 !important;
    padding: 0 2px;
    position: relative;
    text-decoration: none !important;
    -webkit-tap-highlight-color: transparent;
}

.mnn-item:hover,
.mnn-item:focus,
.mnn-item:focus-visible,
.mnn-item:active {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
    color: var(--mnn-neutral) !important;
    outline: 0 !important;
    text-decoration: none !important;
}

.mnn-item.is-active,
.mnn-item.is-active:hover,
.mnn-item.is-active:focus {
    color: var(--mnn-neon) !important;
    text-shadow: 0 0 8px color-mix(in srgb, var(--mnn-neon) 55%, transparent);
}

.mnn-item-icon {
    color: currentColor !important;
    display: block;
    height: 20px;
    stroke: currentColor !important;
    width: 20px;
}

.mnn-item-label {
    color: currentColor !important;
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mnn-neon-line {
    bottom: 0;
    height: 86px;
    left: 0;
    overflow: visible;
    pointer-events: none;
    position: absolute;
    right: 0;
    width: 100%;
    z-index: 2;
}

.mnn-neon-line-core,
.mnn-neon-line-soft {
    fill: none;
    stroke: var(--mnn-neon);
    stroke-linecap: round;
    stroke-linejoin: round;
    vector-effect: non-scaling-stroke;
}

.mnn-neon-line-core {
    filter: drop-shadow(0 0 4px var(--mnn-neon));
    opacity: 0.94;
    stroke-width: 4;
}

.mnn-neon-line-soft {
    filter: blur(3px);
    opacity: 0.38;
    stroke-width: 9;
}

body.mnn-has-mobile-nav {
    padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
}

@media (max-width: 767px) {
    body {
        padding-bottom: calc(94px + env(safe-area-inset-bottom, 0px));
    }

    .mnn-shell {
        animation: mnn-enter 0.34s ease 0.28s forwards;
        display: block;
        pointer-events: none;
    }

    .mnn-shell.is-visible {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@keyframes mnn-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }

    to {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
    }
}

@media (max-width: 360px) {
    .mnn-shell {
        padding: 0 9px;
    }

    .mnn-bar {
        min-height: 56px;
    }

    .mnn-list {
        padding-left: 5px;
        padding-right: 5px;
    }

    .mnn-item {
        height: 46px;
    }

    .mnn-item-icon {
        height: 18px;
        width: 18px;
    }

    .mnn-item-label {
        font-size: 8px;
    }
}

@supports not (background: color-mix(in srgb, red 50%, transparent)) {
    .mnn-bar {
        box-shadow: 0 10px 28px rgba(0, 0, 0, 0.56), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    }

    .mnn-item.is-active {
        text-shadow: 0 0 8px var(--mnn-neon);
    }
}
