/* ==========================================================================
   THE 40s/50s ISLAND HUNT — Puerto Rico Scavenger Challenge
   Standalone page for the Casa Bella, Puerto Rico itinerary.

   Design tokens below are copied from the parent itinerary's
   ../Assets/css/styles.css (same variable names/values — deep rainforest
   green, warm gold, sunset coral, Fraunces + Inter) so this page reads as
   part of the same trip experience. Layout/behavior classes (.hunt-*,
   .achievement-*, .toast*) are modeled on the JazzeeXscapes Nolarette
   Hunt's simple flat-card structure, not the large categorized-accordion
   pattern.
   ========================================================================== */

:root {
  /* Neutrals — warm sand ivory / near-black forest grounding */
  --ink-900: #16241c;
  --ink-700: #233b2d;
  --mauve-500: #7c8b7a;
  --mauve-300: #bcccb8;
  --ivory-100: #f7f0e2;
  --ivory-50: #fdfaf4;
  --white: #fffdf8;

  /* Deep rainforest green — the site's dominant identity color */
  --purple-900: #0e2a20;
  --purple-800: #123626;
  --purple-700: #17432f;
  --purple-600: #1f5539;
  --purple-500: #2c6b48;
  --lilac-400: #a7c2a8;
  --lilac-300: #c3d8c1;
  --lilac-200: #e2ecdd;

  /* Metallic gold — premium borders, icons, highlights, signature moments */
  --gold-700: #8a6a35;
  --gold-600: #a9843f;
  --gold-500: #d4af64;
  --gold-300: #e9cd93;
  --gold-100: #f7ecd4;

  /* Sunset coral/amber — CTAs, high-visibility moments */
  --yellow-700: #b1481f;
  --yellow-600: #d35f2c;
  --yellow-500: #f0873f;
  --yellow-300: #f7b98a;

  --danger: #b81f3a;
  --danger-dark: #9c1830;

  /* Semantic */
  --bg-body: var(--ivory-100);
  --text-primary: var(--ink-900);
  --text-muted: var(--mauve-500);
  --border-soft: rgba(14, 42, 32, 0.12);
  --border-gold: rgba(212, 175, 100, 0.5);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container-max: 1180px;
  --gutter: 24px;

  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --shadow-soft: 0 20px 60px -30px rgba(5, 12, 9, 0.55);
  --shadow-card: 0 12px 32px -20px rgba(5, 12, 9, 0.35);

  --ease-editorial: cubic-bezier(0.22, 1, 0.36, 1);

  --glass-blur: 18px;
}

@media (min-width: 640px) { :root { --gutter: 40px; } }
@media (min-width: 1024px) { :root { --gutter: 56px; } }

/* ---------------------------------------------------------------------- */
/* Reset                                                                   */
/* ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0e2019;
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
@media (display-mode: standalone) {
  html { overflow-x: hidden; }
  body { overflow-x: visible; }
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
h1, h2, h3, h4, p { margin: 0; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.8s var(--ease-editorial), transform 0.8s var(--ease-editorial); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------------------------------------------------------------------- */
/* Fixed rainforest page background — same photo/overlay treatment as the */
/* parent itinerary, so this page reads as a continuation of it rather    */
/* than a different product.                                              */
/* ---------------------------------------------------------------------- */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(180deg, rgba(8, 18, 14, 0.72) 0%, rgba(8, 18, 14, 0.32) 16%, rgba(8, 18, 14, 0.38) 45%, rgba(8, 18, 14, 0.55) 75%, rgba(6, 14, 11, 0.8) 100%),
    url("../images/puerto-rico-background.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 60% 22%;
}
@media (min-width: 900px) { .page-bg { background-position: 60% 12%; } }
@media (min-width: 760px) and (prefers-reduced-motion: no-preference) {
  .page-bg { background-attachment: fixed; }
}
@media (max-width: 759px) {
  .page-bg {
    background-image:
      linear-gradient(180deg, rgba(8, 18, 14, 0.42) 0%, rgba(8, 18, 14, 0.18) 16%, rgba(8, 18, 14, 0.22) 45%, rgba(8, 18, 14, 0.32) 75%, rgba(6, 14, 11, 0.5) 100%),
      url("../images/puerto-rico-background.png");
  }
}

/* Glass card surfaces — same translucent/blurred treatment used across    */
/* the parent itinerary's cards.                                          */
.hunt-score-card,
.hunt-card-btn,
.achievement-card,
.hunt-reset-confirm {
  backdrop-filter: blur(var(--glass-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(140%);
}

/* ---------------------------------------------------------------------- */
/* Minimal top bar with a back link to the main itinerary.                 */
/* ---------------------------------------------------------------------- */
.hunt-page-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: max(16px, env(safe-area-inset-top)) var(--gutter) 16px;
  background: rgba(14, 42, 32, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.hunt-back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gold-300);
  transition: color 0.3s var(--ease-editorial);
}
.hunt-back-link:hover { color: var(--gold-500); }
.hunt-back-link:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 3px; }
.hunt-page-nav .brand-mark {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.75);
  white-space: nowrap;
}

