:root {
  --surface: #fff7f5;
  --muted-surface: #ffe8e2;
  --petal: #f6b7af;
  --peach: #f3a58e;
  --wine: #7d2d3a;
  --wine-dark: #54202b;
  --leaf: #7b8750;
  --ink: #3b2026;
  --muted: #7e6264;
  --line: #e8c3bd;
  --accent: #b55263;
  --accent-dark: #7d2d3a;
  --max: 1120px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background:
    linear-gradient(135deg, rgba(255, 247, 245, 0.96), rgba(255, 232, 226, 0.82)),
    var(--surface);
  color: var(--ink);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

body.sales-page {
  background: #f0f2f5;
  color: #1c1e21;
  font-family: Arial, Helvetica, sans-serif;
}

button,
input,
select {
  font: inherit;
}

textarea {
  font: inherit;
}

.sales-page a {
  color: inherit;
  text-decoration: none;
}

.fb-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #ffffff;
  border-bottom: 1px solid #dddfe2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.fb-topbar-inner {
  width: min(1180px, calc(100% - 24px));
  min-height: 56px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto minmax(160px, 280px) 1fr auto;
  align-items: center;
  gap: 14px;
}

.fb-logo {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #1877f2;
  color: #ffffff;
  font-size: 28px;
  font-weight: 700;
  font-family: Arial, Helvetica, sans-serif;
}

.fb-search {
  min-height: 40px;
  display: flex;
  align-items: center;
  border-radius: 999px;
  background: #f0f2f5;
  color: #65676b;
  padding: 0 16px;
  font-size: 15px;
}

.fb-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  color: #65676b;
  font-weight: 700;
}

.fb-nav span {
  min-width: 96px;
  padding: 16px 10px 14px;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.fb-nav .active {
  color: #1877f2;
  border-bottom-color: #1877f2;
}

.vip-link {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  border-radius: 999px;
  background: #e7f3ff;
  color: #1877f2;
  padding: 0 16px;
  font-weight: 700;
}

.fb-post-card,
.quiz-shell,
.offer-section,
.guarantee-section,
.reviews-section,
.doctor-section,
.faq-section,
.comments-section {
  width: min(900px, calc(100% - 24px));
  margin: 18px auto;
}

.fb-post-card,
.quiz-shell,
.offer-section,
.reviews-section,
.faq-section,
.comments-section {
  background: #ffffff;
  border: 1px solid #dddfe2;
  border-radius: 8px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
}

.fb-post-card {
  overflow: hidden;
}

.fb-post-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px 8px;
}

.profile-group {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fb-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.fb-name-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 5px;
  color: #050505;
  font-size: 15px;
}

.fb-name-line p,
.profile-group p {
  margin: 0;
}

.profile-group p {
  color: #65676b;
  font-size: 13px;
}

.verified {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1877f2;
  position: relative;
}

.verified::after {
  content: "";
  position: absolute;
  left: 4px;
  top: 3px;
  width: 6px;
  height: 4px;
  border-left: 2px solid #ffffff;
  border-bottom: 2px solid #ffffff;
  transform: rotate(-45deg);
}

.fb-dots {
  color: #65676b;
  font-weight: 700;
  letter-spacing: 2px;
}

.fb-post-card h1 {
  margin: 4px 16px 16px;
  color: #050505;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(25px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.video-panel {
  display: grid;
  grid-template-columns: minmax(260px, 0.85fr) 1fr;
  gap: 0;
  background: #111827;
  color: #ffffff;
}

.video-frame {
  min-height: 430px;
  display: grid;
  place-items: center;
  position: relative;
  background:
    linear-gradient(160deg, rgba(125, 45, 58, 0.9), rgba(24, 119, 242, 0.45)),
    #1c1e21;
}

.video-frame img {
  width: min(78%, 340px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.8);
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.42);
}

.play-button {
  position: absolute;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 10px 36px rgba(0, 0, 0, 0.35);
}

.play-button::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 24px solid #1877f2;
  border-top: 16px solid transparent;
  border-bottom: 16px solid transparent;
}

.video-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 34px;
}

.video-copy h2,
.quiz-shell h2,
.offer-section h2,
.guarantee-section h2,
.reviews-section h2,
.doctor-section h2,
.faq-section h2 {
  margin-bottom: 12px;
  color: inherit;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.08;
  letter-spacing: 0;
}

