/* ─────────────────────────────────────────────────
   PALETTE — SummerLoo brand colours from logo
   ─────────────────────────────────────────────────
   LAYOUT TOKENS — tweak these to adjust spacing/scale
   ───────────────────────────────────────────────── */
:root {
  /* Spacing scale */
  --space-xs:  4px;
  --space-sm:  8px;
  --space-md:  16px;
  --space-lg:  24px;
  --space-xl:  40px;

  /* Quiz */
  --quiz-max:  720px;   /* max-width of quiz card */

  /* Results layout */
  --rh-h:      56px;    /* results header height */
  --map-pct:   52%;     /* map pane width */

  /* Base */
  --cream: #faf7f2;
  --parch: #f2ede3;
  --paper: rgba(250, 247, 242, 0.82);
  --paper-strong: rgba(250, 247, 242, 0.96);

  /* Ink */
  --ink: #1e1a14;
  --ink-lt: #3a3228;
  --ink-faint: #7a6e5e;

  /* ── BRAND COLOURS — direct from logo SVG ── */
  --brand-green:  #30a773;
  --brand-blue:   #0169b3;
  --brand-yellow: #f6d326;
  --brand-black:  #231f20;

  /* Semantic colour system mapped to brand */
  --rose:         #e8a0a8;   /* kept for soft accents */
  --rose-deep:    #30a773;   /* → brand green for active/accent */
  --sky:          #0169b3;   /* → brand blue */
  --sky-lt:       #4d96c9;
  --sky-deep:     #004e86;
  --mint:         #30a773;   /* → brand green */
  --mint-deep:    #227852;
  --peach:        #f0b98a;
  --peach-deep:   #c07040;
  --lavender:     #c0b0d8;
  --lavender-deep:#6a5090;
  --butter:       #f6d326;   /* → brand yellow */
  --butter-deep:  #c8aa10;

  /* Semantic aliases */
  --accent:     var(--brand-green);
  --accent-bg:  rgba(36, 156, 108, 0.12);
  --sage:       var(--mint-deep);

  /* Lines */
  --line:        rgba(30, 26, 20, 0.12);
  --line-strong: rgba(30, 26, 20, 0.22);

  /* Focus */
  --focus-ring: rgba(1, 105, 179, 0.35);
}

/* ─────────────────────────────────────────────────
   HTML / BODY
   ───────────────────────────────────────────────── */
html[data-skin="summerloo"] {
  color: var(--ink);
  background:
    radial-gradient(ellipse at 10% 0%,   rgba(168, 196, 224, 0.22), transparent 38rem),
    radial-gradient(ellipse at 90% 5%,   rgba(232, 160, 168, 0.18), transparent 32rem),
    radial-gradient(ellipse at 50% 100%, rgba(160, 203, 184, 0.16), transparent 40rem),
    linear-gradient(160deg, var(--cream) 0%, var(--parch) 100%);
}

/* Quiz screens get a warmer, livelier summer wash */
.sc:not(#sr) {
  background:
    radial-gradient(ellipse at 18% 12%, rgba(246, 211, 38, 0.16), transparent 30rem),
    radial-gradient(ellipse at 85% 8%,  rgba(1, 105, 179, 0.10),  transparent 28rem),
    radial-gradient(ellipse at 70% 95%, rgba(36, 156, 108, 0.12), transparent 34rem),
    linear-gradient(165deg, #fdf6ec 0%, #f7ede0 100%);
}

body {
  color: var(--ink);
  /* DM Sans as default — overridden per-element where Lora or Caveat is needed */
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  letter-spacing: -0.01em;
}

button, input, select, textarea { font: inherit; }
button { color: inherit; }

button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--focus-ring);
  outline-offset: 3px;
}

/* ─────────────────────────────────────────────────
   WATERCOLOUR BLOBS
   ───────────────────────────────────────────────── */
.blobs svg,
.blobs .blob {
  mix-blend-mode: multiply;
  opacity: 0.85;
}

/* ─────────────────────────────────────────────────
   LOGO + MASTHEAD
   ───────────────────────────────────────────────── */

/* ── RESULTS HEADER logo (wordmark crossfade) ── */
.rh-brand {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  min-width: 0;
}

.rh-page-title {
  font-family: "Lora", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  white-space: nowrap;
  padding-left: 14px;
  border-left: 1.5px solid var(--line-strong);
  margin: 0;
}
@media (max-width: 880px) {
  .rh-page-title { display: none; }
}

.rh-logo-text {
  position: relative;
  width: 124px;
  height: 30px;
  flex-shrink: 0;
}

.rh-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  opacity: 0;
}
.rh-logo-img.on { opacity: 1; }

/* ── QUIZ MASTHEAD logo — prominent wordmark ── */
.mast {
  text-align: center;
  padding-bottom: 4px;
  color: var(--ink);
}

