/* advent-with-friends.run — 纸感降临日历。全站唯一记忆点：24 扇小纸门。 */
:root {
  --paper: #faf3e3;
  --paper-2: #f3e8cf;
  --pine: #1e4638;
  --pine-2: #16352a;
  --brick: #b5472f;
  --gold: #d9a441;
  --ink: #23201b;
  --ink-soft: #5d564a;
  --snow: #ffffff;
  --line: rgba(35, 32, 27, 0.14);
  --radius: 10px;
  --shadow: 0 1px 2px rgba(35, 32, 27, 0.08), 0 6px 18px rgba(35, 32, 27, 0.07);
  --font-display: "Fraunces", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: var(--brick); text-underline-offset: 3px; }
a:hover { color: var(--pine); }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--pine); margin: 0 0 0.5em; }
h1 { font-size: clamp(1.9rem, 5.4vw, 3.1rem); }
h2 { font-size: clamp(1.45rem, 3.6vw, 2.1rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
section { padding: 56px 0; }
.section-alt { background: var(--paper-2); }
.lede { font-size: 1.1rem; color: var(--ink-soft); }

/* ---------- 顶栏 ---------- */
.topbar { background: var(--pine); color: var(--paper); position: sticky; top: 0; z-index: 50; }
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 56px; gap: 12px; }
.brand { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--paper); text-decoration: none; letter-spacing: 0.015em; }
.brand:hover { color: var(--paper); }
/* 迷你礼物盒标记：砖红盒身 + 金色丝带十字（两层渐变叠加）+ 顶部小蝶结 + 深色结点，与门墙插画同语言 */
.brand .door-mark {
  display: inline-block; width: 19px; height: 21px; margin-right: 8px; vertical-align: -4px; border-radius: 3px; position: relative;
  background:
    linear-gradient(to right, rgba(217, 164, 65, 0) 41%, var(--gold) 41% 59%, rgba(217, 164, 65, 0) 59%),
    linear-gradient(to bottom, rgba(217, 164, 65, 0) 58%, var(--gold) 58% 76%, rgba(217, 164, 65, 0) 76%),
    var(--brick);
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.14), inset 0 2.5px 0 rgba(255, 255, 255, 0.16);
}
.brand .door-mark::before { content: ""; position: absolute; left: 50%; top: -4px; width: 12px; height: 6px; transform: translateX(-50%);
  background:
    radial-gradient(circle at 22% 100%, var(--gold) 2.6px, rgba(217, 164, 65, 0) 2.7px),
    radial-gradient(circle at 78% 100%, var(--gold) 2.6px, rgba(217, 164, 65, 0) 2.7px);
}
.brand .door-mark::after { content: ""; position: absolute; left: 50%; top: 67%; width: 4px; height: 4px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--pine); box-shadow: 0 0 0 0.5px rgba(0, 0, 0, 0.1); }
.topnav { display: flex; gap: 18px; flex-wrap: wrap; }
.topnav a { color: var(--paper); text-decoration: none; font-size: 0.92rem; opacity: 0.85; }
.topnav a:hover { opacity: 1; }
.topbar a:hover, footer a:hover { color: var(--gold); }

