:root {
  color-scheme: dark;
  --ink: #10151e;
  --ink-soft: #202733;
  --cream: #15212e;
  --paper: #f6f1e6;
  --paper-deep: #1b2734;
  --surface: #1b2734;
  --surface-raised: #202c39;
  --coral: #ff786f;
  --coral-soft: #3b2a2e;
  --lavender: #a799f4;
  --muted: #bac4ce;
  --line: #394958;
  --white: #fffefa;
  --mobile-nav-height: 68px;
  --mobile-nav-glass: rgba(255, 255, 255, 0.12);
  --mobile-nav-label: rgba(246, 238, 216, 0.86);
  --mobile-nav-rim: rgba(246, 238, 216, 0.34);
  --mobile-nav-selection: rgba(246, 238, 216, 0.22);
  --mobile-nav-selected-label: #f6eed8;
  --mobile-nav-shadow: 0 20px 58px rgba(1, 19, 20, 0.36), inset 0 1px 0 rgba(255, 255, 255, 0.42), inset 0 -1px 0 rgba(2, 20, 21, 0.25);
  --mono: "DM Mono", "SFMono-Regular", Consolas, monospace;
  --sans: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  font-family: var(--sans);
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--cream);
  color: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--cream);
  color: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 0.2em;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 4px;
  border-radius: 4px;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 10px;
  left: 10px;
  padding: 10px 15px;
  transform: translateY(-150%);
  background: var(--white);
  color: var(--ink);
}

.skip-link:focus {
  transform: translateY(0);
}

.topbar {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 26px);
  min-height: 76px;
  padding: 0 clamp(18px, 4vw, 66px);
  background: var(--ink);
  color: var(--paper);
}

.brand {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 11px;
  color: var(--paper);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font: 700 10px/1 var(--mono);
  letter-spacing: 0.04em;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.brand-name {
  color: var(--paper);
  font: 600 14px/1 var(--sans);
  letter-spacing: 0.16em;
}

.brand-detail {
  color: #91aaa5;
  font: 9px/1 var(--mono);
  letter-spacing: 0.12em;
}

.brand-mark,
.brand-name,
.brand-detail {
  white-space: nowrap;
}

.topbar-date {
  font-variant-numeric: tabular-nums;
}

.topbar-actions {
  display: flex;
  min-width: 0;
  margin-left: auto;
  align-items: center;
  gap: clamp(12px, 2vw, 25px);
}

.mobile-nav {
  display: none;
}

.brand-detail {
  text-transform: uppercase;
}

.brand-copy > span {
  display: block;
}

.brand-name {
  color: var(--paper);
}

.topbar-date {
  flex: 0 0 auto;
  color: #9ca1a8;
  font: 10px/1 var(--mono);
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.site-nav {
  position: fixed;
  z-index: 35;
  top: 50%;
  right: clamp(14px, 2vw, 30px);
  display: flex;
  width: 82px;
  align-items: stretch;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
  border: 1px solid var(--mobile-nav-rim);
  border-radius: 999px;
  background: var(--mobile-nav-glass);
  box-shadow: var(--mobile-nav-shadow);
  backdrop-filter: blur(30px) saturate(1.8) brightness(1.12);
  -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.12);
  transform: translateY(-50%);
}

.site-nav a {
  display: flex;
  min-width: 72px;
  min-height: 64px;
  padding: 5px 10px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2px;
  border: 1px solid transparent;
  border-radius: 999px;
  color: var(--mobile-nav-label);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: color 180ms, background-color 180ms, border-color 180ms, transform 180ms;
  -webkit-tap-highlight-color: transparent;
}

@media (min-width: 901px) and (max-width: 1300px) {
  .itinerary-section,
  .editorial-section {
    padding-right: 104px;
  }
}

.site-nav a[aria-current="page"] {
  border-color: rgba(255, 255, 255, 0.42);
  background: var(--mobile-nav-selection);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.16), 0 9px 24px rgba(0, 0, 0, 0.16);
  color: var(--mobile-nav-selected-label);
}

.site-nav a:active {
  transform: scale(0.97);
}

.site-nav a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.9);
  outline-offset: -4px;
}

@media (hover: hover) and (pointer: fine) {
  .site-nav a:not([aria-current="page"]):hover {
    background: rgba(246, 238, 216, 0.08);
  }
}

.site-nav__glyph {
  display: grid;
  width: auto;
  height: auto;
  place-items: center;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
}

.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: max(570px, calc(100svh - 76px));
  overflow: hidden;
  align-items: stretch;
  background: #111a2b;
  color: var(--white);
}

.hero-image,
.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 55%;
}

.hero::after {
  content: "";
  background:
    linear-gradient(90deg, rgba(9, 14, 24, 0.93) 0%, rgba(12, 17, 29, 0.76) 31%, rgba(13, 17, 29, 0.28) 74%, rgba(13, 17, 29, 0.18) 100%),
    linear-gradient(0deg, rgba(8, 13, 22, 0.62), transparent 34%);
}

.hero-overlay {
  display: flex;
  width: min(100%, 1440px);
  min-height: inherit;
  margin: 0 auto;
  padding: clamp(42px, 7vw, 104px) clamp(24px, 8vw, 132px) 34px;
  flex-direction: column;
  justify-content: space-between;
}

.hero-content {
  max-width: 700px;
  margin-top: clamp(20px, 6vh, 74px);
}

