.av-fb-overlay,
.av-fb-overlay *,
.av-fb-overlay *::before,
.av-fb-overlay *::after {
  box-sizing: border-box;
}

.av-fb-overlay {
  --av-fb-blue: #0866ed;
  --av-fb-blue-deep: #0754d8;
  --av-fb-yellow: #ffdf16;
  --av-fb-ink: #252d3b;
  --av-fb-muted: #667185;
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overflow: auto;
  color: var(--av-fb-ink);
  background: rgba(29, 43, 62, 0.42);
  font-family: "Be Vietnam Pro", Arial, Helvetica, sans-serif;
  -webkit-overflow-scrolling: touch;
}

.av-fb-overlay button,
.av-fb-overlay a {
  font: inherit;
}

.av-fb-card {
  position: relative;
  isolation: isolate;
  width: min(940px, 100%);
  max-height: calc(100dvh - 40px);
  overflow: auto;
  border: 1px solid rgba(117, 145, 185, 0.24);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 15px 42px rgba(26, 49, 84, 0.25), 0 3px 9px rgba(26, 49, 84, 0.12);
  scrollbar-width: thin;
  scrollbar-color: #b7c9e4 transparent;
}

.av-fb-header {
  position: relative;
  display: flex;
  min-height: 258px;
  align-items: center;
  overflow: hidden;
  padding: 35px 52px 50px 270px;
  color: #fff;
  background:
    radial-gradient(ellipse at 78% 0%, rgba(14, 91, 229, 0.25), transparent 52%),
    linear-gradient(116deg, #078df3 0%, #0667ec 43%, #0750d5 100%);
}

.av-fb-header::before {
  position: absolute;
  right: -8%;
  bottom: 5px;
  width: 65%;
  height: 56px;
  border-radius: 50% 0 0 0;
  background: linear-gradient(100deg, rgba(28, 155, 255, 0.95), rgba(13, 126, 239, 0.9));
  content: "";
  transform: rotate(-4deg);
}

.av-fb-header-wave {
  position: absolute;
  z-index: 0;
  right: -5%;
  bottom: -43px;
  width: 112%;
  height: 80px;
  border-radius: 50% 50% 0 0 / 45% 45% 0 0;
  background: #fff;
  transform: rotate(-1.3deg);
}

.av-fb-heading {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 7px;
}

.av-fb-heading h1 {
  margin: 0 0 12px;
  color: #fff;
  font-size: clamp(31px, 4.7vw, 46px);
  font-weight: 800;
  letter-spacing: -1.55px;
  line-height: 1.1;
}

.av-fb-heading h1 span,
.av-fb-heading h1 strong {
  display: block;
}

.av-fb-heading h1 strong {
  color: var(--av-fb-yellow);
  font-size: 1.13em;
  font-weight: 850;
  letter-spacing: -1.7px;
}

.av-fb-heading p {
  max-width: 660px;
  margin: 0;
  color: rgba(255, 255, 255, 0.97);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.15px;
  line-height: 1.43;
}

.av-fb-heading p b {
  color: var(--av-fb-yellow);
  font-weight: 800;
}

.av-fb-brand-art {
  position: absolute;
  z-index: 2;
  top: 32px;
  left: 34px;
  width: 210px;
  height: 192px;
}

.av-fb-large-facebook {
  position: absolute;
  top: 55px;
  left: 22px;
  display: grid;
  width: 146px;
  height: 139px;
  place-items: center;
  overflow: hidden;
  border: 5px solid rgba(227, 242, 255, 0.87);
  border-radius: 31px;
  background: linear-gradient(145deg, #47baff 0%, #0866ed 48%, #0750ce 100%);
  box-shadow: inset 0 2px 7px rgba(255,255,255,.55), 0 9px 17px rgba(0, 37, 110, .35);
  transform: rotate(-9deg);
}

.av-fb-large-facebook b {
  position: relative;
  top: 12px;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 137px;
  font-weight: 800;
  line-height: .95;
  text-shadow: 0 1px 1px rgba(0, 33, 120, .25);
}

.av-fb-mini-like {
  position: absolute;
  z-index: 3;
  top: 3px;
  left: 72px;
  display: grid;
  width: 54px;
  height: 49px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.63);
  border-radius: 17px;
  background: linear-gradient(145deg, #42c6ff, #0871ed 75%);
  box-shadow: 0 5px 10px rgba(0,45,130,.3);
  transform: rotate(-10deg);
}

.av-fb-mini-like::before {
  width: 30px;
  height: 30px;
  background: center / contain no-repeat;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M25 28 33 9c1.1-2.7 5.1-2.2 5.5.7l.9 7.2-2.1 8.1h14.1c3.1 0 5.2 2.9 4.4 5.8l-5 18.7a5 5 0 0 1-4.8 3.7H25V28Zm-13-1h9v27h-9a4 4 0 0 1-4-4V31a4 4 0 0 1 4-4Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M25 28 33 9c1.1-2.7 5.1-2.2 5.5.7l.9 7.2-2.1 8.1h14.1c3.1 0 5.2 2.9 4.4 5.8l-5 18.7a5 5 0 0 1-4.8 3.7H25V28Zm-13-1h9v27h-9a4 4 0 0 1-4-4V31a4 4 0 0 1 4-4Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  background-color: #fff;
}

.av-fb-heart-bubble {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 8px;
  display: grid;
  width: 63px;
  height: 63px;
  place-items: center;
  border: 2px solid rgba(255,255,255,.7);
  border-radius: 50%;
  background: linear-gradient(145deg, #ff6c85, #ef2855 70%);
  box-shadow: 0 5px 12px rgba(117, 13, 52, .35);
}

.av-fb-heart-bubble::before {
  width: 35px;
  height: 35px;
  background-color: #fff;
  content: "";
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 55S7 39.4 7 22.8C7 10.6 22.1 6 32 17.6 41.9 6 57 10.6 57 22.8 57 39.4 32 55 32 55Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 64'%3E%3Cpath d='M32 55S7 39.4 7 22.8C7 10.6 22.1 6 32 17.6 41.9 6 57 10.6 57 22.8 57 39.4 32 55 32 55Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.av-fb-spark {
  position: absolute;
  display: block;
  width: 25px;
  height: 5px;
  border-radius: 4px;
  background: #fff;
}

.av-fb-spark--one {
  top: 20px;
  right: 3px;
  transform: rotate(-58deg);
}

.av-fb-spark--two {
  top: 48px;
  right: -12px;
  transform: rotate(-15deg);
}

.av-fb-spark--three {
  top: 95px;
  left: -11px;
  transform: rotate(28deg);
}

.av-fb-close {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 16px;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #778191;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 40, 110, .2);
  cursor: pointer;
  transition: transform 150ms ease, background-color 150ms ease;
}

.av-fb-close span {
  margin-top: -3px;
  font-size: 36px;
  font-weight: 600;
  line-height: 1;
}

.av-fb-close:hover {
  background: #edf5ff;
  transform: scale(1.05);
}

.av-fb-content {
  position: relative;
  padding: 24px 26px 14px;
}

.av-fb-gallery {
  position: relative;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 7px;
  min-height: 174px;
  margin: 0 0 15px;
}

.av-fb-photo {
  position: relative;
  min-width: 0;
  height: 174px;
  overflow: hidden;
  border-radius: 13px;
  background: linear-gradient(145deg, #e9dfd3, #b8b1a8 50%, #e9ecec);
  box-shadow: 0 2px 4px rgba(36, 52, 72, .15);
}

.av-fb-photo:nth-child(2) {
  background: linear-gradient(160deg, #dfc9ad, #a58569 43%, #e9e2d7);
}

.av-fb-photo:nth-child(3) {
  background: linear-gradient(145deg, #e2d8c8, #948a79 55%, #dcd8cf);
}

.av-fb-photo:nth-child(4) {
  background: linear-gradient(135deg, #d6d0c5, #8d9694 54%, #e5e5e1);
}

.av-fb-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.av-fb-photo--locked img {
  filter: blur(5px);
  transform: scale(1.1);
}

.av-fb-photo--locked::after {
  position: absolute;
  inset: 0;
  background: rgba(35, 43, 53, .35);
  content: "";
}

.av-fb-photo-placeholder {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 0 42%, rgba(255,255,255,.24) 43% 45%, transparent 46%),
    linear-gradient(90deg, transparent 0 19%, rgba(255,255,255,.24) 20% 22%, transparent 23% 76%, rgba(255,255,255,.2) 77% 79%, transparent 80%),
    linear-gradient(150deg, #e9dfd3, #9d9b92 52%, #d7d8d5);
}

.av-fb-photo--locked .av-fb-photo-placeholder {
  filter: blur(5px);
  transform: scale(1.1);
}

.av-fb-lock {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff;
}

.av-fb-lock-icon {
  display: block;
  width: 34px;
  height: 38px;
  filter: drop-shadow(0 2px 2px rgba(0,0,0,.3));
}

.av-fb-lock-icon svg,
.av-fb-icon svg,
.av-fb-benefit-icon svg,
.av-fb-action-mark svg,
.av-fb-action-arrow svg,
.av-fb-camera-icon svg,
.av-fb-reassurance-lock svg {
  display: block;
  width: 100%;
  height: 100%;
}

.av-fb-total-badge {
  position: absolute;
  z-index: 3;
  top: 5px;
  right: 1px;
  display: flex;
  min-height: 48px;
  align-items: center;
  gap: 9px;
  padding: 0 16px;
  border-radius: 9px;
  color: #fff;
  background: #ef3153;
  box-shadow: 0 3px 8px rgba(97, 23, 41, .25);
  transform: rotate(-4deg);
}

.av-fb-camera-icon {
  display: block;
  width: 27px;
  height: 24px;
}

.av-fb-total-text {
  font-size: 16px;
  font-weight: 800;
  letter-spacing: .1px;
  white-space: nowrap;
}

.av-fb-curved-arrow {
  position: absolute;
  z-index: 2;
  top: 20px;
  right: 31%;
  width: 49px;
  height: 66px;
  color: #0965ed;
  transform: rotate(1deg);
}

.av-fb-benefits {
  display: grid;
  min-height: 130px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  margin: 0 1px 13px;
  padding: 10px 0;
  border: 1px solid #dce8f8;
  border-radius: 19px;
  background: linear-gradient(110deg, #f1f7ff, #f4f8ff);
  box-shadow: inset 0 1px 2px rgba(255,255,255,.85);
}

.av-fb-benefit {
  display: flex;
  min-width: 0;
  height: 76px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.av-fb-benefit + .av-fb-benefit {
  border-left: 1px solid #d0dced;
}

.av-fb-benefit-icon {
  display: block;
  width: 48px;
  height: 47px;
  margin-bottom: 4px;
  color: #0965ed;
}

.av-fb-benefit p {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  line-height: 1.25;
}

.av-fb-benefit strong {
  color: #30394a;
  font-size: 17px;
  font-weight: 750;
}

.av-fb-benefit p span {
  color: #5f6b7e;
  font-size: 15px;
  font-weight: 450;
}

.av-fb-action {
  position: relative;
  display: flex;
  width: min(696px, calc(100% - 100px));
  min-height: 91px;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin: 0 auto 10px;
  padding: 12px 26px;
  border: 1px solid rgba(255,255,255,.45);
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(105deg, #086bf1 0%, #075de4 51%, #0968ed 100%);
  box-shadow: 0 8px 17px rgba(15, 81, 184, .27), inset 0 2px 4px rgba(255,255,255,.22);
  text-decoration: none;
  transition: transform 150ms ease, box-shadow 150ms ease;
}

.av-fb-action:hover {
  box-shadow: 0 10px 22px rgba(15, 81, 184, .34), inset 0 2px 4px rgba(255,255,255,.22);
  transform: translateY(-1px);
}

.av-fb-action-mark {
  display: block;
  flex: 0 0 65px;
  width: 65px;
  height: 65px;
  padding: 4px;
  border-radius: 50%;
  color: #fff;
  background: #fff;
}

.av-fb-action-label {
  font-size: clamp(21px, 2.8vw, 28px);
  font-weight: 800;
  letter-spacing: -.4px;
  line-height: 1.15;
  text-align: center;
}

.av-fb-action-arrow {
  display: block;
  flex: 0 0 36px;
  width: 36px;
  height: 25px;
}

.av-fb-action::before,
.av-fb-action::after {
  position: absolute;
  top: 50%;
  width: 21px;
  height: 5px;
  border-radius: 5px;
  background: #0965ed;
  content: "";
}

.av-fb-action::before {
  left: -34px;
  transform: translateY(-10px) rotate(39deg);
  box-shadow: -6px 17px 0 #0965ed;
}

.av-fb-action::after {
  right: -34px;
  transform: translateY(-10px) rotate(-39deg);
  box-shadow: 6px 17px 0 #0965ed;
}

.av-fb-reassurance {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  padding: 1px 10px 0;
  color: #778294;
  text-align: center;
}

.av-fb-reassurance-lock {
  display: block;
  flex: 0 0 22px;
  width: 22px;
  height: 25px;
  margin-top: 1px;
  color: #8290a1;
}

.av-fb-reassurance p {
  display: flex;
  flex-direction: column;
  gap: 3px;
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.av-fb-status {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  clip-path: inset(50%);
}

.av-fb-fallback[hidden] {
  display: none;
}

.av-fb-fallback {
  color: #075bdc;
}

.av-fb-overlay button:focus-visible,
.av-fb-overlay a:focus-visible {
  outline: 3px solid #f8c928;
  outline-offset: 4px;
}

@media (max-width: 700px) {
  .av-fb-overlay {
    align-items: flex-start;
    padding: 10px;
  }

  .av-fb-card {
    max-height: calc(100dvh - 20px);
    border-radius: 19px;
  }

  .av-fb-header {
    min-height: 220px;
    padding: 34px 22px 49px 160px;
  }

  .av-fb-brand-art {
    top: 40px;
    left: 12px;
    width: 143px;
    height: 145px;
    transform: scale(.72);
    transform-origin: top left;
  }

  .av-fb-heading h1 {
    font-size: clamp(24px, 5vw, 34px);
    letter-spacing: -1px;
  }

  .av-fb-heading h1 strong {
    font-size: 1.04em;
    letter-spacing: -1px;
  }

  .av-fb-heading p {
    font-size: 16px;
    line-height: 1.38;
  }

  .av-fb-desktop-break {
    display: none;
  }

  .av-fb-close {
    top: 8px;
    right: 9px;
    width: 44px;
    height: 44px;
  }

  .av-fb-content {
    padding: 16px 14px 13px;
  }

  .av-fb-gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 6px;
    min-height: 0;
    margin-bottom: 13px;
  }

  .av-fb-photo {
    height: clamp(75px, 21vw, 132px);
    border-radius: 9px;
  }

  .av-fb-total-badge {
    top: -10px;
    right: 0;
    min-height: 34px;
    gap: 5px;
    padding: 0 9px;
    border-radius: 7px;
  }

  .av-fb-camera-icon {
    width: 20px;
    height: 18px;
  }

  .av-fb-total-text {
    font-size: 11px;
  }

  .av-fb-curved-arrow {
    top: 8px;
    right: 21%;
    width: 34px;
    height: 47px;
  }

  .av-fb-lock-icon {
    width: 26px;
    height: 30px;
  }

  .av-fb-benefits {
    min-height: 108px;
    margin-bottom: 13px;
    border-radius: 14px;
  }

  .av-fb-benefit {
    height: 79px;
    padding: 0 4px;
  }

  .av-fb-benefit-icon {
    width: 37px;
    height: 37px;
  }

  .av-fb-benefit strong {
    font-size: clamp(11px, 2.7vw, 15px);
  }

  .av-fb-benefit p span {
    font-size: clamp(10px, 2.35vw, 13px);
  }

  .av-fb-action {
    width: calc(100% - 22px);
    min-height: 68px;
    gap: 11px;
    margin-bottom: 10px;
    padding: 8px 13px;
  }

  .av-fb-action-mark {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 2px;
  }

  .av-fb-action-label {
    font-size: clamp(16px, 4.4vw, 22px);
  }

  .av-fb-action-arrow {
    flex-basis: 27px;
    width: 27px;
  }

  .av-fb-action::before,
  .av-fb-action::after {
    width: 13px;
    height: 4px;
  }

  .av-fb-action::before {
    left: -18px;
    box-shadow: -4px 12px 0 #0965ed;
  }

  .av-fb-action::after {
    right: -18px;
    box-shadow: 4px 12px 0 #0965ed;
  }

  .av-fb-reassurance p {
    font-size: 12px;
  }
}

@media (max-width: 410px) {
  .av-fb-overlay {
    padding: 7px;
  }

  .av-fb-card {
    max-height: calc(100dvh - 14px);
  }

  .av-fb-header {
    min-height: 199px;
    padding: 56px 12px 43px 128px;
  }

  .av-fb-brand-art {
    top: 42px;
    left: 2px;
    transform: scale(.6);
  }

  .av-fb-heading h1 {
    font-size: clamp(21px, 5.7vw, 26px);
    letter-spacing: -.75px;
  }

  .av-fb-heading h1 strong {
    font-size: 1em;
    letter-spacing: -.8px;
  }

  .av-fb-heading p {
    font-size: 14px;
  }

  .av-fb-close {
    top: 7px;
    right: 7px;
  }

  .av-fb-benefit-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 2px;
  }

  .av-fb-benefit strong {
    font-size: 12px;
  }

  .av-fb-benefit p span {
    font-size: 11px;
  }

  .av-fb-action-label {
    font-size: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .av-fb-overlay *,
  .av-fb-overlay *::before,
  .av-fb-overlay *::after {
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
  }
}