/* ============================================
   Metro Ticket — 地铁线路式资讯平台
   彩色线路导航 × 时间轴与分类结合 × 站点式文章浏览
   ============================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

:root {
  --bg-base: #0a0a0f;
  --bg-card: #13131a;
  --bg-card-hover: #1a1a24;
  --bg-elevated: #1e1e2a;
  --bg-surface: #16161f;
  --text-primary: #eaeaf0;
  --text-secondary: #9898a8;
  --text-muted: #55556a;
  --line-red: #ef4444;
  --line-blue: #3b82f6;
  --line-green: #22c55e;
  --line-amber: #f59e0b;
  --line-red-glow: rgba(239,68,68,0.12);
  --line-blue-glow: rgba(59,130,246,0.12);
  --line-green-glow: rgba(34,197,94,0.12);
  --line-amber-glow: rgba(245,158,11,0.12);
  --line-red-soft: rgba(239,68,68,0.06);
  --line-blue-soft: rgba(59,130,246,0.06);
  --line-green-soft: rgba(34,197,94,0.06);
  --line-amber-soft: rgba(245,158,11,0.06);
  --font-display: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

body {
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* ===== 导航栏 ===== */
.mt-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: rgba(10,10,15,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.mt-nav-inner {
  max-width: 1400px;
  margin: 0 auto;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 28px;
}
.mt-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.3px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.mt-logo-mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--line-red), var(--line-amber));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 800;
  color: #0a0a0f;
}
.mt-nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}
.mt-nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  transition: color 0.3s;
}
.mt-nav-links a:hover { color: var(--text-primary); }
.mt-nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mt-search-btn {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: background 0.3s, color 0.3s;
  color: var(--text-muted);
}
.mt-search-btn:hover { background: rgba(255,255,255,0.06); color: var(--text-primary); }
.mt-search-btn svg { width: 18px; height: 18px; }
.mt-mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}
.mt-mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 1px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== 搜索覆盖层 ===== */
.mt-search-overlay {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 14vh;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.mt-search-overlay.active { opacity: 1; pointer-events: all; }
.mt-search-overlay-inner {
  width: 100%; max-width: 580px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  padding: 24px; position: relative;
  max-height: 70vh; overflow-y: auto;
}
.mt-search-close {
  position: absolute; top: 10px; right: 14px;
  font-size: 22px; background: none; border: none;
  cursor: pointer; color: var(--text-muted); line-height: 1;
}
.mt-search-close:hover { color: var(--text-primary); }
.mt-search-box {
  display: flex; align-items: center; gap: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 14px; margin-bottom: 14px;
}
.mt-search-box svg { width: 20px; height: 20px; color: var(--text-muted); flex-shrink: 0; }
.mt-search-input {
  width: 100%; border: none; outline: none;
  font-size: 15px; font-family: var(--font-body);
  background: transparent; color: var(--text-primary);
}
.mt-search-input::placeholder { color: var(--text-muted); }
.mt-search-results { display: flex; flex-direction: column; gap: 4px; }
.mt-search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 10px 8px; border-radius: 8px;
  text-decoration: none; color: inherit; transition: background 0.2s;
}
.mt-search-result-item:hover { background: rgba(255,255,255,0.04); }
.mt-search-result-thumb {
  width: 52px; height: 36px; border-radius: 4px;
  overflow: hidden; flex-shrink: 0; background: var(--bg-elevated);
}
.mt-search-result-thumb img { width: 100%; height: 100%; object-fit: cover; }
.mt-search-result-info { flex: 1; min-width: 0; }
.mt-search-result-cat {
  font-size: 9px; font-weight: 700; letter-spacing: 1.5px;
  text-transform: uppercase; margin-bottom: 2px;
}
.mt-search-result-title {
  font-size: 13px; line-height: 1.4;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.mt-search-empty { text-align: center; padding: 24px; color: var(--text-muted); font-size: 14px; }

/* ===== 线路选择器 ===== */
.mt-line-selector {
  max-width: 1400px;
  margin: 0 auto;
  padding: 28px 28px 0;
}
.mt-line-selector-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}
.mt-line-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.mt-line-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
  cursor: pointer;
  transition: all 0.3s var(--ease-out);
  border: 1.5px solid transparent;
  background: var(--bg-card);
  color: var(--text-secondary);
}
.mt-line-tab-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mt-line-tab:hover {
  border-color: rgba(255,255,255,0.1);
  background: var(--bg-card-hover);
}
.mt-line-tab.active {
  color: var(--text-primary);
}
.mt-line-tab--red .mt-line-tab-dot { background: var(--line-red); }
.mt-line-tab--red.active { border-color: var(--line-red); background: var(--line-red-glow); }
.mt-line-tab--blue .mt-line-tab-dot { background: var(--line-blue); }
.mt-line-tab--blue.active { border-color: var(--line-blue); background: var(--line-blue-glow); }
.mt-line-tab--green .mt-line-tab-dot { background: var(--line-green); }
.mt-line-tab--green.active { border-color: var(--line-green); background: var(--line-green-glow); }
.mt-line-tab--amber .mt-line-tab-dot { background: var(--line-amber); }
.mt-line-tab--amber.active { border-color: var(--line-amber); background: var(--line-amber-glow); }