.hunt-footer-back { max-width: 460px; margin: 56px auto 0; text-align: center; }
.hunt-back-link--footer { color: var(--gold-300); }
.hunt-back-link--footer:hover { color: var(--gold-500); }

/* ---------------------------------------------------------------------- */
/* Footer — same structure as the parent itinerary's .site-footer.        */
/* ---------------------------------------------------------------------- */
.site-footer { padding: 22px var(--gutter) 26px; background: var(--purple-900); color: rgba(226, 236, 221, 0.65); }
.footer-line {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
  font-size: 12px;
  letter-spacing: 0.02em;
}
.footer-line .dot { color: rgba(226, 236, 221, 0.3); }
.footer-line .brand-link { color: var(--gold-300); font-weight: 600; }

/* ---------------------------------------------------------------------- */
/* THE 40s/50s ISLAND HUNT — flat challenge list + score card + bonus     */
/* section + achievements + proof + reset. All selectors namespaced with  */
/* .hunt- / .achievement- / .toast so they never collide with anything    */
/* else, though this page never loads the parent itinerary's stylesheet.  */
/* ---------------------------------------------------------------------- */
.hunt { padding: 0 0 88px; }
.hunt-container { padding-top: 34px; }

/* Hero — a single responsive image (the graphic already has "THE 40s/50s
   ISLAND HUNT / PUERTO RICO SCAVENGER CHALLENGE" designed into it).
   width:100%/height:auto scales it to any screen width while preserving
   its native aspect ratio exactly — never cropped, never stretched. The
   frame adds the polished gold border + soft shadow on top of the
   artwork's own baked-in border. */
.hunt-hero-frame {
  max-width: 760px;
  margin: 0 auto;
  padding: 24px var(--gutter) 0;
}
.hunt-hero {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-gold);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  line-height: 0;
}
.hunt-hero-image {
  display: block;
  width: 100%;
  height: auto;
}

/* Header copy directly under the hero */
.hunt-header {
  max-width: 620px;
  margin: 28px auto 28px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: center;
}
.hunt-tagline { font-family: var(--font-display); font-style: italic; font-size: 17px; color: var(--white); }
.hunt-stats {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.hunt-copy { font-size: 14.5px; line-height: 1.65; color: var(--lilac-300); }

/* Personal score card */
.hunt-score-card {
  position: relative;
  max-width: 460px;
  margin: 0 auto 40px;
  background: linear-gradient(150deg, rgba(251, 250, 244, 0.9) 0%, rgba(247, 236, 212, 0.85) 145%);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  padding: 26px 26px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}
.hunt-score-top { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hunt-score-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--purple-600);
}
.hunt-score-value {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(40px, 9vw, 56px);
  line-height: 1;
  color: var(--ink-900);
}
.hunt-score-pts { font-size: 0.38em; font-weight: 700; letter-spacing: 0.08em; vertical-align: middle; color: var(--gold-700); }
.hunt-score-max { font-size: 12.5px; color: var(--text-muted); }

.hunt-status-pill {
  display: inline-flex;
  align-items: center;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: var(--purple-600);
  color: var(--white);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hunt-progress-track {
  width: 100%;
  height: 10px;
  border-radius: var(--radius-full);
  background: rgba(14, 42, 32, 0.12);
  overflow: hidden;
}
.hunt-progress-fill {
  height: 100%;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, var(--purple-500) 0%, var(--gold-500) 100%);
  transition: width 0.6s var(--ease-editorial);
}
.hunt-score-completed { font-size: 12.5px; font-weight: 600; color: var(--text-muted); }

.hunt-celebrate {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  white-space: nowrap;
  background: var(--purple-800);
  color: var(--gold-300);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 13.5px;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-card);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease-editorial), transform 0.4s var(--ease-editorial);
}
.hunt-celebrate.is-showing { opacity: 1; transform: translate(-50%, 0); }

/* Section headings above the challenge / bonus grids */
.hunt-section-heading {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(22px, 4.4vw, 30px);
  color: var(--white);
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto 20px;
  padding: 0 var(--gutter);
}

