/* ═══════════════════════════════════════════════════════════════
   DUNE ROAD CARAVAN — s125 deep-custom portal skin
   site youxi--1--125 · index.html
   language: camel caravan · oasis wells · spice sacks · dune ripples
   ═══════════════════════════════════════════════════════════════ */

/* ── palette (unchanged from original site) ──────────────────── */
:root {
  --bg: #2A1D12;
  --panel: #382718;
  --panel-2: #46321F;
  --accent: #E0A458;
  --accent2: #B85C38;
  --text: #F9F0DF;
  --soft: #C6AC8B;
  --line: rgba(224,164,88,.28);
  --fh: 'Palatino Linotype', Georgia, serif;
  --fb: 'Segoe UI', sans-serif;
  --fm: 'Courier New', monospace;
  --sec-gap: 30px;
  /* dune caravan derived tones (appended, palette above unchanged) */
  --sand-hi: #EDC584;
  --brass: #C9924E;
  --wood: #6E4E2E;
  --wood-2: #8A6238;
  --night: #1B120A;
  --oasis: #4E8C6A;
}

/* ═══ 0. reset & base ═══════════════════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html { scroll-behavior: smooth; }

body {
  color: var(--text);
  font-family: var(--fb);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

/* the dusk sky over the erg, sand drifting on the wind */
body.t-dune {
  background:
    radial-gradient(circle at 18% 12%, rgba(249,240,223,.16) 0 1px, transparent 2px),
    radial-gradient(circle at 71% 8%, rgba(249,240,223,.12) 0 1px, transparent 2px),
    radial-gradient(circle at 44% 38%, rgba(249,240,223,.1) 0 1px, transparent 2px),
    radial-gradient(circle at 87% 55%, rgba(249,240,223,.14) 0 1px, transparent 2px),
    repeating-linear-gradient(-7deg, rgba(224,164,88,.025) 0 3px, transparent 3px 26px),
    radial-gradient(ellipse at 50% -12%, rgba(224,164,88,.12), transparent 55%),
    var(--bg);
  background-attachment: fixed;
}

[v-cloak] { display: none; }
a { color: inherit; text-decoration: none; display: block; }
img { display: block; max-width: 100%; }
button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

::selection { background: var(--accent); color: var(--bg); }

/* ═══ 1. layout shell ════════════════════════════════════════════ */
.wrap {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 18px;
}

/* each section is a waystation wall of packed sand and palm wood */
.sec {
  position: relative;
  margin-top: var(--sec-gap);
  min-width: 0;
  padding: 15px 16px 17px;
  border-radius: 10px;
  border: 1.5px solid rgba(224,164,88,.24);
  background:
    linear-gradient(180deg, rgba(224,164,88,.05), rgba(42,29,18,.4) 60%),
    var(--panel);
  box-shadow:
    inset 0 2px 0 rgba(249,240,223,.03),
    0 12px 26px -18px rgba(0,0,0,.75);
}

/* the rope seam stitched along the wall rim */
.sec::before {
  content: '';
  position: absolute;
  top: 0;
  left: 14px;
  right: 14px;
  height: 3px;
  background: repeating-linear-gradient(90deg,
    rgba(237,197,132,.5) 0 6px,
    transparent 6px 12px);
  border-radius: 2px;
  pointer-events: none;
}

