:root {
  --ink-950: #0d1f2f;
  --ink-900: #13283d;
  --ink-800: #173652;
  --ink-700: #20537d;
  --ink-650: #2b5a87;
  --sea-500: #2f80c3;
  --sea-300: #79b7df;
  --paper-100: rgba(247, 244, 236, 0.94);
  --paper-80: rgba(255, 251, 244, 0.78);
  --paper-60: rgba(255, 251, 244, 0.62);
  --gold-500: #c88a3d;
  --gold-300: #ead0a6;
  --mist: rgba(255, 255, 255, 0.14);
  --line: rgba(16, 31, 48, 0.08);
  --shadow-lg: 0 24px 80px rgba(8, 30, 48, 0.16);
  --shadow-md: 0 16px 42px rgba(8, 30, 48, 0.12);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --font-display: "Songti SC", "Noto Serif SC", "STSong", serif;
  --font-body: "PingFang SC", "Hiragino Sans GB", "Noto Sans SC", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
}

body {
  position: relative;
  isolation: isolate;
  margin: 0;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-x: none;
  touch-action: pan-y pinch-zoom;
  font-family: var(--font-body);
  color: var(--ink-950);
  background:
    radial-gradient(circle at top left, rgba(121, 183, 223, 0.42), transparent 28%),
    radial-gradient(circle at bottom right, rgba(200, 138, 61, 0.16), transparent 24%),
    linear-gradient(180deg, #104672 0%, #2d74b0 16%, #d7ebf6 34%, #f6f0e7 60%, #f3ede5 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.08), transparent 44%),
    linear-gradient(180deg, rgba(8, 28, 45, 0.08), transparent 22%);
}

.app-shell {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  width: 100%;
  padding: 28px 18px 80px;
  overflow-x: hidden;
}

.ambient {
  position: absolute;
  z-index: 0;
  border-radius: 999px;
  filter: blur(8px);
}

.ambient-a {
  width: 240px;
  height: 240px;
  top: 50px;
  right: -50px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  opacity: 0.3;
}

.ambient-b {
  width: 220px;
  height: 220px;
  left: -40px;
  top: 380px;
  background: radial-gradient(circle, rgba(200, 138, 61, 0.18), transparent 68%);
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.1;
  background-image:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  mask-image: radial-gradient(circle at center, black 56%, transparent 96%);
}

.hero,
.content {
  position: relative;
  z-index: 1;
}

.content,
.view-panel,
.top-switcher {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
  overflow-x: hidden;
}

.hero-grid,
.overview-grid,
.timeline-list,
.hotel-grid,
.panel {
  width: 100%;
  max-width: 100%;
  margin-inline: auto;
}

.top-switcher {
  position: sticky;
  top: 14px;
  z-index: 9;
  padding-top: 6px;
}

.hero {
  padding: 12px 0 26px;
  overflow: clip;
}

.hero::before {
  content: "03·23";
  position: absolute;
  top: -34px;
  right: 0;
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 16vw, 10rem);
  line-height: 0.9;
  color: rgba(255, 255, 255, 0.12);
  letter-spacing: 0.06em;
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 6%;
  width: min(32vw, 360px);
  aspect-ratio: 1;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: inset 0 0 0 22px rgba(255, 255, 255, 0.03);
  opacity: 0.68;
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 740px;
}

.hero-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.panel-kicker,
.eyebrow {
  margin: 0 0 8px;
  color: rgba(19, 40, 61, 0.48);
  font-size: 0.8rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: rgba(255, 252, 247, 0.98);
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-shadow: 0 12px 30px rgba(10, 33, 53, 0.16);
}

.hero-summary {
  max-width: 620px;
  margin: 18px 0 0;
  color: rgba(247, 251, 255, 0.92);
  font-size: 1rem;
  line-height: 1.75;
  text-shadow: 0 8px 18px rgba(10, 33, 53, 0.12);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.92fr);
  gap: 18px;
  margin-top: 28px;
  align-items: start;
}

