/* css/base.css */
/* =========================================================
   贞白记忆 · 设计系统
   青绿 + 蓝 + 阳光黄 + 纸张米白
   ========================================================= */
:root {
  --ink: #123c3a;
  --ink-soft: #2f5a55;
  --ink-mute: #6d8984;
  --teal-950: #072e2a;
  --teal-900: #0a3f3a;
  --teal-800: #0d544c;
  --teal-700: #0f6b5f;
  --teal-600: #128878;
  --teal-500: #17a08c;
  --teal-300: #7fd8c3;
  --teal-100: #dff6ec;
  --blue-900: #123a5c;
  --blue-700: #1d5f8c;
  --blue-500: #2f8fbe;
  --blue-200: #bfe9f1;
  --blue-100: #e5f7fa;
  --sun: #ffcc4d;
  --sun-deep: #f0a93a;
  --sun-pale: #fff4cc;
  --cream: #fbf7e9;
  --cream-2: #f3ecd8;
  --cream-3: #eae1c8;
  --paper: #fffdf4;
  --brick: #b95646;
  --leaf: #6dbb75;
  --line: #d8d0ba;
  --line-strong: #bfb59b;
  --shadow-sm: 0 4px 14px rgba(18, 60, 58, 0.08);
  --shadow-md: 0 16px 40px rgba(18, 60, 58, 0.12);
  --shadow-lg: 0 30px 80px rgba(18, 60, 58, 0.2);
  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 30px;
  --font-sans: "Noto Sans SC", "Source Han Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --font-hand: "STXingkai", "华文行楷", "STKaiti", "KaiTi", "楷体", cursive;
  --font-chalk: "STKaiti", "KaiTi", "楷体", "Noto Serif SC", serif;
  --font-num: "DINNextLTPro-Bold", "Bahnschrift", "Arial Narrow", "Noto Sans SC", sans-serif;
  --nav-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 110px;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background-color: var(--cream);
  background-image:
    radial-gradient(rgba(18, 60, 58, 0.035) 1px, transparent 1px),
    radial-gradient(rgba(47, 143, 190, 0.03) 1px, transparent 1px);
  background-size: 26px 26px, 52px 52px;
  background-position: 0 0, 13px 13px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; }
::selection { background: var(--teal-300); color: var(--teal-950); }

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

h1, h2, h3, h4, h5, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap {
  width: min(1280px, calc(100% - 48px));
  margin-inline: auto;
}
.wrap-narrow { width: min(980px, calc(100% - 48px)); margin-inline: auto; }

.hand { font-family: var(--font-hand); font-weight: 400; letter-spacing: 0.02em; }
.chalk { font-family: var(--font-chalk); }
.num { font-family: var(--font-num); font-variant-numeric: tabular-nums; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--teal-700);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--teal-500);
  border-radius: 2px;
}
.eyebrow--light { color: var(--teal-100); }
.eyebrow--light::before { background: var(--teal-300); }

.section-kicker {
  font-family: var(--font-num);
  font-size: 13px;
  letter-spacing: 0.28em;
  color: var(--teal-600);
  font-weight: 700;
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.7rem);
  line-height: 1.15;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.section-title .hl {
  position: relative;
  white-space: nowrap;
}
.section-title .hl::after {
  content: "";
  position: absolute;
  left: -0.06em;
  right: -0.06em;
  bottom: 0.02em;
  height: 0.32em;
  background: var(--sun);
  opacity: 0.55;
  z-index: -1;
  border-radius: 4px 10px 6px 12px;
  transform: rotate(-0.6deg);
}
.section-lead {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: clamp(0.95rem, 1.2vw, 1.08rem);
}

/* ---------- 按钮 ---------- */
.btn {
  --btn-bg: var(--teal-700);
  --btn-fg: #fffdf4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.02em;
  border: 1.5px solid transparent;
  box-shadow: 0 8px 20px rgba(15, 107, 95, 0.22);
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(15, 107, 95, 0.28); }
.btn:active { transform: translateY(-1px); }
.btn .i { width: 18px; height: 18px; transition: transform 0.25s ease; }
.btn:hover .i { transform: translateX(3px); }
.btn--sun { --btn-bg: var(--sun); --btn-fg: var(--teal-950); box-shadow: 0 8px 22px rgba(240, 169, 58, 0.35); }
.btn--sun:hover { box-shadow: 0 14px 34px rgba(240, 169, 58, 0.42); }
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(18, 60, 58, 0.22);
  box-shadow: none;
}
.btn--ghost:hover { background: rgba(255, 253, 244, 0.7); border-color: var(--teal-600); box-shadow: var(--shadow-sm); }
.btn--light { --btn-bg: #fffdf4; --btn-fg: var(--teal-900); box-shadow: 0 8px 22px rgba(7, 46, 42, 0.25); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 13.5px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.55; pointer-events: none; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--teal-700);
  border-bottom: 2px solid rgba(15, 107, 95, 0.25);
  padding-bottom: 2px;
  transition: gap 0.25s, border-color 0.25s;
}
.link-arrow:hover { gap: 13px; border-color: var(--teal-600); }

