:root {
  color-scheme: light;
  font-family: "Segoe UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  color: #203447;
  background: #eef2f4;
  font-synthesis: none;
  text-rendering: optimizeLegibility;
  --ink: #203447;
  --muted: #6f7f8d;
  --line: #e3e9ec;
  --accent: #147f82;
  --accent-soft: #e3f1ef;
  --gold: #f2bc56;
}

* { box-sizing: border-box; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: #eef2f4;
}

a { color: inherit; }

.page-shell {
  width: min(100% - 48px, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.site-header {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid #dfe6e9;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  text-decoration: none;
}

.brand-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: var(--ink);
  color: var(--gold);
  font-size: 16px;
  font-weight: 700;
}

.brand-name { font-size: 15px; font-weight: 700; letter-spacing: .02em; }
.header-note { color: var(--muted); font-size: 12px; }
.links-section { margin-top: 36px; }

.section-heading {
  margin-bottom: 14px;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.section-heading h2 { margin: 0; font-size: 15px; font-weight: 700; }
.section-heading span { color: #8a98a3; font-size: 11px; }

.site-card {
  min-height: 114px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  text-decoration: none;
  box-shadow: 0 7px 20px rgba(32, 52, 71, .035);
  transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.site-card + .site-card { margin-top: 10px; }

.site-card:hover {
  transform: translateY(-2px);
  border-color: #9fc9c5;
  box-shadow: 0 13px 28px rgba(32, 52, 71, .09);
}

.site-card:focus-visible {
  outline: 3px solid rgba(20, 127, 130, .28);
  outline-offset: 3px;
}

.site-icon {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 20px;
  font-weight: 700;
}

.site-copy { min-width: 0; flex: 1; display: flex; flex-direction: column; align-items: flex-start; }
.site-title { color: var(--ink); font-size: 15px; font-weight: 700; }
.site-description { margin-top: 5px; color: #536576; font-size: 12px; line-height: 1.6; }
.site-detail { margin-top: 8px; color: #82909b; font-size: 10px; }
.site-detail i { padding: 0 4px; color: #bdc7cc; font-style: normal; }
.site-arrow { color: var(--accent); font-size: 20px; line-height: 1; transition: transform .16s ease; }
.site-card:hover .site-arrow { transform: translate(2px, -2px); }

.site-footer {
  margin-top: auto;
  min-height: 78px;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #8997a1;
  font-size: 10px;
}

@media (max-width: 620px) {
  .page-shell { width: min(100% - 32px, 1040px); }
  .site-header { min-height: 72px; }
  .links-section { margin-top: 28px; }
  .site-card { min-height: 106px; padding: 17px 16px; gap: 13px; }
  .site-icon { width: 42px; height: 42px; flex-basis: 42px; border-radius: 12px; }
  .site-description { max-width: 30ch; }
  .site-footer { align-items: flex-start; flex-direction: column; gap: 6px; padding: 18px 0; }
}

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