#wechat-gift { font-family: "PingFang SC", "Microsoft YaHei", sans-serif; }
.site-nav .nav-wechat-gift { padding: 8px 12px; border: 1px solid #c48d5260; border-radius: 4px; color: #ffcc8b; background: #c48d5212; font: inherit; font-size: 12px; white-space: nowrap; cursor: pointer; }
.site-nav .nav-wechat-gift:hover { border-color: #ffcc8b; background: #c48d5225; }
.site-nav .nav-wechat-gift:focus-visible { outline: 2px solid #ffcc8b; outline-offset: 4px; }
.wechat-gift-trigger { position: fixed; z-index: 45; right: 28px; bottom: max(28px, env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 13px; padding: 14px 18px 14px 13px; border: 1px solid #c48d52; border-radius: 8px; color: #ffcc8b; background: linear-gradient(135deg, #29201a, #101923); box-shadow: 0 12px 36px #0008; cursor: pointer; transition: transform .2s, border-color .2s; text-align: left; }
.wechat-gift-trigger:hover { transform: translateY(-3px); border-color: #ffcc8b; }
.wechat-gift-icon { display: grid; width: 44px; height: 44px; place-items: center; border: 1px solid #c48d5250; border-radius: 50%; background: #e4723610; }
.wechat-gift-icon svg { width: 30px; height: 30px; }
.wechat-gift-copy { display: grid; gap: 5px; }
.wechat-gift-copy > span { color: #c4b4a3; font-size: 11px; letter-spacing: .1em; }
.wechat-gift-copy strong { font-size: 17px; font-weight: 600; letter-spacing: .08em; }
.wechat-gift-arrow { margin-left: 8px; font-size: 20px; }
.wechat-gift-dialog { box-sizing: border-box; width: min(410px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 36px 28px 28px; overflow: auto; border: 1px solid #c48d5270; border-radius: 12px; color: #dce6ea; background: radial-gradient(ellipse at top, #35251b, transparent 65%), #101923; box-shadow: 0 24px 90px #0009; text-align: center; }
.wechat-gift-dialog::backdrop { background: #03080dbd; backdrop-filter: blur(5px); }
.wechat-gift-close { position: absolute; top: 8px; right: 8px; width: 36px; height: 36px; border: 0; border-radius: 4px; color: #a9bbc4; background: transparent; font-size: 28px; cursor: pointer; }
.wechat-gift-eyebrow { margin: 0 0 14px; color: #ffcc8b; font-size: 10px; letter-spacing: .24em; }
.wechat-gift-dialog h2 { margin: 0 0 12px; color: #ffcc8b; font-size: 23px; line-height: 1.5; }
#wechat-gift-description { margin: 0 0 24px; color: #a9bbc4; font-size: 13px; line-height: 1.6; }
.wechat-gift-qr { display: block; width: 258px; max-width: 100%; height: auto; margin: 0 auto; border: 8px solid #fff; border-radius: 4px; background: #fff; }
.wechat-gift-tip { margin: 18px 0; color: #a9bbc4; font-size: 12px; line-height: 1.7; }
.wechat-gift-save { display: inline-block; padding: 11px 24px; border: 1px solid #c48d5280; border-radius: 4px; color: #ffcc8b; font-size: 13px; text-decoration: none; }
.wechat-gift-save:hover { background: #c48d5218; }
#wechat-gift :focus-visible { outline: 2px solid #ffcc8b; outline-offset: 4px; }
@media (max-width: 600px) {
    .wechat-gift-trigger { right: 14px; bottom: max(16px, env(safe-area-inset-bottom)); gap: 9px; padding: 10px 12px; }
    .wechat-gift-icon { width: 34px; height: 34px; }
    .wechat-gift-icon svg { width: 25px; height: 25px; }
    .wechat-gift-copy strong { font-size: 14px; }
    .wechat-gift-copy > span { font-size: 10px; }
    .wechat-gift-arrow { margin-left: 2px; }
    .wechat-gift-dialog { padding: 34px 20px 24px; }
}
@media (prefers-reduced-motion: reduce) { .wechat-gift-trigger { transition: none; } }
