:root {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
  color: #19384a;
  background: #e8f4f8;
  font-synthesis: none;
  letter-spacing: 0;
}
* { box-sizing: border-box; }
body { margin: 0; }
button { font: inherit; letter-spacing: 0; cursor: pointer; }
button:focus-visible { outline: 3px solid #bc2442; outline-offset: 4px; }
[hidden] { display: none !important; }
.sky-port { position: relative; min-height: 100vh; min-height: 100svh; isolation: isolate; overflow: clip; }
.scene { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 42% center; transform-origin: 28% 40%; animation: cloud-drift 24s ease-in-out infinite alternate; }
@keyframes cloud-drift {
  from { transform: scale(1.014) translate(0, 0); }
  to { transform: scale(1.025) translate(-3px, 2px); }
}
html[data-motion="paused"] .scene img,
html[data-motion="hidden"] .scene img { animation-play-state: paused; }
.masthead { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 24px 3.4%; }
.identity, .motion-toggle { background: rgb(255 255 255 / 88%); border: 1px solid rgb(255 255 255 / 96%); box-shadow: 0 4px 18px rgb(14 40 56 / 12%); backdrop-filter: blur(12px); }
.identity { min-height: 46px; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 8px; border-radius: 30px; font-size: 13px; font-weight: 600; }
.identity img { width: 32px; height: 32px; object-fit: contain; border-radius: 50%; }
.motion-toggle { flex: 0 0 46px; width: 46px; height: 46px; padding: 12px; border-radius: 50%; color: #24465a; }
.motion-toggle:hover { background: #fff; color: #b62040; }
.motion-toggle svg { display: block; width: 20px; height: 20px; }
.motion-toggle .play-icon { display: none; }
.motion-toggle[aria-pressed="true"] .pause-icon { display: none; }
.motion-toggle[aria-pressed="true"] .play-icon { display: block; }
main { min-height: calc(100vh - 94px); min-height: calc(100svh - 94px); display: flex; align-items: center; justify-content: flex-end; padding: 36px 5.5% 74px; }
.flightboard { width: 44%; max-width: 560px; min-width: 0; }
.board-heading { margin-bottom: 24px; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgb(255 255 255 / 82%); border: 1px solid #d0eaf3; border-radius: 4px; padding: 5px 10px; margin: 0 0 12px; color: #20647e; font-size: 12px; font-weight: 600; }
.eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: #d62346; }
.title-line { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
h1 { font-size: 42px; line-height: 1.25; margin: 0; font-weight: 800; text-shadow: 0 1px 8px rgb(255 255 255 / 75%); }
.port-mark { background: #203b4a; color: #fff; border-radius: 3px; padding: 4px 7px; font: 700 11px/1.2 Consolas, monospace; }
.intro { margin: 12px 0 0; font-size: 15px; line-height: 1.7; color: #2c4858; text-shadow: 0 1px 5px #fff; }
.links { display: grid; gap: 12px; }
.links button { width: 100%; min-height: 66px; display: grid; grid-template-columns: 34px minmax(0, 1fr) 22px; align-items: center; gap: 18px; padding: 14px 20px; text-align: left; border-radius: 8px; border: 1px solid #b6dfee; background: rgb(241 250 254 / 86%); color: #19384a; box-shadow: 0 6px 24px -4px rgb(12 38 70 / 14%), inset 0 1px 0 rgb(255 255 255 / 80%); backdrop-filter: blur(14px); transition: background-color 160ms, border-color 160ms; }
.links button:hover { background: rgb(255 255 255 / 97%); border-color: #2986aa; }
.links button:active { background: #d5eff8; }
.links button:disabled { cursor: wait; opacity: .72; }
.route-number { padding: 5px 0; border-radius: 4px; background: #d9eef6; color: #226885; font: 700 12px/1.4 Consolas, monospace; text-align: center; }
.route-name { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; line-height: 1.4; }
.links svg { width: 22px; height: 22px; stroke: #237d9e; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; fill: none; }
#nav-status { margin: 16px 0 0; background: #fff7f7; color: #8c2136; border-left: 3px solid #c42b4a; padding: 12px 14px; font-size: 14px; line-height: 1.6; overflow-wrap: anywhere; }
@media (min-width: 721px) and (max-width: 1050px) {
  main { padding-right: 4%; }
  .flightboard { width: 49%; }
  h1 { font-size: 34px; }
  .links button { gap: 12px; padding-inline: 16px; }
}
@media (max-width: 720px) {
  .scene { bottom: auto; height: 450px; }
  .scene img { object-position: 23% center; transform-origin: 30% 35%; }
  .scene::after { content: ""; position: absolute; inset: 280px 0 0; background: linear-gradient(transparent, #e8f4f8); pointer-events: none; }
  .masthead { padding: 16px; }
  .identity { font-size: 12px; padding-right: 12px; }
  main { min-height: 0; display: block; padding: 258px 20px 28px; }
  .flightboard { width: 100%; max-width: 520px; margin-inline: auto; }
  .board-heading { margin-bottom: 18px; }
  .eyebrow { margin-bottom: 10px; }
  h1 { font-size: 30px; }
  .intro { font-size: 13px; margin-top: 8px; }
  .links { gap: 10px; }
  .links button { min-height: 60px; gap: 12px; padding: 12px 16px; }
  .route-name { font-size: 17px; }
}
@media (max-width: 350px) {
  .masthead { padding: 12px; }
  main { padding: 250px 14px 24px; }
  h1 { font-size: 28px; }
  .title-line { gap: 8px; }
  .links button { padding-inline: 12px; gap: 10px; min-height: 58px; }
  .route-name { font-size: 16px; }
}
