
:root {
  --bg: #f5f7fb;
  --card: #ffffff;
  --text: #1b2333;
  --muted: #667085;
  --line: #e6eaf2;
  --accent: #2563eb;
  --shadow: 0 4px 20px rgba(20, 30, 60, .06);
  --radius: 18px;
  --maxw: 640px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  padding: 48px 20px 80px;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
}

.header { text-align: center; margin-bottom: 36px; }

h1 {
  font-size: 28px; line-height: 1.35; margin: 0 0 8px;
  letter-spacing: -.3px;
}
.sub { margin: 0; color: var(--muted); font-size: 15px; }

.cards {
  display: flex;
  flex-direction: column;   /* 垂直排列 */
  gap: 16px;
}

.card {
  display: flex; align-items: center; gap: 18px;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  text-decoration: none; color: inherit;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(20, 30, 60, .12);
  border-color: #c7d6f7;
}
.card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

.thumb {
  flex: 0 0 auto;
  width: 64px; height: 64px;
  border-radius: 16px;
  object-fit: cover;
  background: #eef2f9;
}

.info { flex: 1 1 auto; min-width: 0; }

.title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.title { font-size: 17px; font-weight: 600; margin: 0; }
.tag {
  font-size: 12px; padding: 2px 9px; border-radius: 999px;
  background: #eef4ff; color: var(--accent); white-space: nowrap;
}
.subtitle {
  margin: 5px 0 0; font-size: 13.5px; color: var(--muted);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.url {
  margin-top: 7px; font-size: 12.5px; color: #8a94a6;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.arrow {
  flex: 0 0 auto;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: #f1f5fd; color: var(--accent);
  font-size: 18px; line-height: 1;
  transition: transform .18s ease, background .18s ease;
}
.card:hover .arrow { transform: translateX(3px); background: var(--accent); color: #fff; }

.footer { margin-top: 40px; text-align: center; color: #98a2b3; font-size: 12.5px; }

/* 响应式 */
@media (max-width: 560px) {
  body { padding: 32px 16px 60px; }
  h1 { font-size: 22px; }
  .card { padding: 14px; gap: 12px; border-radius: 16px; }
  .thumb { width: 48px; height: 48px; border-radius: 13px; }
  .title { font-size: 15.5px; }
  .subtitle { font-size: 12.5px; }
  .url { display: none; }
  .arrow { width: 28px; height: 28px; font-size: 15px; }
}

@media (min-width: 900px) {
  :root { --maxw: 720px; }
  h1 { font-size: 32px; }
}

