#proof [data-wollas-transformation-original][hidden],
#proof [data-wollas-transformation-replaced-link][hidden] {
  display: none !important;
}

.wollas-transformation-poster[hidden],
.wollas-transformation-panel[hidden] {
  display: none !important;
}

.wollas-transformation-card {
  --transformation-accent: #176b68;
  --transformation-accent-soft: #e8f3f1;
  width: min(100%, 800px);
  margin: 0 auto;
}

.wollas-transformation-card--symmetry {
  --transformation-accent: #6b4665;
  --transformation-accent-soft: #f3ebf1;
}

.wollas-transformation-card--height {
  --transformation-accent: #596a4c;
  --transformation-accent-soft: #eff2ea;
  width: min(100%, 700px);
}

.wollas-transformation-card--posturology {
  --transformation-accent: #176b68;
  --transformation-accent-soft: #e8f3f1;
  width: min(100%, 900px);
}

.wollas-transformation-poster {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--transformation-accent) 30%, #e5e7eb);
  border-radius: 16px;
  background: #0f172a;
  box-shadow: 0 14px 36px rgba(15, 23, 42, .1);
  color: #ffffff;
  cursor: pointer;
  appearance: none;
  transition: box-shadow .18s ease, transform .18s ease;
}

.wollas-transformation-poster__image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.wollas-transformation-poster__image--square {
  aspect-ratio: 1 / 1;
}

.wollas-transformation-poster__image--portrait {
  aspect-ratio: 3 / 4;
}

.wollas-transformation-poster__image--landscape {
  aspect-ratio: 16 / 9;
}

.wollas-transformation-poster__action {
  position: absolute;
  inset: auto clamp(.75rem, 2vw, 1.25rem) clamp(.75rem, 2vw, 1.25rem) auto;
  display: flex;
  flex-direction: row-reverse;
  gap: .55rem;
  align-items: center;
  transform: none;
  pointer-events: none;
}

.wollas-transformation-poster__play {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, .92);
  border-radius: 999px;
  background: var(--transformation-accent);
  box-shadow: 0 8px 24px rgba(15, 23, 42, .38);
}

.wollas-transformation-poster__play svg {
  width: 27px;
  height: 27px;
  margin-left: 3px;
}

.wollas-transformation-poster__label {
  padding: .42rem .72rem;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 999px;
  background: rgba(8, 15, 29, .82);
  box-shadow: 0 4px 18px rgba(15, 23, 42, .25);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .015em;
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(4px);
}

.wollas-transformation-panel {
  scroll-margin-top: 6rem;
  padding: 1rem;
  border: 1px solid color-mix(in srgb, var(--transformation-accent) 30%, #e5e7eb);
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 15px 42px rgba(15, 23, 42, .12);
}

.wollas-transformation-panel__header {
  display: flex;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .85rem;
}

.wollas-transformation-panel__header strong {
  color: #111827;
  font-size: .96rem;
  font-weight: 850;
  letter-spacing: -.012em;
  line-height: 1.35;
}

.wollas-transformation-close {
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  padding: 0;
  place-items: center;
  border: 1px solid #d7dee8;
  border-radius: 999px;
  background: #ffffff;
  color: #334155;
  cursor: pointer;
  appearance: none;
}

.wollas-transformation-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.9;
}

.wollas-transformation-stage {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: #020617;
  box-shadow: 0 10px 28px rgba(15, 23, 42, .15);
}

.wollas-transformation-stage--vertical {
  width: min(100%, 405px, calc(72dvh * .5625));
  max-height: 72dvh;
  margin-inline: auto;
  aspect-ratio: 9 / 16;
}

.wollas-transformation-stage--landscape {
  width: min(100%, 900px);
  margin-inline: auto;
  aspect-ratio: 16 / 9;
}

.wollas-transformation-stage iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.wollas-transformation-panel__footer {
  display: flex;
  justify-content: flex-end;
  margin-top: .72rem;
  color: #64748b;
  font-size: .82rem;
  line-height: 1.45;
}

.wollas-transformation-panel__footer a {
  color: var(--transformation-accent);
  font-weight: 800;
  text-underline-offset: 3px;
}

.wollas-transformation-poster:focus-visible,
.wollas-transformation-close:focus-visible,
.wollas-transformation-panel__footer a:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--transformation-accent) 48%, transparent);
  outline-offset: 3px;
}

@media (hover: hover) {
  .wollas-transformation-poster:hover {
    box-shadow: 0 17px 42px rgba(15, 23, 42, .16);
    transform: translateY(-2px);
  }

  .wollas-transformation-close:hover {
    border-color: #aeb9c8;
    background: #f8fafc;
    color: #111827;
  }
}

@media (max-width: 720px) {
  .wollas-transformation-panel {
    padding: .8rem;
    border-radius: 13px;
  }

  .wollas-transformation-poster {
    border-radius: 13px;
  }

  .wollas-transformation-poster__play {
    width: 48px;
    height: 48px;
  }

  .wollas-transformation-poster__play svg {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 390px) {
  .wollas-transformation-panel__header {
    align-items: flex-start;
  }

  .wollas-transformation-panel__header strong {
    padding-top: .45rem;
    font-size: .88rem;
  }

  .wollas-transformation-poster__play {
    width: 44px;
    height: 44px;
  }

  .wollas-transformation-poster__label {
    font-size: .72rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wollas-transformation-poster {
    transition: none;
  }
}

@media print {
  .wollas-transformation-poster__action,
  .wollas-transformation-panel {
    display: none !important;
  }
}
