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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'PingFang SC', 'Helvetica Neue', 'Microsoft YaHei', sans-serif;
  background: #f5f5f7;
  color: #111;
  min-height: 100vh;
  padding: 24px 16px;
  -webkit-font-smoothing: antialiased;
}

/* 个人信息卡片 */
.card {
  background: #fff;
  border-radius: 16px;
  padding: 48px 24px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.avatar-ring {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, #a78bfa, #60a5fa);
  margin-bottom: 24px;
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  display: block;
  border: 3px solid #fff;
  object-fit: cover;
}

h1 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.sub {
  font-size: 13px;
  color: #aaa;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.line {
  width: 24px;
  height: 1.5px;
  background: #e0e0e0;
  margin-bottom: 20px;
  border-radius: 1px;
}

.bio {
  font-size: 14px;
  color: #888;
  line-height: 1.8;
}

/* 链接卡片 */
.links {
  background: #fff;
  border-radius: 16px;
  margin-top: 12px;
  padding: 4px 24px;
  overflow: hidden;
}

.links a {
  display: flex;
  align-items: center;
  padding: 16px 0;
  text-decoration: none;
  color: #111;
  font-size: 15px;
  font-weight: 500;
  border-bottom: 1px solid #f2f2f2;
}

.links a:last-child {
  border-bottom: none;
}

.links a:active {
  opacity: 0.6;
}

.link-img {
  width: 28px;
  height: 28px;
  margin-right: 14px;
  border-radius: 6px;
  object-fit: cover;
}

.text {
  flex: 1;
}

.arr {
  font-size: 20px;
  color: #ccc;
}

/* 页脚 */
.footer {
  text-align: center;
  padding: 24px 0;
  font-size: 12px;
  color: #ccc;
}