/* ===== 焦点站（Hero） ===== */
.mt-hero {
  max-width: 1400px;
  margin: 0 auto;
  padding: 32px 28px 0;
}
.mt-hero-card {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  position: relative;
  transition: border-color 0.3s;
}
.mt-hero-card:hover {
  border-color: rgba(255,255,255,0.08);
}
.mt-hero-img {
  position: relative;
  overflow: hidden;
  min-height: 380px;
}
.mt-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}
.mt-hero-card:hover .mt-hero-img img {
  transform: scale(1.03);
}
.mt-hero-img-line {
  position: absolute;
  top: 20px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 100px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.mt-hero-img-line-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mt-hero-img-line--red {
  background: rgba(239,68,68,0.2);
  color: var(--line-red);
}
.mt-hero-img-line--red .mt-hero-img-line-dot { background: var(--line-red); }
.mt-hero-img-line--blue {
  background: rgba(59,130,246,0.2);
  color: var(--line-blue);
}
.mt-hero-img-line--blue .mt-hero-img-line-dot { background: var(--line-blue); }
.mt-hero-img-line--green {
  background: rgba(34,197,94,0.2);
  color: var(--line-green);
}
.mt-hero-img-line--green .mt-hero-img-line-dot { background: var(--line-green); }
.mt-hero-img-line--amber {
  background: rgba(245,158,11,0.2);
  color: var(--line-amber);
}
.mt-hero-img-line--amber .mt-hero-img-line-dot { background: var(--line-amber); }

.mt-hero-body {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.mt-hero-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.mt-hero-tag--red { color: var(--line-red); }
.mt-hero-tag--blue { color: var(--line-blue); }
.mt-hero-tag--green { color: var(--line-green); }
.mt-hero-tag--amber { color: var(--line-amber); }

.mt-hero-title {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}
.mt-hero-excerpt {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 20px;
}
.mt-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: gap 0.3s var(--ease-out);
}
.mt-hero-cta:hover { gap: 14px; }
.mt-hero-cta svg { width: 14px; height: 14px; }

/* ===== 线路概览图（Metro Map） ===== */
.mt-map {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px 0;
}
.mt-map-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.mt-map-canvas {
  position: relative;
  padding: 24px 0;
  overflow-x: auto;
}
.mt-map-lines {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.mt-map-line {
  display: flex;
  align-items: center;
  gap: 0;
  position: relative;
  min-width: max-content;
}
.mt-map-line-label {
  width: 140px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
}
.mt-map-line-label-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.mt-map-line-label-dot::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--bg-base);
}
.mt-map-line-track {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  position: relative;
  min-width: 600px;
}
.mt-map-line-track--red { background: var(--line-red); }
.mt-map-line-track--blue { background: var(--line-blue); }
.mt-map-line-track--green { background: var(--line-green); }
.mt-map-line-track--amber { background: var(--line-amber); }

.mt-map-station {
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--bg-base);
  cursor: pointer;
  transition: transform 0.3s var(--ease-spring), box-shadow 0.3s;
  z-index: 2;
}
.mt-map-station:hover {
  transform: translate(-50%, -50%) scale(1.4);
  z-index: 3;
}
.mt-map-station--red { border-color: var(--line-red); }
.mt-map-station--red:hover { box-shadow: 0 0 12px var(--line-red); }
.mt-map-station--blue { border-color: var(--line-blue); }
.mt-map-station--blue:hover { box-shadow: 0 0 12px var(--line-blue); }
.mt-map-station--green { border-color: var(--line-green); }
.mt-map-station--green:hover { box-shadow: 0 0 12px var(--line-green); }
.mt-map-station--amber { border-color: var(--line-amber); }
.mt-map-station--amber:hover { box-shadow: 0 0 12px var(--line-amber); }

