/* actnuke1 */
/* social.post-actions.css — FINAL action bar layout (loads last)
   Desktop + mobile + app: same spacing.
   comment · repost · heart · views · bookmark
   Heart is true centre between comment and bookmark.
   Counts are absolute and never move icons (1k etc).
*/

.post-card .post-actions,
.reply-card .post-actions,
.post-card-simple-repost .post-actions,
.post-card-simple-repost .post-actions-simple-repost,
.post-card-simple-repost .post-actions-repost-own,
.post-card-quote-repost .post-actions,
.post-card-quote-repost .post-actions-repost-own,
.post-card-repost-entry .post-actions,
.post-card-repost-entry .post-actions-simple-repost,
.post-card-repost-entry .post-actions-repost-own,
body.social-home .post-actions,
body.social-page .post-actions,
.feed .post-actions,
.feed .post-card .post-actions {
    --pa-icon: 18.75px;
    --pa-hit: 34.75px;
    --pa-count-w: 3ch;
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: var(--pa-hit) !important;
    height: auto !important;
    margin: 8px 0 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    box-sizing: border-box !important;
    position: relative !important;
    overflow: visible !important;
    /* kill actmobile absolute layout */
    grid-template-columns: none !important;
}

/* Items: size to icon only — space-between distributes free space evenly */
.post-card .post-actions > .post-actions-item,
.reply-card .post-actions > .post-actions-item,
.post-card-repost-entry .post-actions > .post-actions-item,
.post-card-simple-repost .post-actions > .post-actions-item,
.post-card-simple-repost .post-actions-simple-repost > .post-actions-item,
.post-card-simple-repost .post-actions-repost-own > .post-actions-item,
.post-card-quote-repost .post-actions-repost-own > .post-actions-item,
.post-card-repost-entry .post-actions-simple-repost > .post-actions-item,
.post-card-repost-entry .post-actions-repost-own > .post-actions-item,
body.social-home .post-actions > .post-actions-item,
body.social-page .post-actions > .post-actions-item,
.feed .post-actions > .post-actions-item,
.feed .post-card .post-actions > .post-actions-item,
/* kill old mobile flex:1 targets */
.post-card-simple-repost .post-actions-repost-own .post-actions-reply,
.post-card-simple-repost .post-actions-repost-own .post-actions-repost,
.post-card-simple-repost .post-actions-repost-own .post-actions-like,
.post-card-simple-repost .post-actions-repost-own .post-actions-views,
.post-card-simple-repost .post-actions-repost-own .post-actions-bookmark,
.post-actions-reply,
.post-actions-repost,
.post-actions-like,
.post-actions-views,
.post-actions-bookmark,
.post-actions-share {
    position: relative !important; /* NOT absolute */
    top: auto !important;
    left: auto !important;
    right: auto !important;
    bottom: auto !important;
    transform: none !important;
    flex: 0 0 var(--pa-hit) !important;
    flex-grow: 0 !important;
    flex-shrink: 0 !important;
    flex-basis: var(--pa-hit) !important;
    width: var(--pa-hit) !important;
    min-width: var(--pa-hit) !important;
    max-width: var(--pa-hit) !important;
    height: auto !important;
    min-height: var(--pa-hit) !important;
    margin: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    box-sizing: border-box !important;
    grid-column: auto !important;
    grid-row: auto !important;
}

.post-actions-reply { order: 1 !important; justify-content: flex-start !important; }
.post-actions-repost { order: 2 !important; justify-content: center !important; }
.post-actions-like { order: 3 !important; justify-content: center !important; }
.post-actions-views { order: 4 !important; justify-content: center !important; }
.post-actions-bookmark,
.post-actions-share { order: 5 !important; justify-content: flex-end !important; }

/* Buttons */
.post-card .post-actions .post-actions-btn,
.post-card .post-actions .like-button,
.post-card .post-actions a.post-views-link,
.post-card-repost-entry .post-actions .post-actions-btn,
.post-card-repost-entry .post-actions .like-button,
.post-card-repost-entry .post-actions a.post-views-link,
body.social-home .post-actions .post-actions-btn,
body.social-home .post-actions .like-button,
body.social-page .post-actions .post-actions-btn,
body.social-page .post-actions .like-button,
.feed .post-card .post-actions-btn,
.feed .post-actions .like-button {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    min-height: var(--pa-hit) !important;
    min-width: 0 !important;
    width: auto !important;
    border: none !important;
    background: transparent !important;
    box-sizing: border-box !important;
    overflow: visible !important;
    transform: none !important;
}

.post-actions-item form {
    display: flex !important;
    align-items: center !important;
    justify-content: inherit !important;
    margin: 0 !important;
    width: auto !important;
    max-width: none !important;
}