/* ---------- 按钮 ---------- */
.btn {
  display: inline-block;
  background: var(--brick);
  color: var(--snow);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  text-decoration: none;
  border: none;
  border-radius: var(--radius);
  padding: 14px 26px;
  min-height: 44px;
  cursor: pointer;
  box-shadow: var(--shadow);
  transition: transform 0.12s ease, background 0.12s ease;
}
.btn:hover { background: #a03d28; color: var(--snow); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn-secondary { background: transparent; color: var(--pine); border: 1.5px solid var(--pine); box-shadow: none; }
.btn-secondary:hover { background: rgba(30, 70, 56, 0.07); color: var(--pine); }
.btn-small { padding: 9px 16px; font-size: 0.9rem; min-height: 38px; }

/* ---------- 首屏 ---------- */
.hero { background: var(--pine); color: var(--paper); padding: 40px 0 48px; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 36px; align-items: center; }
.hero h1 { color: var(--snow); }
.hero .tagline { font-size: 1.12rem; color: rgba(250, 243, 227, 0.92); max-width: 34em; margin: 0 0 22px; }
.hero .btn { background: var(--gold); color: var(--pine-2); }
.hero .btn:hover { background: #e5b455; color: var(--pine-2); }
.hero .hint { display: block; margin-top: 10px; font-size: 0.85rem; color: rgba(250, 243, 227, 0.66); }
.hero-visual { position: relative; }
.hero-note {
  background: var(--snow);
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  padding: 16px 18px;
  max-width: 300px;
  transform: rotate(-2deg);
  font-family: var(--font-display);
}
.hero-note .from { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 0.8rem; color: var(--ink-soft); }
.hero-note.tape::before {
  content: "";
  position: absolute;
  top: -10px; left: 50%;
  width: 74px; height: 22px;
  transform: translateX(-50%) rotate(2deg);
  background: rgba(217, 164, 65, 0.5);
  border-radius: 2px;
}

/* 首屏节日插画：夜空卡片 + 框顶积雪木框板；便签改贴插画左下角 */
.hero-art { margin: 0 auto; max-width: 400px; }
.hero-art > svg { display: block; width: 100%; height: auto; filter: drop-shadow(0 16px 34px rgba(0, 0, 0, 0.32)); }
.hero-visual .hero-note { position: absolute; left: -6px; bottom: -20px; z-index: 2; }
@keyframes hero-twinkle { 0%, 100% { opacity: 0.3; } 50% { opacity: 1; } }
@keyframes hero-glow { 0%, 100% { opacity: 0.22; } 50% { opacity: 0.55; } }
.hero-art .tw { animation: hero-twinkle 3.4s ease-in-out infinite; }
.hero-art .bulb-glow { animation: hero-glow 2.6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .hero-art .tw, .hero-art .bulb-glow { animation: none; }
}

/* ---------- 三步 ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px 20px 16px; box-shadow: var(--shadow); }
.step .num { font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; color: var(--gold); display: block; line-height: 1; margin-bottom: 8px; }
.step h3 { margin-bottom: 6px; }
.step p { font-size: 0.95rem; color: var(--ink-soft); margin: 0; }

/* ---------- 门墙（记忆点） ---------- */
.wall-section { background: var(--pine); color: var(--paper); }
.wall-section h2 { color: var(--snow); }
.wall-section .lede { color: rgba(250, 243, 227, 0.85); }
/* 桌面端：左门墙右创建器同板块，六条便签整行铺底；移动端回落上下堆叠 */
@media (min-width: 900px) {
  .wall-section .wrap { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr); gap: 14px 38px; align-items: start; }
  .wall-section .wrap > h2, .wall-section .wrap > .lede, .wall-section .wrap > .static-notes-title, .wall-section .wrap > .static-notes { grid-column: 1 / -1; }
  .wall-section .creator { max-width: none; margin: 0; }
}
.wall {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
  background: var(--paper);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.door {
  position: relative;
  aspect-ratio: 60 / 74;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  background: none;
  transition: transform 0.15s ease;
  padding: 0;
  perspective: 300px;
}
.door svg { display: block; width: 100%; height: 100%; overflow: visible; filter: drop-shadow(0 2px 3px rgba(26, 32, 28, 0.22)); }
.door:nth-child(odd) { transform: rotate(-1.1deg); }
.door:nth-child(even) { transform: rotate(1deg); }
.door:hover { transform: rotate(0deg) scale(1.06); z-index: 2; }
/* 拆盒（SVG 结构见 gift.js）：盖子带蝶结整组翻走 → 丝带淡出 → 盒身渐变纸色，吊牌留在原地 */
.door .gb-lid { transform-box: fill-box; transform-origin: 50% 0; transition: transform 0.55s cubic-bezier(0.3, 0.9, 0.4, 1), opacity 0.5s ease 0.05s; }
.door .gb-rv, .door .gb-rh, .door .gb-shade { transition: opacity 0.3s ease 0.1s; }
.door .gb-box { transition: fill 0.45s ease 0.15s; }
.door .gb-open { transition: opacity 0.35s ease 0.3s; }
.door.unwrap { z-index: 4; }
.door.unwrap .gb-lid { transform: rotateX(-125deg) translateY(-2px); opacity: 0; }
.door.unwrap .gb-rv, .door.unwrap .gb-rh, .door.unwrap .gb-shade { opacity: 0; }
.door.unwrap .gb-box { fill: #f3e8cf; }
.door.unwrap .gb-open { opacity: 0.55; }
.door.open { cursor: pointer; }
.door.locked-shake { animation: shake 0.35s ease; }
@keyframes shake {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-2.4deg); }
  75% { transform: rotate(2.4deg); }
}
.door-note {
  position: absolute;
  left: 50%; top: -8px;
  transform: translateX(-50%) rotate(-1.5deg);
  background: var(--snow);
  color: var(--ink);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
  padding: 12px 14px;
  width: min(86vw, 340px);
  z-index: 5;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.92rem;
  line-height: 1.5;
  font-weight: 400;
}
.door-note .from { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--ink-soft); }
.door-note .chip { margin: 4px 4px 0 0; }
.door-note-close { position: absolute; top: 6px; right: 8px; background: none; border: none; font-size: 1rem; line-height: 1; cursor: pointer; color: var(--ink-soft); width: 44px; height: 44px; padding: 0; }
.wall-caption { text-align: center; font-size: 0.9rem; color: rgba(250, 243, 227, 0.75); margin-top: 14px; }

