:root {
  color-scheme: light;
  --bg: #f6f7fb;
  --card: #ffffff;
  --text: #161923;
  --muted: #687083;
  --line: #e6e9f0;
  --brand: #2563eb;
  --brand-2: #14b8a6;
  --accent: #ff5f3f;
  --shadow: 0 16px 36px rgba(24, 31, 50, .08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fff 0, var(--bg) 260px);
}

a {
  color: inherit;
  text-decoration: none;
}

.page {
  width: min(980px, calc(100% - 28px));
  margin: 0 auto;
  padding: 26px 0 42px;
}

.masthead {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.brand-logo {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 10px 22px rgba(37, 99, 235, .2);
  font-size: 22px;
  font-weight: 900;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(28px, 6vw, 46px);
  line-height: 1.05;
  letter-spacing: 0;
}

.masthead p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.site-list {
  display: grid;
  gap: 12px;
}

.site-card {
  display: grid;
  grid-template-columns: 60px minmax(0, 1fr) 112px;
  align-items: center;
  gap: 16px;
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.site-card img {
  width: 60px;
  height: 60px;
  border: 1px solid var(--line);
  border-radius: 14px;
  object-fit: cover;
  background: #fff;
}

.site-card h2 {
  margin-bottom: 0;
  overflow-wrap: anywhere;
  font-size: 21px;
  letter-spacing: 0;
}

.site-card a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 12px;
  border-radius: 10px;
  color: #fff;
  background: var(--brand);
  font-weight: 800;
  box-shadow: 0 8px 16px rgba(37, 99, 235, .16);
  white-space: nowrap;
}

.site-card a:hover {
  background: #174fc9;
}

.seo-copy {
  margin-top: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 95, 63, .18);
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(255, 95, 63, .09), rgba(20, 184, 166, .08));
}

.seo-copy h2 {
  margin-bottom: 8px;
  font-size: 20px;
  line-height: 1.25;
}

.seo-copy p {
  margin-bottom: 8px;
  color: #3f4656;
  font-size: 15px;
  line-height: 1.75;
}

.seo-copy p:last-child {
  margin-bottom: 0;
}

@media (max-width: 560px) {
  .page {
    width: min(100% - 22px, 980px);
    padding-top: 18px;
  }

  .masthead {
    margin-bottom: 14px;
  }

  .site-card {
    grid-template-columns: 46px minmax(0, 1fr) minmax(104px, auto);
    gap: 10px;
    min-height: 72px;
    padding: 11px;
    border-radius: 12px;
  }

  .site-card img {
    width: 46px;
    height: 46px;
    border-radius: 11px;
  }

  .site-card h2 {
    min-width: 0;
    font-size: 17px;
    line-height: 1.2;
  }

  .site-card a {
    min-height: 38px;
    padding: 0 10px;
    border-radius: 9px;
    font-size: 13px;
    background: linear-gradient(135deg, var(--accent), #f59e0b);
    box-shadow: 0 8px 16px rgba(255, 95, 63, .18);
  }

  .seo-copy {
    margin-top: 14px;
    padding: 14px;
    border-radius: 12px;
  }

  .seo-copy h2 {
    font-size: 18px;
  }

  .seo-copy p {
    font-size: 14px;
    line-height: 1.65;
  }
}
