:root{--ink:#3e2d35;--cream:#fff9f1;--rose:#ef7185;--deep:#c94b65;--line:#ead9d5}*{box-sizing:border-box}body{margin:0;min-height:100vh;color:var(--ink);font-family:"Microsoft YaHei","PingFang SC",sans-serif;background:radial-gradient(circle at 15% 10%,#ffd9df 0,transparent 35%),radial-gradient(circle at 90% 85%,#ffe0b8 0,transparent 36%),#fdf3ed}.sparkles{position:fixed;inset:0;pointer-events:none;background-image:radial-gradient(#fff 1.5px,transparent 1.5px);background-size:34px 34px;opacity:.6}main{position:relative;display:grid;grid-template-columns:minmax(310px,480px) minmax(320px,500px);gap:56px;justify-content:center;align-items:start;padding:50px 28px}.editor{background:rgba(255,255,255,.86);backdrop-filter:blur(12px);border:1px solid rgba(255,255,255,.9);border-radius:28px;padding:34px;box-shadow:0 24px 70px rgba(114,61,67,.12)}.eyebrow{font-size:12px;letter-spacing:3px;color:var(--deep);font-weight:700}.editor h1{font-family:Georgia,"STSong",serif;font-size:34px;line-height:1.25;margin:10px 0 8px}.muted{color:#8b7076;line-height:1.7}.editor label,.label-title{display:block;font-size:14px;font-weight:700;margin-top:18px}.editor input,.editor textarea{width:100%;margin-top:8px;border:1px solid var(--line);border-radius:12px;padding:12px 14px;background:#fffdfb;color:var(--ink);font:inherit;outline:none}.editor input:focus,.editor textarea:focus{border-color:var(--rose);box-shadow:0 0 0 3px rgba(239,113,133,.12)}.upload input{padding:9px}.field-group{margin-top:18px;padding-top:2px}.hint,.privacy{font-size:12px;color:#9b858a;margin:7px 0}.record-row{display:flex;gap:8px;margin-top:8px}button{border:0;font:inherit;cursor:pointer}.soft{padding:10px 14px;border-radius:10px;color:var(--deep);background:#fff0f2}.primary{width:100%;margin-top:24px;padding:15px;border-radius:14px;background:linear-gradient(135deg,var(--rose),var(--deep));color:white;font-weight:700;box-shadow:0 12px 25px rgba(201,75,101,.25)}.phone-wrap{position:sticky;top:28px;display:flex;justify-content:center}.phone{width:min(100%,390px);min-height:720px;background:var(--cream);border:9px solid #3a2b31;border-radius:38px;overflow:hidden;box-shadow:0 35px 80px rgba(74,42,48,.25)}.card-top{height:58px;display:flex;align-items:center;justify-content:space-around;font:700 12px Georgia;letter-spacing:2px;color:var(--deep)}.hero-photo{height:315px;margin:0 16px;border-radius:120px 120px 20px 20px;background:linear-gradient(145deg,#f8b7bd,#f6d3ae);overflow:hidden;display:flex;align-items:center;justify-content:center}.hero-photo img{width:100%;height:100%;object-fit:cover}.placeholder{text-align:center;color:white;font-family:Georgia,"STSong",serif;font-size:22px;line-height:1.5}.card-copy{text-align:center;padding:24px 24px 16px}.to{font-size:11px;letter-spacing:2px;color:var(--deep)}.card-copy h2{font-family:Georgia,"STKaiti",serif;font-size:37px;margin:7px 0 12px;color:var(--deep)}.card-copy p{white-space:pre-wrap;font-family:Georgia,"STSong",serif;line-height:1.9;font-size:15px}.signature{text-align:right;font-size:13px;color:#8b7076;margin-top:18px}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:7px;margin-top:16px}.gallery img{width:100%;aspect-ratio:1;object-fit:cover;border-radius:9px}.audio-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:18px}.round{padding:9px 13px;border-radius:99px;background:#fff0f2;color:var(--deep);font-size:12px}.card-footer{border-top:1px dashed #e4c9c5;text-align:center;padding:14px;color:#aa7b82;font-size:11px;letter-spacing:1px}dialog{width:min(92vw,430px);border:0;border-radius:24px;padding:30px;text-align:center;color:var(--ink);box-shadow:0 30px 90px rgba(50,20,30,.28)}dialog::backdrop{background:rgba(48,28,34,.5);backdrop-filter:blur(4px)}dialog h3{font-size:24px;margin:8px}.close{position:absolute;right:15px;top:10px;background:transparent;font-size:28px;color:#92797e}.success{display:inline-grid;place-items:center;width:48px;height:48px;border-radius:50%;color:white;background:var(--rose);font-size:24px}.qr{display:block;width:190px;height:190px;margin:18px auto;border:8px solid white;box-shadow:0 4px 20px #ead8d8}.link-box{display:flex;background:#f8efed;border-radius:12px;padding:5px}.link-box input{min-width:0;flex:1;border:0;background:transparent;padding:9px}.link-box button{border-radius:9px;padding:8px 16px;color:white;background:var(--deep)}body.viewer main{display:block;padding:24px}body.viewer .editor{display:none}body.viewer .phone-wrap{position:static}body.viewer .phone{border:0;border-radius:24px;min-height:calc(100vh - 48px);width:min(100%,430px)}body.viewer .hero-photo{height:42vh;max-height:420px}@media(max-width:850px){main{grid-template-columns:1fr;gap:30px;padding:24px 14px}.phone-wrap{position:static;grid-row:1}.editor{padding:24px}.phone{min-height:670px}.hero-photo{height:280px}}