/* ---------- 页内创建器（V2.0：工具在当前页） ---------- */
.creator { background: var(--snow); color: var(--ink); border-radius: 14px; padding: 26px 24px; box-shadow: var(--shadow); max-width: 640px; margin: 34px auto 0; }
.creator h3 { margin-bottom: 4px; }
.creator .fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin: 16px 0; }
.creator .fields .full { grid-column: 1 / -1; }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 5px; }
input[type="text"], input[type="url"], textarea, select {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: var(--paper);
  border: 1.5px solid var(--line);
  border-radius: 8px;
  padding: 11px 12px;
  min-height: 44px;
}
input:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
.result-card { background: var(--paper-2); border: 1.5px dashed var(--gold); border-radius: var(--radius); padding: 18px; margin-top: 8px; }
.result-card .share-link { word-break: break-all; font-weight: 600; }
.result-card .code-big { font-family: var(--font-display); font-size: 2rem; font-weight: 700; letter-spacing: 0.18em; color: #9c3a24; /* 加深砖红：纸色底上 5.7:1，超过 AA 正文标准 */ }
.result-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
.share-img-preview { margin-top: 14px; text-align: center; }
.share-img-preview canvas { max-width: 230px; border-radius: 10px; box-shadow: var(--shadow); }
.form-error { color: var(--brick); font-size: 0.9rem; min-height: 1.2em; margin: 4px 0; }
/* 表单卡底部信任行（三步列表删了——与上方 Three Steps 大区块重复） */
.creator .trust { margin: 12px 0 0; padding-top: 10px; border-top: 1px dashed var(--line); font-size: 0.8rem; color: var(--ink-soft); text-align: center; }
/* 老用户凭码找回：trust 行下的一行小输入 */
.have-code { display: flex; align-items: center; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.have-code-label { font-size: 0.85rem; color: var(--ink-soft); }
.have-code input { flex: 1; min-width: 110px; max-width: 200px; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 600; }
.have-code .btn { white-space: nowrap; }
.have-code + .form-error { margin: 6px 0 0; }

/* 便签链接内嵌播放器：点芯片原地展开懒加载 iframe，再点收起；播放器下带兜底外链 */
.note-links a.can-embed { cursor: pointer; }
.note-links a.can-embed::after { content: " ▾"; font-size: 0.8em; opacity: 0.55; }
.note-embed { margin: 8px 0 2px; }
.note-embed iframe { width: 100%; border: 0; border-radius: 10px; display: block; background: #101418; }
.embed-yt iframe, .embed-vm iframe { aspect-ratio: 16 / 9; height: auto; }
.embed-sp iframe { height: 152px; }
.embed-am iframe { height: 150px; }
.embed-tk iframe { aspect-ratio: 325 / 580; height: auto; max-width: 325px; margin: 0 auto; }
.note-embed .embed-open { display: block; margin-top: 6px; font-size: 0.78rem; opacity: 0.72; }
.form-ok { color: var(--pine); font-weight: 600; font-size: 0.95rem; }

/* ---------- 便签双栏（朋友能放什么） ---------- */
.chips-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.chip-card { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px 14px; box-shadow: var(--shadow); }
.chip-card h3 { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.chip-card .glyph { width: 20px; height: 20px; flex: none; color: var(--brick); }
.chip-card p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 10px; }
.sample-note {
  background: var(--paper-2);
  color: var(--ink);
  border-left: 3px solid var(--gold);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--font-display);
  font-size: 0.95rem;
}
.sample-note .from { display: block; margin-top: 5px; font-family: var(--font-body); font-size: 0.76rem; color: var(--ink-soft); }

/* ---------- 定义段（两栏引文式） ---------- */
.definition .wrap { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 34px; align-items: start; }
.defquote { font-family: var(--font-display); font-size: 1.25rem; line-height: 1.5; color: var(--pine); border-left: 4px solid var(--gold); padding-left: 20px; margin: 0; }

/* ---------- 无卡片版式（拉开三块节奏，审核第2轮） ---------- */
.plain-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 26px 44px; margin-top: 26px; }
.plain-item { border-left: 3px solid var(--gold); padding: 2px 0 2px 18px; }
.plain-item .idx { display: block; font-family: var(--font-body); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 2px; }
.plain-item h3 { font-size: 1.08rem; margin-bottom: 4px; }
.plain-item p { font-size: 0.93rem; color: var(--ink-soft); margin-bottom: 10px; }

.scene-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.scene { border-top: 1px solid var(--line); padding: 14px 0 8px; }
.scene h3 { font-family: var(--font-display); font-size: 1.12rem; }
.scene p { font-size: 0.93rem; color: var(--ink-soft); margin: 0; }

/* 演示墙下的静态便签（写给无 JS 访客和搜索引擎） */
.static-notes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 22px; }
.static-notes .sample-note { font-size: 0.9rem; }
.static-notes-title { color: var(--snow); font-size: 1.2rem; margin: 26px 0 0; }

