/* Quest route finder: sketchbook trail */
.quest .tool__result-body { display: flex; flex-direction: column; gap: 0.75rem; }
.quest-trail { width: 100%; max-width: 360px; height: auto; display: block; }
.quest-trail__path {
  fill: none;
  stroke: var(--brand);
  stroke-width: 2.5;
  stroke-dasharray: 4 6;
  stroke-linecap: round;
}
.quest-trail__stop {
  fill: var(--surface);
  stroke: var(--brand);
  stroke-width: 2;
}
.quest-trail__stop--end { fill: var(--brand); }
.quest-trail text {
  font-size: 12px;
  font-weight: 700;
  text-anchor: middle;
  fill: var(--ink);
}
.quest-trail circle.quest-trail__stop--end + text { fill: var(--surface); }
.quest-stops {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: stop;
  display: grid;
  gap: 0.6rem;
}
.quest-stops li {
  counter-increment: stop;
  display: grid;
  grid-template-columns: 2rem 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  background: var(--surface);
}
.quest-stops li::before {
  content: counter(stop);
  grid-row: 1 / span 2;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  border: 2px solid var(--brand);
  color: var(--brand);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quest-stops__k {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}
.quest-stops a { color: var(--brand); font-weight: 600; }
.quest .field select { min-width: 9rem; width: 100%; }
@media (max-width: 480px) {
  .quest .field-row { grid-template-columns: 1fr; }
}

/* Affiliate box links: enough contrast on the tinted box background */
.aff-box a[rel~="sponsored"] { color: #135a82; }

/* Affiliate box: secondary, outline style so the main action stays primary */
.aff-box { background: transparent; box-shadow: none; border: 1px solid var(--border); }
.aff-box .btn,
.aff-box .btn--primary {
  background: transparent;
  color: #135a82;
  border: 1px solid #135a82;
  box-shadow: none;
}

/* City chips wrap onto several lines */
lg-groups .chips { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.home-more { margin-top: 0.75rem; }