/* Гамбургер */
.menu-toggle { display: flex; width: 36px; height: 36px; }
.bar { width: 20px; height: 2.5px; }
.menu-toggle.active .bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.active .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.active .bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Шапка */
.header-inner { padding: 0px 0px; gap: 8px; }
.logo { font-size: 20px; }
.nav-actions { gap: 6px; }
.action-btn { width: 32px; height: 32px; font-size: 16px; }

/* Мобильное меню */
.mobile-menu a { padding: 14px; font-size: 14px; }

/* Футер */
.vk-footer { padding: 16px 12px; }
.footer-inner { flex-direction: column; text-align: center; }
.footer-links { flex-direction: column; gap: 8px; }
.footer-copy { font-size: 11px; margin-top: 12px; }

/* Профиль */
.profile-content { display: block; gap: 20px; } /* Исправлено с flow */
.profile-header { margin-bottom: 7px; border-radius: 10px; overflow: hidden; box-shadow: -12px 1px 20px 12px rgb(84 64 131 / 80%); }
.profile-cover { height: 92px; background: linear-gradient(135deg, #eeeff3 0%, #ceb6e7 100%); }
.profile-cover img { width: 101%; height: 237%; object-fit: cover; mix-blend-mode: soft-light; backdrop-filter: blur(82px) brightness(0.9); }
.profile-sidebar { background: white; border-radius: 10px; padding: 1px 1px 0px 3px; height: fit-content; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
.profile-avatar img { width: 100px; height: 100px; border-radius: 46%; border: 5px solid #7162cd73; box-shadow: 0px 0px 20px 7px rgba(0, 0, 0, 0.2); margin-top: -77px; object-fit: cover; }
.online-status { bottom: 100px; right: 20px; width: 10px; height: 10px; background: #4caf50; border: 1px solid white; }

/* Контент и посты */
.content { padding: 0px; }
.post { background: white; border: 2px solid #9fadc170; border-radius: 5px; padding: 5px; margin-bottom: 20px; transition: transform 0.2s, box-shadow 0.2s; }
.post:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,0.1); }
.comments-section { margin-top: 2px; padding-top: 2px; border-top: 3px solid #7889a3; }
.btn, #btnn { padding: 10px 9px; background: #5c437b; color: #ffffff; font-size: 13px; border-radius: 8px; }
.btn:hover, #btnn:hover { transform: translateY(-1px); box-shadow: 0 3px 8px rgba(92,67,123,0.3); }

/* Слайдер (адаптив) */
.slideshow-container { max-width: 100%; margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: -5px 4px 20px 3px rgb(65 0 169 / 65%); background: var(--bg-white); }
.vk-footer { padding: 0; }

.messages-page { padding: 0 8px; margin: 10px auto; }
.messages-page h1 { font-size: 20px; margin-bottom: 12px; }
.dialog-item { padding: 10px 12px; }
.dialog-avatar { width: 44px; height: 44px; }
.dialog-info h3 { font-size: 14px; }
.dialog-preview { font-size: 12px; }
.unread-badge { font-size: 9px; padding: 2px 4px; }
.conversation-page { height: calc(100vh - 55px); padding: 5px 5px; margin: 0px 0px; }
.conversation-header { padding: 3px 12px; border-radius: 8px 8px 0 0; margin: 0px 1px; }
.partner-avatar { width: 38px; height: 38px; }
.partner-info h2 { font-size: 15px; }
.messages-container { padding: 10px; border-radius: 8px; }
.message { max-width: 92%; }
.message-content { padding: 8px 12px; font-size: 13px; border-radius: 14px; }
.message-avatar { width: 28px; height: 28px; }
.emoji-panel { grid-template-columns: repeat(6, 1fr); max-height: 150px; }
.emoji-btn { font-size: 16px; }
.message-input-container { padding: 5px 5px; border-radius: 0 0 8px 8px; }
#message-form { gap: 6px; }
.emoji-toggle, .file-upload-btn { width: 32px; height: 32px; font-size: 16px; }
#message-input { padding: 8px 12px; font-size: 13px; }
.send-btn { width: 34px; height: 34px; font-size: 14px; }
.search { display: none; }


