.feedback-list-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin: -0.35rem 0 0.8rem;
    color: var(--ink-muted, #7d7668);
    font-size: 0.78rem;
    line-height: 1.5;
}

.clear-filter-link {
    color: var(--gold-bright, #e8c98a);
    text-decoration: none;
    white-space: nowrap;
}

.clear-filter-link:hover {
    text-decoration: underline;
}

.card-toggle,
.comments-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    border: 1px solid rgba(212, 175, 106, 0.28);
    border-radius: 6px;
    background: rgba(212, 175, 106, 0.06);
    color: var(--ink-soft, #b7ae9c);
    font: inherit;
    font-size: 0.75rem;
    line-height: 1.2;
    cursor: pointer;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.card-toggle {
    flex: 0 0 auto;
    padding: 0.32rem 0.58rem;
    margin-left: 0.2rem;
}

.card-toggle-icon {
    color: var(--gold-bright, #e8c98a);
    font-size: 0.9rem;
    line-height: 0.8;
}

.card-toggle:hover,
.card-toggle:focus-visible,
.comments-toggle:hover,
.comments-toggle:focus-visible {
    border-color: rgba(240, 217, 160, 0.7);
    background: rgba(212, 175, 106, 0.14);
    color: var(--gold-bright, #e8c98a);
}

.card-toggle:focus-visible,
.comments-toggle:focus-visible,
.pagination-link:focus-visible,
.clear-filter-link:focus-visible {
    outline: 2px solid rgba(240, 217, 160, 0.85);
    outline-offset: 2px;
}

.comments-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.55rem;
}

.comments-heading .comments-title {
    margin-bottom: 0;
}

.comments-toggle {
    padding: 0.28rem 0.58rem;
    color: var(--gold-bright, #e8c98a);
    white-space: nowrap;
}

.comments-extra[hidden] {
    display: none;
}

.comments-extra {
    animation: comments-reveal 0.2s ease;
}

@keyframes comments-reveal {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    margin-top: 1.2rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 106, 0.12);
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.pagination-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2rem;
    min-height: 2rem;
    padding: 0.35rem 0.58rem;
    border: 1px solid rgba(212, 175, 106, 0.2);
    border-radius: 6px;
    background: rgba(12, 14, 20, 0.45);
    color: var(--ink-soft, #b7ae9c);
    font-size: 0.78rem;
    text-decoration: none;
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}

.pagination-link:hover {
    border-color: rgba(212, 175, 106, 0.55);
    background: rgba(212, 175, 106, 0.1);
    color: var(--gold-bright, #e8c98a);
}

.pagination-current {
    border-color: rgba(212, 175, 106, 0.6);
    background: rgba(212, 175, 106, 0.2);
    color: var(--gold-bright, #e8c98a);
    font-weight: 600;
}

.pagination-disabled {
    cursor: not-allowed;
    opacity: 0.42;
}

.pagination-prev,
.pagination-next {
    padding-inline: 0.7rem;
    white-space: nowrap;
}

.pagination-ellipsis {
    min-width: 1.15rem;
    color: var(--ink-muted, #7d7668);
    text-align: center;
}

@media (max-width: 600px) {
    .feedback-list-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.2rem;
    }

    .card-header {
        align-items: flex-start;
    }

    .card-time {
        margin-left: 0;
        flex: 1 0 100%;
    }

    .card-toggle {
        margin-left: auto;
        margin-top: -0.15rem;
    }

    .comments-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 0.45rem;
    }

    .comments-toggle {
        width: 100%;
    }

    .feedback-pagination {
        gap: 0.25rem;
    }

    .pagination-pages {
        gap: 0.2rem;
    }

    .pagination-link {
        min-width: 1.85rem;
        min-height: 1.85rem;
        padding-inline: 0.42rem;
    }

    .pagination-prev,
    .pagination-next {
        padding-inline: 0.5rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .comments-extra {
        animation: none;
    }
}

/* 扩展状态的公共展示色：管理员可见详细状态，访客仍能快速区分处理阶段。 */
.status-reviewing,
.status-in_progress { background: rgba(139, 123, 184, .15); color: #c4b6e7; }
.status-duplicate,
.status-invalid { background: rgba(126, 117, 105, .18); color: #b9aea0; }
.status-accepted { background: rgba(125, 186, 154, .15); color: #9dd0ad; }
.status-rejected { background: rgba(220, 100, 100, .12); color: #e8a1a1; }
