/*
 * PARTYUK Member Profile — clean standalone layout v2.4.6
 * Scoped exclusively to /member-profile/ and /{member-slug}/.
 * Replaces the previous layered/overridden member-profile styles.
 */
html, body { min-height:100%; }
body.puk-member-profile-canvas {
  margin:0 !important;
  padding:0 !important;
  background:#090b18 !important;
  color:#f6f4ff !important;
  overflow-x:hidden !important;
  --puks-cover:url("../assets/community-crowd-bg.jpg");
}
body.puk-member-profile-canvas,
body.puk-member-profile-canvas * { box-sizing:border-box !important; }

/* Remove the active WordPress theme chrome only on member profile routes. */
body.puk-member-profile-canvas #masthead,
body.puk-member-profile-canvas .site-header,
body.puk-member-profile-canvas header.site-header,
body.puk-member-profile-canvas .ast-primary-header-bar,
body.puk-member-profile-canvas .main-header-bar,
body.puk-member-profile-canvas .wp-site-blocks > header,
body.puk-member-profile-canvas #colophon,
body.puk-member-profile-canvas .site-footer,
body.puk-member-profile-canvas footer.site-footer,
body.puk-member-profile-canvas .entry-header,
body.puk-member-profile-canvas .page-header,
body.puk-member-profile-canvas .widget-area,
body.puk-member-profile-canvas #secondary,
body.puk-member-profile-canvas .sidebar-main {
  display:none !important;
}
body.puk-member-profile-canvas #page,
body.puk-member-profile-canvas .site,
body.puk-member-profile-canvas #content,
body.puk-member-profile-canvas .site-content,
body.puk-member-profile-canvas .ast-container,
body.puk-member-profile-canvas #primary,
body.puk-member-profile-canvas .content-area,
body.puk-member-profile-canvas .site-main,
body.puk-member-profile-canvas .entry-content,
body.puk-member-profile-canvas .wp-block-post-content,
body.puk-member-profile-canvas .wp-site-blocks,
body.puk-member-profile-canvas article.page {
  display:block !important;
  float:none !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
body.puk-member-profile-canvas .puks-member-profile-page {
  position:relative !important;
  isolation:isolate !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:100% !important;
  min-height:100vh !important;
  max-width:none !important;
  margin:0 !important;
  padding:38px 22px !important;
  overflow:hidden !important;
  background:transparent !important;
}
body.puk-member-profile-canvas .puks-profile-backdrop {
  position:fixed !important;
  z-index:0 !important;
  inset:-35px !important;
  background-image:linear-gradient(135deg,rgba(5,8,22,.80),rgba(13,8,31,.76)),var(--puks-cover),url("../assets/community-crowd-bg.jpg") !important;
  background-position:center !important;
  background-size:cover !important;
  filter:blur(18px) saturate(.9) !important;
  transform:scale(1.06) !important;
}
body.puk-member-profile-canvas .puks-profile-card {
  position:relative !important;
  z-index:1 !important;
  display:block !important;
  width:min(980px,100%) !important;
  max-width:980px !important;
  min-width:0 !important;
  margin:0 auto !important;
  padding:0 0 16px !important;
  overflow:hidden !important;
  border:2px solid #b45bfa !important;
  border-radius:25px !important;
  background:linear-gradient(145deg,rgba(19,17,43,.97),rgba(10,13,30,.98)) !important;
  box-shadow:0 22px 80px rgba(0,0,0,.55),0 0 32px rgba(155,76,255,.14) !important;
}
body.puk-member-profile-canvas .puks-profile-close {
  position:absolute !important;
  z-index:8 !important;
  top:13px !important;
  right:13px !important;
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:39px !important;
  height:39px !important;
  border:1px solid rgba(235,220,255,.55) !important;
  border-radius:50% !important;
  background:rgba(12,10,27,.48) !important;
  color:#fff !important;
  font:300 30px/1 Arial,sans-serif !important;
  text-decoration:none !important;
}
body.puk-member-profile-canvas .puks-profile-brand {
  position:absolute !important;
  z-index:6 !important;
  top:20px !important;
  right:66px !important;
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  justify-content:center !important;
  width:175px !important;
  max-width:35% !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}
body.puk-member-profile-canvas .puks-profile-brand img {
  display:block !important;
  width:100% !important;
  max-width:175px !important;
  height:45px !important;
  max-height:45px !important;
  object-fit:contain !important;
  object-position:center !important;
  margin:0 auto 3px !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
}
body.puk-member-profile-canvas .puks-profile-brand span {
  display:block !important;
  width:100% !important;
  color:#e8e2f3 !important;
  font:500 8px/1.3 Arial,sans-serif !important;
  letter-spacing:.055em !important;
  text-align:center !important;
  white-space:nowrap !important;
}
body.puk-member-profile-canvas .puks-profile-cover {
  position:relative !important;
  display:flex !important;
  align-items:flex-end !important;
  width:100% !important;
  min-height:355px !important;
  margin:0 !important;
  padding:165px 26px 24px !important;
  overflow:hidden !important;
  background-color:#17132b !important;
  background-image:linear-gradient(90deg,rgba(8,8,25,.42),rgba(8,8,25,.64)),var(--puks-cover) !important;
  background-position:center 38% !important;
  background-size:cover !important;
}
body.puk-member-profile-canvas .puks-profile-cover-shade {
  position:absolute !important;
  inset:0 !important;
  z-index:0 !important;
  background:linear-gradient(0deg,rgba(8,8,25,.92) 0%,rgba(8,8,25,.25) 72%,rgba(8,8,25,.12) 100%) !important;
  pointer-events:none !important;
}
body.puk-member-profile-canvas .puks-profile-intro {
  position:relative !important;
  z-index:2 !important;
  display:flex !important;
  align-items:center !important;
  gap:27px !important;
  width:100% !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.puk-member-profile-canvas .puks-profile-avatar {
  display:block !important;
  flex:0 0 150px !important;
  width:150px !important;
  height:150px !important;
  max-width:150px !important;
  max-height:150px !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  object-position:center !important;
  border:3px solid #c77bff !important;
  border-radius:50% !important;
  background:#b8c6df !important;
  box-shadow:0 0 0 4px rgba(195,112,255,.12) !important;
}
body.puk-member-profile-canvas .puks-profile-heading {
  flex:1 1 auto !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
}
body.puk-member-profile-canvas .puks-profile-heading h1 {
  display:flex !important;
  align-items:center !important;
  gap:10px !important;
  margin:0 0 5px !important;
  padding:0 !important;
  color:#fff !important;
  font:800 37px/1.12 Arial,sans-serif !important;
  letter-spacing:.01em !important;
  text-transform:uppercase !important;
}
body.puk-member-profile-canvas .puks-profile-verified {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  width:25px !important;
  height:25px !important;
  border-radius:50% !important;
  background:#159bea !important;
  color:#fff !important;
  font:800 17px/1 Arial,sans-serif !important;
}
body.puk-member-profile-canvas .puks-profile-city {
  margin:0 0 22px !important;
  padding:0 !important;
  color:#c9c3d9 !important;
  font:400 16px/1.4 Arial,sans-serif !important;
}
body.puk-member-profile-canvas .puks-profile-bio {
  margin:0 0 10px !important;
  padding:0 !important;
  color:#f4f0fa !important;
  font:400 14px/1.45 Arial,sans-serif !important;
}
body.puk-member-profile-canvas .puks-profile-tags {
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  gap:9px !important;
  margin:0 0 15px !important;
  padding:0 !important;
}
body.puk-member-profile-canvas .puks-profile-tags span {
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:29px !important;
  margin:0 !important;
  padding:5px 14px !important;
  border:1px solid #9c55c9 !important;
  border-radius:20px !important;
  background:rgba(31,21,54,.72) !important;
  color:#f4eaff !important;
  font:500 12px/1 Arial,sans-serif !important;
  white-space:nowrap !important;
}
body.puk-member-profile-canvas .puks-profile-stats {
  display:flex !important;
  align-items:center !important;
  gap:17px !important;
  margin:0 !important;
  padding:0 !important;
  color:#e6e1ed !important;
  font:400 14px/1.3 Arial,sans-serif !important;
}
body.puk-member-profile-canvas .puks-profile-stats span {
  display:inline-flex !important;
  align-items:center !important;
  gap:5px !important;
  margin:0 !important;
  color:#e6e1ed !important;
}
body.puk-member-profile-canvas .puks-profile-stats b {
  color:#fff !important;
  font-size:16px !important;
  font-weight:800 !important;
}
body.puk-member-profile-canvas .puks-profile-stats i {
  display:block !important;
  width:1px !important;
  height:19px !important;
  background:rgba(221,207,245,.34) !important;
}
body.puk-member-profile-canvas .puks-profile-actions {
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  align-items:stretch !important;
  gap:12px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 26px 19px !important;
}
body.puk-member-profile-canvas .puks-profile-actions > a,
body.puk-member-profile-canvas .puks-profile-actions > button,
body.puk-member-profile-canvas .puks-profile-actions > span {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:10px !important;
  width:100% !important;
  min-width:0 !important;
  min-height:52px !important;
  margin:0 !important;
  padding:10px 12px !important;
  border:1px solid #a65bd4 !important;
  border-radius:12px !important;
  background:rgba(39,22,62,.75) !important;
  color:#f5eaff !important;
  font:600 14px/1.2 Arial,sans-serif !important;
  text-align:center !important;
  text-decoration:none !important;
  white-space:normal !important;
  cursor:pointer !important;
  box-shadow:none !important;
}
body.puk-member-profile-canvas .puks-profile-actions > .puks-dm {
  border-color:rgba(184,190,215,.55) !important;
  background:rgba(25,27,47,.72) !important;
  color:#fff !important;
}
body.puk-member-profile-canvas .puks-profile-actions > .puks-follow {
  background:linear-gradient(110deg,#321b50,#48245f) !important;
}
body.puk-member-profile-canvas .puks-profile-actions > .puks-talent-profile {
  background:linear-gradient(110deg,#382052,#4b2868) !important;
}
body.puk-member-profile-canvas .puks-profile-actions > .is-unavailable,
body.puk-member-profile-canvas .puks-profile-actions > .is-self {
  opacity:.55 !important;
  cursor:default !important;
}
body.puk-member-profile-canvas .puks-profile-actions > a:hover,
body.puk-member-profile-canvas .puks-profile-actions > button:hover {
  border-color:#e0a9ff !important;
  background:#512b70 !important;
  color:#fff !important;
}
body.puk-member-profile-canvas .puks-profile-gallery {
  display:block !important;
  width:100% !important;
  margin:0 !important;
  padding:0 26px !important;
  border-top:1px solid rgba(218,203,242,.17) !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-head {
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin:0 !important;
  padding:17px 2px 12px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-head h2 {
  display:flex !important;
  align-items:center !important;
  gap:9px !important;
  margin:0 !important;
  padding:0 !important;
  color:#f7f3ff !important;
  font:700 14px/1.3 Arial,sans-serif !important;
  letter-spacing:.04em !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-head a {
  color:#eee5fa !important;
  font:400 12px/1.3 Arial,sans-serif !important;
  text-decoration:none !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-head a b {
  margin-left:5px !important;
  font-size:17px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-grid {
  display:grid !important;
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:9px !important;
  width:100% !important;
  margin:0 !important;
  padding:0 !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo {
  display:block !important;
  width:100% !important;
  aspect-ratio:1.18/1 !important;
  min-width:0 !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  border:1px solid rgba(218,198,246,.38) !important;
  border-radius:10px !important;
  background:#17172b !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  padding:0 !important;
  object-fit:cover !important;
  transition:transform .25s ease !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo:hover img {
  transform:scale(1.04) !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-empty {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:110px !important;
  margin:0 0 8px !important;
  border:1px dashed rgba(219,197,245,.28) !important;
  border-radius:10px !important;
  color:#b9b0ca !important;
  font:400 13px/1.4 Arial,sans-serif !important;
}
body.puk-member-profile-canvas .puks-profile-not-found {
  display:flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:100vh !important;
  padding:24px !important;
  background:#090b18 !important;
  color:#fff !important;
  text-align:center !important;
}
body.puk-member-profile-canvas .puks-profile-not-found > div {
  width:min(620px,100%) !important;
  padding:48px 28px !important;
  border:1px solid rgba(195,112,255,.5) !important;
  border-radius:20px !important;
  background:#17152b !important;
}
body.puk-member-profile-canvas .puks-profile-not-found h1 { color:#fff !important; }
body.puk-member-profile-canvas .puks-profile-not-found p { color:#c8c2d6 !important; }
body.puk-member-profile-canvas .puks-profile-not-found a { color:#dba8ff !important; }

@media (max-width:700px) {
  body.puk-member-profile-canvas .puks-member-profile-page {
    align-items:flex-start !important;
    min-height:100svh !important;
    padding:14px 10px !important;
  }
  body.puk-member-profile-canvas .puks-profile-card {
    border-radius:17px !important;
  }
  body.puk-member-profile-canvas .puks-profile-brand {
    top:14px !important;
    right:53px !important;
    width:118px !important;
  }
  body.puk-member-profile-canvas .puks-profile-brand img {
    height:31px !important;
    max-height:31px !important;
  }
  body.puk-member-profile-canvas .puks-profile-brand span {
    font-size:6px !important;
  }
  body.puk-member-profile-canvas .puks-profile-cover {
    min-height:0 !important;
    padding:150px 17px 22px !important;
  }
  body.puk-member-profile-canvas .puks-profile-intro {
    align-items:flex-start !important;
    gap:14px !important;
  }
  body.puk-member-profile-canvas .puks-profile-avatar {
    flex-basis:94px !important;
    width:94px !important;
    height:94px !important;
    max-width:94px !important;
    max-height:94px !important;
  }
  body.puk-member-profile-canvas .puks-profile-heading h1 {
    font-size:25px !important;
  }
  body.puk-member-profile-canvas .puks-profile-city {
    margin-bottom:10px !important;
    font-size:13px !important;
  }
  body.puk-member-profile-canvas .puks-profile-bio {
    font-size:12px !important;
  }
  body.puk-member-profile-canvas .puks-profile-tags {
    gap:5px !important;
    margin-bottom:10px !important;
  }
  body.puk-member-profile-canvas .puks-profile-tags span {
    min-height:24px !important;
    padding:4px 9px !important;
    font-size:10px !important;
  }
  body.puk-member-profile-canvas .puks-profile-stats {
    gap:9px !important;
    font-size:11px !important;
  }
  body.puk-member-profile-canvas .puks-profile-stats b {
    font-size:13px !important;
  }
  body.puk-member-profile-canvas .puks-profile-actions {
    gap:6px !important;
    padding:0 12px 14px !important;
  }
  body.puk-member-profile-canvas .puks-profile-actions > a,
  body.puk-member-profile-canvas .puks-profile-actions > button,
  body.puk-member-profile-canvas .puks-profile-actions > span {
    min-height:43px !important;
    gap:4px !important;
    padding:7px 4px !important;
    font-size:10px !important;
  }
  body.puk-member-profile-canvas .puks-profile-gallery {
    padding:0 12px !important;
  }
  body.puk-member-profile-canvas .puks-profile-gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
  }
}


/* v2.4.7 — convert the member profile from a centered modal into a full-page view. */
body.puk-member-profile-canvas {
  width:100% !important;
  min-height:100vh !important;
  overflow-x:hidden !important;
  background:#090b18 !important;
}
body.puk-member-profile-canvas #page,
body.puk-member-profile-canvas .site,
body.puk-member-profile-canvas #content,
body.puk-member-profile-canvas .site-content,
body.puk-member-profile-canvas .ast-container,
body.puk-member-profile-canvas #primary,
body.puk-member-profile-canvas .content-area,
body.puk-member-profile-canvas .site-main,
body.puk-member-profile-canvas .entry-content,
body.puk-member-profile-canvas .wp-block-post-content,
body.puk-member-profile-canvas .wp-site-blocks,
body.puk-member-profile-canvas article.page,
body.puk-member-profile-canvas .wp-block-group,
body.puk-member-profile-canvas .wp-block-post-content > * {
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  margin-left:0 !important;
  margin-right:0 !important;
}
body.puk-member-profile-canvas .puks-member-profile-page {
  position:relative !important;
  left:50% !important;
  transform:translateX(-50%) !important;
  display:block !important;
  width:100vw !important;
  max-width:100vw !important;
  min-height:100vh !important;
  margin:0 !important;
  padding:0 !important;
  overflow:hidden !important;
  background:#090b18 !important;
}
body.puk-member-profile-canvas .puks-profile-backdrop {
  position:fixed !important;
  z-index:0 !important;
  inset:0 !important;
  filter:blur(22px) saturate(1.05) !important;
  transform:scale(1.04) !important;
}
body.puk-member-profile-canvas .puks-profile-card {
  position:relative !important;
  z-index:1 !important;
  display:flex !important;
  flex-direction:column !important;
  width:100% !important;
  max-width:none !important;
  min-width:0 !important;
  min-height:100vh !important;
  margin:0 !important;
  padding:0 0 28px !important;
  overflow:hidden !important;
  border:0 !important;
  border-radius:0 !important;
  background:linear-gradient(145deg,rgba(15,13,34,.82),rgba(8,11,26,.94)) !important;
  box-shadow:none !important;
}
body.puk-member-profile-canvas .puks-profile-cover {
  flex:1 0 auto !important;
  min-height:clamp(440px,62vh,700px) !important;
  padding:210px clamp(24px,6vw,100px) 42px !important;
  background-position:center 36% !important;
}
body.puk-member-profile-canvas .puks-profile-intro {
  max-width:1320px !important;
  margin:0 auto !important;
  gap:32px !important;
}
body.puk-member-profile-canvas .puks-profile-avatar {
  flex-basis:170px !important;
  width:170px !important;
  height:170px !important;
  max-width:170px !important;
  max-height:170px !important;
}
body.puk-member-profile-canvas .puks-profile-heading h1 {
  font-size:clamp(34px,3vw,48px) !important;
}
body.puk-member-profile-canvas .puks-profile-brand {
  top:28px !important;
  right:clamp(78px,6vw,110px) !important;
  width:175px !important;
}
body.puk-member-profile-canvas .puks-profile-close {
  top:24px !important;
  right:24px !important;
}
body.puk-member-profile-canvas .puks-profile-actions {
  width:min(1320px,calc(100% - 52px)) !important;
  margin:0 auto !important;
  padding:24px 0 28px !important;
  gap:16px !important;
}
body.puk-member-profile-canvas .puks-profile-actions > a,
body.puk-member-profile-canvas .puks-profile-actions > button,
body.puk-member-profile-canvas .puks-profile-actions > span {
  min-height:58px !important;
  font-size:15px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery {
  width:min(1320px,calc(100% - 52px)) !important;
  margin:0 auto !important;
  padding:0 !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-head {
  padding-top:20px !important;
  padding-bottom:16px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  gap:14px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo {
  aspect-ratio:1.35/1 !important;
}

/* Twenty Twenty-Five and classic theme footer variants: hide only on member profile routes. */
body.puk-member-profile-canvas footer,
body.puk-member-profile-canvas .site-footer,
body.puk-member-profile-canvas #colophon,
body.puk-member-profile-canvas .wp-block-template-part:has(footer),
body.puk-member-profile-canvas .wp-site-blocks > .wp-block-template-part:last-child,
body.puk-member-profile-canvas .wp-site-blocks > footer,
body.puk-member-profile-canvas .wp-block-group:has(> .wp-block-site-title + .wp-block-columns) {
  display:none !important;
}
body.puk-member-profile-canvas .wp-site-blocks {
  padding-bottom:0 !important;
  margin-bottom:0 !important;
}
body.puk-member-profile-canvas .puks-profile-not-found {
  width:100vw !important;
  min-height:100vh !important;
}

@media (max-width:700px) {
  body.puk-member-profile-canvas .puks-profile-cover {
    min-height:0 !important;
    padding:155px 18px 24px !important;
  }
  body.puk-member-profile-canvas .puks-profile-intro {
    gap:14px !important;
  }
  body.puk-member-profile-canvas .puks-profile-avatar {
    flex-basis:96px !important;
    width:96px !important;
    height:96px !important;
    max-width:96px !important;
    max-height:96px !important;
  }
  body.puk-member-profile-canvas .puks-profile-brand {
    top:15px !important;
    right:60px !important;
    width:118px !important;
  }
  body.puk-member-profile-canvas .puks-profile-close {
    top:12px !important;
    right:12px !important;
  }
  body.puk-member-profile-canvas .puks-profile-actions {
    width:calc(100% - 24px) !important;
    padding:14px 0 17px !important;
    gap:6px !important;
  }
  body.puk-member-profile-canvas .puks-profile-actions > a,
  body.puk-member-profile-canvas .puks-profile-actions > button,
  body.puk-member-profile-canvas .puks-profile-actions > span {
    min-height:44px !important;
    padding:7px 4px !important;
    font-size:10px !important;
  }
  body.puk-member-profile-canvas .puks-profile-gallery {
    width:calc(100% - 24px) !important;
  }
  body.puk-member-profile-canvas .puks-profile-gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:8px !important;
  }
}


/* v2.4.8 — compact the WordPress page chrome and move the profile back control to top-left. */
body.puk-member-profile-canvas {
  margin:0 !important;
  padding:0 !important;
}
body.puk-member-profile-canvas #wpadminbar {
  display:none !important;
}
html:has(body.puk-member-profile-canvas) {
  margin-top:0 !important;
}
body.puk-member-profile-canvas header.wp-block-template-part,
body.puk-member-profile-canvas .wp-block-template-part.is-position-sticky,
body.puk-member-profile-canvas .site-header,
body.puk-member-profile-canvas #masthead,
body.puk-member-profile-canvas .wp-block-post-title,
body.puk-member-profile-canvas h1.wp-block-post-title,
body.puk-member-profile-canvas .entry-header,
body.puk-member-profile-canvas .entry-title,
body.puk-member-profile-canvas .page-header,
body.puk-member-profile-canvas .page-title,
body.puk-member-profile-canvas .wp-block-query-title {
  display:none !important;
}
body.puk-member-profile-canvas .wp-site-blocks,
body.puk-member-profile-canvas #page,
body.puk-member-profile-canvas .site,
body.puk-member-profile-canvas #content,
body.puk-member-profile-canvas .site-content,
body.puk-member-profile-canvas .site-main,
body.puk-member-profile-canvas article,
body.puk-member-profile-canvas .entry-content,
body.puk-member-profile-canvas .wp-block-post-content {
  margin-top:0 !important;
  padding-top:0 !important;
  border-top:0 !important;
}
body.puk-member-profile-canvas .puks-member-profile-page {
  margin-top:0 !important;
  padding-top:0 !important;
}
body.puk-member-profile-canvas .puks-profile-close {
  position:absolute !important;
  z-index:20 !important;
  top:24px !important;
  left:clamp(18px,3vw,42px) !important;
  right:auto !important;
  display:inline-flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:center !important;
  gap:9px !important;
  width:auto !important;
  min-width:88px !important;
  height:38px !important;
  padding:0 15px !important;
  border:1px solid rgba(222,205,255,.48) !important;
  border-radius:999px !important;
  background:rgba(13,13,31,.72) !important;
  color:#fff !important;
  font:700 11px/1 Arial,sans-serif !important;
  letter-spacing:.12em !important;
  text-decoration:none !important;
  box-shadow:0 4px 18px rgba(0,0,0,.22) !important;
}
body.puk-member-profile-canvas .puks-profile-close span {
  display:inline-block !important;
  font-size:19px !important;
  line-height:1 !important;
  font-weight:400 !important;
}
body.puk-member-profile-canvas .puks-profile-close b {
  color:#fff !important;
  font-size:10px !important;
  line-height:1 !important;
  font-weight:700 !important;
}
body.puk-member-profile-canvas .puks-profile-brand {
  top:24px !important;
  right:clamp(20px,3vw,42px) !important;
}
@media (max-width:700px) {
  body.puk-member-profile-canvas .puks-profile-close {
    top:14px !important;
    left:14px !important;
    min-width:72px !important;
    height:34px !important;
    padding:0 11px !important;
    gap:6px !important;
  }
  body.puk-member-profile-canvas .puks-profile-brand {
    top:14px !important;
    right:14px !important;
  }
}


/* v2.4.9 — remove residual theme top spacing above the fullscreen profile. */
html:has(body.puk-member-profile-canvas),
html:has(body.puk-member-profile-canvas) body {
  margin:0 !important;
  padding:0 !important;
  scroll-padding-top:0 !important;
}
body.puk-member-profile-canvas {
  --wp--style--block-gap:0px !important;
  --wp--style--root--padding-top:0px !important;
  --wp--style--root--padding-bottom:0px !important;
  margin-block:0 !important;
  padding-block:0 !important;
}
body.puk-member-profile-canvas #page,
body.puk-member-profile-canvas .site,
body.puk-member-profile-canvas #content,
body.puk-member-profile-canvas .site-content,
body.puk-member-profile-canvas .ast-container,
body.puk-member-profile-canvas #primary,
body.puk-member-profile-canvas .content-area,
body.puk-member-profile-canvas main,
body.puk-member-profile-canvas .site-main,
body.puk-member-profile-canvas article,
body.puk-member-profile-canvas article.page,
body.puk-member-profile-canvas .entry,
body.puk-member-profile-canvas .entry-content,
body.puk-member-profile-canvas .wp-site-blocks,
body.puk-member-profile-canvas .wp-block-post-content,
body.puk-member-profile-canvas .wp-block-group,
body.puk-member-profile-canvas .wp-block-cover {
  margin-block-start:0 !important;
  margin-block-end:0 !important;
  padding-block-start:0 !important;
  padding-block-end:0 !important;
  border-block-start:0 !important;
  min-block-size:0 !important;
}
body.puk-member-profile-canvas .wp-site-blocks > *,
body.puk-member-profile-canvas main > *,
body.puk-member-profile-canvas .site-main > *,
body.puk-member-profile-canvas .entry-content > *,
body.puk-member-profile-canvas .wp-block-post-content > * {
  margin-block-start:0 !important;
}
body.puk-member-profile-canvas .puks-member-profile-page {
  inset-block-start:0 !important;
  margin-block-start:0 !important;
  padding-block-start:0 !important;
  min-height:100vh !important;
}
body.puk-member-profile-canvas .puks-profile-card {
  margin-block-start:0 !important;
}


/* v2.5.0 — portrait 3:4 gallery frames, scoped only to member profile gallery. */
body.puk-member-profile-canvas .puks-profile-gallery-grid {
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  align-items:start !important;
  gap:14px !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo {
  position:relative !important;
  display:block !important;
  width:100% !important;
  aspect-ratio:3 / 4 !important;
  height:auto !important;
  min-height:0 !important;
  overflow:hidden !important;
}
body.puk-member-profile-canvas .puks-profile-gallery-photo img {
  display:block !important;
  width:100% !important;
  height:100% !important;
  min-height:100% !important;
  max-width:none !important;
  object-fit:cover !important;
  object-position:center center !important;
}
@media (max-width:900px) {
  body.puk-member-profile-canvas .puks-profile-gallery-grid {
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  }
}
@media (max-width:700px) {
  body.puk-member-profile-canvas .puks-profile-gallery-grid {
    grid-template-columns:repeat(2,minmax(0,1fr)) !important;
    gap:9px !important;
  }
}


/* v2.5.1 — unread DM indicator on member profile Message action. */
.puks-profile-actions .puks-dm{position:relative;gap:8px;}

