.post-card { animation: fadeIn 0.3s ease-out; } .post-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 12px; } .post-author { display: flex; gap: 12px; cursor: pointer; user-select: none; } .author-avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; } .author-info { display: flex; flex-direction: column; gap: 2px; } .author-name { font-size: 15px; font-weight: 600; color: var(--text-primary); } .post-date { font-size: 13px; color: var(--text-secondary); } .menu-btn { width: 32px; height: 32px; border-radius: 50%; background: transparent; color: var(--text-primary); display: flex; align-items: center; justify-content: center; } .menu-btn svg { stroke: currentColor; } .menu-btn:active { background: var(--bg-primary); } .post-content { font-size: 15px; line-height: 1.5; color: var(--text-primary); margin-bottom: 12px; white-space: pre-wrap; word-wrap: break-word; } .post-images { margin: 0 -16px 12px; width: calc(100% + 32px); } .image-carousel { position: relative; width: 100%; max-height: 400px; overflow: hidden; } .image-carousel img { width: 100%; height: 100%; max-height: 400px; object-fit: cover; display: block; } .carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(0, 0, 0, 0.3); color: white; display: flex; opacity: 0.7; z-index: 10; align-items: center; justify-content: center; border: none; cursor: pointer; backdrop-filter: blur(5px); z-index: 10; } .carousel-btn svg { stroke: white; } .carousel-btn.prev { left: 0; width: 33.33%; height: 100%; border-radius: 0; background: transparent; justify-content: flex-start; padding-left: 12px; } .carousel-btn.next { right: 0; width: 33.33%; height: 100%; border-radius: 0; background: transparent; justify-content: flex-end; padding-right: 12px; } .carousel-btn.prev svg, .carousel-btn.next svg { position: relative; z-index: 2; background: rgba(0, 0, 0, 0.3); border-radius: 50%; padding: 6px; opacity: 0.7; transition: opacity 0.2s, background 0.2s; } .carousel-btn.prev:hover svg, .carousel-btn.next:hover svg, .carousel-btn.prev:active svg, .carousel-btn.next:active svg { opacity: 1; background: rgba(0, 0, 0, 0.5); } .carousel-dots { position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; } .dot { width: 8px; height: 8px; border-radius: 50%; background: rgba(255, 255, 255, 0.5); cursor: pointer; transition: all 0.2s; } .dot.active { background: white; width: 20px; border-radius: 4px; } .post-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; } .post-tag { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; color: white; } .nsfw-badge { padding: 4px 12px; border-radius: 12px; font-size: 12px; font-weight: 600; background: #FF3B30; color: white; } .post-actions { display: flex; gap: 16px; padding-top: 12px; border-top: 1px solid var(--divider-color); } .action-btn { display: flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 20px; background: transparent; color: var(--text-primary); font-size: 14px; font-weight: 500; transition: all 0.2s; } .action-btn:active { background: var(--bg-primary); } .action-btn.active { color: var(--text-primary); } .action-btn span { min-width: 20px; }