/* Coast Graph public person profile v0.49.0
   Social hierarchy inspired by mature social products; visual language remains Coast Graph.
*/
body.emcg-profile-route{background:#fff!important}
body.emcg-profile-route .emcg-profile-v11{
  --ink:#000C32;
  --blue:#0064F9;
  --amber:#FFB300;
  --pink:#ED0F81;
  --muted:#68758A;
  --line:rgba(0,12,50,.13);
  --soft:#F7FAFE;
  width:min(1280px,calc(100% - 42px))!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:16px 0 72px!important;
  color:var(--ink)!important;
}
.emcg-profile-v11 *{box-sizing:border-box}
.emcg-profile-v11>.emcg-product-nav{margin-bottom:20px!important}

/* Admin preview stays useful without becoming half the page. */
.emcg-p11-simulator{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  min-height:44px;
  margin:0 0 16px;
  padding:7px 0;
  border-top:2px solid var(--blue);
  border-bottom:1px dashed rgba(0,100,249,.24);
}
.emcg-p11-simulator>span{display:flex;align-items:baseline;gap:9px;min-width:0}
.emcg-p11-simulator>span b{color:var(--ink);font-size:9px;font-weight:950}
.emcg-p11-simulator>span small{color:var(--muted);font-size:7px}
.emcg-p11-simulator>div{display:flex;align-items:center;gap:6px}
.emcg-p11-simulator button{
  min-height:29px;
  padding:0 10px;
  border:1px solid rgba(0,12,50,.15);
  border-radius:999px;
  background:#fff;
  color:var(--ink);
  font-size:7px;
  font-weight:950;
  cursor:pointer;
}
.emcg-p11-simulator button.is-active{border-color:var(--blue);background:var(--blue);color:#fff}

/* =========================================================
   IDENTITY
   Portrait is finally a primary object rather than a badge.
   Mobile and desktop share the same hierarchy.
   ========================================================= */
.emcg-p11-profile{
  display:grid;
  grid-template-columns:180px minmax(0,1fr);
  grid-template-areas:
    "portrait identity"
    "portrait stats"
    "portrait bio"
    "portrait utility";
  column-gap:34px;
  align-items:start;
  padding:29px 0 25px;
  border-top:4px solid var(--blue);
  border-bottom:1px solid var(--line);
}
.emcg-p11-portrait{
  grid-area:portrait;
  position:relative;
  width:180px;
  height:180px;
  align-self:start;
}
.emcg-p11-portrait img,
.emcg-p11-portrait>span{
  display:grid;
  place-items:center;
  width:180px;
  height:180px;
  border:2px solid var(--ink);
  border-radius:50%;
  object-fit:cover;
  background:var(--blue);
  color:#fff;
  font:800 48px/1 Georgia,serif;
}
.emcg-p11-portrait:after{
  content:"";
  position:absolute;
  inset:-7px;
  border:1px solid rgba(0,100,249,.22);
  border-radius:50%;
  pointer-events:none;
}
.emcg-p11-portrait i{
  position:absolute;
  right:8px;
  bottom:12px;
  z-index:2;
  width:19px;
  height:19px;
  border:4px solid #fff;
  border-radius:50%;
  background:var(--pink);
}

.emcg-p11-identity{grid-area:identity;min-width:0}
.emcg-p11-identity h1{
  max-width:14ch;
  margin:0!important;
  color:var(--ink)!important;
  font:800 clamp(58px,5.8vw,76px)/.88 Georgia,serif!important;
  letter-spacing:-.058em!important;
  text-wrap:balance;
}
.emcg-p11-identity h1.is-long{
  max-width:17ch;
  font-size:clamp(49px,4.9vw,64px)!important;
  line-height:.92!important;
}
.emcg-p11-identity h1.is-very-long{
  max-width:20ch;
  font-size:clamp(41px,4vw,54px)!important;
  line-height:.96!important;
  letter-spacing:-.045em!important;
}

.emcg-p11-credential{
  display:grid;
  justify-items:start;
  gap:6px;
  margin-top:13px;
}
.emcg-p11-credential strong{
  display:inline-flex;
  align-items:center;
  min-height:27px;
  padding:0 10px;
  border-radius:999px;
  background:var(--amber);
  color:var(--ink);
  font-size:7px;
  font-weight:950;
  letter-spacing:.045em;
  text-transform:uppercase;
}
.emcg-p11-credential span{
  position:relative;
  padding-left:13px;
  color:var(--muted);
  font-size:10px;
  font-weight:850;
}
.emcg-p11-credential span:before{
  content:"";
  position:absolute;
  left:0;
  top:50%;
  width:5px;
  height:5px;
  margin-top:-2.5px;
  border-radius:50%;
  background:var(--blue);
}

/* Stats belong to the identity, not a separate dashboard strip. */
.emcg-p11-stats{
  grid-area:stats;
  display:flex;
  align-items:flex-start;
  gap:clamp(29px,4vw,58px);
  margin-top:19px;
}
.emcg-p11-stats>span,.emcg-p11-stats>button{display:block;min-width:64px}
.emcg-p11-stats strong{
  display:block;
  color:var(--ink);
  font:800 27px/.95 Georgia,serif;
  letter-spacing:-.035em;
}
.emcg-p11-stats b{
  display:block;
  margin-top:5px;
  color:var(--muted);
  font-size:6.8px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.emcg-p11-bio{
  grid-area:bio;
  max-width:790px;
  margin:17px 0 0!important;
  color:#40506A!important;
  font-size:14px!important;
  line-height:1.58!important;
  font-weight:620!important;
}

.emcg-p11-utility{
  grid-area:utility;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  max-width:790px;
  margin-top:12px;
}
.emcg-p11-links,
.emcg-p11-owner-actions{display:flex;align-items:center;gap:13px}
.emcg-p11-icon-link{
  display:grid!important;
  place-items:center!important;
  width:30px;
  height:30px;
  color:var(--ink)!important;
  text-decoration:none!important;
}
.emcg-p11-icon-link svg{
  width:20px;
  height:20px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.emcg-p11-icon-link:hover{color:var(--blue)!important}

.emcg-p11-owner-actions>a{
  position:relative;
  color:var(--ink)!important;
  text-decoration:none!important;
  font-size:8.5px;
  font-weight:950;
  white-space:nowrap;
}
.emcg-p11-owner-actions>a+a:before{
  content:"";
  display:inline-block;
  width:4px;
  height:4px;
  margin:0 13px 2px 0;
  border-radius:50%;
  background:var(--amber);
}
.emcg-p11-owner-actions>a:after{
  content:"";
  position:absolute;
  left:0;
  right:100%;
  bottom:-4px;
  height:2px;
  background:var(--blue);
  transition:right .16s ease;
}
.emcg-p11-owner-actions>a:hover:after{right:0}
.emcg-p11-owner-actions .emcg-follow-button{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  min-height:36px!important;
  padding:0 14px!important;
  border:1px solid var(--blue)!important;
  border-radius:999px!important;
  background:var(--blue)!important;
  color:#fff!important;
  font-size:8px!important;
  font-weight:950!important;
  box-shadow:none!important;
}

/* =========================================================
   MOMENTS / ARTICLES
   A content switch, not a WordPress menu.
   ========================================================= */
.emcg-p11-tabs{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:38px;
  min-height:65px;
  border-bottom:1px solid var(--line);
}
.emcg-p11-tabs button{
  position:relative;
  min-height:64px;
  padding:2px 2px 0;
  border:0;
  background:transparent;
  color:#7C8799;
  font-size:10px;
  font-weight:950;
  cursor:pointer;
}
.emcg-p11-tabs button b{
  margin-left:5px;
  color:var(--blue);
  font-size:8px;
}
.emcg-p11-tabs button:after{
  content:"";
  position:absolute;
  left:50%;
  right:50%;
  bottom:-1px;
  height:3px;
  background:var(--blue);
  transition:left .18s ease,right .18s ease;
}
.emcg-p11-tabs button.is-active{color:var(--ink)}
.emcg-p11-tabs button.is-active:after{left:0;right:0}

.emcg-p11-content{padding-top:5px}
.emcg-p11-view[hidden]{display:none!important}

/* =========================================================
   MOMENT WALL
   6 / 5 / 4 / 3 columns. Controlled masonry-like rhythm.
   No permanent text beneath tiles.
   ========================================================= */
.emcg-p11-moment-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  grid-auto-flow:dense;
  grid-auto-rows:62px;
  gap:6px;
  padding-top:10px;
}
.emcg-p11-moment-card{
  min-width:0;
  grid-row:span 3;
}
.emcg-p11-moment-card.is-tall{grid-row:span 4}
.emcg-p11-moment-card.is-short{grid-row:span 2}
.emcg-p11-moment-card[hidden]{display:none!important}

.emcg-p11-moment-image{
  position:relative;
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  border-radius:7px;
  background:var(--blue);
}
.emcg-p11-moment-image>img{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
  transition:transform .24s ease;
}
.emcg-p11-moment-image>span:not(.emcg-p11-moment-overlay){
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#fff;
  font:800 31px/1 Georgia,serif;
}
.emcg-p11-moment-card:hover .emcg-p11-moment-image>img{transform:scale(1.025)}

.emcg-p11-moment-overlay{
  position:absolute;
  inset:0;
  display:flex!important;
  align-items:flex-end!important;
  justify-content:center!important;
  gap:15px!important;
  padding:13px!important;
  background:linear-gradient(to bottom,transparent 52%,rgba(0,12,50,.79));
  color:#fff!important;
  opacity:0;
  transition:opacity .18s ease;
}
.emcg-p11-moment-card:hover .emcg-p11-moment-overlay,
.emcg-p11-moment-card:focus-within .emcg-p11-moment-overlay{opacity:1}
.emcg-p11-moment-overlay i{
  display:inline-flex;
  align-items:center;
  gap:4px;
  color:#fff;
  font-size:8px;
  font-style:normal;
  font-weight:900;
}
.emcg-p11-moment-overlay svg{
  width:15px;
  height:15px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linejoin:round;
}
.emcg-p11-moment-overlay i.is-saved svg{fill:var(--amber);stroke:var(--amber)}

/* More is deliberately a text control, not another pill. */
.emcg-p11-more{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  min-height:38px;
  margin:24px auto 0;
  padding:0;
  border:0;
  border-bottom:2px solid var(--blue);
  background:transparent;
  color:var(--ink);
  font-size:8px;
  font-weight:950;
  cursor:pointer;
}
.emcg-p11-more[hidden]{display:none!important}
.emcg-p11-more b{color:var(--muted);font-size:7px;font-weight:850}

/* =========================================================
   ARTICLES
   Editorial index without boxed catalogue cards.
   ========================================================= */
.emcg-p11-article-index{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:0 26px;
  padding-top:10px;
  border-top:3px solid var(--amber);
}
.emcg-p11-article[hidden]{display:none!important}
.emcg-p11-article{
  position:relative;
  display:grid;
  grid-template-columns:24px 86px minmax(0,1fr) 20px;
  gap:9px;
  align-items:center;
  min-height:112px;
  padding:13px 0;
  border-bottom:1px solid var(--line);
}
.emcg-p11-article.is-text{grid-template-columns:24px minmax(0,1fr) 20px}
.emcg-p11-article.is-lead{min-height:130px;border-top:2px solid var(--blue)}
.emcg-p11-article-number{
  align-self:start;
  padding-top:2px;
  color:var(--amber);
  font:800 13px/1 Georgia,serif;
}
.emcg-p11-article-image{
  display:block;
  width:86px;
  height:72px;
  overflow:hidden;
  border-radius:3px;
  background:var(--blue);
}
.emcg-p11-article.is-lead .emcg-p11-article-image{width:94px;height:82px}
.emcg-p11-article-image img{display:block;width:100%;height:100%;object-fit:cover}
.emcg-p11-article-image>span{
  display:grid;
  place-items:center;
  width:100%;
  height:100%;
  color:#fff;
  font:800 20px/1 Georgia,serif;
}
.emcg-p11-article-copy{min-width:0}
.emcg-p11-article-copy small{
  display:block;
  color:var(--blue);
  font-size:6.3px;
  font-weight:950;
  letter-spacing:.04em;
  text-transform:uppercase;
}
.emcg-p11-article-copy h3{
  margin:5px 0 0!important;
  color:var(--ink)!important;
  font:800 17px/1.03 Georgia,serif!important;
  letter-spacing:-.024em!important;
}
.emcg-p11-article.is-text h3{font-size:21px!important;line-height:1!important}
.emcg-p11-article.is-lead h3{font-size:19px!important}
.emcg-p11-article-copy h3 a{color:inherit!important;text-decoration:none!important}
.emcg-p11-article-copy p{
  margin:6px 0 0!important;
  color:#647187!important;
  font-size:8px!important;
  line-height:1.4!important;
}
.emcg-p11-article-open{
  display:grid;
  place-items:center;
  width:20px;
  height:20px;
  color:var(--blue)!important;
  text-decoration:none!important;
  font-size:12px;
  font-weight:950;
}
.emcg-p11-article:hover h3{color:var(--blue)!important}

/* subordinate relationships */
.emcg-p11-secondary{margin-top:36px;padding-top:24px;border-top:1px solid var(--line)}
.emcg-p11-secondary header{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:12px}
.emcg-p11-secondary h2{margin:0!important;color:var(--ink)!important;font:800 27px/1 Georgia,serif!important}
.emcg-p11-secondary header p{max-width:360px;margin:0!important;color:var(--muted)!important;font-size:8px!important;text-align:right!important}
.emcg-p11-secondary-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px;border-top:2px solid var(--blue)}
.emcg-p11-secondary-list>a{
  display:grid;
  grid-template-columns:52px minmax(0,1fr) 20px;
  gap:10px;
  align-items:center;
  min-height:70px;
  padding:9px 0;
  border-bottom:1px solid var(--line);
  color:var(--ink)!important;
  text-decoration:none!important;
}
.emcg-p11-secondary-list>a>span{width:52px;height:46px;overflow:hidden;background:var(--blue)}
.emcg-p11-secondary-list img{width:100%;height:100%;object-fit:cover}
.emcg-p11-secondary-list span>b{display:grid;place-items:center;width:100%;height:100%;color:#fff;font:800 16px/1 Georgia,serif}
.emcg-p11-secondary-list strong{font:800 16px/1.04 Georgia,serif}
.emcg-p11-secondary-list i{color:var(--blue);font-style:normal;font-weight:950}

.emcg-profile-v11 :is(a,button):focus-visible{outline:3px solid var(--amber)!important;outline-offset:3px!important}

/* normal desktop */
@media(max-width:1180px){
  .emcg-p11-profile{
    grid-template-columns:160px minmax(0,1fr);
    column-gap:29px;
  }
  .emcg-p11-portrait,
  .emcg-p11-portrait img,
  .emcg-p11-portrait>span{width:160px;height:160px}
  .emcg-p11-moment-grid{
    grid-template-columns:repeat(5,minmax(0,1fr));
    grid-auto-rows:60px;
  }
}

/* tablet */
@media(max-width:900px){
  body.emcg-profile-route .emcg-profile-v11{width:min(100% - 28px,900px)!important}
  .emcg-p11-profile{
    grid-template-columns:142px minmax(0,1fr);
    column-gap:25px;
  }
  .emcg-p11-portrait,
  .emcg-p11-portrait img,
  .emcg-p11-portrait>span{width:142px;height:142px}
  .emcg-p11-identity h1{font-size:54px!important}
  .emcg-p11-identity h1.is-long{font-size:47px!important}
  .emcg-p11-identity h1.is-very-long{font-size:40px!important}
  .emcg-p11-stats{gap:26px}
  .emcg-p11-bio{font-size:13px!important}
  .emcg-p11-moment-grid{
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-auto-rows:58px;
  }
  .emcg-p11-article-index{grid-template-columns:repeat(2,minmax(0,1fr))}
  .emcg-p11-secondary-list{grid-template-columns:1fr}
}

/* mobile — reference hierarchy */
@media(max-width:600px){
  body.emcg-profile-route .emcg-profile-v11{
    width:min(100% - 16px,580px)!important;
    padding:8px 0 50px!important;
  }
  .emcg-profile-v11>.emcg-product-nav{margin-bottom:14px!important}

  .emcg-p11-simulator{
    min-height:38px;
    margin-bottom:10px;
    gap:8px;
    overflow:hidden;
  }
  .emcg-p11-simulator>span{flex:0 0 auto}
  .emcg-p11-simulator>span small{display:none}
  .emcg-p11-simulator>div{
    min-width:0;
    overflow-x:auto;
    scrollbar-width:none;
  }
  .emcg-p11-simulator>div::-webkit-scrollbar{display:none}
  .emcg-p11-simulator button{flex:0 0 auto;min-height:27px;padding:0 9px;font-size:6.4px}

  .emcg-p11-profile{
    grid-template-columns:120px minmax(0,1fr);
    grid-template-areas:
      "portrait identity"
      "stats stats"
      "bio bio"
      "utility utility";
    column-gap:14px;
    padding:19px 0 14px;
    border-top-width:3px;
  }
  .emcg-p11-portrait,
  .emcg-p11-portrait img,
  .emcg-p11-portrait>span{width:120px;height:120px}
  .emcg-p11-portrait:after{inset:-5px}
  .emcg-p11-portrait i{right:4px;bottom:8px;width:15px;height:15px;border-width:3px}

  .emcg-p11-identity{align-self:center}
  .emcg-p11-identity h1{
    max-width:10ch;
    font-size:45px!important;
    line-height:.9!important;
  }
  .emcg-p11-identity h1.is-long{
    max-width:11ch;
    font-size:36px!important;
    line-height:.94!important;
  }
  .emcg-p11-identity h1.is-very-long{
    max-width:12ch;
    font-size:30px!important;
    line-height:.98!important;
  }
  .emcg-p11-credential{gap:5px;margin-top:8px}
  .emcg-p11-credential strong{
    min-height:23px;
    max-width:185px;
    height:auto;
    padding:5px 7px;
    font-size:6.1px;
    line-height:1.1;
    white-space:normal;
  }
  .emcg-p11-credential span{font-size:8.5px}

  .emcg-p11-stats{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:6px;
    margin-top:17px;
    padding:12px 16px 0;
    box-sizing:border-box;
    border-top:1px solid var(--line);
  }
  .emcg-p11-stats>span{min-width:0}
  .emcg-p11-stats strong{font-size:22px}
  .emcg-p11-stats b{margin-top:4px;font-size:5.8px;letter-spacing:.035em}

  .emcg-p11-bio{
    max-width:none;
    margin:13px 0 0!important;
    font-size:12.5px!important;
    line-height:1.52!important;
  }
  .emcg-p11-utility{
    max-width:none;
    margin-top:9px;
  }
  .emcg-p11-icon-link{width:29px;height:29px}
  .emcg-p11-icon-link svg{width:19px;height:19px}
  .emcg-p11-owner-actions{gap:11px}
  .emcg-p11-owner-actions>a{font-size:8px}
  .emcg-p11-owner-actions>a+a:before{margin-right:11px}

  .emcg-p11-tabs{
    gap:30px;
    min-height:54px;
  }
  .emcg-p11-tabs button{
    min-height:53px;
    font-size:9px;
  }

  .emcg-p11-moment-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    grid-auto-rows:48px;
    gap:4px;
    padding-top:5px;
  }
  .emcg-p11-moment-image{border-radius:5px}
  .emcg-p11-moment-overlay{display:none!important}

  .emcg-p11-article-index{
    grid-template-columns:1fr;
    gap:0;
    border-top-width:2px;
  }
  .emcg-p11-article,
  .emcg-p11-article.is-lead,
  .emcg-p11-article.is-text{
    grid-template-columns:20px 88px minmax(0,1fr) 20px;
    min-height:96px;
    padding:10px 0;
  }
  .emcg-p11-article.is-text{grid-template-columns:20px minmax(0,1fr) 20px}
  .emcg-p11-article-image,
  .emcg-p11-article.is-lead .emcg-p11-article-image{width:88px;height:68px}
  .emcg-p11-article-copy h3,
  .emcg-p11-article.is-lead h3,
  .emcg-p11-article.is-text h3{font-size:16px!important;line-height:1.03!important}
  .emcg-p11-article-copy p{display:none!important}

  .emcg-p11-secondary{margin-top:28px}
  .emcg-p11-secondary header{align-items:flex-start;flex-direction:column;gap:4px}
  .emcg-p11-secondary header p{text-align:left!important}
}

@media(max-width:390px){
  .emcg-p11-profile{grid-template-columns:112px minmax(0,1fr);column-gap:12px}
  .emcg-p11-portrait,
  .emcg-p11-portrait img,
  .emcg-p11-portrait>span{width:112px;height:112px}
  .emcg-p11-identity h1{font-size:41px!important}
  .emcg-p11-identity h1.is-long{font-size:34px!important}
  .emcg-p11-identity h1.is-very-long{font-size:29px!important}
}


/* v0.48 social functionality */
.emcg-p11-profile{position:relative}
.emcg-p11-credential>a{position:relative;padding-left:13px;color:var(--muted)!important;font-size:10px;font-weight:850;text-decoration:none!important}
.emcg-p11-credential>a:before{content:"";position:absolute;left:0;top:50%;width:5px;height:5px;margin-top:-2.5px;border-radius:50%;background:var(--blue)}
.emcg-p11-credential>a:hover{color:var(--blue)!important}
.emcg-p11-stats>button{padding:0;border:0;background:transparent;text-align:left;cursor:pointer;color:inherit}
.emcg-p11-stats>button:hover strong{color:var(--blue)}
.emcg-p11-stats>button:focus-visible{outline:2px solid var(--amber);outline-offset:4px}

.emcg-p12-more{position:absolute;right:0;top:23px;z-index:18}
.emcg-p12-more-toggle{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;background:transparent;color:var(--ink);font-size:21px;letter-spacing:2px;font-weight:900;cursor:pointer}
.emcg-p12-more-menu{position:absolute;right:0;top:37px;width:174px;padding:6px;background:#fff;border:1px solid rgba(0,12,50,.14);border-radius:10px;box-shadow:0 16px 38px rgba(0,12,50,.14)}
.emcg-p12-more-menu[hidden]{display:none!important}
.emcg-p12-more-menu button{display:block;width:100%;padding:10px 9px;border:0;border-radius:6px;background:transparent;color:var(--ink);text-align:left;font-size:9px;font-weight:850;cursor:pointer}
.emcg-p12-more-menu button:hover{background:#F5F8FD}
.emcg-p12-more-menu button.is-danger{color:#B3123F}

.emcg-p12-media-mark{position:absolute;right:8px;top:8px;z-index:4;display:grid!important;place-items:center!important;width:23px!important;height:23px!important;border-radius:50%!important;background:rgba(0,12,50,.72)!important;color:#fff!important;backdrop-filter:blur(5px)}
.emcg-p12-media-mark svg{width:13px;height:13px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

.emcg-p12-empty-content{min-height:230px;display:flex;flex-direction:column;justify-content:center;align-items:flex-start;max-width:520px;padding:34px 0}
.emcg-p12-empty-content>span{color:var(--blue);font-size:7px;font-weight:950;letter-spacing:.08em;text-transform:uppercase}
.emcg-p12-empty-content>strong{margin-top:8px;color:var(--ink);font:800 28px/1.02 Georgia,serif}
.emcg-p12-empty-content>p{max-width:440px;margin:9px 0 0!important;color:var(--muted)!important;font-size:10px!important;line-height:1.5!important}
.emcg-p12-empty-content>a{margin-top:14px;color:var(--blue)!important;text-decoration:none!important;font-size:9px;font-weight:950}
.emcg-p12-blocked-note,.emcg-p12-unavailable{max-width:680px;margin:42px 0;padding:22px 0;border-top:3px solid var(--amber)}
.emcg-p12-blocked-note{display:grid;gap:5px}.emcg-p12-blocked-note strong{font:800 24px/1 Georgia,serif}.emcg-p12-blocked-note span{color:var(--muted);font-size:10px}
.emcg-p12-unavailable span{color:var(--blue);font-size:8px;font-weight:950;text-transform:uppercase}.emcg-p12-unavailable h1{margin:8px 0 0!important;color:var(--ink)!important;font:800 48px/.95 Georgia,serif!important}.emcg-p12-unavailable p{color:var(--muted);font-size:12px}.emcg-p12-unavailable a{color:var(--blue)!important;font-weight:950;text-decoration:none!important}

/* connection drawer */
.emcg-p12-drawer{position:fixed;inset:0;z-index:999999;display:grid;justify-items:end}
.emcg-p12-drawer[hidden]{display:none!important}
.emcg-p12-drawer-scrim{position:absolute;inset:0;border:0;background:rgba(0,12,50,.38);cursor:default}
.emcg-p12-drawer>section{position:relative;width:min(430px,92vw);height:100%;padding:22px 19px 28px;background:#fff;box-shadow:-18px 0 45px rgba(0,12,50,.15);overflow:auto}
.emcg-p12-drawer header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:14px;border-bottom:2px solid var(--blue)}
.emcg-p12-drawer header small{display:block;color:var(--blue);font-size:7px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}
.emcg-p12-drawer header h2{margin:4px 0 0!important;color:var(--ink)!important;font:800 30px/1 Georgia,serif!important}
.emcg-p12-drawer header>button{width:34px;height:34px;border:0;background:transparent;color:var(--ink);font-size:26px;cursor:pointer}
.emcg-p12-drawer-list{display:grid}
.emcg-p12-connection{display:grid;grid-template-columns:48px minmax(0,1fr) 18px;gap:11px;align-items:center;min-height:67px;padding:9px 0;border-bottom:1px solid var(--line);color:var(--ink)!important;text-decoration:none!important}
.emcg-p12-connection-avatar{display:grid;place-items:center;width:48px;height:48px;overflow:hidden;border-radius:50%;background:var(--blue);color:#fff}
.emcg-p12-connection-avatar img{width:100%;height:100%;object-fit:cover}.emcg-p12-connection-avatar b{font:800 16px/1 Georgia,serif}
.emcg-p12-connection-copy{min-width:0}.emcg-p12-connection-copy strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font:800 16px/1.05 Georgia,serif}.emcg-p12-connection-copy small{display:block;margin-top:4px;color:var(--muted);font-size:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.emcg-p12-connection>i{color:var(--blue);font-style:normal;font-weight:950}
.emcg-p12-drawer-state{margin:18px 0!important;color:var(--muted)!important;font-size:9px!important}.emcg-p12-drawer-more{display:block;margin:16px auto 0;padding:9px 0;border:0;border-bottom:2px solid var(--blue);background:transparent;color:var(--ink);font-size:8px;font-weight:950;cursor:pointer}

/* report dialog */
.emcg-p12-report{width:min(500px,calc(100vw - 24px));max-height:86vh;padding:0;border:0;border-radius:13px;background:#fff;color:var(--ink);box-shadow:0 25px 70px rgba(0,12,50,.25)}
.emcg-p12-report::backdrop{background:rgba(0,12,50,.42)}
.emcg-p12-report form{padding:20px}.emcg-p12-report header{display:flex;align-items:flex-start;justify-content:space-between;gap:16px}.emcg-p12-report header small{display:block;color:var(--blue);font-size:7px;font-weight:950;text-transform:uppercase;letter-spacing:.08em}.emcg-p12-report h2{margin:5px 0 0!important;color:var(--ink)!important;font:800 29px/1 Georgia,serif!important}.emcg-p12-report header button{border:0;background:transparent;font-size:25px;cursor:pointer}.emcg-p12-report>form>p{color:var(--muted)!important;font-size:10px!important;line-height:1.45!important}
.emcg-p12-report-reasons{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px;margin-top:14px}.emcg-p12-report-reasons label{display:flex;align-items:center;gap:7px;min-height:34px;font-size:9px;font-weight:750}.emcg-p12-report-note{display:grid;gap:6px;margin-top:15px;color:var(--muted);font-size:8px;font-weight:850}.emcg-p12-report-note textarea{width:100%;padding:9px;border:1px solid rgba(0,12,50,.18);border-radius:8px;resize:vertical;color:var(--ink);font:inherit}.emcg-p12-report-actions{display:flex;justify-content:flex-end;gap:9px;margin-top:14px}.emcg-p12-report-actions button{min-height:35px;padding:0 13px;border:1px solid rgba(0,12,50,.16);border-radius:999px;background:#fff;color:var(--ink);font-size:8px;font-weight:950;cursor:pointer}.emcg-p12-report-actions button[type=submit]{border-color:var(--blue);background:var(--blue);color:#fff}.emcg-p12-report-status{display:block;min-height:16px;margin-top:8px;color:var(--muted);font-size:8px;text-align:right}

@media(max-width:600px){
  .emcg-p12-more{top:14px}.emcg-p12-more-toggle{width:29px;height:29px;font-size:18px}
  .emcg-p11-credential>a{font-size:8.5px}
  .emcg-p11-stats>button{min-width:0}
  .emcg-p12-media-mark{right:5px;top:5px;width:19px!important;height:19px!important}.emcg-p12-media-mark svg{width:11px;height:11px}
  .emcg-p12-empty-content{min-height:180px;padding:27px 0}.emcg-p12-empty-content>strong{font-size:24px}
  .emcg-p12-drawer>section{width:min(390px,94vw);padding:17px 14px 24px}
  .emcg-p12-report-reasons{grid-template-columns:1fr}
}


/* =========================================================
   v0.49.0 — FINAL PROFILE HARDENING
   ========================================================= */
.emcg-p11-stats>span.is-private-list{cursor:default!important}
.emcg-p11-stats>span.is-private-list:hover strong{color:var(--ink)!important}
.emcg-p11-view.is-loading-more .emcg-p11-more{opacity:.55;pointer-events:none}
.emcg-p12-drawer section:focus-visible{outline:3px solid var(--amber);outline-offset:-3px}
.emcg-p12-more-menu button:focus-visible,
.emcg-p12-drawer button:focus-visible,
.emcg-p12-report button:focus-visible,
.emcg-p11-tabs button:focus-visible,
.emcg-p11-more:focus-visible{outline:3px solid var(--amber)!important;outline-offset:3px!important}

@media(max-width:600px){
  .emcg-p12-more-toggle{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
  .emcg-p11-icon-link{width:44px!important;height:44px!important}
  .emcg-p11-owner-actions>a{min-height:44px!important;display:inline-flex!important;align-items:center!important}
  .emcg-p11-tabs button{min-height:48px!important;padding-left:10px!important;padding-right:10px!important}
  .emcg-p11-more{min-height:44px!important}
  .emcg-p12-drawer header button,
  .emcg-p12-drawer-more,
  .emcg-p12-report header button,
  .emcg-p12-report-actions button{min-width:44px!important;min-height:44px!important}
}

/* v0.50.3 — apply the member's chosen portrait framing without disturbing
   the status ring or presence dot around the public profile image. */
.emcg-p11-portrait .emcg-p11-portrait-frame{
  display:block;
  width:100%;
  height:100%;
  overflow:hidden;
  border:2px solid var(--ink);
  border-radius:50%;
  background:var(--blue);
}
.emcg-p11-portrait .emcg-p11-portrait-frame img,
.emcg-p11-portrait .emcg-p11-portrait-frame > span{
  display:grid;
  place-items:center;
  width:100%!important;
  height:100%!important;
  border:0!important;
  border-radius:0!important;
  object-fit:cover;
  transform-origin:center center;
  background:var(--blue);
  color:#fff;
  font:800 48px/1 Georgia,serif;
}

/* =========================================================
   v0.51.0 — PRIVATE COAST IDENTITY STATE
   ========================================================= */
.emcg-p12-private-badge{
  display:inline-flex;
  align-items:center;
  min-height:18px;
  padding:0 7px;
  margin-left:6px;
  border:1px solid rgba(0,12,50,.16);
  border-radius:999px;
  background:#fff;
  color:#000C32;
  font-style:normal;
  font-size:7px;
  font-weight:950;
  letter-spacing:.08em;
  text-transform:uppercase;
  vertical-align:middle;
}
.emcg-p12-private-content{
  max-width:680px;
  margin:22px auto 34px;
  padding:28px 24px;
  border-top:3px solid #0064F9;
  border-bottom:1px solid rgba(0,12,50,.14);
  background:#fff;
  text-align:center;
}
.emcg-p12-private-content>span{
  display:block;
  color:#0064F9;
  font-size:8px;
  font-weight:950;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.emcg-p12-private-content>strong{
  display:block;
  margin:8px 0 0;
  color:#000C32;
  font:800 30px/1 Georgia,serif;
}
.emcg-p12-private-content>p{
  max-width:470px;
  margin:10px auto 16px;
  color:rgba(0,12,50,.66);
  font-size:11px;
  line-height:1.6;
}
.emcg-p12-private-content .emcg-follow-button{
  min-height:36px!important;
  padding:0 15px!important;
  border-radius:999px!important;
  font-size:8px!important;
  font-weight:950!important;
}
.is-private-profile .emcg-p11-credential .emcg-p12-private-badge:before{
  content:"";
  width:4px;
  height:4px;
  margin-right:5px;
  border-radius:50%;
  background:#ED0F81;
}
@media(max-width:760px){
  .emcg-p12-private-content{margin:16px 0 26px;padding:24px 16px}
  .emcg-p12-private-content>strong{font-size:25px}
  .emcg-p12-private-content>p{font-size:10px}
}

/* =========================================================
   v0.51.0 — PRIVATE PROFILE FOLLOW REQUEST STATES
   ========================================================= */
.emcg-p11-owner-actions .emcg-follow-button.is-requested,
.emcg-p12-private-content .emcg-follow-button.is-requested{
  background:#FFFFFF!important;
  border-color:rgba(0,12,50,.24)!important;
  color:rgba(0,12,50,.68)!important;
}
.emcg-p11-owner-actions .emcg-follow-button.is-requested:hover,
.emcg-p12-private-content .emcg-follow-button.is-requested:hover{
  background:#FFB300!important;
  border-color:#FFB300!important;
  color:#000C32!important;
}
