/* ——— World, journal style (Playfair Display + DM Sans on warm paper) ———
   Hero: deep green with the "Go somewhere. Bring a story." stamp.
   Itineraries: one filter row, "Find your next chapter", a card grid. */
.world-page {
  --wx-green: #183e30;
  --wx-green-deep: #133126;
  --wx-cream: #f5f2e9;
  --wx-card: #fffdf8;
  --wx-muted: #6f786f;
  --wx-line: #dedfd4;
  --wx-gold: #e1c988;
  --wx-display: "Playfair Display", "Fraunces", Georgia, serif;
  --wx-body: "DM Sans", "Outfit", system-ui, sans-serif;
  background: var(--wx-cream);
}

.world-page .world-main {
  background: var(--wx-cream);
  font-family: var(--wx-body);
}

/* Hero */
.world-hero.wx-hero {
  padding: clamp(2rem, 4.5vw, 2.8rem) var(--world-pad, 6%) 0;
  background: var(--wx-green);
  color: #f8f1dd;
  animation: none;
}

.wx-hero::after {
  display: none;
}

.wx-hero .world-hero-inner {
  position: relative;
  max-width: 1180px;
}

.wx-eyebrow {
  margin: 0;
  font-family: var(--wx-body);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #879176;
}

.wx-hero .wx-eyebrow {
  color: #d8c58e;
}

.wx-hero h1 {
  max-width: 14em;
  margin: 0.75rem 0;
  font: 400 clamp(2.1rem, 4.6vw, 2.9rem) / 1.2 var(--wx-display);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.wx-hero h1 em {
  font-style: italic;
  color: var(--wx-gold);
}

.wx-lede {
  max-width: 36rem;
  margin: 0;
  color: #c4cfc1;
  font-size: 0.86rem;
  line-height: 1.8;
}

.wx-stamp {
  position: absolute;
  top: 0.2rem;
  right: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 8.25rem;
  height: 8.25rem;
  border: 1px solid rgba(185, 196, 168, 0.35);
  border-radius: 50%;
  color: #d2cba4;
  font: italic 400 1.35rem / 1.3 var(--wx-display);
  text-align: center;
  transform: rotate(12deg);
}

.wx-stamp::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border: 1px dashed rgba(185, 196, 168, 0.35);
  border-radius: 50%;
}

.wx-tabs.world-tabs {
  display: flex;
  gap: 1.6rem;
  margin: 1.8rem 0 0;
  padding: 0;
  border: 0;
  background: none;
}

.wx-tabs .world-tab {
  min-height: 2.75rem;
  padding: 0 0.1rem;
  border: 0;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: none;
  color: #c8d2c7;
  font: 500 0.86rem var(--wx-body);
  box-shadow: none;
}

.wx-tabs .world-tab.is-on {
  border-bottom-color: var(--wx-gold);
  background: none;
  color: #f8f1dd;
}

/* Itineraries */
.wx-main {
  max-width: 1330px;
  margin: 0 auto;
  padding: 1.7rem var(--world-pad, 6%) 2.5rem;
  color: var(--wx-green);
}

.wx-filters {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--wx-line);
}

.wx-search {
  display: flex;
  flex: 1 1 16rem;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
  height: 2.9rem;
  padding: 0 0.95rem;
  border: 1px solid var(--wx-line);
  border-radius: 0.45rem;
  background: var(--wx-card);
  color: var(--wx-green);
}

.wx-search svg {
  flex: 0 0 auto;
  width: 1.1rem;
  height: 1.1rem;
}

.wx-search input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: none;
  color: var(--wx-green);
  font: 400 0.84rem var(--wx-body);
}

.wx-select,
.wx-liked {
  height: 2.9rem;
  border: 1px solid var(--wx-line);
  border-radius: 0.45rem;
  background: var(--wx-card);
  color: var(--wx-green);
  font: 500 0.78rem var(--wx-body);
}

