/*! iPhone 14 Pro geometry adapted from Devices.css v0.2.0 | MIT | github.com/picturepan2/devices.css */
.unfurl-form-device {
  height: calc(868 * var(--iphone-unit));
  width: calc(428 * var(--iphone-unit));
}

.unfurl-iphone-shell {
  background: #010101;
  border: calc(1 * var(--iphone-unit)) solid #1b1721;
  border-radius: calc(68 * var(--iphone-unit));
  box-shadow: inset 0 0 calc(4 * var(--iphone-unit)) calc(2 * var(--iphone-unit)) #c0b7cd, inset 0 0 0 calc(6 * var(--iphone-unit)) #342c3f;
  height: calc(868 * var(--iphone-unit));
  padding: 0;
  width: calc(428 * var(--iphone-unit));
}

.unfurl-iphone-screen {
  border-radius: calc(49 * var(--iphone-unit));
  height: calc(830 * var(--iphone-unit));
  width: calc(390 * var(--iphone-unit));
}

.unfurl-form-device .device-stripe::after,
.unfurl-form-device .device-stripe::before {
  border: solid rgba(1, 1, 1, .25);
  border-width: 0 calc(7 * var(--iphone-unit));
  content: "";
  height: calc(7 * var(--iphone-unit));
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 9;
}

.unfurl-form-device .device-stripe::after {
  top: calc(85 * var(--iphone-unit));
}

.unfurl-form-device .device-stripe::before {
  bottom: calc(85 * var(--iphone-unit));
}

.unfurl-form-device .device-header {
  background: #010101;
  border-radius: calc(20 * var(--iphone-unit));
  height: calc(35 * var(--iphone-unit));
  left: 50%;
  margin-left: calc(-60 * var(--iphone-unit));
  position: absolute;
  top: calc(29 * var(--iphone-unit));
  width: calc(120 * var(--iphone-unit));
}

.unfurl-form-device .device-sensors::after,
.unfurl-form-device .device-sensors::before {
  content: "";
  position: absolute;
}

.unfurl-form-device .device-sensors::after {
  background: #010101;
  border-radius: calc(17 * var(--iphone-unit));
  height: calc(33 * var(--iphone-unit));
  left: 50%;
  margin-left: calc(-60 * var(--iphone-unit));
  top: calc(30 * var(--iphone-unit));
  width: calc(74 * var(--iphone-unit));
}

.unfurl-form-device .device-sensors::before {
  background: radial-gradient(farthest-corner at 20% 20%, #6074bf 0, transparent 40%), radial-gradient(farthest-corner at 80% 80%, #513785 0, #24555e 20%, transparent 50%);
  border-radius: 50%;
  box-shadow: 0 0 calc(1 * var(--iphone-unit)) calc(1 * var(--iphone-unit)) rgba(255, 255, 255, .05);
  height: calc(9 * var(--iphone-unit));
  left: 50%;
  margin-left: calc(36 * var(--iphone-unit));
  top: calc(42 * var(--iphone-unit));
  width: calc(9 * var(--iphone-unit));
}

.unfurl-form-device .device-btns {
  background: #1b1721;
  border-radius: calc(2 * var(--iphone-unit));
  height: calc(32 * var(--iphone-unit));
  left: calc(-2 * var(--iphone-unit));
  position: absolute;
  top: calc(115 * var(--iphone-unit));
  width: calc(3 * var(--iphone-unit));
}

.unfurl-form-device .device-btns::after,
.unfurl-form-device .device-btns::before {
  background: #1b1721;
  border-radius: calc(2 * var(--iphone-unit));
  content: "";
  height: calc(62 * var(--iphone-unit));
  left: 0;
  position: absolute;
  width: calc(3 * var(--iphone-unit));
}

.unfurl-form-device .device-btns::after {
  top: calc(60 * var(--iphone-unit));
}

.unfurl-form-device .device-btns::before {
  top: calc(140 * var(--iphone-unit));
}

.unfurl-form-device .device-power {
  background: #1b1721;
  border-radius: calc(2 * var(--iphone-unit));
  height: calc(100 * var(--iphone-unit));
  position: absolute;
  right: calc(-2 * var(--iphone-unit));
  top: calc(200 * var(--iphone-unit));
  width: calc(3 * var(--iphone-unit));
}

.unfurl-form-device .device-home::after,
.unfurl-form-device .device-home::before {
  border: solid rgba(1, 1, 1, .25);
  border-width: calc(6 * var(--iphone-unit)) 0;
  content: "";
  height: calc(6 * var(--iphone-unit));
  position: absolute;
  width: calc(6 * var(--iphone-unit));
  z-index: 9;
}

.unfurl-form-device .device-home::after {
  right: calc(86 * var(--iphone-unit));
  top: 0;
}

.unfurl-form-device .device-home::before {
  bottom: 0;
  left: calc(86 * var(--iphone-unit));
}


.unfurl-form-device { --iphone-unit: calc(100cqw / 428); width:100%; height:auto; }
.unfurl-iphone-shell { position:absolute; top:0; left:0; box-sizing:border-box; pointer-events:none; background:transparent!important; z-index:2; }
.unfurl-form-device .device-header, .unfurl-form-device .device-sensors { pointer-events:none; z-index:3; }
.unfurl-form-device .device-btns, .unfurl-form-device .device-power { pointer-events:none; }
.unfurl-form-status { width:calc(390 * var(--iphone-unit)); height:calc(59 * var(--iphone-unit)); margin:calc(19 * var(--iphone-unit)) auto 0; border-radius:calc(49 * var(--iphone-unit)) calc(49 * var(--iphone-unit)) 0 0; padding-inline:calc(24 * var(--iphone-unit)); font-size:calc(15 * var(--iphone-unit)); }
.unfurl-form-status svg { width:calc(72 * var(--iphone-unit)); height:calc(16 * var(--iphone-unit)); }
.unfurl-form-device > img { width:calc(390 * var(--iphone-unit)); margin:0 auto; border-radius:0 0 6px 6px; }
.unfurl-iphone-home { position:absolute; top:calc(831 * var(--iphone-unit)); left:50%; transform:translateX(-50%); width:calc(134 * var(--iphone-unit)); height:calc(5 * var(--iphone-unit)); border-radius:99px; background:#191718; z-index:3; }
.unfurl-iphone-shell { background:url("asset/unfurl/iphone-14-pro-frame.svg") center / 100% 100% no-repeat !important; }
