/* 2026-10-02 Profile v5: cleaner, wider, higher-hierarchy public profiles */
.profile-page.profile-has-player{
  background:#06141c;
}
.profile-page.profile-has-player .hub-hero{
  padding:18px 0!important;
  min-height:0!important;
  border-bottom:1px solid rgba(118,205,229,.10)!important;
  background:#081a24!important;
}
.profile-page.profile-has-player .hub-hero>.shell{
  width:min(1360px,calc(100% - 48px))!important;
  max-width:none!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}
.profile-page.profile-has-player .hub-hero .hub-kicker,
.profile-page.profile-has-player .hub-hero h1,
.profile-page.profile-has-player .hub-hero>.shell>p:not(.hub-kicker),
.profile-page.profile-has-player .hub-hero .hub-note{
  display:none!important;
}
.profile-page.profile-has-player .hub-hero .hub-search{
  width:min(760px,100%)!important;
  max-width:none!important;
  margin:0!important;
}
.profile-page.profile-has-player .hub-hero .hub-search input{
  min-height:42px!important;
  font-size:12px!important;
}
.profile-page.profile-has-player .hub-hero .hub-search button{
  min-height:42px!important;
  padding:0 20px!important;
  font-size:9px!important;
}

.profile-page.profile-has-player .hub-tabs{
  min-height:46px!important;
  border-bottom:1px solid rgba(118,205,229,.10)!important;
  background:#071720!important;
}
.profile-page.profile-has-player .hub-tabs>.shell{
  width:min(1360px,calc(100% - 48px))!important;
  max-width:none!important;
  gap:4px!important;
}
.profile-page.profile-has-player .hub-tabs a{
  min-height:46px!important;
  padding:0 11px!important;
  display:inline-flex!important;
  align-items:center!important;
  font-size:8px!important;
  letter-spacing:.04em!important;
}

.profile-page.profile-has-player #preview{
  padding:28px 0 72px!important;
}
.profile-page.profile-has-player #preview>.shell,
.profile-page.profile-has-player .profile-network-shell{
  width:min(1380px,calc(100vw - 56px))!important;
  max-width:none!important;
  margin:0 auto!important;
  padding:0!important;
}
.profile-page.profile-has-player .profile-preview{
  width:100%!important;
  max-width:none!important;
}

/* Main profile surface */
.profile-page .pn-profile.pdv3-profile,
.profile-page .plv2-profile.pdv3-profile,
.profile-page .pdv3-profile.lvt-layout-mounted{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  border:1px solid rgba(108,202,226,.13)!important;
  border-radius:14px!important;
  background:#071922!important;
  box-shadow:0 24px 70px rgba(0,0,0,.18)!important;
  overflow:hidden!important;
}

/* Identity header becomes the clear focal point */
.profile-page .lvt-profile-header-card{
  min-height:118px!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  align-items:center!important;
  border-bottom:1px solid rgba(108,202,226,.11)!important;
  background:
    radial-gradient(520px 180px at 8% 0%,rgba(41,157,205,.12),transparent 72%),
    #0a202b!important;
}
.profile-page .lvt-profile-header-main{
  padding:24px 28px!important;
}
.profile-page .lvt-profile-header-socials{
  min-width:360px!important;
  padding:20px 24px!important;
  border-left:1px solid rgba(108,202,226,.09)!important;
  background:rgba(4,17,24,.34)!important;
}
.profile-page .lvt-profile-header-kicker{
  margin-bottom:8px!important;
  color:#6da7b7!important;
  font-size:8px!important;
}
.profile-page .lvt-profile-header-name h2{
  font-size:clamp(34px,3vw,46px)!important;
  letter-spacing:-.035em!important;
}
.profile-page .lvt-profile-header-identity{
  min-height:36px!important;
  margin-top:9px!important;
  gap:8px!important;
}
.profile-page .lvt-profile-header-socials-head{
  margin-bottom:8px!important;
}
.profile-page .lvt-profile-header-socials-head .lvt-profile-header-kicker{
  margin:0!important;
}
.profile-page .lvt-service-icon-button,
.profile-page .lvt-country-chip{
  width:34px!important;
  min-width:34px!important;
  height:34px!important;
  min-height:34px!important;
  border-radius:9px!important;
}

/* Dashboard canvas */
.profile-page .pdv3-profile .lvt-layout-canvas{
  width:100%!important;
  max-width:none!important;
  display:grid!important;
  grid-template-columns:repeat(12,minmax(0,1fr))!important;
  gap:18px!important;
  padding:24px!important;
  background:#06161f!important;
}
.profile-page [data-lvt-layout-widget]{
  min-width:0!important;
  border-radius:12px!important;
}
.profile-page [data-lvt-layout-widget="viewer"]{--lvt-layout-span:4!important}
.profile-page [data-lvt-layout-widget="social"]{--lvt-layout-span:5!important}
.profile-page [data-lvt-layout-widget="facts"]{--lvt-layout-span:3!important}
.profile-page [data-lvt-layout-widget="about"]{--lvt-layout-span:7!important}
.profile-page [data-lvt-layout-widget="names"]{--lvt-layout-span:5!important}
.profile-page [data-lvt-layout-widget="external"]{--lvt-layout-span:5!important}
.profile-page [data-lvt-layout-widget="profileTools"]{--lvt-layout-span:7!important}
.profile-page [data-lvt-layout-widget="account"]{--lvt-layout-span:5!important}
.profile-page [data-lvt-layout-widget="community"],
.profile-page [data-lvt-layout-widget="history"]{--lvt-layout-span:12!important}

/* Player viewer */
.profile-page .pdv3-profile .pn-avatar{
  padding:18px!important;
  border:1px solid rgba(108,202,226,.10)!important;
  border-radius:12px!important;
  background:
    radial-gradient(360px 300px at 50% 35%,rgba(40,160,205,.15),transparent 70%),
    #081c26!important;
}
.profile-page .pdv3-profile .pn-avatar-stage{
  height:410px!important;
  min-height:410px!important;
  border:1px solid rgba(108,202,226,.09)!important;
  border-radius:12px!important;
  background:
    radial-gradient(circle at 50% 45%,rgba(55,157,194,.11),transparent 52%),
    rgba(3,14,20,.35)!important;
}
.profile-page .pdv3-profile .pn-avatar-img,
.profile-page .pdv3-profile .pc-skin-canvas{
  max-height:390px!important;
}
.profile-page .pdv3-profile .pn-avatar-tools{
  margin-top:10px!important;
  gap:8px!important;
}
.profile-page .pdv3-profile .pn-avatar-tools>*{
  min-height:36px!important;
  border-radius:8px!important;
  font-size:8px!important;
}

/* Reduce nested-box noise */
.profile-page .pdv4-about-card,
.profile-page .pdv3-facts-card,
.profile-page .pn-external-links,
.profile-page .lvt-profile-actions,
.profile-page .pn-claim,
.profile-page .lvt-profile-settings,
.profile-page .pdv4-community-zone{
  border-color:rgba(108,202,226,.10)!important;
  border-radius:12px!important;
  background:#091d27!important;
  box-shadow:none!important;
}
.profile-page .pdv4-about-card>.plv2-bio,
.profile-page .pdv4-about-card>.plv2-badges{
  padding:18px!important;
}
.profile-page .plv2-bio-head>span,
.profile-page .plv2-badges-head span,
.profile-page .pdv3-main-column>.lvt-profile-actions:before{
  font-size:8px!important;
  letter-spacing:.11em!important;
}
.profile-page .plv2-bio p{
  color:#a9bdc5!important;
  font-size:11px!important;
  line-height:1.65!important;
}
.profile-page .plv2-badge{
  min-height:36px!important;
  padding:5px 10px 5px 6px!important;
  font-size:9px!important;
}
.profile-page .plv2-badge i{
  width:23px!important;
  height:23px!important;
}
.profile-page .pdv3-main-column>.lvt-profile-actions{
  padding:12px!important;
  gap:8px!important;
}
.profile-page .pdv3-main-column>.lvt-profile-actions button{
  min-height:38px!important;
  font-size:8px!important;
}

/* Facts become easier to scan */
.profile-page .pdv3-facts-card .prl-profile-facts{
  gap:0!important;
}
.profile-page .pdv3-facts-card .prl-profile-facts>div{
  min-height:45px!important;
  grid-template-columns:110px minmax(0,1fr)!important;
  padding:10px 4px!important;
  border-bottom:1px solid rgba(108,202,226,.07)!important;
  background:transparent!important;
}
.profile-page .pdv3-facts-card .prl-profile-facts>div:last-child{
  border-bottom:0!important;
}
.profile-page .prl-profile-facts span{
  color:#6f8994!important;
  font-size:8px!important;
}
.profile-page .prl-profile-facts b,
.profile-page .prl-profile-facts code{
  color:#e0edf1!important;
  font-size:9px!important;
}

/* Cape area gets more visual weight and breathing room */
.profile-page .lvt-cape-panel,
.profile-page .lvt-client-cape-panel,
.profile-page .lvt-cape-history-wrap,
.profile-page [data-lvt-layout-widget="history"]{
  border-color:rgba(108,202,226,.11)!important;
  background:#081c25!important;
}
.profile-page .lvt-cape-current,
.profile-page .lvt-current-cape,
.profile-page .lvt-cape-current-card{
  padding:18px!important;
}
.profile-page .lvt-cape-tile{
  min-height:68px!important;
  border-radius:9px!important;
}
.profile-page .lvt-cape-history-grid,
.profile-page .lvt-cape-grid{
  gap:9px!important;
}

/* Consistent section headings */
.profile-page .pdv3-profile [class*="-head"] b,
.profile-page .pdv3-profile [class*="-head"] strong{
  font-size:10px!important;
}
.profile-page .pdv3-profile small{
  line-height:1.45!important;
}

