:root{--bg:#fcf8f0;--ink:#2c2c2c;--muted:#7a7060;--rule:#d4c8b0;--accent:#8b5a2b;--gold:#c8963e;--font:"Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif}*,:before,:after{box-sizing:border-box;margin:0;padding:0}html{--lightningcss-light:initial;--lightningcss-dark: ;color-scheme:light;-webkit-font-smoothing:antialiased;font-size:17px}body{font-family:var(--font);color:var(--ink);background:radial-gradient(ellipse 90vw 60vh at 50% -12%, #fff5e2 0%, #fff5e200 62%), radial-gradient(ellipse 70vw 50vh at 85% 105%, #fdf1df 0%, #fdf1df00 60%), var(--bg);min-height:100vh;line-height:2;overflow-x:hidden}.stage{isolation:isolate;justify-content:center;align-items:flex-start;min-height:100dvh;padding:4rem 1.5rem 5rem;display:flex;position:relative}.glow{pointer-events:none;z-index:0;filter:blur(40px);border-radius:50%;animation:14s ease-in-out infinite breathe;position:fixed}.glow-a{background:radial-gradient(circle,#ffba4670 0%,#ffbe5000 68%);width:70vw;height:60vh;margin-left:-35vw;top:-18vh;left:50%}.glow-b{background:radial-gradient(circle,#cb843a4d 0%,#cd8c4600 70%);width:55vw;height:55vh;animation-delay:-6s;bottom:-22vh;right:-10vw}.glow-c{background:radial-gradient(circle,#e2a46c42 0%,#e2aa7800 70%);width:40vw;height:40vh;animation-delay:-3s;top:35vh;left:-15vw}@keyframes breathe{0%,to{opacity:.55;transform:scale(1)}50%{opacity:1;transform:scale(1.08)}}.sparks{pointer-events:none;z-index:1;position:fixed;inset:0;overflow:hidden}.spark{background:radial-gradient(circle,#ffe4a8 0%,#ffbe5a00 72%);border-radius:50%;width:4px;height:4px;animation-name:drift;animation-timing-function:linear;animation-iteration-count:infinite;position:absolute;bottom:-4vh;box-shadow:0 0 9px 2px #ffc86e8c}@keyframes drift{0%{opacity:0;transform:translate(0,0)scale(.6)}12%{opacity:.7}75%{opacity:.35}to{opacity:0;transform:translate3d(var(--dx,24px), -108vh, 0) scale(1.05)}}.confetti-layer{z-index:4;pointer-events:none;position:fixed;inset:0;overflow:hidden}.confetti{opacity:0;animation:confettiFall var(--dur) cubic-bezier(.36, .16, .5, .92) var(--delay) forwards;will-change:transform, opacity;position:absolute;top:-8vh}.confetti-piece{width:var(--w);height:var(--h);background:var(--color);animation:confettiSpin var(--spin) linear infinite;transform-origin:50%;border-radius:1px;display:block;box-shadow:0 1px 2px #78501e24}@keyframes confettiFall{0%{opacity:0;transform:translate(0,0)}5%{opacity:1}80%{opacity:1}to{opacity:0;transform:translate3d(var(--drift), 118vh, 0)}}@keyframes confettiSpin{0%{transform:rotate3d(1,1,.25,0)}50%{transform:rotate3d(1,1,.25,180deg)scaleX(.72)}to{transform:rotate3d(1,1,.25,360deg)}}.card{z-index:2;background:linear-gradient(#fffdf7 0%,#fdf8ec 100%);border-radius:3px;width:100%;max-width:680px;padding:3.2rem 3.5rem 3rem;animation:1s cubic-bezier(.22,.9,.3,1) both cardIn;position:relative;box-shadow:0 1px 2px #8b5a2b14,0 10px 30px #8b5a2b17,inset 0 0 0 1px #d4c8b059}.card:before{content:"";background:linear-gradient(90deg, var(--accent) 0%, var(--gold) 50%, var(--accent) 100%);transform-origin:50%;border-radius:3px 3px 0 0;height:4px;animation:1.2s cubic-bezier(.22,.9,.3,1) .25s both lineGrow;position:absolute;top:0;left:0;right:0}@keyframes cardIn{0%{opacity:0;transform:translateY(26px)scale(.985)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes lineGrow{0%{opacity:0;transform:scaleX(0)}to{opacity:.7;transform:scaleX(1)}}.candles{justify-content:center;align-items:flex-end;gap:22px;height:74px;margin-bottom:1.4rem;display:flex;position:relative}.candles:before{content:"";pointer-events:none;background:radial-gradient(at 50% 45%,#ffc86957 0%,#ffc8691f 44%,#ffc86900 74%);border-radius:50%;width:320px;height:170px;animation:1.5s ease-out 1.1s both haloIn;position:absolute;top:-26px;left:50%;transform:translate(-50%)}@keyframes haloIn{0%{opacity:0;transform:translate(-50%)scale(.65)}to{opacity:1;transform:translate(-50%)scale(1)}}.candle{z-index:1;animation:.7s cubic-bezier(.22,.9,.3,1) both candleIn;animation-delay:calc(.55s + var(--i) * .16s);flex-direction:column;align-items:center;display:flex;position:relative}.candle:nth-child(2){--nudge:-6px}.candle:nth-child(3){--nudge:4px}@keyframes candleIn{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(var(--nudge,0))}}.candle .flame{opacity:0;transform-origin:50% 100%;width:9px;height:17px;animation:lightUp .5s ease-out forwards, flicker 2.6s ease-in-out calc(1.05s + var(--i) * .16s) infinite;animation-delay:calc(.95s + var(--i) * .16s), calc(1.05s + var(--i) * .16s);background:radial-gradient(at 50% 72%,#fffbe8 0%,#ffe08a 34%,#f6ab41 68%,#f6ab4100 100%);border-radius:50% 50% 46% 46%/62% 62% 38% 38%;margin-bottom:1px;box-shadow:0 0 26px 10px #ffc45866,0 0 6px 2px #ffe0a0bf}@keyframes lightUp{0%{opacity:0;transform:translateY(-5px)scale(.3)}to{opacity:1;transform:translateY(0)scale(1)}}@keyframes flicker{0%,to{opacity:.96;transform:scale(1)rotate(0)}22%{opacity:1;transform:scale(.94,1.09)rotate(-2.5deg)}46%{opacity:.9;transform:scale(1.05,.93)rotate(1.8deg)}70%{opacity:1;transform:scale(.97,1.06)rotate(-1.2deg)}86%{opacity:.95;transform:scale(1.02,.98)rotate(1deg)}}.candle .wick{opacity:.7;background:#6b5744;border-radius:1px;width:1.5px;height:4px;margin-bottom:-1px}.candle .wax{background:linear-gradient(90deg,#e9d9bd 0%,#fffdf6 38%,#fff 52%,#e4d2b2 100%);border-radius:2px 2px 1px 1px;width:8px;height:40px;box-shadow:0 1px 2px #8b5a2b2e}.candle:first-child .wax{height:34px}.candle:nth-child(3) .wax{height:37px}.header{text-align:center;border-bottom:1px solid #d4c8b0bf;margin-bottom:2.2rem;padding-bottom:1.8rem}.title{color:var(--accent);letter-spacing:.15em;text-indent:.15em;font-size:1.85rem;font-weight:600;animation:1.1s cubic-bezier(.22,.9,.3,1) 1.15s both unfold}@keyframes unfold{0%{opacity:0;letter-spacing:.7em;filter:blur(3px)}to{opacity:1;letter-spacing:.15em;filter:blur()}}.subtitle{color:var(--muted);letter-spacing:.4em;text-indent:.4em;margin-top:.5rem;font-size:.92rem;animation:1.1s cubic-bezier(.22,.9,.3,1) 1.45s both unfold}.content p{text-indent:2em;text-align:justify;animation:.85s cubic-bezier(.22,.9,.3,1) both rise;animation-delay:calc(1.6s + var(--i,0) * .13s);margin-bottom:1.15rem}.content p:last-child{margin-bottom:0}.handwriting{text-indent:0;animation:1.1s cubic-bezier(.22,.9,.3,1) both rise;animation-delay:calc(1.6s + var(--i,0) * .13s);margin:2.2rem 0 0}.handwriting img{mix-blend-mode:multiply;width:100%;height:auto;display:block}@keyframes rise{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.signature{text-align:right;color:var(--muted);border-top:1px dashed #d4c8b0e6;margin-top:2.6rem;padding-top:1.4rem;font-size:.95rem;animation:.9s cubic-bezier(.22,.9,.3,1) 2.35s both rise}.signature .date{margin-top:.4rem;font-size:.85rem}@media (max-width:600px){html{font-size:15px}.stage{padding:1.4rem .7rem 2.5rem}.card{padding:2.4rem 1.7rem 2.2rem}.title{font-size:1.45rem}.candles{gap:18px;height:66px;margin-bottom:1.1rem}}@media (prefers-reduced-motion:reduce){*,:before,:after{transition-duration:.001ms!important;animation-duration:.001ms!important;animation-iteration-count:1!important;animation-delay:0s!important}.spark,.confetti-layer{display:none}}
