.celeb-single {
  position: relative;
}

.celeb-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  z-index: 70;
  background: rgba(255, 255, 255, 0.35);
}

.celeb-progress-bar {
  display: block;
  width: 0;
  height: 100%;
  background: linear-gradient(90deg, var(--pink-500), var(--pink-700));
}

.celeb-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1rem, 2.4vw, 1.5rem);
  border-radius: 22px;
  margin-bottom: 1rem;
  border: 1px solid var(--pink-100);
  box-shadow: var(--shadow);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 201, 228, 0.25), transparent 42%),
    linear-gradient(145deg, #fff4fa 0%, #ffeef7 100%);
  color: #3d1d2f;
}

.celeb-hero.is-today-celebration {
  border: 1px solid #ffb7d8;
  background:
    radial-gradient(circle at 14% 10%, rgba(255, 214, 104, 0.28), transparent 30%),
    radial-gradient(circle at 86% 18%, rgba(255, 129, 197, 0.28), transparent 32%),
    linear-gradient(145deg, #fff3d8 0%, #ffe4f1 46%, #fff5db 100%);
  box-shadow: 0 0 0 2px rgba(255, 189, 220, 0.5), 0 18px 34px rgba(194, 61, 121, 0.22);
}

.celeb-today-celebration {
  margin: 0 0 0.6rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.36rem 0.74rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #7c1f56;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 174, 214, 0.9);
}

.celeb-today-celebration-icon {
  display: inline-block;
  animation: celebrateBounce 1.2s ease-in-out infinite;
}

@keyframes celebrateBounce {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  25% {
    transform: translateY(-1px) rotate(8deg);
  }
  50% {
    transform: translateY(-3px) rotate(-6deg);
  }
  75% {
    transform: translateY(-1px) rotate(6deg);
  }
  100% {
    transform: translateY(0) rotate(0deg);
  }
}

.celeb-hero.has-media {
  grid-template-columns: minmax(0, 1.4fr) minmax(220px, 360px);
  align-items: stretch;
}

.celeb-hero-content {
  min-width: 0;
  padding: 0.25rem;
}

.celeb-kicker {
  display: inline-flex;
  margin: 0 0 0.55rem;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  font-size: 0.72rem;
  letter-spacing: 0.7px;
  text-transform: uppercase;
  font-weight: 700;
  color: #7a2f56;
  border: 1px solid #f0bfd8;
  background: #fff;
}

.celeb-title {
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.95rem, 1.45rem + 2.2vw, 3rem);
  font-weight: 800;
  line-height: 1.14;
  letter-spacing: -0.3px;
  color: #4f1f3a;
  text-wrap: balance;
}

.celeb-subtitle {
  margin: 0.75rem 0 0.95rem;
  max-width: 58ch;
  font-size: clamp(1rem, 0.96rem + 0.25vw, 1.12rem);
  line-height: 1.82;
  font-weight: 500;
  color: #6e3b57;
}

.celeb-subtitle-links {
  font-weight: 700;
  line-height: 1.7;
}

.celeb-subtitle-links a {
  color: #7f2f58;
  text-decoration: none;
}

.celeb-subtitle-links a strong {
  font-weight: 800;
}

.celeb-subtitle-links a:hover {
  color: #ba2d72;
  text-decoration: underline;
}

.celeb-subtitle-strong {
  display: block;
}

.celeb-subtitle-strong strong {
  font-weight: 800;
}

.celeb-meta-strip {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.celeb-meta-strip li {
  list-style: none;
  border-radius: 10px;
  padding: 0.35rem 0.55rem;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: #6a304d;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid #f1c6dd;
}

.celeb-hero-actions {
  margin-top: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.56rem;
}

.celeb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 0.56rem 1rem;
  font-size: 0.84rem;
  font-weight: 600;
  border: 1px solid #efbad7;
  cursor: pointer;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.celeb-btn:hover {
  transform: translateY(-1px);
}

.celeb-btn-primary {
  color: #fff;
  background: linear-gradient(90deg, #d44f90, #bc3f79);
}

.celeb-btn-ghost {
  color: #6a304d;
  background: #fff;
}

.celeb-birthday-wish.home-birthday-wish-btn {
  border-color: rgba(255, 190, 224, 0.9);
}

[data-wish-scope] {
  position: relative;
  overflow: visible;
}

[data-wish-scope].is-party .home-birthday-wish-btn {
  animation: birthdayPulse 0.5s ease;
}

.celeb-wish-meta {
  margin: 0.42rem 0 0;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8f3a65;
}

.celeb-balloons-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 0;
  pointer-events: none;
}

.celeb-birthday-balloon {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 16px;
  height: 21px;
  border-radius: 50% 50% 45% 45%;
  opacity: 0;
  transform: translateX(-50%) translateY(0);
  animation: heroBalloonFly var(--dur, 2200ms) ease-in var(--delay, 0ms) forwards;
  box-shadow: inset -2px -3px 0 rgba(0, 0, 0, 0.12);
}

.celeb-birthday-balloon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 1px;
  height: 16px;
  transform: translateX(-50%);
  background: rgba(139, 84, 112, 0.65);
}

