/* Hive v0.36.3 measured header, insignia, and spoken-interview repair. */

/* Preserve the complete approved H artwork. The v0.36.2 clip changed its
   visible proportions and made the emblem look smaller. */
.hive-official-logo-wrap,
.hive-official-logo {
  clip-path: none;
}

/* Replace only the small horse inside Atlas's existing node. */
.header-atlas-insignia {
  top: 21.5%;
  left: 28.7%;
  width: 6.4%;
  height: auto;
}

@media (min-width: 900px) {
  .brand .hive-brand-copy > strong {
    font-size: 46px;
  }
}

/* Portrait badges are standalone role emblems, never cropped pieces of H. */
.portrait-screen > .team-role-insignia {
  display: block;
  width: 31%;
  height: auto;
  aspect-ratio: 1;
  overflow: visible;
  border: 0;
  background: none;
  box-shadow: 0 2px 7px #000, 0 0 7px #d7aa4966;
  clip-path: none;
  filter: drop-shadow(0 2px 3px #000) drop-shadow(0 0 3px #d7aa4966);
}

.portrait-screen.compact > .team-role-insignia {
  width: 34%;
}

/* The small always-visible Piper needs additional light without changing the
   full conversation window or Piper's saved avatar asset. */
.piper-side-dock .piper-live-stage {
  background:
    radial-gradient(circle at 50% 36%, #d7aa4933, transparent 47%),
    linear-gradient(160deg, #1d2026, #08090b 75%);
}

.piper-side-dock .professional-sprite-frame,
.piper-side-dock .professional-wave-frame {
  filter: brightness(1.42) saturate(1.08) contrast(1.04)
    drop-shadow(0 0 7px #e7bb4b38);
}

@media (max-width: 650px) {
  .brand .hive-brand-copy > strong {
    font-size: 30px;
  }

  .header-atlas-insignia {
    top: 21.5%;
    left: 28.7%;
  }
}
