/* 2026-10-26 Plus: six real statistics remain on every tab, centered crowned portrait.
   Only prestige is styled. Classic profiles, verification and moderation unaffected. */

/* Page navigation changes data-profile-view from overview to section. Keep the
   same real stat bar and its visual order above tabs on either side of AJAX. */
body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejabat-profile-social{
 order:1!important;
}
body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejp-premium-dashboard{
 order:2!important;display:block!important;visibility:visible!important;
 width:100%!important;min-width:0!important;
 margin-block:9px 7px!important;
}
body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.archive-member-toolbar[data-profile-tabs]{
 order:3!important;
}
body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejp-premium-dashboard .ejp-premium-stats{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
}
body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejp-premium-stat{
 min-width:0!important;
}
/* A child tab must not reconstruct a totally different identity composition.
   Switch to a symmetrical single column: authentic crown ABOVE the centered
   member portrait; unchanged name, badge, rank, gifts and action controls below. */
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
 display:flex!important;flex-direction:column!important;
 justify-content:flex-start!important;align-items:center!important;
 flex-wrap:nowrap!important;gap:8px!important;
 min-height:0!important;
 padding:65px 15px 17px!important;
 margin-block:6px 9px!important;
 text-align:center!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
 display:block!important;
 position:relative!important;
 order:0!important;
 flex:0 0 auto!important;
 width:clamp(138px,38vw,170px)!important;
 height:clamp(138px,38vw,170px)!important;
 min-width:0!important;min-height:0!important;
 max-width:170px!important;max-height:170px!important;
 margin:4px auto 7px!important;
 align-self:center!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejp-avatar-crest{
 position:absolute!important;
 inset:auto!important;
 top:13px!important;left:50%!important;right:auto!important;
 transform:translateX(-50%)!important;
 z-index:5!important;
 width:51px!important;height:42px!important;
 display:grid!important;place-items:center!important;
 pointer-events:none!important;
 color:var(--ejpr-gold)!important;
 filter:drop-shadow(0 1px 6px #ffdb887d)!important;
}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero>.ejp-avatar-crest :is(svg,.ejg-icon){
 width:39px!important;height:39px!important;
 color:var(--ejpr-gold)!important;
 stroke:currentColor!important;stroke-width:1.6!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-change-avatar-action{
 position:relative!important;order:1!important;
 top:auto!important;right:auto!important;left:auto!important;
 transform:none!important;align-self:center!important;
 margin:1px auto 4px!important;
 width:auto!important;max-width:95%!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-profile-core{
 position:relative!important;
 order:2!important;
 flex:0 1 auto!important;
 width:100%!important;max-width:100%!important;min-width:0!important;
 margin:0 auto!important;
 padding:0 3px!important;
 display:flex!important;flex-direction:column!important;
 align-items:center!important;justify-content:flex-start!important;
 text-align:center!important;gap:7px!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading{
 width:100%!important;
 align-items:center!important;
 justify-content:center!important;
 text-align:center!important;
 margin-inline:auto!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading h1,
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-main-identity{
 justify-content:center!important;
 align-items:center!important;
 text-align:center!important;
 margin-inline:auto!important;
 flex-wrap:wrap!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero :is(.ejabat-username,.ejabat-secondary-name,.ejabat-profile-member-number,.ejabat-member-selected-country,.ejabat-ip-derived-country,.ejp-plus-expiry-private,.ejabat-earned-badges,.ejabat-profile-actions){
 align-self:center!important;
 margin-inline:auto!important;
 text-align:center!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges{
 justify-content:center!important;
 align-items:center!important;
 width:100%!important;max-width:100%!important;
 margin-block:11px 2px!important;
 padding:12px 0 0!important;
 flex-wrap:wrap!important;
 border-top:1px solid color-mix(in srgb,var(--ejpr-gold) 49%,transparent)!important;
}
body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions{
 width:100%!important;max-width:100%!important;
 margin:10px 0 2px!important;
}
@media(max-width:420px){
 body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
  padding:61px 12px 15px!important;
  gap:7px!important;
 }
 body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
  width:clamp(136px,42vw,165px)!important;
  height:clamp(136px,42vw,165px)!important;
  flex-basis:auto!important;
  margin:2px auto 7px!important;
 }
 body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejp-premium-dashboard{
  margin-block:8px 6px!important;
 }
 body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejp-premium-stat{
  min-height:64px!important;
 }
}
@media(max-width:355px){
 body .classic-member-profile.ejp-profile-prestige[data-profile-panel] .ejp-premium-stats{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
 }
 body .classic-member-profile.ejg-profile-controls.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
  width:138px!important;height:138px!important;
 }
}
