/* mx-gift start */
/* mx-gift v3: scoped wallet dialog; html:not(#mxg1):not(#mxg2):not(#mxg3) body = both themes, html:not(#mxg1):not(#mxg2):not(#mxg3) body:not(.light-theme) = dark theme. */
html:not(#mxg1):not(#mxg2):not(#mxg3) body .wm-gift-ov.mxg-ov{background:rgb(20 24 36 / 65%);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);padding:12px;align-items:center;justify-content:center;overflow:auto}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg{--mxg-gold:#ffd426;--mxg-white:#fff;--mxg-ink:#141824;--mxg-muted:#f2f4f8;--mxg-surface:var(--mxg-white);--mxg-text:var(--mxg-ink);width:100%;max-width:392px;max-height:calc(100vh - 24px);max-height:calc(100dvh - 24px);flex:none;margin:0;border-radius:24px;overflow:auto;overscroll-behavior:contain;background:var(--mxg-surface);color:var(--mxg-text);text-align:left;box-shadow:0 24px 64px rgb(20 24 36 / 28%);animation:mxg-in .24s ease-out both}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg,html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg *{box-sizing:border-box}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__hero{padding:16px 20px 20px;background:var(--mxg-gold);color:var(--mxg-ink)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__top{display:flex;align-items:center;justify-content:space-between;gap:12px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__chip{display:inline-flex;align-items:center;gap:8px;color:var(--mxg-ink);font-size:14px;font-weight:700;line-height:1.5}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__chip i{font-size:16px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__x{flex:none;width:40px;height:40px;margin:0;padding:0;border:0;border-radius:50%;background:rgb(255 255 255 / 42%);color:var(--mxg-ink);display:flex;align-items:center;justify-content:center;font-size:16px;cursor:pointer;box-shadow:none}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__offer{display:flex;align-items:center;justify-content:space-between;gap:8px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__heading{display:flex;flex-direction:column;gap:6px;min-width:0}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__pct{font-size:64px;line-height:1.1;font-weight:900;letter-spacing:-.045em;color:var(--mxg-ink)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__sub{font-size:14px;font-weight:600;line-height:1.5;color:var(--mxg-ink)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__coin{flex:none;width:92px;height:92px;object-fit:contain;transform:rotate(-12deg);filter:drop-shadow(0 8px 6px rgb(20 24 36 / 16%))}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__body{padding:16px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__calc{display:flex;gap:8px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell{flex:1;min-width:0;border-radius:14px;padding:12px;background:var(--mxg-muted);color:var(--mxg-ink)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell span{font-size:14px;line-height:1.5;color:inherit;opacity:.75}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell b{display:flex;align-items:center;gap:4px;font-size:21px;line-height:1.5;font-weight:800;color:inherit;white-space:nowrap}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell--get{background:rgb(255 212 38 / 17%);color:var(--mxg-text);box-shadow:inset 0 0 0 1px rgb(255 212 38 / 70%)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__terms{display:flex;border-top:1px solid rgb(20 24 36 / 8%);margin-top:16px;padding-top:12px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__term{flex:1;min-width:0;text-align:center}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__term b{display:flex;align-items:center;justify-content:center;gap:4px;color:var(--mxg-text);font-size:16px;font-weight:750;line-height:1.5}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__term span{font-size:14px;line-height:1.5;color:var(--mxg-text);opacity:.7}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__c{width:16px;height:16px;flex:none;margin:0;object-fit:contain}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn{display:block;width:100%;min-height:52px;margin:16px 0 0;padding:12px;border:0;border-radius:14px;background:var(--mxg-gold);color:var(--mxg-ink);font-size:16px;font-weight:750;line-height:1.5;text-transform:none;cursor:pointer;box-shadow:none;transition:filter .15s}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn:hover,html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__x:hover{filter:brightness(.97)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn:focus-visible,html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__x:focus-visible{outline:2px solid currentColor;outline-offset:-5px}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn--off{background:var(--mxg-muted);color:var(--mxg-ink)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__ok{display:flex;align-items:center;gap:8px;margin-top:12px;color:var(--mxg-text);font-size:14px;line-height:1.5}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__ok i{color:inherit;font-size:16px;flex:none}
html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__ok span,html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn span,html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__chip span{color:inherit}
html:not(#mxg1):not(#mxg2):not(#mxg3) body:not(.light-theme) .mxg{--mxg-surface:var(--mxg-ink);--mxg-text:var(--mxg-white)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body:not(.light-theme) .mxg__cell:not(.mxg__cell--get),html:not(#mxg1):not(#mxg2):not(#mxg3) body:not(.light-theme) .mxg__btn--off{background:rgb(255 255 255 / 8%);color:var(--mxg-white)}
html:not(#mxg1):not(#mxg2):not(#mxg3) body:not(.light-theme) .mxg__terms{border-color:rgb(255 255 255 / 12%)}
@media(max-width:360px){html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__hero{padding:12px 16px 16px}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__pct{font-size:52px}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__coin{width:72px;height:72px}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__body{padding:12px}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell{padding:10px}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__cell b{font-size:18px}}
@media(prefers-reduced-motion:reduce){html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg{animation:none}html:not(#mxg1):not(#mxg2):not(#mxg3) body .mxg__btn{transition:none}}
@keyframes mxg-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
/* mx-gift end */
