:root {
  --forest: #103f35;
  --deep: #082f28;
  --lime: #dce88a;
  --paper: #fbf7ec;
  --ink: #123a32;
  --muted: #627b73;
  --line: rgba(16,63,53,.18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Noto Sans CJK SC", "PingFang SC", sans-serif; }
a { color: inherit; }
button, textarea { font: inherit; }

.share-header { min-height: 72px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 12px clamp(20px,5vw,68px); border-bottom: 1px solid var(--line); background: rgba(251,247,236,.94); }
.share-brand { display: flex; align-items: center; gap: 11px; text-decoration: none; }
.share-brand > span { width: 39px; height: 39px; display: grid; place-items: center; color: white; border-radius: 50%; background: var(--forest); font: 700 22px/1 Georgia,serif; }
.share-brand strong { font: 700 16px/1.2 "Songti SC","STSong",serif; }
.share-brand small { display: block; margin-top: 4px; color: #6f8b82; font: 700 7px/1 sans-serif; letter-spacing: .16em; }
.share-back { padding-bottom: 3px; border-bottom: 1px solid currentColor; text-decoration: none; font-size: 12px; font-weight: 800; }

main { overflow: hidden; }
.share-intro { padding: 76px clamp(20px,8vw,120px); color: white; background: radial-gradient(circle at 90% 15%,rgba(220,232,138,.17),transparent 28%),var(--deep); }
.share-kicker,.section-title p { margin: 0 0 15px; color: var(--lime); font-size: 10px; font-weight: 900; letter-spacing: .17em; }
.share-intro h1,.section-title h2 { margin: 0; font: 700 clamp(38px,7vw,68px)/1.14 "Songti SC","STSong",serif; letter-spacing: -.045em; }
.share-intro > p:not(.share-kicker) { max-width: 630px; margin: 22px 0 0; color: #bdd0c9; font-size: 15px; line-height: 1.8; }
.share-intro ol { max-width: 760px; display: grid; grid-template-columns: repeat(3,1fr); gap: 1px; margin: 38px 0 0; padding: 0; list-style: none; background: rgba(255,255,255,.16); }
.share-intro li { min-height: 110px; display: flex; flex-direction: column; gap: 12px; padding: 20px; background: var(--deep); }
.share-intro li b { color: var(--lime); font-size: 11px; }
.share-intro li span { color: white; font-size: 13px; line-height: 1.65; }

.card-section,.poster-section,.copy-section,.link-section { padding: 72px clamp(20px,8vw,120px); }
.card-section { background: var(--paper); }
.poster-section { background: #f1eadc; }
.copy-section { background: #fffdf7; }
.link-section { color: white; background: var(--forest); }
.section-title p { color: #66867b; }
.link-section .section-title p { color: var(--lime); }
.section-title h2 { font-size: clamp(31px,5vw,50px); }
.card-lead { max-width: 690px; margin: 20px 0 0; color: var(--muted); font-size: 14px; line-height: 1.8; }
.wechat-card { width: min(100%,690px); display: grid; grid-template-columns: 42% 1fr; margin: 31px 0 0; overflow: hidden; border: 1px solid rgba(16,63,53,.14); border-radius: 8px; background: white; box-shadow: 0 18px 55px rgba(16,63,53,.09); }
.wechat-card img { width: 100%; height: 100%; min-height: 185px; display: block; object-fit: cover; }
.wechat-card > div { min-width: 0; display: flex; flex-direction: column; justify-content: center; padding: 22px; }
.wechat-card h3 { margin: 0; font: 700 22px/1.35 "Songti SC","STSong",serif; }
.wechat-card p { margin: 10px 0 18px; color: var(--muted); font-size: 12px; line-height: 1.65; }
.wechat-card span { color: #8ba097; font-size: 11px; }
.open-card { width: min(100%,690px); min-height: 58px; display: flex; align-items: center; justify-content: space-between; margin-top: 14px; padding: 0 22px; color: white; border-radius: 7px; background: var(--forest); text-decoration: none; font-size: 15px; font-weight: 900; box-shadow: 0 14px 30px rgba(16,63,53,.14); }
.open-card span { color: var(--lime); font-size: 22px; }
.card-note { max-width: 690px; margin: 15px 0 0; color: var(--muted); font-size: 12px; line-height: 1.75; }
.card-note b { color: var(--ink); }
.poster-frame { width: min(100%,540px); display: block; margin: 32px auto 0; overflow: hidden; border: 10px solid white; border-radius: 5px; box-shadow: 0 24px 70px rgba(16,63,53,.16); }
.poster-frame img { width: 100%; height: auto; display: block; }
.save-note { max-width: 540px; margin: 17px auto 0; color: var(--muted); font-size: 12px; line-height: 1.7; text-align: center; }

.copy-card { max-width: 760px; margin: 31px auto 0; }
.copy-card textarea { width: 100%; min-height: 260px; resize: vertical; padding: 21px; color: #35564c; border: 1px solid var(--line); border-radius: 7px; background: white; font-size: 14px; line-height: 1.85; }
.copy-card button,.link-actions button,.link-actions a { min-height: 52px; display: flex; align-items: center; justify-content: center; padding: 0 22px; border: 1px solid rgba(8,47,40,.18); border-radius: 6px; background: var(--lime); color: var(--deep); text-decoration: none; font-weight: 900; }
.copy-card button { width: 100%; margin-top: 12px; }
#copy-status { min-height: 24px; margin: 10px 0 0; color: #557269; font-size: 12px; text-align: center; }
.link-section > p { max-width: 660px; margin: 21px 0 0; color: #bdd0c9; font-size: 14px; line-height: 1.8; }
.link-actions { max-width: 660px; display: grid; grid-template-columns: 1fr 1fr; gap: 11px; margin-top: 26px; }
.link-actions button { border: 0; }
.link-actions a { color: white; border-color: rgba(255,255,255,.4); background: transparent; }
footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 30px clamp(20px,8vw,120px); color: #779087; background: var(--deep); font-size: 11px; }
footer strong { color: white; font: 700 18px/1.2 "Songti SC","STSong",serif; }

@media (max-width: 640px) {
  .share-header { position: sticky; z-index: 10; top: 0; }
  .share-intro { padding-top: 58px; padding-bottom: 62px; }
  .share-intro h1 { font-size: clamp(36px,10vw,46px); }
  .share-intro ol { grid-template-columns: 1fr; }
  .share-intro li { min-height: 0; display: grid; grid-template-columns: 30px 1fr; gap: 10px; padding: 15px 16px; }
  .card-section,.poster-section,.copy-section,.link-section { padding-top: 60px; padding-bottom: 60px; }
  .wechat-card { grid-template-columns: 116px 1fr; }
  .wechat-card img { min-height: 154px; }
  .wechat-card > div { padding: 15px; }
  .wechat-card h3 { font-size: 17px; }
  .wechat-card p { margin: 8px 0 13px; font-size: 10px; }
  .poster-frame { width: 100%; border-width: 6px; }
  .copy-card textarea { min-height: 300px; }
  .link-actions { grid-template-columns: 1fr; }
  footer { align-items: flex-start; flex-direction: column; }
}
