/* ========================================
   PCARD BASE - Container, Header, Content
   ======================================== */
.pcard {
    background: var(--color-pcard-bg);
    border: 1px solid var(--color-pcard-border);
    border-radius: 8px;
    margin-bottom: 16px;
    overflow: visible;
    box-shadow: none !important;
}

/* Own post - distinct darker gradient */
.pcard--own {
    background: var(--color-pcard-bg);
}

.pcard:nth-child(odd) {
    background: var(--color-pcard-bg);
}

.pcard:nth-child(even) {
    background: var(--color-pcard-bg);
}

.pcard__author {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 0;
}

/* Container for Avatar + Name (Left Side) */
.pcard__author-left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pcard__pic {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.pcard__who {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Container for Meta/Options (Right Side) */
.pcard__author-right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--color-text-muted);
    font-size: 13px;
}

.pcard__display {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--color-text);
    text-decoration: none;
    margin-bottom: 3px;
    line-height: 1.2;
}

.pcard__display:hover {
    text-decoration: underline;
}

.pcard__handle {
    display: block;
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.3;
}

.pcard__opts {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* You Badge Style */
.badge-own {
    display: inline-flex;
    align-items: center;
    height: 22px;
    padding: 0 10px;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--color-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.verified-badge-icon {
    color: var(--color-verified-badge);
}

.pcard__text {
    padding: 12px 16px;
    font-size: 16px;
    color: var(--color-text);
    line-height: 1.6;
    white-space: pre-wrap;
    font-weight: 400;
}

/* Hide text wrapper if empty */
.pcard__text:empty {
    display: none;
    padding: 0;
}

/* Links container - for bottom of post display */
.pcard__links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0 16px 16px;
    margin-top: -4px;
}
