/* The screen is the shared origin for the reader, the phone and the migration pair. */
.ld-device-field {
  position: absolute;
  inset: 0 auto auto 0;
  width: 0;
  height: 0;
  pointer-events: none;
  --ax: 0px;
  --ay: 0px;
  --object-scale: 1.23;
  transform: scale(var(--art-scale, 1));
  transform-origin: 0 0;
}
.ld-foot-shadow {
  position: absolute;
  width: 307px;
  height: 42px;
  left: calc(var(--ax) - 145px);
  top: calc(var(--ay) + 198px);
  border-radius: 50%;
  background: radial-gradient(closest-side, #1e0808b8, transparent);
  filter: blur(5px);
  transform: rotate(-5deg);
}
.ld-portal {
  position: absolute;
  width: 299px;
  left: var(--ax);
  top: calc(var(--ay) + 30px);
  border: 8px solid #241c1d;
  border-radius: 15px;
  background: #f5eee5;
  color: #332522;
  box-shadow:
    7px 11px 1px #351d1c,
    14px 25px 28px #1e060b66;
  transform: translate(-50%, -46%) perspective(650px) rotateY(-13deg) rotateZ(-4deg);
  overflow: hidden;
  opacity: 0;
}
.ld-portal-top {
  background: #3d2020;
  color: #fff5ec;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 13px 16px;
  font-size: 14px;
}
.ld-portal-top span {
  font:
    400 10px "JetBrains Mono",
    monospace;
  color: #e4c9bc;
}
.ld-slip-inner {
  padding: 18px 19px 20px;
}
.ld-slip-kicker {
  font:
    400 11px "JetBrains Mono",
    monospace;
  color: #6e4b41;
}
.ld-slip-title {
  font:
    500 31px/1.1 Sora,
    sans-serif;
  letter-spacing: -0.065em;
  margin: 7px 0 17px;
}
.ld-line-item {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid #cfbdb1;
  padding: 8px 0;
  font-size: 13px;
}
.ld-line-item b {
  font-weight: 500;
}
.ld-order-status {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  font-size: 14px;
  margin-top: 10px;
}
.ld-order-status i {
  background: #3e3029;
  border-radius: 50%;
  width: 19px;
  height: 19px;
  display: grid;
  place-items: center;
  font:
    13px Sora,
    sans-serif;
  color: #fff;
}
.ld-machine {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: 0;
  height: 0;
  transform-origin: 0 0;
  transform: perspective(850px) rotateY(-13deg) rotateX(10deg) rotateZ(-6deg)
    scale(var(--object-scale));
  opacity: 0;
  --body-w: 218px;
  --body-h: 320px;
  --case-y: -98px;
  --corner: 27px;
  --glass-w: 184px;
  --glass-h: 134px;
  --g-radius: 12px;
  --depth: 16px;
  --rimlight: #ff8b6b;
  --plastic: #df4434;
  --mid: #aa221e;
  --side: #70180e;
  --ink: #30120e;
}
.ld-edge,
.ld-face {
  position: absolute;
  left: calc(var(--body-w) * -0.5);
  top: var(--case-y);
  width: var(--body-w);
  height: var(--body-h);
  border-radius: var(--corner);
}
.ld-edge-back {
  background: linear-gradient(105deg, var(--ink), var(--side) 55%, var(--ink));
  transform: translate(calc(var(--depth) * 0.71), var(--depth));
  box-shadow: 1px 2px 3px #160715aa;
}
.ld-edge-mid {
  background: linear-gradient(115deg, var(--mid), var(--side) 48%, var(--rimlight) 92%, var(--ink));
  transform: translate(calc(var(--depth) * 0.42), calc(var(--depth) * 0.58));
}
.ld-face {
  background: linear-gradient(
    127deg,
    var(--rimlight) 0%,
    var(--plastic) 8%,
    var(--plastic) 32%,
    var(--mid) 97%
  );
  border: 1px solid var(--rimlight);
  box-shadow:
    inset 2px 3px 3px #ffffff50,
    inset -3px -4px 5px #1b091857;
}
.ld-reader-brand {
  position: absolute;
  display: flex;
  justify-content: space-between;
  align-items: center;
  left: -84px;
  top: -91px;
  width: 170px;
  color: #3e150f;
  font:
    600 10px/17px "JetBrains Mono",
    monospace;
  letter-spacing: 0.05em;
}
.ld-reader-brand span {
  font-weight: 600;
  letter-spacing: -0.12em;
  transform: rotate(-20deg);
}
.ld-reader-led {
  display: inline-block;
  vertical-align: 1px;
  margin-left: 3px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--led, #62271b);
  box-shadow: 0 0 4px var(--led, #62271b);
}
.ld-glass {
  position: absolute;
  left: calc(var(--glass-w) * -0.5);
  top: calc(var(--glass-h) * -0.5);
  width: var(--glass-w);
  height: var(--glass-h);
  border: 3px solid #211b21;
  border-radius: var(--g-radius);
  background: #211d25;
  box-shadow:
    0 -1px 1px #140a10,
    0 1.5px 1px #ffffff80;
  overflow: hidden;
  isolation: isolate;
  color: #35242a;
}
.ld-pay,
.ld-bank {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.ld-pay {
  background: linear-gradient(135deg, #fffaf0, #eee7da);
  padding: 9px 12px 7px;
}
.ld-terminal-caption {
  font:
    500 11px/1.15 "JetBrains Mono",
    monospace;
  padding-bottom: 6px;
  border-bottom: 1px solid #cebdab;
}
.ld-payinfo {
  position: absolute;
  left: 12px;
  right: 10px;
  top: 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.ld-payinfo span {
  font:
    400 11px Sora,
    sans-serif;
  color: #695549;
}
.ld-tap b {
  font:
    500 33px/1.1 Sora,
    sans-serif;
  letter-spacing: -0.075em;
  margin-top: 3px;
}
.ld-payinfo em {
  font:
    500 12px/1.3 "JetBrains Mono",
    monospace;
  color: #7f281e;
  margin-top: 8px;
}
.ld-approved .ld-tick {
  display: grid;
  place-items: center;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  background: #46392f;
  color: #fff9eb;
  font:
    500 15px/1 Sora,
    sans-serif;
}
.ld-approved strong {
  font:
    500 19px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.055em;
  margin-top: 5px;
  white-space: nowrap;
}
.ld-approved em {
  font-size: 10px;
  margin-top: 4px;
}
.ld-recovery {
  opacity: 0;
}
.ld-retry-dial {
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid #b78b45;
  border-radius: 50%;
  background: #f4dfb3;
  color: #775121;
  font:
    500 21px/1 Sora,
    sans-serif;
}
.ld-recovery strong {
  margin-top: 4px;
  font:
    500 19px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.055em;
}
.ld-recovery em {
  margin-top: 3px;
  color: #70512d;
}
.ld-keys {
  position: absolute;
  left: -86px;
  top: 81px;
  width: 172px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 5px;
  transform-origin: top center;
}
.ld-keys b {
  display: grid;
  place-items: center;
  height: 21px;
  border-radius: 5px;
  background: linear-gradient(175deg, #423839, #251e20);
  border: 1px solid #23191b;
  border-top-color: #56484a;
  box-shadow:
    0 2px 1px #4d120dbb,
    inset 0 1px #ffffff15;
  color: #f3ece9;
  font:
    500 12px/1 "JetBrains Mono",
    monospace;
}
.ld-keys b:nth-last-child(1) {
  color: #e1edce;
}
.ld-mouth {
  position: absolute;
  left: -42px;
  top: 202px;
  width: 84px;
  height: 4px;
  background: #3e1715;
  border-top: 1px solid #481b16;
  border-bottom: 1px solid #f48161;
  border-radius: 5px;
}
.ld-sidekey {
  position: absolute;
  left: calc(var(--body-w) * 0.5);
  top: -49px;
  width: 3.5px;
  height: 45px;
  background: linear-gradient(#a185b9, #432856);
  border-radius: 0 3px 3px 0;
}
.ld-bank {
  background: #f5eff7;
  color: #26162e;
}
.ld-statusline {
  height: 24px;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font:
    600 8px/1 "JetBrains Mono",
    monospace;
  padding: 0 13px;
  background: #eee2f5;
  color: #331741;
}
.ld-statusline i {
  position: absolute;
  left: 50%;
  top: 7px;
  transform: translateX(-50%);
  width: 38px;
  height: 7px;
  border-radius: 9px;
  background: #251c2a;
}
.ld-statusline span {
  font-size: 12px;
}
.ld-bank-head {
  font:
    500 17px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.06em;
  padding: 13px 13px 12px;
  border-bottom: 1px solid #d9c6e2;
}
.ld-bank-body {
  position: absolute;
  top: 77px;
  left: 13px;
  right: 13px;
}
.ld-account-label {
  font:
    400 10px/1.3 Sora,
    sans-serif;
  color: #5f486c;
}
.ld-bank-body .ld-balance {
  display: block;
  font:
    500 24px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.07em;
  margin-top: 6px;
  white-space: nowrap;
}
.ld-security {
  margin: 20px 0 0;
  padding: 14px 0;
  border-top: 1px solid #cdbbd4;
  display: grid;
  grid-template-columns: 23px 1fr;
  gap: 2px 6px;
  align-items: center;
}
.ld-security strong {
  font:
    500 14px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.035em;
}
.ld-security span {
  grid-column: 2;
  font:
    400 10px/1.3 Sora,
    sans-serif;
  color: #634273;
}
.ld-lock {
  display: inline-block;
  position: relative;
  width: 13px;
  height: 12px;
  background: #673389;
  border-radius: 3px;
  margin: 3px 0 0 3px;
}
.ld-lock:before {
  content: "";
  position: absolute;
  width: 9px;
  height: 9px;
  left: 2px;
  top: -6px;
  border: 2px solid #673389;
  border-radius: 8px 8px 0 0;
  box-sizing: border-box;
}
.ld-auth {
  top: 116px;
  text-align: center;
}
.ld-auth strong {
  display: block;
  font:
    500 17px/1.25 Sora,
    sans-serif;
  letter-spacing: -0.04em;
  margin-top: 12px;
}
.ld-phone-bar {
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 43px;
  height: 3px;
  background: #58455e;
  border-radius: 5px;
}
.ld-oldphone {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: 0;
  height: 0;
  transform-origin: 0 0;
  opacity: 0;
}
.ld-oldcase {
  position: absolute;
  left: -90px;
  top: -164px;
  width: 180px;
  height: 328px;
  padding: 6px;
  border-radius: 27px;
  border: 1px solid #d0c4d9;
  background: linear-gradient(120deg, #d8ccd9, #4f4354 18%, #988398 65%, #3b303e);
  box-shadow:
    3px 4px 0 #29202e,
    5px 9px 14px #1b0a274f;
}
.ld-oldglass {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  display: grid;
  place-items: center;
  border: 3px solid #28212c;
  border-radius: 22px;
  background: linear-gradient(150deg, #fcf9ff, #ece2f2 62%, #d8cae1);
}
.ld-oldglass:before,
.ld-destination:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 6px;
  transform: translateX(-50%);
  width: 34px;
  height: 6px;
  border-radius: 5px;
  background: #2b2130;
}
.ld-oldglass:after,
.ld-destination:after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 6px;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  border-radius: 3px;
  background: #76647c;
}
.ld-invest-mark {
  width: 85%;
  aspect-ratio: 131 / 25;
  display: block;
  background: url("nuinvest-official.svg") center / contain no-repeat;
}
.ld-destination {
  position: absolute;
  inset: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 0;
  background: linear-gradient(145deg, #7506b9 5%, #820ad1 52%, #5e069a 100%);
  color: #fff;
  opacity: 0;
}
.ld-destination:after {
  background: #e5d0f7;
}
.ld-nu-mark {
  width: 75px;
  height: 75px;
  display: block;
  background: url("nu-official.svg") center / contain no-repeat;
  filter: brightness(0) invert(1);
}
@media screen {
  .defer-backdrops .experience:not(.exterior) :is(.ld-invest-mark, .ld-nu-mark) {
    background-image: none;
  }
}
.ld-destination span {
  font:
    500 20px/1.2 Sora,
    sans-serif;
  letter-spacing: -0.04em;
}
.ld-transfer {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: 64px;
  height: 22px;
  transform: translate(-50%, -50%);
  opacity: 0;
  filter: drop-shadow(0 1px 2px #271330) drop-shadow(0 0 4px #210928);
  color: #fff6ff;
}
.ld-shaft {
  position: absolute;
  left: 0;
  top: calc(50% - 1.5px);
  height: 3px;
  width: 100%;
  transform: scaleX(var(--sweep, 0));
  transform-origin: left;
  background: currentColor;
  border-radius: 2px;
}
.ld-tip {
  position: absolute;
  left: var(--tip, 0%);
  top: 50%;
  width: 15px;
  height: 15px;
  border-top: 3px solid currentColor;
  border-right: 3px solid currentColor;
  transform: translate(-100%, -50%) rotate(45deg);
  transform-origin: 75% 50%;
}
.ld-reflection {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    112deg,
    transparent 21%,
    rgba(255, 255, 255, 0.09) 39%,
    rgba(255, 255, 255, 0.34) 48%,
    rgba(255, 255, 255, 0.05) 56%,
    transparent 70%
  );
  background-size: 230% 100%;
  opacity: 0.32;
}
.ld-glass {
  z-index: 2;
}
.ld-bridge {
  position: absolute;
  inset: 0;
  opacity: 0;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 13px;
  background:
    radial-gradient(ellipse at 20% 95%, #522739, transparent 84%),
    linear-gradient(135deg, #211a26, #332338);
  color: #fff2ec;
}
.ld-bridge-ring {
  position: relative;
  display: block;
  width: 50px;
  height: 50px;
  border: 1.5px solid #d7bfc6;
  border-radius: 50%;
  box-shadow: 0 0 24px #e8bcd017;
}
.ld-bridge-check,
.ld-bridge-lock {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font:
    400 29px/1 Sora,
    sans-serif;
}
.ld-bridge-lock .ld-lock {
  margin: 4px 0 0;
  background: #f3d7ee;
  transform: scale(1.24);
}
.ld-bridge-lock .ld-lock:before {
  border-color: #f3d7ee;
}
.ld-bridge-label {
  font:
    500 15px/1.3 Sora,
    sans-serif;
  letter-spacing: -0.03em;
}
.ld-card {
  position: absolute;
  left: var(--ax);
  top: var(--ay);
  width: 146px;
  height: 88px;
  border-radius: 11px;
  border: 1px solid #e6ccb2;
  background: linear-gradient(117deg, #e7d0b0, #c6ae92 77%, #f5dfbb);
  color: #493a31;
  box-shadow: 3px 6px 8px #24100b50;
  overflow: hidden;
  opacity: 0;
}
.ld-card i {
  position: absolute;
  left: 15px;
  top: 32px;
  width: 20px;
  height: 16px;
  border: 1px solid #ad8b5b;
  border-radius: 4px;
  background:
    linear-gradient(90deg, transparent 44%, #b49367 48%, transparent 54%),
    linear-gradient(0deg, #c5a576, #dbc29e 45%, #b18f60 49%, #e3ceb0 58%);
}
.ld-card span,
.ld-card b {
  position: absolute;
  right: 12px;
  top: 10px;
  font:
    500 9px/1.3 "JetBrains Mono",
    monospace;
  letter-spacing: 0.08em;
}
.ld-card b {
  top: auto;
  bottom: 10px;
  letter-spacing: -0.1em;
}
.ld-pos-log {
  position: absolute;
  left: calc(var(--ax) - 326px);
  top: calc(var(--ay) + 168px);
  width: 249px;
  transform: rotate(-5deg);
  transform-origin: 85% 0;
  filter: drop-shadow(2px 6px 6px #210b0885);
  opacity: 0;
}
.ld-log-feed {
  clip-path: inset(0 0 var(--unprinted, 100%) 0);
}
.ld-log-paper {
  padding: 12px 15px 16px;
  color: #3a2922;
  background: linear-gradient(160deg, #e8d9c2, #fff4df 18%, #f0dec3 90%, #ddc7a7);
  clip-path: polygon(
    0 0,
    100% 0,
    100% 100%,
    95% 97%,
    90% 100%,
    85% 97%,
    80% 100%,
    75% 97%,
    70% 100%,
    65% 97%,
    60% 100%,
    55% 97%,
    50% 100%,
    45% 97%,
    40% 100%,
    35% 97%,
    30% 100%,
    25% 97%,
    20% 100%,
    15% 97%,
    10% 100%,
    5% 97%,
    0 100%
  );
}
.ld-log-heading {
  padding-bottom: 5px;
  margin-bottom: 5px;
  border-bottom: 1px dashed #ab9580;
  font:
    500 14px/1.2 "JetBrains Mono",
    monospace;
  color: #57402f;
}
.ld-log-line {
  display: grid;
  grid-template-columns: 49px 1fr;
  gap: 3px;
  align-items: baseline;
  font:
    400 15px/1.32 "JetBrains Mono",
    monospace;
  letter-spacing: -0.04em;
}
.ld-log-line b {
  font-weight: 600;
}
.ld-log-warn b {
  color: #8e3d22;
}
.ld-log-retry b {
  color: #775117;
}
.ld-log-ok b {
  color: #315638;
}

@media (max-width: 780px) {
  .ld-transfer {
    width: 39px;
  }
  .ld-foot-shadow {
    width: 219px;
    left: -102px;
    top: 141px;
  }
  .ld-portal {
    width: 250px;
    top: 21px;
  }
  .ld-pos-log {
    left: -174px;
    top: 147px;
    width: 229px;
    transform: rotate(-4deg);
  }
  .ld-log-paper {
    padding: 9px 12px 13px;
  }
}
