
/* ==========================================================================
   FAMECLOCK PROFILE — SOFT PREMIUM LIGHT UI
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg: #f4f7fb;
    --bg-secondary: #eef3f9;
    --surface: rgba(255,255,255,0.84);
    --surface-strong: rgba(255,255,255,0.94);
    --surface-muted: #f8fbff;
    --line: #dde6f0;
    --line-strong: #c8d5e4;
    --text-main: #132238;
    --text-soft: #5f7187;
    --text-faint: #8b9bb0;
    --accent: #4f7cff;
    --accent-dark: #3965e8;
    --accent-soft: rgba(79,124,255,.12);
    --gold: #e5a93d;
    --gold-dark: #c48b23;
    --gold-soft: rgba(229,169,61,.15);
    --violet: #8b5cf6;
    --violet-soft: rgba(139,92,246,.12);
    --success: #22b573;
    --success-soft: rgba(34,181,115,.12);
    --danger: #ef5a68;
    --danger-soft: rgba(239,90,104,.12);
    --shadow-xs: 0 2px 6px rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 12px 30px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 20px 48px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 28px 68px rgba(15, 23, 42, 0.12);
    --radius-sm: 14px;
    --radius-md: 18px;
    --radius-lg: 24px;
    --radius-xl: 30px;
}

body.profile-modern {
    margin: 0;
    padding-top: 112px;
    padding-bottom: 84px;
    min-height: 100vh;
    overflow-x: hidden;
    font-family: 'Inter', 'Roboto', sans-serif;
    color: var(--text-main);
    background:
        radial-gradient(circle at top left, rgba(79,124,255,.12), transparent 28%),
        radial-gradient(circle at top right, rgba(139,92,246,.09), transparent 24%),
        linear-gradient(180deg, #f8fbff 0%, #f3f7fb 44%, #eef3f9 100%);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

body.profile-modern::before,
body.profile-modern::after {
    content: "";
    position: fixed;
    width: 420px;
    height: 420px;
    border-radius: 999px;
    filter: blur(90px);
    opacity: .42;
    z-index: 0;
    pointer-events: none;
}

body.profile-modern::before {
    top: -120px;
    left: -140px;
    background: rgba(79,124,255,.16);
}

body.profile-modern::after {
    right: -120px;
    bottom: -140px;
    background: rgba(139,92,246,.13);
}

body.profile-modern a { color: inherit; }

body.profile-modern .container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

body.profile-modern .empty-state {
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 100%);
    border: 1px solid rgba(255,255,255,.74);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

body.profile-modern .profile-empty-state {
    max-width: 760px;
    margin: 72px auto 0;
    padding: 56px 34px;
    text-align: center;
}

body.profile-modern .empty-icon {
    width: 92px;
    height: 92px;
    margin: 0 auto 22px;
    border-radius: 28px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(79,124,255,.16) 0%, rgba(139,92,246,.12) 100%);
    color: var(--accent);
    font-size: 2rem;
    box-shadow: inset 0 0 0 1px rgba(79,124,255,.1);
}

body.profile-modern .empty-title {
    margin: 0 0 14px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.05;
    letter-spacing: .04em;
}

body.profile-modern .empty-copy {
    max-width: 560px;
    margin: 0 auto;
    color: var(--text-soft);
    font-size: 1rem;
    line-height: 1.7;
}

body.profile-modern .empty-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 24px;
    min-height: 50px;
    padding: 0 22px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: .02em;
    box-shadow: 0 14px 30px rgba(79,124,255,.2);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.profile-modern .empty-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 36px rgba(79,124,255,.26);
    filter: brightness(1.02);
}

body.profile-modern .profile-card {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 30px;
    align-items: center;
    margin-bottom: 34px;
    padding: 34px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.77) 100%);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(22px) saturate(145%);
    -webkit-backdrop-filter: blur(22px) saturate(145%);
    overflow: hidden;
}

body.profile-modern .profile-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 240px;
    height: 240px;
    background: radial-gradient(circle, rgba(79,124,255,.12) 0%, rgba(79,124,255,0) 72%);
    pointer-events: none;
}

body.profile-modern .profile-card::after {
    content: "";
    position: absolute;
    right: -36px;
    top: -36px;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139,92,246,.14) 0%, rgba(139,92,246,0) 70%);
    pointer-events: none;
}

body.profile-modern .avatar {
    position: relative;
    z-index: 1;
    width: 124px;
    height: 124px;
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #4f7cff 0%, #6ea3ff 100%);
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 4rem;
    font-weight: 900;
    letter-spacing: .04em;
    box-shadow: 0 18px 34px rgba(79,124,255,.24);
}

body.profile-modern .user-details {
    min-width: 0;
    position: relative;
    z-index: 1;
}

body.profile-modern .user-name {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 4vw, 3.4rem);
    line-height: 1.04;
    font-weight: 900;
    letter-spacing: .04em;
    word-break: break-word;
}

body.profile-modern .user-name svg {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    filter: drop-shadow(0 6px 18px rgba(79,124,255,.18));
}

body.profile-modern .rank-badge {
    display: inline-flex;
    align-items: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 0 16px;
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    box-shadow: var(--shadow-xs);
    font-family: 'Orbitron', sans-serif;
    font-size: .76rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .2em;
}

body.profile-modern .share-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    z-index: 3;
    min-height: 46px;
    padding: 0 16px;
    border: 1px solid rgba(79,124,255,.18);
    border-radius: 999px;
    background: rgba(255,255,255,.88);
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: .92rem;
    font-weight: 700;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
    box-shadow: var(--shadow-xs);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

body.profile-modern .share-btn:hover {
    transform: translateY(-2px);
    border-color: rgba(79,124,255,.34);
    box-shadow: 0 14px 28px rgba(79,124,255,.16);
}

body.profile-modern .share-btn.is-copied {
    color: var(--success);
    border-color: rgba(34,181,115,.3);
    background: rgba(255,255,255,.96);
}

body.profile-modern .social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 18px;
}

body.profile-modern .social-btn {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.88);
    border: 1px solid var(--line);
    color: var(--text-soft);
    text-decoration: none;
    box-shadow: var(--shadow-xs);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease;
}

body.profile-modern .social-btn:hover {
    transform: translateY(-3px);
    color: var(--accent);
    border-color: rgba(79,124,255,.22);
    box-shadow: 0 14px 28px rgba(79,124,255,.12);
}

body.profile-modern .profile-share-strip {
    margin-top: 18px;
    display: grid;
    gap: 12px;
}

body.profile-modern .profile-share-strip__label {
    color: var(--text-soft);
    font-size: .74rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.profile-modern .profile-share-strip__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

body.profile-modern .profile-share-pill {
    min-height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.9);
    color: var(--text-main);
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: 'Inter', sans-serif;
    font-size: .88rem;
    font-weight: 800;
    cursor: pointer;
    box-shadow: var(--shadow-xs);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease, color .22s ease, background .22s ease;
}

body.profile-modern .profile-share-pill:hover {
    transform: translateY(-2px);
    border-color: rgba(79,124,255,.24);
    box-shadow: 0 14px 28px rgba(79,124,255,.12);
    color: var(--accent);
}

body.profile-modern .profile-share-pill.is-primary {
    background: linear-gradient(135deg, rgba(79,124,255,.16), rgba(139,92,246,.14));
    border-color: rgba(79,124,255,.22);
    color: var(--accent);
}

body.profile-modern .medal-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

body.profile-modern .medal-item {
    position: relative;
    width: 48px;
    height: 48px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: linear-gradient(180deg, #fff7df 0%, #fff2cd 100%);
    border: 1px solid rgba(229,169,61,.28);
    font-size: 1.35rem;
    cursor: help;
    box-shadow: 0 12px 24px rgba(229,169,61,.12);
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

body.profile-modern .medal-item:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 18px 32px rgba(229,169,61,.2);
    filter: brightness(1.02);
}

body.profile-modern .medal-item:hover::after {
    content: attr(data-title);
    position: absolute;
    left: 50%;
    bottom: calc(100% + 12px);
    transform: translateX(-50%);
    max-width: min(320px, 80vw);
    padding: 10px 12px;
    border-radius: 12px;
    background: rgba(19,34,56,.96);
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: .78rem;
    line-height: 1.45;
    white-space: normal;
    text-align: center;
    box-shadow: var(--shadow-sm);
}

body.profile-modern .stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin-top: 26px;
}

body.profile-modern .hud-box {
    position: relative;
    padding: 22px 18px 20px;
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(248,251,255,.88) 100%);
    border: 1px solid rgba(221,230,240,.92);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

body.profile-modern .hud-box::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    border-radius: 999px;
    background: var(--accent);
}

body.profile-modern .hud-box.green::before { background: var(--success); }
body.profile-modern .hud-box.gold::before { background: var(--gold); }

body.profile-modern .stat-item .val {
    margin-bottom: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.75rem, 2vw, 2.35rem);
    font-weight: 900;
    line-height: 1;
    color: var(--text-main);
}

body.profile-modern .stat-item .lbl {
    font-size: .78rem;
    color: var(--text-soft);
    text-transform: uppercase;
    letter-spacing: .16em;
    font-weight: 800;
}

body.profile-modern .gallery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 22px;
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.2rem, 2.6vw, 1.8rem);
    line-height: 1.2;
    font-weight: 900;
    letter-spacing: .08em;
}

body.profile-modern .gallery-meta {
    display: inline-flex;
    align-items: center;
    margin-left: 12px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.74);
    border: 1px solid var(--line);
    color: var(--text-soft);
    font-family: 'Inter', sans-serif;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .04em;
}

body.profile-modern .history-title {
    margin-bottom: 22px;
    color: var(--accent);
}

body.profile-modern .grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 24px;
    align-items: start;
}

body.profile-modern .grid-empty-state {
    grid-column: 1 / -1;
    padding: 52px 30px;
    text-align: center;
    border-radius: 26px;
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.78) 100%);
    border: 1px dashed var(--line-strong);
    color: var(--text-soft);
    box-shadow: var(--shadow-sm);
}

body.profile-modern .grid-empty-state i {
    display: block;
    margin-bottom: 16px;
    font-size: 2.6rem;
    color: var(--accent);
}

body.profile-modern .grid-empty-state span {
    font-family: 'Orbitron', sans-serif;
    font-size: .96rem;
    letter-spacing: .12em;
}

body.profile-modern .slot-card {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(221,230,240,.92);
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.8) 100%);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px) saturate(145%);
    -webkit-backdrop-filter: blur(18px) saturate(145%);
    transition: border-color .24s ease, box-shadow .24s ease, filter .24s ease;
    will-change: transform;
}

body.profile-modern .slot-card:hover {
    border-color: rgba(79,124,255,.28);
    box-shadow: 0 24px 52px rgba(15,23,42,.12);
    filter: brightness(1.01);
    z-index: 2;
}

body.profile-modern .skin-classic { border-color: rgba(79,124,255,.18); }
body.profile-modern .skin-gold { border-color: rgba(229,169,61,.34) !important; box-shadow: 0 18px 38px rgba(229,169,61,.15) !important; }
body.profile-modern .skin-neon { border-color: rgba(139,92,246,.34) !important; box-shadow: 0 18px 38px rgba(139,92,246,.15) !important; }
body.profile-modern .skin-fire { border-color: rgba(239,90,104,.32) !important; box-shadow: 0 18px 38px rgba(239,90,104,.15) !important; }
body.profile-modern .skin-matrix { border-color: rgba(34,181,115,.32) !important; box-shadow: 0 18px 38px rgba(34,181,115,.15) !important; }

body.profile-modern .time-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 3;
    min-height: 36px;
    padding: 0 12px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(255,255,255,.82);
    box-shadow: var(--shadow-xs);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: .86rem;
    font-weight: 900;
    letter-spacing: .08em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.profile-modern .slot-visual {
    position: relative;
    width: 100%;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 20%, rgba(79,124,255,.12) 0%, transparent 34%),
        radial-gradient(circle at 80% 18%, rgba(139,92,246,.1) 0%, transparent 32%),
        linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
}

body.profile-modern .slot-visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s ease;
}

body.profile-modern .slot-card:hover .slot-visual img { transform: scale(1.04); }

body.profile-modern .slot-state {
    width: 100%;
    height: 100%;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-align: center;
    color: var(--text-main);
}

body.profile-modern .slot-state i { font-size: 2.4rem; }

body.profile-modern .slot-state span,
body.profile-modern .slot-state-title {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.profile-modern .slot-state-copy {
    color: var(--text-soft);
    font-size: .78rem;
    text-transform: uppercase;
    letter-spacing: .16em;
}

body.profile-modern .slot-state-review {
    background: linear-gradient(180deg, rgba(255,255,255,.4) 0%, rgba(255,255,255,.18) 100%);
}

body.profile-modern .slot-state-review i { color: var(--gold); }

body.profile-modern .slot-state-secured {
    background:
        radial-gradient(circle, rgba(79,124,255,.12) 0%, rgba(79,124,255,0) 68%),
        linear-gradient(180deg, rgba(255,255,255,.48) 0%, rgba(255,255,255,.12) 100%);
}

body.profile-modern .slot-state-secured i {
    color: var(--accent);
    filter: drop-shadow(0 12px 24px rgba(79,124,255,.2));
}

body.profile-modern .slot-state-secured .slot-state-title { font-size: 1rem; }

body.profile-modern .slot-state-text {
    color: var(--accent-dark);
    font-family: 'Inter', sans-serif;
    font-size: .98rem;
    line-height: 1.6;
    font-weight: 600;
}

body.profile-modern .slot-info {
    padding: 22px 18px 20px;
    text-align: center;
    background: linear-gradient(180deg, rgba(255,255,255,.96) 0%, rgba(250,252,255,.92) 100%);
    border-top: 1px solid rgba(221,230,240,.86);
}

body.profile-modern .price-tag {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.44rem;
    line-height: 1.1;
    font-weight: 900;
}

body.profile-modern .price-base { color: var(--text-main); }
body.profile-modern .price-sale { color: var(--gold-dark); }

body.profile-modern .status-tag {
    margin-top: 8px;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .18em;
}

body.profile-modern .status-sale { color: var(--success); }
body.profile-modern .status-hold { color: var(--text-soft); }

body.profile-modern .pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-top: 34px;
}

body.profile-modern .page-btn,
body.profile-modern .page-dots {
    min-width: 46px;
    min-height: 46px;
    padding: 0 16px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: .95rem;
    font-weight: 700;
}

body.profile-modern .page-btn {
    border: 1px solid var(--line);
    background: rgba(255,255,255,.88);
    color: var(--text-soft);
    box-shadow: var(--shadow-xs);
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
}

body.profile-modern .page-btn:hover,
body.profile-modern .page-btn.active {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 16px 34px rgba(79,124,255,.22);
    transform: translateY(-2px);
}

body.profile-modern .page-btn.disabled {
    opacity: .46;
    pointer-events: none;
    background: rgba(255,255,255,.7);
}

body.profile-modern .page-dots { color: var(--text-faint); }

body.profile-modern .history-section {
    margin-top: 56px;
    padding: 28px;
    border-radius: var(--radius-xl);
    background: linear-gradient(180deg, rgba(255,255,255,.9) 0%, rgba(255,255,255,.8) 100%);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
}

body.profile-modern .history-row {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr) auto;
    gap: 18px;
    align-items: center;
    padding: 18px 18px;
    margin-bottom: 12px;
    border-radius: 20px;
    background: linear-gradient(180deg, rgba(255,255,255,.94) 0%, rgba(248,251,255,.88) 100%);
    border: 1px solid rgba(221,230,240,.92);
    box-shadow: var(--shadow-xs);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

body.profile-modern .history-row:last-child { margin-bottom: 0; }

body.profile-modern .history-row:hover {
    transform: translateY(-2px);
    border-color: rgba(79,124,255,.2);
    box-shadow: var(--shadow-sm);
}

body.profile-modern .h-date {
    color: var(--text-soft);
    font-family: 'Orbitron', sans-serif;
    font-size: .76rem;
    line-height: 1.45;
    font-weight: 700;
    letter-spacing: .08em;
}

body.profile-modern .h-info {
    min-width: 0;
    color: var(--text-main);
    font-size: .98rem;
    line-height: 1.65;
    font-weight: 600;
}

body.profile-modern .h-info strong {
    font-family: 'Orbitron', sans-serif;
    font-size: .96rem;
}

body.profile-modern .badge-buy,
body.profile-modern .badge-sell {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    margin-right: 10px;
    padding: 0 10px;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

body.profile-modern .badge-buy {
    background: var(--success-soft);
    color: #0d8a57;
    border: 1px solid rgba(34,181,115,.2);
}

body.profile-modern .badge-sell {
    background: var(--danger-soft);
    color: #d64453;
    border: 1px solid rgba(239,90,104,.2);
}

body.profile-modern .h-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
    font-weight: 900;
    text-align: right;
    white-space: nowrap;
}

body.profile-modern .h-price-positive { color: var(--success); }
body.profile-modern .h-price-negative { color: var(--danger); }

body.profile-modern .history-empty-state {
    padding: 30px 14px 10px;
    text-align: center;
    color: var(--text-soft);
    font-family: 'Orbitron', sans-serif;
    letter-spacing: .1em;
}

body.profile-modern .asset-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 999999;
    padding: 20px;
    background: rgba(15, 23, 42, .18);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .26s ease;
}

body.profile-modern .asset-modal-overlay.show {
    display: flex;
    opacity: 1;
}

body.profile-modern .asset-modal-content {
    width: min(100%, 560px);
    overflow: hidden;
    border-radius: 28px;
    background: rgba(255,255,255,.96);
    border: 1px solid rgba(255,255,255,.8);
    box-shadow: var(--shadow-lg);
    transform: translateY(10px) scale(.98);
    transition: transform .28s ease;
}

body.profile-modern .asset-modal-overlay.show .asset-modal-content { transform: translateY(0) scale(1); }

body.profile-modern .am-header {
    padding: 24px 26px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(249,251,255,.98) 0%, rgba(244,248,253,.96) 100%);
}

body.profile-modern .am-time {
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    line-height: 1;
    font-weight: 900;
    letter-spacing: .08em;
}

body.profile-modern .am-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--text-soft);
    font-size: 1.35rem;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease;
}

body.profile-modern .am-close:hover {
    background: rgba(239,90,104,.08);
    color: var(--danger);
    transform: rotate(90deg);
}

body.profile-modern .am-body {
    min-height: 360px;
    max-height: 60vh;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
    justify-content: center;
    background:
        radial-gradient(circle at top left, rgba(79,124,255,.12) 0%, transparent 34%),
        radial-gradient(circle at top right, rgba(139,92,246,.1) 0%, transparent 30%),
        linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
}

body.profile-modern .am-body img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

body.profile-modern .am-body-text {
    width: 100%;
    min-height: 360px;
    padding: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.8;
    text-align: center;
    word-break: break-word;
    white-space: pre-wrap;
}

body.profile-modern .am-state-review,
body.profile-modern .am-state-secured {
    flex-direction: column;
    gap: 12px;
}

body.profile-modern .am-state-review i {
    color: var(--gold);
    font-size: 2.2rem;
}

body.profile-modern .am-state-review span {
    font-family: 'Orbitron', sans-serif;
    font-size: .92rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

body.profile-modern .am-state-secured i {
    color: var(--accent);
    font-size: 3rem;
    filter: drop-shadow(0 14px 28px rgba(79,124,255,.18));
}

body.profile-modern .am-state-secured .slot-state-title { font-size: 1.22rem; }

body.profile-modern .am-footer {
    padding: 24px 26px 26px;
    border-top: 1px solid var(--line);
    background: rgba(255,255,255,.98);
    text-align: center;
}

body.profile-modern .am-price {
    display: block;
    margin-bottom: 16px;
    color: var(--gold-dark);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.9rem;
    line-height: 1;
    font-weight: 900;
}

body.profile-modern .btn-modal-buy {
    width: 100%;
    min-height: 56px;
    border-radius: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: .04em;
    transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

body.profile-modern .btn-modal-buy:hover {
    transform: translateY(-2px);
    filter: brightness(1.02);
}

body.profile-modern .btn-modal-buy.is-sale {
    background: linear-gradient(135deg, var(--success) 0%, #13955f 100%);
    color: #fff;
    box-shadow: 0 18px 34px rgba(34,181,115,.22);
}

body.profile-modern .btn-modal-buy.is-offer {
    background: rgba(255,255,255,.72);
    color: var(--gold-dark);
    border: 1px solid rgba(229,169,61,.32);
    box-shadow: 0 16px 28px rgba(229,169,61,.14);
}

body.profile-modern .am-skin-gold { border-color: rgba(229,169,61,.34); }
body.profile-modern .am-skin-neon { border-color: rgba(139,92,246,.34); }
body.profile-modern .am-skin-fire { border-color: rgba(239,90,104,.32); }

@media (max-width: 1024px) {
    body.profile-modern .profile-card {
        grid-template-columns: 1fr;
        gap: 22px;
        padding-top: 82px;
    }

    body.profile-modern .share-btn {
        top: 22px;
        left: 22px;
        right: auto;
    }

    body.profile-modern .stats-row { grid-template-columns: 1fr; }
    body.profile-modern .history-row { grid-template-columns: 1fr; }
    body.profile-modern .h-price { text-align: left; }
}

@media (max-width: 720px) {
    body.profile-modern {
        padding-top: 102px;
        padding-bottom: 72px;
    }

    body.profile-modern .container { padding: 0 16px; }

    body.profile-modern .profile-card,
    body.profile-modern .history-section,
    body.profile-modern .profile-empty-state {
        padding-left: 20px;
        padding-right: 20px;
    }

    body.profile-modern .profile-card {
        padding-bottom: 24px;
        border-radius: 24px;
    }

    body.profile-modern .avatar {
        width: 96px;
        height: 96px;
        border-radius: 24px;
        font-size: 3rem;
    }

    body.profile-modern .user-name { font-size: 1.8rem; }

    body.profile-modern .gallery-header {
        flex-direction: column;
        align-items: flex-start;
    }

    body.profile-modern .gallery-meta {
        margin: 10px 0 0;
    }

    body.profile-modern .grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    body.profile-modern .slot-visual { height: 228px; }
    body.profile-modern .slot-info { padding: 18px 16px; }
    body.profile-modern .price-tag { font-size: 1.25rem; }
    body.profile-modern .status-tag { font-size: .68rem; letter-spacing: .14em; }
    body.profile-modern .pagination { gap: 8px; }

    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        min-width: 42px;
        min-height: 42px;
        padding: 0 14px;
    }

    body.profile-modern .am-header,
    body.profile-modern .am-footer {
        padding-left: 18px;
        padding-right: 18px;
    }

    body.profile-modern .am-body,
    body.profile-modern .am-body-text {
        min-height: 300px;
    }
}
body.profile-modern .profile-collections-section {
    margin: 0 0 38px;
}

body.profile-modern .profile-collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    align-items: stretch;
}

body.profile-modern .profile-collection-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(221,230,240,.92);
    background: linear-gradient(180deg, rgba(255,255,255,.93) 0%, rgba(248,251,255,.87) 100%);
    box-shadow: var(--shadow-sm);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
    color: inherit;
}

body.profile-modern .profile-collection-card:hover {
    transform: translateY(-4px);
    border-color: rgba(79,124,255,.24);
    box-shadow: 0 20px 40px rgba(34,42,61,.12);
}

body.profile-modern .profile-collection-cover-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

body.profile-modern .profile-collection-cover {
    position: relative;
    height: 180px;
    background: linear-gradient(135deg, rgba(79,124,255,.18), rgba(139,92,246,.16), rgba(16,185,129,.12));
    overflow: hidden;
}

body.profile-modern .profile-collection-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.profile-modern .profile-collection-cover.is-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

body.profile-modern .profile-collection-fallback {
    width: 78px;
    height: 78px;
    border-radius: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.82);
    border: 1px solid rgba(255,255,255,.92);
    box-shadow: var(--shadow-xs);
    color: var(--accent);
    font-size: 1.8rem;
}

body.profile-modern .profile-collection-body {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 20px;
    min-height: 190px;
}

body.profile-modern .profile-collection-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

body.profile-modern .profile-collection-top h3 {
    margin: 0;
    color: var(--text-main);
    font-size: 1.05rem;
    line-height: 1.25;
    font-weight: 800;
}

body.profile-modern .profile-collection-title-link {
    color: inherit;
    text-decoration: none;
}

body.profile-modern .profile-collection-title-link:hover {
    color: var(--accent);
}

body.profile-modern .profile-collection-count {
    white-space: nowrap;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(79,124,255,.08);
    border: 1px solid rgba(79,124,255,.14);
    color: var(--accent);
    font-size: .78rem;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

body.profile-modern .profile-collection-desc {
    margin: 0;
    color: var(--text-soft);
    font-size: .93rem;
    line-height: 1.6;
}

body.profile-modern .profile-collection-footer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin-top: auto;
}

body.profile-modern .profile-collection-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

body.profile-modern .profile-collection-chip {
    display: inline-flex;
    align-items: center;
    padding: 7px 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(221,230,240,.92);
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-decoration: none;
    transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

body.profile-modern .profile-collection-chip:hover {
    border-color: rgba(79,124,255,.34);
    color: var(--accent);
    transform: translateY(-1px);
}

body.profile-modern .profile-collection-updated {
    white-space: nowrap;
    color: var(--text-soft);
    font-size: .78rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    body.profile-modern .profile-share-strip__actions {
        gap: 8px;
    }

    body.profile-modern .profile-share-pill {
        width: calc(50% - 4px);
        justify-content: center;
    }


    body.profile-modern .profile-collection-cover {
        height: 160px;
    }

    body.profile-modern .profile-collection-body {
        min-height: auto;
    }

    body.profile-modern .profile-collection-footer {
        flex-direction: column;
        align-items: flex-start;
    }
}
body.profile-modern .rep-strip {
    display: grid;
    grid-template-columns: 1.15fr .85fr;
    gap: 16px;
    margin-top: 24px;
}

body.profile-modern .rep-card,
body.profile-modern .rep-mini-card,
body.profile-modern .profile-collection-card {
    background: linear-gradient(180deg, rgba(255,255,255,.92) 0%, rgba(255,255,255,.84) 100%);
    border: 1px solid rgba(255,255,255,.76);
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(18px) saturate(140%);
    -webkit-backdrop-filter: blur(18px) saturate(140%);
}

body.profile-modern .rep-card {
    border-radius: 22px;
    padding: 20px 22px;
}

body.profile-modern .rep-label,
body.profile-modern .rep-mini-label,
body.profile-modern .profile-collection-footer {
    color: var(--text-soft);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.profile-modern .rep-score-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 14px;
    margin: 12px 0 14px;
}

body.profile-modern .rep-score {
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    line-height: 1;
    font-weight: 900;
}

body.profile-modern .rep-tier {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent-dark);
    border: 1px solid rgba(79,124,255,.18);
    font-size: .78rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

body.profile-modern .rep-progress {
    height: 12px;
    border-radius: 999px;
    background: rgba(79,124,255,.08);
    border: 1px solid rgba(79,124,255,.10);
    overflow: hidden;
}

body.profile-modern .rep-progress span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--accent) 0%, var(--violet) 100%);
}

body.profile-modern .rep-mini-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

body.profile-modern .rep-mini-card {
    border-radius: 18px;
    padding: 16px 18px;
}

body.profile-modern .rep-mini-value {
    margin-top: 10px;
    color: var(--text-main);
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 900;
    line-height: 1.1;
}

body.profile-modern .profile-collections-section {
    margin: 34px 0 30px;
}

body.profile-modern .profile-collections-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

body.profile-modern .profile-collection-card {
    border-radius: 22px;
    overflow: hidden;
    text-decoration: none;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

body.profile-modern .profile-collection-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

body.profile-modern .profile-collection-cover {
    height: 168px;
    background: var(--surface-muted);
    overflow: hidden;
}

body.profile-modern .profile-collection-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

body.profile-modern .profile-collection-body {
    padding: 18px;
}

body.profile-modern .profile-collection-title {
    color: var(--text-main);
    font-size: 1.02rem;
    font-weight: 900;
    line-height: 1.25;
    margin-bottom: 8px;
}

body.profile-modern .profile-collection-desc {
    color: var(--text-soft);
    font-size: .92rem;
    line-height: 1.6;
    min-height: 48px;
    margin-bottom: 14px;
    overflow-wrap: anywhere;
}

body.profile-modern .profile-collection-footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1100px) {
    body.profile-modern .rep-strip {
        grid-template-columns: 1fr;
    }

    body.profile-modern .rep-mini-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    body.profile-modern .profile-collections-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    body.profile-modern .rep-mini-grid {
        grid-template-columns: 1fr;
    }

    body.profile-modern .rep-score-row {
        flex-direction: column;
        align-items: flex-start;
    }

    body.profile-modern .profile-collection-cover {
        height: 150px;
    }
}

/* ==========================================================================
   PROFILE EXECUTIVE WOW PASS
   Premium flagship public identity / enterprise authority alignment
   ========================================================================== */

:root {
    --profile-exec-shadow: 0 30px 70px rgba(15, 23, 42, 0.10), 0 10px 24px rgba(15, 23, 42, 0.05), inset 0 1px 0 rgba(255,255,255,0.92), inset 0 0 0 1px rgba(15, 23, 42, 0.04);
    --profile-exec-shadow-hover: 0 38px 88px rgba(15, 23, 42, 0.14), 0 16px 34px rgba(15, 23, 42, 0.08), inset 0 1px 0 rgba(255,255,255,0.96), inset 0 0 0 1px rgba(15, 23, 42, 0.05);
    --profile-exec-panel: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(248,250,252,0.84));
    --profile-exec-card: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(248,250,252,0.92));
    --profile-exec-copy: #475569;
    --profile-exec-copy-strong: #334155;
    --profile-exec-focus: 0 0 0 3px rgba(96,165,250,0.22);
}

