/* Public profile — mobile layout "B" (social style). Loaded last; mobile only. */
@media(max-width:760px){
  html:not(#fcsb) .artist-hero{margin-left:0!important;margin-right:0!important;padding-left:0!important;padding-right:0!important;width:100%!important;max-width:none!important}
  html:not(#fcsb) .artist-hero .hero-banner{width:calc(100% - 24px)!important;max-width:none!important;height:var(--fcs-bh,120px)!important;min-height:0!important;margin:0!important;left:12px!important;right:auto!important;transform:none!important;border-radius:20px!important}
  html:not(#fcsb) .hero-identity{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"av" "copy" "rail" "cstat"!important;width:100%!important;max-width:none!important;gap:0 10px!important;padding:0 16px!important;margin:-42px 0 0!important;min-height:0!important;align-items:end!important;min-width:0!important}
  html:not(#fcsb) .hero-identity>.studio-avatar, html:not(#fcsb) .hero-identity #publicAvatar{grid-area:av!important;justify-self:start!important;width:78px!important;height:78px!important;min-width:78px!important;min-height:78px!important;margin:0!important;box-shadow:0 0 0 4px var(--bg,#0b1116)!important;position:relative;z-index:3}
  html:not(#fcsb) .hero-identity>.fcs-pro-avatar-stack{grid-area:av!important;display:flex!important;flex-direction:row!important;align-items:flex-end!important;gap:6px!important;margin:0!important;width:auto!important;position:relative;z-index:3}
  html:not(#fcsb) .fcs-pro-avatar-stack>.fcs-aw-row{position:relative!important;left:auto!important;bottom:auto!important;transform:none!important;margin:0 0 2px!important;height:auto!important;width:max-content!important}
  html:not(#fcsb):not(.fcs-pro-profile) .artist-hero .studio-avatar{border-radius:50%!important}
  html:not(#fcsb):not(.fcs-pro-profile) .hero-identity>.identity-copy{background:none!important;border:0!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;border-radius:0!important}
  html:not(#fcsb) .hero-identity>.identity-copy{display:block!important;grid-area:copy!important;padding:12px 0 0!important;min-width:0!important}
  html:not(#fcsb) .artist-hero .hero-identity .identity-copy .name-row{display:block!important;margin:0!important;padding:0!important}
  html:not(#fcsb) .name-row .name-with-plan, html:not(#fcsb) .name-row h1{padding-left:0!important;margin-left:0!important;text-indent:0!important}
  html:not(#fcsb) .name-with-plan{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:6px 8px!important}
  html:not(#fcsb) .name-row h1, html:not(#fcsb) #artistName{font-size:24px!important;line-height:1.1!important;letter-spacing:-.03em!important;margin:0!important}
  html:not(#fcsb) .hero-specialties{margin:10px 0 0!important}
  html:not(#fcsb) .hero-specialty-chip{font-size:12px!important;padding:4px 10px!important}
  html:not(#fcsb) .country{margin:10px 0 0!important;font-size:13px!important}
  html:not(#fcsb) .artist-bio{margin:8px 0 0!important;font-size:14px!important}
  html:not(#fcsb) .hero-identity>#heroCommissionStatus{grid-area:cstat!important;margin:12px 0 0!important}
  html:not(#fcsb) .hero-identity>.hero-action-rail{grid-area:rail!important;display:flex!important;flex-wrap:wrap!important;gap:8px!important;margin:14px 0 0!important;padding:0!important}
  html:not(#fcsb) .hero-action-rail>button, html:not(#fcsb) .hero-action-rail>a{width:44px!important;height:44px!important;min-height:44px!important;min-width:44px!important;padding:0!important;border-radius:12px!important}
  html:not(#fcsb) .hero-action-rail:has(.owner-actions:not([hidden]))>.hero-share-button{width:34px!important;height:34px!important;min-width:34px!important;min-height:34px!important;border-radius:7px!important;align-self:center!important}
  html:not(#fcsb) .hero-action-rail .owner-actions{display:flex;gap:8px;flex-wrap:wrap}
  html:not(#fcsb) .hero-action-rail .owner-actions[hidden]{display:none!important}
  /* Fixed bottom bar: Follow + Request commission */
  html:not(#fcsb) body:has(.hero-commission-cta){padding-bottom:84px}
  html:not(#fcsb) body:has(.hero-commission-cta)::after{content:"";position:fixed;inset:auto 0 0 0;height:84px;background:linear-gradient(0deg,var(--bg,#0b1116) 62%,transparent);pointer-events:none;z-index:900}
  html:not(#fcsb) .hero-action-rail>.follow-action{position:fixed!important;left:12px;bottom:16px;width:calc(50% - 16px)!important;z-index:901;margin:0!important;display:block!important}
  html:not(#fcsb) .hero-action-rail>.follow-action .button, html:not(#fcsb) .hero-action-rail>.follow-action #followBtn{width:100%!important;height:48px!important;border-radius:13px!important;font-weight:800!important}
  html:not(#fcsb) .hero-action-rail>.follow-action small{display:none!important}
  html:not(#fcsb) .hero-action-rail>.hero-commission-cta{position:fixed!important;right:12px;bottom:16px;width:calc(50% - 16px)!important;height:48px!important;min-height:48px!important;z-index:901;border-radius:13px!important;font-size:14px!important;font-weight:800!important}
  html:not(#fcsb) .fcs-msg-root{bottom:16px!important;right:14px!important}
  html:not(#fcsb) body:has(.hero-commission-cta) .fcs-msg-root{bottom:84px!important}
  html:not(#fcsb) body:has(.owner-actions:not([hidden])) .fcs-msg-root{bottom:10px!important}
  html:not(#fcsb) .fcs-msg-launcher{width:48px!important;min-width:48px!important;height:48px!important;padding:0!important;justify-content:center!important;gap:0!important}
  html:not(#fcsb) .fcs-msg-launcher>*:not(svg){display:none!important}
  /* Stats: horizontal strip */
  html:not(#fcsb) .artist-hero .stats-bar{display:flex!important;padding-inline:16px!important;overflow-x:auto!important;gap:8px!important;width:100%!important;margin:16px 0 0!important;border:0!important;border-radius:0!important;background:none!important;scrollbar-width:none;scroll-snap-type:x proximity;scroll-padding-inline:16px}
  html:not(#fcsb) .stats-bar::-webkit-scrollbar{display:none}
  html:not(#fcsb) .stats-bar>.stat{flex:0 0 138px!important;min-height:0!important;padding:10px 12px!important;border:1px solid var(--line,#2b3640)!important;border-radius:14px!important;scroll-snap-align:start}
  /* Tabs: underline style */
  html:not(#fcsb) .profile-tabs{gap:20px!important;padding:6px 16px 0!important;border:0!important;border-bottom:1px solid var(--line,#1e2830)!important;border-radius:0!important;background:none!important;box-shadow:none!important;margin-top:6px!important;width:100%!important}
  html:not(#fcsb) .profile-tabs button{background:none!important;border:0!important;border-radius:0!important;padding:10px 2px 11px!important;font-size:14px!important;font-weight:700!important;color:#96a2ae!important;box-shadow:none!important}
  html:not(#fcsb) .profile-tabs button[aria-selected="true"]{color:#fff!important;box-shadow:inset 0 -2px 0 var(--fcs-pro-accent,#f25768)!important;background:none!important}
  /* Per-plan adaptation */
  html:not(#fcsb)[data-fcs-plan="free"]{--fcs-bh:96px}
  html:not(#fcsb)[data-fcs-plan="free"] .hero-identity{margin-top:-34px!important}
  html:not(#fcsb)[data-fcs-plan="free"] .artist-hero .studio-avatar{border-color:#3a4651!important;width:70px!important;height:70px!important;min-width:70px!important;min-height:70px!important}
  html:not(#fcsb)[data-fcs-plan="free"] .fcs-aw-row{display:none!important}
  html:not(#fcsb) .identity-copy>.fcs-aw-row{position:static!important;transform:none!important;width:max-content!important;height:auto!important;margin:10px 0 0!important;justify-content:flex-start!important;gap:2px!important}
  html:not(#fcsb) .identity-copy>.fcs-aw-row .fcs-aw-pin{width:40px!important;height:40px!important;margin:0!important}
  html:not(#fcsb) .identity-copy>.fcs-aw-row .fcs-aw-pin img{width:34px!important;height:34px!important}
  html:not(#fcsb)[data-fcs-plan="artist"] .artist-hero .studio-avatar{border-color:#f25768!important}
  html.fcs-pro-profile:not(#fcsb){--fcs-bh:150px}
  html.fcs-pro-profile[data-profile-hero="compact"]:not(#fcsb){--fcs-bh:112px}
  html.fcs-pro-profile[data-profile-hero="spotlight"]:not(#fcsb){--fcs-bh:200px}
  /* Pro: keep the artist's glass card (compact), accent color and avatar frame */
  html.fcs-pro-profile:not(#fcsb) .hero-identity>.identity-copy{padding:14px!important;margin-top:12px!important;border-radius:18px!important}
  html.fcs-pro-profile:not(#fcsb) .artist-hero .studio-avatar{border-color:var(--fcs-pro-accent,#f25768)}
  html.fcs-pro-profile:not(#fcsb) #followBtn{background:var(--fcs-pro-accent,#f25768)!important;border-color:var(--fcs-pro-accent,#f25768)!important}
}
