.card-action-btn {
    position: absolute; bottom: 18px; right: 18px;
    background: rgba(15,20,25,0.8); border: 1px solid rgba(99,102,241,0.25);
    border-radius: 8px; padding: 6px 12px;
    font-size: 12px; font-weight: 600; color: #94a3b8;
    cursor: pointer; transition: all 0.2s; display: flex; align-items: center; gap: 6px;
    font-family: inherit;
}
.card-action-btn svg { width: 13px; height: 13px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.card-action-btn:hover { border-color: #ef4444; color: #ef4444; }

/* ── Profile main content ── */
.profile-main { padding: 0; }

/* Profile header card */
.profile-hero {
    background: rgba(15,20,25,0.7);
    border: 1px solid rgba(99,102,241,0.25);
    border-radius: 20px; padding: 36px 40px;
    display: flex; align-items: center; gap: 32px;
    margin-bottom: 40px; position: relative; overflow: hidden;
}
.profile-hero::before { display: none; }

.avatar {
    width: 90px; height: 90px; min-width: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6366f1, #8b5cf6, #a855f7);
    display: flex; align-items: center; justify-content: center;
    font-size: 34px; font-weight: 700; color: #fff;
    border: 3px solid rgba(99,102,241,0.4);
    flex-shrink: 0;
}

.profile-info { flex: 1; min-width: 0; }
.profile-name { font-size: 28px; font-weight: 700; margin-bottom: 4px; }
.profile-username { font-size: 14px; color: #64748b; margin-bottom: 10px; }
.profile-email {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 14px; color: #94a3b8;
}
.profile-email svg { width: 14px; height: 14px; fill: none; stroke: #64748b; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.profile-stats {
    display: flex; gap: 30px; margin-top: 20px; padding-top: 20px;
    border-top: 1px solid rgba(99,102,241,0.15);
    align-items: flex-end;
}
.profile-stat { text-align: center; }
.profile-stat-number {
    font-size: 22px; font-weight: 700;
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.profile-stat-label { font-size: 12px; color: #64748b; margin-top: 2px; }

.edit-profile-btn {
    background: rgba(99,102,241,0.12); border: 1px solid rgba(99,102,241,0.3);
    border-radius: 8px; padding: 7px 14px; color: #a5b4fc;
    font-size: 12px; font-weight: 600; cursor: pointer; transition: all 0.25s;
    display: flex; align-items: center; gap: 6px; font-family: inherit;
    white-space: nowrap; align-self: flex-start;
}
.edit-profile-btn svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.edit-profile-btn:hover { background: rgba(99,102,241,0.2); border-color: #6366f1; color: #ffffff; }

/* Section headings */
.section-heading {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 24px; padding-bottom: 16px;
    border-bottom: 1px solid rgba(99,102,241,0.15);
}
.section-title-text {
    font-size: 20px; font-weight: 700; color: #ffffff;
    display: flex; align-items: center; gap: 10px;
}
.section-title-text svg { width: 20px; height: 20px; fill: none; stroke: #8b5cf6; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.section-count {
    font-size: 13px; font-weight: 600; color: #64748b;
    background: rgba(99,102,241,0.1); padding: 3px 10px; border-radius: 20px;
}
.section-link {
    font-size: 13px; color: #8b5cf6; font-weight: 600;
    text-decoration: none; transition: color 0.2s;
}
.section-link:hover { color: #a78bfa; }

.articles-section { margin-bottom: 56px; }

/* Empty state */
.empty-state {
    background: rgba(15,20,25,0.5); border: 1px dashed rgba(99,102,241,0.25);
    border-radius: 16px; padding: 48px; text-align: center;
}
.empty-state-icon {
    width: 56px; height: 56px; margin: 0 auto 16px;
    background: rgba(99,102,241,0.1); border-radius: 16px;
    display: flex; align-items: center; justify-content: center;
}
.empty-state-icon svg { width: 28px; height: 28px; fill: none; stroke: #6366f1; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.empty-state-text { font-size: 15px; color: #64748b; line-height: 1.6; }
.empty-state-link { color: #8b5cf6; font-weight: 600; text-decoration: none; }

.recent-timestamp{
    color: #64748b;
}
.meta-stat{
    color: #64748b;
}