/* Stage 1: reference coordinates are expressed against a 1536 × 1009 canvas. */
.remote-playground{background:#101010;color:#f5f5f5;font-family:Montserrat,Arial,sans-serif;min-height:100svh;display:grid;align-items:center;overflow:hidden;isolation:isolate}
.playground-canvas{position:relative;width:min(100%,calc(100svh * 1.5223));aspect-ratio:1536/1009;margin:auto;container-type:inline-size}
.playground-heading{position:absolute;left:0;right:0;top:9.5%;display:flex;align-items:center;justify-content:center;gap:12px;margin:0;font-size:2.35cqw;line-height:1.03;font-weight:400;letter-spacing:-.065em}
.playground-heading strong{font-weight:800}.playground-play{width:4.8cqw;height:4.8cqw;object-fit:contain;flex:none}
.playground-panel{position:absolute;left:5.6%;right:calc(50% - 50vw - 1px);top:31.42%;height:37.16%;border-radius:16px 0 0 16px;overflow:hidden;z-index:-1}
.playground-panel img{position:absolute;width:108.457%;height:153.5857%;max-width:none;left:-4.2553%;top:-24.502%}
.playground-device{position:absolute;margin:0;pointer-events:none;transform-origin:center}
.playground-device>img{position:relative;display:block;width:100%;height:auto;z-index:2;pointer-events:none}
.playground-ipad{left:8.6%;top:21.8%;width:53.7%;rotate:-2.2deg}
.playground-iphone{left:64.45%;top:22.5%;width:16.54%;rotate:3.2deg}
.playground-screen{position:absolute;background:#000;pointer-events:none;z-index:1;overflow:hidden}
.playground-ipad .playground-screen{left:9.75%;top:7.5%;width:80%;height:85%;border-radius:1.5%}
.playground-iphone .playground-screen{left:6%;top:7%;width:88%;height:86%;border-radius:10% / 4.8%}
.playground-instruction{position:absolute;left:83.1%;top:47.1%;margin:0;width:12.5%;font-size:1.86cqw;line-height:.98;letter-spacing:-.065em}
.playground-arrow{display:block;width:6.5cqw;height:5.5cqw;margin-top:10px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.playground-caption{position:absolute;left:8%;right:8%;top:85%;margin:0;text-align:center;font-size:clamp(14px,1.4cqw,28px);line-height:1.4;letter-spacing:.145em}.playground-caption strong{font-weight:800}.brand-name{color:#fff}.brand-name .brand-it{color:#f04a1c}
@media(max-width:700px){
 .remote-playground{padding:40px 0;min-height:100svh}
 .playground-canvas{width:100%;aspect-ratio:auto;display:grid;grid-template-columns:1fr;gap:26px}
 .playground-heading{position:relative;inset:auto;font-size:clamp(25px,6.9vw,36px);gap:10px;padding-inline:20px}
 .playground-play{width:52px;height:52px}
 .playground-panel{left:5%;right:0;top:22%;height:65%;border-radius:14px 0 0 14px}
 .playground-ipad{position:relative;left:auto;top:auto;width:94%;margin:0 auto;grid-row:2}
 .playground-iphone{position:relative;left:auto;top:auto;width:42%;margin:0 0 0 15%;grid-row:3}
 .playground-instruction{left:63%;top:63%;width:32%;font-size:20px;line-height:1.15;letter-spacing:-.045em}
 .playground-arrow{width:70px;height:62px}
 .playground-caption{position:relative;inset:auto;margin:0 24px;font-size:16px;line-height:1.55;grid-row:4;letter-spacing:.06em}
}
/* Aperture overlays are above the opaque originals. Stage 2 can replace their black
   fill without editing the PNGs; the upper sensor exclusion stays with the frame. */
.playground-screen{z-index:3}
.playground-iphone .playground-screen{clip-path:polygon(0 0,30% 0,30% 7%,70% 7%,70% 0,100% 0,100% 100%,0 100%)}
@media(min-width:701px) and (max-width:900px) and (orientation:portrait){.playground-caption{font-size:16px;line-height:1.55;letter-spacing:.06em}}

/* Carry the warm accent into the demo without delaying its controls. */
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .playground-play {
      animation: playground-play-arrival linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 55%;
    }
  }
}
@keyframes playground-play-arrival {
  0%, 100% { filter: none; }
  42% { filter: drop-shadow(0 0 14px rgb(240 74 28 / 55%)); }
}
@media (max-width: 700px) {
  @keyframes playground-play-arrival {
    0%, 100% { filter: none; }
    42% { filter: drop-shadow(0 0 8px rgb(240 74 28 / 38%)); }
  }
}
