/* V90.2: special gift is a keepsake, not a shop purchase. */
.v902-special-gift{max-width:1050px;margin:24px auto;padding:20px;border-radius:24px;background:linear-gradient(125deg,#20182f,#39213c 55%,#24243e);border:1px solid #c994bb77;box-shadow:0 14px 44px #0004;color:#fff2f7}
.v902-head{font-size:11px;letter-spacing:.2em;color:#f5c6d8;font-weight:700}
.v902-title{font:700 clamp(22px,4vw,30px)/1.2 Georgia,serif;margin:9px 0 5px;color:#ffe2e9}
.v902-sub{font-size:14px;line-height:1.6;color:#f5d7e8}
.v902-row{display:grid;grid-template-columns:minmax(0,200px) 1fr;gap:18px;align-items:center;margin-top:16px}
.v902-art{width:100%;aspect-ratio:1.45;object-fit:cover;border-radius:16px;border:1px solid #f6c9d299;box-shadow:0 8px 25px #0007}
.v902-special-gift button{padding:12px 18px;border-radius:30px;border:1px solid #ffe2ef88;background:linear-gradient(120deg,#b64f80,#7c438f);color:white;font-weight:700;cursor:pointer;font-size:14px;min-height:44px}
.v902-special-gift button:disabled{opacity:.55;cursor:wait}
.v902-special-gift button[hidden],.v902-special-gift [hidden]{display:none!important}
#v902GiftStatus{font-size:13px;line-height:1.5;color:#f8dce8;min-height:20px}
#v902GiftMemory{margin-top:8px;text-align:left;display:block;width:100%;background:#503c62}
.v902-overlay{position:fixed;inset:0;z-index:99999;background:#070512dc;display:flex;align-items:center;justify-content:center;padding:16px;overflow:auto}
.v902-overlay[hidden]{display:none!important}
.v902-dialog{position:relative;max-width:420px;width:100%;padding:28px 23px;text-align:center;border:1px solid #f6c5daaa;border-radius:24px;background:radial-gradient(circle at top,#64416e,#281c3b 65%,#1d1731);box-shadow:0 0 90px #ed9cb833;color:#fff}
.v902-close{position:absolute;right:13px;top:12px;border:0;background:#ffffff22;color:white;border-radius:50%;width:34px;height:34px;cursor:pointer}
.v902-eyebrow{font-size:10px;letter-spacing:.15em;color:#ffd4e7}
.v902-dialog h2{font:700 27px/1.2 Georgia,serif;color:#ffdeed;margin:15px 0}
.v902-gift-wrap{position:relative}.v902-gift-wrap img{width:100%;border-radius:18px;box-shadow:0 8px 32px #0008;animation:v902Reveal .9s ease-out both}.v902-gift-spark{position:absolute;top:0;right:10px;color:#ffe6a3;font-size:30px;z-index:1;animation:v902Twinkle 2s infinite alternate}
.v902-gift-message{font:italic 18px/1.55 Georgia,serif;color:#fff0f5}.v902-gift-signature{color:#f9c2d9}
.v902-keep{background:linear-gradient(120deg,#be608a,#784a9e);border:1px solid #fcd7e4;color:white;border-radius:28px;padding:13px 18px;min-height:44px;font-weight:700;cursor:pointer}
@keyframes v902Reveal{from{opacity:0;transform:scale(.82) rotate(-4deg)}to{opacity:1;transform:scale(1) rotate(0)}}@keyframes v902Twinkle{to{opacity:.3;transform:scale(.7)}}
@media(max-width:500px){.v902-row{grid-template-columns:1fr}.v902-art{max-width:290px}.v902-special-gift{margin:18px 10px}}
@media(prefers-reduced-motion:reduce){.v902-gift-wrap img,.v902-gift-spark{animation:none}}

.v902-collection-card{border:1px solid #e9a8d7!important;background:#3c294a!important;overflow:hidden}.v902-collection-art{display:block;width:100%;max-height:175px;object-fit:cover;border-radius:14px}.v902-history-art{width:86px;height:86px;object-fit:cover;border-radius:12px;margin:9px}.v902-history-card{border:1px solid #f6bed477!important}

/* V90.3: Keep the existing cloud gift controls for compatibility, but present
   the special keepsake as a first-class card in the Moon Market carousel. */
#v902SpecialGift{display:none!important}
#moonShop .v903-market-gift{border:1px solid #e6afd5;background:linear-gradient(180deg,#5d345f,#302240);box-shadow:0 8px 30px #12091977, inset 0 1px #ffe4f888}
#moonShop .v903-market-gift .v903-gift-image{display:block;width:100%;aspect-ratio:1.23;object-fit:cover;border-radius:16px;margin-bottom:12px}
#moonShop .v903-market-gift .v903-gift-tag{display:inline-block;font-size:.72rem;font-weight:800;letter-spacing:.08em;color:#ffe2ae;padding:6px 10px;border-radius:99px;background:#ffffff1c;margin-bottom:9px}
#moonShop .v903-market-gift h4{font-size:1.05rem;margin:4px 0 8px;color:#fff0f6}
#moonShop .v903-market-gift .v903-gift-desc{font-size:.87rem;line-height:1.45;color:#f1d4e7;min-height:0}
#moonShop .v903-market-gift .v903-gift-status{font-size:.79rem;line-height:1.5;color:#ffe4d2;min-height:34px;margin:8px 0}
#moonShop .v903-market-gift .v903-gift-action{width:100%;min-height:44px;border-radius:30px;background:linear-gradient(120deg,#b64f80,#80429b);color:#fff;border:1px solid #ffe2ef88;font-weight:800;padding:10px 8px;cursor:pointer}
#moonShop .v903-market-gift .v903-gift-action:disabled{opacity:.7;cursor:default}