/* ═══ 2. callout — the route stamp ═══════════════════════════════ */
.callout {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.callout b {
  flex: none;
  font-family: var(--fh);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 3px;
  padding: 4px 13px;
}

.callout span {
  font-family: var(--fm);
  font-size: 10.5px;
  color: var(--soft);
  letter-spacing: .06em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.callout::after {
  content: '';
  flex: 1;
  border-top: 1.5px dashed rgba(224,164,88,.32);
}

/* the desert sun beside the label */
.co-sun {
  flex: none;
  font-style: normal;
  font-size: 12px;
  line-height: 1;
  color: var(--accent);
}

/* ═══ 3. header — camel humps + sand waves ══════════════════════ */
.hdr {
  position: relative;
  z-index: 50;
  background: linear-gradient(180deg, #3F2D1B, #2E2013);
  overflow: hidden;
}

/* the sand ridges drifting over the header top */
.s125-dunes {
  position: relative;
  height: 26px;
  overflow: hidden;
}

.s125-dunes i {
  position: absolute;
  bottom: -8px;
  width: 90px;
  height: 30px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(237,197,132,.4), rgba(224,164,88,.1));
}

.s125-dunes i:nth-child(1) { left: -6%; height: 24px; }
.s125-dunes i:nth-child(2) { left: 20%; height: 30px; background: linear-gradient(180deg, rgba(201,146,78,.38), rgba(184,92,56,.08)); }
.s125-dunes i:nth-child(3) { left: 48%; height: 22px; }
.s125-dunes i:nth-child(4) { right: -6%; height: 27px; }

.hdr-in {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0 10px;
}

.s125-brand {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.hdr-name {
  font-family: var(--fh);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-sub {
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .24em;
  color: var(--soft);
}

.hdr-search {
  flex: none;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  border: 1.5px solid rgba(224,164,88,.4);
  border-radius: 6px;
}

.hdr-search:active { transform: scale(.94); }

/* the caravan line walking out of the header */
.s125-humps {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 4px;
  height: 46px;
}

.s125-humps i {
  flex: none;
  position: relative;
  border-radius: 50% 50% 0 0 / 64% 64% 0 0;
  background: linear-gradient(180deg, #4A3520, #26190E);
}

.s125-humps i:nth-child(1) { height: 16px; width: 44px; }
.s125-humps i:nth-child(2) { height: 26px; width: 66px; }
.s125-humps i:nth-child(3) { height: 19px; width: 50px; }
.s125-humps i:nth-child(4) { height: 24px; width: 62px; }
.s125-humps i:nth-child(5) { height: 17px; width: 46px; }

/* the lead camel raises its neck above the last hump */
.s125-humps i:nth-child(6) {
  height: 22px;
  width: 54px;
}

.s125-humps i:nth-child(6)::before {
  content: '';
  position: absolute;
  top: -16px;
  right: 8px;
  width: 5px;
  height: 19px;
  border-radius: 3px 3px 0 0;
  background: #4A3520;
  transform: rotate(10deg);
}

.s125-humps i:nth-child(6)::after {
  content: '';
  position: absolute;
  top: -21px;
  right: -1px;
  width: 14px;
  height: 7px;
  border-radius: 5px 6px 3px 3px;
  background: #4A3520;
}

/* the packed sand floor the caravan walks on */
.s125-humps::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(237,197,132,.3) 20%,
    rgba(237,197,132,.3) 80%,
    transparent);
}

/* ═══ 4. waypost rail + search ═══════════════════════════════════ */
.s125-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 14px 2px 6px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.s125-rail::-webkit-scrollbar { display: none; }

/* each chip is a waypost milestone stone */
.s125-mile {
  flex: none;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1.5px solid rgba(224,164,88,.35);
  border-radius: 6px;
  padding: 7px 12px;
  background: var(--panel);
}

/* the milestone stone marker on each chip */
.s125-mile-stone {
  flex: none;
  position: relative;
  width: 12px;
  height: 16px;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, var(--sand-hi), var(--accent2));
}

/* the engraved cap line */
.s125-mile-stone::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 2px;
  right: 2px;
  height: 2px;
  border-radius: 1px;
  background: rgba(42,29,18,.55);
}

/* the plinth the stone stands on */
.s125-mile-stone::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: -2px;
  right: -2px;
  height: 3px;
  border-radius: 1px;
  background: rgba(198,172,139,.45);
}

/* four stone cuts along the road */
.s125-mile-stone.d0 { border-radius: 3px 3px 2px 2px; }

.s125-mile-stone.d1 {
  border-radius: 50% 50% 2px 2px;
  background: linear-gradient(180deg, var(--sand-hi), var(--brass));
}

