/* ============================================
   Feed Page Styles
   ============================================ */

.feed-container {
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-6);
}

/* Feed Header */
.feed-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
}

.feed-title {
    font-size: var(--text-3xl);
    font-weight: var(--font-bold);
    color: var(--text-primary);
    margin: 0;
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    font-size: var(--text-sm);
    color: var(--text-secondary);
    background-color: var(--surface-100);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--radius-full);
}

.online-dot {
    width: 8px;
    height: 8px;
    background-color: var(--success);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Feed Tabs */
.feed-tabs {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    padding-bottom: var(--space-4);
    border-bottom: 1px solid var(--border-primary);
}

.feed-tab {
    padding: var(--space-3) var(--space-6);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    font-size: var(--text-base);
    font-weight: var(--font-medium);
    color: var(--text-tertiary);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.feed-tab:hover {
    color: var(--text-primary);
    background-color: var(--surface-50);
}

.feed-tab.active {
    color: var(--primary-600);
    border-bottom-color: var(--primary-600);
    background-color: var(--primary-50);
}

/* ============================================
   Feed Filters
   ============================================ */

.feed-filters {
    display: flex;
    gap: var(--space-2);
    background: var(--surface-100);
    padding: var(--space-1);
    border-radius: var(--radius-lg);
    align-self: center;
}

.feed-filter {
    padding: var(--space-2) var(--space-4);
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    white-space: nowrap;
}

.feed-filter:hover {
    background: var(--surface-200);
    color: var(--text-primary);
}

.feed-filter.active {
    background: var(--primary-500);
    color: white;
    box-shadow: var(--shadow-sm);
}

/* Responsive */
@media (max-width: 768px) {
    .feed-filters {
        width: 100%;
        justify-content: center;
    }
    
    .feed-filter {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .feed-filter {
        padding: var(--space-1) var(--space-2);
        font-size: var(--text-2xs);
    }
}

/* Create Post Card */
.create-post-card {
    position: relative;
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-50) 100%);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-6);
    margin-bottom: var(--space-6);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    transition: all var(--transition-normal);
}
.create-post-card::before {
    content: '';
    position: absolute;
    top: -24%;
    right: -24%;
    width: 220px;
    height: 220px;
    background: radial-gradient(circle, rgba(59,130,246,0.16), transparent 60%);
    pointer-events: none;
}
.create-post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

.post-form {
    display: flex;
    gap: var(--space-3);
}

.user-avatar {
    flex-shrink: 0;
}

.user-avatar img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
}

.post-input-area {
    flex: 1;
}

.post-input-textarea {
    width: 100%;
    padding: var(--space-3);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    background: var(--surface-0);
    color: var(--text-primary);
    font-size: var(--text-base);
    resize: vertical;
}

.post-input-textarea:focus {
    outline: none;
    border-color: var(--primary-500);
}

.post-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-3);
}

.post-actions-left {
    display: flex;
    gap: var(--space-2);
    align-items: center;
}

.btn-attach-image,
.btn-add-poll {
    width: 36px;
    height: 36px;
    background: var(--surface-100);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-publish {
    padding: var(--space-2) var(--space-5);
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    font-weight: var(--font-semibold);
}

.btn-publish:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.char-count {
    font-size: var(--text-sm);
    color: var(--text-tertiary);
}

/* Image Preview */
.image-preview-container {
    margin-top: var(--space-3);
    padding: var(--space-2);
    background: var(--surface-50);
    border-radius: var(--radius-lg);
}

.image-previews {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.image-preview-item {
    position: relative;
    width: 80px;
    height: 80px;
}

.image-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
}

.btn-remove-preview {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 20px;
    height: 20px;
    background: var(--error);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 12px;
}

/* Poll Container */
.poll-container {
    margin-top: var(--space-3);
    padding: var(--space-3);
    background: var(--surface-50);
    border-radius: var(--radius-lg);
}

.poll-header {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-2);
}