/* ---------- 胶带 / 纸片 ---------- */
.tape {
  position: absolute;
  width: 92px;
  height: 26px;
  background: rgba(127, 216, 195, 0.72);
  box-shadow: 0 2px 6px rgba(18, 60, 58, 0.08);
  clip-path: polygon(2% 8%, 98% 0, 100% 92%, 0 100%);
  z-index: 3;
}
.tape--sun { background: rgba(255, 204, 77, 0.66); }
.tape--blue { background: rgba(191, 233, 241, 0.8); }
.tape--cream { background: rgba(255, 253, 244, 0.85); }

.paper-card {
  position: relative;
  background: var(--paper);
  border: 1px solid rgba(18, 60, 58, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}

/* ---------- 导航 ---------- */
.site-nav {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1240px, calc(100% - 32px));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 9px 10px 9px 18px;
  border-radius: 999px;
  background: rgba(255, 252, 241, 0.82);
  border: 1px solid rgba(18, 60, 58, 0.12);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  box-shadow: 0 10px 40px rgba(18, 60, 58, 0.1);
  transition: padding 0.3s, background 0.3s;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; min-width: 0; }
.brand-mark {
  width: 42px; height: 42px;
  display: grid; place-items: center;
  background: linear-gradient(145deg, var(--teal-600), var(--teal-800));
  border-radius: 14px;
  color: var(--sun);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.22), 0 6px 14px rgba(10, 63, 58, 0.22);
  flex: none;
  transform: rotate(-4deg);
}
.brand-mark svg { width: 24px; height: 24px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong { font-size: 16px; font-weight: 900; letter-spacing: 0.04em; }
.brand-text small { font-size: 8.5px; letter-spacing: 0.22em; color: var(--ink-mute); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  position: relative;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}
.nav-links a:hover { background: rgba(127, 216, 195, 0.22); color: var(--teal-800); }
.nav-links a.is-active { color: var(--teal-900); }
.nav-links a.is-active::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 2px;
  width: 5px; height: 5px;
  margin-left: -2.5px;
  border-radius: 50%;
  background: var(--sun-deep);
}
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  border: 1.5px solid rgba(18, 60, 58, 0.18);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 4px;
}
.nav-toggle span { display: block; width: 17px; height: 2px; background: var(--ink); border-radius: 2px; transition: 0.25s; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    background: rgba(255, 252, 241, 0.98);
    border: 1px solid rgba(18, 60, 58, 0.12);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: 0.25s;
  }
  .nav-links.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav-links a { padding: 12px 18px; }
  .nav-toggle { display: flex; }
  .nav-actions .btn { display: none; }
}

/* ---------- 页脚 ---------- */
.site-footer {
  position: relative;
  background: var(--teal-950);
  color: var(--teal-100);
  padding: 84px 0 34px;
  overflow: hidden;
}
.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 12%, rgba(23, 160, 140, 0.35), transparent 42%),
    radial-gradient(circle at 88% 30%, rgba(47, 143, 190, 0.24), transparent 40%);
  pointer-events: none;
}
.footer-inner { position: relative; z-index: 1; }
.footer-word {
  font-size: clamp(4rem, 15vw, 13rem);
  font-weight: 900;
  line-height: 0.85;
  letter-spacing: -0.06em;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(223, 246, 236, 0.28);
  user-select: none;
  margin-bottom: 30px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr 0.7fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(223, 246, 236, 0.16);
}
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand .brand-mark { width: 50px; height: 50px; border-radius: 16px; }
.footer-brand h3 { font-size: 22px; font-weight: 900; letter-spacing: 0.04em; color: #fffef8; }
.footer-brand p { margin-top: 8px; font-size: 13px; color: rgba(223, 246, 236, 0.7); max-width: 38ch; line-height: 1.9; }
.footer-col h4 { font-size: 12px; letter-spacing: 0.18em; color: var(--teal-300); margin-bottom: 16px; font-weight: 700; }
.footer-col a, .footer-col p { display: block; font-size: 13.5px; color: rgba(223, 246, 236, 0.82); margin-bottom: 10px; transition: color 0.2s; }
.footer-col a:hover { color: var(--sun); }
.footer-bottom {
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 12px;
  color: rgba(223, 246, 236, 0.55);
}
.footer-bottom .share-mini {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--teal-300); border: 1px solid rgba(127, 216, 195, 0.35);
  padding: 7px 14px; border-radius: 999px; font-size: 12px;
  transition: 0.2s;
}
.footer-bottom .share-mini:hover { background: rgba(127, 216, 195, 0.12); color: #fff; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

/* ---------- 通用动画 ---------- */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

@keyframes float-soft {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 0deg)); }
  50% { transform: translateY(-12px) rotate(calc(var(--rot, 0deg) + 1.5deg)); }
}
@keyframes ribbon-slide {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@keyframes pop-in {
  from { opacity: 0; transform: scale(0.96) translateY(10px); }
  to { opacity: 1; transform: none; }
}
@keyframes spin-slow { to { transform: rotate(360deg); } }
@keyframes blink-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.25; }
}