.mast-logo {
  position: relative;
  width: min(78vw, 340px);
  aspect-ratio: 235 / 56;
  margin: 0 auto;
}

.mast-logo-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}
.mast-logo-img.on { opacity: 1; }

/* ─────────────────────────────────────────────────
   CARD SURFACES
   ───────────────────────────────────────────────── */
.qcard,
.ecard,
.notice,
.wcs,
.parts,
.dbar,
.asheet,
#token-banner {
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 2px 3px 0 rgba(30, 26, 20, 0.10);
}

.qcard {
  border-radius: 24px;
  background: #ffffff;
  border: 1px solid rgba(30, 26, 20, 0.08);
  box-shadow: 0 12px 40px rgba(30, 26, 20, 0.10);
}

/* in-card progress bar (top of card) */
.qprog {
  width: 100%;
  height: 6px;
  border-radius: 999px;
  background: rgba(30, 26, 20, 0.08);
  overflow: hidden;
  margin-bottom: 20px;
}
.qprog-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand-green), var(--brand-blue));
  transition: width 450ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* ─────────────────────────────────────────────────
   QUIZ TYPOGRAPHY
   ───────────────────────────────────────────────── */

/* Eyebrow / kicker / hints — brand green */
.eyebrow, .kicker, .field-hint {
  color: var(--brand-green);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* Headings — bold sans */
.qcard h1,
.qcard h2,
.sh,
.etitle,
.asheet h3,
.wcs-title {
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
}

/* Quiz question headings use brand blue (NYC-style) */
.qcard h1,
.qcard h2 {
  color: var(--brand-blue);
  font-size: clamp(1.5rem, 4.5vw, 2.1rem);
  line-height: 1.05;
}

/* Body paragraphs — Lora serif (non-italic) */
.qcard p,
.intro,
.empty-note {
  color: var(--ink-lt);
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

/* Age number — brand green */
.age-readout {
  color: var(--brand-green);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(2.4rem, 9vw, 3.6rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.06em;
}

.age-readout span { color: var(--brand-green); }
.age-readout .age-unit { color: var(--ink-faint); font-size: 0.5em; }

/* ─────────────────────────────────────────────────
   SLIDER
   ───────────────────────────────────────────────── */
input[type="range"] { accent-color: var(--brand-green); }

#age-sl {
  background: linear-gradient(to right, var(--brand-green) 21.43%, rgba(30,26,20,0.1) 21.43%);
  border-radius: 999px;
}

#age-sl::-webkit-slider-thumb {
  background: var(--brand-green);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(36, 156, 108, 0.4);
}

#age-sl::-moz-range-thumb {
  background: var(--brand-green);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 8px rgba(36, 156, 108, 0.4);
}

/* ─────────────────────────────────────────────────
   BUTTONS — shared
   ───────────────────────────────────────────────── */
.ibtn, .cbtn, .bbk, .bnx,
.vtbtn, .rh-add, .emap,
.fab, .bexp, .bcan, .bpub,
.token-save, .hood-pick {
  border: 1px solid rgba(30, 26, 20, 0.1);
  border-radius: 999px;
  box-shadow: 0 2px 8px rgba(30, 26, 20, 0.06);
  cursor: pointer;
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 600;
  transition:
    background-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 200ms cubic-bezier(0.22, 1, 0.36, 1),
    color 200ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* Interest / choice / hood buttons — unselected */
.ibtn, .cbtn, .hood-pick {
  color: var(--ink-lt);
  background: #ffffff;
}

.ibtn small, .cbtn small {
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 400;
  letter-spacing: 0.01em;
}

/* Hover lift */
.ibtn:hover, .cbtn:hover, .hood-pick:hover,
.emap:hover, .bbk:hover, .bnx:hover,
.rh-add:hover, .fab:hover, .bexp:hover,
.bcan:hover, .bpub:hover, .token-save:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(30, 26, 20, 0.12);
}

/* Selected state — brand blue fill (NYC-style) */
.ibtn.on, .cbtn.on, .hood-pick.on {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(1, 105, 179, 0.3);
}

.ibtn.on small, .cbtn.on small {
  color: rgba(255, 255, 255, 0.85);
}

/* Back / cancel */
.bbk, .bcan {
  color: var(--ink-lt);
  background: rgba(250, 247, 242, 0.6);
}

/* Primary action — brand blue */
.bnx, .bpub, .token-save {
  color: #fff;
  background: var(--brand-blue);
  border-color: var(--brand-blue);
}

