:root {
  --bg: #f3f4f6;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
  --green: #16a34a;
  --green-dark: #15803d;
  --green-soft: #ecfdf5;
  --border: #e5e7eb;
  --shadow: 0 2px 10px rgba(15, 23, 42, 0.06);
  --radius: 12px;
  --page-max: 420px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: var(--page-max);
  margin: 0 auto;
  padding: 28px 16px 40px;
}

.hero {
  text-align: center;
  margin-bottom: 22px;
}

.shield {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.security-badge {
  display: inline-block;
  margin: 0 0 10px;
  padding: 10px 22px;
  font-size: 18px;
  font-weight: 700;
  color: var(--green-dark);
  background: var(--card);
  border: 1px solid #bbf7d0;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.hint {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.lines {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 22px;
}

.line-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 14px 14px 14px 16px;
  text-decoration: none;
  color: inherit;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 999px;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, box-shadow 0.12s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.line-btn:active {
  transform: scale(0.98);
}

.line-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #0ea5e9;
}

.line-name {
  flex: 1;
  min-width: 0;
  font-size: 16px;
  font-weight: 600;
  color: #0f172a;
  text-align: left;
}

.line-latency {
  flex-shrink: 0;
  min-width: 64px;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-align: center;
}

.line-latency.is-pending {
  background: #94a3b8;
}

.line-latency.is-error {
  background: #ef4444;
  font-size: 12px;
}

.anti-title {
  margin: 0 0 12px;
  text-align: center;
  font-size: 14px;
  font-weight: 700;
  color: #0d9488;
  line-height: 1.45;
}

.guide-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 16px 14px;
  box-shadow: var(--shadow);
}

.guide-title {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 10px;
  font-size: 16px;
  font-weight: 700;
  color: #111827;
}

.guide-icon {
  color: #ef4444;
  font-size: 18px;
  line-height: 1;
}

.guide-list {
  margin: 0;
  padding-left: 18px;
  color: #374151;
  font-size: 13px;
  line-height: 1.7;
}

.guide-list li + li {
  margin-top: 2px;
}

.copyright {
  margin-top: 28px;
  text-align: center;
  font-size: 12px;
  color: #9ca3af;
  line-height: 1.5;
}