.wx-select {
  padding: 0 1.9rem 0 0.8rem;
}

.wx-liked {
  padding: 0 1rem;
  background: transparent;
  white-space: nowrap;
  cursor: pointer;
}

.wx-liked[aria-pressed="true"] {
  border-color: #9eaf8f;
  background: #dfe7d6;
}

.wx-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.55rem 0 1.25rem;
}

.wx-bar h2 {
  margin: 0;
  font: 400 1.7rem var(--wx-display);
  color: var(--wx-green);
}

.wx-count {
  margin: 0.4rem 0 0;
  font-size: 0.72rem;
  color: var(--wx-muted);
}

.wx-sort {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.72rem;
  color: var(--wx-muted);
}

.wx-sort select {
  min-height: 2.75rem;
  padding: 0 0.5rem;
  border: 0;
  background: transparent;
  color: var(--wx-green);
  font: 600 0.8rem var(--wx-body);
  cursor: pointer;
}

.wx-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.55rem 1.4rem;
}

.wx-card {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--wx-line);
  border-radius: 0.65rem;
  background: var(--wx-card);
  color: var(--wx-green);
}

.wx-cover {
  position: relative;
  overflow: hidden;
}

.wx-cover-link {
  display: block;
}

.wx-photo {
  display: block;
  width: 100%;
  height: 12.7rem;
  object-fit: cover;
  background: #dfe3d6;
  transition: transform 0.3s ease;
}

.wx-photo.is-default,
.wx-photo.is-broken {
  background: linear-gradient(150deg, var(--cover-forest, #1e3a2f), var(--cover-deep, #13251e));
}

.wx-card:hover .wx-photo {
  transform: scale(1.025);
}

@media (prefers-reduced-motion: reduce) {
  .wx-photo {
    transition: none;
  }
  .wx-card:hover .wx-photo {
    transform: none;
  }
}

.wx-duration {
  position: absolute;
  bottom: 0.8rem;
  left: 0.85rem;
  padding: 0.35rem 0.55rem;
  border-radius: 0.25rem;
  background: rgba(255, 253, 242, 0.94);
  color: var(--wx-green);
  font-size: 0.64rem;
  font-weight: 600;
}

.wx-heart {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 2.75rem;
  height: 2.75rem;
  padding: 0 0.65rem;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 253, 243, 0.93);
  color: var(--wx-green);
  font: 600 0.72rem var(--wx-body);
  cursor: pointer;
}

.wx-heart svg {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}

.wx-heart em {
  font-style: normal;
  font-variant-numeric: tabular-nums;
}

.wx-heart.is-on {
  color: #9a503f;
}

.wx-heart.is-on svg {
  fill: currentColor;
}

.wx-body {
  padding: 1.1rem 1.2rem 1rem;
}

.wx-place {
  margin: 0 0 0.5rem;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7a8069;
}

.wx-card h3 {
  margin: 0;
  font: 400 1.55rem / 1.2 var(--wx-display);
  letter-spacing: -0.01em;
}

.wx-card h3 a {
  color: inherit;
  text-decoration: none;
}

.wx-card h3 em {
  font-style: italic;
  color: #8a7a4a;
}

.wx-desc {
  display: -webkit-box;
  overflow: hidden;
  margin: 0.55rem 0 0;
  color: var(--wx-muted);
  font-size: 0.72rem;
  line-height: 1.7;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.wx-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0.8rem 0 0;
}

.wx-tags span {
  padding: 0.25rem 0.45rem;
  border-radius: 0.25rem;
  background: #eef0e7;
  color: #617059;
  font-size: 0.6rem;
}

.wx-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 0.8rem;
  border-top: 1px solid #e8e8dd;
}

.wx-author {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  color: var(--wx-green);
  font-size: 0.68rem;
  text-decoration: none;
}

.wx-author > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wx-avatar {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 1.6rem;
  height: 1.6rem;
  border-radius: 50%;
  background: #e8ddc5;
  object-fit: cover;
  font-size: 0.64rem;
}

