.hongbao-retain-modal{position:fixed;inset:0;z-index:10070;display:flex;align-items:center;justify-content:center;padding:24px 20px;background:rgba(20,16,16,.62);overscroll-behavior:none;touch-action:none;animation:hongbao-retain-fade-in .22s ease}.hongbao-retain-modal__dialog{display:flex;flex-direction:column;align-items:center;gap:12px;width:min(100%,320px);padding:18px 10px 12px;border-radius:30px;background:linear-gradient(180deg,#dc2626,#b91c1c);box-shadow:0 18px 48px rgba(127,29,29,.45);animation:hongbao-retain-pop .34s cubic-bezier(.22,1.2,.36,1);text-align:center}.hongbao-retain-modal__emoji{font-size:36px;line-height:1;animation:hongbao-retain-bob 1.8s ease-in-out infinite}.hongbao-retain-modal__title{margin:0;color:gold;font-size:24px;font-weight:700;line-height:1.25;letter-spacing:.02em}.hongbao-retain-modal__subtitle{margin:0;width:100%;color:#fcc;font-size:15px;line-height:1.6}.hongbao-retain-modal__amount{margin:0;color:gold;font-size:22px;font-weight:700;line-height:1.2}.hongbao-retain-modal__hint{margin:0;color:#fcc;font-size:12px;line-height:1.4}.hongbao-retain-modal__packet{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:120px;height:150px;margin:4px 0 2px;border-radius:16px;background:#ef4444;box-shadow:0 4px 16px rgba(0,0,0,.19)}.hongbao-retain-modal__packet-emoji{font-size:28px;line-height:1}.hongbao-retain-modal__packet-text{color:gold;font-size:14px;font-weight:700}.hongbao-retain-modal__cta{width:85%;height:50px;margin-top:4px;padding:0 20px;border:none;border-radius:25px;background:gold;color:#b91c1c;font-size:16px;font-weight:700;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,.18);transition:filter .15s ease,transform .15s ease,opacity .15s ease}.hongbao-retain-modal__cta:hover:not(:disabled){filter:brightness(1.04);transform:translateY(-1px)}.hongbao-retain-modal__cta:disabled{opacity:.72;cursor:not-allowed}.hongbao-retain-modal__close{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:2px;padding:0;border:none;border-radius:22px;background:hsla(0,0%,100%,.125);color:#fcc;cursor:pointer;transition:background-color .15s ease,color .15s ease}.hongbao-retain-modal__close:hover:not(:disabled){background:hsla(0,0%,100%,.22);color:#fff}.hongbao-retain-modal__close:disabled{opacity:.5;cursor:not-allowed}@keyframes hongbao-retain-fade-in{0%{opacity:0}to{opacity:1}}@keyframes hongbao-retain-pop{0%{opacity:0;transform:scale(.86) translateY(12px)}to{opacity:1;transform:scale(1) translateY(0)}}@keyframes hongbao-retain-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-4px)}}