.eyebrow {
  margin: 0;
  color: var(--coral);
  font: 500 10px/1.5 var(--mono);
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

.hero .eyebrow span {
  margin-left: 16px;
  color: #d0ccd2;
}

.hero h1 {
  margin: 28px 0 20px;
  color: var(--white);
  font-size: clamp(58px, 8.4vw, 112px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.03;
}

.hero-copy {
  max-width: 465px;
  margin: 0;
  color: #e0dfe1;
  font-size: clamp(14px, 1.4vw, 17px);
  line-height: 1.9;
}

.hero-cta {
  display: inline-flex;
  min-height: 50px;
  margin-top: 31px;
  padding: 0 19px;
  align-items: center;
  gap: 25px;
  border: 1px solid rgba(255, 255, 255, 0.52);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease;
}

.hero-cta:hover {
  background: var(--white);
  color: var(--ink);
}

.hero-meta {
  display: flex;
  justify-content: space-between;
  color: #d1d0d1;
  font: 10px/1 var(--mono);
  letter-spacing: 0.14em;
}

.essentials {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(1200px, calc(100% - 48px));
  margin: 24px auto 0;
  padding: clamp(24px, 4vw, 45px);
  grid-template-columns: 1.08fr 1fr 1fr 1.18fr;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: var(--ink);
  box-shadow: 0 20px 55px rgba(16, 21, 30, 0.16);
  color: var(--paper);
}

.essential-intro,
.flight-card,
.base-card {
  min-width: 0;
  padding: 3px clamp(16px, 2.1vw, 29px);
}

.essential-intro {
  padding-left: 0;
}

.essential-intro h2 {
  margin: 13px 0 9px;
  color: var(--paper);
  font-size: 25px;
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.3;
}

.essential-intro > p:last-child,
.base-card p {
  margin: 0;
  color: #b9bec3;
  font-size: 11px;
  line-height: 1.7;
}

.flight-card,
.base-card {
  border-left: 1px solid #39404b;
}

.flight-label {
  display: block;
  margin-bottom: 14px;
  color: #aeb3ba;
  font: 10px/1 var(--mono);
  letter-spacing: 0.12em;
}

.flight-card > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--coral);
  font: 500 24px/1 var(--serif);
}

.flight-route {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--paper);
  font: 12px/1.3 var(--mono);
}

.flight-route i {
  color: var(--lavender);
  font-style: normal;
}

.flight-route small {
  display: block;
  margin-top: 5px;
  color: #9fa4aa;
  font: 10px/1 var(--mono);
}

.base-card strong {
  display: block;
  margin: 2px 0 9px;
  color: var(--paper);
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}

.itinerary-section,
.editorial-section {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  padding: 112px 0 0;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 40px;
}

.section-heading h2 {
  margin: 12px 0 10px;
  color: var(--paper);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 1.22;
}

.section-heading > p:last-child {
  max-width: 620px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.day-tabs {
  display: grid;
  margin-bottom: 25px;
  grid-template-columns: repeat(5, 1fr);
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
}

.day-tabs a {
  display: flex;
  min-height: 57px;
  padding: 0 14px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-right: 1px solid var(--line);
  color: var(--paper);
  font: 11px/1 var(--mono);
  text-decoration: none;
  transition: background 160ms ease;
}

.day-tabs a:first-child {
  border-radius: 11px 0 0 11px;
}

.day-tabs a:last-child {
  border-right: 0;
  border-radius: 0 11px 11px 0;
}

.day-tabs a:hover {
  background: var(--coral-soft);
}

.day-tabs a span {
  color: #aeb9c4;
  font-size: 9px;
}

.day-stack {
  display: grid;
  gap: 26px;
}

.day-card {
  padding: clamp(24px, 4.3vw, 52px);
  border: 1px solid #394958;
  border-radius: 20px;
  background: var(--surface);
  box-shadow: 0 13px 36px rgba(33, 37, 42, 0.035);
  scroll-margin-top: 90px;
}

.day-heading {
  display: grid;
  margin-bottom: 13px;
  align-items: start;
  grid-template-columns: 76px 1fr;
  gap: 17px;
}

.day-index {
  display: grid;
  width: 65px;
  height: 65px;
  place-items: center;
  border: 1px solid var(--coral);
  border-radius: 50%;
  color: var(--coral);
  font: 16px/1 var(--mono);
}

.day-date {
  margin: 0 0 4px;
  color: #b3bec8;
  font: 10px/1.4 var(--mono);
  letter-spacing: 0.08em;
}

.day-heading h2 {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.35;
}

.day-area {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.day-lead {
  max-width: 720px;
  margin: 18px 0 30px 93px;
  color: var(--muted);
  font-size: 13px;
}

.day-departure {
  display: grid;
  margin: 0 0 26px 93px;
  padding: 15px 18px;
  grid-template-columns: minmax(155px, 0.7fr) minmax(0, 1.3fr);
  gap: 10px 18px;
  border: 1px solid #40505f;
  border-left: 3px solid var(--coral);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.045);
}

.day-departure__time {
  display: grid;
  align-content: start;
  gap: 3px;
}

.day-departure__time > span {
  color: var(--coral);
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.1em;
}

.day-departure__time > strong {
  color: var(--paper);
  font: 500 24px/1.2 var(--mono);
}

.day-departure__time > small {
  color: #bac4ce;
  font-size: 10px;
}

.day-departure__route {
  display: flex;
  min-width: 0;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px 9px;
  color: var(--paper);
  font-size: 11px;
}

.day-departure__route > span[aria-hidden="true"] {
  color: var(--coral);
}

.day-departure__route > strong {
  color: #ffd0c9;
  font: 500 12px/1.4 var(--mono);
}

.day-departure > p {
  grid-column: 1 / -1;
  margin: 0;
  color: #c2cbd3;
  font-size: 11px;
  line-height: 1.7;
}

.timeline {
  display: grid;
  gap: 18px;
}

.timeline-stop {
  display: grid;
  min-width: 0;
  grid-template-columns: 77px minmax(0, 1fr);
  gap: 18px;
}

.timeline-stop--compact {
  align-items: start;
}

.timeline-stop--compact .timeline-time {
  padding-top: 7px;
}

.timeline-event {
  min-width: 0;
  padding: 3px 0 3px 15px;
  border-left: 1px solid var(--line);
}

.timeline-event strong {
  display: block;
  color: var(--paper);
  font-size: 12px;
  font-weight: 500;
}

.timeline-event p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.timeline-event small {
  display: block;
  margin-top: 3px;
  color: var(--detail);
  font-size: 9px;
  line-height: 1.5;
}

.timeline-time {
  display: flex;
  padding-top: 23px;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 9px;
  color: var(--paper);
  font: 10px/1.4 var(--mono);
  text-align: right;
}

.timeline-time time {
  max-width: 70px;
}

.timeline-dot {
  width: 7px;
  height: 7px;
  margin-top: 3px;
  flex: 0 0 7px;
  border: 1px solid var(--coral);
  border-radius: 50%;
  background: var(--surface);
}

.stop-card {
  min-width: 0;
  padding: 21px 22px;
  border: 1px solid #40515f;
  border-radius: 14px;
  background: var(--surface-raised);
}

.stop-card[id^="food-place-"] {
  scroll-margin-top: 92px;
}

.stop-card.is-unconfirmed {
  border-color: #a86660;
  background: #30272d;
}

.stop-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
}