.poll-question-input {
    flex: 1;
    padding: var(--space-2);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.poll-options-container {
    margin-bottom: var(--space-2);
}

.poll-option-input {
    display: flex;
    gap: var(--space-2);
    margin-bottom: var(--space-1);
}

.option-input {
    flex: 1;
    padding: var(--space-2);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.btn-remove-option {
    width: 32px;
    background: var(--error-light);
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.poll-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.btn-add-option {
    padding: var(--space-1) var(--space-3);
    background: var(--primary-500);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
}

.poll-multiple-label {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    font-size: var(--text-sm);
}
.post-input-textarea {
    width: 100%;
    min-height: 80px;
    padding: var(--space-4);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-50) 100%);
    color: var(--text-primary);
    font-size: var(--text-base);
    resize: vertical;
    font-family: inherit;
}

.post-input-textarea:focus {
    outline: none;
    border-color: var(--primary-600);
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-100) 100%);
}

/* Poll Creation */
.poll-container {
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-50) 100%);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    margin: var(--space-3) 0;
    position: relative;
    overflow: hidden;
}

.poll-question-input {
    width: 100%;
    padding: var(--space-3);
    border: 2px solid var(--border-primary);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-100) 100%);
    color: var(--text-primary);
    font-size: var(--text-base);
}

.poll-option-input {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-2);
    background: linear-gradient(135deg, var(--surface-0) 0%, var(--surface-100) 100%);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-2);
}

.option-input {
    flex: 1;
    padding: var(--space-2);
    border: none;
    background: transparent;
    color: var(--text-primary);
}

.btn-add-option {
    padding: var(--space-2) var(--space-4);
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: var(--text-inverse);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-semibold);
    cursor: pointer;
}

/* ============================================
   Poll Widget Styles
   ============================================ */

.poll-widget {
    background: var(--surface-50);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    padding: var(--space-4);
    margin: var(--space-3) 0;
    transition: all var(--transition-fast);
}

.poll-widget:hover {
    background: var(--surface-100);
    border-color: var(--border-secondary);
}

.poll-widget-question {
    font-weight: var(--font-semibold);
    font-size: var(--text-base);
    color: var(--text-primary);
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px solid var(--border-primary);
}

.poll-widget-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.poll-widget-option {
    background: var(--surface-0);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    padding: var(--space-3);
    transition: all var(--transition-fast);
}

.poll-widget-option:hover {
    border-color: var(--primary-300);
    background: var(--surface-50);
}

.poll-widget-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.poll-widget-label input[type="radio"],
.poll-widget-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary-500);
    cursor: pointer;
    flex-shrink: 0;
}

.poll-widget-label input:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.poll-widget-text {
    font-size: var(--text-sm);
    color: var(--text-primary);
    line-height: 1.4;
}

.poll-widget-results {
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
    flex-wrap: wrap;
}

.poll-widget-bar {
    flex: 1;
    height: 6px;
    background: linear-gradient(90deg, var(--primary-500) 0%, var(--primary-600) 100%);
    border-radius: var(--radius-full);
    transition: width 0.5s ease;
}

.poll-widget-percentage {
    font-size: var(--text-xs);
    font-weight: var(--font-semibold);
    color: var(--primary-600);
    min-width: 45px;
    text-align: right;
}

.poll-widget-votes {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.poll-widget-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-primary);
}

.poll-widget-total {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.poll-widget-vote-btn,
.poll-widget-cancel-btn {
    padding: var(--space-2) var(--space-4);
    border: none;
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.poll-widget-vote-btn {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-600) 100%);
    color: white;
}

.poll-widget-vote-btn:hover {
    transform: translateY(-1px);
    box-shadow: var(--shadow-sm);
}

