html.perspective-demo .yield-hud {
  z-index: 6;
  top: 0;
  right: auto;
  bottom: auto;
  left: 0;
  width: 300px;
  height: 180px;
  min-height: 0;
  padding: 14px 14px 12px;
  border-radius: 17px;
  background:
    linear-gradient(135deg, rgba(8, 25, 40, .76), rgba(18, 40, 51, .58)),
    rgba(8, 24, 38, .54);
  -webkit-backdrop-filter: blur(18px) saturate(118%);
  backdrop-filter: blur(18px) saturate(118%);
  box-shadow: 0 18px 46px rgba(2, 14, 24, .28), inset 0 1px 0 rgba(255, 255, 255, .08);
  opacity: .94;
  overflow: visible;
  transform: translate3d(1120px, 330px, 0) scale(.8);
  transform-origin: 0 0;
  transition: none;
  will-change: transform;
}

html.perspective-demo .hero-video,
html.perspective-demo .unit-track {
  right: auto;
  left: -10%;
  width: 107%;
}

html.perspective-demo .hero-video-backdrop {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #091a2a;
  filter: blur(24px) saturate(.92);
  opacity: .82;
  pointer-events: none;
  transform: scale(1.06);
}

html.perspective-demo .hero-video {
  -webkit-mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 0%, #000 92%, transparent 100%);
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

@media (min-width: 901px) {
  html.perspective-demo .hero {
    height: clamp(680px, calc(100vh - 80px), 850px);
    min-height: 680px;
  }
}

html.perspective-demo .yield-property b { line-height: 1.12; }
html.perspective-demo .yield-property b span { margin-top: 2px; }

html.perspective-demo .yield-hud-head,
html.perspective-demo .yield-hud-foot,
html.perspective-demo .yield-hud-value,
html.perspective-demo .yield-hud-progress {
  position: relative;
  z-index: 2;
}

html.perspective-demo .yield-hud-value { margin-top: 12px; }
html.perspective-demo .yield-hud-value > em { display: none; }
html.perspective-demo .yield-hud-value > strong { font-size: 1.86rem; }
html.perspective-demo .yield-hud-progress { gap: 3px; margin: 12px 0 8px; }
html.perspective-demo .yield-hud-foot { gap: 8px; padding-top: 7px; font-size: .48rem; }
html.perspective-demo .unit-income-stack { display: none; }

.perspective-income-cloud {
  position: absolute;
  z-index: 3;
  inset: 0;
  overflow: visible;
  pointer-events: none;
}

.perspective-income-chip {
  --chip-drift-x: 0px;
  --chip-drift-y: -18px;
  position: absolute;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-height: 20px;
  padding: 3px 6px 3px 5px;
  border: 1px solid rgba(194, 255, 8, .72);
  border-radius: 999px;
  background: rgba(194, 255, 8, .82);
  color: #102b43;
  box-shadow: 0 8px 22px rgba(3, 20, 31, .24), 0 0 16px rgba(194, 255, 8, .16);
  font-family: "Google Sans Flex", "Avenir Next", Arial, sans-serif;
  font-size: 8px;
  font-weight: 720;
  font-variant-numeric: tabular-nums;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  animation: perspective-income-flight 3.25s cubic-bezier(.2, .68, .22, 1) forwards;
}

.perspective-income-chip svg {
  width: 10px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@keyframes perspective-income-flight {
  0% { opacity: 0; transform: translate3d(0, 10px, 0) scale(.72); }
  18% { opacity: 1; transform: translate3d(0, 0, 0) scale(1.03); }
  58% { opacity: 1; transform: translate3d(calc(var(--chip-drift-x) * .45), calc(var(--chip-drift-y) * .45), 0) scale(1); }
  82% { opacity: .72; }
  100% { opacity: 0; transform: translate3d(var(--chip-drift-x), var(--chip-drift-y), 0) scale(.96); }
}

@media (prefers-reduced-motion: reduce) {
  .perspective-income-chip { animation-duration: 1ms; }
}