.stop-title-row h3 {
  margin: 2px 0 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.source-label {
  display: block;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.55;
}

.verification-pill,
.status-inline {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: #e5eee8;
  color: #3b6b4e;
  font: 10px/1.5 var(--sans);
  white-space: nowrap;
}

.verification-pill.is-caution {
  background: var(--coral-soft);
  color: #ffc3ba;
}

.stop-note,
.caution-copy {
  margin: 10px 0 0;
  color: #c6cdd4;
  font-size: 12px;
  line-height: 1.75;
}

.travel-estimate {
  display: grid;
  margin-top: 13px;
  padding: 10px 12px;
  grid-template-columns: 1fr auto;
  gap: 2px 10px;
  border-left: 2px solid var(--coral);
  border-radius: 0 8px 8px 0;
  background: rgba(255, 255, 255, 0.045);
}

.travel-estimate__label {
  color: #ff958c;
  font: 9px/1.5 var(--mono);
  letter-spacing: 0.04em;
}

.travel-estimate > strong {
  color: var(--paper);
  font: 500 11px/1.5 var(--mono);
  text-align: right;
}

.travel-estimate__mode {
  grid-column: 1 / -1;
  color: #d4dae0;
  font-size: 10px;
  line-height: 1.6;
}

.travel-estimate > p {
  grid-column: 1 / -1;
  margin: 3px 0 0;
  color: #b3bec8;
  font-size: 10px;
  line-height: 1.65;
}

.confirmation-copy,
.caution-copy {
  color: #f2aaa2;
}

.detail-row {
  display: grid;
  margin-top: 15px;
  padding-top: 13px;
  grid-template-columns: 98px minmax(0, 1fr);
  column-gap: 12px;
  border-top: 1px solid #3d4b59;
  font-size: 12px;
}

.detail-label {
  color: #b3bdc6;
  font-size: 10px;
  letter-spacing: 0.03em;
}

.detail-row > p {
  margin: 0;
  color: var(--paper);
  line-height: 1.75;
}

.hours-row > p,
.hours-row > .caution-copy {
  grid-column: 2;
}

.hours-row .detail-label {
  grid-column: 1;
  grid-row: 1 / span 3;
}

.status-inline {
  display: table;
  margin-top: 5px;
  padding: 2px 7px;
}

.source-note {
  display: inline-block;
  margin-top: 5px;
  color: #b3bdc6;
  font-size: 10px;
  line-height: 1.7;
}

.source-note a {
  color: #c7d8ed;
}

.source-note a:hover {
  color: #ff9a90;
}

.hours-row .source-note {
  grid-column: 2;
}

.station-list {
  display: grid;
  min-width: 0;
  margin: 0;
  padding: 0;
  gap: 11px;
  list-style: none;
}

.station-item {
  display: flex;
  min-width: 0;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
}

.station-item strong,
.station-item > div:first-child > span {
  display: block;
}

.station-item strong {
  font-size: 12px;
  font-weight: 600;
}

.station-item > div:first-child > span {
  color: var(--muted);
  font-size: 10px;
}

.station-item .source-note {
  display: block;
}

.station-actions {
  display: grid;
  justify-items: end;
  gap: 3px;
  text-align: right;
}

.text-link,
.quiet-link {
  display: inline-block;
  width: fit-content;
  min-height: 38px;
  padding: 8px 10px;
  color: #c7d8ed;
  font-size: 10px;
  line-height: 1.55;
  text-decoration: underline;
}

.station-actions .text-link {
  min-height: 34px;
  padding: 6px 0 4px 8px;
  font-size: 10px;
}

.quiet-link {
  color: #bac4ce;
}

.place-actions {
  display: flex;
  margin-top: 16px;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.food-card-link {
  display: inline-flex;
  min-height: 38px;
  padding: 7px 10px;
  align-items: center;
  gap: 7px;
  border: 1px solid rgba(255, 120, 111, 0.42);
  border-radius: 999px;
  color: var(--coral);
  font-size: 10px;
  line-height: 1.4;
  text-decoration: none;
}

.food-card-link:hover,
.food-card-link:focus-visible {
  border-color: var(--coral);
  background: rgba(255, 120, 111, 0.1);
}

.map-button {
  display: inline-flex;
  min-height: 44px;
  padding: 0 15px;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(246, 238, 216, 0.36);
  border-radius: 999px;
  background: var(--coral);
  color: var(--ink);
  font-size: 11px;
  line-height: 1.4;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.map-button:hover {
  border-color: #ff9a90;
  background: #ff9a90;
  color: var(--ink);
}

.map-note {
  color: #b3bdc6;
  font-size: 10px;
}

.alert-card {
  margin: 0 0 22px 95px;
  padding: 19px 20px;
  border: 1px solid rgba(255, 120, 111, 0.55);
  border-radius: 14px;
  background: rgba(255, 120, 111, 0.12);
}

.alert-card > div {
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 12px;
}

.alert-mark {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border-radius: 50%;
  background: var(--coral);
  color: var(--ink);
  font: 600 14px/1 var(--mono);
}

.alert-card h3 {
  margin: 0;
  color: #ffd0c9;
  font-size: 14px;
}

.alert-card p {
  margin: 5px 0 7px;
  color: #f3c5bf;
  font-size: 12px;
  line-height: 1.8;
}

.transfers {
  margin: 30px 0 0 95px;
  padding-top: 25px;
  border-top: 1px solid var(--line);
}

.subsection-title {
  margin-bottom: 16px;
}

.subsection-title > span {
  color: #b3bdc6;
  font: 9px/1.4 var(--mono);
  letter-spacing: 0.14em;
}

.subsection-title h3 {
  margin: 4px 0 0;
  font-size: 18px;
  font-weight: 500;
}

.transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr));
  gap: 12px;
}

