/* ==========================================================================
   站点导航 —— 极简
   ========================================================================== */

:root {
  --paper: #f7f5ef;
  --card: #ffffff;
  --ink: #23201a;
  --muted: #837c6d;
  --line: #e8e3d7;
  --brand: #2a4b7c;
  --rope: #b3885a;
  --rope-deep: #8f6a3f;

  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;

  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(35, 32, 26, .07);
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; }

:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 3px;
  border-radius: 4px;
}

.wrap {
  width: 100%;
  max-width: 560px;
  margin: 0 auto;
  padding: 48px 20px;
}

/* --------------------------------------------------------------------------
   标题
   -------------------------------------------------------------------------- */

.head {
  margin-bottom: 28px;
}
.head h1 {
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0 0 6px;
}
.sub {
  color: var(--muted);
  font-size: 13.5px;
  margin: 0;
}

/* --------------------------------------------------------------------------
   站点列表
   -------------------------------------------------------------------------- */

.sites {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.sites a {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 64px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 16px 22px;
  color: inherit;
  box-shadow: var(--shadow-sm);
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.sites a:hover {
  border-color: var(--rope);
  box-shadow: 0 6px 20px rgba(35, 32, 26, .10);
  transform: translateY(-1px);
}

.name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  flex-shrink: 0;
}

/* 小字，暂时留空；有内容时自动撑开 */
.note {
  flex: 1;
  min-width: 0;
  font-size: 13px;
  color: var(--muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.note:empty { flex: 1; }

.go {
  margin-left: auto;
  color: var(--rope);
  font-size: 15px;
  flex-shrink: 0;
  transition: transform .15s, color .15s;
}
.sites a:hover .go {
  transform: translateX(3px);
  color: var(--rope-deep);
}

/* --------------------------------------------------------------------------
   响应式
   -------------------------------------------------------------------------- */

@media (max-width: 480px) {
  .wrap { padding: 32px 16px; }
  .head h1 { font-size: 22px; }
  .sites a { padding: 14px 18px; min-height: 58px; }
  .name { font-size: 16px; }
}
