#through-history {
  width: min(680px, calc(100vw - 35px));
}
#through-history > form {
  position: sticky;
  top: -25px;
  z-index: 2;
  height: 0;
}
#through-history .dialog-close {
  top: 0;
  right: -20px;
  width: 36px;
  height: 36px;
  background: #182b2c;
}
#through-history h2 {
  max-width: 440px;
}
#through-history p {
  font-size: 13px;
  line-height: 1.8;
  color: #c3cfc3;
}
#through-history .through-lede {
  font-size: 15px;
}
#through-history section {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}
#through-history h3 {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  color: var(--gold);
  letter-spacing: 0;
}
.through-route {
  padding: 23px 14px 17px;
  margin: 28px 0 20px;
  background: #102425;
  border-radius: 5px;
}
.through-route ol {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding: 0;
  margin: 0;
  list-style: none;
}
.through-route li {
  position: relative;
  padding: 27px 3px 0;
  font-size: 12px;
  text-align: center;
}
.through-route li::before {
  position: absolute;
  top: 3px;
  left: 0;
  width: 100%;
  height: 8px;
  content: "";
  border-top: 2px solid var(--gold);
  border-bottom: 2px solid var(--gold);
}
.through-route li:first-child::before {
  left: 50%;
  width: 50%;
}
.through-route li:last-child::before {
  width: 50%;
}
.through-route li::after {
  position: absolute;
  top: 0;
  left: calc(50% - 7px);
  width: 13px;
  height: 13px;
  content: "";
  background: #102425;
  border: 2px solid var(--gold);
  border-radius: 50%;
}
.through-route span {
  display: block;
  margin-top: 4px;
  color: var(--gold);
}
.through-route figcaption {
  margin-top: 22px;
  font-size: 10px;
  color: #a5b8ae;
  text-align: center;
}
.through-explore {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.through-explore button {
  flex: 1;
  padding: 13px 15px;
  font-size: 12px;
  color: var(--gold);
  text-align: left;
  border: 1px solid var(--border);
  border-radius: 4px;
}
.through-explore button span {
  float: right;
  margin-left: 8px;
}
.through-explore button:hover {
  background: #ffffff0a;
}
.through-sources {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 11px;
  color: var(--gold);
}
.through-sources a {
  text-decoration: underline;
  text-underline-offset: 4px;
}
#through-history .history-timeline li {
  grid-template-columns: 90px 1fr;
  font-size: 12px;
  line-height: 1.7;
}
#through-history .through-proposals {
  padding: 20px 18px;
  background: #e2e3c807;
  border-radius: 5px;
}
.through-proposals .eyebrow {
  margin-bottom: 15px;
}
#through-history .through-model-note {
  margin-bottom: 0;
  font-size: 11px;
  color: #a5b8ae;
}
.lounge-boarding {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 15px;
  font-size: 12px;
  background: #102425;
  border-radius: 5px;
}
#through-history .lounge-boarding span {
  display: flex;
  gap: 8px;
  align-items: center;
}
.lounge-boarding i {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}
.boarding-wait {
  background: #ca71bd;
}
.boarding-prepare {
  background: #68b4df;
}
.boarding-go {
  background: #78c89a;
}
@media (max-width: 600px) {
  #through-views {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    width: 100%;
  }
  #through-views button {
    min-height: 40px;
  }
  body:has(#through-views:not([hidden])) #walk-controls {
    bottom: 350px;
  }
  #through-history h2 {
    font-size: 32px;
  }
  .through-explore {
    flex-direction: column;
  }
  .through-route {
    padding-right: 5px;
    padding-left: 5px;
  }
  .through-route li {
    font-size: 10px;
  }
  #through-history .history-timeline li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}
