/* Composer: Privatsphäre-Bereich bei Umfrage-Tab (JS setzt .is-hidden auf #feedComposerPrivacySection) */
#feedComposerPrivacySection.is-hidden {
    display: none !important;
}

/* Anonyme Umfrage: Checkbox + mehrzeiliger Hinweis */
.feed-poll-anonymous-option {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
}

.feed-poll-anonymous-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    cursor: pointer;
    font-weight: normal;
    color: var(--text-primary, inherit);
}

.feed-poll-anonymous-label input[type="checkbox"] {
    width: 1.125rem;
    height: 1.125rem;
    min-width: 1.125rem;
    margin: 0.2rem 0 0 0;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: var(--primary-color, #7c4dff);
}

.feed-poll-anonymous-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    line-height: 1.45;
}

.feed-poll-anonymous-title {
    font-weight: 600;
    font-size: 0.95rem;
}

.feed-poll-anonymous-hint {
    font-size: 0.85rem;
    color: var(--text-secondary, #666);
    font-weight: 400;
}

/* Hinweis-Badge bei anonymen Umfragen im Feed */
.post-poll-anonymous-badge {
    margin: 8px 0 10px;
    padding: 8px 12px;
    font-size: 0.82rem;
    line-height: 1.45;
    color: var(--text-secondary, #555);
    background: var(--bg-tertiary, rgba(0, 0, 0, 0.04));
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
    border-radius: 8px;
    border-left: 3px solid var(--primary-color, #7c4dff);
}

.post-poll-expired-summary {
    margin-top: 14px;
    padding: 12px 14px;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--text-primary, inherit);
    background: var(--bg-tertiary, rgba(0, 0, 0, 0.04));
    border-radius: 10px;
    border: 1px solid var(--border-light, rgba(0, 0, 0, 0.08));
}

/* Beendete Umfrage: klar erkennbar */
.post-poll--ended {
    border-color: var(--border-light, rgba(0, 0, 0, 0.12));
    background: var(--bg-secondary, rgba(0, 0, 0, 0.02));
}

.post-poll-ended-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin: 4px 0 14px;
    padding: 14px 16px;
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.3;
    text-align: center;
    color: var(--text-primary, #1a1a1a);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.14), rgba(118, 75, 162, 0.12));
    border: 2px solid rgba(102, 126, 234, 0.45);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.post-poll-ended-banner-icon {
    font-size: 1.35rem;
    line-height: 1;
}

.post-poll-ended-banner-text {
    letter-spacing: 0.02em;
}

.post-poll--ended .post-poll-meta {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary, #333);
    margin-bottom: 14px;
}
