.device-shell-root.three-device-root {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 720px;
  padding: 0;
  overflow: hidden;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
  background:
    radial-gradient(circle at 50% 38%, rgba(66, 85, 108, .18), transparent 43%),
    linear-gradient(180deg, #0d131c 0%, #090d13 100%);
}
.three-device-stage {
  width: 100%;
  height: 100%;
  min-height: 720px;
  overscroll-behavior: contain;
  touch-action: none;
  user-select: none;
  -webkit-user-select: none;
}
.three-device-stage canvas {
  overscroll-behavior: contain;
  touch-action: none !important;
  user-select: none;
  -webkit-user-select: none;
}
.three-device-stage[hidden],
.three-device-root .three-device-photo-root[hidden],
.three-device-hint[hidden] {
  display: none;
}
.three-device-root .three-device-photo-root {
  min-height: 720px;
}
.three-device-hint {
  position: absolute;
  left: 18px;
  bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 999px;
  color: #8292a7;
  background: rgba(8, 12, 18, .76);
  font: 500 11px/1.2 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  pointer-events: none;
  backdrop-filter: blur(8px);
}
.three-device-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  pointer-events: none;
  background: radial-gradient(circle at center, rgba(5, 8, 12, .08), rgba(5, 8, 12, .48));
}
.three-device-overlay[hidden] {
  display: none;
}
.three-device-overlay-card {
  max-width: 420px;
  padding: 16px 18px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 14px;
  color: #b9c6d5;
  background: rgba(10, 15, 22, .88);
  box-shadow: 0 18px 50px rgba(0,0,0,.4);
  text-align: center;
  font: 500 12px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  backdrop-filter: blur(12px);
}
.three-device-overlay-card b {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 15px;
}
.three-device-overlay-card small {
  display: block;
  margin-top: 6px;
  color: #8292a7;
}
@media (max-width: 900px) {
  .device-shell-root.three-device-root,
  .three-device-stage,
  .three-device-root .three-device-photo-root {
    min-height: 540px;
  }
}