.video-copy p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 18px;
}

.sales-page .eyebrow {
  color: #1877f2;
  letter-spacing: 0;
  text-transform: none;
  font-size: 15px;
}

.sales-button {
  width: fit-content;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 6px;
  background: #16a34a;
  color: #ffffff;
  padding: 0 22px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 10px 18px rgba(22, 163, 74, 0.22);
}

.sales-button.secondary {
  background: #1877f2;
  box-shadow: 0 10px 18px rgba(24, 119, 242, 0.18);
}

.fb-post-footer {
  padding: 10px 16px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  color: #65676b;
  font-size: 15px;
}

.reaction-stack {
  display: flex;
  align-items: center;
  gap: 4px;
}

.reaction-stack span {
  width: 20px;
  height: 20px;
  display: inline-block;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: #1877f2;
}

.reaction-stack span + span {
  margin-left: -8px;
  background: #f5533d;
}

.quiz-shell,
.offer-section,
.reviews-section,
.faq-section,
.comments-section {
  padding: 26px;
}

.quiz-shell {
  text-align: center;
}

.quiz-shell > p,
.offer-subtitle {
  color: #65676b;
  font-size: 18px;
}

.quiz-box {
  width: min(360px, 100%);
  margin: 24px auto 0;
}

.quiz-step {
  display: none;
}

.quiz-step.active {
  display: grid;
  gap: 12px;
}

.quiz-step h3 {
  margin-bottom: 8px;
  color: #1c1e21;
  font-size: 22px;
}

.quiz-step button {
  min-height: 48px;
  border: 0;
  border-radius: 6px;
  background: #16a34a;
  color: #ffffff;
  padding: 0 16px;
  font-weight: 800;
  cursor: pointer;
}

.quiz-step .back-button {
  background: #e4e6eb;
  color: #050505;
}

.stock-pill {
  width: fit-content;
  margin: 0 auto 14px;
  border-radius: 999px;
  background: #fff4e6;
  color: #8a4b00;
  padding: 8px 14px;
  font-weight: 700;
}

.offer-section {
  text-align: center;
}

.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}

.package-card {
  border: 2px solid #dddfe2;
  border-radius: 8px;
  background: #ffffff;
  padding: 20px;
  text-align: center;
}

.package-card.best {
  border-color: #16a34a;
  box-shadow: 0 16px 34px rgba(22, 163, 74, 0.16);
}

.package-badge {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  border-radius: 999px;
  background: #16a34a;
  color: #ffffff;
  padding: 0 12px;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.package-badge.muted {
  background: #e7f3ff;
  color: #1877f2;
}

.package-card h3 {
  margin: 16px 0 4px;
  font-size: 23px;
}

.supply {
  color: #65676b;
  font-weight: 700;
}

.price {
  margin: 12px 0;
  color: #16a34a;
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
}

.price span {
  font-size: 24px;
  vertical-align: super;
}

.package-card .sales-button {
  width: 100%;
}

.guarantee-section,
.doctor-section {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  align-items: center;
  background: #ffffff;
  border: 1px solid #dddfe2;
  border-radius: 8px;
  padding: 26px;
}

.guarantee-badge {
  width: 108px;
  height: 108px;
  display: grid;
  place-items: center;
  border: 8px solid #16a34a;
  border-radius: 50%;
  color: #16a34a;
  font-size: 42px;
  font-weight: 900;
}

.review-list {
  display: grid;
  gap: 16px;
}

.review-list article {
  border-top: 1px solid #dddfe2;
  padding-top: 16px;
}

.review-list h3 {
  margin: 8px 0;
  color: #050505;
  font-size: 20px;
}

.review-list span {
  color: #65676b;
  font-size: 14px;
  font-weight: 700;
}

.doctor-section img {
  width: 176px;
  height: 176px;
  border-radius: 8px;
  object-fit: cover;
}

.doctor-section p,
.guarantee-section p,
.faq-section p {
  color: #4b5563;
  font-size: 17px;
}

.medical-note {
  border-left: 4px solid #1877f2;
  padding-left: 12px;
}

.faq-section details {
  border-top: 1px solid #dddfe2;
  padding: 16px 0;
}

.faq-section summary {
  cursor: pointer;
  color: #050505;
  font-size: 19px;
  font-weight: 800;
}

.final-offer {
  background: #1c1e21;
  color: #ffffff;
}

.final-offer p {
  color: rgba(255, 255, 255, 0.78);
}

.comments-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dddfe2;
  padding-bottom: 12px;
}