.bnx[disabled] {
  color: rgba(30, 26, 20, 0.32);
  background: rgba(250, 247, 242, 0.45);
  border-color: rgba(30, 26, 20, 0.12);
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

/* ─────────────────────────────────────────────────
   NAV ROW
   ───────────────────────────────────────────────── */
.nav {
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────
   RESULTS HEADER
   ───────────────────────────────────────────────── */
.rh {
  color: var(--ink);
  background: rgba(242, 237, 227, 0.92);
  border-bottom: 1px solid var(--line-strong);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.5) inset;
}

/* + add event button — mint green */
.rh-add, .fab, .bexp {
  color: #fff;
  background: var(--mint-deep);
  border-color: rgba(30, 90, 60, 0.35);
}

.fab {
  font-size: 2rem;
  line-height: 1;
  box-shadow: 3px 4px 0 rgba(30, 26, 20, 0.18);
}

/* ─────────────────────────────────────────────────
   WORLD CUP BANNER
   ───────────────────────────────────────────────── */
.wcs {
  background:
    linear-gradient(120deg, rgba(74,122,170,0.92), rgba(50,90,130,0.88)),
    radial-gradient(circle at 80% 20%, rgba(168,196,224,0.4), transparent 14rem);
  color: #fff;
  border-color: rgba(168, 196, 224, 0.3);
}

.wcs-title {
  color: #fff;
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.6rem, 5vw, 2.6rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.wcs p {
  color: rgba(255, 255, 255, 0.82);
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  line-height: 1.6;
}

.wcs .tag { box-shadow: none; }

/* ─────────────────────────────────────────────────
   NOTICES
   ───────────────────────────────────────────────── */
.notice {
  color: var(--ink-lt);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  line-height: 1.6;
  border-left: 3px solid var(--sky);
  background: rgba(168, 196, 224, 0.08);
}

/* ─────────────────────────────────────────────────
   SECTION HEADINGS
   ───────────────────────────────────────────────── */
.sh {
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.sh::before {
  background: var(--rose-deep);
  border-radius: 999px;
  box-shadow: 1px 2px 0 rgba(196, 94, 110, 0.3);
}

/* ─────────────────────────────────────────────────
   EVENT CARDS
   ───────────────────────────────────────────────── */
.ecard {
  border-radius: 20px 22px 18px 21px;
  background:
    linear-gradient(150deg, rgba(250,247,242,0.94), rgba(242,237,228,0.88));
}

/* tape corner accent — pastel sky */
.ecard:nth-of-type(3n)::after {
  background: rgba(168, 196, 224, 0.7);
  border: 1px solid rgba(74, 122, 170, 0.22);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.4) inset;
  transform: rotate(-1.5deg);
}

/* Card title — DM Sans */
.etitle {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

/* Meta info (date, location, organiser) — Caveat */
.etags, .emeta, .eorg,
.lp-meta {
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 500;
}

.emeta, .eorg {
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Description — Lora serif (non-italic) */
.edesc, .lp-desc {
  color: var(--ink-lt);
  font-family: "Lora", Georgia, serif;
  font-weight: 400;
  font-style: normal;
  line-height: 1.65;
}

.efoot {
  border-top: 1px dashed rgba(30, 26, 20, 0.18);
}

/* Map link — peach tint */
.emap {
  color: var(--peach-deep);
  background: rgba(240, 185, 138, 0.18);
  border-color: rgba(240, 185, 138, 0.55);
  font-size: 0.92rem;
}

/* ─────────────────────────────────────────────────
   TAGS
   ───────────────────────────────────────────────── */
.tag, .lp-tag, .ptag {
  border-radius: 999px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
  box-shadow: none;
}

/* World Cup — ink */
.twc {
  color: var(--cream);
  background: var(--ink);
}

/* Food / Market — mint */
.tf {
  color: #185339;
  background: #d5ede3;
  border: 1px solid rgba(24, 83, 57, 0.18);
}

/* Music — lavender */
.tm {
  color: #4a3880;
  background: #e0d8f0;
  border: 1px solid rgba(74, 56, 128, 0.18);
}

/* Arts — rose */
.ta {
  color: #8a2840;
  background: #f5d8e0;
  border: 1px solid rgba(138, 40, 64, 0.18);
}

/* Family — sky */
.tfa {
  color: #285a88;
  background: #cce0f5;
  border: 1px solid rgba(40, 90, 136, 0.18);
}

/* Free — butter */
.tfr {
  color: #7a5808;
  background: #f5e8b8;
  border: 1px solid rgba(122, 88, 8, 0.18);
}

/* Sport — peach */
.ts {
  color: #883820;
  background: #f5d8c0;
  border: 1px solid rgba(136, 56, 32, 0.18);
}

/* ─────────────────────────────────────────────────
   MAP
   ───────────────────────────────────────────────── */
#map-view {
  background: var(--parch);
}

#map-el {
  border: 1px solid var(--line-strong);
  box-shadow: 0 2px 12px rgba(30, 26, 20, 0.10);
  width: 100%;
  height: 100%;
  display: block;
}

#token-banner {
  border-radius: 0;
  background:
    linear-gradient(145deg, rgba(250,247,242,0.97), rgba(240,237,228,0.95));
}

#token-banner p {
  color: var(--ink-lt);
  font-family: "Lora", Georgia, serif;
  font-size: 0.95rem;
  line-height: 1.6;
}

