.wallet-package{border:2px solid #d9dcd2;border-radius:18px;background:#fff;margin:16px 0;box-shadow:0 5px 12px #17200e12;overflow:hidden;width:100%}
.wallet-package summary{min-height:76px;padding:18px 20px;display:flex;align-items:center;gap:12px;font-size:1.05rem;font-weight:750;cursor:pointer;list-style:none}.wallet-package summary:after{content:'⌄';margin-left:auto}.wallet-package[open] summary:after{content:'⌃'}.wallet-package summary::-webkit-details-marker{display:none}
.wallet-package svg{width:30px;height:34px;flex:none;color:#FFD300}.wallet-content{padding:0 20px 20px;display:flex;flex-wrap:wrap;align-items:center;gap:16px}.wallet-total{display:flex;gap:12px;align-items:center}.wallet-total svg{width:44px;height:50px}.wallet-total>div{display:grid}.wallet-counter{font-size:2rem;line-height:1.1;font-variant-numeric:tabular-nums}.wallet-note,.wallet-use-feedback{flex-basis:100%;margin:0;font-size:.9rem;line-height:1.5;color:#59634e}.wallet-use-feedback{padding:12px;border-radius:10px;background:#FFD300;color:#4e3c10}
.referral-strip{display:flex;align-items:center;justify-content:center;gap:8px;width:100%;background:#ffffff12;border-top:1px solid #ffffff1a;box-shadow:inset 0 3px 6px #0004;color:#eeeee9;padding:4px 8px;font-size:.75rem;line-height:1.25}.referral-strip code{font-size:.78rem;font-weight:750;color:#FFD300;white-space:nowrap;user-select:all}.referral-strip button,.referral-strip a{display:flex;align-items:center;justify-content:center;flex:none;width:32px;height:32px;padding:5px;border:0;border-radius:8px;background:#ffffff0b;color:white;cursor:pointer}.referral-strip a{color:#7de0a6}.referral-strip svg{width:21px;height:21px}.referral-strip button:hover,.referral-strip a:hover{background:#ffffff22}.referral-strip button:focus-visible,.referral-strip a:focus-visible{outline:2px solid #FFD300;outline-offset:2px}.invitation-field input{text-transform:uppercase}
@media(max-width:520px){.referral-strip{gap:6px;flex-wrap:wrap;position:relative;padding:6px 77px 7px 12px;justify-content:flex-start;min-height:43px}.referral-mode{flex-basis:100%;font-size:.7rem}.referral-strip code{font-size:.77rem}.referral-strip button,.referral-strip a{position:absolute;right:40px;top:7px}.referral-strip a{right:6px}.wallet-package summary{padding:16px}.wallet-content{padding:0 16px 16px}.wallet-content>button{flex:1;min-width:140px}}

.referral-strip .referral-invite{width:auto;min-height:36px;padding:6px 10px;gap:6px;background:#258558;color:#fff;font-size:.78rem;font-weight:750;text-decoration:none}.referral-strip .referral-invite:hover{background:#1e714a}
@media(max-width:520px){.referral-strip{padding-right:98px}.referral-strip .referral-invite{right:6px;top:7px;height:36px;min-height:36px;padding:6px 9px}}
.ctm-wallet-dialog{width:520px;max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px);padding:0;border:1px solid #d8e0e4;border-radius:18px;color:#254963;background:#fff;font-family:inherit;box-shadow:0 20px 60px #0003;overflow:auto}.ctm-wallet-dialog::backdrop{background:#12253680}.ctm-wallet-dialog .dialog-head{position:sticky;top:0;z-index:2;display:flex;align-items:center;justify-content:space-between;gap:12px;padding:14px 20px;background:white;border-bottom:1px solid #e1e6e9}.ctm-wallet-dialog h2{font-size:1.15rem;margin:0}.ctm-wallet-redemption{display:grid;gap:16px;padding:22px}.ctm-wallet-redemption h3,.ctm-wallet-redemption p{margin:0;line-height:1.55}.ctm-wallet-redemption h3{font-size:1.1rem}.wallet-redemption-total{display:flex;align-items:center;gap:18px;padding:20px;border:1px solid #e1e6e9;border-radius:14px;background:#f6f8fa}.wallet-redemption-total svg{width:48px;height:52px;color:#FFD300;flex:none}.wallet-redemption-total>div{display:grid;gap:4px}.wallet-redemption-total strong{font-size:2.3rem;line-height:1}.wallet-redemption-total span{font-size:.9rem}.invited-by-field input[readonly]{background:#f3f6f8;color:#526474;cursor:default}