.poll-widget-cancel-btn {
    background: var(--surface-200);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.poll-widget-cancel-btn:hover {
    background: var(--surface-300);
    transform: translateY(-1px);
}

.poll-widget-login {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.poll-widget-login a {
    color: var(--primary-500);
    text-decoration: none;
}

.poll-widget-login a:hover {
    text-decoration: underline;
}

/* Voted state */
.poll-widget.voted .poll-widget-option {
    background: var(--surface-50);
}

.poll-widget.voted .poll-widget-label {
    cursor: default;
}

.poll-widget.voted .poll-widget-label input:disabled {
    opacity: 0.5;
}

/* Подсветка выбранного варианта */
.poll-widget-option.is-selected {
    background: linear-gradient(135deg, var(--primary-50) 0%, var(--primary-100) 100%);
    border-color: var(--primary-500);
    box-shadow: 0 0 0 1px var(--primary-500);
}

.poll-widget-option.is-selected .poll-widget-text {
    font-weight: var(--font-semibold);
    color: var(--primary-700);
}

.poll-widget-checked {
    font-size: var(--text-xs);
    color: var(--success);
    background: var(--success-lighter);
    padding: 2px 6px;
    border-radius: var(--radius-full);
    margin-left: var(--space-2);
    white-space: nowrap;
}

/* Стиль для выбранного radio */
.poll-widget-label input[type="radio"]:checked {
    accent-color: var(--primary-600);
    background: var(--primary-600);
}

.poll-widget-option.is-selected .poll-widget-label input[type="radio"] {
    opacity: 1;
    visibility: visible;
}

/* Если radio disabled и checked - всё равно показываем */
.poll-widget-label input[type="radio"]:checked:disabled {
    accent-color: var(--primary-600);
    opacity: 0.8;
}

/* Адаптив для мобильных */
@media (max-width: 480px) {
    .poll-widget-results {
        flex-wrap: wrap;
    }
    
    .poll-widget-checked {
        margin-left: 0;
        margin-top: var(--space-1);
    }
}

/* Responsive */
@media (max-width: 480px) {
    .poll-widget {
        padding: var(--space-3);
    }
    
    .poll-widget-option {
        padding: var(--space-2);
    }
    
    .poll-widget-text {
        font-size: var(--text-xs);
    }
    
    .poll-widget-footer {
        flex-direction: column;
        gap: var(--space-2);
    }
    
    .poll-widget-vote-btn,
    .poll-widget-cancel-btn {
        width: 100%;
    }
}

/* Image Previews */
.image-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: var(--space-2);
    margin-top: var(--space-3);
}

.image-preview-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 1;
    background-color: var(--surface-100);
    border: 1px solid var(--border-primary);
}

.image-preview-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-preview {
    position: absolute;
    top: 4px;
    right: 4px;
    width: 20px;
    height: 20px;
    background-color: var(--error);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Posts List */
.posts-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Comments Section */
.comments-section {
    border-top: 1px solid var(--border-primary);
    padding-top: var(--space-4);
}

.comment-form {
    display: flex;
    gap: var(--space-3);
    margin-bottom: var(--space-4);
    padding: var(--space-4);
    background: linear-gradient(135deg, var(--surface-50) 0%, var(--surface-100) 100%);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
}

.comment-avatar-full {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-primary);
    flex-shrink: 0;
}

.comment-input {
    flex: 1;
    padding: var(--space-3);
    border: 1px solid var(--border-secondary);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    background-color: var(--surface-0);
    color: var(--text-primary);
    resize: none;
    min-height: 44px;
}

.comment-input:focus {
    outline: none;
    border-color: var(--primary-500);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.1);
}

.comments-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.comment {
    display: flex;
    gap: var(--space-3);
    padding: var(--space-4);
    background-color: var(--surface-50);
    border-radius: var(--radius-lg);
}

.comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.comment-content {
    flex: 1;
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-1);
}

.comment-author {
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--text-primary);
}

