:root {
  --ink: #172b2b;
  --muted: #687777;
  --paper: #f6f2e8;
  --paper-deep: #ece5d7;
  --white: #fffdf8;
  --green: #1d6258;
  --green-dark: #123f3a;
  --coral: #e76647;
  --gold: #e7b44c;
  --blue: #2c6c82;
  --line: rgba(23, 43, 43, 0.13);
  --shadow: 0 24px 60px rgba(26, 50, 47, 0.12);
  --radius-xl: 32px;
  --radius-lg: 22px;
  --radius-md: 15px;
  --sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --serif: "Noto Serif SC", "Songti SC", serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
body {
  margin: 0;
  max-width: 100%;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.65;
}
button, select { font: inherit; }
a { color: inherit; text-decoration: none; }
button { color: inherit; }

.skip-link {
  position: fixed;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 10px 16px;
  border-radius: 10px;
  background: var(--white);
  color: var(--green-dark);
}
.skip-link:focus { top: 16px; }

.hero {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  padding: 0 max(5vw, 28px) 82px;
  color: var(--white);
  background:
    radial-gradient(circle at 85% 18%, rgba(231, 180, 76, 0.25), transparent 24%),
    radial-gradient(circle at 14% 92%, rgba(44, 108, 130, 0.38), transparent 31%),
    linear-gradient(135deg, #173e3a 0%, #1d6258 58%, #184e4d 100%);
}
.topbar {
  position: relative;
  z-index: 5;
  max-width: 1240px;
  margin: 0 auto;
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255,255,255,.16);
}
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; letter-spacing: .04em; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.54);
  border-radius: 50%;
  font-family: var(--serif);
}
.nav-links { display: flex; gap: 30px; font-size: 14px; color: rgba(255,255,255,.78); }
.nav-links a:hover { color: #fff; }
.nav-compare {
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  padding: 9px 14px;
  background: rgba(255,255,255,.08);
  color: white;
  cursor: pointer;
}
.nav-compare span { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: 5px; border-radius: 50%; background: var(--coral); }
.nav-compare:disabled { opacity: .45; cursor: not-allowed; }

.hero-grid {
  position: relative;
  z-index: 3;
  max-width: 1240px;
  margin: 86px auto 0;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(340px, .65fr);
  gap: 9vw;
  align-items: center;
}
.hero-grid > *, .hero-copy, .hero-card { min-width: 0; }
.eyebrow, .section-kicker {
  margin: 0 0 16px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow { color: #bfe1d9; }
.hero h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(46px, 6vw, 82px);
  line-height: 1.12;
  letter-spacing: -.045em;
}
.hero h1 span { color: #f1c66c; }
.hero-lead { max-width: 660px; margin: 28px 0 0; color: rgba(255,255,255,.77); font-size: 18px; }
.hero-actions { display: flex; gap: 12px; margin-top: 38px; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s ease, background .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button.primary { background: var(--coral); color: #fff; }
.button.ghost { background: transparent; border-color: rgba(255,255,255,.35); color: #fff; }

.hero-card {
  position: relative;
  transform: rotate(1.5deg);
  padding: 26px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 28px;
  background: rgba(255,255,255,.11);
  box-shadow: 0 28px 80px rgba(3,22,20,.28);
  backdrop-filter: blur(18px);
}
.ticket-top { display: flex; justify-content: space-between; padding-bottom: 18px; color: rgba(255,255,255,.62); font-size: 10px; font-weight: 800; letter-spacing: .16em; border-bottom: 1px dashed rgba(255,255,255,.28); }
.ticket-route { display: grid; grid-template-columns: minmax(0,1fr) minmax(64px,1.3fr) minmax(0,1fr); gap: 14px; align-items: center; padding: 30px 0; text-align: center; }
.ticket-route strong { display: block; font-family: var(--serif); font-size: 25px; }
.ticket-route small { color: rgba(255,255,255,.6); }
.route-line { position: relative; height: 1px; background: rgba(255,255,255,.38); }
.route-line span { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #f0bd5b; color: var(--green-dark); }
.ticket-facts { margin: 0; display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
.ticket-facts div { padding: 14px; border-radius: 14px; background: rgba(255,255,255,.09); }
.ticket-facts dt { color: rgba(255,255,255,.58); font-size: 11px; }
.ticket-facts dd { margin: 2px 0 0; font-weight: 700; }
.ticket-note { margin-top: 18px; padding-top: 18px; border-top: 1px dashed rgba(255,255,255,.28); color: rgba(255,255,255,.64); font-size: 12px; text-align: center; }
.hero-orbit { position: absolute; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; }
.orbit-one { width: 460px; height: 460px; right: -120px; bottom: -210px; }
.orbit-two { width: 230px; height: 230px; right: -10px; bottom: -95px; }

.decision-strip {
  max-width: 1120px;
  margin: -34px auto 0;
  position: relative;
  z-index: 7;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.decision-strip article { padding: 22px 18px; border-right: 1px solid var(--line); }
.decision-strip article:last-child { border-right: 0; }
.decision-strip span { display: block; color: var(--muted); font-size: 11px; }
.decision-strip strong { display: block; margin-top: 3px; font-size: 14px; }

.section { max-width: 1240px; margin: 0 auto; padding: 110px max(4vw, 24px); }
.section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; margin-bottom: 36px; }
.section-heading.compact { align-items: flex-start; }
.section-kicker { color: var(--coral); }
.section h2 { margin: 0; font-family: var(--serif); font-size: clamp(30px, 4vw, 48px); line-height: 1.25; letter-spacing: -.035em; }
.section-heading p:not(.section-kicker) { max-width: 670px; margin: 12px 0 0; color: var(--muted); }
.sort-wrap { display: flex; align-items: center; gap: 10px; white-space: nowrap; }
.sort-wrap label { color: var(--muted); font-size: 13px; }
.sort-wrap select { padding: 10px 36px 10px 14px; border: 1px solid var(--line); border-radius: 12px; background: var(--white); color: var(--ink); }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.filter-chip { padding: 9px 15px; border: 1px solid var(--line); border-radius: 999px; background: transparent; cursor: pointer; }
.filter-chip:hover, .filter-chip.active { border-color: var(--green); background: var(--green); color: white; }

.city-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.city-card {
  position: relative;
  min-height: 336px;
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: rgba(255,253,248,.78);
  overflow: hidden;
  transition: transform .25s ease, box-shadow .25s ease, border .25s ease;
}
.city-card:hover { transform: translateY(-5px); border-color: rgba(29,98,88,.35); box-shadow: 0 18px 40px rgba(29,70,64,.1); }
.city-card::after { content: ""; position: absolute; width: 160px; height: 160px; right: -85px; top: -85px; border-radius: 50%; background: var(--accent-soft); }
.city-card.selected { box-shadow: inset 0 0 0 2px var(--green); }
.card-top { display: flex; justify-content: space-between; align-items: center; position: relative; z-index: 1; }
.rank-badge { color: var(--accent); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.compare-toggle { display: flex; align-items: center; gap: 6px; padding: 7px 10px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 12px; cursor: pointer; }
.compare-toggle.active { border-color: var(--green); background: var(--green); color: white; }
.city-card h3 { position: relative; z-index: 1; margin: 18px 0 3px; font-family: var(--serif); font-size: 30px; }
.city-card .combo { color: var(--accent); font-weight: 700; }
.city-card .summary { margin: 15px 0; color: var(--muted); font-size: 14px; }
.card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.card-tags span { padding: 5px 8px; border-radius: 7px; background: var(--accent-soft); color: var(--accent); font-size: 11px; font-weight: 700; }
.card-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: auto; }
.card-meta div { padding: 10px; border-radius: 10px; background: rgba(23,43,43,.035); }
.card-meta small { display: block; color: var(--muted); font-size: 10px; }
.card-meta strong { display: block; margin-top: 2px; font-size: 13px; }
.card-link { margin-top: 16px; align-self: flex-start; border: 0; background: none; color: var(--green); font-weight: 800; cursor: pointer; padding: 0; }
.empty-state { padding: 60px; text-align: center; color: var(--muted); }

.itinerary-section { max-width: none; background: var(--green-dark); color: var(--white); }
.itinerary-section > * { max-width: 1160px; margin-left: auto; margin-right: auto; }
.itinerary-section .section-kicker { color: #f1c66c; }
.itinerary-section .section-heading p:not(.section-kicker) { color: rgba(255,255,255,.62); }
.itinerary-layout { display: grid; grid-template-columns: 280px minmax(0,1fr); gap: 24px; align-items: start; }
.itinerary-tabs { display: flex; flex-direction: column; gap: 8px; }
.itinerary-tab { display: grid; grid-template-columns: 38px 1fr; gap: 12px; align-items: center; width: 100%; padding: 14px; border: 1px solid rgba(255,255,255,.12); border-radius: 14px; background: transparent; color: rgba(255,255,255,.7); text-align: left; cursor: pointer; }
.itinerary-tab span { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.08); font-size: 12px; }
.itinerary-tab strong { display: block; color: inherit; }
.itinerary-tab small { display: block; opacity: .66; }
.itinerary-tab.active { border-color: #f1c66c; background: #f1c66c; color: var(--green-dark); }
.itinerary-panel { min-height: 570px; padding: 34px; border-radius: 24px; background: var(--white); color: var(--ink); overflow: hidden; }
.panel-head { display: flex; justify-content: space-between; gap: 20px; margin-bottom: 26px; }
.panel-head h3 { margin: 0; font-family: var(--serif); font-size: 34px; }
.panel-head p { margin: 5px 0 0; color: var(--muted); }
.copy-button { align-self: flex-start; padding: 9px 13px; border: 1px solid var(--line); border-radius: 10px; background: transparent; cursor: pointer; }
.copy-button:hover { background: var(--paper); }
.days { display: grid; gap: 10px; }
.day { display: grid; grid-template-columns: 74px 1fr; gap: 18px; padding: 16px; border-radius: 14px; background: #f7f4ec; }
.day-label { color: var(--coral); font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.day strong { display: block; margin-bottom: 2px; }
.day p { margin: 0; color: var(--muted); font-size: 14px; }
.panel-tips { display: grid; grid-template-columns: repeat(3,1fr); gap: 10px; margin-top: 20px; }
.panel-tips div { padding: 14px; border: 1px solid var(--line); border-radius: 12px; }
.panel-tips small { display: block; color: var(--muted); }
.panel-tips strong { font-size: 13px; }

.trip-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 34px;
}
.trip-facts div { min-width: 0; padding: 14px; border-radius: 13px; background: #eef4f1; }
.trip-facts small { display: block; color: var(--muted); font-size: 10px; }
.trip-facts strong { display: block; margin-top: 3px; font-size: 12px; line-height: 1.45; }
.plan-block { padding: 32px 0; border-top: 1px solid var(--line); }
.plan-block.compact-block { padding: 22px 0; }
.block-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 18px; }
.block-heading span, .food-box > span, .weather-box > span, .three-day-card > span {
  color: var(--coral);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
}
.block-heading h4, .food-box h4, .weather-box h4, .three-day-card h4 { margin: 2px 0 0; font-family: var(--serif); font-size: 23px; line-height: 1.3; }
.block-heading p { max-width: 300px; margin: 0; color: var(--muted); font-size: 12px; text-align: right; }
.day-tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-bottom: 14px; }
.day-tab { min-width: 0; padding: 12px 10px; border: 1px solid var(--line); border-radius: 12px; background: transparent; text-align: left; cursor: pointer; }
.day-tab span { display: block; color: var(--muted); font-size: 9px; font-weight: 900; letter-spacing: .1em; }
.day-tab strong { display: block; margin-top: 3px; overflow: hidden; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.day-tab:hover, .day-tab.active { border-color: var(--green); background: var(--green); color: white; }
.day-tab.active span { color: #cde4de; }
.day-detail { padding: 22px; border-radius: 18px; background: #f7f4ec; }
.day-detail-head { display: grid; grid-template-columns: 62px 1fr; gap: 15px; align-items: start; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.day-detail-head > span { display: inline-flex; justify-content: center; padding: 7px 8px; border-radius: 999px; background: #f2ddd3; color: var(--coral); font-size: 10px; font-weight: 900; }
.day-detail-head h4 { margin: 0; font-family: var(--serif); font-size: 22px; }
.day-detail-head p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
.timeline { position: relative; display: grid; gap: 0; margin: 22px 0 0; padding: 0; list-style: none; }
.timeline::before { content: ""; position: absolute; top: 17px; bottom: 17px; left: 17px; width: 1px; background: #cfdbd6; }
.timeline-item { position: relative; display: grid; grid-template-columns: 35px 108px minmax(0, 1fr); gap: 14px; padding-bottom: 16px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-marker { position: relative; z-index: 1; display: grid; place-items: center; width: 35px; height: 35px; border: 4px solid #f7f4ec; border-radius: 50%; background: var(--green); color: white; font-size: 8px; font-weight: 900; }
.timeline-time { padding-top: 2px; }
.timeline-time strong { display: block; font-size: 12px; white-space: nowrap; }
.timeline-time span { display: block; color: var(--muted); font-size: 10px; }
.timeline-card { min-width: 0; padding: 13px 15px; border: 1px solid rgba(23,43,43,.08); border-radius: 12px; background: var(--white); }
.timeline-title { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.timeline-title h5 { margin: 0; font-size: 14px; }
.transport-chip { flex: 0 0 auto; padding: 3px 7px; border-radius: 999px; background: #e5f0ec; color: var(--green); font-size: 9px; font-weight: 800; }
.timeline-card p { margin: 5px 0 0; color: var(--muted); font-size: 12px; }
.three-day-card { display: grid; grid-template-columns: 110px minmax(0, 1fr); gap: 18px; align-items: start; padding: 20px; border: 1px solid rgba(231,180,76,.48); border-radius: 16px; background: #fff6db; }
.three-day-card p { margin: 6px 0 0; color: #736642; font-size: 13px; }
.booking-alert { display: grid; grid-template-columns: 115px 1fr; gap: 12px; margin-bottom: 15px; padding: 14px 16px; border-radius: 13px; background: #fff0e9; color: #7b4335; font-size: 12px; }
.booking-alert strong { color: var(--coral); }
.lodging-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 16px; }
.lodging-filter { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font-size: 11px; cursor: pointer; }
.lodging-filter:hover, .lodging-filter.active { border-color: var(--green); background: var(--green); color: white; }
.hotel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.hotel-card { display: flex; flex-direction: column; min-width: 0; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: #fffdf9; }
.hotel-card-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lodging-kind { color: var(--green); font-size: 10px; font-weight: 900; }
.match-status { padding: 3px 7px; border-radius: 999px; background: #fff0e9; color: var(--coral); font-size: 9px; font-weight: 800; }
.match-status.match { background: #e2f0e9; color: var(--green); }
.hotel-card h5 { margin: 11px 0 2px; font-family: var(--serif); font-size: 17px; line-height: 1.4; }
.hotel-room { margin: 0 0 12px; color: var(--muted); font-size: 11px; }
.hotel-specs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px; margin: 0; }
.hotel-specs div { min-width: 0; padding: 8px; border-radius: 9px; background: #f7f4ec; }
.hotel-specs dt { color: var(--muted); font-size: 9px; }
.hotel-specs dd { margin: 2px 0 0; font-size: 10px; line-height: 1.45; overflow-wrap: anywhere; }
.hotel-price { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); }
.hotel-price > span { color: var(--muted); font-size: 10px; }
.hotel-price strong { color: var(--coral); font-size: 18px; }
.hotel-price small { font-size: 9px; font-weight: 500; }
.hotel-note, .hotel-risk { margin: 8px 0 0; color: var(--muted); font-size: 10px; }
.hotel-risk { color: #7b4335; }
.hotel-link { align-self: flex-start; margin-top: auto; padding-top: 12px; color: var(--green); font-size: 11px; font-weight: 800; }
.hotel-link:hover { text-decoration: underline; }
.muted-link { color: var(--muted); font-weight: 500; }
.hotel-empty { grid-column: 1 / -1; margin: 0; padding: 34px; border-radius: 14px; background: #f7f4ec; color: var(--muted); text-align: center; }
.food-weather-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.food-box, .weather-box { padding: 20px; border-radius: 16px; background: #f7f4ec; }
.food-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.food-tags span { padding: 6px 9px; border-radius: 999px; background: var(--white); color: var(--green); font-size: 10px; font-weight: 700; }
.weather-box { background: #eef4f1; }
.weather-box p { margin: 10px 0 0; color: var(--muted); font-size: 12px; }

.guide-section { padding-bottom: 70px; }
.guide-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.guide-copy { position: sticky; top: 40px; align-self: start; }
.guide-copy > p:not(.section-kicker) { color: var(--muted); font-size: 17px; }
.guide-cards { border-top: 1px solid var(--line); }
.guide-cards article { display: grid; grid-template-columns: 48px 1fr; gap: 20px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.guide-cards article > span { color: var(--coral); font-weight: 900; }
.guide-cards strong { font-family: var(--serif); font-size: 19px; }
.guide-cards p { margin: 3px 0 0; color: var(--muted); }
.safety-note { display: grid; grid-template-columns: 44px 1fr; gap: 18px; margin-top: 56px; padding: 22px; border: 1px solid rgba(231,180,76,.5); border-radius: 18px; background: #fff6db; }
.safety-icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--gold); font-weight: 900; }
.safety-note p { margin: 4px 0 0; color: #736642; }

.sources-section { padding-top: 70px; }
.source-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 10px; }
.source-grid a { display: flex; justify-content: space-between; padding: 16px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.4); font-size: 13px; }
.source-grid a:hover { border-color: var(--green); background: var(--white); }
.source-grid span { color: var(--coral); }

footer { display: flex; justify-content: space-between; align-items: center; padding: 34px max(5vw, 28px); background: #102f2c; color: rgba(255,255,255,.75); }
footer div { display: flex; gap: 16px; align-items: center; }
footer strong { color: white; }
footer span { font-size: 12px; }

.compare-drawer { position: fixed; inset: 0; z-index: 50; pointer-events: none; visibility: hidden; }
.compare-drawer.open { pointer-events: auto; visibility: visible; }
.drawer-backdrop { position: absolute; inset: 0; border: 0; background: rgba(8,28,26,.55); opacity: 0; transition: opacity .25s; }
.open .drawer-backdrop { opacity: 1; }
.drawer-panel { position: absolute; top: 0; right: 0; width: min(720px, 95vw); height: 100%; padding: 26px; background: var(--paper); transform: translateX(100%); transition: transform .3s ease; overflow-y: auto; }
.open .drawer-panel { transform: translateX(0); }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.drawer-head span { color: var(--coral); font-size: 11px; font-weight: 900; }
.drawer-head h2 { margin: 0; font-family: var(--serif); }
.drawer-head button { width: 42px; height: 42px; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 28px; cursor: pointer; }
.compare-content { padding-top: 22px; }
.compare-empty { padding: 80px 20px; color: var(--muted); text-align: center; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th, .compare-table td { padding: 14px 10px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.compare-table th:first-child { width: 90px; color: var(--muted); font-weight: 500; }
.compare-table thead th { color: var(--ink); font-family: var(--serif); font-size: 17px; }
.compare-remove { border: 0; background: none; color: var(--coral); cursor: pointer; font-size: 11px; }

.toast { position: fixed; z-index: 80; left: 50%; bottom: 28px; transform: translate(-50%, 30px); padding: 11px 18px; border-radius: 999px; background: #102f2c; color: white; opacity: 0; pointer-events: none; transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.pulse { animation: pulse 1.2s ease; }
@keyframes pulse { 0%,100%{ box-shadow: 0 0 0 0 rgba(231,102,71,0); } 40%{ box-shadow: 0 0 0 10px rgba(231,102,71,.18); } }

@media (max-width: 1000px) {
  .hero-grid { grid-template-columns: 1fr .7fr; gap: 40px; }
  .city-grid { grid-template-columns: repeat(2,1fr); }
  .decision-strip { margin-left: 24px; margin-right: 24px; grid-template-columns: repeat(5, minmax(140px,1fr)); overflow-x: auto; }
  .source-grid { grid-template-columns: repeat(2,1fr); }
  .trip-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hotel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .hero { min-height: auto; padding-bottom: 64px; }
  .topbar { width: 100%; max-width: 100%; height: 70px; }
  .nav-links { display: none; }
  .brand { font-size: 14px; }
  .nav-compare { flex: 0 0 auto; width: 64px; padding: 8px 6px; font-size: 0; }
  .nav-compare::before { content: "对比"; font-size: 11px; }
  .nav-compare span { min-width: 19px; height: 19px; margin-left: 3px; font-size: 10px; }
  .hero-grid { width: 100%; max-width: 100%; margin-top: 55px; grid-template-columns: minmax(0, 1fr); }
  .hero-card { width: 100%; max-width: 100%; transform: none; padding: 20px; overflow: hidden; }
  .ticket-route { gap: 8px; }
  .ticket-route strong { font-size: 19px; white-space: normal; }
  .ticket-facts div { padding: 12px 10px; min-width: 0; }
  .ticket-facts dd { font-size: 13px; line-height: 1.35; white-space: normal; overflow-wrap: anywhere; }
  .ticket-note { overflow-wrap: anywhere; }
  .hero-lead { font-size: 16px; }
  .decision-strip { grid-template-columns: repeat(5, 180px); }
  .section { padding-top: 82px; padding-bottom: 82px; }
  .section-heading { align-items: flex-start; flex-direction: column; }
  .city-grid { grid-template-columns: 1fr; }
  .itinerary-layout { grid-template-columns: 1fr; }
  .itinerary-tabs { flex-direction: row; overflow-x: auto; padding-bottom: 6px; }
  .itinerary-tab { min-width: 200px; }
  .panel-head { flex-direction: column; }
  .copy-button { align-self: stretch; }
  .day { grid-template-columns: 1fr; gap: 4px; }
  .panel-tips { grid-template-columns: 1fr; }
  .itinerary-panel { padding: 22px 16px; border-radius: 18px; }
  .trip-facts { grid-template-columns: 1fr 1fr; }
  .block-heading { align-items: flex-start; flex-direction: column; gap: 5px; }
  .block-heading p { max-width: none; text-align: left; }
  .day-tabs { display: flex; overflow-x: auto; padding-bottom: 5px; }
  .day-tab { flex: 0 0 132px; }
  .day-detail { padding: 17px 13px; }
  .day-detail-head { grid-template-columns: 1fr; gap: 8px; }
  .day-detail-head > span { justify-self: start; }
  .timeline-item { grid-template-columns: 35px minmax(0, 1fr); gap: 10px; }
  .timeline-time { grid-column: 2; padding-top: 0; }
  .timeline-card { grid-column: 2; margin-top: -4px; }
  .timeline-title { align-items: flex-start; flex-direction: column; gap: 6px; }
  .three-day-card { grid-template-columns: 1fr; gap: 6px; }
  .booking-alert { grid-template-columns: 1fr; gap: 3px; }
  .hotel-specs { grid-template-columns: 1fr; }
  .food-weather-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .guide-copy { position: static; }
  .source-grid { grid-template-columns: 1fr; }
  footer { align-items: flex-start; gap: 20px; }
  footer div { flex-direction: column; align-items: flex-start; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}
