/* Facade TikTok: evita cargar embed.js / player hasta interacción */
.evf-tiktok-facade {
  position: relative;
  max-width: 605px;
  min-width: 280px;
  width: 100%;
  margin: 1.25rem auto;
  aspect-ratio: 9 / 16;
  max-height: 740px;
  background: linear-gradient(160deg, #111 0%, #2a2a2a 55%, #111 100%);
  border-radius: 12px;
  overflow: hidden;
  color: #fff;
}

.evf-tiktok-facade.is-active {
  aspect-ratio: auto;
  min-height: 740px;
  background: transparent;
}

.evf-tiktok-facade__btn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  border: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  padding: 24px;
  text-align: center;
}

.evf-tiktok-facade__play {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: #fe2c55;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  position: relative;
}

.evf-tiktok-facade__play::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 12px 0 12px 20px;
  border-color: transparent transparent transparent #fff;
}

.evf-tiktok-facade__label {
  font-size: 15px;
  font-weight: 600;
  line-height: 1.3;
  max-width: 16rem;
}

.evf-tiktok-facade__link {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 12px;
  text-decoration: underline;
  z-index: 2;
}

.evf-tiktok-facade__iframe {
  display: block;
  width: 100%;
  height: 740px;
  max-width: 605px;
  margin: 0 auto;
  border: 0;
  border-radius: 12px;
  background: #000;
}

.wp-block-embed-tiktok .evf-tiktok-facade {
  margin-top: 0;
  margin-bottom: 0;
}
