.bar .brand{gap:7px;color:#502438;font-weight:850;letter-spacing:.055em;font-family:"PingFang SC","Microsoft YaHei",sans-serif}
.brand img{width:46px;height:46px}
.giftGrid button{position:relative;background:linear-gradient(150deg,#fff4f7,#fffaf4);border:1px solid #f5e5ee;border-radius:20px;overflow:hidden;transition:border-color .18s,box-shadow .18s}
.giftGrid button:nth-child(3n+2){background:linear-gradient(150deg,#f6efff,#fff9fc)}
.giftGrid button:nth-child(3n){background:linear-gradient(150deg,#ffefd9,#fff8f7)}
.giftGrid button:is(:hover,[aria-pressed=true]){border-color:#ee6196;box-shadow:inset 0 0 0 1px #ee6196,0 5px 18px #dd47751a}
.giftGrid button[aria-pressed=true]:after{content:'✓';position:absolute;right:5px;top:5px;width:20px;height:20px;background:#db366e;color:white;border-radius:50%;font:700 14px/20px Arial}
.giftGrid canvas{display:block;width:min(100%,156px);aspect-ratio:1;margin:-5px auto -3px}
#magic38{padding:0;width:min(420px,92vw,71dvh);min-width:min(290px,92vw);text-align:center;background:#fff9fa;border-radius:28px;box-shadow:0 20px 80px #45112355}
#magic38::backdrop{background:#28112399;backdrop-filter:blur(9px)}
#magic38 .stage{position:relative;background:linear-gradient(transparent 68%,#fff9fa),url(assets/sky38.webp) center/cover}
#magic38 canvas{width:100%;display:block;aspect-ratio:1}
#magic38 .closeFx{position:absolute;right:12px;top:12px;background:#fffc;color:#502438;border:none;border-radius:50%;width:36px;height:36px;padding:0;font:24px/36px Arial}
#magic38 h3{font-size:26px;margin:0 0 5px;color:#54283e}
#magic38 p{margin:0;color:#77556b;font-size:14px}
#magic38 .fxButtons{display:flex;gap:10px;margin:19px}
#magic38 .primary{flex:1}
@media(max-width:600px){.brand img{width:37px;height:37px}.giftGrid button{border-radius:15px}.giftGrid b{font-size:13px}}

