:root {
  --blue: #1877f2;
  --blue-dark: #166fe5;
  --bg: #f0f2f5;
  --card: #ffffff;
  --text: #050505;
  --muted: #65676b;
  --line: #dadde1;
  --soft: #f2f3f5;
  --shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: Helvetica, Arial, sans-serif;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-140%);
  padding: 0.7rem 1rem;
  border-radius: 999px;
  background: var(--text);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.65rem;
  padding: 0.45rem clamp(0.75rem, 3vw, 1.25rem);
  border-bottom: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
  text-decoration: none;
}

.brand-mark,
.fb-icon {
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font-weight: 900;
}

.brand-mark {
  width: 2.35rem;
  height: 2.35rem;
}

.brand strong,
.brand small,
.facebook-follow-card strong,
.facebook-follow-card small {
  display: block;
  line-height: 1.12;
}

.brand strong {
  font-size: 1rem;
}

.brand small,
.facebook-follow-card small {
  color: var(--muted);
  font-weight: 600;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.2rem;
}

.site-nav a {
  min-height: 2.35rem;
  padding: 0.58rem 0.82rem;
  border-radius: 8px;
  color: var(--muted);
  text-decoration: none;
  font-weight: 700;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--soft);
  color: var(--blue);
  outline: none;
}

.site-nav .nav-cta,
.button.primary {
  background: var(--blue);
  color: #fff;
}

.site-nav .nav-cta:hover,
.button.primary:hover {
  background: var(--blue-dark);
  color: #fff;
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--soft);
}

.nav-toggle span {
  display: block;
  width: 1.1rem;
  height: 0.13rem;
  margin: 0.18rem auto;
  border-radius: 999px;
  background: var(--text);
}

.creator-profile-hero,
.section,
.detail-page {
  width: min(1040px, calc(100% - 1rem));
  margin-inline: auto;
}

.creator-profile-hero {
  padding: 0 0 1rem;
}

.creator-cover {
  overflow: hidden;
  height: clamp(13rem, 32vw, 22rem);
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: #d8dadd;
}

.creator-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-profile-shell {
  margin-top: -0.2rem;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 8px 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.creator-profile-main {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: start;
  padding: 0 clamp(0.9rem, 2vw, 1.35rem) 1rem;
}

.creator-avatar {
  overflow: hidden;
  width: clamp(6rem, 12vw, 8.4rem);
  height: clamp(6rem, 12vw, 8.4rem);
  margin-top: -2.6rem;
  border: 5px solid #fff;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: var(--shadow);
}

.creator-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.creator-identity {
  padding-top: 1rem;
}

.eyebrow {
  margin: 0 0 0.35rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 0.1rem;
  font-size: clamp(2rem, 5vw, 3.2rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0.4rem;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
  line-height: 1.48;
}

.creator-handle {
  margin-bottom: 0.6rem;
  color: var(--muted);
  font-weight: 700;
}

.creator-bio {
  max-width: 52rem;
  margin-bottom: 0.35rem;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
}

.creator-seo-summary {
  max-width: 58rem;
  margin-bottom: 0.85rem;
}

.creator-badges,
.detail-list,
.cta-actions,
.detail-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.48rem;
}

.creator-badges span,
.detail-list span {
  padding: 0.45rem 0.66rem;
  border-radius: 999px;
  background: var(--soft);
  color: #3a3b3c;
  font-size: 0.9rem;
  font-weight: 700;
}

.creator-action-stack {
  display: grid;
  gap: 0.5rem;
  min-width: 10.5rem;
  padding-top: 1.15rem;
}

.button,
.facebook-follow-card {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 2.65rem;
  padding: 0.65rem 0.95rem;
  border: 0;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 800;
}

.button.secondary {
  background: var(--soft);
  color: #050505;
}

.creator-stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.creator-stats span {
  min-height: 3.75rem;
  padding: 0.75rem 1rem;
  border-right: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
}

.creator-stats span:last-child {
  border-right: 0;
}

.creator-stats strong {
  display: block;
  color: var(--text);
  font-size: clamp(1rem, 2.3vw, 1.45rem);
}

.creator-tabs {
  display: flex;
  align-items: center;
  gap: 0.15rem;
  padding: 0 1rem;
  overflow-x: auto;
}

.creator-tabs a {
  display: inline-flex;
  align-items: center;
  min-height: 3rem;
  padding: 0 0.9rem;
  border-bottom: 3px solid transparent;
  color: var(--muted);
  text-align: center;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.creator-tabs a:first-child {
  border-color: var(--blue);
  color: var(--blue);
}

.creator-preview-strip {
  display: none;
}

.section {
  padding: 1rem 0;
}

.section-heading {
  width: min(760px, 100%);
  margin: 0 auto 0.75rem;
  padding: 0.9rem 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.photo-grid {
  display: grid;
  gap: 1rem;
  width: min(760px, 100%);
  margin-inline: auto;
}

.fb-post-card,
.facebook-post-card,
.profile-card,
.detail-copy-card,
.section-copy,
.cta-section {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.fb-post-card {
  display: grid;
}

.fb-post-header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.9rem 1rem 0.45rem;
}

.fb-post-avatar {
  width: 2.8rem;
  height: 2.8rem;
  border: 2px solid var(--blue);
  border-radius: 999px;
  object-fit: cover;
}

.fb-post-header strong,
.fb-post-header span {
  display: block;
}

.fb-post-header strong {
  font-size: 1rem;
}

.fb-post-header span {
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 600;
}

.fb-post-menu {
  display: grid;
  place-items: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 999px;
  color: var(--muted);
  font-size: 1.25rem;
  font-weight: 900;
}

.fb-post-copy {
  margin: 0;
  padding: 0.2rem 1rem 0.85rem;
  color: var(--text);
  font-size: 1rem;
}

.fb-media-button {
  position: relative;
  overflow: hidden;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #000;
  cursor: zoom-in;
}

.fb-media-button img {
  width: 100%;
  max-height: 780px;
  object-fit: contain;
  background: #000;
}

.is-age-locked {
  cursor: pointer;
}

.is-age-locked img,
.is-age-locked video {
  filter: blur(18px);
  transform: scale(1.04);
}

.age-gate-overlay {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  min-width: 8.5rem;
  padding: 0.85rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 8px;
  background: rgba(5, 5, 5, 0.72);
  color: #fff;
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1.1;
  text-align: center;
  transform: translate(-50%, -50%);
  backdrop-filter: blur(8px);
}

.age-gate-overlay small {
  display: block;
  margin-top: 0.3rem;
  font-size: 0.82rem;
  font-weight: 800;
}

.watermark {
  position: absolute;
  right: 0.65rem;
  bottom: 0.65rem;
  max-width: calc(100% - 1.3rem);
  padding: 0.32rem 0.6rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.62);
  color: #fff;
  font-size: 0.76rem;
  font-weight: 800;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.fb-post-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin: 0 1rem;
  padding: 0.55rem 0;
  border-top: 1px solid var(--line);
}

.fb-post-actions span {
  display: grid;
  place-items: center;
  min-height: 2.25rem;
  border-radius: 8px;
  color: var(--muted);
  font-weight: 800;
}

.fb-post-actions span:hover {
  background: var(--soft);
}

.facebook-post-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
}

.facebook-post-card {
  padding: 0.85rem;
}

.fb-post-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 7px;
  margin-bottom: 0.85rem;
  background: #000;
}