@keyframes heroBalloonFly {
  0% {
    opacity: 0;
    transform: translateX(-50%) translateY(0);
  }
  10% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translateX(calc(-50% + var(--bx, 0px))) translateY(-210px);
  }
}

.celeb-hero-media {
  border-radius: 16px;
  overflow: hidden;
  min-height: 220px;
  border: 1px solid #f0bfd8;
}

.celeb-hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.celeb-main-grid {
  display: grid;
  grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.celeb-sidebar {
  display: grid;
  gap: 0.9rem;
  position: sticky;
  top: 100px;
}

.celeb-facts,
.celeb-toc,
.celeb-story,
.celeb-gallery,
.celeb-post-nav-item,
.celeb-related-card {
  border: 1px solid var(--pink-100);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow);
}

.celeb-facts,
.celeb-toc {
  padding: 0.9rem;
}

.celeb-toc h2,
.celeb-section-head h2 {
  margin: 0 0 0.75rem;
  font-size: 1.06rem;
}

.celeb-facts-list {
  margin: 0;
  margin-top: 0.75rem;
  padding: 0;
  list-style: none;
}

.celeb-facts li {
  list-style: none;
  padding: 0.56rem 0;
  border-top: 1px solid var(--pink-100);
}

.celeb-facts li:first-child {
  border-top: none;
  padding-top: 0;
}

.celeb-facts span {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--ink-700);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.celeb-facts strong {
  font-size: 0.98rem;
  line-height: 1.5;
  color: #311f2b;
}

.celeb-fact-extra {
  display: none;
}

.has-expanded-facts .celeb-fact-extra {
  display: list-item;
}

.celeb-facts-expand,
.celeb-toc-toggle {
  margin-top: 0.6rem;
  border: 1px solid var(--pink-200);
  background: #fff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--ink-900);
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.celeb-facts-expand-icon,
.celeb-toc-toggle-icon {
  width: 8px;
  height: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg);
  transition: transform 0.2s ease;
  margin-top: -2px;
}

.celeb-facts-expand[aria-expanded="true"] .celeb-facts-expand-icon,
.celeb-toc-toggle[aria-expanded="true"] .celeb-toc-toggle-icon {
  transform: rotate(225deg);
  margin-top: 2px;
}

.celeb-toc-toggle {
  display: none;
}

.celeb-toc-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.celeb-toc-item + .celeb-toc-item {
  margin-top: 0.22rem;
}

.celeb-toc-item a {
  display: block;
  border-radius: 10px;
  padding: 0.35rem 0.46rem;
  font-size: 0.85rem;
  color: #5d2b47;
}

.celeb-toc-item.is-sub a {
  padding-left: 1rem;
  font-size: 0.82rem;
}

.celeb-toc-item a:hover,
.celeb-toc-item a.is-active {
  background: var(--pink-050);
  color: var(--pink-700);
}

.celeb-content-column {
  min-width: 0;
}

.celeb-gallery,
.celeb-story,
.celeb-related {
  padding: clamp(0.95rem, 2vw, 1.3rem);
}

.celeb-section-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.celeb-gallery-grid {
  margin-top: 0.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.6rem;
}

.celeb-gallery-item {
  margin: 0;
}

.celeb-gallery-trigger {
  display: block;
  width: 100%;
  position: relative;
  padding: 0;
  border: none;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  background: var(--pink-050);
}

.celeb-gallery-trigger img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.celeb-gallery-trigger:hover img {
  transform: scale(1.04);
}