.comments-top h2 {
  margin: 0;
  font-size: 22px;
}

.comments-top span,
.comment span,
.comments-limited {
  color: #65676b;
  font-size: 13px;
  font-weight: 700;
}

.comment-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.comment {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 10px;
}

.comment.reply {
  margin-left: 48px;
}

.comment-avatar {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #e4e6eb;
  color: #1877f2;
  font-weight: 900;
}

.comment div:last-child {
  border-radius: 18px;
  background: #f0f2f5;
  padding: 10px 12px;
}

.comment p {
  margin: 3px 0 6px;
}

.comments-limited {
  margin: 18px 0 0;
  text-align: center;
}

.access-shell,
.protocol-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.access-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(280px, 430px) minmax(360px, 560px);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
  justify-content: center;
  padding: 48px 0;
}

.access-hero {
  display: grid;
  gap: 20px;
  max-width: 430px;
}

.brand-mark {
  width: min(100%, 360px);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #f7c9c1;
  box-shadow: 0 24px 70px rgba(125, 45, 58, 0.16);
}

.brand-mark img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.brand-row img {
  display: block;
  width: min(260px, 70vw);
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 16px 44px rgba(125, 45, 58, 0.14);
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--leaf);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.16em;
}

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

h1 {
  margin-bottom: 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 6vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
  color: var(--wine-dark);
}

.access-hero h1 {
  max-width: 430px;
  font-size: clamp(32px, 3.5vw, 48px);
}

.lead {
  max-width: 560px;
  color: var(--muted);
  font-size: 20px;
}

.panel {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 22px 60px rgba(125, 45, 58, 0.1);
}

.form-grid {
  display: grid;
  gap: 18px;
}

.first-access-fields {
  display: grid;
  gap: 18px;
}

.first-access-fields[hidden] {
  display: none;
}

label,
legend {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

fieldset {
  margin: 0;
  border: 0;
  padding: 0;
}

input,
select {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--ink);
  padding: 10px 12px;
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

.segmented {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
}

.segmented label {
  display: block;
  position: relative;
}

.segmented label + label {
  border-left: 1px solid var(--line);
}

.segmented input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.segmented span {
  display: grid;
  place-items: center;
  min-height: 48px;
  background: #ffffff;
  cursor: pointer;
}

.segmented input:checked + span {
  background: var(--wine);
  color: #ffffff;
}

.two-columns {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.notice {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  background: rgba(246, 183, 175, 0.18);
  border-left: 4px solid var(--leaf);
  border-radius: 0 14px 14px 0;
  padding-left: 12px;
  padding-top: 10px;
  padding-bottom: 10px;
}

.primary-action {
  min-height: 54px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(181, 82, 99, 0.22);
}

.primary-action:hover {
  background: var(--accent-dark);
}

.loading-view {
  position: fixed;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(255, 247, 245, 0.98), rgba(255, 232, 226, 0.92)),
    var(--surface);
  display: grid;
  place-items: center;
  padding: 24px;
}

.loading-view[hidden] {
  display: none;
}

.loading-box {
  width: min(720px, 100%);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 30px;
  box-shadow: 0 24px 70px rgba(125, 45, 58, 0.16);
}

.loading-logo {
  width: 116px;
  height: 116px;
  object-fit: cover;
  border-radius: 22px;
  border: 1px solid var(--line);
  margin-bottom: 20px;
}

.loading-box h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--wine-dark);
  font-size: clamp(34px, 7vw, 72px);
  line-height: 0.98;
  margin-bottom: 16px;
}

.progress-track {
  width: 100%;
  height: 16px;
  border: 1px solid var(--line);
  background: #ffffff;
  border-radius: 999px;
  overflow: hidden;
  margin: 28px 0 10px;
}

.progress-bar {
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 1s linear;
}

.timer {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.protocol-shell {
  padding: 42px 0 72px;
}

.protocol-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding-bottom: 28px;
}

.text-link {
  color: var(--accent);
  font-weight: 700;
}

