/* Device, from React Bits Pro: the stylesheet as shipped. */
.device {
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
  -webkit-user-select: none;
  user-select: none;
  container-type: size;
  -webkit-tap-highlight-color: transparent;
}

.device-shadow {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100cqmin;
  height: 209.2cqmin;
  margin-left: -50cqmin;
  margin-top: -104.6cqmin;
  border-radius: 17.9cqmin;
  background-color: var(--device-shadow);
  pointer-events: none;
  will-change: transform;
}

.device-shadow-soft {
  filter: blur(6.5cqmin);
}

.device-shadow-tight {
  filter: blur(1.6cqmin);
}

.device[data-device-page="light"] .device-shadow-soft {
  filter: blur(9cqmin);
}

.device[data-device-page="light"] .device-shadow-tight {
  filter: blur(2.2cqmin);
}

.device-stage {
  position: absolute;
  inset: 0;
  perspective: 520cqmin;
}

.device-body {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100cqmin;
  height: 209.2cqmin;
  margin-left: -50cqmin;
  margin-top: -104.6cqmin;
  transform-style: preserve-3d;
  will-change: transform;
}

.device-back {
  position: absolute;
  inset: 0;
  border-radius: 17.9cqmin;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(-5.75cqmin) rotateY(180deg);
}

.device-facet {
  position: absolute;
  left: 0;
  top: 0;
  background-color: var(--device-metal);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.device-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--device-b, none);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000);
  mask-image: linear-gradient(90deg, transparent, #000);
  pointer-events: none;
}

.device-key {
  border-radius: 1.2cqmin;
}

.device-control {
  border-radius: 1.8cqmin;
}

.device-key-front {
  position: absolute;
  background-color: var(--device-metal);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.device-front {
  position: absolute;
  inset: 0;
  border-radius: 17.9cqmin;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(5.75cqmin);
}

.device-frame {
  position: absolute;
  inset: 0;
  will-change: transform;
}

.device-ring {
  position: absolute;
  background-color: var(--device-metal);
  background-repeat: no-repeat;
}

.device-glass {
  position: absolute;
  inset: 2.2cqmin;
  overflow: hidden;
  border-radius: 15.7cqmin;
  background-color: #000000;
  isolation: isolate;
}

.device-screen {
  position: absolute;
  overflow: hidden;
  background-color: var(--device-screen);
}

.device-content {
  position: absolute;
}

.device-scroll {
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.device-scroll::-webkit-scrollbar {
  display: none;
}

.device-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.device-picture-tall {
  height: auto;
  min-height: 100%;
}

.device-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
}

.device-image-tall {
  height: auto;
  min-height: 100%;
}

.device-screen-edge {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
}

.device-wake {
  position: absolute;
  inset: 0;
  background-color: #000000;
  pointer-events: none;
}

.device-island {
  position: absolute;
  left: 50%;
  width: 32cqmin;
  height: 9cqmin;
  margin-left: -16cqmin;
  border-radius: 9999px;
  background-color: #000000;
  pointer-events: none;
}

.device-lens {
  position: absolute;
  right: 2.9cqmin;
  top: 50%;
  width: 3.2cqmin;
  height: 3.2cqmin;
  margin-top: -1.6cqmin;
  border-radius: 9999px;
}

.device-glare {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 340cqmin;
  height: 340cqmin;
  margin-left: -170cqmin;
  margin-top: -170cqmin;
  pointer-events: none;
  will-change: transform;
}
