/* CoreThemeSurfaces/v1
   Late theme layer: structural regions use horizontal rhythm; bounded cards are
   reserved for real entities, inputs and overlays. */
body.public-mode.header-modern_icons {
  overflow-x: clip;
}

@media (min-width: 861px) {
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line {
    --cm-surface-divider: rgba(255, 255, 255, 0.10);
    --cm-surface-divider-soft: rgba(255, 255, 255, 0.065);
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .frontend-toolbar,
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .groups-heading {
    padding: 18px 0 20px;
    border: 0;
    border-top: 1px solid var(--cm-surface-divider);
    border-bottom: 1px solid var(--cm-surface-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .profile-panel {
    padding: 20px 0;
    border: 0;
    border-top: 1px solid var(--cm-surface-divider);
    border-bottom: 1px solid var(--cm-surface-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .dating-card {
    padding: 0 0 16px;
    border: 0;
    border-bottom: 1px solid var(--cm-surface-divider-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .dating-card-photo {
    border-radius: 4px;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .groups-grid {
    gap: 0 24px;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .group-card {
    border: 0;
    border-top: 1px solid var(--cm-surface-divider);
    border-bottom: 1px solid var(--cm-surface-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line .browse-card {
    border-color: var(--cm-surface-divider-soft);
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-public {
    width: 100%;
    max-width: none;
    gap: 18px;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-card {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-public__hero {
    padding: 28px 0 30px;
    border: 0;
    border-top: 1px solid var(--cm-surface-divider);
    border-bottom: 1px solid var(--cm-surface-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-public__hero h1 {
    max-width: 980px;
    font-size: clamp(2.4rem, 4vw, 3.6rem);
    line-height: 1;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-grid {
    gap: 0 24px;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.blog-page .content-card-public {
    padding: 20px 0 24px;
    border: 0;
    border-bottom: 1px solid var(--cm-surface-divider-soft);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-shell {
    border: 0;
    border-top: 1px solid var(--cm-surface-divider);
    border-bottom: 1px solid var(--cm-surface-divider);
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-sidebar,
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-thread {
    background: transparent;
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-sidebar {
    border-right-color: var(--cm-surface-divider);
  }

  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-sidebar-header,
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-thread-header,
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-contact,
  body.public-mode.theme-velvet.border-density-minimal.section-divider-line.messages-page .messages-composer {
    border-color: var(--cm-surface-divider-soft);
  }
}