/* Icons */
.post-card .post-actions .post-actions-icon,
.post-card-repost-entry .post-actions .post-actions-icon,
body.social-home .post-actions .post-actions-icon,
body.social-page .post-actions .post-actions-icon,
.feed .post-card .post-actions .post-actions-icon {
    position: relative !important;
    z-index: 1 !important;
    width: var(--pa-hit) !important;
    height: var(--pa-hit) !important;
    min-width: var(--pa-hit) !important;
    max-width: var(--pa-hit) !important;
    flex: 0 0 var(--pa-hit) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 999px !important;
    box-sizing: border-box !important;
    transform: none !important;
}

.post-card .post-actions .post-actions-icon svg,
.post-card-repost-entry .post-actions .post-actions-icon svg,
body.social-home .post-actions .post-actions-icon svg,
body.social-page .post-actions .post-actions-icon svg,
.feed .post-card .post-actions .post-actions-icon svg,
body.social-home .post-actions-icon svg,
.feed .post-card .post-actions-icon svg {
    width: var(--pa-icon) !important;
    height: var(--pa-icon) !important;
    min-width: var(--pa-icon) !important;
    display: block !important;
    flex-shrink: 0 !important;
}

/* Comment: SVG left under display name */
.post-actions-reply .post-actions-btn,
.post-actions-reply form {
    justify-content: flex-start !important;
    margin: 0 !important;
}
.post-actions-reply .post-actions-icon {
    width: var(--pa-icon) !important;
    min-width: var(--pa-icon) !important;
    max-width: var(--pa-icon) !important;
    flex: 0 0 var(--pa-icon) !important;
    justify-content: flex-start !important;
}

/* Middle three: icon centred in its own box */
.post-actions-repost .post-actions-btn,
.post-actions-like .post-actions-btn,
.post-actions-like .like-button,
.post-actions-views .post-actions-btn,
.post-actions-views a.post-views-link,
.post-actions-repost form,
.post-actions-like form {
    margin: 0 !important;
    justify-content: center !important;
}

/* Bookmark under ⋯ */
.post-actions-bookmark .post-actions-btn,
.post-actions-bookmark form {
    margin: 0 !important;
    margin-left: 0 !important;
    justify-content: flex-end !important;
}
.post-actions-bookmark .post-actions-icon {
    width: var(--pa-hit) !important;
    min-width: var(--pa-hit) !important;
    max-width: var(--pa-hit) !important;
    flex: 0 0 var(--pa-hit) !important;
    justify-content: center !important;
}

/* Counts: absolute — never shift icons */
.post-card .post-actions .post-actions-count,
.post-card .post-actions .post-views-count,
.post-card .post-actions .count-value,
.post-card .post-actions .repost-count,
.post-card-repost-entry .post-actions .post-actions-count,
.post-card-repost-entry .post-actions .post-views-count,
.post-card-repost-entry .post-actions .count-value,
.post-card-repost-entry .post-actions .repost-count,
.reply-card .post-actions .post-actions-count,
body.social-home .post-actions .post-actions-count,
body.social-page .post-actions .post-actions-count,
.feed .post-card .post-actions .post-actions-count,
body.social-home .post-actions-count,
.feed .post-card .post-actions-count {
    position: absolute !important;
    left: 100% !important;
    top: 50% !important;
    right: auto !important;
    bottom: auto !important;
    transform: translateY(-50%) !important;
    margin: 0 0 0 2px !important;
    padding: 0 !important;
    min-width: 0 !important;
    max-width: var(--pa-count-w) !important;
    width: max-content !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    font-variant-numeric: tabular-nums !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: clip !important;
    pointer-events: none !important;
    color: inherit !important;
    display: block !important;
    visibility: visible !important;
    box-sizing: border-box !important;
    flex: none !important;
    float: none !important;
}

.post-card .post-actions .post-actions-count:empty,
.post-card .post-actions .post-views-count:empty,
.post-card-repost-entry .post-actions .post-actions-count:empty,
body.social-home .post-actions .post-actions-count:empty,
.feed .post-card .post-actions .post-actions-count:empty {
    display: block !important;
    visibility: hidden !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    overflow: hidden !important;
}

.post-actions-reply .post-actions-count {
    margin-left: 4px !important;
}

/* Repost cards: actions in content column only (align with name) */
.post-card-simple-repost > .post-body,
.post-card-quote-repost > .post-body {
    display: grid !important;
    grid-template-columns: 40px minmax(0, 1fr) !important;
    column-gap: 10px !important;
    width: 100% !important;
    min-width: 0 !important;
}
.post-card-simple-repost > .post-body > .post-meta-row {
    display: none !important;
}
.post-card-simple-repost > .post-body > .post-card-open-zone,
.post-card-simple-repost > .post-body > .post-repost-embed,
.post-card-quote-repost > .post-body > .post-card-open-zone {
    grid-column: 1 / -1 !important;
    min-width: 0 !important;
}
.post-card-simple-repost > .post-body > .post-actions,
.post-card-simple-repost .post-actions-simple-repost,
.post-card-simple-repost .post-actions-repost-own,
.post-card-quote-repost > .post-body > .post-actions,
.post-card-quote-repost .post-actions-repost-own,
.post-card-repost-entry > .post-body > .post-actions {
    grid-column: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 8px 0 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    border-top: none !important;
}

