/* LumenLithos Community - Bootstrap-aware, standalone fallback theme */

:root{
  --community-bg:#080b12;
  --community-panel:#190d2b;
  --community-panel-2:#211137;
  --community-border:rgba(189,151,236,.25);
  --community-paper:#f7f2ff;
  --community-muted:#b6a8c7;
  --community-mint:#7cf7c6;
  --community-violet:#a980ff;
  --community-cyan:#6ee7ff;
}

/* Public header. Fully styled even when the Bootstrap CDN is unavailable. */
.community-header{
  position:sticky;
  top:0;
  z-index:1040;
  width:100%;
  min-height:76px;
  margin:0;
  padding:0;
  border:0;
  border-bottom:1px solid var(--community-border);
  background:rgba(7,12,24,.94);
  backdrop-filter:blur(18px);
  box-shadow:0 8px 30px rgba(0,0,0,.18);
}
.community-header-inner{
  width:min(1440px,calc(100% - 36px));
  min-height:76px;
  margin:0 auto;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:28px;
}
.community-brand{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start!important;
  justify-content:center;
  gap:1px;
  margin:0!important;
  padding:0!important;
  color:var(--community-paper)!important;
  text-decoration:none!important;
  line-height:1;
}
.community-brand-mark{
  font-size:1.05rem;
  font-weight:800;
  letter-spacing:.20em;
}
.community-brand-mark::first-letter{color:var(--community-paper)}
.community-brand-sub{
  margin-top:5px;
  color:var(--community-mint);
  font-size:.58rem;
  font-weight:800;
  letter-spacing:.19em;
  text-transform:uppercase;
}
.community-nav{
  display:flex!important;
  align-items:center;
  justify-content:flex-end;
  gap:7px;
  margin:0;
  padding:0;
}
.community-nav .nav-link{
  display:inline-flex!important;
  align-items:center;
  min-height:42px;
  padding:9px 13px!important;
  border:1px solid transparent;
  border-radius:999px;
  color:#cabada!important;
  text-decoration:none!important;
  font-size:.88rem;
  font-weight:600;
  white-space:nowrap;
  transition:.16s ease;
}
.community-nav .nav-link:hover{
  color:#fff!important;
  border-color:rgba(169,128,255,.28);
  background:rgba(169,128,255,.09);
}
.community-nav .nav-link.active{
  color:#08121a!important;
  border-color:var(--community-mint);
  background:var(--community-mint);
}
.community-nav .portal-link{
  margin-left:5px;
  color:#fff!important;
  border-color:rgba(169,128,255,.38);
  background:rgba(169,128,255,.10);
}

.community-main{
  width:min(1440px,calc(100% - 36px));
  margin:0 auto;
  padding:30px 0 100px;
}
.community-page-kicker{margin:0 0 8px}

.community-hero{
  margin:0 0 28px;
  padding:32px 34px;
  border:1px solid var(--community-border);
  border-radius:24px;
  background:
    radial-gradient(circle at 90% 0%,rgba(169,128,255,.13),transparent 34%),
    linear-gradient(145deg,rgba(33,17,55,.96),rgba(19,10,33,.96));
  box-shadow:0 22px 64px rgba(0,0,0,.20);
}
.community-hero h1,
.public-record h1{
  margin:.18em 0 .25em;
  color:var(--community-paper);
  font:700 clamp(2.4rem,6vw,5.3rem)/.94 Georgia,serif;
  letter-spacing:-.035em;
}
.community-hero>p:not(.eyebrow){
  max-width:850px;
  color:var(--community-muted);
  line-height:1.65;
}
.community-search{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  gap:10px;
  width:100%;
  margin-top:25px;
}
.community-search input{
  min-width:0;
  min-height:46px;
  padding:11px 14px;
  border:1px solid var(--community-border);
  border-radius:12px;
  color:var(--community-paper);
  background:rgba(8,4,15,.42);
}
.community-search input:focus{
  outline:0;
  border-color:rgba(124,247,198,.62);
  box-shadow:0 0 0 3px rgba(124,247,198,.08);
}
.community-search button{
  min-height:46px;
  padding:0 19px;
  border:1px solid var(--community-mint)!important;
  border-radius:999px!important;
  color:#06130f!important;
  background:var(--community-mint)!important;
  font-weight:800!important;
}

.community-main>section:not(.community-hero){margin-top:28px}
.community-main>section>h2{
  margin:0 0 18px;
  color:var(--community-paper);
  font-size:1.5rem;
  font-weight:800;
  letter-spacing:-.025em;
}
.community-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr))!important;
  gap:16px!important;
  margin:0!important;
}
.community-grid>.panel,
.community-grid>.card{
  min-width:0;
  margin:0!important;
  padding:19px!important;
  border:1px solid var(--community-border)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(31,15,52,.96),rgba(23,11,39,.96))!important;
  box-shadow:0 15px 44px rgba(0,0,0,.17)!important;
}
.community-grid h2,
.community-grid h3{
  color:var(--community-paper);
  font-weight:800;
}
.community-grid .eyebrow{color:var(--community-mint)!important}
.community-grid .btn,
.community-grid a.btn{
  display:inline-flex;
  align-items:center;
  padding:.5rem .75rem;
  border:1px solid rgba(169,128,255,.34)!important;
  border-radius:10px!important;
  color:#dac8ff!important;
  background:rgba(169,128,255,.07)!important;
  font-weight:700;
}
.community-grid .btn:hover,
.community-grid a.btn:hover{
  color:#fff!important;
  border-color:rgba(124,247,198,.48)!important;
  background:rgba(124,247,198,.08)!important;
}

.profile-row{
  display:flex;
  gap:12px;
  overflow:auto;
  padding:2px 0 10px;
}
.mini-profile{
  min-width:230px;
  display:grid;
  grid-template-columns:48px 1fr;
  gap:4px 12px;
  align-items:center;
  padding:14px;
  border:1px solid var(--community-border)!important;
  border-radius:16px!important;
  color:var(--community-paper)!important;
  background:var(--community-panel)!important;
}
.mini-profile img{
  width:48px;
  height:48px;
  object-fit:cover;
  border-radius:50%;
  grid-row:1/3;
}
.mini-profile span{color:var(--community-muted)}