.wx-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.6rem;
}

.wx-view,
.wx-recap {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: none;
  color: var(--wx-green);
  font: 700 0.66rem var(--wx-body);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
}

.wx-recap {
  font-weight: 600;
  color: #8a6a25;
}

.wx-skel {
  height: 22rem;
  border-radius: 0.65rem;
  background: linear-gradient(100deg, #ecebe2 30%, #f4f3ec 50%, #ecebe2 70%) 0 0 / 200% 100%;
  animation: wx-shimmer 1.4s linear infinite;
}

@keyframes wx-shimmer {
  to {
    background-position: -200% 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wx-skel {
    animation: none;
  }
}

.wx-empty {
  grid-column: 1 / -1;
  padding: 3.4rem 1.25rem;
  border: 1px dashed var(--wx-line);
  border-radius: 0.5rem;
  text-align: center;
}

.wx-empty h3 {
  margin: 0;
  font: 400 1.4rem var(--wx-display);
}

.wx-empty p {
  margin: 0.6rem 0 1rem;
  color: var(--wx-muted);
  font-size: 0.82rem;
}

.wx-reset,
.wx-more {
  min-height: 2.75rem;
  padding: 0 1.1rem;
  border: 0;
  border-radius: 0.35rem;
  background: var(--wx-green);
  color: #fff;
  font: 600 0.8rem var(--wx-body);
  cursor: pointer;
}

.wx-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.6rem;
}

.wx-more[hidden] {
  display: none;
}

.wx-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2rem;
  padding: 1.5rem 1.7rem;
  border-radius: 0.5rem;
  background: #e9ebdf;
}

.wx-banner h2 {
  margin: 0.55rem 0 0.45rem;
  font: 400 1.45rem var(--wx-display);
  color: var(--wx-green);
}

.wx-banner p:not(.wx-eyebrow) {
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.76rem;
  line-height: 1.6;
}

.wx-banner-btn {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 1rem;
  border: 1px solid #a3ae98;
  border-radius: 0.35rem;
  color: var(--wx-green);
  font-size: 0.76rem;
  text-decoration: none;
  white-space: nowrap;
}

.wx-foot {
  margin: 1.9rem 0 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--wx-line);
  color: #8b9086;
  font: italic 400 1.05rem var(--wx-display);
}

.world-page :focus-visible {
  outline: 3px solid #b18c47;
  outline-offset: 3px;
}

@media (min-width: 1450px) {
  .wx-photo {
    height: 14.4rem;
  }
}

@media (max-width: 900px) {
  .wx-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .wx-stamp {
    display: none;
  }
  .wx-filters {
    flex-wrap: wrap;
  }
  .wx-search {
    flex-basis: 100%;
  }
}

@media (max-width: 560px) {
  .world-hero.wx-hero {
    padding: 1.75rem 1rem 0;
  }
  .wx-hero h1 {
    font-size: 2.1rem;
  }
  .wx-tabs.world-tabs {
    gap: 1.1rem;
  }
  .wx-main {
    padding: 1.25rem 1rem 1.6rem;
  }
  .wx-filters {
    gap: 0.5rem;
    padding-bottom: 1.25rem;
  }
  .wx-select {
    flex: 1 1 0;
    width: 0;
    height: 2.75rem;
    padding-left: 0.6rem;
    font-size: 0.72rem;
  }
  .wx-liked {
    height: 2.75rem;
    padding: 0 0.75rem;
    font-size: 0.72rem;
  }
  /* Narrow phones: the native arrow already sits in the select, so the extra right padding
     only clipped “Any duration”. */
  @media (max-width: 24rem) {
    .wx-filters {
      gap: 0.4rem;
    }
    .wx-select {
      padding-left: 0.5rem;
      padding-right: 0.2rem;
    }
    .wx-liked {
      padding: 0 0.55rem;
    }
  }
  .wx-bar {
    margin: 1.4rem 0 1rem;
  }
  .wx-bar h2 {
    font-size: 1.5rem;
  }
  .wx-sort > span {
    display: none;
  }
  .wx-grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .wx-photo {
    height: 13rem;
  }
  .wx-card h3 {
    font-size: 1.65rem;
  }
  .wx-banner {
    display: block;
    padding: 1.4rem;
  }
  .wx-banner-btn {
    margin-top: 1rem;
  }
}

