:root {
  --bg-gradient: linear-gradient(135deg, #0f2027 0%, #203a43 50%, #2c5364 100%);
  --surface: #ffffff;
  --surface-muted: #f4f7fb;
  --text: #1a2332;
  --text-muted: #5a6a7e;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #0891b2;
  --border: #e2e8f0;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
  --radius: 16px;
  --radius-sm: 10px;
  --nav-height: 64px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg-gradient);
  min-height: 100vh;
  color: var(--text);
  line-height: 1.6;
}

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

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-height);
  background: rgba(15, 32, 39, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 700;
  font-size: 17px;
}

.nav-brand span {
  opacity: 0.85;
  font-weight: 400;
  font-size: 13px;
}

.nav-links {
  display: flex;
  gap: 8px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.75);
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  transition: all 0.2s;
}

.nav-link:hover,
.nav-link.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}

.page-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 48px;
}

.page-header {
  text-align: center;
  color: #fff;
  margin-bottom: 28px;
}

.page-header h1 {
  font-size: clamp(24px, 4vw, 36px);
  margin-bottom: 8px;
  letter-spacing: 1px;
}

.page-header p {
  opacity: 0.85;
  font-size: 15px;
}

.meta-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.meta-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 13px;
}

.card {
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.card-body {
  padding: 24px;
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.module-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.35);
}

.module-card-featured {
  border: 2px solid rgba(37, 99, 235, 0.14);
}

.module-icon {
  font-size: 42px;
}

.module-card h2 {
  font-size: 22px;
  color: var(--text);
}

.module-card p {
  color: var(--text-muted);
  font-size: 14px;
  flex: 1;
}

.module-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 8px;
  padding: 12px 20px;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.2s;
}

.module-btn:hover {
  background: var(--primary-dark);
}

.external-links {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  border-radius: 999px;
  font-size: 13px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: background 0.2s;
}

.external-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.route-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 768px) {
  .route-layout {
    grid-template-columns: 1fr;
  }
}

.day-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  max-height: calc(100vh - var(--nav-height) - 32px);
  overflow-y: auto;
}

.day-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 12px 16px 8px;
}

.day-nav-item {
  display: block;
  padding: 10px 16px;
  border-left: 3px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  font-size: 14px;
}

.day-nav-item:hover {
  background: var(--surface-muted);
}

.day-nav-item.active {
  border-left-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
  font-weight: 600;
}

.day-nav-item .day-label {
  font-size: 12px;
  color: var(--text-muted);
}

.day-nav-item.active .day-label {
  color: var(--primary);
}

.overview-section h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.timeline {
  position: relative;
  padding-left: 24px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), var(--accent));
  border-radius: 2px;
}

.timeline-item {
  position: relative;
  padding: 0 0 20px 20px;
  cursor: pointer;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: -21px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--surface);
  border: 3px solid var(--primary);
  transition: all 0.2s;
}

.timeline-item:hover::before,
.timeline-item.active::before {
  background: var(--primary);
  transform: scale(1.15);
}

.timeline-day {
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 2px;
}

.timeline-route {
  font-size: 14px;
  font-weight: 500;
}

.timeline-note {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.day-detail {
  display: none;
}

.day-detail.active {
  display: block;
}

.day-detail-header {
  background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
  color: #fff;
  padding: 28px;
}

.day-detail-header h2 {
  font-size: 24px;
  margin-bottom: 8px;
}

.day-detail-header .route-text {
  font-size: 16px;
  opacity: 0.95;
}

.day-detail-body {
  padding: 24px;
}

.stops-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}

.stop-chip {
  background: var(--surface-muted);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 500;
}

.stop-arrow {
  color: var(--text-muted);
  font-size: 12px;
}

.info-block {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-bottom: 12px;
}

