* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: #0f1115;
  color: #eef1f6;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
}

body {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: max(20px, env(safe-area-inset-top)) 16px max(16px, env(safe-area-inset-bottom));
}

header { padding: 12px 4px 20px; }

header h1 {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
}

header p {
  margin-top: 4px;
  font-size: 13px;
  color: #8e98a8;
}

main { flex: 1; }

section { margin-bottom: 24px; }

section h2 {
  font-size: 13px;
  font-weight: 600;
  color: #8e98a8;
  padding: 0 4px 8px;
}

.card {
  display: block;
  position: relative;
  background: #1c2029;
  border: 1px solid #262b36;
  border-radius: 14px;
  padding: 14px 40px 14px 16px;
  margin-bottom: 10px;
  text-decoration: none;
  color: #eef1f6;
}

.card:active { background: #262b36; }

.card-title {
  display: block;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
}

.card-desc {
  display: block;
  margin-top: 3px;
  font-size: 13px;
  color: #8e98a8;
  line-height: 1.4;
}

.card-arrow {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  color: #5b6472;
}

.loading {
  padding: 24px 4px;
  font-size: 14px;
  color: #8e98a8;
}

footer {
  padding-top: 16px;
  text-align: center;
  font-size: 12px;
  color: #5b6472;
}
