/* Public PANJI profile: editorial, accessible, and privacy-aware. */

.public-profile-page {
    --profile-ink: #252a2f;
    --profile-muted: #77818a;
    --profile-charcoal: #202428;
    --profile-charcoal-soft: #2b3238;
    --profile-blue: #2e6f95;
    --profile-blue-deep: #1d4963;
    --profile-blue-soft: #e8f2f8;
    --profile-red: #b51e2a;
    --profile-red-soft: #f8e8ea;
    --profile-paper: #ffffff;
    --profile-surface: #f6f8fa;
    --profile-border: rgba(32, 36, 40, 0.12);
    --profile-shadow: 0 1.25rem 3.4rem rgba(32, 36, 40, 0.1);
    width: min(100%, 88rem);
    display: grid;
    gap: clamp(1rem, 2vw, 1.5rem);
    margin-inline: auto;
    color: var(--profile-ink);
}

.public-profile-page svg {
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.public-profile-page :is(button, summary, a) {
    -webkit-tap-highlight-color: transparent;
}

.public-profile-page__messages {
    position: relative;
    z-index: 5;
}

.public-profile-hero {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(17.5rem, 23rem) minmax(0, 1fr);
    align-items: stretch;
    gap: clamp(1rem, 2.5vw, 1.6rem);
}

/* Identity card keeps the original photo-over-dark-panel composition. */
.profile-identity-card,
.profile-overview-card,
.profile-section-card,
.profile-network-card,
.profile-screening-card,
.profile-owner-card {
    min-width: 0;
    border: 1px solid var(--profile-border);
    border-radius: 1.45rem;
    background: var(--profile-paper);
    box-shadow: var(--profile-shadow);
}

.profile-identity-card {
    position: relative;
    isolation: isolate;
}

.profile-identity-card__canvas {
    position: relative;
    min-height: 31rem;
    overflow: hidden;
    padding: 6.8rem 0.72rem 0.72rem;
    border-radius: inherit;
    background:
        radial-gradient(circle at 50% 0%, rgba(46, 111, 149, 0.13), transparent 10rem),
        linear-gradient(180deg, #ffffff 0 26%, #f8fafb 26% 100%);
}

.profile-identity-card__canvas::before,
.profile-identity-card__canvas::after {
    position: absolute;
    border: 1px solid rgba(46, 111, 149, 0.08);
    border-radius: 50%;
    content: "";
    pointer-events: none;
}

.profile-identity-card__canvas::before {
    top: -5rem;
    right: -4rem;
    width: 13rem;
    height: 13rem;
}

.profile-identity-card__canvas::after {
    top: 1rem;
    left: -4.5rem;
    width: 9rem;
    height: 9rem;
}

.profile-identity-card__avatar {
    position: absolute;
    z-index: 3;
    top: 1rem;
    left: 50%;
    width: clamp(10rem, 16vw, 12rem);
    aspect-ratio: 1;
    display: grid;
    place-items: center;
    padding: 0.24rem;
    border-radius: 50%;
    background: linear-gradient(145deg, #9fc4d8, #d8e7ef 62%, #b51e2a);
    box-shadow:
        0 1rem 2.3rem rgba(32, 36, 40, 0.2),
        0 0 0 0.45rem rgba(255, 255, 255, 0.84);
    transform: translateX(-50%);
}

.profile-identity-card__avatar img,
.profile-identity-card__avatar-placeholder {
    width: 100%;
    height: 100%;
    border: 0.28rem solid #ffffff;
    border-radius: 50%;
}

.profile-identity-card__avatar img {
    display: block;
    object-fit: cover;
    object-position: center;
}

.profile-identity-card__avatar-placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 35% 25%, rgba(255, 255, 255, 0.18), transparent 4rem),
        linear-gradient(145deg, #397fa6, #202428);
    color: #ffffff;
    font-size: 3rem;
    font-weight: 820;
}

.profile-identity-card__panel {
    position: relative;
    z-index: 1;
    min-height: 23.4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    gap: 0.72rem;
    overflow: visible;
    padding: 8rem 1.15rem 1.35rem;
    border-radius: 1rem;
    background:
        radial-gradient(circle at 82% 10%, rgba(181, 30, 42, 0.18), transparent 11rem),
        radial-gradient(circle at 12% 92%, rgba(46, 111, 149, 0.2), transparent 12rem),
        linear-gradient(145deg, #202a31 0%, #203848 64%, #1d4963 100%);
    color: #ffffff;
    text-align: center;
}

.profile-identity-card__panel::before {
    position: absolute;
    top: 0;
    right: 1rem;
    left: 1rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.45), transparent);
    content: "";
}

.profile-role-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.35rem 0.65rem;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.68rem;
    font-weight: 760;
    letter-spacing: 0.05em;
    line-height: 1.25;
    text-transform: uppercase;
}

