/*
 * Luxoria v18.74.3 — Unified Member Pages
 * Embeds profile completion, account settings and support inside the normal
 * member shell and finishes remaining Luxury Light surfaces.
 */
html[data-theme="light"]{
  --lux743-card:#fffdfa;
  --lux743-card-alt:#faf7f1;
  --lux743-lavender:#f6f0fb;
  --lux743-text:#25262b;
  --lux743-copy:#62646b;
  --lux743-muted:#85878d;
  --lux743-gold:#d8a743;
  --lux743-gold-dark:#a87518;
  --lux743-border:rgba(166,126,63,.18);
  --lux743-border-strong:rgba(190,137,39,.36);
  --lux743-divider:rgba(82,64,42,.09);
  --lux743-shadow:0 8px 24px rgba(67,45,20,.055),inset 0 1px 0 rgba(255,255,255,.94);
  --lux743-shadow-hover:0 13px 32px rgba(67,45,20,.085),inset 0 1px 0 rgba(255,255,255,.96);
}

/* The phase-two content area is the only vertical scroller in the viewport. */
@media(min-width:761px){
  html[data-theme="light"] body:not(.chat-window-mode-v1860) .community-main,
  html[data-theme="light"] body:not(.chat-window-mode-v1860) .phase-two-main{
    min-height:0!important;
    overflow-x:hidden!important;
    overflow-y:auto!important;
    overscroll-behavior:contain!important;
    -webkit-overflow-scrolling:touch!important;
    scrollbar-gutter:stable!important;
    padding-bottom:48px!important;
  }
}

