.gem-shop{max-width:1140px}.gem-hero{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:32px;border:1px solid #41334d;border-radius:24px;background:radial-gradient(ellipse at top right,#51412870,transparent 55%),#211b2d;margin-bottom:24px}.gem-hero h1{font-size:clamp(28px,5vw,42px);line-height:1.12;margin:8px 0 12px}.gem-hero p{color:#c4b9d1;max-width:520px}.gem-wallet{display:flex;gap:12px;align-items:center;background:#1c3329;padding:20px;border-radius:18px}.gem-wallet img{width:36px;height:48px;object-fit:contain}.gem-wallet strong{font-size:30px;display:block}.gem-wallet small{color:#bbd1c3}.gem-packages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.gem-package{display:flex;flex-direction:column;min-width:0;padding:24px;border:1px solid #3c3147;border-radius:22px;background:linear-gradient(160deg,#2b2238,#211b2a);position:relative}.gem-package:nth-child(3){border-color:#ac82de;box-shadow:0 0 0 1px #ac82de}.gem-package h2{font-size:18px;margin:0 0 20px}.gem-amount{display:flex;align-items:center;gap:12px;margin-bottom:16px}.gem-amount img{width:31px;height:43px;object-fit:contain}.gem-amount strong{font-size:37px;letter-spacing:-1px}.gem-bonus{font-size:13px;color:#c0a0e8;background:#ffffff07;border-radius:10px;padding:10px 12px;min-height:38px}.gem-package p{font-size:13px;line-height:1.5;color:#b6acc2;flex:1}.gem-buy{display:flex;align-items:center;justify-content:space-between;gap:12px;background:#ad80e8;color:#170d23;border:0;border-radius:12px;padding:15px 16px;cursor:pointer;font:inherit;font-weight:800;margin-top:12px}.gem-buy:hover{background:#c4a0f2}.gem-buy small{font-size:12px;font-weight:600}.gem-note{display:flex;gap:12px;flex-wrap:wrap;margin:24px 0;color:#a99bb9;font-size:12px}.gem-note span{padding:9px 12px;background:#221d2b;border-radius:10px}.gem-history{margin-top:32px}.gem-history h2{font-size:20px}.gem-history-row{display:flex;justify-content:space-between;gap:12px;padding:16px 0;border-bottom:1px solid #362b40;font-size:14px}.gem-history-row small{display:block;color:#a99bb9;margin-top:5px}
#gem-dialog{width:min(680px,calc(100% - 24px));max-height:calc(100dvh - 24px);padding:0;overflow:auto;border:1px solid #50405f;background:#201a2a;color:#f8f2ff;border-radius:22px;box-shadow:0 20px 80px #0009;box-sizing:border-box}#gem-dialog::backdrop{background:#09060dd9;backdrop-filter:blur(6px)}.gem-dialog-head{display:flex;justify-content:space-between;gap:16px;align-items:start;padding:24px;border-bottom:1px solid #3a2e45;position:sticky;top:0;z-index:2;background:#201a2af5}.gem-dialog-head h2{font-size:23px;margin:4px 0 0}.gem-dialog-head button{border:0;border-radius:50%;width:36px;height:36px;background:#35283f;color:#fff;font-size:25px;cursor:pointer;flex-shrink:0}.gem-dialog-body{padding:24px}.gem-dialog-body label{display:block;font-size:13px;color:#d9cbe7;margin-bottom:14px}.gem-dialog-body select,.gem-dialog-body textarea{display:block;width:100%;box-sizing:border-box;background:#2b2236;color:#fff;border:1px solid #51405f;border-radius:12px;padding:13px;font:inherit;margin-top:8px}.gem-dialog-body select{font-size:16px}.gem-step{font-size:11px;letter-spacing:1.8px;color:#c39cec;margin:4px 0 10px}.gem-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;margin:14px 0 20px}.gem-method{display:flex;flex-direction:column;gap:4px;min-width:0;text-align:left;background:#2b2236;border:1px solid #4c3a59;border-radius:12px;padding:14px;color:#fff;font:inherit;font-weight:700;cursor:pointer}.gem-method small{font-size:11px;color:#bdb0cb;font-weight:400}.gem-method[aria-pressed=true]{border-color:#c49bea;background:#48345c}.gem-payment-total{display:flex;align-items:center;justify-content:space-between;gap:15px;background:#182e25;border:1px solid #375342;border-radius:14px;padding:18px;margin-bottom:14px}.gem-payment-total strong{font-size:26px;color:#d5f6dc}.gem-payment-total small{display:block;color:#b3c8b9}.gem-pay-detail{padding:12px 0;border-bottom:1px solid #3c2e47;display:flex;align-items:center;justify-content:space-between;gap:14px}.gem-pay-detail span{min-width:0;overflow-wrap:anywhere}.gem-pay-detail small{display:block;color:#b6a7c3;margin-bottom:4px}.gem-copy{border:1px solid #5a426b;border-radius:9px;padding:8px 11px;background:transparent;color:#d5b6f4;font:inherit;cursor:pointer;flex-shrink:0}.gem-qr{display:block;width:180px;max-height:220px;object-fit:contain;margin:16px auto;border-radius:12px;background:white}.gem-detail-note{font-size:12px;line-height:1.6;color:#bdb0cb;white-space:pre-wrap}.gem-proof{border:1px dashed #86659e;border-radius:15px;display:flex!important;align-items:center;gap:14px;padding:18px;cursor:pointer;background:#2c2238}.gem-proof strong{display:block;font-size:14px;color:#f5e9ff}.gem-proof small{display:block;font-size:12px;margin-top:4px;overflow-wrap:anywhere}.gem-proof input{position:absolute;opacity:0;width:1px;height:1px}.gem-proof:focus-within{outline:2px solid #d7b2ff}.gem-proof img{width:62px;height:62px;object-fit:cover;border-radius:9px}.gem-proof-icon{font-size:26px;background:#4b345e;padding:8px 14px;border-radius:12px}.gem-submit{width:100%;font-size:15px;min-height:48px}.gem-dialog-body .commerce-check{display:flex;gap:10px;align-items:flex-start;line-height:1.5}.gem-dialog-body .commerce-check input{margin-top:4px;flex-shrink:0}.gem-dialog-body a{color:#cfa1f5}.gem-feedback{color:#ffcaab;line-height:1.5;font-size:14px}.gem-confirmed{text-align:center;padding:25px 5px}.gem-confirmed>span{display:inline-block;background:#294b37;color:#cdf6d2;font-size:30px;padding:12px 20px;border-radius:50%}.gem-confirmed p{color:#c0b1ce;line-height:1.7}
@media(max-width:700px){.gem-hero{grid-template-columns:1fr;padding:23px;gap:12px}.gem-wallet{padding:14px 18px}.gem-wallet strong{font-size:25px}.gem-wallet img{height:35px;width:26px}.gem-packages{grid-template-columns:repeat(2,minmax(0,1fr));gap:11px}.gem-package{padding:17px 14px;border-radius:17px}.gem-package h2{font-size:15px;line-height:1.35;margin-bottom:15px;min-height:40px}.gem-amount{gap:8px}.gem-amount strong{font-size:29px}.gem-amount img{width:23px;height:32px}.gem-buy{padding:12px 9px;font-size:13px;flex-direction:column;gap:3px}.gem-package p{font-size:12px}.gem-bonus{font-size:11px;padding:8px}.gem-dialog-head,.gem-dialog-body{padding:19px}.gem-payment-total strong{font-size:23px}.gem-dialog-head h2{font-size:21px}.gem-note{gap:7px}.gem-note span{font-size:11px}.gem-shop{padding-bottom:85px}}@media(max-width:350px){.gem-packages{grid-template-columns:1fr}.gem-package h2{min-height:0}.gem-buy{flex-direction:row}.gem-methods{grid-template-columns:1fr}}

.gem-payment-total{flex-wrap:wrap}.gem-payment-total strong{max-width:100%;overflow-wrap:anywhere}

#gem-dialog [disabled]{cursor:wait;opacity:.65}.gem-submit[aria-busy=true]{opacity:1;background:#d9b7f7;color:#20112e}.gem-submit[aria-busy=true]::before{content:"";display:inline-block;width:14px;height:14px;margin-right:10px;vertical-align:-2px;border:2px solid currentColor;border-right-color:transparent;border-radius:50%;animation:gem-sending .7s linear infinite}.gem-feedback:empty{display:none}.gem-feedback{overflow-wrap:anywhere}#gem-dialog button:focus-visible{outline:2px solid #e1c7ff;outline-offset:3px}@keyframes gem-sending{to{transform:rotate(360deg)}}@media(prefers-reduced-motion:reduce){.gem-submit[aria-busy=true]::before{animation:none}}

/* Package totals: bonus is a component, never an additional advertised total. */
.gem-total-label{display:block;color:#d1c5df;font-size:14px;margin-bottom:6px}
.gem-breakdown{display:grid;gap:8px;border-bottom:1px solid #51415f;padding-bottom:14px;margin-bottom:16px;color:#d8cce4;font-size:14px}
.gem-breakdown>span{display:flex;justify-content:space-between;gap:12px}
.gem-breakdown strong{color:#f8f2ff;font-variant-numeric:tabular-nums;white-space:nowrap}
.gem-package .gem-included{font-size:13px;color:#ddc4fc;flex:0;margin:12px 0 0;line-height:1.5}
.gem-receipt{margin:0 0 24px;padding:16px;background:#30243e;border-radius:12px;color:#f5ebff;line-height:1.6;font-weight:700;font-variant-numeric:tabular-nums}
.gem-receipt small{display:block;margin-top:6px;color:#d8c9e5;font-size:14px;font-weight:400}
.gem-buy small{color:inherit}.gem-buy:focus-visible{outline:2px solid #ead7ff;outline-offset:4px}.gem-buy:active{transform:translateY(1px)}
@media(max-width:700px){.gem-packages{grid-template-columns:1fr}.gem-package{padding:22px}.gem-package h2{min-height:0;margin-bottom:16px;font-size:18px}.gem-buy{flex-direction:row;font-size:15px;padding:15px}.gem-amount strong{font-size:36px}.gem-breakdown{font-size:15px}.gem-package p{font-size:14px}.gem-dialog-head>div{min-width:0}.gem-dialog-art{width:28px;flex-shrink:0}}

/* Color belongs to the package; the bonus is always green. */
.gem-package{--pack:#9871ff;--tint:#342454;--edge:#7854b5;padding:24px;border-radius:18px;background:linear-gradient(140deg,var(--tint),#191722 85%);border:1px solid var(--edge);box-shadow:none;gap:0}
.gem-package:nth-child(1){--pack:#68c5fa;--tint:#173d58;--edge:#33759c}
.gem-package:nth-child(2){--pack:#50ddc9;--tint:#12463f;--edge:#2c8778}
.gem-package:nth-child(3){--pack:#bb9aff;--tint:#492774;--edge:#9367c7;border-color:var(--edge);box-shadow:none}
.gem-package:nth-child(4){--pack:#ffae76;--tint:#57341e;--edge:#a16b43}
.gem-package:nth-child(5){--pack:#ff9acb;--tint:#53233f;--edge:#a3507b}
.gem-package h2{font-size:18px;margin:0 0 28px;color:#fff;min-height:0}
.gem-package-value{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:nowrap;margin-bottom:18px}.gem-base{flex:1;min-width:0}.gem-gift{flex-shrink:0}
.gem-base{display:flex;align-items:center;gap:9px;flex-wrap:wrap}.gem-base img{width:26px;height:36px;object-fit:contain}.gem-base strong{font-size:38px;line-height:1.1;letter-spacing:-.025em;font-variant-numeric:tabular-nums;color:#fff}.gem-base>span{flex-basis:100%;padding-left:35px;color:#e1daec;font-size:14px}
.gem-gift{background:#123f30;border:1px solid #2f865e;color:#8cf5b4;border-radius:10px;padding:10px 12px;font-weight:800;font-size:22px;line-height:1.2;white-space:nowrap;font-variant-numeric:tabular-nums}.gem-gift small{display:block;font-size:12px;font-weight:600;margin-top:4px;color:#b7f6ce}
.gem-package .gem-package-total{flex:0;color:#dcd4e7;border-top:1px solid var(--edge);padding-top:16px;margin:0 0 20px;font-size:14px}.gem-package-total strong{color:#fff}
.gem-package .gem-buy{margin-top:auto;background:var(--pack);color:#15121d;min-height:48px;border-radius:11px;font-size:14px}.gem-package .gem-buy small{color:inherit}
.gem-hero .gem-rate{font-weight:800;color:#b6f5cc;font-size:18px;margin-bottom:18px}.gem-package .gem-buy:focus-visible{outline:2px solid white;outline-offset:4px}
.support-bot-unavailable{padding:16px;color:#ffdbb0;background:#342a22;border:1px solid #8b6341;border-radius:12px}.support-bot-unavailable p{margin:8px 0 0;line-height:1.5}
@media(hover:hover) and (pointer:fine){.gem-package .gem-buy:hover{filter:brightness(1.12)}}
@media(max-width:700px){.gem-package{padding:22px}.gem-package h2{margin-bottom:22px}.gem-base strong{font-size:36px}.gem-package .gem-buy{font-size:15px}}
@media(max-width:350px){.gem-package{padding:18px}.gem-base strong{font-size:30px}.gem-base{gap:6px}.gem-base img{width:22px}.gem-base>span{padding-left:28px}.gem-gift{font-size:18px;padding:9px}.gem-package-value{gap:8px}}
