/* 26 Oct 2026 -- faithful Plus member profile, additive and reversible.
   All server authorizations/tabs/awards remain in original rendered markup. */
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-main>.ejabat-profile-hero{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:center!important;align-content:center!important;
 gap:9px 13px!important;padding:44px 15px 15px!important;
 min-height:245px!important;margin-bottom:0!important;
 border-radius:17px 17px 0 0!important;
 background:
 radial-gradient(circle at 10% 20%,#ffe9b8 0 1.4px,transparent 2.5px),
 radial-gradient(circle at 88% 27%,#ffe2a4 0 1.3px,transparent 2.3px),
 radial-gradient(circle at 18% 81%,#edd49a 0 1.3px,transparent 2px),
 radial-gradient(ellipse at 14% 32%,#dbb6771c,transparent 52%),
 repeating-linear-gradient(154deg,transparent 0 31px,#ddba6d11 32px,transparent 34px),
 linear-gradient(121deg,var(--ejpr-deep),var(--ejpr-forest),var(--ejpr-deep))!important;
}
body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-portrait{
 order:2!important;flex:0 0 clamp(112px,27%,160px)!important;
 width:clamp(112px,27vw,160px)!important;height:clamp(112px,27vw,160px)!important;
 margin:4px 3px!important;align-self:flex-start!important;
}
body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-profile-core{
 order:1!important;flex:1 1 180px!important;max-width:calc(100% - 132px)!important;
 margin:0!important;min-width:0!important;align-items:stretch!important;text-align:right!important;
}
body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-change-avatar-action{
 order:3!important;position:absolute!important;top:11px!important;right:11px!important;
 left:auto!important;margin:0!important;z-index:8!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-heading{
 align-items:flex-start!important;text-align:right!important;gap:0!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-heading h1,
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-main-identity{
 justify-content:flex-start!important;text-align:right!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-username,
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-secondary-name,
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-member-number{
 align-self:flex-start!important;text-align:right!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-badges{
 display:flex!important;flex-wrap:wrap!important;overflow:visible!important;justify-content:flex-start!important;
 width:100%!important;margin:9px 0!important;padding:8px 0!important;
 background:transparent!important;border:0!important;border-top:1px solid #d3b37c70!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-actions{
 margin-top:8px!important;padding-top:8px!important;min-width:0!important;width:100%!important;
}
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-actions a,
body .ejp-profile-prestige .ejabat-profile-hero .ejabat-profile-actions button{
 min-height:38px!important;
}
body .ejp-profile-prestige .ejp-premium-dashboard{
 margin:0 0 6px!important;border-radius:0 0 17px 17px!important;
 background:linear-gradient(130deg,var(--ejpr-deep),var(--ejpr-forest))!important;
 padding:0 10px 15px!important;border:1px solid var(--ejpr-gold)!important;
 border-top:0!important;box-shadow:0 11px 20px #17281d2e!important;
}
body .ejp-profile-prestige .ejp-premium-stats{
 display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr))!important;
 gap:0!important;border:1px solid #bf9d6d!important;border-radius:11px!important;
 padding:7px 0!important;background:#021f1e90!important;overflow:hidden!important;
}
body .ejp-profile-prestige .ejp-premium-stat{
 min-height:78px!important;gap:3px!important;border:0!important;border-radius:0!important;
 box-shadow:none!important;background:transparent!important;color:#fff9eb!important;
 padding:6px 1px!important;border-inline-start:1px solid #bdaf865f!important;
}
body .ejp-profile-prestige .ejp-premium-stat:last-child{border-inline-start:0!important}
body .ejp-profile-prestige .ejp-premium-stat .ejp-stat-icon,
body .ejp-profile-prestige .ejp-premium-stat strong{color:#f8e2b0!important}
body .ejp-profile-prestige .ejp-premium-stat strong{font-size:clamp(14px,2.5vw,22px)!important}
body .ejp-profile-prestige .ejp-premium-stat span:last-child{color:#fff!important;font-size:10px!important}
body .ejp-profile-prestige .ejp-premium-stat:hover{background:#255445a8!important;transform:none!important}
body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs]{
 background:linear-gradient(125deg,#042c2a,var(--ejpr-forest))!important;
 border:1px solid var(--ejpr-gold)!important;box-shadow:0 5px 12px #062b1a29!important;
 padding:6px!important;gap:3px!important;border-radius:13px!important;
 margin:9px auto 15px!important;
}
body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs]>a{
 flex:1 1 93px!important;min-height:47px!important;background:transparent!important;
 border:0!important;border-radius:9px!important;color:#f6f6ef!important;
 display:flex!important;flex-direction:column!important;gap:1px!important;font-size:11px!important;
}
body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs]>a.active{
 background:#fff8e9!important;color:#1d483d!important;border:0!important;
 box-shadow:0 2px 8px #02120e3d!important;
}
body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs] .ejp-tab-name{
 font-size:11px!important;line-height:1.35!important;
}
body .ejp-profile-prestige .ejp-prestige-overview{
 width:100%;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin:9px 0 14px;
}
body .ejp-profile-prestige .ejp-prestige-overview>article{
 min-width:0;padding:14px;border:1px solid #dcd6c6;border-radius:13px;
 background:linear-gradient(145deg,#fffcf5,#f9f7ef);
 box-shadow:0 3px 11px #253c2512;display:flex;flex-direction:column;gap:8px;
}
body .ejp-profile-prestige .ejp-prestige-overview article header{
 display:flex;justify-content:space-between;align-items:center;gap:7px;flex-wrap:wrap;
 margin:0 0 4px;padding:0;border:0;background:transparent;
}
body .ejp-profile-prestige .ejp-prestige-overview h2{font-size:clamp(12px,2.5vw,17px);font-weight:850;color:#174439;margin:0}
body .ejp-profile-prestige .ejp-prestige-overview p,
body .ejp-profile-prestige .ejp-bio-snippet{font-size:12px;line-height:1.9;color:#34463e;margin:0;overflow-wrap:anywhere}
body .ejp-profile-prestige .ejp-prestige-overview a:not(.ejp-expertise-card){color:#125840;text-decoration:none;font-weight:700}
body .ejp-profile-prestige .ejp-card-more{align-self:flex-start;margin-top:auto;background:#0c4c3d;color:white!important;border-radius:20px;padding:7px 12px;font-size:11px}
body .ejp-profile-prestige .ejp-featured-card{border-color:#d5be84!important;background:linear-gradient(125deg,#fff9e8,#fffdf8)!important}
body .ejp-profile-prestige .ejp-featured-card>p{max-height:83px;overflow:hidden}
body .ejp-profile-prestige .ejp-expertise-preview{grid-column:span 1}
body .ejp-profile-prestige .ejp-expertise-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px}
body .ejp-profile-prestige .ejp-expertise-card{
 min-height:71px;border-radius:9px;padding:8px 5px;
 display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;
 text-decoration:none;color:white!important;text-align:center;
 background:linear-gradient(137deg,#153d39,#0c2829);
}
body .ejp-profile-prestige .ejp-expertise-card:nth-child(3n+2){background:linear-gradient(120deg,#273f60,#142e44)}
body .ejp-profile-prestige .ejp-expertise-card:nth-child(3n+3){background:linear-gradient(130deg,#604835,#332b27)}
body .ejp-profile-prestige .ejp-expertise-card>span{font-size:23px;color:#e9c487}
body .ejp-profile-prestige .ejp-expertise-card b{font-size:11px}
body .ejp-profile-prestige .ejp-expertise-card small{font-size:9px;opacity:.75}
body .ejp-profile-prestige .ejp-achievements-stack{display:grid;gap:6px}
body .ejp-profile-prestige .ejp-achievements-stack>a{display:flex;align-items:center;gap:9px;padding:7px 5px;border-bottom:1px solid #ddd7c7!important;text-decoration:none;color:#253f34!important}
body .ejp-profile-prestige .ejp-achievements-stack>a>span{font-size:27px}
body .ejp-profile-prestige .ejp-achievements-stack b{font-size:11px;display:block}
body .ejp-profile-prestige .ejp-achievements-stack small{font-size:10px;color:#837e69}
body .ejp-profile-prestige.is-overview-view>.ejabat-profile-layout>.ejabat-profile-main>.archive-member-bio,
body .ejp-profile-prestige.is-overview-view>.ejabat-profile-layout>.ejabat-profile-main>.ejabat-classic-empty-bio{
 display:none!important; /* Replaced by same genuine bio in prestige preview; classic remains intact. */
}
body .ejp-profile-prestige .ejabat-heritage-overview-block{margin-top:8px!important}
@media(max-width:600px){
 body .classic-member-profile.ejp-profile-prestige .ejabat-profile-main>.ejabat-profile-hero{
  padding:49px 11px 12px!important;gap:7px!important;justify-content:space-between!important;
 }
 body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-portrait{
  width:clamp(110px,29vw,150px)!important;height:clamp(110px,29vw,150px)!important;flex-basis:clamp(110px,29vw,150px)!important;
 }
 body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-profile-core{
  flex-basis:160px!important;max-width:calc(100% - 130px)!important;
 }
 body .ejp-profile-prestige .ejabat-profile-hero .ejabat-canonical-name{font-size:clamp(20px,5vw,27px)!important}
 body .ejp-profile-prestige .ejp-premium-dashboard{padding:0 5px 9px!important}
 body .ejp-profile-prestige .ejp-premium-stat{min-height:65px!important}
 body .ejp-profile-prestige .ejp-premium-stat .ejp-stat-icon svg{width:15px!important;height:15px!important}
 body .ejp-profile-prestige .ejp-premium-stat span:last-child{font-size:9px!important}
 body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs]>a{flex:1 1 80px!important;padding:6px 4px!important}
 body .ejp-profile-prestige .ejp-prestige-overview{gap:8px}
 body .ejp-profile-prestige .ejp-prestige-overview>article{padding:10px}
}
@media(max-width:360px){
 body .ejp-profile-prestige .ejp-prestige-overview{grid-template-columns:1fr}
 body .ejp-profile-prestige .ejp-premium-stats{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body .ejp-profile-prestige .ejp-premium-stat:nth-child(3){border-inline-start:0!important}
 body .ejp-profile-prestige .ejabat-profile-hero>.ejabat-portrait{flex-basis:95px!important;width:95px!important;height:95px!important}
}
@media(prefers-reduced-motion:reduce){
 body .ejp-profile-prestige :is(.ejp-premium-stat,.ejp-expertise-card){transition:none!important}
}
/* Higher specificity than legacy profile-regal selectors: genuine two-column identity */
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-main>.ejabat-profile-hero{
 display:flex!important;flex-direction:row!important;flex-wrap:wrap!important;
 align-items:flex-start!important;justify-content:space-between!important;gap:5px!important;
 padding:47px 12px 18px!important;min-height:230px!important;
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-profile-core{
 flex:1 1 calc(100% - 150px)!important;width:calc(100% - 150px)!important;
 min-width:0!important;max-width:calc(100% - 135px)!important;
 align-self:flex-start!important;order:1!important;align-items:stretch!important;text-align:right!important;
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
 flex:0 0 128px!important;width:128px!important;height:128px!important;min-height:128px!important;
 max-width:128px!important;max-height:128px!important;
 margin:8px 0 2px!important;order:2!important;align-self:flex-start!important;
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading{
 align-items:flex-start!important;justify-content:flex-start!important;text-align:right!important;
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-heading h1{
 justify-content:flex-start!important;text-align:right!important;gap:3px!important;
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-earned-badges{
 max-width:100%!important;flex-wrap:wrap!important;overflow:visible!important;
}
@media(max-width:440px){
 body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{
  flex-basis:110px!important;width:110px!important;height:110px!important;min-height:110px!important;
  max-width:110px!important;max-height:110px!important;
 }
 body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-profile-core{
  flex-basis:calc(100% - 123px)!important;width:calc(100% - 123px)!important;max-width:calc(100% - 123px)!important;
 }
}
@media(max-width:360px){
 body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-portrait{flex-basis:93px!important;width:93px!important;height:93px!important;min-height:93px!important;max-width:93px!important;max-height:93px!important}
 body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero>.ejabat-profile-core{flex-basis:calc(100% - 105px)!important;width:calc(100% - 105px)!important;max-width:calc(100% - 105px)!important}
}
/* Canonical profile uses flex orders: toolbar 2, existing content 4 onward. */
body .classic-member-profile.ejp-profile-prestige .ejp-prestige-overview{order:3!important}
body .classic-member-profile.ejp-profile-prestige .ejp-premium-dashboard{order:1!important}
body .classic-member-profile.ejp-profile-prestige .archive-member-toolbar[data-profile-tabs]{order:2!important}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-classic-profile-action{
 background:linear-gradient(135deg,#0c533f,#063528)!important;border:1px solid #c8a36a!important;color:#fff9e9!important
}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-classic-profile-action:hover{background:#1c684f!important}

/* Earned badges: premium frame without recolouring verified trust marks */
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-badge,
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-badges-more{
 background:linear-gradient(125deg,#103b32,#082a26)!important;border:1px solid #b89762!important;
 color:#f6dca7!important;border-radius:10px!important;box-shadow:0 1px 5px #0003!important;
}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-badge>span{
 color:#f6dca7!important;font-size:17px!important;
}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-level{
 background:linear-gradient(125deg,#dec28d,#f7e6b6)!important;border:1px solid #e2c78b!important;
 color:#523b1f!important;border-radius:9px!important;font-weight:850!important;
}
/* iOS/desktop-safe Lucide award glyphs replace missing rare Unicode symbols in premium only. */
.ejp-badge-vector,.ejp-badge-label{display:none!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-original{display:none!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-vector,
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-label{display:inline-flex!important;align-items:center!important;gap:3px!important;color:#f5dda7!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-vector svg,
body .classic-member-profile.ejp-profile-prestige .ejp-award-vector svg{width:16px!important;height:16px!important;color:#e4bc78!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-label{font-size:10px!important;font-weight:800!important;max-width:118px!important;white-space:normal!important;text-align:center!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-badge{display:inline-flex!important;gap:4px!important;align-items:center!important;width:auto!important;min-width:0!important;max-width:150px!important;min-height:30px!important;padding:4px 7px!important}
body .classic-member-profile.ejp-profile-prestige .ejp-award-vector{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;border:1px solid #bf9f6a;border-radius:50%;background:#ecdfc3}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions .ejabat-classic-profile-action{background:linear-gradient(130deg,#165c47,#05392e)!important;border-color:#cba76e!important;color:#fffbed!important}
body .classic-member-profile.ejg-profile-shell.ejp-profile-regal.ejp-profile-prestige[data-profile-panel] .ejabat-profile-hero .ejabat-profile-actions .ejabat-classic-profile-action:hover{background:#257453!important}
/* Keep short badge symbols in the header; full names remain visible in Achievements. */
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-label{display:none!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejp-badge-vector{display:inline-grid!important;place-items:center!important;min-width:20px!important;min-height:20px!important}
body .classic-member-profile.ejp-profile-prestige .ejabat-profile-hero .ejabat-earned-badge{flex:0 0 31px!important;width:31px!important;height:31px!important;min-width:31px!important;max-width:31px!important;padding:5px!important;justify-content:center!important;overflow:hidden!important}
/* Ejaaba bundled CSS loads after profile styles: ID-strength scope is needed here. */
body .classic-member-profile.ejp-profile-prestige:not(#ejp-never-match) .ejabat-profile-hero .ejabat-profile-actions a.ejabat-classic-profile-action,
body .classic-member-profile.ejp-profile-prestige:not(#ejp-never-match) .ejabat-profile-hero .ejabat-profile-actions button.ejabat-classic-profile-action{
 background:#0d5742!important;background-image:linear-gradient(130deg,#1a6952,#064131)!important;border:1px solid #cba76e!important;color:#fffbed!important
}
