:root {
  --home-preview-surface: rgba(9, 13, 23, 0.88);
  --home-preview-surface-strong: rgba(12, 18, 31, 0.94);
  --home-preview-border: rgba(102, 204, 145, 0.26);
  --home-preview-border-strong: rgba(102, 204, 145, 0.48);
  --home-preview-shadow: 0 28px 58px rgba(0, 0, 0, 0.34);
  --home-preview-card: rgba(17, 25, 42, 0.76);
  --home-preview-card-border: rgba(148, 163, 184, 0.2);
  --home-preview-text: #f8fbff;
  --home-preview-muted: #c9d8f8;
  --home-preview-subtle: #9eb2d9;
  --home-preview-accent: #22c55e;
  --home-preview-accent-soft: rgba(34, 197, 94, 0.18);
  --home-preview-accent-strong: #7ee0a3;
  --home-preview-secondary: #38bdf8;
  --home-preview-secondary-soft: rgba(56, 189, 248, 0.16);
  --home-preview-warning: #f59e0b;
  --home-preview-danger: #fb7185;
}

html.nh48-home-preview-disabled .home-preview-stack,
html.nh48-home-preview-disabled .home-preview-closer {
  display: none;
}

html:not(.nh48-home-preview-disabled) [data-home-preview-legacy-seo="1"] {
  display: none;
}

#splash-background,
#splash-mask,
#floating-peaks {
  transition: opacity 220ms ease, visibility 0s linear 220ms;
}

html[data-home-hero-ambient="hidden"] #splash-background,
html[data-home-hero-ambient="hidden"] #splash-mask,
html[data-home-hero-ambient="hidden"] #floating-peaks {
  opacity: 0;
  visibility: hidden;
}

html[data-home-hero-ambient="hidden"] .splash-icon {
  animation-play-state: paused !important;
}

.home-preview-stack {
  width: 100%;
  max-width: 1200px;
  margin: 36px auto 0;
  display: grid;
  gap: 26px;
}

.home-preview-panel {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid var(--home-preview-border);
  background:
    radial-gradient(circle at top right, rgba(34, 197, 94, 0.12), transparent 28%),
    radial-gradient(circle at bottom left, rgba(56, 189, 248, 0.12), transparent 32%),
    linear-gradient(150deg, rgba(10, 14, 26, 0.98), rgba(8, 12, 21, 0.92));
  box-shadow: var(--home-preview-shadow);
  content-visibility: auto;
  contain-intrinsic-size: 920px;
}

.home-preview-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.025), transparent 28%);
  pointer-events: none;
}

.home-preview-panel.is-hydrated {
  border-color: var(--home-preview-border-strong);
}

.home-preview-panel.is-error {
  border-color: rgba(251, 113, 133, 0.38);
}

.home-preview-shell {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(290px, 0.92fr) minmax(0, 1.08fr);
  gap: 22px;
  padding: 28px;
  align-items: stretch;
}

.home-preview-copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
  text-align: left;
}

.home-preview-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin: 0;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 163, 0.24);
  background: rgba(10, 30, 20, 0.72);
  color: #dff7e8;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.home-preview-copy h2 {
  margin: 0;
  font-size: clamp(1.6rem, 2.5vw, 2.3rem);
  line-height: 1.1;
  color: var(--home-preview-text);
}

.home-preview-description {
  margin: 0;
  color: var(--home-preview-muted);
  font-size: 1rem;
  line-height: 1.7;
}

.home-preview-facts {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  list-style: none;
}

.home-preview-facts li {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  color: var(--home-preview-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

.home-preview-facts li::before {
  content: "";
  width: 10px;
  height: 10px;
  margin-top: 0.35rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--home-preview-accent), var(--home-preview-secondary));
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.14);
}

.home-preview-copy-supplement-card {
  padding: 16px 18px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 13, 22, 0.68);
}

.home-preview-copy-supplement-head {
  display: grid;
  gap: 4px;
  margin-bottom: 12px;
}

.home-preview-copy-supplement-head strong {
  color: #eff8ff;
  font-size: 0.98rem;
}