body.profile-modern {
    background:
        radial-gradient(circle at 50% -8%, rgba(96,165,250,.12), rgba(96,165,250,0) 28%),
        radial-gradient(circle at 100% 100%, rgba(139,92,246,.08), rgba(139,92,246,0) 24%),
        linear-gradient(180deg, #f8fbff 0%, #f1f6fb 44%, #edf3f8 100%) !important;
    line-height: 1.65;
    animation: none !important;
}

body.profile-modern::before {
    top: 110px;
    left: -120px;
    width: 320px;
    height: 320px;
    filter: blur(18px);
    opacity: .42;
    background: radial-gradient(circle, rgba(96,165,250,.14) 0%, rgba(96,165,250,0) 72%) !important;
}

body.profile-modern::after {
    right: -110px;
    bottom: 80px;
    width: 300px;
    height: 300px;
    filter: blur(18px);
    opacity: .36;
    background: radial-gradient(circle, rgba(139,92,246,.12) 0%, rgba(139,92,246,0) 72%) !important;
}

body.profile-modern .container {
    max-width: 1360px;
    padding: 0 24px;
}

/* --- EMPTY STATE --- */
body.profile-modern .empty-state,
body.profile-modern .profile-empty-state,
body.profile-modern .grid-empty-state,
body.profile-modern .history-empty-state {
    background: var(--profile-exec-panel) !important;
    border: 1px solid rgba(255,255,255,.94) !important;
    box-shadow: var(--profile-exec-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.profile-modern .empty-title,
body.profile-modern .history-title,
body.profile-modern .gallery-header {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.92);
}

body.profile-modern .empty-title {
    line-height: 1.04;
}

body.profile-modern .empty-copy,
body.profile-modern .grid-empty-state span,
body.profile-modern .history-empty-state {
    color: var(--profile-exec-copy) !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
}

/* --- HERO / PROFILE CARD --- */
body.profile-modern .profile-card {
    gap: 30px;
    padding: 36px;
    border-radius: 34px;
    background:
        radial-gradient(circle at 50% 0%, rgba(96,165,250,.14), rgba(96,165,250,0) 42%),
        linear-gradient(180deg, rgba(255,255,255,.95), rgba(255,255,255,.82)) !important;
    border: 1px solid rgba(255,255,255,.94) !important;
    box-shadow: var(--profile-exec-shadow-hover) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.profile-modern .profile-card::before {
    background:
        radial-gradient(circle at top right, rgba(96,165,250,.16), rgba(255,255,255,0) 36%),
        linear-gradient(180deg, rgba(255,255,255,.24), rgba(255,255,255,.04)) !important;
}

body.profile-modern .profile-card::after {
    inset: 0 auto auto 34px !important;
    width: calc(100% - 68px) !important;
    height: 2px !important;
    border-radius: 0 0 999px 999px;
    background: linear-gradient(90deg, rgba(255,255,255,0), rgba(96,165,250,.40), rgba(255,255,255,0)) !important;
}

body.profile-modern .avatar {
    width: 128px;
    height: 128px;
    border-radius: 34px;
    box-shadow: 0 22px 42px rgba(79,124,255,.18);
}

body.profile-modern .user-name {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: clamp(2rem, 3vw, 2.85rem) !important;
    font-weight: 900 !important;
    line-height: 1.02 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.92);
}

body.profile-modern .rank-badge,
body.profile-modern .share-btn,
body.profile-modern .profile-share-strip__label,
body.profile-modern .profile-share-pill,
body.profile-modern .medal-item span,
body.profile-modern .time-badge,
body.profile-modern .status-tag,
body.profile-modern .page-btn,
body.profile-modern .page-dots,
body.profile-modern .rep-label,
body.profile-modern .rep-mini-label {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-size: .74rem !important;
    font-weight: 800 !important;
    letter-spacing: .12em !important;
}

body.profile-modern .rank-badge,
body.profile-modern .share-btn,
body.profile-modern .profile-share-pill {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
    border-color: rgba(96,165,250,.20) !important;
    box-shadow: 0 12px 24px rgba(96,165,250,.10) !important;
}

body.profile-modern .social-btn {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
    border-color: rgba(226,232,240,.92) !important;
    box-shadow: 0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .social-btn:hover,
body.profile-modern .share-btn:hover,
body.profile-modern .profile-share-pill:hover {
    transform: translateY(-2px);
}

body.profile-modern .profile-share-strip {
    padding: 18px 20px;
    border-radius: 22px;
    background: var(--profile-exec-card) !important;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 12px 24px rgba(15,23,42,.04);
}

/* --- MEDALS / STATS --- */
body.profile-modern .medal-item,
body.profile-modern .hud-box {
    background: var(--profile-exec-card) !important;
    border: 1px solid rgba(226,232,240,.92) !important;
    box-shadow: 0 14px 28px rgba(15,23,42,.05) !important;
}

body.profile-modern .medal-item {
    border-radius: 20px;
}

body.profile-modern .hud-box {
    min-height: 146px;
    border-radius: 22px;
}

body.profile-modern .stat-item .val,
body.profile-modern .rep-score,
body.profile-modern .rep-mini-value,
body.profile-modern .h-price {
    color: #132238 !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
    text-transform: none !important;
    text-shadow: 0 1px 0 rgba(255,255,255,.92);
}

body.profile-modern .stat-item .lbl,
body.profile-modern .rep-tier,
body.profile-modern .h-date,
body.profile-modern .h-info,
body.profile-modern .badge-buy,
body.profile-modern .badge-sell {
    font-family: 'Inter', 'Roboto', sans-serif !important;
}

/* --- GRID / SLOT CARDS --- */
body.profile-modern .slot-card,
body.profile-modern .profile-collection-card,
body.profile-modern .rep-card,
body.profile-modern .rep-mini-card,
body.profile-modern .history-section {
    background: var(--profile-exec-panel) !important;
    border: 1px solid rgba(255,255,255,.94) !important;
    box-shadow: var(--profile-exec-shadow) !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

body.profile-modern .slot-card,
body.profile-modern .profile-collection-card,
body.profile-modern .rep-card,
body.profile-modern .rep-mini-card {
    border-radius: 24px !important;
}

body.profile-modern .slot-card {
    padding: 18px;
}

body.profile-modern .slot-card:hover,
body.profile-modern .profile-collection-card:hover,
body.profile-modern .rep-card:hover,
body.profile-modern .medal-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--profile-exec-shadow-hover) !important;
}

body.profile-modern .slot-visual,
body.profile-modern .profile-collection-cover {
    border-radius: 20px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.84), 0 12px 22px rgba(15,23,42,.05);
}

body.profile-modern .slot-info,
body.profile-modern .profile-collection-body {
    gap: 14px;
}

body.profile-modern .price-tag {
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 10px 20px rgba(15,23,42,.04);
}

body.profile-modern .price-base,
body.profile-modern .price-sale,
body.profile-modern .profile-collection-top h3,
body.profile-modern .profile-collection-title,
body.profile-modern .h-info strong {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
}

body.profile-modern .profile-collection-desc,
body.profile-modern .profile-collection-updated,
body.profile-modern .profile-collection-chip,
body.profile-modern .slot-state-copy,
body.profile-modern .slot-state-text {
    color: var(--profile-exec-copy) !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
}

body.profile-modern .profile-collection-chip {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92)) !important;
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 10px 20px rgba(15,23,42,.04);
}

/* --- REPUTATION STRIP --- */
body.profile-modern .rep-strip {
    gap: 18px;
}

body.profile-modern .rep-card,
body.profile-modern .rep-mini-card {
    padding: 22px;
}

body.profile-modern .rep-progress {
    height: 12px;
    border-radius: 999px;
    background: linear-gradient(180deg, rgba(226,232,240,.88), rgba(241,245,249,.96)) !important;
    box-shadow: inset 0 1px 2px rgba(15,23,42,.06);
}

body.profile-modern .rep-progress span {
    border-radius: 999px;
    box-shadow: 0 10px 18px rgba(37,99,235,.18);
}

/* --- HISTORY SECTION --- */
body.profile-modern .history-section {
    margin-top: 52px;
    padding: 30px;
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,250,252,.84)) !important;
}

body.profile-modern .history-row {
    padding: 16px 0;
    border-bottom-color: rgba(226,232,240,.88);
}

body.profile-modern .history-row:hover {
    background: rgba(79,124,255,.04);
}

body.profile-modern .h-price-positive {
    color: #059669 !important;
}

body.profile-modern .h-price-negative {
    color: #dc2626 !important;
}

/* --- PAGINATION --- */
body.profile-modern .page-btn {
    min-width: 46px;
    height: 46px;
    border-radius: 16px;
    background: var(--profile-exec-card) !important;
    border-color: rgba(226,232,240,.92) !important;
    box-shadow: 0 10px 20px rgba(15,23,42,.04) !important;
    color: #132238 !important;
}

body.profile-modern .page-btn:hover,
body.profile-modern .page-btn.active {
    transform: translateY(-2px);
    box-shadow: 0 16px 28px rgba(15,23,42,.08) !important;
}

body.profile-modern .page-btn.active {
    background: linear-gradient(135deg, #60a5fa, #2563eb) !important;
    border-color: rgba(59,130,246,.28) !important;
    color: #fff !important;
}

/* --- MODAL --- */
body.profile-modern .asset-modal-overlay {
    background: rgba(15,23,42,.34) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

body.profile-modern .asset-modal-content {
    border-radius: 30px;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,250,252,.92)) !important;
    border: 1px solid rgba(255,255,255,.94) !important;
    box-shadow: var(--profile-exec-shadow-hover) !important;
}

body.profile-modern .am-header {
    padding: 22px 24px;
    background: rgba(248,250,252,.94) !important;
    border-bottom: 1px solid rgba(226,232,240,.92);
}

body.profile-modern .am-time,
body.profile-modern .am-price,
body.profile-modern .slot-state-title,
body.profile-modern .am-state-review span,
body.profile-modern .am-state-secured .slot-state-title {
    font-family: 'Inter', 'Roboto', sans-serif !important;
    text-transform: none !important;
    letter-spacing: .01em !important;
}

body.profile-modern .am-close,
body.profile-modern .btn-modal-buy {
    border-radius: 16px !important;
    font-family: 'Inter', 'Roboto', sans-serif !important;
    font-weight: 800 !important;
}

body.profile-modern .am-close {
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.92));
    border: 1px solid rgba(226,232,240,.92);
    box-shadow: 0 10px 20px rgba(15,23,42,.04);
}

body.profile-modern .btn-modal-buy {
    min-height: 50px;
    padding: 0 18px;
    letter-spacing: .02em;
}

/* --- FOCUS --- */
body.profile-modern .empty-cta:focus-visible,
body.profile-modern .share-btn:focus-visible,
body.profile-modern .social-btn:focus-visible,
body.profile-modern .profile-share-pill:focus-visible,
body.profile-modern .page-btn:focus-visible,
body.profile-modern .am-close:focus-visible,
body.profile-modern .btn-modal-buy:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1px rgba(255,255,255,.92), var(--profile-exec-focus), 0 18px 34px rgba(15,23,42,.10) !important;
}

/* --- RESPONSIVE --- */
@media (max-width: 1080px) {
    body.profile-modern .container {
        padding: 0 18px;
    }

    body.profile-modern .profile-card {
        padding: 28px;
    }
}

@media (max-width: 820px) {
    body.profile-modern .profile-card,
    body.profile-modern .history-section,
    body.profile-modern .slot-card,
    body.profile-modern .profile-collection-card,
    body.profile-modern .rep-card,
    body.profile-modern .rep-mini-card,
    body.profile-modern .asset-modal-content {
        border-radius: 24px !important;
    }

    body.profile-modern .profile-card {
        gap: 22px;
        padding: 24px;
    }

    body.profile-modern .user-name {
        font-size: clamp(1.9rem, 8vw, 2.65rem) !important;
    }

    body.profile-modern .rep-strip {
        grid-template-columns: 1fr;
    }
}

/* ==========================================================================
   PROFILE DETAIL FINAL QUIET POLISH PASS
   Conservative premium refinement for profile.php
   ========================================================================== */

body.profile-modern .profile-card{
    box-shadow:0 24px 58px rgba(15,23,42,.10);
}

body.profile-modern .profile-card,
body.profile-modern .slot-card,
body.profile-modern .profile-collection-card{
    border-color:rgba(219,229,242,.90);
}

body.profile-modern .slot-card:hover,
body.profile-modern .profile-collection-card:hover{
    transform:translateY(-3px);
}

body.profile-modern .profile-collections-head{
    flex-wrap:wrap;
}

body.profile-modern .profile-collections-cta{
    display:inline-flex;
    align-items:center;
    gap:10px;
    min-height:44px;
    padding:0 16px;
    border-radius:999px;
    background:#fff;
    color:#1d2d47;
    text-decoration:none;
    border:1px solid #dbe5f2;
    box-shadow:0 8px 18px rgba(15,23,42,.04);
    font-weight:800;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

body.profile-modern .profile-collections-cta:hover{
    transform:translateY(-1px);
    box-shadow:0 12px 24px rgba(15,23,42,.06);
    border-color:#cfdeec;
    color:#14253b;
}

body.profile-modern .profile-related-section{
    margin:28px 0 24px;
}

body.profile-modern .profile-related-card{
    background:#fff;
    border:1px solid #dbe5f2;
    border-radius:24px;
    padding:22px;
    box-shadow:0 12px 28px rgba(15,23,42,.05);
}

body.profile-modern .profile-related-eyebrow{
    margin:0 0 10px;
    color:#6c7f96;
    font-size:.78rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    opacity:.9;
}

body.profile-modern .profile-related-title{
    margin:0 0 10px;
    font-size:clamp(1.15rem, 2vw, 1.32rem);
    line-height:1.3;
    color:#162842;
}

body.profile-modern .profile-related-copy{
    margin:0 0 16px;
    color:#5b6b82;
    line-height:1.68;
}

body.profile-modern .profile-related-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(220px,1fr));
    gap:12px;
}

body.profile-modern .profile-related-link{
    display:flex;
    flex-direction:column;
    gap:8px;
    padding:15px 16px;
    border-radius:18px;
    border:1px solid #dbe5f2;
    background:#fff;
    text-decoration:none;
    color:#132238;
    box-shadow:0 8px 20px rgba(15,23,42,.03);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, color .18s ease;
}

body.profile-modern .profile-related-link:hover{
    transform:translateY(-2px);
    box-shadow:0 14px 28px rgba(15,23,42,.06);
    border-color:#cfdeec;
    color:#0f2136;
}

body.profile-modern .profile-related-link-copy{
    color:#5b6b82;
    line-height:1.58;
}

body.profile-modern .profile-time-link{
    text-decoration:none;
}

body.profile-modern .profile-minute-open-link{
    display:inline-flex;
    align-items:center;
    gap:8px;
    text-decoration:none;
    font-weight:800;
    color:#00d2ff;
}

body.profile-modern .profile-history-minute-link{
    font-weight:800;
    text-decoration:none;
}

body.profile-modern .profile-history-user-link{
    font-weight:700;
    text-decoration:none;
}

body.profile-modern .profile-minute-open-link:hover,
body.profile-modern .profile-history-minute-link:hover,
body.profile-modern .profile-history-user-link:hover{
    text-decoration:none;
}

@media (max-width: 680px){
    body.profile-modern .profile-related-card{
        padding:18px;
    }

    body.profile-modern .profile-related-link{
        padding:14px;
    }
}


/* moved from profile.php inline styles on 2026-04-13 */
        .profile-handle-line{margin-top:8px;color:#6f8198;font-size:.92rem;font-weight:800;letter-spacing:.02em;}
        .profile-headline-line{margin-top:12px;color:#132742;font-size:1rem;font-weight:800;line-height:1.55;}
        .profile-location-line{margin-top:10px;display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:rgba(79,124,255,.08);color:#34506f;font-size:.82rem;font-weight:800;}
        .profile-bio-card{margin-top:16px;padding:16px 18px;border-radius:18px;border:1px solid rgba(219,229,241,.94);background:linear-gradient(180deg,rgba(255,255,255,.98),rgba(249,251,255,.95));box-shadow:0 10px 22px rgba(15,23,42,.04);color:#51657f;font-size:.95rem;line-height:1.75;white-space:pre-line;}
        @media (max-width: 768px){
            .profile-headline-line{font-size:.94rem;}
            .profile-bio-card{font-size:.92rem;padding:14px 15px;}
        }
    
/* PROFILE PUBLIC HERO V2 */
.profile-public-hero{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    border:1px solid rgba(219,229,241,.92);
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.95));
    box-shadow:0 18px 42px rgba(15,23,42,.08);
    margin-bottom:22px;
}

.profile-public-cover{
    position:relative;
    width:100%;
    height:clamp(220px, 30vw, 320px);
    min-height:220px;
    max-height:320px;
    aspect-ratio:16 / 6;
    background:linear-gradient(135deg, #dbeafe, #eff6ff 55%, #ede9fe);
    overflow:hidden;
    flex:0 0 auto;
}

.profile-public-cover img{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center center;
    display:block;
}

.profile-public-cover--empty{
    width:100%;
    height:100%;
    background:
        radial-gradient(circle at top right, rgba(59,130,246,.20), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.18), transparent 24%),
        linear-gradient(135deg, #dbeafe, #eff6ff 55%, #ede9fe);
}

.profile-public-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg, rgba(15,23,42,.10), rgba(15,23,42,.34));
}

.profile-public-shell{
    position:relative;
    display:flex;
    align-items:flex-end;
    gap:18px;
    padding:0 24px 24px;
    margin-top:-58px;
    z-index:2;
}

.profile-public-avatar{
    width:116px;
    height:116px;
    border-radius:26px;
    overflow:hidden;
    border:4px solid #fff;
    background:#eef4fb;
    box-shadow:0 18px 32px rgba(15,23,42,.16);
    flex:0 0 auto;
}

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

.profile-public-avatar-fallback{
    width:100%;
    height:100%;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg, #2563eb, #7c3aed);
    color:#fff;
    font-size:2.2rem;
    font-weight:900;
    text-transform:uppercase;
}

.profile-public-heading{
    min-width:0;
    flex:1;
    display:flex;
    flex-direction:column;
    gap:10px;
}

.profile-public-identity{
    display:flex;
    flex-direction:column;
    gap:4px;
}

.profile-public-name{
    color:#132238;
    font-size:2rem;
    line-height:1.08;
    font-weight:900;
    letter-spacing:-.02em;
    overflow-wrap:anywhere;
}

.profile-public-username{
    color:#64748b;
    font-size:.95rem;
    font-weight:800;
    overflow-wrap:anywhere;
}

.profile-headline-line{
    color:#334155;
    font-size:1rem;
    line-height:1.55;
    font-weight:700;
    overflow-wrap:anywhere;
}

.profile-meta-row{
    display:flex;
    flex-wrap:wrap;
    gap:12px;
    align-items:center;
    color:#475569;
    font-size:.9rem;
    font-weight:800;
}

.profile-meta-row span{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 12px;
    border-radius:999px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
}

.profile-bio-card{
    color:#475569;
    font-size:.95rem;
    line-height:1.75;
    padding:16px 18px;
    border-radius:18px;
    background:#fff;
    border:1px solid #dbe5f2;
    box-shadow:0 8px 20px rgba(15,23,42,.04);
    overflow-wrap:anywhere;
}

.profile-public-hero--private .profile-public-shell{
    margin-top:-46px;
}

.profile-private-note{
    max-width:760px;
}

@media (max-width: 900px){
    .profile-public-cover{
        height:220px;
        min-height:220px;
        max-height:220px;
        aspect-ratio:auto;
    }

    .profile-public-shell{
        padding:0 18px 18px;
        gap:14px;
    }

    .profile-public-avatar{
        width:96px;
        height:96px;
        border-radius:22px;
    }

    .profile-public-name{
        font-size:1.55rem;
    }
}

@media (max-width: 640px){
    .profile-public-cover{
        height:190px;
        min-height:190px;
        max-height:190px;
        aspect-ratio:auto;
    }

    .profile-public-shell{
        flex-direction:column;
        align-items:flex-start;
        margin-top:-44px;
    }

    .profile-public-avatar{
        width:88px;
        height:88px;
        border-radius:20px;
    }

    .profile-public-name{
        font-size:1.34rem;
    }

    .profile-public-username{
        font-size:.88rem;
    }

    .profile-headline-line,
    .profile-bio-card{
        font-size:.9rem;
    }

    .profile-meta-row{
        width:100%;
    }
}


.profile-badge-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:12px;
}

.profile-badge-chip{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:9px 12px;
    border-radius:999px;
    background:#fff;
    border:1px solid #dbe5f2;
    color:#334155;
    font-size:.82rem;
    font-weight:800;
    box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.profile-badge-chip.tier-basic{
    background:rgba(37,99,235,.08);
    border-color:rgba(37,99,235,.18);
    color:#1d4ed8;
}

.profile-badge-chip.tier-verified{
    background:rgba(16,185,129,.10);
    border-color:rgba(16,185,129,.18);
    color:#047857;
}

.profile-badge-chip.tier-brand{
    background:rgba(124,58,237,.10);
    border-color:rgba(124,58,237,.18);
    color:#6d28d9;
}

@media (max-width: 640px){
    .profile-badge-row{
        gap:8px;
    }

    .profile-badge-chip{
        font-size:.76rem;
        padding:8px 10px;
    }
}


.profile-follow-alert{
    margin:12px 0 14px;
    padding:12px 14px;
    border-radius:14px;
    background:rgba(16,185,129,.08);
    border:1px solid rgba(16,185,129,.22);
    color:#059669;
    font-weight:800;
}
.profile-follow-alert.is-error{
    background:rgba(239,68,68,.08);
    border-color:rgba(239,68,68,.22);
    color:#dc2626;
}
.profile-follow-panel{
    margin:16px 0 18px;
    padding:16px 18px;
    border-radius:20px;
    border:1px solid #dbe5f2;
    background:#fff;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    flex-wrap:wrap;
}
.profile-follow-stats{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}
.profile-follow-stat{
    min-width:120px;
    padding:10px 14px;
    border-radius:16px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
}
.profile-follow-stat strong{
    display:block;
    color:#132238;
    font-size:1.05rem;
    font-weight:900;
}
.profile-follow-stat span{
    display:block;
    margin-top:4px;
    color:#64748b;
    font-size:.78rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}
.profile-follow-form{
    margin-left:auto;
}
.profile-follow-btn{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:12px 16px;
    border:none;
    border-radius:999px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    font-weight:800;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(37,99,235,.25);
}
.profile-follow-btn.is-active{
    background:#0f172a;
}
@media (max-width: 640px){
    .profile-follow-form{
        margin-left:0;
        width:100%;
    }
    .profile-follow-btn{
        width:100%;
        justify-content:center;
    }
}

.profile-activity-section{
    margin:24px 0 0;
}

.profile-activity-feed{
    display:grid;
    gap:12px;
}

.profile-activity-card{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:14px 16px;
    border-radius:18px;
    background:#fff;
    border:1px solid #dbe5f2;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    text-decoration:none;
    color:inherit;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.profile-activity-card:hover{
    transform:translateY(-2px);
    box-shadow:0 16px 34px rgba(15,23,42,.09);
    border-color:#c7d6ea;
}

.profile-activity-icon{
    width:44px;
    height:44px;
    border-radius:14px;
    flex:0 0 44px;
    display:flex;
    align-items:center;
    justify-content:center;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    font-size:1rem;
}

.profile-activity-body{
    min-width:0;
    flex:1;
}

.profile-activity-title{
    color:#132238;
    font-size:.98rem;
    font-weight:900;
    line-height:1.35;
    overflow-wrap:anywhere;
}

.profile-activity-meta{
    margin-top:4px;
    color:#64748b;
    font-size:.86rem;
    line-height:1.55;
    overflow-wrap:anywhere;
}

.profile-activity-time{
    margin-top:6px;
    color:#94a3b8;
    font-size:.78rem;
    font-weight:800;
    letter-spacing:.02em;
}

@media (max-width: 640px){
    .profile-activity-card{
        padding:13px 14px;
    }

    .profile-activity-title{
        font-size:.93rem;
    }

    .profile-activity-meta{
        font-size:.83rem;
    }
}


.profile-social-graph-section{
    margin:24px 0 0;
}

.profile-social-graph-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
    gap:18px;
}

.profile-social-graph-panel{
    background:#fff;
    border:1px solid #dbe5f2;
    border-radius:22px;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    padding:16px;
}

.profile-social-graph-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    margin-bottom:12px;
}

.profile-social-graph-title{
    color:#132238;
    font-size:1rem;
    font-weight:900;
    letter-spacing:.01em;
}

.profile-social-graph-meta{
    color:#64748b;
    font-size:.78rem;
    font-weight:800;
    text-transform:uppercase;
    letter-spacing:.08em;
}

.profile-social-graph-list{
    display:grid;
    gap:10px;
}

.profile-social-card{
    display:flex;
    align-items:flex-start;
    gap:12px;
    padding:12px;
    border-radius:18px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
    text-decoration:none;
    color:inherit;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.profile-social-card:hover{
    transform:translateY(-2px);
    box-shadow:0 12px 28px rgba(15,23,42,.08);
    border-color:#c7d6ea;
}

.profile-social-card-avatar{
    width:52px;
    height:52px;
    border-radius:16px;
    overflow:hidden;
    flex:0 0 52px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.05rem;
    font-weight:900;
}

.profile-social-card-avatar img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}

.profile-social-card-body{
    min-width:0;
    flex:1;
}

.profile-social-card-top{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.profile-social-card-name{
    color:#132238;
    font-size:.95rem;
    font-weight:900;
    line-height:1.25;
    overflow-wrap:anywhere;
}

.profile-social-card-handle{
    margin-top:3px;
    color:#64748b;
    font-size:.82rem;
    font-weight:800;
    overflow-wrap:anywhere;
}

.profile-social-card-headline{
    margin-top:6px;
    color:#475569;
    font-size:.84rem;
    line-height:1.5;
    overflow-wrap:anywhere;
}

.profile-social-card-time{
    margin-top:7px;
    color:#94a3b8;
    font-size:.76rem;
    font-weight:800;
}

.profile-social-card-badge{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(16,185,129,.10);
    color:#059669;
    font-size:.7rem;
    font-weight:800;
}

@media (max-width: 640px){
    .profile-social-graph-grid{
        grid-template-columns:1fr;
    }

    .profile-social-graph-panel{
        padding:14px;
    }
}


.profile-activity-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:14px 0 16px;
}

.profile-activity-tab{
    appearance:none;
    border:none;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:10px 14px;
    border-radius:999px;
    background:#eef4fb;
    color:#334155;
    border:1px solid #dbe5f2;
    font-size:.82rem;
    font-weight:800;
    letter-spacing:.01em;
    transition:all .18s ease;
}

.profile-activity-tab:hover{
    transform:translateY(-1px);
    border-color:#c7d6ea;
    box-shadow:0 8px 18px rgba(15,23,42,.06);
}

.profile-activity-tab.is-active{
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    border-color:transparent;
    box-shadow:0 10px 22px rgba(37,99,235,.22);
}

.profile-activity-tab-count{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:20px;
    height:20px;
    padding:0 6px;
    border-radius:999px;
    background:rgba(255,255,255,.18);
    font-size:.72rem;
    font-weight:900;
}

.profile-activity-tab:not(.is-active) .profile-activity-tab-count{
    background:#dbe7f5;
    color:#1e293b;
}

.profile-activity-empty{
    display:none;
    padding:16px 18px;
    border-radius:18px;
    background:#fff;
    border:1px dashed #dbe5f2;
    color:#64748b;
    font-size:.92rem;
    font-weight:700;
}

.profile-activity-empty.is-visible{
    display:block;
}

.profile-activity-card.is-hidden{
    display:none;
}

@media (max-width: 640px){
    .profile-activity-tabs{
        gap:8px;
    }

    .profile-activity-tab{
        font-size:.77rem;
        padding:9px 12px;
    }
}


.profile-public-identity{
    gap:8px;
}

.profile-public-eyebrow{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:linear-gradient(135deg,#0f172a,#1e293b);
    border:1px solid rgba(255,255,255,.10);
    color:#fff;
    font-size:.73rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
    width:max-content;
    max-width:100%;
    box-shadow:0 10px 22px rgba(15,23,42,.18);
}

.profile-public-eyebrow i{
    color:#93c5fd;
}

.profile-public-summary{
    margin-top:4px;
}

.profile-public-summary-chip{
    background:#fff;
    border:1px solid #dbe5f2;
    color:#334155;
}

.profile-public-note{
    color:#64748b;
    font-size:.92rem;
    line-height:1.65;
    font-weight:700;
}

.profile-social-links-shelf{
    margin:18px 0 14px;
    padding:14px 16px;
    border-radius:22px;
    background:#fff;
    border:1px solid #dbe5f2;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
}

.profile-social-links-title{
    margin-bottom:10px;
    color:#64748b;
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.10em;
    text-transform:uppercase;
}

.social-row{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
}

.social-row .social-btn{
    width:40px;
    height:40px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    border-radius:14px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
    box-shadow:0 8px 18px rgba(15,23,42,.04);
}

.social-row .social-btn i{
    font-size:.95rem;
}

@media (max-width: 640px){
    .profile-public-eyebrow{
        font-size:.69rem;
        padding:7px 10px;
    }

    .profile-social-links-shelf{
        padding:12px 14px;
    }
}



/* PROFILE POLISH V4 */
.profile-public-hero{
    margin-bottom:0;
    box-shadow:0 24px 54px rgba(15,23,42,.10);
}

.profile-public-cover{
    height:240px;
}

.profile-public-overlay{
    background:
        linear-gradient(180deg, rgba(10,18,32,.06) 0%, rgba(10,18,32,.14) 34%, rgba(10,18,32,.42) 100%);
}

.profile-public-shell{
    gap:22px;
    padding:0 28px 28px;
    margin-top:-64px;
}

.profile-public-heading{
    gap:12px;
}

.profile-public-name{
    font-size:clamp(1.8rem, 3vw, 2.4rem);
    letter-spacing:-.03em;
}

.profile-public-avatar{
    width:124px;
    height:124px;
    border-radius:28px;
}

.profile-badge-row{
    gap:10px;
}

.profile-badge-chip{
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.profile-meta-row span{
    background:rgba(248,251,255,.88);
}

.profile-bio-card{
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.94));
}

.profile-overview-shell{
    position:relative;
    margin:18px 0 28px;
    padding:22px;
    border-radius:30px;
    border:1px solid rgba(219,229,242,.92);
    background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,251,255,.80));
    box-shadow:0 24px 56px rgba(15,23,42,.08);
    backdrop-filter:blur(20px) saturate(145%);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    overflow:hidden;
}

.profile-overview-shell::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.10), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.08), transparent 24%);
    pointer-events:none;
}

.profile-overview-shell > *{
    position:relative;
    z-index:1;
}

.profile-overview-shell > * + *{
    margin-top:18px;
}

.profile-overview-shell .profile-social-links-shelf,
.profile-overview-shell .profile-follow-alert,
.profile-overview-shell .profile-follow-panel,
.profile-overview-shell .profile-share-strip,
.profile-overview-shell .profile-activity-section,
.profile-overview-shell .medal-container,
.profile-overview-shell .stats-row,
.profile-overview-shell .rep-strip{
    margin-top:0;
    margin-bottom:0;
}

.profile-social-links-shelf{
    padding:16px 18px;
    border-radius:24px;
}

.profile-social-links-title{
    margin-bottom:12px;
    letter-spacing:.12em;
}