.facebook-post-card img,
.facebook-post-card video {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.facebook-post-card video {
  display: block;
  background: #000;
}

.facebook-post-card a,
.profile-card a,
.detail-copy-card a {
  color: var(--blue);
  font-weight: 800;
  text-decoration: none;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  gap: 1rem;
  align-items: start;
}

.section-copy,
.profile-card,
.cta-section {
  padding: 1rem;
}

.profile-photo img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 7px;
  margin-bottom: 0.9rem;
}

.cta-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.3rem;
}

.facebook-follow-card {
  background: var(--soft);
  color: var(--text);
}

.fb-icon {
  width: 2.15rem;
  height: 2.15rem;
  font-size: 1.45rem;
  font-family: Arial, Helvetica, sans-serif;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  width: min(1040px, calc(100% - 1rem));
  margin: 0 auto;
  padding: 1.5rem 0;
  color: var(--muted);
}

.photo-lightbox {
  width: min(96vw, 1100px);
  max-height: 92vh;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.94);
  color: #fff;
}

.photo-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(7px);
}

.photo-lightbox-close {
  position: absolute;
  right: 0.85rem;
  top: 0.85rem;
  z-index: 2;
  min-height: 2.5rem;
  padding: 0.5rem 0.85rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: var(--text);
  font-weight: 800;
  cursor: pointer;
}

.photo-lightbox-figure {
  display: grid;
  place-items: center;
  min-height: 60vh;
  margin: 0;
  padding: 3.5rem 1rem 1rem;
  touch-action: pinch-zoom;
}

.photo-lightbox-figure img {
  max-width: 100%;
  max-height: 76vh;
  object-fit: contain;
  transform-origin: center;
  transition: transform 0.08s linear;
}

.photo-lightbox-figure figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.noscript-panel {
  display: grid;
  gap: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.detail-page {
  padding: 1.5rem 0 4rem;
}

.detail-hero-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: center;
  min-height: 70vh;
}

.detail-media-panel {
  display: grid;
  gap: 0.75rem;
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
}

.detail-media-panel img {
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
}

.detail-photo-strip {
  grid-template-columns: repeat(3, 1fr);
}

.detail-photo-strip img {
  aspect-ratio: 3 / 4;
}

.detail-copy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.detail-copy-card {
  padding: 1rem;
}

@media (max-width: 980px) {
  .creator-profile-main,
  .intro-grid,
  .detail-hero-block {
    grid-template-columns: 1fr;
  }

  .creator-action-stack {
    display: flex;
    flex-wrap: wrap;
    padding-top: 0;
  }

  .facebook-post-list,
  .detail-copy-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .nav-toggle {
    display: inline-grid;
    place-items: center;
  }

  .site-nav {
    position: absolute;
    left: 0.75rem;
    right: 0.75rem;
    top: calc(100% + 0.4rem);
    display: none;
    padding: 0.5rem;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: grid;
  }

  .creator-profile-main {
    gap: 0.75rem;
    padding-bottom: 1rem;
  }

  .creator-stats,
  .facebook-post-list,
  .detail-copy-grid,
  .detail-photo-strip {
    grid-template-columns: 1fr;
  }

  .creator-stats span {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .creator-stats span:last-child {
    border-bottom: 0;
  }

  .creator-cover {
    height: 15.5rem;
  }

  .creator-avatar {
    width: 6.4rem;
    height: 6.4rem;
  }

  .fb-media-button img {
    max-height: 620px;
  }

  .cta-section,
  .site-footer {
    display: grid;
  }
}
