.landmark-inline {
  display: inline;
  padding: 0;
  border: 0;
  color: #7e455f;
  background: transparent;
  font: inherit;
  font-weight: 720;
  text-decoration: underline;
  text-decoration-color: #dfacc0;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  cursor: pointer;
}
.landmark-inline:hover { color: #a94f75; text-decoration-color: currentColor; }
.landmark-inline:focus-visible { border-radius: 3px; outline: 2px solid #d68faa; outline-offset: 3px; }

.landmark-dialog {
  width: min(100% - 28px, 520px);
  max-height: min(82dvh, 620px);
  padding: 0;
  border: 1px solid #efd9e3;
  border-radius: 22px;
  color: #574653;
  background: #fffdfd;
  box-shadow: 0 24px 72px rgba(90, 60, 77, .22);
  overflow: hidden;
}
.landmark-dialog[open] { display: flex; flex-direction: column; }
.landmark-dialog::backdrop { background: rgba(67, 47, 61, .42); backdrop-filter: blur(3px); }
.landmark-dialog > header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 19px 21px; border-bottom: 1px solid #f0dce6; }
.landmark-dialog > header span { color: #ba7893; font-size: 12px; font-weight: 700; letter-spacing: .08em; }
.landmark-dialog > header h2 { margin: 5px 0 0; font-size: clamp(20px, 5vw, 24px); font-weight: 700; line-height: 1.35; }
.landmark-dialog > header button { min-width: 58px; min-height: 42px; border: 1px solid #f0dce6; border-radius: 999px; color: #81576b; background: #fff6f9; font: inherit; font-size: 14px; font-weight: 650; cursor: pointer; }
.landmark-dialog__body { padding: 20px 22px 24px; overflow: auto; }
.landmark-dialog__body p { margin: 0; color: #665462; font-size: 16px; line-height: 1.8; }
.landmark-dialog__body a { display: inline-flex; align-items: center; min-height: 44px; margin-top: 14px; color: #985d76; font-size: 14px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 3px; }

.back-to-top {
  position: fixed;
  z-index: 25;
  right: max(18px, env(safe-area-inset-right));
  bottom: max(20px, env(safe-area-inset-bottom));
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 17px;
  border: 1px solid #edc8d7;
  border-radius: 999px;
  color: #764a5f;
  background: rgba(255, 248, 251, .96);
  box-shadow: 0 8px 24px rgba(110, 71, 91, .16);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  backdrop-filter: blur(10px);
}
.back-to-top span { font-size: 17px; line-height: 1; }
.back-to-top:hover { color: #a94f75; background: #fff0f5; }
.back-to-top[hidden] { display: none; }

.flight-segment a {
  display: inline-block;
  min-height: 30px;
  max-width: 100%;
  color: inherit;
  font-family: var(--font-data);
  font-size: 16px;
  font-weight: 750;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.flight-segment a:hover { color: #9b5874; text-decoration-style: solid; }

@media (max-width: 420px) {
  .flight-flow { grid-template-columns: var(--route-columns); }
  .flight-segment a { font-size: 15px; }
  .landmark-dialog > header { padding: 16px; }
  .landmark-dialog__body { padding: 17px 18px 21px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