.profile-identity-card__panel h1 {
    max-width: 18ch;
    margin: 0.15rem 0 0;
    color: #ffffff !important;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
    font-weight: 820;
    letter-spacing: -0.02em;
    line-height: 1.15;
    text-shadow: 0 0.2rem 0.8rem rgba(0, 0, 0, 0.28);
}

.profile-identity-card__username {
    margin: 0;
    color: rgba(255, 255, 255, 0.72) !important;
    font-size: 0.82rem;
}

.profile-identity-stats {
    width: min(100%, 17rem);
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 0.35rem 0 0;
    padding: 0.75rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.profile-identity-stats > a {
    display: grid;
    gap: 0.08rem;
    padding-inline: 0.55rem;
    color: #ffffff !important;
    text-decoration: none;
}

.profile-identity-stats > a + a {
    border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.profile-identity-stats strong {
    font-size: 1rem;
    font-weight: 840;
}

.profile-identity-stats span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.68rem;
}

.profile-identity-stats > a:hover span,
.profile-identity-stats > a:focus-visible span {
    color: #ffffff;
}

.profile-identity-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 0.48rem;
    margin-top: 0.25rem;
}

.profile-action-button,
.profile-action-link,
.profile-share-control > summary {
    min-height: 2.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    margin: 0;
    padding: 0.55rem 0.78rem;
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff !important;
    font-size: 0.76rem;
    font-weight: 740;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: transform 150ms ease, background-color 150ms ease, border-color 150ms ease;
}

.profile-action-button svg,
.profile-action-link svg,
.profile-share-control > summary svg {
    width: 1rem;
    height: 1rem;
    flex: 0 0 auto;
}

.profile-action-button.is-primary,
.profile-action-link.is-primary {
    border-color: rgba(126, 190, 225, 0.48);
    background: #2e769f;
}

.profile-action-button.is-following {
    background: rgba(255, 255, 255, 0.16);
}

.profile-action-button:hover,
.profile-action-button:focus-visible,
.profile-action-link:hover,
.profile-action-link:focus-visible,
.profile-share-control > summary:hover,
.profile-share-control > summary:focus-visible {
    border-color: rgba(255, 255, 255, 0.42);
    background: rgba(255, 255, 255, 0.18);
    color: #ffffff !important;
    outline: none;
    transform: translateY(-1px);
}

.profile-action-button:disabled {
    cursor: wait;
    opacity: 0.68;
}

.profile-share-control {
    position: relative;
}

.profile-share-control > summary {
    list-style: none;
}

.profile-share-control > summary::-webkit-details-marker {
    display: none;
}

.profile-share-menu {
    position: absolute;
    z-index: 20;
    right: 0;
    bottom: calc(100% + 0.55rem);
    width: min(16rem, calc(100vw - 2rem));
    display: grid;
    gap: 0.22rem;
    padding: 0.45rem;
    border: 1px solid rgba(32, 36, 40, 0.12);
    border-radius: 0.9rem;
    background: #ffffff;
    box-shadow: 0 1rem 2.6rem rgba(18, 24, 28, 0.22);
    color: var(--profile-ink);
    text-align: left;
}

.profile-share-menu a,
.profile-share-menu button {
    min-height: 2.45rem;
    display: flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.52rem 0.62rem;
    border: 0;
    border-radius: 0.6rem;
    background: transparent;
    color: #3b4248 !important;
    font-size: 0.75rem;
    font-weight: 650;
    text-decoration: none;
    cursor: pointer;
}