.spotlight-card,
.route-card,
.panel,
.detail-card,
.timeline-item,
.hotel-card,
.metric-card {
  border: 1px solid rgba(255, 255, 255, 0.58);
  background: linear-gradient(180deg, rgb(255, 252, 247), rgb(247, 241, 232));
  box-shadow: var(--shadow-lg);
  backdrop-filter: none;
}

.spotlight-card,
.route-card {
  min-height: 214px;
  padding: 24px;
  border-radius: var(--radius-xl);
}

.route-card {
  margin-top: 38px;
}

.spotlight-card,
.route-card,
.detail-card,
.timeline-item,
.hotel-card,
.metric-card,
.nav-pill {
  transition:
    transform 220ms cubic-bezier(0.19, 1, 0.22, 1),
    box-shadow 220ms cubic-bezier(0.19, 1, 0.22, 1),
    border-color 220ms cubic-bezier(0.19, 1, 0.22, 1),
    background-color 220ms cubic-bezier(0.19, 1, 0.22, 1);
}

.spotlight-card:hover,
.route-card:hover,
.detail-card:hover,
.timeline-item:hover,
.hotel-card:hover,
.metric-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 28px 84px rgba(8, 30, 48, 0.19);
}

.status-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: end;
}

.status-chip,
.nav-pill,
.route-node span,
.tag,
.phase-pill,
.hotel-badge,
.night-badge,
.city-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  word-break: keep-all;
}

.status-chip {
  min-height: 34px;
  padding: 0 14px;
  background: rgba(15, 100, 175, 0.1);
  color: var(--ink-900);
}

.spotlight-card h3 {
  margin: 16px 0 8px;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
}

.spotlight-card p {
  margin: 0;
  color: rgba(19, 40, 61, 0.82);
  line-height: 1.75;
}

.status-stamp {
  align-self: stretch;
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(19, 40, 61, 0.96), rgba(32, 83, 125, 0.92)),
    linear-gradient(145deg, rgba(255, 255, 255, 0.1), transparent);
  color: rgba(255, 252, 245, 0.96);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.status-stamp span {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.72;
}

.status-stamp strong {
  display: block;
  margin-top: 8px;
  font-size: 1.2rem;
  font-family: var(--font-display);
  line-height: 1.15;
}

.status-callout {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(15, 100, 175, 0.08), rgba(200, 138, 61, 0.16));
  color: rgba(19, 40, 61, 0.84);
  line-height: 1.65;
}

.spotlight-foot {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.mini-stat {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(15, 100, 175, 0.07);
}

.mini-stat strong {
  display: block;
  font-size: 1.08rem;
  color: var(--ink-900);
}

.mini-stat span {
  display: block;
  margin-top: 6px;
  color: rgba(19, 40, 61, 0.7);
  font-size: 0.92rem;
}

.section-heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.section-heading span {
  color: rgba(19, 40, 61, 0.56);
  font-size: 0.84rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.section-heading strong {
  font-family: var(--font-display);
  font-size: 1.2rem;
}

.route-caption {
  max-width: 30ch;
  margin: 12px 0 0;
  color: rgba(19, 40, 61, 0.72);
  line-height: 1.7;
}

.route-track {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.route-track::before {
  content: none;
}

.route-map-shell {
  position: relative;
  overflow: hidden;
  padding: 12px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(209, 143, 70, 0.18), transparent 34%),
    radial-gradient(circle at bottom left, rgba(27, 124, 201, 0.16), transparent 36%),
    linear-gradient(180deg, rgba(247, 244, 237, 0.96), rgba(255, 253, 249, 0.98));
  border: 1px solid rgba(19, 40, 61, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.74);
}

.route-map-shell::before,
.route-map-shell::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
}

.route-map-shell::before {
  inset: 18px auto auto 18px;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.42), transparent 70%);
}

.route-map-shell::after {
  inset: auto 18px 22px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(15, 100, 175, 0.1), transparent 72%);
}