.summary-grid,
.ingredients-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  margin: 32px 0;
}

.summary-grid article,
.ingredients-grid article {
  min-height: 120px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 20px;
  background: rgba(255, 255, 255, 0.66);
}

.summary-grid span {
  display: block;
  color: var(--muted);
  margin-bottom: 8px;
}

.summary-grid strong {
  font-size: 20px;
  word-break: break-word;
}

.ingredients-band {
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 18px 48px rgba(125, 45, 58, 0.1);
}

.ingredients-band h2,
.protocol-section h2,
.care-note h2 {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--wine-dark);
  font-size: clamp(28px, 5vw, 54px);
  line-height: 1;
}

.ingredients-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-bottom: 0;
}

.ingredients-grid p {
  color: var(--muted);
}

.protocol-section {
  margin-top: 46px;
}

.section-heading {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: 32px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

.section-heading p {
  color: var(--muted);
  font-size: 18px;
}

.protocol-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
}

.day-card {
  min-height: 270px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 18px;
  background: rgba(255, 255, 255, 0.7);
}

.day-card.featured {
  background: rgba(255, 232, 226, 0.72);
}

.day-number {
  color: var(--accent);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
}

.day-card h3 {
  margin: 14px 0;
  color: var(--wine-dark);
  font-size: 20px;
}

.dose-list {
  margin: 0;
  padding-left: 18px;
}

.dose-list li {
  margin-bottom: 6px;
}

.care-note {
  margin-top: 46px;
  border: 1px solid var(--accent);
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.68);
  padding: 28px;
}

.care-note p {
  color: var(--muted);
  max-width: 920px;
}

@media (max-width: 860px) {
  .fb-topbar-inner {
    grid-template-columns: auto 1fr auto;
  }

  .fb-nav {
    display: none;
  }

  .video-panel,
  .package-grid,
  .guarantee-section,
  .doctor-section {
    grid-template-columns: 1fr;
  }

  .video-frame {
    min-height: 360px;
  }

  .guarantee-badge {
    margin: 0 auto;
  }

  .doctor-section {
    text-align: center;
  }

  .doctor-section img {
    margin: 0 auto;
  }

  .access-shell,
  .protocol-header,
  .section-heading {
    grid-template-columns: 1fr;
  }

  .summary-grid,
  .ingredients-grid,
  .protocol-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .fb-topbar-inner {
    width: min(100% - 12px, 1180px);
    grid-template-columns: auto 1fr;
  }

  .fb-search {
    min-width: 0;
  }

  .vip-link {
    grid-column: 1 / -1;
    justify-content: center;
    margin-bottom: 8px;
  }

  .fb-post-card,
  .quiz-shell,
  .offer-section,
  .guarantee-section,
  .reviews-section,
  .doctor-section,
  .faq-section,
  .comments-section {
    width: min(100% - 12px, 900px);
    margin: 8px auto;
    border-radius: 8px;
  }

  .fb-post-card h1 {
    font-size: 27px;
  }

  .video-copy,
  .quiz-shell,
  .offer-section,
  .reviews-section,
  .faq-section,
  .comments-section,
  .guarantee-section,
  .doctor-section {
    padding: 18px;
  }

  .video-frame {
    min-height: 300px;
  }

  .fb-post-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .comment.reply {
    margin-left: 20px;
  }

  .access-shell,
  .protocol-shell {
    width: min(100% - 20px, var(--max));
  }

  .panel,
  .ingredients-band,
  .care-note {
    padding: 18px;
  }

  .two-columns {
    grid-template-columns: 1fr;
  }
}

