/* Cauldron Mastery playable preview inside a phone frame: a poster until the visitor taps, then the ad in an iframe */
.screen.ad-screen { background: #170D22; }
.ad-screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.ad-start {
  position: absolute; inset: 0; width: 100%; height: 100%; padding: 0; border: 0; margin: 0;
  background: #170D22; cursor: pointer; color: #fff; font: inherit;
  display: grid; place-items: center; overflow: hidden;
}
.ad-start img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; transition: filter .3s, scale .4s; }
.ad-start::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,13,34,.15), rgba(23,13,34,.55)); }
.ad-start:hover img { scale: 1.03; filter: saturate(1.15); }
.ad-start:focus-visible { outline: 4px solid #FFD6E0; outline-offset: -4px; }
.ad-play {
  position: relative; z-index: 1; display: grid; justify-items: center; gap: 10px;
  font-family: 'Lilita One', system-ui, sans-serif; font-size: 1.35rem; letter-spacing: .01em;
  text-shadow: 0 2px 0 rgba(0,0,0,.35);
}
.ad-play i {
  width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center;
  background: #3CC46F; box-shadow: 0 6px 0 #237A46, 0 14px 30px rgba(0,0,0,.45);
  transition: scale .2s;
}
.ad-play i::before { content: ""; margin-left: 6px; border-style: solid; border-width: 15px 0 15px 24px; border-color: transparent transparent transparent #fff; }
.ad-start:hover .ad-play i { scale: 1.08; }
.ad-replay { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.ad-replay[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) { .ad-start img, .ad-play i { transition: none; } }
