/* "Create and resize panels": a looping recording of the real iPad designer (owner, 4 Dec). Replaces the two phone pictures. */
.ipad-loop{position:relative;width:calc(100% + var(--pad)*.5);max-width:640px;justify-self:start;perspective:1500px;perspective-origin:20% 40%}
.ipad-loop .ipad{position:relative;z-index:2;width:62%;background:#050608;border-radius:6.2%/4.3%;padding:2.6%;box-shadow:0 30px 70px -28px var(--shadow-dev),0 0 0 1px rgba(255,255,255,.14)}
.ipad-loop video{display:block;width:100%;height:auto;aspect-ratio:720/1044;border-radius:3.8%/2.6%;background:#0b1118}
/* one recording per page theme: dark by default, light with the light theme */
.ipad-loop .il-light{display:none}
[data-theme=light] .ipad-loop .il-light{display:block}
[data-theme=light] .ipad-loop .il-dark{display:none}
@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .ipad-loop .il-light{display:block}:root:not([data-theme=dark]) .ipad-loop .il-dark{display:none}}
.il-pause{position:absolute;right:calc(2.6% + 10px);bottom:calc(2.6% + 10px);z-index:3;width:44px;height:44px;border-radius:50%;border:1px solid rgba(255,255,255,.4);background:rgba(0,0,0,.55);color:#fff;font:600 14px/1 system-ui,sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center}
.il-pause:hover{background:rgba(0,0,0,.8)}
.il-pause:focus-visible{outline:2px solid var(--gold);outline-offset:2px}

/* The Apple TV behind and to the right of the iPad (owner, 4 Dec): further away, turned a little toward the iPad, its left edge tucked behind it. Same dashboard, same recording clock (ipad-loop.js). */
.il-tv{position:absolute;z-index:1;right:-5%;top:4%;width:60%;transform:translateZ(-90px) rotateY(-15deg);transform-origin:50% 50%}
.il-tv .il-screen{position:relative;border:max(3px,.9%) solid #050506;border-radius:6px;background:#050506;box-shadow:0 0 0 1px rgba(255,255,255,.16),0 24px 50px -22px var(--shadow-dev);overflow:hidden}
.il-tv video{display:block;width:100%;height:auto;aspect-ratio:16/9;background:#0b1118}
.il-tv .il-tvl{display:none}
[data-theme=light] .il-tv .il-tvl{display:block}
[data-theme=light] .il-tv .il-tvd{display:none}
@media (prefers-color-scheme:light){:root:not([data-theme=dark]) .il-tv .il-tvl{display:block}:root:not([data-theme=dark]) .il-tv .il-tvd{display:none}}
.il-tv::before{content:"";position:absolute;left:50%;top:100%;width:5%;height:9vw;max-height:56px;transform:translateX(-50%);background:linear-gradient(90deg,#15171b,#2a2d33 50%,#15171b);box-shadow:0 0 0 1px rgba(255,255,255,.08)}
.il-tv::after{content:"";position:absolute;left:50%;top:calc(100% + min(9vw,56px));width:30%;height:5px;transform:translateX(-50%);border-radius:3px;background:linear-gradient(#2a2d33,#111317);box-shadow:0 0 0 1px rgba(255,255,255,.08),0 10px 22px -4px var(--shadow-dev)}
@media (max-width:760px){
  .ipad-loop{width:100%;max-width:min(100%,380px);perspective:900px}
  .il-tv{position:relative;right:auto;top:auto;width:78%;margin:0 0 -16% auto;transform:translateZ(-60px) rotateY(-12deg)}
  .il-tv::before,.il-tv::after{display:none}
  .ipad-loop .ipad{width:74%}
}

/* Owner 4 Dec: iPad always in dark mode; the pair sits LEFT of the text, the TV behind on the far left, turned toward the iPad. */
.ipad-loop .il-light,.il-tv .il-tvl{display:none!important}
.ipad-loop .il-dark,.il-tv .il-tvd{display:block!important}
@media (min-width:761px){
  .design>.ipad-loop{order:-1;justify-self:end;margin-left:calc(var(--pad)*-.5);perspective-origin:80% 40%}
  .ipad-loop .ipad{margin-left:auto}
  .il-tv{right:auto;left:-5%;transform:translateZ(-90px) rotateY(15deg)}
}