.transfer-card {
  min-width: 0;
  padding: 18px;
  border-radius: 13px;
  background: var(--ink-soft);
  color: var(--paper);
}

.transfer-heading {
  display: grid;
  gap: 8px;
}

.transfer-kicker {
  color: var(--coral);
  font: 9px/1.2 var(--mono);
  letter-spacing: 0.12em;
}

.transfer-heading strong {
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
}

.transfer-summary,
.line-path {
  margin: 10px 0 0;
  color: #d0d0ce;
  font-size: 11px;
  line-height: 1.7;
}

.transfer-estimate {
  display: flex;
  margin-top: 12px;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px 10px;
}

.transfer-estimate > span {
  color: #ff958c;
  font: 9px/1.5 var(--mono);
  letter-spacing: 0.08em;
}

.transfer-estimate > strong {
  color: var(--paper);
  font: 500 14px/1.4 var(--mono);
}

.transfer-estimate > small {
  color: #c5cbd1;
  font-size: 10px;
}

.transfer-estimate-note,
.travel-estimate-note {
  margin: 4px 0 0;
  color: #b9c2cb;
  font-size: 10px;
  line-height: 1.7;
}

.network-labels {
  display: flex;
  margin: 12px 0 0;
  flex-wrap: wrap;
  gap: 6px;
}

.network-labels span {
  padding: 4px 8px;
  border: 1px solid #515966;
  border-radius: 999px;
  color: #d8d5eb;
  font-size: 9px;
  line-height: 1.3;
}

.transfer-actions {
  display: flex;
  margin-top: 12px;
  align-items: center;
  flex-wrap: wrap;
  gap: 2px 8px;
}

.transfer-card .map-button {
  min-height: 40px;
  border-color: var(--coral);
  background: var(--coral);
  color: var(--ink);
}

.transfer-card .map-button:hover {
  border-color: var(--paper);
  background: var(--paper);
}

.transfer-card .quiet-link {
  color: #d1d1d3;
}

.transfer-card .source-note,
.transfer-card .source-note a {
  color: #b9bdc2;
}

.transfer-card > .source-note {
  margin-top: 11px;
}

.eats-section {
  padding-top: 125px;
}

.food-category-nav {
  display: flex;
  gap: 9px;
  margin: 0 0 42px;
  padding: 2px 0 10px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
}

.food-category-nav a {
  flex: 0 0 auto;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--text);
  background: var(--surface);
  font-size: 13px;
  text-decoration: none;
}

.food-category-nav a:hover,
.food-category-nav a:focus-visible {
  border-color: var(--coral);
  color: var(--coral);
}

.food-category {
  margin-top: 47px;
  scroll-margin-top: 100px;
}

.food-category__heading {
  margin-bottom: 16px;
}

.food-category__heading span {
  color: var(--detail);
  font-size: 12px;
}

.food-category__heading h3 {
  margin: 4px 0 0;
  color: var(--paper);
  font-size: clamp(23px, 3vw, 32px);
}

.place-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.place-grid .stop-card {
  padding: 22px;
}

.place-photo {
  margin: 0 0 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 11px;
  background: rgba(7, 14, 22, 0.3);
}

.place-photo img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.place-photo .source-note {
  display: block;
  margin: 4px 8px 6px;
  font-size: 9px;
}

.food-place-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 12px;
  margin-bottom: 13px;
}

.must-order {
  margin: 13px 0 15px;
  padding: 12px 14px;
  border: 1px solid rgba(157, 175, 190, 0.24);
  border-radius: 10px;
  background: rgba(10, 17, 25, 0.24);
}

