
/*
 SEGREDUS LIGHT V6
 Consolidated light-only theme.
 No selectors for Dark.
*/

body.sg-theme-light {
  --l-bg:#f6f7f9;
  --l-white:#ffffff;
  --l-text:#252630;
  --l-secondary:#646a78;
  --l-muted:#858a97;
  --l-border:#e3e5ec;
  --l-pink:#ed2988;
  --l-pink-soft:#fff0f7;
  --l-shadow:0 6px 24px rgba(25,28,42,.05);
  background:var(--l-bg)!important;
  color:var(--l-text)!important;
  color-scheme:light;
}

/* STRUCTURE */

body.sg-theme-light #seg-desktop-site,
body.sg-theme-light #seg-mobile-app,
body.sg-theme-light .main,
body.sg-theme-light .sm8-app {
  background:var(--l-bg)!important;
  color:var(--l-text)!important;
}

/* PROFILE MAIN SURFACES */

body.sg-theme-light :is(
  .seg-r12-panel,
  .sp-card,
  .sp-content,
  .sp-pane,
  .sm15-profile,
  .sm8-profilebox,
  [data-sgl-v6="profile"],
  [data-sgl-v6="visitors"],
  [data-sgl-v6="video-actions"]
) {
  background:var(--l-white)!important;
  background-image:none!important;
  color:var(--l-text)!important;
  border-color:var(--l-border)!important;
  box-shadow:var(--l-shadow)!important;
}

/* PROFILE HEADER */

body.sg-theme-light :is(
  .seg-r12-hero,
  .seg-r12-profile,
  .seg-r12-profilewrap,
  [data-sgl-v6="profile"]
) {
  background:var(--l-white)!important;
  background-image:none!important;
  color:var(--l-text)!important;
}

body.sg-theme-light [data-sgl-v6="profile"] {
  border:1px solid var(--l-border)!important;
  border-radius:22px!important;
  overflow:hidden;
}

body.sg-theme-light [data-sgl-v6="profile"] :is(
  h1,h2,h3,strong,b
) {
  color:var(--l-text)!important;
  -webkit-text-fill-color:var(--l-text)!important;
  text-shadow:none!important;
  opacity:1!important;
}

body.sg-theme-light [data-sgl-v6="profile"] :is(
  p,small
) {
  color:var(--l-secondary)!important;
  -webkit-text-fill-color:var(--l-secondary)!important;
}

/* Preserve the cover photograph if there is one */

body.sg-theme-light :is(
  .seg-r12-cover,
  .sm15-image,
  [class*="cover-image"]
) img {
  opacity:1!important;
  filter:none!important;
}

body.sg-theme-light .seg-r12-cover {
  background-color:#ece4ef!important;
}

/* PROFILE NAME AND NUMBERS */

body.sg-theme-light :is(
  .seg-r12-profile,
  .seg-r12-hero,
  .sm15-profileinfo,
  [data-sgl-v6="profile"]
) :is(h1,.username,.member-name) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
  opacity:1!important;
  visibility:visible!important;
  text-shadow:none!important;
}

body.sg-theme-light :is(
  .seg-r12-stats,
  .seg-r12-profilecounts,
  .sm15-profilecounts,
  [data-sgl-v6="profile"]
) :is(strong,b) {
  color:#24242c!important;
  -webkit-text-fill-color:#24242c!important;
  opacity:1!important;
}

/* PROFILE META AND STATISTICS */

body.sg-theme-light :is(
  .seg-r12-meta,
  .seg-r12-stats,
  .seg-r12-profilecounts,
  .sm15-profilecounts,
  .seg-r12-statline
) {
  background:transparent!important;
  background-image:none!important;
  color:var(--l-secondary)!important;
  border-color:var(--l-border)!important;
}

body.sg-theme-light :is(
  .seg-r12-meta,
  .seg-r12-stats,
  .seg-r12-profilecounts,
  .sm15-profilecounts
) :is(span,small,p) {
  color:var(--l-secondary)!important;
  -webkit-text-fill-color:var(--l-secondary)!important;
}

/* VISITORS BOX */

body.sg-theme-light [data-sgl-v6="visitors"] {
  background:#fff!important;
  background-image:none!important;
  border:1px solid var(--l-border)!important;
  border-radius:20px!important;
}

body.sg-theme-light [data-sgl-v6="visitors"] :is(
  h1,h2,h3,strong,b
) {
  color:var(--l-text)!important;
  -webkit-text-fill-color:var(--l-text)!important;
  opacity:1!important;
}