.info-block h3 {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.alert-block {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  font-size: 14px;
}

.alert-block ul {
  margin: 6px 0 0 18px;
}

.view-toggle {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
}

.view-btn {
  padding: 8px 16px;
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 999px;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}

.view-btn.active {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.progress-bar-wrap {
  height: 6px;
  background: var(--border);
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #06b6d4, #2563eb);
  width: 0%;
  transition: width 0.3s;
}

.toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 16px 24px;
  background: var(--surface-muted);
  border-bottom: 1px solid var(--border);
}

.btn {
  padding: 8px 16px;
  border: none;
  border-radius: 999px;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.btn-outline:hover {
  background: #eff6ff;
}

.checklist-section {
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.section-header {
  padding: 14px 18px;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.section-header .count {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.25);
  padding: 2px 10px;
  border-radius: 999px;
}

.section-content {
  background: #fafafa;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.section-content.open {
  max-height: 3000px;
  padding: 8px 18px 12px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  gap: 12px;
}

.check-item:last-child {
  border-bottom: none;
}

.checkbox {
  width: 22px;
  height: 22px;
  border: 2px solid #cbd5e1;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  transition: all 0.2s;
}

.checkbox:hover {
  border-color: var(--primary);
}

.checkbox.checked {
  background: var(--primary);
  border-color: var(--primary);
}

.checkbox.checked::after {
  content: "✓";
  color: #fff;
  font-size: 13px;
  font-weight: bold;
}

.item-info {
  flex: 1;
}

.item-name {
  font-size: 15px;
  font-weight: 600;
}

.item-desc {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.tag {
  display: inline-block;
  padding: 1px 8px;
  border-radius: 4px;
  font-size: 11px;
  margin-left: 6px;
  font-weight: 500;
}

.tag-core {
  background: #fee2e2;
  color: #b91c1c;
}

.tag-rec {
  background: #dbeafe;
  color: #1d4ed8;
}

.tag-opt {
  background: #f1f5f9;
  color: #64748b;
}

.check-item.done .item-name {
  text-decoration: line-through;
  color: #94a3b8;
}

.check-item.done .item-desc {
  color: #cbd5e1;
}

.stats-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  padding: 20px 24px;
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}

@media (max-width: 480px) {
  .stats-bar {
    grid-template-columns: repeat(2, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
}

.footer-note {
  text-align: center;
  padding: 20px;
  font-size: 12px;
  color: var(--text-muted);
  background: var(--surface-muted);
  border-top: 1px solid var(--border);
}

.footer-note p + p {
  margin-top: 6px;
}

.site-footer {
  text-align: center;
  padding: 24px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
}

.food-page .page-header p {
  max-width: 720px;
  margin: 0 auto;
}

.food-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

.food-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  max-height: calc(100vh - var(--nav-height) - 32px);
  overflow-y: auto;
}

.food-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px 8px;
}

.food-province-nav {
  display: flex;
  flex-direction: column;
}

.food-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  font-size: 14px;
}

.food-nav-item:hover {
  background: var(--surface-muted);
}

.food-nav-item.active {
  border-left-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

.food-nav-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.food-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.food-nav-text strong {
  font-size: 14px;
}

.food-nav-text small {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.food-nav-item.active .food-nav-text small {
  color: var(--primary);
  opacity: 0.75;
}

.food-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 16px;
  border-top: 1px solid var(--border);
}

.food-sidebar-btn {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  transition: background 0.2s;
}

.food-sidebar-btn:hover {
  background: var(--primary-dark);
}

.food-sidebar-btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.food-sidebar-btn-outline:hover {
  background: #eff6ff;
}

.food-main {
  min-width: 0;
}

.food-hero {
  margin-bottom: 24px;
}

.food-hero-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.food-hero h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.food-hero p {
  color: var(--text-muted);
}

.food-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
  margin-bottom: 24px;
}

.food-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, box-shadow 0.25s;
}

.food-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.32);
}

.food-image,
.food-detail-media {
  height: 180px;
  background-size: cover;
  background-position: center;
}

.food-card-body {
  padding: 18px;
}

.food-card-body h2,
.food-detail h3 {
  margin-bottom: 8px;
}

.food-card-body p,
.food-detail p {
  color: var(--text-muted);
  font-size: 14px;
}

.food-link {
  display: inline-block;
  margin-top: 12px;
  color: var(--primary);
  font-weight: 600;
}

.food-detail-list {
  display: grid;
  gap: 18px;
}

.food-detail {
  overflow: hidden;
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.food-detail-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.food-dish-count {
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
  background: #eff6ff;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.food-detail-intro {
  margin-bottom: 16px;
}

.food-dish-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.food-dish {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  border: 1px solid var(--border);
}

.food-dish-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
}

.food-dish-desc {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.food-dish-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.food-tag {
  font-size: 11px;
  font-weight: 500;
  padding: 2px 8px;
  border-radius: 4px;
  background: #e0f2fe;
  color: #0369a1;
}

.food-section-back {
  display: inline-block;
  margin-top: 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

.food-section-back:hover {
  text-decoration: underline;
}

.food-float-actions {
  position: fixed;
  right: 20px;
  bottom: 24px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s, visibility 0.25s;
}

.food-float-actions.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.food-float-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  box-shadow: 0 4px 16px rgba(37, 99, 235, 0.4);
  transition: background 0.2s, transform 0.2s;
}

.food-float-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.08);
}

