/* Sing Here — shared brand bar. Included on every patron and DJ screen so the
   app reads as one system (matching here.photo's red bar / game-here's green
   bar, but yellow for this app). Kept self-contained (no reliance on a given
   page's own :root vars) so it renders identically regardless of which
   page's stylesheet it's paired with. */
:root {
  --sh-brand-yellow: #ffd400; /* sampled from the logo */
  --sh-brand-yellow-dim: rgba(255, 212, 0, .35);
  /* Height of the shared widget's top strip (BETA / ?), fixed above everything —
     see partials/brand_bar.php. Top-pinned elements offset by it. */
  --hh-strip-h: 24px;
}
.sh-strip-space { height: var(--hh-strip-h); }

.sh-brandbar {
  /* Fixed height so pages with their own sticky sub-headers can stack below
     it (offset their `top` by this value) instead of overlapping it. */
  position: sticky;
  top: var(--hh-strip-h, 0px);
  z-index: 500;
  height: 46px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  background: rgba(0, 0, 0, .9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--sh-brand-yellow);
  padding: .2rem .9rem;
  font-family: 'Segoe UI', sans-serif;
}
.sh-brandbar .sh-brand-left { display: flex; align-items: center; gap: .5rem; min-width: 0; }
/* BETA pill beside the wordmark — same look as here.photo's .hp-beta. */
.sh-brandbar .sh-beta {
  background: #f5c518; color: #1a1400; border: 0; cursor: pointer;
  font: 800 9px/1 -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  letter-spacing: .07em; padding: 3px 5px 2px; border-radius: 4px; flex-shrink: 0;
}
.sh-brandbar .sh-bell { display: inline-flex; min-width: 0; }
.sh-brandbar .sh-brand-link {
  display: flex;
  align-items: center;
  gap: .55rem;
  text-decoration: none;
  min-width: 0;
}
.sh-brandbar .sh-brand-logo {
  height: 38px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.sh-brandbar .sh-brand-name {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.sh-brandbar .sh-brand-name .n1 { color: #fff; }
.sh-brandbar .sh-brand-name .n2 { color: rgba(255, 255, 255, .32); }
.sh-brandbar .sh-brand-name .n3 { color: var(--sh-brand-yellow); }
.sh-brandbar .sh-brand-right {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .8rem;
  flex-shrink: 0;
}
.sh-brandbar .sh-pill {
  border: 1px solid rgba(255, 255, 255, .15);
  border-radius: 999px;
  padding: .3rem .75rem;
  color: rgba(255, 255, 255, .6);
  text-decoration: none;
  background: transparent;
  white-space: nowrap;
}
.sh-brandbar .sh-pill:hover { color: #fff; border-color: var(--sh-brand-yellow-dim); background: rgba(255, 255, 255, .06); }
.sh-brandbar .sh-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--sh-brand-yellow);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .72rem;
  flex-shrink: 0;
}