.home-preview-copy-supplement-head span {
  color: var(--home-preview-subtle);
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-preview-toc-list {
  margin: 0;
  padding-left: 1.2rem;
  columns: 2;
  column-gap: 22px;
  color: var(--home-preview-muted);
}

.home-preview-toc-list li {
  margin-bottom: 8px;
  break-inside: avoid;
}

.home-preview-toc-list a {
  color: var(--home-preview-muted);
  font-size: 0.84rem;
  line-height: 1.45;
  text-decoration: none;
}

.home-preview-toc-list a:hover,
.home-preview-toc-list a:focus-visible {
  color: var(--home-preview-accent-strong);
  text-decoration: underline;
}

.home-preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

.home-preview-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1px solid rgba(34, 197, 94, 0.36);
  background: rgba(10, 25, 18, 0.84);
  color: #eafff1;
  font-size: 0.94rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.home-preview-link:hover,
.home-preview-link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(126, 224, 163, 0.55);
  background: rgba(14, 37, 26, 0.96);
}

.home-preview-link.secondary {
  border-color: rgba(56, 189, 248, 0.32);
  background: rgba(10, 22, 34, 0.84);
  color: #d9f4ff;
}

.home-preview-link.secondary:hover,
.home-preview-link.secondary:focus-visible {
  border-color: rgba(125, 211, 252, 0.52);
  background: rgba(11, 29, 43, 0.94);
}

.home-preview-visual {
  position: relative;
  min-width: 0;
}

.home-preview-stage {
  position: relative;
  height: auto;
  min-height: 360px;
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--home-preview-card-border);
  background:
    linear-gradient(180deg, rgba(20, 28, 46, 0.96), rgba(10, 16, 28, 0.92)),
    var(--home-preview-card);
  text-align: left;
  overflow: hidden;
  container-type: inline-size;
}

.home-preview-stage::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%);
}

.home-preview-stage > * {
  position: relative;
  z-index: 1;
}

.home-preview-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.home-preview-toolbar-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}

.home-preview-toolbar--dense {
  gap: 12px;
  align-items: flex-start;
}

.home-preview-toolbar-group--controls {
  flex: 1 1 420px;
  gap: 12px;
  min-width: 0;
}

.home-preview-toolbar-group--dataset {
  flex: 1 1 260px;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 8px;
  min-width: 0;
}

.home-preview-toolbar label,
.home-preview-toolbar span,
.home-preview-meta-label {
  color: var(--home-preview-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.home-preview-search {
  width: min(100%, 260px);
  min-height: 42px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(10, 16, 27, 0.96);
  color: #eef6ff;
}

.home-preview-search::placeholder {
  color: #8ea4cf;
}

.home-preview-control {
  display: grid;
  gap: 6px;
  min-width: min(100%, 220px);
  flex: 1 1 220px;
}

.home-preview-control span {
  display: block;
}

.home-preview-select {
  width: 100%;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  background: rgba(10, 16, 27, 0.96);
  color: #eef6ff;
  font: inherit;
}

.home-preview-select:focus-visible,
.home-preview-search:focus-visible {
  outline: 2px solid rgba(126, 224, 163, 0.52);
  outline-offset: 2px;
  border-color: rgba(126, 224, 163, 0.52);
}

.home-preview-dataset-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 163, 0.22);
  background: rgba(9, 24, 19, 0.74);
  color: #f1fff7;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-preview-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-preview-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.26);
  background: rgba(15, 23, 42, 0.84);
  color: #dce8ff;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, color 0.18s ease;
}

.home-preview-chip:hover,
.home-preview-chip:focus-visible {
  border-color: rgba(126, 224, 163, 0.48);
  color: #effef5;
}

.home-preview-chip.is-active {
  border-color: rgba(126, 224, 163, 0.56);
  background: rgba(15, 49, 31, 0.94);
  color: #effff5;
}

.home-preview-results-note {
  margin: 0 0 14px;
  color: var(--home-preview-subtle);
  font-size: 0.88rem;
}

.home-preview-grid {
  display: grid;
  gap: 14px;
}

.home-preview-grid.home-preview-grid--cards {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-preview-stage .card,
.home-preview-stage .list-item,
.home-preview-stage .home-preview-mini-card,
.home-preview-stage .home-preview-route-card,
.home-preview-stage .home-preview-group-card,
.home-preview-stage .home-preview-plant-card,
.home-preview-stage .home-preview-poi-card,
.home-preview-stage .home-preview-stat-card,
.home-preview-stage .home-preview-game-card,
.home-preview-stage .home-preview-template-card {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 20, 0.76);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.home-preview-stage .card {
  overflow: hidden;
}

.home-preview-stage .card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  text-decoration: none;
  color: inherit;
}

.home-preview-stage .thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(14, 23, 34, 0.96);
}

.home-preview-stage .thumb img,
.home-preview-plant-card img,
.home-preview-game-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-preview-stage .body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px;
}