.must-order h4 {
  margin: 0;
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.must-order ul {
  display: grid;
  gap: 9px;
  margin: 9px 0 8px;
  padding: 0;
  list-style: none;
}

.must-order li {
  min-width: 0;
}

.must-order__item.has-photo {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}

.must-order__photo {
  display: block;
  width: 88px;
  height: 70px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  object-fit: cover;
}

.must-order__item .source-note {
  display: block;
  margin-top: 4px;
  font-size: 9px;
}

.must-order li strong {
  display: block;
  color: var(--paper);
  font-size: 13px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.must-order__tag {
  display: inline-flex;
  margin-left: 7px;
  padding: 1px 6px;
  align-items: center;
  border: 1px solid rgba(255, 120, 111, 0.44);
  border-radius: 999px;
  color: #ff9a90;
  font-size: 9px;
  font-weight: 700;
  vertical-align: 2px;
  letter-spacing: 0.03em;
  white-space: nowrap;
}

.must-order li p {
  margin: 2px 0 0;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.must-order .source-note {
  display: block;
  margin-top: 6px;
  font-size: 10px;
}

.food-place-meta__labels {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.food-area-tag,
.thread-popular-tag {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  line-height: 1.45;
  white-space: nowrap;
}

.food-area-tag {
  border: 1px solid var(--line);
  background: #243342;
  color: var(--muted);
}

.thread-popular-tag {
  background: var(--coral);
  color: var(--ink);
  font-weight: 700;
}

.thread-post-link {
  color: var(--coral);
  font-size: 11px;
  font-weight: 600;
  text-decoration: none;
}

.thread-post-link:hover,
.thread-post-link:focus-visible {
  text-decoration: underline;
}

.thread-metrics {
  display: flex;
  flex: 1 1 100%;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin: 0;
  color: var(--muted);
  font: 10px/1.6 var(--mono);
}

.thread-metrics time {
  color: #929fab;
}

.souvenirs-section {
  padding-top: 125px;
}

.souvenir-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

.souvenir-card {
  max-width: 950px;
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid var(--line);
  border-radius: 19px;
  background: var(--surface);
}

.souvenir-card__top,
.souvenir-route {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.souvenir-category,
.souvenir-saved {
  color: var(--coral);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
}

.souvenir-saved {
  align-self: flex-start;
  padding: 6px 10px;
  border: 1px solid rgba(245, 123, 115, 0.38);
  border-radius: 999px;
  white-space: nowrap;
}

.souvenir-card h3 {
  margin: 8px 0 0;
  color: var(--paper);
  font-size: clamp(22px, 3vw, 30px);
}

.souvenir-note {
  margin: 20px 0 8px;
  color: var(--text);
  line-height: 1.8;
}

.souvenir-detail {
  margin-top: 24px;
}

.souvenir-options {
  display: grid;
  gap: 10px;
  margin: 10px 0 0;
  padding: 0;
  list-style: none;
}

.souvenir-options li {
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface-raised);
}

.souvenir-options li > a {
  color: var(--text);
  font-weight: 650;
  text-decoration: none;
}

.souvenir-options li > a:hover,
.souvenir-options li > a:focus-visible {
  color: var(--coral);
}

.souvenir-caution {
  margin: 16px 0 24px;
}

.souvenir-route {
  padding-top: 19px;
  border-top: 1px solid var(--line);
}

.souvenir-route p {
  max-width: 66ch;
  color: var(--detail);
  line-height: 1.7;
}

.souvenir-route strong {
  color: var(--text);
}

.souvenir-actions {
  display: flex;
  min-width: 210px;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding-top: 20px;
}

.stay-section {
  padding-bottom: 0;
}

.stay-card {
  display: grid;
  padding: clamp(25px, 5vw, 56px);
  grid-template-columns: 0.9fr 1.1fr;
  gap: 22px 42px;
  border-radius: 18px;
  background: var(--ink);
  color: var(--paper);
}

.stay-card h3 {
  margin: 8px 0;
  color: var(--paper);
  font-size: 22px;
  font-weight: 500;
}

.stay-card p {
  margin: 0;
  color: #c0c2c5;
  font-size: 12px;
  line-height: 1.8;
}

.stay-card .detail-label {
  color: var(--coral);
}

.stay-card .station-list {
  padding-left: 23px;
  border-left: 1px solid #4a505a;
}

.stay-card .station-item strong {
  color: var(--paper);
}

.stay-card .station-item > div:first-child > span {
  color: #b0b3b6;
}

.stay-card .station-item .source-note,
.stay-card .station-item .source-note a {
  color: #afb3b9;
}

.stay-card .station-actions .text-link,
.stay-card .station-actions .quiet-link {
  color: #f1d9d4;
}

.stay-airport {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #3e4550;
}

.stay-airport h3 {
  font-size: 17px;
}

.prep-section {
  padding-bottom: 100px;
}

.prep-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 13px;
}

.prep-grid article {
  min-height: 210px;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-raised);
}

.payment-offers {
  grid-column: 1 / -1;
  padding: 23px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--surface-raised);
}

.payment-offers > .eyebrow {
  margin: 0;
  color: var(--coral);
  font: 10px/1.5 var(--mono);
  letter-spacing: 0.1em;
}

.payment-offers > h3 {
  margin: 8px 0 4px;
  font-size: 19px;
}

.payment-offers__intro {
  max-width: 760px;
  margin: 0 0 16px;
  color: #c6cdd4;
  font-size: 12px;
  line-height: 1.8;
}

.payment-offers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 11px;
}

.payment-offer {
  min-width: 0;
  padding: 16px;
  border: 1px solid rgba(186, 196, 206, 0.18);
  border-radius: 12px;
  background: rgba(12, 23, 34, 0.38);
}

.payment-offer__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.payment-offer__top strong {
  color: var(--paper);
  font-size: 13px;
}