.mt-map-station-label {
  position: absolute;
  top: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--text-muted);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.mt-map-station:hover .mt-map-station-label {
  opacity: 1;
  color: var(--text-secondary);
}

/* ===== 线路详情区 ===== */
.mt-line-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 56px 28px 0;
}
.mt-line-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.mt-line-header-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
}
.mt-line-header-dot::after {
  content: '';
  position: absolute;
  inset: 4px;
  border-radius: 50%;
  background: var(--bg-base);
}
.mt-line-header-dot--red { background: var(--line-red); }
.mt-line-header-dot--blue { background: var(--line-blue); }
.mt-line-header-dot--green { background: var(--line-green); }
.mt-line-header-dot--amber { background: var(--line-amber); }

.mt-line-header-bar {
  flex: 1;
  height: 3px;
  border-radius: 2px;
}
.mt-line-header-bar--red { background: var(--line-red); }
.mt-line-header-bar--blue { background: var(--line-blue); }
.mt-line-header-bar--green { background: var(--line-green); }
.mt-line-header-bar--amber { background: var(--line-amber); }

.mt-line-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mt-line-header-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.3px;
}
.mt-line-header-count {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}
.mt-line-header-count--red { background: var(--line-red-glow); color: var(--line-red); }
.mt-line-header-count--blue { background: var(--line-blue-glow); color: var(--line-blue); }
.mt-line-header-count--green { background: var(--line-green-glow); color: var(--line-green); }
.mt-line-header-count--amber { background: var(--line-amber-glow); color: var(--line-amber); }

/* ===== 站点卡片网格 ===== */
.mt-stations {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.mt-station-card {
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
  position: relative;
  cursor: pointer;
}
.mt-station-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255,255,255,0.08);
}
.mt-station-card--red:hover { box-shadow: 0 8px 30px var(--line-red-glow); border-color: rgba(239,68,68,0.2); }
.mt-station-card--blue:hover { box-shadow: 0 8px 30px var(--line-blue-glow); border-color: rgba(59,130,246,0.2); }
.mt-station-card--green:hover { box-shadow: 0 8px 30px var(--line-green-glow); border-color: rgba(34,197,94,0.2); }
.mt-station-card--amber:hover { box-shadow: 0 8px 30px var(--line-amber-glow); border-color: rgba(245,158,11,0.2); }

.mt-station-card-img {
  position: relative;
  height: 160px;
  overflow: hidden;
}
.mt-station-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}
.mt-station-card:hover .mt-station-card-img img {
  transform: scale(1.05);
}
.mt-station-card-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 50%);
}
.mt-station-card-number {
  position: absolute;
  top: 12px;
  left: 12px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 800;
  border: 2px solid;
  background: var(--bg-base);
}
.mt-station-card-number--red { border-color: var(--line-red); color: var(--line-red); }
.mt-station-card-number--blue { border-color: var(--line-blue); color: var(--line-blue); }
.mt-station-card-number--green { border-color: var(--line-green); color: var(--line-green); }
.mt-station-card-number--amber { border-color: var(--line-amber); color: var(--line-amber); }

.mt-station-card-body {
  padding: 16px 18px 18px;
}
.mt-station-card-cat {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.mt-station-card-cat--red { color: var(--line-red); }
.mt-station-card-cat--blue { color: var(--line-blue); }
.mt-station-card-cat--green { color: var(--line-green); }
.mt-station-card-cat--amber { color: var(--line-amber); }

.mt-station-card-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: -0.2px;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mt-station-card-excerpt {
  font-size: 13px;
  line-height: 1.6;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.mt-station-card-connector {
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 3px;
  height: 16px;
  border-radius: 2px;
  opacity: 0;
}
.mt-station-card--red .mt-station-card-connector { background: var(--line-red); }
.mt-station-card--blue .mt-station-card-connector { background: var(--line-blue); }
.mt-station-card--green .mt-station-card-connector { background: var(--line-green); }
.mt-station-card--amber .mt-station-card-connector { background: var(--line-amber); }

/* ===== 时间轴站点列表 ===== */
.mt-timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-left: 32px;
}
.mt-timeline::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 3px;
  border-radius: 2px;
}
.mt-timeline--red::before { background: var(--line-red); }
.mt-timeline--blue::before { background: var(--line-blue); }
.mt-timeline--green::before { background: var(--line-green); }
.mt-timeline--amber::before { background: var(--line-amber); }

