/* Post action row, reshaped to X's (owner brief 2026-11-01 20:00, the row circled in red):
   reply · repost · like · views · bookmark · share, spread across the width of the card, each
   control sitting in its own tinted well when touched. The report door left the row for the
   card's top-right edge, so nothing inside the row is a menu any more, and the redundant
   "open post" arrow went with it — the reply, the view count and the long-press sheet already
   open the same page.

   Wells are per action (brand pink for talk/love/keep, the green X uses for a repost, plain
   ink for the two that only navigate), so the row still reads as one instrument.

   Fresh filename: hCDN caches css/* for a week and ignores query strings. */

.mtv-post__actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 2px;
    margin-top: 12px;
}

.mtv-post__actions > form { margin: 0; min-width: 0; }

/* One height, one count size, tabular figures so a like never nudges the row sideways. */
.mtv-post__actions .mtv-post__reply,
.mtv-post__actions .mtv-post__views,
.mtv-post__actions .mtv-post__repost button,
.mtv-post__actions .mtv-post__like button,
.mtv-post__actions .mtv-post__bookmark button,
.mtv-post__actions .mtv-post__share button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 42px;
    min-height: 36px;
    padding: 6px 9px;
    border: 0;
    border-radius: 999px;
    background: none;
    color: var(--mtv-ink-4);
    font: 600 12.5px/1 var(--mtv-font-ui, system-ui);
    font-variant-numeric: tabular-nums;
    text-decoration: none;
    transition: background-color .16s ease, color .16s ease, transform .12s ease;
}

.mtv-post__actions svg { width: 19px; height: 19px; }

.mtv-post__actions .mtv-post__reply:hover,
.mtv-post__actions .mtv-post__like button:hover,
.mtv-post__actions .mtv-post__bookmark button:hover { background: rgba(216, 30, 91, .08); color: var(--mtv-magenta); }

.mtv-post__actions .mtv-post__repost button:hover { background: rgba(0, 128, 111, .09); color: #00806f; }

.mtv-post__actions .mtv-post__views:hover,
.mtv-post__actions .mtv-post__share button:hover { background: rgba(0, 69, 116, .07); color: var(--mtv-ink); }

.mtv-post__actions .mtv-post__like button.on,
.mtv-post__actions .mtv-post__bookmark button.on { color: var(--mtv-magenta); }

.mtv-post__actions .mtv-post__reply:active,
.mtv-post__actions .mtv-post__views:active,
.mtv-post__actions .mtv-post__repost button:active,
.mtv-post__actions .mtv-post__like button:active,
.mtv-post__actions .mtv-post__bookmark button:active,
.mtv-post__actions .mtv-post__share button:active { transform: scale(.93); }

/* The report door, now on the card's own edge. It opens downward because it hangs off the
   top of the card, and stays a popover on a thumb screen because it is clamped to the edge
   it is anchored from — the old in-flow fall-back was only needed while it sat in the row. */
.mtv-post__head .mtv-post__report { margin-left: auto; align-self: center; }
.mtv-post__head .mtv-post__report summary { padding: 6px 8px; min-height: 36px; }
.mtv-post__head .mtv-post__report summary svg { width: 19px; height: 19px; }
.mtv-post__head .mtv-post__report form {
    position: absolute;
    top: calc(100% + 6px);
    bottom: auto;
    right: 0;
    z-index: 9;
    width: min(310px, 84vw);
}

@media (max-width: 640px) {
    .mtv-post__actions { gap: 0; }

    .mtv-post__actions .mtv-post__reply,
    .mtv-post__actions .mtv-post__views,
    .mtv-post__actions .mtv-post__repost button,
    .mtv-post__actions .mtv-post__like button,
    .mtv-post__actions .mtv-post__bookmark button,
    .mtv-post__actions .mtv-post__share button {
        min-width: 44px;
        min-height: 44px;
        padding: 8px 7px;
        gap: 5px;
    }

    .mtv-post__actions svg { width: 20px; height: 20px; }

    /* The door is a thumb target now that it is the only thing on the card's edge. */
    .mtv-post__head .mtv-post__report summary { min-height: 44px; padding: 8px 10px; }
}

@media (prefers-reduced-motion: reduce) {
    .mtv-post__actions .mtv-post__reply:active,
    .mtv-post__actions .mtv-post__views:active,
    .mtv-post__actions .mtv-post__repost button:active,
    .mtv-post__actions .mtv-post__like button:active,
    .mtv-post__actions .mtv-post__bookmark button:active,
    .mtv-post__actions .mtv-post__share button:active { transform: none; }
}

:root[data-theme="dark"] .mtv-post__actions .mtv-post__reply:hover,
:root[data-theme="dark"] .mtv-post__actions .mtv-post__like button:hover,
:root[data-theme="dark"] .mtv-post__actions .mtv-post__bookmark button:hover { background: rgba(216, 30, 91, .16); color: var(--dk-pink-text); }

:root[data-theme="dark"] .mtv-post__actions .mtv-post__repost button:hover { background: rgba(53, 201, 166, .15); color: #35c9a6; }

:root[data-theme="dark"] .mtv-post__actions .mtv-post__views:hover,
:root[data-theme="dark"] .mtv-post__actions .mtv-post__share button:hover { background: rgba(255, 255, 255, .09); color: var(--dk-muted-strong); }
