.moderation-report-page {
    --report-card: rgba(13, 24, 44, .96);
    --report-surface: rgba(4, 12, 27, .52);
    max-width: 1380px;
}

.moderation-report-heading {
    position: relative;
    overflow: hidden;
    padding: clamp(22px, 4vw, 38px);
}

.moderation-report-heading::after {
    position: absolute;
    right: -60px;
    bottom: -90px;
    width: 250px;
    height: 250px;
    content: "";
    pointer-events: none;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, .22), transparent 68%);
}

.moderation-report-count {
    display: inline-grid;
    min-width: 38px;
    height: 38px;
    padding: 0 10px;
    place-items: center;
    vertical-align: middle;
    color: #c7d2fe;
    border: 1px solid rgba(129, 140, 248, .32);
    border-radius: 999px;
    background: rgba(99, 102, 241, .16);
    font-size: .95rem;
}

.moderation-report-filter {
    position: sticky;
    z-index: 15;
    top: 82px;
    padding: 8px;
    backdrop-filter: blur(18px);
}

.moderation-report-filter a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.moderation-report-card {
    position: relative;
    overflow: hidden;
    padding: clamp(18px, 3vw, 28px);
    border-color: rgba(148, 163, 184, .18);
    background: var(--report-card);
    transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.moderation-report-card:hover {
    border-color: rgba(129, 140, 248, .34);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
    transform: translateY(-1px);
}

.moderation-report-card > header {
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(148, 163, 184, .12);
}

.moderation-report-card > header h2 {
    font-size: 1.35rem;
}

.moderation-report-status.is-open { color: #fde68a; background: rgba(245, 158, 11, .16); }
.moderation-report-status.is-approved { color: #86efac; background: rgba(34, 197, 94, .15); }
.moderation-report-status.is-message_deleted { color: #fda4af; background: rgba(244, 63, 94, .15); }
.moderation-report-status.is-rejected { color: #cbd5e1; background: rgba(100, 116, 139, .2); }

.moderation-report-meta span,
.moderation-report-message,
.moderation-report-note,
.moderation-report-result {
    border: 1px solid rgba(148, 163, 184, .1);
    background: var(--report-surface);
}

.moderation-report-meta span {
    min-width: 0;
}

.moderation-report-meta strong {
    overflow-wrap: anywhere;
}

.moderation-report-message > span,
.moderation-report-note > span {
    display: block;
    margin-bottom: 8px;
    color: #a5b4fc;
    font-size: .76rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.moderation-report-message blockquote {
    max-height: 330px;
    overflow: auto;
    white-space: normal;
}

.moderation-report-actions form {
    align-content: start;
    border-color: rgba(148, 163, 184, .16);
    background: rgba(2, 6, 23, .38);
}

.moderation-report-actions label {
    display: grid;
    gap: 7px;
}

.moderation-report-actions textarea {
    box-sizing: border-box;
    min-height: 96px;
    padding: 12px;
    color: var(--text, #f8fafc);
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 12px;
    background: rgba(15, 23, 42, .82);
}

.moderation-report-actions .button {
    width: 100%;
    justify-content: center;
}

html[data-theme="light"] .moderation-report-page,
body.theme-light .moderation-report-page {
    --report-card: #fff;
    --report-surface: #f8fafc;
}

html[data-theme="light"] .moderation-report-actions textarea,
body.theme-light .moderation-report-actions textarea {
    color: #172033;
    background: #fff;
}

@media (max-width: 800px) {
    .moderation-report-filter { top: 68px; }
    .moderation-report-card > header { align-items: flex-start; flex-direction: column; }
}
