/* ========================================
   PCARD FOOTER - Stats, Actions, Link Previews
   ======================================== */

/* Unified Post Footer */
.pcard__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    width: 100%;
    background: transparent;
    border-radius: 0 0 11px 11px;
}

/* Footer Left: User Identity + Actions */
.pcard__footer-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcard__footer-avatar {
    flex-shrink: 0;
    display: inline-flex;
}

.pcard__footer-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcard__footer-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
}

.pcard__footer-name:hover {
    text-decoration: none;
}

.pcard__footer-divider {
    color: var(--color-text-muted);
    margin: 0 4px;
}

/* Footer Right: Meta Info */
.pcard__meta-right {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--color-text-muted);
}

/* Footer Right: Action Icons */
.pcard__footer-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pcard__footer-time {
    font-size: 13px;
    color: var(--color-text-muted);
}

.pcard__stat {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-text-muted);
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: color 0.15s;
}

.pcard__stat i,
.pcard__stat svg {
    width: 20px;
    height: 20px;
}

.pcard__stat:hover {
    color: var(--color-text);
}

.pcard__stat--heart.is-active {
    color: var(--color-text);
}

.pcard__stat--heart:hover {
    color: var(--color-text);
}

@keyframes heart-pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.3);
    }

    100% {
        transform: scale(1);
    }
}

.pcard__stat--heart.is-active svg {
    fill: var(--color-text);
    stroke: var(--color-text);
    animation: heart-pulse 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.pcard__vis {
    display: inline-flex;
    align-items: center;
    margin-inline-start: 6px;
    color: inherit;
    vertical-align: -2px;
}

.pcard__vis i,
.pcard__vis svg {
    width: 13px;
    height: 13px;
    color: inherit;
}

.pcard__stat--whisper.is-active {
    color: var(--color-text);
}

/* Link Preview (Embedded) */
.pcard__link-preview {
    display: flex;
    margin-top: 12px;
    margin-inline: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: var(--color-surface);
    overflow: hidden;
    text-decoration: none;
    transition: border-color 0.2s;
    height: 100px;
}

.pcard__link-preview:hover {
    border-color: var(--color-link-preview-border-hover);
}

.pcard__link-image-wrapper {
    position: relative;
    width: 100px;
    height: 100%;
    background: var(--color-surface-hover);
    overflow: hidden;
    flex-shrink: 0;
}

.pcard__link-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pcard__link-info {
    flex: 1;
    padding: 10px 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
}

.pcard__link-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 2px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pcard__link-desc {
    font-size: 12px;
    color: #a1a1aa;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.pcard__link-domain {
    font-size: 11px;
    color: #71717a;
    display: flex;
    align-items: center;
    gap: 4px;
}
