Raw shipped HTML
Exact bytes returned by /api/v1/views/profile-card-v1/1.0.0 12,265 bytes <mf-view>
<style>mf-profile-card-v1 {
mf-profile {
display: block;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 10px;
overflow: hidden;
box-sizing: border-box;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
font-size: 14px;
color: #111827;
max-width: 720px;
}
mf-profile *, mf-profile *::before, mf-profile *::after { box-sizing: border-box; }
mf-profile-banner {
display: block;
width: 100%;
height: 180px;
background-color: #e5e7eb;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
mf-profile-header {
position: relative;
padding: 0 20px;
margin-top: -48px;
display: flex;
align-items: flex-end;
gap: 16px;
}
mf-profile-avatar-wrap {
position: relative;
flex: 0 0 96px;
width: 96px;
height: 96px;
display: block;
}
mf-profile-avatar {
display: block;
width: 96px;
height: 96px;
border-radius: 50%;
border: 4px solid #ffffff;
background-color: #d1d5db;
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}
mf-profile-status {
display: none;
position: absolute;
right: 2px;
bottom: 2px;
width: 10px;
height: 10px;
border-radius: 50%;
border: 2px solid #ffffff;
background: #9ca3af;
}
mf-profile-status[data-status="online"] { background: #10b981; }
mf-profile-status[data-status="offline"] { background: #9ca3af; }
mf-profile-status[data-status="away"] { background: #f59e0b; }
mf-profile-status[data-status="busy"] { background: #ef4444; }
mf-profile-identity {
flex: 1 1 auto;
min-width: 0;
padding-bottom: 12px;
display: block;
}
mf-profile-name {
display: block;
margin: 0;
font-size: 1.25em;
font-weight: 700;
line-height: 1.2;
color: #111827;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
mf-profile-handle {
display: block;
margin: 2px 0 0;
font-size: 0.95em;
color: #6b7280;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
mf-profile-role {
display: none;
margin: 2px 0 0;
font-size: 0.9em;
color: #6b7280;
}
mf-profile-body { display: block; padding: 12px 20px 20px; }
mf-profile-bio {
display: block;
margin: 0 0 12px;
font-size: 1em;
line-height: 1.5;
color: #111827;
white-space: pre-wrap;
}
mf-profile-meta {
display: flex;
flex-wrap: wrap;
gap: 12px 16px;
margin-bottom: 14px;
font-size: 0.9em;
color: #6b7280;
}
mf-profile-meta > * {
display: inline-flex;
align-items: center;
gap: 4px;
}
mf-profile-location::before { content: "📍 "; }
mf-profile-joined::before { content: "Joined "; }
mf-profile-stats {
display: flex;
gap: 20px;
padding: 12px 0;
border-top: 1px solid #e5e7eb;
border-bottom: 1px solid #e5e7eb;
margin: 0 0 14px;
}
mf-profile-stat {
display: flex;
flex-direction: column;
gap: 2px;
position: relative;
}
mf-profile-stat::after {
font-size: 0.85em;
color: #6b7280;
}
mf-profile-stat:nth-child(1)::after { content: "Posts"; order: 2; }
mf-profile-stat:nth-child(2)::after { content: "Followers"; order: 2; }
mf-profile-stat:nth-child(3)::after { content: "Following"; order: 2; }
mf-profile-post-count,
mf-profile-follower-count,
mf-profile-following-count {
display: block;
order: 1;
font-size: 1.1em;
font-weight: 700;
color: #111827;
font-variant-numeric: tabular-nums;
}
mf-profile-post-delta,
mf-profile-follower-delta,
mf-profile-following-delta {
display: none;
order: 3;
font-size: 0.8em;
font-weight: 600;
}
mf-profile-post-delta[data-dir="up"],
mf-profile-follower-delta[data-dir="up"],
mf-profile-following-delta[data-dir="up"] { color: #059669; }
mf-profile-post-delta[data-dir="down"],
mf-profile-follower-delta[data-dir="down"],
mf-profile-following-delta[data-dir="down"] { color: #dc2626; }
mf-profile-badges {
display: flex;
flex-wrap: wrap;
gap: 6px;
margin-bottom: 14px;
}
mf-profile-badge {
display: inline-block;
padding: 3px 10px;
border-radius: 999px;
font-size: 0.8em;
font-weight: 600;
background: #ffffff;
border: 1px solid #e5e7eb;
color: #6b7280;
}
mf-profile-links {
display: flex;
flex-wrap: wrap;
gap: 8px 12px;
margin: 0 0 14px;
list-style: none;
padding: 0;
}
mf-profile-link {
display: inline-block;
color: #2563eb;
text-decoration: none;
font-size: 0.95em;
}
mf-profile-activity-title {
display: block;
margin: 0 0 8px;
font-size: 0.85em;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.04em;
color: #6b7280;
}
mf-profile-activity {
display: flex;
flex-direction: column;
gap: 8px;
list-style: none;
padding: 0;
margin: 0;
}
mf-activity-item {
display: flex;
flex-direction: column;
gap: 2px;
padding: 10px 12px;
background: #ffffff;
border: 1px solid #e5e7eb;
border-radius: 6px;
}
mf-activity-summary {
display: block;
color: #111827;
text-decoration: none;
font-weight: 500;
}
mf-activity-timestamp {
display: block;
font-size: 0.8em;
color: #6b7280;
}
/* empty-state discipline — anything the CSOM didn't bind collapses cleanly */
mf-profile-bio:empty,
mf-profile-location:empty,
mf-profile-joined:empty,
mf-profile-name:empty,
mf-profile-handle:empty,
mf-profile-role:empty,
mf-profile-badge:empty,
mf-profile-link:empty,
mf-activity-summary:empty,
mf-activity-timestamp:empty {
display: none;
}
mf-activity-item:has(> mf-activity-summary:empty):has(> mf-activity-timestamp:empty) {
display: none;
}
mf-profile-meta:has(> mf-profile-location:empty):has(> mf-profile-joined:empty) {
display: none;
}
mf-profile {
position: relative;
background: radial-gradient(ellipse at top, #1e1b4b 0%, #0f172a 60%);
color: #f8fafc;
border: 0;
border-radius: 20px;
isolation: isolate;
box-shadow: 0 20px 50px -20px rgba(168, 85, 247, 0.6);
}
mf-profile::after {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 2px;
background: linear-gradient(120deg, #a855f7, #ec4899, #06b6d4, #fbbf24, #a855f7);
background-size: 300% 300%;
animation: mflyHolo 6s ease infinite;
-webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
@keyframes mflyHolo {
0%, 100% { background-position: 0% 50%; }
50% { background-position: 100% 50%; }
}
mf-profile-banner {
height: 130px;
background: transparent;
position: relative;
}
mf-profile-banner::after {
content: '';
position: absolute;
inset: 0;
background:
radial-gradient(circle at 20% 40%, rgba(236, 72, 153, 0.35) 0%, transparent 55%),
radial-gradient(circle at 80% 30%, rgba(6, 182, 212, 0.35) 0%, transparent 55%),
radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.35) 0%, transparent 55%);
}
mf-profile-header {
flex-direction: column;
align-items: center;
padding: 0 20px;
gap: 14px;
margin-top: -60px;
}
mf-profile-avatar-wrap { flex: 0 0 120px; width: 120px; height: 120px; }
mf-profile-avatar {
width: 120px;
height: 120px;
border: 3px solid #ec4899;
box-shadow: 0 0 30px rgba(236, 72, 153, 0.55);
}
mf-profile-identity {
text-align: center;
width: 100%;
padding-bottom: 0;
}
mf-profile-name {
font-size: 1.6em;
font-weight: 800;
letter-spacing: -0.02em;
white-space: normal;
background: linear-gradient(120deg, #f0abfc 0%, #fbbf24 50%, #67e8f9 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
color: transparent;
}
mf-profile-handle {
color: #94a3b8;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
font-size: 0.85em;
}
mf-profile-body {
padding: 18px 24px 26px;
max-width: 540px;
margin: 0 auto;
}
mf-profile-bio {
color: #cbd5e1;
text-align: center;
margin-bottom: 16px;
}
mf-profile-meta {
color: #94a3b8;
justify-content: center;
margin-bottom: 16px;
}
mf-profile-stats {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 0;
border: 1px solid rgba(255, 255, 255, 0.1);
padding: 14px 8px;
margin: 0 0 18px;
background: rgba(255, 255, 255, 0.03);
border-radius: 14px;
}
mf-profile-stat {
align-items: center;
text-align: center;
padding: 0 8px;
border-right: 1px solid rgba(255, 255, 255, 0.08);
}
mf-profile-stat:last-child { border-right: 0; }
mf-profile-post-count,
mf-profile-follower-count,
mf-profile-following-count {
font-size: 1.75em;
font-weight: 800;
color: #fbbf24;
font-variant-numeric: tabular-nums;
text-shadow: 0 0 18px rgba(251, 191, 36, 0.45);
line-height: 1;
}
mf-profile-stat::after {
color: #94a3b8;
font-size: 0.72em;
text-transform: uppercase;
letter-spacing: 0.1em;
margin-top: 4px;
}
mf-profile-badges {
justify-content: center;
gap: 8px;
margin-bottom: 18px;
}
mf-profile-badge {
background: rgba(168, 85, 247, 0.15);
border: 1px solid rgba(168, 85, 247, 0.4);
color: #f0abfc;
box-shadow: 0 0 14px rgba(168, 85, 247, 0.25);
text-transform: uppercase;
letter-spacing: 0.06em;
font-size: 0.7em;
}
mf-profile-links {
justify-content: center;
gap: 10px;
margin-bottom: 18px;
}
mf-profile-link {
color: #67e8f9;
background: rgba(6, 182, 212, 0.1);
border: 1px solid rgba(6, 182, 212, 0.35);
padding: 7px 16px;
border-radius: 999px;
font-weight: 500;
}
mf-profile-activity-title {
color: #94a3b8;
text-align: center;
border-top: 1px solid rgba(255, 255, 255, 0.08);
padding-top: 14px;
margin-top: 4px;
}
mf-activity-item {
background: rgba(255, 255, 255, 0.03);
border: 1px solid rgba(255, 255, 255, 0.08);
}
mf-activity-summary { color: #e0e7ff; }
mf-activity-timestamp {
color: #94a3b8;
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}
}</style>
<mf-profile-card-v1 version="1.0.0"><mf-profile>
<mf-profile-banner></mf-profile-banner>
<mf-profile-header>
<mf-profile-avatar-wrap>
<mf-profile-avatar></mf-profile-avatar>
<mf-profile-status></mf-profile-status>
</mf-profile-avatar-wrap>
<mf-profile-identity>
<mf-profile-name></mf-profile-name>
<mf-profile-handle></mf-profile-handle>
<mf-profile-role></mf-profile-role>
</mf-profile-identity>
</mf-profile-header>
<mf-profile-body>
<mf-profile-bio></mf-profile-bio>
<mf-profile-meta>
<mf-profile-location></mf-profile-location>
<mf-profile-joined></mf-profile-joined>
</mf-profile-meta>
<mf-profile-stats>
<mf-profile-stat>
<mf-profile-post-count></mf-profile-post-count>
<mf-profile-post-delta></mf-profile-post-delta>
</mf-profile-stat>
<mf-profile-stat>
<mf-profile-follower-count></mf-profile-follower-count>
<mf-profile-follower-delta></mf-profile-follower-delta>
</mf-profile-stat>
<mf-profile-stat>
<mf-profile-following-count></mf-profile-following-count>
<mf-profile-following-delta></mf-profile-following-delta>
</mf-profile-stat>
</mf-profile-stats>
<mf-profile-badges>
<mf-profile-badge></mf-profile-badge>
<mf-profile-badge></mf-profile-badge>
<mf-profile-badge></mf-profile-badge>
</mf-profile-badges>
<mf-profile-links>
<mf-profile-link></mf-profile-link>
<mf-profile-link></mf-profile-link>
<mf-profile-link></mf-profile-link>
</mf-profile-links>
<mf-profile-activity-title>Recent activity</mf-profile-activity-title>
<mf-profile-activity>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
<mf-activity-item>
<mf-activity-summary></mf-activity-summary>
<mf-activity-timestamp></mf-activity-timestamp>
</mf-activity-item>
</mf-profile-activity>
</mf-profile-body>
</mf-profile></mf-profile-card-v1></mf-view>