/* -------------------------------------------------------------------------
   Embedded Complete Profile
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .completion-shell-embedded-v18743{
  width:100%!important;
  max-width:1280px!important;
  min-height:0!important;
  height:auto!important;
  margin:0 auto!important;
  padding:0 0 56px!important;
  overflow:visible!important;
  color:var(--lux743-text)!important;
  background:transparent!important;
}
html[data-theme="light"] body .completion-overview-v18743{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:20px!important;
  margin:0 0 16px!important;
  padding:20px 22px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:20px!important;
  color:var(--lux743-text)!important;
  background:linear-gradient(135deg,#fffdfa 0%,#fbf6ea 68%,#f7f1fb 100%)!important;
  box-shadow:var(--lux743-shadow)!important;
}
html[data-theme="light"] body .completion-overview-v18743 small{
  color:var(--lux743-gold-dark)!important;
  letter-spacing:.13em!important;
}
html[data-theme="light"] body .completion-overview-v18743 h2{
  margin:4px 0!important;
  color:var(--lux743-text)!important;
  font-size:clamp(22px,2vw,30px)!important;
}
html[data-theme="light"] body .completion-overview-v18743 p{
  margin:0!important;
  color:var(--lux743-copy)!important;
}
html[data-theme="light"] body .completion-overview-v18743 .completion-ring{
  position:relative!important;
  inset:auto!important;
  flex:0 0 106px!important;
  width:106px!important;
  height:106px!important;
  display:grid!important;
  place-content:center!important;
  text-align:center!important;
  border:1px solid rgba(133,86,223,.24)!important;
  border-radius:50%!important;
  color:#8050cc!important;
  background:radial-gradient(circle,#fffdfa 45%,#f2eafb 100%)!important;
  box-shadow:0 10px 30px rgba(112,74,168,.10),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body .completion-overview-v18743 .completion-ring strong{
  color:#8050cc!important;
  font-size:23px!important;
}
html[data-theme="light"] body .completion-overview-v18743 .completion-ring span{
  color:var(--lux743-muted)!important;
  font-size:10px!important;
  text-transform:uppercase!important;
  letter-spacing:.09em!important;
}
html[data-theme="light"] body .completion-shell-embedded-v18743 .completion-card{
  margin-bottom:15px!important;
  padding:20px!important;
  overflow:visible!important;
  color:var(--lux743-text)!important;
  background:linear-gradient(145deg,#fffdfa,#faf7f1)!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:19px!important;
  box-shadow:var(--lux743-shadow)!important;
}
html[data-theme="light"] body .completion-shell-embedded-v18743 .completion-form{
  display:block!important;
  min-height:0!important;
  overflow:visible!important;
}
html[data-theme="light"] body .completion-shell-embedded-v18743 .completion-actions{
  position:static!important;
  inset:auto!important;
  margin-top:16px!important;
  padding:16px 18px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:17px!important;
  background:rgba(255,253,250,.96)!important;
  box-shadow:var(--lux743-shadow)!important;
}

/* -------------------------------------------------------------------------
   Embedded Member Control Center
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .account-settings-shell-embedded-v18743{
  width:100%!important;
  max-width:1180px!important;
  margin:0 auto!important;
  padding:0 0 56px!important;
  color:var(--lux743-text)!important;
  background:transparent!important;
}
html[data-theme="light"] body .account-settings-shell-embedded-v18743 .account-settings-nav{
  position:sticky!important;
  z-index:8!important;
  top:0!important;
  display:flex!important;
  flex-wrap:wrap!important;
  gap:8px!important;
  margin:0 0 14px!important;
  padding:10px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:16px!important;
  background:rgba(255,253,249,.94)!important;
  box-shadow:0 7px 20px rgba(67,45,20,.045)!important;
  backdrop-filter:blur(14px)!important;
}
html[data-theme="light"] body .account-settings-shell-embedded-v18743 .account-settings-nav a{
  min-height:40px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  padding:0 15px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:999px!important;
  color:#5b4a35!important;
  background:#fffdfa!important;
  box-shadow:none!important;
  text-decoration:none!important;
}
html[data-theme="light"] body .account-settings-shell-embedded-v18743 .account-settings-nav a:hover{
  color:#704b0e!important;
  border-color:var(--lux743-border-strong)!important;
  background:linear-gradient(135deg,#fff4d8,#f2eafb)!important;
}
html[data-theme="light"] body .account-settings-shell-embedded-v18743 .account-setting-card{
  margin:0 0 13px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:18px!important;
  background:#fffdfa!important;
  box-shadow:var(--lux743-shadow)!important;
}

/* -------------------------------------------------------------------------
   Embedded Support Center
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .member-support-shell-embedded-v18743{
  width:100%!important;
  max-width:1280px!important;
  margin:0 auto!important;
  padding:0 0 48px!important;
  color:var(--lux743-text)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-layout{
  display:grid!important;
  grid-template-columns:minmax(250px,310px) minmax(0,1fr)!important;
  min-height:min(680px,calc(100dvh - 190px))!important;
  overflow:hidden!important;
  border:1px solid var(--lux743-border-strong)!important;
  border-radius:22px!important;
  color:var(--lux743-text)!important;
  background:#fffdfa!important;
  box-shadow:var(--lux743-shadow)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar{
  display:flex!important;
  flex-direction:column!important;
  min-width:0!important;
  padding:12px!important;
  overflow:auto!important;
  border:0!important;
  border-right:1px solid var(--lux743-divider)!important;
  color:var(--lux743-text)!important;
  background:linear-gradient(180deg,#faf7f1,#fffdfa)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>button{
  margin:0 0 10px!important;
  padding:12px 14px!important;
  border:1px solid rgba(173,112,17,.42)!important;
  border-radius:13px!important;
  color:#69470e!important;
  background:linear-gradient(180deg,#f5d786,#e8b84d)!important;
  box-shadow:0 6px 15px rgba(198,138,31,.16),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>a{
  display:grid!important;
  gap:5px!important;
  margin:3px 0!important;
  padding:13px!important;
  border:1px solid transparent!important;
  border-radius:13px!important;
  color:var(--lux743-text)!important;
  background:transparent!important;
  text-decoration:none!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>a:hover,
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>a.active{
  border-color:rgba(190,137,39,.22)!important;
  color:#704b0e!important;
  background:linear-gradient(90deg,#fff8e8,#f5effb)!important;
  box-shadow:inset 2px 0 var(--lux743-gold)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>a strong{
  color:inherit!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar>a span{
  color:var(--lux743-muted)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-thread{
  min-width:0!important;
  min-height:0!important;
  color:var(--lux743-text)!important;
  background:linear-gradient(180deg,#fffdfa,#fbf8f3)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-messages{
  padding:20px!important;
  overflow:auto!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-message{
  max-width:min(78%,720px)!important;
  margin:10px 0!important;
  padding:13px 15px!important;
  border:1px solid var(--lux743-border)!important;
  border-radius:17px 17px 17px 6px!important;
  color:var(--lux743-text)!important;
  background:#fffdfa!important;
  box-shadow:0 6px 18px rgba(66,42,20,.045)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-message.mine{
  margin-left:auto!important;
  border-color:rgba(190,137,39,.24)!important;
  border-radius:17px 17px 6px 17px!important;
  color:#5b3c0e!important;
  background:linear-gradient(135deg,#f8e3b2,#efd17f)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-message small{
  color:var(--lux743-muted)!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-message p{
  color:inherit!important;
}
html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-member-reply{
  position:sticky!important;
  bottom:0!important;
  display:grid!important;
  grid-template-columns:minmax(0,1fr) auto auto!important;
  gap:8px!important;
  padding:12px!important;
  border-top:1px solid var(--lux743-divider)!important;
  background:rgba(255,253,249,.96)!important;
  box-shadow:0 -8px 24px rgba(67,45,20,.045)!important;
}
html[data-theme="light"] body .member-support-dialog{
  color:var(--lux743-text)!important;
  background:#fffdfa!important;
  border:1px solid var(--lux743-border-strong)!important;
  border-radius:20px!important;
  box-shadow:0 28px 75px rgba(67,45,20,.18)!important;
}
html[data-theme="light"] body .member-support-dialog :where(h2,strong,label){color:var(--lux743-text)!important}
html[data-theme="light"] body .member-support-dialog :where(p,small,span){color:var(--lux743-copy)!important}

/* -------------------------------------------------------------------------
   Membership — remove all remaining dark plates.
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .membership-summary,
html[data-theme="light"] body .membership-plan-card,
html[data-theme="light"] body .membership-danger-zone,
html[data-theme="light"] body .membership-control-card,
html[data-theme="light"] body .membership-action-dialog{
  color:var(--lux743-text)!important;
  background:linear-gradient(145deg,#fffdfa,#faf7f1)!important;
  border:1px solid var(--lux743-border)!important;
  box-shadow:var(--lux743-shadow)!important;
}
html[data-theme="light"] body .membership-summary{
  border-radius:19px!important;
}
html[data-theme="light"] body .membership-summary small,
html[data-theme="light"] body .membership-plan-card header small,
html[data-theme="light"] body .membership-danger-zone>header small,
html[data-theme="light"] body .membership-action-dialog>small{
  color:var(--lux743-gold-dark)!important;
}
html[data-theme="light"] body .membership-summary :where(h2,strong),
html[data-theme="light"] body .membership-plan-card :where(h2,h3,strong),
html[data-theme="light"] body .membership-danger-zone :where(h2,h3,strong),
html[data-theme="light"] body .membership-action-dialog :where(h2,strong,label){
  color:var(--lux743-text)!important;
}
html[data-theme="light"] body .membership-summary p,
html[data-theme="light"] body .membership-plan-card p,
html[data-theme="light"] body .membership-danger-zone p,
html[data-theme="light"] body .membership-control-card p,
html[data-theme="light"] body .membership-action-dialog p{
  color:var(--lux743-copy)!important;
}
html[data-theme="light"] body .membership-pending{
  color:#704b0e!important;
  background:#fff8e8!important;
  border-color:var(--lux743-border-strong)!important;
}
html[data-theme="light"] body .membership-pay-now{
  color:#69470e!important;
  background:linear-gradient(180deg,#f5d786,#e8b84d)!important;
}
html[data-theme="light"] body .membership-catalogue{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:14px!important;
}
html[data-theme="light"] body .membership-plan-card{
  border-radius:19px!important;
  overflow:hidden!important;
}
html[data-theme="light"] body .membership-plan-card.current{
  border-color:rgba(190,137,39,.52)!important;
  background:linear-gradient(145deg,#fffdfa 0%,#fff8e9 70%,#f6f0fb 100%)!important;
  box-shadow:0 15px 36px rgba(107,72,25,.10),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body .membership-price strong{
  color:#ad7416!important;
}
html[data-theme="light"] body .membership-price span,
html[data-theme="light"] body .membership-plan-card ul{
  color:var(--lux743-copy)!important;
}
html[data-theme="light"] body .membership-plan-card li::marker{color:var(--lux743-gold)!important}
html[data-theme="light"] body .membership-current-button,
html[data-theme="light"] body .membership-plan-card button:not(:disabled){
  color:#69470e!important;
  border:1px solid rgba(173,112,17,.42)!important;
  background:linear-gradient(180deg,#f5d786,#e8b84d)!important;
  box-shadow:0 6px 15px rgba(198,138,31,.16),inset 0 1px 0 rgba(255,255,255,.72)!important;
}
html[data-theme="light"] body .membership-plan-card button:disabled{
  color:#909198!important;
  border-color:var(--lux743-border)!important;
  background:#f1eee8!important;
}
html[data-theme="light"] body .membership-danger-zone{
  margin-top:16px!important;
  border-radius:20px!important;
}
html[data-theme="light"] body .membership-control-grid{
  gap:12px!important;
}
html[data-theme="light"] body .membership-control-card{
  border-radius:16px!important;
  box-shadow:none!important;
}
html[data-theme="light"] body .membership-control-card.inactive{
  opacity:.72!important;
  background:#f5f2ec!important;
}
html[data-theme="light"] body .membership-control-card>button{
  color:#9b3e42!important;
  border:1px solid rgba(177,65,70,.28)!important;
  background:#fff3f2!important;
  box-shadow:none!important;
}
html[data-theme="light"] body .membership-action-modal{
  background:rgba(56,48,39,.27)!important;
  backdrop-filter:blur(6px)!important;
}
html[data-theme="light"] body .membership-action-dialog{
  border-radius:21px!important;
}
html[data-theme="light"] body .membership-action-dialog :where(input,select,textarea){
  color:var(--lux743-text)!important;
  background:#fffdfa!important;
  border-color:var(--lux743-border)!important;
}

/* -------------------------------------------------------------------------
   Feed upcoming event: cover above, content below.
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865{
  display:grid!important;
  grid-template-columns:minmax(0,1fr)!important;
  gap:13px!important;
  align-items:start!important;
}
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865>img,
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865>.feed-event-placeholder-v1865{
  width:100%!important;
  max-width:none!important;
  height:180px!important;
  min-height:180px!important;
  border-radius:14px!important;
  object-fit:cover!important;
}
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865>div{
  min-width:0!important;
  padding:0 2px!important;
}
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865 h3{
  margin:0 0 7px!important;
  font-size:21px!important;
}
html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865 p{
  margin:0 0 10px!important;
}

/* -------------------------------------------------------------------------
   Post ownership menu: remove black trigger/panel and light-edit dialog.
   ------------------------------------------------------------------------- */
