.spot-page {
  padding: 2rem 0 4rem;
  max-width: 920px;
}

.spot-back {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
  color: var(--sky);
  text-decoration: none;
}

.spot-back:hover {
  text-decoration: underline;
}

.spot-back-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1rem;
}

.spot-back-row .spot-back {
  margin-bottom: 0;
}

.spot-prose p {
  margin: 0 0 0.85rem;
  line-height: 1.75;
  color: var(--ink);
}

.spot-prose p:last-child {
  margin-bottom: 0;
}

.spot-sources {
  padding-left: 1.1rem;
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.7;
  word-break: break-all;
}

.spot-sources a {
  color: var(--sky);
  text-decoration: none;
}

.spot-sources a:hover {
  text-decoration: underline;
}

.spot-hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 1.5rem;
  border: 1px solid var(--line);
}

.spot-hero img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.spot-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.spot-meta .day-tag {
  text-decoration: none;
}

.spot-title {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin: 0 0 1rem;
  line-height: 1.25;
}

.spot-section {
  margin-bottom: 1.75rem;
}

.spot-section h2 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--accent);
  margin: 0 0 0.65rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px dashed var(--line);
}

.spot-section p {
  margin: 0;
  color: var(--ink-muted);
  line-height: 1.75;
}

.spot-section ul {
  margin: 0.5rem 0 0;
  padding-left: 1.2rem;
  color: var(--ink-muted);
}

.spot-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 0.65rem;
  margin-top: 0.75rem;
}

.spot-gallery img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 10px;
  cursor: pointer;
  border: 1px solid var(--line);
}

.spots-index {
  padding-bottom: 3.5rem;
}

.timeline-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.75rem;
  padding: 0.85rem;
  background: rgba(196, 112, 58, 0.06);
  border: 1px solid rgba(196, 112, 58, 0.14);
  border-radius: 14px;
  position: sticky;
  top: 64px;
  z-index: 20;
  backdrop-filter: blur(8px);
}

.timeline-nav-pill {
  display: inline-block;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.8rem;
}

.timeline-nav-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.spot-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.timeline-day {
  position: relative;
  scroll-margin-top: 120px;
}

.timeline-day-head {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0.85rem;
  margin-bottom: 1rem;
  align-items: start;
}

.timeline-rail {
  position: relative;
  height: 100%;
  min-height: 2.5rem;
}

.timeline-rail::before {
  content: "";
  position: absolute;
  left: 11px;
  top: 22px;
  bottom: -2.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent-soft), transparent);
}

.timeline-day:last-child .timeline-rail::before {
  display: none;
}

.timeline-dot {
  display: block;
  width: 14px;
  height: 14px;
  margin: 6px auto 0;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(196, 112, 58, 0.18);
}

.timeline-day-tag {
  display: inline-block;
  margin-bottom: 0.35rem;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  background: var(--sky);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.timeline-day-text h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.timeline-day-text p {
  margin: 0;
  color: var(--ink-muted);
  font-size: 0.88rem;
}

.timeline-day-text a {
  color: var(--sky);
  text-decoration: none;
}

.timeline-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-left: 28px;
  padding-left: 0.85rem;
}

.timeline-card {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0.85rem;
  padding: 0.75rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s, box-shadow 0.2s;
  align-items: stretch;
  min-height: 104px;
}

.timeline-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
  border-color: var(--accent-soft);
}

.timeline-card img,
.timeline-card-placeholder {
  width: 96px;
  height: 100%;
  min-height: 88px;
  object-fit: cover;
  border-radius: 10px;
  background: #ece7df;
}

.timeline-card-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.timeline-card-body h4 {
  margin: 0 0 0.35rem;
  font-family: var(--font-serif);
  font-size: 1.02rem;
  line-height: 1.3;
}

.timeline-card-body p {
  margin: 0;
  font-size: 0.82rem;
  color: var(--ink-muted);
  line-height: 1.45;
  flex: 1;
}

.timeline-card-cta {
  margin-top: 0.45rem;
  font-size: 0.8rem;
  color: var(--sky);
  font-weight: 600;
}

@media (max-width: 640px) {
  .timeline-cards {
    margin-left: 0;
    padding-left: 0;
  }

  .timeline-card {
    grid-template-columns: 72px 1fr;
  }

  .timeline-card img,
  .timeline-card-placeholder {
    width: 72px;
    min-height: 72px;
  }
}

.spot-index-card {
  display: block;
  padding: 1rem 1.15rem;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--bg-card);
  text-decoration: none;
  color: inherit;
}

.spot-link {
  color: var(--sky);
  text-decoration: none;
  font-weight: 600;
}

.spot-link:hover {
  text-decoration: underline;
}

.attraction h4 a.spot-link {
  font-family: var(--font-serif);
  font-size: 1.15rem;
}

.attraction-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.attraction-photos img {
  width: 100%;
  aspect-ratio: 4 / 3;
  max-height: 72px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  border: 1px solid var(--line);
  display: block;
}

.loading-hint {
  color: var(--ink-muted);
  text-align: center;
  padding: 3rem;
}

.brand {
  text-decoration: none;
  color: inherit;
}