#token-banner strong { color: var(--rose-deep); }

/* Mapbox popup */
.mapboxgl-popup-content {
  color: var(--ink);
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  border-radius: 16px;
  box-shadow: 2px 3px 0 rgba(30, 26, 20, 0.12);
  padding: 0 !important;
}

.mapboxgl-popup-tip {
  border-top-color: var(--paper-strong) !important;
  border-bottom-color: var(--paper-strong) !important;
}

.lp-title {
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
}

.lp-meta {
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

/* ─────────────────────────────────────────────────
   ADD EVENT OVERLAY
   ───────────────────────────────────────────────── */
.ov {
  background:
    radial-gradient(circle at 20% 18%, rgba(168, 196, 224, 0.2), transparent 20rem),
    rgba(30, 26, 20, 0.48);
  backdrop-filter: blur(9px);
}

.asheet {
  border-radius: 20px;
  background:
    linear-gradient(145deg, rgba(250,247,242,0.98), rgba(242,237,228,0.96));
  box-shadow: 0 24px 60px rgba(30,26,20,0.22), 0 2px 8px rgba(30,26,20,0.08);
}

.asheet h3 {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

label {
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input:not([type="range"]),
select,
textarea {
  color: var(--ink);
  background: rgba(250, 247, 242, 0.85);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  box-shadow: 1px 2px 0 rgba(30, 26, 20, 0.08);
}

input::placeholder,
textarea::placeholder {
  color: rgba(122, 110, 94, 0.65);
}

/* ─────────────────────────────────────────────────
   PARTNERS + DATA BAR
   ───────────────────────────────────────────────── */
.parts { color: var(--ink-lt); }
.parts-lbl { color: var(--rose-deep); font-family: "Inter", system-ui, sans-serif; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }

.ptag {
  color: var(--ink-lt);
  background: rgba(250, 247, 242, 0.7);
  border: 1px solid var(--line);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
}

.dbar {
  color: var(--ink-lt);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.82rem;
  background: rgba(168, 196, 224, 0.08);
  border-top: 1px solid var(--line);
}

.dbar strong {
  color: var(--sky-deep);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
}

/* ─────────────────────────────────────────────────
   PROGRESS BAR
   ───────────────────────────────────────────────── */
#prog { background: rgba(30, 26, 20, 0.07); }

#pf {
  background: linear-gradient(90deg, var(--rose-deep), var(--sky-deep));
  box-shadow: 0 0 10px rgba(196, 94, 110, 0.25);
}

/* ─────────────────────────────────────────────────
   SELECTION
   ───────────────────────────────────────────────── */
::selection {
  color: #fff;
  background: var(--rose-deep);
}

/* ═══════════════════════════════════════════════════
   INTRO SCREEN
   ═══════════════════════════════════════════════════ */
#intro {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  padding: 40px 20px 48px;
  cursor: pointer;
  overflow: hidden;
  background: var(--cream);
  user-select: none;
}

/* ── LOGO ── */
#intro-logo {
  position: relative;
  z-index: 10;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  animation: logodrop 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.2s both;
}

@keyframes logodrop {
  0%   { transform: translateY(-60px) scale(0.8); opacity: 0; }
  100% { transform: translateY(0)     scale(1);   opacity: 1; }
}

/* Stage holds both logo frames at the exact same position so
   swapping between them reads as the sun face animating in place. */
#intro-logo-stage {
  position: relative;
  width: min(82vw, 560px);
  aspect-ratio: 235 / 56;
}

.intro-logo-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
}

.intro-logo-frame.on {
  opacity: 1;
}

#intro-sub {
  font-family: "Inter", system-ui, sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  font-weight: 500;
  color: #7a6e5e;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 1.25rem;
  animation:
    subfadein 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.75s both,
    subbob 3s ease-in-out 0.75s infinite;
}

/* Opacity-only entrance — kept separate from subbob so the two
   animations don't both try to drive `transform` at once. */
@keyframes subfadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes subbob {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-5px); }
}

@keyframes fadein {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Tap prompt — bouncing */
#intro-tap {
  position: relative;
  z-index: 10;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(122,110,94,0.7);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-align: center;
  animation: fadein 0.6s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both;
}

#intro-arrow {
  width: 28px;
  height: 28px;
  animation: bouncearrow 1.5s ease-in-out infinite;
}

@keyframes bouncearrow {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(8px); }
}

/* ── EXIT TRANSITION ── */
#intro.exiting {
  animation: introexit 0.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes introexit {
  0%   { opacity: 1; transform: scale(1); }
  40%  { opacity: 1; transform: scale(1.04); }
  100% { opacity: 0; transform: scale(1.12); pointer-events: none; }
}

