/* v4 hero: Juno pose layers, desk channel glitch and caption chip. */
.holo-frame .v4h-layer {
  position: absolute; z-index: 1; left: 4px; top: 4px; width: calc(100% - 8px); height: calc(100% - 8px);
  object-fit: cover; border-radius: calc(var(--r-xl) - 4px); opacity: 0;
  transition: opacity 180ms linear; pointer-events: none; user-select: none; -webkit-user-drag: none;
}
.holo-frame.v4h-off .v4h-layer, .holo-frame.v4h-off .holo-glitch, .holo-frame.v4h-off .v4h-chip { display: none; }
.holo-glitch {
  position: absolute; z-index: 4; left: 4px; right: 4px; top: 4px; bottom: 4px; pointer-events: none; opacity: 0;
  border-radius: calc(var(--r-xl) - 4px);
  background: repeating-linear-gradient(0deg, rgba(62, 230, 224, 0.5) 0 2px, rgba(10, 14, 30, 0.25) 2px 5px);
}
.holo-glitch.is-on { animation: v4hGlitch 380ms steps(6, end) 1; }
@keyframes v4hGlitch {
  0% { opacity: 0; transform: translateY(-6%); }
  25% { opacity: 0.7; transform: translateY(2%) scaleX(1.02); }
  55% { opacity: 0.35; transform: translateY(-1%); }
  100% { opacity: 0; transform: translateY(0); }
}
.v4h-chip {
  position: absolute; z-index: 5; left: 50%; bottom: 10px; max-width: calc(100% - 20px); transform: translate(-50%, 6px);
  padding: 4px 10px; border-radius: 999px; font-size: 0.72rem; font-weight: 700; line-height: 1.3; white-space: nowrap;
  overflow: hidden; text-overflow: ellipsis; color: #eafcff; background: rgba(8, 14, 30, 0.82);
  border: 1px solid rgba(62, 230, 224, 0.7); opacity: 0; transition: opacity 180ms linear, transform 180ms ease-out;
  pointer-events: none;
}
.v4h-chip.is-on { opacity: 1; transform: translate(-50%, 0); }
html.theme-day .v4h-chip { color: #0b2a33; background: rgba(255, 255, 255, 0.92); border-color: rgba(0, 120, 140, 0.6); }
html.fx-off .v4h-layer, html.fx-off .holo-glitch, html.fx-off .v4h-chip { display: none; }
@media (prefers-reduced-motion: reduce) {
  .v4h-layer, .holo-glitch, .v4h-chip { display: none !important; }
}
@media (max-width: 420px) { .v4h-chip { font-size: 0.66rem; } }