/* ---------- 场景/做法 ---------- */
.split-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 26px; margin: 18px 0; }
.split-list li { margin-bottom: 8px; }
ul.plain { padding-left: 1.2em; }
ul.plain li { margin-bottom: 7px; }

/* ---------- 灵感 ---------- */
.ideas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; counter-reset: idea; }
.idea { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; font-family: var(--font-display); font-size: 1rem; box-shadow: var(--shadow); }
.idea::before { counter-increment: idea; content: counter(idea, decimal-leading-zero); font-family: var(--font-body); display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold); margin-bottom: 4px; }

/* ---------- 隐私+付费 ---------- */
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-bottom: 20px; }
.trust-item { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; }
.trust-item h3 { font-size: 1rem; margin-bottom: 4px; }
.trust-item p { font-size: 0.9rem; color: var(--ink-soft); margin: 0; }
.price-line { background: var(--pine); color: var(--paper); border-radius: var(--radius); padding: 18px 22px; font-size: 0.98rem; }
.price-line strong { color: var(--gold); }

/* ---------- FAQ ---------- */
.faq details { background: var(--snow); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq summary { cursor: pointer; padding: 15px 18px; font-weight: 600; font-family: var(--font-display); font-size: 1.02rem; color: var(--pine); list-style: none; position: relative; padding-right: 40px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-size: 1.3rem; color: var(--gold); font-family: var(--font-body); }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 18px 16px; color: var(--ink-soft); font-size: 0.96rem; }
.faq .a p { margin-bottom: 0.6em; }
.faq .a p:last-child { margin-bottom: 0; }

