/* Apple-supplied product PNGs remain whole and unmodified. The native screen
   uses the measured transparent opening, with a mask of that exact aperture. */
.device.apple-device{position:relative;isolation:isolate;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;min-width:0;flex:var(--device-flex,none)}
.device.apple-device.phone{width:var(--device-width,100%);max-width:min(300px,100%);aspect-ratio:1470/3000}
.device.apple-device[data-device="phone-pro"]{aspect-ratio:1350/2760}
.device.apple-device.tablet{width:var(--device-width,100%);aspect-ratio:2980/2300}
.device.apple-device.watch{width:var(--device-width,100%);max-width:min(220px,100%);aspect-ratio:560/880}
.device.apple-device:before,.device.apple-device:after{content:none}
.device.apple-device>img.device-bezel{display:block;position:relative;z-index:1;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:0;pointer-events:none}
.device.apple-device>img.device-screen{display:block;position:absolute;z-index:0;max-width:none;max-height:none;object-fit:contain;background:#000;border-radius:0;mask-repeat:no-repeat;mask-size:100% 100%;-webkit-mask-repeat:no-repeat;-webkit-mask-size:100% 100%}
.device.apple-device[data-device="phone"]>img.device-screen{left:5.1020408163%;top:2.2%;width:89.7959183673%;height:95.6%;mask-image:url('apple-iphone-18-pro-max-black-screen-mask.png');-webkit-mask-image:url('apple-iphone-18-pro-max-black-screen-mask.png')}
.device.apple-device[data-device="phone-pro"]>img.device-screen{left:5.3333333333%;top:2.5%;width:89.3333333333%;height:95%;mask-image:url('apple-iphone-18-pro-black-screen-mask.png');-webkit-mask-image:url('apple-iphone-18-pro-black-screen-mask.png')}
.device.apple-device[data-device="tablet"]>img.device-screen{left:4.1610738255%;top:5.4782608696%;width:91.677852349%;height:89.0434782609%;mask-image:url('apple-ipad-air-13-m4-space-gray-landscape-screen-mask.png');-webkit-mask-image:url('apple-ipad-air-13-m4-space-gray-landscape-screen-mask.png')}
.device.apple-device[data-device="watch"]>img.device-screen{left:12.8571428571%;top:21.8181818182%;width:74.2857142857%;height:56.3636363636%;mask-image:url('apple-watch-series-11-46mm-rose-gold-screen-mask.png');-webkit-mask-image:url('apple-watch-series-11-46mm-rose-gold-screen-mask.png')}
