:root {
  --ink: #10202a;
  --muted: #65747b;
  --paper: #f4f1e9;
  --card: #fffdf8;
  --night: #061923;
  --night-2: #0b2f3a;
  --cyan: #72e4d0;
  --cyan-deep: #187d77;
  --coral: #ff806d;
  --sun: #ffc86b;
  --line: rgba(16, 32, 42, .12);
  --shadow: 0 18px 55px rgba(25, 45, 49, .1);
  --radius: 26px;
  --max: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: var(--paper);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: fixed; left: 12px; top: -80px; z-index: 100; padding: 10px 14px; background: #fff; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: #eefcf8;
  background:
    radial-gradient(circle at 78% 20%, rgba(255, 128, 109, .24), transparent 22%),
    radial-gradient(circle at 65% 52%, rgba(114, 228, 208, .13), transparent 30%),
    linear-gradient(145deg, var(--night) 0%, #08232e 55%, #0a3b45 100%);
}
.hero::before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -100px;
  top: 95px;
  border: 1px solid rgba(255,255,255,.11);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(255,255,255,.025), 0 0 0 96px rgba(255,255,255,.018);
}
.topbar, .hero-content, .section, footer {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}
.topbar { position: relative; z-index: 3; display: flex; justify-content: space-between; align-items: center; padding: 24px 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 700; text-decoration: none; letter-spacing: .02em; }
.brand-dot { width: 12px; height: 12px; border: 2px solid var(--cyan); border-radius: 50%; box-shadow: 0 0 18px var(--cyan); }
.nav-pill { color: #fff; text-decoration: none; padding: 8px 17px; border: 1px solid rgba(255,255,255,.25); border-radius: 99px; font-size: 14px; }
.hero-content { position: relative; z-index: 2; padding-top: 70px; }
.eyebrow, .kicker { margin: 0 0 12px; color: var(--cyan-deep); font-size: 12px; font-weight: 800; letter-spacing: .18em; }
.hero .eyebrow { color: var(--cyan); }
.hero h1 { max-width: 860px; margin: 0; font-size: clamp(46px, 8vw, 92px); line-height: 1.06; letter-spacing: -.045em; }
.hero h1 em { color: var(--cyan); font-style: normal; font-weight: 600; }
.hero-copy { max-width: 580px; margin: 24px 0 34px; color: rgba(238,252,248,.72); font-size: 18px; text-wrap: pretty; }
.hero-glow { position: absolute; inset: 0; background: linear-gradient(115deg, transparent 0 70%, rgba(255,255,255,.035) 70% 71%, transparent 71%); }

.concert-ticket { display: grid; grid-template-columns: 1fr 150px; width: 100%; max-width: 840px; color: var(--ink); background: var(--card); border-radius: var(--radius); box-shadow: 0 24px 70px rgba(0,0,0,.28); overflow: hidden; }
.ticket-main { padding: 28px 32px; }
.ticket-label { margin: 0 0 5px; color: var(--coral); font-size: 12px; font-weight: 800; letter-spacing: .14em; }
.ticket-main h2 { margin: 0; font-size: clamp(24px, 4vw, 38px); line-height: 1.25; }
.ticket-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 22px 0 13px; }
.ticket-facts span { color: var(--muted); font-size: 14px; }
.ticket-facts b { color: var(--ink); font-size: 18px; }
.venue { margin: 0 0 8px; color: var(--muted); }
.text-link { color: var(--cyan-deep); font-size: 14px; font-weight: 700; text-underline-offset: 4px; }
.ticket-stub { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 8px; color: #fff; background: linear-gradient(165deg, var(--coral), #ed5f74); text-align: center; border-left: 2px dashed rgba(255,255,255,.55); }
.ticket-stub span { font-size: 11px; letter-spacing: .25em; }
.ticket-stub strong { font-size: 26px; }
.ticket-stub small { opacity: .8; }
.countdown { display: flex; align-items: end; gap: 28px; max-width: 840px; padding: 26px 0; }
.countdown-label { color: rgba(255,255,255,.6); font-size: 13px; letter-spacing: .14em; }
.countdown-grid { display: flex; gap: 22px; }
.countdown-grid span { display: flex; align-items: baseline; gap: 4px; }
.countdown-grid b { min-width: 1.25em; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown-grid small { color: rgba(255,255,255,.55); }
.lake-lines { position: absolute; left: 0; right: 0; bottom: 0; height: 120px; }
.lake-lines i { position: absolute; left: -5%; width: 110%; height: 70px; border-top: 1px solid rgba(114,228,208,.2); border-radius: 50%; }
.lake-lines i:nth-child(2) { top: 30px; transform: scaleX(.83); }
.lake-lines i:nth-child(3) { top: 60px; transform: scaleX(1.15); }

.section { padding: 105px 0; }
.section-heading { max-width: 680px; margin-bottom: 42px; }
.section-heading.compact { margin-bottom: 30px; }
.section-heading h2, .weather h2 { margin: 0 0 14px; font-size: clamp(32px, 5vw, 54px); line-height: 1.15; letter-spacing: -.035em; }
.section-heading p:not(.kicker) { margin: 0; color: var(--muted); font-size: 17px; }

.route-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.route-card { position: relative; padding: 28px; background: var(--card); border: 1px solid rgba(16,32,42,.07); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.route-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--cyan-deep); }
.route-wuxi::before { background: var(--coral); }
.route-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; }
.route-head span { font-size: 20px; font-weight: 800; }
.route-head b { padding: 4px 10px; color: var(--cyan-deep); background: rgba(114,228,208,.18); border-radius: 99px; font-size: 12px; }
.route-wuxi .route-head b { color: #a63f36; background: rgba(255,128,109,.14); }
.station-row { display: grid; grid-template-columns: max-content 1fr max-content; align-items: center; gap: 12px; font-size: 24px; }
.station-row i { position: relative; height: 1px; background: var(--line); }
.station-row i::after { content: "›"; position: absolute; right: -2px; top: -14px; color: var(--muted); font-style: normal; }
.train-row { display: flex; justify-content: space-between; margin: 6px 0 24px; color: var(--muted); font-size: 14px; font-variant-numeric: tabular-nums; }
.train-row b { color: var(--ink); font-size: 13px; }
.route-card > p { min-height: 54px; margin: 0 0 18px; color: var(--muted); }
.route-meta { display: flex; flex-wrap: wrap; gap: 8px; }
.route-meta span { padding: 7px 10px; background: #f0eee8; border-radius: 8px; font-size: 12px; }
details { margin-top: 18px; border-top: 1px solid var(--line); }
summary { padding-top: 14px; color: var(--cyan-deep); cursor: pointer; font-weight: 700; font-size: 13px; }
details p { margin: 10px 0 0; color: var(--muted); font-size: 13px; }
.data-note { margin: 18px 0 0; color: var(--muted); font-size: 12px; }

.friday-path { padding-top: 20px; }
.path-list { display: grid; grid-template-columns: repeat(6, 1fr); gap: 0; margin: 0; padding: 0; list-style: none; }
.path-list li { position: relative; padding: 30px 18px 0 0; border-top: 1px solid #aab8b8; }
.path-list li::before { content: ""; position: absolute; top: -6px; left: 0; width: 11px; height: 11px; background: var(--paper); border: 2px solid var(--cyan-deep); border-radius: 50%; }
.path-list li.active::before { background: var(--coral); border-color: var(--coral); box-shadow: 0 0 0 7px rgba(255,128,109,.15); }
.path-list time { color: var(--cyan-deep); font-size: 13px; font-weight: 800; }
.path-list strong { display: block; margin: 5px 0 2px; }
.path-list p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.45; }

.stay { width: 100%; padding-inline: max(20px, calc((100% - var(--max)) / 2)); color: #effaf7; background: var(--night); }
.stay .section-heading { width: min(100%, 680px); }
.stay .section-heading p:not(.kicker), .stay .data-note { color: rgba(239,250,247,.6); }
.stay .kicker { color: var(--cyan); }
.hotel-feature { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; padding: 36px; background: linear-gradient(135deg, rgba(114,228,208,.12), rgba(255,255,255,.04)); border: 1px solid rgba(255,255,255,.12); border-radius: var(--radius); }
.badge { display: inline-block; padding: 5px 11px; color: var(--night); background: var(--cyan); border-radius: 99px; font-size: 12px; font-weight: 800; }
.hotel-feature h3 { margin: 18px 0 12px; font-size: clamp(25px, 4vw, 42px); line-height: 1.2; }
.hotel-feature p { max-width: 590px; color: rgba(239,250,247,.64); }
.button { display: inline-block; margin-top: 8px; padding: 10px 16px; border-radius: 99px; text-decoration: none; font-size: 14px; font-weight: 700; }
.button.secondary { color: var(--cyan); border: 1px solid rgba(114,228,208,.45); }
.hotel-transit { display: flex; align-items: center; justify-content: center; min-height: 170px; }
.hotel-transit span, .hotel-transit b { padding: 9px 12px; white-space: nowrap; border-radius: 9px; }
.hotel-transit span { background: rgba(255,255,255,.08); }
.hotel-transit b { color: var(--night); background: var(--cyan); }
.hotel-transit i { flex: 1; max-width: 80px; height: 1px; background: rgba(114,228,208,.45); }
.comparison { margin-top: 24px; overflow-x: auto; border: 1px solid rgba(255,255,255,.1); border-radius: 18px; }
table { width: 100%; border-collapse: collapse; text-align: left; }
th, td { padding: 18px 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
thead th { color: rgba(239,250,247,.5); font-size: 12px; font-weight: 600; letter-spacing: .08em; }
tbody th { min-width: 170px; }
tbody td { color: rgba(239,250,247,.68); font-size: 14px; }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
tbody tr.recommended { background: rgba(114,228,208,.06); }
tbody small { color: rgba(239,250,247,.5); font-weight: 400; }

.day-tabs { display: flex; gap: 10px; margin-bottom: 22px; padding: 6px; background: #e9e5dc; border-radius: 16px; }
.day-tabs button { flex: 1; padding: 12px 18px; color: var(--muted); background: transparent; border: 0; border-radius: 12px; cursor: pointer; font-weight: 700; }
.day-tabs button small { display: block; font-size: 11px; font-weight: 500; }
.day-tabs button[aria-selected="true"] { color: var(--ink); background: var(--card); box-shadow: 0 5px 20px rgba(20,30,30,.08); }
.day-panel { padding: 36px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.panel-intro { display: grid; grid-template-columns: 110px 1fr; column-gap: 22px; margin-bottom: 38px; }
.panel-intro span { grid-row: 1 / 3; align-self: start; padding: 7px 12px; color: var(--cyan-deep); background: rgba(114,228,208,.18); border-radius: 99px; text-align: center; font-size: 12px; font-weight: 800; }
.panel-intro h3 { margin: 0; font-size: 25px; line-height: 1.35; }
.panel-intro p { margin: 6px 0 0; color: var(--muted); }
.timeline { display: grid; grid-template-columns: repeat(5, 1fr); }
.timeline article { position: relative; padding: 28px 24px 0 0; border-top: 2px solid #d8dfdc; }
.timeline article::before { content: ""; position: absolute; top: -6px; left: 0; width: 10px; height: 10px; background: var(--cyan-deep); border: 2px solid var(--card); border-radius: 50%; box-shadow: 0 0 0 1px var(--cyan-deep); }
.timeline time { color: var(--coral); font-size: 13px; font-weight: 800; }
.timeline h4 { margin: 5px 0 5px; }
.timeline p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.5; }

.plan-switcher { padding-top: 20px; }
.segmented { display: inline-flex; margin-bottom: 20px; padding: 5px; background: #e3dfd6; border-radius: 99px; }
.segmented button { padding: 10px 20px; color: var(--muted); background: transparent; border: 0; border-radius: 99px; cursor: pointer; font-weight: 700; }
.segmented button.is-active { color: #fff; background: var(--ink); }
.plan-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 38px; padding: 36px; background: var(--card); border-radius: var(--radius); box-shadow: var(--shadow); }
.plan-summary { padding: 12px 30px 12px 0; border-right: 1px solid var(--line); }
.plan-summary > span { color: var(--coral); font-size: 13px; font-weight: 800; }
.plan-summary h3 { margin: 12px 0 0; color: var(--cyan-deep); font-size: clamp(36px, 5vw, 55px); line-height: 1; }
.plan-summary h3 b { margin-right: 4px; font-size: 20px; }
.plan-summary p { color: var(--muted); font-size: 13px; }
.cost-list { margin: 0; }
.cost-list div { display: flex; justify-content: space-between; padding: 9px 0; border-bottom: 1px solid var(--line); }
.cost-list div:last-child { border: 0; }
.cost-list dt { color: var(--muted); }
.cost-list dd { margin: 0; font-weight: 700; font-variant-numeric: tabular-nums; }
.return-note { grid-column: 1 / -1; padding: 18px 20px; background: #eef8f5; border-left: 3px solid var(--cyan-deep); border-radius: 8px; }
.return-note p { margin: 4px 0 0; color: var(--muted); font-size: 13px; }

.weather { width: 100%; padding-inline: max(20px, calc((100% - var(--max)) / 2)); background: #dbece6; }
.weather-card { display: grid; grid-template-columns: 120px 1fr; gap: 30px; align-items: center; }
.weather-icon { display: grid; place-items: center; width: 120px; height: 120px; color: #fff; background: var(--cyan-deep); border-radius: 50%; font-size: 52px; }
.weather-card p:not(.kicker) { max-width: 760px; color: #496460; }
.weather-rules { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
.weather-rules article { padding: 24px; background: rgba(255,255,255,.56); border-radius: 18px; }
.weather-rules span { color: var(--cyan-deep); font-size: 12px; font-weight: 800; }
.weather-rules h3 { margin: 8px 0; font-size: 17px; }
.weather-rules p { margin: 0; color: #536d69; font-size: 14px; }

.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery figure { position: relative; margin: 0; aspect-ratio: 3 / 4; overflow: hidden; background: #ddd; border-radius: 18px; box-shadow: var(--shadow); }
.gallery figure:nth-child(even) { transform: translateY(24px); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.025); }
.gallery figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; padding: 8px 10px; color: #fff; background: rgba(6,25,35,.78); border-radius: 9px; backdrop-filter: blur(8px); font-size: 12px; }

.checklist { padding-top: 70px; }
.checklist ul { display: grid; grid-template-columns: repeat(5, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.checklist li { padding: 22px 18px 0 0; font-size: 14px; font-weight: 700; }
.checklist li span { display: block; margin-bottom: 8px; color: var(--coral); font-size: 12px; }
.privacy { width: min(calc(100% - 40px), var(--max)); margin: 0 auto 90px; padding: 22px 24px; background: #ece8df; border-radius: 16px; }
.privacy strong { color: var(--cyan-deep); }
.privacy p { display: inline; margin: 0 0 0 10px; color: var(--muted); font-size: 14px; }

/* 路线地图：道路规划优先，桌面双栏、手机单栏 */
.route-map { padding-top: 88px; }
.map-layout { display: grid; grid-template-columns: minmax(0, 1.62fr) minmax(330px, .78fr); gap: 18px; align-items: stretch; }
.map-shell { position: relative; min-width: 0; padding: 12px; background: linear-gradient(145deg, #061923, #0a3440); border: 1px solid rgba(255,255,255,.08); border-radius: 28px; box-shadow: 0 24px 70px rgba(6,25,35,.2); overflow: hidden; }
.map-toolbar { display: flex; gap: 8px; padding: 2px 2px 12px; overflow-x: auto; scrollbar-width: none; }
.map-toolbar::-webkit-scrollbar { display: none; }
.map-toolbar button { min-height: 42px; padding: 8px 14px; color: rgba(239,250,247,.72); background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.11); border-radius: 12px; cursor: pointer; white-space: nowrap; font-size: 13px; font-weight: 750; transition: .2s ease; }
.map-toolbar button:hover { color: #fff; background: rgba(255,255,255,.11); }
.map-toolbar button.is-active { color: var(--night); background: var(--cyan); border-color: var(--cyan); box-shadow: 0 8px 24px rgba(114,228,208,.2); }
.map-stage { position: relative; overflow: hidden; border-radius: 20px; }
#trip-map { height: 590px; background: #dce8e5; z-index: 1; }
.route-metrics { position: absolute; z-index: 500; left: 14px; bottom: 14px; display: flex; gap: 1px; padding: 5px; color: #fff; background: rgba(6,25,35,.88); border: 1px solid rgba(255,255,255,.16); border-radius: 14px; box-shadow: 0 14px 35px rgba(6,25,35,.28); backdrop-filter: blur(14px); }
.route-metrics span { min-width: 106px; padding: 8px 12px; }
.route-metrics span + span { border-left: 1px solid rgba(255,255,255,.14); }
.route-metrics small, .route-metrics b { display: block; }
.route-metrics small { color: rgba(255,255,255,.55); font-size: 10px; }
.route-metrics b { margin-top: 1px; font-size: 15px; font-variant-numeric: tabular-nums; }
.map-legend { display: flex; flex-wrap: wrap; gap: 16px; padding: 11px 6px 1px; color: rgba(239,250,247,.68); font-size: 11px; }
.map-legend span { display: inline-flex; align-items: center; gap: 7px; }
.map-legend i { width: 10px; height: 10px; border-radius: 50%; }
.map-legend i.source { background: var(--coral); }
.map-legend i.added { background: var(--cyan); }
.map-legend i.route { width: 19px; height: 4px; background: var(--sun); border-radius: 9px; }
.trip-map-marker-wrap { background: transparent; border: 0; }
.trip-map-marker { position: relative; display: grid; place-items: center; width: 34px; height: 34px; color: #fff; border: 3px solid #fff; border-radius: 11px 11px 11px 2px; box-shadow: 0 5px 16px rgba(6,25,35,.34); transform: rotate(-45deg); }
.trip-map-marker b { font-size: 12px; transform: rotate(45deg); }
.trip-map-marker.is-source { background: var(--coral); }
.trip-map-marker.is-added { background: var(--cyan-deep); }
.trip-map-marker-wrap em { position: absolute; left: 39px; top: 3px; max-width: 112px; padding: 4px 7px; overflow: hidden; color: var(--ink); background: rgba(255,253,248,.94); border: 1px solid rgba(16,32,42,.1); border-radius: 7px; box-shadow: 0 3px 12px rgba(6,25,35,.12); font-size: 11px; font-style: normal; font-weight: 750; line-height: 1.2; text-overflow: ellipsis; white-space: nowrap; }
.leaflet-popup-content-wrapper { border-radius: 15px; box-shadow: 0 16px 40px rgba(6,25,35,.2); }
.leaflet-popup-content { min-width: 210px; margin: 16px 18px; color: var(--ink); font-family: inherit; line-height: 1.5; }
.leaflet-popup-content strong { display: block; margin-bottom: 5px; font-size: 16px; }
.leaflet-popup-content p { margin: 0 0 9px; color: var(--muted); }
.leaflet-popup-content a { color: var(--cyan-deep); font-weight: 700; }
.route-planner { display: flex; flex-direction: column; min-height: 100%; padding: 25px; background: var(--card); border: 1px solid rgba(16,32,42,.08); border-radius: 26px; box-shadow: var(--shadow); }
.planner-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.planner-head .kicker { margin-bottom: 6px; }
.planner-head h3 { margin: 0; font-size: 25px; line-height: 1.2; }
.planner-head > span { flex: 0 0 auto; padding: 5px 9px; color: #17645f; background: #e3f7f2; border-radius: 99px; font-size: 11px; font-weight: 800; }
.route-intro { margin: 15px 0 17px; padding: 12px 13px; color: #35545b; background: #edf5f2; border-radius: 12px; font-size: 12px; font-weight: 650; line-height: 1.55; }
.route-steps { position: relative; display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.route-steps::before { content: ""; position: absolute; left: 15px; top: 26px; bottom: 28px; width: 2px; background: linear-gradient(var(--cyan-deep), var(--coral)); opacity: .35; }
.route-steps li { position: relative; display: grid; grid-template-columns: 32px 1fr 26px; gap: 10px; padding: 9px 0; }
.route-steps li > span { position: relative; z-index: 1; display: grid; place-items: center; width: 31px; height: 31px; color: #fff; background: var(--night-2); border: 4px solid var(--card); border-radius: 50%; font-size: 11px; font-weight: 800; }
.route-steps small, .route-steps strong, .route-steps p { display: block; }
.route-steps small { color: var(--coral); font-size: 10px; font-weight: 800; }
.route-steps strong { margin-top: 1px; font-size: 14px; }
.route-steps p { margin: 2px 0 0; color: var(--muted); font-size: 11px; line-height: 1.4; }
.route-steps a { align-self: center; display: grid; place-items: center; width: 26px; height: 26px; color: var(--cyan-deep); background: #e7f7f3; border-radius: 8px; text-decoration: none; font-weight: 900; }
.planner-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 15px; }
.planner-actions a, .planner-actions button { min-height: 43px; padding: 10px 12px; border-radius: 11px; font-size: 12px; font-weight: 800; text-align: center; }
.planner-actions a { color: #fff; background: var(--night); text-decoration: none; }
.planner-actions button { color: var(--cyan-deep); background: #e7f7f3; border: 0; cursor: pointer; }
.source-check { margin-top: auto; padding-top: 17px; border-top: 1px solid var(--line); }
.source-check summary { color: var(--cyan-deep); cursor: pointer; font-size: 12px; font-weight: 800; }
.source-check p { margin: 8px 0 0; color: var(--muted); font-size: 11px; line-height: 1.55; }
.mobile-dock { display: none; }

footer { position: relative; display: grid; grid-template-columns: 1fr auto; gap: 30px; width: 100%; padding: 54px max(20px, calc((100% - var(--max)) / 2)); color: #fff; background: var(--night); }
footer strong { font-size: 21px; }
footer p { margin: 5px 0 0; color: rgba(255,255,255,.5); font-size: 13px; }
footer a { align-self: start; color: var(--cyan); text-underline-offset: 4px; }
footer small { grid-column: 1 / -1; color: rgba(255,255,255,.3); letter-spacing: .1em; }

:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 800px) {
  .hero { min-height: 0; padding-bottom: 70px; }
  .hero-content { padding-top: 46px; }
  .route-grid, .hotel-feature, .plan-card { grid-template-columns: 1fr; }
  .map-layout { grid-template-columns: 1fr; }
  #trip-map { height: 430px; }
  .route-planner { padding: 22px; }
  .path-list { grid-template-columns: repeat(3, 1fr); row-gap: 46px; }
  .hotel-transit { min-height: 100px; }
  .timeline { grid-template-columns: repeat(2, 1fr); row-gap: 34px; }
  .timeline article:last-child { grid-column: span 2; }
  .plan-summary { padding: 0 0 22px; border-right: 0; border-bottom: 1px solid var(--line); }
  .weather-rules { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .checklist ul { grid-template-columns: repeat(2, 1fr); row-gap: 28px; }
}

@media (max-width: 520px) {
  .topbar, .hero-content, .section { width: min(calc(100% - 28px), var(--max)); }
  .hero { min-height: 0; padding-bottom: 52px; }
  .topbar { padding-block: 18px; }
  .hero-content { padding-top: 18px; }
  .hero h1 { font-size: clamp(39px, 12vw, 47px); }
  .hero-copy { margin: 17px 0 22px; font-size: 15px; }
  .concert-ticket { grid-template-columns: 1fr; }
  .ticket-main { padding: 19px 20px; }
  .ticket-stub { flex-direction: row; min-height: 62px; border-top: 2px dashed rgba(255,255,255,.55); border-left: 0; }
  .ticket-stub strong { font-size: 20px; }
  .countdown { display: block; padding-block: 20px 0; }
  .countdown-label { display: block; margin-bottom: 12px; }
  .countdown-grid { justify-content: space-between; gap: 8px; }
  .countdown-grid b { font-size: 27px; }
  .section { padding-top: 68px; padding-bottom: 68px; }
  .route-map { padding-top: 54px; }
  .route-map .section-heading { margin-bottom: 22px; }
  .map-shell { margin-inline: -4px; padding: 8px; border-radius: 22px; }
  .map-toolbar { margin-inline: -2px; padding-bottom: 9px; }
  .map-toolbar button { flex: 0 0 auto; min-width: 108px; min-height: 44px; padding-inline: 12px; font-size: 13px; }
  #trip-map { height: min(48svh, 370px); min-height: 330px; border-radius: 16px; }
  .map-legend { padding-bottom: 3px; }
  .route-planner { padding: 20px; border-radius: 20px; }
  .planner-head h3 { font-size: 22px; }
  .section-heading { margin-bottom: 28px; }
  .section-heading h2, .weather h2 { font-size: 34px; }
  .route-card, .day-panel, .plan-card { padding: 22px; }
  .station-row { font-size: 20px; }
  .path-list { grid-template-columns: repeat(2, 1fr); }
  .hotel-feature { padding: 24px; gap: 22px; }
  .hotel-transit { display: grid; grid-template-columns: 1fr; gap: 7px; text-align: center; }
  .hotel-transit i { width: 1px; height: 15px; margin: auto; }
  th, td { padding: 14px; }
  .day-tabs { gap: 2px; }
  .day-tabs button { padding: 10px 7px; font-size: 13px; }
  .panel-intro { display: block; }
  .panel-intro span { display: inline-block; margin-bottom: 12px; }
  .panel-intro h3 { font-size: 21px; }
  .timeline { grid-template-columns: 1fr; }
  .timeline article:last-child { grid-column: auto; }
  .segmented { width: 100%; }
  .segmented button { flex: 1; padding-inline: 8px; font-size: 13px; }
  .plan-summary h3 { font-size: 40px; }
  .cost-list dt, .cost-list dd { font-size: 14px; }
  .weather-card { grid-template-columns: 1fr; }
  .weather-icon { width: 74px; height: 74px; font-size: 32px; }
  .gallery-grid { gap: 10px; }
  .gallery figure:nth-child(even) { transform: translateY(12px); }
  .gallery figcaption { left: 7px; right: 7px; bottom: 7px; padding: 6px; font-size: 10px; }
  .checklist ul { grid-template-columns: 1fr; }
  .privacy { width: calc(100% - 28px); }
  .privacy p { display: block; margin: 4px 0 0; }
  .mobile-dock { position: fixed; z-index: 900; left: 12px; right: 12px; bottom: max(10px, env(safe-area-inset-bottom)); display: grid; grid-template-columns: repeat(4, 1fr); padding: 7px; background: rgba(6,25,35,.94); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; box-shadow: 0 12px 35px rgba(6,25,35,.35); backdrop-filter: blur(16px); }
  .mobile-dock a { min-height: 48px; padding: 6px 4px; color: rgba(239,250,247,.9); border-radius: 12px; text-align: center; text-decoration: none; line-height: 1.25; }
  .mobile-dock a:active { background: rgba(114,228,208,.15); }
  .mobile-dock span, .mobile-dock small { display: block; }
  .mobile-dock span { font-size: 13px; font-weight: 800; }
  .mobile-dock small { margin-top: 2px; color: rgba(239,250,247,.5); font-size: 10px; }
  footer { grid-template-columns: 1fr; }
  footer { padding-bottom: 120px; }
  footer small { grid-column: auto; }
}

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