/* ---------- CTA / 页脚 ---------- */
.final-cta { background: var(--pine); color: var(--paper); text-align: center; }
.final-cta h2 { color: var(--snow); }
.final-cta .btn { background: var(--gold); color: var(--pine-2); }
footer { background: var(--pine-2); color: rgba(250, 243, 227, 0.8); padding: 34px 0 44px; font-size: 0.88rem; }
footer .wrap { display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center; }
footer a { color: rgba(250, 243, 227, 0.9); }

/* ---------- /c/ 应用页 ---------- */
.c-app { padding: 22px 0 60px; min-height: 70vh; }
.c-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 14px; flex-wrap: wrap; margin-bottom: 6px; }
.c-head h1 { font-size: clamp(1.5rem, 4.5vw, 2.2rem); margin-bottom: 2px; }
.c-meta { color: var(--ink-soft); font-size: 0.95rem; margin-bottom: 18px; }
.c-actions { display: flex; gap: 10px; flex-wrap: wrap; margin: 0 0 20px; }
.wall.app { position: relative; }
.door .badge { position: absolute; right: 6%; top: 6%; background: var(--snow); color: var(--brick); font-family: var(--font-body); font-size: 0.62rem; font-weight: 700; border-radius: 999px; min-width: 1.5rem; height: 1.5rem; line-height: 1.5rem; padding: 0 0.3rem; box-shadow: 0 1px 3px rgba(0,0,0,0.25); z-index: 3; }
.door.filled { outline: 2.5px solid var(--gold); outline-offset: -2.5px; border-radius: 8px; }
.door .peek { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.5em; opacity: 0.95; }
.door-note .player { display: block; width: 100%; margin-top: 8px; }
.fill-form { max-width: 560px; }
.fill-form textarea { min-height: 96px; resize: vertical; }
.recorder { display: flex; align-items: center; gap: 12px; margin: 12px 0; flex-wrap: wrap; }
.rec-time { font-variant-numeric: tabular-nums; font-weight: 600; color: var(--brick); min-width: 4.2em; }
.rec-hint { font-size: 0.82rem; color: var(--ink-soft); }
.sticker-row { display: flex; gap: 8px; margin: 10px 0; }
.sticker-opt { border: 1.5px solid var(--line); background: var(--paper); border-radius: 8px; padding: 7px 12px; cursor: pointer; font-size: 0.95rem; }
.sticker-opt[aria-pressed="true"] { border-color: var(--brick); background: rgba(181, 71, 47, 0.08); box-shadow: inset 0 0 0 1px var(--brick); }
.modal-backdrop { position: fixed; inset: 0; background: rgba(30, 40, 35, 0.55); z-index: 100; display: flex; align-items: flex-end; justify-content: center; padding: 16px; }
.modal { background: var(--paper); border-radius: 16px 16px 0 0; max-width: 620px; width: 100%; max-height: 86vh; overflow-y: auto; padding: 30px 20px 30px; position: relative; }
.modal h3 { margin-bottom: 2px; }
.modal .sub { color: var(--ink-soft); font-size: 0.9rem; margin-bottom: 14px; }
/* 弹层节日化：顶部砖红丝带 + 金边，中央小蝶结（复用 logo 蝶结的双 radial 画法）——
   底部圆角 sheet 形似礼物盒盖被掀开；填门=包礼物的仪式感，但不堆雪花保持纸感 */