/* World heart inside the shared card corner slot. */
.tc-slot .wx-heart {
  position: static;
}

/* ——— Leaderboards (journal style) ———
   Same column and grid as Itineraries: light intro on cream, three boarding-pass
   boards (podium + ranked list), then trending itineraries in the card grid. */
.wlb {
  --wlb-gold: #d2a94f;
  --wlb-silver: #a4abad;
  --wlb-bronze: #b8754a;
  --wlb-clay: #c0643f;
}

.wlb-intro {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem 2rem;
  padding-bottom: 1.4rem;
  border-bottom: 1px solid var(--wx-line);
}

.wlb-intro h2 {
  margin: 0.45rem 0 0.35rem;
  font: 400 clamp(1.8rem, 3vw, 2.2rem) / 1.15 var(--wx-display);
  letter-spacing: -0.01em;
  color: var(--wx-green);
}

.wlb-lede {
  max-width: 40rem;
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.86rem;
  line-height: 1.65;
}

.wlb-you {
  flex: 0 1 auto;
  max-width: 26rem;
  margin: 0;
  padding: 0.55rem 0.95rem;
  border: 1px dashed color-mix(in srgb, var(--wlb-gold) 75%, transparent);
  border-radius: 999px;
  background: #fbf3de;
  color: var(--wx-green);
  font-size: 0.78rem;
  font-weight: 500;
  line-height: 1.4;
}

.wlb-loading {
  padding: 3rem 1rem;
  text-align: center;
}

.wlb-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  align-items: start;
  margin-top: 1.55rem;
}

.wlb-board {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 1.25rem 1.25rem 1rem;
  border: 1px solid var(--wx-line);
  border-radius: 0.65rem;
  background: var(--wx-card);
  color: var(--wx-green);
  animation: wlb-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) both;
  animation-delay: calc(var(--i, 0) * 80ms);
}

.wlb-board-head {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 0.9rem;
  align-items: start;
}

.wlb-seal {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px dashed color-mix(in srgb, var(--wlb-clay) 55%, transparent);
  border-radius: 50%;
  color: var(--wlb-clay);
  transform: rotate(-8deg);
}

.wlb-seal svg {
  width: 1.35rem;
  height: 1.35rem;
}

.wlb-badge {
  margin: 0.1rem 0 0;
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a7a3c;
}

.wlb-board h3 {
  margin: 0.2rem 0 0.25rem;
  font: 400 1.4rem / 1.2 var(--wx-display);
  color: var(--wx-green);
}

.wlb-blurb {
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.78rem;
  line-height: 1.5;
}

/* Boarding-pass perforation between the head and the ranks. */
.wlb-perf {
  height: 0;
  margin: 1.1rem 0 1.15rem;
  border-top: 1.5px dashed var(--wx-line);
}

/* Podium: 1, 2 or 3 people, no tall blocks. */
.wlb-podium {
  display: grid;
  gap: 0.6rem;
  align-items: end;
}

.wlb-podium.is-three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wlb-podium.is-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 22rem);
  margin-inline: auto;
}

