/* Header status cluster: compact information, not a row of buttons. */
.top-actions {
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
}

.top-actions > .connection-badge:first-child,
.top-actions > .hf-user-chip {
  min-height: 32px !important;
  padding: 0 4px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #e4e0e3 !important;
  box-shadow: none !important;
  font-size: 11px !important;
  font-weight: 750 !important;
  text-decoration: none !important;
}
.top-actions > .connection-badge:first-child:hover,
.top-actions > .hf-user-chip:hover { color: #a855f7 !important; }

.top-actions .notification-pill {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 32px !important;
  padding: 0 9px !important;
  border: 1px solid #303037 !important;
  border-radius: 5px !important;
  background: #101014 !important;
  color: #bab6bd !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
}
.top-actions .notification-pill svg { width: 14px; color: #a855f7; }
.top-actions .notification-pill strong {
  display: grid;
  place-items: center;
  width: 17px;
  height: 17px;
  margin-left: 1px;
  border-radius: 50% !important;
  background: #7c3aed !important;
  color: #fff !important;
  font-size: 8px !important;
  line-height: 1;
}

.top-actions > .connection-badge:last-child,
.top-actions > .hf-instagram-chip {
  display: inline-flex !important;
  align-items: center;
  gap: 7px;
  min-height: 32px !important;
  padding: 0 9px !important;
  border: 1px solid #294636 !important;
  border-radius: 5px !important;
  background: rgba(34, 100, 70, .1) !important;
  color: #6cdaa5 !important;
  box-shadow: none !important;
  font-size: 10px !important;
  font-weight: 750 !important;
}
.top-actions > .connection-badge:last-child::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #4ed799;
  box-shadow: 0 0 0 4px rgba(78, 215, 153, .08);
  content: "";
}

@media (max-width: 700px) {
  .top-actions { display: none !important; }
}

/* Second pass: one status group instead of three standalone chips. */
@media (min-width: 701px) {
  .top-actions {
    gap: 0 !important;
    padding: 3px 4px !important;
    border: 1px solid #2c2c32 !important;
    border-radius: 6px !important;
    background: #101014 !important;
  }
  .top-actions > * {
    position: relative;
    min-height: 30px !important;
    border: 0 !important;
    border-radius: 4px !important;
    background: transparent !important;
  }
  .top-actions > * + *::after {
    position: absolute;
    top: 7px;
    left: 0;
    width: 1px;
    height: 16px;
    background: #303037;
    content: "";
  }

  .top-actions > .connection-badge:first-child,
  .top-actions > .hf-user-chip {
    padding: 0 11px !important;
    color: #f0edef !important;
  }
  .top-actions .notification-pill {
    padding: 0 10px !important;
    border: 0 !important;
    background: transparent !important;
  }
  .top-actions > .connection-badge:last-child,
  .top-actions > .hf-instagram-chip {
    padding: 0 11px !important;
    border: 0 !important;
    background: transparent !important;
    color: #71dbaa !important;
  }
  .top-actions > .connection-badge:last-child::before {
    flex: 0 0 6px;
    width: 6px;
    height: 6px;
    box-shadow: 0 0 0 3px rgba(78, 215, 153, .1);
  }
  .top-actions > *:hover { background: #1a1a20 !important; }
}