.payment-offer__top span {
  max-width: 58%;
  padding: 3px 7px;
  border: 1px solid rgba(255, 120, 111, 0.35);
  border-radius: 999px;
  color: #f4b9b2;
  font-size: 9px;
  line-height: 1.45;
  text-align: center;
}

.payment-offer h4 {
  margin: 11px 0 8px;
  color: var(--paper);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.55;
}

.prep-grid .payment-offer p {
  margin: 0;
  color: #c6cdd4;
  font-size: 11px;
  line-height: 1.75;
}

.prep-grid .payment-offer p + p {
  margin-top: 8px;
}

.payment-offer__sources {
  margin-top: 10px;
}

.prep-number {
  color: var(--coral);
  font: 13px/1 var(--mono);
}

.prep-grid h3 {
  margin: 20px 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.prep-grid p {
  margin: 0;
  color: #c6cdd4;
  font-size: 12px;
  line-height: 1.85;
}

.prep-grid article > p + p {
  margin-top: 12px;
}

.prep-contacts,
.prep-checklist {
  display: grid;
  gap: 9px;
  margin: 13px 0 0;
  padding: 0;
  list-style: none;
}

.prep-contacts li {
  border-top: 1px solid var(--line);
}

.prep-contacts a {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 8px;
  padding: 9px 0;
  align-items: center;
  color: var(--paper);
  text-decoration: none;
}

.prep-contacts a strong {
  color: var(--coral);
  font: 15px/1.4 var(--mono);
}

.prep-contacts a span {
  color: #c6cdd4;
  font-size: 11px;
  line-height: 1.6;
}

.prep-taiwan-contact {
  margin-top: 10px !important;
}

.prep-taiwan-contact a {
  color: #f1b7ae;
  font-weight: 600;
  white-space: nowrap;
}

.prep-fields {
  display: grid;
  gap: 0;
  margin: 12px 0 0;
}

.prep-fields > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
}

.prep-fields dt {
  color: #c6cdd4;
  font-size: 11px;
}

.prep-fields dd {
  margin: 0;
  color: #f2b9b0;
  font-size: 11px;
  text-align: right;
}

.prep-small-note {
  margin-top: 12px !important;
}

.prep-checklist label {
  display: grid;
  grid-template-columns: 18px minmax(0, 1fr);
  gap: 9px;
  align-items: start;
  color: #c6cdd4;
  font-size: 12px;
  line-height: 1.65;
  cursor: pointer;
}

.prep-checklist input {
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--coral);
}

.prep-checklist input:focus-visible,
.prep-contacts a:focus-visible,
.prep-app-link:focus-visible {
  outline: 2px solid var(--coral);
  outline-offset: 3px;
}

.prep-app-link {
  display: inline-flex;
  margin-top: 14px;
  padding: 10px 13px;
  font-size: 11px;
}

.prep-grid .source-note {
  display: block;
  margin-top: 10px;
  color: #b3bdc6;
  font-size: 10px;
  line-height: 1.65;
}

.prep-grid .source-note a {
  color: #d6c1be;
}

.last-checked-note {
  margin: 23px 0 0;
  color: #b3bdc6;
  font-size: 11px;
}

.site-footer {
  display: flex;
  min-height: 100px;
  padding: 22px max(24px, calc((100% - 1160px) / 2));
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: var(--ink);
  color: #b8bbc0;
}

.site-footer > p:first-child {
  color: #e5e1d9;
  font: 10px/1 var(--mono);
  letter-spacing: 0.14em;
}

.site-footer .source-note,
.site-footer .source-note a {
  color: #babdc3;
}

.loading-state,
.load-error {
  width: min(900px, calc(100% - 40px));
  min-height: 60vh;
  margin: auto;
  padding: 12vh 0;
  color: var(--muted);
}

@media (max-width: 900px) {
  .topbar {
    padding-right: 22px;
    padding-left: 22px;
  }

  .site-nav {
    gap: 2px;
  }

  .site-nav a {
    min-width: 58px;
    padding-right: 6px;
    padding-left: 6px;
    font-size: 10px;
  }

  .site-nav__glyph {
    font-size: 14px;
  }

  .essentials {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 26px;
  }

  .essential-intro,
  .flight-card:nth-child(3) {
    border-left: 0;
  }

  .flight-card:nth-child(2) {
    border-left: 1px solid #39404b;
  }

  .base-card {
    padding-top: 0;
  }

  .day-lead,
  .day-departure,
  .alert-card,
  .transfers {
    margin-left: 0;
  }

  .prep-grid {
    grid-template-columns: 1fr;
  }

  .prep-grid article {
    min-height: 0;
  }
}

@media (max-width: 760px) and (min-width: 621px) {
  .topbar {
    gap: 10px;
    padding-right: 16px;
    padding-left: 16px;
  }

  .topbar-date {
    display: none;
  }

  .site-nav a {
    min-width: 55px;
    padding-right: 4px;
    padding-left: 4px;
  }
}