.comment-time {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.comment-text {
    font-size: var(--text-sm);
    color: var(--text-secondary);
    line-height: var(--leading-relaxed);
}

/* Spinner */
.spinner {
    width: 48px;
    height: 48px;
    position: relative;
    display: inline-block;
}

.spinner-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid transparent;
    animation: spin-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
}

.spinner-ring:nth-child(1) { border-top-color: var(--primary-600); animation-delay: -0.45s; }
.spinner-ring:nth-child(2) { border-right-color: var(--primary-500); animation-delay: -0.3s; }
.spinner-ring:nth-child(3) { border-bottom-color: var(--primary-400); animation-delay: -0.15s; }

@keyframes spin-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive */
@media (max-width: 768px) {
    .feed-container { padding: var(--space-4); }
    .feed-header { flex-direction: column; gap: var(--space-3); align-items: flex-start; }
    .feed-tabs { overflow-x: auto; }
    .post-form { flex-direction: column; gap: var(--space-3); }
    .comment-form { flex-direction: column; gap: var(--space-2); }
}

@media (max-width: 480px) {
    .feed-container { padding: var(--space-3); }
    .feed-title { font-size: var(--text-2xl); }
    .post-card { padding: var(--space-4); }
}

/* ============================================
   Post Card Display Styles (shared with profile)
   ============================================ */

/* Posts Container */
.posts-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

/* Post Card */
.post-card {
    background: var(--surface-0);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-xl);
    overflow: hidden;
    transition: all var(--transition-normal);
    margin-bottom: var(--space-4);
}

.post-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--card-hover-shadow);
}

/* Post Header */
.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4) var(--space-6);
    border-bottom: 1px solid var(--border-primary);
    background: var(--surface-50);
}

.post-author {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.author-avatar-link {
    flex-shrink: 0;
    transition: transform var(--transition-fast);
}

.author-avatar-link:hover {
    transform: scale(1.05);
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-primary);
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.author-name-link {
    text-decoration: none;
    color: inherit;
}

.author-name {
    font-weight: var(--font-semibold);
    font-size: var(--text-sm);
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.author-name-link:hover .author-name {
    color: var(--primary-600);
}

.post-time {
    font-size: var(--text-xs);
    color: var(--text-tertiary);
}

.btn-delete-post {
    background: var(--surface-100);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
    padding: var(--space-2);
    cursor: pointer;
    font-size: 16px;
    transition: all var(--transition-fast);
}

.btn-delete-post:hover {
    background: var(--error-light);
    border-color: var(--error);
    transform: scale(1.05);
}

/* Post Content */
.post-content {
    padding: var(--space-4) var(--space-6);
    font-size: var(--text-base);
    line-height: var(--leading-relaxed);
    color: var(--text-primary);
    white-space: pre-wrap;
    word-wrap: break-word;
}

/* Post Images */
.post-image {
    padding: 0 var(--space-6) var(--space-4);
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-2);
}

.post-image-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: var(--surface-100);
    cursor: pointer;
    flex: 1 1 auto;
    min-width: 120px;
}

.post-image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform var(--transition-normal);
}

.post-image-item:hover img {
    transform: scale(1.05);
}

/* Single image */
.post-image:has(.post-image-item:only-child) .post-image-item {
    max-width: 100%;
}

.post-image:has(.post-image-item:only-child) .post-image-item img {
    height: auto;
    max-height: 500px;
    object-fit: contain;
}

/* Two images */
.post-image:has(.post-image-item:nth-child(2)):not(:has(.post-image-item:nth-child(3))) .post-image-item {
    flex: 1;
    min-width: calc(50% - var(--space-1));
}

/* Three images */
.post-image:has(.post-image-item:nth-child(3)):not(:has(.post-image-item:nth-child(4))) .post-image-item {
    flex: 1;
    min-width: calc(33.333% - var(--space-1));
}

/* Post Stats */
.post-stats {
    display: flex;
    gap: var(--space-4);
    padding: var(--space-2) var(--space-6);
    font-size: var(--text-xs);
    color: var(--text-tertiary);
    border-top: 1px solid var(--border-primary);
}

