.blkk-weekly-popup {
  position: fixed;
  inset: 0;
  z-index: 2010;
  display: block;
}

.blkk-weekly-popup__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 16, 22, 0.45);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
}

.blkk-weekly-popup__sheet {
  position: absolute;
  left: 50%;
  transform: translateX(-50%) translateY(12px);
  bottom: calc(68px + env(safe-area-inset-bottom) + 12px);
  width: min(92vw, 420px);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 14px 14px 12px;
  color: #0b1220;
  opacity: 0;
  transition: transform 180ms ease, opacity 180ms ease;
}

.blkk-weekly-popup.is-open .blkk-weekly-popup__sheet {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.blkk-weekly-popup__close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.8);
  color: rgba(17, 24, 39, 0.9);
  font-size: 16px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.blkk-weekly-popup__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 12px;
  background: rgba(214, 51, 132, 0.12);
  color: #b4236a;
  letter-spacing: 0.2px;
}

.blkk-weekly-popup__media {
  margin-top: 12px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #f7f7fb;
}

.blkk-weekly-popup__image {
  display: block;
  width: 100%;
  height: auto;
}

.blkk-weekly-popup__fallback {
  display: none;
  width: 100%;
}

.blkk-weekly-popup__headline {
  margin-top: 12px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.blkk-weekly-popup__sub {
  margin-top: 6px;
  font-size: 12px;
  line-height: 1.35;
  color: rgba(17, 24, 39, 0.68);
}

.blkk-weekly-popup__cta {
  margin-top: 12px;
  display: inline-flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  height: 44px;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-decoration: none;
  box-shadow: 0 14px 26px rgba(214, 51, 132, 0.25);
}

.blkk-weekly-popup__cta:active {
  transform: translateY(1px);
}

@media (prefers-reduced-motion: reduce) {
  .blkk-weekly-popup__sheet {
    transition: none;
    transform: translateX(-50%) translateY(0);
  }
}

@media (min-width: 768px) {
  .blkk-weekly-popup {
    display: none;
  }
}
