﻿:root {
  --accent: #2f6f52;
  --accent-dark: #24553f;
  --accent-soft: #e7f0ea;
  --page: #edf0ec;
  --paper: #ffffff;
  --paper-muted: #f7f8f6;
  --ink: #17231d;
  --muted: #69756e;
  --line: #dce2dd;
  --shadow: 0 24px 70px color-mix(in srgb, var(--ink) 10%, transparent);
}

* { box-sizing: border-box; }
html { min-width: 320px; background: var(--page); }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(color-mix(in srgb, var(--accent) 3.5%, transparent) 1px, transparent 1px),
    linear-gradient(90deg, color-mix(in srgb, var(--accent) 3.5%, transparent) 1px, transparent 1px),
    var(--page);
  background-size: 32px 32px;
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button, input { font: inherit; }

.page-frame {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 54px 24px;
}

.navigator {
  width: min(920px, 100%);
  overflow: hidden;
  background: var(--paper);
  border: 1px solid color-mix(in srgb, var(--ink) 9%, transparent);
  box-shadow: var(--shadow);
}

.site-header {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 36px;
  border-bottom: 1px solid var(--line);
}

.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--accent);
  font: 700 13px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .05em;
}
.brand-copy { display: grid; gap: 3px; }
.brand-copy strong { max-width: 400px; overflow: hidden; text-overflow: ellipsis; font-size: 16px; letter-spacing: .08em; white-space: nowrap; }
.brand-copy small { color: var(--muted); font-size: 9px; letter-spacing: .18em; }

.online-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 10px;
  color: var(--accent-dark);
  background: var(--accent-soft);
  font-size: 12px;
  font-weight: 600;
}
.online-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 12%, transparent); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  gap: 48px;
  align-items: end;
  padding: 54px 54px 46px;
  background: var(--paper-muted);
  border-bottom: 1px solid var(--line);
}
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--accent); font: 700 10px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .2em; }
.intro h1 { margin: 0; font-size: clamp(30px, 5vw, 46px); line-height: 1.12; letter-spacing: -.045em; }
.intro-description { max-width: 520px; margin: 18px 0 0; color: var(--muted); font-size: 15px; line-height: 1.8; }

.status-card { display: flex; align-items: center; gap: 14px; padding: 16px; background: var(--paper); border-left: 3px solid var(--accent); }
.status-icon { flex: 0 0 auto; width: 38px; height: 38px; display: grid; place-items: center; color: var(--accent); background: var(--accent-soft); }
.status-icon svg { width: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.status-card div:last-child { min-width: 0; display: grid; gap: 5px; }
.status-card strong { font-size: 13px; }
.status-card span { overflow: hidden; color: var(--muted); font-size: 11px; text-overflow: ellipsis; white-space: nowrap; }

.routes-section { padding: 44px 54px 50px; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 22px; }
.section-heading h2 { margin: 0; font-size: 20px; letter-spacing: -.02em; }
.section-kicker { margin-bottom: 8px; }
.route-count { color: var(--muted); font-size: 12px; white-space: nowrap; }
.route-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }

.route-card {
  min-width: 0;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 28px;
  align-items: center;
  gap: 14px;
  min-height: 90px;
  padding: 17px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}
.route-card:hover { border-color: var(--accent); box-shadow: 0 9px 25px color-mix(in srgb, var(--accent-dark) 8%, transparent); transform: translateY(-2px); }
.route-card:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 28%, transparent); outline-offset: 2px; }
.route-index { align-self: start; padding-top: 2px; color: var(--accent); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.route-copy { min-width: 0; display: grid; gap: 7px; }
.route-copy strong { overflow: hidden; font-size: 15px; text-overflow: ellipsis; white-space: nowrap; }
.route-meta { display: flex; align-items: center; gap: 7px; min-width: 0; color: var(--muted); font-size: 11px; }
.route-meta span:first-child { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.route-meta i { flex: 0 0 auto; width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.route-arrow { width: 28px; height: 28px; display: grid; place-items: center; color: var(--muted); border: 1px solid var(--line); font-size: 18px; transition: color .18s ease, background .18s ease, border-color .18s ease; }
.route-card:hover .route-arrow { color: #fff; background: var(--accent); border-color: var(--accent); }

.tools-section {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 30px;
  align-items: center;
  padding: 24px 54px;
  background: var(--paper-muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.tools-copy { display: grid; gap: 5px; }
.tools-label { color: var(--accent); font-size: 11px; font-weight: 700; }
.tools-copy p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.6; }
.browser-list { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; }
.browser-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 34px; padding: 7px 10px 7px 8px; color: var(--muted); background: var(--paper); border: 1px solid var(--line); font-size: 12px; transition: color .16s ease, border-color .16s ease; }
.browser-chip:hover { color: var(--accent-dark); border-color: var(--accent); }
.browser-icon { width: 20px; height: 20px; display: block; flex: 0 0 20px; object-fit: contain; }

.site-footer { min-height: 75px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 20px 36px; color: var(--muted); font-size: 11px; }
.site-footer p { margin: 0; letter-spacing: .08em; }
.footer-links { display: flex; align-items: center; gap: 20px; }
.footer-links a { color: var(--ink); }
.footer-links a:hover { color: var(--accent); }

.loading { position: fixed; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 12px; color: var(--muted); background: var(--page); font-size: 12px; transition: opacity .22s ease, visibility .22s ease; }
.loading-mark { width: 40px; height: 40px; display: grid; place-items: center; color: #fff; background: var(--accent); font: 700 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; animation: loading-pulse 1s ease-in-out infinite alternate; }
.loading.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.empty-message { grid-column: 1 / -1; margin: 0; padding: 34px; color: var(--muted); background: var(--paper-muted); border: 1px dashed var(--line); font-size: 13px; text-align: center; }
@keyframes loading-pulse { to { opacity: .55; transform: scale(.94); } }

@media (max-width: 760px) {
  .page-frame { padding: 24px 14px; }
  .site-header { padding: 16px 20px; }
  .brand-copy strong { max-width: 190px; }
  .intro { grid-template-columns: 1fr; gap: 28px; padding: 40px 28px 34px; }
  .status-card { max-width: 300px; }
  .routes-section { padding: 34px 28px 38px; }
  .route-grid { grid-template-columns: 1fr; }
  .tools-section { grid-template-columns: 1fr; gap: 16px; padding: 24px 28px; }
  .browser-list { justify-content: flex-start; }
  .site-footer { padding: 20px 28px; }
}

@media (max-width: 480px) {
  .page-frame { padding: 0; place-items: start center; }
  .navigator { min-height: 100vh; border: 0; box-shadow: none; }
  .site-header { min-height: 72px; }
  .brand-mark { width: 38px; height: 38px; }
  .brand-copy small { display: none; }
  .online-badge { padding: 7px 8px; font-size: 11px; }
  .intro { gap: 18px; padding: 24px 20px 22px; }
  .intro h1 { font-size: 30px; }
  .intro-description { margin-top: 10px; font-size: 13px; line-height: 1.5; }
  .status-card { gap: 10px; padding: 12px; }
  .status-icon { width: 34px; height: 34px; }
  .status-icon svg { width: 20px; }
  .routes-section { padding: 30px 20px 34px; }
  .section-heading { align-items: center; }
  .route-card { min-height: 84px; grid-template-columns: 28px minmax(0, 1fr) 26px; gap: 10px; padding: 15px 14px; }
  .tools-section { padding: 22px 20px; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 12px; padding: 22px 20px; }
  .footer-links { width: 100%; justify-content: space-between; }
}

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

