/* Hints on the things guests can tap: the weds editions only (source/build_weds_editions.py). Behaviour in cues.js.
   A hint is a small pill beside its control, in the page's own colours (--gold-2 / --maroon: gold and maroon on Rohan's
   page, pista and plum on Adya's). It is decorative and lets every tap through. */
.cue { position: absolute; z-index: 6; display: inline-flex; align-items: center; gap: 5px; height: 26px; margin: 0; padding: 0 11px 0 8px;
  border-radius: 999px; background: var(--gold-2); color: var(--maroon); font: 600 12.5px/1 "Jost", sans-serif; letter-spacing: .02em;
  white-space: nowrap; box-shadow: 0 4px 12px rgba(30, 12, 16, .26), inset 0 0 0 1px rgba(255, 255, 255, .55);
  pointer-events: none; user-select: none; -webkit-user-select: none; opacity: 0; transform: translateY(4px);
  transition: opacity .35s ease, transform .35s ease; }
.cue[data-end] { padding: 0 8px 0 11px; flex-direction: row-reverse; }
.cue svg { flex: none; width: 16px; height: 16px; }
.cue[data-dir="down"] svg { rotate: 180deg; }
.cue[data-dir="right"] svg { rotate: 90deg; }
.cue.show { opacity: 1; transform: none; animation: cue-bob 1.7s ease-in-out .35s infinite; }
/* the pill bobs a few pixels towards the control it points at */
.cue[data-dir="up"] { --bob: -3px; }
.cue[data-dir="down"] { --bob: 3px; }
.cue[data-dir="right"] { --bob-x: 3px; }
@keyframes cue-bob { 50% { translate: var(--bob-x, 0px) var(--bob, 0px); } }
/* Ganesha's pill (cues.js) replaces the page's own once-ever "Tap for blessings" words; his glow stays */
.ganesha-btn .ganesha-hint { display: none; }
/* nothing to hint while the doors are closed, or while a game, the photo viewer or Casper's note is open */
html.gated .cue, html.sheet-open .cue, html.lb-lock .cue { opacity: 0; }

/* the controls' boxes the pills are placed in (no change to how they look) */
.switch-wrap, .person, .muhurat .wrap { position: relative; }

/* with one song there is no next-song button (build_weds_editions.py), so the song's name gets its room */
.song-dock:has(.song-next[hidden]) .song-now { max-width: 190px; }

@media (prefers-reduced-motion: reduce) {
  .cue, .cue.show { animation: none; transform: none; transition: opacity .25s ease; }
}