/* Light mode */
html[data-theme="light"] .profile-page.profile-has-player{background:#f4f7f8!important}
html[data-theme="light"] .profile-page.profile-has-player .hub-hero,
html[data-theme="light"] .profile-page.profile-has-player .hub-tabs{background:#fff!important}
html[data-theme="light"] .profile-page .pn-profile.pdv3-profile,
html[data-theme="light"] .profile-page .plv2-profile.pdv3-profile,
html[data-theme="light"] .profile-page .pdv3-profile.lvt-layout-mounted{background:#fff!important;border-color:#d9e3e7!important}
html[data-theme="light"] .profile-page .lvt-profile-header-card{background:#f8fbfc!important;border-color:#dce5e8!important}
html[data-theme="light"] .profile-page .lvt-profile-header-socials{background:#f4f8fa!important;border-color:#dce5e8!important}
html[data-theme="light"] .profile-page .pdv3-profile .lvt-layout-canvas{background:#f4f7f8!important}
html[data-theme="light"] .profile-page .pdv3-profile .pn-avatar,
html[data-theme="light"] .profile-page .pdv4-about-card,
html[data-theme="light"] .profile-page .pdv3-facts-card,
html[data-theme="light"] .profile-page .pn-external-links,
html[data-theme="light"] .profile-page .lvt-profile-actions{background:#fff!important;border-color:#dbe4e7!important}

@media(max-width:1100px){
  .profile-page.profile-has-player #preview>.shell,
  .profile-page.profile-has-player .profile-network-shell{
    width:min(100% - 32px,1120px)!important;
  }
  .profile-page .lvt-profile-header-card{
    grid-template-columns:1fr!important;
  }
  .profile-page .lvt-profile-header-socials{
    min-width:0!important;
    border-left:0!important;
    border-top:1px solid rgba(108,202,226,.09)!important;
  }
  .profile-page .pdv3-profile .lvt-layout-canvas{
    grid-template-columns:repeat(8,minmax(0,1fr))!important;
  }
  .profile-page [data-lvt-layout-widget="viewer"]{--lvt-layout-span:3!important}
  .profile-page [data-lvt-layout-widget="social"]{--lvt-layout-span:5!important}
  .profile-page [data-lvt-layout-widget="facts"]{--lvt-layout-span:3!important}
  .profile-page [data-lvt-layout-widget="about"]{--lvt-layout-span:5!important}
  .profile-page [data-lvt-layout-widget="names"],
  .profile-page [data-lvt-layout-widget="external"],
  .profile-page [data-lvt-layout-widget="profileTools"],
  .profile-page [data-lvt-layout-widget="account"]{--lvt-layout-span:4!important}
  .profile-page [data-lvt-layout-widget="community"],
  .profile-page [data-lvt-layout-widget="history"]{--lvt-layout-span:8!important}
}
@media(max-width:760px){
  .profile-page.profile-has-player .hub-hero>.shell,
  .profile-page.profile-has-player .hub-tabs>.shell,
  .profile-page.profile-has-player #preview>.shell,
  .profile-page.profile-has-player .profile-network-shell{
    width:calc(100% - 20px)!important;
  }
  .profile-page.profile-has-player .hub-tabs>.shell{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    scrollbar-width:none!important;
  }
  .profile-page.profile-has-player .hub-tabs>.shell::-webkit-scrollbar{display:none}
  .profile-page .pdv3-profile .lvt-layout-canvas{
    display:block!important;
    padding:10px!important;
  }
  .profile-page [data-lvt-layout-widget]{
    width:100%!important;
    margin-bottom:10px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-stage{
    height:340px!important;
    min-height:340px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-img,
  .profile-page .pdv3-profile .pc-skin-canvas{
    max-height:325px!important;
  }
  .profile-page .lvt-profile-header-main,
  .profile-page .lvt-profile-header-socials{
    padding:18px!important;
  }
}

/* v5.1: remove saved-editor dead space from normal profile viewing */
html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
  grid-auto-rows:auto!important;
  grid-auto-flow:row dense!important;
  align-items:start!important;
}
html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas>[data-lvt-layout-widget]{
  grid-row:auto!important;
  min-height:0!important;
  height:auto!important;
}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="viewer"]{order:10!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="social"]{order:20!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="facts"]{order:30!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="about"]{order:40!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="names"]{order:50!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="external"]{order:60!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="profileTools"]{order:70!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="account"]{order:80!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="community"]{order:90!important}
html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="history"]{order:100!important}

/* Avoid artificial height in secondary cards. */
.profile-page .pdv3-name-card,
.profile-page .pn-external-links,
.profile-page .pdv4-about-card,
.profile-page .pdv3-facts-card{
  height:auto!important;
  min-height:0!important;
  align-self:start!important;
}

/* History belongs directly after the profile dashboard, not after a blank canvas. */
.profile-page [data-lvt-layout-widget="history"]{
  margin-top:2px!important;
}

/* Cleaner source language. */
.profile-page .pdv4-source-chip{
  cursor:default!important;
}


/* v5.2: deliberate public-profile composition instead of editor-like auto layout */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
    display:grid!important;
    grid-template-columns:minmax(300px,4fr) minmax(360px,5fr) minmax(260px,3fr)!important;
    grid-template-rows:auto auto auto auto auto auto!important;
    gap:16px!important;
    align-items:start!important;
    grid-auto-flow:row!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="viewer"]{
    grid-column:1!important;
    grid-row:1 / span 3!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="social"]{
    grid-column:2!important;
    grid-row:1!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="facts"]{
    grid-column:3!important;
    grid-row:1 / span 3!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="names"]{
    grid-column:2!important;
    grid-row:2!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="external"]{
    grid-column:2!important;
    grid-row:3!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="profileTools"]{
    grid-column:1!important;
    grid-row:4!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="about"]{
    grid-column:2 / 4!important;
    grid-row:4!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="account"]{
    grid-column:1!important;
    grid-row:5!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="history"]{
    grid-column:1 / 4!important;
    grid-row:6!important;
    order:unset!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="community"]{
    grid-column:1 / 4!important;
    grid-row:7!important;
    order:unset!important;
  }

  /* Keep the player card visually strong without making the entire row enormous. */
  .profile-page .pdv3-profile .pn-avatar-stage{
    height:360px!important;
    min-height:360px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-img,
  .profile-page .pdv3-profile .pc-skin-canvas{
    max-height:344px!important;
  }

  /* Social actions should read as a compact toolbar, not another giant panel. */
  .profile-page [data-lvt-layout-widget="social"]{
    padding:10px!important;
  }
  .profile-page [data-lvt-layout-widget="social"] .lvt-profile-actions,
  .profile-page .pdv3-main-column>.lvt-profile-actions{
    margin:0!important;
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }

  /* Name/external cards should only occupy the space their content needs. */
  .profile-page .pdv3-name-card,
  .profile-page .pn-external-links{
    min-height:0!important;
    height:auto!important;
    padding:14px!important;
  }

  /* Facts become a compact information rail rather than a tall empty card. */
  .profile-page .pdv3-facts-card{
    padding:15px!important;
  }
  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    min-height:39px!important;
    padding:8px 2px!important;
    grid-template-columns:92px minmax(0,1fr)!important;
  }

  /* Bio/badges becomes one horizontal profile-details panel. */
  .profile-page .pdv4-about-card{
    display:grid!important;
    grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr)!important;
    align-items:stretch!important;
  }
  .profile-page .pdv4-about-card>.plv2-bio,
  .profile-page .pdv4-about-card>.plv2-badges{
    min-width:0!important;
  }
  .profile-page .pdv4-about-card>.plv2-badges{
    border-top:0!important;
    border-left:1px solid rgba(108,202,226,.08)!important;
  }

  /* History reads as a continuation of the profile, not a detached second page. */
  .profile-page [data-lvt-layout-widget="history"]{
    margin-top:6px!important;
    border-radius:12px!important;
  }
}

/* Utility copy should be quiet and human, not telemetry language. */
.profile-page .pdv3-card-head small,
.profile-page .plv2-badges-head small{
  color:#708994!important;
  font-size:8px!important;
}


/* v5.3 identity stats + cleaner facts */
.profile-page .lvt-profile-header-main{
  align-items:center!important;
}
.profile-page .lvt-profile-header-main>div{
  min-width:0;
}
.profile-page .lvt-profile-header-meta{
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:7px;
  min-height:18px;
  margin-top:9px;
  color:#708c97;
  font-size:9px;
}
.profile-page .lvt-profile-header-meta[hidden]{display:none!important}
.profile-page .lvt-profile-header-meta span{
  display:inline-flex;
  align-items:center;
  gap:4px;
}
.profile-page .lvt-profile-header-meta b{
  color:#bdd7de;
  font-weight:800;
}
.profile-page .lvt-profile-header-meta i{
  width:3px;
  height:3px;
  border-radius:50%;
  background:#365965;
}
.profile-page .pdv3-card-head small{
  color:#62808b!important;
}
.profile-page .pdv3-facts-card .pdv4-source-chip{
  display:none!important;
}

/* Profile facts should be compact and useful only */
@media(min-width:1101px){
  .profile-page .pdv3-facts-card{
    max-height:none!important;
  }
  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    min-height:38px!important;
  }
  .profile-page [data-lvt-layout-widget="about"]{
    align-self:start!important;
  }
}


/* v5.4 adaptive public profile: never reserve blank widget columns */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
    grid-template-columns:minmax(310px,4fr) repeat(8,minmax(0,1fr))!important;
    grid-template-rows:auto auto auto auto auto auto!important;
    gap:16px!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="viewer"]{
    grid-column:1!important;
    grid-row:1 / span 4!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="social"]{
    grid-column:2 / span 5!important;
    grid-row:1!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="facts"]{
    grid-column:7 / span 3!important;
    grid-row:1 / span 2!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="about"]{
    grid-column:2 / span 8!important;
    grid-row:2!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="names"]{
    grid-column:2 / span 4!important;
    grid-row:3!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="external"]{
    grid-column:6 / span 4!important;
    grid-row:3!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="profileTools"]{
    grid-column:2 / span 4!important;
    grid-row:4!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="account"]{
    grid-column:6 / span 4!important;
    grid-row:4!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="history"]{
    grid-column:1 / span 9!important;
    grid-row:5!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="community"]{
    grid-column:1 / span 9!important;
    grid-row:6!important;
  }

  /* If social actions are not present, facts expand across the top-right area. */
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="social"])) [data-lvt-layout-widget="facts"]{
    grid-column:2 / span 8!important;
    grid-row:1!important;
  }

  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="social"])) [data-lvt-layout-widget="about"]{
    grid-row:2!important;
  }

  /* If account/profile-tools widgets are missing, the remaining one fills the row. */
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="account"])) [data-lvt-layout-widget="profileTools"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="profileTools"])) [data-lvt-layout-widget="account"]{
    grid-column:2 / span 8!important;
  }

  /* Name history or external links should fill the whole row when the other is absent. */
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="external"])) [data-lvt-layout-widget="names"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas:not(:has([data-lvt-layout-widget="names"])) [data-lvt-layout-widget="external"]{
    grid-column:2 / span 8!important;
  }

  .profile-page .pdv3-profile .pn-avatar{
    height:auto!important;
  }

  .profile-page .pdv3-profile .pn-avatar-stage{
    height:330px!important;
    min-height:330px!important;
  }

  .profile-page .pdv3-profile .pn-avatar-img,
  .profile-page .pdv3-profile .pc-skin-canvas{
    max-height:315px!important;
  }

  .profile-page .pdv3-facts-card{
    width:100%!important;
  }

  .profile-page .pdv3-facts-card .prl-profile-facts{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 18px!important;
  }

  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    grid-template-columns:96px minmax(0,1fr)!important;
    min-height:38px!important;
    padding:8px 2px!important;
  }

  .profile-page .pdv4-about-card{
    grid-template-columns:minmax(0,1fr) minmax(260px,.7fr)!important;
  }

  .profile-page .pdv3-name-card,
  .profile-page .pn-external-links,
  .profile-page .lvt-layout-account-card,
  .profile-page .plv2-profile-tools{
    width:100%!important;
  }
}


/* v5.5 Laby-inspired quiet profile metrics */
.profile-page .lvt-profile-header-meta{
  min-height:16px!important;
  margin-top:7px!important;
  gap:6px!important;
  color:#6f8994!important;
  font-size:8px!important;
  font-weight:650!important;
  line-height:1.2!important;
}
.profile-page .lvt-profile-header-meta span{
  display:inline-flex!important;
  align-items:center!important;
  gap:5px!important;
  color:#6f8994!important;
}
.profile-page .lvt-profile-header-meta b{
  color:inherit!important;
  font-weight:650!important;
}
.profile-page .lvt-profile-header-meta>i{
  width:3px!important;
  height:3px!important;
  margin:0 1px!important;
  background:#365762!important;
}
.profile-page .lvt-profile-view-count>i{
  width:auto!important;
  height:auto!important;
  margin:0!important;
  background:none!important;
  color:#4e7785!important;
  font-size:6px!important;
  font-style:normal!important;
  line-height:1!important;
}
html[data-theme="light"] .profile-page .lvt-profile-header-meta span{
  color:#6c7c83!important;
}


/* v5.6 premium profile badges */
.profile-page .plv2-badges{
  margin:0!important;
  padding:18px!important;
  border:0!important;
  background:transparent!important;
}
.profile-page .plv2-badges-head{
  margin-bottom:12px!important;
}
.profile-page .plv2-badges-head span{
  color:#73b8c9!important;
  font-size:8px!important;
  font-weight:950!important;
  letter-spacing:.13em!important;
}
.profile-page .plv2-badges-head small{
  color:#627d88!important;
  font-size:8px!important;
}
.profile-page .plv2-badge-row{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr))!important;
  gap:9px!important;
}
.profile-page .plv2-badge{
  position:relative!important;
  display:grid!important;
  grid-template-columns:38px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  min-height:58px!important;
  padding:10px 12px!important;
  overflow:hidden!important;
  border:1px solid rgba(112,204,226,.11)!important;
  border-radius:11px!important;
  background:
    linear-gradient(145deg,rgba(13,43,57,.82),rgba(6,24,33,.94))!important;
  color:#dceef2!important;
  box-shadow:
    inset 0 1px rgba(255,255,255,.025),
    0 8px 22px rgba(0,0,0,.08)!important;
  cursor:help!important;
  transition:transform .14s ease,border-color .14s ease,background .14s ease!important;
}
.profile-page .plv2-badge:hover{
  transform:translateY(-1px)!important;
  border-color:rgba(112,214,238,.23)!important;
  background:
    linear-gradient(145deg,rgba(17,53,69,.88),rgba(7,29,40,.98))!important;
}
.profile-page .plv2-badge::after{
  content:"";
  position:absolute;
  inset:auto -22px -26px auto;
  width:70px;
  height:70px;
  border-radius:50%;
  background:radial-gradient(circle,rgba(95,206,233,.06),transparent 68%);
  pointer-events:none;
}
.profile-page .plv2-badge i{
  position:relative!important;
  z-index:1!important;
  display:grid!important;
  place-items:center!important;
  width:38px!important;
  height:38px!important;
  border-radius:10px!important;
  border:1px solid rgba(121,215,235,.12)!important;
  background:#0b2a37!important;
  color:#8cd9e8!important;
  font-size:8px!important;
  font-weight:950!important;
  font-style:normal!important;
  letter-spacing:.04em!important;
}
.profile-page .plv2-badge b{
  position:relative!important;
  z-index:1!important;
  display:block!important;
  min-width:0!important;
  color:#e8f5f7!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.3!important;
}

