/* LXBG 2.0: Demo account and community cutover – presentational CSS only.
   No auth, data, avatar, permissions, privacy or Singles gallery logic. */
body.lxbg-modern-theme:is(.lxbg-auth-modern,.lxbg-community-modern){
 --bg:#f4f8fe;--surface:#fff;--surface-soft:#f5f9ff;--text:#1d3656;
 --muted:#607b98;--line:#dbe7f6;--line-strong:#bed3ee;
 --blue:#2563eb;--blue-dark:#1d4ed8;--blue-soft:#eaf3ff;
 color:#1d3656!important;background:linear-gradient(180deg,#f5f9ff,#fff 64%,#f5f9ff)!important;
 color-scheme:light!important;accent-color:#2563eb;
}
html:has(body.lxbg-auth-modern),html:has(body.lxbg-community-modern){
 background:#f5f9ff!important;color-scheme:light!important;
}
body:is(.lxbg-auth-modern,.lxbg-community-modern) > main {
 background:transparent!important;color:#1d3656!important;min-width:0;
}
body:is(.lxbg-auth-modern,.lxbg-community-modern) footer{
 background:#fff!important;color:#57728f!important;
 border-top:1px solid #dbe7f6!important;
 box-shadow:0 -5px 20px rgba(30,74,140,.025)!important;
}
body:is(.lxbg-auth-modern,.lxbg-community-modern) footer a{color:#205dc7!important}
body.lxbg-auth-modern .auth{
 width:min(540px,calc(100% - 24px));margin:clamp(24px,5vw,52px) auto 64px;
}
body.lxbg-auth-modern .auth>.card{
 background:linear-gradient(160deg,#fff,#fafdff)!important;
 border:1px solid #dce7f6!important;border-top:4px solid #2563eb!important;
 border-radius:23px!important;box-shadow:0 22px 55px rgba(27,71,135,.085)!important;
 color:#1d3656!important;min-width:0;
}
body.lxbg-auth-modern .auth>.card h1{
 color:#173d74!important;-webkit-text-fill-color:#173d74!important;
 font-size:clamp(1.8rem,4vw,2.55rem);
}
body.lxbg-auth-modern .auth>.card :is(.eyebrow,.form label>span,.field-title){
 color:#265d9d!important;
}
body.lxbg-auth-modern .auth>.card :is(.muted,.form small){
 color:#607991!important;
}
body.lxbg-auth-modern .auth>.card :is(input:not([type=checkbox]):not([type=radio]),textarea,select){
 color:#183757!important;background:#fff!important;border:1px solid #bcd3ed!important;
 border-radius:11px!important;min-height:46px;
}
body.lxbg-auth-modern .auth>.card .btn.primary{
 background:linear-gradient(130deg,#2563eb,#3989f3)!important;
 border:1px solid #2563eb!important;color:#fff!important;
 border-radius:11px!important;box-shadow:0 9px 23px rgba(37,99,235,.18)!important;
}
body.lxbg-auth-modern .auth>.card .demo-credentials{
 background:#eef6ff!important;border:1px solid #c6ddf9!important;
 color:#1c456e!important;
}
body.lxbg-auth-modern .auth>.card .demo-credentials b{color:#2464ac!important}
body.lxbg-auth-modern .auth>.card .gender-card{
 background:#f4f9ff!important;border-color:#d1e2fa!important;color:#274b72!important;
}
body.lxbg-community-modern :is(.profile-final-card,.members-hero,.member-card,.member-detail-card,.friends-hero,.friend-card,.friends-panel,.members-search){
 background:#fff!important;border:1px solid #dbe7f6!important;
 color:#1c385a!important;box-shadow:0 12px 32px rgba(27,73,135,.055)!important;
}
body.lxbg-community-modern :is(.profile-final-shell,.members-shell,.member-detail-shell,.friends-shell){
 min-width:0;color:#1c385a!important;
}
body.lxbg-community-modern :is(.profile-final-name-row h1,.members-hero h1,.member-detail-name h1,.friends-hero h1){
 color:#153d70!important;
}
body.lxbg-community-modern :is(.profile-final-card h2,.member-detail-card h2,.friends-panel h2){
 color:#20466d!important;
}
body.lxbg-community-modern :is(.profile-final-card input,.profile-final-card textarea,.profile-final-card select,.members-search input,.friends-shell input){
 background:#fff!important;border-color:#c7d9ee!important;color:#163651!important;
}
body.lxbg-community-modern :is(.profile-final-side-actions .btn.primary,.members-search button,.friends-shell .btn.primary){
 background:linear-gradient(135deg,#2563eb,#3989f3)!important;color:#fff!important;
 border-color:#2563eb!important;
}
body.lxbg-community-modern :is(.member-detail-cover,.profile-final-progressbar){
 background:linear-gradient(125deg,#dcecff,#bdd9ff)!important;
}
body:is(.lxbg-auth-modern,.lxbg-community-modern) :is(a,button,input,select,textarea,summary):focus-visible {
 outline:3px solid #06b6d4!important;outline-offset:3px!important;
}
@media(max-width:740px){
 body.lxbg-auth-modern .auth{width:calc(100% - 18px);margin:14px auto 38px}
 body.lxbg-auth-modern .auth>.card{border-radius:17px!important;padding:clamp(18px,4vw,24px)}
 body.lxbg-community-modern :is(.members-shell,.member-detail-shell,.friends-shell,.profile-final-shell){
  width:calc(100% - 18px)!important;margin:12px auto 36px!important;
 }
 body:is(.lxbg-auth-modern,.lxbg-community-modern) .foot{padding:15px 0;gap:8px;line-height:1.55}
}
@media(prefers-reduced-motion:reduce){
 body:is(.lxbg-auth-modern,.lxbg-community-modern) *{transition:none!important}
}


/* Singles gallery embedded inside a member profile: keep photo-access code
   untouched; replace only the old charcoal/magenta presentation. */
body.lxbg-community-modern .member-detail-card .sg-member-gallery{
  color:#1e3e65!important;
  background:linear-gradient(150deg,#f8fbff,#edf5ff)!important;
  border-top:1px solid #d9e8f8!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-gallery h2{
  color:#184475!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-kicker,
body.lxbg-community-modern .member-detail-card .sg-member-photo-count{
  color:#2265ad!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-gallery-heading p,
body.lxbg-community-modern .member-detail-card .sg-member-no-photos{
  color:#587493!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-photo-count{
  background:#fff!important;border-color:#cbdff7!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-photo{
  border-color:#b8d5f5!important;background:#ddeafb!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-gallery-actions a,
body.lxbg-community-modern .member-detail-card .member-detail-actions a.btn.member-singles-gallery-btn,
body.lxbg-community-modern .member-detail-card .member-detail-actions form.singles-favorite-form button.singles-favorite-btn {
  background:#2563eb!important;border:1px solid #2563eb!important;color:#fff!important;
  text-shadow:none!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-gallery-actions a.sg-member-secondary{
  background:#fff!important;border:1px solid #bdd7f6!important;color:#205ca6!important;
}
body.lxbg-community-modern .member-detail-card .sg-member-photo-tags :is(b,small){
  background:#132e54ee!important;border-color:#6587b3!important;color:#fff!important;
}


/* Mobile polish after authenticated screenshots: keep login comfortable without
   Chrome Android text autosizing the demo access card to oversized paragraphs. */
body.lxbg-auth-modern{
  -webkit-text-size-adjust:100%;text-size-adjust:100%;
}
body.lxbg-auth-modern .auth{
  padding:0!important;box-sizing:border-box!important;
}
body.lxbg-auth-modern .auth>.card{
  width:100%;box-sizing:border-box;
}
body.lxbg-auth-modern .auth>.card .demo-credentials{
  max-width:100%;box-sizing:border-box;min-width:0;
  font-size:14px!important;line-height:1.5!important;
  overflow-wrap:anywhere;word-break:normal;
}
body.lxbg-auth-modern .auth>.card .demo-credentials :is(p,small,strong,b){
  font-size:inherit!important;line-height:1.5!important;
  overflow-wrap:anywhere;word-break:normal;
}
body.lxbg-auth-modern .auth>.card .demo-credentials b{
  display:block;font-size:15px!important;line-height:1.35!important;
}
body.lxbg-auth-modern .auth>.card .demo-credentials p{margin:8px 0!important}
body.lxbg-auth-modern .auth>.card .demo-credentials small{
  display:block;font-size:12px!important;
}
body.lxbg-auth-modern .auth>.card input{
  font-size:16px!important;max-width:100%;
}
@media(max-width:600px){
  body.lxbg-auth-modern .auth{
    margin:14px auto 36px!important;width:calc(100% - 20px)!important;
  }
  body.lxbg-auth-modern .auth>.card{
    padding:20px 18px!important;
  }
  body.lxbg-auth-modern .auth>.card h1{
    font-size:clamp(27px,7.5vw,34px)!important;
  }
  body.lxbg-auth-modern .auth>.card .demo-credentials{
    padding:15px!important;margin:18px 0!important;
  }
}