/* Challenge card grid */
.hunt-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .hunt-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1020px) { .hunt-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.hunt-card { position: relative; }
.hunt-card-btn {
  position: relative;
  overflow: hidden;
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 22px 20px;
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.3s var(--ease-editorial), box-shadow 0.3s var(--ease-editorial), transform 0.2s var(--ease-editorial);
}
.hunt-card-btn:hover { transform: translateY(-2px); }
.hunt-card-btn:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 3px; }
.hunt-card-btn:active { transform: translateY(0) scale(0.99); }

.hunt-card-number {
  position: absolute;
  top: 16px;
  left: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-700);
  opacity: 0.8;
}
.hunt-card-check {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--border-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  background: var(--ivory-100);
  transition: background-color 0.3s var(--ease-editorial), border-color 0.3s var(--ease-editorial), color 0.3s var(--ease-editorial), transform 0.3s var(--ease-editorial);
}
.hunt-card-check svg { width: 14px; height: 14px; }

.hunt-card-icon { font-size: 26px; line-height: 1; margin-top: 14px; margin-bottom: 2px; }
.hunt-card-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 17px;
  color: var(--ink-900);
  padding-right: 30px;
}
.hunt-card-desc { font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.hunt-card-points {
  margin-top: 6px;
  align-self: flex-start;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--purple-600);
}

.hunt-card.is-complete .hunt-card-btn {
  border-color: var(--border-gold);
  background: linear-gradient(150deg, rgba(253, 250, 244, 0.95) 0%, rgba(247, 236, 212, 0.92) 160%);
  box-shadow: var(--shadow-soft);
}
.hunt-card.is-complete .hunt-card-check {
  background: var(--gold-500);
  border-color: var(--gold-600);
  color: var(--white);
  transform: scale(1.06);
}
.hunt-card.is-complete .hunt-card-points { color: var(--gold-700); }
.hunt-card.is-complete .hunt-card-title,
.hunt-card.is-complete .hunt-card-desc { opacity: 0.85; }

/* Points-earned flourish */
.hunt-card-earned {
  position: absolute;
  top: 14px;
  right: 46px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--gold-600);
  opacity: 0;
  pointer-events: none;
}
.hunt-card.is-earning .hunt-card-btn { animation: hunt-card-pulse 0.5s var(--ease-editorial); }
.hunt-card.is-earning .hunt-card-earned { animation: hunt-points-float 0.9s var(--ease-editorial); }

/* Bonus missions — more visually dramatic: deep rainforest-to-gold glow,
   crown eyebrow, luxe rather than cartoonish. */
.hunt-bonus-section { margin-top: 48px; }
.hunt-bonus-header { max-width: 520px; margin: 0 auto 20px; text-align: center; display: flex; flex-direction: column; gap: 6px; padding: 0 var(--gutter); }
.hunt-section-heading--bonus { margin-bottom: 4px; padding: 0; }
.hunt-bonus-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.hunt-bonus-eyebrow::before { content: "👑 "; }
.hunt-bonus-intro { font-size: 14px; color: var(--lilac-300); }

.hunt-bonus-grid {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}
@media (min-width: 640px) { .hunt-bonus-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; } }
@media (min-width: 1020px) { .hunt-bonus-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; } }

.hunt-card--bonus .hunt-card-btn {
  background: linear-gradient(155deg, var(--purple-900) 0%, var(--purple-700) 100%);
  border: 1px solid var(--border-gold);
  box-shadow: 0 0 0 1px rgba(212, 175, 100, 0.18), 0 0 32px -12px rgba(212, 175, 100, 0.45), var(--shadow-soft);
}
.hunt-card--bonus .hunt-card-title { color: var(--white); }
.hunt-card--bonus .hunt-card-desc { color: var(--lilac-300); }
.hunt-card--bonus .hunt-card-points { color: var(--gold-300); }
.hunt-card--bonus .hunt-card-check { background: rgba(255, 253, 248, 0.14); border-color: rgba(212, 175, 100, 0.5); }
.hunt-card--bonus.is-complete .hunt-card-btn {
  background: linear-gradient(155deg, var(--purple-700) 0%, var(--gold-700) 160%);
  box-shadow: 0 0 0 1px rgba(212, 175, 100, 0.35), 0 0 40px -10px rgba(212, 175, 100, 0.65), var(--shadow-soft);
}
.hunt-card--bonus.is-complete .hunt-card-check { background: var(--gold-500); border-color: var(--gold-300); color: var(--purple-900); }

.hunt-bonus-chip {
  position: absolute;
  top: 16px;
  left: 20px;
  font-size: 9.5px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--purple-900);
  background: var(--gold-500);
  padding: 3px 9px;
  border-radius: var(--radius-full);
}
.hunt-card--bonus .hunt-card-icon { margin-top: 20px; }