.food-float-btn-home {
  font-size: 20px;
}

.footer-home-link {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.footer-home-link:hover {
  color: #fff;
}

.food-image-qinghai {
  background-image: linear-gradient(rgba(8, 145, 178, 0.24), rgba(37, 99, 235, 0.22)), url('https://images.unsplash.com/photo-1555939594-58d7cb561ad1?auto=format&fit=crop&w=1200&q=80');
}

.food-image-xizang {
  background-image: linear-gradient(rgba(37, 99, 235, 0.22), rgba(15, 23, 42, 0.2)), url('https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?auto=format&fit=crop&w=1200&q=80');
}

.food-image-xinjiang {
  background-image: linear-gradient(rgba(249, 115, 22, 0.2), rgba(37, 99, 235, 0.18)), url('https://images.unsplash.com/photo-1547592180-85f173990554?auto=format&fit=crop&w=1200&q=80');
}

.food-image-gansu {
  background-image: linear-gradient(rgba(120, 53, 15, 0.18), rgba(37, 99, 235, 0.18)), url('https://images.unsplash.com/photo-1504674900247-0877df9cc836?auto=format&fit=crop&w=1200&q=80');
}

@media (max-width: 768px) {
  .food-layout {
    grid-template-columns: 1fr;
  }

  .food-sidebar {
    position: static;
    max-height: none;
  }

  .food-province-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .food-nav-item {
    border-left: none;
    border-bottom: 3px solid transparent;
    flex-direction: column;
    text-align: center;
    padding: 12px 10px;
  }

  .food-nav-item.active {
    border-left: none;
    border-bottom-color: var(--primary);
  }

  .food-nav-text small {
    white-space: normal;
  }

  .food-sidebar-actions {
    flex-direction: row;
  }

  .food-sidebar-btn {
    flex: 1;
  }
}

@media (max-width: 640px) {
  .food-hero-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .food-province-nav {
    grid-template-columns: 1fr;
  }

  .food-nav-item {
    flex-direction: row;
    text-align: left;
  }
}

.weather-page .page-header p {
  max-width: 720px;
  margin: 0 auto;
}

.weather-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 20px;
  align-items: start;
}

.weather-sidebar {
  position: sticky;
  top: calc(var(--nav-height) + 16px);
  max-height: calc(100vh - var(--nav-height) - 32px);
  overflow-y: auto;
}

.weather-sidebar-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 16px 8px;
}

.weather-region-nav {
  display: flex;
  flex-direction: column;
}

.weather-nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  font-size: 14px;
}

.weather-nav-item:hover {
  background: var(--surface-muted);
}

.weather-nav-item.active {
  border-left-color: var(--primary);
  background: #eff6ff;
  color: var(--primary);
}

.weather-nav-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.weather-nav-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.weather-nav-text strong {
  font-size: 13px;
}

.weather-nav-text small {
  font-size: 11px;
  color: var(--text-muted);
}

.weather-nav-item.active .weather-nav-text small {
  color: var(--primary);
  opacity: 0.75;
}

.weather-sidebar-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 12px 16px 8px;
  border-top: 1px solid var(--border);
}

.weather-sidebar-btn {
  display: block;
  text-align: center;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  background: var(--primary);
  color: #fff;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}

.weather-sidebar-btn:hover:not(:disabled) {
  background: var(--primary-dark);
}

.weather-sidebar-btn:disabled {
  opacity: 0.6;
  cursor: wait;
}

.weather-sidebar-btn-outline {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--primary);
}

.weather-sidebar-btn-outline:hover {
  background: #eff6ff;
}

.weather-sidebar-note {
  font-size: 11px;
  color: var(--text-muted);
  padding: 0 16px 14px;
  line-height: 1.4;
}

.weather-main {
  min-width: 0;
}

.weather-hero {
  margin-bottom: 20px;
}

.weather-hero-body h2 {
  font-size: 22px;
  margin-bottom: 8px;
}

.weather-hero-body p {
  color: var(--text-muted);
  font-size: 14px;
}

.weather-grid {
  display: grid;
  gap: 18px;
}

.weather-card {
  scroll-margin-top: calc(var(--nav-height) + 16px);
}

.weather-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 24px;
  background: linear-gradient(135deg, #0ea5e9 0%, #2563eb 100%);
  color: #fff;
}

.weather-card-title {
  display: flex;
  align-items: center;
  gap: 12px;
}