html[data-theme="light"] body .feed-owner-menu-trigger-v1870{
  color:#5f5548!important;
  background:linear-gradient(145deg,#fffdfa,#f6f0fb)!important;
  border:1px solid var(--lux743-border)!important;
  box-shadow:0 5px 14px rgba(67,45,20,.05),inset 0 1px 0 #fff!important;
}
html[data-theme="light"] body .feed-owner-menu-trigger-v1870:hover,
html[data-theme="light"] body .feed-owner-menu-trigger-v1870[aria-expanded="true"]{
  color:#8050cc!important;
  border-color:rgba(133,86,223,.28)!important;
  background:#f7f1fc!important;
}
html[data-theme="light"] body .feed-owner-menu-panel-v1870{
  color:var(--lux743-text)!important;
  background:rgba(255,253,249,.985)!important;
  border:1px solid var(--lux743-border)!important;
  box-shadow:0 18px 45px rgba(67,45,20,.14)!important;
  backdrop-filter:blur(16px)!important;
}
html[data-theme="light"] body .feed-owner-menu-panel-v1870>button,
html[data-theme="light"] body .feed-owner-menu-panel-v1870 form button{
  color:#4f5157!important;
  background:transparent!important;
}
html[data-theme="light"] body .feed-owner-menu-panel-v1870>button:hover,
html[data-theme="light"] body .feed-owner-menu-panel-v1870 form button:hover{
  color:#704b0e!important;
  background:linear-gradient(90deg,#fff8e8,#f5effb)!important;
}
html[data-theme="light"] body .feed-owner-menu-panel-v1870 form button.danger{
  color:#b64a4d!important;
}
html[data-theme="light"] body .feed-post-edit-dialog-v1870{
  color:var(--lux743-text)!important;
  background:#fffdfa!important;
  border-color:var(--lux743-border-strong)!important;
  box-shadow:0 30px 80px rgba(67,45,20,.20)!important;
}
html[data-theme="light"] body .feed-post-edit-dialog-v1870::backdrop{
  background:rgba(56,48,39,.27)!important;
  backdrop-filter:blur(7px)!important;
}
html[data-theme="light"] body .feed-post-edit-form-v1870 :where(h2,strong,label){color:var(--lux743-text)!important}
html[data-theme="light"] body .feed-post-edit-form-v1870 :where(p,small,span){color:var(--lux743-copy)!important}
html[data-theme="light"] body .feed-post-edit-form-v1870 header>button{
  color:#65676e!important;
  background:#fffdfa!important;
  border-color:var(--lux743-border)!important;
}

@media(max-width:1100px){
  html[data-theme="light"] body .membership-catalogue{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:800px){
  html[data-theme="light"] body .completion-shell-embedded-v18743,
  html[data-theme="light"] body .account-settings-shell-embedded-v18743,
  html[data-theme="light"] body .member-support-shell-embedded-v18743{
    padding-bottom:max(30px,env(safe-area-inset-bottom))!important;
  }
  html[data-theme="light"] body .completion-overview-v18743{
    align-items:flex-start!important;
  }
  html[data-theme="light"] body .completion-overview-v18743 .completion-ring{
    flex-basis:86px!important;width:86px!important;height:86px!important;
  }
  html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-layout{
    grid-template-columns:1fr!important;
    min-height:0!important;
  }
  html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-sidebar{
    max-height:260px!important;
    border-right:0!important;
    border-bottom:1px solid var(--lux743-divider)!important;
  }
  html[data-theme="light"] body .member-support-shell-embedded-v18743 .member-support-thread{
    min-height:520px!important;
  }
  html[data-theme="light"] body .member-support-shell-embedded-v18743 .support-member-reply{
    grid-template-columns:1fr!important;
  }
}
@media(max-width:680px){
  html[data-theme="light"] body .membership-catalogue{grid-template-columns:1fr!important}
  html[data-theme="light"] body .completion-overview-v18743{padding:16px!important}
  html[data-theme="light"] body .completion-shell-embedded-v18743 .completion-card{padding:16px!important}
  html[data-theme="light"] body .account-settings-shell-embedded-v18743 .account-settings-nav{
    position:static!important;
  }
  html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865>img,
  html[data-theme="light"] body .feed-event-widget-v1865 .feed-event-preview-v1865>.feed-event-placeholder-v1865{
    height:160px!important;min-height:160px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  html[data-theme="light"] body :where(.feed-owner-menu-trigger-v1870,.membership-plan-card,.support-message){transition:none!important}
}
