/* Figma 821:12221 and 821:11766. Mobile keeps its existing profile composition. */
.profile-desktop-back,.profile-desktop-more,.profile-desktop-more-icon,.profile-desktop-library{display:none}
html[data-layout="mobile"]:not([data-viewport="desktop"]) .app .agent-profile :is(.profile-desktop-back,.profile-desktop-more,.profile-desktop-more-icon){display:none}
.profile-overview{display:contents}

@media(min-width:720px){
/* Profile owns the Back / More header; do not stack global navigation above it. */
html[data-layout="mobile"][data-viewport="desktop"] .desktop-shell:has(.app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)) .sidebar{display:none!important}
html[data-layout="mobile"][data-viewport="desktop"] .desktop-shell:has(.app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)) .workspace{padding-top:var(--desktop-header-top);padding-bottom:24px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]:has(>.agent-profile:is([data-profile-owner="true"],.guest-pass)){min-height:0;padding-bottom:0}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass){position:relative;width:100%;max-width:720px;margin:0 auto;padding:0}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile.profile-v3[data-profile-owner="true"]{display:grid;grid-template-columns:minmax(0,410px) minmax(0,286px);column-gap:24px;row-gap:0;align-items:start}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-actions{position:absolute;inset:0 auto auto 50%;transform:translateX(-50%);display:flex;align-items:center;justify-content:space-between;width:min(var(--desktop-header-width,832px),calc(100vw - 48px));height:56px;margin:0;z-index:5}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-actions :is(.circle,.profile-desktop-back){display:flex;align-items:center;justify-content:center;flex:none;width:56px;height:56px;max-height:none;min-height:0;padding:16px;border:1px solid transparent;border-radius:28px;background:linear-gradient(#1e1e1e,#1e1e1e) padding-box,linear-gradient(135deg,#ffffff2e,#ffffff03) border-box;backdrop-filter:none;color:#fff}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-actions .profile-desktop-back{gap:2px;width:111px;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-actions .pass-motion{display:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-back>span{padding-inline:4px;opacity:.6}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-back>img{display:block;flex:none;max-width:none;max-height:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-actions .pass-more{display:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass) .profile-desktop-more-icon{display:block;flex:none;max-width:none;max-height:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile:is([data-profile-owner="true"],.guest-pass)>.profile-case.profile-pass{grid-column:1/-1;grid-row:1;justify-self:center;align-self:start;flex:none;width:362px;max-width:362px;height:305px;aspect-ratio:auto;padding:0;margin:0 auto;filter:drop-shadow(-8px 8px 0 #0000004d)}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-pass .pass-ribbon-fade{background:linear-gradient(#101010,rgba(16,16,16,0))}

html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile[data-profile-owner="true"]>.profile-overview{grid-column:2;grid-row:2;display:flex;flex-direction:column;gap:12px;width:100%;margin-top:32px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.profile-level-summary{display:flex;flex-direction:column;gap:8px;margin:0;padding:16px;border-radius:24px;background:#1e1e1e}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.profile-level-summary>div:first-child{margin:0;font:700 16px/20px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.profile-level-summary p{margin:0;color:#adadad;font:400 14px/20px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.agent-social-counts{display:grid;grid-template-columns:1fr 1fr;gap:12px;width:100%;margin:0}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.agent-social-counts>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:60px;padding:8px 12px;border-radius:24px;background:#1e1e1e}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.agent-social-counts strong{font:700 20px/24px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-overview>.agent-social-counts span{font:400 14px/20px "Medeo Sans",Arial,sans-serif;color:#fff9}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile[data-profile-owner="true"]>:is(.profile-main-tabs,.profile-publications-empty,.profile-menu){display:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library{grid-column:1;grid-row:2;display:flex;flex-direction:column;gap:8px;min-width:0;width:100%;margin-top:32px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] :is(.profile-desktop-sections,.profile-desktop-statistics){overflow:hidden;border-radius:24px;background:#1e1e1e}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library .profile-menu-row{display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:16px;border:0;border-radius:0;background:none;color:#fff;text-align:left;font:600 16px/20px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library .profile-menu-row:hover{background:#ffffff08}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library .profile-menu-row>img{display:block;flex:none;max-width:none;max-height:none;opacity:1}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library .profile-menu-row>span{flex:1;min-width:0}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .profile-desktop-library .profile-menu-row>em{flex:none;margin-right:-4px;color:#fff6;font:600 16px/20px "Medeo Sans",Arial,sans-serif}

html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile.guest-pass{display:flex;flex-direction:column;align-items:center;min-height:calc(100dvh - var(--desktop-header-top) - 24px);margin:0 auto}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile.guest-pass>h1{flex:none;width:472px;max-width:100%;margin:32px auto 24px;text-align:center;font:700 52px/48px PassBebas,sans-serif;letter-spacing:0}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile.guest-pass>.guest-login-block{flex:none;width:472px;max-width:100%;margin:0 auto}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .auth-login-choices{gap:12px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .auth-provider-button{height:48px;min-height:48px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .google-mark img{width:auto;height:auto;max-width:none;max-height:none}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .guest-legal{margin:16px 0 0;font:500 12px/16px "Medeo Sans",Arial,sans-serif}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"]>.agent-profile.guest-pass>.guest-carousel{display:flex;flex-direction:column;gap:9px;flex:none;width:362px;max-width:100%;margin:auto auto 0;padding-top:32px}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .guest-perk-slide{min-height:88px;padding:16px;gap:16px;border-radius:24px;background:#ffffff14}
html[data-layout="mobile"][data-viewport="desktop"] .app[data-screen="profile"] .guest-pass .guest-perk-dots{height:10px;min-height:10px;flex:none;margin:0;gap:4px}
}

/* Figma972:4466 — profile identity 328px, content 472px, 32px between. */
@media(min-width:720px){
 html[data-layout][data-viewport="desktop"] .desktop-shell:has(.profile-desktop-adapted) .sidebar{display:none!important}
 html[data-layout][data-viewport="desktop"] .desktop-shell:has(.profile-desktop-adapted) .workspace{width:100%;max-width:880px;margin-inline:auto;padding:16px 24px 32px}
 html[data-layout][data-viewport="desktop"] .app:has(>.profile-desktop-adapted){width:100%;max-width:832px;margin:0 auto;padding:0!important;min-height:0;overflow:visible}
 html[data-layout][data-viewport="desktop"] .app[data-screen]>.agent-profile.profile-v3.profile-desktop-adapted[data-profile-owner]{position:relative;display:grid;grid-template-columns:minmax(0,328fr) minmax(0,472fr);gap:32px;width:100%;max-width:832px;margin:0 auto;padding:0;align-items:start}
 html[data-layout][data-viewport="desktop"] .app .profile-desktop-adapted>.profile-actions{position:absolute;inset:0 0 auto;display:flex;justify-content:space-between;align-items:center;width:100%;height:56px;margin:0;transform:none;z-index:5}
 html[data-layout][data-viewport="desktop"] .profile-desktop-adapted .profile-actions :is(.circle,.profile-desktop-back){display:flex;align-items:center;justify-content:center;flex:none;width:56px;height:56px;min-height:56px;max-height:none;padding:16px;border:1px solid transparent;border-radius:28px;background:linear-gradient(#1e1e1e,#1e1e1e) padding-box,linear-gradient(135deg,#ffffff2e,#ffffff03) border-box;backdrop-filter:none;color:#fff;transition:background-color .4s ease,filter .4s ease}
 html[data-layout][data-viewport="desktop"] .profile-desktop-adapted .profile-actions .profile-desktop-back{width:111px;gap:2px;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
 .profile-desktop-adapted .profile-desktop-back span{padding-inline:4px;color:#ffffff99}
 .profile-desktop-adapted .profile-actions img{display:block;flex:none;max-width:none;max-height:none}
 html[data-layout][data-viewport="desktop"] .profile-desktop-adapted .profile-actions :is(.pass-motion,.pass-more){display:none}
 .profile-desktop-actions-right{display:flex;align-items:center;gap:16px}
 html[data-layout][data-viewport="desktop"] .profile-desktop-adapted .profile-actions .profile-desktop-follow{height:56px;min-width:143px;padding:16px 24px;border:0;border-radius:28px;background:#fff;color:#000;opacity:1!important;font:600 14px/20px "Medeo Sans",Arial,sans-serif;cursor:default}
 html[data-layout][data-viewport="desktop"] .app .profile-desktop-identity.agent-profile.profile-v3{display:block;position:relative;grid-column:1;grid-row:1;width:100%;max-width:none;margin:0;padding:0;min-width:0}
 html[data-layout][data-viewport="desktop"] .app .profile-desktop-identity.agent-profile.profile-v3 .profile-case.profile-pass.ranking-native-pass{display:block;width:100%;max-width:328px;height:calc(292px * var(--profile-native-scale,1));aspect-ratio:auto;margin:0;padding:0;filter:none;--badge-scale:1}
 html[data-layout][data-viewport="desktop"] .app .profile-desktop-identity.agent-profile.profile-v3 .profile-case.profile-pass.ranking-native-pass .pass-layout{transform:scale(var(--profile-native-scale,1));transform-origin:top left}
 .profile-desktop-social{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:9px;height:60px}
 .profile-desktop-social>:is(div,button){display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;border-radius:24px;background:#1e1e1e;padding:8px 12px;min-width:0}
 .profile-desktop-social strong{font:700 20px/24px "Medeo Mono",monospace}
 .profile-desktop-social span{font:400 14px/20px "Medeo Sans",Arial,sans-serif;color:#ffffff99}
 .profile-desktop-menu{display:flex;flex-direction:column;padding:8px;margin-top:8px;background:#1e1e1e;border-radius:24px}
 .profile-desktop-menu-row{display:flex;align-items:center;gap:12px;min-width:0;width:100%;height:56px;padding:16px;border:0;border-radius:16px;background:transparent;color:#fff;text-align:left;font:600 16px/20px "Medeo Sans",Arial,sans-serif;transition:background-color .4s ease,color .4s ease;cursor:pointer}
 .profile-desktop-menu-row.is-selected{background:#333}
 .profile-desktop-menu-row>img{display:block;flex:none;max-width:none;max-height:none}
 .profile-desktop-menu-row>span{flex:1;min-width:0}
 .profile-desktop-menu-row>em{flex:none;font:600 16px/20px "Medeo Mono",monospace;font-style:normal;color:#ffffff66}
 .profile-desktop-menu-row.profile-desktop-soon{opacity:1;cursor:default}
 .profile-desktop-soon>span{color:#ffffff4d}
 .profile-desktop-soon>em{color:#fe5400}
 .profile-desktop-panel{grid-column:2;grid-row:1;width:100%;min-width:0;margin-top:88px}
 .profile-desktop-panel-heading{display:flex;align-items:center;justify-content:space-between;gap:8px;height:32px;margin:0}
 .profile-desktop-panel-heading h1{display:flex;gap:8px;align-items:baseline;min-width:0;white-space:nowrap;margin:0;font:700 24px/32px "Medeo Sans",Arial,sans-serif}
 .profile-desktop-panel-heading h1>span{color:#ffffff99;font:700 24px/32px "Medeo Mono",monospace}
 .profile-desktop-create{display:flex;align-items:center;gap:4px;min-height:32px;border:0;border-radius:999px;padding:6px 12px;background:#fe5400;color:#fff;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
 .profile-desktop-filters{display:flex;align-items:center;gap:4px;flex-wrap:wrap;margin:12px 0 16px}
 .profile-desktop-filters button{height:32px;padding:6px 16px;border:0;border-radius:999px;background:none;color:#ffffff99;font:600 14px/20px "Medeo Sans",Arial,sans-serif;transition:background-color .4s ease,color .4s ease;cursor:pointer}
 .profile-desktop-filters button[aria-pressed="true"]{background:#333;color:#fff}
 .profile-poster-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));column-gap:12px;row-gap:16px;align-items:start}
 .profile-poster-card{position:relative;min-width:0}
 .profile-poster-open{display:flex;flex-direction:column;gap:6px;width:100%;min-width:0;padding:0;border:0;background:none;color:#fff;text-align:left;cursor:pointer}
 .profile-poster-frame{position:relative;display:block;width:100%;aspect-ratio:2/3;border:1px solid #ffffff29;border-radius:20px;overflow:hidden;background:#1e1e1e;transition:transform .45s cubic-bezier(.22,.61,.36,1),border-color .4s ease}
 .profile-poster-frame>img{display:block;width:100%;height:100%;object-fit:cover}
 .profile-poster-missing{display:grid;place-items:center;width:100%;height:100%;color:#777;font:700 36px "Medeo Sans",Arial,sans-serif}
 .profile-poster-caption{display:flex;flex-direction:column;min-width:0;width:100%;padding:0 8px}
 .profile-poster-caption>strong{display:block;width:100%;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font:600 14px/20px "Medeo Sans",Arial,sans-serif}
 .profile-poster-caption>small{display:block;color:#ffffff99;font:500 12px/16px "Medeo Mono",monospace}
 .profile-poster-more{position:absolute;right:6px;top:6px;display:grid;place-items:center;width:32px;height:32px;padding:0;border:0;border-radius:50%;background:none;opacity:0;pointer-events:none;transition:opacity .3s ease,filter .3s ease;cursor:pointer}
 .profile-poster-more>img{display:block;max-width:none;max-height:none}
 .profile-poster-card:focus-within .profile-poster-more{opacity:1;pointer-events:auto}
 .profile-poster-rating{position:absolute;left:6px;top:6px;display:grid;place-items:center;min-width:24px;height:24px;padding-inline:3px;border:1.5px solid #ffffff66;border-radius:50%;background:#999;color:#fff;font:600 14px/20px "Medeo Mono",monospace;pointer-events:none}
 .profile-poster-rating.is-positive{background:#3bb33b}.profile-poster-rating.is-negative{background:#ff375f}
 .profile-desktop-empty{padding:32px 24px;border-radius:24px;background:#1e1e1e;text-align:center;color:#fff}
 .profile-desktop-empty strong{font:600 16px/20px "Medeo Sans",Arial,sans-serif}
 .profile-desktop-empty p{color:#ffffff99;font:400 14px/20px "Medeo Sans",Arial,sans-serif;margin:8px 0 0}
 .profile-desktop-adapted .collections-rows{display:flex;flex-direction:column;gap:8px;margin:0}
 .profile-desktop-adapted .collection-card{margin:0}
 .profile-info-popup{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);margin:0;width:min(400px,calc(100% - 32px));padding:24px;border:0;border-radius:32px;background:#1e1e1e;color:white}
 .profile-info-popup::backdrop{background:#0009;backdrop-filter:blur(8px)}
 .profile-info-popup h2{font-size:24px;line-height:32px;margin:0 0 8px}
 .profile-info-popup p{color:#999}.profile-info-popup button{width:100%;min-height:44px;border:0;border-radius:999px;background:#333;color:#fff;margin-top:24px}
}
@media(min-width:720px) and (max-width:879px){.profile-desktop-social span{font-size:12px}.profile-desktop-menu-row{padding-inline:12px;font-size:14px;gap:8px}.profile-desktop-menu-row>em{font-size:14px}.profile-desktop-menu-row.profile-desktop-soon{gap:6px}.profile-desktop-filters button{padding-inline:10px}.profile-desktop-panel-heading h1,.profile-desktop-panel-heading h1>span{font-size:20px}.profile-poster-grid{column-gap:8px}}
@media(min-width:720px) and (hover:hover) and (pointer:fine){
 .profile-desktop-menu-row:not(:disabled):hover,.profile-desktop-filters button:hover{background:#ffffff0d}
 .profile-desktop-menu-row.is-selected:hover,.profile-desktop-filters button[aria-pressed="true"]:hover{background:#3a3a3a}
 .profile-poster-card:hover .profile-poster-more{opacity:1;pointer-events:auto}
 .profile-poster-card:hover .profile-poster-frame{transform:scale(1.015);border-color:#ffffff3d}
 .profile-poster-more:hover{filter:brightness(1.15)}
 .profile-desktop-adapted .profile-actions button:not(:disabled):hover{filter:brightness(1.15)}
}
@media(min-width:720px) and (hover:none){.profile-poster-more{opacity:1;pointer-events:auto}}
@media(prefers-reduced-motion:reduce){.profile-poster-frame{transition:none;transform:none!important}}

.profile-social-count{border:0;cursor:pointer;color:inherit;transition:background-color .35s ease}.profile-social-count:hover{background-color:#292929}.profile-social-count:focus-visible{outline:2px solid #fe5400;outline-offset:3px}.profile-social-error{grid-column:1/-1;color:#ff7c87;font:400 14px/20px "Medeo Sans",sans-serif}.profile-desktop-follow[aria-pressed="true"]{background:#303030!important;color:#fff!important}.profile-desktop-follow[aria-busy="true"]{opacity:.65!important;cursor:wait}
.profile-social-popup{position:fixed;inset:50% auto auto 50%;transform:translate(-50%,-50%);width:min(420px,calc(100vw - 32px));max-height:min(640px,80dvh);margin:0;padding:24px;border:1px solid #ffffff14;border-radius:32px;background:#1e1e1e;color:#fff;overflow:auto}.profile-social-popup::backdrop{background:#0009;backdrop-filter:blur(8px)}.profile-social-popup header{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:16px}.profile-social-popup h2{font:700 24px/32px "Medeo Sans",sans-serif;margin:0}.profile-social-popup header>button{border:0;border-radius:50%;width:36px;height:36px;padding:0;background:#333;color:#fff;font:24px/36px Arial;cursor:pointer}.profile-social-person{display:flex;align-items:center;gap:12px;width:100%;padding:10px 8px;border:0;border-radius:16px;background:transparent;color:#fff;text-align:left;font:600 16px/20px "Medeo Sans",sans-serif;cursor:pointer;transition:background .35s ease}.profile-social-person:hover{background:#ffffff0d}.profile-social-avatar{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:50%;background:#333;overflow:hidden}.profile-social-avatar img{width:100%;height:100%;object-fit:cover}.profile-social-popup p{color:#999;font:400 14px/20px "Medeo Sans",sans-serif}.profile-social-load{display:block;width:100%;margin-top:16px;border:0;border-radius:24px;background:#333;color:#fff;padding:12px;cursor:pointer}
@media(max-width:719px){.agent-social-counts>.profile-social-count{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;min-height:60px;padding:8px 12px;border-radius:24px;background:#1e1e1e}.agent-profile-follow[data-social-follow]{display:block;width:100%;height:48px;min-height:48px;background:#fff;color:#000;border:0;border-radius:24px;margin-bottom:16px;font:600 16px/20px "Medeo Sans",sans-serif}}

[data-social-follow][hidden]{display:none!important}

@media(min-width:720px){html[data-layout][data-viewport="desktop"] .profile-desktop-adapted .profile-actions .profile-desktop-follow{margin:0;width:auto;flex:none}}