.route-map-svg {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

.route-map-backdrop {
  fill: rgba(255, 252, 247, 0.72);
  stroke: rgba(19, 40, 61, 0.08);
  stroke-width: 2;
}

.route-map-shadow {
  fill: none;
  stroke: rgba(19, 40, 61, 0.12);
  stroke-width: 30;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-map-line {
  fill: none;
  stroke: url(#routeLineGradient);
  stroke-width: 12;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-stop-halo {
  fill: rgba(255, 255, 255, 0.86);
  stroke: rgba(19, 40, 61, 0.08);
  stroke-width: 2;
}

.route-stop-dot {
  fill: rgba(15, 100, 175, 0.98);
  stroke: rgba(255, 255, 255, 0.94);
  stroke-width: 5;
}

.route-map-stop[data-active="true"] .route-stop-dot {
  fill: #d29046;
}

.route-stop-index,
.route-stop-city,
.route-stop-date {
  text-anchor: middle;
}

.route-stop-index {
  fill: rgba(255, 255, 255, 0.96);
  font-size: 24px;
  font-weight: 700;
}

.route-stop-city {
  fill: rgba(19, 40, 61, 0.86);
  font-family: var(--font-display);
  font-size: 26px;
}

.route-stop-date {
  fill: rgba(19, 40, 61, 0.56);
  font-size: 16px;
  letter-spacing: 0.04em;
}

.route-stage-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}

.route-stage-card {
  min-width: 0;
  padding: 16px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 252, 247, 0.98), rgba(247, 241, 232, 0.92));
  border: 1px solid rgba(19, 40, 61, 0.08);
  box-shadow: 0 16px 40px rgba(10, 33, 53, 0.08);
}

.route-stage-card[data-active="true"] {
  background:
    linear-gradient(180deg, rgba(248, 242, 231, 0.98), rgba(255, 249, 241, 0.98)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(247, 243, 235, 0.96));
  border-color: rgba(200, 138, 61, 0.28);
  box-shadow: 0 18px 44px rgba(171, 109, 37, 0.12);
}

.route-stage-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.route-stage-topline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: linear-gradient(145deg, rgba(19, 40, 61, 0.94), rgba(32, 83, 125, 0.9));
  color: rgba(255, 255, 255, 0.96);
  font-size: 0.82rem;
  font-weight: 700;
}

.route-stage-card[data-active="true"] .route-stage-topline span {
  background: linear-gradient(145deg, #b46f29, #d8a15d);
}

.route-stage-topline strong {
  min-width: 0;
  font-family: var(--font-display);
  font-size: 1rem;
}

.route-stage-hotel,
.route-stage-meta {
  margin: 12px 0 0;
}

.route-stage-hotel {
  color: var(--ink-900);
  line-height: 1.55;
}

.route-stage-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 128, 195, 0.24);
}

.route-stage-link:hover {
  color: var(--ink-700);
}

.route-stage-window {
  display: block;
  margin-top: 10px;
  color: rgba(19, 40, 61, 0.56);
  font-size: 0.82rem;
}

.route-stage-meta {
  color: rgba(19, 40, 61, 0.68);
  font-size: 0.82rem;
  line-height: 1.5;
}

.section-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 0;
  padding: 10px;
  border-radius: 999px;
  background: rgba(10, 31, 52, 0.28);
  backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(11, 26, 40, 0.12);
}

.nav-pill {
  min-height: 42px;
  padding: 0 18px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, 0.78);
  cursor: pointer;
  transition: 160ms ease;
}

.nav-pill.active,
.nav-pill:hover {
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink-900);
}

.nav-pill:active {
  transform: translateY(1px) scale(0.985);
}

.content {
  position: relative;
  margin-top: 18px;
}

.view-panel {
  display: none;
  gap: 26px;
}

.view-panel.active {
  display: grid;
}

.panel {
  padding: 28px;
  border-radius: var(--radius-xl);
  background: linear-gradient(180deg, rgb(251, 246, 238), rgb(255, 253, 249));
}

.panel-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.4rem);
}

.panel-note {
  max-width: 460px;
  margin: 0;
  color: rgba(19, 40, 61, 0.72);
  line-height: 1.7;
}

.panel-kicker {
  color: rgba(19, 40, 61, 0.48);
}

.spotlight-card .eyebrow {
  color: rgba(19, 40, 61, 0.42);
}

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

