/* ForumX v48 — sonraki mesajlarda kompakt buton yazılarını geri getirir. */
body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    align-items: stretch !important;
    justify-content: stretch !important;
    gap: 6px !important;
    padding: 8px 13px 12px !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-primary-actions,
body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-secondary-actions {
    display: contents !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer :where(form, details) {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 36px !important;
    gap: 5px !important;
    padding: 6px 7px !important;
    border: 1px solid rgba(103, 151, 211, .16) !important;
    border-radius: 9px !important;
    color: #cbd8e7 !important;
    background: rgba(17, 39, 62, .34) !important;
    box-shadow: none !important;
    font-size: .7rem !important;
    font-weight: 730 !important;
    line-height: 1.15 !important;
    white-space: nowrap !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action:hover,
body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action:focus-visible,
body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action.is-active {
    transform: none !important;
    color: #fff !important;
    border-color: rgba(89, 149, 244, .36) !important;
    background: rgba(42, 88, 156, .30) !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action > span:not(.fxp-action-icon) {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    opacity: 1 !important;
    visibility: visible !important;
    color: inherit !important;
    font-size: inherit !important;
    line-height: inherit !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action-count {
    display: inline-grid !important;
    place-items: center !important;
    min-width: 19px !important;
    height: 19px !important;
    margin-left: 1px !important;
    padding: 0 4px !important;
    border-radius: 6px !important;
    background: rgba(65, 116, 190, .16) !important;
    font-size: .62rem !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action :where(svg, .forumx-icon) {
    width: 16px !important;
    height: 16px !important;
    flex: 0 0 auto !important;
}

body.fx-thread-compact-v36:not(.admin-console-body)
.fxp-post:not(:first-child) .fxp-post-footer .fxp-action-secondary.is-danger {
    color: #ff9bab !important;
    border-color: rgba(255, 111, 134, .17) !important;
    background: rgba(101, 31, 47, .11) !important;
}

@media (max-width: 420px) {
    body.fx-thread-compact-v36:not(.admin-console-body)
    .fxp-post:not(:first-child) .fxp-post-footer {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    body.fx-thread-compact-v36:not(.admin-console-body)
    .fxp-post:not(:first-child) .fxp-post-footer .fxp-action {
        font-size: .68rem !important;
    }
}