.celeb-gallery-hover-desc {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.55rem 0.6rem;
  font-size: 0.78rem;
  line-height: 1.35;
  color: #fff;
  text-align: left;
  background: linear-gradient(180deg, rgba(25, 13, 19, 0), rgba(25, 13, 19, 0.9));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.celeb-gallery-trigger:hover .celeb-gallery-hover-desc,
.celeb-gallery-trigger:focus-visible .celeb-gallery-hover-desc {
  opacity: 1;
  transform: translateY(0);
}

.celeb-story .entry-content > *:first-child {
  margin-top: 0;
}

.celeb-story .entry-content p {
  font-size: clamp(1.02rem, 0.98rem + 0.2vw, 1.14rem);
  line-height: 1.9;
  color: #3b2935;
}

.celeb-story .entry-content h2 {
  font-size: clamp(1.55rem, 1.2rem + 1.3vw, 2.1rem);
  margin-top: 1.6em;
  margin-bottom: 0.55em;
}

.celeb-story .entry-content h3 {
  font-size: clamp(1.26rem, 1.11rem + 0.7vw, 1.58rem);
  margin-top: 1.35em;
  margin-bottom: 0.5em;
}

.celeb-story .entry-content h2,
.celeb-story .entry-content h3 {
  scroll-margin-top: 90px;
}

.celeb-post-nav {
  margin-top: 0.9rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
}

.celeb-post-nav.is-single-link {
  grid-template-columns: 1fr;
}

.celeb-post-nav-item {
  padding: 0.8rem 0.9rem;
}

.celeb-nav-label {
  display: block;
  font-size: 0.73rem;
  text-transform: uppercase;
  color: var(--ink-700);
  letter-spacing: 0.72px;
}

.celeb-nav-title a {
  color: #5f2242;
  font-weight: 600;
}

.celeb-related {
  margin-top: 0.9rem;
}

.celeb-post-extras {
  margin-top: 0.9rem;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 1px solid var(--pink-100);
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.celeb-post-tags-wrap + .celeb-share-wrap {
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid var(--pink-100);
}

.celeb-post-tags-wrap h2,
.celeb-share-wrap h2 {
  margin: 0 0 0.6rem;
  font-size: 1rem;
}

.celeb-share-wrap h2 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.celeb-share-title-icon {
  width: 1.05em;
  height: 1.05em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #ffe3f1;
  color: #b63474;
  font-size: 0.85em;
  line-height: 1;
}

.celeb-post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.celeb-post-tag {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.3rem 0.64rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #8b2a5d;
  background: #fff2f8;
  border: 1px solid #ffd4e7;
}

.celeb-share-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.celeb-share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.38rem;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.celeb-share-btn-icon {
  width: 1.25rem;
  height: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: lowercase;
  line-height: 1;
}

.celeb-share-btn.is-facebook {
  background: #1877f2;
}

.celeb-share-btn.is-x {
  background: #000;
}

.celeb-share-btn.is-whatsapp {
  background: #25d366;
}

.celeb-share-btn.is-telegram {
  background: #229ed9;
}

.celeb-share-btn.is-linkedin {
  background: #0a66c2;
}

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

.celeb-author-card {
  margin-top: 0.9rem;
  padding: clamp(0.95rem, 2vw, 1.25rem);
  border: 1px solid var(--pink-100);
  border-radius: 20px;
  background: #fff;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.celeb-author-media {
  width: 96px;
  height: 96px;
}

.celeb-author-media img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #ffd9ea;
}

.celeb-author-content h2 {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9f3b6c;
}

.celeb-author-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.2rem;
}

.celeb-author-content p {
  margin: 0;
  color: #4a2f3d;
  max-width: 66ch;
}

.celeb-author-link {
  margin-top: 0.55rem;
  display: inline-flex;
  font-size: 0.86rem;
  font-weight: 700;
  color: #b23273;
}

.celeb-related-card {
  overflow: hidden;
  transition: transform 0.24s ease, box-shadow 0.24s ease;
}

.celeb-related-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 28px rgba(207, 47, 123, 0.18);
}

.celeb-related-link {
  display: flex;
  flex-direction: column;
  color: inherit;
  height: 100%;
}

.celeb-related-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  object-fit: cover;
  border-radius: 0;
  transform: scale(1);
  transition: transform 0.45s ease;
  will-change: transform;
}

.celeb-related-card:hover .celeb-related-thumb img {
  transform: scale(1.08);
}

.celeb-related-card h3 {
  margin: 0;
  padding: 0.7rem 0.8rem 0.8rem;
  font-size: 0.98rem;
  line-height: 1.4;
  color: #4a2438;
}

.celeb-reveal {
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.42s ease, transform 0.42s ease;
}

.celeb-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.celeb-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(35, 14, 26, 0.92);
  padding: 1rem;
}

.celeb-lightbox.is-open {
  display: flex;
}

.celeb-lightbox-frame {
  width: min(920px, 100%);
}

.celeb-lightbox-img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 14px;
}

.celeb-lightbox-caption {
  margin-top: 0.5rem;
  color: #ffdbe9;
  font-size: 0.9rem;
}

.celeb-lightbox-close {
  position: absolute;
  top: 0.7rem;
  right: 0.7rem;
  border: 1px solid rgba(255, 209, 235, 0.5);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 999px;
  width: 38px;
  height: 38px;
  line-height: 1;
  font-size: 1.3rem;
}

.celeb-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
  border: 1px solid rgba(255, 209, 235, 0.5);
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  width: 42px;
  height: 42px;
  line-height: 1;
  font-size: 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.celeb-lightbox-prev {
  left: 0.7rem;
}

.celeb-lightbox-next {
  right: 0.7rem;
}

@media (max-width: 980px) {
  .celeb-main-grid {
    grid-template-columns: 1fr;
  }

  .celeb-sidebar {
    position: static;
    order: 1;
  }

  .celeb-content-column {
    order: 2;
  }

  .celeb-gallery-grid,
  .celeb-related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .celeb-toc-toggle {
    display: inline-flex;
    margin-bottom: 0.45rem;
  }

  .celeb-toc-list {
    display: none;
  }

  .celeb-toc-list.is-open {
    display: block;
  }
}

@media (max-width: 680px) {
  .celeb-hero {
    border-radius: 16px;
    padding: 0.95rem;
  }

  .celeb-hero.has-media {
    grid-template-columns: 1fr;
  }

  .celeb-hero-media {
    min-height: 180px;
  }

  .celeb-gallery-grid,
  .celeb-related-grid,
  .celeb-post-nav {
    grid-template-columns: 1fr;
  }

  .celeb-author-card {
    grid-template-columns: 1fr;
  }

  .celeb-author-media {
    width: 78px;
    height: 78px;
  }
}
