/* TASK789 — actual height reduction for frozen Action profile header.
   Only #verb-profile; the shared Subject/Object/Information hero is untouched.
   The unified SVOA shell formerly forced a 149px/139px header track. */
#verb-profile .atosy-subject-detail-v5-hero.verb-compact-hero-788,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .information-detail-panel > .svoa-frozen-header > .atosy-subject-detail-v5-hero.verb-compact-hero-788 {
  box-sizing: border-box !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  flex: 0 0 auto !important;
  padding: 17px 16px 7px !important;
  gap: 0 !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-profile,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-profile {
  display: flex !important;
  align-items: center !important;
  flex: 0 0 auto !important;
  flex-wrap: wrap !important;
  margin: 0 !important;
  padding: 0 !important;
  gap: 7px 10px !important;
  min-width: 0;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-avatar,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-avatar {
  width: 42px !important;
  height: 42px !important;
  min-width: 42px !important;
  min-height: 42px !important;
  max-height: 42px !important;
  flex: 0 0 42px !important;
  border-radius: 13px !important;
  font-size: 23px !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-profile > div:nth-child(2),
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-profile > div:nth-child(2) {
  min-width: 0 !important;
  flex: 1 1 188px !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-name,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-name {
  margin: 0 !important;
  font-size: 20px !important;
  line-height: 24px !important;
  font-weight: 800 !important;
  white-space: normal !important;
  overflow: visible !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-meta,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-meta {
  margin: 3px 0 0 !important;
  gap: 5px !important;
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-chip {
  box-sizing: border-box !important;
  min-height: 20px !important;
  padding: 2px 8px !important;
  font-size: 10px !important;
  line-height: 15px !important;
}

#verb-profile .verb-compact-hero-788 .verb-live-header-chip-772 {
  min-height: 20px !important;
  padding: 2px 8px !important;
  font-size: 10px !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions,
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions {
  display: flex !important;
  flex: 0 0 auto !important;
  align-items: center !important;
  justify-content: flex-end !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  min-width: 0;
  margin: 0 0 0 auto !important;
  position: relative;
  z-index: 1;
}

/* All adjacent controls match height and pill curvature. */
#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions > button {
  box-sizing: border-box !important;
  min-height: 34px !important;
  height: 34px !important;
  padding: 0 12px !important;
  border-radius: 999px !important;
  white-space: nowrap !important;
  font-size: 11px !important;
}

#verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions > .atosy-subject-detail-v5-close {
  width: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
}

/* Keep the tab bar usable while reclaiming bottom padding in the frozen region. */
html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation {
  padding: 0 16px 5px !important;
  min-height: 0 !important;
}

@media (max-width: 650px) {
  html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .information-detail-panel > .svoa-frozen-header > .atosy-subject-detail-v5-hero.verb-compact-hero-788,
  #verb-profile .atosy-subject-detail-v5-hero.verb-compact-hero-788 {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    flex-basis: auto !important;
    padding: 11px 13px 8px !important;
  }
  #verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-profile > div:nth-child(2) {
    flex: 1 1 calc(100% - 52px) !important;
  }
  #verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions {
    flex: 1 1 100% !important;
    justify-content: flex-end !important;
  }
  html body #verb-profile.svoa-native-profile.svoa-native-profile.svoa-native-profile .svoa-frozen-navigation {
    padding: 0 12px 5px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  #verb-profile .verb-compact-hero-788 .atosy-subject-detail-v5-actions {
    transition: none !important;
  }
}