/* Distinct badge identities without turning them into noisy rainbow pills */
.profile-page .plv2-badge.badge-indexed{
  border-color:rgba(67,206,211,.16)!important;
}
.profile-page .plv2-badge.badge-indexed i{
  background:rgba(49,172,177,.11)!important;
  border-color:rgba(72,213,218,.16)!important;
  color:#8be1de!important;
}
.profile-page .plv2-badge.badge-cape-collector{
  border-color:rgba(132,129,230,.18)!important;
}
.profile-page .plv2-badge.badge-cape-collector i{
  background:rgba(114,104,214,.12)!important;
  border-color:rgba(143,135,235,.18)!important;
  color:#c1bdff!important;
}
.profile-page .plv2-badge.badge-skin-collector{
  border-color:rgba(95,190,239,.17)!important;
}
.profile-page .plv2-badge.badge-skin-collector i{
  background:rgba(74,163,210,.12)!important;
  border-color:rgba(103,193,239,.17)!important;
  color:#a8dcf7!important;
}
.profile-page .plv2-badge.badge-known-profile{
  border-color:rgba(224,181,82,.20)!important;
}
.profile-page .plv2-badge.badge-known-profile i{
  background:rgba(213,164,54,.11)!important;
  border-color:rgba(234,189,87,.18)!important;
  color:#f2d391!important;
}
.profile-page .plv2-badge.badge-name-history{
  border-color:rgba(104,205,158,.17)!important;
}
.profile-page .plv2-badge.badge-name-history i{
  background:rgba(79,184,137,.11)!important;
  border-color:rgba(112,211,164,.17)!important;
  color:#a8e4c7!important;
}

/* About panel separation */
.profile-page .pdv4-about-card>.plv2-badges{
  border-left:1px solid rgba(108,202,226,.08)!important;
}
html[data-theme="light"] .profile-page .plv2-badge{
  background:#f8fbfc!important;
  border-color:#d7e3e7!important;
  color:#1d343d!important;
  box-shadow:none!important;
}
html[data-theme="light"] .profile-page .plv2-badge b{
  color:#20353e!important;
}
html[data-theme="light"] .profile-page .plv2-badge i{
  background:#edf5f7!important;
}
@media(max-width:760px){
  .profile-page .plv2-badge-row{
    grid-template-columns:1fr!important;
  }
  .profile-page .pdv4-about-card>.plv2-badges{
    border-left:0!important;
    border-top:1px solid rgba(108,202,226,.08)!important;
  }
}


/* v5.7 NameMC/Laby-inspired identity details */
.profile-page .lvt-profile-header-meta{
  margin-top:6px!important;
}
.profile-page .lvt-profile-view-count{
  color:#6f8994!important;
  font-size:8px!important;
  font-weight:650!important;
}
.profile-page .lvt-profile-view-count>i{
  display:none!important;
}