.modal::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 9px; background: linear-gradient(to bottom, var(--brick), #a03d28); border-bottom: 2px solid var(--gold); }
/* 蝶结 = 内联 SVG（双环+垂尾+结点，与门插画同款）；两个 radial 渐变画不出垂尾，认不出是结 */
.modal::after { content: ""; position: absolute; top: 3px; left: 50%; width: 40px; height: 20px; transform: translateX(-50%);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 20'%3E%3Cpath d='M20 6 C15 0 6 1 8 7 C9.5 11.5 17 10 20 6 Z' fill='%23d9a441' stroke='%23b8862f' stroke-width='0.8'/%3E%3Cpath d='M20 6 C25 0 34 1 32 7 C30.5 11.5 23 10 20 6 Z' fill='%23d9a441' stroke='%23b8862f' stroke-width='0.8'/%3E%3Cpath d='M18 7 C16 11 14 14 12 18' stroke='%23d9a441' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Cpath d='M22 7 C24 11 26 14 28 18' stroke='%23d9a441' stroke-width='2.2' fill='none' stroke-linecap='round'/%3E%3Ccircle cx='20' cy='6' r='2.4' fill='%23b8862f'/%3E%3C/svg%3E") center / contain no-repeat;
  filter: drop-shadow(0 1px 1px rgba(35, 32, 27, 0.3));
}
/* 关闭钮避开丝带区，加米色圆底衬保证任何底上可见 */
.modal .door-note-close { top: 16px; right: 10px; background: var(--paper-2); border-radius: 50%; box-shadow: inset 0 0 0 1px var(--line); }
/* 弹层内表单：暖米色输入底 + 标题行内门色小礼物图标 */
.modal input[type="text"], .modal input[type="url"], .modal textarea { background: var(--paper-2); border-color: rgba(35, 32, 27, 0.2); }
.modal .sticker-opt { background: var(--paper-2); }
.modal .sticker-opt:hover { border-color: var(--gold); }
.modal .door-icon { display: inline-block; width: 38px; height: 47px; vertical-align: -13px; margin-right: 8px; }
.modal .door-icon svg { display: block; width: 100%; height: 100%; }
.note-list .sample-note { margin-bottom: 12px; }
.note-list .player { width: 100%; margin-top: 6px; }
.note-links { margin-top: 6px; display: flex; gap: 8px; flex-wrap: wrap; }
.note-links a { font-size: 0.82rem; text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; background: var(--snow); }
.empty-state { text-align: center; color: var(--ink-soft); padding: 30px 10px; }

/* ---------- 动效弱化 ---------- */
@media (prefers-reduced-motion: reduce) {
  .door .gb-lid, .door .gb-rv, .door .gb-rh, .door .gb-shade, .door .gb-box, .door .gb-open { transition: none; }
  .door.unwrap .gb-lid { transform: none; opacity: 0; }
  .door.unwrap .gb-rv, .door.unwrap .gb-rh, .door.unwrap .gb-shade { opacity: 0; }
  .door.unwrap .gb-box { fill: #f3e8cf; }
  .door.unwrap .gb-open { opacity: 0.55; }
}

/* ---------- 响应式 ---------- */
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; }
  /* 手机端 H1/一句话/按钮必须先进首屏，插画和便签依次排在按钮下方（审核 #1） */
  .hero-visual .hero-note { position: static; margin: 14px auto 0; max-width: 270px; padding: 12px 14px; font-size: 0.92rem; }
  .steps { grid-template-columns: 1fr; }
  .chips-grid, .ideas, .definition .wrap, .split-list, .plain-grid, .scene-grid, .static-notes { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr; }
  .wall { grid-template-columns: repeat(6, 1fr); gap: 7px; padding: 12px; }
}
@media (max-width: 480px) {
  body { font-size: 16px; }
  section { padding: 42px 0; }
  .creator .fields { grid-template-columns: 1fr; }
  .topnav { display: none; }
}