.social-row .social-btn{
    width:44px;
    height:44px;
    border-radius:15px;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.social-row .social-btn:hover{
    transform:translateY(-2px);
    border-color:#c7d6ea;
    box-shadow:0 14px 26px rgba(15,23,42,.08);
    color:#1d4ed8;
}

.profile-follow-panel{
    align-items:stretch;
    gap:14px 18px;
    padding:18px;
    border-radius:24px;
}

.profile-follow-stats{
    flex:1 1 320px;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.profile-follow-stat{
    min-width:0;
    padding:14px 16px;
    border-radius:18px;
}

.profile-follow-stat strong{
    font-size:1.1rem;
}

.profile-follow-btn{
    min-height:48px;
    padding:0 18px;
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}

.profile-follow-btn:hover{
    transform:translateY(-1px);
    box-shadow:0 16px 28px rgba(37,99,235,.26);
    filter:brightness(1.02);
}

.profile-share-strip{
    gap:14px;
}

.profile-share-strip__actions{
    gap:10px;
}

.profile-share-pill{
    min-height:44px;
    padding:0 16px;
}

.profile-share-pill:hover{
    transform:translateY(-1px);
}

.profile-activity-section .gallery-header,
.profile-people-section .gallery-header{
    margin-bottom:18px;
}

.profile-activity-card,
.profile-social-card,
.profile-collection-card,
.profile-related-link{
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.profile-lower-sections{
    margin-top:28px;
    margin-bottom:6px;
}

.profile-people-section{
    margin:0 0 28px;
}

.profile-people-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:16px;
}

.profile-people-card{
    display:block;
    text-decoration:none;
    color:inherit;
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,251,255,.88));
    border:1px solid #dbe5f2;
    border-radius:22px;
    padding:18px;
    box-shadow:0 12px 28px rgba(15,23,42,.05);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.profile-people-card:hover{
    transform:translateY(-3px);
    border-color:#c7d6ea;
    box-shadow:0 18px 34px rgba(15,23,42,.08);
}

.profile-people-row{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.profile-people-avatar{
    width:58px;
    height:58px;
    border-radius:18px;
    overflow:hidden;
    flex:0 0 58px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.15rem;
    font-weight:900;
    box-shadow:0 12px 22px rgba(37,99,235,.18);
}

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

.profile-people-body{
    min-width:0;
    flex:1;
}

.profile-people-top{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.profile-people-name{
    color:#132238;
    font-size:1rem;
    line-height:1.25;
    font-weight:900;
    overflow-wrap:anywhere;
}

.profile-people-verified{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(16,185,129,.10);
    color:#059669;
    font-size:.72rem;
    font-weight:800;
}

.profile-people-handle{
    margin-top:4px;
    color:#64748b;
    font-size:.88rem;
    font-weight:800;
    overflow-wrap:anywhere;
}

.profile-people-headline{
    margin-top:8px;
    color:#475569;
    font-size:.9rem;
    line-height:1.55;
    overflow-wrap:anywhere;
}

.profile-people-meta{
    margin-top:12px;
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.profile-people-fp{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
    color:#334155;
    font-size:.78rem;
    font-weight:800;
}

.profile-lower-sections .profile-related-card{
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(248,251,255,.88));
    box-shadow:0 14px 32px rgba(15,23,42,.05);
}

.profile-follow-btn:focus-visible,
.profile-share-pill:focus-visible,
.profile-activity-tab:focus-visible,
.profile-social-links-shelf .social-btn:focus-visible,
.profile-collections-cta:focus-visible,
.profile-people-card:focus-visible,
.profile-related-link:focus-visible,
.profile-minute-open-link:focus-visible{
    outline:none;
    box-shadow:
        0 0 0 4px rgba(79,124,255,.16),
        0 16px 30px rgba(15,23,42,.10);
}

@media (max-width: 860px){
    .profile-overview-shell{
        padding:18px;
        border-radius:26px;
    }

    .profile-public-shell{
        padding:0 20px 22px;
    }

    .profile-follow-form{
        margin-left:0;
        width:100%;
    }

    .profile-follow-btn{
        width:100%;
        justify-content:center;
    }
}

@media (max-width: 640px){
    .profile-public-cover{
        height:176px;
    }

    .profile-public-shell{
        gap:14px;
        padding:0 16px 18px;
        margin-top:-46px;
    }

    .profile-public-avatar{
        width:90px;
        height:90px;
        border-radius:22px;
    }

    .profile-overview-shell{
        margin:14px 0 24px;
        padding:14px;
        border-radius:22px;
    }

    .profile-social-links-shelf,
    .profile-follow-panel{
        padding:14px;
        border-radius:20px;
    }

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

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

    .profile-lower-sections{
        margin-top:24px;
    }
}

@media (max-width: 560px){
    .profile-public-name{
        font-size:1.28rem;
    }

    .profile-public-username,
    .profile-headline-line,
    .profile-public-note,
    .profile-bio-card{
        font-size:.88rem;
    }

    .profile-meta-row{
        width:100%;
    }

    .profile-meta-row span,
    .profile-badge-chip{
        max-width:100%;
    }

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

    .profile-share-strip__actions{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .profile-share-pill{
        width:100%;
        justify-content:center;
    }

    .profile-collections-cta{
        width:100%;
        justify-content:center;
    }

    .profile-people-card,
    .profile-lower-sections .profile-related-card{
        padding:16px;
    }
}


/* PROFILE POLISH V5 */
body.profile-modern{
    background:
        radial-gradient(circle at top, rgba(79,124,255,.08), transparent 32%),
        linear-gradient(180deg, #f4f8ff 0%, #f8fbff 30%, #ffffff 100%);
}

body.profile-modern .container{
    position:relative;
    z-index:1;
}

.profile-public-hero{
    position:relative;
    margin-bottom:0;
    border-radius:34px;
    border:1px solid rgba(219,229,242,.92);
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.95));
    box-shadow:0 28px 68px rgba(15,23,42,.11);
    overflow:hidden;
    isolation:isolate;
}

.profile-public-hero::before,
.profile-public-hero::after{
    content:"";
    position:absolute;
    border-radius:999px;
    filter:blur(18px);
    pointer-events:none;
    z-index:0;
    opacity:.9;
}

.profile-public-hero::before{
    width:260px;
    height:260px;
    right:-90px;
    top:-120px;
    background:radial-gradient(circle, rgba(79,124,255,.24) 0%, rgba(79,124,255,0) 72%);
}

.profile-public-hero::after{
    width:220px;
    height:220px;
    left:-80px;
    bottom:-110px;
    background:radial-gradient(circle, rgba(139,92,246,.18) 0%, rgba(139,92,246,0) 72%);
}

.profile-public-cover{
    position:relative;
    height:270px;
}

.profile-public-cover::after{
    content:"";
    position:absolute;
    inset:auto 0 0 0;
    height:88px;
    background:linear-gradient(180deg, rgba(255,255,255,0), rgba(255,255,255,.18) 55%, rgba(255,255,255,.36) 100%);
    pointer-events:none;
}

.profile-public-overlay{
    background:
        linear-gradient(180deg, rgba(7,14,27,.06) 0%, rgba(7,14,27,.14) 34%, rgba(7,14,27,.42) 100%);
}

.profile-public-shell{
    position:relative;
    z-index:2;
    gap:24px;
    padding:0 30px 30px;
    margin-top:-76px;
}

.profile-public-avatar{
    width:132px;
    height:132px;
    border-radius:30px;
    border:5px solid rgba(255,255,255,.98);
    box-shadow:
        0 24px 44px rgba(15,23,42,.18),
        0 0 0 1px rgba(255,255,255,.74);
    transform:translateZ(0);
}

.profile-public-avatar-fallback{
    font-size:2.45rem;
}

.profile-public-heading{
    gap:14px;
}

.profile-public-identity{
    gap:10px;
}

.profile-public-name{
    font-size:clamp(2rem, 3vw, 2.75rem);
    line-height:1;
    letter-spacing:-.04em;
}

.profile-public-username{
    font-size:1rem;
    font-weight:900;
    color:#6b7d95;
}

.profile-public-eyebrow{
    padding:10px 14px;
    border:1px solid rgba(255,255,255,.12);
    background:linear-gradient(135deg,#0f172a,#1f2e48);
    box-shadow:0 14px 30px rgba(15,23,42,.18);
}

.profile-badge-row{
    gap:12px;
    margin-top:14px;
}

.profile-badge-chip{
    padding:10px 14px;
    border-radius:999px;
    background:rgba(255,255,255,.82);
    border:1px solid rgba(216,228,241,.96);
    box-shadow:0 12px 22px rgba(15,23,42,.05);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
}

.profile-public-summary{
    display:grid;
    grid-template-columns:repeat(3, minmax(0, 1fr));
    gap:12px;
    margin-top:6px;
}

.profile-public-summary-chip{
    display:flex;
    flex-direction:column;
    gap:4px;
    min-height:84px;
    justify-content:center;
    padding:15px 16px;
    border-radius:22px;
    border:1px solid rgba(219,229,242,.95);
    background:linear-gradient(180deg, rgba(255,255,255,.90), rgba(246,249,255,.86));
    box-shadow:0 16px 28px rgba(15,23,42,.06);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
}

.profile-public-summary-chip strong{
    color:#132238;
    font-size:1.12rem;
    line-height:1.1;
    font-weight:900;
    letter-spacing:-.02em;
}

.profile-public-summary-chip span{
    color:#64748b;
    font-size:.76rem;
    font-weight:900;
    letter-spacing:.08em;
    text-transform:uppercase;
}

.profile-headline-line{
    max-width:920px;
    font-size:1.04rem;
    line-height:1.7;
    color:#304256;
}

.profile-meta-row{
    gap:14px;
}

.profile-meta-row span{
    padding:10px 14px;
    background:rgba(248,251,255,.9);
    box-shadow:0 10px 18px rgba(15,23,42,.04);
}

.profile-bio-card{
    max-width:980px;
    padding:18px 20px;
    border-radius:22px;
    border:1px solid rgba(219,229,242,.96);
    background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.92));
    box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.profile-overview-shell{
    position:relative;
    margin:22px 0 30px;
    padding:24px;
    border-radius:32px;
    border:1px solid rgba(219,229,242,.92);
    background:linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,250,255,.82));
    box-shadow:0 26px 64px rgba(15,23,42,.08);
    backdrop-filter:blur(20px) saturate(145%);
    -webkit-backdrop-filter:blur(20px) saturate(145%);
    overflow:hidden;
}

.profile-overview-shell::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.11), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.08), transparent 24%);
    pointer-events:none;
}

.profile-overview-shell > *{
    position:relative;
    z-index:1;
}

.profile-overview-shell > * + *{
    margin-top:18px;
}

.profile-overview-shell .profile-social-links-shelf,
.profile-overview-shell .profile-follow-alert,
.profile-overview-shell .profile-follow-panel,
.profile-overview-shell .profile-share-strip,
.profile-overview-shell .profile-activity-section,
.profile-overview-shell .medal-container,
.profile-overview-shell .stats-row,
.profile-overview-shell .rep-strip{
    margin-top:0;
    margin-bottom:0;
}

.profile-social-links-shelf{
    padding:18px 20px;
    border-radius:24px;
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.86));
    box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.profile-social-links-title{
    margin-bottom:12px;
    letter-spacing:.14em;
}

.social-row .social-btn{
    width:46px;
    height:46px;
    border-radius:16px;
    background:linear-gradient(180deg,#ffffff,#f6f9ff);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.social-row .social-btn:hover{
    transform:translateY(-2px);
    border-color:#c8d7ea;
    box-shadow:0 16px 28px rgba(15,23,42,.08);
    color:#1d4ed8;
}

.profile-follow-alert{
    margin:0;
    padding:14px 16px;
    border-radius:18px;
    box-shadow:0 10px 24px rgba(15,23,42,.04);
}

.profile-follow-panel{
    padding:20px;
    border-radius:26px;
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,255,.88));
    box-shadow:0 16px 34px rgba(15,23,42,.06);
    align-items:stretch;
    gap:16px 18px;
}

.profile-follow-stats{
    flex:1 1 360px;
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}

.profile-follow-stat{
    min-width:0;
    padding:14px 16px;
    border-radius:20px;
    background:linear-gradient(180deg,#ffffff,#f7fbff);
    box-shadow:inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(15,23,42,.04);
}

.profile-follow-stat strong{
    font-size:1.12rem;
}

.profile-follow-form{
    margin-left:0;
    align-self:center;
}

.profile-follow-btn{
    min-height:50px;
    padding:0 20px;
    box-shadow:0 14px 28px rgba(37,99,235,.25);
    transition:transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease;
}

.profile-follow-btn:hover{
    transform:translateY(-1px);
    filter:brightness(1.03);
    box-shadow:0 18px 32px rgba(37,99,235,.26);
}

.profile-share-strip{
    padding:18px 20px;
    border-radius:24px;
    border:1px solid #dbe5f2;
    background:linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,255,.88));
    box-shadow:0 14px 30px rgba(15,23,42,.05);
    gap:14px;
}

.profile-share-strip__label{
    color:#51657f;
    letter-spacing:.14em;
}

.profile-share-strip__actions{
    gap:10px;
}

.profile-share-pill{
    min-height:44px;
    padding:0 16px;
    border-radius:999px;
    background:rgba(255,255,255,.88);
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease;
}

.profile-share-pill:hover{
    transform:translateY(-1px);
    border-color:#c8d7ea;
    box-shadow:0 14px 24px rgba(15,23,42,.06);
}

.profile-share-pill.is-primary{
    box-shadow:0 14px 28px rgba(37,99,235,.22);
}

.profile-activity-section .gallery-header,
.profile-people-section .gallery-header{
    margin-bottom:18px;
}

.profile-activity-card,
.profile-collection-card,
.profile-social-card,
.profile-related-link,
.profile-people-card,
.slot-card,
.history-row{
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}

.profile-activity-card:hover,
.profile-collection-card:hover,
.profile-social-card:hover,
.profile-related-link:hover,
.profile-people-card:hover{
    transform:translateY(-3px);
}

.profile-activity-card{
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90));
    box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.profile-activity-tabs{
    margin:16px 0 18px;
    gap:12px;
}

.profile-activity-tab{
    padding:11px 15px;
    box-shadow:0 8px 18px rgba(15,23,42,.03);
}

.profile-activity-tab.is-active{
    box-shadow:0 14px 28px rgba(37,99,235,.22);
}

.medal-container{
    gap:12px;
}

.medal-item{
    box-shadow:0 10px 20px rgba(15,23,42,.08);
}

.stats-row{
    gap:14px;
}

.stats-row .stat-item{
    border-radius:24px;
    box-shadow:0 16px 30px rgba(15,23,42,.06);
}

.rep-strip{
    gap:14px;
}

.rep-card{
    box-shadow:0 16px 30px rgba(15,23,42,.06);
}

.slot-card{
    border-radius:24px;
    box-shadow:0 16px 32px rgba(15,23,42,.06);
}

.slot-card:hover{
    box-shadow:0 22px 38px rgba(15,23,42,.10);
}

.history-row{
    border-radius:22px;
    box-shadow:0 12px 26px rgba(15,23,42,.05);
}

.profile-lower-sections{
    margin-top:28px;
    margin-bottom:8px;
}

.profile-people-section{
    margin:0 0 28px;
}

.profile-people-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit, minmax(250px, 1fr));
    gap:16px;
}

.profile-people-card{
    display:block;
    text-decoration:none;
    color:inherit;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90));
    border:1px solid #dbe5f2;
    border-radius:24px;
    padding:18px;
    box-shadow:0 14px 30px rgba(15,23,42,.05);
}

.profile-people-row{
    display:flex;
    align-items:flex-start;
    gap:14px;
}

.profile-people-avatar{
    width:60px;
    height:60px;
    border-radius:18px;
    overflow:hidden;
    flex:0 0 60px;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:1.18rem;
    font-weight:900;
    box-shadow:0 14px 24px rgba(37,99,235,.18);
}

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

.profile-people-body{
    min-width:0;
    flex:1;
}

.profile-people-top{
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.profile-people-name{
    color:#132238;
    font-size:1rem;
    line-height:1.25;
    font-weight:900;
    overflow-wrap:anywhere;
}

.profile-people-verified{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:4px 8px;
    border-radius:999px;
    background:rgba(16,185,129,.10);
    color:#059669;
    font-size:.72rem;
    font-weight:800;
}

.profile-people-handle{
    margin-top:4px;
    color:#64748b;
    font-size:.88rem;
    font-weight:800;
    overflow-wrap:anywhere;
}

.profile-people-headline{
    margin-top:8px;
    color:#475569;
    font-size:.9rem;
    line-height:1.55;
    overflow-wrap:anywhere;
}

.profile-people-meta{
    margin-top:12px;
    display:flex;
    align-items:center;
    gap:8px;
    flex-wrap:wrap;
}

.profile-people-fp{
    display:inline-flex;
    align-items:center;
    gap:6px;
    padding:7px 11px;
    border-radius:999px;
    background:#f8fbff;
    border:1px solid #dbe5f2;
    color:#334155;
    font-size:.78rem;
    font-weight:800;
}

.profile-related-section{
    margin:0 0 28px;
}

body.profile-modern .profile-related-card{
    position:relative;
    overflow:hidden;
    border-radius:28px;
    padding:24px;
    background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.90));
    box-shadow:0 18px 38px rgba(15,23,42,.06);
}

body.profile-modern .profile-related-card::before{
    content:"";
    position:absolute;
    inset:0;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.08), transparent 20%);
    pointer-events:none;
}

body.profile-modern .profile-related-card > *{
    position:relative;
    z-index:1;
}

body.profile-modern .profile-related-eyebrow{
    letter-spacing:.14em;
}

body.profile-modern .profile-related-title{
    max-width:820px;
    font-size:clamp(1.25rem, 2vw, 1.6rem);
    line-height:1.24;
}

body.profile-modern .profile-related-copy{
    max-width:760px;
    margin-bottom:18px;
}

body.profile-modern .profile-related-grid{
    gap:14px;
}

body.profile-modern .profile-related-link{
    min-height:140px;
    justify-content:space-between;
    padding:17px 18px;
    border-radius:22px;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88));
    box-shadow:0 12px 24px rgba(15,23,42,.04);
}

body.profile-modern .profile-related-link strong{
    font-size:.96rem;
    line-height:1.45;
}

.profile-follow-btn:focus-visible,
.profile-share-pill:focus-visible,
.profile-activity-tab:focus-visible,
.profile-social-links-shelf .social-btn:focus-visible,
.profile-collections-cta:focus-visible,
.profile-people-card:focus-visible,
.profile-related-link:focus-visible,
.profile-minute-open-link:focus-visible{
    outline:none;
    box-shadow:
        0 0 0 4px rgba(79,124,255,.16),
        0 18px 30px rgba(15,23,42,.10);
}

@media (max-width: 960px){
    .profile-public-cover{
        height:230px;
    }

    .profile-public-shell{
        gap:18px;
        padding:0 22px 24px;
        margin-top:-64px;
    }

    .profile-public-avatar{
        width:112px;
        height:112px;
        border-radius:26px;
    }

    .profile-overview-shell{
        padding:20px;
        border-radius:28px;
    }
}

@media (max-width: 760px){
    .profile-public-cover{
        height:194px;
    }

    .profile-public-shell{
        flex-direction:column;
        align-items:flex-start;
        gap:16px;
        padding:0 18px 20px;
        margin-top:-52px;
    }

    .profile-public-avatar{
        width:96px;
        height:96px;
        border-radius:22px;
    }

    .profile-public-name{
        font-size:1.56rem;
    }

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

    .profile-overview-shell{
        margin:18px 0 26px;
        padding:16px;
        border-radius:24px;
    }

    .profile-social-links-shelf,
    .profile-follow-panel,
    .profile-share-strip{
        padding:15px;
        border-radius:20px;
    }

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

    .profile-follow-form{
        width:100%;
    }

    .profile-follow-btn{
        width:100%;
        justify-content:center;
    }
}

@media (max-width: 560px){
    .profile-public-cover{
        height:176px;
    }

    .profile-public-shell{
        padding:0 14px 16px;
        margin-top:-44px;
    }

    .profile-public-avatar{
        width:88px;
        height:88px;
        border-radius:20px;
    }

    .profile-public-name{
        font-size:1.32rem;
    }

    .profile-public-username,
    .profile-headline-line,
    .profile-public-note,
    .profile-bio-card{
        font-size:.89rem;
    }

    .profile-badge-row{
        gap:8px;
    }

    .profile-badge-chip{
        padding:8px 10px;
        font-size:.75rem;
    }

    .profile-public-summary-chip{
        min-height:auto;
        padding:13px 14px;
        border-radius:18px;
    }

    .profile-meta-row{
        width:100%;
    }

    .profile-meta-row span,
    .profile-badge-chip{
        max-width:100%;
    }

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

    .profile-share-strip__actions{
        display:grid;
        grid-template-columns:1fr;
        gap:10px;
    }

    .profile-share-pill,
    .profile-collections-cta{
        width:100%;
        justify-content:center;
    }

    .profile-people-grid,
    body.profile-modern .profile-related-grid{
        grid-template-columns:1fr;
    }

    .profile-people-card,
    body.profile-modern .profile-related-card{
        padding:16px;
    }

    body.profile-modern .profile-related-link{
        min-height:auto;
        padding:15px;
    }
}



/* PROFILE IMAGE FRAME LOCK V1 */
/* Lock visual frames so uploaded images never control layout size */

.profile-public-cover{
    height:226px !important;
    min-height:226px !important;
    max-height:226px !important;
    overflow:hidden !important;
}

.profile-public-cover img{
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

.profile-public-cover--empty{
    width:100%;
    height:100%;
}

.profile-public-avatar{
    width:112px !important;
    height:112px !important;
    min-width:112px !important;
    min-height:112px !important;
    max-width:112px !important;
    max-height:112px !important;
    flex:0 0 112px !important;
    overflow:hidden !important;
}

.profile-public-avatar img,
.profile-public-avatar-fallback{
    width:100% !important;
    height:100% !important;
    display:block !important;
}

.profile-public-avatar img{
    object-fit:cover !important;
    object-position:center center !important;
}

@media (max-width: 900px){
    .profile-public-cover{
        height:200px !important;
        min-height:200px !important;
        max-height:200px !important;
    }

    .profile-public-avatar{
        width:96px !important;
        height:96px !important;
        min-width:96px !important;
        min-height:96px !important;
        max-width:96px !important;
        max-height:96px !important;
        flex:0 0 96px !important;
    }
}

@media (max-width: 640px){
    .profile-public-cover{
        height:170px !important;
        min-height:170px !important;
        max-height:170px !important;
    }

    .profile-public-avatar{
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        flex:0 0 84px !important;
    }
}




/* PROFILE HERO LAYOUT LOCK V2 */
/* Make uploaded cover/avatar behave exactly like a locked UI template */

.profile-public-hero{
    position:relative !important;
    overflow:hidden !important;
}

.profile-public-cover{
    position:relative !important;
    width:100% !important;
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
    overflow:hidden !important;
}

.profile-public-cover img{
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

.profile-public-cover--empty{
    width:100% !important;
    height:100% !important;
}

.profile-public-shell{
    position:relative !important;
    display:block !important;
    padding:18px 24px 26px 164px !important;
    margin-top:0 !important;
    min-height:185px !important;
    z-index:2 !important;
}

.profile-public-avatar{
    position:absolute !important;
    left:24px !important;
    top:-36px !important;
    width:96px !important;
    height:96px !important;
    min-width:96px !important;
    min-height:96px !important;
    max-width:96px !important;
    max-height:96px !important;
    flex:none !important;
    overflow:hidden !important;
    z-index:3 !important;
}

.profile-public-avatar img,
.profile-public-avatar-fallback{
    width:100% !important;
    height:100% !important;
    display:block !important;
}

.profile-public-avatar img{
    object-fit:cover !important;
    object-position:center center !important;
}

.profile-public-heading{
    min-width:0 !important;
    display:flex !important;
    flex-direction:column !important;
    gap:12px !important;
}

.profile-public-identity{
    gap:8px !important;
}

.profile-public-name{
    margin:0 !important;
    font-size:clamp(2rem, 2.8vw, 2.75rem) !important;
    line-height:1.02 !important;
}

.profile-public-username{
    margin-top:0 !important;
}

.profile-badge-row{
    margin-top:12px !important;
}

.profile-public-summary{
    margin-top:4px !important;
}

.profile-headline-line{
    margin-top:2px !important;
}

.profile-meta-row{
    margin-top:4px !important;
}

.profile-bio-card{
    margin-top:2px !important;
}

/* Tablet */
@media (max-width: 900px){
    .profile-public-cover{
        height:200px !important;
        min-height:200px !important;
        max-height:200px !important;
    }

    .profile-public-shell{
        padding:18px 20px 22px 146px !important;
        min-height:170px !important;
    }

    .profile-public-avatar{
        left:20px !important;
        top:-32px !important;
        width:88px !important;
        height:88px !important;
        min-width:88px !important;
        min-height:88px !important;
        max-width:88px !important;
        max-height:88px !important;
    }
}

/* Mobile */
@media (max-width: 640px){
    .profile-public-cover{
        height:170px !important;
        min-height:170px !important;
        max-height:170px !important;
    }

    .profile-public-shell{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        padding:14px 14px 16px 14px !important;
        min-height:0 !important;
    }

    .profile-public-avatar{
        position:relative !important;
        left:auto !important;
        top:auto !important;
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        margin-top:-44px !important;
        margin-bottom:6px !important;
    }

    .profile-public-name{
        font-size:1.42rem !important;
        line-height:1.06 !important;
    }

    .profile-public-summary{
        grid-template-columns:1fr !important;
    }
}




/* PROFILE HERO FRAME FINAL LOCK V3 */
/* Final lock: uploaded cover/avatar must NEVER affect hero width or layout */

.profile-public-hero{
    width:min(100%, 960px) !important;
    max-width:960px !important;
    min-width:960px !important;
    margin:0 auto 24px !important;
    position:relative !important;
    display:block !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

.profile-public-cover{
    position:relative !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:220px !important;
    min-height:220px !important;
    max-height:220px !important;
    overflow:hidden !important;
    display:block !important;
    flex:none !important;
}

.profile-public-cover > img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    height:100% !important;
    min-height:100% !important;
    max-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
    transform:none !important;
}

.profile-public-cover--empty{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:block !important;
}

.profile-public-overlay{
    position:absolute !important;
    inset:0 !important;
    pointer-events:none !important;
}

.profile-public-shell{
    position:relative !important;
    width:100% !important;
    min-width:100% !important;
    max-width:100% !important;
    box-sizing:border-box !important;
}

.profile-public-avatar{
    position:absolute !important;
    left:24px !important;
    top:-36px !important;
    width:96px !important;
    height:96px !important;
    min-width:96px !important;
    min-height:96px !important;
    max-width:96px !important;
    max-height:96px !important;
    flex:0 0 96px !important;
    overflow:hidden !important;
    z-index:3 !important;
    box-sizing:border-box !important;
}

.profile-public-avatar > img,
.profile-public-avatar-fallback{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:block !important;
}

.profile-public-avatar > img{
    object-fit:cover !important;
    object-position:center center !important;
}

@media (max-width: 1024px){
    .profile-public-hero{
        width:min(100%, 920px) !important;
        max-width:920px !important;
        min-width:0 !important;
    }
}

@media (max-width: 900px){
    .profile-public-hero{
        width:min(100%, 100%) !important;
        max-width:100% !important;
        min-width:0 !important;
    }

    .profile-public-cover{
        height:200px !important;
        min-height:200px !important;
        max-height:200px !important;
    }

    .profile-public-avatar{
        left:20px !important;
        top:-32px !important;
        width:88px !important;
        height:88px !important;
        min-width:88px !important;
        min-height:88px !important;
        max-width:88px !important;
        max-height:88px !important;
        flex:0 0 88px !important;
    }
}

@media (max-width: 640px){
    .profile-public-cover{
        height:170px !important;
        min-height:170px !important;
        max-height:170px !important;
    }

    .profile-public-shell{
        width:100% !important;
        min-width:100% !important;
        max-width:100% !important;
    }

    .profile-public-avatar{
        position:relative !important;
        left:auto !important;
        top:auto !important;
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        flex:0 0 84px !important;
    }

    .profile-public-avatar > img,
    .profile-public-avatar-fallback{
        position:absolute !important;
        inset:0 !important;
    }
}






/* PROFILE HERO WIDTH + COVER LOCK FIX START */
:root{
    --profile-shell-max: 1280px;
    --profile-shell-gutter: 18px;
    --profile-cover-height-desktop: 360px;
    --profile-cover-height-tablet: 300px;
    --profile-cover-height-mobile: 220px;
}

/* shared width for all major profile sections */
body.profile-modern .profile-public-hero,
body.profile-modern .profile-overview-shell,
body.profile-modern .profile-activity-section,
body.profile-modern .profile-collections-section,
body.profile-modern .history-section,
body.profile-modern .profile-related-section,
body.profile-modern .fc-ui-strip-v2--profile,
body.profile-modern .fc-chip-cloud-v2--profile{
    width:min(calc(100% - (var(--profile-shell-gutter) * 2)), var(--profile-shell-max)) !important;
    max-width:var(--profile-shell-max) !important;
    margin-left:auto !important;
    margin-right:auto !important;
    box-sizing:border-box !important;
}

/* hero */
body.profile-modern .profile-public-hero{
    margin-top:0 !important;
    margin-bottom:22px !important;
    border-radius:34px !important;
    overflow:hidden !important;
    box-shadow:0 24px 60px rgba(15,23,42,.08) !important;
}

/* fixed premium cover frame */
body.profile-modern .profile-public-cover{
    position:relative !important;
    width:100% !important;
    height:var(--profile-cover-height-desktop) !important;
    min-height:var(--profile-cover-height-desktop) !important;
    max-height:var(--profile-cover-height-desktop) !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    flex:0 0 auto !important;
    border-radius:0 !important;
}

body.profile-modern .profile-public-cover img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

body.profile-modern .profile-public-cover--empty,
body.profile-modern .profile-public-overlay{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
}

/* hero content area */
body.profile-modern .profile-public-shell{
    width:100% !important;
    box-sizing:border-box !important;
    padding:0 26px 22px !important;
    margin-top:-58px !important;
    gap:18px !important;
    align-items:flex-end !important;
}

body.profile-modern .profile-public-hero--private .profile-public-shell{
    margin-top:-58px !important;
}

body.profile-modern .profile-public-avatar{
    width:118px !important;
    height:118px !important;
    border-radius:28px !important;
    flex:0 0 118px !important;
    box-shadow:0 18px 36px rgba(15,23,42,.18) !important;
}

body.profile-modern .profile-public-heading{
    width:100% !important;
    max-width:none !important;
}

body.profile-modern .profile-public-name{
    font-size:3rem !important;
    line-height:1.02 !important;
}

body.profile-modern .profile-public-username{
    font-size:1.05rem !important;
}

body.profile-modern .profile-public-summary{
    width:100% !important;
}

body.profile-modern .profile-public-summary-chip{
    min-height:68px !important;
}

body.profile-modern .profile-overview-shell{
    margin-top:0 !important;
}

@media (max-width: 1100px){
    :root{
        --profile-shell-max: 1180px;
        --profile-shell-gutter: 16px;
        --profile-cover-height-desktop: 320px;
    }

    body.profile-modern .profile-public-name{
        font-size:2.5rem !important;
    }
}

@media (max-width: 900px){
    body.profile-modern .profile-public-cover{
        height:var(--profile-cover-height-tablet) !important;
        min-height:var(--profile-cover-height-tablet) !important;
        max-height:var(--profile-cover-height-tablet) !important;
    }

    body.profile-modern .profile-public-shell{
        padding:0 20px 20px !important;
        margin-top:-48px !important;
    }

    body.profile-modern .profile-public-avatar{
        width:96px !important;
        height:96px !important;
        flex:0 0 96px !important;
        border-radius:24px !important;
    }

    body.profile-modern .profile-public-name{
        font-size:2rem !important;
    }

    body.profile-modern .profile-public-username{
        font-size:.96rem !important;
    }
}

@media (max-width: 640px){
    body.profile-modern .profile-public-cover{
        height:var(--profile-cover-height-mobile) !important;
        min-height:var(--profile-cover-height-mobile) !important;
        max-height:var(--profile-cover-height-mobile) !important;
    }

    body.profile-modern .profile-public-shell{
        flex-direction:column !important;
        align-items:flex-start !important;
        padding:0 16px 18px !important;
        margin-top:-40px !important;
        gap:14px !important;
    }

    body.profile-modern .profile-public-avatar{
        width:84px !important;
        height:84px !important;
        flex:0 0 84px !important;
        border-radius:20px !important;
    }

    body.profile-modern .profile-public-name{
        font-size:1.55rem !important;
    }
}
/* PROFILE HERO WIDTH + COVER LOCK FIX END */




/* PROFILE SUPER PREMIUM V6 */
/* Final authoritative premium layer for FameClock public profile */

:root{
    --fc-profile-max: 1240px;
    --fc-profile-gutter: 18px;
    --fc-radius-xxl: 34px;
    --fc-radius-xl: 28px;
    --fc-radius-lg: 22px;
    --fc-radius-md: 18px;
    --fc-border: rgba(219,229,242,.92);
    --fc-border-strong: rgba(208,221,238,.96);
    --fc-shadow-soft: 0 18px 40px rgba(15,23,42,.06);
    --fc-shadow-card: 0 16px 34px rgba(15,23,42,.07);
    --fc-shadow-lift: 0 22px 46px rgba(15,23,42,.10);
    --fc-bg-card: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.91));
    --fc-bg-card-soft: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.88));
    --fc-text-main: #132238;
    --fc-text-soft: #60728a;
    --fc-text-muted: #8395ab;
    --fc-blue: #4f7cff;
    --fc-blue-dark: #2146c7;
    --fc-green: #0f8a5f;
    --fc-violet: #7c3aed;
}

body.profile-modern{
    background:
        radial-gradient(circle at 8% 0%, rgba(79,124,255,.16), transparent 26%),
        radial-gradient(circle at 100% 0%, rgba(139,92,246,.10), transparent 24%),
        linear-gradient(180deg, #f3f7ff 0%, #f8fbff 30%, #ffffff 100%) !important;
    color: var(--fc-text-main);
}

body.profile-modern .container{
    max-width: 1320px;
    padding-left: var(--fc-profile-gutter);
    padding-right: var(--fc-profile-gutter);
    box-sizing: border-box;
}

/* shared section width */
body.profile-modern .profile-public-hero,
body.profile-modern .profile-overview-shell,
body.profile-modern .profile-collections-section,
body.profile-modern .profile-people-section,
body.profile-modern .history-section,
body.profile-modern .profile-related-section,
body.profile-modern .fc-ui-strip-v2--profile,
body.profile-modern .fc-chip-cloud-v2--profile{
    width: min(100%, var(--fc-profile-max)) !important;
    max-width: var(--fc-profile-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* HERO */
body.profile-modern .profile-public-hero{
    position: relative !important;
    width: min(100%, var(--fc-profile-max)) !important;
    max-width: var(--fc-profile-max) !important;
    min-width: 0 !important;
    margin: 0 auto 26px !important;
    border-radius: 38px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.94)) !important;
    box-shadow: 0 30px 74px rgba(15,23,42,.12) !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

body.profile-modern .profile-public-hero::before{
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -130px;
    right: -100px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(79,124,255,.22) 0%, rgba(79,124,255,0) 72%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

body.profile-modern .profile-public-hero::after{
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    left: -90px;
    bottom: -120px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(139,92,246,.16) 0%, rgba(139,92,246,0) 72%);
    filter: blur(18px);
    pointer-events: none;
    z-index: 0;
}

body.profile-modern .profile-public-cover{
    position: relative !important;
    width: 100% !important;
    height: 320px !important;
    min-height: 320px !important;
    max-height: 320px !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    display: block !important;
    border-radius: 0 !important;
}

body.profile-modern .profile-public-cover img{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

body.profile-modern .profile-public-cover--empty{
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.22), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.18), transparent 24%),
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 54%, #ede9fe 100%) !important;
}

body.profile-modern .profile-public-overlay{
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,14,27,.04) 0%, rgba(7,14,27,.10) 34%, rgba(7,14,27,.42) 100%) !important;
    pointer-events: none !important;
}

/* final shell layout */
body.profile-modern .profile-public-shell{
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 140px minmax(0, 1fr) !important;
    align-items: end !important;
    gap: 24px !important;
    width: 100% !important;
    padding: 0 30px 30px !important;
    margin-top: -72px !important;
    min-height: 0 !important;
    box-sizing: border-box !important;
}