/* Compact ownership prompt near the player identity. */
.profile-page .lvt-profile-header-claim{
  display:flex;
  align-items:center;
  gap:10px;
  width:max-content;
  max-width:100%;
  min-height:32px;
  margin-top:10px;
  padding:5px 6px 5px 10px;
  border:1px solid rgba(111,205,228,.13);
  border-radius:8px;
  background:rgba(5,24,32,.44);
  color:#78939e;
  font-size:8px;
}
.profile-page .lvt-profile-header-claim[hidden]{
  display:none!important;
}
.profile-page .lvt-profile-header-claim span{
  white-space:nowrap;
}
.profile-page .lvt-profile-header-claim b{
  color:#c7dbe1;
  font-weight:800;
}
.profile-page .lvt-profile-header-claim .pn-claim-button{
  display:inline-flex!important;
  align-items:center!important;
  gap:6px!important;
  min-height:26px!important;
  padding:0 9px!important;
  border:1px solid rgba(95,210,234,.18)!important;
  border-radius:6px!important;
  background:rgba(15,58,72,.65)!important;
  color:#d6f4f9!important;
  font-size:8px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.profile-page .lvt-profile-header-claim .pn-claim-button:hover{
  border-color:rgba(95,220,244,.34)!important;
  background:rgba(20,73,89,.78)!important;
}
.profile-page .lvt-profile-header-claim .pn-claim-button em{
  color:#68d5e9!important;
  font-size:10px!important;
  font-style:normal!important;
}
html[data-theme="light"] .profile-page .lvt-profile-header-claim{
  background:#f6f9fa;
  border-color:#d7e3e7;
  color:#65777f;
}
html[data-theme="light"] .profile-page .lvt-profile-header-claim b{
  color:#24373f;
}
html[data-theme="light"] .profile-page .lvt-profile-header-claim .pn-claim-button{
  background:#edf6f9!important;
  border-color:#cbdfe6!important;
  color:#0d617d!important;
}
@media(max-width:620px){
  .profile-page .lvt-profile-header-claim{
    width:100%;
    align-items:flex-start;
    justify-content:space-between;
    flex-wrap:wrap;
  }
}


/* v5.8 NameMC-style texture history under the player */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="viewer"]{
    grid-column:1!important;
    grid-row:1!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="history"]{
    grid-column:1!important;
    grid-row:2 / span 5!important;
    margin-top:0!important;
    align-self:start!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="social"]{
    grid-column:2 / span 5!important;
    grid-row:1!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="facts"]{
    grid-column:7 / span 3!important;
    grid-row:1 / span 2!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="about"]{
    grid-column:2 / span 8!important;
    grid-row:2!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="names"]{
    grid-column:2 / span 4!important;
    grid-row:3!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="external"]{
    grid-column:6 / span 4!important;
    grid-row:3!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="profileTools"]{
    grid-column:2 / span 4!important;
    grid-row:4!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="account"]{
    grid-column:6 / span 4!important;
    grid-row:4!important;
  }
  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="community"]{
    grid-column:2 / span 8!important;
    grid-row:5!important;
  }

  .profile-page [data-lvt-layout-widget="history"] .pn-tablist{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:5px!important;
    padding:8px!important;
  }
  .profile-page [data-lvt-layout-widget="history"] .pn-tablist button{
    min-width:0!important;
    min-height:32px!important;
    padding:0 7px!important;
    font-size:8px!important;
  }

  .profile-page .lvt-cape-panel.compact{
    gap:0!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-history{
    padding:10px!important;
    border-radius:9px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-history-head{
    align-items:center!important;
    margin-bottom:8px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-history-head>span{
    max-width:130px!important;
    text-align:right!important;
    font-size:7px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile{
    display:block!important;
    padding:6px!important;
    border-radius:7px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-art{
    height:74px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-art .mc-face--cape{
    width:38px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta{
    display:block!important;
    margin-top:5px!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta b{
    font-size:8px!important;
    text-align:center!important;
  }
  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta small{
    display:none!important;
  }

  .profile-page .lvt-skins-v2{
    padding:10px!important;
  }
  .profile-page .lvt-skins-head{
    margin-bottom:8px!important;
  }
  .profile-page .lvt-skins-head p{
    display:none!important;
  }
  .profile-page .lvt-skin-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .profile-page .lvt-skin-card{
    border-radius:7px!important;
  }
  .profile-page .lvt-skin-card-preview{
    min-height:118px!important;
  }
  .profile-page .lvt-skin-card-copy{
    padding:6px!important;
  }
  .profile-page .lvt-skin-card-copy b{
    font-size:8px!important;
  }
  .profile-page .lvt-skin-card-copy small{
    display:none!important;
  }
}


/* v5.9 compact public profile composition */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
    display:grid!important;
    grid-template-columns:360px minmax(0,1fr)!important;
    grid-template-rows:auto!important;
    grid-auto-rows:auto!important;
    gap:14px 18px!important;
    align-items:start!important;
    padding:18px!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget]{
    grid-column:auto!important;
    grid-row:auto!important;
    min-width:0!important;
    height:auto!important;
    min-height:0!important;
    align-self:start!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="viewer"]{
    grid-column:1!important;
    grid-row:1!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="history"]{
    grid-column:1!important;
    grid-row:2 / span 5!important;
    margin:0!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="about"]{
    grid-column:2!important;
    grid-row:1!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="facts"]{
    grid-column:2!important;
    grid-row:2!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="names"]{
    grid-column:2!important;
    grid-row:3!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="external"]{
    grid-column:2!important;
    grid-row:4!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="social"]{
    grid-column:2!important;
    grid-row:5!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="profileTools"]{
    grid-column:2!important;
    grid-row:6!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="account"]{
    grid-column:2!important;
    grid-row:7!important;
  }

  html:not(.lvt-layout-editing) .profile-page [data-lvt-layout-widget="community"]{
    grid-column:2!important;
    grid-row:8!important;
  }

  /* Player column */
  .profile-page .pdv3-profile .pn-avatar{
    padding:10px!important;
    border-radius:9px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-stage{
    height:330px!important;
    min-height:330px!important;
    border-radius:8px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-img,
  .profile-page .pdv3-profile .pc-skin-canvas{
    max-height:315px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-tools{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .profile-page .pdv3-profile .pn-avatar-tools>*{
    min-height:33px!important;
    font-size:7px!important;
  }

  /* Right side reads like one compact profile information stack. */
  .profile-page .pdv4-about-card,
  .profile-page .pdv3-facts-card,
  .profile-page .pdv3-name-card,
  .profile-page .pn-external-links,
  .profile-page .lvt-profile-actions,
  .profile-page .lvt-profile-settings,
  .profile-page .pn-claim{
    width:100%!important;
    min-height:0!important;
    margin:0!important;
    border-radius:9px!important;
  }

  .profile-page .pdv4-about-card{
    display:grid!important;
    grid-template-columns:minmax(0,1.25fr) minmax(260px,.75fr)!important;
  }

  .profile-page .pdv4-about-card>.plv2-bio,
  .profile-page .pdv4-about-card>.plv2-badges{
    padding:14px!important;
  }

  .profile-page .pdv4-about-card>.plv2-badges{
    border-left:1px solid rgba(108,202,226,.08)!important;
    border-top:0!important;
  }

  .profile-page .pdv3-facts-card{
    padding:13px 14px!important;
  }

  .profile-page .pdv3-facts-card .prl-profile-facts{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:22px!important;
  }

  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    min-height:36px!important;
    padding:7px 2px!important;
    grid-template-columns:100px minmax(0,1fr)!important;
  }

  .profile-page .pdv3-name-card,
  .profile-page .pn-external-links{
    padding:13px!important;
  }

  /* Texture history is intentionally dense like NameMC. */
  .profile-page [data-lvt-layout-widget="history"]{
    border:1px solid rgba(108,202,226,.10)!important;
    border-radius:9px!important;
    background:#081b24!important;
    overflow:hidden!important;
  }

  .profile-page [data-lvt-layout-widget="history"] .pn-tablist{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px!important;
    padding:7px!important;
    border-bottom:1px solid rgba(108,202,226,.08)!important;
  }

  .profile-page [data-lvt-layout-widget="history"] .pn-tablist button:nth-child(4),
  .profile-page [data-lvt-layout-widget="history"] .pn-tablist button:nth-child(5){
    display:none!important;
  }

  .profile-page [data-pn-pane="cape"],
  .profile-page [data-pn-pane="skin"]{
    padding:8px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-history,
  .profile-page .lvt-skins-v2{
    padding:0!important;
    border:0!important;
    background:transparent!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-history-head,
  .profile-page .lvt-skins-head{
    margin:0 0 7px!important;
    padding:0 1px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-grid,
  .profile-page .lvt-skin-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-tile{
    min-height:0!important;
    padding:5px!important;
    border-radius:6px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-art{
    height:64px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta{
    margin-top:4px!important;
  }

  .profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta b{
    font-size:7px!important;
    line-height:1.2!important;
  }

  .profile-page .lvt-skin-card-preview{
    min-height:92px!important;
  }

  .profile-page .lvt-skin-card-copy{
    padding:5px!important;
  }

  .profile-page .lvt-skin-card-copy b{
    font-size:7px!important;
  }

  /* If a widget is not actually populated, don't let it reserve space. */
  .profile-page [data-lvt-layout-widget]:empty{
    display:none!important;
  }
}

/* Tablet/mobile keeps the simple reading order. */
@media(max-width:1100px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
    display:block!important;
  }
  .profile-page [data-lvt-layout-widget]{
    margin-bottom:10px!important;
  }
}


/* v5.10 real public-profile columns, matching compact profile references */
.profile-page.profile-has-player [data-lv-account-directory]{
  display:none!important;
}

@media(min-width:1101px){
  .profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    display:grid!important;
    grid-template-columns:360px minmax(0,1fr)!important;
    gap:18px!important;
    align-items:start!important;
    padding:18px!important;
  }

  .profile-page .lvt-public-left,
  .profile-page .lvt-public-right{
    display:flex!important;
    flex-direction:column!important;
    gap:12px!important;
    min-width:0!important;
  }

  .profile-page .lvt-public-left>[data-lvt-layout-widget],
  .profile-page .lvt-public-right>[data-lvt-layout-widget]{
    width:100%!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:stretch!important;
  }

  /* Player card */
  .profile-page .lvt-public-left [data-lvt-layout-widget="viewer"]{
    order:1!important;
  }
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"]{
    order:2!important;
  }

  /* Right information stack */
  .profile-page .lvt-public-right [data-lvt-layout-widget="about"]{order:1!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="facts"]{order:2!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="names"]{order:3!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="external"]{order:4!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="social"]{order:5!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="profileTools"]{order:6!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="account"]{order:7!important}
  .profile-page .lvt-public-right [data-lvt-layout-widget="community"]{order:8!important}

  .profile-page .lvt-public-right [data-lvt-layout-widget="about"],
  .profile-page .lvt-public-right [data-lvt-layout-widget="facts"],
  .profile-page .lvt-public-right [data-lvt-layout-widget="names"],
  .profile-page .lvt-public-right [data-lvt-layout-widget="external"]{
    max-width:none!important;
  }

  .profile-page .pdv4-about-card{
    grid-template-columns:minmax(0,1.25fr) minmax(250px,.75fr)!important;
  }

  .profile-page .pdv3-facts-card .prl-profile-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  /* Match NameMC's compact stacked texture panels */
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"]{
    border-radius:8px!important;
    overflow:hidden!important;
  }

  .profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:4px!important;
    padding:6px!important;
  }

  .profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist button{
    min-height:30px!important;
    padding:0 6px!important;
    font-size:7px!important;
  }

  .profile-page .lvt-public-left [data-pn-pane="cape"],
  .profile-page .lvt-public-left [data-pn-pane="skin"]{
    padding:7px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-grid,
  .profile-page .lvt-public-left .lvt-skin-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:4px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile{
    padding:4px!important;
    border-radius:5px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-art{
    height:58px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-meta b{
    font-size:6.5px!important;
  }

  .profile-page .lvt-public-left .lvt-skin-card-preview{
    min-height:84px!important;
  }

  .profile-page .lvt-public-left .lvt-skin-card-copy{
    padding:4px!important;
  }

  .profile-page .lvt-public-left .lvt-skin-card-copy b{
    font-size:6.5px!important;
  }

  /* No telemetry-ish extra line in profile facts header. */
  .profile-page .pdv3-facts-card .pdv3-card-head small{
    display:none!important;
  }
}

@media(max-width:1100px){
  .profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    display:block!important;
  }
  .profile-page .lvt-public-left,
  .profile-page .lvt-public-right{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
  }
}


/* v5.11 identity header alignment */
.profile-page .lvt-profile-header-socials-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
}
.profile-page .lvt-profile-header-socials-tools{
  display:flex!important;
  align-items:center!important;
  justify-content:flex-end!important;
  gap:8px!important;
  min-width:0!important;
}
.profile-page .lvt-profile-header-meta{
  display:inline-flex!important;
  align-items:center!important;
  min-height:24px!important;
  margin:0!important;
  padding:0 8px!important;
  border:1px solid rgba(108,202,226,.10)!important;
  border-radius:999px!important;
  background:rgba(7,29,39,.52)!important;
  color:#78939e!important;
  font-size:7px!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap!important;
}
.profile-page .lvt-profile-header-meta[hidden]{display:none!important}
.profile-page .lvt-profile-view-count{
  display:inline-flex!important;
  align-items:center!important;
  color:inherit!important;
}

/* Country flag is an icon tile, so center the flag visually. */
.profile-page .lvt-country-chip{
  display:grid!important;
  place-items:center!important;
  padding:0!important;
  text-align:center!important;
}
.profile-page .lvt-country-chip .lvt-country-flag{
  display:block!important;
  width:1em!important;
  height:1em!important;
  line-height:1!important;
  margin:0!important;
  transform:none!important;
}

/* Don't let tiny profile header labels clip. */
.profile-page .lvt-profile-header-kicker,
.profile-page .lvt-profile-header-socials-head,
.profile-page .lvt-profile-header-socials-tools{
  overflow:visible!important;
}


/* v5.12 final NameMC + Laby reference pass */
@media(min-width:1101px){
  .profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    grid-template-columns:340px minmax(0,1fr)!important;
    gap:16px!important;
    padding:14px!important;
  }

  .profile-page .lvt-public-left,
  .profile-page .lvt-public-right{
    gap:10px!important;
  }

  /* NameMC-like left rail: compact renderer, then compact texture panels. */
  .profile-page .lvt-public-left .pn-avatar{
    padding:8px!important;
    border-radius:7px!important;
  }
  .profile-page .lvt-public-left .pn-avatar-stage{
    height:300px!important;
    min-height:300px!important;
    border-radius:6px!important;
  }
  .profile-page .lvt-public-left .pn-avatar-img,
  .profile-page .lvt-public-left .pc-skin-canvas{
    max-height:286px!important;
  }
  .profile-page .lvt-public-left .pn-avatar-tools{
    margin-top:7px!important;
    gap:5px!important;
  }
  .profile-page .lvt-public-left .pn-avatar-tools>*{
    min-height:30px!important;
    border-radius:5px!important;
    font-size:7px!important;
  }

  /* Texture selector should feel like two compact NameMC panels. */
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"]{
    background:#081a22!important;
    border-color:rgba(111,205,228,.13)!important;
  }
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    padding:5px!important;
    gap:4px!important;
  }
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist button{
    min-height:28px!important;
    border-radius:5px!important;
    font-size:7px!important;
  }
  .profile-page .lvt-public-left [data-pn-pane="cape"],
  .profile-page .lvt-public-left [data-pn-pane="skin"]{
    padding:7px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-history-head,
  .profile-page .lvt-public-left .lvt-skins-head{
    margin-bottom:6px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-history-head small,
  .profile-page .lvt-public-left .lvt-skins-head small,
  .profile-page .lvt-public-left .lvt-skins-head span{
    font-size:7px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-grid,
  .profile-page .lvt-public-left .lvt-skin-grid{
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:4px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile{
    padding:3px!important;
    border-radius:4px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-art{
    height:54px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-meta{
    margin-top:3px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-meta b{
    font-size:6px!important;
  }
  .profile-page .lvt-public-left .lvt-skin-card-preview{
    min-height:72px!important;
  }
  .profile-page .lvt-public-left .lvt-skin-card-copy{
    padding:3px!important;
  }
  .profile-page .lvt-public-left .lvt-skin-card-copy b{
    font-size:6px!important;
  }

  /* Laby-like right column: strong cards, but still dense. */
  .profile-page .lvt-public-right>[data-lvt-layout-widget]{
    border-radius:7px!important;
  }
  .profile-page .pdv4-about-card{
    grid-template-columns:minmax(0,1.4fr) minmax(240px,.6fr)!important;
    border-radius:7px!important;
  }
  .profile-page .pdv4-about-card>.plv2-bio,
  .profile-page .pdv4-about-card>.plv2-badges{
    padding:12px!important;
  }
  .profile-page .plv2-badge-row{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:6px!important;
  }
  .profile-page .plv2-badge{
    min-height:48px!important;
    grid-template-columns:30px minmax(0,1fr)!important;
    gap:8px!important;
    padding:7px 8px!important;
    border-radius:7px!important;
  }
  .profile-page .plv2-badge i{
    width:30px!important;
    height:30px!important;
    border-radius:7px!important;
  }
  .profile-page .plv2-badge b{
    font-size:8px!important;
  }

  .profile-page .pdv3-facts-card{
    padding:11px 12px!important;
    border-radius:7px!important;
  }
  .profile-page .pdv3-facts-card .prl-profile-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:0 18px!important;
  }
  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    min-height:32px!important;
    grid-template-columns:88px minmax(0,1fr)!important;
    padding:5px 0!important;
  }

  .profile-page .pdv3-name-card,
  .profile-page .pn-external-links{
    padding:11px!important;
    border-radius:7px!important;
  }

  /* Social buttons should be compact actions, not a dashboard slab. */
  .profile-page .lvt-public-right [data-lvt-layout-widget="social"] .lvt-profile-actions{
    display:grid!important;
    grid-template-columns:repeat(5,minmax(0,1fr))!important;
    gap:5px!important;
    padding:7px!important;
  }
  .profile-page .lvt-public-right [data-lvt-layout-widget="social"] .lvt-profile-actions button{
    min-height:31px!important;
    font-size:7px!important;
  }

  /* Utility row mirrors NameMC's compact profile tools. */
  .profile-page .lvt-public-right [data-lvt-layout-widget="profileTools"]{
    padding:7px!important;
  }
  .profile-page .lvt-public-right [data-lvt-layout-widget="profileTools"] button,
  .profile-page .lvt-public-right [data-lvt-layout-widget="profileTools"] a{
    min-height:30px!important;
    font-size:7px!important;
  }
}


/* v5.13 fix clipped micro-headings */
.profile-page .lvt-profile-header-kicker,
.profile-page .lvt-profile-header-socials-head .lvt-profile-header-kicker{
  display:inline-flex!important;
  align-items:center!important;
  min-height:14px!important;
  padding-top:1px!important;
  padding-bottom:1px!important;
  line-height:1.35!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.profile-page .lvt-profile-header-socials-head{
  min-height:24px!important;
  line-height:normal!important;
  overflow:visible!important;
}

.profile-page .lvt-cape-history-head{
  align-items:flex-start!important;
  overflow:visible!important;
}
.profile-page .lvt-cape-history-head>div{
  min-width:0!important;
  overflow:visible!important;
}
.profile-page .lvt-cape-history-head small{
  display:block!important;
  min-height:12px!important;
  padding-top:1px!important;
  line-height:1.35!important;
  overflow:visible!important;
  text-overflow:clip!important;
  white-space:nowrap!important;
}
.profile-page .lvt-cape-history-head b{
  margin-top:1px!important;
  line-height:1.3!important;
  overflow:visible!important;
}
.profile-page .lvt-cape-history-head>span{
  display:block!important;
  max-width:118px!important;
  min-height:12px!important;
  padding-top:1px!important;
  line-height:1.35!important;
  text-align:right!important;
  white-space:normal!important;
  overflow:visible!important;
  text-overflow:clip!important;
}

/* Tile names should not be vertically clipped either. */
.profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta{
  min-height:13px!important;
  overflow:visible!important;
}
.profile-page .lvt-cape-panel.compact .lvt-cape-tile-meta b{
  min-height:10px!important;
  line-height:1.3!important;
  padding-top:1px!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}

@media(max-width:760px){
  .profile-page .lvt-cape-history-head>span{
    max-width:none!important;
    text-align:left!important;
  }
}


/* v5.14 public profile texture stack: Skins, then Capes */
@media(min-width:0px){
  .profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist{
    display:none!important;
  }

  .profile-page .lvt-public-left [data-lvt-layout-widget="history"]{
    display:flex!important;
    flex-direction:column!important;
    gap:0!important;
    padding:0!important;
    overflow:hidden!important;
  }

  .profile-page .lvt-public-left [data-pn-pane]{
    display:none!important;
    position:static!important;
    opacity:1!important;
    visibility:visible!important;
    transform:none!important;
  }

  .profile-page .lvt-public-left [data-pn-pane="skin"],
  .profile-page .lvt-public-left [data-pn-pane="cape"]{
    display:block!important;
    width:100%!important;
    margin:0!important;
    padding:8px!important;
    border:0!important;
    background:transparent!important;
  }

  .profile-page .lvt-public-left [data-pn-pane="skin"]{
    order:1!important;
    border-bottom:1px solid rgba(108,202,226,.09)!important;
  }

  .profile-page .lvt-public-left [data-pn-pane="cape"]{
    order:2!important;
  }

  .profile-page .lvt-public-left [data-pn-pane="skin"]::before{
    content:"Skins";
    display:block;
    margin:0 0 7px;
    color:#cfe4e9;
    font-size:9px;
    font-weight:900;
    line-height:1.3;
  }

  .profile-page .lvt-public-left [data-pn-pane="cape"]::before{
    content:"Capes";
    display:block;
    margin:0 0 7px;
    color:#cfe4e9;
    font-size:9px;
    font-weight:900;
    line-height:1.3;
  }

  .profile-page .lvt-public-left .lvt-skins-head,
  .profile-page .lvt-public-left .lvt-cape-history-head{
    margin:0 0 6px!important;
  }

  .profile-page .lvt-public-left .lvt-skins-head small,
  .profile-page .lvt-public-left .lvt-cape-history-head small{
    display:none!important;
  }

  .profile-page .lvt-public-left .lvt-skins-head p{
    display:none!important;
  }

  .profile-page .lvt-public-left .lvt-skins-head>small,
  .profile-page .lvt-public-left .lvt-cape-history-head>span{
    display:none!important;
  }
}


/* v5.15 preserve render mounts, expose only Skins then Capes */
.profile-page .lvt-public-left .lvt-public-history-tabs-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  margin:-1px!important;
  padding:0!important;
  overflow:hidden!important;
  clip:rect(0 0 0 0)!important;
  white-space:nowrap!important;
  border:0!important;
  opacity:0!important;
  pointer-events:none!important;
}

.profile-page .lvt-public-left [data-lvt-layout-widget="history"]{
  position:relative!important;
}

.profile-page .lvt-public-left [data-pn-pane].lvt-public-texture-pane{
  display:block!important;
  position:static!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}

.profile-page .lvt-public-left [data-pn-pane="skin"].lvt-public-texture-pane{
  order:1!important;
}

.profile-page .lvt-public-left [data-pn-pane="cape"].lvt-public-texture-pane{
  order:2!important;
}

.profile-page .lvt-public-left [data-pn-pane][hidden]:not(.lvt-public-texture-pane){
  display:none!important;
}


/* v5.16 NameMC/Laby-style skin head history */
.profile-page .lvt-public-left .lvt-skin-grid{
  grid-template-columns:repeat(7,minmax(0,1fr))!important;
  gap:4px!important;
}
.profile-page .lvt-public-left .lvt-skin-card{
  min-width:0!important;
  border-radius:4px!important;
  overflow:hidden!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview{
  display:grid!important;
  place-items:center!important;
  min-height:44px!important;
  height:44px!important;
  padding:3px!important;
  background:#061118!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview .mc-face--skin{
  width:34px!important;
  height:34px!important;
  max-width:100%!important;
  max-height:100%!important;
  image-rendering:pixelated!important;
}
.profile-page .lvt-public-left .lvt-skin-card-copy{
  display:none!important;
}
.profile-page .lvt-public-left .lvt-current-skin-badge{
  position:absolute!important;
  top:2px!important;
  right:2px!important;
  min-width:5px!important;
  width:5px!important;
  height:5px!important;
  padding:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:50%!important;
  background:#62dbb0!important;
  color:transparent!important;
  font-size:0!important;
  box-shadow:0 0 6px rgba(98,219,176,.65)!important;
}
@media(max-width:760px){
  .profile-page .lvt-public-left .lvt-skin-grid{
    grid-template-columns:repeat(7,minmax(0,1fr))!important;
  }
}


/* v5.17 restore natural player and cape proportions */
@media(min-width:1101px){
  .profile-page .lvt-public-left .pn-avatar-stage{
    height:330px!important;
    min-height:330px!important;
    overflow:hidden!important;
  }

  .profile-page .lvt-public-left .pn-avatar-img,
  .profile-page .lvt-public-left .pc-skin-canvas{
    max-height:none!important;
    width:auto!important;
    height:92%!important;
    transform:scale(1.14)!important;
    transform-origin:center center!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-grid{
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    gap:5px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile{
    padding:5px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-art{
    height:76px!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-art .mc-face--cape{
    width:42px!important;
    max-width:none!important;
  }

  .profile-page .lvt-public-left .lvt-cape-panel.compact .lvt-cape-tile-meta b{
    font-size:7px!important;
  }
}

@media(max-width:1100px){
  .profile-page .lvt-public-left .pn-avatar-img,
  .profile-page .lvt-public-left .pc-skin-canvas{
    transform:scale(1.08)!important;
    transform-origin:center center!important;
  }
}


/* v5.18 true square skin-head history tiles */
.profile-page .lvt-public-left .lvt-skin-grid{
  display:grid!important;
  grid-template-columns:repeat(7,32px)!important;
  gap:5px!important;
  justify-content:start!important;
  align-items:start!important;
}
.profile-page .lvt-public-left .lvt-skin-card{
  position:relative!important;
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  border-radius:4px!important;
  transform:none!important;
}
.profile-page .lvt-public-left .lvt-skin-card:hover{
  transform:none!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-height:32px!important;
  padding:0!important;
  overflow:hidden!important;
  background:#071219!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview .mc-face--skin{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  margin:0!important;
  padding:0!important;
  image-rendering:pixelated!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview .mc-face--skin canvas.mc-texture-crop{
  display:block!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  image-rendering:pixelated!important;
}
.profile-page .lvt-public-left .lvt-skin-card-copy{
  display:none!important;
}
.profile-page .lvt-public-left .lvt-current-skin-badge{
  position:absolute!important;
  z-index:4!important;
  top:2px!important;
  right:2px!important;
  left:auto!important;
  width:5px!important;
  height:5px!important;
  min-width:5px!important;
  min-height:5px!important;
  padding:0!important;
  border:0!important;
  border-radius:50%!important;
  background:#62dbb0!important;
  color:transparent!important;
  font-size:0!important;
  line-height:0!important;
  box-shadow:0 0 4px rgba(98,219,176,.72)!important;
}
@media(max-width:760px){
  .profile-page .lvt-public-left .lvt-skin-grid{
    grid-template-columns:repeat(7,32px)!important;
    gap:4px!important;
  }
}


/* v5.19 exact public texture stack */
.profile-page .lvt-public-left .pn-tablist,
.profile-page .lvt-public-left .lvt-public-history-tabs-hidden{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.profile-page [data-lvt-layout-widget="names"] button,
.profile-page [data-lvt-layout-widget="names"] a{
  display:none!important;
}

.profile-page .lvt-public-left [data-pn-pane="skin"]::before,
.profile-page .lvt-public-left [data-pn-pane="cape"]::before{
  display:none!important;
  content:none!important;
}

.profile-page .lvt-public-left .lvt-skins-head{
  display:block!important;
  margin:0 0 7px!important;
  padding:0!important;
}
.profile-page .lvt-public-left .lvt-skins-head h3{
  margin:0!important;
  color:#cfe4e9!important;
  font-size:9px!important;
  font-weight:900!important;
  line-height:1.3!important;
  text-transform:none!important;
}
.profile-page .lvt-public-left .lvt-skins-head span,
.profile-page .lvt-public-left .lvt-skins-head p,
.profile-page .lvt-public-left .lvt-skins-head small{
  display:none!important;
}

.profile-page .lvt-public-left .lvt-skin-grid{
  display:grid!important;
  grid-template-columns:repeat(8,32px)!important;
  grid-auto-rows:32px!important;
  gap:5px!important;
  justify-content:start!important;
  align-content:start!important;
}
.profile-page .lvt-public-left .lvt-skin-card{
  grid-template-rows:none!important;
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
}
.profile-page .lvt-public-left .lvt-skin-card-preview,
.profile-page .lvt-public-left .lvt-skin-card-preview .mc-face--skin,
.profile-page .lvt-public-left .lvt-skin-card-preview canvas.mc-texture-crop{
  width:32px!important;
  height:32px!important;
  min-width:32px!important;
  min-height:32px!important;
  max-width:32px!important;
  max-height:32px!important;
  margin:0!important;
  padding:0!important;
}
.profile-page .lvt-public-left .lvt-skin-card-copy{
  display:none!important;
}

.profile-page .lvt-public-left [data-pn-pane="skin"],
.profile-page .lvt-public-left [data-pn-pane="cape"]{
  border:0!important;
  padding:8px!important;
}
.profile-page .lvt-public-left [data-pn-pane="skin"]{
  border-bottom:1px solid rgba(108,202,226,.10)!important;
}


/* v5.20 final compact public texture stack */
.profile-page .lvt-public-left [data-lvt-layout-widget="history"]>.pn-tablist,
.profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tablist{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.profile-page .lvt-public-left .lvt-skin-grid{
  grid-template-columns:repeat(auto-fill,40px)!important;
  grid-auto-rows:40px!important;
  gap:5px!important;
  min-height:0!important;
  height:auto!important;
  align-content:start!important;
}
.profile-page .lvt-public-left .lvt-skin-card,
.profile-page .lvt-public-left .lvt-skin-card-preview,
.profile-page .lvt-public-left .lvt-skin-card-preview .mc-face--skin,
.profile-page .lvt-public-left .lvt-skin-card-preview canvas.mc-texture-crop{
  width:40px!important;
  height:40px!important;
  min-width:40px!important;
  min-height:40px!important;
  max-width:40px!important;
  max-height:40px!important;
}
.profile-page .lvt-public-left [data-pn-pane="skin"]{
  min-height:0!important;
  height:auto!important;
}


/* v5.21 remove legacy profile tabs at their actual source */
.profile-page .lvt-public-left [data-lvt-layout-widget="history"] .pn-tabs,
.profile-page .lvt-public-left .pn-tabs,
.profile-page .pn-profile .pn-tabs{
  display:none!important;
  visibility:hidden!important;
  height:0!important;
  min-height:0!important;
  max-height:0!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  overflow:hidden!important;
}
.profile-page .pn-profile [data-pn-tab]{
  display:none!important;
}


/* v5.20 public profile has no texture navigation tabs */
.profile-page [data-lvt-layout-widget="history"] .pn-tablist,
.profile-page [data-lvt-layout-widget="history"] [role="tablist"]{
  display:none!important;
}
.profile-page [data-lvt-layout-widget="history"] button:is(
  [data-tab="cape"],
  [data-tab="skin"],
  [data-tab="names"],
  [data-tab="technical"],
  [data-tab="providers"]
){
  display:none!important;
}


/* v5.20 persistent texture preview selection */
.profile-page .lvt-cape-tile.preview-selected,
.profile-page .lvt-skin-card.preview-selected{
  outline:2px solid #54d7f2!important;
  outline-offset:1px!important;
  border-color:#54d7f2!important;
}
.profile-page .lvt-cape-tile,
.profile-page .lvt-skin-card{
  cursor:pointer!important;
}


/* v5.20 texture interaction reliability */
.profile-page .lvt-cape-tile,
.profile-page .lvt-skin-card{
  cursor:pointer!important;
  pointer-events:auto!important;
}
.profile-page .lvt-cape-tile-art,
.profile-page .lvt-cape-tile-art *,
.profile-page .lvt-skin-card-preview,
.profile-page .lvt-skin-card-preview *{
  pointer-events:none!important;
}
.profile-page .lvt-cape-tile.preview-selected,
.profile-page .lvt-skin-card.preview-selected{
  outline:1px solid rgba(82,214,255,.95)!important;
  outline-offset:1px!important;
}

/* v5.21 cape preview selection: keep cape tiles clean without a persistent outline. */
.profile-page .lvt-cape-tile.preview-selected{
  outline:none!important;
  outline-offset:0!important;
}

/* 2026-10-04 final profile history state overrides. */
.profile-page .lvt-cape-tile.current,
.profile-page .lvt-cape-tile.selected,
.profile-page .lvt-cape-tile.preview-selected{
  outline:none!important;
  outline-offset:0!important;
  box-shadow:none!important;
  border-color:rgba(255,255,255,.06)!important;
}
.profile-page .lvt-cape-tile.current .lvt-cape-tile-art:after{display:none!important}
.profile-page .lvt-cape-history-head small{color:#83aeb9!important}
.profile-page .lvt-cape-history-head b{color:#e4f4f7!important}
.profile-page .lvt-cape-history-head>span{color:#a2c5cd!important}

/* 2026-10-04 mobile stability pass.
   Prevent iOS text autosizing, horizontal overflow and repeated compositing flicker. */
@media(max-width:760px){
  html{width:100%!important;max-width:100%!important;-webkit-text-size-adjust:100%!important;text-size-adjust:100%!important;overflow-x:hidden!important}
  body.profile-page{width:100%!important;max-width:100%!important;overflow-x:hidden!important}
  body.profile-page main,
  body.profile-page .hub-section,
  body.profile-page .hub-section>.shell,
  body.profile-page .profile-preview,
  body.profile-page .profile-network-shell,
  body.profile-page .pn-profile,
  body.profile-page .lvt-profile-header-card,
  body.profile-page .pn-avatar,
  body.profile-page .pn-info,
  body.profile-page .pdv3-main-column,
  body.profile-page .pdv3-side-column,
  body.profile-page .pdv3-lower{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.profile-page .hub-section>.shell{padding-left:10px!important;padding-right:10px!important}
  body.profile-page .profile-network-shell{margin:0!important;border-radius:10px!important}
  body.profile-page .pn-profile{display:grid!important;grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important}
  body.profile-page .lvt-profile-header-card{grid-template-columns:minmax(0,1fr)!important;overflow:hidden!important}
  body.profile-page .lvt-profile-header-main,
  body.profile-page .lvt-profile-header-socials{min-width:0!important;padding:14px!important}
  body.profile-page .lvt-profile-header-name h2{
    max-width:100%!important;
    font-size:30px!important;
    line-height:1.08!important;
    letter-spacing:-.03em!important;
    overflow-wrap:anywhere!important;
  }
  body.profile-page .lvt-profile-header-kicker{
    font-size:9px!important;
    line-height:1.2!important;
    letter-spacing:.12em!important;
    white-space:normal!important;
  }
  body.profile-page .lvt-profile-header-identity{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    display:flex!important;
    flex-wrap:wrap!important;
    gap:9px!important;
    overflow:visible!important;
  }
  body.profile-page .lvt-profile-header-identity>.lvt-role{flex:0 0 auto!important}
  body.profile-page .lvt-profile-header-identity>.lvt-country-chip,
  body.profile-page .lvt-profile-header-identity>.lvt-service-icon-button{
    flex:0 0 36px!important;
    width:36px!important;
    min-width:36px!important;
    max-width:36px!important;
    height:36px!important;
    min-height:36px!important;
  }
  body.profile-page .pn-avatar{grid-column:1!important;border-right:0!important}
  body.profile-page .pn-info{
    grid-column:1!important;
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    gap:12px!important;
    padding:10px!important;
    overflow:hidden!important;
  }
  body.profile-page .pdv3-main-column,
  body.profile-page .pdv3-side-column{grid-column:1!important;width:100%!important;max-width:100%!important}
  body.profile-page .pdv4-about-card,
  body.profile-page .pdv3-facts-card,
  body.profile-page .pdv3-name-card,
  body.profile-page .pn-external-links,
  body.profile-page .lvt-profile-actions,
  body.profile-page .plv2-profile-tools{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    box-sizing:border-box!important;
  }
  body.profile-page .plv2-badge-row{
    display:flex!important;
    flex-direction:row!important;
    flex-wrap:wrap!important;
    gap:10px!important;
  }
  body.profile-page .plv2-badge{
    flex:0 0 44px!important;
    width:44px!important;
    min-width:44px!important;
    height:44px!important;
  }
  body.profile-page .pn-external-links{overflow:hidden!important}
  body.profile-page .pn-external-action{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    justify-content:center!important;
    box-sizing:border-box!important;
  }
  body.profile-page .pdv3-main-column>.lvt-profile-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.profile-page .plv2-profile-tools{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important}
  body.profile-page .plv2-profile-tools .mini-action{min-width:0!important;width:100%!important}
  body.profile-page .pdv3-lower{padding:10px!important;overflow:hidden!important}
  body.profile-page .pn-tabs{max-width:100%!important;overflow-x:auto!important;-webkit-overflow-scrolling:touch!important}
  body.profile-page .pn-pane{max-width:100%!important;overflow:hidden!important}
  body.profile-page .lvt-skin-grid{max-width:100%!important}
  body.profile-page .lvt-cape-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;max-width:100%!important}
  body.profile-page *,
  body.profile-page *::before,
  body.profile-page *::after{
    animation-duration:.001ms!important;
    animation-iteration-count:1!important;
    transition-duration:.001ms!important;
  }
  body.profile-page .lvt-service-icon-button:hover,
  body.profile-page .lvt-service-icon-button:focus-visible,
  body.profile-page .lvt-skin-card:hover,
  body.profile-page .lvt-cape-tile:hover{
    transform:none!important;
  }
}
@media(max-width:430px){
  body.profile-page .lvt-profile-header-name h2{font-size:27px!important}
  body.profile-page .lvt-profile-header-main,
  body.profile-page .lvt-profile-header-socials{padding:12px!important}
  body.profile-page .pdv3-main-column>.lvt-profile-actions{grid-template-columns:1fr 1fr!important}
  body.profile-page .plv2-profile-tools{grid-template-columns:1fr 1fr!important}
  body.profile-page .lvt-cape-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

/* 2026-10-04 final identity/cape/badge/light-theme correction layer. */
.profile-page .lvt-profile-header-identity .lvt-service-icon,
.profile-page .lvt-profile-header-identity .lvt-service-icon svg{
  color:inherit!important;
  opacity:1!important;
}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="discord"] .lvt-service-icon{color:#5865F2!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="youtube"] .lvt-service-icon{color:#FF0000!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="twitch"] .lvt-service-icon{color:#9146FF!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="x"] .lvt-service-icon{color:#E7EEF2!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="bluesky"] .lvt-service-icon{color:#1185FE!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="github"] .lvt-service-icon{color:#E7EEF2!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="instagram"] .lvt-service-icon{color:#E1306C!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="tiktok"] .lvt-service-icon{color:#fff!important}
.profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="website"] .lvt-service-icon{color:#56D4E9!important}

.profile-page .lvt-profile-header-identity .lvt-service-check{
  width:18px!important;
  height:18px!important;
  right:-5px!important;
  bottom:-5px!important;
  border:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.profile-page .lvt-profile-header-identity .lvt-service-check img{
  width:18px!important;
  height:18px!important;
  filter:none!important;
}
.profile-page .lvt-profile-header-identity .lvt-country-chip .lvt-country-flag{
  width:23px!important;
  height:17px!important;
  display:block!important;
  object-fit:cover!important;
  border-radius:2px!important;
}

.profile-page .lvt-cape-tile.current,
.profile-page .lvt-cape-tile.selected,
.profile-page .lvt-cape-tile.preview-selected{
  border-color:rgba(255,255,255,.08)!important;
  outline:0!important;
  box-shadow:none!important;
}
.profile-page .lvt-cape-tile.current .lvt-cape-tile-art,
.profile-page .lvt-cape-tile.selected .lvt-cape-tile-art,
.profile-page .lvt-cape-tile.preview-selected .lvt-cape-tile-art{
  border-color:transparent!important;
  outline:0!important;
  box-shadow:none!important;
}
.profile-page .lvt-cape-tile.current::before,
.profile-page .lvt-cape-tile.current::after,
.profile-page .lvt-cape-tile.selected::before,
.profile-page .lvt-cape-tile.selected::after,
.profile-page .lvt-cape-tile.preview-selected::before,
.profile-page .lvt-cape-tile.preview-selected::after,
.profile-page .lvt-cape-tile.current .lvt-cape-tile-art::before,
.profile-page .lvt-cape-tile.current .lvt-cape-tile-art::after{
  display:none!important;
}

.profile-page .plv2-badge-row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:10px!important;
}
.profile-page .plv2-badge{
  display:block!important;
  width:50px!important;
  min-width:50px!important;
  max-width:50px!important;
  height:50px!important;
  min-height:50px!important;
  padding:0!important;
  margin:0!important;
  overflow:visible!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.profile-page .plv2-badge::before,
.profile-page .plv2-badge::after{display:none!important}
.profile-page .plv2-badge i{
  display:block!important;
  width:50px!important;
  height:50px!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.profile-page .plv2-badge i img{
  display:block!important;
  width:50px!important;
  height:50px!important;
  object-fit:contain!important;
  filter:drop-shadow(0 5px 8px rgba(0,0,0,.24))!important;
}
.profile-page .plv2-badge b{display:none!important}

html[data-theme="light"] .profile-page .pdv3-card-head span,
html[data-theme="light"] .profile-page .plv2-bio-head>span,
html[data-theme="light"] .profile-page .plv2-badges-head span,
html[data-theme="light"] .profile-page .pn-external-label{
  color:#24738a!important;
}
html[data-theme="light"] .profile-page .pdv3-card-head small,
html[data-theme="light"] .profile-page .pdv3-name-row small,
html[data-theme="light"] .profile-page .prl-profile-facts span,
html[data-theme="light"] .profile-page .pn-external-action span,
html[data-theme="light"] .profile-page .mini-action,
html[data-theme="light"] .profile-page .lvt-profile-actions button{
  color:#526a73!important;
}
html[data-theme="light"] .profile-page .pdv3-name-row b,
html[data-theme="light"] .profile-page .prl-profile-facts b,
html[data-theme="light"] .profile-page .prl-profile-facts code,
html[data-theme="light"] .profile-page .plv2-bio p{
  color:#203741!important;
}
html[data-theme="light"] .profile-page .pn-external-action{
  background:#edf3f5!important;
  border-color:#c8d9de!important;
  color:#294954!important;
}
html[data-theme="light"] .profile-page .mini-action,
html[data-theme="light"] .profile-page .lvt-profile-actions button{
  background:#f7fafb!important;
  border-color:#c8d9de!important;
}
html[data-theme="light"] .profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="x"] .lvt-service-icon,
html[data-theme="light"] .profile-page .lvt-profile-header-identity .lvt-service-icon-button[data-service="github"] .lvt-service-icon{
  color:#25343b!important;
}


/* 2026-10-04 prevent unfinished dashboard-grid flash before public columns mount. */
html:not(.lvt-layout-editing) .profile-page.profile-has-player .pdv3-profile .lvt-layout-canvas:not(.lvt-public-columns-mounted){
  visibility:hidden!important;
  opacity:0!important;
  pointer-events:none!important;
  min-height:520px!important;
}
html:not(.lvt-layout-editing) .profile-page.profile-has-player .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  transition:opacity .08s linear!important;
}

/* Keep the finished public two-column layout stable at wide effective viewports,
   including browser zoom-out where CSS viewport pixels increase. */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    grid-template-columns:minmax(300px,360px) minmax(0,1fr)!important;
    grid-auto-flow:row!important;
    grid-auto-rows:auto!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-public-left,
  html:not(.lvt-layout-editing) .profile-page .lvt-public-right{
    align-self:start!important;
    justify-self:stretch!important;
  }
}
@media(max-width:1100px){
  html:not(.lvt-layout-editing) .profile-page.profile-has-player .pdv3-profile .lvt-layout-canvas:not(.lvt-public-columns-mounted){
    min-height:420px!important;
  }
}


/* 2026-10-04 cape texture edge safety: keep the full 40x64 texture visible. */
.profile-page .lvt-public-capes .lvt-cape-grid{
  padding:3px 5px 7px!important;
}
.profile-page .lvt-public-capes .lvt-cape-tile{
  flex:0 0 42px!important;
  width:42px!important;
  height:66px!important;
  min-width:42px!important;
  min-height:66px!important;
  max-width:42px!important;
  max-height:66px!important;
  display:grid!important;
  place-items:center!important;
  overflow:visible!important;
}
.profile-page .lvt-public-capes .lvt-cape-tile-art{
  width:40px!important;
  height:64px!important;
  min-width:40px!important;
  min-height:64px!important;
  max-width:40px!important;
  max-height:64px!important;
  overflow:visible!important;
}
.profile-page .lvt-public-capes .lvt-cape-tile-art .mc-face--cape,
.profile-page .lvt-public-capes .lvt-cape-tile-art canvas.mc-texture-crop{
  width:40px!important;
  height:64px!important;
  min-width:40px!important;
  min-height:64px!important;
  max-width:40px!important;
  max-height:64px!important;
  display:block!important;
  overflow:visible!important;
}


/* 2026-10-04 profile refresh + browser zoom stability.
   Profiles must render immediately on direct load. performance.css uses
   content-visibility:auto on sections, which can defer #preview until scroll. */
body.profile-page #preview{
  content-visibility:visible!important;
  contain-intrinsic-size:auto!important;
}

/* Keep the finished desktop profile composition intact at common zoom levels.
   Browser zoom reduces the effective CSS viewport, so the old 1100px collapse
   made desktop profiles suddenly stack while zooming in. Only collapse once
   the viewport is actually tablet-sized. */
@media (min-width:821px) and (max-width:1100px){
  html:not(.lvt-layout-editing) body.profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    display:grid!important;
    grid-template-columns:minmax(280px,320px) minmax(0,1fr)!important;
    gap:14px!important;
    align-items:start!important;
    padding:14px!important;
  }

  html:not(.lvt-layout-editing) body.profile-page .lvt-public-left,
  html:not(.lvt-layout-editing) body.profile-page .lvt-public-right{
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
  }

  html:not(.lvt-layout-editing) body.profile-page .lvt-public-left>[data-lvt-layout-widget],
  html:not(.lvt-layout-editing) body.profile-page .lvt-public-right>[data-lvt-layout-widget]{
    width:100%!important;
    min-width:0!important;
    max-width:none!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    align-self:stretch!important;
  }

  body.profile-page .lvt-profile-header-card{
    grid-template-columns:minmax(0,1fr) minmax(300px,38%)!important;
    align-items:stretch!important;
  }

  body.profile-page .lvt-profile-header-socials{
    min-width:0!important;
    border-top:0!important;
    border-left:1px solid rgba(108,202,226,.09)!important;
  }

  body.profile-page .pdv4-about-card{
    grid-template-columns:minmax(0,1fr) minmax(210px,.72fr)!important;
  }

  body.profile-page .pdv3-facts-card .prl-profile-facts{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }

  body.profile-page .pdv3-profile .pn-avatar-stage{
    height:310px!important;
    min-height:310px!important;
  }

  body.profile-page .pdv3-profile .pn-avatar-img,
  body.profile-page .pdv3-profile .pc-skin-canvas{
    max-height:296px!important;
  }
}

/* At real tablet/mobile widths use the simple stacked flow. */
@media (max-width:820px){
  html:not(.lvt-layout-editing) body.profile-page .pdv3-profile .lvt-layout-canvas.lvt-public-columns-mounted{
    display:block!important;
  }
  body.profile-page .lvt-profile-header-card{
    grid-template-columns:minmax(0,1fr)!important;
  }
  body.profile-page .lvt-profile-header-socials{
    border-left:0!important;
    border-top:1px solid rgba(108,202,226,.09)!important;
  }
}


/* 2026-10-04 leaderboard rank chips on profile statistics. */
.profile-page .pn-overview-stats .pn-stat{position:relative!important}
.profile-page .pn-stat-rank{
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:28px!important;
  height:18px!important;
  padding:0 6px!important;
  border:1px solid rgba(116,214,236,.18)!important;
  border-radius:5px!important;
  background:rgba(10,35,49,.76)!important;
  color:rgba(219,246,251,.78)!important;
  font:800 7px/1 var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace)!important;
  text-decoration:none!important;
}
.profile-page .pn-stat-rank:hover{
  border-color:rgba(116,214,236,.38)!important;
  color:#f2fdff!important;
  background:rgba(19,58,76,.82)!important;
}


/* 2026-10-04 compact leaderboard rank badges inside Profile Facts. */
.profile-page .prl-profile-facts>div{
  position:relative!important;
}
.profile-page .plv2-fact-rank{
  position:absolute!important;
  top:7px!important;
  right:7px!important;
  display:inline-flex!important;
  align-items:center!important;
  gap:4px!important;
  min-width:34px!important;
  height:18px!important;
  padding:0 6px!important;
  border:1px solid rgba(207,178,68,.28)!important;
  border-radius:5px!important;
  background:rgba(27,30,33,.78)!important;
  color:#d9bf58!important;
  font:850 7px/1 var(--font-mono,ui-monospace,SFMono-Regular,Menlo,monospace)!important;
  text-decoration:none!important;
}
.profile-page .plv2-fact-rank svg{
  width:10px!important;
  height:10px!important;
  fill:none!important;
  stroke:currentColor!important;
  stroke-width:1.8!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.profile-page .plv2-fact-rank:hover{
  border-color:rgba(239,206,81,.48)!important;
  background:rgba(41,43,44,.9)!important;
  color:#f3d96d!important;
}


/* 2026-10-06 NameMC-scale profile typography */
@media(min-width:1101px){
  .profile-page .pdv3-profile{
    font-size:12px!important;
  }
  .profile-page .lvt-profile-header-kicker,
  .profile-page .plv2-bio-head>span,
  .profile-page .plv2-badges-head span,
  .profile-page .pdv3-card-head>span,
  .profile-page .lvt-cape-history-head,
  .profile-page .lvt-skins-head,
  .profile-page [data-lvt-layout-widget="external"] [class*="head"]{
    font-size:10px!important;
    letter-spacing:.08em!important;
  }
  .profile-page .plv2-bio p,
  .profile-page .pdv3-name-row b,
  .profile-page .pn-external-links a,
  .profile-page .lvt-profile-actions button,
  .profile-page .pn-actions button{
    font-size:12px!important;
  }
  .profile-page .pdv3-name-row small,
  .profile-page .pdv3-card-head small,
  .profile-page .pn-external-links small{
    font-size:10px!important;
  }
  .profile-page .prl-profile-facts span{
    font-size:10px!important;
  }
  .profile-page .prl-profile-facts b,
  .profile-page .prl-profile-facts code{
    font-size:11px!important;
  }
  .profile-page .pdv3-facts-card .prl-profile-facts>div{
    min-height:40px!important;
  }
  .profile-page .pdv3-profile button,
  .profile-page .pdv3-profile select,
  .profile-page .pdv3-profile input{
    font-size:10px!important;
  }
  .profile-page .pdv3-profile code{
    font-size:10px!important;
  }
  .profile-page .pdv3-profile small{
    font-size:9px!important;
  }
  .profile-page .lvt-public-left .pn-avatar-tools>*{
    font-size:9px!important;
  }
  .profile-page .lvt-public-left .lvt-cape-history-head small,
  .profile-page .lvt-public-left .lvt-skins-head small,
  .profile-page .lvt-public-left .lvt-skins-head span{
    font-size:9px!important;
  }
}


/* 2026-10-06 restored public layout stabilization */
@media(min-width:1101px){
  html:not(.lvt-layout-editing) .profile-page .pdv3-profile .lvt-layout-canvas{
    display:grid!important;
    grid-template-columns:300px minmax(0,1fr)!important;
    grid-template-rows:none!important;
    grid-auto-rows:auto!important;
    grid-auto-flow:row!important;
    gap:14px!important;
    align-items:start!important;
    min-height:0!important;
    height:auto!important;
    padding:14px!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-public-left{
    grid-column:1!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-public-right{
    grid-column:2!important;
    display:flex!important;
    flex-direction:column!important;
    gap:10px!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-public-left>[data-lvt-layout-widget],
  html:not(.lvt-layout-editing) .profile-page .lvt-public-right>[data-lvt-layout-widget],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget]{
    grid-row:auto!important;
    min-height:0!important;
    height:auto!important;
    margin:0!important;
    align-self:start!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="viewer"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="history"]{
    grid-column:1!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="about"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="facts"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="names"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="external"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="social"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="profileTools"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="account"],
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget="community"]{
    grid-column:2!important;
  }
  html:not(.lvt-layout-editing) .profile-page .lvt-layout-parking{
    display:none!important;
  }
}


/* 2026-10-06 restored widget visibility guard */
html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas,
html:not(.lvt-layout-editing) .profile-page .lvt-public-left,
html:not(.lvt-layout-editing) .profile-page .lvt-public-right{
  position:relative!important;
  inset:auto!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
}
html:not(.lvt-layout-editing) .profile-page .lvt-public-left>[data-lvt-layout-widget],
html:not(.lvt-layout-editing) .profile-page .lvt-public-right>[data-lvt-layout-widget],
html:not(.lvt-layout-editing) .profile-page .lvt-layout-canvas>[data-lvt-layout-widget]:not(.lvt-layout-hidden):not(.lvt-layout-removed){
  position:relative!important;
  inset:auto!important;
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}


/* 2026-10-06 regression fallback: never hide a fully-rendered public profile
   while the public-column enhancer is waiting or recovering. */
html:not(.lvt-layout-editing) body.profile-page.profile-has-player .pdv3-profile .lvt-layout-canvas:not(.lvt-public-columns-mounted){
  visibility:visible!important;
  opacity:1!important;
  pointer-events:auto!important;
  min-height:0!important;
}


/* 2026-10-06 profile utility-row polish.
   Keep button and anchor actions visually identical, especially Leaderboards. */
.profile-page .plv2-profile-tools{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:6px!important;
  align-items:stretch!important;
}
.profile-page .plv2-profile-tools .mini-action{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-width:0!important;
  min-height:31px!important;
  margin:0!important;
  padding:0 10px!important;
  box-sizing:border-box!important;
  border:1px solid rgba(120,216,235,.08)!important;
  border-radius:8px!important;
  background:rgba(255,255,255,.012)!important;
  color:#809aa6!important;
  font:850 13px/1.2 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif!important;
  text-align:center!important;
  text-decoration:none!important;
  white-space:nowrap!important;
}
.profile-page .plv2-profile-tools .mini-action:hover,
.profile-page .plv2-profile-tools .mini-action:focus-visible{
  color:#c6eef4!important;
  border-color:rgba(96,220,244,.17)!important;
  background:rgba(96,220,244,.035)!important;
  outline:none!important;
}
html[data-theme="light"] .profile-page .plv2-profile-tools .mini-action{
  background:#f7fafb!important;
  border-color:#c8d9de!important;
  color:#526a73!important;
}
html[data-theme="light"] .profile-page .plv2-profile-tools .mini-action:hover,
html[data-theme="light"] .profile-page .plv2-profile-tools .mini-action:focus-visible{
  background:#edf5f7!important;
  border-color:#9fc9d3!important;
  color:#234a56!important;
}
@media(max-width:600px){
  .profile-page .plv2-profile-tools{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .profile-page .plv2-profile-tools .mini-action:last-child{
    grid-column:1/-1!important;
  }
}


/* 2026-10-06 polished profile summary stack. */
.profile-page .pdv3-name-card,
.profile-page .pn-external-links,
.profile-page .pdv3-main-column>.lvt-profile-actions,
.profile-page .plv2-profile-tools,
.profile-page .pn-claim{
  border:1px solid rgba(98,205,234,.12)!important;
  background:linear-gradient(180deg,rgba(8,31,42,.95),rgba(5,23,32,.98))!important;
  box-shadow:inset 0 1px rgba(255,255,255,.018),0 10px 24px rgba(0,0,0,.08)!important;
}

/* Name history */
.profile-page .pdv3-name-card{
  padding:0!important;
  overflow:hidden!important;
}
.profile-page .pdv3-name-card .pdv3-card-head{
  min-height:38px!important;
  margin:0!important;
  padding:0 12px!important;
  border-bottom:1px solid rgba(98,205,234,.08)!important;
}
.profile-page .pdv3-name-card .pdv3-card-head span{
  font-size:14px!important;
  letter-spacing:.035em!important;
}
.profile-page .pdv3-name-card .pdv3-card-head small{
  display:inline-flex!important;
  align-items:center!important;
  min-height:22px!important;
  padding:0 7px!important;
  border:1px solid rgba(98,205,234,.10)!important;
  border-radius:999px!important;
  background:rgba(76,187,216,.045)!important;
  color:#87aab5!important;
  font-size:11px!important;
}
.profile-page .pdv3-name-list{
  padding:4px 10px 8px!important;
}
.profile-page .pdv3-name-row{
  min-height:42px!important;
  padding:7px 8px!important;
  border:0!important;
  border-radius:7px!important;
  background:transparent!important;
}
.profile-page .pdv3-name-row:hover{
  background:rgba(75,190,220,.045)!important;
}
.profile-page .pdv3-name-row b{
  color:#edfaff!important;
  font-size:14px!important;
  font-weight:800!important;
}
.profile-page .pdv3-name-row small{
  color:#89a8b3!important;
  font-size:12px!important;
}

/* External profiles */
.profile-page .pn-external-links{
  padding:10px!important;
}
.profile-page .pn-external-label{
  display:block!important;
  margin:0 0 8px!important;
  color:#5fcce6!important;
  font-size:12px!important;
  font-weight:900!important;
  letter-spacing:.045em!important;
}
.profile-page .pn-external-action{
  width:min(300px,100%)!important;
  min-height:34px!important;
  margin:0 auto!important;
  padding:0 12px!important;
  border:1px solid rgba(98,205,234,.14)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(15,53,69,.92),rgba(9,39,53,.96))!important;
  color:#dff7fc!important;
  font-size:13px!important;
  font-weight:850!important;
  box-shadow:inset 0 1px rgba(255,255,255,.02)!important;
}
.profile-page .pn-external-action:hover{
  border-color:rgba(96,221,244,.32)!important;
  background:linear-gradient(180deg,rgba(18,66,85,.98),rgba(10,46,62,.98))!important;
  color:#6eddf2!important;
}

/* Community action row */
.profile-page .pdv3-main-column>.lvt-profile-actions{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:7px!important;
  padding:8px!important;
  border-radius:10px!important;
}
.profile-page .pdv3-main-column>.lvt-profile-actions:before{
  display:none!important;
}
.profile-page .pdv3-main-column>.lvt-profile-actions button{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  min-height:36px!important;
  padding:0 10px!important;
  border:1px solid rgba(98,205,234,.12)!important;
  border-radius:7px!important;
  background:rgba(8,29,39,.82)!important;
  color:#d9edf3!important;
  font-size:12px!important;
  font-weight:800!important;
}
.profile-page .pdv3-main-column>.lvt-profile-actions button:hover{
  border-color:rgba(96,221,244,.30)!important;
  background:rgba(28,91,110,.18)!important;
  color:#effcff!important;
}
.profile-page .lvt-profile-actions .lvt-action-label{
  min-width:0!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  white-space:nowrap!important;
}
.profile-page .lvt-profile-actions .lvt-action-count{
  display:inline-grid!important;
  place-items:center!important;
  min-width:20px!important;
  height:20px!important;
  padding:0 5px!important;
  border-radius:999px!important;
  background:rgba(255,255,255,.045)!important;
  color:#8fafba!important;
  font-size:10px!important;
  line-height:1!important;
}
.profile-page .lvt-profile-actions button[data-lvt-action="like"]:hover,
.profile-page .lvt-profile-actions button[data-lvt-action="like"].active{
  border-color:rgba(71,211,159,.30)!important;
  color:#87e9c0!important;
}
.profile-page .lvt-profile-actions button[data-lvt-action="dislike"]:hover,
.profile-page .lvt-profile-actions button[data-lvt-action="dislike"].active{
  border-color:rgba(239,103,116,.30)!important;
  color:#ff9aa4!important;
}

/* Secondary utility row */
.profile-page .plv2-profile-tools{
  padding:6px!important;
  border-radius:9px!important;
  gap:6px!important;
}
.profile-page .plv2-profile-tools .mini-action{
  min-height:32px!important;
  border-color:rgba(98,205,234,.09)!important;
  background:rgba(7,26,35,.62)!important;
  color:#8daab4!important;
  font-size:12px!important;
}
.profile-page .plv2-profile-tools .mini-action:hover{
  border-color:rgba(98,205,234,.22)!important;
  background:rgba(52,135,158,.10)!important;
  color:#d7f2f8!important;
}

/* Claim/account card */
.profile-page .pn-claim{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto!important;
  gap:14px!important;
  align-items:center!important;
  min-height:76px!important;
  padding:13px 14px!important;
  border-radius:10px!important;
}
.profile-page .pn-claim>div{
  display:grid!important;
  gap:4px!important;
}
.profile-page .pn-claim small{
  color:#5ccce6!important;
  font-size:9px!important;
  font-weight:950!important;
  letter-spacing:.11em!important;
}
.profile-page .pn-claim b{
  color:#effbfe!important;
  font-size:17px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:-.01em!important;
}
.profile-page .pn-claim span{
  max-width:620px!important;
  color:#7898a3!important;
  font-size:11px!important;
  line-height:1.45!important;
}
.profile-page .pn-claim-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 13px!important;
  border:1px solid rgba(74,211,239,.22)!important;
  border-radius:8px!important;
  background:linear-gradient(180deg,rgba(18,73,94,.95),rgba(10,49,66,.98))!important;
  color:#e8fbff!important;
  font-size:11px!important;
  font-weight:900!important;
  text-decoration:none!important;
}
.profile-page .pn-claim-button:hover{
  border-color:rgba(80,224,250,.42)!important;
  background:linear-gradient(180deg,rgba(22,89,113,.98),rgba(12,61,80,.98))!important;
  color:#70e0f5!important;
}
.profile-page .lvt-login-note[data-auth-note]{
  margin:0!important;
  padding:0 2px!important;
  color:#698993!important;
  font-size:9px!important;
  line-height:1.45!important;
}
.profile-page .lvt-login-note[data-auth-note] a{
  color:#64d4ed!important;
  text-decoration:none!important;
}
@media(max-width:760px){
  .profile-page .pdv3-main-column>.lvt-profile-actions{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
  .profile-page .pn-claim{
    grid-template-columns:1fr!important;
  }
  .profile-page .pn-claim-button{
    width:100%!important;
  }
}


/* Claim prompt is a separate card directly above the badges/about card. */
.profile-page .pn-claim{
  margin:0!important;
}
.profile-page .pn-claim.lvt-claim-hidden,
.profile-page .pn-claim[hidden]{
  display:none!important;
}




/* Profile badges link into the badge catalog without changing their visual size. */
.profile-page .plv2-badges-head{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:10px!important;
}
.profile-page .plv2-badges-head>a{
  color:#6ccfe4!important;
  font-size:9px!important;
  font-weight:850!important;
  text-decoration:none!important;
}
.profile-page .plv2-badge{
  text-decoration:none!important;
  cursor:pointer!important;
  transition:transform .16s ease,filter .16s ease!important;
}
.profile-page .plv2-badge:hover{
  transform:translateY(-2px) scale(1.04)!important;
  filter:brightness(1.08)!important;
}


/* Real cape-texture collection badge icons. */
.profile-page .plv2-cape-badge-stack{
  position:relative!important;
  display:block!important;
  width:50px!important;
  height:50px!important;
  overflow:visible!important;
  pointer-events:none!important;
}
.profile-page .plv2-cape-badge-card{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:var(--pc-z)!important;
  transform:translate(calc(-50% + var(--pc-x)), -50%) rotate(var(--pc-r))!important;
  transform-origin:50% 55%!important;
  filter:drop-shadow(0 4px 4px rgba(0,0,0,.38))!important;
}
.profile-page .plv2-cape-badge-crop{
  position:relative!important;
  display:block!important;
  width:18px!important;
  height:29px!important;
  overflow:hidden!important;
  border-radius:1px!important;
  background:#081820!important;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.07)!important;
  image-rendering:pixelated!important;
}
.profile-page .plv2-cape-badge-crop img{
  position:absolute!important;
  left:-10%!important;
  top:-6.25%!important;
  width:640%!important;
  height:200%!important;
  max-width:none!important;
  object-fit:fill!important;
  filter:none!important;
  image-rendering:pixelated!important;
}
.profile-page .plv2-badge:hover .plv2-cape-badge-stack{
  transform:scale(1.05)!important;
}


/* Compact tiered milestone badges used on profile badge rows. */
.profile-page .plv2-metric-badge{
  --pm-accent:#58cbe6;
  --pm-deep:#104152;
  position:relative!important;
  display:block!important;
  width:50px!important;
  height:50px!important;
  overflow:visible!important;
  filter:drop-shadow(0 5px 6px rgba(0,0,0,.28))!important;
  pointer-events:none!important;
}
.profile-page .plv2-metric-badge::before{
  content:"";
  position:absolute;
  inset:3px;
  clip-path:polygon(50% 0,91% 18%,100% 64%,76% 100%,24% 100%,0 64%,9% 18%);
  background:
    radial-gradient(circle at 32% 22%,rgba(255,255,255,.26),transparent 18%),
    linear-gradient(145deg,var(--pm-accent),var(--pm-deep) 65%,#061820);
  box-shadow:inset 0 0 0 1px rgba(255,255,255,.16);
}
.profile-page .plv2-metric-badge>.plv2-metric-core{
  position:absolute!important;
  z-index:2!important;
  left:50%!important;
  top:46%!important;
  display:grid!important;
  place-items:center!important;
  width:26px!important;
  height:26px!important;
  min-width:26px!important;
  min-height:26px!important;
  padding:0!important;
  transform:translate(-50%,-50%)!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:8px!important;
  background:rgba(3,18,25,.48)!important;
  box-shadow:none!important;
}
.profile-page .plv2-metric-badge svg{
  width:18px!important;
  height:18px!important;
  fill:none!important;
  stroke:#f0fcff!important;
  stroke-width:3.4!important;
  stroke-linecap:round!important;
  stroke-linejoin:round!important;
}
.profile-page .plv2-metric-badge svg circle{fill:var(--pm-accent)!important;stroke:none!important}
.profile-page .plv2-metric-badge>.plv2-metric-tier{
  position:absolute!important;
  z-index:3!important;
  left:50%!important;
  bottom:2px!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  min-width:19px!important;
  min-height:0!important;
  padding:1px 4px!important;
  transform:translateX(-50%)!important;
  border:1px solid rgba(255,255,255,.12)!important;
  border-radius:999px!important;
  background:#061820!important;
  color:#eefcff!important;
  box-shadow:none!important;
  font-size:5px!important;
  font-weight:950!important;
  font-style:normal!important;
  letter-spacing:.1em!important;
  line-height:1.35!important;
  text-align:center!important;
}
.profile-page .plv2-metric-skins{--pm-accent:#59d6ee;--pm-deep:#14516b}
.profile-page .plv2-metric-views{--pm-accent:#f1cb61;--pm-deep:#79531f}
.profile-page .plv2-metric-names{--pm-accent:#78dbad;--pm-deep:#245f48}
.profile-page .plv2-tier-2.plv2-metric-skins{--pm-accent:#aab9ff;--pm-deep:#3d488a}
.profile-page .plv2-tier-2.plv2-metric-views{--pm-accent:#ffd975;--pm-deep:#7b5b21}
.profile-page .plv2-tier-2.plv2-metric-names{--pm-accent:#90e8bf;--pm-deep:#2e6e53}
.profile-page .plv2-tier-3.plv2-metric-skins{--pm-accent:#d9a6ff;--pm-deep:#633f89}
.profile-page .plv2-tier-3.plv2-metric-views{--pm-accent:#ffe38d;--pm-deep:#986321}
.profile-page .plv2-tier-3.plv2-metric-names{--pm-accent:#a1ffd0;--pm-deep:#287655}
.profile-page .plv2-badge:hover .plv2-metric-badge{
  transform:scale(1.06)!important;
}


/* Minecraft-style pixel milestone badges on profile rows. */
.profile-page .plv2-minecraft-badge{
  position:relative!important;
  display:block!important;
  width:52px!important;
  height:50px!important;
  overflow:visible!important;
  image-rendering:pixelated!important;
  pointer-events:none!important;
  filter:drop-shadow(0 5px 5px rgba(0,0,0,.3))!important;
}
.profile-page .plv2-pixel-stack{
  position:absolute!important;
  inset:0!important;
  display:block!important;
}
.profile-page .plv2-pixel-item{
  position:absolute!important;
  left:50%!important;
  top:47%!important;
  width:37px!important;
  height:37px!important;
  transform:
    translate(
      calc(-50% + (var(--p-i) - (var(--p-count) - 1)/2) * 7px),
      calc(-50% + (var(--p-count) - 1 - var(--p-i)) * 1px)
    )
    rotate(calc((var(--p-i) - (var(--p-count) - 1)/2) * 5deg))!important;
  transform-origin:50% 55%!important;
  z-index:calc(var(--p-i) + 1)!important;
}
.profile-page .plv2-pixel-item svg{
  display:block!important;
  width:100%!important;
  height:100%!important;
  image-rendering:pixelated!important;
}
.profile-page .plv2-pixel-tier{
  position:absolute!important;
  z-index:8!important;
  left:50%!important;
  bottom:-1px!important;
  display:block!important;
  width:auto!important;
  min-width:20px!important;
  height:auto!important;
  min-height:0!important;
  padding:1px 4px!important;
  transform:translateX(-50%)!important;
  border:1px solid rgba(255,255,255,.11)!important;
  border-radius:5px!important;
  background:#071820!important;
  color:#8fe5f6!important;
  box-shadow:none!important;
  font-size:5px!important;
  font-weight:950!important;
  line-height:1.35!important;
  letter-spacing:.05em!important;
  text-align:center!important;
}
.profile-page .plv2-minecraft-views .plv2-pixel-tier{color:#f0cd6c!important}
.profile-page .plv2-minecraft-names .plv2-pixel-tier{color:#d6bb87!important}
.profile-page .plv2-badge:hover .plv2-minecraft-badge{
  transform:scale(1.06)!important;
}


/* Compact Minecraft-native badge items on profile rows. */
.profile-page .plv2-mc-item,
.profile-page .plv2-mc-head{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:50px!important;
  height:50px!important;
  image-rendering:pixelated!important;
  pointer-events:none!important;
}
.profile-page .plv2-mc-item>span,
.profile-page .plv2-mc-head>span{
  position:relative!important;
  display:grid!important;
  place-items:center!important;
  width:40px!important;
  height:40px!important;
  overflow:hidden!important;
  border:1px solid rgba(111,207,230,.14)!important;
  border-radius:9px!important;
  background:linear-gradient(145deg,#0b2935,#061820)!important;
  box-shadow:0 5px 9px rgba(0,0,0,.24)!important;
}
.profile-page .plv2-mc-item img{
  width:27px!important;
  height:27px!important;
  object-fit:contain!important;
  image-rendering:pixelated!important;
  filter:drop-shadow(0 4px 3px rgba(0,0,0,.3))!important;
}
.profile-page .plv2-mc-item>i{
  position:absolute!important;
  z-index:4!important;
  left:50%!important;
  bottom:-1px!important;
  transform:translateX(-50%)!important;
  min-width:34px!important;
  padding:1px 4px!important;
  border:1px solid rgba(255,255,255,.1)!important;
  border-radius:999px!important;
  background:#061820!important;
  color:#dff7fb!important;
  font-size:4.8px!important;
  font-style:normal!important;
  font-weight:950!important;
  letter-spacing:.04em!important;
  line-height:1.35!important;
  text-align:center!important;
}
.profile-page .plv2-rank-copper>span{border-color:rgba(211,132,80,.46)!important}
.profile-page .plv2-rank-copper>i{color:#e3a071!important}
.profile-page .plv2-rank-iron>span{border-color:rgba(210,222,226,.36)!important}
.profile-page .plv2-rank-iron>i{color:#dce8ea!important}
.profile-page .plv2-rank-gold>span{border-color:rgba(245,202,66,.44)!important}
.profile-page .plv2-rank-gold>i{color:#f2cf62!important}
.profile-page .plv2-rank-diamond>span{border-color:rgba(76,226,214,.5)!important}
.profile-page .plv2-rank-diamond>i{color:#81eee5!important}
.profile-page .plv2-rank-netherite>span{border-color:rgba(143,110,130,.52)!important}
.profile-page .plv2-rank-netherite>i{color:#c8a9bc!important}
.profile-page .plv2-mc-head>span img{
  position:absolute!important;
  left:-100%!important;
  top:-100%!important;
  width:800%!important;
  height:800%!important;
  max-width:none!important;
  object-fit:fill!important;
  image-rendering:pixelated!important;
  filter:none!important;
}
.profile-page .plv2-badge:hover .plv2-mc-item,
.profile-page .plv2-badge:hover .plv2-mc-head{
  transform:translateY(-1px) scale(1.05)!important;
}