.weather-card-title h3 {
  font-size: 18px;
  margin-bottom: 2px;
}

.weather-region-icon {
  font-size: 28px;
}

.weather-region-meta {
  font-size: 12px;
  opacity: 0.85;
}

.weather-update-time {
  font-size: 11px;
  opacity: 0.8;
  white-space: nowrap;
}

.weather-current {
  margin-bottom: 20px;
}

.weather-current-main {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.weather-current-icon {
  font-size: 56px;
  line-height: 1;
}

.weather-current-temp {
  font-size: 42px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.1;
}

.weather-current-label {
  font-size: 16px;
  color: var(--text-muted);
  margin-top: 4px;
}

.weather-current-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.weather-stat {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  text-align: center;
}

.weather-stat-label {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.weather-stat-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
}

.weather-forecast-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.weather-forecast-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 8px;
}

.weather-forecast-day {
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  padding: 12px 8px;
  text-align: center;
  border: 1px solid var(--border);
}

.weather-forecast-date {
  font-size: 12px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.weather-forecast-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.weather-forecast-label {
  font-size: 10px;
  color: var(--text-muted);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.weather-forecast-temps {
  font-size: 13px;
  font-weight: 600;
}

.weather-temp-max {
  color: #dc2626;
  margin-right: 4px;
}

.weather-temp-min {
  color: var(--primary);
}

.weather-forecast-pop {
  font-size: 10px;
  color: var(--accent);
  margin-top: 4px;
}

.weather-region-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: #fffbeb;
  border-radius: var(--radius-sm);
  border: 1px solid #fde68a;
}

.weather-loading,
.weather-error {
  text-align: center;
  color: var(--text-muted);
  padding: 32px;
}

.weather-error {
  color: #b91c1c;
}

@media (max-width: 900px) {
  .weather-forecast-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .weather-layout {
    grid-template-columns: 1fr;
  }

  .weather-sidebar {
    position: static;
    max-height: none;
  }

  .weather-region-nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .weather-nav-item {
    border-left: none;
    border-bottom: 3px solid transparent;
  }

  .weather-nav-item.active {
    border-left: none;
    border-bottom-color: var(--primary);
  }

  .weather-current-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .weather-forecast-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .weather-region-nav {
    grid-template-columns: 1fr;
  }

  .weather-forecast-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .weather-card-header {
    flex-direction: column;
    align-items: flex-start;
  }
}

.elevation-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.stat-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 1px solid var(--border);
}

.stat-icon {
  font-size: 36px;
  flex-shrink: 0;
}

.stat-content {
  min-width: 0;
}

.stat-value {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.elevation-chart-card {
  margin-bottom: 20px;
}

.chart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.chart-header h2 {
  font-size: 18px;
  margin: 0;
}

.chart-legend {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.legend-safe {
  background: #10b981;
}

.legend-warning {
  background: #f59e0b;
}

.legend-danger {
  background: #ef4444;
}

.chart-container {
  position: relative;
  height: 400px;
  width: 100%;
}

.elevation-points-card h2 {
  font-size: 18px;
  margin-bottom: 16px;
}

.elevation-points-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}

.elevation-point-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: var(--surface-muted);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.elevation-point-item:hover {
  background: #eff6ff;
  border-color: var(--primary);
  transform: translateY(-1px);
}

.point-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.point-info {
  flex: 1;
  min-width: 0;
}

.point-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.point-day {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 2px;
}

.point-altitude {
  font-size: 14px;
  font-weight: 700;
  flex-shrink: 0;
}

.altitude-safe {
  color: #10b981;
}

.altitude-warning {
  color: #f59e0b;
}

.altitude-danger {
  color: #ef4444;
}

@media (max-width: 768px) {
  .elevation-stats {
    grid-template-columns: 1fr;
  }

  .chart-container {
    height: 300px;
  }

  .chart-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .elevation-points-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .elevation-points-grid {
    grid-template-columns: 1fr;
  }
}

@media print {
  .weather-sidebar,
  .elevation-points-card {
    display: none !important;
  }


  body {
    background: #fff;
  }

  .site-nav,
  .toolbar,
  .view-toggle,
  .day-sidebar,
  .food-sidebar,
  .food-float-actions,
  .weather-sidebar {
    display: none !important;
  }

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

  .day-detail {
    display: block !important;
    page-break-inside: avoid;
    margin-bottom: 16px;
  }

  .section-content {
    max-height: none !important;
    padding: 8px 18px !important;
  }
}
