.post-menu-area {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 99991;
    pointer-events: none;
}

.post-menu-area.active {
    pointer-events: all;
}

.post-menu-area-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-modal);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
    pointer-events: none;
}

.post-menu-area.active .post-menu-area-overlay {
    opacity: 1;
    pointer-events: all;
}

.post-menu-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    background-color: #272727;
    border-radius: 22px 22px 0 0;
    padding: 20px 18px 50px 18px;
    height: auto;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.247);
    transform: translateY(120%);
    transition: transform 0.3s ease;
    z-index: 9;
}

.post-menu-bottom::after {
    content: '';
    position: absolute;
    height: 4px;
    width: 40px;
    border-radius: 999px;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    background: #474747;
}

.post-menu-area.active .post-menu-bottom {
    transform: translateY(0);
}

.menu-bottom-btns-top {
    border-radius: 14px;
    background: #333;
}

.menu-bottom-btns-bottom {
    border-radius: 14px;
    background: #333;
}

.menu-bottom-btn {
    background-color: transparent;
    padding: 16px 20px;
    color: white;
    border: none;
    font-size: 1.2rem;
    width: 100%;
}

.menu-bottom-btn:last-child {
    border-bottom: none;
}

.menu-bottom-btn.n-owner {
    display: none;
}

.menu-bottom-btn.critic-btn {
    color: #ff4d4d;
}

body.scroll-locked {
    overflow: hidden;
}

.overlay-alert {
    position: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    inset: 0;
    width: 100%;
    height: 100vh;
    z-index: 99992;
    background: var(--bg-modal);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.overlay-alert.active {
    opacity: 1;
    pointer-events: all;
}

.alert-box {
    border-radius: 10px;
    background-color: #272727;
    min-width: 280px;
    max-width: 310px;
}

.alert-title {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
}

.alert-text {
    color: #ccc;
    font-size: 0.9rem;
    text-align: center;
}

.alert-area {
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-bottom: 1px solid #373737;
    gap: 4px;
}

.alert-actions {
    display: flex;
}

.alert-btn {
    width: 100%;
    min-height: 50px;
    background: transparent;
    border: none;
    font-size: 1rem;
    color: #ddd;
}

.alert-btn.critic-btn {
    color: #ff4d4d;
}

.alert-btn:first-child {
    border-right: 1px solid #373737;
}