.s125-mile-stone.d2 {
  clip-path: polygon(50% 0, 100% 30%, 100% 100%, 0 100%, 0 30%);
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.s125-mile-stone.d3 {
  background: linear-gradient(180deg, var(--oasis), var(--accent2));
}

.s125-mile b {
  font-family: var(--fh);
  font-size: 12.5px;
  color: var(--text);
  white-space: nowrap;
}

.s125-mile em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s125-mile.on {
  background: var(--accent);
  border-color: var(--accent);
}

.s125-mile.on b { color: var(--bg); }
.s125-mile.on em { color: #6B4E30; }

.s125-mile.on .s125-mile-stone {
  background: linear-gradient(180deg, var(--bg), var(--accent2));
}

.s125-mile.on .s125-mile-stone::before { background: rgba(237,197,132,.8); }
.s125-mile.on .s125-mile-stone::after { background: rgba(42,29,18,.4); }

.s125-mile:active { transform: scale(.96); }

.srch-bar {
  display: flex;
  gap: 8px;
  margin-top: 8px;
}

.srch-input {
  flex: 1;
  min-width: 0;
  background: #241811;
  border: 1.5px solid rgba(224,164,88,.28);
  border-radius: 6px;
  padding: 10px 13px;
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  outline: none;
}

.srch-input:focus { border-color: var(--accent); }

.srch-go {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 800;
  color: var(--bg);
  background: var(--accent);
  border-radius: 6px;
  padding: 0 16px;
}

.srch-go:active { transform: scale(.96); }

/* ═══ 5. loading ═════════════════════════════════════════════════ */
.loading-full {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg);
}

.loading-bar {
  width: 120px;
  height: 4px;
  border-radius: 2px;
  background: var(--panel-2);
  overflow: hidden;
  margin: 0 auto 12px;
}

.loading-bar::after {
  content: '';
  display: block;
  width: 40%;
  height: 100%;
  background: var(--accent);
  border-radius: 2px;
  animation: ldslide 1s infinite;
}

@keyframes ldslide {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.loading-txt {
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .18em;
  color: var(--soft);
}

/* ═══ 6. hero — the caravan departs at moonrise ═════════════════ */
.hv23 {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hv23-k {
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .2em;
  color: var(--accent2);
  text-align: center;
}

/* the bell rope strung over the caravan */
.hv23-rope {
  position: relative;
  width: 100%;
  height: 30px;
}

.hv23-rope::before {
  content: '';
  position: absolute;
  top: 3px;
  left: 0;
  right: 0;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(198,172,139,.7) 10%,
    rgba(198,172,139,.7) 90%,
    transparent);
}

/* each bell swinging under the rope */
.hv23-rope i {
  position: absolute;
  top: 5px;
  width: 14px;
  height: 16px;
  background: linear-gradient(180deg, var(--sand-hi), var(--brass) 55%, var(--accent2));
  clip-path: polygon(18% 0, 82% 0, 100% 78%, 82% 100%, 18% 100%, 0 78%);
  transform-origin: 50% -6px;
  animation: s125sway 2.8s ease-in-out infinite;
}

/* the loop the bell hangs from */
.hv23-rope i::before {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  width: 2px;
  height: 8px;
  margin-left: -1px;
  background: rgba(198,172,139,.8);
}

/* the clapper under the bell mouth */
.hv23-rope i::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 5px;
  height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--sand-hi);
}

.hv23-rope i:nth-child(1) { left: 8%; animation-delay: 0s; }
.hv23-rope i:nth-child(2) { left: 28%; animation-delay: .5s; }
.hv23-rope i:nth-child(3) { left: 48%; margin-left: -7px; animation-delay: 1s; }
.hv23-rope i:nth-child(4) { left: 68%; animation-delay: 1.5s; }
.hv23-rope i:nth-child(5) { right: 8%; animation-delay: 2s; }

@keyframes s125sway {
  0%, 100% { transform: rotate(6deg); }
  50% { transform: rotate(-6deg); }
}

/* the lead camel card, a howdah pavilion on the sand */
.hv23-camel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(100%, 330px);
  margin-top: 6px;
  padding: 14px 16px 18px;
  border-radius: 16px 16px 10px 10px;
  border: 2px solid rgba(224,164,88,.32);
  background:
    radial-gradient(120% 60% at 50% 0%, rgba(224,164,88,.1), transparent 65%),
    linear-gradient(180deg, var(--panel-2), var(--panel));
  box-shadow:
    inset 0 -3px 0 rgba(0,0,0,.35),
    0 14px 28px -16px rgba(0,0,0,.7);
}

/* the saddle art window with its woven mat frame */
.hv23-art {
  position: relative;
  width: 152px;
  height: 152px;
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid rgba(224,164,88,.4);
  background: var(--night);
  box-shadow: inset 0 0 20px rgba(0,0,0,.5);
}

.hv23-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the woven weave and moonlight glare over the window */
.hv23-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent 0 10px, rgba(224,164,88,.07) 10px 12px),
    linear-gradient(115deg,
      rgba(249,240,223,.14) 0 12%,
      transparent 12% 55%,
      rgba(249,240,223,.06) 55% 60%,
      transparent 60%);
  pointer-events: none;
}

.hv23-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.hv23-nm {
  font-family: var(--fh);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  overflow-wrap: break-word;
}

.hv23-ds {
  font-size: 12.5px;
  color: var(--soft);
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.hv23-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 2px;
}

.hv23-meta em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9.5px;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--accent);
  border-radius: 3px;
  padding: 3px 10px;
}

.hx-stars {
  color: var(--accent);
  font-size: 12px;
  letter-spacing: 2px;
}

.hx-stars i { font-style: normal; }
.hx-stars i.off { opacity: .25; }

.hx-cta {
  align-self: center;
  margin-top: 8px;
  font-family: var(--fh);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  padding: 8px 20px;
}

.hv23-camel:active { transform: scale(.98); }

/* the camel train walking on behind the lead */
.hv23-train {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 3px;
  height: 28px;
  margin-top: 6px;
  width: 100%;
}