body.profile-modern .profile-public-avatar{
    position: relative !important;
    left: auto !important;
    top: auto !important;
    width: 132px !important;
    height: 132px !important;
    min-width: 132px !important;
    min-height: 132px !important;
    max-width: 132px !important;
    max-height: 132px !important;
    flex: 0 0 132px !important;
    border-radius: 30px !important;
    border: 5px solid rgba(255,255,255,.98) !important;
    background: #eef4fb !important;
    box-shadow:
        0 26px 46px rgba(15,23,42,.18),
        0 0 0 1px rgba(255,255,255,.72) !important;
    overflow: hidden !important;
}

body.profile-modern .profile-public-avatar img,
body.profile-modern .profile-public-avatar-fallback{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

body.profile-modern .profile-public-avatar img{
    object-fit: cover !important;
    object-position: center center !important;
}

body.profile-modern .profile-public-avatar-fallback{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
}

body.profile-modern .profile-public-heading{
    min-width: 0 !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
}

body.profile-modern .profile-public-identity{
    gap: 10px !important;
}

body.profile-modern .profile-public-eyebrow{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: linear-gradient(135deg, #0f172a, #1f2e48) !important;
    color: #fff !important;
    font-size: .73rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.18) !important;
}

body.profile-modern .profile-public-eyebrow i{
    color: #93c5fd !important;
}

body.profile-modern .profile-public-name{
    margin: 0 !important;
    color: var(--fc-text-main) !important;
    font-size: clamp(2rem, 3vw, 2.9rem) !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    overflow-wrap: anywhere !important;
}

body.profile-modern .profile-public-username{
    margin-top: 0 !important;
    color: #6a7c94 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
}

body.profile-modern .profile-badge-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 2px !important;
}

body.profile-modern .profile-badge-chip{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.84) !important;
    border: 1px solid rgba(216,228,241,.96) !important;
    color: #334155 !important;
    font-size: .81rem !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 22px rgba(15,23,42,.05) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
}

body.profile-modern .profile-badge-chip.tier-basic{
    background: rgba(37,99,235,.08) !important;
    border-color: rgba(37,99,235,.18) !important;
    color: #1d4ed8 !important;
}

body.profile-modern .profile-badge-chip.tier-verified{
    background: rgba(16,185,129,.10) !important;
    border-color: rgba(16,185,129,.18) !important;
    color: #047857 !important;
}

body.profile-modern .profile-badge-chip.tier-brand{
    background: rgba(124,58,237,.10) !important;
    border-color: rgba(124,58,237,.18) !important;
    color: #6d28d9 !important;
}

body.profile-modern .profile-public-summary{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 12px !important;
    margin-top: 2px !important;
    width: 100% !important;
}

body.profile-modern .profile-public-summary-chip{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 4px !important;
    min-height: 86px !important;
    padding: 16px 18px !important;
    border-radius: 22px !important;
    border: 1px solid var(--fc-border-strong) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.91), rgba(246,249,255,.86)) !important;
    box-shadow: 0 16px 30px rgba(15,23,42,.06) !important;
    backdrop-filter: blur(14px) !important;
    -webkit-backdrop-filter: blur(14px) !important;
}

body.profile-modern .profile-public-summary-chip strong{
    color: var(--fc-text-main) !important;
    font-size: 1.15rem !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
}

body.profile-modern .profile-public-summary-chip span{
    color: #64748b !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}

body.profile-modern .profile-headline-line{
    max-width: 980px !important;
    margin-top: 0 !important;
    color: #304256 !important;
    font-size: 1.03rem !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
}

body.profile-modern .profile-meta-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 0 !important;
}

body.profile-modern .profile-meta-row span{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    background: rgba(248,251,255,.90) !important;
    border: 1px solid var(--fc-border) !important;
    color: #42566d !important;
    box-shadow: 0 10px 18px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-bio-card{
    max-width: 1000px !important;
    margin-top: 0 !important;
    padding: 18px 20px !important;
    border-radius: 22px !important;
    border: 1px solid var(--fc-border-strong) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.92)) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.05) !important;
    color: #475569 !important;
    font-size: .96rem !important;
    line-height: 1.78 !important;
    white-space: pre-line !important;
}

/* OVERVIEW / CONNECT / FOLLOW / SHARE */
body.profile-modern .profile-overview-shell{
    position: relative !important;
    margin: 20px auto 30px !important;
    padding: 24px !important;
    border-radius: 32px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.88), rgba(247,250,255,.82)) !important;
    box-shadow: 0 26px 64px rgba(15,23,42,.08) !important;
    backdrop-filter: blur(20px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(145%) !important;
    overflow: hidden !important;
}

body.profile-modern .profile-overview-shell::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.11), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.08), transparent 24%) !important;
    pointer-events: none !important;
}

body.profile-modern .profile-overview-shell > *{
    position: relative !important;
    z-index: 1 !important;
}

body.profile-modern .profile-overview-shell > * + *{
    margin-top: 18px !important;
}

body.profile-modern .profile-social-links-shelf,
body.profile-modern .profile-follow-panel,
body.profile-modern .profile-share-strip,
body.profile-modern .profile-follow-alert{
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

body.profile-modern .profile-social-links-shelf{
    padding: 18px 20px !important;
    border-radius: 24px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.86)) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-social-links-title{
    margin-bottom: 12px !important;
    color: #7186a2 !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.profile-modern .social-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.profile-modern .social-row .social-btn{
    width: 46px !important;
    height: 46px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 16px !important;
    background: linear-gradient(180deg, #ffffff, #f6f9ff) !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: 0 10px 20px rgba(15,23,42,.04) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
}

body.profile-modern .social-row .social-btn:hover{
    transform: translateY(-2px) !important;
    border-color: #c8d7ea !important;
    box-shadow: 0 16px 28px rgba(15,23,42,.08) !important;
    color: var(--fc-blue-dark) !important;
}

body.profile-modern .profile-follow-alert{
    padding: 14px 16px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 24px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-follow-panel{
    display: flex !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    gap: 16px 18px !important;
    flex-wrap: wrap !important;
    padding: 20px !important;
    border-radius: 26px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,255,.88)) !important;
    box-shadow: 0 16px 34px rgba(15,23,42,.06) !important;
}

body.profile-modern .profile-follow-stats{
    flex: 1 1 360px !important;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

body.profile-modern .profile-follow-stat{
    min-width: 0 !important;
    padding: 14px 16px !important;
    border-radius: 20px !important;
    background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 22px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-follow-stat strong{
    display: block !important;
    color: var(--fc-text-main) !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
}

body.profile-modern .profile-follow-stat span{
    display: block !important;
    margin-top: 4px !important;
    color: #64748b !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}

body.profile-modern .profile-follow-form{
    margin-left: 0 !important;
    align-self: center !important;
}

body.profile-modern .profile-follow-btn{
    min-height: 50px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.25) !important;
    transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, background .18s ease !important;
}

body.profile-modern .profile-follow-btn.is-active{
    background: #0f172a !important;
}

body.profile-modern .profile-follow-btn:hover{
    transform: translateY(-1px) !important;
    filter: brightness(1.03) !important;
    box-shadow: 0 18px 32px rgba(37,99,235,.26) !important;
}

body.profile-modern .profile-share-strip{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
    padding: 18px 20px !important;
    border-radius: 24px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.95), rgba(247,250,255,.88)) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-share-strip__label{
    color: #51657f !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.profile-modern .profile-share-strip__actions{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.profile-modern .profile-share-pill{
    min-height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--fc-border) !important;
    background: rgba(255,255,255,.88) !important;
    color: #334155 !important;
    box-shadow: 0 10px 18px rgba(15,23,42,.04) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease, color .18s ease !important;
}

body.profile-modern .profile-share-pill:hover{
    transform: translateY(-1px) !important;
    border-color: #c8d7ea !important;
    box-shadow: 0 14px 24px rgba(15,23,42,.06) !important;
}

body.profile-modern .profile-share-pill.is-primary{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.22) !important;
}

/* activity + stats + reputation */
body.profile-modern .profile-activity-section .gallery-header,
body.profile-modern .profile-people-section .gallery-header{
    margin-bottom: 18px !important;
}

body.profile-modern .profile-activity-tabs{
    margin: 16px 0 18px !important;
    gap: 12px !important;
}

body.profile-modern .profile-activity-tab{
    padding: 11px 15px !important;
    border-radius: 999px !important;
    background: #eef4fb !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.03) !important;
}

body.profile-modern .profile-activity-tab.is-active{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.22) !important;
}

body.profile-modern .profile-activity-card{
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 16px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90)) !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-activity-card:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 40px rgba(15,23,42,.09) !important;
    border-color: #cad8ea !important;
}

body.profile-modern .profile-activity-icon{
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    box-shadow: 0 12px 24px rgba(37,99,235,.18) !important;
}

body.profile-modern .medal-container{
    gap: 12px !important;
}

body.profile-modern .medal-item{
    box-shadow: 0 10px 22px rgba(15,23,42,.08) !important;
}

body.profile-modern .stats-row{
    gap: 14px !important;
}

body.profile-modern .stats-row .stat-item{
    border-radius: 24px !important;
    box-shadow: 0 16px 30px rgba(15,23,42,.06) !important;
}

body.profile-modern .rep-strip{
    gap: 14px !important;
}

body.profile-modern .rep-card{
    box-shadow: 0 16px 30px rgba(15,23,42,.06) !important;
}

/* collections section */
body.profile-modern .profile-collections-section,
body.profile-modern .profile-people-section,
body.profile-modern .history-section{
    position: relative;
    margin-top: 0 !important;
    margin-bottom: 28px !important;
    padding: 24px !important;
    border-radius: 30px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(248,251,255,.86)) !important;
    box-shadow: 0 24px 56px rgba(15,23,42,.07) !important;
    overflow: hidden !important;
}

body.profile-modern .profile-collections-section::before,
body.profile-modern .profile-people-section::before,
body.profile-modern .history-section::before{
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.06), transparent 20%);
    pointer-events: none;
}

body.profile-modern .profile-collections-section > *,
body.profile-modern .profile-people-section > *,
body.profile-modern .history-section > *{
    position: relative;
    z-index: 1;
}

body.profile-modern .gallery-header{
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 18px !important;
}

body.profile-modern .gallery-header > div:first-child{
    color: var(--fc-text-main) !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
}

body.profile-modern .gallery-meta{
    display: block !important;
    margin-top: 6px !important;
    color: #7b8ea6 !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.profile-modern .profile-collections-cta{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.20) !important;
}

body.profile-modern .profile-collections-grid{
    gap: 18px !important;
}

body.profile-modern .profile-collection-card{
    border-radius: 24px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90)) !important;
    box-shadow: 0 16px 32px rgba(15,23,42,.06) !important;
    overflow: hidden !important;
}

body.profile-modern .profile-collection-card:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 22px 40px rgba(15,23,42,.10) !important;
    border-color: #cad8ea !important;
}

body.profile-modern .profile-collection-cover{
    border-radius: 18px !important;
    overflow: hidden !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.06) !important;
}

body.profile-modern .profile-collection-body{
    padding-top: 2px !important;
}

body.profile-modern .profile-collection-count{
    box-shadow: 0 8px 18px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-collection-chip{
    box-shadow: 0 8px 16px rgba(15,23,42,.04) !important;
}

/* asset collection grid */
body.profile-modern .grid{
    width: min(100%, var(--fc-profile-max)) !important;
    max-width: var(--fc-profile-max) !important;
    margin: 0 auto !important;
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
}

body.profile-modern .slot-card{
    position: relative !important;
    overflow: hidden !important;
    border-radius: 26px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.93)) !important;
    box-shadow: 0 18px 36px rgba(15,23,42,.07) !important;
}

body.profile-modern .slot-card::before{
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top right, rgba(79,124,255,.06), transparent 28%);
    pointer-events: none;
}

body.profile-modern .slot-card:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 24px 42px rgba(15,23,42,.10) !important;
    border-color: #cad8ea !important;
}

body.profile-modern .time-badge.profile-time-link{
    box-shadow: 0 10px 22px rgba(15,23,42,.08) !important;
}

body.profile-modern .slot-visual{
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: 0 12px 24px rgba(15,23,42,.06) !important;
}

body.profile-modern .price-tag,
body.profile-modern .status-tag{
    box-shadow: 0 8px 18px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-minute-open-link{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    border: 1px solid var(--fc-border) !important;
    background: rgba(255,255,255,.90) !important;
    box-shadow: 0 10px 18px rgba(15,23,42,.04) !important;
}

/* history */
body.profile-modern .history-title{
    margin-bottom: 16px !important;
}

body.profile-modern .history-row{
    border-radius: 22px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90)) !important;
    box-shadow: 0 12px 26px rgba(15,23,42,.05) !important;
}

body.profile-modern .history-row:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 18px 34px rgba(15,23,42,.08) !important;
}

body.profile-modern .history-empty-state,
body.profile-modern .grid-empty-state{
    border-radius: 22px !important;
    border: 1px dashed var(--fc-border-strong) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.94), rgba(248,251,255,.88)) !important;
    box-shadow: 0 12px 28px rgba(15,23,42,.04) !important;
    color: var(--fc-text-soft) !important;
}

/* related + people */
body.profile-modern .profile-people-grid{
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 16px !important;
}

body.profile-modern .profile-people-card{
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.90)) !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-people-card:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 20px 38px rgba(15,23,42,.09) !important;
    border-color: #cad8ea !important;
}

body.profile-modern .profile-related-section{
    margin-top: 0 !important;
    margin-bottom: 28px !important;
}

body.profile-modern .profile-related-card{
    position: relative !important;
    overflow: hidden !important;
    border-radius: 30px !important;
    padding: 24px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.90)) !important;
    box-shadow: 0 22px 46px rgba(15,23,42,.07) !important;
}

body.profile-modern .profile-related-card::before{
    content: "" !important;
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 24%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.08), transparent 20%) !important;
    pointer-events: none !important;
}

body.profile-modern .profile-related-card > *{
    position: relative !important;
    z-index: 1 !important;
}

body.profile-modern .profile-related-link{
    min-height: 138px !important;
    padding: 18px !important;
    border-radius: 22px !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88)) !important;
    border: 1px solid var(--fc-border) !important;
    box-shadow: 0 12px 24px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-related-link:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 18px 34px rgba(15,23,42,.08) !important;
    border-color: #cad8ea !important;
}

/* pagination */
body.profile-modern .pagination{
    gap: 10px !important;
    margin-top: 20px !important;
}

body.profile-modern .page-btn{
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 14px !important;
    border: 1px solid var(--fc-border) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.96), rgba(248,251,255,.88)) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.04) !important;
}

body.profile-modern .page-btn.active{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.22) !important;
}

/* modal */
body.profile-modern .asset-modal-content{
    border-radius: 28px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    box-shadow: 0 30px 70px rgba(15,23,42,.28) !important;
    backdrop-filter: blur(18px) saturate(145%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(145%) !important;
}

/* focus */
body.profile-modern .profile-follow-btn:focus-visible,
body.profile-modern .profile-share-pill:focus-visible,
body.profile-modern .profile-activity-tab:focus-visible,
body.profile-modern .profile-social-links-shelf .social-btn:focus-visible,
body.profile-modern .profile-collections-cta:focus-visible,
body.profile-modern .profile-people-card:focus-visible,
body.profile-modern .profile-related-link:focus-visible,
body.profile-modern .profile-minute-open-link:focus-visible{
    outline: none !important;
    box-shadow:
        0 0 0 4px rgba(79,124,255,.16),
        0 18px 30px rgba(15,23,42,.10) !important;
}

/* responsive */
@media (max-width: 1100px){
    body.profile-modern .profile-public-cover{
        height: 290px !important;
        min-height: 290px !important;
        max-height: 290px !important;
    }

    body.profile-modern .profile-public-name{
        font-size: 2.45rem !important;
    }
}

@media (max-width: 900px){
    body.profile-modern .profile-public-cover{
        height: 250px !important;
        min-height: 250px !important;
        max-height: 250px !important;
    }

    body.profile-modern .profile-public-shell{
        grid-template-columns: 104px minmax(0, 1fr) !important;
        gap: 18px !important;
        padding: 0 22px 22px !important;
        margin-top: -58px !important;
    }

    body.profile-modern .profile-public-avatar{
        width: 100px !important;
        height: 100px !important;
        min-width: 100px !important;
        min-height: 100px !important;
        max-width: 100px !important;
        max-height: 100px !important;
        border-radius: 24px !important;
    }

    body.profile-modern .profile-public-name{
        font-size: 2rem !important;
    }

    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-related-card{
        border-radius: 26px !important;
        padding: 20px !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .profile-public-cover{
        height: 198px !important;
        min-height: 198px !important;
        max-height: 198px !important;
    }

    body.profile-modern .profile-public-shell{
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 0 18px 20px !important;
        margin-top: -48px !important;
    }

    body.profile-modern .profile-public-avatar{
        width: 92px !important;
        height: 92px !important;
        min-width: 92px !important;
        min-height: 92px !important;
        max-width: 92px !important;
        max-height: 92px !important;
        border-radius: 22px !important;
    }

    body.profile-modern .profile-public-name{
        font-size: 1.62rem !important;
    }

    body.profile-modern .profile-public-summary{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-follow-stats{
        grid-template-columns: 1fr 1fr !important;
    }

    body.profile-modern .profile-follow-form{
        width: 100% !important;
    }

    body.profile-modern .profile-follow-btn{
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 560px){
    body.profile-modern .container{
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    body.profile-modern .profile-public-cover{
        height: 176px !important;
        min-height: 176px !important;
        max-height: 176px !important;
    }

    body.profile-modern .profile-public-shell{
        padding: 0 14px 16px !important;
        margin-top: -42px !important;
        gap: 14px !important;
    }

    body.profile-modern .profile-public-avatar{
        width: 84px !important;
        height: 84px !important;
        min-width: 84px !important;
        min-height: 84px !important;
        max-width: 84px !important;
        max-height: 84px !important;
        border-radius: 20px !important;
    }

    body.profile-modern .profile-public-name{
        font-size: 1.34rem !important;
    }

    body.profile-modern .profile-public-username,
    body.profile-modern .profile-headline-line,
    body.profile-modern .profile-bio-card{
        font-size: .89rem !important;
    }

    body.profile-modern .profile-badge-row{
        gap: 8px !important;
    }

    body.profile-modern .profile-badge-chip{
        padding: 8px 10px !important;
        font-size: .75rem !important;
    }

    body.profile-modern .profile-public-summary-chip{
        min-height: auto !important;
        padding: 14px !important;
        border-radius: 18px !important;
    }

    body.profile-modern .profile-follow-stats{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-share-strip__actions{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
        width: 100% !important;
    }

    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-collections-cta{
        width: 100% !important;
        justify-content: center !important;
    }

    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-related-card{
        padding: 16px !important;
        border-radius: 22px !important;
    }

    body.profile-modern .grid{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-related-link{
        min-height: auto !important;
        padding: 15px !important;
    }
}




/* PROFILE HERO ASIDE BALANCE V7 */
/* Keep all profile heroes visually consistent like the cleaner alexrho version */

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
    display:grid !important;
    grid-template-columns:minmax(0, 1.18fr) minmax(300px, .82fr) !important;
    gap:18px 22px !important;
    align-items:end !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-identity{
    grid-column:1 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
    grid-column:2 !important;
    align-self:stretch !important;
    min-width:0 !important;
    display:grid !important;
    align-content:start !important;
    gap:10px !important;
    padding:18px 18px !important;
    border-radius:24px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,255,.90)) !important;
    box-shadow:0 16px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-headline-line{
    margin:0 !important;
    max-width:none !important;
    color:#304256 !important;
    font-size:.98rem !important;
    line-height:1.65 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row{
    margin:0 !important;
    gap:10px !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span{
    width:max-content !important;
    max-width:100% !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
    margin:0 !important;
    max-width:none !important;
    padding:0 !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    color:#51657f !important;
    font-size:.92rem !important;
    line-height:1.72 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-summary{
    margin-top:6px !important;
}

@media (max-width: 980px){
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        grid-template-columns:minmax(0, 1fr) minmax(280px, .84fr) !important;
        gap:16px 18px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        padding:16px !important;
        border-radius:22px !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        display:flex !important;
        flex-direction:column !important;
        gap:14px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        width:100% !important;
        padding:14px !important;
        border-radius:20px !important;
    }
}



/* PROFILE HERO BOTTOM STRIP V8 */
/* Replace right-side aside panel with a clean bottom horizontal info strip */

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
    display:flex !important;
    flex-direction:column !important;
    gap:14px !important;
    align-items:stretch !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-identity{
    width:100% !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
    width:100% !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1.2fr) auto minmax(260px, .95fr) !important;
    gap:12px !important;
    align-items:stretch !important;
    padding:0 !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-headline-line{
    display:flex !important;
    align-items:center !important;
    min-height:54px !important;
    margin:0 !important;
    padding:12px 16px !important;
    border-radius:18px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,250,255,.86)) !important;
    box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
    color:#304256 !important;
    font-size:.95rem !important;
    line-height:1.6 !important;
    max-width:none !important;
    overflow-wrap:anywhere !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row{
    display:flex !important;
    align-items:stretch !important;
    gap:10px !important;
    margin:0 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    min-height:54px !important;
    padding:0 16px !important;
    border-radius:18px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,250,255,.86)) !important;
    box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
    white-space:nowrap !important;
    max-width:100% !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
    display:-webkit-box !important;
    -webkit-box-orient:vertical !important;
    -webkit-line-clamp:2 !important;
    overflow:hidden !important;
    min-height:54px !important;
    margin:0 !important;
    padding:12px 16px !important;
    border-radius:18px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,250,255,.86)) !important;
    box-shadow:0 12px 24px rgba(15,23,42,.05) !important;
    color:#51657f !important;
    font-size:.9rem !important;
    line-height:1.65 !important;
    max-width:none !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-summary{
    margin-top:4px !important;
}

@media (max-width: 1100px){
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        grid-template-columns:minmax(0, 1fr) auto !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
        grid-column:1 / -1 !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-headline-line,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
        min-height:0 !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row{
        width:100% !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span{
        width:max-content !important;
        max-width:100% !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
        -webkit-line-clamp:3 !important;
    }
}



/* PROFILE HERO FIXED BOTTOM STRIP V9 */
/* Keep hero identical across profiles. Extra fields become absolute bottom strip, not layout height. */

body.profile-modern .profile-public-shell{
    min-height:206px !important;
}

body.profile-modern .profile-public-heading{
    position:relative !important;
    min-height:176px !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
    position:relative !important;
    min-height:176px !important;
    padding-bottom:0 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-identity{
    width:100% !important;
    max-width:none !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
    position:absolute !important;
    left:0 !important;
    right:0 !important;
    bottom:0 !important;
    width:100% !important;
    display:grid !important;
    grid-template-columns:minmax(0, 1.18fr) auto minmax(230px, .9fr) !important;
    gap:10px !important;
    align-items:stretch !important;
    padding:0 !important;
    margin:0 !important;
    border:none !important;
    border-radius:0 !important;
    background:transparent !important;
    box-shadow:none !important;
    z-index:2 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-headline-line{
    display:flex !important;
    align-items:center !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 14px !important;
    border-radius:15px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88)) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
    color:#304256 !important;
    font-size:.9rem !important;
    line-height:1.45 !important;
    overflow:hidden !important;
    white-space:nowrap !important;
    text-overflow:ellipsis !important;
    max-width:none !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row{
    display:flex !important;
    align-items:stretch !important;
    gap:10px !important;
    margin:0 !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    min-height:42px !important;
    padding:0 14px !important;
    border-radius:15px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88)) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
    white-space:nowrap !important;
    max-width:100% !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
    display:flex !important;
    align-items:center !important;
    min-height:42px !important;
    margin:0 !important;
    padding:0 14px !important;
    border-radius:15px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88)) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
    color:#51657f !important;
    font-size:.88rem !important;
    line-height:1.4 !important;
    white-space:nowrap !important;
    overflow:hidden !important;
    text-overflow:ellipsis !important;
    max-width:none !important;
}

@media (max-width: 1100px){
    body.profile-modern .profile-public-shell{
        min-height:202px !important;
    }

    body.profile-modern .profile-public-heading,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        min-height:172px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        grid-template-columns:minmax(0, 1fr) auto !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
        grid-column:1 / -1 !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .profile-public-shell{
        min-height:0 !important;
    }

    body.profile-modern .profile-public-heading,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        min-height:0 !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        position:relative !important;
        left:auto !important;
        right:auto !important;
        bottom:auto !important;
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:10px !important;
        margin-top:2px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-headline-line,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-meta-row span,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
        min-height:0 !important;
        white-space:normal !important;
    }
}



/* PROFILE EXTRA BLOCK BELOW HERO V10 */
/* Keep hero identical across profiles. Move optional meta below hero in an independent premium strip. */

body.profile-modern .profile-extra-strip{
    width:min(100%, var(--fc-profile-max)) !important;
    max-width:var(--fc-profile-max) !important;
    margin:0 auto 22px !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-extra-strip__grid{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
}

body.profile-modern .profile-extra-item{
    min-height:76px !important;
    padding:16px 18px !important;
    border-radius:24px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.07), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.96), rgba(247,250,255,.90)) !important;
    box-shadow:0 16px 30px rgba(15,23,42,.05) !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-extra-item--headline{
    flex:1 1 320px !important;
}

body.profile-modern .profile-extra-item--location{
    flex:0 1 auto !important;
    min-width:180px !important;
}

body.profile-modern .profile-extra-item--bio{
    flex:1.1 1 360px !important;
}

body.profile-modern .profile-extra-item__label{
    margin-bottom:8px !important;
    color:#7b8ea6 !important;
    font-size:.72rem !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
}

body.profile-modern .profile-extra-item__value{
    color:#304256 !important;
    font-size:.95rem !important;
    font-weight:700 !important;
    line-height:1.65 !important;
    overflow-wrap:anywhere !important;
}

body.profile-modern .profile-extra-item--location .profile-extra-item__value{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    white-space:nowrap !important;
}

body.profile-modern .profile-extra-item__value--bio{
    color:#51657f !important;
    font-size:.92rem !important;
    font-weight:600 !important;
    line-height:1.7 !important;
    white-space:normal !important;
}

@media (max-width: 760px){
    body.profile-modern .profile-extra-strip{
        margin:0 auto 18px !important;
    }

    body.profile-modern .profile-extra-strip__grid{
        display:grid !important;
        grid-template-columns:1fr !important;
        gap:10px !important;
    }

    body.profile-modern .profile-extra-item{
        min-height:0 !important;
        padding:14px !important;
        border-radius:20px !important;
    }

    body.profile-modern .profile-extra-item--location{
        min-width:0 !important;
    }

    body.profile-modern .profile-extra-item--location .profile-extra-item__value{
        white-space:normal !important;
    }
}



/* PROFILE EXTRA BLOCK RELAX V11 */
/* Make the standalone extra-info block below hero feel spacious and premium */

