/* contact.css */

.contact-main {
  height: calc(100vh - 80px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: hidden;
}

.contact-wrap {
  width: 100%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* ── 圆形头像 ── */
.contact-avatar-wrap {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 10px;
  flex-shrink: 0;
}

.contact-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}

/* ── 名字 / 标签 ── */
.contact-name {
  font-family: 'Spectral', serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  margin: 0 0 3px;
}

.contact-role {
  font-size: 11px;
  color: var(--text-secondary);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 18px;
}

/* ── 标题 ── */
.contact-heading {
  font-family: 'Spectral', serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
  margin: 0 0 12px;
}

/* ── 简介 ── */
.contact-bio {
  font-size: 13px;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 16px;
  width: 100%;
}

/* ── 二维码 ── */
.contact-qr-wrap {
  width: 200px;
  height: 200px;
  border: 1px solid var(--border);
  background: #fff;
  border-radius: 4px;
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
}

.contact-qr {
  width: 164px;
  height: 164px;
  display: block;
}

/* ── 二维码备注 ── */
.contact-qr-note {
  font-size: 12px;
  color: var(--text-secondary);
  margin: 0;
  opacity: 0.6;
}

/* ── 暗色模式 ── */
[data-theme="dark"] .contact-qr-wrap {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.15);
}
