.mobile-side-nav {
    position: fixed;
    top: 50%;
    left: 12px;
    left: max(12px, env(safe-area-inset-left, 0px));
    width: 76px;
    transform: translateY(-50%);
    z-index: 90000;
    color: #98989f;
    font-family: inherit;
    pointer-events: none;
    -webkit-tap-highlight-color: transparent;
}

.mobile-side-nav__panel {
    display: flex;
    width: 76px;
    padding: 0 4px 6px;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: rgba(31, 29, 35, 0.94);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.34);
    box-sizing: border-box;
    pointer-events: auto;
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    transition: width 160ms ease, border-radius 160ms ease, box-shadow 160ms ease;
}

.mobile-side-nav__panel.is-collapsed {
    width: 54px;
    padding: 0;
    gap: 0;
    border-radius: 20px;
}

.mobile-side-nav__panel.is-expanded {
    width: 76px;
}

.mobile-side-nav__panel.is-dragging {
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.46), 0 0 0 1px rgba(31, 162, 255, 0.35);
}

.mobile-side-nav__drag-handle {
    display: flex;
    width: 100%;
    height: 30px;
    min-height: 30px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    outline: 0;
    background: transparent;
    cursor: ns-resize;
    touch-action: none;
    -webkit-user-select: none;
    user-select: none;
}

.mobile-side-nav__drag-handle:focus-visible,
.mobile-side-nav__collapsed-toggle:focus-visible {
    outline: 2px solid #1fa2ff;
    outline-offset: -2px;
}

.mobile-side-nav__drag-handle-icon {
    display: block;
    width: 26px;
    height: 4px;
    opacity: 0.72;
    object-fit: fill;
    pointer-events: none;
}

.mobile-side-nav__collapsed-toggle {
    display: flex;
    width: 100%;
    min-height: 58px;
    padding: 0;
    appearance: none;
    -webkit-appearance: none;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 0 0 19px 19px;
    outline: 0;
    background: rgba(31, 162, 255, 0.12);
    color: #1fa2ff;
    cursor: pointer;
}

.mobile-side-nav__collapsed-toggle-icon {
    display: block;
    width: 30px;
    height: 30px;
    object-fit: contain;
}

.mobile-side-nav__item {
    display: flex;
    width: 100%;
    min-height: 56px;
    padding: 5px 2px;
    appearance: none;
    -webkit-appearance: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border: 0;
    border-radius: 16px;
    outline: 0;
    background: transparent;
    color: #98989f;
    font: inherit;
    cursor: pointer;
    box-sizing: border-box;
}

.mobile-side-nav__item.is-active {
    background: rgba(31, 162, 255, 0.12);
    color: #1fa2ff;
}

.mobile-side-nav__item:focus-visible {
    outline: 2px solid #1fa2ff;
    outline-offset: -2px;
}

.mobile-side-nav__icon {
    display: block;
    width: 26px;
    height: 26px;
    flex: 0 0 26px;
    object-fit: contain;
}

.mobile-side-nav__label {
    display: block;
    max-width: 66px;
    overflow: hidden;
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}