.metric-card {
  padding: 18px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(245, 240, 231, 0.88), rgba(255, 255, 255, 0.94));
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: clip;
}

.metric-card span {
  display: block;
  color: rgba(19, 40, 61, 0.56);
  font-size: 0.84rem;
}

.metric-card strong {
  display: block;
  margin-top: 14px;
  font-size: 2rem;
  font-family: var(--font-display);
}

.metric-card small {
  display: block;
  margin-top: 8px;
  color: rgba(19, 40, 61, 0.72);
  line-height: 1.6;
}

.metric-card::before {
  content: "";
  position: absolute;
  inset: auto auto -34px -22px;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(47, 128, 195, 0.16), transparent 72%);
}

.metric-card:nth-child(2)::before,
.metric-card:nth-child(4)::before {
  inset: -36px -30px auto auto;
  background: radial-gradient(circle, rgba(200, 138, 61, 0.18), transparent 72%);
}

.metric-card:nth-child(1) {
  background: linear-gradient(180deg, rgb(246, 240, 228), rgb(255, 253, 249));
}

.metric-card:nth-child(2) {
  transform: translateY(16px);
}

.metric-card:nth-child(3) {
  background: linear-gradient(180deg, rgb(240, 247, 252), rgb(255, 255, 255));
}

.metric-card:nth-child(4) {
  transform: translateY(8px);
}

.overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.9fr);
  gap: 16px;
  margin-top: 20px;
}

.side-stack {
  display: grid;
  gap: 16px;
}

.detail-card {
  padding: 22px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
}

.detail-card h3 {
  margin: 10px 0 0;
  font-family: var(--font-display);
  font-size: 1.6rem;
}

.detail-card p {
  margin: 0;
  color: rgba(19, 40, 61, 0.76);
  line-height: 1.75;
}

.detail-topline,
.relay-topline,
.timeline-topline,
.hotel-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.tag {
  min-height: 30px;
  padding: 0 12px;
  background: rgba(15, 100, 175, 0.08);
  color: var(--ink-800);
}

.focus-card {
  background:
    linear-gradient(160deg, rgb(244, 238, 227), rgb(255, 252, 247)),
    linear-gradient(180deg, rgb(255, 255, 255), rgb(247, 243, 235));
}

.checklist-card {
  background:
    linear-gradient(180deg, rgb(243, 248, 252), rgb(255, 255, 255)),
    linear-gradient(180deg, rgb(255, 255, 255), rgb(247, 243, 235));
}

.relay-card {
  background:
    linear-gradient(180deg, rgb(252, 244, 233), rgb(255, 255, 255)),
    linear-gradient(180deg, rgb(255, 255, 255), rgb(247, 243, 235));
}

.detail-meta,
.hotel-meta,
.timeline-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 16px;
}

.phase-pill,
.hotel-badge,
.night-badge,
.city-chip {
  min-height: 30px;
  padding: 0 12px;
  background: rgba(19, 40, 61, 0.08);
  color: var(--ink-900);
}