.home-preview-stage .body h3,
.home-preview-stage .list-item h3,
.home-preview-stage .home-preview-mini-card h3,
.home-preview-stage .home-preview-route-card h3,
.home-preview-stage .home-preview-group-card h3,
.home-preview-stage .home-preview-plant-card h3,
.home-preview-stage .home-preview-poi-card h3,
.home-preview-stage .home-preview-game-card h3,
.home-preview-stage .home-preview-template-card h3 {
  margin: 0;
  color: #ecfff3;
  font-size: 1rem;
  line-height: 1.25;
}

.home-preview-stage .card-meta,
.home-preview-stage .list-meta,
.home-preview-stage .home-preview-metrics,
.home-preview-stage .home-preview-stat-grid,
.home-preview-stage .home-preview-template-metrics {
  display: grid;
  gap: 8px;
}

.home-preview-stage .card-meta {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-preview-stage .meta-row,
.home-preview-stage .list-meta > div,
.home-preview-stage .home-preview-metric,
.home-preview-stage .home-preview-stat-card,
.home-preview-stage .home-preview-template-metric {
  display: grid;
  gap: 2px;
}

.home-preview-stage .meta-label,
.home-preview-stage .list-label,
.home-preview-stage .home-preview-metric-label,
.home-preview-stage .home-preview-stat-label,
.home-preview-stage .home-preview-template-metric span:first-child {
  color: var(--home-preview-subtle);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.home-preview-stage .meta-value,
.home-preview-stage .home-preview-metric-value,
.home-preview-stage .home-preview-stat-value,
.home-preview-stage .home-preview-template-metric strong {
  color: #f6fbff;
  font-size: 0.9rem;
  font-weight: 700;
}

.home-preview-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.home-preview-list li,
.home-preview-link-list li {
  margin: 0;
}

.home-preview-link-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.home-preview-link-list a,
.home-preview-entry-link {
  color: #eff7ff;
  text-decoration: none;
}

.home-preview-link-list a:hover,
.home-preview-link-list a:focus-visible,
.home-preview-entry-link:hover,
.home-preview-entry-link:focus-visible {
  color: var(--home-preview-accent-strong);
  text-decoration: underline;
}

.home-preview-trail-layout,
.home-preview-guide-layout,
.home-preview-long-trails-layout,
.home-preview-wiki-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 14px;
}

.home-preview-trails-main {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 14px;
  align-items: start;
}

.home-preview-trails-main > * {
  min-width: 0;
}

.home-preview-howker-summary {
  display: grid;
  gap: 12px;
  margin-bottom: 14px;
}

.home-preview-howker-summary-copy {
  display: grid;
  gap: 8px;
}

.home-preview-howker-summary-copy p {
  margin: 0;
  color: var(--home-preview-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.home-preview-howker-metrics-grid {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-preview-howker-metric-card {
  display: grid;
  gap: 4px;
  min-width: 0;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(8, 12, 20, 0.82);
}

.home-preview-howker-metric-card strong {
  color: #f6fbff;
  font-size: 1.02rem;
  line-height: 1.2;
}

.home-preview-howker-metric-card small {
  color: var(--home-preview-subtle);
  font-size: 0.74rem;
  line-height: 1.35;
}

.home-preview-howker-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 12px;
  align-items: start;
}

.home-preview-howker-sidebar,
.home-preview-howker-detail-stack {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.home-preview-howker-facts-grid {
  display: grid;
  gap: 10px 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-preview-howker-fact {
  display: grid;
  gap: 4px;
  align-content: start;
}

.home-preview-howker-facts-card .home-preview-howker-fact p {
  font-size: 0.84rem;
  line-height: 1.45;
}

.home-preview-howker-poi-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  align-items: baseline;
  justify-content: space-between;
}

.home-preview-howker-poi-head span {
  color: var(--home-preview-subtle);
  font-size: 0.8rem;
}

.home-preview-trail-list,
.home-preview-section-list,
.home-preview-entry-list,
.home-preview-poi-list,
.home-preview-itinerary-list {
  display: grid;
  gap: 10px;
}

.home-preview-trail-button,
.home-preview-section-button,
.home-preview-poi-button,
.home-preview-entry-button,
.home-preview-template-button,
.home-preview-mode-button,
.home-preview-choice-button {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(9, 14, 25, 0.88);
  color: #eef6ff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-preview-trail-button:hover,
.home-preview-section-button:hover,
.home-preview-poi-button:hover,
.home-preview-entry-button:hover,
.home-preview-template-button:hover,
.home-preview-mode-button:hover,
.home-preview-choice-button:hover,
.home-preview-trail-button:focus-visible,
.home-preview-section-button:focus-visible,
.home-preview-poi-button:focus-visible,
.home-preview-entry-button:focus-visible,
.home-preview-template-button:focus-visible,
.home-preview-mode-button:focus-visible,
.home-preview-choice-button:focus-visible {
  border-color: rgba(126, 224, 163, 0.44);
  background: rgba(13, 27, 21, 0.96);
  transform: translateY(-1px);
}

.home-preview-trail-button.is-active,
.home-preview-section-button.is-active,
.home-preview-poi-button.is-active,
.home-preview-entry-button.is-active,
.home-preview-template-button.is-active,
.home-preview-mode-button.is-active {
  border-color: rgba(126, 224, 163, 0.58);
  background: rgba(15, 49, 31, 0.96);
}

.home-preview-map-shell {
  position: relative;
  min-height: 240px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  overflow: hidden;
  background:
    radial-gradient(circle at top, rgba(56, 189, 248, 0.16), transparent 30%),
    linear-gradient(180deg, rgba(11, 24, 35, 0.96), rgba(8, 13, 22, 0.96));
}

.home-preview-map {
  width: 100%;
  height: 240px;
}

.home-preview-map-shell .leaflet-control-container .leaflet-control-attribution {
  font-size: 0.65rem;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-poi-list {
  gap: 8px;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-poi-button {
  min-height: 0;
  padding: 10px 12px;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-poi-button strong {
  font-size: 0.9rem;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-poi-button small {
  font-size: 0.75rem;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-map-shell {
  min-height: 208px;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-map {
  height: 208px;
}

[data-home-preview-panel="howker-ridge-info"] .home-preview-poi-detail {
  gap: 10px;
}

.home-preview-mobile-map-cta {
  position: absolute;
  inset: 14px auto auto 14px;
  z-index: 20;
  min-height: 38px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(126, 224, 163, 0.52);
  background: rgba(10, 33, 20, 0.92);
  color: #f3fff7;
  font-size: 0.82rem;
  font-weight: 700;
}

.home-preview-map-status,
.home-preview-detail-note,
.home-preview-empty {
  margin: 10px 0 0;
  color: var(--home-preview-subtle);
  font-size: 0.85rem;
  line-height: 1.55;
}

.home-preview-detail-card,
.home-preview-trail-detail,
.home-preview-wiki-detail,
.home-preview-puzzle-shell {
  display: grid;
  gap: 12px;
  min-width: 0;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 11, 18, 0.8);
}

.home-preview-trail-detail {
  align-content: start;
}

.home-preview-detail-card p,
.home-preview-trail-detail p,
.home-preview-group-card p,
.home-preview-route-card p,
.home-preview-plant-card p,
.home-preview-poi-card p,
.home-preview-game-card p,
.home-preview-template-card p,
.home-preview-wiki-detail p {
  margin: 0;
  color: var(--home-preview-muted);
  font-size: 0.92rem;
  line-height: 1.6;
}

.home-preview-group-card p {
  line-height: 1.55;
}

.home-preview-guide-table {
  width: 100%;
  border-collapse: collapse;
}

.home-preview-guide-table th,
.home-preview-guide-table td {
  padding: 10px 12px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
  text-align: left;
  vertical-align: top;
  color: var(--home-preview-muted);
  font-size: 0.9rem;
}

.home-preview-guide-table th {
  color: #f0f7ff;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.home-preview-group-grid,
.home-preview-stat-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-preview-guide-layout [data-guide-groups] {
  grid-template-columns: 1fr;
  align-content: start;
}

.home-preview-group-card,
.home-preview-route-card,
.home-preview-template-card {
  padding: 14px;
}

.home-preview-group-card {
  display: grid;
  gap: 14px;
  align-content: start;
  padding: 18px;
}

.home-preview-template-metrics {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
}

.home-preview-badge-row,
.home-preview-template-peaks,
.home-preview-game-slots,
.home-preview-answer-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-preview-template-peaks {
  gap: 10px;
  align-items: flex-start;
}

.home-preview-group-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-preview-badge,
.home-preview-template-peaks span,
.home-preview-slot,
.home-preview-route-chip {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 30px;
  max-width: 100%;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(12, 18, 30, 0.88);
  color: #e5efff;
  font-size: 0.78rem;
  font-weight: 700;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.home-preview-route-chip.is-active {
  border-color: rgba(126, 224, 163, 0.54);
  background: rgba(15, 49, 31, 0.94);
}

.home-preview-route-chip.is-warning {
  border-color: rgba(245, 158, 11, 0.35);
  background: rgba(46, 28, 6, 0.88);
  color: #ffe1ad;
}

.home-preview-plant-grid,
.home-preview-poi-grid,
.home-preview-game-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-preview-plant-card {
  overflow: hidden;
  min-width: 0;
}

.home-preview-plant-card-link {
  display: grid;
  grid-template-rows: auto 1fr;
  height: 100%;
  color: inherit;
  text-decoration: none;
  transition: transform 0.18s ease;
}

.home-preview-plant-card-link:hover,
.home-preview-plant-card-link:focus-visible {
  transform: translateY(-2px);
}

.home-preview-plant-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(10, 16, 28, 0.96);
  border-bottom: 1px solid rgba(148, 163, 184, 0.14);
}

.home-preview-plant-card img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-preview-plant-card-body {
  display: grid;
  gap: 12px;
  padding: 15px;
  align-content: start;
}

.home-preview-plant-card-head {
  display: grid;
  gap: 6px;
}

.home-preview-plant-latin {
  color: var(--home-preview-subtle);
  font-size: 0.84rem;
  font-style: italic;
}

.home-preview-plant-meta {
  display: grid;
  gap: 8px;
}

.home-preview-plant-meta .meta-row {
  padding-top: 8px;
  border-top: 1px dashed rgba(148, 163, 184, 0.16);
}

.home-preview-plant-meta .meta-row:first-child {
  padding-top: 0;
  border-top: 0;
}

.home-preview-plant-meta .meta-value {
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.5;
}

.home-preview-plant-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.home-preview-plant-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid rgba(34, 197, 94, 0.28);
  background: rgba(10, 30, 20, 0.72);
  color: #dcffe8;
  font-size: 0.74rem;
  font-weight: 700;
}

.home-preview-plant-summary {
  min-height: 4.8em;
}

.home-preview-plant-card-cta {
  color: var(--home-preview-accent-strong);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.home-preview-poi-detail strong,
.home-preview-trail-button strong,
.home-preview-section-button strong,
.home-preview-entry-button strong {
  display: block;
  color: #eff8ff;
  font-size: 0.95rem;
}

.home-preview-poi-detail small,
.home-preview-section-button small,
.home-preview-entry-button small,
.home-preview-trail-button small {
  display: block;
  margin-top: 4px;
  color: var(--home-preview-subtle);
}

.home-preview-itinerary {
  display: grid;
  gap: 14px;
}

.home-preview-itinerary-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-preview-itinerary-item {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(10, 15, 25, 0.86);
  cursor: grab;
}

.home-preview-itinerary-item.is-dragging {
  opacity: 0.68;
  cursor: grabbing;
}

.home-preview-itinerary-rank {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #e4ffee;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-preview-itinerary-meta {
  display: grid;
  gap: 3px;
}

.home-preview-itinerary-meta a {
  color: #eff8ff;
  font-weight: 700;
  text-decoration: none;
}

.home-preview-itinerary-meta a:hover,
.home-preview-itinerary-meta a:focus-visible {
  color: var(--home-preview-accent-strong);
  text-decoration: underline;
}

.home-preview-itinerary-meta small {
  color: var(--home-preview-subtle);
}

.home-preview-drag-handle {
  color: var(--home-preview-subtle);
  font-size: 1rem;
  letter-spacing: 0.12em;
}

.home-preview-game-head {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 14px;
}

.home-preview-game-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.home-preview-game-photo {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(12, 20, 33, 0.84);
  aspect-ratio: 16 / 10;
}

.home-preview-game-card {
  padding: 14px;
}

.home-preview-progress {
  width: 100%;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(148, 163, 184, 0.15);
}

.home-preview-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--home-preview-accent), var(--home-preview-secondary));
}

.home-preview-choice-button.is-correct {
  border-color: rgba(126, 224, 163, 0.5);
  background: rgba(17, 57, 35, 0.95);
}

.home-preview-choice-button.is-wrong {
  border-color: rgba(251, 113, 133, 0.44);
  background: rgba(61, 18, 28, 0.9);
}

.home-preview-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-preview-stat-card {
  min-width: 0;
  padding: 14px;
}

.home-preview-stat-card strong {
  color: #f3fbff;
  font-size: 1.25rem;
}

.home-preview-trail-feature-strip {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(7, 11, 18, 0.78);
}

.home-preview-trail-feature-strip-head {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: baseline;
  justify-content: space-between;
}

.home-preview-trail-feature-strip-head strong {
  color: #f3fbff;
  font-size: 1rem;
}

.home-preview-trail-feature-strip-head span {
  color: var(--home-preview-subtle);
  font-size: 0.84rem;
}

.home-preview-trail-feature-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-preview-trail-feature-card {
  width: 100%;
  min-height: 120px;
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 14px;
  border-radius: 16px;
  border: 1px solid rgba(148, 163, 184, 0.2);
  background: rgba(9, 14, 25, 0.88);
  color: #eef6ff;
  text-align: left;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.home-preview-trail-feature-card:hover,
.home-preview-trail-feature-card:focus-visible {
  border-color: rgba(126, 224, 163, 0.44);
  background: rgba(13, 27, 21, 0.96);
  transform: translateY(-1px);
}

.home-preview-trail-feature-card.is-active {
  border-color: rgba(126, 224, 163, 0.58);
  background: rgba(15, 49, 31, 0.96);
}

.home-preview-trail-feature-card strong {
  color: #eff8ff;
  font-size: 0.96rem;
}

.home-preview-trail-feature-card small {
  display: block;
  color: var(--home-preview-subtle);
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.home-preview-wiki-layout {
  align-items: start;
}

.home-preview-entry-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.home-preview-entry-button {
  min-height: 42px;
}

.home-preview-closer {
  width: 100%;
  max-width: 1200px;
  margin: 8px auto 0;
  padding: 24px 26px;
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.16);
  background: rgba(9, 12, 21, 0.74);
  color: var(--home-preview-muted);
  text-align: left;
}

.home-preview-closer h2 {
  margin: 0 0 10px;
  color: #eef8ff;
  font-size: 1.2rem;
}

.home-preview-closer p {
  margin: 0;
}

@media (max-width: 1024px) {
  .home-preview-shell {
    grid-template-columns: 1fr;
  }

  .home-preview-trail-layout,
  .home-preview-guide-layout,
  .home-preview-long-trails-layout,
  .home-preview-wiki-layout,
  .home-preview-howker-layout,
  .home-preview-trails-main {
    grid-template-columns: 1fr;
  }

  .home-preview-toolbar-group--dataset {
    justify-content: flex-start;
  }

  .home-preview-trail-feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .home-preview-stack {
    gap: 18px;
    margin-top: 28px;
  }

  .home-preview-shell {
    padding: 20px;
  }

  .home-preview-stage {
    min-height: 0;
    padding: 16px;
  }

  .home-preview-grid.home-preview-grid--cards,
  .home-preview-group-grid,
  .home-preview-plant-grid,
  .home-preview-poi-grid,
  .home-preview-game-grid,
  .home-preview-stat-grid {
    grid-template-columns: 1fr;
  }

  .home-preview-toolbar {
    align-items: stretch;
  }

  .home-preview-control {
    min-width: 100%;
  }

  .home-preview-search {
    width: 100%;
  }

  .home-preview-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-preview-howker-metrics-grid,
  .home-preview-howker-facts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-preview-toc-list {
    columns: 1;
  }

  .home-preview-link {
    width: 100%;
  }

  .home-preview-map {
    height: 220px;
  }

  .home-preview-mobile-map-cta {
    display: inline-flex;
  }

  .home-preview-trail-feature-grid {
    grid-template-columns: 1fr;
  }
}

@container (max-width: 640px) {
  .home-preview-trails-main,
  .home-preview-trail-layout,
  .home-preview-guide-layout,
  .home-preview-long-trails-layout,
  .home-preview-howker-layout,
  .home-preview-wiki-layout,
  .home-preview-game-grid,
  .home-preview-poi-grid,
  .home-preview-plant-grid,
  .home-preview-group-grid,
  .home-preview-stat-grid,
  .home-preview-howker-facts-grid {
    grid-template-columns: 1fr;
  }

  .home-preview-toolbar-group--dataset {
    justify-content: flex-start;
  }

  .home-preview-howker-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .home-preview-trail-feature-grid {
    grid-template-columns: 1fr;
  }

  .home-preview-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .home-preview-link {
    width: 100%;
  }
}

@media (min-width: 769px) {
  .home-preview-mobile-map-cta {
    display: none;
  }
}