body.profile-modern .profile-extra-strip{
    width:min(100%, var(--fc-profile-max)) !important;
    max-width:var(--fc-profile-max) !important;
    margin:0 auto 26px !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-extra-strip__grid{
    display:grid !important;
    grid-template-columns:minmax(0, 1.2fr) 190px minmax(0, 1.1fr) !important;
    gap:16px !important;
    padding:18px !important;
    border-radius:28px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 26%),
        linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88)) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.06) !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-extra-item{
    min-height:104px !important;
    padding:18px 20px !important;
    border-radius:22px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,251,255,.92)) !important;
    box-shadow:0 14px 28px rgba(15,23,42,.05) !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-extra-item--headline{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

body.profile-modern .profile-extra-item--location{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

body.profile-modern .profile-extra-item--bio{
    display:flex !important;
    flex-direction:column !important;
    justify-content:center !important;
}

body.profile-modern .profile-extra-item__label{
    margin-bottom:10px !important;
    color:#7b8ea6 !important;
    font-size:.72rem !important;
    font-weight:900 !important;
    letter-spacing:.12em !important;
    text-transform:uppercase !important;
}

body.profile-modern .profile-extra-item__value{
    color:#304256 !important;
    font-size:1rem !important;
    font-weight:700 !important;
    line-height:1.65 !important;
    overflow-wrap:anywhere !important;
}

body.profile-modern .profile-extra-item--location .profile-extra-item__value{
    display:inline-flex !important;
    align-items:center !important;
    gap:8px !important;
    white-space:nowrap !important;
}

body.profile-modern .profile-extra-item__value--bio{
    color:#51657f !important;
    font-size:.95rem !important;
    font-weight:600 !important;
    line-height:1.72 !important;
    white-space:normal !important;
}

@media (max-width: 1100px){
    body.profile-modern .profile-extra-strip__grid{
        grid-template-columns:minmax(0, 1fr) minmax(0, 1fr) !important;
        gap:14px !important;
        padding:16px !important;
        border-radius:24px !important;
    }

    body.profile-modern .profile-extra-item{
        min-height:96px !important;
        padding:16px 18px !important;
        border-radius:20px !important;
    }

    body.profile-modern .profile-extra-item--bio{
        grid-column:1 / -1 !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .profile-extra-strip{
        margin:0 auto 20px !important;
    }

    body.profile-modern .profile-extra-strip__grid{
        grid-template-columns:1fr !important;
        gap:12px !important;
        padding:14px !important;
        border-radius:22px !important;
    }

    body.profile-modern .profile-extra-item{
        min-height:0 !important;
        padding:14px 15px !important;
        border-radius:18px !important;
    }

    body.profile-modern .profile-extra-item--location .profile-extra-item__value{
        white-space:normal !important;
    }

    body.profile-modern .profile-extra-item__value,
    body.profile-modern .profile-extra-item__value--bio{
        font-size:.92rem !important;
    }
}



/* PROFILE HERO SAME SIZE FINAL V12 */
/* Final hard lock: every public profile hero must render with the exact same structure/size as the clean default hero */

body.profile-modern .profile-public-hero,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside{
    width:min(100%, var(--fc-profile-max)) !important;
    max-width:var(--fc-profile-max) !important;
    min-width:0 !important;
    margin:0 auto 26px !important;
    border-radius:38px !important;
    overflow:hidden !important;
}

body.profile-modern .profile-public-hero .profile-public-cover,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-cover{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    overflow:hidden !important;
    aspect-ratio:auto !important;
    display:block !important;
}

body.profile-modern .profile-public-hero .profile-public-cover img,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-cover img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

body.profile-modern .profile-public-hero .profile-public-shell,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-shell{
    position:relative !important;
    z-index:2 !important;
    display:grid !important;
    grid-template-columns:140px minmax(0, 1fr) !important;
    align-items:end !important;
    gap:24px !important;
    width:100% !important;
    padding:0 30px 30px !important;
    margin-top:-72px !important;
    min-height:206px !important;
    box-sizing:border-box !important;
}

body.profile-modern .profile-public-hero .profile-public-avatar,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-avatar{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:132px !important;
    height:132px !important;
    min-width:132px !important;
    min-height:132px !important;
    max-width:132px !important;
    max-height:132px !important;
    flex:0 0 132px !important;
    border-radius:30px !important;
}

body.profile-modern .profile-public-hero .profile-public-heading,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:14px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:176px !important;
    padding:0 !important;
    margin:0 !important;
}

body.profile-modern .profile-public-hero .profile-public-identity,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-identity{
    gap:10px !important;
}

body.profile-modern .profile-public-hero .profile-public-name,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-name{
    font-size:clamp(2rem, 3vw, 2.9rem) !important;
    line-height:1 !important;
}

body.profile-modern .profile-public-hero .profile-public-username,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-username{
    font-size:1rem !important;
}

body.profile-modern .profile-public-hero .profile-public-summary,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-summary{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
    width:100% !important;
    margin-top:2px !important;
}

body.profile-modern .profile-public-hero .profile-public-summary-chip,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-summary-chip{
    min-height:86px !important;
}

body.profile-modern .profile-public-hero .profile-public-aside,
body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
    display:none !important;
}

/* keep below-hero extra block independent */
body.profile-modern .profile-extra-strip{
    margin-top:0 !important;
}

/* tablet */
@media (max-width: 900px){
    body.profile-modern .profile-public-hero .profile-public-cover,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-cover{
        height:250px !important;
        min-height:250px !important;
        max-height:250px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-shell,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-shell{
        grid-template-columns:104px minmax(0, 1fr) !important;
        gap:18px !important;
        padding:0 22px 22px !important;
        margin-top:-58px !important;
        min-height:202px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-avatar,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-avatar{
        width:100px !important;
        height:100px !important;
        min-width:100px !important;
        min-height:100px !important;
        max-width:100px !important;
        max-height:100px !important;
        border-radius:24px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-heading,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        min-height:172px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-name,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-name{
        font-size:2rem !important;
    }
}

/* mobile */
@media (max-width: 760px){
    body.profile-modern .profile-public-hero .profile-public-cover,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-cover{
        height:198px !important;
        min-height:198px !important;
        max-height:198px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-shell,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-shell{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:16px !important;
        padding:0 18px 20px !important;
        margin-top:-48px !important;
        min-height:0 !important;
    }

    body.profile-modern .profile-public-hero .profile-public-avatar,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-avatar{
        width:92px !important;
        height:92px !important;
        min-width:92px !important;
        min-height:92px !important;
        max-width:92px !important;
        max-height:92px !important;
        border-radius:22px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-heading,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-heading{
        min-height:0 !important;
    }

    body.profile-modern .profile-public-hero .profile-public-summary,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-summary{
        grid-template-columns:1fr !important;
    }

    body.profile-modern .profile-public-hero .profile-public-name,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-name{
        font-size:1.62rem !important;
    }
}

@media (max-width: 560px){
    body.profile-modern .profile-public-hero .profile-public-cover,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-cover{
        height:176px !important;
        min-height:176px !important;
        max-height:176px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-shell,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-shell{
        padding:0 14px 16px !important;
        margin-top:-42px !important;
        gap:14px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-avatar,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-avatar{
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        border-radius:20px !important;
    }

    body.profile-modern .profile-public-hero .profile-public-name,
    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-name{
        font-size:1.34rem !important;
    }
}
/* FC PROFILE HERO MASTER LOCK V13 */
/* One authoritative hero only. Ignore all previous generic hero generations. */

body.profile-modern #fcProfileHero.fc-profile-hero-clean{
    width:min(100%, var(--fc-profile-max)) !important;
    max-width:var(--fc-profile-max) !important;
    min-width:0 !important;
    margin:0 auto 26px !important;
    border-radius:38px !important;
    overflow:hidden !important;
    position:relative !important;
    box-sizing:border-box !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    display:block !important;
    flex:none !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover--empty,
body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-overlay{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-shell{
    position:relative !important;
    z-index:2 !important;
    display:grid !important;
    grid-template-columns:140px minmax(0, 1fr) !important;
    align-items:end !important;
    gap:24px !important;
    width:100% !important;
    padding:0 30px 30px !important;
    margin-top:-72px !important;
    min-height:206px !important;
    box-sizing:border-box !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    transform:none !important;
    width:132px !important;
    height:132px !important;
    min-width:132px !important;
    min-height:132px !important;
    max-width:132px !important;
    max-height:132px !important;
    flex:0 0 132px !important;
    border-radius:30px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar img,
body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar-fallback{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    display:block !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar img{
    object-fit:cover !important;
    object-position:center center !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-heading{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:14px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:176px !important;
    padding:0 !important;
    margin:0 !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-identity{
    gap:10px !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-name{
    margin:0 !important;
    font-size:clamp(2rem, 3vw, 2.9rem) !important;
    line-height:1 !important;
    letter-spacing:-.04em !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-username{
    margin-top:0 !important;
    font-size:1rem !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-badge-row{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:12px !important;
    margin-top:2px !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-summary{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
    width:100% !important;
    margin-top:2px !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-summary-chip{
    min-height:86px !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-aside{
    display:none !important;
}

body.profile-modern #fcProfileHero.fc-profile-hero-clean.profile-public-hero--private .profile-public-heading{
    min-height:120px !important;
}

body.profile-modern #fcProfileExtraStrip.fc-profile-extra-clean{
    width:min(100%, var(--fc-profile-max)) !important;
    max-width:var(--fc-profile-max) !important;
    margin:0 auto 26px !important;
    box-sizing:border-box !important;
}

@media (max-width: 900px){
    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover{
        height:250px !important;
        min-height:250px !important;
        max-height:250px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-shell{
        grid-template-columns:104px minmax(0, 1fr) !important;
        gap:18px !important;
        padding:0 22px 22px !important;
        margin-top:-58px !important;
        min-height:202px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar{
        width:100px !important;
        height:100px !important;
        min-width:100px !important;
        min-height:100px !important;
        max-width:100px !important;
        max-height:100px !important;
        border-radius:24px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-heading{
        min-height:172px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-name{
        font-size:2rem !important;
    }
}

@media (max-width: 760px){
    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover{
        height:198px !important;
        min-height:198px !important;
        max-height:198px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-shell{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:16px !important;
        padding:0 18px 20px !important;
        margin-top:-48px !important;
        min-height:0 !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar{
        width:92px !important;
        height:92px !important;
        min-width:92px !important;
        min-height:92px !important;
        max-width:92px !important;
        max-height:92px !important;
        border-radius:22px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-heading{
        min-height:0 !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-summary{
        grid-template-columns:1fr !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-name{
        font-size:1.62rem !important;
    }
}

@media (max-width: 560px){
    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-cover{
        height:176px !important;
        min-height:176px !important;
        max-height:176px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-shell{
        padding:0 14px 16px !important;
        margin-top:-42px !important;
        gap:14px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-avatar{
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        border-radius:20px !important;
    }

    body.profile-modern #fcProfileHero.fc-profile-hero-clean .profile-public-name{
        font-size:1.34rem !important;
    }
}

/* FC HERO HARD LOCK 2026-04-13 */
/* Force the public profile hero to keep identical desktop/tablet/mobile dimensions */

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private){
    width:min(100%, 1240px) !important;
    max-width:1240px !important;
    min-width:0 !important;
    margin:0 auto 26px !important;
    border-radius:38px !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover{
    position:relative !important;
    width:100% !important;
    height:320px !important;
    min-height:320px !important;
    max-height:320px !important;
    aspect-ratio:auto !important;
    overflow:hidden !important;
    display:block !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > img{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
    min-width:100% !important;
    min-height:100% !important;
    object-fit:cover !important;
    object-position:center center !important;
    display:block !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > .profile-public-cover--empty,
body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > .profile-public-overlay{
    position:absolute !important;
    inset:0 !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell{
    position:relative !important;
    z-index:2 !important;
    display:grid !important;
    grid-template-columns:140px minmax(0, 1fr) !important;
    align-items:end !important;
    gap:24px !important;
    width:100% !important;
    padding:0 30px 30px !important;
    margin-top:-72px !important;
    min-height:206px !important;
    box-sizing:border-box !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    width:132px !important;
    height:132px !important;
    min-width:132px !important;
    min-height:132px !important;
    max-width:132px !important;
    max-height:132px !important;
    flex:0 0 132px !important;
    border-radius:30px !important;
    overflow:hidden !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar > img,
body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar > .profile-public-avatar-fallback{
    position:absolute !important;
    inset:0 !important;
    width:100% !important;
    height:100% !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar > img{
    object-fit:cover !important;
    object-position:center center !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-heading{
    position:relative !important;
    display:flex !important;
    flex-direction:column !important;
    align-items:stretch !important;
    gap:14px !important;
    width:100% !important;
    min-width:0 !important;
    min-height:176px !important;
    padding:0 !important;
    margin:0 !important;
    box-sizing:border-box !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-identity{
    display:flex !important;
    flex-direction:column !important;
    gap:10px !important;
    min-height:176px !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-name{
    display:block !important;
    margin:0 !important;
    min-height:56px !important;
    line-height:1 !important;
    font-size:clamp(2rem, 3vw, 2.9rem) !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-username{
    display:block !important;
    min-height:22px !important;
    margin:0 !important;
    font-size:1rem !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-badge-row{
    min-height:44px !important;
    align-items:flex-start !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-summary{
    display:grid !important;
    grid-template-columns:repeat(3, minmax(0, 1fr)) !important;
    gap:12px !important;
    width:100% !important;
    margin-top:auto !important;
}

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-summary-chip{
    min-height:86px !important;
}

@media (max-width: 900px){
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover{
        height:250px !important;
        min-height:250px !important;
        max-height:250px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell{
        grid-template-columns:104px minmax(0, 1fr) !important;
        gap:18px !important;
        padding:0 22px 22px !important;
        margin-top:-58px !important;
        min-height:202px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar{
        width:100px !important;
        height:100px !important;
        min-width:100px !important;
        min-height:100px !important;
        max-width:100px !important;
        max-height:100px !important;
        flex:0 0 100px !important;
        border-radius:24px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-heading,
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-identity{
        min-height:172px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-name{
        min-height:48px !important;
        font-size:2rem !important;
    }
}

@media (max-width: 760px){
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover{
        height:198px !important;
        min-height:198px !important;
        max-height:198px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell{
        display:flex !important;
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:16px !important;
        padding:0 18px 20px !important;
        margin-top:-48px !important;
        min-height:0 !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar{
        width:92px !important;
        height:92px !important;
        min-width:92px !important;
        min-height:92px !important;
        max-width:92px !important;
        max-height:92px !important;
        flex:0 0 92px !important;
        border-radius:22px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-heading,
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-identity{
        min-height:0 !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-summary{
        grid-template-columns:1fr !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-name{
        min-height:0 !important;
        font-size:1.62rem !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-username,
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-badge-row{
        min-height:0 !important;
    }
}

@media (max-width: 560px){
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover{
        height:176px !important;
        min-height:176px !important;
        max-height:176px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell{
        padding:0 14px 16px !important;
        margin-top:-42px !important;
        gap:14px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-shell > .profile-public-avatar{
        width:84px !important;
        height:84px !important;
        min-width:84px !important;
        min-height:84px !important;
        max-width:84px !important;
        max-height:84px !important;
        flex:0 0 84px !important;
        border-radius:20px !important;
    }

    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) .profile-public-name{
        font-size:1.34rem !important;
    }
}


/* FC COVER VISUAL CROP HOTFIX 2026-04-13 */
/* Make all profile cover images feel equally full like the alexrho hero */

body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > img{
    transform: scale(1.14) !important;
    transform-origin: center center !important;
    object-fit: cover !important;
    object-position: center center !important;
}

@media (max-width: 900px){
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > img{
        transform: scale(1.10) !important;
    }
}

@media (max-width: 560px){
    body.profile-modern .container > .profile-public-hero:not(.profile-public-hero--private) > .profile-public-cover > img{
        transform: scale(1.06) !important;
    }
}



/* =========================================================
   FC PROFILE REDESIGN V20
   Premium, stable, mobile-first presentation layer
   Presentation only. No SEO / routing / schema logic changes.
========================================================= */

:root{
    --fcp-page-max: 1240px;
    --fcp-gutter: 18px;

    --fcp-radius-hero: 36px;
    --fcp-radius-xl: 28px;
    --fcp-radius-lg: 22px;
    --fcp-radius-md: 18px;

    --fcp-border: rgba(214,226,241,.96);
    --fcp-border-strong: rgba(201,216,236,.98);

    --fcp-text: #132238;
    --fcp-text-soft: #60728a;
    --fcp-text-muted: #8294ab;

    --fcp-surface: linear-gradient(180deg, rgba(255,255,255,.97), rgba(248,251,255,.92));
    --fcp-surface-soft: linear-gradient(180deg, rgba(255,255,255,.94), rgba(247,250,255,.88));
    --fcp-surface-glass: linear-gradient(180deg, rgba(255,255,255,.90), rgba(247,250,255,.84));

    --fcp-shadow-1: 0 14px 30px rgba(15,23,42,.05);
    --fcp-shadow-2: 0 20px 44px rgba(15,23,42,.08);
    --fcp-shadow-3: 0 28px 70px rgba(15,23,42,.12);

    --fcp-blue: #4f7cff;
    --fcp-blue-strong: #2563eb;
    --fcp-violet: #7c3aed;
    --fcp-green: #0f8a5f;

    --fcp-hero-cover-h: 336px;
    --fcp-hero-avatar: 132px;
    --fcp-hero-name: clamp(2.25rem, 4vw, 3.15rem);
}

body.profile-modern{
    background:
        radial-gradient(circle at 0% 0%, rgba(79,124,255,.12), transparent 28%),
        radial-gradient(circle at 100% 0%, rgba(139,92,246,.10), transparent 24%),
        linear-gradient(180deg, #f3f7ff 0%, #f8fbff 32%, #ffffff 100%) !important;
    color: var(--fcp-text) !important;
}

body.profile-modern .container{
    max-width: 1320px !important;
    padding-left: var(--fcp-gutter) !important;
    padding-right: var(--fcp-gutter) !important;
    box-sizing: border-box !important;
}

/* Shared section width */
body.profile-modern .profile-public-hero,
body.profile-modern .profile-extra-strip,
body.profile-modern .profile-overview-shell,
body.profile-modern .profile-collections-section,
body.profile-modern .history-section,
body.profile-modern .profile-people-section,
body.profile-modern .profile-related-section,
body.profile-modern .gallery-header,
body.profile-modern .grid,
body.profile-modern .pagination,
body.profile-modern .fc-ui-strip-v2--profile,
body.profile-modern .fc-chip-cloud-v2--profile{
    width: min(100%, var(--fcp-page-max)) !important;
    max-width: var(--fcp-page-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

/* =========================
   HERO
========================= */
body.profile-modern .profile-public-hero{
    position: relative !important;
    margin: 0 auto 22px !important;
    border-radius: var(--fcp-radius-hero) !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: var(--fcp-shadow-3) !important;
    overflow: hidden !important;
    isolation: isolate !important;
}

body.profile-modern .profile-public-hero::before{
    content: "" !important;
    position: absolute !important;
    width: 320px !important;
    height: 320px !important;
    top: -140px !important;
    right: -110px !important;
    border-radius: 999px !important;
    background: radial-gradient(circle, rgba(79,124,255,.20) 0%, rgba(79,124,255,0) 72%) !important;
    filter: blur(18px) !important;
    pointer-events: none !important;
}

body.profile-modern .profile-public-hero::after{
    content: "" !important;
    position: absolute !important;
    width: 260px !important;
    height: 260px !important;
    left: -100px !important;
    bottom: -120px !important;
    border-radius: 999px !important;
    background: radial-gradient(circle, rgba(139,92,246,.14) 0%, rgba(139,92,246,0) 72%) !important;
    filter: blur(18px) !important;
    pointer-events: none !important;
}

body.profile-modern .profile-public-cover{
    position: relative !important;
    width: 100% !important;
    height: var(--fcp-hero-cover-h) !important;
    min-height: var(--fcp-hero-cover-h) !important;
    max-height: var(--fcp-hero-cover-h) !important;
    overflow: hidden !important;
    border-radius: 0 !important;
    background: linear-gradient(135deg, #dbeafe 0%, #eff6ff 54%, #ede9fe 100%) !important;
}

body.profile-modern .profile-public-cover img{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center center !important;
    display: block !important;
}

body.profile-modern .profile-public-cover--empty{
    position: absolute !important;
    inset: 0 !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.22), transparent 28%),
        radial-gradient(circle at bottom left, rgba(139,92,246,.18), transparent 24%),
        linear-gradient(135deg, #dbeafe 0%, #eff6ff 54%, #ede9fe 100%) !important;
}

body.profile-modern .profile-public-overlay{
    position: absolute !important;
    inset: 0 !important;
    background:
        linear-gradient(180deg, rgba(7,14,27,.04) 0%, rgba(7,14,27,.12) 38%, rgba(7,14,27,.40) 100%) !important;
    pointer-events: none !important;
}

body.profile-modern .profile-public-shell{
    position: relative !important;
    z-index: 2 !important;
    display: grid !important;
    grid-template-columns: 148px minmax(0,1fr) !important;
    align-items: end !important;
    gap: 24px !important;
    width: 100% !important;
    padding: 0 30px 30px !important;
    margin-top: -72px !important;
    box-sizing: border-box !important;
}

body.profile-modern .profile-public-avatar{
    position: relative !important;
    width: var(--fcp-hero-avatar) !important;
    height: var(--fcp-hero-avatar) !important;
    min-width: var(--fcp-hero-avatar) !important;
    min-height: var(--fcp-hero-avatar) !important;
    max-width: var(--fcp-hero-avatar) !important;
    max-height: var(--fcp-hero-avatar) !important;
    border-radius: 30px !important;
    border: 5px solid rgba(255,255,255,.98) !important;
    background: #eef4fb !important;
    overflow: hidden !important;
    box-shadow:
        0 24px 46px rgba(15,23,42,.18),
        0 0 0 1px rgba(255,255,255,.72) !important;
}

body.profile-modern .profile-public-avatar img,
body.profile-modern .profile-public-avatar-fallback{
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

body.profile-modern .profile-public-avatar img{
    object-fit: cover !important;
    object-position: center center !important;
}

body.profile-modern .profile-public-avatar-fallback{
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    font-size: 2.5rem !important;
    font-weight: 900 !important;
}

body.profile-modern .profile-public-heading{
    display: flex !important;
    flex-direction: column !important;
    gap: 16px !important;
    min-width: 0 !important;
}

body.profile-modern .profile-public-identity{
    display: flex !important;
    flex-direction: column !important;
    gap: 10px !important;
    min-width: 0 !important;
}

body.profile-modern .profile-public-eyebrow{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    width: max-content !important;
    max-width: 100% !important;
    padding: 10px 14px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(255,255,255,.12) !important;
    background: linear-gradient(135deg, #0f172a, #1f2e48) !important;
    color: #fff !important;
    font-size: .73rem !important;
    font-weight: 900 !important;
    letter-spacing: .08em !important;
    text-transform: uppercase !important;
    box-shadow: 0 14px 30px rgba(15,23,42,.18) !important;
}

body.profile-modern .profile-public-eyebrow i{
    color: #93c5fd !important;
}

body.profile-modern .profile-public-name{
    margin: 0 !important;
    font-size: var(--fcp-hero-name) !important;
    line-height: .96 !important;
    font-weight: 900 !important;
    letter-spacing: -.045em !important;
    color: var(--fcp-text) !important;
    overflow-wrap: anywhere !important;
}

body.profile-modern .profile-public-username{
    margin-top: 0 !important;
    color: #6a7c94 !important;
    font-size: 1rem !important;
    font-weight: 900 !important;
    letter-spacing: .01em !important;
    overflow-wrap: anywhere !important;
}

/* badges */
body.profile-modern .profile-badge-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
    margin-top: 4px !important;
}

body.profile-modern .profile-badge-chip{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    min-height: 42px !important;
    padding: 0 14px !important;
    border-radius: 999px !important;
    background: rgba(255,255,255,.86) !important;
    border: 1px solid rgba(216,228,241,.96) !important;
    color: #334155 !important;
    font-size: .82rem !important;
    font-weight: 800 !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.05) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
}

body.profile-modern .profile-badge-chip.tier-basic{
    background: rgba(37,99,235,.08) !important;
    border-color: rgba(37,99,235,.18) !important;
    color: #1d4ed8 !important;
}

body.profile-modern .profile-badge-chip.tier-verified{
    background: rgba(16,185,129,.10) !important;
    border-color: rgba(16,185,129,.18) !important;
    color: #047857 !important;
}

body.profile-modern .profile-badge-chip.tier-brand{
    background: rgba(124,58,237,.10) !important;
    border-color: rgba(124,58,237,.18) !important;
    color: #6d28d9 !important;
}

/* summary cards */
body.profile-modern .profile-public-summary{
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    width: 100% !important;
    margin-top: 2px !important;
}

body.profile-modern .profile-public-summary-chip{
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    gap: 6px !important;
    min-height: 90px !important;
    padding: 16px 18px !important;
    border-radius: 22px !important;
    border: 1px solid var(--fcp-border-strong) !important;
    background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(246,249,255,.86)) !important;
    box-shadow: 0 14px 28px rgba(15,23,42,.06) !important;
}

body.profile-modern .profile-public-summary-chip strong{
    color: var(--fcp-text) !important;
    font-size: 1.18rem !important;
    line-height: 1.08 !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
}

body.profile-modern .profile-public-summary-chip span{
    color: #687b92 !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    letter-spacing: .09em !important;
    text-transform: uppercase !important;
}

/* =========================
   EXTRA STRIP UNDER HERO
========================= */
body.profile-modern .profile-extra-strip{
    margin: 0 auto 24px !important;
}

body.profile-modern .profile-extra-strip__grid{
    display: grid !important;
    grid-template-columns: minmax(0,1.15fr) 190px minmax(0,1fr) !important;
    gap: 16px !important;
    padding: 18px !important;
    border-radius: 28px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface-glass) !important;
    box-shadow: var(--fcp-shadow-1) !important;
}

body.profile-modern .profile-extra-item{
    min-height: 106px !important;
    padding: 18px 20px !important;
    border-radius: 22px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: 0 12px 24px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-extra-item__label{
    margin-bottom: 10px !important;
    color: #7b8ea6 !important;
    font-size: .72rem !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

body.profile-modern .profile-extra-item__value{
    color: #304256 !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.65 !important;
    overflow-wrap: anywhere !important;
}

body.profile-modern .profile-extra-item--location .profile-extra-item__value{
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
}

body.profile-modern .profile-extra-item__value--bio{
    color: #51657f !important;
    font-size: .95rem !important;
    font-weight: 600 !important;
    line-height: 1.72 !important;
}

/* =========================
   OVERVIEW / SOCIAL / FOLLOW / SHARE
========================= */
body.profile-modern .profile-overview-shell{
    margin: 0 auto 30px !important;
    padding: 24px !important;
    border-radius: 32px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface-glass) !important;
    box-shadow: var(--fcp-shadow-2) !important;
    backdrop-filter: blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(140%) !important;
}

body.profile-modern .profile-overview-shell > * + *{
    margin-top: 18px !important;
}

body.profile-modern .profile-social-links-shelf,
body.profile-modern .profile-follow-panel,
body.profile-modern .profile-share-strip{
    margin: 0 !important;
    padding: 18px 20px !important;
    border-radius: 24px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: var(--fcp-shadow-1) !important;
}

body.profile-modern .profile-social-links-title,
body.profile-modern .profile-share-strip__label{
    color: #7186a2 !important;
    font-size: .76rem !important;
    font-weight: 900 !important;
    letter-spacing: .14em !important;
    text-transform: uppercase !important;
}

body.profile-modern .social-row{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.profile-modern .social-row .social-btn{
    width: 46px !important;
    height: 46px !important;
    border-radius: 16px !important;
    border: 1px solid var(--fcp-border) !important;
    background: linear-gradient(180deg, #ffffff, #f6f9ff) !important;
    box-shadow: 0 10px 18px rgba(15,23,42,.04) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

body.profile-modern .social-row .social-btn:hover{
    transform: translateY(-2px) !important;
    box-shadow: 0 16px 26px rgba(15,23,42,.08) !important;
    border-color: #c7d6ea !important;
}

body.profile-modern .profile-follow-alert{
    margin: 0 !important;
    padding: 14px 16px !important;
    border-radius: 18px !important;
    box-shadow: 0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-follow-panel{
    display: grid !important;
    grid-template-columns: minmax(0,1fr) auto !important;
    gap: 16px !important;
    align-items: center !important;
}

body.profile-modern .profile-follow-stats{
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0,1fr)) !important;
    gap: 12px !important;
}

body.profile-modern .profile-follow-stat{
    padding: 16px !important;
    border-radius: 20px !important;
    border: 1px solid var(--fcp-border) !important;
    background: linear-gradient(180deg, #ffffff, #f7fbff) !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.55), 0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-follow-stat strong{
    color: var(--fcp-text) !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
}

body.profile-modern .profile-follow-stat span{
    margin-top: 4px !important;
    color: #6b7d95 !important;
    font-size: .78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: .08em !important;
}

body.profile-modern .profile-follow-btn{
    min-height: 50px !important;
    padding: 0 20px !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border: none !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.24) !important;
}

body.profile-modern .profile-follow-btn.is-active{
    background: #0f172a !important;
}

body.profile-modern .profile-share-strip{
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    flex-wrap: wrap !important;
}

body.profile-modern .profile-share-strip__actions{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

body.profile-modern .profile-share-pill{
    min-height: 44px !important;
    padding: 0 16px !important;
    border-radius: 999px !important;
    border: 1px solid var(--fcp-border) !important;
    background: rgba(255,255,255,.92) !important;
    color: #334155 !important;
    box-shadow: 0 10px 18px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-share-pill.is-primary{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* =========================
   CARDS / SECTIONS
========================= */
body.profile-modern .profile-activity-section,
body.profile-modern .profile-collections-section,
body.profile-modern .history-section,
body.profile-modern .profile-people-section,
body.profile-modern .profile-related-card{
    border-radius: 30px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface-glass) !important;
    box-shadow: var(--fcp-shadow-2) !important;
}

body.profile-modern .profile-collections-section,
body.profile-modern .history-section,
body.profile-modern .profile-people-section{
    padding: 24px !important;
    margin-bottom: 28px !important;
}

body.profile-modern .profile-related-section{
    margin-bottom: 28px !important;
}

body.profile-modern .profile-related-card{
    padding: 24px !important;
}

body.profile-modern .gallery-header{
    display: flex !important;
    align-items: flex-end !important;
    justify-content: space-between !important;
    gap: 16px !important;
    flex-wrap: wrap !important;
    margin-bottom: 18px !important;
}

body.profile-modern .gallery-header > div:first-child,
body.profile-modern .history-title{
    color: var(--fcp-text) !important;
    font-size: 1.12rem !important;
    font-weight: 900 !important;
    letter-spacing: -.02em !important;
}

body.profile-modern .gallery-meta{
    display: block !important;
    margin-top: 6px !important;
    color: #7b8ea6 !important;
    font-size: .78rem !important;
    font-weight: 900 !important;
    letter-spacing: .12em !important;
    text-transform: uppercase !important;
}

/* collections */
body.profile-modern .profile-collections-grid{
    gap: 18px !important;
}

body.profile-modern .profile-collection-card{
    border-radius: 24px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: var(--fcp-shadow-1) !important;
    overflow: hidden !important;
}

body.profile-modern .profile-collection-cover{
    border-radius: 18px !important;
    overflow: hidden !important;
}

/* activity */
body.profile-modern .profile-activity-tabs{
    margin: 16px 0 18px !important;
    gap: 12px !important;
}

body.profile-modern .profile-activity-tab{
    padding: 11px 15px !important;
    border-radius: 999px !important;
    background: #eef4fb !important;
    border: 1px solid var(--fcp-border) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.03) !important;
}

body.profile-modern .profile-activity-tab.is-active{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
    box-shadow: 0 14px 28px rgba(37,99,235,.22) !important;
}

body.profile-modern .profile-activity-feed{
    display: grid !important;
    gap: 12px !important;
}

body.profile-modern .profile-activity-card{
    display: flex !important;
    align-items: flex-start !important;
    gap: 12px !important;
    padding: 15px 16px !important;
    border-radius: 22px !important;
    background: var(--fcp-surface) !important;
    border: 1px solid var(--fcp-border) !important;
    box-shadow: var(--fcp-shadow-1) !important;
}

body.profile-modern .profile-activity-icon{
    width: 46px !important;
    height: 46px !important;
    border-radius: 15px !important;
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    box-shadow: 0 12px 22px rgba(37,99,235,.18) !important;
}

/* stats / rep */
body.profile-modern .stats-row{
    gap: 14px !important;
}

body.profile-modern .stats-row .stat-item,
body.profile-modern .rep-card,
body.profile-modern .rep-mini-card{
    border-radius: 24px !important;
    box-shadow: var(--fcp-shadow-1) !important;
}

/* asset grid */
body.profile-modern .grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)) !important;
    gap: 20px !important;
    margin-bottom: 0 !important;
}

body.profile-modern .slot-card{
    border-radius: 26px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: var(--fcp-shadow-1) !important;
    overflow: hidden !important;
}

body.profile-modern .slot-visual{
    border-radius: 20px !important;
    overflow: hidden !important;
}

body.profile-modern .grid-empty-state,
body.profile-modern .history-empty-state{
    border-radius: 22px !important;
    border: 1px dashed var(--fcp-border-strong) !important;
    background: var(--fcp-surface-soft) !important;
    box-shadow: 0 10px 22px rgba(15,23,42,.03) !important;
    color: var(--fcp-text-soft) !important;
}

/* related / people */
body.profile-modern .profile-people-grid{
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) !important;
    gap: 16px !important;
}

body.profile-modern .profile-people-card,
body.profile-modern .profile-related-link{
    border-radius: 24px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: var(--fcp-shadow-1) !important;
}

body.profile-modern .profile-related-grid{
    gap: 14px !important;
}

body.profile-modern .profile-related-link{
    min-height: 140px !important;
    padding: 18px !important;
}

/* pagination */
body.profile-modern .pagination{
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
    margin-top: 22px !important;
}

body.profile-modern .page-btn{
    min-width: 42px !important;
    min-height: 42px !important;
    border-radius: 14px !important;
    border: 1px solid var(--fcp-border) !important;
    background: var(--fcp-surface) !important;
    box-shadow: 0 8px 18px rgba(15,23,42,.04) !important;
}

body.profile-modern .page-btn.active{
    background: linear-gradient(135deg, #2563eb, #7c3aed) !important;
    color: #fff !important;
    border-color: transparent !important;
}

/* hover / polish */
body.profile-modern .slot-card,
body.profile-modern .profile-collection-card,
body.profile-modern .profile-people-card,
body.profile-modern .profile-related-link,
body.profile-modern .profile-activity-card,
body.profile-modern .social-row .social-btn,
body.profile-modern .profile-share-pill,
body.profile-modern .profile-follow-btn{
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease,
        color .18s ease !important;
}

body.profile-modern .slot-card:hover,
body.profile-modern .profile-collection-card:hover,
body.profile-modern .profile-people-card:hover,
body.profile-modern .profile-related-link:hover,
body.profile-modern .profile-activity-card:hover{
    transform: translateY(-3px) !important;
    box-shadow: 0 22px 40px rgba(15,23,42,.10) !important;
    border-color: #cad8ea !important;
}

body.profile-modern .profile-follow-btn:hover,
body.profile-modern .profile-share-pill:hover{
    transform: translateY(-1px) !important;
}

body.profile-modern .profile-follow-btn:focus-visible,
body.profile-modern .profile-share-pill:focus-visible,
body.profile-modern .profile-activity-tab:focus-visible,
body.profile-modern .social-row .social-btn:focus-visible,
body.profile-modern .profile-people-card:focus-visible,
body.profile-modern .profile-related-link:focus-visible,
body.profile-modern .profile-minute-open-link:focus-visible{
    outline: none !important;
    box-shadow:
        0 0 0 4px rgba(79,124,255,.16),
        0 18px 30px rgba(15,23,42,.10) !important;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1100px){
    :root{
        --fcp-hero-cover-h: 300px;
        --fcp-hero-avatar: 120px;
        --fcp-hero-name: clamp(2rem, 3.6vw, 2.7rem);
    }

    body.profile-modern .profile-extra-strip__grid{
        grid-template-columns: minmax(0,1fr) minmax(0,1fr) !important;
    }

    body.profile-modern .profile-extra-item--bio{
        grid-column: 1 / -1 !important;
    }
}

@media (max-width: 900px){
    :root{
        --fcp-hero-cover-h: 260px;
        --fcp-hero-avatar: 108px;
        --fcp-hero-name: 2rem;
    }

    body.profile-modern .profile-public-shell{
        grid-template-columns: 120px minmax(0,1fr) !important;
        gap: 20px !important;
        padding: 0 22px 22px !important;
        margin-top: -60px !important;
    }

    body.profile-modern .profile-public-avatar{
        border-radius: 26px !important;
    }

    body.profile-modern .profile-follow-panel{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-follow-form{
        width: 100% !important;
    }

    body.profile-modern .profile-follow-btn{
        width: 100% !important;
        justify-content: center !important;
    }
}

@media (max-width: 760px){
    :root{
        --fcp-hero-cover-h: 220px;
        --fcp-hero-avatar: 92px;
        --fcp-hero-name: 1.7rem;
    }

    body.profile-modern .container{
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    body.profile-modern .profile-public-shell{
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 0 18px 20px !important;
        margin-top: -48px !important;
    }

    body.profile-modern .profile-public-avatar{
        border-radius: 22px !important;
    }

    body.profile-modern .profile-public-summary{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-extra-strip__grid{
        grid-template-columns: 1fr !important;
        padding: 14px !important;
        gap: 12px !important;
        border-radius: 22px !important;
    }

    body.profile-modern .profile-extra-item{
        min-height: 0 !important;
        padding: 14px 15px !important;
        border-radius: 18px !important;
    }

    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card{
        padding: 18px !important;
        border-radius: 24px !important;
    }

    body.profile-modern .profile-share-strip{
        align-items: stretch !important;
    }

    body.profile-modern .profile-share-strip__actions{
        width: 100% !important;
    }
}

@media (max-width: 560px){
    :root{
        --fcp-gutter: 14px;
        --fcp-hero-cover-h: 188px;
        --fcp-hero-avatar: 84px;
        --fcp-hero-name: 1.42rem;
    }

    body.profile-modern .profile-public-shell{
        padding: 0 14px 16px !important;
        margin-top: -42px !important;
        gap: 14px !important;
    }

    body.profile-modern .profile-badge-row{
        gap: 8px !important;
    }

    body.profile-modern .profile-badge-chip{
        min-height: 38px !important;
        padding: 0 11px !important;
        font-size: .75rem !important;
    }

    body.profile-modern .profile-public-summary-chip{
        min-height: auto !important;
        padding: 14px !important;
        border-radius: 18px !important;
    }

    body.profile-modern .profile-follow-stats{
        grid-template-columns: 1fr !important;
    }

    body.profile-modern .profile-share-strip__actions{
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.profile-modern .profile-share-pill{
        width: 100% !important;
        justify-content: center !important;
    }

    body.profile-modern .grid{
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid{
        grid-template-columns: 1fr !important;
    }
}


/* follow list modal */
.profile-follow-stat--interactive{
    appearance:none;
    border:none;
    text-align:left;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.profile-follow-stat--interactive:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);
    box-shadow:0 12px 24px rgba(37,99,235,.08);
}
.profile-follow-stat--interactive:focus-visible,
.profile-follow-modal__close:focus-visible,
.profile-follow-modal__pager:focus-visible{
    outline:3px solid rgba(37,99,235,.22);
    outline-offset:2px;
}

body.profile-follow-modal-open{
    overflow:hidden;
}

.profile-follow-modal{
    position:fixed;
    inset:0;
    z-index:3000;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:24px;
}
.profile-follow-modal[hidden]{
    display:none !important;
}
.profile-follow-modal__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.56);
    backdrop-filter:blur(10px);
    opacity:0;
    transition:opacity .18s ease;
}
.profile-follow-modal__dialog{
    position:relative;
    width:min(760px,100%);
    max-height:min(86vh,900px);
    display:flex;
    flex-direction:column;
    border-radius:28px;
    border:1px solid rgba(219,229,242,.9);
    background:linear-gradient(180deg,#ffffff 0%,#f8fbff 100%);
    box-shadow:0 30px 80px rgba(15,23,42,.24);
    overflow:hidden;
    transform:translateY(16px) scale(.98);
    opacity:0;
    transition:transform .2s ease, opacity .2s ease;
}
.profile-follow-modal.is-open .profile-follow-modal__backdrop{
    opacity:1;
}
.profile-follow-modal.is-open .profile-follow-modal__dialog{
    opacity:1;
    transform:translateY(0) scale(1);
}
.profile-follow-modal__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:22px 24px 14px;
}
.profile-follow-modal__eyebrow{
    color:#64748b;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.profile-follow-modal__title{
    margin:0;
    color:#0f172a;
    font-size:1.5rem;
    line-height:1.1;
}
.profile-follow-modal__close{
    width:42px;
    height:42px;
    border:none;
    border-radius:14px;
    background:#eef5ff;
    color:#0f172a;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:inset 0 0 0 1px rgba(191,212,239,.8);
}
.profile-follow-modal__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 24px 16px;
    border-bottom:1px solid rgba(219,229,242,.85);
}
.profile-follow-modal__count{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#eef5ff;
    color:#1d4ed8;
    font-weight:800;
}
.profile-follow-modal__page{
    color:#64748b;
    font-size:.88rem;
    font-weight:800;
}
.profile-follow-modal__body{
    min-height:240px;
    padding:18px 24px;
    overflow:auto;
}
.profile-follow-modal__state{
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    color:#64748b;
    font-weight:700;
    padding:24px;
}
.profile-follow-modal__state.is-error{
    color:#dc2626;
}
.profile-follow-modal__spinner{
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid rgba(37,99,235,.16);
    border-top-color:#2563eb;
    animation:profileFollowSpin .8s linear infinite;
}
@keyframes profileFollowSpin{
    to{ transform:rotate(360deg); }
}
.profile-follow-modal__list{
    display:grid;
    gap:12px;
}
.profile-follow-person{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:20px;
    border:1px solid #dbe5f2;
    background:#fff;
    text-decoration:none;
    color:inherit;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.profile-follow-person:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    box-shadow:0 18px 36px rgba(15,23,42,.1);
}
.profile-follow-person__avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:1rem;
}
.profile-follow-person__avatar-img{
    width:100%;
    height:100%;
    object-fit:cover;
    display:block;
}
.profile-follow-person__avatar-fallback{
    display:flex;
    width:100%;
    height:100%;
    align-items:center;
    justify-content:center;
}
.profile-follow-person__body{
    min-width:0;
    display:grid;
    gap:4px;
    flex:1 1 auto;
}
.profile-follow-person__name-row{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.profile-follow-person__name{
    color:#0f172a;
    font-size:1rem;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.profile-follow-person__verified{
    color:#2563eb;
    font-size:.92rem;
}
.profile-follow-person__handle,
.profile-follow-person__headline,
.profile-follow-person__meta{
    color:#64748b;
    line-height:1.35;
}
.profile-follow-person__handle{
    font-weight:800;
}
.profile-follow-person__headline{
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.profile-follow-person__meta{
    font-size:.82rem;
    font-weight:700;
}
.profile-follow-person__arrow{
    color:#94a3b8;
    font-size:.9rem;
}
.profile-follow-modal__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 24px 22px;
    border-top:1px solid rgba(219,229,242,.85);
}
.profile-follow-modal__pager{
    min-width:140px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 16px;
    border:none;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.profile-follow-modal__pager[disabled]{
    opacity:.45;
    cursor:not-allowed;
}
@media (max-width: 720px){
    .profile-follow-modal{
        padding:12px;
    }
    .profile-follow-modal__dialog{
        max-height:calc(100vh - 24px);
        border-radius:24px;
    }
    .profile-follow-modal__header,
    .profile-follow-modal__meta,
    .profile-follow-modal__body,
    .profile-follow-modal__footer{
        padding-left:16px;
        padding-right:16px;
    }
    .profile-follow-modal__meta,
    .profile-follow-modal__footer{
        flex-direction:column;
        align-items:stretch;
    }
    .profile-follow-modal__pager{
        width:100%;
    }
}


/* follow modal v3 */
.profile-follow-stat--interactive{
    appearance:none;
    border:none;
    text-align:left;
    cursor:pointer;
    transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease, background .18s ease;
}
.profile-follow-stat--interactive:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    background:linear-gradient(180deg,#f8fbff 0%,#eef5ff 100%);
    box-shadow:0 12px 24px rgba(37,99,235,.08);
}
.profile-follow-stat--interactive:focus-visible{
    outline:3px solid rgba(37,99,235,.22);
    outline-offset:2px;
}
.fc-follow-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.fc-follow-overlay.is-open{
    display:flex;
}
.fc-follow-overlay__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.58);
    backdrop-filter:blur(8px);
}
.fc-follow-overlay__dialog{
    position:relative;
    width:min(760px,calc(100vw - 24px));
    max-height:min(86vh,900px);
    display:flex;
    flex-direction:column;
    border-radius:28px;
    border:1px solid rgba(219,229,242,.9);
    background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
    box-shadow:0 30px 80px rgba(15,23,42,.24);
    overflow:hidden;
}
.fc-follow-overlay__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:22px 24px 14px;
}
.fc-follow-overlay__eyebrow{
    color:#64748b;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.fc-follow-overlay__title{
    margin:0;
    color:#0f172a;
    font-size:1.5rem;
    line-height:1.1;
}
.fc-follow-overlay__close{
    width:42px;
    height:42px;
    border:none;
    border-radius:14px;
    background:#eef5ff;
    color:#0f172a;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:inset 0 0 0 1px rgba(191,212,239,.8);
}
.fc-follow-overlay__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 24px 16px;
    border-bottom:1px solid rgba(219,229,242,.85);
}
.fc-follow-overlay__count{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#eef5ff;
    color:#1d4ed8;
    font-weight:800;
}
.fc-follow-overlay__page{
    color:#64748b;
    font-size:.88rem;
    font-weight:800;
}
.fc-follow-overlay__body{
    min-height:260px;
    max-height:calc(86vh - 190px);
    padding:18px 24px;
    overflow:auto;
}
.fc-follow-overlay__state{
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    color:#64748b;
    font-weight:700;
    padding:24px;
}
.fc-follow-overlay__state.is-error{
    color:#dc2626;
}
.fc-follow-overlay__spinner{
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid rgba(37,99,235,.16);
    border-top-color:#2563eb;
    animation:fcFollowSpin .8s linear infinite;
}
@keyframes fcFollowSpin{
    to{ transform:rotate(360deg); }
}
.fc-follow-overlay__list{
    display:grid;
    gap:12px;
}
.fc-follow-person{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:20px;
    border:1px solid #dbe5f2;
    background:#fff;
    text-decoration:none;
    color:inherit;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.fc-follow-person:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    box-shadow:0 18px 36px rgba(15,23,42,.1);
}
.fc-follow-person__avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:1rem;
}
.fc-follow-person__body{
    min-width:0;
    display:grid;
    gap:4px;
    flex:1 1 auto;
}
.fc-follow-person__name-row{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.fc-follow-person__name{
    color:#0f172a;
    font-size:1rem;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.fc-follow-person__verified{
    color:#2563eb;
    font-size:.92rem;
}
.fc-follow-person__handle,
.fc-follow-person__meta{
    color:#64748b;
    line-height:1.35;
}
.fc-follow-person__handle{
    font-weight:800;
}
.fc-follow-person__meta{
    font-size:.82rem;
    font-weight:700;
}
.fc-follow-person__arrow{
    color:#94a3b8;
    font-size:.9rem;
}
.fc-follow-overlay__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 24px 22px;
    border-top:1px solid rgba(219,229,242,.85);
}
.fc-follow-overlay__pager{
    min-width:140px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 16px;
    border:none;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.fc-follow-overlay__pager[disabled]{
    opacity:.45;
    cursor:not-allowed;
}
@media (max-width:720px){
    .fc-follow-overlay{
        padding:12px;
    }
    .fc-follow-overlay__dialog{
        max-height:calc(100vh - 24px);
        border-radius:24px;
    }
    .fc-follow-overlay__header,
    .fc-follow-overlay__meta,
    .fc-follow-overlay__body,
    .fc-follow-overlay__footer{
        padding-left:16px;
        padding-right:16px;
    }
    .fc-follow-overlay__meta,
    .fc-follow-overlay__footer{
        flex-direction:column;
        align-items:stretch;
    }
    .fc-follow-overlay__pager{
        width:100%;
    }
    .fc-follow-overlay__body{
        max-height:calc(100vh - 210px);
    }
}


/* follow modal final hard-fix */
#profileFollowModalData,
#profileFollowModal,
.profile-follow-modal{
    display:none !important;
}
body.profile-follow-modal-open{
    overflow:auto !important;
}
.fc-follow-overlay{
    position:fixed;
    inset:0;
    z-index:999999;
    display:none;
    align-items:center;
    justify-content:center;
    padding:20px;
}
.fc-follow-overlay.is-open{
    display:flex;
}
.fc-follow-overlay__backdrop{
    position:absolute;
    inset:0;
    background:rgba(15,23,42,.58);
    backdrop-filter:blur(8px);
}
.fc-follow-overlay__dialog{
    position:relative;
    width:min(760px,calc(100vw - 24px));
    max-height:min(86vh,900px);
    display:flex;
    flex-direction:column;
    border-radius:28px;
    border:1px solid rgba(219,229,242,.9);
    background:linear-gradient(180deg,#fff 0%,#f8fbff 100%);
    box-shadow:0 30px 80px rgba(15,23,42,.24);
    overflow:hidden;
}
.fc-follow-overlay__header{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:16px;
    padding:22px 24px 14px;
}
.fc-follow-overlay__eyebrow{
    color:#64748b;
    font-size:.72rem;
    font-weight:900;
    letter-spacing:.14em;
    text-transform:uppercase;
    margin-bottom:6px;
}
.fc-follow-overlay__title{
    margin:0;
    color:#0f172a;
    font-size:1.5rem;
    line-height:1.1;
}
.fc-follow-overlay__close{
    width:42px;
    height:42px;
    border:none;
    border-radius:14px;
    background:#eef5ff;
    color:#0f172a;
    cursor:pointer;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    box-shadow:inset 0 0 0 1px rgba(191,212,239,.8);
}
.fc-follow-overlay__meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 24px 16px;
    border-bottom:1px solid rgba(219,229,242,.85);
}
.fc-follow-overlay__count{
    display:inline-flex;
    align-items:center;
    gap:8px;
    padding:8px 12px;
    border-radius:999px;
    background:#eef5ff;
    color:#1d4ed8;
    font-weight:800;
}
.fc-follow-overlay__page{
    color:#64748b;
    font-size:.88rem;
    font-weight:800;
}
.fc-follow-overlay__body{
    min-height:260px;
    max-height:calc(86vh - 190px);
    padding:18px 24px;
    overflow:auto;
}
.fc-follow-overlay__state{
    min-height:220px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    text-align:center;
    color:#64748b;
    font-weight:700;
    padding:24px;
}
.fc-follow-overlay__state.is-error{
    color:#dc2626;
}
.fc-follow-overlay__spinner{
    width:18px;
    height:18px;
    border-radius:50%;
    border:2px solid rgba(37,99,235,.16);
    border-top-color:#2563eb;
    animation:fcFollowSpin .8s linear infinite;
}
@keyframes fcFollowSpin{
    to{ transform:rotate(360deg); }
}
.fc-follow-overlay__list{
    display:grid;
    gap:12px;
}
.fc-follow-person{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:20px;
    border:1px solid #dbe5f2;
    background:#fff;
    text-decoration:none;
    color:inherit;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}
.fc-follow-person:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    box-shadow:0 18px 36px rgba(15,23,42,.1);
}
.fc-follow-person__avatar{
    width:52px;
    height:52px;
    flex:0 0 52px;
    border-radius:18px;
    overflow:hidden;
    background:linear-gradient(135deg,#2563eb,#7c3aed);
    color:#fff;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:900;
    font-size:1rem;
}
.fc-follow-person__body{
    min-width:0;
    display:grid;
    gap:4px;
    flex:1 1 auto;
}
.fc-follow-person__name-row{
    display:flex;
    align-items:center;
    gap:8px;
    min-width:0;
}
.fc-follow-person__name{
    color:#0f172a;
    font-size:1rem;
    font-weight:900;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
}
.fc-follow-person__verified{
    color:#2563eb;
    font-size:.92rem;
}
.fc-follow-person__handle,
.fc-follow-person__meta{
    color:#64748b;
    line-height:1.35;
}
.fc-follow-person__handle{
    font-weight:800;
}
.fc-follow-person__meta{
    font-size:.82rem;
    font-weight:700;
}
.fc-follow-person__arrow{
    color:#94a3b8;
    font-size:.9rem;
}
.fc-follow-overlay__footer{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:16px 24px 22px;
    border-top:1px solid rgba(219,229,242,.85);
}
.fc-follow-overlay__pager{
    min-width:140px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:12px 16px;
    border:none;
    border-radius:999px;
    background:#0f172a;
    color:#fff;
    font-weight:800;
    cursor:pointer;
}
.fc-follow-overlay__pager[disabled]{
    opacity:.45;
    cursor:not-allowed;
}
@media (max-width:720px){
    .fc-follow-overlay{
        padding:12px;
    }
    .fc-follow-overlay__dialog{
        max-height:calc(100vh - 24px);
        border-radius:24px;
    }
    .fc-follow-overlay__header,
    .fc-follow-overlay__meta,
    .fc-follow-overlay__body,
    .fc-follow-overlay__footer{
        padding-left:16px;
        padding-right:16px;
    }
    .fc-follow-overlay__meta,
    .fc-follow-overlay__footer{
        flex-direction:column;
        align-items:stretch;
    }
    .fc-follow-overlay__pager{
        width:100%;
    }
    .fc-follow-overlay__body{
        max-height:calc(100vh - 210px);
    }
}


/* follow legacy cleanup */
#profileFollowModal,
#profileFollowModalData,
.profile-follow-modal,
.profile-follow-modal__dialog{
    display:none !important;
    visibility:hidden !important;
    pointer-events:none !important;
    height:0 !important;
    min-height:0 !important;
    max-height:0 !important;
    margin:0 !important;
    padding:0 !important;
    overflow:hidden !important;
}


.fc-follow-overlay__state[hidden],
.fc-follow-overlay__list[hidden]{
    display:none !important;
}


.profile-follow-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}
.profile-message-btn{
    text-decoration:none;
}


/* profile message icon */
.profile-follow-actions{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:12px;
    flex-wrap:wrap;
}
.profile-message-icon{
    width:48px;
    height:48px;
    min-width:48px;
    border-radius:16px;
    border:1px solid #dbe5f2;
    background:#ffffff;
    color:#2563eb;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
    box-shadow:0 10px 24px rgba(15,23,42,.05);
    transition:transform .16s ease, box-shadow .16s ease, border-color .16s ease, background .16s ease;
}
.profile-message-icon:hover{
    transform:translateY(-2px);
    border-color:#bfd4ef;
    background:#eef5ff;
    box-shadow:0 18px 36px rgba(15,23,42,.10);
}
.profile-message-icon:focus-visible{
    outline:3px solid rgba(37,99,235,.22);
    outline-offset:2px;
}

/* ==========================================================================
   PROFILE CONVERGENCE PASS V5
   ========================================================================== */

body.profile-modern .profile-public-hero{
    border-radius:32px !important;
    border:1px solid rgba(219,229,242,.90) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(246,250,255,.90)) !important;
    box-shadow:0 28px 60px rgba(15,23,42,.10) !important;
    overflow:hidden !important;
    margin-bottom:0 !important;
}

body.profile-modern .profile-public-cover{
    height:clamp(250px, 30vw, 340px) !important;
    min-height:250px !important;
    max-height:340px !important;
}

body.profile-modern .profile-public-overlay{
    background:
        linear-gradient(180deg, rgba(10,18,32,.04) 0%, rgba(10,18,32,.12) 34%, rgba(10,18,32,.46) 100%) !important;
}

body.profile-modern .profile-public-shell{
    gap:24px !important;
    padding:0 30px 30px !important;
    margin-top:-70px !important;
}

body.profile-modern .profile-public-avatar{
    width:132px !important;
    height:132px !important;
    border-radius:30px !important;
    border:5px solid rgba(255,255,255,.96) !important;
    box-shadow:0 22px 42px rgba(15,23,42,.18) !important;
}

body.profile-modern .profile-public-heading{
    gap:14px !important;
}

body.profile-modern .profile-public-eyebrow{
    padding:9px 14px !important;
    border-radius:999px !important;
    background:rgba(15,23,42,.22) !important;
    border:1px solid rgba(255,255,255,.18) !important;
    box-shadow:0 10px 22px rgba(15,23,42,.14) !important;
    font-size:.72rem !important;
    letter-spacing:.14em !important;
}

body.profile-modern .profile-public-name{
    font-size:clamp(1.95rem, 3.2vw, 2.7rem) !important;
    line-height:1.02 !important;
    letter-spacing:-.045em !important;
}

body.profile-modern .profile-public-username{
    color:#6a7c93 !important;
    font-size:.95rem !important;
    font-weight:800 !important;
    letter-spacing:.01em !important;
}

body.profile-modern .profile-headline-line{
    max-width:62ch !important;
    color:#314256 !important;
    font-size:1rem !important;
    line-height:1.72 !important;
}

body.profile-modern .profile-meta-row{
    gap:10px 12px !important;
}

body.profile-modern .profile-meta-row span{
    min-height:38px !important;
    padding:8px 12px !important;
    border-radius:999px !important;
    border:1px solid rgba(219,229,242,.92) !important;
    background:rgba(255,255,255,.92) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-badge-row{
    gap:10px !important;
    margin-top:14px !important;
}

body.profile-modern .profile-public-summary{
    display:flex !important;
    flex-wrap:wrap !important;
    gap:10px !important;
    margin-top:8px !important;
}

body.profile-modern .profile-public-summary-chip{
    min-height:38px !important;
    padding:8px 13px !important;
    border-radius:999px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,255,.92)) !important;
    border:1px solid rgba(219,229,242,.92) !important;
    color:#334155 !important;
    font-weight:800 !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-public-note{
    color:#5f7288 !important;
    font-size:.95rem !important;
    line-height:1.74 !important;
    font-weight:600 !important;
    max-width:72ch !important;
}

body.profile-modern .profile-overview-shell{
    margin:22px 0 32px !important;
    padding:24px !important;
    border-radius:32px !important;
    border:1px solid rgba(219,229,242,.92) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.92), rgba(247,250,255,.84)) !important;
    box-shadow:0 26px 58px rgba(15,23,42,.08) !important;
    backdrop-filter:blur(18px) saturate(140%) !important;
    -webkit-backdrop-filter:blur(18px) saturate(140%) !important;
}

body.profile-modern .profile-overview-shell > * + *{
    margin-top:20px !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
    gap:12px !important;
    padding:20px !important;
    border-radius:26px !important;
    border:1px solid rgba(219,229,242,.94) !important;
    background:
        radial-gradient(circle at top right, rgba(79,124,255,.08), transparent 28%),
        linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.92)) !important;
    box-shadow:0 18px 36px rgba(15,23,42,.06) !important;
}

body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-bio-card{
    color:#55687f !important;
    font-size:.94rem !important;
    line-height:1.78 !important;
}

body.profile-modern .profile-social-links-shelf,
body.profile-modern .profile-follow-panel,
body.profile-modern .profile-share-strip,
body.profile-modern .profile-private-note,
body.profile-modern .profile-empty-state{
    border-radius:24px !important;
    border:1px solid rgba(219,229,242,.92) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.92)) !important;
    box-shadow:0 16px 34px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-social-links-shelf{
    padding:16px 18px !important;
}

body.profile-modern .profile-social-links-title,
body.profile-modern .profile-share-strip__label{
    color:#73849a !important;
    font-size:.72rem !important;
    font-weight:900 !important;
    letter-spacing:.14em !important;
}

body.profile-modern .social-row{
    gap:10px !important;
}

body.profile-modern .social-row .social-btn{
    width:42px !important;
    height:42px !important;
    border-radius:15px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(245,248,255,.92)) !important;
    border:1px solid rgba(219,229,242,.92) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .social-row .social-btn:hover{
    transform:translateY(-2px) !important;
    border-color:rgba(79,124,255,.22) !important;
    box-shadow:0 16px 28px rgba(79,124,255,.10) !important;
}

body.profile-modern .profile-follow-panel{
    padding:18px 18px !important;
}

body.profile-modern .profile-follow-stats{
    gap:12px !important;
}

body.profile-modern .profile-follow-stat{
    min-width:132px !important;
    padding:12px 14px !important;
    border-radius:18px !important;
    background:linear-gradient(180deg, rgba(248,251,255,.98), rgba(241,246,255,.92)) !important;
    border:1px solid rgba(219,229,242,.92) !important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.62) !important;
}

body.profile-modern .profile-follow-stat strong{
    font-size:1.08rem !important;
    letter-spacing:-.03em !important;
}

body.profile-modern .profile-follow-stat span{
    color:#71829a !important;
    font-size:.72rem !important;
    letter-spacing:.12em !important;
}

body.profile-modern .profile-follow-btn{
    min-height:46px !important;
    padding:0 18px !important;
    border-radius:999px !important;
    box-shadow:0 16px 30px rgba(37,99,235,.18) !important;
}

body.profile-modern .profile-follow-btn.is-active{
    box-shadow:0 14px 26px rgba(15,23,42,.14) !important;
}

body.profile-modern .profile-share-strip{
    padding:16px 18px !important;
}

body.profile-modern .profile-share-strip__actions{
    gap:10px !important;
}

body.profile-modern .profile-share-pill{
    min-height:44px !important;
    padding:0 15px !important;
    border-radius:999px !important;
    border:1px solid rgba(219,229,242,.92) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.96), rgba(245,248,255,.90)) !important;
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-share-pill:hover{
    box-shadow:0 16px 28px rgba(79,124,255,.12) !important;
}

body.profile-modern .profile-lower-sections{
    margin-top:32px !important;
    margin-bottom:10px !important;
}

body.profile-modern .profile-collections-section,
body.profile-modern .profile-people-section,
body.profile-modern .profile-related-section,
body.profile-modern .profile-activity-section,
body.profile-modern .profile-social-graph-section{
    margin-top:0 !important;
    margin-bottom:30px !important;
}

body.profile-modern .profile-collection-card,
body.profile-modern .profile-people-card,
body.profile-modern .profile-related-card,
body.profile-modern .profile-social-graph-panel{
    border:1px solid rgba(219,229,242,.92) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.97), rgba(247,250,255,.90)) !important;
    box-shadow:0 16px 34px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-collection-card,
body.profile-modern .profile-people-card{
    border-radius:26px !important;
}

body.profile-modern .profile-related-card,
body.profile-modern .profile-social-graph-panel{
    border-radius:24px !important;
}

body.profile-modern .profile-collection-card:hover,
body.profile-modern .profile-people-card:hover{
    transform:translateY(-4px) !important;
    border-color:rgba(79,124,255,.22) !important;
    box-shadow:0 24px 42px rgba(15,23,42,.09) !important;
}

body.profile-modern .profile-collection-cover{
    height:196px !important;
}

body.profile-modern .profile-collection-body{
    gap:12px !important;
    padding:20px !important;
}

body.profile-modern .profile-collection-title{
    line-height:1.32 !important;
    letter-spacing:-.02em !important;
}

body.profile-modern .profile-collection-desc{
    color:#5f7288 !important;
    line-height:1.72 !important;
}

body.profile-modern .profile-collection-chip,
body.profile-modern .profile-collection-count{
    min-height:32px !important;
    padding:6px 10px !important;
    border-radius:999px !important;
    background:rgba(47,107,255,.07) !important;
    border:1px solid rgba(47,107,255,.10) !important;
    color:#365174 !important;
    font-weight:800 !important;
}

body.profile-modern .profile-people-grid,
body.profile-modern .profile-related-grid,
body.profile-modern .profile-social-graph-grid{
    gap:18px !important;
}

body.profile-modern .profile-people-card{
    padding:20px !important;
}

body.profile-modern .profile-people-row{
    gap:16px !important;
}

body.profile-modern .profile-people-avatar{
    width:62px !important;
    height:62px !important;
    border-radius:20px !important;
    box-shadow:0 14px 26px rgba(37,99,235,.18) !important;
}

body.profile-modern .profile-people-name{
    font-size:1.02rem !important;
    letter-spacing:-.02em !important;
}

body.profile-modern .profile-people-handle{
    color:#6a7c93 !important;
}

body.profile-modern .profile-people-headline,
body.profile-modern .profile-related-copy,
body.profile-modern .profile-social-card-headline{
    color:#5f7288 !important;
    line-height:1.72 !important;
}

body.profile-modern .profile-activity-feed{
    gap:14px !important;
}

body.profile-modern .profile-activity-card{
    padding:16px 18px !important;
    border-radius:22px !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.92)) !important;
    border:1px solid rgba(219,229,242,.92) !important;
    box-shadow:0 14px 30px rgba(15,23,42,.05) !important;
}

body.profile-modern .profile-activity-card:hover{
    transform:translateY(-3px) !important;
    border-color:rgba(79,124,255,.20) !important;
    box-shadow:0 22px 40px rgba(15,23,42,.08) !important;
}

body.profile-modern .profile-activity-icon{
    width:46px !important;
    height:46px !important;
    border-radius:16px !important;
    box-shadow:0 12px 22px rgba(37,99,235,.16) !important;
}

body.profile-modern .profile-activity-title{
    font-size:.99rem !important;
    letter-spacing:-.01em !important;
}

body.profile-modern .profile-activity-meta{
    color:#62748a !important;
    line-height:1.68 !important;
}

body.profile-modern .profile-activity-time{
    color:#8ea0b6 !important;
    font-size:.76rem !important;
    letter-spacing:.06em !important;
}

body.profile-modern .profile-social-graph-panel{
    padding:18px !important;
}

body.profile-modern .profile-related-card{
    padding:24px !important;
}

body.profile-modern .profile-related-title{
    letter-spacing:-.02em !important;
}

body.profile-modern .profile-related-link{
    border-radius:20px !important;
    border:1px solid rgba(219,229,242,.92) !important;
    background:linear-gradient(180deg, rgba(255,255,255,.98), rgba(247,250,255,.92)) !important;
    box-shadow:0 10px 22px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-related-link:hover{
    transform:translateY(-2px) !important;
    border-color:rgba(79,124,255,.20) !important;
    box-shadow:0 18px 30px rgba(15,23,42,.07) !important;
}

body.profile-modern .profile-empty-state,
body.profile-modern .profile-private-note{
    padding:22px 20px !important;
    color:#5f7288 !important;
    line-height:1.72 !important;
}

@media (max-width: 980px){
    body.profile-modern .profile-public-shell{
        padding:0 22px 22px !important;
        gap:18px !important;
        margin-top:-58px !important;
    }

    body.profile-modern .profile-public-avatar{
        width:112px !important;
        height:112px !important;
        border-radius:24px !important;
    }

    body.profile-modern .profile-overview-shell{
        padding:20px !important;
        border-radius:26px !important;
    }

    body.profile-modern .profile-public-hero.profile-public-hero--has-aside .profile-public-aside{
        padding:18px !important;
        border-radius:22px !important;
    }
}

@media (max-width: 640px){
    body.profile-modern .profile-public-cover{
        height:210px !important;
        min-height:210px !important;
        max-height:210px !important;
    }

    body.profile-modern .profile-public-shell{
        flex-direction:column !important;
        align-items:flex-start !important;
        gap:14px !important;
        padding:0 16px 18px !important;
        margin-top:-42px !important;
    }

    body.profile-modern .profile-public-avatar{
        width:92px !important;
        height:92px !important;
        border-radius:22px !important;
    }

    body.profile-modern .profile-public-name{
        font-size:1.42rem !important;
    }

    body.profile-modern .profile-public-username{
        font-size:.88rem !important;
    }

    body.profile-modern .profile-headline-line,
    body.profile-modern .profile-public-note,
    body.profile-modern .profile-bio-card{
        font-size:.91rem !important;
    }

    body.profile-modern .profile-overview-shell{
        padding:16px !important;
        border-radius:22px !important;
    }

    body.profile-modern .profile-social-links-shelf,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-private-note,
    body.profile-modern .profile-empty-state{
        border-radius:20px !important;
    }

    body.profile-modern .profile-collection-card,
    body.profile-modern .profile-people-card{
        border-radius:22px !important;
    }

    body.profile-modern .profile-activity-card{
        padding:14px 14px !important;
        border-radius:18px !important;
    }

    body.profile-modern .profile-related-card,
    body.profile-modern .profile-social-graph-panel{
        border-radius:20px !important;
        padding:18px !important;
    }
}

/* ==========================================================================
   PROFILE RESIDUAL CLEANUP PASS V6
   Final CTA, chip and lower-section rhythm refinement
   ========================================================================== */

body.profile-modern .profile-collection-card,
body.profile-modern .profile-people-card,
body.profile-modern .profile-related-card,
body.profile-modern .profile-activity-card,
body.profile-modern .profile-related-link{
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        border-color .18s ease,
        background .18s ease !important;
}

body.profile-modern .profile-follow-btn,
body.profile-modern .profile-share-pill,
body.profile-modern .social-row .social-btn,
body.profile-modern .profile-related-link{
    min-height:44px !important;
    font-family:'Inter', sans-serif !important;
    font-weight:800 !important;
    letter-spacing:.08em !important;
}

body.profile-modern .profile-follow-btn{
    min-height:48px !important;
}

body.profile-modern .profile-share-pill:hover,
body.profile-modern .social-row .social-btn:hover,
body.profile-modern .profile-related-link:hover{
    transform:translateY(-2px) !important;
}

body.profile-modern .profile-public-note,
body.profile-modern .profile-headline-line{
    max-width:68ch !important;
}

body.profile-modern .profile-collection-body,
body.profile-modern .profile-related-card,
body.profile-modern .profile-social-graph-panel{
    gap:14px !important;
}

body.profile-modern .profile-collection-title,
body.profile-modern .profile-related-title,
body.profile-modern .profile-people-name,
body.profile-modern .profile-activity-title{
    color:#132238 !important;
}

body.profile-modern .profile-collection-desc,
body.profile-modern .profile-related-copy,
body.profile-modern .profile-people-headline,
body.profile-modern .profile-activity-meta{
    color:#61708f !important;
}

body.profile-modern .profile-follow-stat,
body.profile-modern .profile-collection-chip,
body.profile-modern .profile-collection-count{
    box-shadow:0 10px 20px rgba(15,23,42,.04) !important;
}

body.profile-modern .profile-activity-feed{
    gap:16px !important;
}

@media (max-width:640px){
    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-share-pill{
        min-height:42px !important;
        border-radius:14px !important;
    }
}

/* FC_P2_4A_PROFILE_TRUST_SNAPSHOT_CSS_START */
body.profile-modern .profile-trust-snapshot {
    width: min(100%, var(--fc-profile-max, 1180px));
    margin: 0 auto 22px;
    padding: 18px;
    border-radius: 28px;
    border: 1px solid rgba(219, 229, 242, .94);
    background:
        radial-gradient(circle at top right, rgba(79, 124, 255, .08), transparent 28%),
        linear-gradient(180deg, rgba(255, 255, 255, .96), rgba(247, 250, 255, .90));
    box-shadow: 0 22px 52px rgba(15, 23, 42, .07);
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 1.8fr);
    gap: 16px;
}

body.profile-modern .profile-trust-snapshot__intro {
    min-width: 0;
}

body.profile-modern .profile-trust-snapshot__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--text-main);
    font-size: .78rem;
    font-weight: 950;
    letter-spacing: .09em;
    text-transform: uppercase;
}

body.profile-modern .profile-trust-snapshot__eyebrow i {
    color: var(--accent);
}

body.profile-modern .profile-trust-snapshot__intro p {
    margin: 8px 0 0;
    color: var(--text-soft);
    font-size: .88rem;
    font-weight: 700;
    line-height: 1.55;
}

body.profile-modern .profile-trust-snapshot__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
}

body.profile-modern .profile-trust-snapshot__item {
    min-height: 76px;
    padding: 13px 14px;
    border-radius: 20px;
    border: 1px solid rgba(191, 219, 254, .72);
    background: rgba(255, 255, 255, .72);
    box-shadow: 0 12px 26px rgba(15, 23, 42, .05);
}

body.profile-modern .profile-trust-snapshot__item span {
    display: block;
    color: var(--text-faint);
    font-size: .68rem;
    font-weight: 950;
    letter-spacing: .08em;
    text-transform: uppercase;
}

body.profile-modern .profile-trust-snapshot__item strong {
    display: block;
    margin-top: 7px;
    color: var(--text-main);
    font-size: .98rem;
    font-weight: 950;
    line-height: 1.25;
}

@media (max-width: 900px) {
    body.profile-modern .profile-trust-snapshot {
        grid-template-columns: 1fr;
        padding: 16px;
        border-radius: 24px;
    }

    body.profile-modern .profile-trust-snapshot__grid {
        grid-template-columns: 1fr;
    }
}
/* FC_P2_4A_PROFILE_TRUST_SNAPSHOT_CSS_END */


/* Roadmap UI D4C: profile mobile alignment guard
   Scope: profile public surfaces only. CSS-only overflow/wrapping protection for mobile.
   Keeps desktop design and FameClock glass/card language unchanged.
*/
@media (max-width: 760px) {
    body.profile-modern {
        overflow-x: hidden;
    }

    .profile-modern .container,
    .profile-modern .profile-public-shell,
    .profile-modern .profile-overview-shell,
    .profile-modern .profile-lower-sections,
    .profile-modern .profile-trust-snapshot,
    .profile-modern .profile-extra-strip,
    .profile-modern .profile-collections-section,
    .profile-modern .profile-people-section,
    .profile-modern .profile-related-section,
    .profile-modern .profile-related-card {
        width: min(100%, calc(100vw - 24px));
        max-width: calc(100vw - 24px) !important;
        min-width: 0 !important;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .profile-modern .profile-trust-snapshot__grid,
    .profile-modern .profile-extra-strip__grid,
    .profile-modern .profile-public-summary,
    .profile-modern .profile-badge-row,
    .profile-modern .profile-social-links-shelf,
    .profile-modern .social-row,
    .profile-modern .profile-share-strip__actions,
    .profile-modern .profile-activity-tabs,
    .profile-modern .profile-collections-grid,
    .profile-modern .profile-people-grid,
    .profile-modern .profile-related-grid,
    .profile-modern .rep-mini-grid,
    .profile-modern .grid {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box;
    }

    .profile-modern .profile-badge-row,
    .profile-modern .profile-public-summary,
    .profile-modern .social-row,
    .profile-modern .profile-share-strip__actions,
    .profile-modern .profile-activity-tabs {
        flex-wrap: wrap;
        white-space: normal;
    }

    .profile-modern .profile-share-pill,
    .profile-modern .social-btn,
    .profile-modern .profile-activity-tab,
    .profile-modern .profile-related-link,
    .profile-modern .profile-collection-card,
    .profile-modern .profile-people-card,
    .profile-modern .slot-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box;
    }

    .profile-modern .profile-public-name,
    .profile-modern .profile-public-username,
    .profile-modern .profile-public-eyebrow,
    .profile-modern .profile-public-summary-chip,
    .profile-modern .profile-badge-chip,
    .profile-modern .profile-extra-item__value,
    .profile-modern .profile-collection-title-link,
    .profile-modern .profile-related-link-copy,
    .profile-modern .profile-people-name,
    .profile-modern .profile-people-headline {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .profile-modern .profile-collection-preview,
    .profile-modern .profile-follow-modal__list {
        max-width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 560px) {
    .profile-modern .profile-share-strip__actions,
    .profile-modern .social-row,
    .profile-modern .profile-activity-tabs {
        gap: 8px;
    }

    .profile-modern .profile-share-pill,
    .profile-modern .social-btn,
    .profile-modern .profile-activity-tab {
        flex: 1 1 auto;
    }
}


/* Roadmap UI D4C-FIX1: profile mobile flow alignment correction
   Purpose: keep the Social Links / Recent Activity / lower stat cards on the same centered mobile flow as the profile sections above.
   Scope: profile public surfaces only. CSS-only correction after D4C.
*/
@media (max-width: 760px) {
    body.profile-modern {
        --fc-profile-mobile-flow-width: min(100%, calc(100vw - 24px));
    }

    body.profile-modern .container,
    body.profile-modern .profile-public-shell,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-related-card {
        width: var(--fc-profile-mobile-flow-width) !important;
        max-width: var(--fc-profile-mobile-flow-width) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections {
        justify-self: center !important;
        align-self: center !important;
    }

    body.profile-modern .profile-overview-shell > *,
    body.profile-modern .profile-lower-sections > *,
    body.profile-modern .profile-trust-snapshot > *,
    body.profile-modern .profile-extra-strip > *,
    body.profile-modern .profile-collections-section > *,
    body.profile-modern .profile-people-section > *,
    body.profile-modern .profile-related-section > * {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-social-links-shelf,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-activity-section,
    body.profile-modern .medal-container,
    body.profile-modern .rep-strip,
    body.profile-modern .profile-collections-grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-card {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 560px) {
    body.profile-modern {
        --fc-profile-mobile-flow-width: min(100%, calc(100vw - 20px));
    }
}


/* Roadmap UI D4C-FIX2: profile desktop/tablet flow alignment
   Purpose: align Social Links / Share / Recent Activity / stat blocks with the main profile column on desktop and tablet widths.
   Scope: profile public surfaces only. CSS-only correction, no DOM or content changes.
*/
@media (min-width: 761px) {
    body.profile-modern {
        --fc-profile-flow-column: 840px;
    }

    body.profile-modern #fcProfileHero,
    body.profile-modern .profile-public-hero,
    body.profile-modern #fcProfileTrustSnapshot,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern #fcProfileExtraStrip,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections {
        width: min(100%, var(--fc-profile-flow-column)) !important;
        max-width: var(--fc-profile-flow-column) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-overview-shell {
        display: block;
    }

    body.profile-modern .profile-overview-shell > *,
    body.profile-modern .profile-lower-sections > *,
    body.profile-modern .profile-trust-snapshot > *,
    body.profile-modern .profile-extra-strip > * {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-social-links-shelf,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-activity-section,
    body.profile-modern .medal-container,
    body.profile-modern .rep-strip {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    body.profile-modern {
        --fc-profile-flow-column: calc(100vw - 32px);
    }
}


/* Roadmap UI D4C-FIX3: profile desktop/tablet width harmonization
   Purpose: keep the corrected centered flow from D4C-FIX2, but widen the
   Social / Activity / lower stat flow so it visually matches the collections section better.
   Scope: profile public surfaces only. CSS-only, no DOM/content changes.
*/
@media (min-width: 761px) {
    body.profile-modern {
        --fc-profile-flow-column: 1040px;
    }

    body.profile-modern #fcProfileTrustSnapshot,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern #fcProfileExtraStrip,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections {
        width: min(100%, var(--fc-profile-flow-column)) !important;
        max-width: var(--fc-profile-flow-column) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-social-links-shelf,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-activity-section,
    body.profile-modern .medal-container,
    body.profile-modern .rep-strip {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 761px) and (max-width: 1100px) {
    body.profile-modern {
        --fc-profile-flow-column: calc(100vw - 32px);
    }
}


/* Roadmap UI D4C-FIX4: profile shared wide content column
   Purpose: make Trust Snapshot, Social/Activity/stat flow and Public Collections share the same wide profile column.
   Scope: profile public surfaces only. CSS-only correction, no DOM/content changes.
*/
@media (min-width: 981px) {
    body.profile-modern {
        --fc-profile-shared-wide-column: min(1320px, calc(100vw - 112px));
    }

    body.profile-modern #fcProfileTrustSnapshot,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern #fcProfileExtraStrip,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-related-card {
        width: var(--fc-profile-shared-wide-column) !important;
        max-width: var(--fc-profile-shared-wide-column) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-overview-shell > *,
    body.profile-modern .profile-lower-sections > *,
    body.profile-modern .profile-collections-section > *,
    body.profile-modern .profile-people-section > *,
    body.profile-modern .profile-related-section > * {
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-social-links-shelf,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-activity-section,
    body.profile-modern .medal-container,
    body.profile-modern .rep-strip,
    body.profile-modern .profile-collections-grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

@media (min-width: 761px) and (max-width: 980px) {
    body.profile-modern {
        --fc-profile-shared-wide-column: calc(100vw - 32px);
    }

    body.profile-modern #fcProfileTrustSnapshot,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern #fcProfileExtraStrip,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-lower-sections,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-related-card {
        width: var(--fc-profile-shared-wide-column) !important;
        max-width: var(--fc-profile-shared-wide-column) !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}


/* === RoadmapBeauty RB15B Profile Cohesive Desktop Polish ===
   Scope:
   - CSS-only FameClock-cohesive desktop polish for public profile.
   - No PHP, no JS, no DB, no routes, no multilingual changes.
   - Keeps existing soft premium light identity; improves spacing, hierarchy, card rhythm.
*/

@media (min-width: 921px) {
    body.profile-modern {
        overflow-x: hidden;
    }

    body.profile-modern .container {
        width: min(1180px, calc(100% - 40px));
    }

    body.profile-modern .profile-public-hero.fc-profile-hero-clean {
        position: relative;
        overflow: hidden;
        border-radius: 34px;
        margin: 28px auto 22px;
        width: min(1180px, calc(100% - 40px));
        border: 1px solid rgba(203,213,225,.76);
        background:
            radial-gradient(circle at 12% 0%, rgba(59,130,246,.12), transparent 30%),
            radial-gradient(circle at 88% 10%, rgba(245,158,11,.10), transparent 28%),
            linear-gradient(180deg, rgba(255,255,255,.88), rgba(248,250,252,.78));
        box-shadow: 0 24px 70px rgba(15,23,42,.095);
    }

    body.profile-modern .profile-public-hero.fc-profile-hero-clean::after {
        content: "";
        position: absolute;
        inset: auto -140px -180px auto;
        width: 360px;
        height: 360px;
        border-radius: 999px;
        background: radial-gradient(circle, rgba(59,130,246,.13), rgba(14,165,233,.06) 45%, transparent 70%);
        pointer-events: none;
    }

    body.profile-modern .profile-public-cover,
    body.profile-modern .profile-public-overlay {
        border-radius: inherit;
    }

    body.profile-modern .profile-public-shell {
        position: relative;
        z-index: 1;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        gap: 24px;
        align-items: end;
        padding: clamp(34px, 4vw, 54px);
    }

    body.profile-modern .profile-public-avatar {
        width: 138px;
        height: 138px;
        border-radius: 32px;
        border: 1px solid rgba(255,255,255,.82);
        box-shadow:
            0 22px 48px rgba(15,23,42,.14),
            inset 0 1px 0 rgba(255,255,255,.86);
        background: rgba(255,255,255,.72);
    }

    body.profile-modern .profile-public-avatar img,
    body.profile-modern .profile-public-avatar-fallback {
        border-radius: 28px;
    }

    body.profile-modern .profile-public-heading {
        min-width: 0;
        display: grid;
        gap: 14px;
    }

    body.profile-modern .profile-public-eyebrow,
    body.profile-modern .profile-public-username,
    body.profile-modern .profile-extra-item__label,
    body.profile-modern .profile-trust-snapshot__eyebrow,
    body.profile-modern .profile-share-strip__label,
    body.profile-modern .gallery-meta {
        letter-spacing: .13em;
    }

    body.profile-modern .profile-public-name {
        color: #172238;
        letter-spacing: -.045em;
        line-height: .94;
        text-wrap: balance;
    }

    body.profile-modern .profile-public-username {
        color: #64748b;
    }

    body.profile-modern .profile-badge-row,
    body.profile-modern .profile-public-summary {
        gap: 10px;
    }

    body.profile-modern .profile-badge-chip,
    body.profile-modern .profile-public-summary-chip {
        border-radius: 999px;
        background: rgba(255,255,255,.78);
        border: 1px solid rgba(203,213,225,.80);
        box-shadow: 0 8px 18px rgba(15,23,42,.045);
    }

    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        width: min(1180px, calc(100% - 40px));
        margin-inline: auto;
        border-radius: 28px;
        background: rgba(255,255,255,.76);
        border: 1px solid rgba(203,213,225,.78);
        box-shadow: 0 18px 52px rgba(15,23,42,.075);
    }

    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        padding: clamp(20px, 2.2vw, 28px);
    }

    body.profile-modern .profile-trust-snapshot {
        display: grid;
        grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
        gap: 20px;
        align-items: center;
    }

    body.profile-modern .profile-trust-snapshot__intro {
        min-width: 0;
    }

    body.profile-modern .profile-trust-snapshot__intro p,
    body.profile-modern .profile-extra-item__value,
    body.profile-modern .profile-activity-meta,
    body.profile-modern .profile-activity-time,
    body.profile-modern .profile-collection-desc,
    body.profile-modern .profile-people-handle,
    body.profile-modern .profile-people-headline,
    body.profile-modern .profile-related-copy,
    body.profile-modern .profile-related-link-copy {
        color: #607089;
        line-height: 1.58;
    }

    body.profile-modern .profile-trust-snapshot__grid {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 10px;
    }

    body.profile-modern .profile-trust-snapshot__item,
    body.profile-modern .profile-extra-item,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .hud-box,
    body.profile-modern .rep-card,
    body.profile-modern .rep-mini-card {
        border-radius: 20px;
        background: rgba(248,250,252,.78);
        border: 1px solid rgba(203,213,225,.72);
        box-shadow: 0 10px 24px rgba(15,23,42,.045);
    }

    body.profile-modern .profile-extra-strip__grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    body.profile-modern .profile-overview-shell {
        display: grid;
        gap: 18px;
        padding: clamp(20px, 2.2vw, 28px);
    }

    body.profile-modern .profile-follow-stats {
        gap: 10px;
    }

    body.profile-modern .profile-follow-stat,
    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-message-icon,
    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-collections-cta,
    body.profile-modern .profile-minute-open-link,
    body.profile-modern .page-btn,
    body.profile-modern .profile-related-link {
        border-radius: 999px;
        box-shadow: 0 8px 18px rgba(15,23,42,.045);
    }

    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-share-pill.is-primary,
    body.profile-modern .profile-collections-cta,
    body.profile-modern .profile-minute-open-link {
        border: 1px solid rgba(59,130,246,.28);
        background: rgba(239,246,255,.86);
        color: #2563eb;
    }

    body.profile-modern .profile-follow-btn:hover,
    body.profile-modern .profile-share-pill:hover,
    body.profile-modern .profile-collections-cta:hover,
    body.profile-modern .profile-minute-open-link:hover,
    body.profile-modern .page-btn:hover,
    body.profile-modern .profile-related-link:hover {
        transform: translateY(-1px);
    }

    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head,
    body.profile-modern .history-title {
        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        gap: 14px;
        align-items: center;
        padding-bottom: 14px;
        border-bottom: 1px solid rgba(203,213,225,.56);
        color: #172238;
    }

    body.profile-modern .profile-activity-tabs {
        display: flex;
        flex-wrap: wrap;
        gap: 9px;
        margin-top: 16px;
    }

    body.profile-modern .profile-activity-tab {
        border-radius: 999px;
        background: rgba(255,255,255,.78);
        border: 1px solid rgba(203,213,225,.80);
        color: #172238;
        box-shadow: 0 7px 16px rgba(15,23,42,.04);
    }

    body.profile-modern .profile-activity-tab.is-active {
        color: #2563eb;
        border-color: rgba(59,130,246,.34);
        background: rgba(239,246,255,.88);
    }

    body.profile-modern .profile-activity-feed,
    body.profile-modern .profile-collections-grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid {
        gap: 16px;
    }

    body.profile-modern .profile-activity-card,
    body.profile-modern .profile-collection-card,
    body.profile-modern .slot-card,
    body.profile-modern .history-row,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-link {
        min-width: 0;
        overflow: hidden;
        border-radius: 24px;
        background: rgba(255,255,255,.78);
        border: 1px solid rgba(203,213,225,.76);
        box-shadow: 0 16px 42px rgba(15,23,42,.075);
        transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
    }

    body.profile-modern .profile-activity-card:hover,
    body.profile-modern .profile-collection-card:hover,
    body.profile-modern .slot-card:hover,
    body.profile-modern .history-row:hover,
    body.profile-modern .profile-people-card:hover,
    body.profile-modern .profile-related-link:hover {
        transform: translateY(-2px);
        border-color: rgba(59,130,246,.30);
        box-shadow: 0 22px 54px rgba(37,99,235,.105);
    }

    body.profile-modern .profile-collection-cover,
    body.profile-modern .slot-visual {
        background: linear-gradient(180deg, rgba(248,250,252,.84), rgba(255,255,255,.72));
        border-bottom: 1px solid rgba(226,232,240,.78);
    }

    body.profile-modern .stats-row {
        gap: 14px;
    }

    body.profile-modern .stat-item .val,
    body.profile-modern .rep-score,
    body.profile-modern .profile-collection-title-link,
    body.profile-modern .profile-people-name,
    body.profile-modern .profile-related-title {
        color: #172238;
        letter-spacing: -.02em;
    }

    body.profile-modern .status-tag,
    body.profile-modern .badge-buy,
    body.profile-modern .badge-sell,
    body.profile-modern .profile-collection-chip,
    body.profile-modern .profile-people-fp {
        border-radius: 999px;
        box-shadow: 0 7px 16px rgba(15,23,42,.04);
    }

    body.profile-modern .pagination {
        margin-top: 20px;
        gap: 8px;
    }

    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        min-height: 40px;
        min-width: 40px;
        border-radius: 999px;
        background: rgba(255,255,255,.78);
        border: 1px solid rgba(203,213,225,.78);
        color: #172238;
    }

    body.profile-modern .page-btn.active,
    body.profile-modern .page-btn:hover {
        color: #2563eb;
        border-color: rgba(59,130,246,.34);
        background: rgba(239,246,255,.88);
    }
}
/* === /RoadmapBeauty RB15B Profile Cohesive Desktop Polish === */

/* === RoadmapBeauty RB15C Profile Mobile Tablet Safety ===
   Scope:
   - CSS-only mobile/tablet safety pass after RB15B.
   - Fixes overflow, spacing, chips, cards, grids, CTAs, pagination, and profile hero rhythm.
   - No PHP, no JS, no DB, no routes, no multilingual changes.
*/

@media (max-width: 920px) {
    body.profile-modern {
        overflow-x: hidden;
    }

    body.profile-modern .container,
    body.profile-modern .profile-public-hero,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-related-card,
    body.profile-modern .grid,
    body.profile-modern .profile-collections-grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid {
        max-width: 100%;
        min-width: 0;
    }

    body.profile-modern .container {
        width: min(100%, calc(100% - 24px));
        padding-inline: 0;
    }

    body.profile-modern .profile-public-hero.fc-profile-hero-clean,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        width: min(100%, calc(100% - 24px));
        margin-inline: auto;
        border-radius: 24px;
        box-shadow: 0 14px 38px rgba(15,23,42,.065);
    }

    body.profile-modern .profile-public-shell {
        grid-template-columns: 1fr;
        justify-items: start;
        gap: 18px;
        padding: 26px 18px;
    }

    body.profile-modern .profile-public-avatar {
        width: 112px;
        height: 112px;
        border-radius: 26px;
    }

    body.profile-modern .profile-public-avatar img,
    body.profile-modern .profile-public-avatar-fallback {
        border-radius: 22px;
    }

    body.profile-modern .profile-public-name {
        max-width: 100%;
        font-size: clamp(2.1rem, 9vw, 4rem);
        line-height: .98;
        letter-spacing: -.045em;
        overflow-wrap: anywhere;
    }

    body.profile-modern .profile-public-username,
    body.profile-modern .profile-public-eyebrow {
        overflow-wrap: anywhere;
    }

    body.profile-modern .profile-badge-row,
    body.profile-modern .profile-public-summary,
    body.profile-modern .profile-share-strip__actions,
    body.profile-modern .profile-activity-tabs {
        display: flex;
        overflow-x: auto;
        flex-wrap: nowrap;
        gap: 8px;
        padding-bottom: 3px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.profile-modern .profile-badge-row::-webkit-scrollbar,
    body.profile-modern .profile-public-summary::-webkit-scrollbar,
    body.profile-modern .profile-share-strip__actions::-webkit-scrollbar,
    body.profile-modern .profile-activity-tabs::-webkit-scrollbar {
        display: none;
    }

    body.profile-modern .profile-badge-chip,
    body.profile-modern .profile-public-summary-chip,
    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-activity-tab {
        flex: 0 0 auto;
        white-space: nowrap;
    }

    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        padding: 18px 16px;
    }

    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip__grid,
    body.profile-modern .profile-trust-snapshot__grid,
    body.profile-modern .stats-row,
    body.profile-modern .rep-mini-grid,
    body.profile-modern .profile-collections-grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid {
        grid-template-columns: 1fr;
    }

    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head,
    body.profile-modern .history-title {
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
    }

    body.profile-modern .profile-collections-cta {
        width: fit-content;
        max-width: 100%;
    }

    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-trust-snapshot__item,
    body.profile-modern .profile-extra-item,
    body.profile-modern .hud-box,
    body.profile-modern .rep-card,
    body.profile-modern .rep-mini-card,
    body.profile-modern .profile-activity-card,
    body.profile-modern .profile-collection-card,
    body.profile-modern .slot-card,
    body.profile-modern .history-row,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-link {
        border-radius: 20px;
    }

    body.profile-modern .profile-follow-stats,
    body.profile-modern .profile-follow-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.profile-modern .profile-follow-stat,
    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-message-icon,
    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-minute-open-link {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    body.profile-modern .profile-message-icon {
        min-height: 44px;
    }

    body.profile-modern .grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    body.profile-modern .slot-visual {
        min-height: 220px;
    }

    body.profile-modern .slot-info {
        display: grid;
        gap: 12px;
    }

    body.profile-modern .price-tag,
    body.profile-modern .status-tag,
    body.profile-modern .profile-minute-open-link {
        max-width: 100%;
    }

    body.profile-modern .history-row {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    body.profile-modern .h-price {
        text-align: left;
    }

    body.profile-modern .profile-collection-footer,
    body.profile-modern .profile-people-row {
        align-items: flex-start;
    }

    body.profile-modern .profile-collection-title-link,
    body.profile-modern .profile-collection-desc,
    body.profile-modern .profile-collection-updated,
    body.profile-modern .profile-people-name,
    body.profile-modern .profile-people-handle,
    body.profile-modern .profile-people-headline,
    body.profile-modern .profile-related-title,
    body.profile-modern .profile-related-copy,
    body.profile-modern .profile-related-link-copy {
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    body.profile-modern .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 560px) {
    body.profile-modern .container {
        width: min(100%, calc(100% - 20px));
    }

    body.profile-modern .profile-public-hero.fc-profile-hero-clean,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        width: min(100%, calc(100% - 20px));
        border-radius: 22px;
    }

    body.profile-modern .profile-public-shell {
        padding: 22px 14px;
    }

    body.profile-modern .profile-public-avatar {
        width: 96px;
        height: 96px;
        border-radius: 22px;
    }

    body.profile-modern .profile-public-avatar img,
    body.profile-modern .profile-public-avatar-fallback {
        border-radius: 19px;
    }

    body.profile-modern .profile-public-name {
        font-size: clamp(1.95rem, 12vw, 3.25rem);
    }

    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        padding: 16px 14px;
    }

    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head,
    body.profile-modern .history-title {
        font-size: clamp(1.25rem, 6vw, 1.8rem);
        line-height: 1.1;
    }

    body.profile-modern .gallery-meta,
    body.profile-modern .profile-public-eyebrow,
    body.profile-modern .profile-extra-item__label,
    body.profile-modern .profile-trust-snapshot__eyebrow,
    body.profile-modern .profile-share-strip__label {
        font-size: .74rem;
        letter-spacing: .11em;
    }

    body.profile-modern .profile-public-summary-chip,
    body.profile-modern .profile-badge-chip,
    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-activity-tab,
    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        font-size: .78rem;
    }

    body.profile-modern .slot-visual {
        min-height: 200px;
    }

    body.profile-modern .profile-collection-cover {
        min-height: 160px;
    }

    body.profile-modern .profile-follow-modal__dialog {
        width: min(100%, calc(100% - 20px));
        max-height: calc(100vh - 40px);
        border-radius: 22px;
    }

    body.profile-modern .asset-modal-content {
        width: min(100%, calc(100% - 20px));
        max-height: calc(100vh - 40px);
        border-radius: 22px;
    }
}

@media (max-width: 380px) {
    body.profile-modern .container {
        width: min(100%, calc(100% - 16px));
    }

    body.profile-modern .profile-public-hero.fc-profile-hero-clean,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-activity-section,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card {
        width: min(100%, calc(100% - 16px));
        padding: 14px 12px;
        border-radius: 20px;
    }

    body.profile-modern .profile-public-shell {
        padding: 18px 12px;
    }

    body.profile-modern .profile-public-name {
        font-size: clamp(1.75rem, 13vw, 2.8rem);
    }

    body.profile-modern .profile-public-avatar {
        width: 86px;
        height: 86px;
    }

    body.profile-modern .slot-visual {
        min-height: 180px;
    }

    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        min-width: 36px;
        min-height: 36px;
    }
}
/* === /RoadmapBeauty RB15C Profile Mobile Tablet Safety === */

/* === RoadmapBeauty RB15D Profile Lower Sections Polish ===
   Scope:
   - CSS-only profile lower sections polish.
   - Refines activity, reputation, collections, asset cards, history, people, related links, empty states and pagination.
   - No PHP, no JS, no DB, no routes, no multilingual changes.
   - Keeps FameClock light premium cohesion from RB15B/RB15C.
*/

body.profile-modern .profile-activity-section,
body.profile-modern .profile-collections-section,
body.profile-modern .history-section,
body.profile-modern .profile-people-section,
body.profile-modern .profile-related-card {
    position: relative;
    overflow: hidden;
}

body.profile-modern .profile-activity-section::before,
body.profile-modern .profile-collections-section::before,
body.profile-modern .history-section::before,
body.profile-modern .profile-people-section::before,
body.profile-modern .profile-related-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, rgba(59,130,246,.46), rgba(245,158,11,.34), rgba(14,165,233,.30));
    pointer-events: none;
}

body.profile-modern .profile-activity-section > *,
body.profile-modern .profile-collections-section > *,
body.profile-modern .history-section > *,
body.profile-modern .profile-people-section > *,
body.profile-modern .profile-related-card > * {
    position: relative;
    z-index: 1;
}

body.profile-modern .profile-activity-feed {
    display: grid;
    gap: 12px;
    margin-top: 16px;
}

body.profile-modern .profile-activity-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    padding: 16px;
}

body.profile-modern .profile-activity-icon {
    width: 42px;
    height: 42px;
    border-radius: 999px;
    background: rgba(239,246,255,.88);
    border: 1px solid rgba(59,130,246,.24);
    color: #2563eb;
    box-shadow: 0 8px 18px rgba(37,99,235,.08);
}

body.profile-modern .profile-activity-title {
    color: #172238;
    letter-spacing: -.01em;
    line-height: 1.25;
}

body.profile-modern .profile-activity-meta,
body.profile-modern .profile-activity-time {
    color: #64748b;
}

body.profile-modern .profile-activity-empty,
body.profile-modern .grid-empty-state,
body.profile-modern .history-empty-state {
    border-radius: 22px;
    background: rgba(248,250,252,.78);
    border: 1px solid rgba(203,213,225,.72);
    box-shadow: 0 12px 30px rgba(15,23,42,.045);
}

body.profile-modern .stats-row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

body.profile-modern .hud-box {
    min-width: 0;
    padding: 18px;
}

body.profile-modern .stat-item .val {
    line-height: 1;
}

body.profile-modern .stat-item .lbl {
    color: #64748b;
    letter-spacing: .12em;
}

body.profile-modern .rep-strip {
    display: grid;
    gap: 14px;
}

body.profile-modern .rep-card {
    padding: 20px;
}

body.profile-modern .rep-score-row {
    align-items: end;
    gap: 12px;
}

body.profile-modern .rep-score {
    line-height: .95;
}

body.profile-modern .rep-tier {
    border-radius: 999px;
    background: rgba(255,247,224,.82);
    border: 1px solid rgba(245,158,11,.28);
    color: #b77900;
    box-shadow: 0 7px 16px rgba(15,23,42,.04);
}

body.profile-modern .rep-progress {
    overflow: hidden;
    border-radius: 999px;
    background: rgba(226,232,240,.74);
}

body.profile-modern .rep-progress span {
    border-radius: inherit;
}

body.profile-modern .rep-mini-grid {
    gap: 12px;
}

body.profile-modern .rep-mini-card {
    min-width: 0;
    padding: 16px;
}

body.profile-modern .rep-mini-label {
    color: #7c8ca3;
    letter-spacing: .12em;
}

body.profile-modern .rep-mini-value {
    color: #172238;
}

body.profile-modern .profile-collections-grid {
    margin-top: 18px;
}

body.profile-modern .profile-collection-card {
    min-width: 0;
}

body.profile-modern .profile-collection-cover {
    min-height: 180px;
}

body.profile-modern .profile-collection-fallback {
    color: #2563eb;
    background: rgba(239,246,255,.86);
}

body.profile-modern .profile-collection-body {
    display: grid;
    gap: 12px;
    min-width: 0;
}

body.profile-modern .profile-collection-meta,
body.profile-modern .profile-collection-updated {
    color: #64748b;
}

body.profile-modern .profile-collection-count,
body.profile-modern .profile-collection-chip {
    background: rgba(239,246,255,.84);
    border: 1px solid rgba(59,130,246,.24);
    color: #2563eb;
}

body.profile-modern .profile-collection-footer {
    gap: 12px;
}

body.profile-modern .profile-collection-preview {
    min-width: 0;
    gap: 7px;
}

body.profile-modern .grid {
    gap: 18px;
}

body.profile-modern .slot-card {
    min-width: 0;
}

body.profile-modern .slot-card:hover .time-badge {
    color: #1d4ed8;
}

body.profile-modern .slot-info {
    padding: 18px;
}

body.profile-modern .time-badge {
    color: #172238;
    letter-spacing: -.035em;
    line-height: 1;
}

body.profile-modern .price-tag {
    border-radius: 14px;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.82);
    box-shadow: 0 7px 16px rgba(15,23,42,.04);
}

body.profile-modern .status-tag {
    width: fit-content;
    max-width: 100%;
    border: 1px solid rgba(203,213,225,.72);
    background: rgba(255,255,255,.78);
}

body.profile-modern .status-sale {
    color: #16a34a;
    border-color: rgba(34,197,94,.24);
    background: rgba(240,253,244,.88);
}

body.profile-modern .status-hold {
    color: #64748b;
}

body.profile-modern .profile-minute-open-link {
    min-height: 42px;
}

body.profile-modern .history-section {
    display: grid;
    gap: 14px;
}

body.profile-modern .history-row {
    align-items: center;
    padding: 16px;
}

body.profile-modern .h-date {
    color: #64748b;
    line-height: 1.45;
}

body.profile-modern .h-info {
    min-width: 0;
}

body.profile-modern .h-info strong,
body.profile-modern .profile-history-minute-link,
body.profile-modern .profile-history-user-link {
    color: #172238;
    overflow-wrap: anywhere;
}

body.profile-modern .badge-buy {
    color: #16a34a;
    border-color: rgba(34,197,94,.24);
    background: rgba(240,253,244,.88);
}

body.profile-modern .badge-sell {
    color: #b77900;
    border-color: rgba(245,158,11,.28);
    background: rgba(255,247,224,.82);
}

body.profile-modern .h-price {
    border-radius: 14px;
    background: rgba(248,250,252,.86);
    border: 1px solid rgba(226,232,240,.82);
    padding: 10px 12px;
    box-shadow: 0 7px 16px rgba(15,23,42,.04);
}

body.profile-modern .profile-people-grid {
    margin-top: 18px;
    gap: 14px;
}

body.profile-modern .profile-people-card {
    padding: 16px;
}

body.profile-modern .profile-people-avatar {
    flex: 0 0 auto;
    background: rgba(239,246,255,.88);
    border: 1px solid rgba(59,130,246,.24);
    color: #2563eb;
    box-shadow: 0 8px 18px rgba(37,99,235,.08);
}

body.profile-modern .profile-people-body {
    min-width: 0;
}

body.profile-modern .profile-people-verified {
    color: #16a34a;
    background: rgba(240,253,244,.88);
    border-color: rgba(34,197,94,.24);
}

body.profile-modern .profile-people-meta {
    gap: 8px;
}

body.profile-modern .profile-people-fp {
    color: #2563eb;
    background: rgba(239,246,255,.84);
    border: 1px solid rgba(59,130,246,.24);
}

body.profile-modern .profile-related-grid {
    margin-top: 18px;
}

body.profile-modern .profile-related-link {
    display: grid;
    gap: 8px;
    align-content: start;
    padding: 16px;
}

body.profile-modern .profile-related-link strong {
    color: #172238;
    letter-spacing: -.01em;
}

body.profile-modern .profile-related-link i {
    color: #2563eb;
}

body.profile-modern .profile-related-link-copy {
    color: #64748b;
}

body.profile-modern .pagination {
    padding-top: 2px;
}

body.profile-modern .page-btn.disabled {
    opacity: .52;
    pointer-events: none;
}

@media (max-width: 920px) {
    body.profile-modern .stats-row {
        grid-template-columns: 1fr;
    }

    body.profile-modern .profile-activity-card,
    body.profile-modern .history-row,
    body.profile-modern .profile-people-card {
        align-items: start;
    }

    body.profile-modern .profile-collection-footer {
        display: grid;
        grid-template-columns: 1fr;
    }

    body.profile-modern .profile-related-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    body.profile-modern .profile-activity-card,
    body.profile-modern .profile-people-card {
        grid-template-columns: 1fr;
    }

    body.profile-modern .profile-activity-icon {
        width: 38px;
        height: 38px;
    }

    body.profile-modern .slot-info,
    body.profile-modern .history-row,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-link,
    body.profile-modern .profile-collection-body {
        padding: 14px;
    }

    body.profile-modern .profile-collection-cover {
        min-height: 150px;
    }

    body.profile-modern .time-badge {
        font-size: clamp(1.55rem, 10vw, 2.35rem);
    }
}
/* === /RoadmapBeauty RB15D Profile Lower Sections Polish === */


/* FC_MOBILE_PROFILE_COMFORT_START
   Purpose: make public profile pages calmer, cleaner and easier on mobile.
   Scope: profile mobile only.
   Safe: CSS-only, no text, no /lang, no DB, no routing, no checkout changes.
*/
@media (max-width: 767px) {
    body {
        overflow-x: hidden !important;
        -webkit-text-size-adjust: 100% !important;
    }

    body .profile-container,
    body .profile-shell,
    body .profile-main,
    body .profile-page,
    body .container {
        width: calc(100% - 22px) !important;
        max-width: calc(100% - 22px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    body .profile-hero,
    body .profile-card,
    body .profile-header,
    body .profile-top-card,
    body .profile-summary-card,
    body .profile-panel,
    body .profile-section,
    body .profile-network-card,
    body .profile-collections-card,
    body .profile-activity-card,
    body .profile-share-card,
    body .glass-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 24px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body .profile-hero,
    body .profile-header,
    body .profile-top-card,
    body .profile-summary-card {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 14px !important;
        padding: 16px !important;
    }

    body .profile-avatar,
    body .avatar,
    body .profile-avatar-wrap {
        margin-left: auto !important;
        margin-right: auto !important;
        max-width: 118px !important;
    }

    body .profile-name,
    body .profile-title,
    body .profile-display-name,
    body .profile-handle,
    body .profile-headline,
    body .profile-bio,
    body .profile-location {
        max-width: 100% !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body .profile-name,
    body .profile-title,
    body .profile-display-name {
        font-size: clamp(1.5rem, 8vw, 2.25rem) !important;
        line-height: 1.08 !important;
        letter-spacing: -0.045em !important;
    }

    body .profile-headline,
    body .profile-bio {
        font-size: 0.94rem !important;
        line-height: 1.5 !important;
    }

    body .profile-stats,
    body .profile-stat-grid,
    body .stats-grid,
    body .profile-follow-stats,
    body .profile-kpi-grid {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 9px !important;
        box-sizing: border-box !important;
    }

    body .profile-stat,
    body .profile-follow-stat,
    body .stat-card,
    body .kpi-card {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 64px !important;
        border-radius: 18px !important;
        padding: 10px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body .profile-stat strong,
    body .profile-follow-stat strong,
    body .stat-card strong,
    body .kpi-card strong,
    body .val {
        font-size: clamp(1.05rem, 6vw, 1.55rem) !important;
        line-height: 1.05 !important;
        overflow-wrap: anywhere !important;
    }

    body .profile-actions,
    body .profile-owner-actions,
    body .profile-follow-actions,
    body .profile-share-actions,
    body .profile-share-row,
    body .social-links,
    body .profile-socials {
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        box-sizing: border-box !important;
    }

    body .profile-follow-btn,
    body .profile-message-btn,
    body .profile-share-pill,
    body .social-btn,
    body .profile-collections-cta,
    body .empty-cta,
    body .profile-minute-open-link,
    body .btn,
    body .page-btn {
        min-height: 44px !important;
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        touch-action: manipulation !important;
    }

    body .profile-share-pill,
    body .social-btn {
        width: 100% !important;
        border-radius: 16px !important;
    }

    body .profile-activity-tabs {
        width: 100% !important;
        display: flex !important;
        gap: 7px !important;
        overflow-x: auto !important;
        padding-bottom: 2px !important;
        -webkit-overflow-scrolling: touch !important;
        scrollbar-width: none !important;
    }

    body .profile-activity-tabs::-webkit-scrollbar {
        display: none !important;
    }

    body .profile-activity-tab {
        flex: 0 0 auto !important;
        min-height: 36px !important;
        padding: 8px 11px !important;
        border-radius: 999px !important;
        white-space: nowrap !important;
        font-size: 0.74rem !important;
    }

    body .profile-collections-grid,
    body .collections-grid,
    body .profile-grid,
    body .slots-grid,
    body .slot-grid,
    body .time-grid,
    body .history-grid,
    body .activity-grid,
    body .related-profiles-grid {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        box-sizing: border-box !important;
    }

    body .slot-card,
    body .collection-card,
    body .profile-history-card,
    body .activity-card,
    body .related-profile-card {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 22px !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    body .slot-card *,
    body .collection-card *,
    body .profile-history-card *,
    body .activity-card *,
    body .related-profile-card * {
        min-width: 0;
    }

    body .slot-visual,
    body .slot-info {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    body .slot-info {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
    }

    body .slot-time,
    body .slot-title,
    body .profile-history-minute-link,
    body .profile-history-user-link,
    body .collection-title,
    body .activity-title {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body .pagination,
    body .profile-pagination,
    body .pager {
        width: 100% !important;
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 7px !important;
        justify-content: center !important;
        box-sizing: border-box !important;
    }

    body .page-btn {
        flex: 1 1 auto !important;
        min-width: 44px !important;
        max-width: 100% !important;
        border-radius: 14px !important;
        padding: 9px 10px !important;
    }

    body .profile-follow-modal,
    body .profile-follow-modal__dialog,
    body .profile-follow-modal__content {
        width: calc(100% - 22px) !important;
        max-width: calc(100% - 22px) !important;
        border-radius: 22px !important;
        box-sizing: border-box !important;
    }

    body img,
    body video,
    body iframe,
    body canvas,
    body svg {
        max-width: 100% !important;
    }
}

@media (max-width: 380px) {
    body .profile-container,
    body .profile-shell,
    body .profile-main,
    body .profile-page,
    body .container {
        width: calc(100% - 18px) !important;
        max-width: calc(100% - 18px) !important;
    }

    body .profile-hero,
    body .profile-header,
    body .profile-top-card,
    body .profile-summary-card {
        padding: 13px !important;
        border-radius: 22px !important;
    }

    body .profile-stats,
    body .profile-stat-grid,
    body .stats-grid,
    body .profile-follow-stats,
    body .profile-kpi-grid {
        gap: 8px !important;
    }

    body .profile-stat,
    body .profile-follow-stat,
    body .stat-card,
    body .kpi-card {
        border-radius: 16px !important;
        padding: 9px !important;
    }

    body .profile-follow-btn,
    body .profile-message-btn,
    body .profile-share-pill,
    body .social-btn,
    body .profile-collections-cta,
    body .empty-cta,
    body .profile-minute-open-link,
    body .btn,
    body .page-btn {
        min-height: 42px !important;
    }
}
/* FC_MOBILE_PROFILE_COMFORT_END */


/* ==========================================================================
   FC_PROFILE_M6_MOBILE_REFINEMENT_START
   Public profile mobile refinement.
   Scope: CSS-only. No PHP, no JS, no API, no SQL, no routes, no /lang changes.
   Builds on existing FC_MOBILE_PROFILE_COMFORT layer.
   ========================================================================== */

@media (max-width: 767px) {
    body.profile-modern {
        overflow-x: hidden !important;
        -webkit-text-size-adjust: 100% !important;
    }

    body.profile-modern > .container,
    body.profile-modern .profile-public-hero,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-lower-sections {
        width: min(100% - 14px, 100%) !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow-x: hidden !important;
    }

    body.profile-modern .profile-public-hero,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-card,
    body.profile-modern .history-section {
        border-radius: 24px !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-public-cover {
        width: 100% !important;
        height: clamp(190px, 54vw, 245px) !important;
        min-height: clamp(190px, 54vw, 245px) !important;
        max-height: 245px !important;
        border-radius: 24px 24px 0 0 !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-public-cover img,
    body.profile-modern .profile-public-cover video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body.profile-modern .profile-public-shell {
        width: 100% !important;
        max-width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 13px !important;
        padding: 0 14px 16px !important;
        margin-top: -54px !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-public-avatar {
        width: 106px !important;
        height: 106px !important;
        min-width: 106px !important;
        margin: 0 auto !important;
        border-radius: 30px !important;
    }

    body.profile-modern .profile-public-avatar img,
    body.profile-modern .profile-public-avatar-fallback {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    body.profile-modern .profile-public-identity,
    body.profile-modern .profile-public-heading,
    body.profile-modern .profile-public-summary,
    body.profile-modern .profile-badge-row,
    body.profile-modern .profile-extra-strip__grid,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-trust-snapshot__grid,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-share-strip__actions,
    body.profile-modern .profile-follow-panel {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-public-name {
        max-width: 100% !important;
        font-size: clamp(1.72rem, 9vw, 2.46rem) !important;
        line-height: 1.02 !important;
        letter-spacing: -0.045em !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.profile-modern .profile-public-username,
    body.profile-modern .profile-public-eyebrow,
    body.profile-modern .profile-public-summary,
    body.profile-modern .profile-private-note,
    body.profile-modern .profile-bio-card,
    body.profile-modern .profile-extra-item__label,
    body.profile-modern .profile-extra-item__value,
    body.profile-modern .profile-trust-snapshot__intro,
    body.profile-modern .profile-trust-snapshot__item,
    body.profile-modern .profile-share-strip__label {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
        line-height: 1.35 !important;
    }

    body.profile-modern .profile-badge-row,
    body.profile-modern .profile-public-summary,
    body.profile-modern .profile-share-strip__actions,
    body.profile-modern .profile-social-links-shelf {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 4px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.profile-modern .profile-badge-row::-webkit-scrollbar,
    body.profile-modern .profile-public-summary::-webkit-scrollbar,
    body.profile-modern .profile-share-strip__actions::-webkit-scrollbar,
    body.profile-modern .profile-social-links-shelf::-webkit-scrollbar {
        display: none;
    }

    body.profile-modern .profile-badge-chip,
    body.profile-modern .profile-public-summary-chip,
    body.profile-modern .profile-share-pill {
        flex: 0 0 auto !important;
        max-width: min(84vw, 280px) !important;
        min-height: 38px !important;
        white-space: normal !important;
        line-height: 1.14 !important;
        overflow-wrap: anywhere !important;
    }

    body.profile-modern .profile-follow-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 9px !important;
        width: 100% !important;
    }

    body.profile-modern .profile-follow-stat {
        min-width: 0 !important;
        width: 100% !important;
        min-height: 64px !important;
        border-radius: 18px !important;
        padding: 10px !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-follow-stat strong,
    body.profile-modern .profile-follow-stat span {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        line-height: 1.12 !important;
    }

    body.profile-modern .profile-follow-actions,
    body.profile-modern .profile-share-strip {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
    }

    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-message-icon,
    body.profile-modern .profile-collections-cta,
    body.profile-modern .empty-cta,
    body.profile-modern .profile-minute-open-link,
    body.profile-modern .profile-related-link,
    body.profile-modern .page-btn,
    body.profile-modern .btn-modal-buy {
        min-height: 46px !important;
        max-width: 100% !important;
        justify-content: center !important;
        text-align: center !important;
        white-space: normal !important;
        line-height: 1.14 !important;
        overflow-wrap: anywhere !important;
        touch-action: manipulation !important;
    }

    body.profile-modern .profile-extra-strip {
        padding: 14px !important;
    }

    body.profile-modern .profile-extra-strip__grid,
    body.profile-modern .profile-trust-snapshot__grid,
    body.profile-modern .rep-mini-grid,
    body.profile-modern .stats-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    body.profile-modern .profile-extra-item,
    body.profile-modern .profile-trust-snapshot__item,
    body.profile-modern .rep-card,
    body.profile-modern .rep-mini-card,
    body.profile-modern .stat-item,
    body.profile-modern .hud-box {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 18px !important;
        overflow: hidden !important;
    }

    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 9px !important;
        align-items: start !important;
        text-align: start !important;
        padding: 13px 12px !important;
        border-radius: 18px !important;
    }

    body.profile-modern .gallery-header > div,
    body.profile-modern .gallery-header span,
    body.profile-modern .gallery-meta {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        line-height: 1.18 !important;
    }

    body.profile-modern .profile-collections-grid,
    body.profile-modern .grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid,
    body.profile-modern .profile-activity-feed {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    body.profile-modern .profile-collection-card,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-card,
    body.profile-modern .profile-activity-card,
    body.profile-modern .history-row,
    body.profile-modern .grid-empty-state,
    body.profile-modern .empty-state,
    body.profile-modern .history-empty-state {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        border-radius: 20px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-collection-cover,
    body.profile-modern .profile-collection-preview,
    body.profile-modern .profile-people-avatar {
        overflow: hidden !important;
    }

    body.profile-modern .profile-collection-title-link,
    body.profile-modern .profile-collection-desc,
    body.profile-modern .profile-collection-chip,
    body.profile-modern .profile-collection-count,
    body.profile-modern .profile-collection-updated,
    body.profile-modern .profile-people-name,
    body.profile-modern .profile-people-handle,
    body.profile-modern .profile-people-headline,
    body.profile-modern .profile-people-meta,
    body.profile-modern .profile-related-title,
    body.profile-modern .profile-related-copy,
    body.profile-modern .profile-related-link-copy,
    body.profile-modern .profile-activity-title,
    body.profile-modern .profile-activity-meta,
    body.profile-modern .profile-activity-time,
    body.profile-modern .h-info,
    body.profile-modern .h-date,
    body.profile-modern .h-price,
    body.profile-modern .profile-history-minute-link,
    body.profile-modern .profile-history-user-link {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.profile-modern .profile-activity-tabs {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 8px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding-bottom: 5px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.profile-modern .profile-activity-tabs::-webkit-scrollbar {
        display: none;
    }

    body.profile-modern .profile-activity-tab {
        flex: 0 0 auto !important;
        min-height: 40px !important;
        max-width: min(78vw, 230px) !important;
        white-space: normal !important;
        line-height: 1.12 !important;
        overflow-wrap: anywhere !important;
    }

    body.profile-modern .history-row {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 8px !important;
        padding: 12px !important;
    }

    body.profile-modern .pagination {
        display: flex !important;
        flex-wrap: nowrap !important;
        justify-content: flex-start !important;
        gap: 7px !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        padding: 4px 0 8px !important;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }

    body.profile-modern .pagination::-webkit-scrollbar {
        display: none;
    }

    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        flex: 0 0 auto !important;
        min-width: 42px !important;
        min-height: 42px !important;
    }

    body.profile-modern .profile-follow-modal,
    body.profile-modern .asset-modal-overlay {
        padding: calc(10px + env(safe-area-inset-top, 0px)) 10px calc(10px + env(safe-area-inset-bottom, 0px)) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    body.profile-modern .profile-follow-modal__dialog,
    body.profile-modern .asset-modal-content {
        width: min(100%, 560px) !important;
        max-width: calc(100vw - 20px) !important;
        max-height: calc(100dvh - 20px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
        border-radius: 24px !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    body.profile-modern .profile-follow-modal__body,
    body.profile-modern .profile-follow-modal__list,
    body.profile-modern .am-body {
        max-height: calc(100dvh - 178px - env(safe-area-inset-top, 0px) - env(safe-area-inset-bottom, 0px)) !important;
        overflow-y: auto !important;
        overscroll-behavior: contain;
    }

    body.profile-modern .profile-follow-modal__header,
    body.profile-modern .profile-follow-modal__footer,
    body.profile-modern .am-header,
    body.profile-modern .am-footer {
        gap: 10px !important;
        min-width: 0 !important;
    }

    body.profile-modern .profile-follow-modal__title,
    body.profile-modern .profile-follow-modal__eyebrow,
    body.profile-modern .profile-follow-modal__meta,
    body.profile-modern .profile-follow-modal__state,
    body.profile-modern .am-time,
    body.profile-modern .am-price {
        max-width: 100% !important;
        overflow-wrap: anywhere !important;
        line-height: 1.18 !important;
    }

    body.profile-modern .profile-follow-modal__close,
    body.profile-modern .am-close {
        width: 44px !important;
        height: 44px !important;
        min-width: 44px !important;
        min-height: 44px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 14px !important;
        touch-action: manipulation !important;
    }

    body.profile-modern .profile-follow-modal__pager {
        display: grid !important;
        grid-template-columns: 1fr 1fr !important;
        gap: 8px !important;
        width: 100% !important;
    }

    body.profile-modern .profile-follow-modal__page {
        grid-column: 1 / -1 !important;
        text-align: center !important;
        overflow-wrap: anywhere !important;
    }

    body.profile-modern img,
    body.profile-modern video,
    body.profile-modern iframe,
    body.profile-modern canvas,
    body.profile-modern svg {
        max-width: 100% !important;
    }
}

@media (max-width: 430px) {
    body.profile-modern > .container,
    body.profile-modern .profile-public-hero,
    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section,
    body.profile-modern .profile-lower-sections {
        width: calc(100% - 10px) !important;
    }

    body.profile-modern .profile-public-cover {
        height: clamp(176px, 52vw, 218px) !important;
        min-height: clamp(176px, 52vw, 218px) !important;
    }

    body.profile-modern .profile-public-shell {
        padding: 0 12px 14px !important;
        margin-top: -48px !important;
        gap: 11px !important;
    }

    body.profile-modern .profile-public-avatar {
        width: 96px !important;
        height: 96px !important;
        min-width: 96px !important;
        border-radius: 27px !important;
    }

    body.profile-modern .profile-public-name {
        font-size: clamp(1.58rem, 8.6vw, 2.18rem) !important;
    }

    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-trust-snapshot,
    body.profile-modern .profile-share-strip,
    body.profile-modern .profile-follow-panel,
    body.profile-modern .profile-collection-card,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-card,
    body.profile-modern .profile-activity-card,
    body.profile-modern .history-row {
        border-radius: 18px !important;
    }

    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-message-icon,
    body.profile-modern .profile-collections-cta,
    body.profile-modern .empty-cta,
    body.profile-modern .profile-minute-open-link,
    body.profile-modern .profile-related-link,
    body.profile-modern .btn-modal-buy {
        min-height: 44px !important;
    }
}

html[dir="rtl"] body.profile-modern .profile-badge-row,
html[dir="rtl"] body.profile-modern .profile-public-summary,
html[dir="rtl"] body.profile-modern .profile-share-strip__actions,
html[dir="rtl"] body.profile-modern .profile-social-links-shelf,
html[dir="rtl"] body.profile-modern .profile-activity-tabs,
html[dir="rtl"] body.profile-modern .pagination,
html[lang="ar"] body.profile-modern .profile-badge-row,
html[lang="ar"] body.profile-modern .profile-public-summary,
html[lang="ar"] body.profile-modern .profile-share-strip__actions,
html[lang="ar"] body.profile-modern .profile-social-links-shelf,
html[lang="ar"] body.profile-modern .profile-activity-tabs,
html[lang="ar"] body.profile-modern .pagination {
    direction: rtl;
}

html[dir="rtl"] body.profile-modern .profile-public-shell,
html[dir="rtl"] body.profile-modern .gallery-header,
html[dir="rtl"] body.profile-modern .history-row,
html[lang="ar"] body.profile-modern .profile-public-shell,
html[lang="ar"] body.profile-modern .gallery-header,
html[lang="ar"] body.profile-modern .history-row {
    text-align: start !important;
}

@media (prefers-reduced-motion: reduce) {
    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-share-pill,
    body.profile-modern .profile-activity-tab,
    body.profile-modern .profile-related-link,
    body.profile-modern .profile-follow-modal__dialog,
    body.profile-modern .asset-modal-content {
        transition: none !important;
        animation: none !important;
    }
}

/* ==========================================================================
   FC_PROFILE_M6_MOBILE_REFINEMENT_END
   ========================================================================== */

/* ==========================================================================
   FC_D2_DESKTOP_SHELL_RHYTHM_START
   Desktop shell rhythm polish.
   Scope: profile desktop/tablet only. No mobile, no routes, no follow/profile logic.
   ========================================================================== */

@media (min-width: 1025px) {
    body.profile-modern {
        padding-top: 112px !important;
    }

    body.profile-modern .container {
        width: min(calc(100% - 48px), 1320px) !important;
        max-width: 1320px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    body.profile-modern .profile-public-hero {
        margin-top: 0 !important;
    }
}

@media (min-width: 1600px) {
    body.profile-modern .container {
        width: min(calc(100% - 64px), 1340px) !important;
        max-width: 1340px !important;
    }
}

/* ==========================================================================
   FC_D2_DESKTOP_SHELL_RHYTHM_END
   ========================================================================== */

/* ==========================================================================
   FC_PROFILE_D6_DESKTOP_POLISH_START
   Public profile desktop polish.
   Scope: desktop/tablet >=1025px only. No mobile, no follow/API/session/SQL logic.
   ========================================================================== */

@media (min-width: 1025px) {
    body.profile-modern .profile-public-hero {
        border-radius: 36px !important;
        box-shadow:
            0 34px 90px rgba(15, 23, 42, 0.10),
            0 1px 0 rgba(255,255,255,0.90) inset !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-public-cover {
        min-height: 300px !important;
        max-height: 360px !important;
        border-radius: 36px 36px 0 0 !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-public-cover img,
    body.profile-modern .profile-public-cover video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
    }

    body.profile-modern .profile-public-shell {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) minmax(320px, 0.42fr) !important;
        gap: clamp(22px, 2.6vw, 36px) !important;
        align-items: end !important;
        padding: 0 30px 30px !important;
        margin-top: -72px !important;
    }

    body.profile-modern .profile-public-identity {
        display: grid !important;
        grid-template-columns: 128px minmax(0, 1fr) !important;
        gap: 22px !important;
        align-items: end !important;
        min-width: 0 !important;
    }

    body.profile-modern .profile-public-avatar {
        width: 128px !important;
        height: 128px !important;
        min-width: 128px !important;
        border-radius: 34px !important;
        box-shadow:
            0 24px 54px rgba(15,23,42,0.18),
            0 0 0 6px rgba(255,255,255,0.92) !important;
    }

    body.profile-modern .profile-public-avatar img,
    body.profile-modern .profile-public-avatar-fallback {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
    }

    body.profile-modern .profile-public-name {
        max-width: 100% !important;
        font-size: clamp(2.35rem, 3.4vw, 4rem) !important;
        line-height: 0.98 !important;
        letter-spacing: -0.058em !important;
        overflow-wrap: anywhere !important;
        word-break: normal !important;
    }

    body.profile-modern .profile-public-username,
    body.profile-modern .profile-public-eyebrow,
    body.profile-modern .profile-private-note,
    body.profile-modern .profile-bio-card {
        max-width: 780px !important;
        line-height: 1.5 !important;
        overflow-wrap: anywhere !important;
    }

    body.profile-modern .profile-badge-row {
        gap: 9px !important;
        margin-top: 14px !important;
    }

    body.profile-modern .profile-badge-chip,
    body.profile-modern .profile-public-summary-chip,
    body.profile-modern .profile-share-pill {
        min-height: 38px !important;
        border-radius: 999px !important;
        padding: 8px 12px !important;
        line-height: 1.12 !important;
    }

    body.profile-modern .profile-follow-panel {
        align-self: end !important;
        border-radius: 28px !important;
        padding: 18px !important;
        box-shadow:
            0 24px 64px rgba(15,23,42,0.10),
            0 1px 0 rgba(255,255,255,0.90) inset !important;
    }

    body.profile-modern .profile-follow-stats {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 10px !important;
    }

    body.profile-modern .profile-follow-stat {
        min-height: 82px !important;
        padding: 14px 12px !important;
        border-radius: 20px !important;
        text-align: center !important;
    }

    body.profile-modern .profile-follow-stat strong {
        font-size: clamp(1.25rem, 1.6vw, 1.7rem) !important;
        line-height: 1 !important;
        letter-spacing: -0.035em !important;
    }

    body.profile-modern .profile-follow-actions {
        gap: 10px !important;
        margin-top: 12px !important;
    }

    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-message-icon,
    body.profile-modern .profile-collections-cta,
    body.profile-modern .empty-cta,
    body.profile-modern .profile-minute-open-link,
    body.profile-modern .profile-related-link {
        min-height: 46px !important;
        border-radius: 16px !important;
        justify-content: center !important;
        text-align: center !important;
    }

    body.profile-modern .profile-extra-strip,
    body.profile-modern .profile-overview-shell,
    body.profile-modern .profile-collections-section,
    body.profile-modern .history-section,
    body.profile-modern .profile-people-section,
    body.profile-modern .profile-related-section {
        border-radius: 30px !important;
        box-shadow:
            0 24px 70px rgba(15,23,42,0.08),
            0 1px 0 rgba(255,255,255,0.90) inset !important;
    }

    body.profile-modern .profile-extra-strip {
        padding: 22px !important;
        margin-top: 24px !important;
        margin-bottom: 24px !important;
    }

    body.profile-modern .profile-extra-strip__grid,
    body.profile-modern .profile-trust-snapshot__grid,
    body.profile-modern .rep-mini-grid,
    body.profile-modern .stats-row {
        gap: 14px !important;
    }

    body.profile-modern .profile-extra-item,
    body.profile-modern .profile-trust-snapshot__item,
    body.profile-modern .rep-card,
    body.profile-modern .rep-mini-card,
    body.profile-modern .stat-item,
    body.profile-modern .hud-box {
        border-radius: 22px !important;
        padding: 18px !important;
        box-shadow:
            0 18px 48px rgba(15,23,42,0.06),
            0 1px 0 rgba(255,255,255,0.88) inset !important;
    }

    body.profile-modern .profile-trust-snapshot {
        border-radius: 28px !important;
        padding: 22px !important;
    }

    body.profile-modern .profile-share-strip {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 16px !important;
        align-items: center !important;
        padding: 18px 20px !important;
        border-radius: 26px !important;
    }

    body.profile-modern .profile-share-strip__actions {
        justify-content: flex-end !important;
        gap: 9px !important;
    }

    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto !important;
        gap: 18px !important;
        align-items: end !important;
        padding: 20px 22px !important;
        border-radius: 24px !important;
    }

    body.profile-modern .profile-collections-grid,
    body.profile-modern .grid,
    body.profile-modern .profile-people-grid,
    body.profile-modern .profile-related-grid,
    body.profile-modern .profile-activity-feed {
        gap: 16px !important;
    }

    body.profile-modern .profile-collection-card,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-card,
    body.profile-modern .profile-activity-card,
    body.profile-modern .history-row,
    body.profile-modern .grid-empty-state,
    body.profile-modern .empty-state,
    body.profile-modern .history-empty-state {
        border-radius: 24px !important;
        box-shadow:
            0 20px 54px rgba(15,23,42,0.07),
            0 1px 0 rgba(255,255,255,0.88) inset !important;
        transform: none !important;
    }

    body.profile-modern .profile-collection-card:hover,
    body.profile-modern .profile-people-card:hover,
    body.profile-modern .profile-related-card:hover,
    body.profile-modern .profile-activity-card:hover {
        transform: translateY(-3px) !important;
    }

    body.profile-modern .profile-collection-cover,
    body.profile-modern .profile-collection-preview {
        border-radius: 20px !important;
        overflow: hidden !important;
    }

    body.profile-modern .profile-activity-tabs {
        gap: 8px !important;
        padding: 8px !important;
        border-radius: 22px !important;
        box-shadow:
            0 18px 48px rgba(15,23,42,0.06),
            0 1px 0 rgba(255,255,255,0.88) inset !important;
    }

    body.profile-modern .profile-activity-tab {
        min-height: 44px !important;
        border-radius: 15px !important;
        padding: 0 15px !important;
    }

    body.profile-modern .profile-activity-tab.is-active,
    body.profile-modern .profile-activity-tab[aria-selected="true"] {
        box-shadow:
            0 14px 30px rgba(37,99,235,0.13),
            0 1px 0 rgba(255,255,255,0.92) inset !important;
    }

    body.profile-modern .history-row {
        display: grid !important;
        grid-template-columns: minmax(0, 1fr) auto auto !important;
        gap: 16px !important;
        align-items: center !important;
        padding: 16px 18px !important;
    }

    body.profile-modern .pagination {
        justify-content: center !important;
        gap: 8px !important;
        margin-top: 22px !important;
    }

    body.profile-modern .page-btn,
    body.profile-modern .page-dots {
        min-width: 44px !important;
        min-height: 44px !important;
        border-radius: 14px !important;
    }

    body.profile-modern .profile-follow-modal__dialog,
    body.profile-modern .asset-modal-content {
        border-radius: 30px !important;
        box-shadow:
            0 34px 90px rgba(15,23,42,0.18),
            0 1px 0 rgba(255,255,255,0.90) inset !important;
    }
}

@media (min-width: 1025px) and (max-width: 1279px) {
    body.profile-modern .profile-public-shell {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    body.profile-modern .profile-follow-panel {
        max-width: 520px !important;
        justify-self: start !important;
    }

    body.profile-modern .profile-share-strip,
    body.profile-modern .gallery-header,
    body.profile-modern .profile-collections-head {
        grid-template-columns: 1fr !important;
        align-items: start !important;
    }

    body.profile-modern .profile-share-strip__actions {
        justify-content: flex-start !important;
    }
}

@media (min-width: 1440px) {
    body.profile-modern .profile-public-cover {
        min-height: 330px !important;
        max-height: 390px !important;
    }

    body.profile-modern .profile-public-shell {
        padding-left: 34px !important;
        padding-right: 34px !important;
    }
}

@media (prefers-reduced-motion: reduce) and (min-width: 1025px) {
    body.profile-modern .profile-collection-card,
    body.profile-modern .profile-people-card,
    body.profile-modern .profile-related-card,
    body.profile-modern .profile-activity-card,
    body.profile-modern .profile-follow-btn,
    body.profile-modern .profile-share-pill {
        transition: none !important;
        animation: none !important;
        transform: none !important;
    }
}

/* ==========================================================================
   FC_PROFILE_D6_DESKTOP_POLISH_END
   ========================================================================== */