.profile-share-menu :is(a, button):hover,
.profile-share-menu :is(a, button):focus-visible {
    background: var(--profile-blue-soft);
    color: var(--profile-blue-deep) !important;
    outline: none;
}

.profile-share-menu svg {
    width: 1rem;
    height: 1rem;
    color: var(--profile-blue);
}

.profile-share-status {
    min-height: 1rem;
    margin: 0.18rem 0 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.68rem;
}

/* Overview and privacy tabs. */
.profile-overview-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: grid;
    grid-template-rows: auto auto minmax(0, 1fr);
    padding: clamp(1rem, 2.5vw, 1.55rem);
    background:
        radial-gradient(circle at 100% 0%, rgba(46, 111, 149, 0.1), transparent 20rem),
        radial-gradient(circle at 4% 100%, rgba(181, 30, 42, 0.04), transparent 16rem),
        #ffffff;
}

.profile-overview-card::before {
    position: absolute;
    top: 0;
    right: 1.4rem;
    left: 1.4rem;
    height: 3px;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, var(--profile-blue) 0 82%, var(--profile-red) 82% 100%);
    content: "";
}

.profile-overview-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
}

.profile-eyebrow {
    display: block;
    margin-bottom: 0.32rem;
    color: var(--profile-blue);
    font-size: 0.68rem;
    font-weight: 820;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.profile-overview-heading h2,
.profile-section-heading h2,
.profile-network-heading h2,
.profile-screening-card h2,
.profile-owner-card h2 {
    margin: 0;
    color: var(--profile-charcoal);
    font-weight: 820;
    letter-spacing: -0.025em;
}

.profile-overview-heading h2 {
    font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.profile-overview-heading p {
    max-width: 63ch;
    margin: 0.55rem 0 0;
    color: #68747c;
    font-size: 0.9rem;
    line-height: 1.65;
}

.profile-overview-heading__actions {
    display: flex;
    flex: 0 0 auto;
    gap: 0.45rem;
}

.profile-overview-utility {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.52rem 0.7rem;
    border: 1px solid rgba(32, 36, 40, 0.12);
    border-radius: 0.72rem;
    background: rgba(255, 255, 255, 0.82);
    color: #3b4248 !important;
    font-size: 0.74rem;
    font-weight: 720;
    text-decoration: none;
}

.profile-overview-utility svg {
    width: 0.95rem;
    height: 0.95rem;
    color: var(--profile-blue);
}

.profile-overview-utility:hover,
.profile-overview-utility:focus-visible {
    border-color: rgba(46, 111, 149, 0.35);
    background: var(--profile-blue-soft);
    color: var(--profile-blue-deep) !important;
    outline: none;
}

.profile-overview-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.7rem;
    margin: 1.2rem 0;
}

.profile-overview-stat {
    min-width: 0;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem;
    padding: 0.85rem;
    border: 1px solid rgba(46, 111, 149, 0.12);
    border-radius: 0.9rem;
    background: rgba(246, 249, 251, 0.88);
}

.profile-overview-stat__icon {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border-radius: 0.75rem;
    background: #ffffff;
    color: var(--profile-blue);
    box-shadow: 0 0.35rem 1rem rgba(32, 36, 40, 0.07);
}

.profile-overview-stat__icon svg {
    width: 1.1rem;
    height: 1.1rem;
}

.profile-overview-stat strong {
    display: block;
    color: var(--profile-charcoal);
    font-size: 1.05rem;
    font-weight: 840;
}

.profile-overview-stat span {
    display: block;
    margin-top: 0.08rem;
    color: var(--profile-muted);
    font-size: 0.7rem;
}

.profile-tabs {
    min-width: 0;
    align-self: end;
    padding: 0.35rem;
    border: 1px solid rgba(32, 36, 40, 0.1);
    border-radius: 0.9rem;
    background: rgba(246, 248, 250, 0.9);
}

.profile-tabs__nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.28rem;
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
}