/* the sand they tread */
.hv23-train::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6%;
  right: 6%;
  height: 2px;
  background: linear-gradient(90deg,
    transparent,
    rgba(198,172,139,.4),
    transparent);
}

.hv23-train i {
  flex: none;
  border-radius: 50% 50% 0 0 / 70% 70% 0 0;
  background: linear-gradient(180deg, #4A3520, #2A1D12);
  animation: s125walk 3.2s ease-in-out infinite;
}

.hv23-train i:nth-child(1) { height: 12px; width: 30px; animation-delay: 0s; }
.hv23-train i:nth-child(2) { height: 18px; width: 42px; animation-delay: .4s; }
.hv23-train i:nth-child(3) { height: 14px; width: 34px; animation-delay: .8s; }
.hv23-train i:nth-child(4) { height: 17px; width: 40px; animation-delay: 1.2s; }
.hv23-train i:nth-child(5) { height: 11px; width: 28px; animation-delay: 1.6s; }

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

/* ═══ 7. divider — the bell between sand lines ══════════════════ */
.tk-div {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 6px 0 10px;
}

.tk-div i {
  width: 38px;
  height: 2.5px;
  border-radius: 2px;
  background: linear-gradient(90deg, transparent, rgba(224,164,88,.55), transparent);
}

/* the camel bell hung between the drifts */
.tk-div i:nth-child(3) {
  width: 12px;
  height: 13px;
  background: linear-gradient(180deg, var(--sand-hi), var(--accent2));
  clip-path: polygon(16% 0, 84% 0, 100% 74%, 50% 100%, 0 74%);
}

/* ═══ 8. cargo manifest — the saddle pack grid ═══════════════════ */
.s125-packs {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 14px 12px;
  padding-top: 16px;
}

/* the saddle yoke beam the packs hang from */
.s125-packs::before {
  content: '';
  position: absolute;
  top: 0;
  left: 2px;
  right: 2px;
  height: 7px;
  border-radius: 4px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
  box-shadow: 0 3px 8px rgba(0,0,0,.4);
}

.s125-pack {
  min-width: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 10px 9px 9px;
  background: rgba(42,29,18,.9);
  border: 1px solid rgba(224,164,88,.18);
  border-radius: 8px;
}

/* the straps tying the top row to the yoke */
.s125-pack:nth-child(-n+2)::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50%;
  width: 3px;
  height: 15px;
  margin-left: -1.5px;
  background: rgba(198,172,139,.55);
}

.s125-pack-art {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(224,164,88,.22);
}

.s125-pack-art img {
  width: 100%;
  height: 84px;
  object-fit: cover;
}

/* twin cargo straps bound over each bale */
.s125-pack-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg,
      transparent 0 26%,
      rgba(184,92,56,.5) 26% 32%,
      transparent 32% 66%,
      rgba(184,92,56,.5) 66% 72%,
      transparent 72%),
    repeating-linear-gradient(45deg, rgba(249,240,223,.05) 0 2px, transparent 2px 6px);
  pointer-events: none;
}

.s125-pack-b {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s125-pack-b b {
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-pack-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--soft);
}

.s125-pack:active { transform: scale(.97); }

/* ═══ 9. grand caravanserai — the oasis well grid ════════════════ */
.s125-wells {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.s125-well {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 0 10px 10px;
  background:
    linear-gradient(180deg, rgba(78,140,106,.07), transparent 45%),
    var(--panel);
  border: 1px solid rgba(224,164,88,.18);
  border-radius: 8px;
}

/* the well head frame above the mouth */
.s125-well-frame {
  position: relative;
  height: 22px;
  margin: 0 -3px;
}

/* the crossbeam the rope runs over */
.s125-well-frame::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 12%;
  right: 12%;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
}

/* the rope dropping to the water */
.s125-well-frame::after {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  width: 2px;
  height: 14px;
  margin-left: -1px;
  background: rgba(198,172,139,.7);
}

/* the bucket at the rope end */
.s125-well-frame i {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 10px;
  height: 8px;
  margin-left: -5px;
  border-radius: 1px 1px 3px 3px;
  background: var(--brass);
}

/* the well mouth ring of dressed stone */
.s125-well-art {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(224,164,88,.28);
  outline: 1px dashed rgba(198,172,139,.3);
  outline-offset: -7px;
}

.s125-well-art img {
  width: 100%;
  height: 76px;
  object-fit: cover;
}

.s125-well-b {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s125-well-b b {
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-well-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--accent);
}

.s125-well:active { transform: scale(.97); }

/* ═══ 10. caravan line — the spice sack rack ═════════════════════ */
.s125-spice {
  position: relative;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 24px 4px 10px;
  -webkit-overflow-scrolling: touch;
}