/* ── SEASON BADGE ── */
#intro-badge {
  position: absolute;
  top: 6%;
  left: 6%;
  z-index: 10;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #7a6e5e;
  border: 1.5px solid rgba(122,110,94,0.3);
  border-radius: 999px;
  padding: 4px 14px;
  background: rgba(250,247,242,0.7);
  animation: fadein 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.9s both;
  backdrop-filter: blur(4px);
}

/* ── CARD HIGHLIGHT (map pin → list scroll) ─────── */
@keyframes card-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(196, 94, 110, 0.4); }
  50%  { box-shadow: 0 0 0 8px rgba(196, 94, 110, 0.1); }
  100% { box-shadow: 0 0 0 0 rgba(196, 94, 110, 0); }
}

.card-highlight {
  animation: card-pulse 1.5s ease forwards;
  border-color: rgba(196, 94, 110, 0.5) !important;
}

/* ── VENUE MODAL — centered overlay, blurred backdrop ── */
.venue-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(30, 26, 20, 0.32);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.venue-modal-overlay.open {
  display: flex;
  animation: venue-modal-fade 0.18s ease;
}
@keyframes venue-modal-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.venue-modal {
  background: #ffffff;
  border-radius: 20px;
  width: 100%;
  max-width: 540px;
  max-height: 86vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 70px rgba(30, 26, 20, 0.34);
  animation: venue-modal-pop 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}
@keyframes venue-modal-pop {
  from { transform: scale(0.96) translateY(8px); opacity: 0.6; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.vp {
  display: flex;
  flex-direction: column;
  min-height: 0;
  font-family: "Inter", system-ui, sans-serif;
}
.vp-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 24px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.vp-header-text { min-width: 0; }
.vp-venue-name {
  font-family: "Lora", Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  line-height: 1.18;
}
.vp-count {
  display: inline-block;
  margin-top: 6px;
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-green);
}
.vp-close {
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: none;
  background: var(--parch);
  color: var(--ink-faint);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.vp-close:hover { background: var(--line); color: var(--ink); }
.vp-events {
  overflow-y: auto;
  padding: 8px 24px 22px;
}
.vp-event {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.vp-event:last-child { border-bottom: none; }
.vp-event-title {
  font-family: "Lora", Georgia, serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  margin-bottom: 5px;
}
.vp-event-time {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: 8px;
}
.vp-event-desc {
  font-size: 0.88rem;
  color: var(--ink-lt);
  line-height: 1.6;
  margin: 0 0 12px;
}
.vp-event-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--brand-blue);
  text-decoration: none;
  background: var(--accent-bg);
  padding: 8px 16px;
  border-radius: 10px;
  border: 1px solid rgba(1, 105, 179, 0.18);
  transition: background 0.15s;
}
.vp-event-link:hover { background: rgba(1, 105, 179, 0.16); }

@media (max-width: 600px) {
  .venue-modal { max-height: 90vh; border-radius: 16px; }
  .vp-venue-name { font-size: 1.3rem; }
  .vp-header { padding: 18px 18px 14px; }
  .vp-events { padding: 6px 18px 18px; }
}

/* ── VENUE GROUP (list pane) ────────────────────────── */
.venue-group {
  border: 1.5px solid var(--line-strong);
  border-radius: 16px;
  background: #ffffff;
  overflow: hidden;
  margin-bottom: 16px;
  box-shadow: 0 1px 6px rgba(30, 26, 20, 0.05);
}
.venue-group-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 13px 16px;
  background: var(--accent-bg);
  border-bottom: 1.5px solid var(--line-strong);
}
.venue-group-name {
  font-family: "Lora", Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: var(--brand-blue);
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.venue-group-count {
  flex-shrink: 0;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--brand-green);
  white-space: nowrap;
  background: #ffffff;
  padding: 3px 9px;
  border-radius: 999px;
  border: 1px solid var(--line);
}
.venue-group-cards {
  display: flex;
  flex-direction: column;
  padding: 8px;
  gap: 8px;
}
/* Cards inside a venue group: lighter, since the group frames them */
.venue-group-cards .ecard {
  margin-bottom: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
}

/* ── AGE SLIDER LABELS ──────────────────────────────── */
.age-labels {
  display: flex;
  justify-content: space-between;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  margin-top: 4px;
}

.age-unit {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--ink-faint);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  align-self: flex-end;
  margin-bottom: 0.2em;
}

/* ── MAP CONTROLS — match site aesthetic ────────────── */
.mapboxgl-ctrl-group {
  border-radius: 10px !important;
  box-shadow: 1px 2px 6px rgba(30,26,20,0.12) !important;
  border: 1px solid var(--line-strong) !important;
  overflow: hidden;
}

.mapboxgl-ctrl-group button {
  width: 32px !important;
  height: 32px !important;
}

