.forum-full-width { grid-template-columns: minmax(0, 1fr); }
.forum-category-link { color: inherit; text-decoration: none; }
.forum-empty { padding: 22px; color: #777; }
.forum-plain-text { white-space: pre-wrap; overflow-wrap: anywhere; }
.forum-content h1, .theme-heading h1, .topic-main h3 { overflow-wrap: anywhere; }
.breadcrumbs { flex-wrap: wrap; }
.theme-reply input:not([type=checkbox]), .theme-reply select { width: 100%; padding: 12px; border: 1px solid #d4d4d4; border-radius: 5px; font: inherit; }
.forum-error { color: #a82121; padding: 12px; background: #fff0f0; border-radius: 5px; }
.forum-replies { margin-top: 20px; }
.forum-replies button:disabled { opacity: .55; cursor: wait; }
.forum-pagination button { padding: 7px 12px; border: 1px solid #ddd; border-radius: 4px; background: white; cursor: pointer; }
.forum-reply-notice { margin-top: 20px; padding: 18px; background: white; border: 1px solid #ddd; border-radius: 8px; }

.main-content.forum-content, .forum-full-width > .main-content { padding: 0; background: transparent; }
.profile-topic-replies { margin: 16px 0; }
.profile-topic-replies > summary { cursor: pointer; color: #c83d3d; font-weight: 600; }
.profile-topic-replies .forum-post { grid-template-columns: 130px minmax(0, 1fr); }
.profile-topic-replies .post-author { padding: 14px 10px; }
.profile-topic-replies .post-author > img { width: 58px; height: 58px; }
.profile-topic-replies .post-author h2 { font-size: 14px; }
#panel-topics .author-comment { overflow-wrap: anywhere; }
@media (max-width: 768px) { .profile-topic-replies .forum-post { grid-template-columns: minmax(0, 1fr); } }

@media (prefers-reduced-motion: no-preference) {
    .forum-replies .forum-reply--new {
        animation: forum-reply-enter 240ms ease-out;
    }

    .forum-replies .forum-reply--incoming {
        animation: forum-reply-fade 520ms ease-in-out;
    }

    @keyframes forum-reply-enter {
        from { opacity: 0; transform: translateY(6px); }
        to { opacity: 1; transform: translateY(0); }
    }

    @keyframes forum-reply-fade {
        from { opacity: 0; }
        to { opacity: 1; }
    }
}

.forum-private-message { display: inline-block; margin-top: 10px; color: #c83d3d; font-size: 12px; text-decoration: none; }
.forum-votes { padding: 12px 16px; border-top: 1px solid #eee; background: #fafafa; border-radius: 0 0 8px 8px; }
.forum-votes__buttons { display: flex; align-items: center; flex-wrap: wrap; gap: 9px; }
.forum-votes button { padding: 6px 10px; border: 1px solid #ddd; border-radius: 5px; background: white; cursor: pointer; font: inherit; font-size: 13px; }
.forum-votes button[aria-pressed=true] { border-color: #e44d4d; background: #ffeded; color: #b32929; }
.forum-votes button:disabled { opacity: .6; cursor: default; }
.forum-votes span, .forum-votes small { font-size: 12px; color: #777; }
.forum-votes small { display: block; margin-top: 6px; }
.forum-votes p { color: #b22; font-size: 13px; }