/* Post Actions Bar */
.post-actions-bar {
    display: flex;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-6);
    background: var(--surface-50);
    border-top: 1px solid var(--border-primary);
}

.post-action {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) var(--space-4);
    background: var(--surface-100);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    font-size: var(--text-sm);
    color: var(--text-secondary);
}

.post-action:hover {
    background: var(--surface-200);
    transform: translateY(-1px);
}

.post-action.liked {
    background: var(--error-light);
    color: var(--error);
    border-color: var(--error);
}

.post-action.saved {
    background: var(--success-lighter);
    color: var(--success);
    border-color: var(--success);
}

.post-action.reposted {
    background: var(--info-lighter);
    color: var(--info);
    border-color: var(--info);
}

.action-icon {
    font-size: var(--text-base);
}

.action-count {
    font-size: var(--text-xs);
    font-weight: var(--font-medium);
}

/* Poll Container (display) */
.poll-container {
    margin: var(--space-4) var(--space-6);
    padding: var(--space-4);
    background: var(--surface-50);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-lg);
}

.poll-question {
    font-weight: var(--font-semibold);
    margin-bottom: var(--space-3);
}

.poll-options {
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
    margin-bottom: var(--space-3);
}

.poll-option {
    padding: var(--space-2);
    border: 1px solid var(--border-primary);
    border-radius: var(--radius-md);
}

.poll-option-label {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    cursor: pointer;
}

.poll-results {
    margin-top: var(--space-2);
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.poll-bar {
    flex: 1;
    height: 6px;
    background: var(--primary-500);
    border-radius: var(--radius-full);
}

.poll-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-primary);
}

.btn-vote,
.btn-cancel-vote {
    padding: var(--space-2) var(--space-4);
    border-radius: var(--radius-lg);
    font-size: var(--text-sm);
    font-weight: var(--font-medium);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.btn-vote {
    background: var(--primary-500);
    color: white;
    border: none;
}

.btn-vote:hover {
    background: var(--primary-600);
    transform: translateY(-1px);
}

.btn-cancel-vote {
    background: var(--surface-200);
    color: var(--text-secondary);
    border: 1px solid var(--border-primary);
}

.btn-cancel-vote:hover {
    background: var(--surface-300);
    transform: translateY(-1px);
}

/* Responsive */
@media (max-width: 768px) {
    .post-header {
        padding: var(--space-3) var(--space-4);
    }
    
    .post-content {
        padding: var(--space-3) var(--space-4);
        font-size: var(--text-sm);
    }
    
    .post-image {
        padding: 0 var(--space-4) var(--space-3);
    }
    
    .post-stats {
        padding: var(--space-2) var(--space-4);
    }
    
    .post-actions-bar {
        padding: var(--space-2) var(--space-4);
        flex-wrap: wrap;
    }
    
    .post-action {
        padding: var(--space-1) var(--space-2);
        font-size: var(--text-xs);
    }
}

@media (max-width: 480px) {
    .post-header {
        padding: var(--space-2) var(--space-3);
    }
    
    .author-avatar {
        width: 32px;
        height: 32px;
    }
    
    .author-name {
        font-size: var(--text-xs);
    }
    
    .post-content {
        padding: var(--space-2) var(--space-3);
        font-size: var(--text-sm);
    }
    
    .post-image {
        padding: 0 var(--space-3) var(--space-2);
    }
    
    .post-image-item img {
        height: 150px;
    }
    
    .post-stats {
        padding: var(--space-1) var(--space-3);
        font-size: var(--text-2xs);
    }
    
    .post-actions-bar {
        padding: var(--space-2) var(--space-3);
        gap: var(--space-1);
    }
    
    .post-action {
        padding: var(--space-1) var(--space-2);
        font-size: var(--text-2xs);
    }
}