@charset "UTF-8";
@font-face{font-family:"Letter WenKai";src:url("assets/fonts/letter-wenkai-v3.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
:root{color-scheme:light;--paper:#f8f4e9;--ink:#393b30;--muted:#787666;--gold:#ac8d56;--wine:#762f35;--forest:#223e33;--serif:"Letter WenKai","Songti SC","STSong","Noto Serif CJK SC","Source Han Serif SC","SimSun",serif;--sans:-apple-system,BlinkMacSystemFont,"PingFang SC","Microsoft YaHei",sans-serif}
*{box-sizing:border-box}
html{min-width:280px;background:#f3efe5;scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{margin:0;color:var(--ink);font-family:var(--serif);font-weight:400;-webkit-font-smoothing:antialiased;isolation:isolate}
button{font:inherit;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
button:focus-visible{outline:2px solid var(--wine);outline-offset:7px}
button:disabled{cursor:default}
img{display:block;max-width:100%;height:auto}
::selection{background:#e5d4b4;color:#3c352b}
.ambient{position:fixed;inset:0;z-index:-2;overflow:hidden;pointer-events:none;background:radial-gradient(ellipse at 90% 0%,#fff9e9 0%,transparent 50%),radial-gradient(ellipse at 13% 79%,#ddd9c9 0%,transparent 61%),#f2eee4}
.ambient:after{content:"";position:absolute;inset:0;background:url("assets/grain.svg");opacity:.4;mix-blend-mode:multiply}
.sunlight{position:absolute;width:120vw;height:150vh;left:18%;top:-65%;transform:rotate(-28deg);background:linear-gradient(90deg,transparent 8%,#fff5c632 29%,#fffef6bb 48%,#eee0bd26 54%,transparent 66%);filter:blur(22px)}
.window-shadow{position:absolute;inset:-45%;transform:rotate(-29deg);background:linear-gradient(90deg,transparent 46%,#99978010 47%,#8d907c0f 49%,transparent 50%),linear-gradient(0deg,transparent 52%,#8b8d7d10 53%,#8b8d7d10 54%,transparent 55%);filter:blur(9px)}
.dust i{position:absolute;border-radius:50%;width:3px;height:3px;background:#bb9855;opacity:0;animation:drift 14s linear infinite;left:18%;top:75%;box-shadow:0 0 9px #d7b26a66}
.dust i:nth-child(2){left:79%;top:80%;animation-delay:-7s;animation-duration:19s;width:2px;height:2px}
.dust i:nth-child(3){left:64%;top:55%;animation-delay:-11s;animation-duration:17s}
.dust i:nth-child(4){left:34%;top:90%;animation-delay:-4s;animation-duration:22s;width:2px;height:2px}
.dust i:nth-child(5){left:86%;top:38%;animation-delay:-9s;animation-duration:24s;width:2px;height:2px}
.dust i:nth-child(6){left:7%;top:48%;animation-delay:-3s;animation-duration:16s}
@keyframes drift{0%{transform:translate3d(0,30px,0);opacity:0}20%{opacity:.45}75%{opacity:.22}100%{transform:translate3d(40px,-230px,0);opacity:0}}
.brand-panel{position:relative;background:linear-gradient(145deg,#294839,#1f382f);width:178px;padding:14px 17px 13px;border:1px solid #b2986366;box-shadow:0 4px 12px #253a3012;flex-shrink:0}
.brand-panel:after{position:absolute;content:"";inset:3px;border:1px solid #d1b88b24;pointer-events:none}
.brand-panel img{width:100%;aspect-ratio:1714/698;object-fit:contain}
.scene{display:none;position:relative;min-height:680px;height:100vh;height:100svh;isolation:isolate;overflow:hidden;padding:32px 24px 24px}
.js .scene{display:grid;grid-template-rows:auto 1fr auto}
.scene-brand{display:flex;justify-content:center;padding-top:env(safe-area-inset-top,0px);transition:opacity .5s}
.reception{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:0;padding-top:34px}
.scene-prelude{display:flex;gap:16px;align-items:center;font-family:var(--sans);font-size:12px;letter-spacing:.3em;color:#79745d;line-height:1.6;margin-bottom:43px}
.hairline{width:30px;height:1px;background:linear-gradient(90deg,transparent,#a98f5b99)}
.hairline:last-child{transform:rotate(180deg)}
.envelope-space{width:min(76vw,514px);aspect-ratio:1.48;position:relative;perspective:1400px}
.envelope-space:after{content:"";position:absolute;left:8%;right:5%;height:12%;bottom:-9%;background:#6f644633;filter:blur(15px);border-radius:50%;transform:rotate(-4deg);z-index:-1}
.envelope{position:relative;width:100%;height:100%;transform:rotate(-5deg);transform-style:preserve-3d;filter:drop-shadow(1px 17px 16px #665b3b24)}
.envelope-back{position:absolute;inset:0;border-radius:4px;background:linear-gradient(155deg,#d8cdb5,#e5dac2 60%,#d8ccb2);box-shadow:inset 0 0 0 1px #b09b734d}
.envelope-side{position:absolute;inset:0;z-index:3;pointer-events:none}
.envelope-side.left{clip-path:polygon(0 0,57% 55%,0 100%);background:linear-gradient(110deg,#e8dfce,#f7f0de);filter:drop-shadow(1px 0 1px #9d8c6933)}
.envelope-side.right{clip-path:polygon(100% 0,43% 55%,100% 100%);background:linear-gradient(265deg,#e7dcc6,#f0e6d2)}
.envelope-front{position:absolute;inset:0;z-index:4;clip-path:polygon(0 100%,0 99%,50% 39%,100% 99%,100% 100%);background:linear-gradient(165deg,#f7f0df 30%,#ece1c9 100%)}
.envelope-front:after{content:"";position:absolute;inset:0;background:url("assets/grain.svg");opacity:.5;mix-blend-mode:multiply}
.envelope-front:before{content:"";position:absolute;inset:0;box-shadow:inset 0 -1px 1px #c0ae8c88}
.envelope-flap{position:absolute;inset:0;transform-origin:50% 0;transform-style:preserve-3d;z-index:6;pointer-events:none}
.flap-face,.flap-lining{position:absolute;inset:0;clip-path:polygon(0 0,100% 0,51.5% 55%,50% 56%,48.5% 55%);backface-visibility:hidden;-webkit-backface-visibility:hidden}
.flap-face{background:linear-gradient(176deg,#f3ead8 0%,#eee4cd 28%,#e4d5b8 57%);filter:drop-shadow(0 2px 1px #806a4833)}
.flap-face:after{content:"";position:absolute;inset:0;background:url("assets/grain.svg");opacity:.5}
.flap-lining{transform:rotateY(180deg);background:repeating-linear-gradient(45deg,#cfc2a6,#cfc2a6 1px,#e1d6bf 1px,#e1d6bf 5px)}
.envelope-address{position:absolute;z-index:7;top:72%;width:100%;text-align:center;pointer-events:none;padding:0 16px;color:#534b37}
.envelope-address h2{font-size:clamp(15px,2.7vw,23px);letter-spacing:.13em;font-weight:400;line-height:1.5;margin:0}
.envelope-address p{font-size:clamp(12px,1.9vw,14px);color:#82704c;letter-spacing:.17em;margin:8px 0 0}
.seal-button{position:absolute;z-index:8;left:50%;top:50%;transform:translate(-50%,-50%);width:24%;max-width:116px;min-width:72px;border:0;padding:0;background:transparent;cursor:pointer;border-radius:50%;filter:drop-shadow(1px 5px 3px #54271d40);transition:filter .2s}
.seal-button img{position:relative;z-index:1;width:100%;animation:seal-breathe 4s ease-in-out infinite}
.seal-button:hover{filter:drop-shadow(1px 7px 6px #54271d55)}
.seal-button:focus-visible{outline-offset:3px}
.seal-aura{position:absolute;inset:8%;border:1px solid #a9885555;border-radius:50%;animation:aura 4s ease-in-out infinite}
@keyframes seal-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.035)}}
@keyframes aura{0%,30%{transform:scale(1);opacity:0}60%{opacity:.3}100%{transform:scale(1.4);opacity:0}}
.insert-paper{position:absolute;z-index:2;inset:5% 6% 4%;background:#faf7ec;border:1px solid #c6b58c;box-shadow:0 0 10px #74613c22;opacity:0;display:flex;align-items:center;flex-direction:column;padding:8% 7%;transform-origin:50% 30%;pointer-events:none}
.paper-rule{height:1px;background:#c1a56a99;width:100%;margin:0 0 8%}
.insert-title{font-size:22px;letter-spacing:.6em;color:#8b6d3c;white-space:nowrap;margin-bottom:9%}
.insert-line{display:block;height:2px;width:100%;margin:3.5% 0;background:#c4bba333}
.insert-line.short{width:75%;align-self:flex-start}
.opening-invitation{margin-top:54px;text-align:center;transition:opacity .3s}
.meet-words{font-size:24px;letter-spacing:.55em;text-indent:.55em;margin:0;color:#5b5846}
.open-hint{font:12px/1.8 var(--sans);color:#817961;letter-spacing:.23em;margin:15px 0 0}
.scene-footer{text-align:center;position:relative;align-self:end;padding-bottom:env(safe-area-inset-bottom,0px);transition:opacity .4s}
.footer-mark{display:block;width:1px;height:24px;background:linear-gradient(#b19760aa,#b1976010);margin:0 auto 15px}
.scene-footer p{font:12px/1.9 var(--sans);letter-spacing:.17em;margin:0;color:#8b8169}
.music-control{position:fixed;right:max(20px,env(safe-area-inset-right));top:max(23px,calc(env(safe-area-inset-top) + 14px));z-index:30;width:40px;height:40px;background:#f7f3e9cc;border:1px solid #a78a5755;border-radius:50%;color:#72613e;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #51472908;backdrop-filter:blur(8px)}
.music-bars{display:flex;align-items:center;gap:3px;height:18px}
.music-bars i{display:block;width:2px;background:currentColor;border-radius:1px;height:8px}
.music-bars i:nth-child(2){height:17px}.music-bars i:nth-child(3){height:12px}.music-bars i:nth-child(4){height:7px}
.music-slash{position:absolute;transform:rotate(-40deg);width:24px;height:1px;background:currentColor;box-shadow:0 1px 0 #f7f3e9;opacity:.8}
.music-control[aria-pressed="true"] .music-slash{opacity:0}
.music-control[aria-pressed="true"] .music-bars i{animation:equalizer .85s ease-in-out alternate infinite}
.music-control[aria-pressed="true"] .music-bars i:nth-child(2){animation-delay:-.4s}.music-control[aria-pressed="true"] .music-bars i:nth-child(3){animation-delay:-.65s}.music-control[aria-pressed="true"] .music-bars i:nth-child(4){animation-delay:-.2s}
@keyframes equalizer{to{transform:scaleY(.35)}}
.toast{position:fixed;z-index:40;left:50%;bottom:calc(28px + env(safe-area-inset-bottom,0px));max-width:calc(100% - 40px);width:max-content;transform:translate(-50%,12px);font:13px/1.7 var(--sans);background:#2e3d32ef;color:#fff7e4;padding:10px 17px;opacity:0;pointer-events:none;transition:opacity .25s,transform .25s;border:1px solid #b59a6155}
.toast.visible{opacity:1;transform:translate(-50%,0)}
.letter-shell{max-width:820px;margin:0 auto;padding:32px 28px 0;position:relative}
.reading-brand{display:flex;align-items:center;justify-content:flex-end;gap:20px;padding:16px 10px 24px}

.reading-preface{font-size:14px;letter-spacing:.25em;color:#8a7956;padding-right:12px}
.letter-paper{position:relative;background:linear-gradient(100deg,#f5f0e3 0%,#fcf9f0 6%,#fbf8ed 50%,#f8f3e6 100%);padding:72px 69px 68px;box-shadow:0 20px 65px #6553320c,0 1px 3px #65533212;border:1px solid #c4ad7c55;isolation:isolate}
.letter-paper:before{content:"";position:absolute;inset:9px;border:1px solid #b2965e30;pointer-events:none;z-index:-1}
.letter-paper:after{content:"";position:absolute;inset:0;background:url("assets/grain.svg");opacity:.32;mix-blend-mode:multiply;z-index:-1;pointer-events:none}
.paper-corner{width:27px;height:27px;position:absolute;pointer-events:none;border-color:#b09158;border-style:solid;opacity:.7}
.corner-tl{left:9px;top:9px;border-width:1px 0 0 1px}
.corner-br{right:9px;bottom:9px;border-width:0 1px 1px 0}
.letter-content{font-size:18px;line-height:1.95;overflow-wrap:break-word;word-break:normal;letter-spacing:.025em}
.letter-content p{margin:0 0 1.4em;white-space:pre-wrap}
.letter-heading{margin-bottom:46px;text-align:center}
.letter-title{font-weight:400;line-height:1.5;font-size:30px;letter-spacing:.12em;color:#543c32;margin:0 0 23px}
.letter-title:focus{outline:none}
.letter-subtitle{font-size:15px;line-height:1.95;letter-spacing:.07em;color:#84724d;max-width:470px;margin:0 auto!important}
.letter-heading:after{content:"";display:block;width:52px;height:1px;margin:30px auto 0;background:#ac8d56aa}
.letter-content .salutation{margin-bottom:1.8em;color:#554a37}
.letter-content .emphasis{color:#6e3035}
.funds{margin:40px 0 36px;padding:28px 0 21px;border-top:1px solid #b5986055;border-bottom:1px solid #b5986055}
.section-title{font-weight:400;font-size:20px;line-height:1.7;color:#6b5033;letter-spacing:.07em;margin:0 0 22px;white-space:pre-wrap}
.fund-list{list-style:none;margin:0;padding:0;font-size:17px;line-height:1.95}
.fund-list li{padding-left:1.5em;text-indent:-1.5em;margin:0 0 15px;white-space:pre-wrap}
.fund-list li:last-child{margin-bottom:0}
.promise{border-left:2px solid #a38959;background:#e7deca33;margin:34px 0 39px;padding:20px 23px 21px}
.promise .section-title{margin-bottom:12px}
.promise p{margin:0;font-size:17px}
.letter-ending{margin-top:44px;padding-top:38px;border-top:1px solid #b5986044}
.letter-content .closing-words{font-size:23px;line-height:2;letter-spacing:.05em;color:var(--wine);margin:0 0 43px}
.signature{text-align:right;font-size:16px;line-height:1.9;color:#655c48}
.signature p{margin:0 0 12px}
.signature .signature-date{font-size:15px;color:#918065;letter-spacing:.07em;margin:0}
.afterword{position:relative;display:flex;align-items:center;flex-direction:column;gap:30px;padding:65px 0 calc(58px + env(safe-area-inset-bottom,0px));overflow:hidden}
.afterword .brand-panel{width:160px;padding:11px 15px}
.afterword-light{position:absolute;left:10%;right:10%;height:200px;top:0;background:radial-gradient(ellipse,#efd9a044,transparent 70%);z-index:-1}
.replay-button{display:flex;gap:11px;align-items:center;justify-content:center;font:14px/1.5 var(--sans);letter-spacing:.16em;color:#736346;border:1px solid #b1976266;padding:12px 25px;background:#f7f3e666;cursor:pointer;transition:background .2s,border-color .2s}
.replay-button:hover{background:#fff8e8;border-color:#a58952}
.replay-button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round}
.no-script-note{font:14px var(--sans);text-align:center;margin:20px}
.js body[data-phase="sealed"],.js body[data-phase="opening"]{overflow:hidden}
.js body[data-phase="sealed"] .letter-shell{display:none}
.js body[data-phase="opening"] .letter-shell{opacity:0;animation:reading-arrive .55s 2.05s ease-out both}
.js body[data-phase="reading"] .scene{display:none}
body[data-phase="opening"] .scene{position:fixed;inset:0;z-index:15;animation:scene-away .45s 2.15s ease-in both}
body[data-phase="opening"] .envelope{animation:envelope-level 1.5s ease-in-out both}
body[data-phase="opening"] .seal-button{animation:unseal .45s ease-in both;pointer-events:none}
body[data-phase="opening"] .seal-button img,body[data-phase="opening"] .seal-aura{animation:none}
body[data-phase="opening"] .envelope-flap{animation:flap-open .8s .28s cubic-bezier(.33,.02,.28,1) both}
body[data-phase="opening"] .insert-paper{animation:paper-withdraw 1.65s .85s cubic-bezier(.4,0,.2,1) both}
body[data-phase="opening"] .envelope-side,body[data-phase="opening"] .envelope-front,body[data-phase="opening"] .envelope-back,body[data-phase="opening"] .envelope-address{animation:envelope-fall .65s 1.65s ease-in both}
body[data-phase="opening"] .scene-brand,body[data-phase="opening"] .opening-invitation,body[data-phase="opening"] .scene-footer,body[data-phase="opening"] .scene-prelude{opacity:0}
@keyframes unseal{to{opacity:0;transform:translate(-47%,-40%) rotate(16deg) scale(1.2);filter:blur(1px)}}
@keyframes flap-open{0%{transform:rotateX(0);z-index:6}49%{z-index:6}50%{z-index:1}100%{transform:rotateX(180deg);z-index:1}}
@keyframes paper-withdraw{0%{opacity:0;transform:translateY(0) scale(1);z-index:2}8%{opacity:1}48%{transform:translateY(-67%) scale(1);z-index:2}49%{z-index:9}67%{transform:translateY(-67%) scale(1.08);z-index:9;opacity:1}100%{transform:translateY(-19%) scale(3.4);z-index:9;opacity:0}}
@keyframes envelope-fall{to{transform:translateY(85px);opacity:0}}
@keyframes envelope-level{to{transform:rotate(0)}}
@keyframes scene-away{to{opacity:0;visibility:hidden}}
@keyframes reading-arrive{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1100px){.scene{padding-top:44px;padding-bottom:30px}.scene-brand .brand-panel{width:185px}.reception{padding-top:20px}.scene-prelude{margin-bottom:50px}.opening-invitation{margin-top:63px}.scene-footer p br{display:none}.scene-footer p{font-size:12px}.scene-footer .footer-mark{height:18px;margin-bottom:12px}}
@media(max-width:600px){.scene{padding:24px 18px 22px;min-height:620px}.scene-brand .brand-panel{width:155px;padding:12px 15px}.reception{padding-top:14px}.scene-prelude{margin-bottom:35px;font-size:11px;letter-spacing:.2em;gap:12px}.hairline{width:22px}.envelope-space{width:84vw;max-width:390px}.envelope-address{top:73%;padding:0 10px}.envelope-address h2{font-size:16px;letter-spacing:.08em}.envelope-address p{font-size:12px;margin-top:6px}.opening-invitation{margin-top:46px}.meet-words{font-size:22px}.open-hint{font-size:12px;letter-spacing:.18em;margin-top:13px}.scene-footer p{font-size:11px;letter-spacing:.14em}.scene-footer .footer-mark{height:20px;margin-bottom:13px}.music-control{width:36px;height:36px;right:17px;top:max(21px,calc(env(safe-area-inset-top) + 12px))}.letter-shell{padding:16px 14px 0}.reading-brand{padding:12px 9px 22px}.reading-preface{font-size:13px;padding-right:30px}.letter-paper{padding:44px 25px 43px}.letter-content{font-size:18px;line-height:1.95;letter-spacing:.015em}.letter-content p{margin-bottom:1.35em}.letter-heading{margin-bottom:33px}.letter-title{font-size:25px;letter-spacing:.07em;margin-bottom:20px}.letter-subtitle{font-size:14px;line-height:1.95;letter-spacing:.035em}.letter-heading:after{margin-top:25px;width:40px}.section-title{font-size:19px;letter-spacing:.03em}.funds{margin:31px 0;padding:24px 0}.fund-list{font-size:17px}.promise{margin:30px 0;padding:20px 16px}.promise p{font-size:17px}.letter-ending{margin-top:33px;padding-top:29px}.letter-content .closing-words{font-size:20px;line-height:2.1;letter-spacing:0;margin-bottom:34px}.signature{font-size:15px;line-height:1.9}.signature .signature-date{font-size:14px}.afterword{padding-top:45px;gap:25px}.afterword .brand-panel{width:150px}}
@media(max-width:359px){.scene{min-height:560px}.scene-prelude{margin-bottom:28px}.opening-invitation{margin-top:38px}.scene-brand .brand-panel{width:139px}.envelope-address h2{font-size:14px;letter-spacing:.05em}.envelope-address p{font-size:11px}.letter-shell{padding-left:9px;padding-right:9px}.letter-paper{padding-left:21px;padding-right:21px}.letter-title{font-size:22px}.reading-preface{font-size:12px}.letter-content .closing-words{font-size:18px}.music-control{right:13px}}
@media(max-height:700px) and (min-width:601px){.scene{height:auto;min-height:680px}}
@media(max-height:700px) and (max-width:600px){.scene{min-height:560px;padding-top:17px;padding-bottom:17px}.scene-prelude{margin-bottom:25px}.opening-invitation{margin-top:33px}.scene-footer .footer-mark{height:13px;margin-bottom:8px}.scene-brand .brand-panel{width:140px;padding:10px 14px}.reception{padding-top:5px}}
@media(orientation:landscape) and (max-height:500px){.scene{min-height:390px;padding-top:14px;padding-bottom:12px}.scene-brand{position:absolute;top:17px;left:20px}.scene-brand .brand-panel{width:115px;padding:8px 11px}.reception{padding-top:5px;grid-row:2}.scene-prelude{margin-bottom:14px;font-size:10px}.envelope-space{width:260px}.envelope-address h2{font-size:13px}.envelope-address p{font-size:10px;margin-top:4px}.seal-button{min-width:65px}.opening-invitation{margin-top:22px}.meet-words{font-size:18px}.open-hint{margin-top:6px;font-size:11px}.scene-footer{position:absolute;left:20px;bottom:17px;text-align:left}.scene-footer .footer-mark{display:none}.scene-footer p{font-size:10px}.scene-footer p br{display:block}.letter-shell{padding-top:50px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.dust i,.seal-button img,.seal-aura,.music-control[aria-pressed="true"] .music-bars i{animation:none}body[data-phase="opening"] .envelope,body[data-phase="opening"] .seal-button,body[data-phase="opening"] .envelope-flap,body[data-phase="opening"] .insert-paper,body[data-phase="opening"] .envelope-side,body[data-phase="opening"] .envelope-front,body[data-phase="opening"] .envelope-back,body[data-phase="opening"] .envelope-address{animation:none}body[data-phase="opening"] .scene{animation:scene-away .3s ease both}.js body[data-phase="opening"] .letter-shell{animation:reading-arrive .3s ease both}*{transition-duration:.01ms!important}}
@media print{.scene,.ambient,.music-control,.toast,.reading-brand,.afterword{display:none!important}.js body[data-phase] .letter-shell{display:block!important;opacity:1!important;animation:none!important}.letter-shell{max-width:none;padding:0}.letter-paper{padding:20px;border:none;box-shadow:none}.letter-paper:before,.letter-paper:after{display:none}.letter-content{font-size:12pt}.funds,.promise,.letter-ending{break-inside:avoid}}
/* Keep the floating music control in the paper's outer margin while reading. */
@media(max-width:600px){body[data-phase="reading"] .music-control{right:6px;width:30px;height:32px}.scene-prelude,.scene-footer p,.open-hint{font-size:12px}}
@media(max-width:359px){body[data-phase="reading"] .music-control{right:0;width:26px;height:30px}.envelope-address p{font-size:12px}}

/* Three fixed signature lines, preserving the exact original text. */
.signature-name{display:block;white-space:nowrap;font-size:clamp(12px,3.7vw,15px);letter-spacing:0;line-height:1.9}
.signature-salute{display:block;white-space:normal;font-size:15px;letter-spacing:0;line-height:1.9;margin-top:5px}
.letter-content .signature-source{margin:0 0 9px}
@media(max-width:600px){.signature-salute{font-size:14px}.signature .signature-date{font-size:14px;line-height:1.9;letter-spacing:0}}

/* The supplied WeChat friend QR is displayed intact, with its native menu. */
.letter-actions{display:flex;flex-direction:column;align-items:center;gap:16px;width:100%}
.donation-button{display:flex;align-items:center;justify-content:center;min-width:158px;min-height:46px;padding:12px 27px;border:1px solid #7d3e41;background:linear-gradient(135deg,#87454a,#6d3038);box-shadow:0 5px 15px #5d252813;color:#fff8e9;font:16px/1.5 var(--serif);letter-spacing:.2em;text-indent:.2em;text-decoration:none;touch-action:manipulation;-webkit-tap-highlight-color:transparent;transition:background .2s,box-shadow .2s}
.donation-button:hover{background:#72333c;box-shadow:0 6px 18px #5d252825}
.donation-button:focus-visible{outline:2px solid var(--wine);outline-offset:5px}
.qr-overlay[hidden]{display:none!important}
.qr-overlay{position:fixed;inset:0;z-index:60;display:grid;place-items:center;padding:16px;padding-top:max(16px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom));background:#17251edb;overscroll-behavior:contain;animation:qr-appear .18s ease-out}
.qr-card{width:min(100%,400px);max-height:calc(100vh - 32px);max-height:calc(100svh - 32px);display:flex;flex-direction:column;padding:15px 18px 19px;background:#faf7ef;border:1px solid #b79c66;box-shadow:0 18px 70px #0003;overflow:auto;overscroll-behavior:contain}
.qr-header{display:flex;align-items:center;justify-content:space-between;gap:16px;padding-bottom:12px;flex-shrink:0}
.qr-header h2{font-size:22px;line-height:1.5;font-weight:400;letter-spacing:.15em;color:#6e3038;margin:0}
.qr-close{display:grid;place-items:center;width:40px;height:40px;flex-shrink:0;padding:9px;border:1px solid #a58b583d;background:transparent;color:#72654c;border-radius:50%;cursor:pointer}
.qr-close svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.3;stroke-linecap:round}
.qr-figure{display:flex;justify-content:center;align-items:center;min-height:0;margin:0;flex:1 1 auto}
.wechat-qr{display:block;width:auto;height:auto;max-width:min(100%,320px);max-height:min(65vh,500px);max-height:min(65svh,500px);object-fit:contain;background:#fff;user-select:auto;-webkit-user-select:auto;-webkit-touch-callout:default;touch-action:auto}
.qr-instructions{text-align:center;font-size:15px;line-height:1.7;color:#655b46;margin:15px 0 0;flex-shrink:0}
body.qr-open{position:fixed;left:0;right:0;width:100%;overflow:hidden}
@keyframes qr-appear{from{opacity:0}to{opacity:1}}
@media(prefers-reduced-motion:reduce){.qr-overlay{animation:none}}
@media print{.qr-overlay{display:none!important}}