.wlb-spot {
  --ring: var(--wlb-silver);
  --tint: #f3f2ec;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
  padding: 0.95rem 0.4rem 0.8rem;
  border-radius: 0.6rem;
  background: var(--tint);
  color: inherit;
  text-align: center;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.wlb-spot.is-first {
  --ring: var(--wlb-gold);
  --tint: #faf1dc;
  padding-top: 1.35rem;
}

.wlb-spot.is-third {
  --ring: var(--wlb-bronze);
  --tint: #f7ece2;
}

.wlb-podium.is-three .wlb-spot.is-second { order: 1; }
.wlb-podium.is-three .wlb-spot.is-first { order: 2; }
.wlb-podium.is-three .wlb-spot.is-third { order: 3; }
.wlb-podium.is-two .wlb-spot.is-first { order: 1; }
.wlb-podium.is-two .wlb-spot.is-second { order: 2; }

@media (hover: hover) and (pointer: fine) {
  .wlb-spot:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px -14px rgba(19, 49, 38, 0.45);
  }
}

.wlb-spot.is-you {
  box-shadow: inset 0 0 0 1.5px color-mix(in srgb, var(--wlb-clay) 45%, transparent);
}

.wlb-face {
  position: relative;
  display: inline-block;
}

.wlb-avatar {
  display: grid;
  place-items: center;
  width: 3.2rem;
  height: 3.2rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e4e8dc;
  color: var(--wx-green);
  font: 400 1.25rem var(--wx-display);
  box-shadow: 0 0 0 2.5px var(--ring), 0 0 0 5px var(--wx-card);
}

.wlb-spot.is-first .wlb-avatar {
  width: 4rem;
  height: 4rem;
  font-size: 1.5rem;
}

.wlb-avatar.has-photo img,
.wlb-row-avatar.has-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Rank medal: a little passport stamp on the avatar. */
.wlb-medal {
  position: absolute;
  right: -0.45rem;
  bottom: -0.3rem;
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  border: 2px solid var(--wx-card);
  border-radius: 50%;
  background: var(--ring);
  color: #fff;
  font: 600 0.78rem / 1 var(--wx-display);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  transform: rotate(-10deg);
}

.wlb-spot-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  width: 100%;
  min-width: 0;
}

.wlb-place {
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wx-muted);
}

.wlb-name {
  max-width: 100%;
  overflow: hidden;
  font-size: 0.84rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: var(--wx-green);
}

.wlb-score {
  font-size: 0.74rem;
  color: var(--wx-muted);
}

.wlb-you-tag {
  display: inline-block;
  margin-left: 0.2rem;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--wlb-clay) 14%, transparent);
  color: var(--wlb-clay);
  font-family: var(--wx-body);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.04em;
  vertical-align: 0.1em;
}

/* One winner: a single ticket instead of a lone podium block. */
.wlb-podium.is-one {
  grid-template-columns: minmax(0, 1fr);
}

.wlb-podium.is-one .wlb-spot {
  flex-direction: row;
  justify-content: flex-start;
  gap: 1.1rem;
  padding: 1.05rem 1.1rem;
  border: 1px dashed color-mix(in srgb, var(--wlb-gold) 70%, transparent);
  text-align: left;
}

.wlb-podium.is-one .wlb-spot-text {
  align-items: flex-start;
}

.wlb-podium.is-one .wlb-name {
  font: 400 1.2rem / 1.25 var(--wx-display);
}

/* Ranks 4+ */
.wlb-list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.wlb-row {
  display: grid;
  grid-template-columns: 1.5rem minmax(0, 1fr) auto;
  gap: 0.65rem;
  align-items: center;
  padding: 0.5rem 0.35rem;
  border-top: 1px solid var(--wx-line);
}

.wlb-row.is-you {
  border-radius: 0.4rem;
  background: #fbf3de;
}

.wlb-row-num {
  font: 400 0.95rem var(--wx-display);
  color: var(--wx-muted);
  text-align: center;
}

.wlb-row a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.wlb-row strong {
  overflow: hidden;
  font-size: 0.82rem;
  font-weight: 600;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (hover: hover) and (pointer: fine) {
  .wlb-row a:hover strong {
    text-decoration: underline;
    text-underline-offset: 0.14em;
  }
}

.wlb-row-avatar {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 1.9rem;
  height: 1.9rem;
  overflow: hidden;
  border-radius: 50%;
  background: #e4e8dc;
  color: var(--wx-green);
  font: 400 0.85rem var(--wx-display);
}

.wlb-row-score {
  font-size: 0.74rem;
  color: var(--wx-muted);
  white-space: nowrap;
}

.wlb-foot {
  margin: auto 0 0;
  padding-top: 0.95rem;
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--wx-muted);
}

