.post-create-box { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; background: var(--panel); padding: 15px; border-radius: 12px; border: 1px solid var(--border); }
.post-textarea { width: 100%; min-height: 80px; padding: 12px; border: 1.5px solid var(--border); border-radius: 12px; font-family: inherit; font-size: 14px; resize: vertical; box-sizing: border-box; background: var(--card); color: var(--text); }
.post-textarea:focus { outline: none; border-color: var(--secondary); box-shadow: 0 0 0 3px rgba(138,75,255,0.1); }
.post-actions { display: flex; justify-content: flex-end; }

.feed-item { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 16px; margin-bottom: 12px; }
.feed-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.feed-time { font-size: 11px; color: var(--muted); }
.feed-text { white-space: pre-wrap; word-break: break-word; font-size: 14.5px; line-height: 1.5; margin-bottom: 12px; }

.feed-actions { display: flex; gap: 8px; }
.btn-action { background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 6px 14px; color: var(--muted); cursor: pointer; font-size: 13px; font-weight: 700; transition: 0.2s; display: inline-flex; align-items: center; gap: 6px; }
.btn-action:hover { filter: brightness(0.95); color: var(--text); }
.btn-action.liked { background: var(--danger-soft); color: var(--danger); border-color: var(--danger-soft); }

.comments-section { margin-top: 15px; padding-top: 15px; border-top: 1px dashed var(--border); display: none; }
.comments-section.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-5px); } to { opacity: 1; transform: translateY(0); } }

.comment-input-wrap { display: flex; gap: 8px; margin-top: 10px; }
.comment-input { flex: 1; padding: 10px 12px; border: 1px solid var(--border); border-radius: 20px; font-family: inherit; font-size: 13px; background: var(--card); color: var(--text); }
.comment-input:focus { outline: none; border-color: var(--secondary); }
.comment-btn { background: var(--primary); color: white; border: none; border-radius: 20px; padding: 0 16px; font-weight: bold; cursor: pointer; font-size: 13px; transition: 0.2s; }
.comment-btn:active { transform: scale(0.95); }

.reply-comment { margin-left: 24px; border-left: 2px solid var(--primary); padding-left: 10px; }
.btn-reply { background: none; border: none; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; padding: 0; margin-top: 6px; transition: 0.2s; }
.btn-reply:hover { color: var(--primary); text-decoration: underline; }
.replying-to-badge { font-size: 11px; font-weight: bold; color: var(--primary); margin-bottom: 8px; display: none; align-items: center; justify-content: space-between; background: var(--panel); padding: 6px 12px; border-radius: 8px; border: 1px solid var(--primary); }
.replying-to-badge.active { display: flex; }

.comment-actions { display: flex; gap: 10px; margin-top: 4px; align-items: center; }
.btn-comment-like { background: none; border: none; color: var(--muted); font-size: 11px; font-weight: 700; cursor: pointer; padding: 0; display: inline-flex; align-items: center; gap: 4px; transition: 0.2s; }
.btn-comment-like:hover, .btn-comment-like.liked { color: var(--danger); }
/* Стили элементов в окне уведомлений */
.notification-box { display: flex; align-items: center; gap: 15px; margin-bottom: 10px; background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 12px; cursor: pointer; transition: 0.2s; }
.notification-box:hover { border-color: var(--secondary); transform: translateY(-1px); }
.notification-box.unread { font-weight: bold; border-left: 4px solid var(--primary); background: var(--card); }
.notification-box.read { font-weight: normal; opacity: 0.8; font-size: 12.5px; }
.notification-box.read .notif-text { font-size: 12.5px; }