* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.vk-viewer {
    position: fixed;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
}

.post-wrapper {
    background: #dcd4de;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    padding: 20px;
    position: relative;
    width: 80%;
    max-width: 80%;
    max-height: 95vh;
    display: none;
    box-sizing: border-box;
    margin: 0 auto;
    overflow-y: scroll;
}

.post-wrapper.active {
    display: block;
}

.arrow-container {
    width: 10%;
    display: flex;
    justify-content: center;
}

.arrow-container.left {
    position: absolute;
    left: 10px;
    top: 50%;
}

.arrow-container.right {
    position: absolute;
    right: 10px;
    top: 50%;
}

.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.arrow:hover {
    background: rgba(230, 230, 230, 1);
}

.arrow svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 800px) {
    .arrow-container.left {
        left: 5px;
    }
    .arrow-container.right {
        right: 5px;
    }
    .arrow {
        width: 10px;
        height: 10px;
    }
    .arrow svg {
        width: 10px;
        height: 10px;
    }
}

.post-header {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.post-date, .post-id {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 10px;
}

.post-id.a {
    color: #777;
}

.post-content {
    margin-bottom: 20px;
    font-size: 1.1rem;
    white-space: pre-line
}

.post-footer {
    margin-top: 20px;
    display: flex;
    gap: 20px;
    font-weight: bold;
    flex-wrap: wrap;
}