
.device,
.device * {
  box-sizing: border-box;
}
.device {
  position: relative;
  flex: none;
}
.device-chassis {
  position: relative;
  transform: scale(var(--device-scale, 1));
  transform-origin: top left;
}
.device [aria-hidden="true"] {
  pointer-events: none;
}

.device-floor {
  position: absolute;
  left: 50%;
  bottom: -24px;
  height: 32px;
  width: 72%;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(22, 41, 31, 0.32), transparent 70%);
  filter: blur(12px);
}
.device-screen {
  position: relative;
  overflow: hidden;
  background: #fff;
}

.device-content {
  position: absolute;
  inset: 0;
  background: #fff;
}
.device-content > * {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.device .device-screen .device-content img,
.device .device-screen .device-content video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.device .device-screen .device-piece.is-contain {
  background: #fff;
}
.device .device-screen .device-piece.is-contain img {
  object-fit: contain;
}
.device-content video.device-video {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.device-content video.device-video.is-ready {
  opacity: 1;
}
.device-content .device-poster {
  position: absolute;
  inset: 0;
}


.device-phone .device-chassis {
  width: 413px;
  height: 872px;
  padding: 10px;
  border-radius: 62px;
  background: #0c0f0d;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 30px 82px rgba(18, 23, 20, 0.28),
    0 8px 24px rgba(18, 23, 20, 0.18);
}
.device-phone .device-screen {
  width: 393px;
  height: 852px;
  border-radius: 50px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}
.device-phone .device-island {
  position: absolute;
  left: 50%;
  top: 10px;
  z-index: 30;
  height: 30px;
  width: 112px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: #050605;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.07),
    0 2px 12px rgba(0, 0, 0, 0.35);
}
.device-phone .device-camera {
  position: absolute;
  left: 50%;
  top: 19px;
  z-index: 40;
  height: 8px;
  width: 8px;
  transform: translateX(40px);
  border-radius: 9999px;
  background: #161b18;
  box-shadow: inset 0 0 2px rgba(146, 181, 168, 0.45);
}
.device-phone .device-home,
.device-tablet .device-home {
  position: absolute;
  left: 130px;
  right: 130px;
  bottom: 8px;
  z-index: 30;
  height: 4px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.28);
}
.device-button {
  position: absolute;
  background: #20251f;
}
.device-phone .device-button-l1,
.device-phone .device-button-l2 {
  left: -3px;
  width: 3px;
  border-radius: 9999px 0 0 9999px;
}
.device-phone .device-button-l1 {
  top: 142px;
  height: 48px;
}
.device-phone .device-button-l2 {
  top: 208px;
  height: 66px;
}
.device-phone .device-button-r1 {
  right: -3px;
  top: 188px;
  height: 92px;
  width: 3px;
  border-radius: 0 9999px 9999px 0;
}
.device-ring {
  position: absolute;
  inset: 1px;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    inset 0 2px 10px rgba(255, 255, 255, 0.04);
}
.device-phone .device-ring {
  border-radius: 61px;
}


.device-laptop .device-floor {
  bottom: -20px;
  height: 28px;
  width: 82%;
  background: radial-gradient(50% 50% at 50% 50%, rgba(22, 41, 31, 0.3), transparent 70%);
}
.device-laptop .device-chassis {
  width: 1434px;
  height: 854px;
}
.device-perspective {
  perspective: 2200px;
}

.device-lid {
  position: relative;
  margin: 0 auto;
  width: 1304px;
  height: 824px;
  padding: 12px;
  border-radius: 22px;
  background: #0b0d0e;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.25),
    0 34px 90px rgba(22, 24, 23, 0.3);
  transform-origin: center bottom;
  animation:
    device-lid-turn 720ms cubic-bezier(0.22, 1, 0.36, 1) both,
    device-lid-fade 360ms ease-out both;
}
@keyframes device-lid-turn {
  from {
    transform: rotateX(-90deg);
  }
  to {
    transform: none;
  }
}
@keyframes device-lid-fade {
  from {
    opacity: 0.35;
  }
  to {
    opacity: 1;
  }
}
.device-laptop .device-notch {
  position: absolute;
  left: 50%;
  top: 12px;
  z-index: 20;
  height: 14px;
  width: 132px;
  transform: translateX(-50%);
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #090a0b;
}
.device-laptop .device-camera {
  position: absolute;
  left: 50%;
  top: 16px;
  z-index: 30;
  height: 4px;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: #2d3335;
}
.device-laptop .device-screen {
  width: 1280px;
  height: 800px;
  border-radius: 10px;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.device-base {
  position: relative;
  margin: 0 auto;
  overflow: hidden;
  width: 1434px;
  height: 30px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
  background: linear-gradient(to bottom, #eff1f2, #cfd3d6, #9aa0a5);
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.1),
    0 18px 32px rgba(22, 24, 23, 0.16);
}
.device-recess {
  position: absolute;
  left: 50%;
  top: 0;
  height: 10px;
  width: 170px;
  transform: translateX(-50%);
  border-bottom-left-radius: 11px;
  border-bottom-right-radius: 11px;
  background: #aeb4b8;
}
.device-foot {
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 10px;
  width: 1233.24px; 
  transform: translateX(-50%);
  border-top-left-radius: 60%;
  border-top-right-radius: 60%;
  background: rgba(133, 139, 144, 0.45);
}


.device-tablet .device-chassis {
  width: 840px;
  height: 1200px;
  padding: 10px;
  border-radius: 28px; 
  background: #0c0f0d;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.2),
    0 30px 82px rgba(18, 23, 20, 0.28),
    0 8px 24px rgba(18, 23, 20, 0.18);
}
.device-tablet .device-ring {
  border-radius: 27px;
}
.device-tablet .device-screen {
  width: 820px;
  height: 1180px;
  border-radius: 18px;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.device-tablet .device-camera {
  position: absolute;
  left: 50%;
  top: 2px;
  z-index: 40;
  height: 6px;
  width: 6px;
  transform: translateX(-50%);
  border-radius: 9999px;
  background: #303733;
}
.device-tablet .device-home {
  left: 50%;
  right: auto;
  width: 160px;
  height: 6px;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.25);
}
.device-tablet .device-button-top {
  top: -3px;
  right: 96px;
  width: 64px;
  height: 3px;
  border-radius: 9999px 9999px 0 0;
}
.device-tablet .device-button-r1,
.device-tablet .device-button-r2 {
  right: -3px;
  width: 3px;
  height: 64px;
  border-radius: 0 9999px 9999px 0;
}
.device-tablet .device-button-r1 {
  top: 120px;
}
.device-tablet .device-button-r2 {
  top: 196px;
}



.screen.is-device {
  max-width: 100%;
}
.screen.is-device > .screen-frame.device-host {
  aspect-ratio: auto;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  background: none;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
}
.screen.is-device > .screen-progress {
  position: relative;
  left: auto;
  right: auto;
  bottom: auto;
  display: block;
  width: min(40%, 160px);
  height: 2px;
  margin: 22px auto 0;
  border-radius: 2px;
  overflow: hidden;
}
.screen.is-device > .screen-tools {
  flex-wrap: nowrap;
  white-space: nowrap;
}
.screen.is-device > .screen-label {
  text-align: center;
  justify-content: center;
}
.lightbox-body .screen-frame.device-host {
  display: flex;
  justify-content: center;
  background: none;
  box-shadow: none;
  overflow: visible;
  aspect-ratio: auto;
  max-width: none;
}
@media (prefers-reduced-motion: reduce) {
  .device-lid {
    animation: none;
  }
}
