/* =========================================================
   CREATE POST — DESKTOP
   обычная форма внутри страницы
   ========================================================= */
button.social-location{
    display: inline!important;
    width: auto!important;
    text-decoration: none!important;
    color: #3d4c5f!important
}
.people-checkout, .people-checkout-confirm{
        background: var(--white) !important;
            color: var(--color-text) !important;
}
.social-post:hover, .feed-suggest:hover{
    opacity: 0.93;
}
.social-post{
    cursor: pointer;
}
@media (min-width: 769px) {

  .mobile-create-sheet.desktop-create-open {
    position: relative;
    inset: auto;

    display: none;

    width: 100%;
    max-width: 900px;

    margin: 0 auto;

    background: transparent;
    color: var(--ink);
  }

  .mobile-create-sheet.desktop-create-open.is-open {
    display: block;
  }


  /* =========================
     HEADER
     ========================= */

  .desktop-create-open .mobile-create-head {
    min-height: 64px;

    display: flex;
    align-items: center;

    padding: 0;

    border-bottom: 1px solid var(--line);

    background: transparent;
  }

  .desktop-create-open .mobile-create-head strong {
    flex: 1;

    color: var(--ink);

    font-size: 18px;
    font-weight: 760;
    letter-spacing: -.3px;
  }

  .desktop-create-open .mobile-create-head button {
    border: 0;
    background: transparent;

    font: inherit;

    cursor: pointer;
  }

  .desktop-create-open .mobile-create-head button:first-child {
    position: relative;
    z-index: 5;
    width: 36px;
    height: 36px;

    display: grid;
    place-items: center;

    margin-right: 12px;

    border-radius: 50%;

    color: var(--muted);

    transition:
      color .15s ease,
      background .15s ease;
  }

  .desktop-create-open .mobile-create-head button:first-child:hover {
    color: var(--ink);
    background: var(--paper-2);
  }

  .desktop-create-open .mobile-create-head button:last-child {
    width: 36px;
    height: 36px;

    padding: 0;

    border-radius: 50%;

    color: var(--white);
    background: var(--green);

    font-size: 14px;
    font-weight: 750;
  }


  /* =========================
     BODY
     ========================= */

    .desktop-create-open .mobile-create-body {
padding: 20px;
        background: var(--color-bg);
        border-radius: 20px;
        margin-top: 1em;
    }


  /* =========================
     AUTHOR
     ========================= */

  .desktop-create-open .mobile-create-author {
    display: flex;
    align-items: center;
    gap: 12px;

    margin-bottom: 20px;
  }

  .desktop-create-open .mobile-create-author > span:first-child {
    width: 44px;
    height: 44px;

    display: grid;
    place-items: center;

    flex: none;

    border-radius: 50%;

    color: var(--green);
    background: var(--green-soft);

    font-size: 15px;
  }

  .desktop-create-open .mobile-create-author > button {
    height: 34px;

    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 0 13px;

    border: 1px solid var(--line);
    border-radius: 999px;

    background: var(--white);
    color: var(--ink);

    font-size: 12px;
    font-weight: 650;

    cursor: pointer;
  }

  .desktop-create-open .mobile-create-author > button i {
    color: var(--muted);
    font-size: 9px;
  }

  .desktop-create-open .mobile-create-author > button.is-active {
    border-color: color-mix(in srgb, var(--green) 34%, var(--line));
    background: var(--green-soft);
    color: var(--green);
  }


  /* =========================
     TEXT
     ========================= */

  .desktop-create-open #mobilePostBody {
      
    width: 100%;
    min-height: 190px;

    box-sizing: border-box;

 padding: 10px;

   border-radius: 5px;
    border-bottom: 1px solid var(--line);

    outline: none;
    resize: vertical;

    background: transparent;
    color: var(--ink);

    font: inherit;
    font-size: 20px;
    line-height: 1.55;
  }

  .desktop-create-open #mobilePostBody::placeholder {
    color: var(--muted);
  }


  /* =========================
     PHOTOS
     ========================= */

  .desktop-create-open .mobile-photo-row {
    display: flex;
    align-items: center;
    gap: 10px;

    min-height: 82px;

    margin-top: 16px;
  }

  .desktop-create-open .photoadd {
    width: 78px;
    height: 78px;

    display: grid;
    place-items: center;

    flex: none;

    border: 1px dashed var(--line);
    border-radius: 12px;

    background: var(--paper-2);
    color: var(--muted);

    cursor: pointer;

    transition:
      color .15s ease,
      border-color .15s ease,
      background .15s ease;
  }

  .desktop-create-open .photoadd:hover {
    color: var(--green);
    border-color: var(--green);
    background: var(--green-soft);
  }

  .desktop-create-open .photoadd i {
    font-size: 17px;
  }


  /* =========================
     OPTIONS
     ========================= */

  .desktop-create-open .mobile-create-options {
    display: flex;
    align-items: stretch;

    margin-top: 20px;

    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
  }

  .desktop-create-open .mobile-create-options button {
    min-width: 0;
    min-height: 56px;

    flex: 1;

    display: flex;
    align-items: center;
    gap: 9px;

    padding: 0 14px;

    border: 0;
    border-right: 1px solid var(--line);

    background: transparent;
    color: var(--muted);

    font: inherit;
    font-size: 12px;

    text-align: left;

    cursor: pointer;

    transition:
      color .15s ease,
      background .15s ease;
  }

  .desktop-create-open .mobile-create-options button:first-child {
    padding-left: 0;
  }

  .desktop-create-open .mobile-create-options button:last-child {
    border-right: 0;
  }

  .desktop-create-open .mobile-create-options button:hover {
    color: var(--ink);
    background: var(--paper-2);
  }

  .desktop-create-open .mobile-create-options button > i {
    width: 28px;
    height: 28px;

    display: grid;
    place-items: center;

    flex: none;

    border-radius: 50%;

    color: var(--green);
    background: var(--green-soft);

    font-size: 11px;
  }

  .desktop-create-open .mobile-create-options button span {
    min-width: 0;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-create-open .mobile-create-options button b {
    margin-left: auto;

    color: var(--muted);

    font-size: 14px;
    font-weight: 500;
  }


  /* =========================
     DESKTOP COMPACT
     ========================= */

  @media (min-width: 769px) and (max-width: 1000px) {

    .desktop-create-open .mobile-create-options button {
      padding: 0 9px;
      gap: 7px;
      font-size: 11px;
    }

    .desktop-create-open .mobile-create-options button > i {
      width: 25px;
      height: 25px;
    }
  }
}:root {
  --ink: #0b1621;
  --muted: #617084;
  --green: #0bae5b;
  --green-2: #15bd69;
  --green-soft: rgba(11, 174, 91, 0.08);
  --line-greyblue: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  --line: rgba(11, 22, 33, 0.11);
  --paper: #fbfcf9;
  --paper-2: #f7f9f5;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(11, 22, 33, 0.09);
  --color-bg: var(--white);
  --color-text: var(--ink);
  --border: var(--line);
  --article-forest: linear-gradient(165deg, #14945a 0%, #0b5f3a 100%);
  --article-ink: linear-gradient(165deg, #243246 0%, #0b1621 100%);
  --article-sand: linear-gradient(165deg, #f0ddc4 0%, #d9bf9a 100%);
  --article-dusk: linear-gradient(165deg, #4a5d99 0%, #2c3a6b 100%);
  --article-paper: linear-gradient(180deg, #f7f4ee 0%, #eee8dc 100%);
  --article-on-forest: #f4fff8;
  --article-on-ink: #eef4fb;
  --article-on-sand: #2a2116;
  --article-on-dusk: #f3f6ff;
  --article-on-paper: #1a1712;
}


html.dark,
body.dark,
html[data-theme="dark"],
body[data-theme="dark"] {
  color-scheme: dark;
  --ink: #e5edf8;
  --muted: #a8b3c7;
  --paper: #0b1120;
  --paper-2: #0f172a;
  --white: #111827;
  --line: rgba(148, 163, 184, 0.26);
  --border: rgba(148, 163, 184, 0.26);
  --color-bg: #0b1120;
  --color-card: #111827;
  --color-text: #e5edf8;
  --color-muted: #a8b3c7;
  --color-border: rgba(148, 163, 184, 0.26);
  --toggle-bg: #1e293b;
  --slider-bg: #2563eb;
  --icon-sun: #fbbf24;
  --icon-moon: #dbeafe;
  --article-forest: linear-gradient(165deg, #0f3d28 0%, #082418 100%);
  --article-ink: linear-gradient(165deg, #111827 0%, #0b1120 100%);
  --article-sand: linear-gradient(165deg, #3b3228 0%, #241e18 100%);
  --article-dusk: linear-gradient(165deg, #243056 0%, #151b33 100%);
  --article-paper: linear-gradient(180deg, #1b2433 0%, #121826 100%);
  --article-on-sand: #f4eadb;
  --article-on-paper: #e8eef8;
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 20%, rgba(11,174,91,.025), transparent 22%),
    linear-gradient(180deg, #fdfefc 0%, var(--paper) 100%);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display",
               "SF Pro Text", Inter, system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

html.dark body,
body.dark {
  background:
    radial-gradient(circle at 15% 20%, rgba(20, 184, 166, 0.08), transparent 22%),
    linear-gradient(180deg, #0b1120 0%, #0f172a 100%) !important;
  color: var(--color-text) !important;
}

html .people-site-header,
body .people-site-header,
html .people-card,
body .people-card,
html .person-card,
body .person-card,
html .profile-card,
body .profile-card,
html .profile-panel,
body .profile-panel,
html.settings-group,
body .settings-group,
html .modal-card,
body.modal-card,
html .people-bottom-nav,
body .people-bottom-nav {
  background: var(--color-card) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

html.dark input,
html.dark select,
html.dark textarea,
body.dark input,
body.dark select,
body.dark textarea {
  background: #172033 !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
}

html.dark input::placeholder,
html.dark textarea::placeholder,
body.dark input::placeholder,
body.dark textarea::placeholder {
  color: var(--color-muted) !important;
}

html.dark .muted,
html.dark .meta,
html.dark .subtle,
body.dark .muted,
body.dark .meta,
body.dark .subtle {
  color: var(--color-muted) !important;
}

button {
  color: inherit;
  border: 0;
  background: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

.people-site-header {
  position: relative;
  z-index: 1200;
  display: block;
  border-bottom: 1px solid rgba(11,22,33,.08);
  background: rgba(251,252,249,.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.new-pc-utility,
.new-pc-main,
.new-pc-bottom {
  width: 100%;
  margin: 0 auto;
}

.new-pc-main {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.new-pc-utility {
  position: relative;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #5f6e83;
  font-size: 12px;
}

.new-pc-location,
.new-pc-utility-nav,
.new-pc-message,
.new-pc-add-btn,
.new-pc-login {
  display: inline-flex;
  align-items: center;
}

.new-pc-location {
  gap: 7px;
  color: #33465d;
}

.new-pc-icon {
  width: 19px;
  height: 19px;
  flex: none;
}

.new-pc-utility-nav {
  gap: 18px;
}

.new-pc-location-picker {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  z-index: 50;
  width: min(420px, calc(100vw - 32px));
  padding: 14px;
  border: 1px solid rgba(11,22,33,.10);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 22px 55px rgba(11,22,33,.14);
}

.new-pc-location-picker__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 720;
}

.new-pc-location-picker__close {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--color-text);
  background: rgba(11,22,33,.05);
}

.new-pc-location-search {
  height: 42px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 9px;
  align-items: center;
  padding: 0 12px;
  border: 1px solid rgba(11,22,33,.10);
  border-radius: 999px;
  background: #fbfcf9;
}

.new-pc-location-search .new-pc-icon {
  width: 18px;
  height: 18px;
  color: var(--green);
}

.new-pc-location-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 13px;
}

.new-pc-location-results {
  display: grid;
  gap: 6px;
  max-height: 260px;
  margin-top: 10px;
  overflow: auto;
}

.new-pc-location-result,
.new-pc-location-empty {
  width: 100%;
  padding: 11px 12px;
  border-radius: 12px;
  color: #34465d;
  text-align: left;
}

.new-pc-location-result:hover {
  background: var(--green-soft);
}

.new-pc-location-result strong,
.new-pc-location-result span {
  display: block;
}

.new-pc-location-result strong {
  color: var(--ink);
  font-size: 13px;
  margin-bottom: 4px;
}

.new-pc-location-result span,
.new-pc-location-empty,
.new-pc-location-hint {
   color: var(--color-text);
  font-size: 11px;
  line-height: 1.35;
}

.new-pc-location-hint {
  margin-top: 10px;
  padding-left: 2px;
}

.new-pc-utility-nav a:hover,
.new-pc-nav-link:hover,
.new-pc-message:hover {
  color: var(--green);
}

.new-pc-main {
  min-height: 74px;
  display: grid;
  grid-template-columns: 132px minmax(260px, 1fr) auto;
  gap: 22px;
  align-items: center;
}

.new-pc-logo {
  display: inline-flex;
  align-items: center;
  width: 104px;
  min-height: 32px;
}

.new-pc-logo img,
.profile-brand img {
  max-width: 100%;
  height: auto;
  display: block;
}

.logo-white {
  display: none;
}

.new-pc-search {
  height: 46px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  align-items: center;
  border: 1px solid rgba(11,22,33,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  box-shadow: 0 12px 28px rgba(11,22,33,.05);
  overflow: hidden;
}

.new-pc-search-input {
  min-width: 0;
}

.new-pc-search-input input {
  width: 100%;
  height: 44px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  padding: 0 20px;
  font-size: 14px;
}

.new-pc-search-input input::placeholder {
  color: #748195;
}

.new-pc-search-btn {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--green);
}

.new-pc-search-btn .new-pc-icon {
  width: 20px;
  height: 20px;
}

.new-pc-actions {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #33465d;
  font-size: 13px;
  white-space: nowrap;
}

.new-pc-message {
  position: relative;
  gap: 8px;
}

.people-notification-link em,
.uzm-badge {
  position: absolute;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  border-radius: 999px;
  background: #ef4444;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.people-notification-link em {
  top: -8px;
  right: -8px;
}

.uzm-badge {
  top: 8px;
  right: 8px;
}

.uzm-app {
  position: relative;
}

.people-menu-center {
  grid-column: 4;
  justify-self: center;
  align-self: end;
  transform: translateY(-27px);
  width: 60px;
  height: 60px;
  border: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #3b82f6 0%, #6366f1 100%);
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 12px rgba(0,122,255,.3);
  cursor: pointer;
}

.people-menu-center svg {
  width: 28px;
  height: 28px;
}

.pmm-overlay {
  position: fixed;
  inset: 0;
  z-index: 9998;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  background: rgba(15, 23, 42, .36);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: opacity .2s ease, visibility .2s ease;
}

.pmm-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pmm-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  max-height: min(91vh, 780px);
  overflow: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  visibility: hidden;
  transform: translateY(100%);
  transition: transform .24s ease, visibility .24s ease;
}

.pmm-panel::-webkit-scrollbar {
  display: none;
}

.pmm-panel.is-open {
  visibility: visible;
  transform: translateY(0);
}

.pmm-phone {
  position: relative;
  width: min(100%, 440px);
  min-height: min(91vh, 720px);
  margin: 0 auto;
  padding: 12px 14px calc(34px + env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  color: #10182b;
  background:
    radial-gradient(circle at 15% 8%, rgba(97,139,255,.055), transparent 20%),
    #fff;
  overflow: hidden;
  box-shadow: 0 -18px 60px rgba(25,38,70,.18);
}

.pmm-topbar {
  position: static;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  pointer-events: auto;
}

.pmm-topbar .pmm-notifications-btn {
  pointer-events: auto;
}

.pmm-tabs {
  margin: -48px auto 14px;
}

.pmm-symbols {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.pmm-grabber {
  width: 44px;
  height: 5px;
  margin: 2px auto 20px;
  border-radius: 999px;
  background: #d9dde6;
}

.pmm-topbar {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: center;
  margin-bottom: 24px;
}

.pmm-title {
  display: none;
  color: #10182b;
  font-size: 19px;
  font-weight: 720;
  letter-spacing: 0;
  text-align: center;
}

.pmm-panel a,
.pmm-panel a:hover,
.pmm-panel a:focus-visible,
.pmm-panel a:active,
.pmm-panel a:visited {
  text-decoration: none !important;
}

.pmm-notifications-btn {
  justify-self: start;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  position: relative;
  color: #10182b;
  background: #fff;
  box-shadow: 0 7px 22px rgba(41,58,94,.07);
  cursor: pointer;
}

.pmm-notifications-btn i {
  font-size: 19px;
  line-height: 1;
  color: #10182b !important;
}

.pmm-notifications-btn em {
  position: absolute;
  top: 8px;
  right: 8px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #2f6df6;
  color: #fff;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 16px;
  text-align: center;
}

.pmm-close {
  justify-self: end;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #10182b;
  background: #fff;
  box-shadow: 0 7px 22px rgba(41,58,94,.07);
  cursor: pointer;
  transform: translate(6px, 1px);
}

.pmm-close svg {
  width: 21px;
  height: 21px;
  stroke-width: 2.2;
}

.pmm-hero {
  min-height: 128px;
  border-radius: 24px;
  padding: 20px 18px;
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr) 48px;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #f4f7ff 0%, #edf2ff 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), 0 7px 22px rgba(41,58,94,.07);
  margin-bottom: 16px;
}

.pmm-hero-icon {
  width: 72px;
  height: 72px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #2f6df6, #477cff);
  box-shadow: 0 12px 28px rgba(47,109,246,.28), 0 0 0 13px rgba(47,109,246,.07);
}

.pmm-hero-icon svg {
  width: 34px;
  height: 34px;
  stroke-width: 2;
}

.pmm-hero h2 {
  margin: 0 0 6px;
  color: #10182b;
  font-size: 25px;
  line-height: 1.06;
  letter-spacing: 0;
}

.pmm-hero p {
  margin: 0;
  color: #77839f;
  font-size: 14px;
  line-height: 1.45;
}

.pmm-hero-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #fff;
  color: #2f6df6;
  display: grid;
  place-items: center;
  box-shadow: 0 7px 22px rgba(41,58,94,.07);
}

.pmm-hero-arrow svg {
  width: 24px;
  height: 24px;
}

.pmm-tabs {
  width: 64%;
  min-width: 250px;
  margin: 0 auto 14px;
  padding: 4px;
  border-radius: 18px;
  background: #f4f6fa;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.pmm-tab {
  height: 44px;
  border: 0;
  border-radius: 15px;
  background: transparent;
  color: #68758f;
  font-weight: 650;
  cursor: pointer;
}

.pmm-phone .pmm-topbar {
  position: static;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 40px;
  align-items: center;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  pointer-events: auto;
}

.pmm-phone .pmm-topbar .pmm-notifications-btn {
  pointer-events: auto;
}

.pmm-phone .pmm-tabs {
  margin: -48px auto 14px;
}

.pmm-tab.is-active {
  color: #2f6df6;
  background: #fff;
  box-shadow: 0 5px 14px rgba(31,46,79,.08), inset 0 0 0 1px #edf0f5;
}

.pmm-page {
  display: none;
  animation: pmmFade .18s ease;
}

.pmm-page.is-active {
  display: block;
}

@keyframes pmmFade {
  from { opacity: .45; transform: translateY(4px); }
  to { opacity: 1; transform: none; }
}

.pmm-list {
  display: grid;
  gap: 6px;
}

.pmm-menu-row,
.pmm-compact-card {
  border: 1px solid #e8ecf4;
  background: #fff;
}

.pmm-menu-row {
  width: 100%;
  min-height: 58px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto 24px;
  align-items: center;
  gap: 12px;
  padding: 8px 14px 8px 10px;
  box-shadow: 0 4px 12px rgba(20,32,61,.025);
}

.pmm-label {
  color: #10182b;
  font-weight: 640;
  font-size: 15px;
  letter-spacing: 0;
}

.pmm-chev {
  color: #7b879d;
  display: grid;
  place-items: center;
}

.pmm-menu-badge {
  grid-column: 3;
  min-width: 21px;
  height: 21px;
  padding: 0 6px;
  border-radius: 999px;
  background: #2f6df6;
  color: #fff;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  line-height: 21px;
  text-align: center;
}

.pmm-menu-row > .pmm-chev {
  grid-column: 4;
}

.pmm-chev svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.2;
}

.pmm-section-label {
  margin: 17px 2px 10px;
  color: #7d8aa2;
  font-size: 13px;
  font-weight: 650;
}

.pmm-icon-bubble {
  width: 40px;
  height: 40px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: var(--pmm-c, #2f6df6);
  background: var(--pmm-bg, #edf3ff);
}

.pmm-icon-bubble svg {
  width: 21px;
  height: 21px;
  stroke-width: 2;
}

.pmm-quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 14px;
}

.pmm-tile {
  position: relative;
  min-height: 98px;
  padding: 4px 5px 0;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 8px;
}

.pmm-tile + .pmm-tile::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18px;
  bottom: 18px;
  width: 1px;
  background: #edf0f5;
}

.pmm-tile .pmm-icon-bubble {
  width: 48px;
  height: 48px;
  border-radius: 18px;
}

.pmm-tile .pmm-icon-bubble svg {
  width: 24px;
  height: 24px;
}

.pmm-tile-label {
  color: #10182b;
  font-size: 12.5px;
  font-weight: 620;
  line-height: 1.2;
  text-align: center;
}

.pmm-cards-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 10px;
}

.pmm-mini-card {
  min-height: 92px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #fffaf3, #fff);
  padding: 14px 12px;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  box-shadow: 0 7px 22px rgba(41,58,94,.07);
}

.pmm-mini-card-green {
  background: linear-gradient(145deg, #f4fbf5, #fff);
}

.pmm-mini-card-blue {
  background: linear-gradient(145deg, #f4f7ff, #fff);
}

.pmm-mini-card-purple {
  background: linear-gradient(145deg, #f8f4ff, #fff);
}

.pmm-mini-card .pmm-icon-bubble {
  width: 46px;
  height: 46px;
  border-radius: 17px;
}

.pmm-mini-card strong,
.pmm-wide-card strong,
.pmm-compact-card strong {
  display: block;
  color: #10182b;
  font-size: 14px;
  line-height: 1.15;
}

.pmm-mini-card small,
.pmm-wide-card small {
  display: block;
  margin-top: 4px;
  color: #77839f;
  font-size: 11.5px;
  line-height: 1.35;
}

.pmm-wide-card {
  width: 100%;
  min-height: 76px;
  border: 0;
  border-radius: 20px;
  background: linear-gradient(145deg, #f8faff, #fff);
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto 18px;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  box-shadow: 0 7px 22px rgba(41,58,94,.07);
  margin-bottom: 10px;
}

.pmm-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #65c887;
  box-shadow: 0 0 0 4px rgba(101,200,135,.12);
}

.pmm-more-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.pmm-compact-card {
  min-height: 78px;
  border-radius: 20px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  gap: 10px;
  align-items: center;
  padding: 10px;
}

.pmm-compact-card strong {
  font-size: 13px;
}

.pmm-menu-row:active,
.pmm-tile:active,
.pmm-mini-card:active,
.pmm-wide-card:active,
.pmm-compact-card:active {
  transform: scale(.985);
}

.pmm-footer-space {
  height: calc(88px + env(safe-area-inset-bottom));
}

@media (max-width: 370px) {
  .pmm-phone {
    padding-left: 14px;
    padding-right: 14px;
  }

  .pmm-hero {
    grid-template-columns: 66px minmax(0, 1fr) 44px;
    gap: 12px;
    padding: 16px 14px;
  }

  .pmm-hero-icon {
    width: 62px;
    height: 62px;
    border-radius: 21px;
  }

  .pmm-hero h2 {
    font-size: 22px;
  }

  .pmm-tabs {
    width: 76%;
  }

  .pmm-mini-card {
    grid-template-columns: 42px minmax(0, 1fr) 16px;
    padding: 12px 9px;
  }

  .pmm-mini-card small {
    display: none;
  }
}

@media (min-width: 1024px) {
  .pmm-overlay,
  .pmm-panel {
    display: none !important;
  }
}

.new-pc-action-divider {
  width: 1px;
  height: 24px;
  background: rgba(11,22,33,.10);
}

.new-pc-user {
  position: relative;
}

.new-pc-add-btn {
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  color: white;
  background: var(--green);
}

.new-pc-login {
  height: 38px;
  padding: 0 17px;
  border: 1px solid rgba(11,22,33,.12);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}

.new-pc-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 30;
  width: 190px;
  display: none;
  padding: 8px;
  border: 1px solid rgba(11,22,33,.10);
  border-radius: 16px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 42px rgba(11,22,33,.13);
}

.new-pc-user:hover .new-pc-dropdown,
.new-pc-user:focus-within .new-pc-dropdown {
  display: grid;
}

.new-pc-dropdown a {
  padding: 10px 11px;
  border-radius: 10px;
  color: #33465d;
  font-size: 13px;
}

.new-pc-dropdown a:hover {
  color: var(--green);
  background: var(--green-soft);
}

.new-pc-bottom {
  height: 54px;
  display: flex;
  align-items: center;
}

.new-pc-nav {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 2px;
}

.new-pc-nav-link {
  min-width: 0;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border-radius: 12px;
  color: #5e6d82;
  font-size: 12px;
  font-weight: 620;
}

.new-pc-nav-link .new-pc-icon {
  width: 17px;
  height: 17px;
}

.new-pc-nav-link.is-active {
  color: var(--green);
  background: var(--green-soft);
}

.page {
  min-height: 100vh;
  position: relative;
  isolation: isolate;
}

.content {
  position: relative;
  z-index: 5;
  width: min(52%, 1040px);
  min-height: 100vh;
  padding: 34px 36px 28px 44px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  letter-spacing: -1.8px;
  font-size: 25px;
  font-weight: 840;
  line-height: 1;
  user-select: none;
}

.brand-line {
  display: flex;
  align-items: center;
  gap: 34px;
}

.brand span:last-child { color: var(--green); }

.content > .brand-line .brand,
.profile-brand {
  display: none;
}

.group-back-tab {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34465d;
  font-size: 14px;
}

.group-back-tab[hidden] {
  display: none !important;
}

.group-back-tab svg {
  width: 20px;
  height: 20px;
}

.hero {
  display: flex;
  align-items: center;
  gap: 42px;
  margin-top: 24px;
  margin-bottom: 28px;
}

.hero h1 {
  margin: 0;
  font-size: clamp(82px, 8vw, 148px);
  line-height: .82;
  letter-spacing: -8px;
  font-weight: 780;
}

.statement {
  border-left: 1.5px solid var(--green);
  padding-left: 20px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
  white-space: nowrap;
}

.search-area {
  position: relative;
  z-index: 40;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 64px;
  align-items: center;
  column-gap: 14px;
  border-bottom: 1px solid var(--green);
  padding-bottom: 8px;
  max-width: 875px;
}

.search-area input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: var(--green);
  background: transparent;
  font-size: clamp(23px, 2vw, 34px);
  line-height: 1.2;
  letter-spacing: -.7px;
  padding: 0 0 2px;
}

.search-area input::placeholder {
  color: rgba(11, 174, 91, .55);
  opacity: 1;
}

.search-button {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: var(--green);
  box-shadow: 0 12px 28px rgba(11,174,91,.23);
  transition: transform .18s ease, background .18s ease;
}

.search-button:hover { transform: translateY(-2px); background: #079d50; }
.search-button svg { width: 28px; height: 28px; }
.search-button i {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.filter-toggle {
  display: none;
}

.filter-toggle i {
  width: 18px;
  height: 18px;
  display: grid;
  place-items: center;
  font-size: 16px;
  line-height: 1;
}

.modes {
  position: relative;
  max-width: 835px;
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--line);
  margin-top: 10px;
}

.mode {
  position: relative;
  flex: 1 1 0;
  padding: 20px 8px 18px;
  font-size: 16px;
  color: var(--muted);
  text-align: center;
  white-space: nowrap;
}

.mode:first-child { text-align: center; padding-left: 8px; }
.mode.active { color: var(--green); font-weight: 650; }

.mode.active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 72px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--green);
}

.mode.active::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  transform: translateX(-50%);
  background: var(--green);
}

.filter-line {
  display: none;
  position: relative;
  z-index: 35;
  width: 100%;
  max-width: 900px;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  padding: 0;
}

.filter-line.is-people {
  display: grid;
}

.filter-location {
  position: relative;
  min-width: 0;
}

.filter-location-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--green);
  pointer-events: none;
  font-size: 14px;
  line-height: 1;
}

.filter-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

@media (min-width: 1024px) {
  .search-area {
    grid-template-columns: 42px minmax(0, 1fr) 58px;
    gap: 12px;
    max-width: 100%;
    padding: 10px 12px 10px 16px;
    border: 1px solid rgba(11,22,33,.1);
    border-radius: 999px;
    background: rgba(255,255,255,.84);
    box-shadow: var(--shadow);
  }

  .search-area input {
    order: 2;
    font-size: clamp(18px, 1.65vw, 30px);
    letter-spacing: -.5px;
    color: var(--ink);
  }

  .search-button {
    order: 3;
    width: 42px;
    height: 42px;
    background: transparent;
    color: var(--green);
    box-shadow: none;
  }

  .search-button i {
    font-size: 22px;
  }

  .filter-toggle {
    order: 1;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11,22,33,.1);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--green);
    box-shadow: none;
  }

  .filter-toggle i {
    font-size: 18px;
    line-height: 1;
  }

  .filter-line {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 0;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition:
      max-height .24s ease,
      opacity .18s ease,
      transform .24s ease,
      padding .24s ease,
      margin-top .24s ease;
  }

  .page.filters-open .filter-line {
    margin-top: 14px;
    padding: 14px;
    max-height: 640px;
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    border: 1px solid rgba(11,22,33,.08);
    border-radius: 20px;
    background: rgba(255,255,255,.94);
    box-shadow: var(--shadow);
  }
}

.filter-select {
  appearance: none;
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background:
    linear-gradient(45deg, transparent 50%, #758196 50%) calc(100% - 16px) 18px / 5px 5px no-repeat,
    linear-gradient(135deg, #758196 50%, transparent 50%) calc(100% - 12px) 18px / 5px 5px no-repeat,
    #fff;
  color: var(--ink);
  padding: 0 36px 0 14px;
  outline: none;
  cursor: pointer;
  font-size: 13px;
}

.filter-chips .filter-select {
  flex: 1 1 148px;
  width: auto;
  min-width: 0;
  max-width: 100%;
}

.filter-select:focus { border-color: var(--green); }

.location-combobox {
  position: relative;
  min-width: 0;
}

.location-combobox-input.filter-select,
.filter-location .location-combobox-input {
  width: 100%;
  min-height: 46px;
  padding: 0 14px 0 40px;
  border-radius: 12px;
  background: #fff;
  font-size: 14px;
  cursor: text;
}

.location-combobox-input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.location-combobox-input:focus {
  border-color: var(--green);
}

.location-combobox-menu,
.search-suggest {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  display: grid;
  gap: 4px;
  max-height: 280px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

.location-combobox-menu[hidden],
.search-suggest[hidden] {
  display: none;
}

.search-area .search-suggest {
  grid-column: 1 / -1;
}

.search-suggest {
  display: grid;
  gap: 4px;
  max-height: 320px;
  overflow: auto;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .16);
}

.search-suggest-label,
.search-suggest-empty {
  padding: 6px 10px 4px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.search-suggest-empty {
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
}

.search-suggest-item {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.search-suggest-item:hover,
.search-suggest-item:focus {
  background: rgba(13,175,93,.08);
}

.search-suggest-item strong {
  font-size: 13px;
  line-height: 1.25;
}

.search-suggest-item span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.location-combobox-item,
.location-combobox-empty {
  width: 100%;
  border: 0;
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  text-align: left;
  cursor: pointer;
}

.location-combobox-item:hover,
.location-combobox-item:focus {
  background: rgba(13,175,93,.08);
}

.location-combobox-item strong {
  font-size: 13px;
  line-height: 1.25;
}

.location-combobox-item span,
.location-combobox-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
  cursor: default;
}

.creation-location {
  display: grid;
  gap: 0;
}

.creation-form .location-combobox-input {
  min-height: 46px;
  border-radius: 14px;
  font-size: 15px;
}

.results-layout {
  position: relative;
  z-index: 1;
  max-width: 930px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0;
  align-items: start;
  margin-top: 4px;
}

.people-list {
  min-width: 0;
  border-top: 1px solid transparent;
}

.person {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(245px, 1fr) 128px 150px;
  gap: 16px;
  align-items: center;
  min-height: 94px;
  padding: 16px 0 20px;
  border-bottom: 1px solid var(--line);
  transition: background .18s ease;
}

.person:hover {
  background: linear-gradient(90deg, transparent, rgba(11,174,91,.035), transparent);
}

.person-link {
  grid-column: 1 / span 2;
  min-width: 0;
  display: grid;
  grid-template-columns: 76px minmax(245px, 1fr);
  gap: 16px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.person-link:focus-visible {
  outline: 2px solid rgba(11,174,91,.24);
  outline-offset: 4px;
  border-radius: 14px;
}

.avatar-wrap {
  position: relative;
  width: 68px;
  height: 68px;
  flex: none;
  border-radius: 50%;
}

.online-dot {
  position: absolute;
  right: 1px;
  bottom: 1px;
  width: 14px;
  height: 14px;
  border: 2px solid var(--white);
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 1px rgba(11, 22, 33, .12);
}

.avatar {
  width: 68px;
  height: 68px;
  display: block;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.9);
  box-shadow: 0 8px 18px rgba(11,22,33,.08);
}

.avatar-fallback,
.avatar-marker span {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #0b1621, #0bae5b);
  font-weight: 760;
}

.avatar-fallback { font-size: 18px; }

.person-link .person-main { min-width: 0; }

.person-topline {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  margin-bottom: 5px;
}

.person-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 720;
  letter-spacing: -.2px;
}

.status {
  flex: none;
  color: var(--green);
  border: 1px solid rgba(11,174,91,.22);
  border-radius: 999px;
  padding: 4px 11px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.profession,
.skills,
.distance,
.city {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.profession,
.skills,
.person-reason {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profession {
  color: #3d4c5f;
}

.skills::before {
  content: none;
}

.person-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.person-chip {
  display: inline-flex;
  align-items: center;
  max-width: 160px;
  min-height: 24px;
  padding: 0 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border-radius: 999px;
  border: 1px solid rgba(11,22,33,.08);
  background: rgba(11,174,91,.05);
  color: #3d4c5f;
  font-size: 11px;
  line-height: 1;
  white-space: nowrap;
}

.person-chip.is-online {
  border-color: rgba(11,174,91,.2);
  background: rgba(11,174,91,.1);
  color: var(--green);
  font-weight: 650;
}

.place {
  min-width: 0;
  color: var(--muted);
}

.distance {
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.distance svg {
  width: 14px;
  height: 14px;
  flex: none;
}


.actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.connect-form {
  display: inline-flex;
}

.connect-form .icon-button {
  flex: none;
}

.icon-button {
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  padding: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(11,174,91,.55);
  color: var(--green);
  background: rgba(255,255,255,.62);
  transition: transform .16s ease, color .16s ease, background .16s ease;
}

.icon-button:hover {
  transform: translateY(-2px);
  background: var(--green);
  color: white;
}

.icon-button.secondary {
  color: var(--ink);
  border-color: var(--line);
}

.icon-button.connected {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.icon-button svg { width: 20px; height: 20px; }

.icon-button.message-person {
  border-radius: 50%;
}

.empty {
  padding: 45px 0;
  color: var(--muted);
  font-size: 15px;
}

.empty-create,
.collection-create {
  display: grid;
  gap: 16px;
  align-items: start;
  padding: 18px 0 20px;
  max-width: 760px;
}

.collection-create.is-empty {
  padding-top: 28px;
  gap: 22px;
}

.empty-create strong,
.empty-create-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
  font-size: 20px;
  font-weight: 720;
}

.empty-create span,
.empty-create-copy span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.create-toggle,
.create-submit {
  width: fit-content;
  min-height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: white;
  font-size: 12px;
  font-weight: 760;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.creation-form > .create-submit,
.creation-form > .creation-message {
  grid-column: 2 / -1;
}

.group-events-block {
  margin-top: 10px;
  padding-top: 8px;
}

.entity-permalink {
  color: var(--green);
  text-decoration: none;
  word-break: break-all;
  font-weight: 650;
}

.entity-permalink:hover {
  text-decoration: underline;
}

.event-detail dl div.wide,
.created-detail dl div.wide {
  grid-column: 1 / -1;
}

.creation-form {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.54);
}

.creation-form[hidden] {
  display: none;
}

.creation-photo {
  display: block;
}

.creation-photo input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.creation-preview {
  width: 132px;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px dashed rgba(11,22,33,.24);
  border-radius: 8px;
  background: #edf2ed;
  color: var(--muted);
  font-size: 12px;
  font-weight: 680;
  background-position: center;
  background-size: cover;
}

.creation-preview.has-photo {
  border-style: solid;
}

.creation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.creation-grid label {
  display: grid;
  gap: 7px;
}

.access-pay-fields label {
  display: grid;
  gap: 7px;
}

.creation-grid label.wide {
  grid-column: 1 / -1;
}

.creation-grid label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.access-pay-fields label > span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.creation-grid input,
.creation-grid select,
.creation-grid textarea,
.access-pay-fields input,
.access-pay-fields select,
.access-pay-fields textarea {
  width: 100%;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.78);
  color: var(--ink);
  
  font-size: 13px;
  outline: none;
  padding: 0 12px;
}

.creation-grid textarea {
  min-height: 104px;
  padding-top: 11px;
  resize: vertical;
}

.access-pay-fields textarea {
  min-height: 86px;
  padding-top: 11px;
  resize: vertical;
}

.creation-message {
  grid-column: 2;
  margin: -6px 0 0;
  color: var(--green);
  font-size: 12px;
}

.creation-message.is-error {
  color: #c0392b;
  font-weight: 650;
}

.creation-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.created-detail {
  max-width: 760px;
  padding: 26px 0;
}

.network-detail-shell {
  max-width: none;
  padding: 0;
}

.network-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 360px);
  gap: 18px;
  align-items: start;
}

.network-detail-main {
  display: grid;
  gap: 16px;
  min-width: 0;
}

.network-detail-media {
  overflow: hidden;
  border: 1px solid rgba(11,22,33,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.5);
  box-shadow: 0 14px 38px rgba(11,22,33,.04);
}

.network-detail-photo {
  max-height: 340px;
  margin-bottom: 0;
  border-radius: 0;
}

.network-detail-copy h2 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 44px);
  line-height: .96;
  letter-spacing: -1.8px;
}

.network-detail-copy p {
  margin: 12px 0 0;
}

.network-detail-sidebar {
  display: grid;
  gap: 14px;
  min-width: 0;
}

.network-detail-card {
  padding: 18px;
  border: 1px solid rgba(11,22,33,.08);
  border-radius: 16px;
  background: rgba(255,255,255,.64);
  box-shadow: 0 14px 38px rgba(11,22,33,.04);
}

.network-detail-card .groups-section-title {
  margin-bottom: 10px;
}

.network-detail-card-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.network-detail-card-head span {
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.network-detail-card-head strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 760;
}

.membership-detail {
  display: grid;
  gap: 12px;
}

.membership-detail .membership-toggle,
.membership-detail .membership-owner {
  width: 100%;
  justify-content: center;
}

.membership-detail .membership-toggle.is-detail span,
.membership-detail .membership-login.is-detail span {
  flex: 0 1 auto;
}

.membership-owner-detail {
  gap: 8px;
}

.membership-owner-detail i {
  font-size: 12px;
}

.membership-owner-detail span {
  line-height: 1;
}

.network-detail-card dl {
  margin-top: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.created-detail-photo {
  width: 100%;
  max-height: 320px;
  margin-bottom: 22px;
  border-radius: 8px;
  object-fit: cover;
  background: #edf2ed;
}

.created-detail p,
.event-detail p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.created-detail dl,
.event-detail dl {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin: 22px 0 0;
}

.created-detail dl div,
.event-detail dl div {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.48);
}

.created-detail dt,
.event-detail dt {
  color: var(--muted);
  font-size: 10px;
  font-weight: 650;
  text-transform: uppercase;
}

.created-detail dd,
.event-detail dd {
  margin: 5px 0 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 650;
}

.closing {
  display: flex;
  gap: 17px;
  align-items: stretch;
  margin-top: 26px;
  margin-left: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.closing-line {
  width: 1px;
  min-height: 48px;
  background: var(--green);
  position: relative;
}

.closing-line::before {
  content: "";
  position: absolute;
  width: 8px;
  height: 8px;
  top: 0;
  left: -3px;
  border-radius: 50%;
  background: var(--green);
}

.closing strong {
  display: block;
  color: var(--green);
  font-weight: 550;
}



#map {
  position: fixed;
  inset: 0;
  background: #f7faf6;
}

.leaflet-container {
  font-family: inherit;
  background: #f7faf6;
}

.leaflet-control-attribution {
  border-radius: 8px 0 0 0;
  background: rgba(255,255,255,.72) !important;
  color: #667286;
  font-size: 9px;
  opacity: .7;
}

.leaflet-control-attribution a { color: #526276; }

.leaflet-tile-pane {
  filter: none;
  opacity: 1;
}

.leaflet-container img.leaflet-tile {
  opacity: 1 !important;
  transition: none !important;
}

.leaflet-overlay-pane svg { overflow: visible; }

.map-fade {
  display: none;
}

.map-location {
  position: absolute;
  z-index: 500;
  right: 7%;
  bottom: 6%;
  display: grid;
  grid-template-columns: 58px auto;
  gap: 16px;
  align-items: center;
  color: var(--muted);
  pointer-events: none;
}

.pin-large {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  color: var(--green);
  border-left: 1px solid var(--green);
}

.pin-large svg { width: 34px; height: 34px; }

.map-location small {
  display: block;
  margin-bottom: 4px;
  font-size: 12px;
}

.map-location strong {
  display: block;
  color: var(--ink);
  font-size: 17px;
  margin-bottom: 8px;
}

.map-location em {
  font-style: normal;
  color: var(--green);
  font-weight: 650;
}

.leaflet-container .leaflet-marker-icon.leaflet-div-icon {
  overflow: hidden;
  background: transparent !important;
  border: 0 !important;
}

.avatar-marker {
  width: 58px;
  height: 58px;
  position: relative;
  overflow: hidden;
  border-radius: 50%;
  background: white;
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 8px 22px rgba(11,22,33,.18);
  transition: transform .2s ease, opacity .2s ease;
}

.avatar-marker img,
.avatar-marker span {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
}

.avatar-marker span {
  display: grid;
  place-items: center;
  font-size: 15px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, #0b1621, #0bae5b);
}

.avatar-marker.dimmed { opacity: .18; }
.avatar-marker.focused { transform: scale(1.2); }

.group-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 128px 44px 48px;
  gap: 16px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.group-main-link {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.group-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 20px;
  font-weight: 780;
}

.group-main {
  min-width: 0;
}

.group-main strong {
  display: block;
  margin-bottom: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-size: 14px;
}

.group-main span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.group-avatars {
  display: flex;
  align-items: center;
}

.group-avatars img,
.group-avatars span {
  width: 31px;
  height: 31px;
  margin-left: -8px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
  background: #0b1621;
}

.group-avatars img:first-child,
.group-avatars span:first-child {
  margin-left: 0;
}

.group-avatars span {
  display: grid;
  place-items: center;
  color: white;
  font-size: 10px;
  font-weight: 740;
}

.group-avatars b {
  width: 31px;
  height: 31px;
  display: grid;
  place-items: center;
  margin-left: -8px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: #f3f6f1;
  color: var(--muted);
  font-size: 10px;
  font-weight: 560;
}

.group-stats {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.group-stats span,
.group-stats em {
  display: block;
}

.group-stats em {
  position: relative;
  padding-left: 12px;
  color: var(--green);
  font-style: normal;
}

.group-stats em::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.group-stats .membership-form,
.event-going .membership-form {
  margin-top: 8px;
  display: flex;
  justify-content: flex-start;
}

.membership-toggle {
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #33445a;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
}

.membership-toggle i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  font-size: 12px;
  line-height: 1;
}

.membership-toggle.is-joined {
  border-color: rgba(13,175,93,.24);
  color: var(--green);
}

.membership-owner {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(13,175,93,.08);
  color: var(--green);
  font-size: 11px;
  font-weight: 700;
}

.network-membership-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.network-membership-summary .membership-form,
.network-membership-summary .membership-owner {
  margin-top: 0;
}

.network-detail-actions {
  justify-content: stretch;
  margin: 0;
}

.network-detail-actions .detail-action {
  flex: 1;
  justify-content: center;
}

.group-open {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(11,22,33,.22);
  border-radius: 50%;
  color: #33445a;
  background: rgba(255,255,255,.52);
  text-decoration: none;
  flex: none;
}

.group-link {
  border: 0;
  background: transparent;
  color: var(--green);
  font-size: 11px;
  text-align: left;
  text-decoration: none;
  font-weight: 700;
}

.event-list-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 148px 72px 44px 48px;
  gap: 14px;
  align-items: center;
  min-height: 76px;
  border-bottom: 1px solid var(--line);
}

.draft-photo {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #edf2ed;
}

.event-date {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  font-size: 16px;
  font-weight: 780;
  line-height: 1;
  text-transform: uppercase;
}

.event-date span {
  display: block;
  font-size: 9px;
  font-weight: 760;
}

.event-meta,
.event-going {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.65;
}

.event-meta span,
.event-meta em,
.event-going span,
.event-going em {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-meta em,
.event-going em {
  position: relative;
  padding-left: 11px;
  color: var(--green);
  font-style: normal;
}

.event-meta em::before,
.event-going em::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--green);
}

.groups-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 28px;
}

.groups-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #172638;
  font-size: 15px;
  font-weight: 650;
}

.groups-section-title span {
  width: 2px;
  height: 20px;
  background: var(--green);
}

.groups-section-title a {
  margin-left: auto;
  color: var(--green);
  font-size: 10px;
  font-weight: 650;
}

.topic-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.topic-row button {
  min-height: 36px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.44);
  color: #526176;
  font-size: 11px;
}

.joining-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 18px;
}

.joining-row a {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.joining-row img,
.joining-row > a > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.joining-row > a > span {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #0b1621, #0bae5b);
  font-size: 12px;
  font-weight: 750;
}

.joining-row strong,
.joining-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.joining-row strong {
  font-size: 11px;
}

.joining-row small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.group-map-marker {
  position: relative;
  width: 74px;
  height: 74px;
  display: grid;
  justify-items: center;
}

.group-map-marker strong {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border: 4px solid white;
  border-radius: 50%;
  color: white;
  background: var(--group-color);
  box-shadow: 0 10px 24px rgba(11,22,33,.14);
  font-size: 18px;
  font-weight: 780;
}

.group-map-marker strong.has-photo {
  overflow: hidden;
  background: #eef3ea;
}

.group-map-marker strong.has-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.group-map-marker div {
  position: absolute;
  left: 12px;
  bottom: 0;
  display: flex;
}

.group-map-marker img,
.group-map-marker span {
  width: 18px;
  height: 18px;
  margin-left: -4px;
  border: 1.5px solid white;
  border-radius: 50%;
  object-fit: cover;
}

.group-map-marker span {
  display: grid;
  place-items: center;
  color: white;
  background: #0b1621;
  font-size: 7px;
}

.page.group-detail-mode .search-area,
.page.group-detail-mode .filter-line,
.page.group-detail-mode .modes {
  display: none;
}

.page.group-detail-mode .content {
  width: min(59%, 1040px);
  max-width: 1040px;
  padding-right: 42px;
}

.page.group-detail-mode .hero {
  display: none;
}

.page.group-detail-mode .profile-orbit,
.page.event-detail-mode .profile-orbit {
  display: none !important;
}

.page.group-detail-mode .hero h1 {
  font-size: clamp(44px, 4vw, 62px);
  line-height: .96;
  letter-spacing: -3px;
}

.page.group-detail-mode .statement {
  max-width: 440px;
  white-space: normal;
}

.page.group-detail-mode .statement span {
  color: var(--green);
  font-weight: 650;
}

.group-detail-actions {
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 4px 0 28px;
  border-bottom: 1px solid var(--line);
}

.join-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  min-width: 152px;
  height: 42px;
  padding: 0 5px 0 25px;
  border-radius: 999px;
  color: white;
  background: var(--green);
  font-size: 12px;
  font-weight: 720;
}

.join-group span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-left: auto;
  border-radius: 50%;
  color: var(--green);
  background: white;
  font-size: 18px;
}

.detail-round {
  width: 38px;
  height: 38px;
  position: relative;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  color: #34465d;
}

.detail-round small {
  position: absolute;
  left: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%);
  color: var(--muted);
  font-size: 11px;
}