@font-face {
  font-family: "Facebook Sans";
  src: url("./assets/fonts/FacebookSansRegular.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Facebook Sans";
  src: url("./assets/fonts/FacebookSansBold.ttf") format("truetype");
  font-weight: 700;
}

body.facebook-page {
  margin: 0;
  background: #f0f2f5;
  color: #050505;
  font-family: "Facebook Sans", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.facebook-page *,
body.facebook-page h1,
body.facebook-page h2,
body.facebook-page h3,
body.facebook-page h4,
body.facebook-page h5,
body.facebook-page h6 {
  box-sizing: border-box;
  font-family: "Facebook Sans", Helvetica, Arial, sans-serif;
}

body.facebook-page .fa-solid,
body.facebook-page .fa-regular {
  font-family: "Font Awesome 6 Free" !important;
}

body.facebook-page .fa-brands {
  font-family: "Font Awesome 6 Brands" !important;
}

body.facebook-page main#container {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

body.facebook-page .fb-topbar {
  width: 100%;
  background: #fff;
  border-bottom: 1px solid #dadde1;
  position: sticky;
  top: 0;
  z-index: 999;
  box-shadow: none;
}

body.facebook-page .fb-topbar-inner {
  width: 100%;
  height: 56px;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  margin: 0;
  gap: 0;
}

body.facebook-page .fb-topbar-left,
body.facebook-page .fb-topbar-center,
body.facebook-page .fb-topbar-right {
  display: flex;
  align-items: center;
}

body.facebook-page .fb-topbar-left {
  gap: 10px;
}

body.facebook-page .fb-topbar-center {
  gap: 8px;
}

body.facebook-page .fb-topbar-right {
  gap: 10px;
}

body.facebook-page .fb-logo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #1877f2;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  font-weight: 400;
}

body.facebook-page .fb-search {
  height: 40px;
  width: 240px;
  min-height: 0;
  background: #f0f2f5;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 14px;
  color: #65676b;
  font-size: 15px;
}

body.facebook-page .fb-search input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 15px;
  margin-left: 8px;
  min-height: 0;
  padding: 0;
}

body.facebook-page .fb-nav-item {
  width: 110px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #65676b;
  position: relative;
  cursor: pointer;
}

body.facebook-page .fb-nav-item i {
  font-size: 22px;
}

body.facebook-page .fb-nav-item.active {
  color: #1877f2;
}

body.facebook-page .fb-nav-item.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
  background: #1877f2;
}

body.facebook-page .fb-circle-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #e4e6eb;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #050505;
  font-size: 18px;
  cursor: pointer;
}

body.facebook-page .fb-page {
  width: 100%;
  display: flex;
  justify-content: center;
  background: #f0f2f5;
  padding-top: 8px;
}

body.facebook-page .fb-post {
  width: 100%;
  max-width: 680px;
  background: #fff;
  border: none;
  overflow: hidden;
}

body.facebook-page .fb-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 10px 12px 6px;
}

body.facebook-page .fb-user-left {
  display: flex;
  align-items: center;
  min-width: 0;
}

body.facebook-page .fb-avatar {
  width: 40px !important;
  height: 40px !important;
  min-width: 40px !important;
  min-height: 40px !important;
  max-width: 40px !important;
  max-height: 40px !important;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 10px;
}

body.facebook-page .fb-user-info {
  line-height: 1.1;
}

body.facebook-page .fb-name-row {
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

body.facebook-page .fb-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
}

body.facebook-page .fb-verified {
  color: #1877f2;
  font-size: 13px;
}

body.facebook-page .fb-follow {
  color: #1877f2;
  font-size: 14px;
  font-weight: 600;
}

body.facebook-page .fb-date {
  font-size: 12px;
  color: #65676b;
  margin-top: 1px;
}

body.facebook-page .fb-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #65676b;
  font-size: 18px;
  margin-left: 10px;
}

body.facebook-page .title {
  font-size: 16px;
  line-height: 1.25;
  font-weight: 600;
  color: #050505;
  padding: 0 16px 10px;
  margin: 0;
  letter-spacing: 0;
}

body.facebook-page .fb-video {
  background: #000;
  width: 100%;
  display: flex;
  justify-content: center;
}

body.facebook-page .mgm-video {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #000;
}

body.facebook-page .live-video-shell {
  min-height: 0;
  padding: 0;
  width: 100%;
  overflow: hidden;
}

body.facebook-page .vturb-live-frame {
  width: min(450px, 100%);
  max-width: 450px;
  position: relative;
  z-index: 1;
  background: #000;
  overflow: hidden;
  margin: 0 auto;
}

body.facebook-page vturb-smartplayer {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
}

body.facebook-page .mgm-video img {
  display: block;
  width: min(400px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 auto;
}

body.facebook-page .mgm-play {
  position: absolute;
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.32);
}

body.facebook-page .mgm-play::after {
  content: "";
  position: absolute;
  left: 31px;
  top: 23px;
  border-left: 24px solid #1877f2;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
}