/* Nobody on the board yet. */
.wlb-empty {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 1rem 0.5rem 0.75rem;
  text-align: center;
}

.wlb-empty-stamp {
  display: grid;
  place-items: center;
  align-content: center;
  width: 4.2rem;
  height: 4.2rem;
  border: 1.5px dashed color-mix(in srgb, var(--wlb-clay) 45%, transparent);
  border-radius: 50%;
  color: color-mix(in srgb, var(--wlb-clay) 75%, transparent);
  font: italic 400 0.8rem / 1 var(--wx-display);
  transform: rotate(-8deg);
}

.wlb-empty-stamp b {
  font-size: 1.35rem;
  font-style: normal;
  font-weight: 400;
}

.wlb-empty p {
  max-width: 16rem;
  margin: 0;
  color: var(--wx-muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

/* Trending itineraries: heading + the Itineraries card grid, no panel. */
.wlb-trending {
  margin-top: 2.4rem;
  border-top: 1px solid var(--wx-line);
  animation: wlb-in 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) 0.24s both;
}

.wlb-bar {
  margin: 1.55rem 0 1.25rem;
}

.wlb-bar h2 {
  margin-top: 0.45rem;
}

.wlb-trips-empty {
  padding: 2.2rem 1.25rem;
}

.wlb-trips-empty p {
  margin: 0;
}

@keyframes wlb-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wlb-board,
  .wlb-trending {
    animation: none;
  }
  .wlb-spot {
    transition: none;
  }
  .wlb-spot:hover {
    transform: none;
  }
}

@media (max-width: 1080px) {
  .wlb-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  /* The odd third board takes the full row; keep its podium a sensible width. */
  .wlb-board:nth-child(3):last-child {
    grid-column: 1 / -1;
  }
  .wlb-board:nth-child(3):last-child .wlb-podium.is-three,
  .wlb-board:nth-child(3):last-child .wlb-podium.is-one,
  .wlb-board:nth-child(3):last-child .wlb-list {
    width: min(100%, 34rem);
    margin-inline: auto;
  }
}

@media (max-width: 760px) {
  .wlb-intro {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {
  .wlb-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 1.1rem;
    margin-top: 1.25rem;
  }
  .wlb-board:nth-child(3):last-child .wlb-podium.is-three,
  .wlb-board:nth-child(3):last-child .wlb-podium.is-one,
  .wlb-board:nth-child(3):last-child .wlb-list {
    width: auto;
  }
  .wlb-board {
    padding: 1.1rem 1rem 0.9rem;
  }
  .wlb-spot {
    padding-inline: 0.25rem;
  }
  .wlb-avatar {
    width: 2.9rem;
    height: 2.9rem;
  }
  .wlb-spot.is-first .wlb-avatar {
    width: 3.5rem;
    height: 3.5rem;
  }
  .wlb-trending {
    margin-top: 2rem;
  }
}

/* Ties (261001-banner1): equal scores share a rank; tied #1s are all gold. */
.wlb-spot.medal-1 {
  --ring: var(--wlb-gold);
  --tint: #faf1dc;
}
.wlb-spot.medal-2 {
  --ring: var(--wlb-silver);
  --tint: #f3f2ec;
}
.wlb-spot.medal-3 {
  --ring: var(--wlb-bronze);
  --tint: #f7ece2;
}
.wlb-row-num {
  display: grid;
  justify-items: center;
  line-height: 1.05;
}
.wlb-tie {
  font: 700 0.5rem/1.1 var(--wx-body, "DM Sans", system-ui, sans-serif);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--wlb-gold);
}
