.steam-routes {
  --steam-glass-line: #537785;
  box-sizing: border-box;
  padding: clamp(16px, 4vw, 36px);
  border: 1px solid #2d414e;
  border-radius: 24px;
  background: radial-gradient(ellipse at 86% 0%, #163853 0%, transparent 62%), #0b1118;
  color: #f2f7fc;
  font: 400 16px/1.35 Figtree, sans-serif;
}
.steam-routes-title {
  margin-bottom: 20px;
  font: 400 clamp(17px, 3vw, 25px)/1.35 Unbounded, sans-serif;
  text-wrap: balance;
}
.steam-route {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(22px, 8vw, 80px) minmax(0, 1fr);
  align-items: center;
}
.steam-route + .steam-route {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #2d414e;
}
.steam-route-inputs {
  display: grid;
  gap: 12px;
}
.steam-routes .steam-route-node {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  border: 1px solid #405667;
  border-radius: 14px;
  background: linear-gradient(140deg, #1d2c3b, #101923);
  color: inherit;
  text-decoration: none;
  box-shadow: inset 0 1px rgb(255 255 255 / 7%);
}
.steam-routes a.steam-route-node:hover,
.steam-routes a.steam-route-node:focus-visible {
  border-color: #9adee6;
}
.steam-route-node svg {
  flex: 0 0 23px;
  width: 23px;
  height: 23px;
  color: #add9ed;
}
.steam-route-node strong,
.steam-route-node small {
  display: block;
}
.steam-route-node small {
  margin-top: 3px;
  color: #c1d0dd;
  font-size: 0.875em;
}
.steam-routes .steam-route-output {
  border-color: #457283;
  background: linear-gradient(145deg, #17343e, #11232d);
}
.steam-route-lines {
  position: relative;
  height: 100%;
}
.steam-route-lines span {
  position: absolute;
  top: 50%;
  right: 3px;
  left: 0;
  border-top: 2px solid var(--steam-glass-line);
}
.steam-route-lines span::after {
  position: absolute;
  top: -5px;
  right: 0;
  width: 6px;
  height: 6px;
  transform: rotate(45deg);
  border-top: 2px solid #add9ed;
  border-right: 2px solid #add9ed;
  content: "";
}
.steam-route-store .steam-route-lines::before {
  position: absolute;
  inset: 25% 50% 25% 0;
  border: 2px solid var(--steam-glass-line);
  border-left: 0;
  border-radius: 0 8px 8px 0;
  content: "";
}
.steam-route-store .steam-route-lines span {
  left: 50%;
}
@media (max-width: 550px) {
  .steam-routes {
    font-size: 15px;
  }
  .steam-routes .steam-route-node {
    padding: 10px;
  }
  .steam-route-node svg {
    display: none;
  }
}
.steam-viewer-panels {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  gap: clamp(14px, 2.8vw, 26px);
}
.steam-viewer-panel {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 4;
  align-items: start;
  row-gap: 8px;
  min-width: 0;
}
.steam-viewer-panel > p {
  margin: 0 0 5px;
  color: #c1d0dd;
}
.steam-viewer-glass {
  display: grid;
  place-items: center;
  align-self: stretch;
  min-width: 0;
  padding: clamp(10px, 2.2vw, 20px);
  border: 1px solid #405667;
  border-radius: 18px;
  background: linear-gradient(145deg, #253747, #131c26 75%);
  box-shadow: inset 0 1px rgb(255 255 255 / 10%);
}
.steam-viewer-glass img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 340px;
  border-radius: 10px;
}
.steam-viewer-source {
  color: #bdceda;
  font-size: 0.81em;
}
@media (max-width: 590px) {
  .steam-viewer-panels {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 20px;
  }
  .steam-viewer-panel {
    grid-template-rows: auto;
    grid-row: auto;
  }
}

.steam-routes .steam-routes-title {
  color: inherit;
}