/* ── SCREEN TRANSITION ──────────────────────────────── */
@keyframes screenin {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════════════
   QUIZ PERSONALITY — micro-interactions & polish
   ══════════════════════════════════════════════════ */

/* ── BUTTON PRESS — spring squish ──────────────────── */
.ibtn, .cbtn, .hood-pick, .bnx, .bbk, .bcan, .bpub,
.rh-add, .emap, .bexp, .fab, .token-save, .adm-btn {
  transition:
    transform 120ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 120ms ease,
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease;
}

/* Scale down on press, spring back on release */
.ibtn:active, .hood-pick:active {
  transform: scale(0.93) !important;
  box-shadow: 0 1px 0 rgba(30,26,20,0.15) !important;
}

.cbtn:active {
  transform: scale(0.95) !important;
  box-shadow: 0 1px 0 rgba(30,26,20,0.15) !important;
}

.bnx:active, .bpub:active, .token-save:active {
  transform: scale(0.96) translateY(1px) !important;
  box-shadow: 0 1px 0 rgba(30,26,20,0.2) !important;
}

.bbk:active, .bcan:active {
  transform: scale(0.97) !important;
}

/* ── SELECTED STATE — satisfying pop ───────────────── */
@keyframes btnpop {
  0%   { transform: scale(0.92); }
  60%  { transform: scale(1.06); }
  100% { transform: scale(1); }
}

.ibtn.on, .cbtn.on, .hood-pick.on {
  animation: btnpop 0.25s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── HOVER STATE — subtle lift ──────────────────────── */
.ibtn:hover:not(.on), .hood-pick:hover:not(.on) {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 4px 12px rgba(30,26,20,0.10);
}

.cbtn:hover:not(.on) {
  transform: translateY(-3px) scale(1.01);
  box-shadow: 0 6px 16px rgba(30,26,20,0.10);
}

/* ── CONTINUE BUTTON — pulse when ready ──────────────── */
@keyframes readypulse {
  0%, 100% { box-shadow: 0 4px 12px rgba(1,105,179,0.25), 0 0 0 0 rgba(1,105,179,0); }
  50%       { box-shadow: 0 4px 12px rgba(1,105,179,0.25), 0 0 0 6px rgba(1,105,179,0.12); }
}

.bnx {
  animation: readypulse 3s ease-in-out infinite;
}
.bnx:hover {
  animation: none;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 18px rgba(1,105,179,0.35);
}

/* ── CARD ENTRANCE ──────────────────────────────────── */
@keyframes cardin {
  from { opacity: 0; transform: translateY(16px) scale(0.98); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.qcard {
  animation: cardin 0.4s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── INTEREST BUTTONS — staggered entrance ──────────── */
.ibtn:nth-child(1)  { animation-delay: 0.04s; }
.ibtn:nth-child(2)  { animation-delay: 0.08s; }
.ibtn:nth-child(3)  { animation-delay: 0.12s; }
.ibtn:nth-child(4)  { animation-delay: 0.16s; }
.ibtn:nth-child(5)  { animation-delay: 0.20s; }
.ibtn:nth-child(6)  { animation-delay: 0.24s; }
.ibtn:nth-child(7)  { animation-delay: 0.28s; }
.ibtn:nth-child(8)  { animation-delay: 0.32s; }
.ibtn:nth-child(9)  { animation-delay: 0.36s; }
.ibtn:nth-child(10) { animation-delay: 0.40s; }
.ibtn:nth-child(11) { animation-delay: 0.44s; }

@keyframes ibtnin {
  from { opacity: 0; transform: translateY(10px) scale(0.95); }
  to   { opacity: 1; transform: translateY(0)    scale(1); }
}

.ibtn {
  animation: ibtnin 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* ── PROGRESS BAR — smooth rainbow gradient ─────────── */
#pf {
  background: linear-gradient(90deg, var(--rose-deep), var(--sky-deep), var(--mint-deep));
  background-size: 300% 100%;
  animation: progshift 3s ease infinite;
  box-shadow: 0 0 8px rgba(196,94,110,0.3);
  transition: width 300ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes progshift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── CBTN SELECTED — colour by yes/no ───────────────── */
.cbtn[data-sport-yn="yes"].on {
  background: var(--mint-deep);
  border-color: var(--mint-deep);
}

.cbtn[data-sport-yn="no"].on {
  background: var(--sky-deep);
  border-color: var(--sky-deep);
}

/* ── SLIDER THUMB — snappy ───────────────────────────── */
#age-sl::-webkit-slider-thumb {
  transition: transform 150ms cubic-bezier(0.34, 1.56, 0.64, 1);
}
#age-sl:active::-webkit-slider-thumb {
  transform: scale(1.25);
}

/* ── HOOD QUICK PICKS — selected glow ───────────────── */
.hood-pick.on {
  box-shadow: 0 0 0 3px rgba(196,94,110,0.2), 2px 3px 0 rgba(30,26,20,0.1);
}

/* ── EYEBROW — animated underline ───────────────────── */
.eyebrow {
  position: relative;
}

/* ── EVENT REDIRECT LINK ─────────────────────────────── */
.efoot {
  align-items: center;
}

.efoot-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.elink {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sky-deep);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(74, 122, 170, 0.25);
  background: rgba(74, 122, 170, 0.06);
  transition: all 0.15s ease;
  white-space: nowrap;
}

.elink:hover {
  background: rgba(74, 122, 170, 0.12);
  border-color: rgba(74, 122, 170, 0.45);
  transform: translateY(-1px);
}

.elink:active {
  transform: scale(0.96);
}

/* ══════════════════════════════════════════════════
   FILTER BAR & SEARCH
   ══════════════════════════════════════════════════ */

.rh-top {
  border-bottom: 1px solid var(--line);
}

.rh-search {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  background: rgba(250,247,242,0.9);
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  transition: border-color 0.15s, box-shadow 0.15s;
}

.rh-search:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(74,122,170,0.12);
}

.rh-search::placeholder { color: var(--ink-faint); }

.rh-suggestions {
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(30,26,20,0.12);
}

.rh-suggestion {
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  transition: background 0.1s;
}

.rh-suggestion:hover {
  background: rgba(168,196,224,0.12);
}

.rh-suggestion strong {
  color: var(--sky-deep);
}

/* Filter pills */
.fpill {
  background: rgba(250,247,242,0.8);
  border: 1.5px solid var(--line-strong);
  color: var(--ink-lt);
  font-family: "Inter", system-ui, sans-serif;
  letter-spacing: 0.01em;
  box-shadow: 1px 2px 0 rgba(30,26,20,0.08);
}

.fpill:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 1px 3px 0 rgba(30,26,20,0.12);
}

.fpill.on {
  border-color: transparent;
  color: white;
  box-shadow: 1px 2px 0 rgba(30,26,20,0.15);
}

/* Category colours */
.fpill[data-cat="all"].on       { background: var(--ink); }
.fpill[data-cat="wc"].on        { background: #1a1208; }
.fpill[data-cat="music"].on     { background: var(--lavender-deep); }
.fpill[data-cat="food"].on      { background: var(--mint-deep); }
.fpill[data-cat="arts"].on      { background: var(--rose-deep); }
.fpill[data-cat="family"].on    { background: var(--sky-deep); }
.fpill[data-cat="sport"].on     { background: var(--peach-deep); }
.fpill[data-cat="community"].on { background: var(--butter-deep); }
.fpill[data-cat="free"].on      { background: #1d6747; }

/* Local spots layer toggle pills */
.fpill[data-layer].on {
  background: var(--sky-deep);
}

/* Filter row bottom separator */
.rh-filters {
  border-top: 1px solid var(--line);
}

/* ── ACTIVE FILTER COUNT BADGE ───────────────────── */
.filter-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--rose-deep);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  margin-left: 2px;
}

/* Filter divider between event cats and local spots */
.fpill-divider {
  width: 1px;
  height: 20px;
  background: var(--line-strong);
  margin: 0 4px;
  flex-shrink: 0;
  align-self: center;
}

/* ══════════════════════════════════════════════════
   FILTER DROPDOWN SYSTEM
   ══════════════════════════════════════════════════ */

.rh-fbtn {
  background: rgba(250,247,242,0.85);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  box-shadow: 1px 2px 0 rgba(30,26,20,0.08);
}

.rh-fbtn:hover {
  background: white;
  border-color: var(--ink);
  transform: translateY(-1px);
  box-shadow: 1px 3px 0 rgba(30,26,20,0.12);
}

.rh-fgroup.open .rh-fbtn {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.rh-fdrop {
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 12px 32px rgba(30,26,20,0.14), 0 2px 8px rgba(30,26,20,0.06);
}

.rh-fdrop-label {
  color: var(--rose-deep);
  font-family: "Inter", system-ui, sans-serif;
}

.rh-search {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  background: rgba(250,247,242,0.9);
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.15s;
}
.rh-search:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(74,122,170,0.1);
}
.rh-search::placeholder { color: var(--ink-faint); }

.rh-suggestions {
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 6px 20px rgba(30,26,20,0.1);
}

.rh-suggestion {
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
}
.rh-suggestion:hover { background: rgba(168,196,224,0.1); }
.rh-suggestion strong { color: var(--sky-deep); }

/* ══════════════════════════════════════════════════
   SUBMISSION TYPE TOGGLE
   ══════════════════════════════════════════════════ */
.sub-type-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.sub-type-btn {
  flex: 1;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid var(--line-strong);
  background: rgba(250,247,242,0.7);
  color: var(--ink-lt);
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}

.sub-type-btn:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.sub-type-btn.on {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.sub-type-btn:active {
  transform: scale(0.96);
}

/* ══════════════════════════════════════════════════
   FILTER SIDE PANEL — SKIN
   ══════════════════════════════════════════════════ */

.filter-panel {
  background: var(--cream);
  border-left: 1px solid var(--line-strong);
  box-shadow: -8px 0 40px rgba(30,26,20,0.15);
}

.fp-header {
  border-bottom: 1px solid var(--line);
}

.fp-title { color: var(--ink); }

.fp-close {
  background: var(--parch);
  border: 1px solid var(--line);
  color: var(--ink-faint);
}
.fp-close:hover { background: var(--ink); color: white; }

.fp-section-label { color: var(--rose-deep); }
.fp-section-hint { color: var(--ink-faint); }

/* Pills in panel */
.fpill {
  background: white;
  border: 1.5px solid var(--line-strong);
  color: var(--ink-lt);
  font-family: "Inter", system-ui, sans-serif;
  box-shadow: 1px 2px 0 rgba(30,26,20,0.06);
}
.fpill:hover {
  border-color: var(--ink);
  color: var(--ink);
  transform: translateY(-1px);
}
.fpill.on {
  border-color: transparent;
  color: white;
  box-shadow: 1px 2px 4px rgba(30,26,20,0.15);
}
.fpill[data-cat="all"].on       { background: var(--ink); }
.fpill[data-cat="wc"].on        { background: #1a3a6a; }
.fpill[data-cat="music"].on     { background: var(--lavender-deep); }
.fpill[data-cat="food"].on      { background: var(--mint-deep); }
.fpill[data-cat="arts"].on      { background: var(--rose-deep); }
.fpill[data-cat="family"].on    { background: var(--sky-deep); }
.fpill[data-cat="sport"].on     { background: var(--peach-deep); }
.fpill[data-cat="community"].on { background: var(--butter-deep); }
.fpill[data-cat="free"].on      { background: #1d6747; }
.fpill[data-layer].on           { background: var(--sky-deep); }

/* Footer */
.fp-clear {
  background: transparent;
  border: 1px solid var(--line-strong);
  color: var(--ink-faint);
  font-family: "Inter", system-ui, sans-serif;
}
.fp-clear:hover { border-color: var(--ink); color: var(--ink); }

.fp-done {
  background: var(--ink);
  color: var(--cream);
  border: none;
  font-family: "Inter", system-ui, sans-serif;
  box-shadow: 2px 3px 0 rgba(30,26,20,0.2);
}
.fp-done:hover { opacity: 0.88; transform: translateY(-1px); }

/* Filter toggle button */
.rh-filter-toggle {
  background: var(--parch);
  border: 1.5px solid var(--line-strong);
  color: var(--ink);
  font-family: "Inter", system-ui, sans-serif;
  box-shadow: 1px 2px 0 rgba(30,26,20,0.08);
}
.rh-filter-toggle:hover {
  background: white;
  border-color: var(--ink);
}
.rh-filter-toggle.active {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}
.filter-active-count {
  background: var(--rose-deep);
  color: white;
}

/* Brand sub */
.rh-brand-sub { color: var(--ink-faint); font-family: "Inter", system-ui, sans-serif; }

/* Search skin */
.rh-search {
  font-family: "Inter", system-ui, sans-serif;
  font-size: 0.85rem;
  color: var(--ink);
  background: white;
  border: 1.5px solid var(--line-strong);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.rh-search:focus {
  outline: none;
  border-color: var(--sky-deep);
  box-shadow: 0 0 0 3px rgba(74,122,170,0.1);
}
.rh-search::placeholder { color: var(--ink-faint); }

.rh-suggestions {
  background: var(--paper-strong);
  border: 1px solid var(--line-strong);
  box-shadow: 0 8px 24px rgba(30,26,20,0.12);
}
.rh-suggestion { color: var(--ink); font-family: "Inter", system-ui, sans-serif; }
.rh-suggestion:hover { background: rgba(168,196,224,0.1); }
.rh-suggestion strong { color: var(--sky-deep); }

/* Multi-link */
.link-input {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--line-strong);
}
.link-input:focus { outline: none; border-color: var(--sky-deep); }
.add-link-btn { color: var(--sky-deep); font-family: "Inter", system-ui, sans-serif; }
.add-link-btn:hover { text-decoration: underline; }

/* ── EDIT PREFERENCES BUTTON ─────────────────────── */
.rh-edit-prefs {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: "Inter", system-ui, sans-serif;
  cursor: pointer;
  white-space: nowrap;
  background: transparent;
  border: 1.5px solid transparent;
  color: var(--ink-faint);
  transition: all 0.15s ease;
}
.rh-edit-prefs:hover {
  background: var(--parch);
  border-color: var(--line-strong);
  color: var(--ink);
}
