/* 版式照余温 yuwen.website：淡蓝渐变底、一张大白卡、子页"标签 + 内容"列表 */
:root {
  --background: linear-gradient(180deg, #cbe7f5, #bfe0f0 42%, #b1d8eb);
  --card-surface: rgba(255, 255, 255, .88);
  --card-hover: rgba(255, 255, 255, .96);
  --border-soft: rgba(255, 255, 255, .6);
  --text-primary: #0f1f33;
  --text-secondary: rgba(15, 31, 51, .68);
  --accent: #2f80ed;
  --shadow-soft: 0 30px 60px rgba(26, 64, 96, .18);
}
* { box-sizing: border-box; }
body {
  margin: 0; min-height: 100vh;
  background: var(--background);
  color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased;
  font-family: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}
a { color: inherit; text-decoration: none; }

/* 主页 */
.page { min-height: 100vh; padding: clamp(1.2rem, 4vw, 1.8rem) 1.75rem; display: flex; align-items: center; justify-content: center; }
.hero-card {
  width: min(100%, 480px); display: flex; flex-direction: column; align-items: center; gap: 2rem;
  padding: clamp(2.4rem, 6vw, 3.6rem) clamp(1.5rem, 5vw, 2.6rem);
  border-radius: clamp(28px, 5vw, 36px); background: var(--card-surface);
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-soft);
}
.hero { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 1.2rem; }
.hero__avatar {
  width: clamp(140px, 32vw, 190px); aspect-ratio: 1 / 1; border-radius: 34px; overflow: hidden;
  background: rgba(255, 255, 255, .45);
  box-shadow: inset 0 0 0 1.2px rgba(255, 255, 255, .65), 0 18px 45px rgba(26, 64, 96, .22);
}
.hero__avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero__name { margin: 0; font-size: clamp(1.9rem, 3.4vw, 2.4rem); font-weight: 650; letter-spacing: -.01em; }
.hero__intro { display: flex; flex-direction: column; gap: .5rem; }
.hero__intro-line { margin: 0; color: var(--text-secondary); font-size: clamp(.88rem, 2vw, .98rem); line-height: 1.5; }
.hero__intro-line--highlight { color: var(--accent); font-weight: 500; }

.link-list { display: flex; flex-direction: column; width: 100%; gap: .9rem; }
.link-card {
  display: flex; align-items: center; justify-content: space-between; padding: 1.05rem 1.2rem;
  border-radius: 22px; background: rgba(255, 255, 255, .92); border: 1px solid rgba(255, 255, 255, .7);
  transition: transform .28s ease, box-shadow .28s ease, background .28s ease;
}
.link-card:hover, .link-card:focus-visible { transform: translateY(-4px); background: var(--card-hover); box-shadow: 0 18px 32px rgba(26, 64, 96, .18); }
.link-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.link-card__content { display: flex; flex-direction: column; gap: .35rem; }
.link-card__title { font-size: 1.02rem; font-weight: 600; }
.link-card__description { color: var(--text-secondary); font-size: .92rem; }

/* 子页 */
.subpage { min-height: 100vh; padding: clamp(2.2rem, 6vw, 3.5rem) 1.75rem; display: flex; justify-content: center; align-items: center; }
.subpage__card {
  width: min(100%, 560px); display: flex; flex-direction: column; gap: 1.4rem;
  padding: clamp(2.2rem, 6vw, 3rem) clamp(1.6rem, 5vw, 2.4rem);
  background: var(--card-surface); border-radius: clamp(26px, 5vw, 32px);
  border: 1px solid var(--border-soft); box-shadow: var(--shadow-soft);
}
.back-link { align-self: flex-start; display: inline-flex; align-items: center; gap: .4rem; font-size: .95rem; color: var(--accent); font-weight: 500; }
.back-link::before { content: "←"; font-size: 1.1rem; }
.subpage__title { margin: 0; font-size: clamp(1.6rem, 3vw, 2rem); font-weight: 620; }
.subpage__info { margin: 0; color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }
.info-list { display: flex; flex-direction: column; gap: .8rem; padding: 0; margin: 0; list-style: none; }
.info-list__item {
  padding: .85rem 1rem; border-radius: 16px; background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(255, 255, 255, .6); box-shadow: 0 12px 24px rgba(26, 64, 96, .08);
}
.info-list__label { display: block; font-size: .78rem; letter-spacing: .08em; color: rgba(15, 31, 51, .5); }
.info-list__value { display: block; margin-top: .35rem; font-size: 1.02rem; font-weight: 600; }
.info-list__value--list { display: flex; flex-direction: column; gap: .3rem; font-weight: 500; font-size: .95rem; line-height: 1.6; }
.info-list__value a { color: var(--accent); }
.subpage__divider { width: 100%; text-align: center; font-size: .82rem; color: rgba(15, 31, 51, .4); position: relative; margin: .5rem 0; }
.subpage__divider::before, .subpage__divider::after { content: ""; position: absolute; top: 50%; width: 30%; height: 1px; background: rgba(15, 31, 51, .1); }
.subpage__divider::before { left: 0; }
.subpage__divider::after { right: 0; }
.subpage__footer { margin: 0; text-align: center; color: var(--text-secondary); font-size: .92rem; font-style: italic; }

/* 微信号点一下复制、二维码 */
.copy { cursor: pointer; background: none; border: 0; padding: 0; display: flex; align-items: center; justify-content: space-between; gap: .8rem; width: 100%; font: inherit; color: inherit; text-align: left; }
.copy__btn { color: var(--accent); font-size: .85rem; font-weight: 500; flex-shrink: 0; }
.qr { text-align: center; }
.qr img { width: 180px; max-width: 100%; border-radius: 12px; display: block; margin: .3rem auto 0; }
.qr span { display: block; color: var(--text-secondary); font-size: .85rem; margin-top: .4rem; }

.toast {
  position: fixed; left: 50%; bottom: 40px; transform: translate(-50%, 20px);
  background: var(--text-primary); color: #fff; font-size: .88rem; padding: 10px 18px; border-radius: 999px;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