.group-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px 54px;
  padding-top: 24px;
}

.group-detail-grid article {
  min-width: 0;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}

.group-detail-grid p {
  margin: 16px 0 0;
  color: #53627a;
  font-size: 12px;
  line-height: 1.65;
}

.topic-row.compact button {
  min-height: 31px;
  padding: 0 13px;
  font-size: 10px;
}

.event-row {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) 92px 62px;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
}

.event-row time {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(13,175,93,.12);
  font-size: 15px;
  font-weight: 760;
  line-height: 1;
  text-transform: uppercase;
}

.event-row time b {
  display: block;
  color: var(--green);
  font-size: 8px;
}

.event-row strong {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
}

.event-row span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1.45;
}

.event-row button {
  min-height: 34px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #33445a;
  background: rgba(255,255,255,.48);
  font-size: 11px;
}

.discussion-row {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 44px 34px;
  gap: 10px;
  align-items: center;
  min-height: 45px;
  border-bottom: 1px solid rgba(11,22,33,.08);
}

.discussion-row > span {
  color: var(--green);
  font-size: 17px;
}

.discussion-row strong,
.discussion-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.discussion-row strong {
  font-size: 12px;
}

.discussion-row small,
.discussion-row time {
  color: var(--muted);
  font-size: 10px;
}

