@charset "UTF-8";
/* ============================================================
   青海旅游365 · 全站公共样式
   原 14 个页面各有一份内联 <style>（合计 95,001 B / 3152 行，
   逐行重复率 84.4%）。此文件是全部规则的并集 + 缺失类补齐。
   修改后请同步更新页面引用里的 ?v= 版本号。
   ------------------------------------------------------------
   1. 设计令牌  2. 重置与基础  3. 布局与工具类
   4. 组件      5. 响应式   6. 无障碍与动效偏好
   ============================================================ */

/* ========== 1. 设计令牌 ========== */
:root {
  /* 品牌色（装饰用） */
  --qinghai-sky: #3b82f6;
  --qinghai-sky-deep: #1e3a8a;
  --qinghai-water: #0d9488;
  --qinghai-water-light: #14b8a6;
  --qinghai-cloud: #f8fafc;
  --qinghai-snow: #ffffff;
  --qinghai-rock: #334155;
  --qinghai-rock-light: #64748b;
  --qinghai-warning: #dc2626;

  /* 文字/交互色（对比度达标：≥4.5:1，见 §6 说明） */
  --c-link: #1d4ed8;          /* 6.3:1 on white */
  --c-brand-strong: #2563eb;  /* 5.2:1 with white text */
  --c-warn-text: #b45309;     /* 5.0:1 on white */
  --c-water-text: #0f766e;    /* 5.1:1 on white */

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 35px rgba(0, 0, 0, 0.2);

  --radius-sm: 0.75rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 9999px;

  --wrap: 1280px;
  --gutter: 1.5rem;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue',
          'PingFang SC', 'Microsoft YaHei', sans-serif;
}

/* ========== 2. 重置与基础 ========== */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font);
  background: var(--qinghai-cloud);
  color: var(--qinghai-rock);
  line-height: 1.5;
  scroll-behavior: smooth;
  -webkit-tap-highlight-color: rgba(59, 130, 246, 0.15);
  -webkit-text-size-adjust: 100%;
}

img, picture, svg { max-width: 100%; }
img { height: auto; }

a { color: var(--c-link); }
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--c-brand-strong);
  outline-offset: 2px;
  border-radius: 4px;
}

/* 跳到主内容（键盘用户首个 Tab 项） */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--c-brand-strong);
  color: #fff;
  border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ========== 3. 布局与工具类 ========== */
.container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.main-content { display: block; }
.w-full { width: 100%; }
.h-auto { height: auto; }
.hidden { display: none !important; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline-flex { display: inline-flex; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.list-disc { list-style-type: disc; }
.no-underline { text-decoration: none; }

.grid { display: grid; gap: 1.5rem; }
.grid-cols-1 { grid-template-columns: 1fr; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* 间距（原站各页随机缺失，此处一次性补齐） */
.gap-1 { gap: 0.25rem; }  .gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }  .gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }  .gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }

.p-4 { padding: 1rem; }   .p-6 { padding: 1.5rem; }
.px-2 { padding-inline: 0.5rem; }  .px-3 { padding-inline: 0.75rem; }
.px-4 { padding-inline: 1rem; }    .px-6 { padding-inline: 1.5rem; }
.py-1 { padding-block: 0.25rem; }  .py-2 { padding-block: 0.5rem; }
.pt-2 { padding-top: 0.5rem; }     .pb-2 { padding-bottom: 0.5rem; }
.pl-5 { padding-left: 1.25rem; }
.mt-1 { margin-top: 0.25rem; }  .mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }  .mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }  .mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }     .mt-10 { margin-top: 2.5rem; }
.mb-1 { margin-bottom: 0.25rem; } .mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; } .mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; } .mb-6 { margin-bottom: 1.5rem; }
.ml-2 { margin-left: 0.5rem; }  .mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.my-6 { margin-block: 1.5rem; }
.my-8 { margin-block: 2rem; }
.my-12 { margin-block: 3rem; }
.mx-auto { margin-inline: auto; }
.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-none { max-width: none; }