body.facebook-page .fb-live-topbar,
body.facebook-page .fb-live-bottom {
  position: absolute;
  z-index: 3;
  left: 16px;
  right: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

body.facebook-page .live-reactions-layer {
  position: absolute;
  inset: 0;
  z-index: 4;
  overflow: hidden;
  pointer-events: none;
}

body.facebook-page .live-floating-reaction {
  position: absolute;
  bottom: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  animation: floatReaction 2800ms ease-out forwards;
  will-change: transform, opacity;
}

@keyframes floatReaction {
  0% {
    opacity: 0;
    transform: translate3d(0, 10px, 0) scale(0.82);
  }
  12% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate3d(var(--drift), -260px, 0) scale(1.18);
  }
}

body.facebook-page .live-reaction-controls {
  position: absolute;
  z-index: 60;
  right: 10px;
  bottom: 10px;
  display: flex;
  gap: 7px;
  align-items: center;
}

body.facebook-page .live-reaction-controls button {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  cursor: pointer;
  font-size: 18px;
  line-height: 1;
  padding: 0;
  transition: transform 140ms ease, background 140ms ease;
}

body.facebook-page .live-reaction-controls button:hover,
body.facebook-page .live-reaction-controls button:focus-visible {
  background: rgba(24, 119, 242, 0.9);
  transform: translateY(-2px) scale(1.05);
}

body.facebook-page .fb-live-topbar {
  top: 8px;
  left: 8px;
  right: 8px;
}

body.facebook-page .fb-live-bottom {
  top: 42px;
  bottom: auto;
  left: 8px;
  right: 8px;
  justify-content: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.72);
}

body.facebook-page .fb-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 26px;
  border-radius: 4px;
  background: #f02849;
  color: #fff;
  padding: 0 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

body.facebook-page .fb-live-badge span,
body.facebook-page .fb-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #fff;
  display: inline-block;
  animation: livePulse 1.1s ease-in-out infinite;
}

body.facebook-page .fb-live-dot {
  background: #f02849;
}

body.facebook-page .fb-live-viewers {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.58);
  color: #fff;
  padding: 0 10px;
  font-size: 12px;
  font-weight: 600;
}

body.facebook-page .fb-live-bottom strong {
  font-weight: 700;
}

@keyframes livePulse {
  0%, 100% {
    opacity: 1;
    transform: scale(1);
  }
  50% {
    opacity: 0.42;
    transform: scale(0.72);
  }
}

body.facebook-page .fb-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 7px 10px;
  background: #fff;
}

body.facebook-page .fb-footer-left {
  display: flex;
  align-items: center;
  gap: 18px;
}

body.facebook-page .fb-action {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #65676b;
}

body.facebook-page .fb-action i {
  font-size: 16px;
}

body.facebook-page .fb-mini-reactions {
  display: flex;
  align-items: center;
}

body.facebook-page .mini-like,
body.facebook-page .mini-love {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 9px;
  border: 2px solid #fff;
  margin-left: -4px;
}

body.facebook-page .mini-like {
  background: #1877f2;
}

body.facebook-page .mini-love {
  background: #f02849;
}

body.facebook-page .fb-comments-wrap {
  border-top: none;
  background: #fff;
}

body.facebook-page .fb-comments-filter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 15px;
  font-weight: 600;
  color: #65676b;
  padding: 10px 16px 6px 16px;
}

body.facebook-page .fb-live-chat-header {
  border-top: 1px solid #e4e6eb;
  padding-top: 12px;
  color: #050505;
}

body.facebook-page .fb-live-chat-header div,
body.facebook-page .fb-live-chat-header span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

body.facebook-page .fb-live-chat-header > span {
  color: #65676b;
  font-size: 12px;
}

body.facebook-page .fb-live-chat-notice {
  max-width: calc(100% - 32px);
  margin: 10px 16px 12px;
  border-top: 1px solid #e4e6eb;
  border-bottom: 1px solid #e4e6eb;
  background: #fff;
  color: #65676b;
  padding: 10px 0;
  font-size: 13px;
  font-weight: 600;
}

body.facebook-page .fb-live-chat-notice::before {
  content: "\f023";
  display: inline-block;
  margin-right: 7px;
  color: #65676b;
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 12px;
}

