.team-cow-header { position: relative; cursor: pointer; }
.team-cow-header > div { flex: 1; min-width: 0; }
.team-cow-header .team-cow-trigger {
  display: block; width: 100%; min-height: 0;
  appearance: none; -webkit-appearance: none;
  margin: 0; padding: 0; border: 0; border-radius: 0;
  font: inherit; line-height: inherit; text-align: left; color: inherit;
  background: transparent !important; cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* Extend the button over the header without adding height to its title. */
.team-cow-trigger::after { content: ""; position: absolute; inset: 0; }
.team-cow-glyph {
  display: grid; place-items: center; width: 46px; height: 46px;
  font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif;
  font-size: 44px; line-height: 1;
}
/* A real emoji element avoids inheriting the loading indicator's spinner. */
.team-cow-toast {
  position: fixed; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 1000; display: flex; align-items: center; gap: .65rem;
  width: max-content; max-width: calc(100vw - 32px); box-sizing: border-box;
  padding: .7rem 1.1rem; border: 1px solid var(--border); border-radius: 2px;
  background: var(--surface); color: var(--text); font-size: .9rem;
  pointer-events: none;
}
.team-cow-toast[hidden] { display: none !important; }
.team-cow-toast-icon { flex: 0 0 auto; font-size: 28px; line-height: 1; }
@media (max-width: 760px) {
  .team-cow-toast { bottom: calc(84px + env(safe-area-inset-bottom)); }
}