.rounded-lg { border-radius: var(--radius-sm); }
.rounded-full { border-radius: var(--radius-pill); }

.text-center { text-align: center; }
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-4xl { font-size: 2rem; }
.font-bold { font-weight: 700; }

.text-muted { color: var(--qinghai-rock-light); }
.text-primary { color: var(--c-link); }
.text-success { color: #047857; }
.text-danger { color: var(--qinghai-warning); }
.text-warning { color: var(--c-warn-text); }
.text-red-600 { color: #dc2626; }
.text-red-700 { color: #b91c1c; }
.text-green-700 { color: #166534; }
.text-blue-700 { color: #1d4ed8; }
.text-yellow-500 { color: #a16207; }
.text-yellow-700 { color: #a16207; }
.status-open { color: #047857; font-weight: 700; }

.bg-primary-light { background: #dbeafe; }
.bg-success-light { background: #dcfce7; }
.bg-warning-light { background: #fef3c7; }
.bg-info-light { background: #e0f2fe; }
.bg-blue-50 { background: #eff6ff; }
.bg-green-50 { background: #f0fdf4; }
.bg-yellow-50 { background: #fefce8; }
.bg-orange-50 { background: #fff7ed; }
.bg-red-50 { background: #fef2f2; }
.bg-gray-50 { background: #f9fafb; }
.bg-gray-100 { background: #f3f4f6; }

.border-b { border-bottom: 1px solid #e2e8f0; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-blue-500 { border-color: #3b82f6; }
.border-red-500 { border-color: #ef4444; }
.border-yellow-500 { border-color: #f59e0b; }

.space-y-1 > * + * { margin-top: 0.5rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-x-1 > * + * { margin-left: 0.25rem; }

/* 原站写了 class 但没实现的两个，这里补上 */
.hover\:shadow-md:hover { box-shadow: var(--shadow-md); }

/* 页面级小工具（替代原先散落的内联 style） */
.leading-relaxed { line-height: 1.9; }
.disclaimer-bar {
  background: var(--qinghai-warning);
  color: #fff;
  padding: 1rem 2rem;
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.8;
}
.disclaimer-bar strong { color: #fff; }
@media (max-width: 768px) {
  .disclaimer-bar { padding: 0.85rem 1rem; font-size: 0.9rem; text-align: left; }
}

/* 行前必读页的页内目录：吸顶 + 半透明背景 */
.toc-sticky {
  position: sticky;
  top: 4.25rem;
  z-index: 50;
  background: rgba(248, 250, 252, 0.96);
  padding: 0.6rem 0;
  border-bottom: 1px solid #e2e8f0;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
}
@supports (backdrop-filter: blur(1px)) {
  .toc-sticky {
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
    background: rgba(248, 250, 252, 0.88);
  }
}
@media (max-width: 768px) {
  .toc-sticky { position: static; top: auto; border-radius: 0; }
}

/* ========== 4. 组件 ========== */

/* 4.1 导航栏 */
.main-nav {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
@supports (backdrop-filter: blur(1px)) {
  .main-nav {
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
  }
}
.nav-container {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0.75rem var(--gutter);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}
.nav-logo {
  text-decoration: none;
  font-size: 1.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--c-brand-strong), var(--qinghai-water));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.75rem;           /* 触控热区 ≥44px */
  margin: -0.25rem -0.25rem -0.25rem 0;
  border-radius: var(--radius-sm);
  min-width: 44px;
  min-height: 44px;
}
.nav-toggle:hover { background: rgba(59, 130, 246, 0.08); }
.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--qinghai-rock);
  position: relative;
}
.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  width: 24px;
  height: 2px;
  background: var(--qinghai-rock);
  left: 0;
  transition: transform 0.2s;
}
.hamburger::before { top: -6px; }
.hamburger::after { bottom: -6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: translateY(-6px) rotate(-45deg); }

.nav-menu {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  flex-wrap: wrap;
}
.nav-link {
  display: inline-block;
  padding: 0.6rem 1rem;
  text-decoration: none;
  color: var(--qinghai-rock);
  font-weight: 500;
  border-radius: 2rem;
  transition: background-color 0.2s, color 0.2s;
}
.nav-link:hover,
.nav-link.active {
  background: var(--c-brand-strong);
  color: #fff;
}

/* 4.2 卡片 */
.card {
  background: var(--qinghai-snow);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}
.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  background: #f8fafc;
}
.card-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}
.card-subtitle { color: #475569; font-size: 0.9rem; }
.card-body { padding: 1.5rem; }
.card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #eef2f6;
  background: #f9fbfd;
}

/* 4.3 按钮 */
.btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  border-radius: 2rem;
  text-decoration: none;
  font-weight: 500;
  transition: background-color 0.2s, color 0.2s, transform 0.2s;
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  background: none;
  font-family: inherit;
  line-height: 1.5;
}
.btn-outline {
  border-color: var(--qinghai-sky);
  background: transparent;
  color: var(--c-link);
}
.btn-outline:hover {
  background: var(--c-brand-strong);
  border-color: var(--c-brand-strong);
  color: #fff;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--c-brand-strong);
  color: #fff;
  box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}
.btn-primary:hover {
  background: var(--qinghai-sky-deep);
  transform: translateY(-1px);
}
.btn-full { width: 100%; padding: 0.8rem; font-size: 1rem; }

/* 4.4 警示条（原来 8 种写法 / 8 个页面缺定义，统一为一种） */
.alert,
.alert-warning,
.alert-info {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--qinghai-sky);
  background: #eff6ff;
  margin: 1rem 0;
  line-height: 1.7;
}
.alert-warning {
  background: #fef3c7;
  border-left-color: #f59e0b;
  color: #78350f;
}
.alert-info {
  background: #eff6ff;
  border-left-color: var(--qinghai-sky);
  color: #1e3a8a;
}

/* 4.5 页脚 */
.main-footer {
  background: #1e293b;
  color: #cbd5e1;
  margin-top: 3rem;
  padding: 2rem 1.5rem;
  text-align: center;
}
.footer-container { max-width: var(--wrap); margin: 0 auto; }
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
  text-align: left;
}
.footer-section { min-width: 0; }
.footer-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.footer-links { list-style: none; }
.footer-link {
  color: #94a3b8;
  text-decoration: none;
  line-height: 1.8;
}
.footer-link:hover { color: #fff; text-decoration: underline; }
.footer-bottom {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid #334155;
  font-size: 0.85rem;
}

/* 4.6 合规弹窗（默认隐藏，由 JS 打开） */
.modal {
  display: flex;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 1rem;
  z-index: 1000;
}
.modal[hidden] { display: none; }
.modal-content {
  max-width: 600px;
  width: 100%;
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  animation: fadeInUp 0.3s ease;
}
.modal-header {
  background: linear-gradient(135deg, var(--c-brand-strong), var(--qinghai-sky-deep));
  padding: 1.5rem;
  text-align: center;
  color: #fff;
}
.modal-title { font-size: 1.6rem; font-weight: 800; }
.modal-body { padding: 1.5rem; max-height: 60vh; overflow-y: auto; }
.modal-footer { padding: 1rem 1.5rem 1.5rem; text-align: center; }
.info-card {
  display: flex;
  gap: 1rem;
  padding: 0.8rem 0;
  border-bottom: 1px solid #e2e8f0;
}
.info-card:last-child { border-bottom: 0; }
.info-icon { font-size: 1.8rem; min-width: 48px; }
.info-content h3 {
  color: var(--qinghai-sky-deep);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* 4.7 返回顶部 */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  background: var(--c-brand-strong);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99;
  transition: background-color 0.2s, transform 0.2s;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.back-to-top-btn:hover { background: var(--qinghai-sky-deep); transform: scale(1.05); }
.back-to-top-btn.is-visible { display: flex; }

/* 4.8 首页：痛点入口 + 概况 + 运维栏 */
.quick-access { margin: 2.5rem auto; }
.quick-access-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}
.quick-access-card {
  padding: 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
}
.quick-access-icon { font-size: 2.8rem; margin-bottom: 0.75rem; }
.quick-access-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--qinghai-sky-deep);
  margin-bottom: 0.5rem;
}
.quick-access-desc {
  color: var(--qinghai-rock-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}
.section-title {
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--qinghai-sky-deep);
  margin-bottom: 0.5rem;
}
.maintenance-bar {
  background: linear-gradient(105deg, #e0f2fe 0%, #f0fdf4 100%);
  border-radius: var(--radius-lg);
  padding: 1rem 1.5rem;
  margin: 2rem 0;
  border: 1px solid #cbd5e1;
}
.maintenance-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
}
.maintenance-item { font-size: 0.9rem; }
.maintenance-label { font-weight: 600; color: var(--qinghai-rock); }
.maintenance-value { color: var(--c-link); font-weight: 600; }

/* 4.9 景点列表与卡片 */
.spots-grid { margin: 2rem 0; }
.spot-card { overflow: hidden; height: 100%; display: flex; flex-direction: column; }
.spot-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background-color: #e2e8f0;
  display: block;
}
.spot-info { padding: 1rem; flex: 1; display: flex; flex-direction: column; }
.spot-name {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--qinghai-sky-deep);
  margin-bottom: 0.25rem;
}
.spot-location {
  color: var(--qinghai-rock-light);
  font-size: 0.85rem;
  margin-bottom: 0.5rem;
}
.spot-distance {
  font-size: 0.85rem;
  color: var(--qinghai-rock-light);
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.spot-desc { font-size: 0.9rem; color: var(--qinghai-rock); margin: 0.5rem 0; flex: 1; }
.spot-price { font-weight: 700; color: var(--c-link); margin: 0.5rem 0; }

/* 4.10 景点详情：天气卡 */
.weather-card {
  background: linear-gradient(135deg, #e0f2fe, #f0fdf4);
  border: 1px solid #cbd5e1;
}
.temp-big {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--qinghai-sky-deep);
}
.outfit-suggestion {
  background: #fff;
  border-radius: var(--radius-md);
  padding: 0.75rem 1rem;
  margin-top: 0.5rem;
}

/* 4.11 防骗页：电话列表 */
.page-header { text-align: center; margin: 2rem 0; }
.phone-list { list-style: none; }
.phone-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  margin-bottom: 0.5rem;
  background: #f8fafc;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--qinghai-sky);
}
.phone-item:hover { background: #eef6ff; }
.phone-number {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--qinghai-sky-deep);
  letter-spacing: 0.03em;
  text-decoration: none;
  white-space: nowrap;
}
.phone-number:hover { text-decoration: underline; }

/* 4.12 社区页：表单 / 星级 / 筛选 / 预览 */
.prose { max-width: 65ch; line-height: 1.6; }
.prose code {
  background: #f1f5f9;
  padding: 0.2rem 0.4rem;
  border-radius: 0.25rem;
  font-size: 0.9em;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.form-textarea { resize: vertical; }
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--c-brand-strong);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25);
}
.star-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.8rem;
  color: #94a3b8;
  transition: color 0.2s;
  padding: 0 0.1rem;
  line-height: 1;
}
.star-btn:hover { color: #d97706; }
.star-btn.active { color: #b45309; }

/* 筛选按钮：原来完全没有样式（渲染成浏览器默认按钮） */
.filter-btn {
  appearance: none;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: var(--qinghai-rock);
  padding: 0.4rem 1rem;
  min-height: 40px;
  border-radius: var(--radius-pill);
  font-size: 0.9rem;
  font-family: inherit;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}
.filter-btn:hover { border-color: var(--c-brand-strong); color: var(--c-link); }
.filter-btn.active,
.filter-btn[aria-pressed="true"] {
  background: var(--c-brand-strong);
  border-color: var(--c-brand-strong);
  color: #fff;
}

/* 4.13 门源花期进度条 */
.bloom-progress {
  background: #e2e8f0;
  border-radius: var(--radius-pill);
  overflow: hidden;
  margin: 0.5rem 0;
}
.bloom-fill {
  background: #d97706;
  height: 8px;
  width: 0%;
  border-radius: var(--radius-pill);
  transition: width 0.4s ease;
}

/* ========== 5. 响应式 ========== */
@media (max-width: 768px) {
  .container { padding: 0 1rem; }
  .nav-container { padding: 0.75rem 1rem; }
  .nav-toggle { display: block; }
  .nav-menu {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 0.75rem;
  }
  .nav-menu.active { display: flex; }
  .nav-link { display: block; padding: 0.85rem; text-align: center; }
  .phone-number { font-size: 1.25rem; }
  .phone-item { flex-direction: column; align-items: flex-start; gap: 0.25rem; }
  .section-title { font-size: 1.5rem; }
  .text-4xl { font-size: 1.6rem; }
  .modal-title { font-size: 1.35rem; }
  .modal-body { max-height: 70vh; }
  .footer-content { text-align: center; }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .md\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

@media (min-width: 1024px) {
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
}

/* 小屏（320–380）微调 */
@media (max-width: 380px) {
  .nav-logo { font-size: 1.2rem; }
  .btn { padding: 0.55rem 1rem; font-size: 0.9rem; }
  .phone-number { font-size: 1.1rem; }
}

/* ========== 6. 无障碍与动效偏好 ========== */

/* 尊重"减少动态效果"：平滑滚动/位移/入场动画全部关闭 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .card:hover { transform: none; }
  .back-to-top-btn:hover { transform: none; }
}

/* 触屏设备取消 hover 位移（避免"粘住"） */
@media (hover: none) {
  .card:hover { transform: none; box-shadow: var(--shadow-sm); }
  .btn-outline:hover,
  .btn-primary:hover { transform: none; }
}

/* 打印：隐藏交互元素 */
@media print {
  .main-nav, .back-to-top-btn, .modal, .skip-link { display: none !important; }
  body { background: #fff; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}


/* ============================================================
   7. 阅读排版（长文页可读性）
   —— 目标：中文长文行高更舒适、段落/列表有呼吸、
      正文不过宽、锚点跳转不被吸顶导航遮挡、表格可读。
   ============================================================ */
:root { --nav-h: 4.25rem; }

/* 7.1 锚点跳转补偿（否则目标标题会被 sticky 导航盖住） */
[id] { scroll-margin-top: calc(var(--nav-h) + 1rem); }

/* 7.2 行高与段落节奏 */
body { line-height: 1.75; }
.card-body > p,
.card-body > ul,
.card-body > ol,
.prose { max-width: 72ch; }
.card-body p + p,
.card-body p + ul,
.card-body p + ol,
.card-body ul + p,
.card-body ol + p { margin-top: 0.9em; }
.card-body > h2:not(:first-child) { margin-top: 2rem; }
.card-body > h3:not(:first-child) { margin-top: 1.6rem; margin-bottom: 0.5rem; }
.card-body h3 + p,
.card-body h3 + ul,
.card-body h2 + p,
.card-body h2 + ul { margin-top: 0.5rem; }

/* 7.3 列表：缩进 + 行距（原来 padding 被 reset 清零、条目挤在一起） */
.card-body ul,
.card-body ol { padding-left: 1.2rem; }
.card-body li { line-height: 1.7; }
.card-body li + li { margin-top: 0.45rem; }
.card-body ul ul,
.card-body ol ol { margin-top: 0.4rem; }
.card-body ul li::marker { color: var(--qinghai-sky); }

/* 7.4 数据表格（月平均数据、票种价目这类多列内容） */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
  margin: 0.5rem 0 0.75rem;
}
.data-table caption {
  caption-side: top;
  text-align: left;
  font-weight: 700;
  padding-bottom: 0.5rem;
  color: var(--qinghai-sky-deep);
}
.data-table th,
.data-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid #e2e8f0;
  text-align: left;
  vertical-align: top;
}
.data-table thead th {
  background: #f1f5f9;
  font-weight: 600;
  white-space: nowrap;
}
.data-table tbody tr:nth-child(even) { background: #f8fafc; }
.data-table .num {
  text-align: right;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

/* 7.5 键值信息列表（基本信息这类"标签 - 值"对） */
.info-list {
  display: grid;
  grid-template-columns: minmax(6rem, 36%) minmax(0, 1fr);
  gap: 0.55rem 1rem;
  margin: 0;
}
.info-list dt { color: var(--qinghai-rock-light); font-size: 0.9375rem; }
.info-list dd { margin: 0; font-weight: 600; }
@media (max-width: 520px) {
  .info-list { grid-template-columns: 1fr; gap: 0.1rem; }
  .info-list dt { margin-top: 0.6rem; }
  .info-list dd { margin-bottom: 0.2rem; }
}

/* 7.6 长页目录：桌面吸顶侧栏 / 移动端折叠 */
.page-main { min-width: 0; }
.toc {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-md);
  background: #fff;
  padding: 0.9rem 1rem;
  margin-bottom: 1.5rem;
}
.toc-summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--qinghai-sky-deep);
  list-style-position: inside;
}
.toc-summary::marker { color: var(--qinghai-sky); }
.toc-nav { margin-top: 0.6rem; }
.toc-list { list-style: none; padding: 0; margin: 0; }
.toc-list a {
  display: block;
  padding: 0.35rem 0.5rem;
  border-radius: 0.5rem;
  border-left: 3px solid transparent;
  color: var(--qinghai-rock);
  text-decoration: none;
  font-size: 0.9375rem;
  line-height: 1.5;
}
.toc-list a:hover { background: #f1f5f9; color: var(--c-link); }
.toc-list a.active {
  background: #eef6ff;
  color: var(--c-link);
  font-weight: 600;
  border-left-color: var(--c-brand-strong);
}

@media (min-width: 1024px) {
  .page-split {
    display: grid;
    grid-template-columns: 232px minmax(0, 1fr);
    gap: 2.5rem;
    align-items: start;
  }
  .toc {
    position: sticky;
    top: calc(var(--nav-h) + 1rem);
    margin-bottom: 0;
    max-height: calc(100vh - var(--nav-h) - 2rem);
    overflow-y: auto;
  }
  .toc[open] > .toc-summary { display: none; }
  .toc-nav { margin-top: 0; }
}


/* ============================================================
   8. 线性图标（配合 site.js 注入的 sprite）
   用法：<svg class="icon" aria-hidden="true"><use href="#i-pin"></use></svg>
   ============================================================ */
.icon {
  display: inline-block;
  width: 1.05em;
  height: 1.05em;
  vertical-align: -0.14em;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-right: 0.35em;
}
/* 图标后面已经有空格时避免双倍间距 */
.icon + br,
.icon:last-child { margin-right: 0; }
.card-title .icon,
h1 .icon,
h2 .icon,
h3 .icon { width: 1.15em; height: 1.15em; stroke-width: 1.6; }


/* ============================================================
   9. 色彩约定（收敛后）
   ------------------------------------------------------------
   品牌蓝   --c-brand-strong / --c-link / --qinghai-sky-deep
   中性灰   --qinghai-rock / --qinghai-rock-light / #f8fafc / #e2e8f0
   语义红   --qinghai-warning（警示、错误、禁止）
   语义绿   --c-success（"开放中""通过"这类状态）
   语义黄   .alert-warning / .bg-warning-light（提示类，谨慎使用）
   ------------------------------------------------------------
   ⚠️ 新加内容时不要再用青绿色（--qinghai-water）做文字色，
      它现在只出现在 logo 渐变里作为品牌识别。
   ============================================================ */


/* 卡片语义底色：只保留"危险/信息"两类，其余卡片统一白底 */
.card-header.bg-red-50  { background: #fef2f2; }
.card-header.bg-blue-50 { background: #eff6ff; }
.alert.bg-yellow-50     { background: #fef3c7; }