body.facebook-page .fb-comment {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  padding: 0 16px;
  margin-bottom: 6px;
  gap: 8px;
  position: relative;
  width: fit-content;
  max-width: 100%;
}

body.facebook-page .fb-comment:nth-of-type(2),
body.facebook-page .fb-comment:nth-of-type(5),
body.facebook-page .fb-comment:nth-of-type(9) {
  animation: liveCommentIn 0.42s ease-out both;
}

@keyframes liveCommentIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

body.facebook-page .fb-comment-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 8px;
  flex-shrink: 0;
}

body.facebook-page .fb-comment-body {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  min-width: 0;
}

body.facebook-page .fb-comment-bubble {
  background: #f0f2f5;
  border-radius: 18px;
  padding: 7px 10px;
  display: inline-block;
  min-width: auto;
  text-align: left;
}

body.facebook-page .fb-comment-name {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: #050505;
  margin-bottom: 2px;
}

body.facebook-page .fb-comment-text {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.3333;
  color: #050505;
  word-break: break-word;
  text-align: left;
}

body.facebook-page .fb-comment-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-left: 12px;
  margin-top: 2px;
}

body.facebook-page .fb-comment-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  font-weight: 600;
  color: #65676b;
}

body.facebook-page .fb-comment-meta span {
  cursor: pointer;
}

body.facebook-page .fb-comment-meta span:hover {
  text-decoration: underline;
}

body.facebook-page .fb-comment-reactions {
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 20px;
  padding: 1px 5px 1px 2px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .18);
  border: 1px solid #e4e6eb;
  transform: translateY(-2px);
}

body.facebook-page .fb-comment-reactions img {
  width: 16px;
  height: 16px;
  margin-left: -2px;
}

body.facebook-page .fb-comment-reactions-count {
  font-size: 12px;
  color: #65676b;
  margin-left: 4px;
}

body.facebook-page .fb-replies {
  margin-left: 46px;
}

body.facebook-page .fb-comments-disabled {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 16px 18px 16px;
  font-size: 15px;
  font-weight: 400;
  color: #65676b;
  border-top: 1px solid #e4e6eb;
  background: #fff;
}

body.facebook-page .fb-comments-disabled i {
  font-size: 13px;
  color: #65676b;
}

@media (min-width: 1200px) {
  body.facebook-page .fb-post {
    max-width: 760px;
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 768px) {
  body.facebook-page .fb-topbar-inner {
    padding: 0 12px;
  }

  body.facebook-page .fb-topbar-center {
    display: none;
  }

  body.facebook-page .fb-search {
    width: 44px;
    padding: 0;
    justify-content: center;
  }

  body.facebook-page .fb-search input {
    display: none;
  }

  body.facebook-page .fb-topbar-right {
    gap: 8px;
  }

  body.facebook-page .fb-circle-btn {
    width: 38px;
    height: 38px;
    font-size: 17px;
  }

  body.facebook-page .fb-logo {
    width: 40px;
    height: 40px;
    font-size: 24px;
  }

  body.facebook-page .fb-page {
    padding-top: 0;
  }

  body.facebook-page .fb-post {
    border-radius: 0;
    border-left: none;
    border-right: none;
    box-shadow: none;
    padding-left: 12px;
    padding-right: 12px;
    max-width: 100%;
  }

  body.facebook-page .title {
    font-size: 15px;
  }

  body.facebook-page .fb-video {
    width: calc(100% + 24px);
    margin-left: -12px;
    margin-right: -12px;
  }

  body.facebook-page .mgm-video {
    min-height: 0;
  }

  body.facebook-page .live-video-shell {
    min-height: 0;
    padding: 0;
  }

  body.facebook-page .vturb-live-frame {
    width: min(100vw, 450px);
    max-width: none;
  }

  body.facebook-page .live-reaction-controls {
    right: 8px;
    bottom: 8px;
    gap: 5px;
  }

  body.facebook-page .live-reaction-controls button {
    width: 34px;
    height: 34px;
    font-size: 17px;
  }

  body.facebook-page .fb-footer {
    padding: 10px 12px;
  }

  body.facebook-page .fb-footer-left {
    gap: 12px;
  }

  body.facebook-page .fb-comment {
    padding: 0 10px;
  }

  body.facebook-page .fb-comment-bubble {
    max-width: 100%;
  }
}
