:root {
  --bg: #f7f4ea;
  --paper: #fffdf5;
  --ink: #1f332f;
  --muted: #708079;
  --blue: #69aeba;
  --blue-dark: #2f7380;
  --green: #8fa389;
  --sand: #e4cf9e;
  --line: rgba(47, 115, 128, 0.14);
  --shadow: 0 24px 80px rgba(47, 115, 128, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    Inter, "PingFang SC", "Microsoft YaHei", system-ui, -apple-system,
    BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(105, 174, 186, 0.2), transparent 30rem),
    radial-gradient(circle at 90% 12%, rgba(143, 163, 137, 0.18), transparent 28rem),
    radial-gradient(circle at 70% 90%, rgba(228, 207, 158, 0.16), transparent 30rem),
    var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1rem clamp(1.2rem, 4vw, 4rem);
  background: rgba(245, 241, 232, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.2rem;
  height: 2.2rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--green));
  border-radius: 0.8rem;
  box-shadow: 0 10px 24px rgba(59, 135, 146, 0.28);
}

.nav {
  display: flex;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.nav a:hover {
  color: var(--blue-dark);
}

.header-cta,
.primary-btn,
.secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.header-cta,
.primary-btn {
  color: white;
  background: var(--blue-dark);
  box-shadow: 0 12px 28px rgba(38, 99, 109, 0.24);
}

.header-cta {
  padding: 0.7rem 1rem;
  font-size: 0.92rem;
}

.primary-btn,
.secondary-btn {
  min-height: 2.8rem;
  padding: 0.8rem 1.2rem;
}

.secondary-btn {
  color: var(--blue-dark);
  background: rgba(59, 135, 146, 0.12);
}

.header-cta:hover,
.primary-btn:hover,
.secondary-btn:hover {
  transform: translateY(-2px);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
  min-height: 680px;
  padding: 5rem clamp(1.2rem, 5vw, 5.5rem) 4rem;
}

.eyebrow {
  margin: 0 0 0.8rem;
  color: var(--blue-dark);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 850px;
  margin-bottom: 1.4rem;
  font-size: clamp(2.8rem, 7vw, 6.5rem);
  line-height: 0.96;
  letter-spacing: -0.07em;
}

h2 {
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h3 {
  margin-bottom: 0.65rem;
  font-size: 1.3rem;
}

.hero-desc {
  max-width: 660px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 2rem 0;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-stats div {
  min-width: 8rem;
  padding: 1rem;
  background: rgba(255, 250, 240, 0.7);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.hero-stats strong {
  display: block;
  margin-bottom: 0.2rem;
  color: var(--blue-dark);
  font-size: 1.8rem;
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero-card {
  position: relative;
  padding: 2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.78), rgba(255, 250, 240, 0.96)),
    linear-gradient(135deg, rgba(59, 135, 146, 0.24), rgba(220, 199, 157, 0.2));
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.hero-card::before {
  position: absolute;
  right: -5rem;
  bottom: -5rem;
  width: 14rem;
  height: 14rem;
  content: "";
  background: rgba(59, 135, 146, 0.16);
  border-radius: 999px;
}

.weather-chip,
.tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 1rem;
  padding: 0.45rem 0.75rem;
  color: var(--blue-dark);
  background: rgba(59, 135, 146, 0.12);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.timeline {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 0;
  margin: 1.5rem 0;
  list-style: none;
}

.timeline li {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 1.2rem;
}

.timeline span {
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.timeline p {
  margin: 0.25rem 0 0;
  color: var(--muted);
}

.card-footer {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
}

.card-footer a {
  color: var(--blue-dark);
  font-weight: 800;
}

.quick-entry {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 0 clamp(1.2rem, 5vw, 5.5rem) 3rem;
}

.quick-entry button {
  min-height: 5.5rem;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.78);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
  cursor: pointer;
  font-size: 1.05rem;
  font-weight: 800;
}

.quick-entry button.active,
.quick-entry button:hover {
  color: white;
  background: var(--blue-dark);
}

.section {
  padding: 4.5rem clamp(1.2rem, 5vw, 5.5rem);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2rem;
}

.section-heading p:not(.eyebrow),
.split-section p {
  color: var(--muted);
  line-height: 1.8;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.info-card,
.tool-card,
.living-panel {
  padding: 1.4rem;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: 0 14px 40px rgba(33, 49, 44, 0.06);
}

.info-card p {
  color: var(--muted);
  line-height: 1.7;
}

.info-card a {
  color: var(--blue-dark);
  font-weight: 800;
}

.pace-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: -0.5rem 0 1.5rem;
}

.pace-switch button {
  min-height: 2.6rem;
  padding: 0.65rem 1rem;
  color: var(--blue-dark);
  background: rgba(59, 135, 146, 0.1);
  border: 1px solid rgba(38, 99, 109, 0.18);
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.pace-switch button.active,
.pace-switch button:hover {
  color: white;
  background: var(--blue-dark);
}

.route-grid {
  display: grid;
  gap: 1.8rem;
}

.route-card {
  padding: clamp(1rem, 2.5vw, 1.8rem);
  background:
    linear-gradient(180deg, rgba(255, 250, 240, 0.94), rgba(255, 250, 240, 0.78)),
    rgba(255, 250, 240, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2.2rem;
  box-shadow:
    0 28px 72px rgba(38, 99, 109, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.route-card-head {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(20rem, 1.05fr);
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 1rem;
}

.route-card-head p {
  color: var(--muted);
  line-height: 1.7;
}

.route-summary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
  padding: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  line-height: 1.55;
}

.route-summary span {
  padding: 0.8rem 0.9rem;
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.route-summary strong {
  display: block;
  color: var(--ink);
  font-size: 0.8rem;
}

.pace-note {
  margin: 0 0 1rem;
  padding: 0.72rem 0.9rem;
  color: #5f5139;
  background: rgba(220, 199, 157, 0.28);
  border: 1px solid rgba(183, 109, 69, 0.14);
  border-radius: 999px;
  line-height: 1.5;
  font-size: 0.92rem;
}

.route-content {
  display: grid;
  grid-template-columns: minmax(21rem, 1.1fr) minmax(20rem, 0.9fr);
  gap: 1rem;
  align-items: stretch;
}

.route-map {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 74% 17%, rgba(255, 255, 255, 0.42), transparent 10rem),
    linear-gradient(135deg, #e8ddc5 0%, #d9cfb6 34%, #b8d5d6 35%, #6aaab2 100%);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 1.8rem;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 24px 60px rgba(38, 99, 109, 0.16);
}

.route-map::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, transparent, black 12%, black 88%, transparent);
}

.route-map::after {
  position: absolute;
  inset: 1rem;
  z-index: 0;
  pointer-events: none;
  content: "";
  border: 1px solid rgba(255, 250, 240, 0.55);
  border-radius: 1.35rem;
}

.route-map-topbar {
  position: absolute;
  left: 1rem;
  right: 1rem;
  top: 1rem;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0.85rem;
  color: rgba(33, 49, 44, 0.82);
  background: rgba(255, 250, 240, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 1rem;
  box-shadow: 0 14px 34px rgba(38, 99, 109, 0.12);
  backdrop-filter: blur(16px);
}

.route-map-topbar span {
  font-weight: 900;
}

.route-map-topbar em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.86rem;
}

.route-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.field-shape {
  fill: rgba(224, 202, 151, 0.42);
}

.lake-shape-main {
  filter: drop-shadow(0 20px 28px rgba(38, 99, 109, 0.2));
}

.lake-highlight {
  fill: none;
  stroke: rgba(255, 255, 255, 0.45);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.contour {
  fill: none;
  stroke: rgba(255, 250, 240, 0.28);
  stroke-width: 0.8;
  stroke-linecap: round;
}

.main-road {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.west-road {
  stroke: rgba(72, 86, 68, 0.54);
  stroke-width: 1.35;
}

.erhai-west-road,
.erhai-east-road {
  stroke: rgba(255, 250, 240, 0.72);
  stroke-width: 1.6;
  stroke-dasharray: 1.8 1.6;
}

.south-link-road {
  stroke: rgba(72, 86, 68, 0.42);
  stroke-width: 1.15;
  stroke-dasharray: 3 2;
}

.route-glow,
.route-path {
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.route-glow {
  stroke: rgba(255, 250, 240, 0.72);
  stroke-width: 6;
}

.route-path {
  stroke: #b76d45;
  stroke-width: 2.4;
  stroke-dasharray: 1 4;
}

.map-region {
  position: absolute;
  z-index: 2;
  color: rgba(255, 250, 240, 0.88);
  text-shadow: 0 2px 10px rgba(33, 49, 44, 0.3);
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.28em;
}

.region-cangshan {
  left: 9%;
  top: 45%;
  writing-mode: vertical-rl;
}

.region-erhai {
  right: 22%;
  top: 43%;
}

.route-map-label {
  position: absolute;
  z-index: 3;
  padding: 0.45rem 0.7rem;
  color: rgba(33, 49, 44, 0.76);
  background: rgba(255, 250, 240, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(38, 99, 109, 0.1);
  backdrop-filter: blur(14px);
}

.label-west {
  left: 34%;
  top: 34%;
}

.label-east {
  right: 7%;
  top: 48%;
}

.label-g214 {
  left: 15%;
  bottom: 18%;
}

.label-south {
  right: 10%;
  bottom: 6%;
}

.map-landmark {
  position: absolute;
  z-index: 4;
  padding: 0.22rem 0.48rem;
  color: rgba(33, 49, 44, 0.78);
  background: rgba(255, 250, 240, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  box-shadow: 0 8px 18px rgba(38, 99, 109, 0.1);
  font-size: 0.72rem;
  font-weight: 900;
  transform: translate(-50%, 1.2rem);
  backdrop-filter: blur(10px);
  pointer-events: none;
}

.route-pin {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 2.1rem;
  min-height: 2.1rem;
  padding: 0.16rem 0.6rem 0.16rem 0.16rem;
  color: var(--ink);
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow:
    0 14px 30px rgba(38, 99, 109, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  backdrop-filter: blur(14px);
}

.route-pin span {
  display: grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  color: white;
  background: linear-gradient(135deg, #d38a54, #9f5634);
  border-radius: 999px;
  font-size: 0.78rem;
  box-shadow: 0 6px 14px rgba(159, 86, 52, 0.26);
}

.route-pin em {
  max-width: 5.6rem;
  overflow: hidden;
  font-style: normal;
  text-overflow: ellipsis;
}

.route-pin:hover {
  color: white;
  background: rgba(38, 99, 109, 0.92);
  transform: translate(-50%, -56%) scale(1.02);
}

.route-pin:hover span {
  background: rgba(255, 250, 240, 0.22);
}

.route-days {
  display: grid;
  gap: 0.75rem;
}

.route-day {
  display: grid;
  gap: 0.35rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.route-day strong {
  color: var(--blue-dark);
}

.route-day span {
  color: var(--muted);
  line-height: 1.65;
}

.route-detail-stack {
  display: grid;
  gap: 0.75rem;
  margin-top: 1rem;
}

.route-detail-panel {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--line);
  border-radius: 1.15rem;
}

.route-detail-panel summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.2rem;
  padding: 0.9rem 1rem;
  color: var(--ink);
  cursor: pointer;
  font-weight: 900;
  list-style: none;
}

.route-detail-panel summary::-webkit-details-marker {
  display: none;
}

.route-detail-panel summary::after {
  content: "展开";
  color: var(--blue-dark);
  font-size: 0.82rem;
  font-weight: 900;
}

.route-detail-panel[open] summary {
  background: rgba(255, 250, 240, 0.64);
  border-bottom: 1px solid var(--line);
}

.route-detail-panel[open] summary::after {
  content: "收起";
}

.daily-logistics {
  margin: 0;
  padding: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.daily-logistics-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.daily-logistics-head span {
  color: var(--ink);
  font-weight: 900;
}

.daily-logistics-head em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.daily-logistics-list {
  display: grid;
  gap: 0.65rem;
}

.daily-card {
  display: grid;
  gap: 0.7rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.daily-card h4 {
  margin: 0;
  color: var(--blue-dark);
  font-size: 1.05rem;
}

.daily-block {
  display: grid;
  grid-template-columns: 3.6rem 1fr;
  gap: 0.75rem;
  align-items: start;
}

.daily-block strong {
  display: inline-flex;
  justify-content: center;
  padding: 0.35rem 0.5rem;
  color: white;
  background: var(--blue-dark);
  border-radius: 999px;
  font-size: 0.82rem;
}

.daily-block p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.daily-block ul {
  display: grid;
  gap: 0.25rem;
  padding-left: 1.1rem;
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.daily-note {
  margin: 0.85rem 0 0;
  padding: 0.75rem 0.85rem;
  color: #7a492f;
  background: rgba(183, 109, 69, 0.1);
  border-radius: 0.95rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

.route-segments {
  margin: 0;
  padding: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.route-segments-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.route-segments-head span {
  color: var(--ink);
  font-weight: 900;
}

.route-segments-head em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.segment-table {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.segment-row {
  display: grid;
  grid-template-columns: 1.6fr 0.8fr 1fr 0.9fr;
  gap: 0.75rem;
  padding: 0.82rem 0.9rem;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.55);
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  line-height: 1.5;
}

.segment-row:last-child {
  border-bottom: 0;
}

.segment-head {
  color: white;
  background: var(--blue-dark);
  font-weight: 900;
}

.route-essentials {
  margin: 0;
  padding: 1rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.route-essentials-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.route-essentials-head span {
  color: var(--ink);
  font-weight: 900;
}

.route-essentials-head em {
  color: var(--muted);
  font-style: normal;
  font-size: 0.88rem;
}

.route-essentials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.route-essential-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  padding: 0.9rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.route-essential-item > strong {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: white;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 999px;
  font-size: 0.92rem;
}

.route-essential-item h4 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}

.route-essential-item p {
  margin: 0 0 0.55rem;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.route-essential-item span {
  color: #7a492f;
  font-size: 0.86rem;
  font-weight: 900;
}

.route-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1rem;
}

.route-point {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.point-index {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  color: white;
  background: var(--blue-dark);
  border-radius: 999px;
  font-weight: 900;
}

.route-point h4 {
  margin: 0 0 0.35rem;
  font-size: 1rem;
}

.route-point p {
  margin: 0 0 0.65rem;
  color: var(--muted);
  line-height: 1.65;
}

.point-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.9rem;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.86rem;
}

.route-point a {
  color: var(--blue-dark);
  font-weight: 900;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(20rem, 1.1fr);
  gap: 2rem;
  align-items: start;
}

.feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.feature-list span {
  padding: 0.65rem 0.9rem;
  background: rgba(125, 146, 112, 0.14);
  border-radius: 999px;
  color: #4f6047;
  font-weight: 700;
}

.living-panel {
  display: grid;
  gap: 0.85rem;
}

.area-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 1rem;
}

.area-row span {
  color: var(--muted);
  text-align: right;
}

.tool-section {
  background: rgba(255, 250, 240, 0.42);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.tools-layout {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.tool-card {
  display: grid;
  gap: 1rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.92rem;
}

input,
select,
textarea {
  width: 100%;
  min-height: 2.8rem;
  padding: 0.7rem 0.85rem;
  color: var(--ink);
  background: white;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  font: inherit;
}

textarea {
  resize: vertical;
}

.result {
  min-height: 3rem;
  margin: 0;
  padding: 1rem;
  color: var(--blue-dark);
  background: rgba(59, 135, 146, 0.1);
  border-radius: 1rem;
  font-weight: 800;
}

.compare-table {
  overflow: hidden;
  background: rgba(255, 250, 240, 0.82);
  border: 1px solid var(--line);
  border-radius: 1.4rem;
}

.table-row {
  display: grid;
  grid-template-columns: 0.7fr 1.4fr 1.1fr;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--line);
}

.table-row:last-child {
  border-bottom: 0;
}

.table-head {
  color: white;
  background: var(--blue-dark);
  font-weight: 800;
}

.map-section {
  background: linear-gradient(180deg, rgba(255, 250, 240, 0.28), rgba(59, 135, 146, 0.08));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 1.05fr) minmax(20rem, 0.95fr);
  gap: 1.2rem;
  align-items: stretch;
}

.map-board {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(125, 146, 112, 0.24), rgba(220, 199, 157, 0.2)),
    rgba(255, 250, 240, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.lake-shape {
  position: absolute;
  top: 9%;
  right: 18%;
  display: grid;
  place-items: center;
  width: 36%;
  height: 70%;
  color: rgba(255, 255, 255, 0.92);
  background:
    radial-gradient(circle at 38% 20%, rgba(255, 255, 255, 0.35), transparent 8rem),
    linear-gradient(180deg, #6fb5bf, #3b8792);
  border-radius: 50% 48% 45% 55% / 34% 42% 58% 66%;
  box-shadow: inset 0 0 50px rgba(255, 255, 255, 0.25);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.map-board::before {
  position: absolute;
  left: 8%;
  bottom: 10%;
  width: 34%;
  height: 76%;
  content: "";
  background: linear-gradient(140deg, rgba(60, 83, 70, 0.26), rgba(125, 146, 112, 0.08));
  border-radius: 52% 48% 40% 60%;
  transform: rotate(-12deg);
}

.map-pin {
  position: absolute;
  z-index: 2;
  padding: 0.55rem 0.75rem;
  color: white;
  background: var(--blue-dark);
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 999px;
  box-shadow: 0 12px 24px rgba(38, 99, 109, 0.28);
  cursor: pointer;
  font-weight: 800;
}

.map-pin::after {
  position: absolute;
  left: 50%;
  bottom: -0.45rem;
  width: 0.7rem;
  height: 0.7rem;
  content: "";
  background: inherit;
  border-right: 2px solid rgba(255, 255, 255, 0.86);
  border-bottom: 2px solid rgba(255, 255, 255, 0.86);
  transform: translateX(-50%) rotate(45deg);
}

.map-pin:hover,
.map-pin.active {
  background: #b76d45;
  transform: translateY(-2px);
}

.pin-oldtown {
  left: 31%;
  top: 48%;
}

.pin-caicun {
  left: 48%;
  top: 45%;
}

.pin-xizhou {
  left: 36%;
  top: 22%;
}

.pin-shuanglang {
  right: 12%;
  top: 27%;
}

.pin-xiaguan {
  left: 38%;
  bottom: 13%;
}

.pin-shaxi {
  left: 14%;
  top: 12%;
}

.area-detail-card {
  min-height: 560px;
  padding: 1.6rem;
  background: rgba(255, 250, 240, 0.88);
  border: 1px solid var(--line);
  border-radius: 2rem;
  box-shadow: 0 14px 40px rgba(33, 49, 44, 0.06);
}

.area-detail-card p {
  color: var(--muted);
  line-height: 1.75;
}

.detail-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
  margin: 1rem 0;
}

.meta-item {
  padding: 0.85rem;
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid var(--line);
  border-radius: 1rem;
}

.meta-item span {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.78rem;
}

.meta-item strong {
  color: var(--ink);
  font-size: 0.98rem;
}

.map-link {
  display: inline-flex;
  margin-top: 1rem;
  color: var(--blue-dark);
  font-weight: 900;
}

.spot-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.spot-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.25rem;
  background: rgba(255, 250, 240, 0.84);
  border: 1px solid var(--line);
  border-radius: 1.5rem;
  box-shadow: 0 14px 36px rgba(33, 49, 44, 0.06);
}

.spot-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.spot-meta {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.spot-meta strong {
  color: var(--ink);
}

.spot-card a {
  color: var(--blue-dark);
  font-weight: 900;
}

.comments-section {
  background: rgba(255, 250, 240, 0.5);
  border-top: 1px solid var(--line);
}

.comment-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 0.8fr) minmax(20rem, 1.2fr);
  gap: 1rem;
  align-items: start;
}

.comment-form,
.comment-list {
  padding: 1.4rem;
  background: rgba(255, 250, 240, 0.86);
  border: 1px solid var(--line);
  border-radius: 1.6rem;
  box-shadow: 0 14px 36px rgba(33, 49, 44, 0.06);
}

.comment-form {
  display: grid;
  gap: 1rem;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.6;
}

.comment-list {
  display: grid;
  gap: 0.85rem;
}

.comment-item {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid var(--line);
  border-radius: 1.1rem;
}

.comment-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.comment-head strong {
  color: var(--ink);
}

.comment-head span {
  color: var(--muted);
  font-size: 0.86rem;
}

.comment-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 2rem clamp(1.2rem, 5vw, 5.5rem);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

@media (max-width: 900px) {
  .nav {
    display: none;
  }

  .hero,
  .split-section,
  .tools-layout,
  .map-layout,
  .comment-layout,
  .route-card-head,
  .route-content {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: 3rem;
  }

  .quick-entry,
  .card-grid,
  .spot-grid,
  .route-points,
  .route-essentials-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-map {
    min-height: 340px;
  }

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

@media (max-width: 640px) {
  .site-header {
    gap: 1rem;
  }

  .header-cta {
    display: none;
  }

  .quick-entry,
  .card-grid,
  .spot-grid,
  .route-points,
  .route-essentials-grid {
    grid-template-columns: 1fr;
  }

  .route-essentials-head {
    flex-direction: column;
  }

  .daily-logistics-head {
    flex-direction: column;
  }

  .route-segments-head {
    flex-direction: column;
  }

  .daily-block {
    grid-template-columns: 1fr;
  }

  .route-summary {
    grid-template-columns: 1fr;
  }

  .segment-row {
    grid-template-columns: 1fr;
  }

  .segment-head {
    display: none;
  }

  .route-map {
    min-height: 330px;
  }

  .route-pin {
    padding: 0.12rem;
  }

  .route-pin em {
    display: none;
  }

  .route-map-label {
    max-width: 8rem;
    white-space: normal;
  }

  .map-landmark {
    font-size: 0.66rem;
    transform: translate(-50%, 0.95rem);
  }

  .pace-switch {
    gap: 0.5rem;
  }

  .pace-switch button {
    flex: 1 1 40%;
  }

  .area-row,
  .footer {
    flex-direction: column;
  }

  .area-row span {
    text-align: left;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .map-board {
    min-height: 420px;
  }

  .area-detail-card {
    min-height: auto;
  }

  .detail-meta {
    grid-template-columns: 1fr;
  }
}