.profile-tabs__nav .nav-link {
    width: 100%;
    min-height: 2.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.42rem;
    padding: 0.55rem;
    border: 0;
    border-radius: 0.68rem;
    background: transparent;
    color: #59646d !important;
    font-size: 0.75rem;
    font-weight: 730;
}

.profile-tabs__nav .nav-link svg {
    width: 1rem;
    height: 1rem;
}

.profile-tabs__nav .nav-link:hover,
.profile-tabs__nav .nav-link:focus-visible {
    background: rgba(46, 111, 149, 0.08);
    color: var(--profile-blue-deep) !important;
    outline: none;
}

.profile-tabs__nav .nav-link.active {
    background: #ffffff;
    color: var(--profile-blue-deep) !important;
    box-shadow: 0 0.35rem 1rem rgba(32, 36, 40, 0.08);
}

.profile-tabs__content {
    min-height: 12rem;
    padding: clamp(1rem, 2.3vw, 1.35rem) 0.65rem 0.45rem;
}

.profile-summary-grid,
.profile-data-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.7rem;
}

.profile-summary-item,
.profile-data-item {
    min-width: 0;
    padding: 0.85rem;
    border: 1px solid rgba(32, 36, 40, 0.09);
    border-radius: 0.82rem;
    background: rgba(255, 255, 255, 0.9);
}

.profile-summary-item span,
.profile-data-item dt {
    display: block;
    margin: 0 0 0.24rem;
    color: var(--profile-muted);
    font-size: 0.68rem;
    font-weight: 720;
    letter-spacing: 0.035em;
    text-transform: uppercase;
}

.profile-summary-item strong,
.profile-data-item dd {
    margin: 0;
    color: #374149;
    font-size: 0.84rem;
    font-weight: 650;
    line-height: 1.55;
}

.profile-data-item.is-wide {
    grid-column: 1 / -1;
}

.profile-private-value {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: #7d858c;
    font-style: italic;
    font-weight: 520;
}

.profile-private-value svg {
    width: 0.9rem;
    height: 0.9rem;
    flex: 0 0 auto;
}

/* Lower activity and network sections. */
.profile-content-grid {
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.55fr) minmax(17rem, 0.65fr);
    align-items: start;
    gap: clamp(1rem, 2.4vw, 1.5rem);
}

.profile-activity,
.profile-sidebar {
    min-width: 0;
    display: grid;
    gap: 1rem;
}

.profile-sidebar {
    position: sticky;
    top: 5.5rem;
}

.profile-section-card,
.profile-network-card,
.profile-owner-card {
    padding: clamp(1rem, 2.4vw, 1.35rem);
}

.profile-section-card,
.profile-network-card,
.profile-screening-card,
.profile-owner-card {
    content-visibility: auto;
    contain-intrinsic-size: auto 28rem;
}

.profile-section-heading,
.profile-network-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 0.95rem;
}

.profile-section-heading h2,
.profile-network-heading h2,
.profile-screening-card h2,
.profile-owner-card h2 {
    font-size: 1.05rem;
}

.profile-section-heading p,
.profile-network-heading p,
.profile-owner-card p {
    margin: 0.22rem 0 0;
    color: var(--profile-muted);
    font-size: 0.74rem;
    line-height: 1.5;
}

.profile-section-heading > a,
.profile-network-heading > a {
    flex: 0 0 auto;
    color: var(--profile-blue) !important;
    font-size: 0.72rem;
    font-weight: 760;
    text-decoration: none;
}

.profile-section-heading > a:hover,
.profile-section-heading > a:focus-visible,
.profile-network-heading > a:hover,
.profile-network-heading > a:focus-visible {
    color: var(--profile-red) !important;
}

