.alien-hunt-token {
  position: fixed;
  top: var(--hunt-top, auto);
  right: var(--hunt-right, auto);
  bottom: var(--hunt-bottom, auto);
  left: var(--hunt-left, auto);
  z-index: 40;
  width: clamp(40px, 6vw, 56px);
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0.84;
  transform: rotate(var(--hunt-rotate, -8deg)) scale(1);
  transition: transform 140ms ease, opacity 140ms ease, filter 140ms ease;
}

.alien-hunt-token img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.alien-hunt-token:hover,
.alien-hunt-token:focus-visible {
  opacity: 1;
  transform: rotate(var(--hunt-rotate, -8deg)) scale(1.14);
}

.alien-hunt-token.found {
  opacity: 0.38;
  filter: saturate(0.3);
}

.alien-hunt-token.found::after {
  content: "found";
  position: absolute;
  right: -0.2rem;
  bottom: -0.25rem;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background: rgba(13, 20, 43, 0.92);
  color: #c7ff58;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.alien-hunt-badge {
  position: fixed;
  right: 0.8rem;
  bottom: 0.8rem;
  z-index: 45;
  max-width: min(280px, calc(100vw - 1.6rem));
  padding: 0.75rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(20, 11, 36, 0.94);
  color: #fff7cf;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.24);
  text-align: left;
}

.alien-hunt-badge strong {
  display: block;
  margin-bottom: 0.1rem;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.alien-hunt-badge p {
  margin: 0;
  color: #f4def7;
  font-size: 0.87rem;
  line-height: 1.45;
}

.alien-hunt-badge a {
  color: #8adfff;
  font-weight: 700;
}

.alien-hunt-toast {
  position: fixed;
  left: 50%;
  bottom: 4.7rem;
  z-index: 46;
  max-width: min(340px, calc(100vw - 1.6rem));
  padding: 0.7rem 0.95rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.75rem;
  background: rgba(20, 11, 36, 0.96);
  color: #fff7cf;
  box-shadow: 0 0.45rem 1.2rem rgba(0, 0, 0, 0.24);
  opacity: 0;
  transform: translateX(-50%) translateY(0.7rem);
  transition: opacity 160ms ease, transform 160ms ease;
  pointer-events: none;
}

.alien-hunt-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.hunt-secret-page {
  max-width: 780px;
}

.hunt-secret-unlocked[hidden],
.hunt-secret-locked[hidden] {
  display: none;
}

.hunt-secret-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.9rem;
  margin: 1rem 0 1.2rem;
}

.hunt-secret-gallery img {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0.55rem;
  object-fit: cover;
}

.hunt-secret-note {
  margin: 1rem 0 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(255, 255, 255, 0.04);
  text-align: left;
}

.hunt-audio-card audio {
  width: 100%;
  margin: 0.8rem 0 0.9rem;
}

.hunt-secret-page .lyric-card .hunt-secret-note {
  margin: 0;
}

@media (max-width: 620px) {
  .alien-hunt-token {
    width: 42px;
  }

  .alien-hunt-badge {
    right: 0.55rem;
    bottom: 0.55rem;
    padding: 0.65rem 0.8rem;
  }

  .alien-hunt-toast {
    bottom: 4.4rem;
  }
  .lyrics-box {
  padding: 1rem;
  border: 1px dashed rgba(255, 255, 255, 0.18);
  border-radius: 0.55rem;
  background: rgba(5, 4, 18, 0.35);
  color: var(--text);
  font-size: 1rem;
  line-height: 1.85;
}
.annotate {
  position: relative;
  color: #fff4a8;
  text-decoration: underline dotted rgba(255, 244, 168, 0.72);
  text-underline-offset: 0.2em;
  cursor: help;
}

.annotation-text {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 0.65rem);
  width: min(18rem, 72vw);
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.6rem;
  background: rgba(8, 3, 18, 0.97);
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.45;
  white-space: normal;
  box-shadow: 0 0.25rem 0.8rem rgba(0, 0, 0, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateX(-50%) translateY(0.35rem);
  transition: opacity 140ms ease, transform 140ms ease, visibility 140ms ease;
  z-index: 5;
}

.annotate:hover .annotation-text,
.annotate:active .annotation-text {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}
}