/* ---------- 四季粒子容器 ---------- */
.fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.fx.is-paused span { animation-play-state: paused; }
.fx span { position: absolute; top: -12%; display: block; background-size: contain; background-repeat: no-repeat; background-position: center; will-change: transform; }
.fx span { animation: fx-fall linear infinite; }
@keyframes fx-fall {
  0% { transform: translate3d(0, -8vh, 0) rotate(0deg); }
  100% { transform: translate3d(var(--drift, 80px), 112vh, 0) rotate(var(--spin, 300deg)); }
}
.fx-petal { background-color: transparent; }
.fx-leaf { filter: drop-shadow(0 4px 4px rgba(90, 45, 30, 0.12)); }
.fx-snow { background-color: transparent; }
.fx-snow span { filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.7)); }
.fx-snow span:nth-child(3n) { filter: blur(0.5px) drop-shadow(0 0 3px rgba(255, 255, 255, 0.6)); }
.fx-mote {
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 250, 210, 0.95), rgba(255, 236, 160, 0.2) 70%, transparent 72%);
  animation-name: fx-mote;
}
@keyframes fx-mote {
  0% { transform: translate3d(0, 10vh, 0) scale(0.6); opacity: 0; }
  20% { opacity: var(--o, 0.6); }
  80% { opacity: var(--o, 0.6); }
  100% { transform: translate3d(var(--drift, 60px), -30vh, 0) scale(1); opacity: 0; }
}
.sun-rays { animation: spin-slow 90s linear infinite; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; left: 50%; bottom: 28px; transform: translateX(-50%); z-index: 400; display: flex; flex-direction: column; gap: 10px; align-items: center; pointer-events: none; }
.toast {
  background: var(--teal-900);
  color: #fffdf4;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.3s ease both;
  max-width: min(90vw, 520px);
  text-align: center;
}
.toast--sun { background: var(--sun); color: var(--teal-950); font-weight: 700; }
.toast--error { background: #8f3d36; }

/* ---------- 模态 ---------- */
.modal {
  position: fixed; inset: 0; z-index: 300;
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(7, 46, 42, 0.55);
  backdrop-filter: blur(6px);
}
.modal.is-open { display: flex; }
.modal-box {
  width: min(680px, 100%);
  max-height: min(86vh, 900px);
  overflow: auto;
  background: var(--paper);
  border-radius: 26px;
  box-shadow: var(--shadow-lg);
  animation: pop-in 0.3s cubic-bezier(0.2, 0.8, 0.2, 1) both;
  position: relative;
}
.modal-close {
  position: absolute; top: 14px; right: 14px;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(18, 60, 58, 0.07);
  display: grid; place-items: center;
  z-index: 5;
}
.modal-close:hover { background: rgba(18, 60, 58, 0.14); }
.modal-head { padding: 28px 30px 0; }
.modal-head h3 { font-size: 24px; font-weight: 900; }
.modal-head p { color: var(--ink-mute); font-size: 13.5px; margin-top: 6px; }
.modal-body { padding: 22px 30px 30px; }

/* ---------- 灯箱 ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 350;
  background: rgba(5, 32, 29, 0.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 5vh 5vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5); }
.lightbox figcaption { color: var(--cream); text-align: center; margin-top: 16px; font-size: 14px; opacity: 0.8; }
.lightbox-close { position: absolute; top: 24px; right: 28px; color: #fff; font-size: 34px; line-height: 1; opacity: 0.7; }
.lightbox-close:hover { opacity: 1; }

/* ---------- 工具 ---------- */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.muted { color: var(--ink-mute); }
.spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-top-color: #fff;
  animation: spin-slow 0.7s linear infinite;
}
.spinner--ink { border-color: rgba(18, 60, 58, 0.2); border-top-color: var(--teal-700); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* css/ui.css */
/* =========================================================
   子页面通用组件：头像、表单、上传、文件、便利贴
   ========================================================= */
.avatar {
  --size: 40px;
  width: var(--size);
  height: var(--size);
  flex: none;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  font-size: calc(var(--size) * 0.48);
  line-height: 1;
  overflow: hidden;
  background: linear-gradient(145deg, #e6f6ee, #c9ebdf);
  color: var(--teal-800);
  border: 2px solid #fffdf4;
  box-shadow: 0 3px 8px rgba(18, 60, 58, 0.12);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.avatar--anon {
  background: repeating-linear-gradient(135deg, #dfe7e3 0 4px, #d4e0da 4px 8px);
  color: #5a756d;
  font-family: var(--font-chalk);
  font-weight: 700;
}
.avatar--sm { --size: 30px; }
.avatar--lg { --size: 76px; }

/* 表单 */
.field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.field label, .field-label {
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}
.field .hint { font-size: 10.5px; color: var(--ink-mute); letter-spacing: 0.02em; }
.input, .textarea, .select {
  width: 100%;
  border: 1.5px solid rgba(18, 60, 58, 0.16);
  border-radius: 12px;
  padding: 11px 14px;
  background: #fffdf4;
  font-size: 14px;
  line-height: 1.7;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.textarea { min-height: 116px; resize: vertical; }
.select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 20 20'%3E%3Cpath d='m5 8 5 5 5-5' fill='none' stroke='%232f5a55' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 38px;
}
.input:focus, .textarea:focus, .select:focus {
  outline: none;
  border-color: var(--teal-500);
  box-shadow: 0 0 0 4px rgba(23, 160, 140, 0.12);
  background: #fffef9;
}
.input::placeholder, .textarea::placeholder { color: #a6b4af; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field-row--3 { grid-template-columns: repeat(3, 1fr); }

.btn--dark { --btn-bg: var(--teal-900); --btn-fg: #fffdf4; }
.btn--sunny { --btn-bg: var(--sun); --btn-fg: var(--teal-950); }
.btn--danger { --btn-bg: #9c4a40; --btn-fg: #fff; }
.btn--outline-ink {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border: 1.5px solid rgba(18, 60, 58, 0.2);
  box-shadow: none;
}
.btn--outline-ink:hover { border-color: var(--teal-600); background: rgba(223, 246, 236, 0.4); }

/* 上传 */
.upload-zone {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1.5px dashed rgba(18, 60, 58, 0.28);
  border-radius: 14px;
  background: rgba(255, 253, 244, 0.6);
  cursor: pointer;
  transition: 0.2s;
  text-align: left;
}
.upload-zone:hover { border-color: var(--teal-500); background: rgba(223, 246, 236, 0.4); }
.upload-zone .up-icon {
  width: 42px; height: 42px; flex: none;
  border-radius: 12px;
  display: grid; place-items: center;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 20px;
}
.upload-zone b { display: block; font-size: 13px; }
.upload-zone small { display: block; margin-top: 2px; color: var(--ink-mute); font-size: 10.5px; }
.upload-zone input { display: none; }
.upload-previews { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.up-item {
  position: relative;
  width: 74px; height: 74px;
  border-radius: 9px;
  overflow: hidden;
  background: var(--cream-2);
  border: 1px solid rgba(18, 60, 58, 0.12);
}
.up-item img, .up-item video { width: 100%; height: 100%; object-fit: cover; }
.up-item .up-kind {
  position: absolute; left: 4px; bottom: 4px;
  font-size: 8px; padding: 1px 4px; border-radius: 4px;
  background: rgba(7, 46, 42, 0.72); color: #fff; letter-spacing: 0.05em;
}
.up-item .rm {
  position: absolute; top: 3px; right: 3px;
  width: 18px; height: 18px; border-radius: 50%;
  background: rgba(7, 46, 42, 0.72); color: #fff;
  display: grid; place-items: center; font-size: 12px; line-height: 1;
}
.up-progress { margin-top: 10px; display: none; }
.up-progress.is-on { display: block; }
.up-progress .bar { height: 6px; background: rgba(18, 60, 58, 0.1); border-radius: 4px; overflow: hidden; }
.up-progress .bar i { display: block; height: 100%; width: 0; background: var(--teal-500); transition: width 0.2s; }
.up-progress p { font-size: 10.5px; color: var(--ink-mute); margin-top: 5px; }

/* 文件 */
.file-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px; margin-top: 14px; }
.file-grid.is-one { grid-template-columns: 1fr; }
.file-img { padding: 0; border: 0; border-radius: 7px; overflow: hidden; aspect-ratio: 4 / 3; background: #e9e3d2; display: block; width: 100%; }
.file-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.file-img:hover img { transform: scale(1.04); }
.file-video { margin-top: 12px; }
.file-video video { width: 100%; max-height: 380px; border-radius: 8px; background: #071f1c; }
.file-video-name { display: block; font-size: 10px; color: var(--ink-mute); margin-top: 5px; }
.file-list { display: flex; flex-direction: column; gap: 6px; margin-top: 12px; }
.file-chip {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 10px;
  border: 1px solid rgba(18, 60, 58, 0.12);
  background: rgba(255, 253, 244, 0.72);
  border-radius: 8px;
  font-size: 11px;
  transition: 0.2s;
}
.file-chip:hover { border-color: var(--teal-500); background: #fffdf4; }
.file-chip .file-icon { width: 30px; height: 30px; flex: none; display: grid; place-items: center; border-radius: 6px; background: var(--teal-100); color: var(--teal-800); font-size: 9px; font-weight: 800; }
.file-chip .file-meta { min-width: 0; flex: 1; }
.file-chip .file-meta b { display: block; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.file-chip .file-meta small { display: block; color: var(--ink-mute); font-size: 9px; }
.file-chip .file-dl { color: var(--teal-700); font-weight: 700; font-size: 10px; }

/* 便利贴 */
.sticky-note {
  position: relative;
  padding: 24px 22px 22px;
  background-color: #fdf3b6;
  background-image:
    repeating-linear-gradient(to bottom, transparent 0, transparent 27px, rgba(152, 129, 60, 0.18) 27px, rgba(152, 129, 60, 0.18) 28px);
  border-radius: 2px 2px 14px 2px;
  box-shadow: 0 14px 26px rgba(3, 24, 22, 0.28), 0 2px 3px rgba(3, 24, 22, 0.08);
  transform: rotate(var(--rot, -0.8deg));
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.35s;
  break-inside: avoid;
  margin-bottom: 22px;
}
.sticky-note:hover { transform: rotate(0) translateY(-3px); box-shadow: 0 22px 38px rgba(3, 24, 22, 0.36); }
.sticky-note::before {
  content: "";
  position: absolute;
  top: -11px;
  left: 50%;
  width: 66px;
  height: 20px;
  margin-left: -33px;
  background: rgba(127, 216, 195, 0.62);
  transform: rotate(-3deg);
  box-shadow: 0 2px 5px rgba(18, 60, 58, 0.1);
}
.sticky-note:nth-child(3n+1)::before { background: rgba(255, 204, 77, 0.6); transform: rotate(2deg); }
.sticky-note:nth-child(3n+2)::before { background: rgba(191, 233, 241, 0.8); transform: rotate(-4deg); }
.sticky-note::after {
  content: "";
  position: absolute; right: 0; bottom: 0;
  border-width: 0 0 18px 18px;
  border-style: solid;
  border-color: transparent transparent rgba(206, 185, 112, 0.55) transparent;
}
.sticky-head { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.sticky-head .who { min-width: 0; flex: 1; }
.sticky-head .who b { display: block; font-size: 12.5px; font-weight: 800; color: #57491f; letter-spacing: 0.02em; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sticky-head .who small { display: block; font-size: 9px; color: #94824c; letter-spacing: 0.05em; }
.sticky-head .revoke { font-size: 9px; color: #a06a4a; border-bottom: 1px solid rgba(160, 106, 74, 0.35); }
.sticky-body {
  font-size: 13px;
  line-height: 28px;
  color: #4d431f;
  word-break: break-word;
}
.sticky-body + .sticky-foot { margin-top: 12px; }
.sticky-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 9px; color: #94824c; letter-spacing: 0.06em; border-top: 1px dashed rgba(152, 129, 60, 0.28); padding-top: 10px; }
.sticky-note .file-grid { margin-top: 12px; }
.sticky-note .file-grid.is-one .file-img { max-height: 320px; aspect-ratio: auto; }
.sticky-note .file-grid.is-one .file-img img { max-height: 320px; width: 100%; object-fit: cover; }
.sticky-note .file-img { border: 3px solid rgba(255, 253, 244, 0.7); }
.sticky-note .file-chip { background: rgba(255, 253, 244, 0.5); border-color: rgba(152, 129, 60, 0.2); }
.sticky-note .file-chip .file-icon { background: rgba(255, 255, 255, 0.5); color: #6b5b2b; }
.sticky-note .file-video video { border: 3px solid rgba(255, 253, 244, 0.7); }
.sticky-note .file-list { gap: 5px; }
.sticky-note .file-chip .file-meta small, .sticky-note .file-dl { color: #8b7a45; }

/* 空状态 */
.empty {
  padding: 54px 28px;
  border: 1.5px dashed rgba(18, 60, 58, 0.22);
  border-radius: 18px;
  text-align: center;
  color: var(--ink-mute);
}
.empty .empty-ill { font-size: 54px; line-height: 1; margin-bottom: 16px; }
.empty h3 { font-size: 18px; color: var(--ink); font-weight: 800; margin-bottom: 8px; }
.empty p { font-size: 12.5px; line-height: 1.9; margin-bottom: 18px; }
.empty--dark { border-color: rgba(223, 246, 236, 0.25); color: rgba(223, 246, 236, 0.6); }
.empty--dark h3 { color: #fffdf4; }

/* 页面头部 */
.subpage-main { position: relative; padding-top: 104px; }
.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: 1.05; font-weight: 900; letter-spacing: -0.04em; }
.page-hero .lead { max-width: 60ch; font-size: 14px; line-height: 1.95; }

/* 加载 */
.loading { padding: 46px; display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--ink-mute); font-size: 12px; }
.loading .spinner { border-color: rgba(18, 60, 58, 0.15); border-top-color: var(--teal-600); }
.loading--light { color: rgba(223, 246, 236, 0.7); }
.loading--light .spinner { border-color: rgba(255, 255, 255, 0.2); border-top-color: var(--teal-300); }

@media (max-width: 620px) {
  .field-row, .field-row--3 { grid-template-columns: 1fr; }
  .sticky-note { padding: 22px 18px 20px; }
}

/* css/me.css */
/* =========================================================
   我 · 个人主页 / 分享页
   ========================================================= */
.me-page {
  min-height: 100vh;
  padding-top: 112px;
  background:
    radial-gradient(circle at 90% 4%, rgba(255, 204, 77, 0.18), transparent 28%),
    radial-gradient(circle at 6% 30%, rgba(127, 216, 195, 0.2), transparent 30%),
    var(--cream);
}
.me-hero { padding: 22px 0 40px; }
.me-hero-top { display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.me-hero h1 {
  font-size: clamp(3.4rem, 8vw, 7.2rem);
  line-height: 0.95;
  font-weight: 900;
  letter-spacing: -0.06em;
  margin-top: 14px;
}
.me-hero h1 em { font-family: var(--font-hand); font-style: normal; font-weight: 400; color: var(--teal-700); letter-spacing: 0; }
.me-hero .lead { max-width: 42ch; font-size: 13px; line-height: 1.95; color: var(--ink-soft); }
.me-hero .hand-note { font-family: var(--font-hand); font-size: 20px; color: var(--teal-700); margin-top: 10px; }

.me-grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 26px; align-items: start; padding-bottom: 20px; }
.profile-card {
  position: sticky;
  top: 100px;
  background: var(--paper);
  border: 1px solid rgba(18, 60, 58, 0.1);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(18, 60, 58, 0.14);
}
.profile-cover { position: relative; height: 176px; background: linear-gradient(135deg, #b7e7ee, #dff6ec); overflow: hidden; }
.profile-cover .scene { position: absolute; inset: 0; }
.profile-cover .scene svg, .profile-cover img { width: 100%; height: 100%; }
.profile-cover img { object-fit: cover; object-position: center 58%; }
.profile-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(255, 253, 244, 0.35)); }
.profile-avatar-wrap { position: relative; margin-top: -56px; display: flex; justify-content: center; z-index: 2; }
.profile-avatar-wrap .avatar { --size: 108px; border: 5px solid var(--paper); box-shadow: 0 12px 28px rgba(18, 60, 58, 0.2); background: #e7f6ef; }
.profile-avatar-wrap .avatar img { border-radius: 50%; }
.profile-avatar-wrap .edit-dot { position: absolute; right: calc(50% - 56px); bottom: 4px; width: 30px; height: 30px; border-radius: 50%; background: var(--sun); color: var(--teal-950); display: grid; place-items: center; font-size: 13px; border: 2px solid var(--paper); box-shadow: 0 3px 8px rgba(18, 60, 58, 0.15); }
.profile-body { padding: 14px 26px 26px; text-align: center; }
.profile-name { font-size: 27px; font-weight: 900; letter-spacing: -0.02em; line-height: 1.2; }
.profile-sub { margin-top: 6px; font-family: var(--font-num); font-size: 9px; letter-spacing: 0.22em; color: var(--ink-mute); }
.profile-chips { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-top: 12px; }
.profile-chips span { font-size: 10px; padding: 4px 10px; border-radius: 999px; background: var(--teal-100); color: var(--teal-800); font-weight: 600; }
.profile-bio { margin-top: 16px; font-size: 12px; line-height: 1.9; color: var(--ink-soft); min-height: 20px; }
.profile-motto { margin-top: 14px; padding: 12px 14px; border-top: 1px dashed var(--line); font-family: var(--font-hand); font-size: 15px; line-height: 1.7; color: var(--teal-700); }
.profile-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 16px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.profile-stats div { padding: 12px 4px; border-right: 1px dashed var(--line); }
.profile-stats div:last-child { border-right: 0; }
.profile-stats b { display: block; font-family: var(--font-num); font-size: 20px; color: var(--teal-800); line-height: 1; }
.profile-stats span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.08em; color: var(--ink-mute); }
.share-box { margin-top: 18px; padding: 14px; border-radius: 12px; background: #fff9e2; border: 1px dashed #d9c384; text-align: left; }
.share-box .sb-title { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 10px; letter-spacing: 0.08em; color: #8a6f2f; font-weight: 700; }
.share-box .sb-title span { font-family: var(--font-num); font-size: 7px; opacity: 0.7; letter-spacing: 0.12em; }
.share-link-row { display: flex; gap: 5px; margin-top: 8px; }
.share-link-row input { flex: 1; min-width: 0; border: 1px solid #e2d3a6; border-radius: 6px; background: #fffdf4; padding: 7px 8px; font-size: 9.5px; color: #6d5b2b; font-family: var(--font-num); }
.share-link-row button { flex: none; width: 34px; border-radius: 6px; background: var(--teal-800); color: #fff; font-size: 13px; display: grid; place-items: center; }
.share-link-row button:hover { background: var(--teal-700); }
.share-actions { display: flex; gap: 6px; margin-top: 7px; }
.share-actions .btn { min-height: 29px; padding: 0 10px; font-size: 10px; border-radius: 6px; box-shadow: none; flex: 1; }
.share-tip { font-size: 8.5px; color: #9c8747; margin-top: 7px; line-height: 1.7; }

.me-panel { background: var(--paper); border: 1px solid rgba(18, 60, 58, 0.1); border-radius: 26px; padding: 30px 32px 26px; box-shadow: 0 22px 56px rgba(18, 60, 58, 0.1); }
.me-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 18px; padding-bottom: 16px; border-bottom: 1px dashed var(--line); margin-bottom: 22px; }
.me-panel-head h2 { font-size: 22px; font-weight: 900; letter-spacing: -0.02em; }
.me-panel-head p { font-size: 11px; color: var(--ink-mute); margin-top: 5px; line-height: 1.8; }
.me-panel-head .stamp { font-family: var(--font-hand); font-size: 13px; color: var(--teal-700); border: 1px solid rgba(15, 107, 95, 0.28); padding: 5px 10px; border-radius: 3px; transform: rotate(-3deg); }
.avatar-picker { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.avatar-option {
  width: 46px; height: 46px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: 21px;
  background: linear-gradient(145deg, #eef9f3, #d7eee2);
  border: 2px solid transparent;
  transition: 0.2s;
  position: relative;
}
.avatar-option:hover { transform: translateY(-3px) rotate(-4deg); }
.avatar-option.is-on { border-color: var(--sun-deep); box-shadow: 0 0 0 4px rgba(255, 204, 77, 0.2); }
.avatar-option.is-upload { background: var(--cream-2); color: var(--ink-mute); font-size: 12px; border: 1.5px dashed var(--line-strong); overflow: hidden; }
.avatar-option.is-upload img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.avatar-option input { display: none; }
.avatar-hint { font-size: 10px; color: var(--ink-mute); margin-top: 9px; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; padding-top: 18px; border-top: 1px dashed var(--line); flex-wrap: wrap; }
.form-actions .note { font-size: 10px; color: var(--ink-mute); line-height: 1.7; max-width: 40ch; }
.form-actions .btns { display: flex; gap: 8px; }
.identity-note { margin-top: 14px; padding: 10px 12px; border-radius: 8px; background: rgba(18, 60, 58, 0.04); font-size: 9.5px; line-height: 1.8; color: var(--ink-mute); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.identity-note button { font-size: 9.5px; color: #9c4a40; border-bottom: 1px solid rgba(156, 74, 64, 0.35); }

.me-lower { padding: 34px 0 90px; }
.me-section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 18px; }
.me-section-head h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); font-weight: 900; }
.me-section-head p { font-size: 11px; color: var(--ink-mute); }
.me-two-col { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 20px; }
.mini-list { background: var(--paper); border: 1px solid rgba(18, 60, 58, 0.1); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-sm); }
.mini-list-head { padding: 12px 18px; background: linear-gradient(180deg, #f7f4e6, #f0ebd9); border-bottom: 1px solid var(--line); font-size: 11px; font-weight: 800; letter-spacing: 0.06em; display: flex; justify-content: space-between; color: var(--teal-900); }
.mini-list-head span { font-family: var(--font-num); font-size: 7px; letter-spacing: 0.14em; color: var(--ink-mute); font-weight: 400; }
.mini-note-row { display: block; padding: 13px 18px; border-bottom: 1px dashed var(--line); transition: 0.2s; }
.mini-note-row:last-child { border-bottom: 0; }
.mini-note-row:hover { background: #fff9e7; }
.mini-note-row .mn-top { display: flex; align-items: center; gap: 8px; font-size: 10px; color: var(--ink-mute); margin-bottom: 5px; }
.mini-note-row .mn-top b { color: var(--teal-700); font-weight: 700; }
.mini-note-row p { font-size: 11.5px; line-height: 1.75; color: var(--ink-soft); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-empty { padding: 30px 18px; text-align: center; font-size: 11px; color: var(--ink-mute); }
.mini-empty a { color: var(--teal-700); border-bottom: 1px solid rgba(15, 107, 95, 0.3); }

/* ---------------- 分享页 ---------------- */
.share-page {
  min-height: 100vh;
  padding: 0 0 60px;
  background:
    radial-gradient(circle at 92% 4%, rgba(255, 204, 77, 0.22), transparent 24%),
    radial-gradient(circle at 4% 40%, rgba(127, 216, 195, 0.24), transparent 28%),
    var(--cream);
}
.share-topbar {
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.share-topbar .brand { margin: 0; }
.share-topbar .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
.share-topbar .brand-text strong { font-size: 14px; }
.share-topbar .brand-text small { font-size: 7px; }
.share-card {
  width: min(780px, calc(100% - 32px));
  margin: 0 auto;
  background: var(--paper);
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(18, 60, 58, 0.18);
  border: 1px solid rgba(18, 60, 58, 0.08);
  position: relative;
}
.share-cover { position: relative; height: 250px; overflow: hidden; background: var(--teal-100); }
.share-cover .scene { position: absolute; inset: 0; }
.share-cover .scene svg, .share-cover img { width: 100%; height: 100%; }
.share-cover img { object-fit: cover; object-position: center 58%; }
.share-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(255, 253, 244, 0.55)); }
.share-cover .cover-stamp { position: absolute; z-index: 2; right: 24px; bottom: 20px; font-family: var(--font-hand); font-size: 14px; color: var(--teal-900); background: rgba(255, 253, 244, 0.8); padding: 6px 12px; border: 1px solid rgba(18, 60, 58, 0.2); transform: rotate(-4deg); }
.share-profile { position: relative; padding: 0 34px 30px; text-align: center; }
.share-profile .avatar { --size: 118px; margin: -62px auto 0; border: 5px solid var(--paper); position: relative; z-index: 3; box-shadow: 0 14px 30px rgba(18, 60, 58, 0.18); }
.share-profile h1 { margin-top: 14px; font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; letter-spacing: -0.03em; }
.share-profile .sub { margin-top: 6px; font-family: var(--font-num); font-size: 9px; letter-spacing: 0.2em; color: var(--ink-mute); }
.share-chips { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.share-chips span { font-size: 10px; padding: 5px 11px; border-radius: 999px; background: var(--teal-100); color: var(--teal-800); font-weight: 600; }
.share-bio { max-width: 48ch; margin: 16px auto 0; font-size: 12.5px; line-height: 1.9; color: var(--ink-soft); }
.share-motto { margin-top: 14px; font-family: var(--font-hand); font-size: 18px; color: var(--teal-700); }
.share-stats { display: flex; justify-content: center; gap: 0; margin-top: 22px; border-top: 1px dashed var(--line); border-bottom: 1px dashed var(--line); }
.share-stats div { padding: 12px 26px; border-right: 1px dashed var(--line); }
.share-stats div:last-child { border-right: 0; }
.share-stats b { display: block; font-family: var(--font-num); font-size: 21px; color: var(--teal-800); line-height: 1; }
.share-stats span { display: block; margin-top: 4px; font-size: 9px; letter-spacing: 0.08em; color: var(--ink-mute); }
.share-actions { display: flex; justify-content: center; gap: 8px; margin-top: 22px; flex-wrap: wrap; }
.share-content { width: min(780px, calc(100% - 32px)); margin: 26px auto 0; }
.share-block { background: rgba(255, 253, 244, 0.6); border: 1px solid rgba(18, 60, 58, 0.09); border-radius: 20px; padding: 22px; margin-bottom: 18px; }
.share-block h2 { font-size: 15px; font-weight: 900; display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.share-block h2 span { font-family: var(--font-num); font-size: 8px; letter-spacing: 0.16em; color: var(--ink-mute); font-weight: 400; }
.share-memories { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; align-items: start; }
.share-memories.is-one { display: flex; justify-content: center; }
.share-memories.is-one .sticky-note { width: min(560px, 100%); }
.share-memories .sticky-note { padding: 18px 16px 16px; font-size: 11px; }
.share-memories .sticky-note .sticky-body { font-size: 11.5px; line-height: 26px; }
.share-thread-item { display: block; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.share-thread-item:last-child { border-bottom: 0; }
.share-thread-item b { display: block; font-size: 12.5px; color: var(--teal-900); }
.share-thread-item span { font-size: 9.5px; color: var(--ink-mute); }
.share-foot { text-align: center; padding: 26px 0 0; font-size: 10.5px; color: var(--ink-mute); line-height: 1.9; }
.share-foot .hand { font-size: 17px; color: var(--teal-700); }
.share-notfound { width: min(560px, calc(100% - 32px)); margin: 10vh auto; text-align: center; background: var(--paper); border-radius: 24px; padding: 50px 30px; box-shadow: var(--shadow-md); }
.share-notfound .ill { font-size: 54px; }
.share-notfound h1 { font-size: 24px; margin-top: 12px; }
.share-notfound p { font-size: 12px; color: var(--ink-mute); margin: 10px 0 20px; }

@media (max-width: 1000px) {
  .me-grid { grid-template-columns: 1fr; }
  .profile-card { position: static; max-width: 520px; }
}
@media (max-width: 760px) {
  .me-page { padding-top: 96px; }
  .me-hero h1 { font-size: 4rem; }
  .me-panel { padding: 22px 20px; }
  .me-two-col { grid-template-columns: 1fr; }
  .share-profile { padding: 0 20px 26px; }
  .share-memories { grid-template-columns: 1fr; }
  .share-stats div { padding: 10px 16px; }
  .share-cover { height: 200px; }
  .profile-card { max-width: none; }
}
@media (max-width: 520px) {
  .me-hero-top { gap: 14px; }
  .me-hero .lead { font-size: 12px; }
  .avatar-option { width: 42px; height: 42px; font-size: 19px; }
  .profile-body { padding-inline: 18px; }
  .share-actions .btn { width: 100%; }
}