.profile-quote-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.profile-quote-card {
    position: relative;
    min-width: 0;
    min-height: 12rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1rem;
    overflow: hidden;
    padding: 1rem;
    border: 1px solid rgba(46, 111, 149, 0.13);
    border-radius: 1rem;
    background:
        radial-gradient(circle at 100% 0%, rgba(181, 30, 42, 0.055), transparent 8rem),
        linear-gradient(145deg, #ffffff, #f5f9fb);
    text-decoration: none;
    transition: transform 150ms ease, border-color 150ms ease, box-shadow 150ms ease;
}

.profile-quote-card:hover,
.profile-quote-card:focus-visible {
    border-color: rgba(46, 111, 149, 0.34);
    box-shadow: 0 0.8rem 2rem rgba(32, 36, 40, 0.09);
    outline: none;
    transform: translateY(-2px);
}

.profile-quote-card__mark {
    position: absolute;
    top: 0.45rem;
    right: 0.8rem;
    color: rgba(181, 30, 42, 0.16);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 4.5rem;
    line-height: 1;
}

.profile-quote-card blockquote {
    position: relative;
    z-index: 1;
    margin: 0;
    color: #374149;
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1rem;
    line-height: 1.65;
}

.profile-quote-card footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.65rem;
    color: var(--profile-muted);
    font-size: 0.68rem;
}

.profile-quote-card footer span:last-child {
    color: var(--profile-blue);
    font-weight: 740;
}

.profile-post-list {
    display: grid;
    gap: 0.75rem;
}

.profile-post-card {
    position: relative;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(8rem, 10rem) minmax(0, 1fr) auto;
    gap: 0.9rem;
    align-items: center;
    overflow: visible;
    padding: 0.72rem;
    border: 1px solid rgba(32, 36, 40, 0.1);
    border-radius: 1rem;
    background: #ffffff;
    transition: border-color 150ms ease, box-shadow 150ms ease, transform 150ms ease;
}

.profile-post-card:hover,
.profile-post-card:focus-within {
    border-color: rgba(46, 111, 149, 0.28);
    box-shadow: 0 0.75rem 1.8rem rgba(32, 36, 40, 0.08);
    transform: translateY(-1px);
}

.profile-post-card__media {
    width: 100%;
    aspect-ratio: 16 / 10;
    display: grid;
    place-items: center;
    overflow: hidden;
    border-radius: 0.78rem;
    background:
        radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.35), transparent 4rem),
        linear-gradient(145deg, #dcebf3, #a9cadc);
    color: var(--profile-blue-deep);
    font-size: 1.8rem;
    font-weight: 850;
}

.profile-post-card__media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.profile-post-card__body {
    min-width: 0;
}

.profile-post-card__body h3 {
    margin: 0;
    font-size: clamp(0.9rem, 1.5vw, 1.05rem);
    line-height: 1.35;
}

.profile-post-card__body h3 a {
    color: var(--profile-charcoal) !important;
    text-decoration: none;
}

.profile-post-card__body h3 a:hover,
.profile-post-card__body h3 a:focus-visible {
    color: var(--profile-blue-deep) !important;
}

.profile-post-card__body p {
    display: -webkit-box;
    overflow: hidden;
    margin: 0.35rem 0 0;
    color: #68747c;
    font-size: 0.75rem;
    line-height: 1.5;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.profile-post-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.7rem;
    margin-top: 0.55rem;
    color: var(--profile-muted);
    font-size: 0.66rem;
}

.profile-post-share {
    position: relative;
    align-self: start;
}

.profile-post-share > summary {
    width: 2.5rem;
    height: 2.5rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(32, 36, 40, 0.1);
    border-radius: 0.72rem;
    background: var(--profile-surface);
    color: #59646d;
    list-style: none;
    cursor: pointer;
}

.profile-post-share > summary::-webkit-details-marker {
    display: none;
}

.profile-post-share > summary svg {
    width: 1rem;
    height: 1rem;
}

.profile-post-share > summary:hover,
.profile-post-share > summary:focus-visible {
    border-color: rgba(46, 111, 149, 0.3);
    background: var(--profile-blue-soft);
    color: var(--profile-blue-deep);
    outline: none;
}

.profile-post-share__menu {
    position: absolute;
    z-index: 15;
    top: calc(100% + 0.4rem);
    right: 0;
    width: 12rem;
    display: grid;
    gap: 0.18rem;
    padding: 0.4rem;
    border: 1px solid rgba(32, 36, 40, 0.12);
    border-radius: 0.82rem;
    background: #ffffff;
    box-shadow: 0 0.9rem 2rem rgba(32, 36, 40, 0.14);
}

