/* Shared three-world switcher: Individual · Couples · Children
   Pop bar + stark inactive pills; selected is always couples gold. */

#audience-switch {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  height: 52px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  /* Deep teal that pops against cream pages */
  background: linear-gradient(180deg, #1e4a46 0%, #143834 100%);
  border-bottom: 2px solid #c4a35a;
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.08) inset,
    0 4px 16px rgba(0, 0, 0, 0.2);
  font-family: Inter, Jost, system-ui, sans-serif;
}

#audience-switch .aud-track {
  display: inline-flex;
  align-items: stretch;
  gap: 4px;
  padding: 4px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 251, 242, 0.18);
  max-width: 100%;
}

#audience-switch .aud-opt {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 7.4rem;
  padding: 0.3rem 1.2rem 0.34rem;
  border-radius: 999px;
  text-decoration: none;
  /* Stark inactive pill */
  color: #fff8eb;
  background: rgba(255, 251, 242, 0.16);
  border: 1px solid rgba(255, 251, 242, 0.22);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  line-height: 1.15;
}

#audience-switch .aud-opt:hover {
  background: rgba(255, 251, 242, 0.26);
  border-color: rgba(246, 192, 51, 0.45);
  color: #ffffff;
}

#audience-switch .aud-label {
  font-size: 0.8rem;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

#audience-switch .aud-hint {
  font-size: 0.62rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.85;
  margin-top: 1px;
  color: rgba(246, 192, 51, 0.95);
}

/* Selected — always couples gold, every world */
#audience-switch .aud-opt.is-active,
#audience-switch[data-world="couples"] .aud-opt.is-active,
#audience-switch[data-world="children"] .aud-opt.is-active,
#audience-switch[data-world="individual"] .aud-opt.is-active {
  color: #1a1208;
  background: linear-gradient(180deg, #e8d08a 0%, #c4a35a 100%);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow:
    0 2px 10px rgba(196, 163, 90, 0.45),
    0 0 0 1px rgba(255, 255, 255, 0.2) inset;
  pointer-events: none;
}

#audience-switch .aud-opt.is-active .aud-hint,
#audience-switch[data-world="couples"] .aud-opt.is-active .aud-hint,
#audience-switch[data-world="children"] .aud-opt.is-active .aud-hint,
#audience-switch[data-world="individual"] .aud-opt.is-active .aud-hint {
  opacity: 0.9;
  color: rgba(26, 18, 8, 0.78);
}

@media (max-width: 640px) {
  #audience-switch {
    height: 48px;
    padding: 0 8px;
  }
  #audience-switch .aud-opt {
    min-width: 0;
    flex: 1;
    padding: 0.25rem 0.55rem;
  }
  #audience-switch .aud-label {
    font-size: 0.7rem;
    letter-spacing: 0.05em;
  }
  #audience-switch .aud-hint {
    display: none;
  }
}
