/* Muppet Madness profile social layout v2.9.1.
 * Native member routes only. Cosmetics still come from Daily and Forums.
 * This file deliberately loads LAST to retire the older floating-dossier layout.
 */
body .mm-member-virtual-page .mm-member-profile.mm-profile-social-v291{
  --mm-social-line:color-mix(in srgb,var(--mm-border,rgba(255,255,255,.12)) 85%,transparent);
  --mm-social-panel:var(--mm-card,#10201e);
  --mm-social-subtle:var(--mm-card-2,#172522);
  --mm-social-accent:var(--mm-accent,#86f06b);
  min-width:0!important;
  width:min(100%,var(--mm-page-width,1180px))!important;
  max-width:100%!important;
  padding-top:12px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero.mm-profile-social-cover{
  display:block!important;position:relative!important;overflow:visible!important;
  padding:0!important;min-height:0!important;gap:0!important;
  width:100%!important;isolation:isolate;
  background:var(--mm-social-panel)!important;
  border:1px solid var(--mm-social-line)!important;
  border-radius:18px!important;
  box-shadow:0 15px 35px rgba(0,0,0,.14)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-member-profile-cover{
  display:block!important;position:relative!important;inset:auto!important;
  width:100%!important;height:clamp(210px,27vw,320px)!important;
  min-height:0!important;z-index:0!important;
  border-radius:17px 17px 0 0!important;
  background-image:linear-gradient(0deg,rgba(5,13,13,.3),rgba(5,13,13,.06) 54%,rgba(5,13,13,.1)),var(--mm-member-cover,none)!important;
  background-position:center!important;background-repeat:no-repeat!important;background-size:cover!important;
  animation:none!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-member-profile-cover::before,
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-member-profile-cover::after{
  display:none!important;content:none!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-profile-identity-card{
  display:block!important;position:relative!important;z-index:3!important;
  width:100%!important;max-width:100%!important;min-width:0!important;
  margin:0!important;padding:0 26px 22px!important;
  border:0!important;border-radius:0 0 17px 17px!important;
  box-shadow:none!important;background:var(--mm-social-panel)!important;
  backdrop-filter:none!important;-webkit-backdrop-filter:none!important;
  color:var(--mm-text,#f3f2e9)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-headrow{
  display:flex!important;flex-wrap:wrap!important;align-items:flex-end!important;
  justify-content:space-between!important;gap:14px 22px!important;min-width:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top{
  display:flex!important;align-items:flex-end!important;gap:20px!important;
  flex:1 1 420px!important;min-width:0!important;
}
/* The member photo and transparent PNG frame stay the focus, not fake CSS rings. */
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > .mmd-mm-avatar-shell{
  --mmd-frame-size:128px!important;
  display:inline-grid!important;place-items:center!important;
  position:relative!important;flex:0 0 128px!important;
  width:128px!important;height:128px!important;
  min-width:128px!important;min-height:128px!important;
  max-width:128px!important;max-height:128px!important;
  margin:-51px 0 0!important;overflow:visible!important;
  background:transparent!important;border:0!important;box-shadow:none!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > img.mm-profile-id-avatar{
  width:124px!important;height:124px!important;max-width:124px!important;max-height:124px!important;
  flex:0 0 124px!important;margin:-48px 0 0!important;
  border:4px solid var(--mm-social-panel)!important;border-radius:50%!important;
  background:var(--mm-social-panel)!important;object-fit:cover!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > .mmd-mm-avatar-shell > img.mm-profile-id-avatar{
  width:70%!important;height:70%!important;max-width:70%!important;max-height:70%!important;
  border:0!important;border-radius:50%!important;margin:0!important;object-fit:cover!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > .mmd-mm-avatar-shell > .mmd-mm-frame-art{
  display:block!important;position:absolute!important;inset:-5px!important;
  width:calc(100% + 10px)!important;height:calc(100% + 10px)!important;
  z-index:8!important;pointer-events:none!important;background:none!important;border:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > .mmd-mm-avatar-shell > .mmd-mm-frame-art > img{
  width:100%!important;height:100%!important;max-width:100%!important;max-height:100%!important;
  object-fit:contain!important;border:0!important;border-radius:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy{
  flex:1 1 240px!important;min-width:0!important;gap:5px!important;
  padding:12px 0 2px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy .mm-profile-name-with-png{
  display:flex!important;align-items:center!important;flex-wrap:wrap!important;gap:8px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy h1{
  margin:0!important;font:900 clamp(26px,3.5vw,39px)/1.12 var(--mm-display,system-ui)!important;
  letter-spacing:-.04em!important;color:var(--mm-text,#f3f2e9)!important;overflow-wrap:anywhere;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy p{
  margin:0!important;color:var(--mm-muted,#a6b0ac)!important;
  font-size:13px!important;line-height:1.4!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy .mm-profile-id-eyebrow{
  display:block!important;font-size:10px!important;line-height:1.5!important;
  letter-spacing:.08em!important;color:var(--mm-social-accent)!important;
  text-transform:uppercase!important;order:3;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions{
  display:flex!important;flex-wrap:wrap!important;justify-content:flex-end!important;
  align-items:center!important;gap:8px!important;flex:0 1 auto!important;
  padding:12px 0 1px!important;min-width:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions :is(.mm-member-button,.mm-social-profile-actions a,.mm-social-profile-actions button){
  display:inline-flex!important;position:static!important;align-items:center!important;
  justify-content:center!important;gap:8px!important;
  margin:0!important;min-height:40px!important;padding:10px 14px!important;
  font-size:12px!important;line-height:1.15!important;font-weight:800!important;
  border-radius:10px!important;text-decoration:none!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions .mm-social-profile-actions{
  display:flex!important;position:static!important;flex-wrap:wrap!important;align-items:center!important;gap:8px!important;min-width:0!important;margin:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions .mm-button-icon{
  width:15px!important;height:15px!important;
}
/* Compact, readable social facts and enabled rewards under the cover. */
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-fb-summary{
  display:flex!important;flex-direction:column!important;gap:13px!important;
  min-width:0!important;margin:12px 0 0!important;padding:14px 20px!important;
  border:1px solid var(--mm-social-line)!important;border-radius:15px!important;
  background:var(--mm-social-panel)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-progress{
  display:flex!important;flex-wrap:wrap!important;align-items:center!important;justify-content:flex-start!important;
  gap:7px 20px!important;min-width:0!important;margin:0!important;padding:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat{
  display:inline-flex!important;align-items:center!important;flex-direction:row!important;
  gap:5px!important;padding:0!important;min-width:0!important;flex:0 0 auto!important;
  background:none!important;border:0!important;box-shadow:none!important;border-radius:0!important;
  text-align:left!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat strong{
  font:850 14px/1.3 var(--mm-font,system-ui)!important;color:var(--mm-text)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat span,
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat strong small{
  font:600 12px/1.3 var(--mm-font,system-ui)!important;color:var(--mm-muted)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-badge-stack{
  display:flex!important;flex-wrap:wrap!important;flex-direction:row!important;align-items:center!important;
  gap:7px!important;min-width:0!important;width:100%!important;margin:0!important;
  padding:11px 0 0!important;border:0!important;border-top:1px solid var(--mm-social-line)!important;
  background:transparent!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-badge-line{
  display:inline-flex!important;flex-wrap:nowrap!important;align-items:center!important;gap:5px!important;
  width:auto!important;min-width:0!important;max-width:100%!important;grid-template-columns:none!important;
  padding:0!important;margin:0!important;border:0!important;background:transparent!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-badge-line[hidden]{display:none!important}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-label{
  display:none!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-badge-line :is(.mmf-role-badge,.mmf-site-role-badge,.mmf-user-flair,.mmd-flair,.mmd-shop-flair){
  max-width:100%!important;min-height:24px!important;padding:4px 9px!important;
  font-size:10px!important;line-height:1.2!important;border-radius:999px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mmd-shop-flair-card{
  display:inline-flex!important;align-items:center!important;gap:6px!important;
  width:auto!important;min-height:35px!important;padding:3px 10px 3px 4px!important;
  border-radius:999px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mmd-shop-flair-card__art{
  display:grid!important;place-items:center!important;flex:0 0 27px!important;
  width:27px!important;height:27px!important;min-width:27px!important;
  background:none!important;border:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mmd-shop-flair-card__art img{
  width:26px!important;height:26px!important;max-width:26px!important;max-height:26px!important;object-fit:contain!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mmd-shop-flair-card__copy small{display:none!important}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mmd-shop-flair-card__copy b{font-size:10px!important}
/* Facebook-inspired underline tabs without reusing a Facebook logo or colour scheme. */
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs{
  display:flex!important;flex-wrap:nowrap!important;gap:2px!important;
  margin:13px 0 0!important;padding:0 12px!important;
  border:1px solid var(--mm-social-line)!important;border-radius:14px!important;
  background:var(--mm-social-panel)!important;
  overflow-x:auto!important;overscroll-behavior-x:contain;scrollbar-width:thin;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs > .mm-profile-tab{
  display:inline-flex!important;flex:0 0 auto!important;align-items:center!important;justify-content:center!important;
  min-width:80px!important;min-height:52px!important;padding:12px 17px!important;
  margin:0!important;border:0!important;border-bottom:3px solid transparent!important;
  border-radius:0!important;background:transparent!important;
  color:var(--mm-muted,#a6b0ac)!important;font-weight:800!important;font-size:13px!important;
  line-height:1.2!important;text-decoration:none!important;white-space:nowrap!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs > .mm-profile-tab:hover{
  color:var(--mm-text)!important;background:var(--mm-social-subtle)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs > .mm-profile-tab.is-active{
  color:var(--mm-social-accent)!important;border-color:var(--mm-social-accent)!important;
  background:transparent!important;
}
/* Feed on the right and About/achievements on the left, like a social profile. */
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid{
  display:grid!important;grid-template-columns:minmax(230px,.65fr) minmax(0,1.55fr)!important;
  grid-template-areas:'aside feed'!important;align-items:start!important;gap:16px!important;
  margin-top:16px!important;min-width:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > main{
  grid-area:feed!important;display:flex!important;flex-direction:column!important;
  gap:14px!important;min-width:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside{
  grid-area:aside!important;display:flex!important;flex-direction:column!important;
  gap:14px!important;min-width:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside > .mm-member-stat-grid{display:none!important}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside > .mm-profile-about{order:0}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside > .mm-profile-fb-rank{order:1}
body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside > .mm-profile-fb-awards-panel{order:2}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-member-panel{
  border-radius:15px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-rank .mm-profile-fan-rank-spotlight{
  display:flex!important;flex-direction:column!important;align-items:stretch!important;
  gap:12px!important;margin:9px 0 0!important;padding:9px!important;
  background:var(--mm-social-subtle)!important;border-radius:13px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-rank .mmd-fan-rank .mmd-rank-art{
  width:52px!important;height:52px!important;min-width:52px!important;max-width:52px!important;max-height:52px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-panel-head{
  display:flex;align-items:center;justify-content:space-between;gap:10px;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-panel-head a{
  font-size:11px;font-weight:800;color:var(--mm-social-accent);text-decoration:none;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel h2{
  font-size:20px!important;margin:5px 0 6px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel .mm-profile-featured-awards{
  margin:0!important;padding:8px 0 10px!important;border:0!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel .mm-profile-featured-awards__list{
  display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:7px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel .mm-profile-featured-award{
  display:flex!important;align-items:center!important;justify-content:flex-start!important;flex-direction:column!important;
  width:100%!important;min-width:0!important;max-width:100%!important;
  gap:4px!important;padding:8px 3px!important;
  border-radius:10px!important;background:var(--mm-social-subtle)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel img.mm-profile-featured-award__image{
  display:block!important;width:56px!important;height:56px!important;max-width:56px!important;max-height:56px!important;
  object-fit:contain!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel .mm-profile-featured-award span{
  display:-webkit-box!important;overflow:hidden!important;-webkit-line-clamp:2;-webkit-box-orient:vertical;
  color:var(--mm-text)!important;font-size:9px!important;text-align:center!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-awards-panel .mm-profile-id-earned{
  margin-top:8px!important;padding-top:10px!important;border-top:1px solid var(--mm-social-line)!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-wall{
  padding:18px!important;
}
body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-composer{
  border-radius:12px!important;
}
@media(max-width:900px){
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid{
    grid-template-columns:minmax(210px,.65fr) minmax(0,1.2fr)!important;gap:12px!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-profile-identity-card{padding:0 18px 18px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions{justify-content:flex-start!important}
}
@media(max-width:690px){
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid{
    display:flex!important;flex-direction:column!important;gap:12px!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > main,
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-grid > aside{
    display:flex!important;width:100%!important;max-width:100%!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-member-profile-cover{
    height:clamp(165px,41vw,240px)!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-member-profile-hero > .mm-profile-identity-card{padding:0 16px 16px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-headrow{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:8px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top{flex:0 1 auto!important;gap:13px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions{padding:6px 0 0!important;width:100%!important}
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-fb-summary{padding:13px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs{padding:0 5px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 > .mm-profile-tabs > .mm-profile-tab{padding:12px 13px!important;min-height:48px!important}
}
@media(max-width:430px){
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > .mmd-mm-avatar-shell{
    --mmd-frame-size:98px!important;flex:0 0 98px!important;
    width:98px!important;height:98px!important;min-width:98px!important;min-height:98px!important;
    max-width:98px!important;max-height:98px!important;margin-top:-39px!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-top > img.mm-profile-id-avatar{
    width:95px!important;height:95px!important;max-width:95px!important;max-height:95px!important;
    flex:0 0 95px!important;margin-top:-37px!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy{flex:1 1 150px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy h1{font-size:clamp(22px,6.5vw,30px)!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-id-copy p{font-size:11px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions > a,
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions > .mm-social-profile-actions{
    flex:1 1 auto!important;
  }
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-actions .mm-member-button{min-height:39px!important;padding:9px 11px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-progress{gap:7px 14px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat strong{font-size:13px!important}
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-fb-summary .mm-profile-id-stat span{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){
  body .mm-member-virtual-page .mm-profile-social-v291 .mm-profile-featured-award{transition:none!important}
}