/* Mobile: same layout, slightly tighter icons — NO different algorithm */
@media (max-width: 700px) {
    .post-card .post-actions,
    .reply-card .post-actions,
    .post-card-simple-repost .post-actions,
    .post-card-simple-repost .post-actions-simple-repost,
    .post-card-simple-repost .post-actions-repost-own,
    .post-card-quote-repost .post-actions,
    .post-card-repost-entry .post-actions,
    body.social-home .post-actions,
    body.social-page .post-actions,
    .feed .post-actions {
        --pa-icon: 18.75px;
        --pa-hit: 34.75px;
        --pa-count-w: 2.85ch;
        display: flex !important;
        justify-content: space-between !important;
        /* force undo actmobile block layout */
        height: auto !important;
        min-height: var(--pa-hit) !important;
        margin: 8px 0 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .post-card .post-actions > .post-actions-item,
    .post-card-repost-entry .post-actions > .post-actions-item,
    .post-card-simple-repost .post-actions > .post-actions-item,
    .post-card-simple-repost .post-actions-simple-repost > .post-actions-item,
    .post-card-simple-repost .post-actions-repost-own > .post-actions-item,
    body.social-home .post-actions > .post-actions-item,
    .feed .post-actions > .post-actions-item {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        flex: 0 0 var(--pa-hit) !important;
        width: var(--pa-hit) !important;
        min-width: var(--pa-hit) !important;
        max-width: var(--pa-hit) !important;
    }

    body.social-home .post-actions-count,
    .feed .post-card .post-actions-count {
        font-size: 12px !important;
    }

    .post-card-simple-repost > .post-body,
    .post-card-quote-repost > .post-body {
        grid-template-columns: 38px minmax(0, 1fr) !important;
        column-gap: 9px !important;
    }

    /* kill legacy mobile stretch */
    .post-card-simple-repost .post-actions-repost-own,
    .post-card-simple-repost > .post-body > .post-actions,
    .post-card-simple-repost .post-actions-simple-repost {
        margin-right: 0 !important;
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
    }
}

/* force-row-20260726 */
.post-card .post-actions,.feed .post-actions,body.social-home .post-actions{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;justify-content:space-between!important}
.post-card .post-actions>.post-actions-item,.feed .post-actions>.post-actions-item{display:flex!important;flex-direction:row!important;float:none!important;width:36px!important;height:36px!important}

/* 20260726-REAL4262 absolute last horizontal force */
.post-card .post-actions,
.reply-card .post-actions,
.feed .post-actions,
body.social-home .post-actions,
body.social-page .post-actions,
.post-actions-simple-repost,
.post-actions-repost-own {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  justify-content: space-between !important;
}
.post-card .post-actions > .post-actions-item,
.feed .post-actions > .post-actions-item,
body.social-home .post-actions > .post-actions-item {
  display: flex !important;
  flex-direction: row !important;
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
  float: none !important;
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
}

/* ========== action-count zero 20260726-zeros1 ========== */
.post-actions .post-actions-count,
.post-actions-count.count-value,
.post-actions-count.repost-count,
.post-views-count {
    display: inline-block !important;
    min-width: 1.1em !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    line-height: 1 !important;
    color: inherit !important;
    visibility: visible !important;
    opacity: 1 !important;
}
/* if count node is empty, paint 0 via CSS so layout never collapses */
.post-actions .post-actions-count:empty::before,
.post-actions-count.count-value:empty::before,
.post-actions-count.repost-count:empty::before,
.post-views-count:empty::before {
    content: "0" !important;
    display: inline !important;
}
/* widen items so icon+0 fit (was 36px too tight, hid numbers) */
@media (max-width: 1100px) {
    .post-card .post-actions > .post-actions-item,
    .feed .post-actions > .post-actions-item,
    body.social-home .post-actions > .post-actions-item,
    .post-actions-reply,
    .post-actions-repost,
    .post-actions-like,
    .post-actions-views,
    .post-actions-bookmark,
    .post-actions-share {
        width: auto !important;
        min-width: 44px !important;
        max-width: none !important;
        flex: 1 1 0 !important;
        height: 36px !important;
        justify-content: center !important;
        gap: 4px !important;
    }
    .post-actions .post-actions-btn {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 4px !important;
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        padding: 0 2px !important;
    }
}
/* ========== /action-count zero 20260726-zeros1 ========== */

