:root {
  --bg: #f4f5fa;
  --panel: #ffffff;
  --text: #1e2430;
  --muted: #7a8499;
  --border: #e8eaf1;
  --ok: #16a34a;
  --bad: #dc2626;
  --primary: #6d4aff;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  background:
    radial-gradient(900px 500px at 85% -100px, rgba(109,74,255,.08), transparent 60%),
    radial-gradient(800px 500px at -100px 40%, rgba(22,163,74,.06), transparent 60%),
    var(--bg);
  color: var(--text);
  line-height: 1.5;
  min-height: 100vh;
}

/* ---------- 顶栏 ---------- */
.topbar { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(10px); background: rgba(244,245,250,.85); border-bottom: 1px solid transparent; }
.topbar-inner { max-width: 1080px; margin: 0 auto; padding: 14px 20px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand-logo {
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, #6d4aff, #4a90ff); color: #fff; font-size: 18px;
  box-shadow: 0 4px 12px rgba(109,74,255,.35);
}
.update-badge {
  font-size: 12px; color: var(--muted); background: var(--panel);
  border: 1px solid var(--border); border-radius: 999px; padding: 5px 12px;
}

/* ---------- Hero ---------- */
.hero-wrap { max-width: 1080px; margin: 10px auto 0; padding: 0 20px; }
.hero {
  position: relative; overflow: hidden; text-align: center;
  border-radius: 24px; padding: 52px 24px 56px;
  background: var(--panel);
  border: 1px solid rgba(232,234,241,.8);
  box-shadow: 0 20px 50px rgba(30,36,48,.06);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
}
.hero::before {
  width: 480px; height: 480px; left: -140px; top: -260px;
  background: radial-gradient(circle, rgba(109,74,255,.14), transparent 65%);
}
.hero::after {
  width: 520px; height: 520px; right: -160px; bottom: -300px;
  background: radial-gradient(circle, rgba(22,163,74,.12), transparent 65%);
}
.hero > * { position: relative; z-index: 1; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 600; color: var(--text);
  background: #fff; border: 1px solid var(--border); border-radius: 999px;
  padding: 6px 14px; box-shadow: 0 2px 8px rgba(30,36,48,.06);
}
.hero-pill span:first-child { font-size: 14px; }
.hero-title { font-size: 42px; font-weight: 800; letter-spacing: 1px; margin: 22px 0 4px; }
.hero-domain {
  font-size: 42px; font-weight: 800; letter-spacing: .5px;
  background: linear-gradient(90deg, #6d4aff 0%, #3b82f6 45%, #16a34a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 18px;
}
.hero-notice { font-size: 15px; font-weight: 600; margin: 0 0 6px; }
.hero-notice2 { font-size: 13.5px; color: var(--muted); margin: 0 0 4px; }
.hero-dns { font-size: 13.5px; color: var(--muted); margin: 0; }
.hero-tips { display: flex; justify-content: center; gap: 26px; margin-top: 22px; flex-wrap: wrap; }
.hero-tips .tip { display: inline-flex; align-items: center; gap: 7px; font-size: 13.5px; color: var(--muted); }
.hero-tips .tip .t-ico { color: var(--primary); font-size: 14px; }

/* ---------- 入口区块 ---------- */
.main { max-width: 1080px; margin: 0 auto; padding: 34px 20px 10px; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.section-title { font-size: 24px; font-weight: 800; margin: 0; }
.section-sub { font-size: 13px; color: var(--muted); margin: 6px 0 0; }
.legend { display: flex; gap: 16px; font-size: 12.5px; color: var(--muted); padding-bottom: 4px; }
.legend-item { display: inline-flex; align-items: center; gap: 6px; }
.legend-dot { width: 8px; height: 8px; border-radius: 50%; }
.legend-dot.ok { background: var(--ok); }
.legend-dot.bad { background: var(--bad); }
.check-info { font-size: 12px; color: var(--muted); margin: 10px 0 0; }

.entry-grid {
  display: grid; grid-template-columns: 1fr;
  gap: 22px; margin-top: 18px;
}

/* 入口卡片 */
.entry-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; box-shadow: 0 8px 24px rgba(30,36,48,.05); transition: .18s;
}
.entry-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(30,36,48,.1); }
.entry-head { position: relative; padding: 20px 20px 16px; overflow: hidden; }
.entry-head::after { content: ""; position: absolute; right: -46px; top: -46px; width: 130px; height: 130px; border-radius: 50%; background: rgba(255,255,255,.5); }
.entry-icon {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  font-size: 17px; margin-bottom: 12px;
}
.entry-name { font-size: 19px; font-weight: 800; margin: 0 0 4px; }
.entry-desc { font-size: 12.5px; color: var(--muted); margin: 0; position: relative; z-index: 1; }

.entry-list { padding: 8px 14px 16px; display: flex; flex-direction: column; }
.entry-item {
  display: flex; align-items: center; gap: 12px; padding: 12px 8px;
  border-radius: 12px; text-decoration: none; color: inherit; transition: background .12s;
}
.entry-item:hover { background: #f7f8fc; }
.entry-item + .entry-item { border-top: 1px dashed var(--border); }
.entry-desc-line { display: block; font-size: 12px; color: var(--muted); margin-top: 3px; }
.num-chip {
  width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center;
  font-size: 12px; font-weight: 700; flex-shrink: 0;
}
.entry-body { min-width: 0; flex: 1; }
.entry-title { font-size: 14.5px; font-weight: 700; }
.entry-url { font-size: 11.5px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.entry-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.lat-badge { font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; display: inline-flex; align-items: center; gap: 5px; font-variant-numeric: tabular-nums; }
.lat-badge .d { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.lat-badge.ok { color: var(--ok); background: rgba(22,163,74,.1); }
.lat-badge.bad { color: var(--bad); background: rgba(220,38,38,.09); }
.lat-badge.pending { color: var(--muted); background: #f1f2f7; }
.arrow-ico { color: #b6bdc9; font-size: 13px; transition: .12s; }
.entry-item:hover .arrow-ico { color: var(--primary); transform: translate(1px,-1px); }

.empty-tip { text-align: center; color: var(--muted); padding: 40px 0; }

/* ---------- 页脚 ---------- */
.site-footer {
  max-width: 1080px; margin: 26px auto 0; padding: 18px 20px 30px;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--muted);
}
.admin-link { color: var(--muted); text-decoration: none; }
.admin-link:hover { color: var(--primary); }

/* ---------- 响应式 ---------- */
@media (max-width: 640px) {
  .hero-title, .hero-domain { font-size: 30px; }
  .hero { padding: 38px 16px 42px; border-radius: 18px; }
  .entry-grid { grid-template-columns: 1fr; gap: 16px; }
  .hero-tips { gap: 12px; }
}
