.mall-gift-card{display:flex;gap:12px;align-items:center;max-width:320px;min-width:190px;padding:12px;border:1px solid rgba(173,123,106,.2);border-radius:14px;background:var(--card-bg,#fff9f5);color:var(--text-color,#513e39)}
.ix-bubble.has-mall-gift,body[data-x-page="message"] #ixChat #ixLog .ix-bubble.has-mall-gift:is(.user,.ta){width:284px!important;max-width:calc(100% - 56px)!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
.ix-bubble.has-mall-gift::before,.ix-bubble.has-mall-gift::after,body[data-x-page="message"] #ixChat #ixLog .ix-bubble.has-mall-gift:is(.user,.ta)::before,body[data-x-page="message"] #ixChat #ixLog .ix-bubble.has-mall-gift:is(.user,.ta)::after{display:none!important;content:none!important}
.ix-bubble.has-mall-gift>.ix-text,body[data-x-page="message"] #ixChat #ixLog .ix-bubble.has-mall-gift:is(.user,.ta)>.ix-text{margin:0!important;padding:0!important;border:0!important;background:transparent!important;box-shadow:none!important}
.mall-gift-cover{width:72px;height:72px;flex:0 0 72px;object-fit:cover;border-radius:10px;background:rgba(173,123,106,.08)}
.mall-gift-body{display:flex;flex-direction:column;gap:5px;min-width:0}.mall-gift-title{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.mall-gift-label,.mall-gift-shop{font-size:11px;opacity:.7}.mall-gift-recipient{font-size:12px;line-height:1.5;overflow-wrap:anywhere}
.mall-secret-cover{width:72px;height:72px;flex:0 0 72px;display:grid;place-items:center;border-radius:14px;background:linear-gradient(145deg,#f5e9d8,#e6d3c0);color:#947059}.mall-secret-cover svg{width:42px;height:42px}.mall-secret-card .mall-gift-recipient{font-size:11px;color:#8b6854}.mall-secret-opening{margin:48px 0;text-align:center}body.x-dark-mode .mall-secret-cover{background:linear-gradient(145deg,#584236,#3d3028);color:#e6c4a2}body.x-dark-mode .mall-secret-card .mall-gift-recipient{color:#d0ae96}
@media(max-width:480px){.mall-gift-card{min-width:0;max-width:100%;gap:9px;padding:10px}.mall-gift-cover{width:58px;height:58px;flex-basis:58px}}
.mall-gift-card{cursor:pointer;background:#fff9ef;color:#513e39;text-align:left}.mall-gift-card:focus-visible{outline:2px solid #a56e51;outline-offset:3px}
body.x-dark-mode .mall-gift-card{background:#2b211d;color:#f4dfd4;border-color:rgba(219,177,155,.22)}
.mall-gift-detail{box-sizing:border-box;position:fixed;margin:auto;width:min(480px,calc(100vw - 28px));max-width:none;max-height:calc(100dvh - 40px);overflow:auto;overscroll-behavior:contain;padding:24px;border:1px solid #d9c6b2;border-radius:24px;background:#fff9ef;color:#513e39;box-shadow:0 24px 90px #261a1940;font:inherit;line-height:1.65}
.mall-gift-detail::backdrop{background:#241a1959;backdrop-filter:blur(5px)}
.mall-gift-detail-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:16px;gap:12px}.mall-gift-detail-eyebrow{font-size:12px;letter-spacing:.15em;color:#8b6854}.mall-gift-detail-close{display:grid;place-items:center;flex:0 0 40px;width:40px;height:40px;padding:0;border:1px solid #dbc9b9;border-radius:50%;background:transparent;color:inherit;font-size:25px;cursor:pointer}.mall-gift-detail-close:focus-visible{outline:2px solid #a56e51;outline-offset:3px}
.mall-gift-detail-image{aspect-ratio:4/3;overflow:hidden;border-radius:16px;background:#ecdfd0}.mall-gift-detail-image[hidden]{display:none}.mall-gift-detail-image img{width:100%;height:100%;object-fit:contain;display:block}
.mall-gift-detail-title{margin:20px 0 4px;font-size:23px;font-weight:600;line-height:1.4;overflow-wrap:anywhere}.mall-gift-detail-shop{margin:0 0 20px;color:#886956;font-size:13px;overflow-wrap:anywhere}.mall-gift-detail-description{font-size:15px;white-space:pre-wrap;overflow-wrap:anywhere;margin:20px 0;line-height:1.85}.mall-gift-detail-footnote{font-size:11px;color:#886956;margin:24px 0 0;padding-top:16px;border-top:1px solid #dbc9b9}
body.x-dark-mode .mall-gift-detail{background:#2b211d;color:#f4dfd4;border-color:#614a3d}body.x-dark-mode .mall-gift-detail :is(.mall-gift-detail-eyebrow,.mall-gift-detail-shop,.mall-gift-detail-footnote){color:#d0ae96}body.x-dark-mode .mall-gift-detail :is(.mall-gift-detail-close,.mall-gift-detail-footnote){border-color:#614a3d}body.x-dark-mode .mall-gift-detail-image{background:#392d26}
@media(max-width:480px){.mall-gift-detail{padding:18px;border-radius:20px}.mall-gift-detail-title{font-size:21px}}
.mall-gift-sync-toast{position:fixed;z-index:17000;bottom:calc(100px + env(safe-area-inset-bottom));left:50%;transform:translateX(-50%);width:max-content;max-width:calc(100vw - 32px);box-sizing:border-box;background:#fff9ef;color:#513e39;border:1px solid #dbc9b9;padding:12px 16px;border-radius:16px;box-shadow:0 6px 24px #261a1924;font:14px/1.6 sans-serif}.mall-gift-sync-toast button{border:0;background:transparent;color:#89585b;margin-left:10px;font:inherit;text-decoration:underline}body.x-dark-mode .mall-gift-sync-toast{background:#2b211d;color:#f4dfd4;border-color:#614a3d}body.x-dark-mode .mall-gift-sync-toast button{color:#e0b0b0}