/* ---------- ACHIEVEMENTS ---------- */
.hunt-achievements { max-width: var(--container-max); margin: 56px auto 0; padding: 0 var(--gutter); }
.hunt-achievements .hunt-section-heading { padding: 0; margin-bottom: 18px; }

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .achievements-grid { grid-template-columns: repeat(5, 1fr); gap: 14px; } }

.achievement-card {
  background: rgba(255, 253, 248, 0.9);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 5px;
  transition: transform 0.25s var(--ease-editorial), box-shadow 0.25s var(--ease-editorial);
}
.achievement-card.is-locked { opacity: 0.5; filter: grayscale(0.75); }
.achievement-card.is-unlocked {
  opacity: 1;
  filter: none;
  border-color: var(--border-gold);
  background: linear-gradient(150deg, rgba(253, 250, 244, 0.95) 0%, rgba(247, 236, 212, 0.92) 145%);
  box-shadow: 0 0 0 1px rgba(212, 175, 100, 0.35), 0 10px 26px -14px rgba(212, 175, 100, 0.55), var(--shadow-soft);
}
.achievement-icon { font-size: 28px; line-height: 1; }
.achievement-name { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-900); }
.achievement-desc { font-size: 10.5px; line-height: 1.35; color: var(--text-muted); }
.achievement-card.is-unlocked .achievement-name { color: var(--gold-700); }

/* Proof / Shared Trip Album tie-in */
.hunt-memories {
  max-width: 520px;
  margin: 48px auto 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 0 var(--gutter);
}
.hunt-memories-headline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(20px, 4vw, 24px);
  color: var(--white);
}
.hunt-memories-copy { font-size: 14px; line-height: 1.6; color: var(--lilac-300); }
.hunt-memories-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius-full);
  background: var(--purple-600);
  color: var(--white);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  box-shadow: var(--shadow-card);
  transition: background-color 0.3s var(--ease-editorial);
}
.hunt-memories-cta:hover { background: var(--purple-500); }
.hunt-memories-cta:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 3px; }

/* Reset — deliberately small and muted so it can't be tapped by accident */
.hunt-reset-row { max-width: 460px; margin: 40px auto 0; text-align: center; padding: 0 var(--gutter); }
.hunt-reset-link {
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  color: rgba(226, 236, 221, 0.65);
  text-decoration: underline;
  text-underline-offset: 3px;
  padding: 6px 10px;
}
.hunt-reset-link:hover { color: var(--white); }
.hunt-reset-link:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 2px; }

.hunt-reset-confirm {
  margin-top: 12px;
  padding: 18px;
  background: rgba(255, 253, 248, 0.94);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hunt-reset-confirm[hidden] { display: none; }
.hunt-reset-confirm-title { font-family: var(--font-display); font-size: 15.5px; color: var(--ink-900); }
.hunt-reset-confirm-body { font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.hunt-reset-confirm-actions { margin-top: 8px; display: flex; justify-content: center; gap: 10px; }
.hunt-reset-cancel,
.hunt-reset-confirm-btn {
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 0.3s var(--ease-editorial), color 0.3s var(--ease-editorial);
}
.hunt-reset-cancel {
  background: var(--ivory-100);
  border: 1px solid var(--border-soft);
  color: var(--text-primary);
}
.hunt-reset-cancel:hover { background: var(--lilac-200); }
.hunt-reset-confirm-btn {
  background: var(--danger);
  border: 1px solid var(--danger);
  color: var(--white);
}
.hunt-reset-confirm-btn:hover { background: var(--danger-dark); }
.hunt-reset-cancel:focus-visible,
.hunt-reset-confirm-btn:focus-visible { outline: 2px solid var(--yellow-500); outline-offset: 2px; }

/* ---------- TOAST / ACHIEVEMENT UNLOCK ---------- */
.toast-container {
  position: fixed;
  top: max(18px, env(safe-area-inset-top));
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 60;
  pointer-events: none;
  padding: 0 16px;
}
.toast {
  display: flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(120deg, var(--purple-800) 0%, var(--purple-600) 100%);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  font-size: 13px;
  font-weight: 500;
  max-width: 420px;
  opacity: 0;
  transform: translateY(-14px) scale(0.96);
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.toast.is-visible { opacity: 1; transform: translateY(0) scale(1); }
.toast-icon { font-size: 19px; }
.toast-copy { display: flex; flex-direction: column; line-height: 1.25; }
.toast-eyebrow { font-size: 9.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-300); }
.toast-name { font-family: var(--font-display); font-size: 13.5px; font-weight: 500; }

/* Keyframes */
@keyframes hunt-card-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.025); }
  100% { transform: scale(1); }
}
@keyframes hunt-points-float {
  0% { opacity: 0; transform: translateY(6px); }
  30% { opacity: 1; transform: translateY(-2px); }
  100% { opacity: 0; transform: translateY(-26px); }
}