@media (max-width: 620px) {
  :root {
    scroll-padding-top: 88px;
  }

  body {
    padding-bottom: calc(var(--mobile-nav-height) + 20px + env(safe-area-inset-bottom));
    overflow-x: clip;
  }

  .topbar {
    display: grid;
    min-height: 72px;
    padding: 12px 18px;
    grid-template-columns: 1fr auto;
    grid-template-rows: 40px;
  }

  .topbar-actions {
    display: contents;
  }

  .brand {
    align-self: center;
  }

  .brand-mark {
    width: 38px;
    height: 38px;
    flex-basis: 38px;
  }

  .topbar-date {
    grid-column: 2;
    grid-row: 1;
  }

  .site-nav {
    display: none;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    z-index: 40;
    isolation: isolate;
    inset: auto 0 max(14px, env(safe-area-inset-bottom));
    width: min(calc(100% - 24px), 500px);
    margin-inline: auto;
    padding: 4px;
    border: 1px solid var(--mobile-nav-rim);
    border-radius: 999px;
    background: var(--mobile-nav-glass);
    box-shadow: var(--mobile-nav-shadow);
    backdrop-filter: blur(30px) saturate(1.8) brightness(1.12);
    -webkit-backdrop-filter: blur(30px) saturate(1.8) brightness(1.12);
    opacity: 1;
    transform: translate3d(0, 0, 0);
    transition: opacity 180ms ease, transform 240ms var(--ease);
  }

  .mobile-nav[data-at-top="true"] {
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, calc(100% + 28px), 0);
  }

  .mobile-nav__surface {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    grid-template-rows: 1fr;
    gap: 3px;
  }

  .mobile-nav__selection {
    position: absolute;
    z-index: 0;
    top: 0;
    left: 0;
    width: calc(20% - 2.4px);
    height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.42);
    border-radius: 999px;
    background: var(--mobile-nav-selection);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), inset 0 -1px 0 rgba(255, 255, 255, 0.16), 0 9px 24px rgba(0, 0, 0, 0.16);
    pointer-events: none;
    transition: transform 240ms var(--ease);
    will-change: transform;
  }

  .mobile-nav a {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    min-height: 58px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 3px;
    padding: 5px 2px;
    border-radius: 999px;
    color: var(--mobile-nav-label);
    font-size: 0.61rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    line-height: 1.2;
    text-decoration: none;
    transition: color 180ms, background-color 180ms, transform 180ms;
    -webkit-tap-highlight-color: transparent;
  }

  .mobile-nav a[aria-current="page"] {
    color: var(--mobile-nav-selected-label);
  }

  .mobile-nav a:focus-visible {
    outline: 2px solid rgba(255, 255, 255, 0.9);
    outline-offset: -4px;
  }

  .mobile-nav a:active {
    transform: scale(0.97);
  }

  @media (hover: hover) and (pointer: fine) {
    .mobile-nav a:not([aria-current="page"]):hover {
      background: rgba(246, 238, 216, 0.08);
    }
  }

  .mobile-nav__glyph {
    display: grid;
    width: auto;
    height: auto;
    place-items: center;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.12);
  }

  @supports not ((backdrop-filter: blur(1px))) {
    .mobile-nav {
      background: rgba(18, 26, 30, 0.96);
    }

    .mobile-nav__selection {
      background: rgba(246, 238, 216, 0.32);
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .mobile-nav {
      transition: none;
    }
  }

  .hero {
    min-height: 650px;
    min-height: min(700px, max(540px, calc(100svh - 72px)));
    min-height: min(700px, max(540px, calc(100dvh - 72px)));
  }

  .hero-image {
    object-position: 57% center;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgba(9, 14, 24, 0.84), rgba(12, 17, 29, 0.38) 100%),
      linear-gradient(0deg, rgba(8, 13, 22, 0.76), transparent 68%);
  }

  .hero-overlay {
    padding: 32px 23px 22px;
  }

  .hero-content {
    margin-top: 24px;
  }

  .hero .eyebrow {
    font-size: 9px;
  }

  .hero .eyebrow span {
    display: block;
    margin: 8px 0 0;
  }

  .hero h1 {
    margin: 20px 0 15px;
    font-size: clamp(48px, 13.5vw, 65px);
  }

  .hero-cta {
    margin-top: 23px;
  }

  .hero-copy {
    max-width: 330px;
    font-size: 13px;
  }

  .hero-meta {
    font-size: 8px;
  }

  .essentials {
    width: calc(100% - 28px);
    margin-top: 18px;
    padding: 22px 16px;
    border-radius: 15px;
    row-gap: 22px;
  }

  .essential-intro,
  .flight-card,
  .base-card {
    padding-right: 10px;
    padding-left: 10px;
  }

  .essential-intro {
    padding-left: 0;
  }

  .flight-card:nth-child(2),
  .base-card {
    border-left: 1px solid #39404b;
  }

  .flight-card:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .essential-intro h2 {
    font-size: 21px;
  }

  .essential-intro > p:last-child,
  .base-card p {
    font-size: 10px;
  }

  .flight-card > strong {
    font-size: 21px;
  }

  .flight-route {
    font-size: 10px;
  }

  .flight-label {
    font-size: 8px;
  }

  .base-card strong {
    font-size: 13px;
  }

  .itinerary-section,
  .editorial-section {
    width: calc(100% - 28px);
    padding-top: 83px;
  }

  .section-heading {
    margin-bottom: 27px;
  }

  .section-heading h2 {
    font-size: clamp(30px, 9vw, 42px);
  }

  .section-heading > p:last-child {
    font-size: 12px;
  }

  .day-tabs {
    display: grid;
    margin-right: 0;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-radius: 10px;
  }

  .day-tabs a {
    min-width: 0;
    min-height: 51px;
    padding: 0 2px;
    gap: 4px;
    font-size: clamp(8px, 2.5vw, 10px);
    white-space: nowrap;
  }

  .day-tabs a span {
    font-size: 8px;
  }

  .day-card {
    padding: 22px 15px;
    border-radius: 16px;
  }

  .day-stack {
    gap: 15px;
  }

  .day-heading {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .day-index {
    width: 45px;
    height: 45px;
    font-size: 12px;
  }

  .day-heading h2 {
    font-size: 24px;
  }

  .day-area {
    font-size: 11px;
  }

  .day-lead {
    margin: 15px 0 23px;
    font-size: 12px;
  }

  .day-departure {
    margin-bottom: 22px;
    padding: 13px;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .day-departure__time {
    grid-template-columns: auto auto;
    align-items: baseline;
    justify-content: start;
    gap: 4px 10px;
  }

  .day-departure__time > span {
    grid-column: 1 / -1;
  }

  .day-departure__time > strong {
    font-size: 21px;
  }

  .day-departure__route {
    gap: 4px 7px;
    font-size: 10px;
  }

  .day-departure > p {
    font-size: 10px;
  }

  .timeline {
    gap: 13px;
  }

  .timeline-stop {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 8px;
  }

  .timeline-stop--compact .timeline-time {
    padding-top: 4px;
  }

  .timeline-time {
    padding-top: 16px;
    flex-direction: column-reverse;
    align-items: flex-end;
    gap: 7px;
    font-size: 8px;
  }

  .timeline-time time {
    max-width: 48px;
    overflow-wrap: anywhere;
  }

  .stop-card {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .stop-title-row {
    gap: 8px;
  }

  .stop-title-row h3 {
    font-size: 16px;
  }

  .verification-pill {
    padding: 3px 6px;
    font-size: 9px;
  }

  .source-label,
  .stop-note,
  .caution-copy {
    font-size: 10px;
  }

  .detail-row {
    margin-top: 12px;
    padding-top: 10px;
    grid-template-columns: 65px minmax(0, 1fr);
    column-gap: 7px;
    font-size: 10px;
  }

  .detail-label {
    font-size: 9px;
  }

  .detail-row > p {
    font-size: 10px;
  }

  .source-note {
    font-size: 9px;
    overflow-wrap: anywhere;
  }

  .station-item {
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .station-actions {
    width: 100%;
    justify-items: start;
    text-align: left;
  }

  .text-link,
  .quiet-link {
    min-height: 40px;
    padding: 8px 5px;
    font-size: 10px;
  }

  .station-actions .text-link {
    min-height: 40px;
    padding: 8px 5px;
  }

  .place-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .map-button {
    max-width: 100%;
    padding: 0 12px;
    font-size: 10px;
  }

  .alert-card {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .alert-card > div {
    grid-template-columns: 25px minmax(0, 1fr);
    gap: 8px;
  }

  .alert-mark {
    width: 24px;
    height: 24px;
  }

  .alert-card h3 {
    font-size: 12px;
  }

  .alert-card p {
    font-size: 10px;
  }

  .transfers {
    margin-top: 24px;
    padding-top: 19px;
  }

  .transfer-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .transfer-card {
    padding: 15px 12px;
  }

  .transfer-heading strong {
    font-size: 11px;
  }

  .transfer-summary,
  .line-path {
    font-size: 10px;
  }

  .eats-section {
    padding-top: 90px;
  }

  .food-category-nav {
    gap: 6px;
    margin-right: -14px;
    margin-bottom: 28px;
    padding-right: 14px;
  }

  .food-category-nav a {
    padding: 10px 12px;
    font-size: 11px;
  }

  .food-category {
    margin-top: 34px;
    scroll-margin-top: 90px;
  }

  .souvenirs-section {
    padding-top: 90px;
  }

  .souvenir-card {
    padding: 18px 13px;
  }

  .souvenir-card__top,
  .souvenir-route {
    flex-direction: column;
    gap: 12px;
  }

  .souvenir-route p {
    font-size: 12px;
  }

  .souvenir-actions {
    min-width: 0;
    padding-top: 0;
  }

  .place-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }

  .place-grid .stop-card {
    padding: 16px 12px;
  }

  .must-order__item.has-photo {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 8px;
  }

  .must-order__photo {
    width: 72px;
    height: 64px;
  }

  .stay-card {
    padding: 23px 17px;
    grid-template-columns: minmax(0, 1fr);
    gap: 19px;
  }

  .stay-card .station-list {
    padding: 15px 0 0;
    border-top: 1px solid #4a505a;
    border-left: 0;
  }

  .stay-card .station-item {
    flex-direction: column;
  }

  .stay-airport {
    grid-column: 1;
  }

  .prep-section {
    padding-bottom: 75px;
  }

  .prep-grid article {
    padding: 19px;
  }

  .payment-offers {
    padding: 19px;
  }

  .payment-offers__grid {
    grid-template-columns: 1fr;
  }

  .site-footer {
    min-height: 86px;
    padding: 20px 16px;
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }
}

@media (prefers-reduced-transparency: reduce), (prefers-contrast: more) {
  .mobile-nav,
  .site-nav {
    --mobile-nav-selected-label: #fff;
    border: 2px solid #777a80;
    background: #191b1f;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.34);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .mobile-nav a,
  .site-nav a {
    color: #fff;
  }

  .mobile-nav__selection {
    border-color: #9699a0;
    background: #414348;
    box-shadow: none;
  }

  .site-nav a[aria-current="page"] {
    border-color: #9699a0;
    background: #414348;
    box-shadow: none;
  }

}

@media (max-width: 380px) {
  .topbar {
    padding-right: 13px;
    padding-left: 13px;
  }

  .site-nav a {
    font-size: 10px;
  }

  .essentials {
    width: calc(100% - 20px);
    padding: 18px 11px;
  }

  .flight-card,
  .base-card {
    padding-right: 7px;
    padding-left: 7px;
  }

  .hero-overlay {
    padding-right: 20px;
    padding-left: 20px;
  }

  .timeline-stop {
    grid-template-columns: 43px minmax(0, 1fr);
    gap: 6px;
  }

  .stop-card {
    padding-right: 10px;
    padding-left: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