.profile-post-share__menu a {
    min-height: 2.3rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.48rem 0.58rem;
    border-radius: 0.58rem;
    color: #4e565d !important;
    font-size: 0.7rem;
    font-weight: 650;
    text-decoration: none;
}

.profile-post-share__menu a:hover,
.profile-post-share__menu a:focus-visible {
    background: var(--profile-blue-soft);
    color: var(--profile-blue-deep) !important;
    outline: none;
}

.profile-empty-state {
    display: grid;
    place-items: center;
    gap: 0.35rem;
    min-height: 10rem;
    padding: 1.2rem;
    border: 1px dashed rgba(46, 111, 149, 0.23);
    border-radius: 0.95rem;
    background: rgba(246, 249, 251, 0.75);
    color: var(--profile-muted);
    text-align: center;
}

.profile-empty-state svg {
    width: 1.6rem;
    height: 1.6rem;
    color: var(--profile-blue);
}

.profile-empty-state p {
    margin: 0;
    font-size: 0.76rem;
}

.profile-network-groups {
    display: grid;
    gap: 1rem;
}

.profile-network-group + .profile-network-group {
    padding-top: 1rem;
    border-top: 1px solid rgba(32, 36, 40, 0.09);
}

.profile-network-group__heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.7rem;
    margin-bottom: 0.65rem;
}

.profile-network-group__heading h3 {
    margin: 0;
    color: #3b4248;
    font-size: 0.8rem;
    font-weight: 780;
}

.profile-network-group__heading a {
    color: var(--profile-blue) !important;
    font-size: 0.67rem;
    font-weight: 740;
    text-decoration: none;
}

.profile-network-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.48rem;
}

.profile-network-person {
    min-width: 0;
    display: grid;
    justify-items: center;
    gap: 0.32rem;
    padding: 0.55rem 0.3rem;
    border-radius: 0.72rem;
    color: #4e565d !important;
    text-decoration: none;
}

.profile-network-person:hover,
.profile-network-person:focus-visible {
    background: var(--profile-blue-soft);
    color: var(--profile-blue-deep) !important;
    outline: none;
}

