/* Three distinct route blocks, matching the supplied pixel-art reference. */
.site-theme.compact-shell .expedition-progress.progress-refined {
  display: grid;
  grid-template-columns: minmax(0, 29fr) minmax(0, 52fr) minmax(0, 10fr);
  gap: 12px;
  height: 76px;
  min-height: 76px;
  padding: 7px 12px;
  background: linear-gradient(110deg, #08172e, #061127);
  border: 2px solid transparent !important;
  border-image: url("/static/game/ui/pixel-gold-frame.8917bbdb0a7c.svg?v=20261011-frame2") 12 / 12px / 2px stretch !important;
  border-radius: 0 !important;
  clip-path: var(--pixel-frame-clip);
  box-shadow: none !important;
  text-shadow: 1px 2px #020817;
}
.site-theme.compact-shell .progress-refined .biome-identity {
  width: auto;
  height: 100%;
  padding: 0 12px 0 0;
  gap: 9px;
  border-right: 2px solid #284d80;
}
.site-theme.compact-shell .progress-refined .biome-identity > img {
  width: 44px;
  height: 44px;
  border-radius: 5px;
  border: 2px solid #f2ce68;
  outline: 2px solid #030c1b;
  object-fit: cover;
}
.site-theme.compact-shell .progress-refined .biome-identity > div {
  display: grid;
  gap: 3px;
}
.site-theme.compact-shell .progress-refined .biome-identity small {
  font:
    400 13px/1 ArcadePixel,
    sans-serif;
  letter-spacing: 1px;
  color: #95c9f4;
}
.site-theme.compact-shell .progress-refined .biome-identity strong {
  font:
    400 18px/1.02 ArcadePixel,
    sans-serif;
  color: #ffe18a;
}
.site-theme.compact-shell .progress-refined .journey-route {
  display: grid;
  justify-items: center;
  align-content: center;
  row-gap: 4px;
  width: 100%;
  align-self: center;
}
.site-theme.compact-shell .progress-refined .track-caption {
  justify-content: center;
  margin: 0;
  text-align: center;
}
.site-theme.compact-shell .progress-refined .track-caption strong {
  font:
    400 12px/1 ArcadePixel,
    sans-serif;
  letter-spacing: 0.8px;
  color: #ffda69;
}
.site-theme.compact-shell .progress-refined .journey-track {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  width: min(100%, 340px);
  height: 36px;
  align-items: center;
  min-height: 0;
  padding: 0;
  margin: 0 auto;
  background: none;
  border: 0;
}
.site-theme.compact-shell .progress-refined .journey-track::before,
.site-theme.compact-shell .progress-refined .journey-track::after {
  left: 17px;
  right: 17px;
  height: 3px;
  box-shadow:
    inset 0 1px #5077a7,
    0 1px #020a18;
}
.site-theme.compact-shell .progress-refined .journey-track::before {
  background: #284c78;
}
.site-theme.compact-shell .progress-refined .journey-track::after {
  width: calc((100% - 34px) * var(--progress));
  max-width: calc(100% - 34px);
  background: #c49a3f;
  box-shadow:
    inset 0 1px #ffe18a,
    0 1px #020a18;
}
.site-theme.compact-shell .progress-refined .track-stop {
  flex: 0 0 36px;
  width: 36px;
  max-width: none;
  height: 36px;
  padding: 2px;
  border: 2px solid #5b8fbe;
  background: linear-gradient(#1b3658, #10223e);
  box-shadow:
    inset 0 0 0 2px #050e21,
    0 2px #020919;
  transform: none;
  animation: none;
}
.site-theme.compact-shell .progress-refined .track-stop-mark {
  font:
    400 24px/1 ArcadePixel,
    sans-serif;
  color: #f4e6c2;
}
.site-theme.compact-shell .progress-refined .track-stop.current {
  border-color: #ffe38c;
  background: linear-gradient(#af7b25, #72531e);
  box-shadow:
    inset 0 0 0 2px #503b16,
    0 2px #020919;
}
.site-theme.compact-shell .progress-refined .track-stop.current::before {
  top: -9px;
  left: calc(50% - 7px);
  width: 14px;
  height: 6px;
  background: #ffda69;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  transform: none;
}
.site-theme.compact-shell .progress-refined .track-stop.caught,
.site-theme.compact-shell .progress-refined .track-stop.completed,
.site-theme.compact-shell .progress-refined .track-stop.event {
  border-color: #74adbc;
  background: #173c4b;
}
.site-theme.compact-shell .progress-refined .track-destination {
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 3px;
  height: 100%;
  padding-left: 12px;
  padding-top: 0;
  border-left: 2px solid #284d80;
}
.site-theme.compact-shell .progress-refined .track-destination .shop-stop {
  width: 44px;
  height: 44px;
  border-radius: 8px !important;
  border-color: #f2ce68;
  cursor: pointer;
}
.site-theme.compact-shell .progress-refined .track-shop-art {
  display: block;
  width: 86%;
  height: 86%;
  margin: auto;
  image-rendering: pixelated;
}
.site-theme.compact-shell .progress-refined .track-destination > span {
  white-space: nowrap;
  font:
    400 12px/1 ArcadePixel,
    sans-serif;
  color: #95c9f4;
}
.site-theme.compact-shell .progress-refined.progress-safari {
  grid-template-columns: minmax(0, 29fr) minmax(0, 62fr);
}
@media (max-width: 680px) {
  .site-theme.compact-shell .expedition-progress.progress-refined {
    grid-template-columns: minmax(0, 26fr) minmax(0, 52fr) minmax(0, 11fr);
    gap: 8px;
    padding: 7px 10px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity {
    gap: 7px;
    padding-right: 8px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity > img {
    width: 40px;
    height: 40px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity small {
    font-size: 13px;
    letter-spacing: 0;
  }
  .site-theme.compact-shell .progress-refined .biome-identity strong {
    font-size: 17px;
  }
  .site-theme.compact-shell .progress-refined .track-stop {
    flex-basis: 30px;
    width: 30px;
    height: 30px;
  }
  .site-theme.compact-shell .progress-refined .track-destination {
    padding-left: 8px;
  }
  .site-theme.compact-shell .progress-refined .track-destination .shop-stop {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 520px) {
  .site-theme.compact-shell .expedition-progress.progress-refined {
    grid-template-columns: minmax(0, 1fr) 58px;
    grid-template-rows: 32px 52px;
    height: 112px;
    min-height: 112px;
    gap: 4px 8px;
    padding: 10px 12px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity {
    grid-column: 1;
    height: 32px;
    border-right: 0;
  }
  .site-theme.compact-shell .progress-refined .biome-identity > img {
    width: 30px;
    height: 30px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity > div {
    gap: 1px;
  }
  .site-theme.compact-shell .progress-refined .biome-identity strong {
    font-size: 20px;
  }
  .site-theme.compact-shell .progress-refined .journey-route {
    grid-row: 2;
  }
  .site-theme.compact-shell .progress-refined .track-caption {
    margin-bottom: 0;
  }
  .site-theme.compact-shell .progress-refined .track-caption strong {
    font-size: 12px;
  }
  .site-theme.compact-shell .progress-refined .journey-track {
    gap: 2px;
    height: 27px;
  }
  .site-theme.compact-shell .progress-refined .track-stop {
    flex: 0 1 28px;
    width: 28px;
    height: 27px;
  }
  .site-theme.compact-shell .progress-refined .track-stop-mark {
    font-size: 23px;
  }
  .site-theme.compact-shell .progress-refined .track-destination {
    grid-column: 2;
    grid-row: 1 / 3;
  }
  .site-theme.compact-shell .progress-refined .track-destination > span {
    font-size: 14px;
  }
  .site-theme.compact-shell .progress-refined.progress-safari {
    grid-template-columns: 1fr;
  }
}

.site-theme.compact-shell .progress-refined .track-stop.caught::after {
  display: none;
}
.site-theme.compact-shell .progress-refined .track-stop .track-caught-ball {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 13px;
  height: 13px;
  margin: 0;
  object-fit: contain;
  filter: none;
  z-index: 2;
}