body.sg-theme-light [data-sgl-v6="visitors"] :is(
  p,small
) {
  color:var(--l-secondary)!important;
  -webkit-text-fill-color:var(--l-secondary)!important;
}

/* VIDEO ACTIONS */

body.sg-theme-light [data-sgl-v6="video-actions"] {
  background:#fff!important;
  background-image:none!important;
  border:1px solid var(--l-border)!important;
  border-radius:20px!important;
  padding:16px!important;
}

body.sg-theme-light [data-sgl-v6="video-actions"] a {
  background:#f7f7fa!important;
  background-image:none!important;
  color:#45394c!important;
  -webkit-text-fill-color:#45394c!important;
  border:1px solid #e4e0e8!important;
  box-shadow:none!important;
  border-radius:14px!important;
}

body.sg-theme-light [data-sgl-v6="video-actions"] a:first-child {
  background:var(--l-pink)!important;
  color:white!important;
  -webkit-text-fill-color:white!important;
  border-color:var(--l-pink)!important;
}

/* WHITE PROFILE PANELS */

body.sg-theme-light :is(
  .seg-r12-panel,
  .sp-card,
  .sp-pane
) :is(h2,h3,strong,b) {
  color:var(--l-text)!important;
  -webkit-text-fill-color:var(--l-text)!important;
}

body.sg-theme-light :is(
  .seg-r12-panel,
  .sp-card,
  .sp-pane
) :is(p,small) {
  color:var(--l-secondary)!important;
}

/* MEMBER LIST CARDS */

body.sg-theme-light .sm8-grid a {
  border-color:var(--l-border)!important;
}

body.sg-theme-light :is(
  .sm8-card,
  .sm8-grid [data-sgl-v6="member-info"]
) {
  background:#fff!important;
  color:var(--l-text)!important;
}

body.sg-theme-light .sm8-grid [data-sgl-v6="member-info"] :is(
  strong,b,h3
) {
  color:var(--l-text)!important;
  -webkit-text-fill-color:var(--l-text)!important;
  opacity:1!important;
  visibility:visible!important;
}

body.sg-theme-light .sm8-grid [data-sgl-v6="member-info"] small {
  color:var(--l-secondary)!important;
  -webkit-text-fill-color:var(--l-secondary)!important;
}

/* TABS */

body.sg-theme-light :is(.sp-tabs,.seg-r12-tabs) {
  background:#f7f7fa!important;
  background-image:none!important;
  border-color:var(--l-border)!important;
}

body.sg-theme-light :is(.sp-tabs,.seg-r12-tabs) :is(
  a,button
) {
  background:transparent!important;
  color:#626675!important;
  -webkit-text-fill-color:#626675!important;
}

body.sg-theme-light :is(.sp-tabs,.seg-r12-tabs) :is(
  .active,a.active,button.active
) {
  background:var(--l-pink)!important;
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
}

/* NORMAL SECONDARY CONTROLS */

body.sg-theme-light .seg-r12-panel :is(
  .seg-r12-chips span,.chip
) {
  background:#f4f3f7!important;
  color:#535362!important;
  -webkit-text-fill-color:#535362!important;
  border-color:#e4e1e9!important;
}

/* LINKS AND BUTTONS */

body.sg-theme-light .seg-r12-panel a:not(.btn) {
  color:#b72677;
}

body.sg-theme-light :is(
  .sm8-search button,
  .sm8-banner a,
  .sm8-chips a.current
) {
  background:var(--l-pink)!important;
  color:white!important;
  -webkit-text-fill-color:white!important;
}

/* Preserve slideshow overlays and badges */

body.sg-theme-light :is(
  .sgv4-hero,.sgfh-hero,.sg-hero-slider
) {
  background:#17101d!important;
  color:#fff!important;
}

body.sg-theme-light :is(
  .sgv4-text,.sgfh-caption,.sg-hero-content
) h2 {
  color:#f04498!important;
  -webkit-text-fill-color:#f04498!important;
}

/* Keep photo captions legible */

body.sg-theme-light :is(
  .seg-r12-thumb,.sm8-card
) img {
  opacity:1!important;
}

/* Navigation */

body.sg-theme-light .sm8-bottom {
  background:#fff!important;
  border-color:var(--l-border)!important;
}

body.sg-theme-light .sm8-bottom a {
  color:#737784!important;
}

body.sg-theme-light .sm8-bottom a.active {
  color:var(--l-pink)!important;
}
