/**
 * Community Interactions CSS — Phase 3
 * Mention autocomplete, media preview, link preview, board picker, toasts, modals.
 */

/* ═══════════════════════════════════════════
   @Mention Autocomplete Dropdown
   ═══════════════════════════════════════════ */
.mention-autocomplete-dropdown {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    max-height: 240px;
    overflow-y: auto;
    background: var(--community-card-bg, #1e1e2e);
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    box-shadow: 0 -8px 24px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 6px 0;
}

.mention-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--community-text, #e0e0e0);
}

.mention-item:hover,
.mention-item.active {
    background: var(--community-hover-bg, rgba(220,20,60,0.15));
}

.mention-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.mention-info {
    display: flex;
    flex-direction: column;
    line-height: 1.3;
}

.mention-info strong {
    font-size: 14px;
}

.mention-info small {
    font-size: 12px;
    color: var(--community-text-muted, #888);
}

/* ═══════════════════════════════════════════
   Media Preview (composer)
   ═══════════════════════════════════════════ */
.community-media-preview {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 8px 0;
}

.media-preview-thumb {
    position: relative;
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid var(--community-border, rgba(255,255,255,0.1));
}

.media-preview-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.media-remove-btn {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(0,0,0,0.7);
    color: white;
    border: none;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.community-upload-indicator {
    padding: 8px;
    color: var(--community-text-muted, #888);
    font-size: 13px;
}

/* ═══════════════════════════════════════════
   Board Preview (composer)
   ═══════════════════════════════════════════ */
.community-board-preview {
    padding: 8px 0;
}

.board-preview-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: var(--community-hover-bg, rgba(255,255,255,0.05));
    border-radius: 10px;
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    position: relative;
}

.board-preview-card img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.board-preview-card strong {
    color: var(--community-text, #e0e0e0);
    font-size: 14px;
}

.board-remove-btn {
    position: absolute;
    top: 6px;
    right: 8px;
    background: none;
    border: none;
    color: var(--community-text-muted, #888);
    font-size: 18px;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   Link Preview (composer + post)
   ═══════════════════════════════════════════ */
.community-link-preview {
    padding: 8px 0;
}

.link-preview-card,
.post-embed-card {
    display: flex;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    background: var(--community-hover-bg, rgba(255,255,255,0.04));
    position: relative;
    cursor: pointer;
    transition: background 0.2s;
}

.link-preview-card:hover,
.post-embed-card:hover {
    background: var(--community-hover-bg, rgba(255,255,255,0.08));
}

.link-preview-image,
.post-embed-card .embed-image {
    width: 120px;
    min-height: 80px;
    object-fit: cover;
    flex-shrink: 0;
}

.link-preview-info,
.post-embed-card .embed-info {
    padding: 10px 14px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
}

.link-preview-site,
.embed-info small {
    font-size: 11px;
    color: var(--community-text-muted, #888);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-preview-title,
.embed-info strong {
    font-size: 14px;
    color: var(--community-text, #e0e0e0);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-preview-desc,
.embed-info p {
    font-size: 12px;
    color: var(--community-text-muted, #888);
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-preview-remove {
    position: absolute;
    top: 6px;
    right: 8px;
    background: rgba(0,0,0,0.5);
    border: none;
    color: white;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ═══════════════════════════════════════════
   Board Picker Modal
   ═══════════════════════════════════════════ */
.community-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.community-modal {
    background: var(--community-card-bg, #1e1e2e);
    border-radius: 16px;
    width: 90%;
    max-width: 500px;
    max-height: 70vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}

.community-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.1));
}

.community-modal-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--community-text, #e0e0e0);
}

.community-modal-header button {
    background: none;
    border: none;
    color: var(--community-text-muted, #888);
    font-size: 24px;
    cursor: pointer;
}

.community-modal-body {
    overflow-y: auto;
    padding: 12px;
}

.board-picker-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    border-radius: 10px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--community-text, #e0e0e0);
}

.board-picker-item:hover {
    background: var(--community-hover-bg, rgba(220,20,60,0.15));
}

.board-picker-item img {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.board-picker-item strong {
    display: block;
    font-size: 14px;
}

.board-picker-item small {
    font-size: 12px;
    color: var(--community-text-muted, #888);
}

/* ═══════════════════════════════════════════
   Composer Toolbar (media, board, attach)
   ═══════════════════════════════════════════ */
.community-composer-toolbar {
    display: flex;
    gap: 8px;
    padding: 8px 0;
}

.composer-tool-btn {
    background: none;
    border: none;
    color: var(--primary-color, crimson);
    font-size: 16px;
    cursor: pointer;
    padding: 6px 10px;
    border-radius: 8px;
    transition: background 0.2s;
}

.composer-tool-btn:hover {
    background: rgba(220,20,60,0.15);
}

/* ═══════════════════════════════════════════
   Toast Notifications
   ═══════════════════════════════════════════ */
.community-toast {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%) translateY(20px);
    padding: 12px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    z-index: 9999;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
}

.community-toast.show {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

.community-toast-success {
    background: #28a745;
    color: white;
}

.community-toast-error {
    background: #dc3545;
    color: white;
}

.community-toast-warning {
    background: #ffc107;
    color: #333;
}

.community-toast-info {
    background: #17a2b8;
    color: white;
}

/* ═══════════════════════════════════════════
   Content Rendering Styles
   ═══════════════════════════════════════════ */
.community-hashtag {
    color: var(--primary-color, crimson);
    text-decoration: none;
    font-weight: 600;
}

.community-hashtag:hover {
    text-decoration: underline;
}

.community-mention {
    color: var(--primary-color, crimson);
    text-decoration: none;
    font-weight: 600;
}

.community-mention:hover {
    text-decoration: underline;
}

.community-mention-unknown {
    color: var(--community-text-muted, #888);
}

.community-link {
    color: #4dabf7;
    text-decoration: none;
    word-break: break-all;
}

.community-link:hover {
    text-decoration: underline;
}

/* ═══════════════════════════════════════════
   Reply Section
   ═══════════════════════════════════════════ */
.community-reply {
    display: flex;
    gap: 10px;
    padding: 10px 0;
    border-top: 1px solid var(--community-border, rgba(255,255,255,0.06));
}

.reply-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.reply-body {
    flex: 1;
}

.reply-header {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
}

.reply-header strong {
    font-size: 13px;
    color: var(--community-text, #e0e0e0);
}

.reply-time {
    font-size: 12px;
    color: var(--community-text-muted, #888);
}

.reply-content {
    font-size: 14px;
    color: var(--community-text, #e0e0e0);
    line-height: 1.5;
}

.reply-actions {
    margin-top: 4px;
}

.reply-actions .action-react {
    background: none;
    border: none;
    color: var(--community-text-muted, #888);
    font-size: 13px;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 6px;
    transition: all 0.2s;
}

.reply-actions .action-react:hover,
.reply-actions .action-react.active {
    color: var(--primary-color, crimson);
}

/* ═══════════════════════════════════════════
   Profile Community Stats
   ═══════════════════════════════════════════ */
.community-profile-stats {
    display: flex;
    gap: 16px;
    margin-top: 8px;
}

.community-stat {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--community-text-muted, #888);
}

.community-stat strong {
    color: var(--community-text, #e0e0e0);
}

/* Community follow button on profile */
.profile-community-follow {
    margin-top: 8px;
}

.profile-community-follow .btn-follow {
    padding: 6px 20px;
    border-radius: 20px;
    border: 1px solid var(--primary-color, crimson);
    background: transparent;
    color: var(--primary-color, crimson);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.profile-community-follow .btn-follow:hover,
.profile-community-follow .btn-follow.active {
    background: var(--primary-color, crimson);
    color: white;
}

/* Community posts tab on profile */
.community-profile-posts {
    padding: 16px 0;
}

/* ═══════════════════════════════════════════
   Responsive
   ═══════════════════════════════════════════ */
@media (max-width: 768px) {
    .link-preview-card,
    .post-embed-card {
        flex-direction: column;
    }

    .link-preview-image,
    .post-embed-card .embed-image {
        width: 100%;
        height: 140px;
    }

    .community-modal {
        width: 95%;
        max-height: 80vh;
    }

    .mention-autocomplete-dropdown {
        border-radius: 8px;
    }
}

/* ═══════════════════════════════════════════
   Compose Modal (Full-screen overlay)
   ═══════════════════════════════════════════ */
.compose-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: none;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10vh;
}
.compose-modal-overlay.show {
    display: flex;
}

.compose-modal {
    background: var(--community-card-bg, #1e1e2e);
    border-radius: 16px;
    width: 90%;
    max-width: 580px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    overflow: hidden;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.compose-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.1));
}

.compose-modal-close {
    background: none;
    border: none;
    color: var(--community-text, #e0e0e0);
    font-size: 20px;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 50%;
    transition: background 0.2s;
}
.compose-modal-close:hover {
    background: rgba(255,255,255,0.1);
}

.compose-modal-submit {
    background: var(--primary-color, crimson);
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: opacity 0.2s;
}
.compose-modal-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.compose-modal-body {
    display: flex;
    gap: 12px;
    padding: 16px;
}

.compose-modal-avatar img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
}

.compose-modal-form {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.compose-modal-form .compose-textarea {
    background: transparent;
    border: none;
    color: var(--community-text, #e0e0e0);
    font-size: 18px;
    line-height: 1.5;
    resize: none;
    min-height: 100px;
    outline: none;
    font-family: inherit;
}
.compose-modal-form .compose-textarea::placeholder {
    color: var(--community-text-muted, #666);
}

.compose-topic-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.compose-topic-pill {
    background: transparent;
    border: 1px solid var(--community-border, rgba(255,255,255,0.15));
    color: var(--community-text-muted, #aaa);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.compose-topic-pill:hover {
    border-color: var(--primary-color, crimson);
    color: var(--community-text, #e0e0e0);
}
.compose-topic-pill.selected {
    border-color: var(--primary-color, crimson);
    color: var(--primary-color, crimson);
    font-weight: 600;
}

.compose-modal-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--community-border, rgba(255,255,255,0.08));
}

.compose-visibility-btn {
    background: transparent;
    border: 1px solid var(--community-border, rgba(255,255,255,0.15));
    color: var(--primary-color, crimson);
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
}
.compose-visibility-btn:hover {
    background: rgba(220,20,60,0.1);
}

.compose-char-counter {
    font-size: 13px;
    color: var(--community-text-muted, #888);
}
.compose-char-counter.warning { color: #ffa502; }
.compose-char-counter.danger { color: #ff4757; }

/* ═══════════════════════════════════════════
   Report Modal
   ═══════════════════════════════════════════ */
.report-modal {
    max-width: 420px;
}
.report-modal-body {
    padding: 16px 20px;
}
.report-reasons {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.report-reason-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    color: var(--community-text, #e0e0e0);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
}
.report-reason-btn:hover {
    background: rgba(255,255,255,0.05);
    border-color: var(--primary-color, crimson);
}

/* ═══════════════════════════════════════════
   Mention Dropdown (body-level)
   ═══════════════════════════════════════════ */
.mention-dropdown {
    position: absolute;
    z-index: 3000;
    background: var(--community-card-bg, #1e1e2e);
    border: 1px solid var(--community-border, rgba(255,255,255,0.15));
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    max-height: 200px;
    overflow-y: auto;
    display: none;
}
.mention-dropdown .mention-item {
    padding: 8px 14px;
    cursor: pointer;
    transition: background 0.15s;
    color: var(--community-text, #e0e0e0);
    font-size: 14px;
}
.mention-dropdown .mention-item:hover,
.mention-dropdown .mention-item.active {
    background: var(--community-hover-bg, rgba(220,20,60,0.15));
}
.mention-name { font-weight: 600; }
.mention-handle { color: var(--community-text-muted, #888); font-size: 12px; }

/* ═══════════════════════════════════════════
   Guest CTA
   ═══════════════════════════════════════════ */
.community-guest-cta {
    background: var(--community-card-bg, #1e1e2e);
    border: 1px solid var(--community-border, #333);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    margin-bottom: 20px;
}
.community-guest-cta p {
    margin: 0 0 12px;
    color: var(--community-text, #fff);
    font-size: 15px;
}
.community-guest-cta .btn {
    background: var(--primary-color, crimson);
    color: #fff;
    padding: 8px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-block;
}

/* ═══════════════════════════════════════════
   Notification badge
   ═══════════════════════════════════════════ */
.notif-badge {
    display: none;
    background: var(--primary-color, crimson);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    min-width: 18px;
    height: 18px;
    border-radius: 9px;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    position: absolute;
    top: 2px;
    right: 2px;
}

/* ═══════════════════════════════════════════
   Mobile FAB
   ═══════════════════════════════════════════ */
.community-mobile-fab {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 20px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-color, crimson);
    color: #fff;
    border: none;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(220,20,60,0.4);
    cursor: pointer;
    z-index: 999;
    align-items: center;
    justify-content: center;
}
@media (max-width: 768px) {
    .community-mobile-fab { display: flex; }
}

/* ═══════════════════════════════════════════
   Repost embed card
   ═══════════════════════════════════════════ */
.repost-embed {
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    padding: 12px;
    margin: 8px 0;
    cursor: pointer;
    transition: background 0.2s;
}
.repost-embed:hover {
    background: rgba(255,255,255,0.04);
}
.repost-embed-header {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 6px;
    font-size: 13px;
}
.repost-embed-content {
    font-size: 14px;
    color: var(--community-text, #e0e0e0);
    line-height: 1.5;
}

/* ═══════════════════════════════════════════
   Spinner ring
   ═══════════════════════════════════════════ */
.spinner-ring {
    width: 32px;
    height: 32px;
    border: 3px solid var(--community-border, rgba(255,255,255,0.1));
    border-top-color: var(--primary-color, crimson);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin {
    to { transform: rotate(360deg); }
}
.community-spinner {
    display: flex;
    justify-content: center;
    padding: 24px;
}

/* ═══════════════════════════════════════════
   Compose inline (for index + comment section)
   ═══════════════════════════════════════════ */
.community-compose {
    background: var(--community-card-bg, #1e1e2e);
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 16px;
}
.community-compose-inner {
    display: flex;
    gap: 12px;
}
.compose-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}
.compose-form {
    flex: 1;
}
.compose-form .compose-textarea {
    width: 100%;
    background: transparent;
    border: none;
    color: var(--community-text, #e0e0e0);
    font-size: 16px;
    resize: none;
    min-height: 36px;
    outline: none;
    font-family: inherit;
    cursor: pointer;
}
.compose-actions-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}
.compose-submit-btn {
    background: var(--primary-color, crimson);
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 16px;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
}
.compose-submit-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ═══════════════════════════════════════════
   Comments section
   ═══════════════════════════════════════════ */
.community-comment {
    display: flex;
    gap: 10px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.06));
}
.community-comment.nested-1 { padding-left: 48px; }
.community-comment.nested-2 { padding-left: 80px; }
.community-comment.nested-3 { padding-left: 96px; }

.comment-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}
.comment-body { flex: 1; }
.comment-header {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-bottom: 4px;
    font-size: 13px;
}
.comment-author { font-weight: 600; color: var(--community-text, #e0e0e0); }
.comment-handle { color: var(--community-text-muted, #888); }
.comment-time { color: var(--community-text-muted, #888); }
.comment-content {
    font-size: 14px;
    color: var(--community-text, #e0e0e0);
    line-height: 1.5;
}
.comment-actions {
    display: flex;
    gap: 12px;
    margin-top: 6px;
}
.comment-actions button {
    background: none;
    border: none;
    color: var(--community-text-muted, #888);
    font-size: 13px;
    cursor: pointer;
    padding: 2px 6px;
    border-radius: 6px;
    transition: all 0.2s;
}
.comment-actions button:hover {
    color: var(--primary-color, crimson);
    background: rgba(220,20,60,0.08);
}

.comment-reply-form {
    display: none;
    padding: 8px 16px 8px 60px;
    gap: 8px;
    align-items: center;
}
.comment-reply-form.show { display: flex; }
.comment-reply-input {
    flex: 1;
    background: var(--community-hover-bg, rgba(255,255,255,0.06));
    border: 1px solid var(--community-border, rgba(255,255,255,0.1));
    color: var(--community-text, #e0e0e0);
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}
.comment-reply-submit {
    background: var(--primary-color, crimson);
    color: #fff;
    border: none;
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

/* ═══════════════════════════════════════════
   Notification items
   ═══════════════════════════════════════════ */
.community-notification {
    display: flex;
    gap: 12px;
    padding: 12px 16px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.06));
    transition: background 0.2s;
}
.community-notification.unread {
    background: rgba(220,20,60,0.06);
}
.community-notification-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(220,20,60,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, crimson);
    flex-shrink: 0;
}
.community-notification-body {
    flex: 1;
    font-size: 14px;
    color: var(--community-text, #e0e0e0);
    line-height: 1.5;
}
.community-notification-body a {
    color: var(--primary-color, crimson);
    text-decoration: none;
    margin-left: 4px;
}
.community-notification-time {
    display: block;
    font-size: 12px;
    color: var(--community-text-muted, #888);
    margin-top: 4px;
}

/* Profile header in community */
.community-profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.1));
}
.profile-info {
    display: flex;
    align-items: center;
    gap: 12px;
}
.profile-avatar-big img {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
}
.profile-handle {
    color: var(--community-text-muted, #888);
    font-size: 14px;
}

/* Topic + Hashtag headers */
.community-topic-header,
.community-hashtag-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--community-border, rgba(255,255,255,0.1));
}
.community-topic-header h2,
.community-hashtag-header h2 {
    margin: 0;
    font-size: 20px;
    color: var(--community-text, #e0e0e0);
}
.community-topic-header p {
    margin: 4px 0 0;
    color: var(--community-text-muted, #888);
    font-size: 14px;
}