.discussion-row button {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.detail-link {
  display: inline-block;
  margin-top: 14px;
  color: var(--green);
  font-size: 11px;
  font-weight: 650;
}

.group-members-strip {
  margin-top: 20px;
}

.member-strip-row {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.member-strip-row a {
  position: relative;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) 26px;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.member-strip-row img,
.member-strip-row > a > span {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.member-strip-row > a > span {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #0b1621, #0bae5b);
  font-size: 12px;
  font-weight: 760;
}

.member-strip-row strong,
.member-strip-row small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.member-strip-row strong {
  font-size: 11px;
}

.member-strip-row small {
  color: var(--muted);
  font-size: 9px;
  line-height: 1.4;
}

.member-strip-row b {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #33445a;
  font-size: 14px;
  font-weight: 500;
}

.page.event-detail-mode {
  background:
    radial-gradient(circle at 18% 18%, rgba(13,175,93,.025), transparent 24%),
    linear-gradient(180deg, #fdfefc 0%, #fbfcf9 100%);
}

.page.event-detail-mode .content {
  width: min(59%, 1040px);
  max-width: 1040px;
  padding-right: 42px;
}

.page.event-detail-mode .hero,
.page.event-detail-mode .search-area,
.page.event-detail-mode .filter-line,
.page.event-detail-mode .modes,
.page.event-detail-mode .closing {
  display: none;
}

.page.event-detail-mode .results-layout {
  display: block;
  max-width: 100%;
  margin-top: 18px;
}

.event-detail {
  position: relative;
  padding-top: 2px;
}

.event-detail-actions-top {
  position: absolute;
  z-index: 20;
  top: -50px;
  right: 0;
  display: flex;
  gap: 10px;
  align-items: center;
}

.event-detail-actions-top button {
  min-height: 34px;
  padding: 0 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #33445a;
  font-size: 12px;
}

.network-detail-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.detail-action {
  min-height: 34px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: #33445a;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
}

.detail-action i {
  display: grid;
  place-items: center;
  width: 16px;
  height: 16px;
  font-size: 14px;
  line-height: 1;
}

.detail-action.danger {
  border-color: rgba(239,68,68,.24);
  color: #b91c1c;
}

.network-row-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  padding-top: 2px;
}

.row-action {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255,255,255,.72);
  color: #33445a;
  display: grid;
  place-items: center;
}

.row-action i {
  display: grid;
  place-items: center;
  width: 14px;
  height: 14px;
  font-size: 13px;
  line-height: 1;
}

.row-action.danger {
  border-color: rgba(239,68,68,.24);
  color: #b91c1c;
}

.network-edit-panel {
  margin-top: 18px;
}

.event-detail-actions-top .join-event-top,
.join-event-top {
  border-color: var(--green);
  color: white;
  background: var(--green);
  font-weight: 720;
}

.page.group-detail-mode .created-detail,
.page.event-detail-mode .event-detail {
  max-width: none;
  padding: 0;
}

.page.group-detail-mode .group-events-block {
  margin-top: 18px;
  padding-top: 0;
}

.page.group-detail-mode .group-events-block > .groups-section-title {
  margin-bottom: 14px;
}

.event-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, .95fr) minmax(300px, 1fr);
  gap: 34px;
  align-items: center;
}

.event-photo {
  min-height: 258px;
  overflow: hidden;
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(11,22,33,.05), rgba(11,22,33,.24)),
    radial-gradient(circle at 72% 42%, rgba(255,255,255,.42), transparent 10%),
    linear-gradient(90deg, #172334 0 8%, transparent 8% 14%, #26384d 14% 22%, transparent 22% 30%, #142132 30% 38%, transparent 38%),
    linear-gradient(180deg, #304155 0 18%, #d8e2df 18% 20%, #1a2a38 20% 42%, #7a6b57 42% 43%, #29384a 43% 100%);
  box-shadow: 0 18px 44px rgba(11,22,33,.11);
  position: relative;
}

.event-photo::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 45%;
  background:
    radial-gradient(circle at 12% 82%, #1d2934 0 4%, transparent 5%),
    radial-gradient(circle at 24% 78%, #27394a 0 4%, transparent 5%),
    radial-gradient(circle at 37% 84%, #1c2a38 0 5%, transparent 6%),
    radial-gradient(circle at 52% 80%, #263748 0 4%, transparent 5%),
    radial-gradient(circle at 68% 83%, #1b2937 0 5%, transparent 6%),
    radial-gradient(circle at 84% 78%, #31475a 0 4%, transparent 5%),
    linear-gradient(180deg, transparent, rgba(0,0,0,.2));
}

.event-photo div {
  position: absolute;
  left: 48%;
  top: 24%;
  width: 96px;
  height: 66px;
  display: grid;
  place-items: center;
  background: rgba(245,248,244,.9);
  color: #39485a;
  font-size: 10px;
  font-weight: 780;
  text-align: center;
}

.event-hero-copy {
  min-width: 0;
}

.event-pill {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 17px;
  border-radius: 999px;
  color: var(--green);
  background: rgba(13,175,93,.1);
  font-size: 12px;
  font-weight: 650;
}

.event-hero-copy h2 {
  margin: 18px 0 12px;
  font-size: clamp(38px, 4vw, 56px);
  line-height: 1;
  letter-spacing: -2.5px;
}

.event-hero-copy p {
  max-width: 520px;
  margin: 0;
  color: #53627a;
  font-size: 14px;
  line-height: 1.6;
}

.event-info-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.event-info-row span {
  display: block;
  color: #34465d;
  font-size: 12px;
}

.event-info-row strong,
.event-info-row small {
  display: block;
}

.event-info-row small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 10px;
}

.event-attendees {
  display: flex;
  align-items: center;
  margin-top: 22px;
}

.event-attendees img,
.event-attendees span {
  width: 28px;
  height: 28px;
  margin-left: -7px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  object-fit: cover;
}

.event-attendees img:first-child,
.event-attendees span:first-child {
  margin-left: 0;
}

.event-attendees span {
  display: grid;
  place-items: center;
  color: white;
  background: #0b1621;
  font-size: 9px;
}

.event-attendees em {
  margin-left: 12px;
  color: var(--green);
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
}

.event-detail-grid {
  display: grid;
  grid-template-columns: .68fr 1fr .72fr;
  gap: 14px;
  margin-top: 24px;
}

.event-card,
.event-map-card,
.event-going-panel {
  border: 1px solid rgba(11,22,33,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.46);
  box-shadow: 0 14px 38px rgba(11,22,33,.04);
}

.event-card {
  padding: 22px;
}

.event-card h3,
.event-going-panel h3 {
  margin: 0 0 14px;
  font-size: 15px;
}

.event-card p {
  margin: 0 0 16px;
  color: #53627a;
  font-size: 12px;
  line-height: 1.6;
}

.event-card ul {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  color: #26394f;
  font-size: 12px;
}

.event-card li::before {
  content: "✓";
  margin-right: 9px;
  color: var(--green);
}

.event-map-card {
  grid-column: span 2;
  min-height: 170px;
  overflow: hidden;
}

.event-static-map {
  position: relative;
  height: 100%;
  min-height: 170px;
  background:
    linear-gradient(90deg, rgba(13,175,93,.13) 1px, transparent 1px) 0 0 / 48px 48px,
    linear-gradient(0deg, rgba(13,175,93,.1) 1px, transparent 1px) 0 0 / 48px 48px,
    radial-gradient(circle at 58% 46%, rgba(13,175,93,.08), transparent 20%),
    #eef3ea;
}

.event-map-pin {
  position: absolute;
  left: 51%;
  top: 38%;
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  color: white;
  background: var(--green);
  box-shadow: 0 0 0 6px rgba(255,255,255,.9);
}

.event-venue-card {
  position: absolute;
  left: 22px;
  bottom: 18px;
  min-width: 172px;
  padding: 16px;
  border-radius: 12px;
  background: rgba(255,255,255,.9);
  box-shadow: 0 12px 30px rgba(11,22,33,.1);
}

.event-venue-card strong,
.event-venue-card span {
  display: block;
}

.event-venue-card strong {
  margin-bottom: 8px;
  font-size: 12px;
}

.event-venue-card span {
  color: #53627a;
  font-size: 11px;
  line-height: 1.45;
}

.event-card.bring {
  grid-column: 1;
}

.event-card.schedule {
  grid-column: 2;
}

.event-card.organizer {
  grid-column: 3;
}

.event-card.schedule div {
  display: grid;
  grid-template-columns: 46px 1fr;
  gap: 10px;
  color: #26394f;
  font-size: 11px;
  line-height: 1.8;
}

.event-card.schedule time {
  color: var(--green);
}

.event-card.schedule time::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--green);
}

.organizer-row {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 16px;
  align-items: center;
}

.organizer-row b {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: white;
  background: #342b76;
  font-size: 30px;
}

.organizer-row strong,
.organizer-row span {
  display: block;
}

.organizer-row strong {
  font-size: 12px;
}

.organizer-row span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.45;
}

.organizer-social {
  margin-top: 18px;
  color: #34465d;
  letter-spacing: 12px;
}

.event-going-panel {
  margin-top: 16px;
  padding: 22px;
}

.event-going-list {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 18px;
}

.event-going-list a,
.event-going-list button {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
  color: #26394f;
  font-size: 11px;
}

.event-going-list img,
.event-going-list > a > span,
.event-going-list button {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  object-fit: cover;
}

.event-going-list > a > span,
.event-going-list button {
  display: grid;
  place-items: center;
  color: #34465d;
  background: rgba(11,22,33,.04);
}

.event-going-list strong,
.event-going-list small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  max-width: 80px;
}

.event-going-list small {
  color: var(--green);
  font-size: 9px;
}

.event-mobile-cta {
  display: none;
}

.center-marker {
  width: 34px;
  height: 34px;
  position: relative;
  border-radius: 50%;
  background: rgba(11,174,91,.14);
  border: 1px solid rgba(11,174,91,.32);
}

.center-marker::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px white;
}

.profile-orbit {
  position: absolute;
  z-index: 700;
  top: 38px;
  right: 4.6%;
  width: 54px;
  height: 54px;
  display: none;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255,255,255,.58);
}

.profile-orbit i {
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
  font-size: 22px;
  line-height: 1;
}

.profile-orbit span {
  position: absolute;
  right: 2px;
  bottom: 2px;
  width: 11px;
  height: 11px;
  border: 2px solid var(--paper);
  border-radius: 50%;
  background: var(--green);
}

.profile-orbit {
  display: none !important;
}

.content > #groupBackBtn {
  display: none !important;
}

.page.social-mode .content > #groupBackBtn:not([hidden]) {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  padding: 8px 12px 8px 8px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
}

.page.social-mode .content > #groupBackBtn:not([hidden]):hover,
.page.social-mode .content > #groupBackBtn:not([hidden]):focus-visible {
  color: var(--green);
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
}

.page.social-mode .content > #groupBackBtn svg {
  width: 18px;
  height: 18px;
}

.mobile-flow { display: none; }
.mobile-locate { display: none; }
.mobile-social-top,
.mobile-create-sheet {
  display: none;
}

.mobile-create-sheet.is-open {
  display: flex;
}

.social-feed-shell {
  width: min(100%, 720px);
  display: grid;
  gap: 14px;
}

.social-composer {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--muted);
  text-align: left;
}

.social-composer b,
.social-tag {
  color: var(--green);
  background: var(--green-soft);
}