.profile-network-person__avatar {
    width: 2.65rem;
    height: 2.65rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 2px solid #ffffff;
    border-radius: 50%;
    background: linear-gradient(145deg, #dcebf3, #2e6f95);
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 800;
    box-shadow: 0 0.25rem 0.7rem rgba(32, 36, 40, 0.12);
}

.profile-network-person__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-network-person span:last-child {
    width: 100%;
    overflow: hidden;
    font-size: 0.65rem;
    font-weight: 650;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.profile-network-empty {
    margin: 0;
    color: var(--profile-muted);
    font-size: 0.72rem;
    line-height: 1.5;
}

.profile-screening-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 1.25rem;
    border-color: rgba(46, 111, 149, 0.25);
    background:
        radial-gradient(circle at 100% 0%, rgba(181, 30, 42, 0.14), transparent 10rem),
        linear-gradient(145deg, #202428, #1d4963);
    color: #ffffff;
}

.profile-screening-card::after {
    position: absolute;
    right: -3rem;
    bottom: -3rem;
    width: 8rem;
    height: 8rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    content: "";
}

.profile-screening-card .profile-eyebrow {
    color: #9fd1ec;
}

.profile-screening-card h2 {
    color: #ffffff !important;
}

.profile-screening-card p {
    margin: 0.65rem 0 0.9rem;
    color: rgba(255, 255, 255, 0.74) !important;
    font-size: 0.76rem;
    line-height: 1.6;
}

.profile-screening-card a {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #ffffff !important;
    font-size: 0.76rem;
    font-weight: 760;
    text-decoration: none;
}

.profile-screening-card a:hover,
.profile-screening-card a:focus-visible {
    text-decoration: underline;
}

.profile-owner-card {
    background: linear-gradient(145deg, #ffffff, #f6f9fb);
}

.profile-owner-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 0.8rem;
}

.profile-owner-actions a {
    min-height: 2.55rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    padding: 0.5rem;
    border: 1px solid rgba(46, 111, 149, 0.18);
    border-radius: 0.72rem;
    background: #ffffff;
    color: var(--profile-blue-deep) !important;
    font-size: 0.7rem;
    font-weight: 730;
    text-decoration: none;
}

.profile-owner-actions a:hover,
.profile-owner-actions a:focus-visible {
    border-color: rgba(46, 111, 149, 0.42);
    background: var(--profile-blue-soft);
    outline: none;
}

.profile-owner-actions svg {
    width: 0.95rem;
    height: 0.95rem;
}

@media (max-width: 1199.98px) {
    .public-profile-hero {
        grid-template-columns: minmax(17rem, 21rem) minmax(0, 1fr);
    }

    .profile-overview-stats {
        grid-template-columns: 1fr;
    }

    .profile-summary-grid,
    .profile-data-grid {
        grid-template-columns: 1fr;
    }

    .profile-data-item.is-wide {
        grid-column: auto;
    }
}

@media (max-width: 991.98px) {
    .public-profile-hero,
    .profile-content-grid {
        grid-template-columns: 1fr;
    }

    .profile-identity-card {
        width: min(100%, 27rem);
        justify-self: center;
    }

    .profile-sidebar {
        position: static;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .profile-network-card {
        grid-row: span 2;
    }
}

@media (max-width: 767.98px) {
    .profile-overview-heading {
        flex-direction: column;
    }

    .profile-overview-heading__actions {
        width: 100%;
    }

    .profile-overview-utility {
        flex: 1;
    }

    .profile-quote-grid {
        grid-template-columns: 1fr;
    }

    .profile-post-card {
        grid-template-columns: 7rem minmax(0, 1fr) auto;
    }

    .profile-sidebar {
        grid-template-columns: 1fr;
    }

    .profile-network-card {
        grid-row: auto;
    }
}

@media (max-width: 575.98px) {
    .public-profile-page {
        gap: 0.9rem;
    }

    .profile-identity-card,
    .profile-overview-card,
    .profile-section-card,
    .profile-network-card,
    .profile-screening-card,
    .profile-owner-card {
        border-radius: 1rem;
    }

    .profile-identity-card__canvas {
        min-height: 29rem;
    }

    .profile-identity-card__panel {
        padding-inline: 0.8rem;
    }

    .profile-action-button span,
    .profile-action-link span {
        display: none;
    }

    .profile-overview-card,
    .profile-section-card,
    .profile-network-card,
    .profile-owner-card {
        padding: 0.9rem;
    }

    .profile-tabs__nav .nav-link {
        font-size: 0.68rem;
    }

    .profile-tabs__nav .nav-link svg {
        display: none;
    }

    .profile-post-card {
        grid-template-columns: 1fr auto;
    }

    .profile-post-card__media {
        grid-column: 1 / -1;
        aspect-ratio: 16 / 8;
    }

    .profile-post-card__body {
        grid-column: 1;
    }

    .profile-post-share {
        grid-column: 2;
        grid-row: 2;
    }

    .profile-network-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .profile-owner-actions {
        grid-template-columns: 1fr;
    }
}

@media (forced-colors: active) {
    .profile-identity-card,
    .profile-overview-card,
    .profile-section-card,
    .profile-network-card,
    .profile-screening-card,
    .profile-owner-card,
    .profile-quote-card,
    .profile-post-card {
        border: 1px solid CanvasText;
        forced-color-adjust: auto;
    }
}

@media (prefers-reduced-motion: reduce) {
    .public-profile-page *,
    .public-profile-page *::before,
    .public-profile-page *::after {
        scroll-behavior: auto !important;
        transition: none !important;
    }
}

@media print {
    .profile-identity-actions,
    .profile-overview-heading__actions,
    .profile-tabs__nav,
    .profile-post-share,
    .profile-screening-card,
    .profile-owner-card {
        display: none !important;
    }

    .public-profile-page,
    .public-profile-hero,
    .profile-content-grid {
        display: block;
    }

    .profile-identity-card,
    .profile-overview-card,
    .profile-section-card,
    .profile-network-card {
        margin-bottom: 1rem;
        box-shadow: none;
    }
}