.profile-page-header{
  margin:18px 0 34px;
  overflow:hidden;
  border:1px solid var(--community-border);
  border-radius:24px;
  background:#11091b;
  box-shadow:0 22px 64px rgba(0,0,0,.20);
}
.profile-cover-art{
  min-height:320px;
  padding:24px 28px;
  border-radius:0!important;
  background:
    linear-gradient(90deg,rgba(10,5,18,.45),rgba(10,5,18,.10)),
    var(--profile-cover,linear-gradient(135deg,#301653,#10081d));
  background-size:cover;
  background-position:center;
}
.profile-summary{
  min-height:170px;
  display:grid!important;
  grid-template-columns:170px minmax(0,1fr) auto!important;
  gap:24px!important;
  align-items:center!important;
  margin:0!important;
  padding:0 28px 24px!important;
}
.profile-avatar-wrap{align-self:start;margin-top:-75px}
.profile-page-header .avatar{
  width:154px!important;
  height:154px!important;
  object-fit:cover;
  border:4px solid #11091b!important;
  border-radius:50%;
  box-shadow:0 0 0 1px var(--community-border),0 14px 30px #0008;
}
.profile-details{padding-top:12px}
.profile-details h1{
  margin:0 0 .35rem;
  color:var(--community-paper);
  font:700 clamp(2.1rem,4vw,4rem)/.98 Georgia,serif;
}
.profile-details p{margin:.35rem 0;color:var(--community-muted)}
.profile-details p:last-child{max-width:760px;color:var(--community-paper)}
.profile-actions{display:flex;justify-content:flex-end;gap:.65rem;align-items:center;flex-wrap:wrap}
.profile-actions form{margin:0}

.locations dl{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:8px;
}
.locations dl div{padding-top:10px;border-top:1px solid var(--community-border)}
.locations dt{color:var(--community-muted);font-size:.7rem}
.locations dd{margin:0;color:var(--community-paper);font-size:1.7rem;font-weight:700}

.feed-post,
.public-record,
.comments{
  border:1px solid var(--community-border)!important;
  border-radius:18px!important;
  background:linear-gradient(145deg,rgba(31,15,52,.96),rgba(23,11,39,.96))!important;
}
.feed-post header{
  display:flex;
  justify-content:space-between;
  gap:12px;
  margin-bottom:16px;
}
.comments article{
  display:flex;
  justify-content:space-between;
  gap:20px;
  padding:16px 0;
  border-bottom:1px solid var(--community-border);
}
.comments small{display:block;color:var(--community-muted)}

.message-inbox{display:grid;gap:.75rem}
.message-row{display:grid;grid-template-columns:3rem 1fr auto;gap:1rem;align-items:center;text-decoration:none}
.message-row img,.message-avatar{width:3rem;height:3rem;border-radius:50%;object-fit:cover}
.message-avatar{display:grid;place-items:center;background:#4b2875;color:#fff}
.message-row span span,.message-row small,.message-row em{display:block}
.message-row em{margin-top:.25rem;color:#b9adc8;font-style:normal}
.unread-badge{min-width:1.8rem;height:1.8rem;border-radius:999px;display:grid;place-items:center;background:var(--community-mint);color:#10091b}
.message-thread{display:flex;flex-direction:column;gap:1rem}
.message-bubble{width:min(42rem,82%);padding:1rem 1.1rem;border:1px solid #51396a;border-radius:1rem;background:#160d24}
.message-bubble.mine{align-self:flex-end;background:#2b1745}
.message-bubble.theirs{align-self:flex-start}
.message-compose{position:sticky;bottom:1rem}

@media(max-width:900px){
  .community-header-inner{align-items:flex-start;flex-direction:column;gap:10px;padding:14px 0}
  .community-header{position:relative}
  .community-nav{width:100%;justify-content:flex-start;overflow:auto;padding-bottom:3px}
  .community-main{padding-top:22px}
  .profile-summary{grid-template-columns:1fr!important;gap:10px!important;padding:0 20px 22px!important}
  .profile-avatar-wrap{margin-top:-58px}
  .profile-page-header .avatar{width:118px!important;height:118px!important}
  .profile-actions{justify-content:flex-start}
}
@media(max-width:600px){
  .community-header-inner,.community-main{width:min(100% - 20px,1440px)}
  .community-nav .nav-link{padding:8px 10px!important;font-size:.8rem}
  .community-search{grid-template-columns:1fr}
  .community-search button{width:100%}
  .community-hero{padding:24px 20px}
  .community-grid{grid-template-columns:1fr!important}
  .profile-cover-art{min-height:200px;padding:18px}
  .locations dl{grid-template-columns:1fr}
  .comments article{align-items:flex-start;flex-direction:column}
  .message-bubble{width:94%}
}

/* ========================================================================== 
   2026 Social community layout - inspired by a classic three-column social UI
   but rebuilt for LumenLithos.
   ========================================================================== */
.social-topbar{
  position:sticky;top:0;z-index:1080;height:74px;border-bottom:1px solid var(--community-border);
  background:rgba(7,10,18,.94);backdrop-filter:blur(20px);box-shadow:0 10px 35px rgba(0,0,0,.22)
}
.social-topbar-inner{width:calc(100% - 48px);max-width:none;height:100%;margin:auto;display:grid;grid-template-columns:250px minmax(360px,1fr) 320px;align-items:center;gap:24px}
.social-logo{display:flex;flex-direction:column;color:var(--community-paper)!important;line-height:1;text-decoration:none}.social-logo span{font-weight:900;letter-spacing:.18em}.social-logo small{margin-top:5px;color:var(--community-mint);font-size:.56rem;font-weight:900;letter-spacing:.18em}
.social-global-search-wrap{position:relative;display:flex;align-items:center}.social-global-search-wrap>i{position:absolute;left:16px;color:#8f82a3;z-index:2}.social-global-search-wrap>input{width:100%;height:46px;padding:0 18px 0 44px;border:1px solid rgba(189,151,236,.20);border-radius:999px;color:#f8f3ff;background:#150d22;outline:none}.social-global-search-wrap>input:focus{border-color:rgba(124,247,198,.56);box-shadow:0 0 0 4px rgba(124,247,198,.06)}
.social-top-actions{display:flex;justify-content:flex-end;align-items:center;gap:12px}.social-avatar-link img,.social-avatar-link span{width:40px;height:40px;display:grid;place-items:center;border:2px solid rgba(124,247,198,.5);border-radius:50%;object-fit:cover;color:#fff;background:#45256f;font-weight:800}
.social-search-results{position:absolute;top:54px;left:0;right:0;max-height:min(72vh,700px);overflow:auto;padding:10px;border:1px solid var(--community-border);border-radius:18px;background:#0e0917;box-shadow:0 28px 80px rgba(0,0,0,.55)}.social-search-results[hidden]{display:none}.social-search-group+.social-search-group{border-top:1px solid var(--community-border);margin-top:7px;padding-top:7px}.social-search-group-title{padding:8px 10px 5px;color:var(--community-mint);font-size:.65rem;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.social-search-item{display:grid;grid-template-columns:42px minmax(0,1fr) auto;gap:10px;align-items:center;padding:9px 10px;border-radius:11px;color:#f6f0ff!important}.social-search-item:hover{background:rgba(169,128,255,.09)}.social-search-item img,.social-search-icon{width:42px;height:42px;border-radius:50%;object-fit:cover}.social-search-icon{display:grid;place-items:center;color:var(--community-cyan);background:#211335}.social-search-copy{min-width:0}.social-search-copy strong,.social-search-copy small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.social-search-copy small{margin-top:2px;color:var(--community-muted);font-size:.74rem}.social-search-badge{padding:4px 7px;border-radius:999px;color:#bafbe1;background:rgba(124,247,198,.08);font-size:.62rem}.social-search-empty,.social-search-loading{padding:18px;color:var(--community-muted);text-align:center}

.social-shell{width:calc(100% - 48px);max-width:none;margin:24px auto 80px;display:grid;grid-template-columns:250px minmax(0,1fr) 320px;gap:24px;align-items:start}.social-left,.social-right{position:sticky;top:98px}.social-middle{min-width:0}.social-kicker{margin:0 0 10px}
.social-profile-card{display:grid;grid-template-columns:54px 1fr;gap:12px;align-items:center;padding:14px;border:1px solid var(--community-border);border-radius:16px;color:#fff!important;background:linear-gradient(145deg,#211238,#160c25)}.social-profile-card img,.social-profile-fallback{width:54px;height:54px;border-radius:50%;object-fit:cover}.social-profile-fallback{display:grid;place-items:center;color:#fff;background:#57328c;font-size:1.25rem;font-weight:900}.social-profile-card strong,.social-profile-card small{display:block}.social-profile-card small{margin-top:2px;color:var(--community-muted)}
.social-menu{display:grid;gap:6px;margin-top:14px;padding:8px;border:1px solid var(--community-border);border-radius:16px;background:rgba(22,12,37,.74)}.social-menu a{display:flex;align-items:center;gap:13px;padding:12px;border-radius:11px;color:#bdb0ca!important;font-weight:700}.social-menu a i{width:24px;color:#9d8db4;font-size:1.1rem}.social-menu a:hover,.social-menu a.active{color:#07120f!important;background:var(--community-mint)}.social-menu a.active i,.social-menu a:hover i{color:#07120f}.social-create-post{display:block;margin-top:14px;padding:12px;text-align:center;border-radius:999px;color:#07120f!important;background:var(--community-mint);font-weight:900}
.social-side-card{margin-bottom:16px;padding:18px;border:1px solid var(--community-border);border-radius:18px;background:linear-gradient(145deg,#1c102f,#130b20)}.social-side-card h3{margin:0 0 14px;font-size:1rem}.social-side-card>a{display:flex;gap:11px;align-items:flex-start;padding:10px 0;color:#eee7f8!important;border-top:1px solid rgba(189,151,236,.11)}.social-side-card>a:first-of-type{border-top:0}.social-side-card>a>i{margin-top:2px;color:var(--community-mint)}.social-side-card strong,.social-side-card small{display:block}.social-side-card small,.social-side-card p{color:var(--community-muted);font-size:.78rem;line-height:1.5}
.social-stories{display:flex;gap:14px;overflow:auto;margin-bottom:18px;padding:4px 2px 10px}.social-stories a{min-width:78px;color:#d9ccdf!important;text-align:center;font-size:.72rem}.social-stories img,.social-story-fallback{width:62px;height:62px;margin:0 auto 7px;border:3px solid var(--community-mint);border-radius:50%;object-fit:cover}.social-story-fallback{display:grid;place-items:center;background:#4a2878;color:#fff;font-weight:900}
.social-feed-header,.social-section-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-end;margin-bottom:15px}.social-feed-header h1,.social-section h1{margin:3px 0 0;font-size:clamp(1.7rem,4vw,2.8rem);letter-spacing:-.04em}.social-section-head h2{margin:3px 0 0;font-size:1.45rem}.social-feed-list{display:grid;gap:16px}.social-feed-card{overflow:hidden;border:1px solid var(--community-border);border-radius:20px;background:linear-gradient(145deg,#1d1031,#130b20);box-shadow:0 18px 45px rgba(0,0,0,.16)}.social-feed-card>header{display:flex;justify-content:space-between;align-items:center;padding:16px 18px}.social-feed-user{display:grid;grid-template-columns:44px 1fr;gap:11px;align-items:center;color:#fff!important}.social-feed-user img,.social-feed-user>span{width:44px;height:44px;border-radius:50%;object-fit:cover}.social-feed-user>span{display:grid;place-items:center;background:#563287;font-weight:900}.social-feed-user strong,.social-feed-user small{display:block}.social-feed-user small{margin-top:2px;color:var(--community-muted);font-size:.72rem}.social-feed-body{padding:5px 18px 20px;color:#f4eef9;line-height:1.65;font-size:.98rem}.social-feed-card>footer{padding:12px 18px;border-top:1px solid rgba(189,151,236,.12);background:rgba(4,2,8,.12)}.social-feed-card>footer a{color:#cdb7ff!important;font-weight:700}.social-chip{padding:5px 8px;border:1px solid rgba(169,128,255,.25);border-radius:999px;color:#cbb7f7;background:rgba(169,128,255,.07);font-size:.62rem;font-weight:900;text-transform:uppercase}.social-chip.reference{color:#091710;background:var(--community-mint);border-color:var(--community-mint)}.social-chip.collection{color:#e2d6ff;background:#44236e}
.social-section{margin-top:24px}.social-section.compact{padding:18px;border:1px solid var(--community-border);border-radius:20px;background:rgba(23,12,39,.72)}.social-mini-minerals{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.social-mini-minerals a{display:flex;flex-direction:column;padding:12px;border:1px solid rgba(189,151,236,.12);border-radius:12px;color:#f7f0ff!important;background:rgba(8,4,14,.22)}.social-mini-minerals span{color:var(--community-mint);font-size:.62rem;font-weight:900}.social-mini-minerals small{margin-top:3px;color:var(--community-muted)}.social-count{min-width:34px;padding:5px 9px;border-radius:999px;text-align:center;background:#281640;color:#cdbaff;font-size:.75rem}
.social-card-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.social-mineral-card{padding:17px;border:1px solid var(--community-border);border-radius:17px;background:linear-gradient(145deg,#1e1032,#140b22)}.social-mineral-card h3{margin:10px 0 4px}.social-mineral-card .formula{color:#dcd1e6}.social-meta{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.social-meta span{display:flex;gap:5px;align-items:center;color:var(--community-muted);font-size:.72rem}.social-inline-link{display:inline-block;margin-top:10px;color:#cdb7ff!important;font-weight:700}.social-author{color:var(--community-muted);font-size:.78rem}.social-empty{padding:24px;border:1px dashed var(--community-border);border-radius:14px;color:var(--community-muted);text-align:center}.social-hero-card{padding:24px;margin-bottom:24px;border:1px solid var(--community-border);border-radius:20px;background:radial-gradient(circle at 100% 0%,rgba(124,247,198,.09),transparent 35%),linear-gradient(145deg,#211238,#140b22)}.social-hero-card h1{margin:4px 0 8px;font-size:clamp(2rem,5vw,3.6rem);letter-spacing:-.05em}.social-hero-card p:last-child{max-width:620px;color:var(--community-muted)}
.social-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.social-person-card{display:grid;grid-template-columns:62px 1fr;gap:13px;padding:15px;border:1px solid var(--community-border);border-radius:17px;color:#fff!important;background:#190d2b}.social-person-card img,.social-person-fallback{width:62px;height:62px;border-radius:50%;object-fit:cover}.social-person-fallback{display:grid;place-items:center;background:#4b2879;font-weight:900}.social-person-card small,.social-person-card p{display:block;margin:2px 0;color:var(--community-muted);font-size:.75rem}.social-person-card p{margin-top:6px;line-height:1.4}

/* Legacy public pages inside the new center column. */
.social-middle .community-hero{margin-top:0}.social-middle .community-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}.social-middle .profile-page-header{margin-top:0}.social-middle .public-record h1{font-size:clamp(2rem,6vw,3.6rem)}

@media(max-width:1180px){.social-topbar-inner{grid-template-columns:190px minmax(280px,1fr) auto}.social-shell{grid-template-columns:210px minmax(0,1fr)}.social-right{display:none}}
@media(max-width:820px){.social-topbar{height:auto}.social-topbar-inner{grid-template-columns:1fr auto;gap:10px;padding:12px 0}.social-global-search-wrap{grid-column:1/-1;grid-row:2}.social-shell{display:block;margin-top:16px}.social-left{position:static;display:flex;gap:8px;overflow:auto;margin-bottom:16px}.social-profile-card{display:none}.social-menu{display:flex;min-width:max-content;margin:0;padding:5px}.social-menu a{padding:9px 11px}.social-menu a span{display:none}.social-create-post{margin:0;white-space:nowrap}.social-middle .community-grid,.social-card-grid,.social-people-grid{grid-template-columns:1fr!important}}
@media(max-width:520px){.social-topbar-inner,.social-shell{width:min(100% - 18px,1500px)}.social-logo span{font-size:.86rem}.social-logo small{font-size:.48rem}.social-top-actions .btn{display:none}.social-mini-minerals{grid-template-columns:1fr}.social-feed-header{align-items:flex-start;flex-direction:column}.social-search-item{grid-template-columns:38px minmax(0,1fr)}.social-search-item img,.social-search-icon{width:38px;height:38px}.social-search-badge{display:none}}


/* 2026-08 profile/full-width alignment pass */
.social-middle{width:100%;max-width:none;min-width:0}
.social-middle>.profile-page-header:first-child{margin-top:0}
.profile-page-header{width:100%;max-width:none}
.profile-details{min-width:0}
.profile-details h1{max-width:100%;overflow-wrap:anywhere;font-size:clamp(2rem,3.1vw,3.8rem)}
.profile-actions-wrap{min-width:max-content}
.profile-actions .btn,.profile-actions button{white-space:nowrap}

@media(min-width:1181px){
  .social-shell,.social-topbar-inner{width:calc(100% - 48px)!important;max-width:none!important}
  .social-shell{grid-template-columns:250px minmax(0,1fr) 320px!important}
  .social-topbar-inner{grid-template-columns:250px minmax(360px,1fr) 320px!important}
}
@media(min-width:1600px){
  .social-shell,.social-topbar-inner{width:calc(100% - 64px)!important}
  .social-shell{grid-template-columns:270px minmax(0,1fr) 340px!important;gap:28px}
  .social-topbar-inner{grid-template-columns:270px minmax(400px,1fr) 340px!important;gap:28px}
}
@media(max-width:820px){
  .social-shell,.social-topbar-inner{width:calc(100% - 24px)!important}
  .profile-actions-wrap{min-width:0}
}


/* --------------------------------------------------------------------------
   2026-08 compact social typography / no-kicker / original wordmark pass
   -------------------------------------------------------------------------- */
.social-topbar,
.social-shell{
  font-size:14px;
}

/* Original LumenLithos wordmark in the global community header. */
.social-logo{
  display:flex!important;
  align-items:center;
  min-width:0;
  color:inherit!important;
  text-decoration:none!important;
}
.social-logo img{
  display:block;
  width:176px;
  max-width:100%;
  height:auto;
  object-fit:contain;
}

/* Top Create Post should behave like a primary social action, not a tiny utility pill. */
.social-top-create{
  min-height:44px;
  padding:.62rem 1.15rem!important;
  border-radius:999px!important;
  font-size:.9rem!important;
  font-weight:800!important;
  line-height:1!important;
  white-space:nowrap;
  box-shadow:0 7px 22px rgba(124,247,198,.13);
}
.social-top-signin{
  min-height:42px;
  padding:.58rem 1rem!important;
  border-radius:999px!important;
  font-size:.86rem!important;
}

/* Decorative kicker labels were removed from markup; hide any cached/legacy ones too. */
.social-kicker,
.social-middle > .eyebrow,
.profile-cover-art > .eyebrow{
  display:none!important;
}

/* Facebook-like compact type scale. */
.social-global-search-wrap input{
  font-size:.86rem;
}
.social-profile-card strong{
  font-size:.88rem;
}
.social-profile-card small{
  font-size:.72rem;
}
.social-menu a{
  padding:10px 11px;
  font-size:.86rem;
}
.social-menu a i{
  font-size:1rem;
}
.social-create-post{
  padding:11px 12px;
  font-size:.86rem;
}
.social-side-card{
  padding:16px;
}
.social-side-card h3{
  font-size:.94rem;
}
.social-side-card strong{
  font-size:.84rem;
}
.social-side-card small,
.social-side-card p{
  font-size:.73rem;
}
.social-stories a{
  font-size:.68rem;
}
.social-feed-header h1,
.social-section h1{
  font-size:clamp(1.45rem,2.4vw,2rem);
  line-height:1.1;
}
.social-section-head h2,
.social-middle > section > h2,
.community-main > section > h2{
  font-size:1.16rem;
}
.social-feed-card > header{
  padding:13px 15px;
}
.social-feed-user{
  grid-template-columns:38px 1fr;
  gap:9px;
}
.social-feed-user img,
.social-feed-user > span{
  width:38px;
  height:38px;
}
.social-feed-user strong{
  font-size:.86rem;
}
.social-feed-user small{
  font-size:.68rem;
}
.social-feed-body{
  padding:4px 15px 16px;
  font-size:.88rem;
  line-height:1.5;
}
.social-feed-card > footer{
  padding:10px 15px;
  font-size:.8rem;
}
.social-chip{
  font-size:.57rem;
}
.social-section.compact{
  padding:15px;
}
.social-mini-minerals a{
  padding:10px;
}
.social-mini-minerals strong{
  font-size:.84rem;
}
.social-mini-minerals small{
  font-size:.69rem;
}
.social-mineral-card{
  padding:14px;
}
.social-mineral-card h3{
  margin:8px 0 3px;
  font-size:1rem;
}
.social-mineral-card .formula,
.social-author,
.social-inline-link{
  font-size:.78rem;
}
.social-person-card{
  grid-template-columns:52px 1fr;
  gap:11px;
  padding:13px;
}
.social-person-card img,
.social-person-fallback{
  width:52px;
  height:52px;
}
.social-person-card strong{
  font-size:.88rem;
}
.social-person-card small,
.social-person-card p{
  font-size:.7rem;
}
.social-hero-card{
  padding:20px;
}
.social-hero-card h1{
  margin:0 0 7px;
  font-size:clamp(1.55rem,2.8vw,2.35rem);
}
.social-hero-card p:last-child{
  font-size:.82rem;
  line-height:1.5;
}
.community-hero{
  padding:24px 26px;
}
.community-hero h1,
.public-record h1{
  margin:0 0 .3rem;
  font-family:inherit;
  font-size:clamp(1.55rem,2.8vw,2.3rem);
  line-height:1.08;
  letter-spacing:-.025em;
}
.community-hero > p{
  font-size:.82rem;
  line-height:1.5;
}
.community-grid > .panel,
.community-grid > .card{
  padding:16px!important;
}
.community-grid h2,
.community-grid h3{
  font-size:1rem;
}
.community-grid p{
  font-size:.8rem;
}
.community-grid .btn,
.community-grid a.btn{
  padding:.42rem .65rem;
  font-size:.76rem;
}
.profile-cover-art{
  min-height:285px;
  padding:0;
}
.profile-summary{
  min-height:145px;
  grid-template-columns:145px minmax(0,1fr) auto!important;
  gap:20px!important;
  padding:0 24px 20px!important;
}
.profile-avatar-wrap{
  margin-top:-64px;
}
.profile-page-header .avatar{
  width:132px!important;
  height:132px!important;
}
.profile-details h1{
  margin:0 0 .25rem;
  font-family:inherit;
  font-size:clamp(1.65rem,2.8vw,2.45rem);
  line-height:1.05;
}
.profile-details p{
  margin:.25rem 0;
  font-size:.82rem;
  line-height:1.45;
}
.profile-actions .btn,
.profile-actions button{
  padding:.48rem .72rem;
  font-size:.78rem;
}
.comments,
.feed-post,
.public-record{
  font-size:.84rem;
}
.comments h2{
  font-size:1.1rem;
}
.social-record-ref{
  display:block;
  margin:.15rem 0 .35rem;
  color:var(--community-muted);
  font-size:.68rem;
  font-weight:600;
  letter-spacing:.02em;
}

@media(max-width:820px){
  .social-logo img{width:150px}
  .social-top-create{min-height:40px;padding:.55rem .85rem!important;font-size:.82rem!important}
  .profile-summary{grid-template-columns:1fr!important}
}
@media(max-width:520px){
  .social-logo img{width:132px}
  .social-top-actions .social-top-create{display:inline-flex!important}
  .profile-cover-art{min-height:190px}
}

/* ========================================================================== 
   LUMENLITHOS SOCIAL PROFILE V2 — Facebook density + UV/neon identity
   ========================================================================== */

:root{
  --ll-social-bg:#090711;
  --ll-social-surface:#171020;
  --ll-social-surface-2:#1e142b;
  --ll-social-surface-3:#241733;
  --ll-social-border:rgba(195,157,239,.18);
  --ll-social-text:#f5f0fb;
  --ll-social-muted:#a89caf;
  --ll-social-neon:#caa8ff;
  --ll-social-neon-hot:#8d39ff;
  --ll-social-mint:#7cf7c6;
  --ll-social-cyan:#72dfff;
}

.social-topbar{
  background:rgba(10,7,16,.94)!important;
  border-bottom:1px solid rgba(188,139,240,.16)!important;
  box-shadow:0 8px 28px rgba(0,0,0,.28);
  backdrop-filter:blur(18px);
}
.social-topbar-inner{width:calc(100% - 36px)!important;max-width:none!important;gap:22px!important}
.social-logo img{max-width:150px!important;height:auto!important;filter:drop-shadow(0 0 8px rgba(171,104,255,.18))}
.social-global-search-wrap>input{height:42px!important;font-size:.86rem!important;background:#160d20!important;border-color:rgba(198,157,240,.26)!important}
.social-top-create{min-height:42px!important;padding:.62rem 1.25rem!important;border:0!important;border-radius:9px!important;background:linear-gradient(135deg,#7cf7c6,#70dfd0)!important;box-shadow:0 0 22px rgba(124,247,198,.15)!important;font-size:.86rem!important;font-weight:900!important}
.social-avatar-link img,.social-avatar-link span{width:38px!important;height:38px!important}

.social-shell{width:calc(100% - 36px)!important;max-width:none!important;grid-template-columns:220px minmax(0,1fr) 300px!important;gap:22px!important;margin-top:20px!important}
.social-left,.social-right{top:82px!important}
.social-profile-card,.social-menu,.social-side-card{border-color:var(--ll-social-border)!important;background:linear-gradient(145deg,rgba(31,20,43,.95),rgba(18,12,27,.97))!important;box-shadow:0 12px 36px rgba(0,0,0,.16)}
.social-menu a{font-size:.86rem!important;padding:10px 11px!important}
.social-create-post{font-size:.86rem!important;padding:11px 14px!important;box-shadow:0 0 18px rgba(124,247,198,.10)}
.social-side-card h3{font-size:.9rem!important}.social-side-card small,.social-side-card p{font-size:.74rem!important}

/* Facebook-like profile canvas. */
.fb-profile-shell{
  overflow:hidden;
  margin:0 0 16px;
  border:1px solid var(--ll-social-border);
  border-radius:16px;
  background:linear-gradient(180deg,#1e1529,#15101d 72%);
  box-shadow:0 18px 50px rgba(0,0,0,.22),0 0 50px rgba(116,42,193,.04);
}

.fb-profile-neon-cover{
  position:relative;
  min-height:clamp(230px,28vw,390px);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(4,2,8,.05),rgba(5,2,9,.34)),
    radial-gradient(circle at 46% 40%,rgba(132,60,255,.16),transparent 36%),
    url('/assets/community-neon-wallpaper.png') center/cover no-repeat;
  border-bottom:1px solid rgba(201,163,244,.15);
}
.fb-profile-neon-cover::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(ellipse at center,transparent 28%,rgba(0,0,0,.40) 100%),
    linear-gradient(90deg,rgba(0,0,0,.25),transparent 24%,transparent 76%,rgba(0,0,0,.25));
  pointer-events:none;
}
.fb-neon-name{
  position:relative;
  z-index:1;
  width:94%;
  overflow:hidden;
  text-align:center;
  color:rgba(255,255,255,.045);
  font-family:Georgia,'Times New Roman',serif;
  font-size:clamp(3.4rem,8.6vw,9.3rem);
  font-weight:400;
  line-height:.95;
  letter-spacing:.04em;
  text-transform:uppercase;
  white-space:nowrap;
  -webkit-text-stroke:1.5px rgba(238,224,255,.95);
  text-shadow:
    0 0 4px rgba(255,255,255,.92),
    0 0 10px rgba(209,169,255,.90),
    0 0 22px rgba(160,77,255,.75),
    0 0 44px rgba(118,38,213,.52),
    0 0 72px rgba(103,26,190,.34);
  filter:drop-shadow(0 6px 18px rgba(0,0,0,.65));
}

.fb-profile-identity{
  position:relative;
  display:grid;
  grid-template-columns:142px minmax(0,1fr) auto;
  gap:18px;
  align-items:end;
  min-height:122px;
  padding:0 22px 18px;
}
.fb-profile-avatar-wrap{height:110px;position:relative}
.fb-profile-avatar{
  position:absolute;
  left:0;
  bottom:0;
  width:142px;
  height:142px;
  object-fit:cover;
  display:grid;
  place-items:center;
  border:5px solid #17101f;
  border-radius:50%;
  background:#34185a;
  color:#fff;
  font-size:2.4rem;
  font-weight:900;
  box-shadow:0 8px 26px rgba(0,0,0,.40),0 0 24px rgba(140,57,255,.15);
}
.fb-profile-copy{min-width:0;padding:15px 0 3px}
.fb-profile-copy h1{margin:0 0 4px;font-size:clamp(1.75rem,3vw,2.45rem);font-weight:800;letter-spacing:-.035em;color:#fff}
.fb-profile-counts{font-size:.83rem;color:#cfc4d7}.fb-profile-counts span{margin:0 4px;color:#746b7a}.fb-profile-counts strong{color:#fff}
.fb-profile-copy p{max-width:820px;margin:.38rem 0 0;color:#d7ccd9;font-size:.82rem;line-height:1.45}
.fb-profile-actions{display:flex;align-items:center;justify-content:flex-end;gap:7px;padding-bottom:4px}
.fb-profile-actions form{margin:0}.fb-profile-actions .btn,.fb-profile-actions button{min-height:36px;padding:.48rem .78rem;border-radius:8px;font-size:.78rem;font-weight:800;white-space:nowrap}
.fb-profile-actions .primary{color:#07120f!important;background:var(--ll-social-mint)!important;border-color:var(--ll-social-mint)!important}

.fb-profile-tabs{
  display:flex;
  gap:4px;
  overflow:auto;
  margin:0 18px;
  border-top:1px solid rgba(202,168,255,.13);
  padding:6px 0 0;
}
.fb-profile-tabs a{
  position:relative;
  display:flex;
  align-items:center;
  gap:6px;
  min-height:47px;
  padding:0 14px;
  color:#afa4b6!important;
  border-radius:7px 7px 0 0;
  font-size:.82rem;
  font-weight:700;
  white-space:nowrap;
}
.fb-profile-tabs a:hover{color:#fff!important;background:rgba(201,169,255,.055)}
.fb-profile-tabs a.active{color:var(--ll-social-neon)!important;background:rgba(156,83,229,.07)}
.fb-profile-tabs a.active::after{content:"";position:absolute;left:8px;right:8px;bottom:0;height:3px;border-radius:3px;background:linear-gradient(90deg,#7cf7c6,#b47cff);box-shadow:0 0 12px rgba(180,124,255,.6)}
.fb-profile-tabs i{font-size:.92rem}

.fb-profile-content{min-width:0;margin-bottom:36px}
.fb-profile-column{max-width:820px;margin:0 auto}
.fb-section-title{display:flex;align-items:center;justify-content:space-between;margin:0 0 10px;padding:2px 2px}.fb-section-title h2{margin:0;font-size:1.18rem;font-weight:800}.fb-section-title>span{min-width:30px;padding:4px 8px;border-radius:999px;background:#281a35;color:#bda9cc;text-align:center;font-size:.7rem}

.fb-compose-card{
  display:grid;
  grid-template-columns:40px minmax(0,1fr);
  gap:9px;
  align-items:center;
  margin-bottom:12px;
  padding:10px 12px;
  border:1px solid var(--ll-social-border);
  border-radius:12px;
  background:#1d1524;
  color:#b9aebb!important;
  box-shadow:0 8px 22px rgba(0,0,0,.13);
}
.fb-compose-card>span,.fb-compose-card img,.fb-compose-card b{width:40px;height:40px;border-radius:50%}.fb-compose-card img{object-fit:cover}.fb-compose-card b{display:grid;place-items:center;background:#432568;color:#fff}.fb-compose-card>div{padding:9px 14px;border-radius:999px;background:#2a202e;font-size:.84rem}

.fb-post-list{display:grid;gap:10px}
.fb-post-card{overflow:hidden;border:1px solid var(--ll-social-border);border-radius:12px;background:#1d1524;box-shadow:0 10px 28px rgba(0,0,0,.13)}
.fb-post-card header{padding:12px 14px 5px}.fb-post-author{display:grid;grid-template-columns:40px 1fr;gap:9px;align-items:center}.fb-post-author img,.fb-post-author>span{width:40px;height:40px;border-radius:50%;object-fit:cover}.fb-post-author>span{display:grid;place-items:center;background:#432568;font-weight:900}.fb-post-author strong,.fb-post-author small{display:block}.fb-post-author strong{font-size:.84rem}.fb-post-author small{margin-top:1px;color:#9f94a6;font-size:.68rem}.fb-post-card>p{margin:0;padding:9px 14px 14px;color:#eee8f1;font-size:.84rem;line-height:1.48}.fb-post-card footer{padding:8px 14px;border-top:1px solid rgba(197,157,239,.12)}.fb-post-card footer a{color:#c9aeef!important;font-size:.74rem;font-weight:700}

.fb-mineral-grid,.fb-location-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.fb-content-card{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;padding:14px;border:1px solid var(--ll-social-border);border-radius:12px;background:linear-gradient(145deg,#1e1527,#17101f);box-shadow:0 10px 25px rgba(0,0,0,.12)}
.fb-card-icon{width:48px;height:48px;display:grid;place-items:center;border-radius:12px;color:var(--ll-social-mint);background:radial-gradient(circle at 45% 35%,rgba(124,247,198,.18),rgba(124,247,198,.04));font-size:1.25rem;box-shadow:inset 0 0 0 1px rgba(124,247,198,.15),0 0 20px rgba(124,247,198,.04)}
.fb-content-card h3{margin:0 0 3px;font-size:.92rem}.fb-content-card small{color:#a99dae;font-size:.7rem}.fb-content-card p{margin:7px 0 0;color:#bdb2c3;font-size:.72rem}.fb-content-card a{display:inline-block;margin-top:7px;color:#c9aaff!important;font-size:.72rem;font-weight:700}

.fb-photo-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(145px,1fr));gap:5px;overflow:hidden;border:1px solid var(--ll-social-border);border-radius:12px;padding:8px;background:#18111f}.fb-photo-tile{position:relative;overflow:hidden;aspect-ratio:1/1;border-radius:7px;background:#0e0912}.fb-photo-tile img{width:100%;height:100%;object-fit:cover;transition:transform .18s ease}.fb-photo-tile:hover img{transform:scale(1.035)}.fb-photo-tile span{position:absolute;left:6px;right:6px;bottom:6px;padding:4px 6px;border-radius:5px;color:#fff;background:rgba(0,0,0,.58);font-size:.58rem;opacity:0;transition:opacity .18s}.fb-photo-tile:hover span{opacity:1}

.fb-people-panels{display:grid;grid-template-columns:1fr 1fr;gap:12px}.fb-people-panels>section{padding:14px;border:1px solid var(--ll-social-border);border-radius:12px;background:#1b1322}.fb-people-panels h3{display:flex;justify-content:space-between;margin:0 0 10px;font-size:.95rem}.fb-people-panels h3 small{color:#8f8397}.fb-people-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.fb-people-grid>a{display:grid;grid-template-columns:42px minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;align-items:center;padding:7px;border-radius:8px;color:#fff!important}.fb-people-grid>a:hover{background:#281c31}.fb-people-grid img,.fb-people-grid>a>span{grid-row:1/3;width:42px;height:42px;border-radius:50%;object-fit:cover}.fb-people-grid>a>span{display:grid;place-items:center;background:#432568;font-weight:900}.fb-people-grid strong{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.78rem}.fb-people-grid small{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;color:#9b90a0;font-size:.65rem}

@media(max-width:1180px){
  .social-shell{grid-template-columns:200px minmax(0,1fr)!important}.social-right{display:none!important}
  .fb-profile-identity{grid-template-columns:128px minmax(0,1fr) auto}.fb-profile-avatar{width:128px;height:128px}
}
@media(max-width:820px){
  .social-shell{width:calc(100% - 18px)!important}.fb-profile-neon-cover{min-height:180px}.fb-neon-name{font-size:clamp(2.5rem,13vw,5rem);white-space:normal;line-height:.9}
  .fb-profile-identity{grid-template-columns:92px 1fr;padding:0 14px 12px;align-items:end}.fb-profile-avatar-wrap{height:70px}.fb-profile-avatar{width:92px;height:92px;border-width:4px}.fb-profile-copy{padding-top:8px}.fb-profile-copy h1{font-size:1.5rem}.fb-profile-actions{grid-column:1/-1;justify-content:flex-start;padding-top:7px}.fb-profile-tabs{margin:0 8px}.fb-profile-tabs a{padding:0 10px}.fb-mineral-grid,.fb-location-grid,.fb-people-panels{grid-template-columns:1fr}.fb-photo-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:520px){
  .fb-profile-neon-cover{min-height:150px}.fb-profile-identity{grid-template-columns:76px 1fr}.fb-profile-avatar{width:76px;height:76px}.fb-profile-avatar-wrap{height:55px}.fb-profile-copy h1{font-size:1.25rem}.fb-profile-counts,.fb-profile-copy p{font-size:.72rem}.fb-profile-tabs a{font-size:.74rem}.fb-profile-tabs a i{display:none}.fb-photo-grid{grid-template-columns:repeat(2,1fr)}.fb-people-grid{grid-template-columns:1fr}
}

/* ========================================================================
   Community V4: Facebook-scale layout + LumenLithos UV wallpaper
   ======================================================================== */
body.community-body{
  background:
    linear-gradient(rgba(6,3,12,.76),rgba(6,3,12,.86)),
    url('/assets/community-wallpaper.png') center top/cover fixed no-repeat,
    #07030e!important;
  color:#f7f2ff;
}
body.community-body .social-topbar{background:rgba(7,4,13,.92)!important;box-shadow:0 10px 28px rgba(0,0,0,.30)}
body.community-body .social-shell{margin-top:18px!important}
.social-profile-card{grid-template-columns:48px 1fr!important;padding:11px 12px!important}.social-profile-card img,.social-profile-fallback{width:48px!important;height:48px!important}.social-profile-card strong{font-size:.83rem!important}.social-profile-card small{font-size:.68rem!important;color:#9f91b4!important}
.social-menu a{font-size:.82rem!important;padding:10px 11px!important}.social-create-post{border-radius:12px!important;font-size:.84rem!important;padding:12px 14px!important}
.social-feed-header h1{font-size:1.3rem!important;letter-spacing:-.02em!important;margin:0!important}
.social-feed-card{border-radius:16px!important;background:rgba(18,10,30,.92)!important;box-shadow:0 16px 34px rgba(0,0,0,.18)!important}
.social-feed-user strong{font-size:.82rem!important}.social-feed-user small{font-size:.67rem!important}.social-feed-body,.post-rich-body{font-size:.84rem!important;line-height:1.52!important}
.social-side-card h3{font-size:.92rem!important}.social-side-card p,.social-side-card small{font-size:.7rem!important}.social-side-card strong{font-size:.8rem!important}
.side-title-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:8px}.side-title-row h3{margin:0}.side-title-row a{font-size:.7rem;color:var(--community-cyan)!important}.side-people,.side-trending{display:grid;gap:5px}.side-person,.trend-mineral{display:grid!important;grid-template-columns:38px 1fr!important;align-items:center!important;gap:9px!important;padding:8px!important;border-radius:11px!important;color:#fff!important}.side-person:hover,.trend-mineral:hover{background:rgba(169,128,255,.08)!important}.side-person img,.side-person>span{width:38px;height:38px;border-radius:50%;object-fit:cover}.side-person>span{display:grid;place-items:center;background:#4d2b7b;font-weight:900}.trend-mineral>i{display:grid;place-items:center;width:38px;height:38px;border-radius:10px;color:var(--community-mint);background:rgba(124,247,198,.08)}.side-person strong,.trend-mineral strong,.side-person small,.trend-mineral small{display:block}

/* Home composer: no duplicate profile banner above the feed heading. */
.home-compose-card{display:grid;grid-template-columns:44px minmax(0,1fr);gap:10px;margin:0 0 16px;padding:14px;border:1px solid var(--community-border);border-radius:16px;color:#fff!important;background:rgba(19,11,30,.94);box-shadow:0 14px 34px rgba(0,0,0,.17)}
.home-compose-avatar img,.home-compose-avatar span{width:44px;height:44px;border-radius:50%;object-fit:cover}.home-compose-avatar span{display:grid;place-items:center;background:#4d2a7d;font-weight:900}.home-compose-prompt{align-self:center;padding:10px 13px;border-radius:999px;color:#9e91ad;background:rgba(255,255,255,.055)}.home-compose-actions{grid-column:2;display:grid;grid-template-columns:repeat(3,1fr);gap:6px;padding-top:10px;border-top:1px solid rgba(190,151,236,.12)}.home-compose-actions span{text-align:center;color:#b7abc6;font-size:.72rem;font-weight:700}.home-compose-actions i{margin-right:5px;color:var(--community-mint)}

/* Profile: keep the user's own cover image. The dynamic name below it gets the neon-outline treatment. */
.fb-profile-shell{overflow:hidden;border:1px solid var(--community-border);border-radius:18px;background:rgba(16,9,26,.95);box-shadow:0 18px 48px rgba(0,0,0,.22)}
.fb-profile-cover{height:clamp(230px,30vw,420px);background-image:var(--profile-cover,linear-gradient(135deg,#090411,#24103d));background-position:center;background-size:cover;background-repeat:no-repeat;border-bottom:1px solid rgba(190,151,236,.18)}
.fb-profile-identity{padding:0 22px 18px!important}.fb-profile-avatar-wrap{margin-top:-48px!important}.fb-profile-avatar{border:4px solid #120a1d!important;box-shadow:0 0 0 2px var(--community-mint),0 0 24px rgba(124,247,198,.18)!important}
.fb-neon-profile-name{
  margin:.22rem 0 .05rem!important;
  color:transparent!important;
  font-family:Georgia,"Times New Roman",serif!important;
  font-size:clamp(1.7rem,3vw,2.65rem)!important;
  font-weight:400!important;
  letter-spacing:.035em!important;
  -webkit-text-stroke:1.4px rgba(255,255,255,.96);
  text-shadow:0 0 4px #fff,0 0 9px rgba(226,202,255,.95),0 0 18px rgba(151,77,255,.78),0 0 34px rgba(108,35,219,.55);
}
.fb-profile-handle{margin:0 0 5px;color:#b1a3c2;font-size:.72rem}.fb-profile-counts,.fb-profile-copy p{font-size:.74rem!important}.fb-profile-tabs{padding:0 18px!important}.fb-profile-tabs a{font-size:.76rem!important;padding:12px 13px!important}

/* WYSIWYG composer. */
.post-composer{padding:0!important;overflow:hidden;border-radius:18px!important;background:rgba(17,9,28,.96)!important}.post-composer-head{display:flex;align-items:center;gap:10px;padding:16px 17px 10px}.post-composer-head h2{margin:0;font-size:1rem}.post-composer-head small{color:#9f92ae;font-size:.7rem}.post-composer-avatar img,.post-composer-avatar span{width:42px;height:42px;border-radius:50%;object-fit:cover}.post-composer-avatar span{display:grid;place-items:center;background:#4e297e;font-weight:900}.wysiwyg-toolbar{display:flex;gap:4px;padding:8px 14px;border-top:1px solid rgba(190,151,236,.12);border-bottom:1px solid rgba(190,151,236,.12);background:rgba(255,255,255,.025)}.wysiwyg-toolbar button{min-width:34px;height:30px;border:0;border-radius:7px;color:#c9bdd6;background:transparent}.wysiwyg-toolbar button:hover{color:#fff;background:rgba(169,128,255,.13)}.wysiwyg-editor{min-height:125px;padding:15px 17px;outline:0;color:#f5effb;font-size:.86rem;line-height:1.55}.wysiwyg-editor:empty:before{content:attr(data-placeholder);color:#837790}.wysiwyg-editor blockquote{padding-left:12px;border-left:3px solid var(--community-violet);color:#c8bdd2}.post-composer-options{display:grid;grid-template-columns:1.1fr .9fr .9fr .8fr;gap:9px;align-items:end;padding:12px 14px;border-top:1px solid rgba(190,151,236,.12)}.post-composer-options label{margin:0;font-size:.68rem;color:#a99cb7}.post-photo-button{display:flex!important;align-items:center;justify-content:center;gap:7px;height:38px;border:1px solid rgba(124,247,198,.25);border-radius:9px;color:var(--community-mint)!important;cursor:pointer}.post-photo-button input{display:none}.post-comments-toggle{align-self:center!important}.post-composer-foot{display:flex;align-items:center;justify-content:space-between;padding:0 14px 14px}.post-composer-foot small{color:#8f829e;font-size:.66rem}.post-photo-preview{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;padding:0 14px}.post-photo-preview:empty{display:none}.post-photo-preview-item{aspect-ratio:1;overflow:hidden;border-radius:9px;background:#0a0610}.post-photo-preview-item img{width:100%;height:100%;object-fit:cover}

/* Post media layouts */
.post-media-grid{display:grid;gap:3px;margin:12px -1px 0}.post-media-grid a{position:relative;overflow:hidden;min-height:180px;background:#08050c;cursor:zoom-in}.post-media-grid img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .18s ease,filter .18s ease}.post-media-grid a:hover img{transform:scale(1.012);filter:brightness(1.06)}.post-media-grid.count-1{grid-template-columns:1fr}.post-media-grid.count-1 a{max-height:650px}.post-media-grid.count-2{grid-template-columns:repeat(2,1fr)}.post-media-grid.count-3,.post-media-grid.count-4{grid-template-columns:repeat(2,1fr)}.post-media-grid.count-3 a:first-child{grid-row:span 2}.post-media-grid.count-5{grid-template-columns:repeat(6,1fr)}.post-media-grid.count-5 a:nth-child(-n+2){grid-column:span 3}.post-media-grid.count-5 a:nth-child(n+3){grid-column:span 2}.post-media-grid.layout-lightbox a{min-height:150px}

.post-media-slider{position:relative;margin-top:12px;overflow:hidden;border:1px solid rgba(190,151,236,.13);border-radius:12px;background:#050308}.post-media-slider-stage{position:relative;height:min(68vh,700px);min-height:300px}.post-media-slide{position:absolute;inset:0;display:none;place-items:center;background:#050308;cursor:zoom-in}.post-media-slide.is-active{display:grid}.post-media-slide img{display:block;width:100%;height:100%;object-fit:contain}.post-slider-control{position:absolute;z-index:3;top:50%;display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#fff;background:rgba(5,3,8,.58);backdrop-filter:blur(7px);transform:translateY(-50%);box-shadow:0 8px 25px rgba(0,0,0,.25)}.post-slider-control:hover{background:rgba(72,34,112,.78)}.post-slider-control.prev{left:14px}.post-slider-control.next{right:14px}.post-slider-counter{position:absolute;z-index:3;top:12px;right:14px;padding:5px 9px;border-radius:999px;color:#fff;background:rgba(5,3,8,.68);font-size:.68rem}.post-slider-dots{position:absolute;z-index:3;right:0;bottom:12px;left:0;display:flex;justify-content:center;gap:6px}.post-slider-dots button{width:7px;height:7px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,.36)}.post-slider-dots button.is-active{background:var(--community-mint);box-shadow:0 0 9px rgba(124,247,198,.75)}

html.post-lightbox-open{overflow:hidden}.post-lightbox{position:fixed;inset:0;z-index:2147483000;display:grid;place-items:center;padding:54px 72px;background:rgba(2,1,5,.94);backdrop-filter:blur(12px)}.post-lightbox-image{display:block;max-width:min(1600px,94vw);max-height:88vh;object-fit:contain;border-radius:10px;box-shadow:0 0 60px rgba(116,49,222,.30)}.post-lightbox-toolbar{position:fixed;z-index:2;top:16px;right:18px;display:flex;align-items:center;gap:10px;color:#d9cfdf;font-size:.75rem}.post-lightbox-toolbar button{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#fff;background:rgba(255,255,255,.08)}.post-lightbox-nav{position:fixed;z-index:2;top:50%;display:grid;place-items:center;width:50px;height:50px;border:1px solid rgba(255,255,255,.12);border-radius:50%;color:#fff;background:rgba(255,255,255,.07);transform:translateY(-50%)}.post-lightbox-nav:hover,.post-lightbox-toolbar button:hover{background:rgba(112,57,177,.38)}.post-lightbox-nav.prev{left:18px}.post-lightbox-nav.next{right:18px}
.post-rich-body p:last-child{margin-bottom:0}.post-rich-body a{color:var(--community-cyan)!important}.post-rich-body blockquote{padding-left:12px;border-left:3px solid var(--community-violet);color:#c9bed3}

@media(max-width:760px){.home-compose-actions{grid-template-columns:1fr}.post-composer-options{grid-template-columns:1fr 1fr}.fb-profile-cover{height:220px}.fb-neon-profile-name{font-size:1.55rem!important}.post-photo-preview{grid-template-columns:repeat(3,1fr)}}

/* ========================================================================
   V5 fixes: local Bootstrap, full-page UV wallpaper, Facebook-style composer,
   profile post spacing, rich public specimen pages.
   ======================================================================== */
.community-body{
  min-height:100vh!important;
  background:
    linear-gradient(rgba(8,3,14,.78),rgba(8,3,14,.90)),
    url('/assets/community-wallpaper.png') center top/cover fixed no-repeat!important;
  background-color:#090411!important;
}
.social-topbar{background:rgba(7,3,12,.92)!important;backdrop-filter:blur(16px)}
.social-shell{background:transparent!important}
.social-left,.social-middle,.social-right{background:transparent!important}

/* Profile posts should use the same comfortable text inset as HOME. */
.fb-post-card>.post-rich-body{padding:8px 14px 14px!important;margin:0!important}
.fb-post-card>.post-mention-chips{padding:0 14px 10px!important}
.post-mention-chips{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}
.post-mention-chips a,.post-mention-chips span{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;border:1px solid rgba(169,128,255,.22);border-radius:999px;color:#d7c5ff!important;background:rgba(169,128,255,.08);font-size:.68rem;font-weight:700}

/* Facebook-style Create Post composer */
.facebook-post-composer{width:min(680px,100%);margin:0 auto 22px;overflow:visible;border:1px solid rgba(190,151,236,.18);border-radius:16px;background:rgba(28,25,31,.98);box-shadow:0 22px 70px rgba(0,0,0,.34)}
.fbpc-header{position:relative;padding:13px 18px;border-bottom:1px solid rgba(255,255,255,.08);text-align:center}.fbpc-header h2{margin:0;font-size:1.18rem;font-weight:800}
.fbpc-author-row{display:flex;align-items:center;gap:10px;padding:14px 16px 5px}.fbpc-author-meta{display:flex;flex-direction:column;align-items:flex-start;gap:4px}.fbpc-author-meta strong{font-size:.82rem}.fbpc-audience{width:auto!important;min-width:110px;padding:3px 26px 3px 7px!important;border:0!important;border-radius:6px!important;color:#e8e1eb!important;background-color:#4a484c!important;font-size:.66rem!important;font-weight:700}
.fbpc-editor-wrap{position:relative}.facebook-post-composer .wysiwyg-editor{min-height:145px;padding:14px 16px 18px;font-size:1.15rem!important;line-height:1.45!important}.facebook-post-composer .wysiwyg-editor:empty:before{color:#a7a2aa}.fbpc-formatbar{display:flex;flex-wrap:wrap;gap:4px;padding:7px 14px;border-top:1px solid rgba(255,255,255,.06)}.fbpc-formatbar button{min-width:32px;height:30px;padding:0 8px;border:0;border-radius:6px;color:#ddd5e2;background:rgba(255,255,255,.05);font-size:.72rem}.fbpc-formatbar button:hover{background:rgba(169,128,255,.18)}
.fbpc-add-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:8px 14px 0;padding:13px 14px;border:1px solid rgba(255,255,255,.15);border-radius:10px}.fbpc-add-row>strong{font-size:.78rem}.fbpc-add-actions{display:flex;align-items:center;gap:7px}.fbpc-icon{display:grid!important;place-items:center!important;width:34px!important;height:34px!important;margin:0!important;padding:0!important;border:0!important;border-radius:50%!important;color:#fff!important;background:transparent!important;font-size:1.12rem!important;cursor:pointer}.fbpc-icon:hover{background:rgba(255,255,255,.08)!important}.fbpc-icon.photo{color:#43d17b!important}.fbpc-icon input{display:none!important}.fbpc-icon.emoji{color:#f4ba3b!important}
.fbpc-options{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:end;margin:10px 14px 0;padding:11px;border-radius:10px;background:rgba(255,255,255,.035)}.fbpc-options label{margin:0;font-size:.68rem;color:#bdb5c3}.fbpc-options .form-select{margin-top:4px}.fbpc-help{padding:10px 14px 6px;color:#938a99;font-size:.64rem}.fbpc-publish{width:calc(100% - 28px);margin:6px 14px 14px;padding:10px;border:0;border-radius:9px;color:#07120e;background:linear-gradient(90deg,#72e8c4,#89f2d2);font-weight:900;box-shadow:0 7px 24px rgba(114,232,196,.16)}
.emoji-picker{display:grid;grid-template-columns:repeat(8,1fr);gap:4px;margin:8px 14px 0;padding:9px;border:1px solid rgba(190,151,236,.16);border-radius:10px;background:#211927}.emoji-picker button{padding:5px;border:0;border-radius:6px;background:transparent;font-size:1.15rem}.emoji-picker button:hover{background:rgba(255,255,255,.08)}
.mention-popover{position:absolute;z-index:1200;top:calc(100% - 8px);left:16px;width:min(430px,calc(100% - 32px));max-height:320px;overflow:auto;border:1px solid rgba(190,151,236,.22);border-radius:11px;background:#201628;box-shadow:0 18px 50px rgba(0,0,0,.45)}.mention-result{display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;gap:9px!important;align-items:center!important;width:100%!important;padding:8px 10px!important;border:0!important;border-bottom:1px solid rgba(255,255,255,.05)!important;border-radius:0!important;color:#fff!important;background:transparent!important;text-align:left!important}.mention-result:hover{background:rgba(169,128,255,.11)!important}.mention-result-icon,.mention-result-icon img{width:38px;height:38px;border-radius:50%}.mention-result-icon{display:grid;place-items:center;background:#432667}.mention-result-icon img{object-fit:cover}.mention-result strong,.mention-result small{display:block}.mention-result strong{font-size:.76rem}.mention-result small{color:#aa9caf;font-size:.64rem}.mention-result em{color:#77e8c5;font-size:.6rem;font-style:normal}

/* Public specimen page */
.public-specimen-page,.public-comments-card{overflow:hidden;margin-bottom:16px;border:1px solid rgba(190,151,236,.20);border-radius:16px;background:rgba(22,12,34,.94);box-shadow:0 18px 52px rgba(0,0,0,.20)}
.public-specimen-hero{padding:20px 22px;background:linear-gradient(135deg,rgba(112,53,177,.20),rgba(19,10,31,.8));border-bottom:1px solid rgba(190,151,236,.14)}.public-specimen-owner{display:flex;align-items:center;gap:9px;margin-bottom:18px}.public-specimen-owner img,.public-specimen-owner>span{width:42px;height:42px;border-radius:50%;object-fit:cover}.public-specimen-owner>span{display:grid;place-items:center;background:#4b2a75;font-weight:900}.public-specimen-owner a{display:block;color:#fff!important;font-size:.8rem;font-weight:800}.public-specimen-owner small{display:block;color:#9f92ad;font-size:.65rem}.public-specimen-title>span{display:inline-flex;margin-bottom:5px;padding:4px 7px;border-radius:6px;color:#09140f;background:#75eac6;font-size:.62rem;font-weight:900}.public-specimen-title h1{margin:0;font-size:clamp(2rem,5vw,4rem);line-height:1;letter-spacing:-.045em}.specimen-formula{margin-top:7px;color:#d2c3df;font-size:1rem}
.public-specimen-photos{display:grid;gap:3px;background:#09050d}.public-specimen-photos a{overflow:hidden;min-height:210px;cursor:zoom-in}.public-specimen-photos img{width:100%;height:100%;object-fit:cover}.public-specimen-photos.count-1{grid-template-columns:1fr}.public-specimen-photos.count-2{grid-template-columns:repeat(2,1fr)}.public-specimen-photos.count-3,.public-specimen-photos.count-4{grid-template-columns:repeat(2,1fr)}.public-specimen-photos.count-5{grid-template-columns:repeat(6,1fr)}.public-specimen-photos.count-5 a:nth-child(-n+2){grid-column:span 3}.public-specimen-photos.count-5 a:nth-child(n+3){grid-column:span 2}
.public-specimen-section{padding:20px 22px;border-top:1px solid rgba(190,151,236,.11)}.public-specimen-section:first-of-type{border-top:0}.public-specimen-section h2{margin:0 0 14px;font-size:1.02rem}.public-specimen-section h3{margin:12px 0 5px;color:#bcaed0;font-size:.72rem;text-transform:uppercase;letter-spacing:.08em}.public-specimen-section p{margin:0;color:#d8cfdf;font-size:.8rem;line-height:1.6}.public-specimen-section.highlight{background:linear-gradient(90deg,rgba(104,48,170,.10),rgba(116,243,201,.035))}.specimen-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.specimen-facts>div{padding:11px;border:1px solid rgba(190,151,236,.11);border-radius:9px;background:rgba(255,255,255,.025)}.specimen-facts small,.specimen-facts strong{display:block}.specimen-facts small{margin-bottom:3px;color:#9f92ad;font-size:.62rem}.specimen-facts strong{font-size:.76rem;font-weight:700;overflow-wrap:anywhere}.public-specimen-columns{display:grid;grid-template-columns:1fr 1fr}.public-specimen-columns>.public-specimen-section{border-right:1px solid rgba(190,151,236,.11)}.section-title-row{display:flex;align-items:center;justify-content:space-between}.section-title-row span{padding:3px 7px;border-radius:999px;background:rgba(169,128,255,.12);font-size:.65rem}.specimen-test-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:7px}.specimen-test-list a{display:flex;flex-direction:column;padding:10px;border:1px solid rgba(190,151,236,.11);border-radius:9px;color:#fff!important;background:rgba(255,255,255,.025)}.specimen-test-list strong{font-size:.75rem}.specimen-test-list span,.specimen-test-list small{color:#a99db5;font-size:.63rem}.public-specimen-footer{display:flex;justify-content:space-between;gap:12px;padding:11px 22px;color:#8f829a;border-top:1px solid rgba(190,151,236,.10);font-size:.61rem}.report-panel{margin:0 22px 20px;padding:10px;border:1px solid rgba(255,100,120,.14);border-radius:9px}.public-comments-card{padding:18px 20px}.public-comments-card>h2{font-size:1rem}.public-comment{display:grid;grid-template-columns:36px 1fr auto;gap:9px;padding:10px 0;border-bottom:1px solid rgba(190,151,236,.09)}.public-comment-avatar img,.public-comment-avatar span{width:36px;height:36px;border-radius:50%;object-fit:cover}.public-comment-avatar span{display:grid;place-items:center;background:#432568;font-weight:900}.public-comment strong,.public-comment small{display:block}.public-comment strong{font-size:.73rem}.public-comment small{color:#978b9f;font-size:.61rem}.public-comment p{margin:5px 0 0;font-size:.76rem}.public-comment-form{display:flex;gap:8px;margin-top:14px}.public-comment-form textarea{min-height:44px!important;max-height:120px}.public-comment-form button{align-self:flex-end;white-space:nowrap}

@media(max-width:760px){.emoji-picker{grid-template-columns:repeat(6,1fr)}.fbpc-options{grid-template-columns:1fr}.specimen-facts{grid-template-columns:1fr 1fr}.public-specimen-columns{grid-template-columns:1fr}.specimen-test-list{grid-template-columns:1fr}.public-specimen-footer{flex-direction:column}.public-comment-form{flex-direction:column}}
@media(max-width:500px){.specimen-facts{grid-template-columns:1fr}.public-specimen-title h1{font-size:2.25rem}.public-specimen-photos.count-2,.public-specimen-photos.count-3,.public-specimen-photos.count-4,.public-specimen-photos.count-5{grid-template-columns:1fr}.public-specimen-photos.count-5 a{grid-column:auto!important}}


/* V6 clean profile minerals, audience, inline mentions, post cards */
.profile-mineral-list{display:grid;gap:8px}.profile-mineral-row{display:grid;grid-template-columns:46px minmax(0,1fr) auto;align-items:center;gap:12px;padding:11px 13px;border:1px solid rgba(188,143,235,.14);border-radius:13px;background:rgba(19,11,29,.78);color:#f5effb!important;transition:.15s}.profile-mineral-row:hover{border-color:rgba(119,232,197,.38);background:rgba(34,20,48,.88);transform:translateY(-1px)}.profile-mineral-thumb{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(119,232,197,.18);border-radius:11px;background:radial-gradient(circle at 50% 35%,rgba(119,232,197,.18),rgba(78,41,126,.08));color:#77e8c5;font-size:1.05rem}.profile-mineral-main{min-width:0}.profile-mineral-main strong{display:block;font-size:.83rem}.profile-mineral-main small{display:flex;flex-wrap:wrap;gap:5px 10px;margin-top:3px;color:#aa9cb8;font-size:.66rem}.profile-mineral-main small span+span:before{content:'•';margin-right:10px;color:#665774}.profile-mineral-main em{display:block;margin-top:4px;color:#8f809d;font-size:.64rem;font-style:normal}.profile-mineral-open{color:#77e8c5;font-size:.69rem;font-weight:800;white-space:nowrap}
.social-post-head{display:flex;align-items:center;gap:10px;padding:14px 15px!important;border-bottom:1px solid rgba(188,143,235,.1)}.social-post-author{display:flex;align-items:center;gap:9px;color:#fff!important;min-width:0}.social-post-author img,.social-post-author>span{width:38px;height:38px;border-radius:50%;object-fit:cover}.social-post-author>span{display:grid;place-items:center;background:#4e297e;font-weight:900}.social-post-author div{display:grid}.social-post-author b{font-size:.78rem}.social-post-author small{color:#9688a3;font-size:.62rem}.post-audience{display:inline-flex;align-items:center;gap:4px;padding:3px 7px;border:1px solid rgba(188,143,235,.15);border-radius:999px;color:#a99bb7;font-size:.6rem;font-weight:700;white-space:nowrap}.post-audience.public{color:#77e8c5}.post-audience.followers{color:#bda3ff}.post-audience.private{color:#a89daf}.feed-post>.post-rich-body,.community-post-detail>.post-rich-body{padding:13px 15px!important;margin:0!important}.feed-post footer{display:flex;gap:18px;padding:10px 15px!important}.post-owner-actions{padding:9px 15px!important}.inline-mention{display:inline-flex;align-items:center;padding:1px 5px;border-radius:6px;color:#d8c6ff!important;background:rgba(157,101,244,.13);font-weight:700;text-decoration:none!important;box-shadow:inset 0 0 0 1px rgba(178,134,255,.15)}.inline-mention.mention-person{color:#9af1d5!important;background:rgba(86,220,178,.1)}
.comment-input-wrap{position:relative;display:flex;align-items:flex-end;gap:6px}.comment-input-wrap textarea{padding-right:44px!important;min-height:54px!important}.comment-emoji-toggle{position:absolute;right:8px;bottom:8px;width:30px;height:30px;border:0;border-radius:50%;background:transparent;font-size:1rem}.mention-comment-form{display:grid;gap:7px;position:relative}.mention-comment-form .mention-popover{top:auto;bottom:calc(100% + 5px);left:0;width:min(470px,100%)}
.community-post-detail{overflow:hidden}.community-post-detail>.post-media-grid,.community-post-detail>.post-media-slider{margin:0!important}.post-comments article{border-radius:12px;background:rgba(255,255,255,.018)}