.s125-spice::-webkit-scrollbar { height: 4px; }
.s125-spice::-webkit-scrollbar-thumb { background: rgba(224,164,88,.4); border-radius: 2px; }
.s125-spice::-webkit-scrollbar-track { background: transparent; }

/* the rack rail the sacks hang from */
.s125-spice::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 5px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
}

.s125-sack {
  flex: none;
  width: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

/* sacks hang at a stagger along the rail */
.s125-sack:nth-child(even) { margin-top: 9px; }

/* the tied neck of each sack */
.s125-sack-tie {
  position: relative;
  width: 8px;
  height: 14px;
  background: rgba(198,172,139,.6);
}

/* the binder twine around the neck */
.s125-sack-tie::before {
  content: '';
  position: absolute;
  top: 5px;
  left: -6px;
  right: -6px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--brass);
}

/* the loop up to the rail */
.s125-sack-tie::after {
  content: '';
  position: absolute;
  top: -12px;
  left: 50%;
  width: 2px;
  height: 12px;
  margin-left: -1px;
  background: rgba(198,172,139,.5);
}

.s125-sack-art {
  position: relative;
  width: 100%;
  border-radius: 10px 10px 14px 14px;
  overflow: hidden;
  border: 1.5px solid rgba(224,164,88,.26);
  background: #2E2013;
}

.s125-sack-art img {
  width: 100%;
  height: 64px;
  object-fit: cover;
}

/* the burlap weave over the sack face */
.s125-sack-art::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(45deg,
    rgba(249,240,223,.05) 0 1.5px,
    transparent 1.5px 5px);
  pointer-events: none;
}

.s125-sack-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-sack-tag {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .1em;
  color: var(--accent2);
}

.s125-sack:active { transform: scale(.95); }

/* ═══ 11. journey stages — the star route ════════════════════════ */
.s125-stars {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 14px 12px 12px;
  border-radius: 10px;
  background:
    radial-gradient(circle at 18% 22%, rgba(249,240,223,.5) 0 1px, transparent 2px),
    radial-gradient(circle at 64% 12%, rgba(249,240,223,.35) 0 1px, transparent 2px),
    radial-gradient(circle at 82% 48%, rgba(249,240,223,.4) 0 1px, transparent 2px),
    radial-gradient(circle at 34% 78%, rgba(249,240,223,.3) 0 1px, transparent 2px),
    linear-gradient(180deg, #241811, var(--night));
  border: 1px solid rgba(224,164,88,.16);
}

/* the dotted star trail the caravan steers by */
.s125-stars::before {
  content: '';
  position: absolute;
  top: 18px;
  bottom: 18px;
  left: 29px;
  width: 0;
  border-left: 1.5px dotted rgba(224,164,88,.4);
}

.s125-leg {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: rgba(42,29,18,.72);
  border: 1px solid rgba(224,164,88,.16);
  border-radius: 8px;
}

/* the four-point star marking each stage */
.s125-leg-star {
  flex: none;
  width: 15px;
  height: 15px;
  background: var(--sand-hi);
  clip-path: polygon(50% 0, 61% 35%, 100% 50%, 61% 65%, 50% 100%, 39% 65%, 0 50%, 39% 35%);
  filter: drop-shadow(0 0 4px rgba(237,197,132,.6));
  animation: s125twinkle 3s ease-in-out infinite;
}

@keyframes s125twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: .55; }
}

.s125-leg-art { flex: none; }

.s125-leg-art img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(224,164,88,.3);
}

.s125-leg-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s125-leg-b b {
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-leg-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--soft);
}

.s125-leg-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s125-leg:active { transform: scale(.98); }

/* ═══ 12. route index — the sandstorm watch ══════════════════════ */
.s125-storm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 12px;
}

.s125-wind {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 10px;
  background:
    repeating-linear-gradient(112deg, transparent 0 12px, rgba(198,172,139,.05) 12px 14px),
    var(--panel);
  border: 1px solid rgba(224,164,88,.18);
  border-radius: 8px;
  overflow: hidden;
}

/* the streaks thicken as the wind rises */
.s125-wind.w1 {
  background:
    repeating-linear-gradient(112deg, transparent 0 10px, rgba(198,172,139,.09) 10px 13px),
    var(--panel);
}

.s125-wind.w2 {
  background:
    repeating-linear-gradient(112deg, transparent 0 8px, rgba(184,92,56,.1) 8px 11px),
    var(--panel);
}

.s125-wind.w3 {
  background:
    repeating-linear-gradient(112deg, transparent 0 6px, rgba(184,92,56,.16) 6px 9px),
    var(--panel);
}