.mt-timeline-item {
  position: relative;
  padding: 16px 0 16px 24px;
  border-bottom: 1px solid rgba(255,255,255,0.03);
  transition: background 0.3s;
  cursor: pointer;
}
.mt-timeline-item:last-child { border-bottom: none; }
.mt-timeline-item:hover { background: rgba(255,255,255,0.02); }
.mt-timeline-item-dot {
  position: absolute;
  left: -32px;
  top: 20px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid;
  background: var(--bg-base);
  z-index: 2;
}
.mt-timeline-item--red .mt-timeline-item-dot { border-color: var(--line-red); }
.mt-timeline-item--blue .mt-timeline-item-dot { border-color: var(--line-blue); }
.mt-timeline-item--green .mt-timeline-item-dot { border-color: var(--line-green); }
.mt-timeline-item--amber .mt-timeline-item-dot { border-color: var(--line-amber); }

.mt-timeline-item-inner {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
}
.mt-timeline-item-thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.mt-timeline-item-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mt-timeline-item-content { min-width: 0; }
.mt-timeline-item-title {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s;
}
.mt-timeline-item:hover .mt-timeline-item-title { color: var(--text-primary); }
.mt-timeline-item--red:hover .mt-timeline-item-title { color: var(--line-red); }
.mt-timeline-item--blue:hover .mt-timeline-item-title { color: var(--line-blue); }
.mt-timeline-item--green:hover .mt-timeline-item-title { color: var(--line-green); }
.mt-timeline-item--amber:hover .mt-timeline-item-title { color: var(--line-amber); }

.mt-timeline-item-excerpt {
  font-size: 12px;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== 换乘提示（跨分类文章） ===== */
.mt-transfer {
  max-width: 1400px;
  margin: 0 auto;
  padding: 48px 28px 0;
}
.mt-transfer-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.mt-transfer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.mt-transfer-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-card);
  border: 1px solid rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  transition: background 0.3s, border-color 0.3s;
  cursor: pointer;
}
.mt-transfer-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.08);
}
.mt-transfer-card-img {
  width: 64px;
  height: 48px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.mt-transfer-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.mt-transfer-card-body { flex: 1; min-width: 0; }
.mt-transfer-card-lines {
  display: flex;
  gap: 4px;
  margin-bottom: 4px;
}
.mt-transfer-card-line-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.mt-transfer-card-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ===== Footer ===== */
.mt-footer {
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.04);
  padding: 56px 0 28px;
  margin-top: 64px;
}
.mt-footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}
.mt-footer-brand {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mt-footer-desc {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 300px;
}
.mt-footer-links {
  display: contents;
}
.mt-footer-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mt-footer-col-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.mt-footer-col a {
  font-size: 13px;
  color: var(--text-secondary);
  transition: color 0.3s;
}
.mt-footer-col a:hover { color: var(--line-red); }
.mt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.04);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
}

/* ===== 进入动画 ===== */
.mt-reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}
.mt-reveal.mt-revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .mt-hero-card {
    grid-template-columns: 1fr;
  }
  .mt-hero-img {
    min-height: 260px;
  }
  .mt-stations {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  }
}

@media (max-width: 768px) {
  .mt-nav-links { display: none; }
  .mt-mobile-menu-btn { display: flex; }
  .mt-hero-card {
    grid-template-columns: 1fr;
  }
  .mt-hero-img {
    min-height: 220px;
  }
  .mt-hero-body {
    padding: 24px 20px;
  }
  .mt-stations {
    grid-template-columns: 1fr;
  }
  .mt-map-line-label {
    width: 100px;
    font-size: 10px;
  }
  .mt-footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .mt-transfer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .mt-nav-inner { padding: 0 16px; }
  .mt-line-selector { padding: 20px 16px 0; }
  .mt-hero { padding: 24px 16px 0; }
  .mt-map { padding: 36px 16px 0; }
  .mt-line-section { padding: 40px 16px 0; }
  .mt-transfer { padding: 36px 16px 0; }
  .mt-line-tabs { gap: 6px; }
  .mt-line-tab { padding: 6px 12px; font-size: 12px; }
}