.social-composer b {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.people-editor-form label{
margin-bottom: 0.5em ;
}

.social-tabs {
    margin-bottom:1em;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 3px;
  scrollbar-width: none;
}

.social-tabs::-webkit-scrollbar { display: none; }

.social-tabs button {
  flex: 0 0 auto;
  padding: 9px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: var(--white);
  font-size: 13px;
}

.social-tabs button.is-active {
  border-color: color-mix(in srgb, var(--green) 34%, var(--line));
  color: var(--green);
  background: var(--green-soft);
  font-weight: 650;
}

.social-hashtag,
.social-mention,
.social-cashtag {
  color: var(--green);
  font-weight: 650;
  text-decoration: none;
}

.social-url,
.social-url:link,
.social-url:visited,
.social-url:active {
  color: rgb(29, 155, 240);
  font-weight: 650;
  text-decoration: none;
}

.social-hashtag:hover,
.social-mention:hover,
.social-cashtag:hover,
.social-url:hover {
  text-decoration: underline;
}

.token-cards {
  display: grid;
  gap: 8px;
  margin: 10px 0 4px;
}

.token-card {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 16px;
  background: #111827;
  color: #f8fafc;
  text-decoration: none;
}

.token-card.is-loading {
  opacity: .72;
}

.token-card-icon,
.token-card-fallback {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.token-card-fallback {
  display: grid;
  place-items: center;
  background: #1f2937;
  color: #86efac;
  font-weight: 800;
}

.token-card-fallback[hidden] {
  display: none !important;
}

.token-card-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.token-card-copy strong {
  font-size: 14px;
  line-height: 1.2;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.token-card-copy small {
  color: #cbd5e1;
  font-size: 12px;
}

.token-card-copy b {
  font-weight: 700;
  color: #94a3b8;
  margin-right: 4px;
}

.token-card-copy em {
  font-style: normal;
  font-weight: 800;
}

.token-card-copy em.is-up {
  color: #4ade80;
}

.token-card-copy em.is-down {
  color: #f87171;
}

.token-spark {
  width: 92px;
  height: 36px;
  display: block;
}

.trending-strip {
  display: grid;
  gap: 10px;
  padding: 4px 0 2px;
}

.trending-strip > strong {
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.trending-strip > div {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trending-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--green);
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.trending-chip small {
  color: var(--muted);
  font-size: 11px;
  font-weight: 650;
}

.trending-chip.is-active,
.trending-chip:hover {
  border-color: color-mix(in srgb, var(--green) 34%, var(--line));
  background: var(--green-soft);
}

.hashtag-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}

.hashtag-head strong {
  display: block;
  font-size: 22px;
  line-height: 1.15;
}

.hashtag-head p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.hashtag-head button {
  flex: 0 0 auto;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.social-post-list {
  display: grid;
  gap: 18px;
}

.social-empty {
  padding: 22px 0;
  color: var(--muted);
  font-size: 14px;
  text-align: center;
}

.social-post,
.profile-post-card {
  position: relative;
  min-width: 0;
  max-width: 100%;
  padding: 0 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  overflow: visible;
}

.profile-post-card[data-post-url] {
  cursor: pointer;
}

.profile-post-card[data-post-url]:focus-visible {
  outline: 2px solid rgba(11,174,91,.35);
  outline-offset: 3px;
  border-radius: 14px;
}

.social-post-head,
.profile-post-head {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 10px;
}

.profile-post-head {
  grid-template-columns: 38px minmax(0, 1fr) 34px;
}

.profile-post-head .social-post-more {
  grid-column: 3;
  justify-self: end;
}

.profile-post-head .social-post-more > button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.profile-post-head .social-post-more > button svg {
  width: 20px;
  height: 20px;
  display: block;
}

.profile-post-head .social-post-more .social-post-menu {
  top: 38px;
  right: 0;
  display: none;
  min-width: 150px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white, #fff);
  box-shadow: 0 8px 20px rgba(15, 23, 42, .16);
}

.profile-post-head .social-post-more.is-open .social-post-menu {
  display: grid;
}

.profile-post-head .social-post-more > button:hover,
.profile-post-head .social-post-more > button:focus-visible {
  background: var(--paper-2, #f4f6f2);
  color: var(--ink);
}

.profile-post-head > div {
  min-width: 0;
}

.social-post-head strong,
.profile-post-head strong {
  display: block;
  font-size: 14px;
  overflow-wrap: anywhere;
}

.social-post-head small,
.profile-post-head small {

  color: var(--muted);
  
  overflow-wrap: anywhere;
}

.social-post-head button {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--muted);
}

.social-avatar,
.profile-post-head img,
.profile-post-head span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: var(--green-soft);
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.social-tag,
.profile-post-card em {
  width: fit-content;
  max-width: 100%;
  display: block;
  margin: 10px 0 7px;
  padding: 5px 9px;
  border-radius: 999px;
  font-size: 11px;
  font-style: normal;
  font-weight: 650;
  overflow-wrap: anywhere;
}

.profile-post-card em {
  color: var(--green);
  background: var(--green-soft);
}

.social-post p,
.profile-post-card p,
.social-post-body,
.profile-post-card .social-post-body {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  overflow-wrap: anywhere;
}

.social-post-body {
  white-space: pre-wrap;
}

.social-post-body.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 8;
  line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-height: calc(1.55em * 8);
}

.social-show-more {
  position: relative;
  z-index: 2;
  display: inline-block;
  margin: -4px 0 12px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font-size: 15px;
  font-weight: 650;
  cursor: pointer;
}

.social-post-photo,
.profile-post-photo {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background: #0f1720;
  cursor: zoom-in;
}

.social-post-image,
.profile-post-image {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center;
  background: var(--paper-2, #eef1ec);
}

.social-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 11px;
  color: var(--muted);
}

.social-actions button,
.social-actions a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 32px;
  color: inherit;
  font-size: 13px;
}

.social-actions button.is-active,
.social-actions button[aria-pressed="true"] {
  color: var(--green);
}

.social-detail {
  width: min(100%, 720px);
}

.social-comments {
  display: grid;
  gap: 14px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.social-detail .social-comments {
  margin-top: 12px;
}

.social-comments-list {
  display: grid;
  gap: 14px;
}

.social-comments h2 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 0;
  font-size: 16px;
  font-weight: 750;
}

.social-comments h2 span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.social-comments-empty {
  color: var(--muted);
  font-size: 14px;
}

.social-comment {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
}

.social-comment-avatar,
.social-comment-avatar-link {
  width: 36px;
  height: 36px;
  flex: none;
}

.social-comment-avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2, #eef1ec);
  color: var(--green);
  font-size: 12px;
  font-weight: 750;
}

.social-comment-body {
  min-width: 0;
}

.social-comment-meta {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin-bottom: 4px;
}

.social-comment-meta a {
  color: inherit;
  text-decoration: none;
}

.social-comment-meta strong {
  color: var(--ink);
  font-size: 13px;
  font-weight: 750;
}

.social-comment-meta time {
  color: var(--muted);
  font-size: 12px;
}

.social-comment p {
  margin: 0;
  padding: 8px 12px;
  border-radius: 4px 16px 16px 16px;
  background: var(--paper-2, #eef1ec);
  color: var(--ink);
  font-size: 14px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.social-comment-input {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 40px;
  align-items: end;
  gap: 8px;
}

.comment-captcha {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.comment-captcha-image {
  width: auto;
  height: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eef2f7;
  overflow: hidden;
  cursor: pointer;
}

.comment-captcha-image img {
  display: block;
  width: 160px;
  height: 48px;
}

.comment-captcha-answer {
  width: 110px;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.social-comment-input textarea {
  width: 100%;
  min-height: 44px;
  max-height: 140px;
  margin: 0;
  padding: 11px 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  line-height: 1.4;
  resize: none;
  outline: 0;
}

.social-comment-input textarea:focus {
  border-color: color-mix(in srgb, var(--green) 45%, var(--line));
}

.social-comment-input .social-comment-send {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: var(--white);
  background: var(--green);
}

.social-comment-input i {
  color: var(--white);
}

.social-comment-signin {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  color: var(--green);
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}

.profile-posts {
  width: 100%;
}

.profile-post-list {
  display: grid;
  gap: 18px;
}
.content{
             background: var(--color-bg);
}
@media (min-width: 821px) {
  .people-list {
    margin-top: 24px;
  }

  .results-layout,
  .search-area,
  .modes,
  .filter-line {
    max-width: 100%;
  }

  .page.network-list-mode .hero h1 {
    font-size: 92px;
    line-height: .82;
    letter-spacing: -8px;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1180px) {
  .new-pc-utility,
  .new-pc-bottom {
    width: min(100% - 32px, 1120px);
  }

  .new-pc-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }

  .new-pc-main {
    grid-template-columns: 112px minmax(220px, 1fr) auto;
    gap: 14px;
  }

  .new-pc-nav-link span,
  .new-pc-message span,
  .new-pc-add-btn span {
    display: none;
  }

  .content { width: 52%; padding-left: 30px; padding-right: 32px; }
  .map-shell { width: 48%; }
  .hero h1 { font-size: 92px; }
  .person { grid-template-columns: 70px minmax(210px,1fr) 110px 104px; }
  .actions { gap: 10px; }
}

@media (max-width: 820px) {
  .profile-page .profile-map-shell,
  .profile-page .profile-mobile-map-button,
  .profile-page #map {
    display: none !important;
  }

 

  body { background: #f4f6f8 !important; }

  .mobile-social-top {
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: -6px 0 10px;
  }

  .mobile-social-top strong {
    color: var(--ink);
    font-size: 21px;
    font-weight: 750;
  }

  .mobile-social-top a {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 50%;
    color: var(--muted);
    background: var(--white);
  }

  .page.social-mode {
    display: block !important;
    min-height: 100vh;
    background: #f4f6f8 !important;
  }

  .page.social-mode .content {
    width: 100%;
    padding: calc(14px + env(safe-area-inset-top)) 20px calc(108px + env(safe-area-inset-bottom));
    background: #f4f6f8 !important;
    border-top: 0;
  }

  .page.social-mode .content > #groupBackBtn:not([hidden]) {
    width: 40px;
    height: 40px;
    justify-content: center;
    margin: 0 0 10px;
    padding: 0;
    border-radius: 50%;
    box-shadow: 0 3px 10px rgba(11, 22, 33, .08);
  }

  .page.social-mode .content > #groupBackBtn:not([hidden]) svg {
    width: 20px;
    height: 20px;
  }

  .page.social-mode .content > #groupBackBtn:not([hidden]) {
    font-size: 0;
  }

  .page.social-mode .map-shell,
  .page.social-mode .mobile-flow,
  .page.social-mode .mobile-locate,
  .page.social-mode .brand-line,
  .page.social-mode .hero,
  .page.social-mode .search-area,
  .page.social-mode .filter-line,
  .page.social-mode .closing {
    display: none !important;
  }

  .page.mobile-people-mode {
    display: block !important;
    min-height: 100vh;
    background: #f4f6f8 !important;
  }

  .page.mobile-people-mode .content {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: calc(14px + env(safe-area-inset-top)) 20px calc(108px + env(safe-area-inset-bottom));
    background: #f4f6f8 !important;
    border-top: 0;
  }

  .page.mobile-people-mode .results-layout {
    order: 1;
  }

  .page.mobile-people-mode .map-shell,
  .page.mobile-people-mode .mobile-flow,
  .page.mobile-people-mode .mobile-locate,
  .page.mobile-people-mode .brand-line,
  .page.mobile-people-mode .hero,
  .page.mobile-people-mode .filter-line,
  .page.mobile-people-mode .closing {
    display: none !important;
  }

  .mobile-people-shell {
    width: 100%;
  }

  .mobile-create-head [data-reset-mobile-filters] {
    border: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
  }

  .mobile-map-chrome {
    display: none !important;
  }

  .mobile-map-slot {
    display: none;
  }

  .page.mobile-people-mode.mobile-map-open .mobile-map-slot {
    display: block;
    order: 2;
    margin-top: 8px;
  }

  .page.mobile-people-mode.mobile-map-open .map-shell {
    display: block !important;
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    left: auto !important;
    z-index: 1;
    width: 100%;
    height: calc(100dvh - 250px - env(safe-area-inset-bottom));
    min-height: 280px;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: var(--paper-2);
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .page.mobile-people-mode.mobile-map-open .map-shell #map {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }

  .page.mobile-people-mode.mobile-map-open .mobile-people-list {
    display: none;
  }

    .mobile-person {
        display: flex;
        align-items: center;
        gap: 12px;
        min-height: auto;
        padding: 10px;
        border: 0;
        border-bottom: 1px solid var(--line);
        background: var(--white) !important;
        margin-bottom: 1em;
        border-radius: 15px;
    }

  .mobile-person-link {
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
  }

  .mobile-avatar-wrap {
    position: relative;
    width: 52px;
    height: 52px;
    flex: none;
  }

  .mobile-person img,
  .mobile-avatar-wrap > span {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    object-fit: cover;
    color: var(--green);
    background: var(--green-soft);
    font-size: 12px;
    font-weight: 750;
  }

  .mobile-avatar-wrap .online-dot {
    width: 12px;
    height: 12px;
    right: 0;
    bottom: 0;
  }

  .mobile-person .personinfo {
    min-width: 0;
    flex: 1;
  }

  .mobile-person .personinfo b {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--ink);
    font-size: 14px;
  }

  .mobile-person .personinfo small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    margin-top: 3px;
    color: var(--muted);
    font-size: 12px;
    line-height: 1.35;
  }

  .mobile-person .distance {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-top: 3px;
    color: var(--muted);
    font-size: 11px;
  }

  .mobile-person form {
    flex: none;
  }

  .mobile-person .connect {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--green) 38%, var(--line));
    border-radius: 50%;
    color: var(--green);
    background: var(--white);
    font-size: 21px;
    line-height: 1;
  }

  .social-feed-shell,
  .social-detail {
    width: 100%;
  }

  .social-composer {
    min-height: 52px;
    grid-template-columns: 34px minmax(0, 1fr) 32px;
    padding: 8px 10px;
  }

  .social-post {
    margin-bottom: 0;
  }

  .social-post-image,
  .profile-post-image {
    max-height: min(360px, 58vh);
  }

  .people-lightbox img {
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
  }

  .mobile-create-sheet {
    position: fixed;
    inset: 0;
    z-index: 2147483645;
    display: none;
    flex-direction: column;
    background: var(--white);
    color: var(--ink);
  }

  .mobile-create-sheet.is-open {
    display: flex;
  }

  .mobile-create-head {
    min-height: 72px;
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 8px;
    padding: calc(14px + env(safe-area-inset-top)) 16px 10px;
    border-bottom: 1px solid var(--line);
  }

  .mobile-create-head strong {
    text-align: center;
  }

  .mobile-create-head button:last-child {
    width: 36px;
    height: 36px;
    justify-self: end;
    border: 0;
    border-radius: 50%;
    color: var(--white);
    background: var(--green);
    font-size: 14px;
  }

  .mobile-create-head [data-reset-mobile-filters] {
    width: auto;
    height: auto;
    min-height: 36px;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    color: var(--muted);
  }

  .mobile-create-body {
    flex: 1;
    padding: 18px 20px calc(96px + env(safe-area-inset-bottom));
    overflow: auto;
  }

  .mobile-create-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
  }

  .mobile-create-author span {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--green);
    background: var(--green-soft);
  }

  .mobile-create-author button {
    padding: 7px 12px;
    border: 1px solid var(--line);
    border-radius: 999px;
    font-size: 12px;
  }

  .mobile-create-author button.is-active {
    border-color: color-mix(in srgb, var(--green) 34%, var(--line));
    background: var(--green-soft);
    color: var(--green);
  }

  .mobile-create-body textarea {
    width: 100%;
    min-height: 150px;
    resize: vertical;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--ink);
    font: inherit;
    font-size: 18px;
  }

  .mobile-photo-row {
    display: flex;
    gap: 9px;
    margin: 14px 0 2px;
  }

  .mobile-photo-row .photoadd {
    width: 98px;
    height: 110px;
    display: grid;
    place-items: center;
    border: 1px dashed color-mix(in srgb, var(--muted) 42%, var(--line));
    border-radius: 12px;
    color: var(--muted);
    font-size: 26px;
  }

  .mobile-filters-sheet .filtersection {
    margin: 22px 0;
  }

  .mobile-filters-sheet .filtersection h4 {
    display: flex;
    justify-content: space-between;
    margin: 0 0 10px;
    color: var(--ink);
  }

  .mobile-filters-sheet .filtersection h4 small {
    color: var(--muted);
    font-weight: 500;
  }

  .mobile-filters-sheet .field {
    width: 100%;
    height: 55px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: space-between;
    padding: 0 14px;
    margin: 8px 0;
    border: 1px solid var(--line);
    border-radius: 15px;
    color: var(--muted);
    background: var(--white);
    font-size: 13px;
    text-align: left;
  }

  .mobile-filters-sheet .slider {
    height: 5px;
    position: relative;
    margin: 25px 5px;
    border-radius: 5px;
    background: var(--line);
  }

  .mobile-filters-sheet .slider::before {
    content: "";
    position: absolute;
    width: 62%;
    height: 5px;
    border-radius: 5px;
    background: var(--green);
  }

  .mobile-filters-sheet .knob {
    position: absolute;
    left: 60%;
    top: -6px;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    background: var(--green);
  }

  .mobile-filters-sheet .toggle {
    width: 42px;
    height: 24px;
    position: relative;
    border-radius: 20px;
    background: var(--line);
  }

  .mobile-filters-sheet .toggle.on {
    background: var(--green);
  }

  .mobile-filters-sheet .toggle::after {
    content: "";
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--white);
  }

  .mobile-filters-sheet .toggle.on::after {
    left: 21px;
  }

  .mobile-filters-sheet .showbtn {
    width: 100%;
    height: 48px;
    margin-top: 20px;
    border-radius: 25px;
    background: var(--green);
    color: var(--white);
    font-size: 15px;
    font-weight: 650;
  }

  .mobile-create-options {
    display: grid;
    margin-top: 12px;
  }

  .mobile-create-options button {
    min-height: 55px;
    display: grid;
    grid-template-columns: 24px minmax(0, 1fr) 20px;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid var(--line);
    color: var(--muted);
    text-align: left;
  }

  .hero {
    display: none !important;
  }

  .page {
    min-height: 100vh;
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  .page.group-detail-mode,
  .page.event-detail-mode {
    display: flex !important;
    flex-direction: column !important;
    background: #f4f6f8 !important;
  }

  .page.group-detail-mode .map-shell,
  .page.event-detail-mode .map-shell {
    order: 1 !important;
    position: relative !important;
    top: auto;
    left: auto;
    right: auto;
    width: 100% !important;
    height: 300px !important;
    min-height: 0 !important;
    overflow: hidden !important;
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }

  .content {
    width: 100%;
    min-height: 0;
    padding: 28px 24px 36px;
  }

  .page.group-detail-mode .content,
  .page.event-detail-mode .content {
    order: 2 !important;
    z-index: 6 !important;
    width: 100% !important;
    min-height: 0 !important;
    margin-top: 0 !important;
    padding: 20px 24px 36px !important;
    background: #f4f6f8 !important;
    border-top: 1px solid var(--line) !important;
  }

  .page.group-detail-mode .brand-line,
  .page.event-detail-mode .brand-line {
    position: fixed;
    top: calc(12px + env(safe-area-inset-top));
    left: 16px;
    right: 16px;
    z-index: 1250;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    pointer-events: none;
  }

  .page.group-detail-mode .brand-line > *,
  .page.event-detail-mode .brand-line > * {
    pointer-events: auto;
  }

  .page.group-detail-mode .profile-orbit,
  .page.event-detail-mode .profile-orbit,
  .page.group-detail-mode .mobile-locate,
  .page.event-detail-mode .mobile-locate {
    display: none !important;
  }

  .map-shell {
    position: absolute;
    width: 100%;
    height: 650px;
    min-height: 0;
    top: 0;
    left: 0;
    right: auto;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .map-location { display: none; }

  .profile-orbit {
    display: grid;
    top: calc(84px + env(safe-area-inset-top));
    right: 25px;
  }

  .mobile-flow {
    position: absolute;
    z-index: 3;
    display: block;
    top: 640px;
    right: -12px;
    width: 142px;
    height: 880px;
    color: rgba(11,174,91,.56);
    pointer-events: none;
  }

  .brand {
    font-size: 24px;
    margin-top: 28px;
  }

  .brand-line {
    justify-content: space-between;
  }

  .group-back-tab {
    font-size: 12px;
  }

  .hero {
    display: block;
    margin-top: 52px;
    min-height: 332px;
  }

  .hero h1 {
    font-size: clamp(72px, 22vw, 104px);
    line-height: .88;
    letter-spacing: -5px;
    max-width: 72%;
  }

  .page.group-detail-mode .hero {
    display: grid;
    grid-template-columns: 74px 1fr;
    gap: 16px;
    align-items: center;
    min-height: 240px;
  }

  .page.group-detail-mode .hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 10vw, 50px);
    letter-spacing: -2px;
  }

  .page.group-detail-mode .statement {
    grid-column: 2;
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.55;
  }

  .group-detail-actions {
    gap: 20px;
    flex-wrap: wrap;
    padding-bottom: 20px;
  }

  .detail-round small {
    display: none;
  }

  .group-detail-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .event-row {
    grid-template-columns: 48px minmax(0, 1fr) 58px;
  }

  .event-row .group-avatars {
    display: none;
  }

  .member-strip-row {
    grid-template-columns: 1fr 1fr;
  }

  .page.event-detail-mode .content {
    width: 100%;
    padding: 18px 10px calc(190px + env(safe-area-inset-bottom));
  }

  .page.event-detail-mode .brand-line {
    padding: 0 6px;
  }

  .event-detail-actions-top {
    position: static;
    justify-content: flex-end;
    margin: -28px 2px 12px;
  }

  .event-detail-actions-top .join-event-top {
    display: none;
  }

  .event-hero-grid {
    display: block;
  }

  .event-photo {
    min-height: 176px;
    border-radius: 16px;
  }

  .event-hero-copy {
    padding: 16px 2px 0;
  }

  .event-pill {
    margin-top: -46px;
    position: relative;
    z-index: 3;
    background: #dff8ea;
  }

  .event-hero-copy h2 {
    margin-top: 18px;
    font-size: 25px;
    letter-spacing: -1px;
  }

  .event-hero-copy p {
    display: none;
  }

  .event-info-row {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 18px;
  }

  .event-info-row span {
    display: grid;
    grid-template-columns: 22px 1fr;
    font-size: 12px;
  }

  .event-info-row small {
    grid-column: 2;
    margin-top: 2px;
  }

  .event-attendees {
    margin-top: 18px;
  }

  .event-detail-grid {
    display: block;
    margin-top: 24px;
  }

  .event-card,
  .event-map-card,
  .event-going-panel {
    border-radius: 14px;
    margin-top: 12px;
    box-shadow: none;
  }

  .event-card {
    padding: 18px;
  }

  .event-map-card {
    min-height: 190px;
  }

  .event-static-map {
    min-height: 190px;
  }

  .event-card.bring,
  .event-card.schedule,
  .event-card.organizer {
    grid-column: auto;
  }

  .event-card.bring,
  .event-card.schedule,
  .event-card.organizer,
  .event-going-panel {
    display: none;
  }

  .event-mobile-cta {
    position: fixed;
    z-index: 1210;
    left: 10px;
    right: 10px;
    bottom: calc(92px + env(safe-area-inset-bottom));
    display: grid;
    grid-template-columns: 68px 68px 1fr;
    gap: 10px;
    padding: 12px;
    border: 1px solid rgba(11,22,33,.08);
    border-radius: 26px;
    background: rgba(255,255,255,.92);
    box-shadow: 0 18px 46px rgba(11,22,33,.12);
  }

  .event-mobile-cta button {
    min-height: 50px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    color: #34465d;
    background: rgba(11,22,33,.03);
    font-size: 16px;
  }

  .event-mobile-cta button span {
    font-size: 10px;
  }

  .event-mobile-cta .join-event-top {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: white;
    background: var(--green);
    font-size: 14px;
  }

  .statement {
    margin-top: 30px;
    border-left: 0;
    padding-left: 0;
    font-size: 18px;
    line-height: 1.75;
  }

  .search-area {
    grid-template-columns: minmax(0, 1fr) 42px 42px;
    gap: 10px;
    max-width: 100%;
    border: 1px solid rgba(11,22,33,.1);
    border-radius: 999px;
    padding: 10px 12px 10px 22px;
    background: rgba(255,255,255,.84);
    box-shadow: var(--shadow);
  }

  .search-area input {
    font-size: clamp(18px, 5vw, 24px);
    letter-spacing: -.4px;
    color: var(--ink);
  }

  .search-button {
    width: 42px;
    height: 42px;
    box-shadow: none;
    background: transparent;
    color: var(--green);
    position: relative;
  }

  .search-button::before,
  .search-button::after {
    content: "";
    display: block;
    position: absolute;
  }

  .search-button svg { display: none; }

  .search-button::before {
    width: 25px;
    height: 2px;
    background: currentColor;
    box-shadow: 0 9px 0 currentColor;
  }

  .search-button::after {
    width: 5px;
    height: 5px;
    border: 2px solid currentColor;
    border-radius: 50%;
    top: 12px;
    left: 13px;
    box-shadow: 13px 9px 0 -2px var(--paper), 13px 9px 0 0 currentColor;
  }

  .search-button::before,
  .search-button::after {
    content: none;
    display: none;
  }

  .search-button i {
    display: block;
    font-size: 22px;
  }

  .filter-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11,22,33,.1);
    border-radius: 50%;
    background: rgba(255,255,255,.92);
    color: var(--green);
    box-shadow: none;
  }

  .filter-toggle i {
    font-size: 18px;
    line-height: 1;
  }

  .modes {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    overflow-y: hidden;
    margin-top: 22px;
    margin-inline: auto;
    max-width: 100%;
    width: max-content;
    padding-bottom: 8px;
    border-bottom: 0;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .modes::-webkit-scrollbar { display: none; }

  .mode {
    display: block;
    flex: 0 0 auto;
    min-width: max-content;
    padding: 14px 16px 13px;
    border: 1px solid rgba(15, 31, 52, .08);
    border-radius: 999px;
    background: rgba(255,255,255,.58);
    font-size: 14px;
    scroll-snap-align: start;
  }

  .mode:first-child {
    text-align: center;
    padding-left: 16px;
  }

  .mode.active {
    border-color: rgba(11,174,91,.28);
    background: rgba(11,174,91,.10);
  }

  .mode.active::after {
    content: none;
    display: none;
  }

  .mode.active::before {
    content: none;
    display: none;
  }

  .filter-line {
    max-width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    margin-top: 0;
    padding-top: 0;
    padding-bottom: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: max-height .24s ease, opacity .18s ease, transform .24s ease, padding .24s ease, margin-top .24s ease;
  }

  .filter-select {
    min-height: 42px;
    min-width: 0;
    font-size: 13px;
  }

  .page.filters-open .filter-line {
    margin-top: 12px;
    padding: 12px;
    max-height: 640px;
    overflow: visible;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    border: 1px solid rgba(11,22,33,.08);
    border-radius: 18px;
    background: #f4f6f8 !important;
    box-shadow: var(--shadow);
  }

  .results-layout {
    display: block;
    max-width: 100%;
    margin-top: 8px;
  }

  .person {
    grid-template-columns: 78px minmax(0, 1fr) 138px;
    grid-template-rows: auto auto;
    gap: 10px;
    min-height: 122px;
  }

  .person-link {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 10px;
  }

  .group-row {
    grid-template-columns: minmax(0, 1fr) 70px;
    gap: 10px;
    min-height: 94px;
  }

  .group-main-link {
    grid-template-columns: 58px minmax(0, 1fr);
    gap: 10px;
  }

  .event-list-row {
    grid-template-columns: minmax(0, 1fr) 74px;
    gap: 10px;
    min-height: 112px;
  }

  .group-main strong {
    font-size: 13px;
  }

  .group-main span {
    font-size: 10px;
  }

  .group-avatars {
    display: none;
  }

  .group-stats {
    text-align: right;
    font-size: 10px;
  }

  .event-meta {
    display: none;
  }

  .event-going {
    text-align: right;
    font-size: 10px;
  }

  .group-stats .membership-form,
  .event-going .membership-form {
    justify-content: flex-end;
  }

  .membership-toggle,
  .membership-owner {
    min-height: 28px;
    padding: 0 10px;
    font-size: 10px;
  }

  .group-open {
    position: absolute;
    right: 0;
    bottom: 12px;
    width: 34px;
    height: 34px;
  }

  .group-link {
    position: absolute;
    right: 42px;
    bottom: 20px;
    font-size: 10px;
  }

  .event-list-row .group-link {
    right: 42px;
  }

  .creation-form {
    grid-template-columns: 1fr;
    padding: 16px;
  }

  .creation-preview {
    width: 100%;
    max-width: 180px;
  }

  .creation-grid,
  .created-detail dl,
  .event-detail dl {
    grid-template-columns: 1fr;
  }

  .access-pay-fields,
  .creation-form > .create-submit,
  .creation-form > .creation-message {
    grid-column: auto;
  }

  .creation-message {
    grid-column: auto;
  }

  .groups-bottom {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .joining-row {
    grid-template-columns: 1fr 1fr;
  }

  .avatar-wrap,
  .avatar {
    width: 72px;
    height: 72px;
  }

  .person-topline {
    gap: 8px;
    align-items: baseline;
    margin-bottom: 4px;
  }

  .person-name { font-size: 16px; }

  .status {
    border: 0;
    padding: 0;
    font-size: 12px;
  }

  .profession,
  .skills,
  .distance,
  .city { font-size: 12px; }

  .profession,
  .skills,
  .person-reason { display: block; }

  .place {
    grid-column: 3;
    grid-row: 1;
    align-self: start;
    justify-self: end;
    max-width: 92px;
    padding-top: 8px;
    text-align: right;
  }

  .distance { justify-content: flex-end; }

  .city { padding-left: 0; }

  .actions {
    grid-column: 3;
    grid-row: 2;
    position: static;
    align-self: end;
    justify-self: end;
    gap: 6px;
  }

  .icon-button {
    width: 42px;
    height: 42px;
    background: rgba(251,252,249,.86);
  }

  .place {
    align-self: start;
    padding-top: 8px;
  }

  .closing {
    position: relative;
    margin-top: 28px;
    padding-left: 100px;
    min-height: 90px;
  }

  .closing-line {
    position: absolute;
    left: 52px;
    width: 1px;
    min-height: 88px;
  }

  .closing::before {
    content: "";
    position: absolute;
    left: 22px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255,255,255,.5);
  }

  .closing::after {
    content: "+";
    position: absolute;
    left: 43px;
    top: 14px;
    color: var(--green);
    font-size: 26px;
  }

  .mobile-locate {
    position: fixed;
    z-index: 1210;
    display: grid;
    place-items: center;
    width: 66px;
    height: 66px;
    left: 50%;
    bottom: calc(98px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    border-radius: 50%;
    color: white;
    background: var(--green);
    box-shadow: 0 16px 35px rgba(11,174,91,.3);
  }

  .mobile-locate svg { width: 29px; height: 29px; }

  .leaflet-control-attribution { display: none; }
  .avatar-marker { width: 50px; height: 50px; }

  .page:not(.group-detail-mode):not(.event-detail-mode) {
    display: flex;
    flex-direction: column;
    background: #f4f6f8 !important;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .map-shell {
    order: 1;
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: 100%;
    height: 300px;
    min-height: 0;
    overflow: hidden;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .content {
    order: 2;
    z-index: 6;
    margin-top: 0;
    padding-top: 20px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .brand-line {
    position: relative;
    z-index: 7;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .search-area,
  .page:not(.group-detail-mode):not(.event-detail-mode) .filter-line {
    position: relative;
    z-index: 40;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .modes,
  .page:not(.group-detail-mode):not(.event-detail-mode) .closing {
    position: relative;
    z-index: 7;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .results-layout {
    position: relative;
    z-index: 1;
  }

  .page:not(.group-detail-mode):not(.event-detail-mode) .mobile-flow,
  .page:not(.group-detail-mode):not(.event-detail-mode) .mobile-locate {
    display: none !important;
  }

.page:not(.group-detail-mode):not(.event-detail-mode) .profile-orbit {
  top: 18px;
  right: 18px;
}
}

@media (max-width: 1023px) {
  .uzm-bottom {
    bottom: 0.5em!important;
  }
  .uzm-bottom.people-bottom-nav,
  .people-bottom-nav.is-people-app,
  html.uzway-mobile-menu-open .people-bottom-nav.is-people-app {
    background: rgba(255, 255, 255, 0.93) !important;
    backdrop-filter: blur(18px) !important;
    -webkit-backdrop-filter: blur(18px) !important;
  }

  html.dark .uzm-bottom.people-bottom-nav,
  html.dark .people-bottom-nav.is-people-app,
  body.dark .uzm-bottom.people-bottom-nav,
  body.dark .people-bottom-nav.is-people-app,
  [data-theme="dark"] .uzm-bottom.people-bottom-nav {
    background: rgba(15, 23, 42, 0.92) !important;
    border-top-color: rgba(148, 163, 184, 0.18) !important;
  }

  /* People social bar stays flex; after More it matches the shared 7-slot bar. */
  .people-bottom-nav.is-people-app,
  html.uzway-mobile-menu-open .people-bottom-nav.is-people-app:not(.is-legacy-mode) {
    display: flex !important;
    align-items: center !important;
    justify-content: space-around !important;
    overflow: visible !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    z-index: 10001 !important;
    grid-template-columns: none !important;
  }

  .people-bottom-nav.is-people-app.is-legacy-mode,
  html.uzway-mobile-menu-open .people-bottom-nav.is-people-app.is-legacy-mode {
    display: grid !important;
    grid-template-columns: repeat(7, minmax(0, 1fr)) !important;
    align-items: end !important;
  }

  .people-bottom-nav.is-people-app.is-legacy-mode .people-menu-center {
    grid-column: 4 !important;
    justify-self: center !important;
    align-self: end !important;
  }

  .people-bottom-nav.is-people-app .people-menu-center {
    position: relative !important;
    z-index: 5 !important;
    flex: 0 0 60px !important;
    align-self: center !important;
    transform: translateY(-27px) !important;
    pointer-events: auto !important;
  }

  .people-bottom-nav.is-people-app .people-legacy-item {
    display: none !important;
  }

  .people-bottom-nav.is-people-app.is-legacy-mode .people-social-item {
    display: none !important;
  }

  .people-bottom-nav.is-people-app.is-legacy-mode .people-legacy-item {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center;
    align-items: center;
  }

  .people-bottom-nav.is-people-app .people-more-item,
  .people-bottom-nav.is-people-app .people-more-item .people-bottom-more-toggle {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .pmm-panel:not(.is-open) {
    pointer-events: none !important;
  }

  .closing {
    display: none !important;
  }

  .page.group-detail-mode .content {
    width: 100%;
    padding: 18px 10px calc(190px + env(safe-area-inset-bottom));
  }

  .network-detail-grid {
    grid-template-columns: 1fr;
  }

  .network-detail-sidebar {
    order: 2;
  }

  .network-detail-copy h2 {
    font-size: 30px;
  }

  .page.group-detail-mode .brand-line {
    padding: 0 6px;
  }
}

@media (max-width: 430px) {
  .content { padding-left: 18px; padding-right: 18px; }
  .hero h1 { font-size: 76px; }
  .statement { font-size: 16px; }
  .person {
    grid-template-columns: 66px minmax(0,1fr) 84px;
    min-height: 116px;
  }

  .person-link {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    grid-template-columns: 60px minmax(0, 1fr);
  }
  .avatar-wrap,
  .avatar {
    width: 60px;
    height: 60px;
  }
  .person-name { font-size: 15px; }
  .status { font-size: 11px; }
  .profession, .skills, .distance, .city { font-size: 11px; }
  .place {
    grid-column: 3;
    grid-row: 1;
    max-width: 84px;
    padding-top: 8px;
  }

  .actions {
    grid-column: 3;
    grid-row: 2;
    gap: 6px;
  }

  .icon-button {
    width: 39px;
    height: 39px;
  }

  .icon-button svg {
    width: 18px;
    height: 18px;
  }

  .closing { padding-left: 88px; }

  .joining-row {
    grid-template-columns: 1fr;
  }

  .topic-row button {
    flex: 1 1 calc(50% - 5px);
    padding: 0 10px;
  }

  .member-strip-row {
    grid-template-columns: 1fr;
  }

  .network-detail-grid {
    gap: 12px;
  }

  .network-detail-card {
    padding: 14px;
  }

  .network-detail-card dl {
    grid-template-columns: 1fr;
  }

  .network-detail-card-head {
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 10px;
  }

  .network-detail-copy h2 {
    font-size: 24px;
  }

  .network-detail-photo {
    max-height: 220px;
  }

  .membership-detail {
    gap: 10px;
  }

  .page.group-detail-mode .hero {
    grid-template-columns: 58px 1fr;
  }

  .page.group-detail-mode .hero h1 {
    font-size: 34px;
  }

  .event-detail-actions-top button {
    min-height: 30px;
    padding: 0 12px;
    font-size: 10px;
  }

  .event-hero-copy h2 {
    font-size: 23px;
  }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}

body.profile-body {
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
}

.people-profile-editor {
  min-height: calc(100vh - 170px);
  padding: 34px 18px 120px;
  display: grid;
  place-items: start center;
}

.people-editor-card {
  width: min(720px, 100%);
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 18px 50px rgba(11,22,33,.08);
}

.people-editor-back {
  margin-bottom: 18px;
}

.people-editor-card h1,
.profile-missing-title {
  margin: 0;
  color: var(--ink);
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: 0;
}

.people-editor-sub {
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.5;
}

.people-editor-error {
  margin-bottom: 18px;
  padding: 12px 14px;
  border: 1px solid rgba(239,68,68,.24);
  border-radius: 12px;
  background: rgba(254,242,242,.95);
  color: #b91c1c;
  font-size: 14px;
  font-weight: 700;
}

.people-editor-form {
  display: grid;
  gap: 16px;
}

.people-editor-form label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
}

.people-editor-form input[type="text"],
.people-editor-form input[type="url"],
.people-editor-form input[type="month"],
.people-editor-form select,
.people-editor-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  
  font-size: 15px;
  font-weight: 500;
  line-height: 1.4;
  padding: 13px 14px;
  outline: none;
}

.people-editor-form textarea {
  min-height: 132px;
  resize: vertical;
}

.people-editor-form input:focus,
.people-editor-form input[type="url"]:focus,
.people-editor-form textarea:focus {
  border-color: rgba(13,175,93,.7);
  box-shadow: 0 0 0 3px rgba(13,175,93,.12);
}

.people-editor-socials {
  display: grid;
  gap: 13px;
  padding: 16px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.48);
}

.people-editor-section-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.people-editor-help {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  text-transform: none;
  font-weight: 500;
}

.people-editor-social-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.people-editor-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.people-editor-location {
  display: grid;
  gap: 12px;
}

.people-editor-map-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 48px;
  gap: 10px;
}

.people-editor-map-search input {
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #fff;
  color: var(--ink);
  
  font-size: 15px;
  font-weight: 500;
  padding: 13px 14px;
  outline: none;
}

.people-editor-map-search button {
  width: 48px;
  height: 48px;
  border: 1px solid rgba(13,175,93,.25);
  border-radius: 13px;
  background: rgba(13,175,93,.1);
  color: var(--green);
  display: grid;
  place-items: center;
  cursor: pointer;
}

.people-editor-map-search button i {
  font-size: 17px;
  line-height: 1;
}

.people-editor-map-results {
  display: grid;
  gap: 8px;
}

.people-editor-map-results:empty {
  display: none;
}

.people-editor-map-results button,
.people-editor-map-empty {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255,255,255,.92);
  color: var(--ink);
  display: grid;
  gap: 3px;
  padding: 10px 12px;
  text-align: left;
  cursor: pointer;
}

.people-editor-map-results strong {
  font-size: 13px;
  line-height: 1.2;
}

.people-editor-map-results span,
.people-editor-map-empty {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.people-editor-map {
  width: 100%;
  height: 300px;
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #d8eef3;
}

.people-editor-map .leaflet-control-attribution {
  font-size: 10px;
}

.people-editor-avatar {
  justify-self: center;
  position: relative;
  width: 112px;
  height: 112px;
  margin: 0 0 8px;
}

.people-editor-avatar img,
.people-editor-avatar > span {
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background: rgba(13,175,93,.18);
  color: #07824a;
  object-fit: cover;
  font-size: 34px;
  font-weight: 800;
}

.people-editor-avatar label {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  cursor: pointer;
}

.people-editor-avatar input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.people-editor-submit,
.profile-missing-action {
  min-height: 52px;
  border: 0;
  border-radius: 14px;
  background: var(--green);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 22px;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 14px 30px rgba(13,175,93,.22);
}

.profile-missing-panel {
  max-width: 620px;
}

.profile-missing-action {
  margin-top: 22px;
}

html.dark body.profile-body,
body.dark.profile-body,
[data-theme="dark"] body.profile-body {
  background:
    radial-gradient(circle at top left, rgba(16,185,129,.08), transparent 26%),
    linear-gradient(180deg, #0b1220 0%, #0f172a 100%);
  color: #e5edf8;
}

html.dark .people-profile-editor,
body.dark .people-profile-editor,
[data-theme="dark"] .people-profile-editor {
  background: transparent;
}

html.dark .people-editor-card,
body.dark .people-editor-card,
[data-theme="dark"] .people-editor-card {
  border-color: rgba(148,163,184,.18);
  background: rgba(15,23,42,.94);
  box-shadow: 0 20px 60px rgba(2,6,23,.42);
}

html.dark .people-editor-card h1,
html.dark .profile-missing-title,
body.dark .people-editor-card h1,
body.dark .profile-missing-title,
[data-theme="dark"] .people-editor-card h1,
[data-theme="dark"] .profile-missing-title {
  color: #f8fafc;
}

html.dark .people-editor-back,
body.dark .people-editor-back,
[data-theme="dark"] .people-editor-back,
html.dark .people-editor-sub,
body.dark .people-editor-sub,
[data-theme="dark"] .people-editor-sub,
html.dark .people-editor-section-title,
body.dark .people-editor-section-title,
[data-theme="dark"] .people-editor-section-title {
  color: #cbd5e1;
}

html.dark .people-editor-error,
body.dark .people-editor-error,
[data-theme="dark"] .people-editor-error {
  border-color: rgba(248,113,113,.24);
  background: rgba(69,10,10,.38);
  color: #fca5a5;
}

html.dark .people-editor-form input[type="text"],
html.dark .people-editor-form input[type="url"],
html.dark .people-editor-form textarea,
body.dark .people-editor-form input[type="text"],
body.dark .people-editor-form input[type="url"],
body.dark .people-editor-form textarea,
[data-theme="dark"] .people-editor-form input[type="text"],
[data-theme="dark"] .people-editor-form input[type="url"],
[data-theme="dark"] .people-editor-form textarea,
html.dark .people-editor-map-search input,
body.dark .people-editor-map-search input,
[data-theme="dark"] .people-editor-map-search input {
  border-color: rgba(148,163,184,.22);
  background: #111827;
  color: #e5edf8;
}

html.dark .people-editor-form input::placeholder,
html.dark .people-editor-form textarea::placeholder,
html.dark .people-editor-map-search input::placeholder,
body.dark .people-editor-form input::placeholder,
body.dark .people-editor-form textarea::placeholder,
body.dark .people-editor-map-search input::placeholder,
[data-theme="dark"] .people-editor-form input::placeholder,
[data-theme="dark"] .people-editor-form textarea::placeholder,
[data-theme="dark"] .people-editor-map-search input::placeholder {
  color: rgba(226,232,240,.52);
}

html.dark .people-editor-form input:focus,
html.dark .people-editor-form input[type="url"]:focus,
html.dark .people-editor-form textarea:focus,
html.dark .people-editor-map-search input:focus,
body.dark .people-editor-form input:focus,
body.dark .people-editor-form input[type="url"]:focus,
body.dark .people-editor-form textarea:focus,
body.dark .people-editor-map-search input:focus,
[data-theme="dark"] .people-editor-form input:focus,
[data-theme="dark"] .people-editor-form input[type="url"]:focus,
[data-theme="dark"] .people-editor-form textarea:focus,
[data-theme="dark"] .people-editor-map-search input:focus {
  border-color: rgba(34,197,94,.58);
  box-shadow: 0 0 0 3px rgba(34,197,94,.14);
}

html.dark .people-editor-socials,
body.dark .people-editor-socials,
[data-theme="dark"] .people-editor-socials {
  border-color: rgba(148,163,184,.16);
  background: rgba(15,23,42,.55);
}

html.dark .people-editor-map-search button,
body.dark .people-editor-map-search button,
[data-theme="dark"] .people-editor-map-search button {
  border-color: rgba(34,197,94,.22);
  background: rgba(34,197,94,.12);
  color: #34d399;
}

html.dark .people-editor-map,
body.dark .people-editor-map,
[data-theme="dark"] .people-editor-map {
  border-color: rgba(148,163,184,.16);
  background: #0f172a;
}

html.dark .people-editor-map-results button,
html.dark .people-editor-map-empty,
body.dark .people-editor-map-results button,
body.dark .people-editor-map-empty,
[data-theme="dark"] .people-editor-map-results button,
[data-theme="dark"] .people-editor-map-empty {
  border-color: rgba(148,163,184,.18);
  background: #111827;
  color: #e5edf8;
}

html.dark .people-editor-map-results span,
html.dark .people-editor-map-empty,
body.dark .people-editor-map-results span,
body.dark .people-editor-map-empty,
[data-theme="dark"] .people-editor-map-results span,
[data-theme="dark"] .people-editor-map-empty {
  color: #94a3b8;
}

html.dark .people-editor-avatar img,
html.dark .people-editor-avatar > span,
body.dark .people-editor-avatar img,
body.dark .people-editor-avatar > span,
[data-theme="dark"] .people-editor-avatar img,
[data-theme="dark"] .people-editor-avatar > span {
  background: rgba(16,185,129,.14);
  color: #86efac;
}

html.dark .people-editor-avatar label,
body.dark .people-editor-avatar label,
[data-theme="dark"] .people-editor-avatar label {
  border-color: #0f172a;
}

html.dark .people-editor-submit,
body.dark .people-editor-submit,
[data-theme="dark"] .people-editor-submit {
  box-shadow: 0 14px 30px rgba(16,185,129,.18);
}

html.dark .page.group-detail-mode,
body.dark .page.group-detail-mode,
[data-theme="dark"] .page.group-detail-mode,
html.dark .page.event-detail-mode,
body.dark .page.event-detail-mode,
[data-theme="dark"] .page.event-detail-mode {
  background:
    radial-gradient(circle at 15% 20%, rgba(20,184,166,.08), transparent 22%),
    linear-gradient(180deg, #0b1120 0%, #0f172a 100%);
  color: #e5edf8;
}

html.dark .page.group-detail-mode .content,
body.dark .page.group-detail-mode .content,
[data-theme="dark"] .page.group-detail-mode .content,
html.dark .page.event-detail-mode .content,
body.dark .page.event-detail-mode .content,
[data-theme="dark"] .page.event-detail-mode .content {
  color: #e5edf8;
}

html.dark .page.group-detail-mode .hero h1,
html.dark .page.group-detail-mode .statement,
html.dark .page.event-detail-mode .hero h1,
html.dark .page.event-detail-mode .statement,
body.dark .page.group-detail-mode .hero h1,
body.dark .page.group-detail-mode .statement,
body.dark .page.event-detail-mode .hero h1,
body.dark .page.event-detail-mode .statement,
[data-theme="dark"] .page.group-detail-mode .hero h1,
[data-theme="dark"] .page.group-detail-mode .statement,
[data-theme="dark"] .page.event-detail-mode .hero h1,
[data-theme="dark"] .page.event-detail-mode .statement {
  color: #f8fafc;
}

html.dark .page.group-detail-mode .statement span,
body.dark .page.group-detail-mode .statement span,
[data-theme="dark"] .page.group-detail-mode .statement span {
  color: #34d399;
}

html.dark .collection-create,
body.dark .collection-create,
[data-theme="dark"] .collection-create,
html.dark .created-detail,
body.dark .created-detail,
[data-theme="dark"] .created-detail,
html.dark .event-detail,
body.dark .event-detail,
[data-theme="dark"] .event-detail {
  color: #e5edf8;
}

html.dark .empty,
body.dark .empty,
[data-theme="dark"] .empty,
html.dark .empty-create span,
html.dark .empty-create-copy span,
body.dark .empty-create span,
body.dark .empty-create-copy span,
[data-theme="dark"] .empty-create span,
[data-theme="dark"] .empty-create-copy span,
html.dark .created-detail p,
html.dark .event-detail p,
body.dark .created-detail p,
body.dark .event-detail p,
[data-theme="dark"] .created-detail p,
[data-theme="dark"] .event-detail p {
  color: #94a3b8;
}

html.dark .empty-create strong,
html.dark .empty-create-copy strong,
body.dark .empty-create strong,
body.dark .empty-create-copy strong,
[data-theme="dark"] .empty-create strong,
[data-theme="dark"] .empty-create-copy strong,
html.dark .created-detail dd,
html.dark .event-detail dd,
body.dark .created-detail dd,
body.dark .event-detail dd,
[data-theme="dark"] .created-detail dd,
[data-theme="dark"] .event-detail dd {
  color: #f8fafc;
}

html.dark .creation-form,
body.dark .creation-form,
[data-theme="dark"] .creation-form {
  border-color: rgba(148,163,184,.18);
  background: rgba(15,23,42,.6);
}

html.dark .creation-preview,
body.dark .creation-preview,
[data-theme="dark"] .creation-preview {
  border-color: rgba(148,163,184,.24);
  background: #111827;
  color: #94a3b8;
}

html.dark .creation-grid input,
html.dark .creation-grid select,
html.dark .creation-grid textarea,
body.dark .creation-grid input,
body.dark .creation-grid select,
body.dark .creation-grid textarea,
[data-theme="dark"] .creation-grid input,
[data-theme="dark"] .creation-grid select,
[data-theme="dark"] .creation-grid textarea {
  border-color: rgba(148,163,184,.22);
  background: #111827;
  color: #e5edf8;
}

html.dark .creation-grid label > span,
body.dark .creation-grid label > span,
[data-theme="dark"] .creation-grid label > span,
html.dark .created-detail dt,
html.dark .event-detail dt,
body.dark .created-detail dt,
body.dark .event-detail dt,
[data-theme="dark"] .created-detail dt,
[data-theme="dark"] .event-detail dt,
html.dark .groups-section-title,
body.dark .groups-section-title,
[data-theme="dark"] .groups-section-title,
html.dark .joining-row small,
body.dark .joining-row small,
[data-theme="dark"] .joining-row small,
html.dark .event-row span,
body.dark .event-row span,
[data-theme="dark"] .event-row span,
html.dark .discussion-row small,
html.dark .discussion-row time,
body.dark .discussion-row small,
body.dark .discussion-row time,
[data-theme="dark"] .discussion-row small,
[data-theme="dark"] .discussion-row time {
  color: #94a3b8;
}

html.dark .created-detail dl div,
html.dark .event-detail dl div,
body.dark .created-detail dl div,
body.dark .event-detail dl div,
[data-theme="dark"] .created-detail dl div,
[data-theme="dark"] .event-detail dl div,
html.dark .group-detail-grid article,
body.dark .group-detail-grid article,
[data-theme="dark"] .group-detail-grid article {
  border-color: rgba(148,163,184,.18);
}

html.dark .created-detail dl div,
html.dark .event-detail dl div,
body.dark .created-detail dl div,
body.dark .event-detail dl div,
[data-theme="dark"] .created-detail dl div,
[data-theme="dark"] .event-detail dl div {
  background: rgba(15,23,42,.66);
}

html.dark .groups-section-title,
body.dark .groups-section-title,
[data-theme="dark"] .groups-section-title {
  color: #e5edf8;
}

html.dark .group-detail-actions,
body.dark .group-detail-actions,
[data-theme="dark"] .group-detail-actions {
  border-color: rgba(148,163,184,.18);
}

html.dark .network-detail-media,
body.dark .network-detail-media,
[data-theme="dark"] .network-detail-media,
html.dark .network-detail-card,
body.dark .network-detail-card,
[data-theme="dark"] .network-detail-card {
  border-color: rgba(148,163,184,.18);
  background: rgba(15,23,42,.58);
}

html.dark .network-detail-copy h2,
body.dark .network-detail-copy h2,
[data-theme="dark"] .network-detail-copy h2,
html.dark .network-detail-card-head strong,
body.dark .network-detail-card-head strong,
[data-theme="dark"] .network-detail-card-head strong {
  color: #f8fafc;
}

html.dark .network-detail-card-head span,
body.dark .network-detail-card-head span,
[data-theme="dark"] .network-detail-card-head span,
html.dark .network-detail-copy p,
body.dark .network-detail-copy p,
[data-theme="dark"] .network-detail-copy p {
  color: #94a3b8;
}

html.dark .network-detail-actions,
body.dark .network-detail-actions,
[data-theme="dark"] .network-detail-actions {
  color: #e5edf8;
}

html.dark .network-row-actions,
body.dark .network-row-actions,
[data-theme="dark"] .network-row-actions {
  color: #e5edf8;
}

html.dark .membership-toggle,
body.dark .membership-toggle,
[data-theme="dark"] .membership-toggle {
  border-color: rgba(148,163,184,.22);
  background: rgba(15,23,42,.58);
  color: #cbd5e1;
}

html.dark .membership-toggle.is-joined,
body.dark .membership-toggle.is-joined,
[data-theme="dark"] .membership-toggle.is-joined {
  border-color: rgba(34,197,94,.24);
  color: #86efac;
}

html.dark .membership-owner,
body.dark .membership-owner,
[data-theme="dark"] .membership-owner {
  background: rgba(16,185,129,.12);
  color: #86efac;
}

html.dark .network-membership-summary,
body.dark .network-membership-summary,
[data-theme="dark"] .network-membership-summary {
  color: #e5edf8;
}

html.dark .join-group,
body.dark .join-group,
[data-theme="dark"] .join-group {
  background: rgba(16,185,129,.14);
  color: #d1fae5;
}

html.dark .join-group span,
body.dark .join-group span,
[data-theme="dark"] .join-group span {
  background: #d1fae5;
  color: #065f46;
}

html.dark .detail-round,
body.dark .detail-round,
[data-theme="dark"] .detail-round,
html.dark .detail-action,
body.dark .detail-action,
[data-theme="dark"] .detail-action,
html.dark .event-row button,
body.dark .event-row button,
[data-theme="dark"] .event-row button,
html.dark .discussion-row button,
body.dark .discussion-row button,
[data-theme="dark"] .discussion-row button {
  border-color: rgba(148,163,184,.22);
  background: rgba(15,23,42,.58);
  color: #cbd5e1;
}

html.dark .detail-action.danger,
body.dark .detail-action.danger,
[data-theme="dark"] .detail-action.danger {
  border-color: rgba(248,113,113,.24);
  color: #fca5a5;
}

html.dark .row-action,
body.dark .row-action,
[data-theme="dark"] .row-action {
  border-color: rgba(148,163,184,.22);
  background: rgba(15,23,42,.58);
  color: #cbd5e1;
}

html.dark .row-action.danger,
body.dark .row-action.danger,
[data-theme="dark"] .row-action.danger {
  border-color: rgba(248,113,113,.24);
  color: #fca5a5;
}

html.dark .created-detail-photo,
html.dark .event-detail-actions-top button,
body.dark .created-detail-photo,
body.dark .event-detail-actions-top button,
[data-theme="dark"] .created-detail-photo,
[data-theme="dark"] .event-detail-actions-top button {
  border-color: rgba(148,163,184,.18);
  background: #111827;
}

html.dark .topic-row button,
body.dark .topic-row button,
[data-theme="dark"] .topic-row button {
  border-color: rgba(148,163,184,.22);
  background: rgba(15,23,42,.58);
  color: #cbd5e1;
}

html.dark .member-strip-row b,
body.dark .member-strip-row b,
[data-theme="dark"] .member-strip-row b {
  border-color: rgba(148,163,184,.22);
  color: #cbd5e1;
}

.profile-round-action i {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  font-size: 18px;
  line-height: 1;
}

.icon-button i {
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  font-size: 17px;
  line-height: 1;
}

.profile-page {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 18%, rgba(13,175,93,.025), transparent 24%),
    linear-gradient(180deg, #fdfefc 0%, #fbfcf9 100%);
}

.profile-topline {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  gap: 34px;
  padding: 14px 34px 0 28px;
}

.profile-brand {
  display: inline-flex;
  align-items: center;
  width: 104px;
  min-height: 32px;
}

.profile-back {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #34465d;
  font-size: 14px;
}

.profile-back svg {
  width: 20px;
  height: 20px;
}

.profile-panel {
  position: relative;
  z-index: 6;
  width: 52%;
  max-width: calc(100% - 48%);
  padding: 46px 54px 32px 55px;
}

.profile-intro {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 34px;
  align-items: center;
}

.profile-intro > div:last-child {
  min-width: 0;
  max-width: min(100%, 640px);
}

.profile-avatar-wrap {
  position: relative;
  width: 220px;
  height: 220px;
}

.profile-avatar-main {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 18px 44px rgba(11,22,33,.11);
}

.profile-avatar-fallback,
.profile-avatar-marker span,
.profile-person-mini > span {
  display: grid;
  place-items: center;
  color: white;
  background: linear-gradient(135deg, #0b1621, #0daf5d);
  font-weight: 780;
}

.profile-avatar-fallback { font-size: 58px; }

.profile-name {
  margin: 0;
  max-width: 100%;
  font-size: clamp(54px, 5.2rem, 88px);
  line-height: .96;
  letter-spacing: 0;
  font-weight: 790;
  overflow-wrap: anywhere;
  word-break: normal;
}

.profile-role-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 16px;
}

.profile-role {
  font-size: 20px;
  color: #33445a;
}

.profile-status {
  font-size: 12px;
  color: var(--green);
  border: 1px solid rgba(13,175,93,.28);
  border-radius: 999px;
  padding: 5px 11px;
}

.profile-meta {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
  color: #53627a;
  font-size: 14px;
}

.profile-meta span,
.profile-meta-place {
  display: flex;
  gap: 7px;
  align-items: center;
  color: inherit;
  text-decoration: none;
}

.profile-meta-place:hover {
  color: var(--green);
}

.profile-meta svg,
.profile-meta-place svg {
  width: 17px;
  height: 17px;
  flex: none;
}

.profile-skills-line {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 16px;
  color: #53627a;
  font-size: 14px;
}

.profile-skills-line svg {
  width: 18px;
  height: 18px;
  flex: none;
}

.profile-social-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 360px;
  margin-top: 18px;
  border: 1px solid rgba(15, 23, 42, .08);
  border-radius: 12px;
  overflow: hidden;
  background: rgba(255, 255, 255, .7);
}

.profile-social-stats button {
  display: grid;
  justify-items: center;
  gap: 2px;
  min-height: 64px;
  padding: 10px 8px;
  border: 0;
  border-right: 1px solid rgba(15, 23, 42, .08);
  border-radius: 0;
  background: transparent;
  color: #5b6b7c;
  font: inherit;
  cursor: pointer;
}

.profile-social-stats button:last-child {
  border-right: 0;
}

.profile-social-stats button:hover,
.profile-social-stats button:focus-visible {
  background: rgba(255, 255, 255, .95);
  color: var(--ink);
}

.profile-social-stats strong {
 
  color: var(--color-text);
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -.3px;
  line-height: 1.1;
}

.profile-social-stats span {
  color: inherit;
  font-size: 12px;
  font-weight: 550;
  letter-spacing: .01em;
}

.profile-bio {
  max-width: 690px;
  margin: 30px 0 26px;
  font-size: 17px;
  line-height: 1.65;
  color: #34445a;
}

.profile-social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 760px;
  margin: -10px 0 26px;
}

.profile-social-links a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 8px 13px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: #34445a;
  font-size: 13px;
  font-weight: 700;
  transition: border-color .16s ease, color .16s ease, background .16s ease;
}

.profile-social-links a:hover,
.profile-social-links a:focus-visible {
  border-color: rgba(13,175,93,.42);
  background: rgba(255,255,255,.9);
  color: var(--green);
}

.profile-social-links i {
  width: 16px;
  text-align: center;
  font-size: 15px;
}

.profile-actions {
  display: flex;
  align-items: flex-start;
  gap: 34px;
}

.profile-primary-action {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(13,175,93,.55);
  border-radius: 999px;
  padding: 13px 22px;
  color: #173047;
  background: rgba(255,255,255,.46);
}

.profile-primary-action svg,
.profile-round-action svg {
  width: 20px;
  height: 20px;
  display: block;
  flex: none;
}

.profile-action-group {
  position: relative;
  text-align: center;
  color: var(--color-text);;
  font-size: 11px;
}

.profile-connect-form {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.profile-connect-form > span:not(.profile-round-action) {
  display: block;
}

.profile-connect-form .profile-round-action {
  margin-bottom: 6px;
}

.profile-round-action {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  line-height: 1;
  border: 1px solid var(--line);
  border-radius: 50%;
  margin: 0 auto 6px;    background: var(--color-card) !important;
}

.profile-round-action.is-active {
  color: white;
  background: var(--green);
  border-color: var(--green);
}

.profile-more-menu {
  position: absolute;
  right: 50%;
  bottom: calc(100% + 12px);
  z-index: 30;
  width: 158px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.96);
  box-shadow: 0 18px 38px rgba(11,22,33,.14);
  transform: translateX(50%) translateY(6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease, visibility .16s ease;
}

.profile-more-group.is-open .profile-more-menu {
  transform: translateX(50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.profile-more-menu button,
.profile-more-menu a {
  width: 100%;
  min-height: 34px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: #34445a;
  font-size: 12px;
  font-weight: 650;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.profile-more-menu button:hover,
.profile-more-menu a:hover {
  background: rgba(13,175,93,.08);
  color: var(--green);
}

.profile-section { margin-top: 36px; }

.profile-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
}

.profile-section-title::before {
  content: "";
  width: 2px;
  height: 22px;
  background: var(--green);
}

.profile-focus {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.profile-focus-item {
  color: #53627a;
  font-size: 12px;
}

a.profile-focus-item.is-link {
  color: #2563eb;
  text-decoration: none;
}

a.profile-focus-item.is-link:hover {
  text-decoration: underline;
}

.profile-friends-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  max-width: 690px;
  margin-top: 18px;
}

.profile-friend {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  min-height: 66px;
  padding: 9px 12px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.66);
  color: #27384f;
}

.profile-friend img,
.profile-friend > span {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-friend > span {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b1621, #0daf5d);
  font-size: 14px;
  font-weight: 800;
}

.profile-friend strong,
.profile-friend small {
  display: block;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-friend strong {
  font-size: 14px;
}

.profile-friend small {
  margin-top: 3px;
  color: #66758b;
  font-size: 12px;
}

.profile-friends-empty {
  max-width: 690px;
  margin-top: 18px;
  padding: 16px 18px;
  border: 1px dashed rgba(15,23,42,.14);
  border-radius: 8px;
  color: #66758b;
  background: rgba(255,255,255,.44);
}

.profile-social-open {
  overflow: hidden;
}

.profile-social-modal {
  position: fixed;
  inset: 0;
  z-index: 10020;
  display: grid;
  place-items: center;
  padding: 24px;
}

.profile-social-modal[hidden] {
  display: none;
}

.profile-social-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(11,22,33,.42);
  opacity: 0;
  transition: opacity .16s ease;
}

.profile-social-card {
  position: relative;
  z-index: 1;
  width: min(620px, 100%);
  max-height: min(680px, calc(100vh - 48px));
  overflow: auto;
  padding: 20px;
  border: 1px solid rgba(15,23,42,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 30px 80px rgba(11,22,33,.24);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .16s ease, transform .16s ease;
}

.profile-social-modal.is-open .profile-social-backdrop,
.profile-social-modal.is-open .profile-social-card {
  opacity: 1;
}

.profile-social-modal.is-open .profile-social-card {
  transform: translateY(0);
}

.profile-social-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.profile-social-card-head h2 {
  margin: 0;
  color: #0b1621;
  font-size: 20px;
  line-height: 1.2;
}

.profile-social-card-head button {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(15,23,42,.1);
  border-radius: 50%;
  background: #fff;
  color: #526176;
  cursor: pointer;
}

.profile-social-list {
  grid-template-columns: 1fr;
  max-width: none;
  margin-top: 0;
}

.profile-social-card .profile-friends-empty {
  max-width: none;
}

.people-notifications-page {
  min-height: 100vh;
  padding: 34px;
  background: linear-gradient(180deg, #fdfefc 0%, #fbfcf9 100%);
}

.people-notifications-panel {
  max-width: 760px;
  margin: 0 auto;
  padding: 36px;
}

.people-notifications-panel h1 {
  margin: 22px 0 24px;
  color: #0b1621;
  font-size: 42px;
  line-height: 1;
}

.people-notification-list {
  display: grid;
  gap: 12px;
}

.people-notification-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(15,23,42,.08);
  border-radius: 8px;
  background: rgba(255,255,255,.72);
  color: #27384f;
}

.people-notification-item.is-unread {
  border-color: rgba(13,175,93,.28);
  box-shadow: inset 3px 0 0 #0daf5d;
}

.people-notification-item img,
.people-notification-item > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
}

.people-notification-item > span {
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, #0b1621, #0daf5d);
  font-weight: 800;
}

.people-notification-item--messenger > span {
  background: linear-gradient(135deg, #2563eb, #0daf5d);
}

.people-notification-item--messenger > span i {
  font-size: 20px;
  line-height: 1;
}

.people-notification-item strong,
.people-notification-item p,
.people-notification-item time {
  display: block;
}

.people-notification-item p {
  margin: 4px 0;
  color: #526176;
}

.people-notification-item time,
.people-notification-empty {
  color: #77849a;
  font-size: 12px;
}

.people-notification-empty {
  padding: 20px;
  border: 1px dashed rgba(15,23,42,.14);
  border-radius: 8px;
  background: rgba(255,255,255,.48);
}

html.dark .people-notifications-page,
body.dark .people-notifications-page,
[data-theme="dark"] .people-notifications-page {
  background: #0b1120 !important;
  color: #e5edf8 !important;
}

html.dark .people-notifications-panel,
body.dark .people-notifications-panel,
[data-theme="dark"] .people-notifications-panel {
  background: transparent !important;
  color: #e5edf8 !important;
}

html.dark .people-notifications-panel h1,
body.dark .people-notifications-panel h1,
[data-theme="dark"] .people-notifications-panel h1 {
  color: #f8fafc !important;
  opacity: 1 !important;
}

html.dark .people-notifications-panel .profile-back,
body.dark .people-notifications-panel .profile-back,
[data-theme="dark"] .people-notifications-panel .profile-back {
  color: #cbd5e1 !important;
}

html.dark .people-notifications-panel .profile-back:hover,
body.dark .people-notifications-panel .profile-back:hover,
[data-theme="dark"] .people-notifications-panel .profile-back:hover {
  color: #ffffff !important;
}

html.dark .people-notification-item,
body.dark .people-notification-item,
[data-theme="dark"] .people-notification-item {
  border-color: rgba(148,163,184,.22) !important;
  background: #111827 !important;
  color: #e5edf8 !important;
}

html.dark .people-notification-item p,
body.dark .people-notification-item p,
[data-theme="dark"] .people-notification-item p {
  color: #a7b3c7 !important;
}

html.dark .people-notification-item time,
html.dark .people-notification-empty,
body.dark .people-notification-item time,
body.dark .people-notification-empty,
[data-theme="dark"] .people-notification-item time,
[data-theme="dark"] .people-notification-empty {
  color: #9aa8bd !important;
}

html.dark .people-notification-empty,
body.dark .people-notification-empty,
[data-theme="dark"] .people-notification-empty {
  border-color: rgba(148,163,184,.28) !important;
  background: #111827 !important;
}

@media (max-width: 820px) {
  .profile-social-stats {
    max-width: 100%;
    margin-top: 16px;
  }

  .profile-social-stats button {
    min-height: 58px;
    padding: 10px 6px;
  }

  .profile-social-stats strong {
    font-size: 17px;
  }

  .profile-social-stats span {
    font-size: 11px;
  }

  .profile-friends-list {
    grid-template-columns: 1fr;
  }

  .profile-social-modal {
    align-items: end;
    padding: 12px 12px calc(104px + env(safe-area-inset-bottom));
  }

  .profile-social-card {
    width: 100%;
    max-height: min(560px, calc(100vh - 132px - env(safe-area-inset-bottom)));
    padding: 18px 16px;
    overscroll-behavior: contain;
  }

  .profile-social-card-head {
    position: sticky;
    top: -18px;
    z-index: 2;
    margin: -18px -16px 14px;
    padding: 18px 16px 12px;
    border-bottom: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.98);
  }

  .profile-social-list {
    padding-bottom: 8px;
  }

  .people-notifications-page {
    padding: 18px 14px 88px;
  }

  .people-notifications-panel {
    padding: 18px 4px;
  }

  .people-notifications-panel h1 {
    font-size: 34px;
  }

  .people-notification-item {
    grid-template-columns: 46px minmax(0, 1fr);
    padding: 12px;
  }

  .people-notification-item img,
  .people-notification-item > span {
    width: 46px;
    height: 46px;
  }
}

.profile-work-people {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
  margin-top: 26px;
  min-width: 0;
}

.profile-work-people > section {
  min-width: 0;
}

.profile-work-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 18px;
}

.profile-work-item {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
}

.profile-work-icon {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 28px;
  font-weight: 750;
}

.profile-work-icon.one { background: #4ec6a0; }
.profile-work-icon.two { background: #5d3ef0; }
.profile-work-icon.three { background: #ffbc0d; }

.profile-work-item strong,
.profile-person-mini strong {
  display: block;
  font-size: 13px;
  margin-bottom: 5px;
}

.profile-work-item span,
.profile-person-mini span {
  display: block;
  color: var(--color-text);
  font-size: 11px;
  line-height: 1.45;
}

.profile-people-mini {
  display: flex;
  flex-wrap: nowrap;
  gap: 14px;
  margin-top: 18px;
  padding: 2px 2px 8px 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.profile-people-mini::-webkit-scrollbar {
  display: none;
}

.profile-person-mini {
  display: grid;
  flex: 0 0 232px;
  width: 232px;
  min-width: 232px;
  max-width: 232px;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 11px;
  align-items: center;
  min-height: 78px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,.86);
  scroll-snap-align: start;
  color: inherit;
  text-decoration: none;
}

.profile-person-mini div {
  min-width: 0;
}

.profile-person-mini strong,
.profile-person-mini span {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow-wrap: anywhere;
}

.profile-person-mini img,
.profile-person-mini > span {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-map-shell {
  position: absolute;
  z-index: 1;
  top: 0;
  right: 0;
  width: 48%;
  height: 100%;
  min-height: 720px;
  overflow: hidden;
  -webkit-mask-image: none;
  mask-image: none;
}

.profile-map-fade { display: none; }

.profile-map-location {
  position: absolute;
  z-index: 550;
  left: 24px;
  bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #58677b;
}

.profile-loc-icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(13,175,93,.38);
  border-radius: 50%;
  color: var(--green);
  background: rgba(255,255,255,.68);
}

.profile-loc-icon svg {
  width: 27px;
  height: 27px;
}

.profile-map-location strong {
  display: block;
  color: var(--ink);
  margin: 3px 0 7px;
}

.profile-map-location small { font-size: 12px; }

.profile-map-location em {
  font-style: normal;
  color: var(--green);
  font-weight: 650;
}

.profile-avatar-marker {
  width: 56px;
  height: 56px;
  overflow: hidden;
  border-radius: 50%;
  background: #fff;
  padding: 3px;
  box-sizing: border-box;
  box-shadow: 0 8px 22px rgba(11,22,33,.18);
  position: relative;
}

.profile-avatar-marker img,
.profile-avatar-marker span {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.profile-avatar-marker span {
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 750;
  color: #fff;
  background: linear-gradient(135deg, #0b1621, #0bae5b);
}

.profile-center-marker {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(13,175,93,.13);
  border: 1px solid rgba(13,175,93,.35);
  position: relative;
}

.profile-center-marker::after {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px #fff;
}

.profile-mobile-flow,
.profile-mobile-map-button { display: none; }

@media (max-width: 900px) {
  .profile-page {
    display: flex;
    flex-direction: column;
    overflow: visible;
    padding-bottom: calc(62px + env(safe-area-inset-bottom));
    background: #fff;
  }

  .profile-topline {
    order: 1;
    padding: 20px;
    gap: 18px;
  }

  .profile-brand { display: none; }
  .profile-back { font-size: 13px; }

  .profile-panel {
      
    order: 3;
    z-index: 4;
    width: 100%;
    max-width: 100%;
    padding: 28px 20px 32px;
    background: #fff;
    border-top: 1px solid var(--line);
  }

  .profile-map-shell {
    order: 2;
    position: relative;
    width: 100%;
    height: 290px;
    min-height: 0;
    margin-top: 14px;
    -webkit-mask-image: none;
    mask-image: none;
  }

  .profile-intro {
    grid-template-columns: 132px minmax(0, 1fr);
    gap: 18px;
    margin-top: 0;
  }

  .profile-avatar-wrap {
    width: 132px;
    height: 132px;
  }

  .profile-avatar-fallback { font-size: 36px; }

  .profile-name {
    font-size: clamp(34px, 3.3rem, 58px);
    letter-spacing: 0;
  }

  .profile-role-line {
    align-items: flex-start;
    flex-direction: column;
    gap: 7px;
    margin-top: 11px;
  }

  .profile-role { font-size: 17px; }

  .profile-meta {
    margin-top: 15px;
    gap: 10px;
    font-size: 12px;
  }

  .profile-skills-line { font-size: 12px; }

  .profile-bio {
    margin-top: 28px;
    font-size: 15px;
  }

  .profile-social-links {
    margin: -8px 0 24px;
  }

  .profile-social-links a {
    max-width: 100%;
  }

  .profile-actions {
    gap: 20px;
    flex-wrap: wrap;
  }

  .profile-primary-action { padding: 12px 18px; }

  .profile-section { margin-top: 30px; }

  .profile-focus { gap: 18px 22px; }

  .profile-work-people,
  .profile-work-people > section {
    min-width: 0;
    overflow: visible;
  }

  .profile-work-people {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .profile-work-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .profile-people-mini {
    display: flex;
    flex-wrap: nowrap;
    gap: 12px;
    margin-top: 14px;
    margin-right: -20px;
    padding: 2px 20px 14px 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
  }

  .profile-people-mini::-webkit-scrollbar {
    display: none;
  }

  .profile-person-mini {
    flex: 0 0 78%;
    width: 78%;
    min-width: 78%;
    max-width: 78%;
    scroll-snap-align: start;
    grid-template-columns: 54px minmax(0, 1fr);
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: rgba(255,255,255,.82);
  }

  .profile-person-mini strong,
  .profile-person-mini span {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .profile-map-location {
    left: 16px;
    right: 16px;
    bottom: 16px;
    display: flex;
    max-width: calc(100% - 32px);
    gap: 12px;
    padding: 10px 12px;
    border: 1px solid rgba(11,22,33,.08);
    border-radius: 14px;
    background: rgba(255,255,255,.88);
    box-shadow: 0 10px 24px rgba(11,22,33,.10);
  }

  .profile-loc-icon {
    width: 42px;
    height: 42px;
  }

  .profile-loc-icon svg {
    width: 22px;
    height: 22px;
  }

  .profile-map-location strong {
    margin: 1px 0 3px;
  }

  .profile-mobile-flow {
    display: none;
    position: absolute;
    z-index: 3;
    right: -20px;
    top: 520px;
    width: 150px;
    height: 900px;
    color: rgba(13,175,93,.5);
    pointer-events: none;
  }

  .profile-mobile-map-button {
    display: none;
    position: fixed;
    z-index: 1210;
    place-items: center;
    width: 64px;
    height: 64px;
    left: 50%;
    bottom: calc(98px + env(safe-area-inset-bottom));
    transform: translateX(-50%);
    border-radius: 50%;
    background: var(--green);
    color: white;
    box-shadow: 0 16px 34px rgba(13,175,93,.3);
  }

  .profile-mobile-map-button svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 520px) {
  .people-profile-editor {
    padding: 16px 12px 104px;
  }

  .people-editor-card {
    padding: 20px 16px;
    border-radius: 18px;
  }

  .people-editor-card h1,
  .profile-missing-title {
    font-size: 26px;
  }

  .people-editor-grid {
    grid-template-columns: 1fr;
  }

  .people-editor-social-grid {
    grid-template-columns: 1fr;
  }

  .people-editor-submit,
  .profile-missing-action {
    width: 100%;
  }

  .profile-topline {
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-panel {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  .profile-people-mini {
    margin-right: -16px;
    padding-right: 16px;
  }

  .profile-intro { grid-template-columns: 112px minmax(0, 1fr); }

  .profile-avatar-wrap {
    width: 112px;
    height: 112px;
  }

  .profile-name { font-size: 38px; }
  .profile-role { font-size: 15px; }
  .profile-status { font-size: 11px; }

  .profile-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .profile-actions { gap: 16px; }

  .profile-round-action {
    width: 48px;
    height: 48px;
  }

  .profile-focus {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .new-pc-header .new-pc-main {
    grid-template-columns: minmax(190px, 240px) minmax(0, 1fr) auto !important;
    gap: clamp(18px, 2.4vw, 34px) !important;
  }

  .new-pc-header .new-pc-logo {
    width: min(220px, 100%) !important;
    min-height: 56px !important;
  }

  .new-pc-header .new-pc-logo img {
    width: auto !important;
    max-width: 220px !important;
    max-height: 58px !important;
    object-fit: contain !important;
  }

  .new-pc-header .new-pc-search {
    height: 48px !important;
    grid-template-columns: minmax(0, 1fr) 48px !important;
    gap: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border-radius: 999px !important;
    background: var(--color-bg, #fff) !important;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07) !important;
  }

  .new-pc-header .new-pc-search-input {
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  .new-pc-header .new-pc-search input,
  .new-pc-header .new-pc-search select {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
  }

  .new-pc-header .new-pc-search-btn {
    width: 48px !important;
    height: 48px !important;
    min-width: 48px !important;
    align-self: stretch !important;
    justify-self: stretch !important;
    margin: 0 !important;
    border-radius: 0 999px 999px 0 !important;
  }

  html.dark .new-pc-header .new-pc-search,
  body.dark .new-pc-header .new-pc-search,
  [data-theme="dark"] .new-pc-header .new-pc-search {
    background: #111827 !important;
    border-color: rgba(148, 163, 184, 0.28) !important;
    box-shadow: none !important;
  }
}

html.dark .people-map,
html.dark #map,
html.dark .leaflet-container,
body.dark .people-map,
body.dark #map,
body.dark .leaflet-container,
[data-theme="dark"] .people-map,
[data-theme="dark"] #map,
[data-theme="dark"] .leaflet-container {
  background: #0b1120 !important;
}

html.dark .leaflet-tile-pane,
body.dark .leaflet-tile-pane,
[data-theme="dark"] .leaflet-tile-pane {
  filter: none !important;
  opacity: 1 !important;
}

html.dark .leaflet-container img.leaflet-tile,
body.dark .leaflet-container img.leaflet-tile,
[data-theme="dark"] .leaflet-container img.leaflet-tile {
  opacity: 1 !important;
}

html.dark .leaflet-control-zoom a,
html.dark .leaflet-control-locate a,
html.dark .leaflet-control-attribution,
body.dark .leaflet-control-zoom a,
body.dark .leaflet-control-locate a,
body.dark .leaflet-control-attribution,
[data-theme="dark"] .leaflet-control-zoom a,
[data-theme="dark"] .leaflet-control-locate a,
[data-theme="dark"] .leaflet-control-attribution {
  background: rgba(15, 23, 42, 0.92) !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #e5edf8 !important;
}

html.dark .pmm-tabs,
body.dark .pmm-tabs,
[data-theme="dark"] .pmm-tabs {
  background: rgba(226, 232, 240, 0.12) !important;
  border: 1px solid rgba(148, 163, 184, 0.18) !important;
}

html.dark .pmm-tab,
body.dark .pmm-tab,
[data-theme="dark"] .pmm-tab {
  color: #a8b3c7 !important;
}

html.dark .pmm-tab.is-active,
body.dark .pmm-tab.is-active,
[data-theme="dark"] .pmm-tab.is-active {
  background: rgba(248, 250, 252, 0.95) !important;
  color: #2563eb !important;
  box-shadow: none !important;
}

html.dark .pmm-menu-row,
html.dark .pmm-mini-card,
html.dark .pmm-wide-card,
html.dark .pmm-compact-card,
html.dark .pmm-hero,
body.dark .pmm-menu-row,
body.dark .pmm-mini-card,
body.dark .pmm-wide-card,
body.dark .pmm-compact-card,
body.dark .pmm-hero,
[data-theme="dark"] .pmm-menu-row,
[data-theme="dark"] .pmm-mini-card,
[data-theme="dark"] .pmm-wide-card,
[data-theme="dark"] .pmm-compact-card,
[data-theme="dark"] .pmm-hero {
  background: rgba(255, 255, 255, 0.075) !important;
  border: 1px solid rgba(148, 163, 184, 0.2) !important;
  color: #eef4ff !important;
  box-shadow: none !important;
}

html.dark .pmm-label,
html.dark .pmm-tile-label,
html.dark .pmm-mini-card strong,
html.dark .pmm-wide-card strong,
html.dark .pmm-compact-card strong,
html.dark .pmm-hero h2,
body.dark .pmm-label,
body.dark .pmm-tile-label,
body.dark .pmm-mini-card strong,
body.dark .pmm-wide-card strong,
body.dark .pmm-compact-card strong,
body.dark .pmm-hero h2,
[data-theme="dark"] .pmm-label,
[data-theme="dark"] .pmm-tile-label,
[data-theme="dark"] .pmm-mini-card strong,
[data-theme="dark"] .pmm-wide-card strong,
[data-theme="dark"] .pmm-compact-card strong,
[data-theme="dark"] .pmm-hero h2 {
  color: #f8fafc !important;
}

html.dark .pmm-section-label,
html.dark .pmm-mini-card small,
html.dark .pmm-wide-card small,
html.dark .pmm-hero p,
html.dark .pmm-chev,
body.dark .pmm-section-label,
body.dark .pmm-mini-card small,
body.dark .pmm-wide-card small,
body.dark .pmm-hero p,
body.dark .pmm-chev,
[data-theme="dark"] .pmm-section-label,
[data-theme="dark"] .pmm-mini-card small,
[data-theme="dark"] .pmm-wide-card small,
[data-theme="dark"] .pmm-hero p,
[data-theme="dark"] .pmm-chev {
  color: #a8b3c7 !important;
}

html.dark .pmm-icon-bubble,
body.dark .pmm-icon-bubble,
[data-theme="dark"] .pmm-icon-bubble {
  background: rgba(255, 255, 255, 0.11) !important;
}

html.dark .pmm-tile + .pmm-tile::before,
body.dark .pmm-tile + .pmm-tile::before,
[data-theme="dark"] .pmm-tile + .pmm-tile::before {
  background: rgba(148, 163, 184, 0.24) !important;
}

html.dark .page,
body.dark .page,
[data-theme="dark"] .page {
  background: #0b1120;
  color: #e5edf8;
}

html.dark .content,
body.dark .content,
[data-theme="dark"] .content {
  color: #e5edf8;
}

html.dark .hero h1,
html.dark .person-name,
body.dark .hero h1,
body.dark .person-name,
[data-theme="dark"] .hero h1,
[data-theme="dark"] .person-name {
  color: #f8fafc;
}

html.dark .statement,
html.dark .profession,
html.dark .skills,
html.dark .distance,
html.dark .city,
body.dark .statement,
body.dark .profession,
body.dark .skills,
body.dark .distance,
body.dark .city,
[data-theme="dark"] .statement,
[data-theme="dark"] .profession,
[data-theme="dark"] .skills,
[data-theme="dark"] .distance,
[data-theme="dark"] .city {
  color: #9aa8bd;
}

html.dark .search-area,
body.dark .search-area,
[data-theme="dark"] .search-area {
  border-color: rgba(148, 163, 184, 0.22);
  background: transparent;
}

html.dark .social-composer,
html.dark .social-tabs button,
html.dark .social-comment-input,
html.dark .mobile-create-sheet,
html.dark .mobile-social-top a,
body.dark .social-composer,
body.dark .social-tabs button,
body.dark .social-comment-input,
body.dark .mobile-create-sheet,
body.dark .mobile-social-top a,
[data-theme="dark"] .social-composer,
[data-theme="dark"] .social-tabs button,
[data-theme="dark"] .social-comment-input,
[data-theme="dark"] .mobile-create-sheet,
[data-theme="dark"] .mobile-social-top a {

  color: #e5edf8 !important;
}

html.dark .social-post,
html.dark .profile-post-card,
html.dark .mobile-create-head,
html.dark .mobile-create-options button,
body.dark .social-post,
body.dark .profile-post-card,
body.dark .mobile-create-head,
body.dark .mobile-create-options button,
[data-theme="dark"] .social-post,
[data-theme="dark"] .profile-post-card,
[data-theme="dark"] .mobile-create-head,
[data-theme="dark"] .mobile-create-options button {
  border-color: rgba(148, 163, 184, 0.26) !important;
}

html.dark .social-post p,
html.dark .profile-post-card p,
html.dark .social-url,
html.dark .social-url:link,
html.dark .social-url:visited,
html.dark .social-url:active,
body.dark .social-url,
body.dark .social-url:link,
body.dark .social-url:visited,
body.dark .social-url:active,
[data-theme="dark"] .social-url,
[data-theme="dark"] .social-url:link,
[data-theme="dark"] .social-url:visited,
[data-theme="dark"] .social-url:active {
  color: rgb(29, 155, 240);
}

html.dark .social-post-body,
html.dark .mobile-social-top strong,
body.dark .social-post p,
body.dark .profile-post-card p,
body.dark .social-post-body,
body.dark .mobile-social-top strong,
[data-theme="dark"] .social-post p,
[data-theme="dark"] .profile-post-card p,
[data-theme="dark"] .social-post-body,
[data-theme="dark"] .mobile-social-top strong {
  color: #f8fafc !important;
}

html.dark .search-area input,
body.dark .search-area input,
[data-theme="dark"] .search-area input {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #f8fafc !important;
  -webkit-text-fill-color: #f8fafc;
}

html.dark .search-area input::placeholder,
body.dark .search-area input::placeholder,
[data-theme="dark"] .search-area input::placeholder {
  color: rgba(226, 232, 240, 0.58) !important;
}

html.dark .mode,
body.dark .mode,
[data-theme="dark"] .mode {
  background: rgba(15, 23, 42, 0.9) !important;
  border-color: rgba(148, 163, 184, 0.22) !important;
  color: #cbd5e1 !important;
}

html.dark .mode.active,
body.dark .mode.active,
[data-theme="dark"] .mode.active {
  background: rgba(16, 185, 129, 0.16) !important;
  border-color: rgba(16, 185, 129, 0.36) !important;
  color: #34d399 !important;
}

html.dark .filter-select,
body.dark .filter-select,
[data-theme="dark"] .filter-select {
  background:
    linear-gradient(45deg, transparent 50%, #94a3b8 50%) calc(100% - 16px) 18px / 5px 5px no-repeat,
    linear-gradient(135deg, #94a3b8 50%, transparent 50%) calc(100% - 12px) 18px / 5px 5px no-repeat,
    #111827 !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
  color: #e5edf8 !important;
  box-shadow: none !important;
}

html.dark .location-combobox-input.filter-select,
body.dark .location-combobox-input.filter-select,
[data-theme="dark"] .location-combobox-input.filter-select,
html.dark .filter-location .location-combobox-input,
body.dark .filter-location .location-combobox-input,
[data-theme="dark"] .filter-location .location-combobox-input,
html.dark .location-combobox-input,
body.dark .location-combobox-input,
[data-theme="dark"] .location-combobox-input,
html.dark .location-combobox-menu,
body.dark .location-combobox-menu,
[data-theme="dark"] .location-combobox-menu,
html.dark .search-suggest,
body.dark .search-suggest,
[data-theme="dark"] .search-suggest {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.26) !important;
  color: #e5edf8 !important;
}

html.dark .location-combobox-item span,
html.dark .location-combobox-empty,
body.dark .location-combobox-item span,
body.dark .location-combobox-empty,
[data-theme="dark"] .location-combobox-item span,
[data-theme="dark"] .location-combobox-empty {
  color: #94a3b8 !important;
}

html.dark .person,
body.dark .person,
[data-theme="dark"] .person {
  border-color: rgba(148, 163, 184, 0.18);
}

html.dark .person-chip,
body.dark .person-chip,
[data-theme="dark"] .person-chip {
  border-color: rgba(148, 163, 184, 0.24);
  background: rgba(16, 185, 129, 0.08);
  color: #cbd5e1;
}

html.dark .person-chip.is-online,
body.dark .person-chip.is-online,
[data-theme="dark"] .person-chip.is-online {
  border-color: rgba(16, 185, 129, 0.32);
  background: rgba(16, 185, 129, 0.16);
  color: #34d399;
}

html.dark .person:hover,
body.dark .person:hover,
[data-theme="dark"] .person:hover {
  background: rgba(16, 185, 129, 0.06);
}

html.dark .person-link,
body.dark .person-link,
[data-theme="dark"] .person-link {
  color: inherit;
}

html.dark .avatar,
body.dark .avatar,
[data-theme="dark"] .avatar {
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
}

html.dark .place,
body.dark .place,
[data-theme="dark"] .place {
  color: #9aa8bd;
}

html.dark .icon-button,
body.dark .icon-button,
[data-theme="dark"] .icon-button {
  background: #111827 !important;
  border-color: rgba(148, 163, 184, 0.24) !important;
  color: #cbd5e1 !important;
}

html.dark .icon-button.primary,
html.dark .icon-button.connected,
body.dark .icon-button.primary,
body.dark .icon-button.connected,
[data-theme="dark"] .icon-button.primary,
[data-theme="dark"] .icon-button.connected {
  background: #10b981 !important;
  border-color: #10b981 !important;
  color: #ffffff !important;
}

@media (max-width: 820px) {
  html.dark body,
  body.dark,
  [data-theme="dark"] body {
    background: #0b1120 !important;
  }

  html.dark .page:not(.group-detail-mode):not(.event-detail-mode),
  body.dark .page:not(.group-detail-mode):not(.event-detail-mode),
  [data-theme="dark"] .page:not(.group-detail-mode):not(.event-detail-mode) {
    background: #0b1120 !important;
  }

  html.dark .page:not(.group-detail-mode):not(.event-detail-mode) .content,
  body.dark .page:not(.group-detail-mode):not(.event-detail-mode) .content,
  [data-theme="dark"] .page:not(.group-detail-mode):not(.event-detail-mode) .content {
    background: linear-gradient(180deg, rgba(15, 23, 42, 0.98), #0b1120 120px) !important;
  }

  html.dark .search-area,
  body.dark .search-area,
  [data-theme="dark"] .search-area {
    background: #111827 !important;
    border-color: rgba(148, 163, 184, 0.24) !important;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  }

  html.dark .search-area input,
  body.dark .search-area input,
  [data-theme="dark"] .search-area input {
    color: #f8fafc !important;
    -webkit-text-fill-color: #f8fafc;
  }

  html.dark .search-area input::placeholder,
  body.dark .search-area input::placeholder,
  [data-theme="dark"] .search-area input::placeholder {
    color: rgba(226, 232, 240, 0.58) !important;
  }

  html.dark .search-button,
  body.dark .search-button,
  [data-theme="dark"] .search-button {
    color: #34d399 !important;
    background: transparent !important;
    box-shadow: none !important;
  }

  html.dark .filter-toggle,
  body.dark .filter-toggle,
  [data-theme="dark"] .filter-toggle {
    background: #111827 !important;
    border-color: rgba(148, 163, 184, 0.26) !important;
    color: #34d399 !important;
    box-shadow: none !important;
  }

  html.dark .filter-select,
  body.dark .filter-select,
  [data-theme="dark"] .filter-select {
    min-height: 42px;
    background:
      linear-gradient(45deg, transparent 50%, #94a3b8 50%) calc(100% - 16px) 18px / 5px 5px no-repeat,
      linear-gradient(135deg, #94a3b8 50%, transparent 50%) calc(100% - 12px) 18px / 5px 5px no-repeat,
      #111827 !important;
  }

  html.dark .page.filters-open .filter-line,
  body.dark .page.filters-open .filter-line,
  [data-theme="dark"] .page.filters-open .filter-line {
    background: rgba(17, 24, 39, 0.98) !important;
    border-color: rgba(148, 163, 184, 0.18) !important;
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.3);
  }
}

.people-onboarding {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 520px;
  margin: 14px 0 16px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--green-soft, #edf8f1);
}

.people-onboarding p {
  margin: 4px 0 0;
  color: var(--muted);
}

.people-onboarding-action {
  flex: none;
  height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border-radius: 999px;
  color: #fff;
  background: var(--green, #0bae5b);
  text-decoration: none;
  font-weight: 700;
}

.mobile-filters-real {
  display: grid;
  gap: 14px;
  overflow: visible;
}

.mobile-filters-real .location-combobox-input {
  min-height: 46px;
  padding-left: 40px;
}

.mobile-filters-real .filter-location {
  width: 100%;
}

.mobile-filters-real label {
  display: grid;
  gap: 6px;
  font-weight: 650;
}

.mobile-filters-real select {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  font: inherit;
}

.mobile-create-visibility {
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.people-notification-group-title {
  margin: 16px 0 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 750;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.people-notification-actions {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.people-notification-actions button {
  height: 34px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: var(--green, #0bae5b);
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.people-notification-actions form:last-child button {
  background: var(--paper-2, #eef1ec);
  color: var(--ink);
}

.people-editor-grid select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  font: inherit;
}

.profile-following-count {
  display: none;
}

.page.network-list-mode .hero {
  margin-top: 24px;
  margin-bottom: 28px;
}

.page.network-list-mode .hero h1 {
  font-size: clamp(82px, 8vw, 148px);
  line-height: .82;
  letter-spacing: -8px;
}

.page.network-list-mode .statement {
  margin-top: 0;
  font-size: 17px;
  line-height: 1.5;
  color: var(--muted);
}

.page.group-detail-mode .hero,
.page.event-detail-mode .hero {
  display: none;
}

.network-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.network-card-link {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 12px;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.network-card-media img,
.network-card-fallback,
.network-card-date {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  object-fit: cover;
  background: var(--paper-2);
}

.network-card-fallback,
.network-card-date {
  color: #fff;
  font-size: 18px;
  font-weight: 750;
}

.network-card-date {
  background: var(--green);
  line-height: 1.05;
  text-align: center;
}

.network-card-date b {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.network-card-body strong {
  display: block;
  color: var(--ink);
  font-size: 16px;
  font-weight: 720;
  letter-spacing: -.2px;
}

.network-card-body p {
  display: -webkit-box;
  margin: 4px 0 6px;
  overflow: hidden;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.network-card-meta {
  color: var(--muted);
  font-size: 13px;
}

.network-card-side {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-top: 4px;
}

.network-card .membership-toggle,
.network-card .membership-owner {
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  font-size: 13px;
}

.network-page {
  width: min(100%, 680px);
  padding: 8px 0 32px;
}

.network-page-cover {
  overflow: hidden;
  margin-bottom: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--paper-2);
}

.network-page-cover img {
  display: block;
  width: 100%;
  max-height: 280px;
  object-fit: cover;
}

.network-page-head h1 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  font-weight: 760;
  letter-spacing: -.6px;
  line-height: 1.15;
}

.network-page-head p {
  margin: 10px 0 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.5;
}

.network-page-meta {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.network-page-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-size: 14px;
  word-break: break-all;
  text-decoration: none;
}

.network-page-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 16px 0;
}

.network-page-actions .membership-toggle,
.network-page-actions .membership-owner,
.network-page-actions .detail-action {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
}

.network-page-actions .network-detail-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin: 0;
  flex-wrap: wrap;
}

.network-page-actions .network-detail-actions .detail-action {
  flex: none;
}

.network-page-actions .detail-action i,
.network-page-actions .membership-toggle i {
  width: 16px;
  height: 16px;
  font-size: 13px;
  line-height: 1;
}

.network-page-section {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}

.network-page-section h2 {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 720;
}

.network-page-section .collection-create {
  padding-top: 0;
}

@media (max-width: 820px) {
  .page.network-list-mode .hero h1 {
    font-size: 28px;
  }

  .network-card {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 14px 0;
  }

  .network-card-side {
    padding-left: 76px;
  }

  .network-page-head h1 {
    font-size: 24px;
  }

  .page.group-detail-mode .hero,
  .page.event-detail-mode .hero {
    display: none;
  }
}

.people-lightbox {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(0, 0, 0, .86);
}

.people-lightbox[hidden] {
  display: none;
}

.people-lightbox img {
  max-width: min(1100px, calc(100vw - 48px));
  max-height: calc(100dvh - 48px);
  border-radius: 16px;
  object-fit: contain;
}

.people-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 1;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .14);
  color: #fff;
  cursor: pointer;
}

body.people-lightbox-open {
  overflow: hidden;
}

.empty-state {
  display: grid;
  gap: 8px;
  justify-items: start;
  padding: 28px 8px 18px;
  color: var(--ink);
}

.empty-state strong {
  font-size: 18px;
  font-weight: 760;
  letter-spacing: -.3px;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.empty-state-action {
  height: 38px;
  display: inline-flex;
  align-items: center;
  margin-top: 6px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: var(--green, #0bae5b);
  color: #fff;
  font: inherit;
  font-size: 13px;
  font-weight: 750;
  text-decoration: none;
  cursor: pointer;
}

.social-post-hidden {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(220, 38, 38, 0.08);
  color: #b91c1c;
  font-size: 13px;
  font-weight: 650;
}

.social-post-edited {
  display: block;
  margin-top: 4px;
  color: #64748b;
  font-size: 11px;
}

.social-post-limited {
  margin: 8px 0 4px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(37, 99, 235, 0.08);
  color: #1d4ed8;
  font-size: 13px;
  font-weight: 650;
}

.social-post-more {
  position: relative;
  z-index: 2;
}

.social-post-more.is-open {
  z-index: 12;
}

.social-post-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  z-index: 12;
  min-width: 176px;
  display: none;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
}

.social-post-more.is-open .social-post-menu {
  display: grid;
}

.social-post-menu button,
.social-post-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 13px;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.social-post-menu button:hover,
.social-post-menu a:hover {
  background: var(--paper-2, #f4f6f2);
}

.social-post-menu [data-post-delete],
.social-actions [data-post-delete] {
  color: #c2410c;
}

.social-actions [data-post-edit] {
  color: var(--ink);
}

.social-video {
  position: relative;
  margin: 10px 0 4px;
  overflow: hidden;
  border-radius: 16px;
  background: #0b1220;
  aspect-ratio: 16 / 9;
}

.social-video iframe,
.social-video video,
.social-video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #000;
}

.mobile-create-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin: 6px 0 10px;
  color: var(--muted);
  font-size: 12px;
}

.post-limit-offer {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
  padding: 0;
  border: 0;
  background: none;
  color: var(--green);
  font: inherit;
  font-size: 13px;
  font-weight: 650;
  cursor: pointer;
}

.post-limit-offer[hidden] {
  display: none !important;
}

.mobile-create-meta .is-limit {
  color: #c2410c;
}

.mobile-post-preview {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.mobile-post-preview[hidden] {
  display: none !important;
}

.mobile-post-preview img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 16px;
  border: 1px solid var(--line);
}

.mobile-post-remove {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: var(--paper-2);
  color: var(--muted);
  font-size: 13px;
  cursor: pointer;
}

.mobile-post-remove[hidden] {
  display: none !important;
}

.mobile-create-error {
  margin-top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: #fff1ee;
  color: #9a3412;
  font-size: 13px;
}

.member-list {
  display: grid;
  gap: 2px;
}

.member-list-item {
  min-height: 64px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 12px;
  padding: 8px 4px;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.member-list-item img,
.member-list-item > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  object-fit: cover;
  background: var(--paper-2, #eef1ec);
  color: var(--green);
  font-weight: 750;
}

.member-list-item small {
  display: block;
  color: var(--muted);
  font-size: 12px;
}

.member-list-item b {
  color: var(--muted);
}

.people-editor-ok {
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid rgba(13,175,93,.28);
  border-radius: 14px;
  background: rgba(13,175,93,.08);
  color: #0b6b3a;
  font-size: 14px;
}

.people-choice-grid {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.people-choice {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.7);
}

.people-choice strong,
.people-choice small {
  display: block;
}

.people-choice small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.people-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 10px;
  font-size: 14px;
}

.people-settings-block {
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.people-settings-person {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
}

.people-settings-admin {
  display: inline-flex;
  justify-content: center;
  margin-top: 24px;
  text-decoration: none;
}

.people-mod-item {
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.people-mod-item p {
  margin: 6px 0 0;
  color: #53627a;
  font-size: 13px;
}

.people-mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.people-mod-actions button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
}

.people-audit-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.people-audit-list li {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}

.people-audit-list small {
  display: block;
  color: var(--muted);
}

.profile-verified {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
  color: var(--green);
  font-size: 16px;
  vertical-align: middle;
}

.profile-verified em {
  font-style: normal;
  font-size: 13px;
  font-weight: 700;
  color: #0b6b3a;
}

.profile-open-to {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.profile-open-to span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(13,175,93,.1);
      color: var(--color-text);
  font-size: 12px;
  font-weight: 750;
}

.profile-completeness {
  max-width: 690px;
  margin: 0 0 22px;
}

.profile-completeness-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(15,23,42,.08);
}

.profile-completeness-bar span {
  display: block;
  height: 100%;
  background: var(--green);
}

.profile-completeness p,
.profile-empty-hint {
  margin: 8px  0;
  color: var(--color-text);
  font-size: 13px;
}

.profile-timeline,
.profile-portfolio,
.profile-reco-list,
.profile-reco-pending {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.profile-timeline-item,
.profile-reco,
.profile-portfolio-item {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.profile-timeline-item strong,
.profile-reco strong,
.profile-portfolio-item strong {
  display: block;
}

.profile-timeline-item span,
.profile-timeline-item small,
.profile-reco small {
  display: block;
  color: #53627a;
  font-size: 13px;
}

.profile-portfolio-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 12px;
}

.profile-portfolio-item img,
.people-portfolio-preview {
  width: 92px;
  height: 72px;
  object-fit: cover;
  border-radius: 12px;
}

.profile-reco-form {
  margin-top: 16px;
}

.profile-reco-details {
  margin-top: 14px;
}

.profile-reco-details summary {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.82);
  color: #33445a;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.profile-reco-details summary::-webkit-details-marker {
  display: none;
}

.profile-reco-details[open] summary {
  border-color: rgba(13,175,93,.28);
  color: var(--green);
}

.profile-reco-details .profile-reco-form {
  margin-top: 14px;
}

.people-repeat-item {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}

.people-repeat-add {
  min-height: 40px;
  padding: 0 14px;
  border: 1px dashed var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.profile-primary-action.is-disabled,
.profile-primary-action:disabled {
  opacity: .55;
  cursor: not-allowed;
}

.profile-more-menu {
  width: 188px;
}

.person-reason {
  margin-top: 3px;
  color: #53627a;
  font-size: 12px;
}

.poll-composer {
  display: grid;
  gap: 8px;
  margin: 8px 0 4px;
}

.poll-option-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  gap: 8px;
  align-items: center;
}

.poll-option-row input {
  min-height: 44px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

.poll-option-row input:focus {
  outline: 0;
  border-color: color-mix(in srgb, var(--green) 42%, var(--line));
}

.poll-option-remove {
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: var(--white);
  cursor: pointer;
}

.poll-option-remove[hidden] {
  visibility: hidden;
}

.poll-add-option {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 14px;
  border: 1px dashed var(--line);
  border-radius: 14px;
  background: transparent;
  color: var(--green);
  font-weight: 700;
  cursor: pointer;
}

.poll-add-option[hidden] {
  display: none;
}

.social-poll {
  display: grid;
  gap: 8px;
  margin: 12px 0 6px;
}

.social-poll-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  min-height: 44px;
  padding: 10px 14px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  color: var(--ink);
  text-align: left;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.social-poll-option .poll-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: color-mix(in srgb, var(--green) 16%, transparent);
  pointer-events: none;
}

.social-poll-option.is-chosen {
  border-color: color-mix(in srgb, var(--green) 40%, var(--line));
}

.social-poll-option.is-chosen .poll-fill {
  background: color-mix(in srgb, var(--green) 22%, transparent);
}

.social-poll-option span {
  position: relative;
  z-index: 1;
}

.social-poll-option .poll-pct {
  flex: 0 0 auto;
  color: var(--muted);
  font-size: 13px;
}

.social-poll-total {
  color: var(--muted);
  font-size: 12px;
}

.social-post-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2px;
  margin: 10px 0 4px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--line);
}

.social-post-gallery.is-1 .social-post-photo {
  max-height: min(520px, 68vh);
}

.social-post-gallery.is-1 .social-post-image {
  max-height: min(420px, 68vh);
  object-fit: cover;
}

.social-post-gallery.is-2,
.social-post-gallery.is-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.social-post-gallery.is-2 .social-post-photo,
.social-post-gallery.is-4 .social-post-photo {
  aspect-ratio: 1;
  min-height: 0;
}

.social-post-gallery.is-3 {
  grid-template-columns: 1.15fr 1fr;
  grid-template-rows: 1fr 1fr;
}

.social-post-gallery.is-3 .social-post-photo:first-child {
  grid-row: 1 / span 2;
  min-height: 280px;
}

.social-post-gallery.is-3 .social-post-photo:not(:first-child) {
  min-height: 138px;
}

.social-link-card,
.social-repost {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 14px;
  color: inherit;
  text-decoration: none;
}

.social-repost {
  display: block;
  overflow: hidden;
  padding: 12px;
  background: var(--white);
}

.social-repost-wrap {
  margin: 12px 0 8px 42px;
}

.social-repost-head { display: flex; align-items: center; gap: 9px; }
.social-repost-avatar { width: 30px; height: 30px; flex: 0 0 30px; border-radius: 50%; object-fit: cover; display: grid; place-items: center; background: #edf5f0; color: var(--green); font-size: 11px; font-weight: 700; }
.social-repost-head strong { display: block; font-size: 14px; }
.social-repost-head small { display: block; margin-top: 2px; color: var(--muted); font-size: 12px; }
.social-repost-body { display: block; margin-top: 10px; color: var(--ink); font-size: 14px; line-height: 1.45; white-space: pre-line; }
.social-repost-image { display: block; width: 100%; max-height: 260px; margin-top: 10px; border-radius: 10px; object-fit: cover; }
.social-repost-video { position: relative; display: block; margin-top: 10px; overflow: hidden; border-radius: 10px; background: #17202b; }
.social-repost-video img { display: block; width: 100%; max-height: 260px; object-fit: cover; }
.social-repost-play { position: absolute; inset: 50% auto auto 50%; display: grid; width: 54px; height: 38px; place-items: center; transform: translate(-50%, -50%); border-radius: 11px; color: #fff; background: #ff0033; font-size: 17px; }
.social-repost-video { pointer-events: none; }

.social-post > .social-actions {
  position: relative;
  z-index: 1;
}

.repost-quote {
  margin-top: 12px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(11,22,33,.03);
}

.repost-quote strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 14px;
}

.repost-quote span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.4;
}

.social-link-card img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 10px;
}

.nearby-events-strip,
.people-suggest-strip {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 10px 0 16px;
  padding-bottom: 4px;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

.nearby-events-strip::-webkit-scrollbar,
.people-suggest-strip::-webkit-scrollbar {
  display: none;
}

.nearby-events-strip h2 {
  flex: 0 0 auto;
  align-self: center;
  margin: 0 6px 0 0;
  font-size: 13px;
}

.nearby-event-chip,
.people-suggest-strip a {
  flex: 0 0 auto;
  min-width: 140px;
  max-width: 180px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: inherit;
  text-decoration: none;
}

.people-suggest-strip strong,
.people-suggest-strip small {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.event-rsvp-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.event-rsvp {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-weight: 700;
}

.event-rsvp.is-active {
  background: var(--green);
  border-color: var(--green);
      color: var(--color-text);
}

.people-onboard-step {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  margin-bottom: 16px;
}

.people-onboard-step > span {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
      color: var(--color-text);
  font-size: 13px;
  font-weight: 800;
}

.mobile-post-preview-grid {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mobile-post-preview-grid img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
}

.mobile-post-preview-item {
  position: relative;
  display: block;
}

.mobile-post-preview-x {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 22px;
  height: 22px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: #111;
     color: var(--color-text);
  cursor: pointer;
  padding: 0;
  font-size: 11px;
}

.people-flash {
  position: fixed;
  left: 50%;
  bottom: 88px;
  z-index: 80;
  transform: translateX(-50%);
  max-width: calc(100% - 32px);
  padding: 10px 16px;
  border-radius: 999px;
  background: #111827;
     color: var(--color-text);
  font-size: 13px;
  font-weight: 650;
  box-shadow: 0 10px 24px rgba(15, 23, 42, .2);
}

.access-badge {
  display: inline-flex;
  align-items: center;
  margin-left: 8px;
  padding: 2px 8px;
  border-radius: 999px;
  background: #eef2f7;
  color: #334155;
  font-size: 11px;
  font-weight: 700;
  vertical-align: middle;
}
.access-badge.is-private { background: #eef2ff; color: #3730a3; }
.access-badge.is-paid { background: #ecfdf3; color: #166534; }
.access-pay-fields {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.42);
}
.access-pay-fields[hidden] { display: none; }
.access-pay-fields .wide { grid-column: 1 / -1; }
.paypal-connect.wide { grid-column: 1 / -1; }
.paypal-connect { display: grid; gap: 10px; }
.paypal-connect-fields { display: grid; gap: 12px; }
.paypal-connect-fields[hidden] { display: none; }
.paypal-connect-change {
  justify-self: start;
  min-height: 36px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-weight: 650;
  cursor: pointer;
}
.access-pay-lead {
  grid-column: 1 / -1;
  margin: 0;
  color: #64748b;
  font-size: 12px;
  line-height: 1.45;
}
.access-pay-box {
  margin: 0 0 16px;
  padding: 16px;
  border-radius: 18px;

}
.access-pay-box strong { font-size: 18px; }
.access-pay-details {
  margin: 10px 0;
  padding: 12px;
  border-radius: 12px;

  white-space: pre-wrap;
  font-family: inherit;
  font-size: 14px;
}
.access-copy, .access-request-form button {
  border: 0;
  border-radius: 12px;
  background: #16a34a;
  color: #fff;
  font-weight: 700;
  padding: 10px 14px;
  cursor: pointer;
}
.access-request-form {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
  padding: 16px;
  border-radius: 18px;   
   border: 1px solid var(--line);
}
.access-request-form label { display: grid; gap: 6px; font-size: 13px; font-weight: 650; }
.access-request-form input[type="text"] {
  height: 42px;
   border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
}
.access-request-card {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.access-request-card img, .access-request-ava {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: #e5e7eb;
  display: grid;
  place-items: center;
  font-weight: 800;
}
.access-request-card small, .access-request-card time, .access-ref { color: #6b7280; font-size: 12px; }
.access-wait, .access-empty { color: #64748b; }
.access-pay-hint { margin: 8px 0 0; color: #334155; font-size: 13px; }
@media (max-width: 820px) {
  .access-pay-fields, .access-request-card { grid-template-columns: 1fr; }
}

/* ===== Articles ===== */
.social-post.is-article {
  padding: 0 0 18px;
  border-bottom: 0;
}

.social-article-card {
  overflow: hidden;
  margin: 10px 0 14px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--white);
}
.social-article-card {
    cursor: pointer;
}
.social-location{
    text-decoration: none;
    color: var(--muted)!important;
}
.social-article-cover {
  position: relative;
  min-height: 268px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 18px 16px;
  background: var(--paper-2);
  color: var(--ink);
  background-size: cover;
  background-position: center;
}

.social-article-cover.has-image {
  color: #f4fff8;
  background-color: #0b1621;
}

.social-article-cover.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 22, 33, 0.08), rgba(11, 22, 33, 0.58));
  pointer-events: none;
}

.social-article-cover > * {
  position: relative;
  z-index: 1;
}

.social-article-kicker {
  margin-bottom: 8px;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.82;
}

.social-article-title {
  margin: 0;
  font-size: 22px;
  font-weight: 720;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

.social-article-meta,
.social-post .social-article-meta,
.profile-post-card .social-article-meta {
  display: flex;
  gap: 8px;
  margin: 12px 18px 0;
  color: var(--muted);
  font-size: 12px;
}

.social-article-excerpt,
.social-post .social-article-excerpt,
.profile-post-card .social-article-excerpt {
  margin: 8px 18px 16px;
  padding: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.article-reader {
  max-width: 680px;
  margin: 0 auto;
}

.article-reader-cover {
  position: relative;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  margin: 0 -4px 18px;
  padding: 28px 22px 24px;
  border-radius: 22px;
  background: var(--paper-2);
  color: var(--ink);
  background-size: cover;
  background-position: center;
}

.article-reader-cover.has-image {
  color: #f4fff8;
  background-color: #0b1621;
  cursor: zoom-in;
}

.article-reader-cover.has-image::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(11, 22, 33, 0.08), rgba(11, 22, 33, 0.58));
  pointer-events: none;
}

.article-reader-cover > * {
  position: relative;
  z-index: 1;
}

.article-reader-cover .social-article-title {
  font-size: 32px;
}

.article-prose {
  color: var(--ink);
  font-size: 17px;
  line-height: 1.7;
  letter-spacing: 0.01em;
}

.article-prose h2 {
  margin: 28px 0 10px;
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.article-prose h3 {
  margin: 22px 0 8px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.article-prose p {
  margin: 0 0 16px;
  font-size: inherit;
  line-height: inherit;
}

.article-prose blockquote {
  margin: 18px 0;
  padding: 4px 0 4px 16px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-size: 16px;
  font-style: italic;
}

.article-prose mark,
.article-editor mark {
  padding: 0.08em 0.28em;
  border-radius: 6px;
  background: var(--green-soft);
  color: inherit;
}

.article-prose ul,
.article-prose ol,
.article-editor ul,
.article-editor ol {
  margin: 0 0 16px;
  padding: 0 0 0 22px;
}

.article-prose li,
.article-editor li {
  margin: 0 0 6px;
}

.article-prose a,
.article-editor a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-prose s,
.article-prose strike,
.article-prose del,
.article-editor s,
.article-editor strike,
.article-editor del {
  text-decoration: line-through;
}

.article-prose .article-indent,
.article-editor .article-indent,
.article-editor blockquote[data-indent] {
  margin: 0 0 16px 28px;
  padding: 0;
  border: 0;
  font-style: inherit;
  color: inherit;
}

.article-composer[hidden] {
  display: none !important;
}

.article-cover-picker {
  margin-bottom: 16px;
}

.article-cover-preview {
  min-height: 148px;
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed color-mix(in srgb, var(--muted) 42%, var(--line));
  border-radius: 16px;
  background: var(--paper-2);
  color: var(--muted);
  background-size: cover;
  background-position: center;
  font-size: 22px;
  cursor: pointer;
}

.article-cover-preview.has-image {
  border-style: solid;
  color: #f4fff8;
}

#articleTitle {
  width: 100%;
  margin: 6px 0 14px;
  padding: 0;
  border: 0;
  border-bottom: 1px solid var(--line);
  outline: 0;
  background: transparent;
  color: var(--ink);
  font-size: 28px;
  font-weight: 740;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

#articleTitle::placeholder {
  color: var(--muted);
  font-weight: 650;
}

.article-toolbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 6px;
  margin: 0 -4px 12px;
  padding: 0 4px 4px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.article-toolbar::-webkit-scrollbar {
  display: none;
}

.article-toolbar-sep {
  width: 1px;
  align-self: stretch;
  margin: 8px 2px;
  background: var(--line);
  flex: 0 0 auto;
}

.article-toolbar button {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.article-toolbar button:hover,
.article-toolbar button:focus-visible {
  border-color: var(--green);
  color: var(--green);
}

.article-toolbar button[data-article-fmt="sub"] {
  font-size: 11px;
}

.article-toolbar button[data-article-fmt="sub"] i {
  font-size: 11px;
}

.article-editor {
  min-height: 220px;
  margin: 4px 0 12px;
  padding: 0;
  outline: 0;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0.01em;
}

.article-editor:empty:before {
  content: attr(data-placeholder);
  color: var(--muted);
}

.article-editor h2 {
  margin: 18px 0 8px;
  font-size: 22px;
  font-weight: 740;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.article-editor h3 {
  margin: 14px 0 6px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 700;
}

.article-editor blockquote {
  margin: 14px 0;
  padding: 0 0 0 14px;
  border-left: 3px solid var(--green);
  color: var(--muted);
  font-style: italic;
}

.article-editor b,
.article-editor strong,
.article-prose b,
.article-prose strong {
  font-weight: 740;
}

.article-editor i,
.article-editor em,
.article-prose i,
.article-prose em {
  font-style: italic;
}

.mobile-create-switch,
.mobile-create-visibility {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  margin-left: auto;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  cursor: pointer;
}

.mobile-create-visibility {
  margin-left: 0;
  cursor: default;
}

html.dark .social-article-card,
body.dark .social-article-card,
[data-theme="dark"] .social-article-card,
html.dark .article-toolbar-sep,
body.dark .article-toolbar-sep,
[data-theme="dark"] .article-toolbar-sep {
  background: rgba(148, 163, 184, 0.26);
}

html.dark .article-toolbar button,
body.dark .article-toolbar button,
[data-theme="dark"] .article-toolbar button,
html.dark .mobile-create-switch,
body.dark .mobile-create-switch,
[data-theme="dark"] .mobile-create-switch {
  background: #111827;
  border-color: rgba(148, 163, 184, 0.26);
  color: #e5edf8;
}

html.dark .article-editor,
body.dark .article-editor,
[data-theme="dark"] .article-editor {
  color: #e5edf8;
}

html.dark .article-prose,
body.dark .article-prose,
[data-theme="dark"] .article-prose,
html.dark .article-editor,
body.dark .article-editor,
[data-theme="dark"] .article-editor {
  color: #e5edf8;
}

.people-legal {
  width: min(820px, 100%);
}

.people-legal-langs,
.people-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}

.people-legal-langs a,
.people-legal-nav a {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.people-legal-langs a[aria-current="page"],
.people-legal-nav a[aria-current="page"] {
  border-color: #2864ff;
  background: rgba(40, 100, 255, 0.08);
  color: #2864ff;
}

.people-legal-body {
  color: var(--ink);
  font-size: 15px;
  line-height: 1.65;
}

.people-legal-body h2 {
  margin: 28px 0 10px;
  font-size: 20px;
  line-height: 1.25;
}

.people-legal-body h3 {
  margin: 18px 0 8px;
  font-size: 16px;
}

.people-legal-body p,
.people-legal-body ul,
.people-legal-body ol {
  margin: 0 0 12px;
}

.people-legal-body li {
  margin: 0 0 6px;
}

.people-legal-body a {
  color: #2864ff;
}

.people-legal-danger {
  background: #dc2626 !important;
  border-color: #dc2626 !important;
  color: #fff !important;
  text-decoration: none;
  text-align: center;
}

html.dark .people-legal-body,
body.dark .people-legal-body,
[data-theme="dark"] .people-legal-body {
  color: #e5edf8;
}

@media (min-width: 1024px) {
  .uzm-bottom,
  .uzm-bottom.people-bottom-nav,
  nav.uzm-bottom.people-bottom-nav.is-people-app,
  .people-bottom-nav,
  .people-bottom-nav.is-people-app,
  .people-menu-center,
  .pmm-panel,
  .pmm-overlay,
  .pmm-panel.is-open,
  .pmm-overlay.is-open {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    height: 0 !important;
    min-height: 0 !important;
    overflow: hidden !important;
  }
}

.list-load-more {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0 36px;
  color: var(--muted, #6b7280);
  font-size: 13px;
}
.list-load-more[hidden] {
  display: none;
}
.list-load-more span {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(11, 174, 91, .18);
  border-top-color: #0bae5b;
  border-radius: 50%;
  animation: people-spin .7s linear infinite;
}
@keyframes people-spin {
  to { transform: rotate(360deg); }
}

.hero, .statement, .brand-line .brand, .mobile-flow, .profile-mobile-flow { display: none !important; }
.search-area, .filter-line { display: none; }
.search-area.is-people { display: flex; }
.filter-line.is-people, .page.mobile-people-mode .search-area { display: grid; }
.page.mobile-people-mode .filter-line { display: none; }
.people-quick-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
.people-quick-chips button { border: 1px solid var(--line, #e5e7eb); background: #fff; border-radius: 999px; padding: 8px 12px; min-height: 40px; }
.people-quick-chips button.is-active { background: #111; color: #fff; }
.mobile-filter-chips { margin: 0 0 12px; }
.people-results-bar { display: none !important; }
.feed-composer, a.feed-composer { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 3em; background: var(--white); margin-bottom: 14px; color: inherit; text-decoration: none; }
.feed-composer button[data-open-create] { text-align: left; border: 0; background: transparent; color: #6b7280; min-height: 40px; font-size: 15px; }
.feed-composer-actions { display: flex; gap: 6px; }
.feed-composer-actions button { width: 40px; height: 40px; border: 0; border-radius: 12px; background: var(--paper-2); }
.feed-layout { display: grid; gap: 18px; }
@media (min-width: 1024px) {
  .feed-layout { grid-template-columns: minmax(0, 1fr) 280px; align-items: start; }
}
.feed-sidebar { border: 1px solid var(--line, #e5e7eb); border-radius: 18px; padding: 14px; background: var(--white); }
.feed-sidebar h2 { margin: 0 0 10px; font-size: 14px; }
.feed-suggest { display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 8px; align-items: center; padding: 8px 0; color: inherit; text-decoration: none; }
.feed-suggest small { display: block; color: #6b7280; }
.feed-skeleton .skel-post { height: 120px; border-radius: 16px; background: linear-gradient(90deg, #f3f4f6, #eceff3, #f3f4f6); background-size: 200% 100%; animation: people-skel 1.2s linear infinite; margin-bottom: 12px; }
@keyframes people-skel { to { background-position: -200% 0; } }
.person-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px; }
.person-tags span { font-size: 11px; padding: 2px 8px; border-radius: 999px; background: #f3f4f6; }
.text-action { min-height: 36px; padding: 0 10px; border-radius: 999px; border: 1px solid var(--line, #e5e7eb); background: #fff; font-size: 12px; }
.social-comment-actions { display: flex; gap: 10px; margin-top: 4px; }
.social-comment-actions button { border: 0; background: none; color: #6b7280; font-size: 12px; min-height: 28px; }
.profile-tabs, .people-editor-tabs, .people-notify-tabs { display: flex; gap: 6px; overflow: auto; margin: 14px 0; }
.profile-tabs button, .people-editor-tabs button, .people-notify-tabs a { border: 0; background: #f3f4f6; border-radius: 999px; padding: 8px 12px; min-height: 36px; color: inherit; text-decoration: none; white-space: nowrap; }
.profile-tabs button.is-active, .people-editor-tabs button.is-active, .people-notify-tabs a.is-active { background: #111; color: #fff; }
.profile-skill-tag, .profile-shared-tags a { display: inline-block; margin: 0 6px 6px 0; padding: 4px 10px; border-radius: 999px; background: #f3f4f6; color: inherit; text-decoration: none; font-size: 12px; }
.profile-online, .profile-mutual { color: #0bae5b; font-size: 13px; margin: 6px 0 0; }
.people-notify-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.people-notify-head button, .people-mod-search button { min-height: 36px; border-radius: 10px; border: 1px solid var(--line, #e5e7eb); background: #fff; padding: 0 12px; }
.people-onboard-progress { height: 4px; background: #e5e7eb; border-radius: 999px; overflow: hidden; margin-bottom: 16px; }
.people-onboard-progress span { display: block; height: 100%; width: 25%; background: #0bae5b; }
.people-onboard-nav { display: flex; gap: 10px; margin-top: 16px; }
.people-onboard-skip { border: 0; background: none; color: #6b7280; }
.people-tag-box { display: flex; flex-wrap: wrap; gap: 6px; margin: 6px 0 12px; }
.people-tag-box button { border: 0; background: #eef2ff; border-radius: 999px; padding: 4px 10px; }
.people-rate-row { display: flex; gap: 8px; }
.people-repeat-remove { margin-top: 8px; border: 0; background: none; color: #dc2626; }
.people-dropzone { display: block; border: 1px dashed #d1d5db; border-radius: 12px; padding: 12px; }
.map-person-card { min-width: 160px; }
.map-person-card div { display: flex; gap: 8px; margin-top: 6px; }
.page.social-mode .map-shell, .page.social-mode .mobile-locate { display: none !important; }
.empty-state p { display: none; }
.people-onboarding { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--line, #e5e7eb); border-radius: 14px; margin: 10px 0; }
.people-flash { position: fixed; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translateX(-50%); background: #111; color: #fff; padding: 8px 14px; border-radius: 999px; z-index: 40; }
.mobile-social-top em { min-width: 16px; height: 16px; border-radius: 999px; background: #ef4444; color: #fff; font-size: 10px; display: inline-grid; place-items: center; margin-left: -8px; }
@media (max-width: 820px) {
  .page { padding-bottom: calc(88px + env(safe-area-inset-bottom, 0px)); }
  .uzm-bottom.people-bottom-nav { padding-bottom: env(safe-area-inset-bottom, 0px); }
  body.people-map-open {
    overflow: hidden;
  }
  body.people-map-open .uzm-bottom {
    display: none !important;
  }
  .page.network-list-mode:not(.mobile-map-open) .map-shell,
  .page.mobile-people-mode:not(.mobile-map-open) .map-shell {
    display: none !important;
  }
  .page.mobile-map-open .map-shell {
    display: block !important;
    position: fixed !important;
    inset: 0 !important;
    z-index: 10020;
    width: 100vw !important;
    height: 100dvh !important;
    min-height: 0 !important;
    margin: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-radius: 0 !important;
    background: var(--paper-2);
    -webkit-mask-image: none !important;
    mask-image: none !important;
  }
  .page.mobile-map-open .map-shell #map {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
  }
  .page.mobile-map-open .map-fade {
    display: none !important;
  }
  .page.mobile-map-open .mobile-map-chrome {
    position: absolute;
    top: calc(12px + env(safe-area-inset-top, 0px));
    left: 12px;
    right: 12px;
    z-index: 1000;
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    pointer-events: none;
  }
  .page.mobile-map-open .mobile-map-chrome > * {
    pointer-events: auto;
  }
  .page.mobile-map-open .mobile-map-chrome button,
  .page.mobile-map-open .mobile-map-chrome strong {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(11, 22, 33, .12);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ink);
    box-shadow: 0 10px 28px rgba(11, 22, 33, .16);
    backdrop-filter: blur(12px);
  }
  .page.mobile-map-open .mobile-map-chrome button {
    padding: 0 14px;
  }
  .page.mobile-map-open .mobile-map-chrome strong {
    width: 44px;
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    text-indent: -999px;
  }
  .page.mobile-map-open .mobile-map-chrome strong::before {
    content: "\f279";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    text-indent: 0;
  }
}

/* Keep every People light-theme view on the same neutral canvas. */
html[data-theme="light"],
body[data-theme="light"] {
  background: #f4f6f8 !important;
}

html[data-theme="light"] .page,
html[data-theme="light"] .page .content,
body[data-theme="light"] .page,
body[data-theme="light"] .page .content {
  background: #f4f6f8 !important;
}

@media (min-width: 821px) {
  .page.social-mode .modes {
    display: flex !important;
    visibility: visible !important;
  }
}

/* People light theme: restore readable text and component contrast. */
html[data-theme="light"],
body[data-theme="light"] {
  color-scheme: light;
  --ink: #0b1621;
  --muted: #617084;
  --paper: #f4f6f8;
  --paper-2: #eef1f4;
  --white: #ffffff;
  --line: rgba(11, 22, 33, 0.11);
  --border: rgba(11, 22, 33, 0.11);
  --color-bg: #f4f6f8;
  --color-card: #ffffff;
  --color-text: #0b1621;
  --color-muted: #617084;
  --color-border: rgba(11, 22, 33, 0.11);
}

html[data-theme="light"] body,
body[data-theme="light"] {
  color: #0b1621 !important;
  background: #f4f6f8 !important;
}

html[data-theme="light"] .page,
html[data-theme="light"] .page .content,
body[data-theme="light"] .page,
body[data-theme="light"] .page .content,
html[data-theme="light"] .social-feed-shell,
body[data-theme="light"] .social-feed-shell {
  color: #0b1621 !important;
  background: #f4f6f8 !important;
}

html[data-theme="light"] .social-post,
html[data-theme="light"] .feed-sidebar,
html[data-theme="light"] .feed-composer,
html[data-theme="light"] .social-tabs button,
body[data-theme="light"] .social-post,
body[data-theme="light"] .feed-sidebar,
body[data-theme="light"] .feed-composer,
body[data-theme="light"] .social-tabs button {
  color: #0b1621 !important;
  background: #ffffff !important;
  border-color: rgba(11, 22, 33, 0.11) !important;
}

html[data-theme="light"] .social-post a,
html[data-theme="light"] .social-post strong,
html[data-theme="light"] .feed-sidebar h2,
html[data-theme="light"] .feed-suggest b,
body[data-theme="light"] .social-post a,
body[data-theme="light"] .social-post strong,
body[data-theme="light"] .feed-sidebar h2,
body[data-theme="light"] .feed-suggest b {
  color: #0b1621 !important;
}

html[data-theme="light"] .social-post small,
html[data-theme="light"] .feed-suggest small,
html[data-theme="light"] .social-post-body,
body[data-theme="light"] .social-post small,
body[data-theme="light"] .feed-suggest small,
body[data-theme="light"] .social-post-body {
  color: #617084 !important;
}

html[data-theme="light"] .modes .mode,
body[data-theme="light"] .modes .mode {
  color: #617084 !important;
  background: transparent !important;
}

html[data-theme="light"] .modes .mode.active,
body[data-theme="light"] .modes .mode.active {
  color: #0bae5b !important;
}

html[data-theme="light"] .social-tabs button {
  color: #334155 !important;
  background: #ffffff !important;
}

html[data-theme="light"] .social-tabs button.is-active {
  color: #ffffff !important;
  background: #111827 !important;
}

/* Theme-owned Feed surfaces. */
.page.social-mode { background: var(--paper) !important; }
.feed-composer, a.feed-composer,
.feed-sidebar,
.page.social-mode .social-post { background: var(--white) !important; }
.feed-composer-actions button { background: var(--paper-2) !important; color: var(--ink); }

/* Section navigation is transparent in both themes. */
.modes,
.modes .mode,
html[data-theme="dark"] .modes,
body[data-theme="dark"] .modes,
html[data-theme="dark"] .modes .mode,
body[data-theme="dark"] .modes .mode,
html[data-theme="light"] .modes,
body[data-theme="light"] .modes,
html[data-theme="light"] .modes .mode,
body[data-theme="light"] .modes .mode {
  background: transparent !important;
}

.people-lightbox-prev,
.people-lightbox-next {
  position: absolute;
  top: 50%;
  z-index: 1;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, .16);
  color: #fff;
  cursor: pointer;
}

.people-lightbox-prev { left: 20px; }
.people-lightbox-next { right: 20px; }
.people-lightbox:not(.has-nav) .people-lightbox-prev,
.people-lightbox:not(.has-nav) .people-lightbox-next { display: none; }

/* =========================================================
   THEME TOKENS — shared visual language
   ========================================================= */
:root {
  color-scheme: light;
  --theme-bg: #f5f8f6;
  --theme-bg-deep: #e8f2ed;
  --theme-surface: rgba(255, 255, 255, .84);
  --theme-surface-solid: #ffffff;
  --theme-surface-muted: #edf4f0;
  --theme-text: #20312d;
  --theme-text-soft: #526762;
  --theme-text-muted: #70827c;
  --theme-line: rgba(39, 79, 66, .14);
  --theme-line-strong: rgba(39, 79, 66, .24);
  --theme-accent: #138a57;
  --theme-accent-strong: #0b6d43;
  --theme-accent-soft: #dff3e8;
  --theme-danger: #bd3f48;
  --theme-shadow: 0 18px 44px rgba(39, 79, 66, .12);
}

html[data-theme="dark"],
body[data-theme="dark"],
html.dark,
body.dark {
  color-scheme: dark;
  --theme-bg: #0d1715;
  --theme-bg-deep: #142520;
  --theme-surface: rgba(23, 39, 34, .86);
  --theme-surface-solid: #172722;
  --theme-surface-muted: #20352e;
  --theme-text: #e5f1eb;
  --theme-text-soft: #bfd2c8;
  --theme-text-muted: #94aea1;
  --theme-line: rgba(205, 235, 219, .14);
  --theme-line-strong: rgba(205, 235, 219, .25);
  --theme-accent: #55d994;
  --theme-accent-strong: #82e9b2;
  --theme-accent-soft: rgba(85, 217, 148, .16);
  --theme-danger: #ff8e97;
  --theme-shadow: 0 18px 44px rgba(0, 0, 0, .28);
}

body {
  color: var(--theme-text);
  background: var(--theme-bg);
}

body::before,
body::after {
  position: fixed;
  z-index: -1;
  content: "";
  pointer-events: none;
  border-radius: 50%;
  filter: blur(2px);
  opacity: .58;
  transform: translate3d(0, 0, 0);
  animation: theme-orbit 22s ease-in-out infinite alternate;
}

body::before {
  top: -18vh;
  left: -10vw;
  width: 48vw;
  height: 48vw;
  background: radial-gradient(circle, color-mix(in srgb, var(--theme-accent) 24%, transparent), transparent 68%);
}

body::after {
  right: -12vw;
  bottom: -22vh;
  width: 54vw;
  height: 54vw;
  background: radial-gradient(circle, color-mix(in srgb, #76b8ff 18%, transparent), transparent 68%);
  animation-delay: -10s;
}

@keyframes theme-orbit {
  from { transform: translate3d(-2%, -1%, 0) scale(1); }
  to { transform: translate3d(3%, 2%, 0) scale(1.08); }
}

.profile-page {
  background:
    radial-gradient(circle at 18% 18%, color-mix(in srgb, var(--theme-accent) 10%, transparent), transparent 28%),
    linear-gradient(135deg, var(--theme-bg) 0%, var(--theme-bg-deep) 52%, var(--theme-bg) 100%);
}

.profile-topline { color: var(--theme-text); }
.profile-back,
button.social-location { color: var(--theme-text-soft) !important; }
.profile-role,
.profile-bio { color: var(--theme-text-soft); }
.profile-social-stats button { color: var(--theme-text-muted); border-right-color: var(--theme-line); }
.profile-social-stats button:hover,
.profile-social-stats button:focus-visible { color: var(--theme-accent-strong); }
.profile-person-mini { background: var(--theme-surface); border-color: var(--theme-line); box-shadow: var(--theme-shadow); }
.profile-avatar-fallback,
.profile-avatar-marker span,
.profile-person-mini > span { background: linear-gradient(135deg, var(--theme-text), var(--theme-accent)); }
.filter-toggle { border-color: var(--theme-line-strong); background: var(--theme-surface); color: var(--theme-accent); }

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after { animation: none; }
}

/* Final theme overrides for legacy selectors */
button.social-location { color: var(--theme-text-soft) !important; }
.profile-back,
.profile-role,
.profile-bio,
.profile-meta span,
.profile-meta-place { color: var(--theme-text-soft); }
.profile-social-stats button { border-right-color: var(--theme-line); color: var(--theme-text-muted); }
.profile-social-stats button:hover,
.profile-social-stats button:focus-visible { color: var(--theme-accent-strong); }
.profile-person-mini { background: var(--theme-surface); border-color: var(--theme-line); }
.filter-toggle { border-color: var(--theme-line-strong); background: var(--theme-surface); color: var(--theme-accent); }
.feed-suggest small { color: var(--theme-text-muted); }
.person-tags span,
.profile-skill-tag,
.profile-shared-tags a { background: var(--theme-surface-muted); color: var(--theme-text-soft); }
.profile-tabs button,
.people-editor-tabs button,
.people-notify-tabs a { background: var(--theme-surface-muted); color: var(--theme-text); }
.profile-tabs button.is-active,
.people-editor-tabs button.is-active,
.people-notify-tabs a.is-active { background: var(--theme-accent-strong); color: var(--theme-surface-solid); }
.social-comment-actions button { color: var(--theme-text-muted); }
.feed-skeleton .skel-post { background: linear-gradient(90deg, var(--theme-surface-muted), var(--theme-surface), var(--theme-surface-muted)); }
.people-quick-chips button.is-active,
.people-flash { background: var(--theme-accent-strong); color: var(--theme-surface-solid); }


/* Explicit surfaces for profile controls */
.profile-topline {
  background:
    linear-gradient(120deg,
      color-mix(in srgb, var(--theme-surface-solid) 82%, var(--theme-accent) 18%),
      color-mix(in srgb, var(--theme-accent-soft) 70%, var(--theme-surface-solid) 30%));
  border: 0px solid var(--theme-line);

  box-shadow: var(--theme-shadow);
  backdrop-filter: blur(16px);
}

.profile-social-stats button {
  background:
    linear-gradient(145deg,
      color-mix(in srgb, var(--theme-surface-solid) 88%, var(--theme-accent) 12%),
      var(--theme-surface-muted));
  color: var(--theme-text-soft);
}

.profile-social-stats button:hover,
.profile-social-stats button:focus-visible {
  background:
    linear-gradient(145deg,
      var(--theme-accent-soft),
      color-mix(in srgb, var(--theme-surface-solid) 82%, var(--theme-accent) 18%));
}

.profile-primary-action {
  border-color: color-mix(in srgb, var(--theme-accent) 55%, var(--theme-line-strong));
  color: var(--theme-text);
  background:
    linear-gradient(120deg,
      color-mix(in srgb, var(--theme-surface-solid) 74%, var(--theme-accent) 26%),
      color-mix(in srgb, var(--theme-accent-soft) 72%, var(--theme-surface-solid) 28%));
  box-shadow: 0 10px 26px color-mix(in srgb, var(--theme-accent) 18%, transparent);
}

.profile-primary-action:hover,
.profile-primary-action:focus-visible {
  background:
    linear-gradient(120deg,
      color-mix(in srgb, var(--theme-accent-soft) 82%, var(--theme-surface-solid) 18%),
      color-mix(in srgb, var(--theme-accent) 28%, var(--theme-surface-solid) 72%));
}



body::before,
body::after {
  display: none !important;
  animation: none !important;
  background: none !important;
}

.profile-topline,
.profile-social-stats button,
.profile-primary-action,
.profile-person-mini,
.filter-toggle,
.profile-tabs button,
.people-editor-tabs button,
.people-notify-tabs a,
.person-tags span,
.profile-skill-tag,
.profile-shared-tags a {
  background: #000 !important;
  background-image: none !important;
  box-shadow: none !important;
}


.profile-social-stats button {
  border-right-color: #222 !important;
}

.profile-primary-action {
  border-color: #333 !important;
  color: #fff !important;
}

.profile-social-stats button:hover,
.profile-social-stats button:focus-visible,
.profile-primary-action:hover,
.profile-primary-action:focus-visible {
  background: #111 !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Shared card theme for profile controls */
.profile-topline,
.profile-social-stats button,
.profile-primary-action,
.profile-person-mini,
.filter-toggle,
.profile-tabs button,
.people-editor-tabs button,
.people-notify-tabs a,
.person-tags span,
.profile-skill-tag,
.profile-shared-tags a {
  background: var(--color-card) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.profile-social-stats button {
  border-right-color: var(--color-border) !important;
}

.profile-social-stats button:hover,
.profile-social-stats button:focus-visible,
.profile-primary-action:hover,
.profile-primary-action:focus-visible,
.profile-tabs button:hover,
.people-editor-tabs button:hover,
.people-notify-tabs a:hover {
  background: var(--color-card) !important;
  border-color: var(--color-border) !important;
  color: var(--color-text) !important;
  background-image: none !important;
  box-shadow: none !important;
}