/* the gust glyph whipping across the card */
.s125-wind-gust {
  flex: none;
  position: relative;
  width: 26px;
  height: 26px;
}

.s125-wind-gust i {
  position: absolute;
  left: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--soft);
}

.s125-wind-gust i:nth-child(1) { top: 4px; width: 24px; }
.s125-wind-gust i:nth-child(2) { top: 12px; width: 16px; }
.s125-wind-gust i:nth-child(3) { top: 20px; width: 20px; }

/* the curl at the end of each gust */
.s125-wind-gust i::after {
  content: '';
  position: absolute;
  right: -5px;
  top: -1.5px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid var(--soft);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.s125-wind.w1 .s125-wind-gust i { background: var(--accent); }
.s125-wind.w1 .s125-wind-gust i::after {
  border-color: var(--accent);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.s125-wind.w2 .s125-wind-gust i,
.s125-wind.w3 .s125-wind-gust i { background: var(--accent2); }

.s125-wind.w2 .s125-wind-gust i::after,
.s125-wind.w3 .s125-wind-gust i::after {
  border-color: var(--accent2);
  border-left-color: transparent;
  border-bottom-color: transparent;
}

.s125-wind.w3 .s125-wind-gust i { box-shadow: 0 0 6px rgba(184,92,56,.5); }

.s125-wind-art { flex: none; }

.s125-wind-art img {
  width: 54px;
  height: 54px;
  border-radius: 8px;
  object-fit: cover;
  border: 1.5px solid rgba(224,164,88,.3);
}

.s125-wind-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s125-wind-b b {
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-wind-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-wind:active { transform: scale(.97); }

/* ═══ 13. lantern wall — the bazaar tent row ═════════════════════ */
.s125-bazaar {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.s125-tent {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 0 6px 9px;
  background: var(--panel-2);
  border: 1px solid rgba(224,164,88,.18);
  border-top: none;
  border-radius: 0 0 8px 8px;
}

/* the striped canopy stretched over each stall */
.s125-tent-canopy {
  position: relative;
  width: 100%;
  height: 24px;
  margin-top: 2px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: repeating-linear-gradient(90deg,
    rgba(224,164,88,.9) 0 9px,
    rgba(184,92,56,.8) 9px 18px);
}

/* three cloth cuts along the row */
.s125-tent-canopy.c1 {
  background: repeating-linear-gradient(90deg,
    rgba(249,240,223,.75) 0 7px,
    rgba(184,92,56,.55) 7px 16px);
}

.s125-tent-canopy.c2 {
  background: repeating-linear-gradient(90deg,
    rgba(201,146,78,.9) 0 11px,
    rgba(70,50,31,.85) 11px 20px);
}

/* the small lanterns strung under each awning */
.s125-tent-canopy i {
  position: absolute;
  bottom: -7px;
  width: 7px;
  height: 9px;
  border-radius: 2px 2px 3px 3px;
  background: linear-gradient(180deg, #F6D98A, var(--brass));
  box-shadow: 0 0 6px rgba(246,217,138,.55);
}

.s125-tent-canopy i:nth-child(1) { left: 12%; }
.s125-tent-canopy i:nth-child(2) { left: 46%; }
.s125-tent-canopy i:nth-child(3) { right: 12%; }

.s125-tent-art {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(224,164,88,.24);
}

.s125-tent-art img {
  width: 100%;
  height: 58px;
  object-fit: cover;
}

.s125-tent-nm {
  font-family: var(--fh);
  font-size: 11px;
  color: var(--text);
  max-width: 100%;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-tent:active { transform: scale(.95); }

/* ═══ 14. scout's note — the treasure chest train ════════════════ */
.s125-chests {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.s125-chest {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  background: var(--panel);
  border: 1px solid rgba(224,164,88,.18);
  border-radius: 8px;
}

/* the chest body with its brass-bound edges */
.s125-chest-box {
  position: relative;
  flex: none;
  width: 88px;
  height: 60px;
  border-radius: 6px;
  overflow: hidden;
  border: 2.5px solid rgba(201,146,78,.65);
  background: var(--night);
  box-shadow: inset 0 0 10px rgba(0,0,0,.45);
}

.s125-chest-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* the lid seam across the chest */
.s125-chest-box::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: rgba(201,146,78,.8);
}

/* twin straps binding the chest shut */
.s125-chest-strap {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 7px;
  background: rgba(184,92,56,.65);
}

.s125-chest-strap.sa { left: 16px; }
.s125-chest-strap.sb { right: 16px; }

/* the lock plate on the seam */
.s125-chest-lock {
  position: absolute;
  top: 10px;
  left: 50%;
  width: 11px;
  height: 12px;
  margin-left: -5.5px;
  border-radius: 2px;
  background: linear-gradient(180deg, var(--sand-hi), var(--brass));
  box-shadow: 0 0 0 1.5px rgba(42,29,18,.6);
}

.s125-chest-b {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.s125-chest-b b {
  font-family: var(--fh);
  font-size: 13.5px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-chest-b em {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .08em;
  color: var(--accent2);
}

.s125-chest-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s125-chest:active { transform: scale(.98); }

/* ═══ 15. route index — the waypost mile boards ══════════════════ */
.s125-posts {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 11px 10px;
}

.s125-post {
  min-width: 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 11px 10px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 1.5px solid rgba(224,164,88,.22);
  border-radius: 8px;
}

/* the milestone stone marking each route */
.s125-post-stone {
  flex: none;
  position: relative;
  width: 16px;
  height: 22px;
  border-radius: 3px 3px 2px 2px;
  background: linear-gradient(180deg, var(--sand-hi), var(--accent2));
}

/* the carved cap line */
.s125-post-stone::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 2.5px;
  right: 2.5px;
  height: 2px;
  border-radius: 1px;
  background: rgba(42,29,18,.55);
}

/* the plinth base */
.s125-post-stone::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: -2.5px;
  right: -2.5px;
  height: 4px;
  border-radius: 1.5px;
  background: rgba(198,172,139,.45);
}

/* four stone cuts for the four quarters */
.s125-post-stone.k0 { border-radius: 3px 3px 2px 2px; }

.s125-post-stone.k1 {
  border-radius: 50% 50% 2px 2px;
  background: linear-gradient(180deg, var(--sand-hi), var(--brass));
}

.s125-post-stone.k2 {
  clip-path: polygon(50% 0, 100% 26%, 100% 100%, 0 100%, 0 26%);
  background: linear-gradient(180deg, var(--accent), var(--accent2));
}

.s125-post-stone.k3 {
  width: 20px;
  height: 18px;
  background: linear-gradient(180deg, var(--oasis), var(--accent2));
}

.s125-post-b {
  flex: 1;
  min-width: 0;
}

.s125-post-b b {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.s125-post-b i {
  font-style: normal;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--soft);
}

.s125-post-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.s125-post:active { transform: scale(.97); }

/* ═══ 16. cargo manifest — the route scroll ══════════════════════ */
.s125-scroll {
  position: relative;
  padding: 15px 12px 12px;
  background:
    repeating-linear-gradient(93deg, transparent 0 26px, rgba(224,164,88,.05) 26px 28px),
    var(--panel);
  border: 1.5px solid rgba(224,164,88,.22);
  border-radius: 10px;
}

/* the wooden rollers the scroll is wound on */
.s125-scroll-rods {
  position: absolute;
  top: -7px;
  left: 24px;
  right: 24px;
  display: flex;
  justify-content: space-between;
}

.s125-scroll-rods i {
  width: 34px;
  height: 14px;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--wood-2), var(--wood));
  box-shadow: 0 3px 6px rgba(0,0,0,.45);
}

.arc-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arc {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: var(--panel-2);
  border: 1px solid rgba(224,164,88,.14);
  border-radius: 8px;
}

.arc img {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 7px;
  object-fit: cover;
}

/* each row is a stop chalked along the route scroll */
.arc.s125-stop {
  border-left: 3px solid rgba(184,92,56,.45);
}

/* the stop number chalked on the manifest */
.s125-stop-no {
  flex: none;
  font-family: var(--fm);
  font-size: 9px;
  color: var(--accent);
  border: 1px dashed rgba(224,164,88,.4);
  border-radius: 4px;
  padding: 3px 5px;
}

.arc-b { flex: 1; min-width: 0; }

.arc-nm {
  display: block;
  font-family: var(--fh);
  font-size: 13px;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.arc-ds {
  display: block;
  font-size: 11px;
  color: var(--soft);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* the cargo tag inked beside each stop */
.s125-stop-tag {
  flex: none;
  font-style: normal;
  font-family: var(--fm);
  font-size: 8.5px;
  letter-spacing: .08em;
  color: var(--accent2);
}

.s125-stop-arrow {
  flex: none;
  font-size: 13px;
  color: var(--accent);
}

.arc:active { transform: scale(.98); }

/* ═══ 17. filter view + empty ════════════════════════════════════ */
.filter-hd {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.filter-back {
  flex: none;
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text);
  background: var(--panel);
  border: 1.5px solid rgba(224,164,88,.5);
  border-radius: 6px;
  padding: 7px 12px;
}

.filter-title {
  flex: 1;
  min-width: 0;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.filter-cnt {
  flex: none;
  font-family: var(--fm);
  font-size: 11.5px;
  color: var(--bg);
  background: var(--accent);
  border-radius: 4px;
  padding: 3px 8px;
}

.empty-space {
  text-align: center;
  padding: 40px 0 24px;
}

/* the dry basin on a windless day */
.empty-space p {
  font-size: 30px;
  line-height: 1;
  color: var(--soft);
}

.empty-space span {
  display: block;
  margin-top: 10px;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .14em;
  color: var(--soft);
}

/* ═══ 18. more ═══════════════════════════════════════════════════ */
.more-wrap {
  text-align: center;
  margin-top: 15px;
}

.more-btn {
  font-family: var(--fh);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--accent);
  background: var(--panel);
  border: 1.5px solid rgba(224,164,88,.4);
  border-radius: 6px;
  padding: 10px 22px;
}

.more-btn:active { transform: scale(.97); }

/* ═══ 19. footer — the dune ripple edge ══════════════════════════ */
.foot {
  position: relative;
  margin-top: 44px;
  padding: 30px 0 30px;
  text-align: center;
  background: linear-gradient(180deg, #40301E, #241811);
}

/* the wind-carved ripples rolling over the crest */
.s125-ripples {
  position: relative;
  height: 30px;
  margin-bottom: 10px;
  overflow: hidden;
}

.s125-ripples i {
  position: absolute;
  bottom: -7px;
  width: 88px;
  border-radius: 50% 50% 0 0;
  background: linear-gradient(180deg, rgba(237,197,132,.55), rgba(224,164,88,.1));
}

.s125-ripples i:nth-child(1) { left: -8%; height: 22px; }
.s125-ripples i:nth-child(2) { left: 16%; height: 30px; background: linear-gradient(180deg, rgba(201,146,78,.5), rgba(184,92,56,.08)); }
.s125-ripples i:nth-child(3) { left: 40%; height: 24px; }
.s125-ripples i:nth-child(4) { left: 63%; height: 29px; }
.s125-ripples i:nth-child(5) { right: -8%; height: 21px; }

/* the fine ripple lines drawn in the sand beneath */
.s125-ripples::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-radial-gradient(circle at 13px -6px,
    transparent 0 9px,
    rgba(237,197,132,.22) 9px 10px);
}

.foot-name {
  font-family: var(--fh);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--text);
}

.foot-links {
  display: flex;
  justify-content: center;
  gap: 22px;
  margin-top: 12px;
}

.foot-links a {
  display: inline;
  font-size: 12.5px;
  color: var(--soft);
  text-decoration: underline;
}

.foot-fine {
  margin-top: 12px;
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .14em;
  color: var(--soft);
  opacity: .75;
}

/* ═══ 20. back-to-top — the sun button ══════════════════════════ */
.totop-btn {
  position: fixed;
  right: 16px;
  bottom: 24px;
  z-index: 60;
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--fh);
  font-size: 17px;
  font-weight: 700;
  color: var(--bg);
  background: radial-gradient(circle at 40% 30%, var(--sand-hi), var(--accent));
  border-radius: 50%;
  box-shadow: 0 4px 14px rgba(0,0,0,.45);
}

/* ═══ 21. responsive ═════════════════════════════════════════════ */
@media (max-width: 480px) {
  .sec { padding: 13px 12px 15px; }

  .hv23-art { width: 126px; height: 126px; }

  .hv23-nm { font-size: 19px; }

  .s125-pack-art img { height: 76px; }

  .s125-well-art img { height: 68px; }

  .s125-sack { width: 86px; }

  .s125-sack-art img { height: 58px; }

  .s125-tent-art img { height: 52px; }

  .s125-chest-box { width: 80px; height: 56px; }

  .s125-chest-box::before { top: 13px; }

  .s125-scroll-rods { left: 18px; right: 18px; }
}

@media (max-width: 375px) {
  .wrap { padding: 0 14px; }

  .hdr-name { font-size: 16px; }

  .s125-packs,
  .s125-wells,
  .s125-storm { gap: 10px; }

  .s125-posts { gap: 10px 9px; }

  .s125-mile { padding: 6px 10px; }

  .s125-wind { gap: 8px; padding: 10px 8px; }

  .s125-wind-art img { width: 48px; height: 48px; }

  .s125-wind-gust { width: 22px; }

  .s125-leg { gap: 8px; }

  .s125-leg-art img { width: 48px; height: 48px; }

  .s125-bazaar { gap: 8px; }

  .s125-tent-nm { font-size: 10px; }

  .s125-stop-tag { display: none; }

  .s125-stop { gap: 8px; }

  .s125-chest-box { width: 76px; }

  .s125-chest-b b { font-size: 12.5px; }
}