.detail-list,
.hotel-list,
.timeline-listing {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.detail-list li,
.hotel-list li,
.timeline-listing li {
  position: relative;
  padding-left: 18px;
  color: rgba(19, 40, 61, 0.86);
  line-height: 1.7;
}

.detail-list li::before,
.hotel-list li::before,
.timeline-listing li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.68em;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(145deg, var(--gold-500), #e8c48b);
}

.place-link,
.place-inline-link,
.place-chip-link {
  color: inherit;
  text-decoration: none;
}

.place-link,
.place-inline-link {
  border-bottom: 1px solid rgba(47, 128, 195, 0.22);
}

.place-link:hover,
.place-inline-link:hover,
.place-chip-link:hover {
  color: var(--ink-700);
}

.place-link:active,
.place-inline-link:active,
.place-chip-link:active {
  opacity: 0.72;
}

.place-chip-link {
  display: inline-flex;
}

.status-callout .place-inline-link {
  border-bottom-color: rgba(19, 40, 61, 0.2);
}

.inline-sep {
  color: rgba(19, 40, 61, 0.46);
}

.timeline-list {
  display: grid;
  gap: 16px;
}

.timeline-item {
  border-radius: 28px;
  overflow: hidden;
  contain: paint;
}

.timeline-item[data-open="true"] {
  border-color: rgba(200, 138, 61, 0.3);
  background: linear-gradient(180deg, rgb(255, 249, 240), rgb(247, 243, 235));
}

.timeline-toggle {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.timeline-header {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: start;
  padding: 22px;
}

.day-badge {
  width: 72px;
  min-width: 72px;
  padding: 12px 10px;
  border-radius: 22px;
  background: linear-gradient(180deg, var(--ink-900), var(--sea-500));
  color: #fff;
  text-align: center;
  box-shadow: 0 16px 38px rgba(23, 54, 82, 0.22);
}

.day-badge strong {
  display: block;
  font-size: 1.3rem;
}

.day-badge span {
  display: block;
  margin-top: 6px;
  font-size: 0.82rem;
  opacity: 0.78;
}

.timeline-title h3 {
  margin: 6px 0 0;
  font-family: var(--font-display);
  font-size: 1.45rem;
}

.timeline-title p {
  margin: 10px 0 0;
  color: rgba(19, 40, 61, 0.72);
  line-height: 1.7;
}

.timeline-item[data-open="true"] .day-badge {
  background: linear-gradient(180deg, #9a5b18, #d29753);
  box-shadow: 0 16px 38px rgba(154, 91, 24, 0.22);
}

.expand-mark {
  align-self: center;
  font-size: 1.6rem;
  color: rgba(19, 40, 61, 0.38);
  transition: transform 220ms cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-item[data-open="true"] .expand-mark {
  transform: rotate(45deg);
}

.timeline-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 260ms cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-body-inner {
  min-height: 0;
  overflow: hidden;
}

.timeline-body-content {
  padding: 0 22px 22px 112px;
  opacity: 0.01;
  transform: translate3d(0, -8px, 0);
  transition:
    opacity 150ms ease,
    transform 220ms cubic-bezier(0.25, 1, 0.5, 1);
}

.timeline-place-row {
  margin-bottom: 12px;
  color: rgba(19, 40, 61, 0.86);
  font-weight: 600;
}

.timeline-route-block {
  margin-top: 16px;
  padding: 16px 18px;
  border-radius: 22px;
  border: 1px solid rgba(47, 128, 195, 0.14);
  background: linear-gradient(135deg, rgba(47, 128, 195, 0.08), rgba(200, 138, 61, 0.12));
}

.timeline-route-kicker {
  color: rgba(19, 40, 61, 0.52);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.timeline-route-list {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.timeline-route-item {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(19, 40, 61, 0.08);
}

.timeline-route-line {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  color: var(--ink-900);
  font-weight: 600;
  line-height: 1.6;
}

.timeline-route-link {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid rgba(47, 128, 195, 0.22);
}

.timeline-route-link:hover {
  color: var(--ink-700);
}

.timeline-route-link:active {
  opacity: 0.72;
}

.timeline-route-arrow {
  color: rgba(19, 40, 61, 0.42);
}

.timeline-route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline-route-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(19, 40, 61, 0.07);
  color: rgba(19, 40, 61, 0.72);
  font-size: 0.82rem;
  font-weight: 600;
}

.timeline-item[data-open="true"] .timeline-body {
  grid-template-rows: 1fr;
}

.timeline-item[data-open="true"] .timeline-body-content {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition-delay: 36ms;
}

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

.hotel-card {
  padding: 22px;
  border-radius: 28px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: clip;
}

.hotel-card h3 {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 1.55rem;
  line-height: 1.35;
}

.hotel-card p {
  margin: 12px 0 0;
  color: rgba(19, 40, 61, 0.76);
  line-height: 1.7;
}

.hotel-card::before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(90deg, rgba(15, 100, 175, 0.58), rgba(200, 138, 61, 0.62));
}

.hotel-card[data-status="当前入住"] {
  background:
    linear-gradient(180deg, rgb(245, 239, 227), rgb(255, 255, 255)),
    linear-gradient(180deg, rgb(255, 255, 255), rgb(247, 243, 235));
  border-color: rgba(200, 138, 61, 0.32);
}

.hotel-card[data-status="下一站"] {
  background:
    linear-gradient(180deg, rgb(241, 247, 252), rgb(255, 255, 255)),
    linear-gradient(180deg, rgb(255, 255, 255), rgb(247, 243, 235));
}

.hotel-card[data-status="已完成"]::before {
  background: linear-gradient(90deg, rgba(19, 40, 61, 0.36), rgba(121, 183, 223, 0.4));
}

.hotel-accent {
  margin-top: 18px;
  padding: 16px 18px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(47, 128, 195, 0.08), rgba(200, 138, 61, 0.12));
}

.hotel-contact-row {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.hotel-contact-row {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(19, 40, 61, 0.08);
}

.hotel-contact-label {
  padding-top: 8px;
  color: rgba(19, 40, 61, 0.48);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hotel-contact-value {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.hotel-phone-link,
.hotel-phone-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(47, 128, 195, 0.16);
  background: rgba(47, 128, 195, 0.08);
  color: var(--ink-800);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  width: fit-content;
  max-width: 100%;
}

.hotel-phone-link:hover {
  color: var(--ink-700);
}

.hotel-phone-link:active {
  opacity: 0.72;
}

.hotel-accent strong {
  display: block;
  color: var(--ink-900);
  font-size: 1rem;
}

.hotel-accent span {
  display: block;
  margin-top: 6px;
  color: rgba(19, 40, 61, 0.72);
}

@media (max-width: 980px) {
  .hero-grid,
  .overview-grid,
  .hotel-grid,
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .route-stage-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-card {
    margin-top: 0;
  }

  .metric-card:nth-child(2),
  .metric-card:nth-child(4) {
    transform: none;
  }
}

@media (max-width: 720px) {
  .app-shell {
    padding-top: calc(14px + env(safe-area-inset-top));
    padding-right: max(14px, env(safe-area-inset-right));
    padding-bottom: 56px;
    padding-left: max(14px, env(safe-area-inset-left));
  }

  .top-switcher {
    top: 10px;
    padding-top: max(4px, env(safe-area-inset-top));
  }

  .section-nav {
    padding: 8px;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: hidden;
    overscroll-behavior-x: none;
  }

  .nav-pill {
    min-height: 40px;
    padding: 0 16px;
    min-width: 0;
    flex: 1 1 0;
    font-size: 0.82rem;
  }

  .hero::before {
    right: -12px;
    top: -10px;
    font-size: clamp(4rem, 24vw, 6.5rem);
  }

  .hero::after {
    right: -44px;
    top: 10%;
    width: 220px;
  }

  .spotlight-card,
  .route-card,
  .panel,
  .detail-card,
  .hotel-card {
    border-radius: 24px;
  }

  .panel {
    padding: 20px 18px;
    margin-inline: auto;
  }

  .panel-head,
  .timeline-header,
  .hotel-topline,
  .detail-topline {
    display: block;
  }

  .panel-note {
    margin-top: 10px;
    max-width: none;
    font-size: 0.96rem;
  }

  .timeline-header {
    grid-template-columns: 1fr;
    padding: 16px;
    gap: 14px;
  }

  .status-layout {
    grid-template-columns: 1fr;
  }

  .status-stamp {
    min-width: 0;
  }

  .hero {
    padding: 6px 0 18px;
  }

  .hero-grid,
  .content,
  .overview-grid,
  .side-stack,
  .timeline-list,
  .hotel-grid {
    gap: 12px;
  }

  .content {
    margin-top: 14px;
  }

  .spotlight-card,
  .route-card {
    min-height: 0;
    padding: 18px 16px;
  }

  .route-caption {
    max-width: none;
    margin-top: 8px;
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .spotlight-card h3 {
    margin-top: 12px;
    font-size: clamp(1.7rem, 7vw, 2.05rem);
  }

  .status-topline {
    margin-bottom: 8px;
  }

  .status-layout {
    gap: 12px;
    align-items: start;
  }

  .metric-card,
  .detail-card,
  .hotel-card {
    padding: 16px;
  }

  .metric-card strong {
    margin-top: 10px;
    font-size: 1.8rem;
  }

  .detail-card h3,
  .hotel-card h3 {
    font-size: 1.36rem;
    line-height: 1.3;
  }

  .timeline-title h3 {
    font-size: 1.3rem;
  }

  .timeline-title p,
  .hotel-card p,
  .detail-card p,
  .spotlight-card p {
    font-size: 0.95rem;
    line-height: 1.68;
  }

  .timeline-topline {
    display: grid;
    gap: 10px;
    justify-items: start;
  }

  .timeline-meta,
  .detail-meta,
  .hotel-meta {
    margin-top: 12px;
  }

  .tag,
  .phase-pill,
  .hotel-badge,
  .night-badge,
  .city-chip {
    min-height: 28px;
    padding: 0 10px;
    font-size: 0.78rem;
    max-width: 100%;
  }

  .detail-list,
  .hotel-list,
  .timeline-listing {
    gap: 8px;
    margin-top: 14px;
  }

  .status-stamp {
    padding: 12px 14px;
    border-radius: 18px;
  }

  .status-stamp strong {
    font-size: 1.45rem;
  }

  .status-callout {
    margin-top: 12px;
    padding: 12px 14px;
    font-size: 0.92rem;
    line-height: 1.55;
  }

  .spotlight-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 12px;
    gap: 8px;
  }

  .mini-stat {
    padding: 12px 14px;
  }

  .mini-stat strong {
    font-size: 1rem;
  }

  .mini-stat span {
    font-size: 0.82rem;
  }

  .route-card .section-heading {
    gap: 4px;
  }

  .route-card .section-heading strong {
    font-size: 1rem;
  }

  .route-track {
    gap: 10px;
    margin-top: 18px;
  }

  .route-map-shell {
    padding: 8px;
    border-radius: 22px;
  }

  .route-stop-index {
    font-size: 20px;
  }

  .route-stop-city {
    font-size: 21px;
  }

  .route-stop-date {
    font-size: 14px;
  }

  .route-stage-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .route-stage-card {
    padding: 14px;
  }

  .route-stage-topline span {
    width: 30px;
    height: 30px;
    font-size: 0.76rem;
  }

  .timeline-toggle:active {
    transform: none;
  }

  .hotel-accent {
    margin-top: 16px;
    padding: 14px 16px;
  }

  .timeline-body-content {
    padding: 0 16px 16px;
  }

  .timeline-place-row {
    margin-bottom: 10px;
    font-size: 0.92rem;
  }

  .timeline-route-block {
    margin-top: 14px;
    padding: 14px;
    border-radius: 18px;
  }

  .timeline-route-item {
    padding: 12px;
    border-radius: 16px;
  }

  .timeline-route-line {
    gap: 6px;
    font-size: 0.92rem;
  }

  .timeline-route-meta span {
    min-height: 26px;
    font-size: 0.76rem;
  }

  .day-badge {
    width: fit-content;
    min-width: 0;
    padding: 10px 16px;
  }

  .hotel-contact-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .hotel-contact-row {
    margin-top: 14px;
    padding-top: 14px;
  }

  .hotel-contact-label {
    padding-top: 0;
    font-size: 0.74rem;
  }

  .hotel-phone-link {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.86rem;
  }

  .spotlight-foot {
    margin-top: 14px;
  }
}

.nav-pill:focus-visible,
.timeline-toggle:focus-visible {
  outline: 2px solid rgba(200, 138, 61, 0.92);
  outline-offset: 2px;
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translate3d(0, 18px, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.hero-copy,
.hero-grid > *,
.view-panel.active > .hero,
.view-panel.active > .panel {
  animation: rise-in 720ms cubic-bezier(0.19, 1, 0.22, 1) both;
}

.hero-grid > *:nth-child(2) {
  animation-delay: 80ms;
}

.view-panel.active > .panel {
  animation-delay: 120ms;
}

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

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
